]>
Commit | Line | Data |
---|---|---|
537fc532 NB |
1 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
2 | ||
3 | config/h8300: | |
4 | * elf.h: Use TARGET_OS_CPP_BUILTINS rather than | |
5 | SUBTARGET_SPEC. | |
6 | * rtems.h: Similarly. | |
7 | * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC, | |
8 | EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove. | |
9 | (TARGET_CPU_CPP_BUILTINS): Use. | |
10 | ||
ab780373 RH |
11 | 2002-06-02 Richard Henderson <rth@redhat.com> |
12 | ||
13 | * alias.c: Include target.h. | |
14 | (mark_constant_function): Use targetm.binds_local_p instead | |
15 | of checking TREE_PUBLIC ourselves. | |
16 | * Makefile.in (alias.o): Add TARGET_H. | |
17 | ||
b9305c66 NB |
18 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
19 | ||
20 | * c-lex.c: Update copyright and file description. | |
21 | ||
0ac3e0c4 NB |
22 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
23 | ||
24 | * config/fr30/fr30.h: Update to new CPP macros. | |
25 | ||
be3a1d46 NB |
26 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
27 | ||
28 | * config/dsp16xx/dsp16xx.h: Update to new CPP macros. | |
29 | ||
ceeedfc1 | 30 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
a8fd5963 | 31 | Zack Weinberg <zack@codesourcery.com> |
ceeedfc1 NB |
32 | |
33 | * c-common.c (c_common_init): Override cpplib's default | |
34 | warn_long_long setting. | |
35 | * c-lex.c (lex_number): Replace with interpret_integer, | |
36 | interpret_float, narrowest_unsigned_type and | |
37 | narrowest_signed_type, taking advantage of the new | |
38 | cpplib functionality. | |
39 | * cpperror.c (_cpp_begin_message): If a warning is turned | |
40 | into an error, avoid printing "warning:". | |
41 | * cppexp.c (cpp_num_sign_extend): New. | |
42 | * cppinit.c: Update comment. | |
43 | * cpplib.h (cpp_num_sign_extend): New. | |
44 | * tree.h: Update comment. | |
45 | ||
27e511e0 GDR |
46 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
47 | ||
48 | * diagnostic.h (struct diagnostic_context): Add new member | |
49 | internal_error. | |
50 | (internal_error_function): Remove declaration. | |
51 | * diagnostic.c (internal_error_function): Remove definition.. | |
52 | (internal_error): Adjust use. | |
53 | ||
818b6b7f RH |
54 | 2002-06-02 Richard Henderson <rth@redhat.com> |
55 | ||
56 | * rtl.h (CC0_P): New. | |
57 | * gcse.c (cprop_jump): Use it with single_set. Tweak dump text. | |
58 | (cprop_insn): Allow any mode register; use CC0_P. CSE out single_set. | |
59 | (bypass_block): Save old dest block for dump text. | |
60 | (bypass_conditional_jumps): Allow any mode register; use CC0_P. | |
61 | Allow only true SET insns, not single_set. | |
62 | ||
167143a0 GDR |
63 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
64 | ||
65 | * diagnostic.c (diagnostic_finish): Rename to output_flush. | |
66 | (clear_disgnostic_info): Rename to output_clear_data. Use false | |
67 | instead of 0 for boolean value. | |
68 | Adjust function call throughout. | |
69 | ||
eae4bc56 JH |
70 | Sun Jun 2 19:15:27 CEST 2002 Jan Hubicka <jh@suse.cz> |
71 | ||
72 | * cfgrtl.c (commit_one_edge_insertion): Fix warning. | |
73 | * gcse.c (bypass_conditional_jumps): CSE out single_set call. | |
74 | ||
9eb404a0 NB |
75 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
76 | ||
77 | * d30v.h (CPP_PREDEFINES): Replace with | |
78 | (TARGET_CPU_CPP_BUILTINS): New. | |
79 | ||
53e8b0b8 RS |
80 | 2002-06-02 Roger Sayle <roger@eyesopen.com> |
81 | ||
82 | * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo. | |
83 | ||
92e34b67 JH |
84 | Sun Jun 2 12:11:52 CEST 2002 Jan Hubicka <jh@suse.cz> |
85 | ||
86 | * gcse.c (bypass_conditional_jumps): Use single set to obtain set. | |
87 | ||
e7e9d242 RH |
88 | 2002-06-02 Richard Henderson <rth@redhat.com> |
89 | ||
90 | * rtlanal.c (volatile_refs_p): Not automatically true for CALL. | |
91 | ||
9af145ae MM |
92 | 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> |
93 | ||
94 | Support for C++ constructors/destructors. | |
95 | * config/avr/avr.c (avr_output_function_epilogue): Jump to exit() | |
96 | instead of looping if main() returns. | |
97 | (asm_file_start): Output global symbols that cause .data and .bss | |
98 | initialization code to be linked in, unconditionally for now. | |
99 | (avr_asm_out_ctor, avr_asm_out_dtor): New functions. | |
100 | * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New. | |
101 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
102 | (LIBSTDCXX): New. | |
103 | * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections. | |
104 | (__tablejump__): New. | |
105 | (__do_copy_data, __do_clear_bss): New. | |
106 | (__do_global_ctors, __do_global_dtors): New. | |
107 | * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss, | |
108 | _ctors, _dtors. | |
109 | ||
0d66ad57 NB |
110 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
111 | ||
112 | * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New. | |
113 | (CPP_SPEC, CPP_PREDEFINES): Kill. | |
114 | * c4x/rtems.h (CPP_PREDEFINES): Kill. | |
115 | (TARGET_OS_CPP_BUILTINS): New. | |
116 | ||
5c856b23 JH |
117 | Sat Jun 1 23:29:51 CEST 2002 Jan Hubicka <jh@suse.cz> |
118 | ||
119 | * Makefile.in (tracer.o): New. | |
120 | * params.def (TRACER_*): New options. | |
121 | * rtl.h (tracer): Declare. | |
122 | * timevar.def (TV_TRACER): New. | |
123 | * toplev.c (dump_file_index): Add DFI_tracer. | |
124 | (dump_file_info): Add tracer. | |
125 | (flag_tracer): New. | |
126 | (lang_indepdenent_options): Add tracer. | |
127 | (rest_of_compilation): Call tracer. | |
128 | * tracer.c: New file. | |
129 | * invoke.texi (-ftracer): Document. | |
130 | (--param tracer-*): Document. | |
131 | ||
e2405951 DB |
132 | 2002-06-01 Daniel Berlin <dberlin@dberlin.org> |
133 | ||
134 | * tree-inline.c (expand_call_inline): Make the statement | |
135 | expression we generate have a COMPOUND_STMT. | |
136 | ||
0e3f0221 RS |
137 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
138 | ||
139 | * gcse.c (cprop_cc0_jump): Function deleted. | |
140 | (cprop_jump): Take an additional argument which is the possibly | |
141 | NULL cc setting insn immediately before the conditional jump. | |
142 | When a MODE_CC set is present, substitute it into the JUMP_INSN | |
143 | before attempting the constant propagation. | |
144 | (cprop_insn): Recognize cc setters followed by conditional jumps | |
145 | as a special case. Use cprop_jump instead of cprop_cc0_jump. | |
146 | (cprop_one_pass): Call bypass_conditional_jumps if altering jumps. | |
147 | (find_bypass_set): New function based upon find_avail_set used by | |
148 | cprop, but finds constant expressions available at the end of | |
149 | basic blocks. | |
150 | (bypass_block): New function. Given a basic block that begins | |
151 | with a conditional jump and multiple incoming edges, perform | |
152 | the jump bypass optimization. | |
153 | (bypass_conditional_jumps): New function. Call bypass_block with | |
154 | each suitable basic block in the CFG using a simple single pass. | |
155 | ||
378393da RS |
156 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
157 | ||
158 | * tree.c (real_minus_onep): New function to test for -1.0. | |
159 | * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x. | |
160 | ||
01c58f26 RS |
161 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
162 | ||
163 | * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0" | |
164 | and "!p && !q" into "(p|q) == 0" under suitable conditions. | |
165 | ||
91b12472 AJ |
166 | 2002-06-01 Andreas Jaeger <aj@suse.de> |
167 | ||
168 | * cppexp.c (cpp_classify_number): Cast precission to int for | |
169 | correct printf format. | |
170 | ||
01e9ae86 MM |
171 | 2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl> |
172 | ||
173 | * config/avr/avr.c (avr_mcu_types): Remove devices that were once | |
174 | expected, but don't really exist: atmega83, atmega85, attiny10. | |
175 | * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld | |
176 | emulations for all devices. | |
177 | (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10. | |
178 | * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85. | |
179 | ||
be1e06df KH |
180 | 2002-06-01 Kazu Hirata <kazu@cs.umass.edu> |
181 | ||
182 | * config/h8300/h8300-protos.h: Add a prototype for | |
183 | h8300_shift_needs_scratch_p. | |
184 | * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New. | |
185 | * config/h8300/h8300.h (OK_FOR_R): New. | |
186 | (OK_FOR_S): Likewise. | |
187 | (OK_FOR_T): Likewise. | |
188 | (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T. | |
189 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
190 | constraints R, S, and T. | |
191 | ||
2ecfd709 ZD |
192 | Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
193 | ||
194 | * basic-block.h (struct basic_block_def): New field loop_father. | |
195 | (BB_VISITED): New flag. | |
196 | (struct loop): New field pred, removed field shared. | |
197 | (struct loops): New field parray. | |
198 | (LOOP_EXITS_DOMS): Removed. | |
199 | (flow_loop_tree_node_add, flow_loop_tree_node_remove, | |
200 | flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body, | |
201 | dfs_enumerate_from, loop_preheader_edge, loop_latch_edge, | |
202 | add_bb_to_loop, remove_bb_from_loops, find_common_loop, | |
203 | verify_loop_structure): Declare. | |
204 | * cfg.c (entry_exit_blocks): Initialize loop_father field. | |
205 | * cfganal.c (dfs_enumerate_from): New function. | |
206 | * cfgloop.c (HEAVY_EDGE_RATIO): New constant. | |
207 | (flow_loop_entry_edges_find, flow_loop_exit_edges_find, | |
208 | flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p, | |
209 | flow_loop_dump, flow_loops_dump, flow_loops_free, | |
210 | flow_loop_tree_node_add, flow_loop_level_compute, | |
211 | flow_loops_level_compute, flow_loop_scan, flow_loops_update, | |
212 | flow_loop_outside_edge_p): Modified for new infrastructure. | |
213 | (make_forwarder_block, canonicalize_loop_headers, glb_enum_p, | |
214 | redirect_edge_with_latch_update, flow_loop_free): New static functions. | |
215 | (flow_loop_tree_node_remove, flow_bb_inside_loop_p, | |
216 | get_loop_body, add_bb_to_loop, remove_bb_from_loops, | |
217 | find_common_loop, verify_loop_structure, loop_latch_edge, | |
218 | loop_preheader_edge): New functions. | |
219 | (flow_loops_cfg_dump): Do not show dominators, as this information | |
220 | does not remain up to date long. | |
221 | (flow_loops_find): Store results in new format. | |
222 | * predict.c (propagate_freq, estimate_probability, | |
223 | estimate_loops_at_level, estimate_bb_frequencies): Use new loop | |
224 | infrastructure. | |
225 | ||
d9763749 | 226 | 2002-06-01 Alan Lehotsky <apl@alum.mit.edu> |
91b12472 | 227 | |
d9763749 AL |
228 | * except.c (nothrow_function_p): Walk epilogue delay list |
229 | checking the insn, not the chain for potential throws. | |
91b12472 | 230 | |
1e730c5c ZW |
231 | 2002-05-31 Zack Weinberg <zack@codesourcery.com> |
232 | ||
233 | * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove. | |
234 | (install): Refer to install-cpp directly. | |
235 | (uninstall-cpp): Folded into uninstall rule. | |
236 | * configure.in: Delete all code relating to --disable-cpp. | |
237 | * configure: Regenerate. | |
238 | * config/t-install-cpp: Delete. | |
239 | ||
6f9b006d RH |
240 | 2002-05-31 Richard Henderson <rth@redhat.com> |
241 | ||
242 | * configure.in (HAVE_AS_TLS): Add alpha tests. | |
243 | * configure: Rebuild. | |
244 | * config/alpha/alpha.c (TARGET_AS_TLS): New. | |
245 | (alpha_tls_size, alpha_tls_size_string): New. | |
246 | (overide_options): Set it. Always install machine_status hooks. | |
247 | (input_operand): Accept got tls predicates. | |
248 | (local_symbol_p): Merge into ... | |
249 | (local_symbolic_operand): ... here. Reject tls symbols. | |
250 | (global_symbolic_operand): Likewise. | |
251 | (tls_symbolic_operand_1, dtp16_symbolic_operand): New. | |
252 | (dtp32_symbolic_operand, gotdtp_symbolic_operand): New. | |
253 | (tp16_symbolic_operand, tp32_symbolic_operand): New. | |
254 | (gottp_symbolic_operand, tls_symbolic_operand_type): New. | |
255 | (alpha_encode_section_info): Handle TLS symbols. | |
256 | (alpha_strip_name_encoding): Likewise. | |
257 | (alpha_legitimate_address_p): Likewise. | |
258 | (alpha_legitimize_address): Likewise. | |
259 | (alpha_expand_mov): Early exit to avoid nop moves. | |
260 | (struct machine_function): Move from unicosmk.h. Add some_ld_name. | |
261 | (alpha_init_machine_status, alpha_mark_machine_status, | |
262 | alpha_free_machine_status): Always define. | |
263 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. | |
264 | (print_operand, print_operand_address): Add TLS relocs. | |
265 | * config/alpha/alpha.h (HAVE_AS_TLS): Default 0. | |
266 | (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New. | |
267 | (TARGET_SWITCHES): Add -mtls-kernel. | |
268 | (alpha_tls_size, alpha_tls_size_string): New. | |
269 | (TARGET_OPTIONS): Add -mtls-size=. | |
270 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, | |
271 | REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG. | |
272 | (ASM_OUTPUT_LABELREF): Skip %. | |
273 | (PRINT_OPERAND_PUNCT_VALID_P): Add &. | |
274 | (PREDICATE_CODES): Update. | |
275 | * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL, | |
276 | UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL, | |
277 | UNSPEC_TP, UNSPECV_SET_TP): New. | |
278 | (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp, | |
279 | adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp, | |
280 | set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp, | |
281 | movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New. | |
282 | (call_value_osf_2_er): Accept anything as op4. | |
283 | * config/alpha/alpha-protos.h: Update. | |
284 | * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c. | |
285 | ||
39e5db1a ZW |
286 | 2002-05-31 Zack Weinberg <zack@codesourcery.com> |
287 | ||
288 | * cppinit.c (append_include_chain): Always pay attention to | |
289 | cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED | |
290 | marker on argument. | |
291 | ||
41077ce4 KH |
292 | 2002-05-31 Kazu Hirata <kazu@cs.umass.edu> |
293 | ||
294 | * target.h: Fix formatting. | |
295 | * timevar.h: Likewise. | |
296 | * tlink.c: Likewise. | |
297 | * toplev.c: Likewise. | |
298 | * toplev.h: Likewise. | |
299 | * tree.c: Likewise. | |
300 | * tree-dump.h: Likewise. | |
301 | * tree.h: Likewise. | |
302 | * tree-inline.h: Likewise. | |
303 | * unroll.c: Likewise. | |
304 | * unwind-dw2.c: Likewise. | |
305 | * unwind-dw2-fde.c: Likewise. | |
306 | * unwind-dw2-fde-glibc.c: Likewise. | |
307 | * unwind-dw2-fde.h: Likewise. | |
308 | * unwind.h: Likewise. | |
309 | * unwind-sjlj.c: Likewise. | |
310 | * varasm.c: Likewise. | |
311 | * varray.h: Likewise. | |
312 | * vmsdbg.h: Likewise. | |
313 | * vmsdbgout.c: Likewise. | |
314 | * xcoffout.h: Likewise. | |
315 | ||
b2e426a0 IS |
316 | 2002-05-31 Igor Shevlyakov <igor@microunity.com> |
317 | ||
1e730c5c | 318 | * expr.c (compare_from_rtx): Generate comparison between op0 and op1 |
b2e426a0 IS |
319 | rather than cc0 and 0 in a case when HAVE_cc0 is not defined. |
320 | ||
8b968bd1 MW |
321 | 2002-05-31 Matthew Woodcraft <mattheww@chiark.greenend.org.uk> |
322 | ||
323 | * gcc.c (cpp_unique_options): Remove "-d" options. | |
324 | (cpp_debug_options): New spec string. | |
325 | (default_compilers): Use it. | |
326 | * objc/lang-specs.h: Likewise. | |
327 | ||
5c35940c NN |
328 | 2002-05-31 Nathanael Nerode <neroden@twcny.rr.com> |
329 | ||
1e730c5c | 330 | * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with |
5c35940c NN |
331 | BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature. |
332 | * gcc/mklibgcc.in: Likewise. | |
333 | * gcc/config/arc/t-arc: Likewise. | |
334 | * gcc/configure.in: Likewise. | |
335 | * gcc/configure: Regenerate. | |
336 | ||
8b496ceb SS |
337 | 2002-05-31 Stan Shebs <shebs@apple.com> |
338 | Turly O'Connor <turly@apple.com> | |
339 | ||
340 | * c-decl.c (struct binding_level): Change int field n_incomplete | |
341 | to tree list incomplete_list. | |
342 | (clear_binding_level): Init field with NULL. | |
343 | (pushdecl): Add incomplete type to list. | |
344 | (mark_binding_level): Mark the incomplete list. | |
345 | (finish_struct): Scan the incomplete list for types instead | |
346 | of all decls in the current binding level. | |
347 | ||
4722213d JDA |
348 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
349 | ||
350 | * pa.c (output_millicode_call): Add missing '%' characters. | |
351 | (output_call): Likewise. | |
352 | ||
1086fcb1 DE |
353 | 2002-05-31 David Edelsohn <edelsohn@gnu.org> |
354 | ||
355 | * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define. | |
356 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. | |
357 | ||
afdfb380 | 358 | 2002-05-31 Alan Lehotsky <apl@alum.mit.edu> |
91b12472 | 359 | |
afdfb380 AL |
360 | * varasm.c (mark_constant_pool): Walk epilogue delay list |
361 | checking the insn, not the chain for potential constants. | |
1e730c5c | 362 | |
f2df45f6 R |
363 | Fri May 31 12:38:43 2002 J"orn Rennecke <joern.rennecke@superh.com> |
364 | ||
365 | * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec. | |
366 | ||
91ea38f9 JH |
367 | Fri May 31 13:50:19 CEST 2002 Jan Hubicka <jh@suse.cz> |
368 | ||
369 | * i386.c (classify_argument): Properly handle base types. | |
370 | ||
371 | * dwarf2out.c (expand_builin_init_dwarf_reg_sizes): | |
372 | Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo | |
373 | registers. | |
374 | ||
10d1bb36 JH |
375 | Fri May 31 13:37:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
376 | ||
377 | * gcse.c (gcse_emit_move_after): New. | |
378 | (pre_delete, hoist_store): Use it. | |
379 | ||
380 | * reload1.c (emit_input_reload_insns): Use constrain_operands | |
381 | instead of constraint_accepts_reg_p to verify optimization. | |
382 | (constraint_accepts_reg_p): Kill | |
383 | ||
384 | * reload1.c (reload_cse_delete_noop_set): Kill. | |
385 | (reload_cse_simplify): use delte_insn_and_edges. | |
386 | ||
8a72fb76 ZD |
387 | 2002-05-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
388 | ||
389 | * cfgloop.c (flow_loops_find): Initialize first and last fields | |
390 | correctly. | |
391 | ||
a9da2e5b NB |
392 | 2002-05-31 Neil Booth <neil@daikokuya.demon.co.uk> |
393 | ||
394 | * c-common.c (builtin_define_std): Correct logic. | |
395 | ||
6248c4dd JDA |
396 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
397 | ||
398 | * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20. | |
399 | (output_call): Likewise. | |
400 | ||
d499455b JDA |
401 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
402 | ||
403 | * pa.c: Move output.h include after tree.h include. | |
404 | (pa_asm_output_mi_thunk): Constify identifier lab. | |
405 | ||
2eb2901a JT |
406 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
407 | ||
408 | * config/ns32k/ns32k.h: Define named constants for the | |
409 | bits in target_flags and use them. | |
410 | * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants. | |
411 | ||
806bf413 JDA |
412 | 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
413 | ||
414 | * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0 | |
415 | architecture and pa/pa-7100.h for PA1.1 architecture, respectively. | |
416 | * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select | |
417 | default scheduling model. | |
418 | * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000". | |
419 | * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling. | |
420 | * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling. | |
421 | * doc/install.texi (hppa*-*-*): Document default scheduling. | |
422 | ||
6d8d2bbc JDA |
423 | 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
424 | ||
425 | * pa.c (following_call): Check TARGET_JUMP_IN_DELAY. | |
426 | ||
c8eb9785 JT |
427 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
428 | ||
429 | * config.gcc (ns32k-*-netbsd*): Set tm_file to | |
430 | "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h" | |
431 | * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h, | |
432 | netbsd.h, or netbsd-aout.h. | |
433 | ||
6e2e5b6a JT |
434 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
435 | ||
436 | * longlong.h (count_trailing_zeros): Add missing \, and clean up | |
437 | whitespace in __ns32000__ case. | |
438 | ||
00182e1e AH |
439 | 2002-05-31 Aldy Hernandez <aldyh@redhat.com> |
440 | ||
1e730c5c ZW |
441 | * expr.c (expand_expr): Output partially zeroed out vectors with |
442 | output_constant_def. | |
00182e1e | 443 | |
b4eb03fe JT |
444 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
445 | ||
446 | * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh. | |
447 | (sh-*-netbsdelf*) | |
448 | (shl*-*-netbsdelf*): New targets. | |
449 | * config/sh/netbsd-elf.h: New file. | |
450 | ||
261376e7 RH |
451 | 2002-05-30 Richard Henderson <rth@redhat.com> |
452 | Eric Botcazou <ebotcazou@multimania.com> | |
453 | ||
454 | PR optimization/6822 | |
455 | * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL | |
456 | to unsigned int for op1 comparisons. Use gen_int_mode. | |
457 | ||
ce60bf25 EB |
458 | 2002-05-30 Eric Botcazou <ebotcazou@multimania.com> |
459 | ||
460 | * expmed.c (const_mult_add_overflow_p): New. | |
461 | * expr.h: Declare it. | |
462 | * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it. | |
463 | Don't eliminate the biv if the giv has a constant multiplier and | |
464 | the rhs argument of the comparison does satisfy the predicate. | |
465 | Use expand_mult_add to compute the replacement constant. | |
466 | ||
d18b1ed8 OS |
467 | 2002-05-30 Osku Salerma <osku@iki.fi> |
468 | ||
469 | * c-common.c (c_common_attribute_table): Add "may_alias" entry. | |
470 | (c_common_get_alias_set): Handle it. | |
471 | * doc/extend.texi: Document it. | |
472 | ||
a7943381 RH |
473 | 2002-05-30 Richard Henderson <rth@redhat.com> |
474 | ||
475 | * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. | |
476 | * toplev.c (process_options): Don't check it. | |
477 | * doc/tm.texi: Don't document it. | |
478 | * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New. | |
479 | (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. | |
480 | * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf | |
481 | frame pointer optimization if current_function_profile. | |
482 | ||
e11e816e KH |
483 | 2002-05-30 Kazu Hirata <kazu@cs.umass.edu> |
484 | ||
485 | * langhooks.c: Fix formatting. | |
486 | * langhooks.h: Likewise. | |
487 | * lcm.c: Likewise. | |
488 | * libgcc2.c: Likewise. | |
489 | * lists.c: Likewise. | |
490 | * local-alloc.c: Likewise. | |
491 | * loop.c: Likewise. | |
492 | * loop.h: Likewise. | |
493 | ||
494 | 2002-05-30 Marc Espie <espie@openbsd.org> | |
495 | ||
496 | * config.gcc (sparc64-*-openbsd*): New. | |
497 | * config/sparc/openbsd1-64.h: New. | |
498 | * config/sparc/openbsd64.h: New. | |
91f0fcee | 499 | |
d35dfca9 JL |
500 | 2002-05-30 Jeff Law <law@redhat.com> |
501 | ||
502 | * flow.c (propagate_one_insn): Revise yesterday's patch. Delete | |
503 | a dead insn with a REG_RETVAL note when the entire libcall is not | |
504 | dead and remove the associated REG_LIBCALL note at the same time. | |
505 | ||
81b40b72 R |
506 | Thu May 30 19:54:30 2002 J"orn Rennecke <joern.rennecke@superh.com> |
507 | ||
508 | * lcm.c (output.h): #include. | |
509 | (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK | |
510 | as an ordinary block. | |
511 | (optimize_mode_switching): Don't pretend that the exit block is | |
512 | an ordinary block, or handle sucessors of entry block specially. | |
513 | Instead, split edges from entry block and to exit block, and | |
514 | put a computing definition on the thus gained post-entry-block, | |
515 | and a need on the pre-exit-block. | |
516 | ||
c8ea9a0f JH |
517 | Thu May 30 20:28:01 CEST 2002 Jan Hubicka <jh@suse.cz> |
518 | ||
519 | * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'. | |
520 | * rtl.texi: Document 'B' | |
521 | ||
348f0869 JT |
522 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
523 | ||
524 | * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute | |
525 | at run-time. | |
526 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__. | |
527 | ||
9a171fcd AH |
528 | 2002-05-30 Aldy Hernandez <aldyh@redhat.com> |
529 | ||
1e730c5c ZW |
530 | * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return |
531 | const0_rtx instead of NULL_RTX when in error. | |
532 | (altivec_expand_abs_builtin): Same. | |
533 | (rs6000_expand_binop_builtin): Same. | |
534 | (altivec_expand_predicate_builtin): Same. | |
535 | (altivec_expand_stv_builtin): Same. | |
536 | (rs6000_expand_ternop_builtin): Same. | |
537 | (altivec_expand_builtin): Same. | |
9a171fcd | 538 | |
62a35e60 DM |
539 | 2002-05-29 David S. Miller <davem@redhat.com> |
540 | ||
541 | * rtl.h (clear_emit_caches): Delete. | |
542 | * integrate.c (output_inline_function): Don't call it. | |
543 | * emit-rtl.c (restore_emit_status, init_emit): Likewise. | |
544 | (clear_emit_caches): Delete definition. | |
545 | (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise. | |
546 | ||
cbc39da8 HPN |
547 | 2002-05-30 Hans-Peter Nilsson <hp@bitrange.com> |
548 | ||
549 | * config/mmix/mmix.c: Include real.h. | |
550 | (mmix_constant_address_p): Remove redundant test before switch. | |
551 | ||
50efa737 JT |
552 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
553 | ||
554 | * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define | |
555 | only if not already defined. | |
556 | ||
2e760b15 KH |
557 | 2002-05-29 Kazu Hirata <kazu@cs.umass.edu> |
558 | ||
559 | * config/h8300/h8300-protos.h: Remove prototypes for | |
560 | ok_for_bclr and small_power_of_two. | |
561 | * config/h8300/h8300.c (small_power_of_two): Remove. | |
562 | (ok_for_blcr): Likewise. | |
563 | (fix_bit_operand): Make WHAT deal with an integer instead of a | |
564 | constraint character. | |
565 | * config/h8300/h8300.h (CONST_OK_FOR_O): Remove. | |
566 | (CONST_OK_FOR_P): Likewise. | |
567 | (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or | |
568 | CONST_OK_FOR_P any more. | |
569 | * config/h8300/h8300.md (andqi3): Adjust to the new prototype | |
570 | of fix_bit_operand. | |
571 | (iorqi3): Likewise. | |
572 | (xorqi3): Likewise. | |
573 | ||
e1c293ae JT |
574 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
575 | ||
576 | * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
577 | (CPP_PREDEFINES): Make sure this is undefined. | |
578 | (CPP_SPEC): Place -D__mips=1 at the beginning of the spec, | |
579 | since it is no longer in CPP_PREDEFINES. Don't -U__MIPSEL__ | |
580 | or -U__MIPSEB__ before defining one or the other. Instead, | |
581 | use %(subtarget_endian_default) if neither -EB nor -EL are | |
582 | specified. | |
583 | (SUBTARGET_EXTRA_SPECS): Define. | |
584 | (SUBTARGET_CPP_SPEC): Remove __LONG64 handling. Use | |
585 | %(netbsd_cpp_spec). | |
586 | ||
fde6d81f HPN |
587 | 2002-05-29 Hans-Peter Nilsson <hp@axis.com> |
588 | ||
589 | * doc/md.texi (Patterns): Note pattern condition pitfall | |
590 | for unnamed insn. | |
591 | ||
92898235 AH |
592 | 2002-05-29 Aldy Hernandez <aldyh@redhat.com> |
593 | ||
1e730c5c ZW |
594 | * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins |
595 | when TARGET_ALTIVEC. Move handling of generic unary, binary, and | |
596 | ternary operations from here... | |
597 | (rs6000_expand_builtin): ...to here. | |
598 | New argument expandedp. | |
599 | Change all instances of altivec_expand_binop_builtin to | |
600 | rs6000_expand_binop_builtin. | |
601 | (altivec_expand_unop_builtin): Rename to | |
602 | rs6000_expand_unop_builtin. | |
603 | (altivec_expand_binop_builtin): Rename to | |
604 | rs6000_expand_binop_builtin. | |
605 | (altivec_expand_ternop_builtin): Rename to | |
606 | rs6000_expand_ternop_builtin. | |
92898235 | 607 | |
67adf6a9 RH |
608 | 2002-05-29 Richard Henderson <rth@redhat.com> |
609 | ||
610 | * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value. | |
611 | (TARGET_BI_ARCH): Likewise. | |
612 | * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value. | |
613 | (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT. | |
614 | (TARGET_64BIT_DEFAULT): Default to 0. | |
615 | (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER. | |
616 | ||
145aacc2 RH |
617 | 2002-05-29 Richard Henderson <rth@redhat.com> |
618 | ||
619 | * config/i386/i386.c (USE_HIDDEN_LINKONCE): New. | |
620 | (get_pc_thunk_name): New. | |
621 | (output_set_got): Use it. | |
622 | (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks | |
623 | into linkonce sections. | |
624 | ||
a5b49bbc JT |
625 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
626 | ||
627 | * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
628 | (CPP_PREDEFINES): Make sure this is undefined. | |
629 | (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove. | |
630 | (CPP_SUBTARGET_SPEC): Don't provide different versions for | |
631 | default-32 and default-64. Just always use %(netbsd_cpp_spec). | |
632 | (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and | |
633 | cpp_subtarget_spec64. Add netbsd_cpp_spec. | |
634 | * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
635 | (CPP_PREDEFINES): Make sure this is undefined. | |
636 | (SUBTARGET_EXTRA_SPECS): Define. | |
637 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
638 | ||
54374491 JL |
639 | 2002-05-29 Jeff Law <law@redhat.com> |
640 | ||
ae02eae8 JL |
641 | * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon. |
642 | ||
b862c2aa JL |
643 | * flow.c (propagate_one_insn): Do not remove a dead insn if it |
644 | contains a REG_RETVAL note. | |
645 | ||
d10791ba JL |
646 | * haifa-sched (sched_analyze): Remove another useless clearing |
647 | of SCHED_GROUP_P I missed yesterday. | |
648 | ||
54374491 JL |
649 | * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c. |
650 | * pa.c (pa_asm_output_mi_thunk): New function. | |
651 | * pa-protos.h (pa_asm_output_mi_thunk): Declare. | |
652 | ||
92c392e6 NB |
653 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
654 | Marek Michalkiewicz <marekm@amelek.gda.pl> | |
655 | ||
656 | * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New. | |
657 | (avr_asm_only_p): Make non-static. | |
658 | (enum avr_arch): Remove. | |
659 | (avr_arch_types): New. | |
660 | (avr_mcu_types): Update. | |
661 | (avr_override_options): Use avr_arch_types table instead of switch. | |
662 | * avr.h (CPP_PREDEFINES): Die. | |
663 | (avr_base_arch_macro, avr_extra_arch_macro): New. | |
664 | (TARGET_CPU_CPP_BUILTINS): New. | |
665 | (CPP_SPEC, EXTRA_SPECS): Simplify. | |
666 | (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC, | |
667 | CPP_AVR5_SPEC): Die. | |
668 | ||
4528173e JT |
669 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
670 | ||
671 | * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use | |
672 | NETBSD_OS_CPP_BUILTINS_AOUT. | |
673 | (SUBTARGET_EXTRA_SPECS): Define. | |
674 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
675 | ||
bd09bdeb RH |
676 | 2002-05-29 Richard Henderson <rth@redhat.com> |
677 | ||
678 | * config/i386/i386.c (ix86_output_function_epilogue): New. | |
679 | (TARGET_ASM_FUNCTION_EPILOGUE): New. | |
680 | (pic_label_name): Remove. | |
681 | (pic_labels_used): New. | |
682 | (ix86_asm_file_end): Emit one pc load stub for each register used. | |
683 | (output_set_got): Generate deep pc load to any register. | |
684 | (ix86_select_alt_pic_regnum): New. | |
685 | (ix86_save_reg): Don't save pic register if we can find a valid | |
686 | call-clobbered replacement. | |
687 | (ix86_expand_prologue): If we found a valid replacement, renumber | |
688 | pic_offset_table_rtx. | |
689 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at | |
690 | pic_offset_table_rtx after reload. | |
691 | (REAL_PIC_OFFSET_TABLE_REGNUM): New. | |
692 | * config/i386/i386.md (set_got): Make insn, not expander. | |
693 | (set_got_nopic, set_got_deep, set_got_nodeep): Remove. | |
694 | ||
002ff5bc RH |
695 | 2002-05-29 Richard Henderson <rth@redhat.com> |
696 | ||
697 | * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom | |
698 | alignment for alloca. | |
699 | ||
edfe8595 RH |
700 | 2002-05-29 Richard Henderson <rth@redhat.com> |
701 | ||
702 | * config/i386/i386.c (output_pic_addr_const): Lowercase rip. | |
703 | (print_operand_address): Only add rip for symbolic addresses | |
704 | for which we do not have another relocation type. | |
705 | ||
cd7714ee JT |
706 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
707 | ||
708 | * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
709 | (EXTRA_SPECS): Add netbsd_cpp_spec. | |
710 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
711 | (CPP_PREDEFINES): Remove. | |
712 | * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
713 | (EXTRA_SPECS): Define. | |
714 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
715 | (CPP_PREDEFINES): Remove. | |
716 | ||
8dc901de NB |
717 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
718 | ||
719 | PR preprocessor/6844 | |
720 | * cppmacro.c (cpp_macro_definition): Reserve space for terminating | |
721 | NUL. | |
722 | ||
2274b31a EC |
723 | 2002-05-29 Eric Christopher <echristo@redhat.com> |
724 | ||
725 | * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for | |
726 | mips5/mips32/mips64 and _MIPS_ISA_MIPSXX. | |
727 | ||
5c7666c1 NC |
728 | 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com> |
729 | ||
730 | * config/fr30/fr30.md: Remove previous restriction on splits. | |
731 | Enforce conformance through gen_lowpart and cont_int_operand. | |
1e730c5c | 732 | * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss" |
5c7666c1 NC |
733 | as the assembler does not support ".bss". |
734 | ||
45beef47 JT |
735 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
736 | ||
737 | * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
738 | (CPP_PREDEFINES): Remove. | |
739 | (SUBTARGET_EXTRA_SPECS): Define. | |
740 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
741 | * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
742 | (CPP_PREDEFINES): Remove. | |
743 | (SUBTARGET_EXTRA_SPECS): Define. | |
744 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
745 | * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define. | |
746 | (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove. | |
747 | (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget. | |
748 | Add netbsd_cpp_spec. | |
749 | (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec). | |
750 | ||
cd7ab83f NB |
751 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
752 | Zack Weinberg <zack@codesourcery.com> | |
753 | ||
754 | * cppexp.c (cpp_num): Move to cpplib.h. | |
755 | (CPP_ERROR): Remove. | |
756 | (interpret_float_suffix, interpret_int_suffix): New. | |
757 | (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove. | |
758 | (cpp_classify_number, cpp_interpret_integer): New. | |
759 | (interpret_number): Remove. | |
760 | (eval_token): Update to use new routines. | |
761 | * cpphash.h (cpp_num_part): Move to cpplib.h. | |
762 | * cppinit.c (cpp_post_options): Set warn_long_long. | |
763 | * cpplib.h (struct cpp_options): Add warn_long_long. | |
764 | (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID, | |
765 | CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL, | |
766 | CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX, | |
767 | CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number, | |
768 | cpp_interpret_integer): New. | |
769 | ||
61a8515c JS |
770 | 2002-05-29 Joel Sherrill <joel@OARcorp.com> |
771 | ||
772 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405. | |
773 | ||
53a428b5 JT |
774 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
775 | ||
776 | * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use | |
2274b31a EC |
777 | NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64. |
778 | (CPP_SUBTARGET_SPEC): Define. | |
779 | (SUBTARGET_EXTRA_SPECS): Define. | |
53a428b5 JT |
780 | (CPP_SPEC): Remove. |
781 | ||
45b1f7c7 CL |
782 | 2002-05-29 Chris Lattner <sabre@nondot.org> |
783 | ||
1e730c5c ZW |
784 | * ssa.c (rename_insn_1): Rename uses of undefined registers to |
785 | prevent confusion if/when the register is defined. | |
45b1f7c7 | 786 | |
049746c2 HPN |
787 | 2002-05-29 Hans-Peter Nilsson <hp@axis.com> |
788 | ||
789 | PR target/6838 | |
790 | * config/cris/cris.md: Fix typos and thinkos in comments. | |
791 | ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4, | |
792 | second alternative. | |
793 | ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto. | |
794 | ("*mov_sideqi_mem"): Similar, but for operand 3. | |
795 | ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto. | |
796 | (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem): | |
797 | Remove spurious mode specifier on operand 2. | |
798 | ||
4d4d89e2 KH |
799 | 2002-05-29 Kazu Hirata <kazu@cs.umass.edu> |
800 | ||
801 | * config/h8300/h8300-protos.h: Remove the prototype for | |
802 | o_operand. | |
803 | Add prototypes for single_one_operand and single_zero_operand. | |
804 | * config/h8300/h8300.c (o_operand): Remove. | |
805 | (single_one_operand): New. | |
806 | (single_zero_operand): Likewise. | |
807 | (print_operand): For 'V' operand, and the operand with 0xff. | |
808 | For 'V' and 'W' operands, do not and the bit position with 7. | |
809 | * config/h8300/h8300.md (various anonymous patterns): Replace | |
810 | use of exact_log2 with single_one_operand/single_zero_operand. | |
811 | ||
abd6ddec UW |
812 | 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com> |
813 | ||
814 | * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. | |
815 | ||
da06d85a UW |
816 | 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com> |
817 | ||
818 | * config/s390/s390.c (legitimate_pic_operand_p): Do not | |
819 | accept symbolic LARL operands. | |
2274b31a | 820 | (s390_emit_epilogue): Do not set FRAME_RELATED_P on |
da06d85a | 821 | epilogue insns. |
2274b31a | 822 | |
f8766020 HP |
823 | 2002-05-29 Hartmut Penner <hpenner@de.ibm.com> |
824 | ||
825 | * config/s390/s390.md (cmpstr_64/31): Mark whole | |
2274b31a | 826 | input registers as used. |
f8766020 | 827 | |
66edd3b4 RH |
828 | 2002-05-28 Richard Henderson <rth@redhat.com> |
829 | ||
830 | * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live, | |
831 | not current_function_uses_pic_offset_table and | |
832 | current_function_uses_const_pool; examine current_function_profile. | |
833 | (ix86_expand_prologue): Likewise. Add pic_offset_table_rtx as | |
834 | input to blockage if needed. | |
835 | (ix86_expand_call): Do not set current_function_uses_pic_offset_table. | |
836 | (legitimize_pic_address): Likewise. Set regs_ever_live for | |
837 | pic_offset_table_rtx when invoked during reload. | |
838 | * config/i386/i386.h (FINALIZE_PIC): Remove. | |
839 | * config/i386/i386.md (tablejump): Reformat. Do not set | |
840 | current_function_uses_pic_offset_table. | |
841 | (tls_global_dynamic, tls_local_dynamic_base): Likewise. | |
842 | (blockage): Accept anything as operand 0. | |
843 | ||
52f4fff6 JT |
844 | 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com> |
845 | ||
846 | * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define | |
847 | common CPP built-ins for all NetBSD a.out targets. | |
848 | * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define | |
849 | common CPP built-ins for all NetBSD ELF targets. | |
850 | * config/netbsd.h: Add missing notice. | |
851 | (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins | |
852 | for all NetBSD targets. | |
853 | (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins | |
854 | for all NetBSD targets using an LP64 code model. | |
855 | (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all | |
856 | NetBSD targets. | |
857 | ||
e0e577a2 RH |
858 | 2002-05-28 Richard Henderson <rth@redhat.com> |
859 | ||
860 | * flow.c (update_life_info_in_dirty_blocks): Only do a partial | |
861 | update if UPDATE_LIFE_LOCAL. | |
862 | ||
863 | 2002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> | |
62526ec3 TM |
864 | |
865 | * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE. | |
866 | ||
f1a58d92 | 867 | Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1e730c5c | 868 | Jason R. Thorpe <thorpej@wasabisystems.com> |
f1a58d92 R |
869 | |
870 | config/sh reorganization to factor out endianness and coff: | |
871 | ||
872 | * config/sh/little.h: New file. | |
1e730c5c ZW |
873 | * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already |
874 | defined, define to 0 to select big-endian. | |
f1a58d92 | 875 | (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT. |
1e730c5c ZW |
876 | (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. |
877 | * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. | |
878 | * config/sh/t-be: New file. | |
879 | * config/sh/t-le: New file. | |
f1a58d92 R |
880 | |
881 | * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h. | |
882 | (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise. | |
883 | (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise. | |
884 | (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise. | |
885 | (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
886 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. | |
887 | (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted. | |
888 | (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise. | |
889 | (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise. | |
890 | (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and | |
891 | CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL, | |
892 | SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC. | |
893 | (LINK_SPEC): Define to SH_LINK_SPEC. | |
894 | (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define. | |
895 | (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise. | |
896 | (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. | |
897 | (CPP_SPEC): Reduce to %(subtarget_cpp_spec). | |
898 | (TARGET_ENDIAN_DEFAULT): Define if not already defined. | |
899 | * config/sh/coff.h: New file. | |
900 | (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section | |
901 | (TARGET_OBJFMT_CPP_BUILTINS): Define. | |
902 | * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start. | |
903 | (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise. | |
904 | (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise. | |
905 | (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise. | |
906 | (PTRDIFF_TYPE): Likewise. | |
907 | ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include. | |
908 | (CPP_PREDEFINES): Don't define. | |
909 | (TARGET_OBJFMT_CPP_BUILTINS): Define. | |
910 | (LINK_SPEC): Define to SH_LINK_SPEC. | |
911 | (LINK_EMUL_PREFIX): Redefine. | |
912 | * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases. | |
913 | (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition. | |
914 | (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise. | |
915 | (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise. | |
916 | (TARGET_OS_CPP_BUILTINS): Define. | |
917 | (TARGET_DEFAULT): Redefine. | |
918 | (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. | |
919 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove. | |
920 | (LINK_SPEC): Don't redefine. | |
921 | (LINK_DEFAULT_CPU_EMUL): Redefine. | |
922 | (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. | |
923 | * sh.c (sh_asm_named_section): Don't declare / define. | |
924 | * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option. | |
925 | * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h. | |
926 | (sh64-*-elf* tm_file): Likewise. | |
927 | (sh-*-rtemself* tm_file): Likewise. | |
928 | (sh-*-linux* tm_file): Likewise. Add sh/little.h. | |
929 | (sh-*-linux* tmake_file): Add sh/t-le. | |
930 | (sh-*-rtems* tm_file): Add sh/coff.h | |
931 | (sh-*-* tm_file): Likewise. | |
932 | ||
933 | Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com> | |
934 | ||
935 | * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using | |
936 | CONSTANT_POOL_ADDRESS_P. | |
937 | ||
938 | * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define. | |
939 | ||
d10791ba | 940 | 2002-05-28 David Edelsohn <edelsohn@gnu.org> |
33a3dfc4 DE |
941 | Jeff Law <law@redhat.com> |
942 | ||
64de6c0a DE |
943 | * optabs.c (expand_binop): Fix nwords sign warnings. |
944 | generate pseudo for add_optab. | |
945 | ||
33a3dfc4 DE |
946 | * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P. |
947 | * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used. | |
948 | ||
972957ba | 949 | 2002-05-28 Marc Espie <espie@openbsd.org> |
33a3dfc4 | 950 | |
2274b31a | 951 | * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, |
972957ba ME |
952 | inherited from gas.h. |
953 | (ASM_QUAD): Undef. OpenBSD does not support it. | |
954 | ||
cc92b8ab DS |
955 | 2002-05-28 Danny Smith <dannysmith@users.sourceforge.net> |
956 | ||
957 | * doc/install.texi (binaries): Change mingw binaries | |
958 | link to www.mingw.org. | |
959 | ||
f8088d55 ZD |
960 | 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
961 | ||
962 | * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i. | |
963 | ||
0b7ae565 RH |
964 | 2002-05-28 Richard Henderson <rth@redhat.com> |
965 | ||
966 | * config/i386/i386.c (ix86_compute_frame_layout): Do not add | |
967 | bottom alignment for leaf functions. | |
968 | ||
16069d69 ZW |
969 | 2002-05-28 Zack Weinberg <zack@codesourcery.com> |
970 | ||
971 | * config/pa/milli32.S, config/pa/lib1funcs.asm, | |
972 | config/sparc/sol2-g1.asm: Delete unused files. | |
973 | ||
04653686 RH |
974 | 2002-05-28 Richard Henderson <rth@redhat.com> |
975 | ||
976 | * cfg.c (dump_flow_info): Print bb->index, not i, for block number. | |
977 | ||
f3ea5f6a RH |
978 | * flow.c (calculate_global_regs_live): Rename call_used to |
979 | invalidated_by_call. Initialize from regs_invalidated_by_call | |
980 | instead of call_used_regs. | |
981 | ||
923c7cdf RH |
982 | * varasm.c (default_binds_local_p): Check TREE_PUBLIC before |
983 | DECL_EXTERNAL. | |
984 | ||
11ad4784 ZW |
985 | 2002-05-28 Zack Weinberg <zack@codesourcery.com> |
986 | ||
8abbd76a ZW |
987 | * tree.h: Don't include real.h. |
988 | Forward-declare struct realvaluetype. | |
11ad4784 ZW |
989 | (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not |
990 | contain it. | |
991 | (TREE_REAL_CST_PTR): New accessor. | |
992 | (TREE_REAL_CST): Update. | |
993 | * real.h: Include machmode.h. | |
2274b31a | 994 | (realvaluetype): Make it struct realvaluetype, not a typedef. |
11ad4784 ZW |
995 | (build_real): Prototype here. |
996 | ||
997 | * tree.c: Include real.h. | |
2274b31a EC |
998 | (build_real): Allocate the REAL_VALUE_TYPE as a separate |
999 | object in GC memory, set TREE_REAL_CST_PTR to point to it. | |
11ad4784 ZW |
1000 | (build_real_from_int_cst): Use build_real. |
1001 | * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a | |
1002 | REAL_CST. | |
1003 | ||
1004 | * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c, | |
1005 | fold-const.c, print-tree.c, real.c: Include real.h. | |
1006 | * Makefile.in: Update dependency lists. | |
1007 | ||
bf77398c ZD |
1008 | 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1009 | ||
1010 | * basic-block.h (last_basic_block): Declare. | |
1011 | (expunge_block_nocompact): Declaration removed. | |
1012 | (compact_blocks): Declare. | |
1013 | * cfg.c (last_basic_block): New variable. | |
1014 | (expunge_block_nocompact): Removed. | |
1015 | (expunge_block): Do not compact basic blocks. | |
1016 | (compact_blocks): New. | |
1017 | * cfganal.c (flow_call_edges_add): Use the fact that bb indices no | |
1018 | longer change. | |
1019 | * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set | |
1020 | last_basic_block. | |
1021 | * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change | |
1022 | real positions of blocks. | |
1023 | (delete_unreachable_blocks): Simplified -- quadratic behavior now | |
1024 | cannot occur. | |
1025 | (cleanup_cfg): Compact blocks. | |
1026 | * cfgrtl.c (create_basic_block): Insert basic blocks to the end of | |
1027 | basic_block_info varray. | |
1028 | (flow_delete_block): Comment update. | |
1029 | (back_edge_of_syntactic_loop_p): Modify position check code. | |
1030 | (verify_flow_info): Update checking. | |
1031 | * flow.c (calculate_global_regs_live): Use FOR_EACH_BB. | |
1032 | * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed. | |
1033 | (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb | |
1034 | indices no longer change. | |
1035 | * lcm.c (optimize_mode_switching): Replace n_basic_blocks with | |
1036 | last_basic_block. | |
1037 | * predict.c (estimate_bb_frequencies): Remove unneccessary code. | |
1038 | * profile.c (branch_prob): Compact blocks. | |
1039 | * sched-rgn.c (find_rgns): Replace n_basic_blocks with | |
1040 | last_basic_block. | |
1041 | ||
ae12a094 KH |
1042 | 2002-05-28 Kazu Hirata <kazu@cs.umass.edu> |
1043 | ||
1044 | * config/h8300/h8300.md (two anonymous patterns): New. | |
1045 | ||
c6172f14 DM |
1046 | 2002-05-28 David S. Miller <davem@redhat.com> |
1047 | ||
1048 | * config/sparc/sparc.md (cpu): Tidy. | |
1049 | (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and | |
1050 | 'trap'. | |
1051 | (in_call_delay): Delete reference to 'return' type. | |
1052 | (eligible_for_return_delay, in_return_delay, define_delay | |
1053 | referencing those): Delete. | |
1054 | (rest of file): Use new type attributes as appropriate. | |
1055 | * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete. | |
1056 | * config/sparc/sparc.c (eligible_for_return_delay): Likewise. | |
1057 | * config/sparc/ultra1_2.md (us1_single): New reservation. | |
1058 | (us1_ialuX): Likewise. | |
1059 | * config/sparc/ultra3.md (us3_single): Likewise. | |
1060 | (us3_ialuX): Likewise. | |
1061 | (us3_imul, us3_idiv): Tweak. | |
2274b31a | 1062 | |
34a6c2ec RH |
1063 | 2002-05-28 Richard Henderson <rth@redhat.com> |
1064 | ||
1065 | * config/alpha/alpha.c (alpha_in_small_data_p): Return false for | |
1066 | STRING_CST. | |
1067 | ||
9c075570 RH |
1068 | 2002-05-28 Richard Henderson <rth@redhat.com> |
1069 | ||
1070 | * config.gcc: Obsolete mn10200. | |
1071 | ||
359b0bec NB |
1072 | 2002-05-28 Neil Booth <neil@daikokuya.demon.co.uk> |
1073 | ||
1074 | * cppexp.c (interpret_number): Optimize for single-digit | |
1075 | and less-than-half-precision cases. | |
1076 | (num_trim, num_positive, num_div_op): Cast constants. | |
1077 | ||
4075db8f BT |
1078 | 2002-05-27 Bo Thorsen <bo@suse.de> |
1079 | ||
1080 | * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the | |
1081 | 3.1 branch. The file was made by Jakub Jelinek. | |
1082 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386 | |
1083 | support so multilib doesn't break. And don't define this at all | |
1084 | when -Dinhibit_libc is used. | |
1085 | (MULTILIB_DEFAULTS): Always set default to 64 bit compilation. | |
1086 | * config/i386/t-linux64: Implement full multilib support. Patch | |
1087 | originally done by Andreas Jaeger and Jakub Jelinek. | |
1088 | ||
39f2f3c8 RS |
1089 | 2002-05-27 Roger Sayle <roger@eyesopen.com> |
1090 | ||
1091 | * c-common.c: Add support for __attribute__((nothrow)) to specify | |
1092 | that a function cannot throw an exception (using TREE_NOTHROW). | |
1093 | (handle_nothrow_attribute): New function to process this attribute. | |
1094 | ||
1095 | * doc/extend.texi: Document the new nothrow function attribute. | |
1096 | ||
d51b0053 L |
1097 | 2002-05-27 H.J. Lu (hjl@gnu.org) |
1098 | ||
1099 | * cppexp.c (num_trim): Use 1UL instead of 1 for long int. | |
1100 | (num_positive): Likewise. | |
1101 | (num_div_op): Likewise. | |
1102 | ||
630363b4 NB |
1103 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
1104 | ||
1105 | * c-common.c (c_common_init): Always use intmax_t. | |
1106 | ||
d94cde01 NB |
1107 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
1108 | ||
1109 | * c-common.c (c_common_init): Use intmax_t for now. | |
1110 | ||
57f851a3 AH |
1111 | 2002-05-24 Andrew Haley <aph@redhat.com> |
1112 | ||
1113 | * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c | |
1114 | if T is a boolean type. | |
1115 | ||
d55bc081 ZD |
1116 | 2002-05-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1117 | ||
1118 | * basic-block.h (last_basic_block): Defined as synonym for | |
1119 | n_basic_blocks. | |
1120 | * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute, | |
1121 | flow_depth_first_order_compute, flow_preorder_transversal_compute, | |
1122 | flow_dfs_compute_reverse_init): Replaced relevant occurences of | |
1123 | n_basic_blocks with last_basic_block. | |
1124 | * cfgbuild.c (make_edges): Likewise. | |
1125 | * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise. | |
1126 | * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise. | |
1127 | * combine.c (combine_instructions): Likewise. | |
1128 | * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap, | |
1129 | iterative_dataflow_bitmap): Likewise. | |
1130 | * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree, | |
1131 | calc_idoms, idoms_to_doms): Likewise. | |
1132 | * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars): | |
1133 | Likewise. | |
1134 | * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties, | |
1135 | compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass, | |
1136 | one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p, | |
1137 | one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1, | |
1138 | delete_null_pointer_checks, compute_code_hoist_vbeinout, | |
1139 | hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass, | |
1140 | compute_store_table, build_store_vectors): Likewise. | |
1141 | * haifa-sched.c (sched_init): Likewise. | |
1142 | * ifcvt.c (if_convert): Likewise. | |
1143 | * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete, | |
1144 | pre_edge_lcm, compute_available, compute_nearerout, | |
1145 | compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching): | |
1146 | Likewise. | |
1147 | * predict.c (estimate_probability, process_note_prediction, | |
1148 | note_prediction_to_br_prob): Likewise. | |
1149 | * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise. | |
1150 | * recog.c (split_all_insns, peephole2_optimize): Likewise. | |
1151 | * regrename.c (copyprop_hardreg_forward): Likewise. | |
1152 | * resource.c (init_resource_info): Likewise. | |
1153 | * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info, | |
1154 | init_regions, schedule_insns): Likewise. | |
1155 | * ssa-ccp.c (ssa_const_prop): Likewise. | |
1156 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
1157 | * ssa.c (compute_dominance_frontiers, | |
1158 | compute_iterated_dominance_frontiers, convert_to_ssa): Likewise. | |
1159 | ||
1160 | * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code) | |
1161 | * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector | |
1162 | sizes consistently. | |
1163 | ||
71d2c5bd JH |
1164 | Mon May 27 14:28:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
1165 | ||
1166 | * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge): | |
1167 | new. | |
1168 | * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store, | |
1169 | hoist_insn_after, hoist_insn_to_edge): New. | |
1170 | ||
5149f070 JH |
1171 | Mon May 27 12:14:02 CEST 2002 Jan Hubicka <jh@suse.cz> |
1172 | ||
1173 | * basic-block.h (PEOP_SCAN_DEAD_STORES): New. | |
1174 | (PROP_FINAL): Include. | |
1175 | * flow.c (life_analysis, update_life_info, | |
1176 | init_propagate_block_info, mark_set_1, mark_used_rgs): | |
1177 | Support SCAN_DEAD_STORE. | |
1178 | ||
c9220e3a NB |
1179 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
1180 | ||
1181 | * c-common.c (c_common_init): Set CPP arithmetic precision. | |
1182 | * cppexp.c (cpp_num_part): Move typedef ... | |
1183 | * cpphash.h: ...here; make unsigned HOST_WIDE_INT. | |
1184 | * cppinit.c (cpp_create_reader): Default to host long arithmetic. | |
1185 | (sanity_checks): Update. | |
1186 | ||
e34a3d31 GK |
1187 | 2002-05-26 Geoffrey Keating <geoffk@redhat.com> |
1188 | ||
1189 | * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'. | |
1190 | (mkheaders): New rule. | |
1191 | (install-mkheaders): New rule. | |
1192 | * configure.in (all_outputs): Add mkheaders. | |
1193 | * configure: Regenerate. | |
1194 | * mkheaders.in: New file. | |
1195 | ||
9059e33c JJ |
1196 | 2002-05-26 Jakub Jelinek <jakub@redhat.com> |
1197 | ||
1198 | * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class. | |
1199 | ||
291cc0fe AJ |
1200 | 2002-05-26 Andreas Jaeger <aj@suse.de> |
1201 | ||
1202 | * cfg.c (dump_flow_info): Remove extra argument to fprintf. | |
1203 | ||
91318908 NB |
1204 | 2002-05-26 Neil Booth <neil@daikokuya.demon.co.uk> |
1205 | ||
1206 | * cppexp.c (possible_sum_sign, integer_overflow, left_shift, | |
1207 | right_shift): Remove. | |
1208 | (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART, | |
1209 | HIGH_PART): New. | |
1210 | (struct op): Use cpp_num. | |
1211 | (num_zerop, num_eq, num_positive, num_greater_freq, num_trim, | |
1212 | num_part_mul, num_unary_op, num_binary_op, num_negate, | |
1213 | num_bitwise_op, num_inequality_op, num_equality_op, num_mul, | |
1214 | num_div_op, num_lshift, num_rshift, append_digit): New. | |
1215 | (interpret_number, parse_defined, eval_token, reduce): Update | |
1216 | for two-integer arithmetic. | |
1217 | (binary_handler): New typedef. | |
1218 | (optab): Update. | |
1219 | (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete. | |
1220 | (_cpp_parse_expr, reduce): Update to handle two-integers. | |
1221 | * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF. | |
1222 | ||
331ca350 MM |
1223 | 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1224 | ||
1225 | * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare. | |
1226 | * config/avr/avr.c (jump_over_one_insn_p): Take length of the | |
1227 | branch insn into account, do not assume 1. | |
1228 | (avr_out_sbxx_branch): New function. Optimize cases of skipping | |
1229 | over single word insn. Handle upper half of I/O space too. | |
1230 | * config/avr/avr.md (*sbrx_branch): Use it. | |
1231 | (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise. | |
1232 | (*sbix_branch, *sbix_branch_bit7): Likewise. | |
1233 | (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New. | |
1234 | Use RTL peepholes to optimize register operand sign tests. | |
1235 | ||
bcb6a2be MM |
1236 | 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1237 | ||
1238 | * config/avr/avr.c (avr_asm_only_p): New variable. | |
1239 | (avr_override_options): Set it here if AVR1. | |
1240 | (asm_file_start): Test it here, report an error if set. | |
1241 | ||
ca7fd9cd KH |
1242 | 2002-05-26 Kazu Hirata <kazu@cs.umass.edu> |
1243 | ||
1244 | * alias.c: Fix formatting. | |
1245 | * attribs.c: Likewise. | |
1246 | * bb-reorder.c: Likewise. | |
1247 | * bitmap.c: Likewise. | |
1248 | * bitmap.h: Likewise. | |
1249 | * builtins.c: Likewise. | |
1250 | ||
a65dc37d JH |
1251 | Sun May 26 14:00:44 CEST 2002 Jan Hubicka <jh@suse.cz> |
1252 | ||
1253 | * reload.c (find_valid_class): Accept new argument DEST, | |
1254 | choose class accordingly. | |
1255 | (push_reload): Update callers. | |
1256 | ||
9b89393b AJ |
1257 | 2002-05-26 Andreas Jaeger <aj@suse.de> |
1258 | ||
1259 | * combine.c (combine_instructions): Do not indent #if for | |
1260 | traditional C. | |
1261 | ||
b53bb376 RH |
1262 | 2002-05-25 Richard Henderson <rth@redhat.com> |
1263 | ||
1264 | * c-pragma.c (apply_pragma_weak): Convert value identifier to | |
1265 | string for decl_attributes. | |
1266 | (handle_pragma_weak): Call assemble_alias if we're modifying | |
1267 | an existing decl. | |
1268 | ||
e133041b RH |
1269 | 2002-05-25 Richard Henderson <rth@redhat.com> |
1270 | ||
1271 | PR target/6788 | |
1272 | * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation | |
1273 | using rtl instead of fprintf. | |
1274 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it. | |
1275 | * config/sparc/sparc-protos.h: Update. | |
1276 | ||
81a75f0f NB |
1277 | 2002-05-25 Neil Booth <neil@daikokuya.demon.co.uk> |
1278 | ||
1279 | * Makefile.in (C_COMMON_H): Fix. | |
1280 | Update other targets. | |
1281 | * c-common.c: Don't include c-lex.h. | |
1282 | (builtin_define_with_value): Make static and prototype. | |
1283 | (builtin_define_std): Move from c-lex.h. | |
1284 | * c-common.h (init_c_lex): Move from c-lex.h. | |
1285 | * c-decl.c: Don't include c-lex.h. | |
1286 | (make_pointer_declarator): Move from c-parse.in. | |
1287 | * c-lex.c: Don't include c-lex.h. | |
1288 | * c-lex.h: Remove. | |
1289 | * c-parse.in: Don't include c-lex.h; include c-pragma.h. | |
1290 | (make_pointer_declarator): Move to c-decl.c. | |
1291 | * c-pragma.c: Don't include c-lex.h. | |
1292 | * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h. | |
1293 | * c-tree.h (make_pointer_declarator): New. | |
1294 | doc: | |
1295 | * passes.texi, tm.texi: Update. | |
1296 | objc: | |
1297 | * Make-lang.in: Update and correct. | |
1298 | * objc-act.c: Don't include c-lex.h or cpplib.h. | |
1299 | treelang: | |
1300 | * treetree.c: Don't include c-lex.h. | |
1301 | config: | |
1302 | * darwin-c.c: Don't include c-lex.h. | |
1303 | * c4x/c4x-c.c: Don't include c-lex.h. | |
1304 | * c4x/t-c4x: Update. | |
1305 | * i370/i370-c.c: Don't include c-lex.h. | |
1306 | * i370/t-i370: Update. | |
1307 | * i960/i960-c.c: Don't include c-lex.h. | |
1308 | * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h. | |
1309 | * i960/t-960bare: Update. | |
1310 | * i960/t-vxworks: Update. | |
1311 | * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h. | |
1312 | * rs6000/t-darwin: Update. | |
1313 | * rs6000/t-rs6000-c-rule: Update. | |
1314 | * v850/v850-c.c: Don't include c-lex.h. | |
1315 | * v850/v850.c: Don't include c-lex.h or cpplib.h. | |
1316 | ||
1317 | ||
04d2be8e KH |
1318 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
1319 | ||
1320 | * tree.def: Fix typos. | |
1321 | * doc/install.texi: Likewise. | |
1322 | ||
7b6e506e RH |
1323 | 2002-05-25 Richard Henderson <rth@redhat.com> |
1324 | ||
1325 | * configure.in (HAVE_AS_TLS): Add ia64 test. | |
1326 | * configure: Rebuild. | |
1327 | * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New. | |
1328 | (override_options): Set it. | |
1329 | (TARGET_HAVE_TLS): New. | |
1330 | (sdata_symbolic_operand): Look for 's'. | |
1331 | (tls_symbolic_operand): New. | |
1332 | (ia64_expand_load_address): Abort for tls symbols. | |
1333 | (gen_tls_get_addr): New. | |
1334 | (gen_thread_pointer): New. | |
1335 | (ia64_expand_move): Split out from movdi. Handle tls symbols. | |
1336 | (rtx_needs_barrier): Add new unspecs. | |
1337 | (ia64_encode_section_info): Handle tls symbols. | |
1338 | (ia64_strip_name_encoding): Strip two encoding chars. | |
1339 | * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New. | |
1340 | (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New. | |
1341 | (TARGET_OPTIONS): Add tls-size. | |
1342 | (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR. | |
1343 | * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL, | |
1344 | UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New. | |
1345 | (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move. | |
1346 | (movsf, movdf): Likewise. | |
1347 | (movdi_symbolic): Use match_scratch. Don't split if we won't | |
1348 | have a scratch availiable. | |
1349 | (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22, | |
1350 | add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel, | |
1351 | load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New. | |
1352 | * config/ia64/ia64-protos.h: Update. | |
1353 | * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use | |
1354 | sdata_symbolic_operand. | |
1355 | (ASM_OUTPUT_LABELREF): Strip two characters. | |
1356 | ||
8c1d52a3 KH |
1357 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
1358 | ||
1359 | * combine.c (simplify_set): Remove an unnecessary subreg. | |
1360 | ||
b47cae3d MM |
1361 | 2002-05-25 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1362 | ||
1363 | * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL. | |
1364 | ||
1365 | * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New. | |
1366 | ||
ce9e3a6d GDR |
1367 | 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com> |
1368 | ||
1369 | * toplev.c (output_clean_symbol_name): Fix another thinko. Gosh. | |
1370 | ||
fb2c6841 RS |
1371 | 2002-05-25 Roger Sayle <roger@eyesopen.com> |
1372 | ||
1373 | * simplify-rtx.c (simplify_gen_relational): Simplify the RTX | |
1374 | (cond (compare x y) 0) into the equivalent (cond x y). | |
1375 | ||
da7ac8f1 GDR |
1376 | 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com> |
1377 | ||
1378 | * toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko. | |
1379 | ||
c7bdf0a6 ZW |
1380 | 2002-05-24 Zack Weinberg <zack@codesourcery.com> |
1381 | ||
1382 | * config.gcc: Remove all stanzas for previously obsoleted | |
1383 | systems. Where necessary, add explicit error stanzas to | |
1384 | prevent removed systems from being misidentified as something | |
1385 | else. Begin a fresh obsoletions list, with the systems that | |
1386 | were reprieved last round. | |
1387 | * doc/install.texi: Remove all mention of dead targets. | |
1388 | * fixinc/mkfixinc.sh: Likewise. | |
1389 | ||
1390 | * config/arm/arm.h: Bit 31 of target_flags is no longer | |
1391 | reserved. | |
1392 | ||
1393 | * config/1750a/1750a-protos.h, config/1750a/1750a.c, | |
1394 | config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc, | |
1395 | config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h, | |
1396 | config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare, | |
1397 | config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h, | |
1398 | config/alpha/osf12.h, config/alpha/osf2or3.h, | |
1399 | config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h, | |
1400 | config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix, | |
1401 | config/clipper/clipper-protos.h, config/clipper/clipper.c, | |
1402 | config/clipper/clipper.h, config/clipper/clipper.md, | |
1403 | config/clipper/clix.h, config/convex/convex-protos.h, | |
1404 | config/convex/convex.c, config/convex/convex.h, | |
1405 | config/convex/convex.md, config/convex/fixinc.convex, | |
1406 | config/convex/proto.h, config/elxsi/elxsi-protos.h, | |
1407 | config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md, | |
1408 | config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h, | |
1409 | config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h, | |
1410 | config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h, | |
1411 | config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm, | |
1412 | config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h, | |
1413 | config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h, | |
1414 | config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h, | |
1415 | config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h, | |
1416 | config/i386/t-dgux, config/i386/t-next, config/i386/t-osf, | |
1417 | config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h, | |
1418 | config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c, | |
1419 | config/i860/i860.h, config/i860/i860.md, config/i860/mach.h, | |
1420 | config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h, | |
1421 | config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h, | |
1422 | config/m68k/altos3068.h, config/m68k/apollo68.h, | |
1423 | config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm, | |
1424 | config/m68k/aux-crtn.asm, config/m68k/aux-exit.c, | |
1425 | config/m68k/aux-low.gld, config/m68k/aux-mcount.c, | |
1426 | config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h, | |
1427 | config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h, | |
1428 | config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h, | |
1429 | config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h, | |
1430 | config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h, | |
1431 | config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h, | |
1432 | config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h, | |
1433 | config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next, | |
1434 | config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld, | |
1435 | config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld, | |
1436 | config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h, | |
1437 | config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas, | |
1438 | config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas, | |
1439 | config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld, | |
1440 | config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h, | |
1441 | config/mips/dec-osf1.h, config/mips/elflorion.h, | |
1442 | config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h, | |
1443 | config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h, | |
1444 | config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h, | |
1445 | config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd, | |
1446 | config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas, | |
1447 | config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix, | |
1448 | config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c, | |
1449 | config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h, | |
1450 | config/ns32k/merlin.h, config/ns32k/pc532-mach.h, | |
1451 | config/ns32k/pc532-min.h, config/ns32k/pc532.h, | |
1452 | config/ns32k/sequent.h, config/ns32k/tek6000.h, | |
1453 | config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S, | |
1454 | config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c, | |
1455 | config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj, | |
1456 | config/sparc/rtems.h, config/we32k/we32k-protos.h, | |
1457 | config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md: | |
1458 | Delete file. | |
1459 | ||
755ac5d4 RH |
1460 | 2002-05-24 Richard Henderson <rth@redhat.com> |
1461 | ||
1462 | * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1. | |
1463 | * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC. | |
1464 | * config/i386/i386.c (tls_model_chars): Add leading space. | |
1465 | (tls_symbolic_operand): Don't bias by 1. | |
1466 | (legitimize_address): Don't unbias by 1. | |
1467 | ||
c429f12e TM |
1468 | 2002-05-24 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
1469 | ||
1470 | * lcm.c (optimize_mode_switching): Change bb used as indices | |
1471 | to bb->index. | |
1472 | ||
8beda321 RH |
1473 | 2002-05-24 Richard Henderson <rth@redhat.com> |
1474 | ||
1475 | * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead | |
1476 | of update_life_info_in_dirty_blocks. | |
1477 | ||
90442291 JJ |
1478 | 2002-05-24 Jakub Jelinek <jakub@redhat.com> |
1479 | ||
1480 | PR other/6782 | |
1481 | * final.c (get_mem_expr_from_op): Return 0 if op is NULL. | |
1482 | ||
3620711b NB |
1483 | 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk> |
1484 | ||
1485 | PR preprocessor/6780 | |
1486 | * cppmacro.c (enter_macro_context): Clear state.angled_headers. | |
1487 | ||
2f8d482e JB |
1488 | 2002-05-24 Jim Blandy <jimb@redhat.com> |
1489 | ||
1490 | * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final | |
1491 | entry with a type code of zero, marking the end of the compilation | |
1492 | unit's macro info. | |
1493 | ||
95bfe95f RH |
1494 | 2002-05-24 Richard Henderson <rth@redhat.com> |
1495 | ||
c7bdf0a6 ZW |
1496 | * varasm.c (asm_output_bss): Always output one byte. |
1497 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise. | |
95bfe95f | 1498 | |
7efda054 BM |
1499 | 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
1500 | ||
1501 | * tree.c (decl_type_context): Return NULL_TREE if decl's context is a | |
1502 | namespace. | |
1503 | ||
8a951190 AJ |
1504 | 2002-05-24 Andreas Jaeger <aj@suse.de> |
1505 | ||
1506 | * ggc-page.c (alloc_page): Cast variables of type size_t to | |
1507 | unsigned long, adjust printf format string. | |
1508 | (ggc_alloc): Likewise. | |
1509 | (ggc_print_statistics): Likewise. | |
1510 | (ggc_print_statistics): Correct printf format string for SCALE to | |
1511 | use unsigned long. | |
1512 | ||
f29e2ec0 DS |
1513 | 2002-05-24 Danny Smith <dannysmith@users.sourceforge.net> |
1514 | ||
1515 | * config/i386/mingw32.h (CPP_SPEC): Remove -remap. | |
1516 | ||
211a0cbe | 1517 | 2002-05-23 Gabriel Dos Reis <gdr@codesourcery.com> |
c7bdf0a6 | 1518 | Zack Weinberg <zack@codesourcery.com> |
211a0cbe GDR |
1519 | |
1520 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output | |
1521 | quoted strings. | |
1522 | * dwarf2out.c (lookup_filename): Properly quote filename in .file | |
8a951190 | 1523 | directive in assembly file. |
211a0cbe GDR |
1524 | * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. |
1525 | * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. | |
1526 | * config/pj/pj.h (ASM_FILE_START): Likewise. | |
1527 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. | |
1528 | * config/avr/avr.c (asm_file_end): Likewise. | |
1529 | * toplev.c (output_quoted_string): Handle possibly signed plain | |
8a951190 | 1530 | char. |
211a0cbe GDR |
1531 | * toplev.h (output_clean_symbol_name): Declare |
1532 | * toplev.c (output_clean_symbol_name): Define. | |
1533 | * config/alpha/alpha.c (unicosmk_output_module_name): Use it. | |
1534 | * config/1750a/1750a.h (ASM_FILE_START): Likewise. | |
1535 | ||
2f0552b6 AM |
1536 | 2002-05-24 Alan Modra <amodra@bigpond.net.au> |
1537 | ||
1538 | * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits. | |
1539 | ||
b326b2c1 VM |
1540 | 2002-05-23 Vladimir Makarov <vmakarov@redhat.com> |
1541 | ||
1542 | * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4 | |
1543 | of size of unsigned. | |
1544 | ||
f996902d RH |
1545 | 2002-05-23 Richard Henderson <rth@redhat.com> |
1546 | ||
1547 | * configure.in (HAVE_AS_TLS): New test. | |
1548 | * config.in, configure: Rebuild. | |
1549 | * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS. | |
1550 | (ix86_tls_dialect_string, ix86_tls_dialect): New. | |
1551 | (override_options): Set it. | |
1552 | (tls_model_chars, tls_symbolic_operand): New. | |
1553 | (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New. | |
1554 | (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New. | |
1555 | (local_exec_symbolic_operand): New. | |
1556 | (get_pic_label_name): Merge into output_set_got. | |
1557 | (ix86_asm_file_end): Emit pic_label_name if defined. | |
1558 | (legitimate_constant_p, constant_address_p): New. | |
1559 | (legitimate_pic_operand_p): New. | |
1560 | (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF. | |
1561 | (legitimate_address_p): Likewise. | |
1562 | (ix86_encode_section_info): Rename from i386_; handle tls decls. | |
1563 | (ix86_strip_name_encoding): New. | |
1564 | (get_thread_pointer): New. | |
1565 | (legitimize_address): Handle tls symbols. | |
1566 | (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF. | |
1567 | Remove UNSPEC_PLT. | |
1568 | (struct machine_function): Add some_ld_name. | |
1569 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it. | |
1570 | (print_operand) [&]: Use it. Handle UNSPEC_TP. | |
1571 | (output_addr_const_extra): New. | |
1572 | (maybe_get_pool_constant): New. | |
1573 | (ix86_split_to_parts): Use it. | |
1574 | (ix86_expand_move): Handle tls symbols. | |
1575 | (ix86_tls_get_addr): New. | |
1576 | * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New. | |
1577 | (TARGET_OPTIONS): Add tls-dialect. | |
1578 | (CONSTANT_ADDRESS_P): Use new out-of-line function. | |
1579 | (LEGITIMATE_CONSTANT_P): Likewise. | |
1580 | (LEGITIMATE_PIC_OPERAND_P): Likewise. | |
1581 | (TARGET_STRIP_NAME_ENCODING): New. | |
1582 | (ASM_OUTPUT_LABELREF): New. | |
1583 | (PRINT_OPERAND_PUNCT_VALID_P): Add '&'. | |
1584 | (OUTPUT_ADDR_CONST_EXTRA): New. | |
1585 | (PREDICATE_CODES): Update. | |
1586 | (ix86_tls_dialect, ix86_tls_dialect_string): New. | |
1587 | * config/i386/i386.md: Regroup and renumber unspec constants. | |
1588 | (tls_global_dynamic_gnu, tls_global_dynamic_sun): New. | |
1589 | (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New. | |
1590 | (tls_global_dynamic, tls_local_dynamic_base): New. | |
1591 | (tls_local_dynamic_once): New. | |
1592 | * config/i386/i386-protos.h: Update. | |
1593 | ||
821e35ba RH |
1594 | 2002-05-23 Richard Henderson <rth@redhat.com> |
1595 | ||
1596 | * genemit.c (gen_insn): Print file:lineno comment before function. | |
1597 | (main): likewise. | |
1598 | * gensupport.c (struct queue_elem): Add filename member. | |
1599 | (queue_pattern): Initialize it; update all callers. | |
1600 | (process_include): Don't free filename. | |
1601 | (read_md_rtx): Set read_rtx_filename. | |
1602 | ||
0f1ffa23 | 1603 | 2002-05-23 Hans Boehm <Hans_Boehm@hp.com> |
821e35ba RH |
1604 | |
1605 | * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages. | |
0f1ffa23 | 1606 | |
8e9fadc3 RH |
1607 | 2002-05-23 Richard Henderson <rth@redhat.com> |
1608 | ||
1609 | * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case. | |
1610 | ||
244c2241 RH |
1611 | 2002-05-23 Richard Henderson <rth@redhat.com> |
1612 | ||
1613 | * doc/extend.texi (C++98 Thread-Local Edits): Update with | |
1614 | commentary from Mark. | |
1615 | ||
e0082a72 ZD |
1616 | 2002-05-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1617 | ||
1618 | * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): | |
1619 | Use FOR_EACH_BB macros to iterate over basic block chain. | |
1620 | * cfg.c (clear_edges, clear_bb_flags, dump_flow_info, | |
1621 | alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges): | |
1622 | Likewise. | |
1623 | * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add, | |
1624 | find_unreachable_blocks, create_edge_list, verify_edge_list, | |
1625 | remove_fake_edges, add_noreturn_fake_exit_edges, | |
1626 | flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute): | |
1627 | Likewise. | |
1628 | * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks, | |
1629 | find_sub_basic_blocks): Likewise. | |
1630 | * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks): | |
1631 | Likewise. | |
1632 | * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps): | |
1633 | Likewise. | |
1634 | * cfgloop.c (flow_loops_cfg_dump, flow_loops_find): | |
1635 | Likewise. | |
1636 | * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges, | |
1637 | commit_edge_insertions, commit_edge_insertions_watch_calls, | |
1638 | print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise. | |
1639 | * combine.c (combine_instructions, reg_dead_at_p): Likewise. | |
1640 | * conflict.c (conflict_graph_compute): Likewise. | |
1641 | * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1, | |
1642 | df_modified_p, df_refs_unlink, df_dump): Likewise. | |
1643 | * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise. | |
1644 | * final.c (compute_alignments): Likewise. | |
1645 | * flow.c (update_life_info, update_life_info_in_dirty_blocks, | |
1646 | delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data, | |
1647 | count_or_remove_death_notes): Likewise. | |
1648 | * gcse.c (oprs_unchanged_p, record_last_reg_set_info, | |
1649 | compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill, | |
1650 | classic_gcse, compute_transp, cprop, compute_pre_data, | |
1651 | compute_transpout, invalidate_nonnull_info, | |
1652 | delete_null_pointer_checks_1, delete_null_pointer_checks, | |
1653 | compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems, | |
1654 | compute_store_table, build_store_vectors, store_motion): Likewise. | |
1655 | * global.c (global_conflicts, mark_elimination): Likewise. | |
1656 | * graph.c (print_rtl_graph_with_bb): Likewise. | |
1657 | * haifa-sched.c (sched_init): Likewise. | |
1658 | * ifcvt.c (if_convert): Likewise. | |
1659 | * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete, | |
1660 | compute_available, compute_nearerout, compute_rev_insert_delete, | |
1661 | optimize_mode_switching): Likewise. | |
1662 | * local-alloc.c (local_alloc, update_equiv_regs): Likewise. | |
1663 | * predict.c (estimate_probability, note_prediction_to_br_prob, | |
1664 | propagate_freq, counts_to_freqs, expensive_function_p, | |
1665 | estimate_bb_frequencies): Likewise. | |
1666 | * profile.c (instrument_edges, get_exec_counts, | |
1667 | compute_branch_probabilities, compute_checksum, branch_prob, | |
1668 | find_spanning_tree): Likewise. | |
1669 | * recog.c (split_all_insns, peephole2_optimize): Likewise. | |
1670 | * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs): | |
1671 | Likewise. | |
1672 | * regclass.c (scan_one_insn, regclass): Likewise. | |
1673 | * regmove.c (mark_flags_life_zones, regmove_optimize, | |
1674 | record_stack_memrefs): Likewise. | |
1675 | * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise. | |
1676 | * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise. | |
1677 | * resource.c (find_basic_block): Likewise. | |
1678 | * sched-ebb.c (schedule_ebbs): Likewise. | |
1679 | * sched-rgn.c (is_cfg_nonregular, build_control_flow, | |
1680 | find_single_block_region, find_rgns, schedule_insns) | |
1681 | * sibcall.c (optimize_sibling_and_tail_recursive_call) | |
1682 | * ssa-ccp.c (optimize_unexecutable_edges, | |
1683 | ssa_ccp_df_delete_unreachable_insns): Likewise. | |
1684 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
1685 | * ssa.c (find_evaluations, compute_dominance_frontiers_1, | |
1686 | rename_block, convert_to_ssa, compute_conservative_reg_partition, | |
1687 | compute_coalesced_reg_partition, rename_equivalent_regs, | |
1688 | convert_from_ssa): Likewise. | |
1689 | * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue, | |
1690 | process_for_unwind_directive): Likewise. | |
1691 | ||
1692 | * df.c (FOR_ALL_BBS): Removed. | |
1693 | * gcse.c (struct null_pointer_info): Type of current_block field | |
1694 | changed. | |
1695 | (struct reg_avail_info): Type of last_bb field changed. | |
1696 | * config/ia64/ia64.c (block_num): Removed. | |
1697 | (need_copy_state): Type changed. | |
1698 | (last_block): New. | |
1699 | ||
17645b15 NB |
1700 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
1701 | ||
1702 | * cppinit.c (mark_named_operators): Split out from init_builtins. | |
1703 | (cpp_finish_options): Call it from here instead. | |
1704 | ||
79ed7328 JT |
1705 | 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com> |
1706 | ||
1707 | * builtin-attrs.def: Update copyright years. | |
1708 | (ATTR_NONNULL): New attribute identifier. | |
1709 | (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New | |
1710 | attribute tree lists. | |
1711 | (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the | |
1712 | format operand. | |
1713 | (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use... | |
1714 | (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg | |
1715 | attribute lists. Chain the appropriate nonnull attribute. | |
1716 | * c-format.c (check_format_arg): Remove null format string | |
1717 | warning. | |
1718 | * testsuite/gcc.dg/format/null-1.c: New test. | |
1719 | ||
7d600178 RO |
1720 | 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1721 | ||
1722 | * Makefile.in (ADAC): Define. | |
1723 | (SYSLIBS): Define. | |
1724 | (.SUFFIXES): Move before language makefile fragments. | |
1725 | (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC. | |
1726 | ||
5ff225fc MM |
1727 | 2002-05-23 Mark Mitchell <mark@codesourcery.com> |
1728 | ||
1729 | * varasm.c (make_decl_rtl): Don't allow weak variables to be | |
1730 | placed in common. | |
1731 | ||
0f72964f JH |
1732 | Thu May 23 19:43:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
1733 | ||
1734 | * cfg.c (dump_flow_info): Print results of | |
1735 | maybe_hot/probably_never_executed predicates. | |
1736 | * toplev.c (open_dump_file): Print function frequency. | |
1737 | ||
c863f8c2 DM |
1738 | 2002-05-23 David S. Miller <davem@redhat.com> |
1739 | ||
1740 | * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use | |
1741 | regsets. | |
1742 | ||
b34c7881 JT |
1743 | 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com> |
1744 | ||
1745 | * c-common.c (warn_nonnull): Declare. | |
1746 | (c_common_attribute_table): Add "nonnull" attribute. | |
1747 | (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p, | |
1748 | check_nonnull_arg, get_nonnull_operand, check_function_arguments, | |
1749 | check_function_arguments_recurse): New functions. | |
1750 | * c-common.h (warn_nonnull): Declare extern. | |
1751 | (check_function_arguments, check_function_arguments_recurse): New | |
1752 | prototypes. | |
1753 | * c-decl.c (c_decode_option): Add -Wnonnull option. | |
1754 | * c-format.c (set_Wformat): Set warn_nonnull if enabling | |
1755 | format checking. | |
1756 | (format_check_context): New structure. | |
1757 | (check_format_info_recurse): Remove recursion and rename to... | |
1758 | (check_format_arg): ...this. Update comment. | |
1759 | (check_format_info): Use check_function_arguments_recurse. | |
1760 | * c-typeck.c (build_function_call): Call check_function_arguments | |
1761 | instead of check_function_format. | |
1762 | * doc/extend.texi: Document "nonnull" attribute. | |
1763 | * doc/invoke.texi: Docuemnt -Wnonnull option. | |
1764 | * testsuite/gcc.dg/nonnull-1.c: New test. | |
1765 | * testsuite/gcc.dg/nonnull-2.c: New test. | |
1766 | ||
95479831 DM |
1767 | 2002-05-23 David S. Miller <davem@redhat.com> |
1768 | ||
1769 | * basic-block.h (CLEANUP_NO_INSN_DEL): Define it. | |
1770 | * cfgcleanup.c (cleanup_cfg): If it is set do not | |
1771 | attempt to delete trivially dead insns. | |
1772 | * except.c (finish_eh_generation): Pass it to cleanup_cfg. | |
1773 | * toplev.c (rest_of_compilation): Document non-trivial aspect | |
1774 | the RTL before optimize_save_area_alloca is run. | |
1775 | ||
a97d1398 NB |
1776 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
1777 | ||
1778 | * c-lex.c (indent_level): Remove. | |
1779 | (cb_file_change, c_lex): Remove indent level handling. | |
1780 | * c-lex.h (indent_level): Remove. | |
1781 | * input.h (struct file_stack): Remove indent_level. | |
1782 | * toplev.c (push_srcloc): Remove indent_level handling. | |
1783 | ||
66b408f2 JJ |
1784 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
1785 | ||
1786 | PR target/6753 | |
1787 | * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead | |
1788 | of x in constraints for clarity. | |
1789 | (sse_mov?fcc split): abort if op2 == op3. | |
1790 | (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3, | |
1791 | sse_movsfcc_const0_4): Add earlyclobber. | |
1792 | (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3, | |
1793 | sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode. | |
1794 | Use Y instead of x in constraints. | |
1795 | ||
5bf0ebab RH |
1796 | 2002-05-23 Richard Henderson <rth@redhat.com> |
1797 | ||
9217ef40 RH |
1798 | * doc/extend.texi (C99 Thread-Local Edits): New subsection. |
1799 | (C++98 Thread-Local Edits): New subsection. | |
1800 | ||
5bf0ebab RH |
1801 | * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace. |
1802 | (ix86_arch): Set type to enum processor_type. | |
1803 | ||
8a951190 | 1804 | * config/i386/i386.md (movsi_1, movdi_1_rex64): Use |
5bf0ebab RH |
1805 | LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST. |
1806 | ||
4832c9e1 JJ |
1807 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
1808 | ||
1809 | * configure.in: Fix as version test for binutils 2.12.1 releases | |
1810 | (without dates). | |
1811 | * configure: Rebuilt. | |
1812 | ||
c8c03509 RH |
1813 | 2002-05-23 Richard Henderson <rth@redhat.com> |
1814 | ||
1815 | * config/i386/i386.c (get_pic_label_name): New. | |
1816 | (load_pic_register): Remove. | |
1817 | (output_set_got): New. | |
1818 | (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD. | |
1819 | * config/i386/i386.md (UNSPEC_SET_GOT): New. | |
1820 | (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove. | |
1821 | (prologue_set_got, prologue_get_pc): Remove. | |
1822 | (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New. | |
1823 | (builtin_setjmp_receiver): Use gen_set_got. | |
1824 | * config/i386/i386-protos.h: Update. | |
1825 | ||
d51f3632 JH |
1826 | Thu May 23 09:22:23 CEST 2002 Jan Hubicka <jh@suse.cz> |
1827 | ||
1828 | * gcse.c (hash_expr): Do not use alias set for hashing. | |
1829 | ||
b0a93386 KB |
1830 | 2002-05-22 Kevin Buettner <kevinb@redhat.com> |
1831 | ||
1832 | * dbxout.c (dbxout_class_name_qualifiers): New function. | |
1833 | (dbxout_symbol): Output class/struct qualifiers for a .stabs entry. | |
1834 | ||
bdee42b1 NB |
1835 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
1836 | ||
1837 | * cpperror.c (_cpp_begin_message): No special casing | |
1838 | of CPP_FATAL_LIMIT. | |
1839 | * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/. | |
1840 | (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR. | |
1841 | * cpplib.c (do_include_common): Use DL_ERROR. | |
1842 | * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove. | |
1843 | (DL_ICE): Renumber. | |
1844 | * fix-header.c (read_scan_file): Update. | |
1845 | ||
0e07aff3 RH |
1846 | 2002-05-22 Richard Henderson <rth@redhat.com> |
1847 | ||
1848 | * config/i386/i386.c (ix86_expand_call): New function, extracted | |
1849 | from md call patterns. Add pic_offset_table_rtx to | |
1850 | CALL_INSN_FUNCTION_USAGE when needed. | |
1851 | * config/i386/i386.md (call_pop, call): Use ix86_expand_call. | |
1852 | (call_value_pop, call_value, untyped_call): Likewise. | |
1853 | (call_exp, call_value_exp): Remove. | |
1854 | * config/i386/i386-protos.h: Update. | |
1855 | ||
6f001fdf RH |
1856 | 2002-05-22 Richard Henderson <rth@redhat.com> |
1857 | ||
1858 | * varasm.c (default_section_type_flags): Check for VAR_DECL | |
1859 | before using DECL_THREAD_LOCAL. | |
1860 | ||
cbaaba19 DE |
1861 | 2002-05-22 David Edelsohn <edelsohn@gnu.org> |
1862 | ||
1863 | * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer. | |
1864 | (STARTFILE_SPEC): Delete PE crt0.o. | |
1865 | * config/rs6000/aix51.h: Same. | |
1866 | * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF. | |
1867 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to | |
1868 | function descriptor symbol. Use RS6000_OUTPUT_BASENAME. | |
1869 | (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME. | |
1870 | * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define. | |
1871 | ||
c711ba8e RH |
1872 | 2002-05-22 Richard Henderson <rth@redhat.com> |
1873 | ||
1874 | * varasm.c (default_section_type_flags): Handle tls data and | |
1875 | default sections. | |
1876 | (default_unique_section): Handle tls sections. | |
1877 | ||
343f59d9 AM |
1878 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
1879 | ||
1880 | * configure.in (CROSS): Define NATIVE_CROSS. | |
1881 | * configure: Regenerate. | |
1882 | * gcc.c (STARTFILE_PREFIX_SPEC): Define. | |
1883 | (startfile_prefix_spec): New var. | |
1884 | (static_specs): Add startfile_prefix_spec. | |
1885 | (do_spec_2): Split out from.. | |
1886 | (do_spec): ..here. | |
1887 | (main): Process startfile_prefix_spec. | |
1888 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of | |
1889 | dynamic linker. | |
1890 | (STARTFILE_PREFIX_SPEC): Define. | |
1891 | (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without | |
c7bdf0a6 | 1892 | absolute paths. |
343f59d9 | 1893 | |
df383483 KH |
1894 | 2002-05-22 Kazu Hirata <kazu@cs.umass.edu> |
1895 | ||
1896 | * cpperror.c: Fix formatting. | |
1897 | * cppexp.c: Likewise. | |
1898 | * cppfiles.c: Likewise. | |
1899 | * cpphash.c: Likewise. | |
1900 | * cpphash.h: Likewise. | |
1901 | * cppinit.c: Likewise. | |
1902 | * cpplex.c: Likewise. | |
1903 | * cpplib.c: Likewise. | |
1904 | * cppmacro.c: Likewise. | |
1905 | * cppmain.c: Likewise. | |
1906 | * cppspec.c: Likewise. | |
1907 | ||
2dd36f90 JJ |
1908 | 2002-05-22 Jakub Jelinek <jakub@redhat.com> |
1909 | ||
1910 | * combine.c (force_to_mode): Use gen_int_mode. | |
1911 | Don't clear CONST_INT bits outside of mode. | |
1912 | ||
8dc02d7f RH |
1913 | 2002-05-22 Richard Henderson <rth@redhat.com> |
1914 | ||
1915 | * fixinc/inclhack.def (thread_keyword): Match __thread as last arg. | |
1916 | * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. | |
1917 | ||
45f79783 JJ |
1918 | 2002-05-22 Jakub Jelinek <jakub@redhat.com> |
1919 | ||
1920 | PR c/6643 | |
1921 | * emit-rtl.c (widen_memory_access): Only call compare_tree_int | |
1922 | if DECL_SIZE_UNIT is INTEGER_CST. | |
1923 | ||
19f71cd7 RH |
1924 | 2002-05-22 Richard Henderson <rth@redhat.com> |
1925 | ||
1926 | * flow.c (life_analysis): Delete broken reg_label check. | |
1927 | ||
d5bcfcce RH |
1928 | 2002-05-22 Richard Henderson <rth@redhat.com> |
1929 | ||
1930 | * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg. | |
1931 | * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. | |
1932 | ||
985d311b | 1933 | Wed May 22 18:39:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5ff94354 R |
1934 | |
1935 | * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c. | |
1936 | (embed-bb.c): New rule. | |
985d311b | 1937 | * t-sh64 (LIB2FUNCS_EXTRA): Don't change. |
5ff94354 R |
1938 | * config/sh/embed_bb.c: Delete. |
1939 | ||
985d311b R |
1940 | Wed May 22 18:25:29 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1941 | ||
1942 | * c-common.c (cb_register_builtins): Don't indent '#' of #define. | |
1943 | ||
f6d45746 KH |
1944 | 2002-05-22 Kazu Hirata <kazu@cs.umass.edu> |
1945 | ||
1946 | * config/h8300/h8300.md (*andorqi3): New. | |
1947 | ||
e5f3b786 NB |
1948 | 2002-05-22 Neil Booth <neil@daikokuya.demon.co.uk> |
1949 | ||
1950 | PR preprocessor/6517 | |
1951 | * Makefile.in: Update. | |
1952 | * c-common.c (c_common_post_options): Add preprocessor | |
1953 | errors to the error count. | |
1954 | * c-lang.c (c_post_options): Kill. | |
1955 | (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. | |
1956 | * hooks.h: Add header guards. | |
1957 | * langhooks-def.h: Include hooks.h. | |
1958 | (LANG_HOOKS_POST_OPTIONS): Update. | |
1959 | * langhooks.h (struct lang_hooks): Update post_options. | |
1960 | * toplev.c (parse_options_and_default_flags): Update. | |
1961 | objc: | |
1962 | * objc-lang.c (objc_post_options): Kill. | |
1963 | (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. | |
1964 | ||
4c526be3 BK |
1965 | 2002-05-21 Bruce Korb <bkorb@gnu.org> |
1966 | ||
1967 | * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check | |
021c1f34 BK |
1968 | * fixinc/inclhack.def(thread_keyword): use c_fix = format. |
1969 | * fixinc/fixincl.x: regen. | |
4c526be3 | 1970 | |
f87c27b4 KH |
1971 | 2002-05-21 Kazu Hirata <kazu@cs.umass.edu> |
1972 | ||
1973 | * cfgbuild.c: Fix formatting. | |
1974 | * cfg.c: Likewise. | |
1975 | * cfgcleanup.c: Likewise. | |
1976 | * cfglayout.c: Likewise. | |
1977 | * cfgloop.c: Likewise. | |
1978 | * cfgrtl.c: Likewise. | |
1979 | ||
3d78f2e9 RH |
1980 | 2002-05-21 Richard Henderson <rth@redhat.com> |
1981 | ||
1982 | * c-common.h (enum rid): Add RID_THREAD. | |
1983 | * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables. | |
1984 | (grokdeclarator): Grok __thread. | |
1985 | * c-parse.in (reswords): Add __thread. | |
1986 | (rid_to_yy): Add RID_THREAD. | |
1987 | ||
1988 | * tree.h (DECL_THREAD_LOCAL): New. | |
1989 | (struct tree_decl): Add thread_local_flag. | |
1990 | * print-tree.c (print_node): Dump DECL_THREAD_LOCAL. | |
1991 | * tree.c (staticp): TLS variables are not static. | |
1992 | ||
1993 | * target-def.h (TARGET_HAVE_TLS): New. | |
1994 | * target.h (have_tls): New. | |
1995 | * output.h (SECTION_TLS): New. | |
1996 | * varasm.c (assemble_variable): TLS variables can't be common for now. | |
1997 | (default_section_type_flags): Handle .tdata and .tbss. | |
1998 | (default_elf_asm_named_section): Handle SECTION_TLS. | |
1999 | (categorize_decl_for_section): Handle DECL_THREAD_LOCAL. | |
2000 | ||
2001 | * flags.h (flag_tls_default): Declare. | |
2002 | * toplev.c (flag_tls_default): Define. | |
2003 | (display_help): Display help for it. | |
2004 | (decode_f_option): Set it. | |
2005 | ||
2006 | * doc/extend.texi (Thread-Local): New node describing language-level | |
2007 | thread-local storage. | |
2008 | * doc/invoke.texi (-ftls-model): Document. | |
2009 | ||
2010 | * fixinc/inclhack.def (thread_keyword): New. | |
2011 | * fixinc/fixincl.x: Rebuild. | |
2012 | ||
a151daf0 JL |
2013 | 2002-05-21 Jeffrey A Law <law@redhat.com> |
2014 | ||
8a951190 | 2015 | * optabs.c (expand_binop): For double-word integer multiplies, |
c7539aa0 JL |
2016 | do not compute intermediate results into something that is |
2017 | not a register (such as a SUBREG or MEM). | |
2018 | ||
a151daf0 JL |
2019 | * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko. |
2020 | (ix86_sched_reorder): Make sure to initialize scheduling | |
2021 | data even when there's only one insn in the ready queue. | |
2022 | ||
96b1f73b VM |
2023 | 2002-05-21 Vladimir Makarov <vmakarov@redhat.com> |
2024 | ||
2025 | * genautomata.c (reserv_sets_hash_value): Fix a typo. | |
2026 | ||
dceb2b75 VM |
2027 | 2002-05-21 Vladimir Makarov <vmakarov@redhat.com> |
2028 | ||
2029 | * genautomata.c (reserv_sets_hash_value): Define hash_value as | |
2030 | set_el_t. Transform the hash value into unsigned. | |
2031 | (output_cycle_reservs): Fix bug with output of repeated `nothing'. | |
2032 | (transform_3): Add code to process `(A,B)+(D,E)'. | |
2033 | ||
159d5964 NY |
2034 | 2002-05-21 NIIBE Yutaka <gniibe@m17n.org> |
2035 | ||
2036 | * reload1.c (do_output_reload): Run delete_output_reload | |
2037 | only if optimizing. | |
2038 | ||
cf5124f6 RS |
2039 | 2002-05-21 Roger Sayle <roger@eyesopen.com> |
2040 | ||
2041 | PR middle-end/6600 | |
2042 | * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants | |
2043 | larger than INTEGER_CST. (store_by_pieces_1): Use it here... | |
2044 | (can_store_by_pieces): ... and here to limit the largest mode used. | |
2045 | Add a comment to document this function. | |
2046 | ||
380e6ade RH |
2047 | 2002-05-21 Richard Henderson <rth@redhat.com> |
2048 | ||
2049 | * flow.c (life_analysis): Fix test for deleted label. | |
2050 | ||
1f95326c NB |
2051 | 2002-05-21 Neil Booth <neil@daikokuya.demon.co.uk> |
2052 | ||
2053 | * doc/tm.texi: Fix typo. | |
2054 | ||
2a1dc0d8 ZW |
2055 | 2002-05-21 Zack Weinberg <zack@codesourcery.com> |
2056 | ||
2057 | * c-common.c (c_common_init): Set options->unsigned_char from | |
2058 | flag_signed_char. | |
2059 | (cb_register_builtins): Define __STRICT_ANSI__ and | |
2060 | __CHAR_UNSIGNED__ here... | |
2061 | * cppinit.c (init_builtins): Not here. | |
2062 | (cpp_create_reader): unsigned_char option defaults to 0, not | |
2063 | !DEFAULT_SIGNED_CHAR. | |
2064 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char | |
2065 | and -funsigned-char. | |
2066 | ||
2067 | * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__. | |
2068 | * cpphash.c (_cpp_init_hashtable): Don't set it. | |
2069 | * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting | |
2070 | directly. Clarify comment. | |
2071 | ||
d29146f2 | 2072 | 2002-05-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2a1dc0d8 | 2073 | |
f5eb2fc8 ZD |
2074 | * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to |
2075 | neighbouring basic blocks. Use ENTRY_BLOCK_PTR->next_bb instead of | |
2076 | BASIC_BLOCK (0). Use EXIT_BLOCK_PTR->prev_bb instead of | |
2077 | BASIC_BLOCK (n_basic_blocks - 1). | |
d29146f2 | 2078 | * cfganal.c (can_fallthru, flow_call_edges_add, |
f5eb2fc8 | 2079 | flow_preorder_transversal_compute): Too. |
d29146f2 | 2080 | * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks, |
f5eb2fc8 ZD |
2081 | find_sub_basic_blocks): Too. |
2082 | * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too. | |
d29146f2 | 2083 | * cfglayout.c (skip_insns_after_block, fixup_reorder_chain, |
f5eb2fc8 ZD |
2084 | fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too. |
2085 | * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too. | |
d29146f2 ZD |
2086 | * combine.c (this_basic_block): Type changed to basic_block. |
2087 | (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine, | |
2088 | nonzero_bits, num_sign_bit_copies, get_last_value_validate, | |
f5eb2fc8 ZD |
2089 | get_last_value, distribute_notes, distribute_links): Too. |
2090 | * final.c (compute_alignments): Too. | |
2091 | * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too. | |
2092 | * function.c (thread_prologue_and_epilogue_insns): Too. | |
2093 | * gcse.c (compute_code_hoist_vbeinout): Too. | |
2094 | * global.c (build_insn_chain): Too. | |
2095 | * ifcvt.c (find_if_block, find_cond_trap): Too. | |
2096 | * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too. | |
2097 | * regmove.c (regmove_optimize): Too. | |
2098 | * resource.c (find_basic_block): Too. | |
2099 | * sched-ebb.c (schedule_ebbs): Too. | |
2100 | * ssa-dce.c (find_control_dependence, find_pdom): Too. | |
d29146f2 | 2101 | |
68bd6dd6 AJ |
2102 | 2002-05-21 Andreas Jaeger <aj@suse.de> |
2103 | ||
2104 | * cppinit.c (sanity_checks): Avoid printf mismatch warnings. | |
2105 | ||
35a76aac RH |
2106 | 2002-05-21 Richard Henderson <rth@redhat.com> |
2107 | ||
2108 | * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use | |
2109 | unspec names, not numbers. | |
2110 | ||
2870428f JM |
2111 | 2002-05-21 Joseph S. Myers <jsm28@cam.ac.uk> |
2112 | ||
2113 | * doc/sourcebuild.texi: Mention snapshot-README and | |
2114 | snapshot-index.html as needing updating for new front ends. | |
2115 | ||
b0ad77d5 KG |
2116 | 2002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2117 | ||
2118 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when | |
2119 | disabling checking, and avoid multiple evaluation of RTX. | |
2120 | ||
279be7c8 RE |
2121 | 2002-05-21 Richard Earnshaw <rearnsha@arm.com> |
2122 | ||
2123 | * bitmap.c (bitmap_find_bit): Return early if we have the correct | |
2124 | element cached. | |
2125 | ||
193a563a JH |
2126 | Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
2127 | ||
2128 | * profile.c (gen_edge_profiler): Set alias set before the memory is | |
2129 | used. | |
2130 | ||
31825e57 DM |
2131 | 2002-05-20 David S. Miller <davem@redhat.com> |
2132 | ||
2133 | * cselib.c (max_value_regs): New. | |
2134 | (cselib_lookup, cselib_invalidate_regno): Initialize it when | |
2135 | adding new entries to the REG_VALUES table and we are dealing with | |
2136 | a hard register. | |
2137 | (clear_table): Initialize it. | |
2138 | (cselib_invalidate_regno): Use it to determine which hard | |
2139 | registers to scan when mode is not VOIDmode. | |
2140 | ||
68bd6dd6 | 2141 | 2002-05-20 Duraid Madina <duraid@fl.net.au> |
29d83d60 DM |
2142 | |
2143 | * tradcpp.c (fixup_newlines): Use old-style function header. | |
2144 | ||
e0a09fda KW |
2145 | 2002-05-20 Krister Walfridsson <cato@df.lth.se> |
2146 | ||
2147 | * reload1.c (reload_cse_simplify): Fix typo in rtx code check. | |
2148 | ||
e0c13c70 L |
2149 | 2002-05-20 H.J. Lu (hjl@gnu.org) |
2150 | ||
2151 | Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>: | |
2152 | ||
2153 | * config/mips/mips.h (DFMODE_NAN): Defined. | |
2154 | (SFMODE_NAN): Likewise. | |
2155 | ||
4c11675d | 2156 | 2002-05-20 Dale Johannesen <dalej@apple.com> |
e0c13c70 | 2157 | |
2a1dc0d8 ZW |
2158 | * combine.c (cant_combine_insn_p): Back out my |
2159 | previous patch. | |
4c11675d | 2160 | |
6a4d6760 KH |
2161 | 2002-05-20 Kazu Hirata <kazu@cs.umass.edu> |
2162 | ||
2163 | * params.c: Fix formatting. | |
2164 | * params.h: Likewise. | |
2165 | * predict.c: Likewise. | |
2166 | * prefix.c: Likewise. | |
2167 | * print-rtl.c: Likewise. | |
2168 | * print-tree.c: Likewise. | |
2169 | * profile.c: Likewise. | |
2170 | ||
5715ca64 L |
2171 | 2002-05-20 H.J. Lu (hjl@gnu.org) |
2172 | ||
2173 | * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine. | |
2174 | ||
00b89f01 NC |
2175 | 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com> |
2176 | ||
2177 | * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march | |
2178 | switches straight on to the assembler, do not abbreviate them. | |
2179 | * config/arm/elf.h (ASM_SPEC): As above. | |
2180 | * config/arm/semi.h (ASM_SPEC): As above. | |
2181 | * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above. | |
2182 | * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass | |
2183 | -mcpu=xscale on to the assembler by default. | |
2184 | * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above. | |
2185 | ||
1441374b RH |
2186 | 2002-05-20 Richard Henderson <rth@redhat.com> |
2187 | ||
2188 | * cse.c (canon_hash): Reorder do_not_record test. Always | |
2189 | allow pic_offset_table_rtx. | |
2190 | ||
c0fe508e TM |
2191 | 2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl> |
2192 | ||
2193 | * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p. | |
2194 | (expand_binop): Ditto (3 times). | |
2195 | ||
f362c762 MM |
2196 | 2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com> |
2197 | ||
2198 | * Makefile.in (distclean): Remove QMTest stuff. | |
2199 | (QMTEST_PATH): New variable. | |
2200 | (QMTESTFLAGS): Likewise. | |
2201 | (QMTESTRUNFLAGS): Likewise. | |
2202 | (QMTEST): Likewise. | |
2203 | (QMTEST_GPP_TESTS): Likewise. | |
2204 | (QMTEST_DIR): Likewise. | |
2205 | (QMTEST_DIR/context): New target. | |
2206 | (qmtest-g++): Likeise. | |
2207 | (qmtest-gui): Likewise. | |
2208 | (QMTEST_DIR/gpp-expected.qmr): Likewise. | |
2209 | ||
16861f33 AH |
2210 | 2002-05-19 Aldy Hernandez <aldyh@redhat.com> |
2211 | ||
2a1dc0d8 ZW |
2212 | * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in |
2213 | an altivec register if TARGET_ALTIVEC. | |
16861f33 | 2214 | |
2a1dc0d8 ZW |
2215 | * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P |
2216 | to ALTIVEC_VECTOR_MODE. | |
2217 | (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned. | |
2218 | (rs6000_va_arg): Vectors may go in registers if they are not | |
2219 | altivec vectors. | |
16861f33 | 2220 | |
23459e15 KH |
2221 | 2002-05-19 Kazu Hirata <kazu@cs.umass.edu> |
2222 | ||
2223 | * protoize.c: Fix formatting. | |
2224 | ||
174cc7d1 RH |
2225 | 2002-05-19 Richard Henderson <rth@redhat.com> |
2226 | ||
2227 | * gensupport.c (init_include_reader): Merge into ... | |
2228 | (process_include): ... here. Simplify composite path creation. | |
2229 | Plug memory leaks. Fix file/line number tracking. Do not | |
2230 | process_define_cond_exec. Return void. | |
2231 | (process_rtx): Don't check process_include return value. | |
2232 | ||
918ed612 ZD |
2233 | 2002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2234 | ||
2235 | * basic_block.h (struct basic_block_def): Added prev_bb and next_bb | |
2236 | fields. | |
2237 | (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for | |
2238 | traversing basic block chain. | |
2239 | (create_basic_block_structure, create_basic_block): Declaration changed. | |
2240 | (link_block, unlink_block): Declare. | |
2241 | * cfg.c (entry_exit_blocks): Initialize new fields. | |
2242 | (link_block, unlink_block): New. | |
2243 | (expunge_block_nocompact): Unlink basic block. | |
2244 | (dump_flow_info): Print prev_bb/next_bb fields. | |
2245 | * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified. | |
2246 | * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified. | |
2247 | * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified. | |
2248 | * cfgrtl.c (create_basic_block_structure, create_basic_block, | |
2249 | split_block, force_nonfallthru_and_redirect, split_edge): Modified. | |
2250 | (verify_flow_info): Check that list agrees with numbering. | |
2251 | ||
e0322d5c NB |
2252 | 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk> |
2253 | ||
2254 | * c-common.c (preprocessing_asm): New macro. | |
2255 | * c-lex.h (builtin_define, builtin_assert): Use pfile. | |
2256 | doc: | |
2257 | * tm.texi: Update. | |
2258 | config/alpha: | |
2259 | * alpha.h (CPLUSPLUS_CPP_SPEC): Remove. | |
2260 | (CPP_SPEC): Simplify. | |
2261 | (TARGET_CPU_CPP_BUILTINS): Update. | |
2262 | * freebsd.h (TARGET_OS_CPP_BUILTINS): New. | |
2263 | (CPP_SPEC): Simplify. | |
2264 | * linux.h (CPLUSPLUS_CPP_SPEC): Remove. | |
2265 | (TARGET_OS_CPP_BUILTINS): Update. | |
2266 | * osf.h (CPP_XFLOAT_SPEC): Kill. | |
2267 | (TARGET_OS_CPP_BUILTINS): Update. | |
2268 | (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify. | |
2269 | * osf5.h (CPP_XFLOAT_SPEC): Kill. | |
2270 | * vms.h (CPP_SUBTARGET_SPEC): Kill. | |
2271 | (TARGET_OS_CPP_BUILTINS): Update. | |
2272 | ||
121f5c2c RH |
2273 | 2002-05-19 Richard Henderson <rth@redhat.com> |
2274 | ||
2275 | * varasm.c (default_binds_local_p): Fix typo. | |
2276 | ||
651c5ed9 MM |
2277 | 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl> |
2278 | ||
2279 | * config/avr/avr.c (machine_dependent_reorg): Sign extend the | |
2280 | CONST_INT operand to the correct mode after adding 1 to it. | |
2281 | ||
bce0deb2 MM |
2282 | 2002-05-19 Mark Mitchell <mark@codesourcery.com> |
2283 | ||
2284 | * config.gcc (powerpc-wrs-windiss*): New target. | |
2285 | ||
4aa74a4f FS |
2286 | 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2287 | ||
2288 | * config/rs6000/rs6000.md (ashrdi3_no_power): New. | |
2289 | (ashrdi3): Use it. | |
2290 | ||
a15135c9 MM |
2291 | 2002-05-18 Mark Mitchell <mark@codesourcery.com> |
2292 | ||
2293 | * configure.in (AC_CHECK_FUNCS): Add checks for scandir and | |
2294 | alphasort. | |
2295 | * config.in: Regenerated. | |
2296 | * configure: Regenerated. | |
2297 | ||
47754fd5 RH |
2298 | 2002-05-19 Richard Henderson <rth@redhat.com> |
2299 | ||
2300 | * target-def.h (TARGET_BINDS_LOCAL_P): New. | |
2301 | * target.h (struct gcc_target): Move boolean fields to the end. | |
2302 | Add binds_local_p. | |
2303 | * varasm.c (default_binds_local_p): New. | |
2304 | * output.h: Declare it. | |
2305 | ||
2306 | * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook. | |
2307 | * config/cris/cris.c (cris_encode_section_info): Likewise. | |
2308 | * config/i386/i386.c (i386_encode_section_info): Likewise. | |
2309 | * config/ia64/ia64.c (ia64_encode_section_info): Likewise. | |
2310 | * config/sh/sh.c (sh_encode_section_info): Likewise. | |
2311 | ||
2312 | * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New. | |
2313 | (TARGET_BINDS_LOCAL_P): New. | |
2314 | ||
fc881338 RH |
2315 | 2002-05-19 Richard Henderson <rth@redhat.com> |
2316 | ||
2317 | * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE, | |
2318 | FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT, | |
2319 | MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison. | |
2320 | ||
2321 | * toplev.c (display_help): Kill -a -ax help. | |
2322 | ||
68bd6dd6 | 2323 | * config/1750a/1750a.h, config/alpha/alpha.h, |
fc881338 RH |
2324 | config/clipper/clipper.h, config/dsp16xx/dsp16xx.h, |
2325 | config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h, | |
2326 | config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h: | |
2327 | (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill. | |
2328 | ||
2329 | * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill. | |
2330 | * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill. | |
2331 | ||
2332 | * config/i386/i386-protos.h (ix86_output_block_profiler): Kill. | |
2333 | (ix86_output_function_block_profiler): Kill. | |
2334 | * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill. | |
2335 | (m68hc11_function_block_profiler): Kill. | |
2336 | * config/m68hc11/m68hc11-protos.h: Update. | |
2337 | * config/m88k/m88k.c (output_block_profiler): Kill. | |
2338 | (output_function_block_profiler): Kill. | |
2339 | * config/m88k/m88k-protos.h: Update. | |
2340 | ||
772c5265 RH |
2341 | 2002-05-19 Richard Henderson <rth@redhat.com> |
2342 | ||
2343 | * system.h (STRIP_NAME_ENCODING): Poison it. | |
2344 | * output.h (STRIP_NAME_ENCODING): Remove. | |
2345 | (default_strip_name_encoding): Declare. | |
2346 | * target-def.h (TARGET_STRIP_NAME_ENCODING): New. | |
2347 | * target.h (strip_name_encoding): New. | |
2348 | * varasm.c (default_strip_name_encoding): New. | |
2349 | ||
2350 | * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h, | |
2351 | config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c, | |
2352 | config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c, | |
2353 | config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h, | |
2354 | config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
2355 | config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h, | |
2356 | config/pa/pa.c, config/pa/pa.h, config/pa/som.h, | |
2357 | config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h, | |
2358 | config/v850/v850.h: Use the hook, not the macro. | |
2359 | ||
2360 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
2361 | config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c, | |
2362 | config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h, | |
2363 | config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c, | |
2364 | config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c, | |
2365 | config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
68bd6dd6 | 2366 | config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h, |
772c5265 RH |
2367 | config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h, |
2368 | config/v850/v850.c, config/v850/v850.h: | |
2369 | Move STRIP_NAME_ENCODING to out-of-line function and add | |
2370 | TARGET_STRIP_NAME_ENCODING. | |
2371 | ||
2372 | * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h, | |
2373 | config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING | |
2374 | with TARGET_STRIP_NAME_ENCODING referencing existing function; | |
2375 | make function static. | |
2376 | ||
2377 | * xcoffout.c: Include target.h | |
2378 | * Makefile.in (xcoffout.o): Update. | |
2379 | ||
2380 | * config/avr/avr.c (avr_encode_section_info): Correct prototype. | |
2381 | * config/avr/avr.h (STRIP_NAME_ENCODING): Remove. | |
2382 | * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark | |
2383 | reloc argument unused. | |
2384 | * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New. | |
2385 | ||
2386 | * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous | |
2387 | STRIP_NAME_ENCODING docs. | |
2388 | ||
8f9eb495 AJ |
2389 | 2002-05-19 Andreas Jaeger <aj@suse.de> |
2390 | ||
2391 | * gengenrtl.c: Add prototype for excluded_rtx. | |
2392 | ||
2393 | * real.h: Add prototype for exact_real_truncate. | |
2394 | ||
fb49053f RH |
2395 | 2002-05-18 Richard Henderson <rth@redhat.com> |
2396 | ||
2397 | * system.h (ENCODE_SECTION_INFO): Poison it. | |
2398 | * target-def.h (TARGET_ENCODE_SECTION_INFO): New. | |
2399 | * target.h (encode_section_info): New. | |
2400 | * varasm.c (make_decl_rtl, output_constant_def): Use it. | |
2401 | * hooks.c (hook_tree_int_void): New. | |
2402 | * hooks.h: Declare it. | |
2403 | ||
2404 | * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
2405 | config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h, | |
2406 | config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h, | |
2407 | config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h, | |
2408 | config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h, | |
2409 | config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c, | |
2410 | config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c, | |
2411 | config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h, | |
2412 | config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, | |
2413 | config/mcore/mcore-protos.h, config/mcore/mcore.c, | |
2414 | config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c, | |
2415 | config/mmix/mmix.h, config/rs6000/rs6000-protos.h, | |
2416 | config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h, | |
2417 | config/stormy16/stormy16.c, config/stormy16/stormy16.h: | |
2418 | Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO | |
2419 | referencing existing function. Make function static. | |
2420 | ||
2421 | * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c, | |
8f9eb495 | 2422 | config/arc/arc.h, config/arm/arm.c, config/arm/arm.h, |
fb49053f RH |
2423 | config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c, |
2424 | config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c, | |
2425 | config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c, | |
8f9eb495 | 2426 | config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h, |
fb49053f RH |
2427 | config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c, |
2428 | config/pa/pa.h, config/romp/romp.c, config/romp/romp.h, | |
2429 | config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c, | |
2430 | config/s390/s390.h, config/sh/sh.c, config/sh/sh.h, | |
8f9eb495 | 2431 | config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c, |
fb49053f RH |
2432 | config/v850/v850.h, config/vax/vax.c, config/vax/vms.h, |
2433 | config/xtensa/xtensa.c, config/xtensa/xtensa.h: | |
2434 | Move ENCODE_SECTION_INFO to out-of-line function and add | |
2435 | TARGET_ENCODE_SECTION_INFO. | |
2436 | ||
2437 | * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro. | |
2438 | (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. | |
2439 | ||
2440 | * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename | |
2441 | from SUBTARGET_* | |
2442 | (switch_to_section): Replace in_rdata case with in_readonly_data. | |
2443 | ||
2444 | * config/h8300/h8300.c (h8300_encode_label): Make static. | |
2445 | * config/h8300/h8300-protos.h: Update. | |
2446 | ||
2447 | * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename | |
2448 | from rs6000_encode_section_info; make static. | |
2449 | (rs6000_xcoff_encode_section_info): New. | |
2450 | ||
2451 | * config/v850/v850.c (v850_encode_data_area): Make static. | |
2452 | * config/v850/v850-protos.h: Update. | |
2453 | ||
2454 | * config/vax/vax.c: Include flags.h. | |
2455 | (vms_select_section): Fix typo. | |
2456 | ||
2457 | * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous | |
2458 | ENCODE_SECTION_INFO docs. | |
2459 | ||
9fe08fd0 RH |
2460 | 2002-05-18 Richard Henderson <rth@redhat.com> |
2461 | ||
2462 | * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from | |
2463 | REGISTER_TARGET_PRAGMAS. | |
2464 | * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine. | |
2465 | ||
410b770f RH |
2466 | * config.gcc: Do not use rs6000-c.c on powerpc-darwin. |
2467 | ||
b64a1b53 RH |
2468 | 2002-05-18 Richard Henderson <rth@redhat.com> |
2469 | ||
2470 | * system.h (SELECT_RTX_SECTION): Poison. | |
2471 | * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New. | |
2472 | * target.h (select_rtx_section): New. | |
2473 | * varasm.c (output_constant_pool): Use it. | |
2474 | (default_select_rtx_section, default_elf_select_rtx_section): New. | |
2475 | * output.h: Declare them. | |
2476 | ||
2477 | * config/darwin.h (SELECT_RTX_SECTION): Move ... | |
2478 | * config/darwin.c (machopic_select_rtx_section): ... here. | |
2479 | * config/darwin-protos.h: Update. | |
2480 | ||
2481 | * config/nextstep.h (SELECT_RTX_SECTION): Move ... | |
2482 | * config/nextstep.c (machopic_select_rtx_section): ... here. | |
2483 | (nextstep_select_section): Rename variable to avoid macro clash. | |
2484 | * config/nextstep-protos.h: Update. | |
2485 | ||
2486 | * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h, | |
2487 | config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h, | |
2488 | config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h, | |
8f9eb495 | 2489 | config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h, |
b64a1b53 RH |
2490 | config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h, |
2491 | config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h, | |
8f9eb495 | 2492 | config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h, |
b64a1b53 RH |
2493 | config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h, |
2494 | config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h | |
2495 | (SELECT_RTX_SECTION): Remove. | |
2496 | ||
2497 | * config/darwin.h, config/elfos.h, config/nextstep.h, | |
2498 | config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c, | |
2499 | config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h, | |
2500 | config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h, | |
2501 | config/sparc/lynx.h, config/xtensa/xtensa.c | |
2502 | (TARGET_ASM_SELECT_RTX_SECTION): New. | |
2503 | ||
2504 | * config/alpha/elf.h (SELECT_RTX_SECTION): Move ... | |
2505 | * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here. | |
2506 | * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ... | |
2507 | * config/ia64/ia64.c (ia64_select_rtx_section): ... here. | |
2508 | (ia64_aix_select_rtx_section): New. | |
2509 | * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before | |
2510 | redefining. | |
2511 | * config/mips/mips.c (mips_select_rtx_section): Make static. | |
8f9eb495 | 2512 | Support ELF SHF_MERGE features. |
b64a1b53 RH |
2513 | * config/mips/mips-protos.h: Update. |
2514 | * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ... | |
2515 | * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here. | |
2516 | (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section; | |
2517 | make static, fall back to default_elf_select_rtx_section. | |
2518 | * config/rs6000/rs6000-protos.h: Update. | |
2519 | * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ... | |
2520 | * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here. | |
2521 | * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2. | |
2522 | * config/romp/romp.c (romp_select_rtx_section): New. | |
2523 | * config/s390/s390.c (s390_select_rtx_section): New. | |
2524 | * config/xtensa/xtensa.c: Include output.h. Shuffle local function | |
2525 | declarations before target macro definition. | |
2526 | (xtensa_emit_call): Use static buffer. | |
2527 | (xtensa_select_rtx_section): New. | |
2528 | * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove. | |
2529 | (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove. | |
2530 | (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section. | |
2531 | ||
2532 | * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from | |
2533 | SELECT_RTX_SECTION docs. | |
2534 | ||
2535 | Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz> | |
5f90a099 JH |
2536 | |
2537 | * i386.md (movsi/movdi): Fix template. | |
2538 | (sse2 patterns): Set attributes consistently. | |
2539 | ||
2540 | * i386.md (pushqi2, ashrqi_*): Fix constraint. | |
2541 | ||
6835a09c TM |
2542 | 2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl> |
2543 | ||
2544 | * optabs.c (complex_part_zero_p): New. | |
2545 | * (expand_cmplxdiv_straight): Use it. | |
2546 | * (expand_cmplxdiv_wide): Ditto. | |
2547 | * (expand_binop): Ditto. | |
2548 | ||
d48bc59a RH |
2549 | 2002-05-18 Richard Henderson <rth@redhat.com> |
2550 | ||
2551 | * final.c (HAVE_READONLY_DATA_SECTION): New. | |
2552 | (shorten_branches): Use it instead of ifdefs. | |
2553 | * varasm.c (enum in_section): Add in_readonly_data. | |
2554 | (text_section, data_section): Tidy. | |
2555 | (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present. | |
2556 | ||
2557 | * config/darwin.h, config/nextstep.h, config/h8300/elf.h, | |
2558 | config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h | |
2559 | (READONLY_DATA_SECTION): Don't undef. | |
2560 | ||
2561 | * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h, | |
2562 | config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h, | |
2563 | config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef. | |
2564 | ||
2565 | * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h, | |
2566 | config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h, | |
2567 | config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h, | |
2568 | config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove. | |
2569 | ||
2570 | * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h, | |
2571 | config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h, | |
2572 | config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, | |
2573 | config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h, | |
2574 | config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h, | |
2575 | config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h, | |
2576 | config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h, | |
2577 | config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from | |
2578 | CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP. | |
2579 | ||
2580 | * config/elfos.h, config/netware.h, config/1750a/1750a.h, | |
2581 | config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h, | |
2582 | config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h, | |
2583 | config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h, | |
2584 | config/pa/pa64-hpux.h, config/sparc/litecoff.h | |
2585 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. | |
2586 | ||
2587 | * config/elfos.h, config/netware.h, config/svr3.h, | |
2588 | config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, | |
2589 | config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, | |
2590 | config/h8300/h8300.h, config/i386/i386-interix.h, | |
2591 | config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h, | |
2592 | config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove. | |
2593 | ||
2594 | * config/elfos.h, config/netware.h, config/svr3.h, | |
2595 | config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, | |
2596 | config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h, | |
2597 | config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h, | |
2598 | config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove. | |
2599 | ||
2600 | * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h, | |
2601 | config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h, | |
2602 | config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h, | |
2603 | config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h, | |
2604 | config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h, | |
2605 | config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h, | |
2606 | config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h, | |
2607 | config/rs6000/sysv4.h, config/v850/v850.h | |
2608 | (EXTRA_SECTIONS): Remove in_const/in_rdata. | |
2609 | (EXTRA_SECTION_FUNCTIONS): Remove accompanying function. | |
2610 | ||
2611 | * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h, | |
2612 | config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h, | |
2613 | config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h, | |
2614 | config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section. | |
2615 | * config/alpha/alpha.c (alpha_start_function): Likewise. | |
2616 | (alpha_write_linkage): Likewise. | |
2617 | * config/m32r/m32r.c (m32r_select_section): Likewise. | |
2618 | * config/m88k/m88k.c (m88k_select_section): Likewise. | |
2619 | * config/mips/mips.c (mips_select_rtx_section): Likewise. | |
2620 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise. | |
2621 | (rs6000_elf_select_section): Likewise. | |
2622 | * config/v850/v850.c (v850_select_section): Likewise. | |
2623 | ||
2624 | * config/1750a/1750a.h, config/i860/sysv3.h | |
2625 | (READONLY_DATA_SECTION_ASM_OP): New. | |
2626 | READONLY_DATA_SECTION_ASM_OP. | |
2627 | * config/i386/interix.c, config/i386/winnt.c | |
2628 | (i386_pe_unique_section): Always use .rdata prefix. | |
2629 | * config/pa/som.h (readonly_data): Always switch to read-only section. | |
2630 | (READONLY_DATA_SECTION): Predicate on flag_pic. | |
2631 | * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis. | |
2632 | * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New. | |
2633 | (READONLY_DATA_SECTION): Update. | |
2634 | ||
e964a556 JT |
2635 | 2002-05-18 Jason Thorpe <thorpej@wasabisystems.com> |
2636 | ||
2637 | * c-common.c (c_common_post_options): Warn if -Wformat-zero-length | |
8f9eb495 | 2638 | is used without -Wformat. |
e964a556 JT |
2639 | * c-common.h (warn_format_zero_length): Declare extern. |
2640 | * c-decl.c (warn_options): Add "format-zero-length". | |
2641 | * c-format.c (warn_format_zero_length): Declare. | |
2642 | (set_Wformat): Set warn_format_zero_length for -Wformat. | |
2643 | (check_format_info): Only warn about zero-length formats if | |
2644 | warn_format_zero_length is true. Include the format type | |
2645 | name in the warning message. | |
2646 | * doc/invoke.texi: Document -Wformat-zero-length. | |
2647 | * testsuite/gcc.dg/format/zero-length-1.c: New test. | |
2648 | ||
d92b4486 KH |
2649 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
2650 | ||
2651 | * timevar.c: Fix formatting. | |
2652 | * tlink.c: Likewise. | |
2653 | * toplev.c: Likewise. | |
2654 | * tree-dump.c: Likewise. | |
2655 | * tree-inline.c: Likewise. | |
2656 | ||
43612ffb NB |
2657 | 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk> |
2658 | ||
2659 | * cppinit.c (cpp_post_options): If preprocessed, turn off | |
2660 | traditional. If traditional, turn off column numbers. | |
2661 | * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional. | |
2662 | * cpptrad.c (handle_newline): Update line_base. | |
2663 | (skip_comment): Handle -Wcomment. | |
2664 | ||
f24a153a ZW |
2665 | 2002-05-17 Zack Weinberg <zack@codesourcery.com> |
2666 | ||
2667 | * cppinit.c (struct builtin): Remove unused fields. | |
2668 | (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill. | |
2669 | (operator_array): New - was second half of builtin_array. | |
2670 | (init_builtins): Simplify loop over builtin_array/operator_array. | |
2671 | ||
12403335 NB |
2672 | 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk> |
2673 | ||
2674 | * defaults.h (UNIQUE_SECTION): Remove. | |
2675 | * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison. | |
2676 | ||
1f8c3c5b RH |
2677 | 2002-05-17 Richard Henderson <rth@redhat.com> |
2678 | ||
2679 | * expr.c (init_expr_once): Don't use start/end_sequence. | |
2680 | Use rtx_alloc instead of emit_insn. | |
2681 | * toplev.c (lang_dependent_init): Run init_expr_once here ... | |
2682 | (lang_independent_init): ... not here. | |
2683 | ||
4664f4c4 JT |
2684 | 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com> |
2685 | ||
2686 | * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__. | |
2687 | ||
93febe68 MM |
2688 | 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> |
2689 | ||
2690 | * config/avr/avr.c (avr_regs_to_save): New function. Also check | |
2691 | for fixed registers, possibly used for global register variables. | |
2692 | (initial_elimination_offset, avr_output_function_prologue, | |
2693 | avr_output_function_epilogue): Move common code to avr_regs_to_save. | |
2694 | ||
004cb263 NB |
2695 | 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk> |
2696 | ||
2697 | * Makefile.in: Update for cpptrad.c. | |
2698 | * cpphash.h (struct cpp_buffer): New members for buffer | |
2699 | overlays. | |
2700 | (struct cpp_reader): New members for traditional output. | |
2701 | (_cpp_read_logical_line, _cpp_overlay_buffer): New. | |
2702 | * cppinit.c (cpp_create_reader): Set trad_line. | |
2703 | (cpp_destroy): Free trad_out_base if used. | |
2704 | (cpp_read_main_file): Overlay an empty buffer if traditional. | |
2705 | (cpp_finish_options): Don't do builtins. | |
2706 | (COMMAND_LINE_OPTIONS): Add -traditional-cpp. | |
2707 | (cpp_handle_option): Handle it. | |
2708 | * cpplex.c (continue_after_nul): New. | |
2709 | (_cpp_lex_direct): Use handle_nul. | |
2710 | * cpplib.h (struct cpp_options): New traditional option. | |
2711 | * cpptrad.c: New file. | |
2712 | ||
bdcae02b NB |
2713 | 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk> |
2714 | ||
2715 | * c-common.c (c_common_init_options): Use C89 for Objective-C, | |
2716 | and set the options flag. | |
2717 | * cppinit.c (lang_flags): Remove objc. | |
2718 | (lang_defaults): Remove OBJC and OBJCXX. | |
2719 | (set_lang): Update. | |
2720 | (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++. | |
2721 | (cpp_handle_option): Remove -+ and -lang-objc++. | |
2722 | For ObjC, just set a flag. | |
2723 | (print_help): Update. | |
2724 | * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX. | |
2725 | ||
0fca60ab RO |
2726 | 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2727 | ||
2728 | * doc/install.texi (Specific, mips-sgi-irix6): Document need to | |
2729 | bootstrap with -mips3. | |
2730 | ||
dd3f0101 KH |
2731 | 2002-05-17 Kazu Hirata <kazu@cs.umass.edu> |
2732 | ||
2733 | * final.c: Fix formatting. | |
2734 | * fix-header.c: Likewise. | |
2735 | * flow.c: Likewise. | |
2736 | * fold-const.c: Likewise. | |
2737 | * function.c: Likewise. | |
2738 | ||
5ca9299f DM |
2739 | 2002-05-17 David S. Miller <davem@redhat.com> |
2740 | ||
2741 | PR c/6689, PR optimization/6615 | |
2742 | * local-alloc.c (struct equivalence): Rename 'src' to 'src_p' | |
2743 | and make it a pointer to rtx. Update comments. | |
2744 | (update_equiv_regs): When scanning for equivalences, record | |
2745 | address of SET_SRC (set) in reg_equiv[].src_p. Dereference | |
2746 | it while making the equiv replacements. | |
2747 | ||
508bc172 RO |
2748 | 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2749 | ||
2750 | * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo. | |
2751 | ||
5cd983a6 KK |
2752 | 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp> |
2753 | ||
2754 | * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P | |
2755 | when encoding visibility into SYMBOL_REF_FLAG. | |
2756 | ||
ce0f3925 RS |
2757 | 2002-05-17 Richard Sandiford <rsandifo@redhat.com> |
2758 | ||
2759 | * expr.c (force_operand): Fix reversed move. | |
2760 | ||
06809951 GP |
2761 | 2002-05-17 Kurt Wall <kwall@kurtwerks.com> |
2762 | ||
2763 | * doc/install.texi (Testing): Mention two common DejaGnu warnings | |
2764 | that can be ignored. | |
2765 | ||
2766 | 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
2767 | ||
2768 | * doc/install.texi (Final install): Recommend to install into a | |
2769 | "clean" target directory. | |
2770 | ||
1d5d7a21 RH |
2771 | 2002-05-17 Richard Henderson <rth@redhat.com> |
2772 | ||
2773 | * config/ia64/ia64.md: Use braced strings instead of quoted strings | |
2774 | for code blocks. Tidy whitespace. | |
2775 | ||
ae46c4e0 RH |
2776 | 2002-05-17 Richard Henderson <rth@redhat.com> |
2777 | ||
2778 | * hooks.c (hook_tree_bool_false): New. | |
2779 | * hooks.h: Declare it. | |
2780 | * target-def.h (TARGET_ASM_SELECT_SECTION): New. | |
2781 | (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New. | |
2782 | * target.h (select_section, unique_section): New. | |
2783 | (in_small_data_p): New. | |
2784 | * varasm.c (resolve_unique_section): Use hooks instead of macros. | |
2785 | (variable_section, output_constant_def_contents): Likewise. | |
2786 | (default_select_section, default_unique_section): New. | |
2787 | (categorize_decl_for_section, default_elf_select_section): New. | |
2788 | * output.h: Declare them. | |
2789 | ||
2790 | * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove. | |
2791 | (TARGET_ASM_SELECT_SECTION): New. | |
2792 | (SELECT_SECTION): Move ... | |
2793 | * config/darwin.c (machopic_select_section): ... here. | |
2794 | * config/darwin-protos.h: Update. | |
2795 | ||
2796 | * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New. | |
2797 | (SELECT_SECTION): Move ... | |
2798 | * config/nextstep.c (nextstep_select_section): ... here. | |
2799 | * config/nextstep-protos.h: Update. | |
2800 | ||
2801 | * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove. | |
2802 | (TARGET_ASM_SELECT_SECTION): New. | |
2803 | * config/svr3.h (SELECT_SECTION): Remove. | |
2804 | ||
2805 | * config/alpha/alpha.c (unicosmk_unique_section): Make static. | |
2806 | (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New. | |
2807 | (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New. | |
2808 | (alpha_encode_section_info): Use it. | |
2809 | * config/alpha/alpha-protos.h: Update. | |
2810 | * config/alpha/elf.h (DO_SELECT_SECTION): Remove. | |
2811 | (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
2812 | (TARGET_ASM_SELECT_SECTION): New. | |
2813 | * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove. | |
2814 | ||
2815 | * config/arm/pe.h (UNIQUE_SECTION): Remove. | |
2816 | (TARGET_ASM_UNIQUE_SECTION): New. | |
2817 | ||
2818 | * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New. | |
2819 | (avr_unique_section): Rename from unique_section; make static. | |
2820 | * config/avr/avr-protos.h: Update. | |
2821 | * config/avr/avr.h (UNIQUE_SECTION): Remove. | |
2822 | ||
2823 | * config/c4x/c4x.h (SELECT_SECTION): Remove. | |
2824 | ||
2825 | * config/i386/cygwin.h (UNIQUE_SECTION): Remove. | |
2826 | (TARGET_ASM_UNIQUE_SECTION): New. | |
2827 | * config/i386/i386-interix.h: Likewise. | |
2828 | * config/i386/win32.h: Likewise. | |
2829 | * config/i386/djgpp.h (UNIQUE_SECTION): Remove. | |
2830 | * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro. | |
2831 | * config/i386/sco5.h (SELECT_SECTION): Remove. | |
2832 | (TARGET_ASM_SELECT_SECTION): New. | |
2833 | * config/i386/svr3gas.h (SELECT_SECTION): Remove. | |
2834 | ||
2835 | * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION | |
2836 | instead of SELECT_SECTION. | |
2837 | * config/m68k/dpx2.h: Likewise. | |
2838 | * config/rs6000/lynx.h: Likewise. | |
2839 | ||
2840 | * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
2841 | (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. | |
2842 | * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New. | |
2843 | (ia64_in_small_data_p): New. | |
2844 | (ia64_encode_section_info): Use it. Reorganize overlarge conditional. | |
2845 | (ia64_aix_select_section, ia64_aix_unique_section): New. | |
2846 | * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove. | |
2847 | (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
2848 | ||
2849 | * config/m32r/m32r.h (SELECT_SECTION): Remove. | |
2850 | (TARGET_ASM_SELECT_SECTION): New. | |
2851 | * config/m32r/m32r.c (m32r_select_section): Take align argument. | |
2852 | * config/m32r/m32r-protos.h: Update. | |
2853 | ||
2854 | * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New. | |
2855 | (SELECT_SECTION): Move ... | |
2856 | * config/m88k/m88k.c (m88k_select_section): ... here. | |
2857 | ||
2858 | * config/mcore/mcore-pe.h (SELECT_SECTION): Remove. | |
2859 | * config/mcore/mcore.h (UNIQUE_SECTION): Remove. | |
2860 | * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New. | |
2861 | (mcore_unique_section): Make static. | |
2862 | * config/mcore/mcore-protos.h: Update. | |
2863 | ||
2864 | * config/mips/elf.h (UNIQUE_SECTION): Remove. | |
2865 | (TARGET_ASM_UNIQUE_SECTION): New. | |
2866 | * config/mips/elf64.h: Likewise. | |
2867 | * config/mips/iris6gld.h: Likewise. | |
2868 | * config/mips/linux.h: Likewise. | |
2869 | * config/mips/mips-protos.h: Update. | |
2870 | * config/mips/mips.c (mips_select_section): Add align argument. | |
2871 | * config/mips/mips.h (SELECT_SECTION): Remove. | |
2872 | (TARGET_ASM_SELECT_SECTION): New. | |
2873 | ||
2874 | * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
2875 | * config/mmix/mmix.c (mmix_select_section): Remove. | |
2876 | (mmix_unique_section): Remove. | |
2877 | * config/mmix/mmix-protos.h: Update. | |
2878 | ||
2879 | * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New. | |
2880 | (SELECT_SECTION): Move ... | |
2881 | * config/pa/pa.c (pa_select_section): ... here. | |
2882 | * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove. | |
2883 | ||
2884 | * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename | |
2885 | from rs6000_select_section and make static. | |
2886 | (rs6000_elf_unique_section): Similarly. | |
2887 | (rs6000_xcoff_select_section): From xcoff.h. | |
2888 | (rs6000_xcoff_unique_section): Likewise. | |
2889 | * config/rs6000/rs6000-protos.h: Update. | |
2890 | * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
2891 | (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. | |
2892 | * config/rs6000/xcoff.h: Likewise. | |
2893 | ||
2894 | * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New. | |
2895 | (SELECT_SECTION): Move ... | |
2896 | * config/sparc/sparc.c (sparc_aout_select_section): ... here. | |
2897 | ||
2898 | * config/v850/v850.h (SELECT_SECTION): Move ... | |
2899 | * config/v850/v850.c (v850_select_section): ... here. | |
2900 | (TARGET_ASM_SELECT_SECTION): New. | |
2901 | ||
2902 | * config/vax/vms.h (SELECT_SECTION): Move ... | |
2903 | * config/vax/vax.c (vms_select_section): ... here. | |
2904 | (TARGET_ASM_SELECT_SECTION): New. | |
2905 | ||
2906 | * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs | |
2907 | for the target hooks. | |
2908 | ||
eaeb23a7 NC |
2909 | 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com> |
2910 | ||
2911 | * config/arm/arm.c (emit_multi_reg_push): Do not set | |
2912 | RTX_FRAME_RELATED_P on the SEQUENCE. | |
2913 | ||
a00fe19f RH |
2914 | 2002-05-16 Richard Henderson <rth@redhat.com> |
2915 | ||
2916 | * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before | |
2917 | splitting. Use split_all_insns; update_life_info_in_dirty_blocks. | |
2918 | ||
5ccff482 RH |
2919 | 2002-05-16 Richard Henderson <rth@redhat.com> |
2920 | ||
2921 | * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo. | |
2922 | ||
068d7739 RH |
2923 | * config/ia64/ia64.c (saveable_obstack): Do not declare. |
2924 | ||
0b17ab2f RH |
2925 | 2002-05-16 Richard Henderson <rth@redhat.com> |
2926 | ||
2927 | * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c, | |
2928 | cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c, | |
2929 | conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c, | |
2930 | gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c, | |
2931 | local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c, | |
2932 | recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c, | |
2933 | reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c, | |
2934 | sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c: | |
2935 | Revert "Basic block renumbering removal", and two followup patches. | |
2936 | ||
8ae86b3c JT |
2937 | 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com> |
2938 | ||
2939 | * lcm.c (optimize_mode_switching): Revert previous change. | |
2940 | ||
4e9f27af ZD |
2941 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2942 | ||
2943 | * sched-rgn.c (schedule_insns): Initialize large_region_blocks | |
2944 | with only extant block numbers. | |
2945 | ||
3cdc1dbc JT |
2946 | 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com> |
2947 | ||
2948 | * lcm.c (optimize_mode_switching): Fix typo. | |
2949 | ||
fbfb3b09 ZD |
2950 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2951 | ||
2952 | * flow.c (calculate_global_regs_live): Queue blocks in program order. | |
2953 | ||
b4b0fb02 RO |
2954 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2955 | ||
2956 | * doc/install.texi (Configuration): Document PWDCMD. | |
2957 | ||
63b827c5 DJ |
2958 | 2002-05-16 Dale Johannesen <dalej@apple.com> |
2959 | ||
2960 | * combine.c (cant_combine_insn_p): Reenable combinations | |
2961 | involving hard regs unless CLASS_LIKELY_SPILLED_P. | |
2962 | ||
748d29c1 NB |
2963 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
2964 | ||
2965 | * c-common.c (cb_register_builtins): Handle more built-ins | |
2966 | here rather than in gcc.c specs. | |
2967 | * gcc.c (cpp_unique_options): Move many built-ins to c-common.c. | |
2968 | (cpp_options): Pass -O flags even when only preprocessing. | |
2969 | * toplev.c (set_fast_math_flags): New prototype. | |
2970 | (fast_math_flags_set_p): New. | |
2971 | (set_no_fast_math_flags): Remove. | |
2972 | (decode_f_option): Update. | |
2973 | * toplev.h (set_fast_math_flags): Update. | |
2974 | (fast_math_flags_set_p): New. | |
2975 | (set_no_fast_math_flags): Remove. | |
2976 | config: | |
2977 | * c4x/c4x.c (c4x_override_options): Update. | |
2978 | ||
5279d739 ZW |
2979 | 2002-05-16 Zack Weinberg <zack@codesourcery.com> |
2980 | ||
2981 | * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX): | |
2982 | Default-define here. | |
2983 | (builtin_define_with_value): Can now wrap the expansion in | |
2984 | quotation marks if such is wanted. | |
a00fe19f | 2985 | (cb_register_builtins): Update calls to builtin_define_with_value. |
5279d739 ZW |
2986 | Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__ |
2987 | here. | |
2988 | (c_common_init): Set options->stdc_0_in_system_headers. | |
2989 | * c-lex.h: Update prototype of builtin_define_with_value. | |
2990 | * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX | |
2991 | and REGISTER_PREFIX. | |
2992 | ||
2993 | * cppinit.c (VERS, ULP, C, X): Kill. | |
2994 | (builtin_array): Remove entries for __VERSION__, | |
2995 | __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and | |
2996 | __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not | |
2997 | a constant. | |
2998 | (init_builtins): Kill off a bunch of now-dead code. | |
2999 | (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and | |
3000 | -fno-leading-underscore. | |
3001 | (cpp_handle_option): Remove code to set user_label_prefix. | |
3002 | (cpp_post_options): Likewise. | |
3003 | ||
3004 | * cpplib.h (struct cpp_options): Remove user_label_prefix. | |
3005 | (stdc_0_in_system_headers): New. | |
3006 | * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile, | |
3007 | stdc_0_in_system_headers) too to decide the value of __STDC__. | |
3008 | ||
3009 | * tradcpp.c (user_label_prefix): Kill. | |
a00fe19f | 3010 | (main): Remove code handling -f(no-)leading-underscore. |
5279d739 ZW |
3011 | (initialize_builtins): Don't define __REGISTER_PREFIX__ |
3012 | or __USER_LABEL_PREFIX__. | |
3013 | (install_value): Wrap compound statement in dummy loop so the | |
3014 | macro works properly in an if statement. | |
3015 | ||
3016 | ||
62e6ca55 JJ |
3017 | 2002-05-16 Janis Johnson <janis187@us.ibm.com> |
3018 | ||
3019 | * loop.h (struct loop_info): Add member has_prefetch. | |
3020 | * loop.c (PREFETCH_CONDITIONAL): Change default to 1. | |
3021 | (prescan_loop): Initialize has_prefetch. | |
3022 | (struct prefetch_info): Change prefetch_in_loop and | |
3023 | prefetch_before_loop from bit fields to ints. | |
3024 | (emit_prefetch_instructions): Several small fixes. | |
3025 | (check_dbra_loop): Don't reverse loop that uses prefetch. | |
3026 | ||
1e6347d8 RO |
3027 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3028 | ||
3029 | * Makefile.in: Allow for PWDCMD to override hardcoded pwd. | |
3030 | * configure.in: Likewise. | |
3031 | * fixinc/check.tpl: Likewise. | |
3032 | * fixinc/fixinc.dgux: Likewise. | |
3033 | * fixinc/fixinc.svr4: Likewise. | |
3034 | * fixinc/fixinc.winnt: Likewise. | |
3035 | * fixinc/fixincl.sh: Likewise. | |
3036 | * fixproto: Likewise. | |
3037 | * configure: Regenerate. | |
3038 | ||
355e4ec4 ZD |
3039 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3040 | ||
3041 | Basic block renumbering removal: | |
3042 | * basic_block.h (struct basic_block_def): Renamed index to sindex, | |
3043 | added prev_bb and next_bb fields. | |
3044 | (n_basic_blocks): Renamed to num_basic_blocks. | |
3045 | (last_basic_block): New, index of last basic block. | |
3046 | (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for | |
3047 | traversing basic block chain. | |
3048 | (BLOCK_NUM): index -> sindex. | |
3049 | (create_basic_block_structure, create_basic_block): Declaration changed. | |
3050 | (debug_num2bb): Declare. | |
3051 | (expunge_block_nocompact): Declaration removed. | |
3052 | (link_block, unlink_block, compact_blocks): Declare. | |
3053 | * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified. | |
3054 | * cfg.c (entry_exit_blocks): Initialize new fields. | |
3055 | (clear_edges, alloc_block, expunge_block, cached_make_edge, | |
3056 | redirect_edge_pred, dump_flow_info, dump_edge_info, | |
3057 | alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges, | |
3058 | free_aux_for_edges): Modified. | |
3059 | (link_block, unlink_block, compact_blocks, debug_num2bb): New. | |
3060 | (expunge_block_nocompact): Removed. | |
3061 | * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add, | |
3062 | find_unreachable_blocks, create_edge_list, print_edge_list, | |
3063 | verify_edge_list, flow_edge_list_print, remove_fake_successors, | |
3064 | remove_fake_edges, flow_reverse_top_sort_order_compute, | |
3065 | flow_depth_first_order_compute, flow_preorder_transversal_compute, | |
3066 | flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb, | |
3067 | flow_dfs_compute_reverse_execute): Modified. | |
3068 | * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1, | |
3069 | find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks): | |
3070 | Modified. | |
3071 | * cfgcleanup.c (try_simplify_condjump, try_forward_edges, | |
3072 | merge_blocks_move_predecessor_nojumps, | |
3073 | merge_blocks_move_successor_nojumps, merge_blocks, | |
3074 | outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb, | |
3075 | try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified. | |
3076 | * cfglayout.c (skip_insns_after_block, label_for_bb, | |
3077 | record_effective_endpoints, scope_to_insns_finalize, | |
3078 | fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps, | |
3079 | fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge, | |
3080 | cfg_layout_duplicate_bb): Modified. | |
3081 | * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump, | |
3082 | flow_loop_entry_edges_find, flow_loop_exit_edges_find, | |
3083 | flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan, | |
3084 | flow_loops_find, flow_loop_outside_edge_p): Modified. | |
3085 | * cfgrtl.c (create_basic_block_structure, create_basic_block, | |
3086 | flow_delete_block, compute_bb_for_insn, split_block, | |
3087 | try_redirect_by_replacing_jump, redirect_edge_and_branch, | |
3088 | force_nonfallthru_and_redirect, tidy_fallthru_edge, | |
3089 | back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion, | |
3090 | commit_edge_insertions, commit_edge_insertions_watch_calls, | |
3091 | dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges, | |
3092 | purge_all_dead_edges): Modified. | |
3093 | * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies, | |
3094 | try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate, | |
3095 | get_last_value, reg_dead_at_p, distribute_notes, distribute_links): | |
3096 | Modified. | |
3097 | * conflict.c (conflict_graph_compute): Modified. | |
3098 | * df.c (FOR_ALL_BBS): Removed. | |
3099 | (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1, | |
3100 | df_modified_p, df_analyse, df_refs_unlink, df_insn_modify, | |
3101 | df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified. | |
3102 | * df.h (DF_BB_INFO, DF_REF_BBNO): Modified. | |
3103 | * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree, | |
3104 | calc_idoms, idoms_to_doms, calculate_dominance_info): Modified. | |
3105 | * final.c (compute_alignments, final_scan_insn): Modified. | |
3106 | * flow.c (verify_local_live_at_start, update_life_info, | |
3107 | update_life_info_in_dirty_blocks, free_basic_block_vars, | |
3108 | delete_noop_moves, calculate_global_regs_live, | |
3109 | initialize_uninitialized_subregs, allocate_bb_life_data, | |
3110 | regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1, | |
3111 | mark_used_reg, count_or_remove_death_notes): Modified. | |
3112 | * function.c (thread_prologue_and_epilogue_insns): Modified. | |
3113 | * gcse.c (struct null_pointer_info): Change typo of current_block | |
3114 | to basic_block. | |
3115 | (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets, | |
3116 | oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info, | |
3117 | compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd, | |
3118 | alloc_avail_expr_mem, expr_killed_p, compute_ae_kill, | |
3119 | expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr, | |
3120 | classic_gcse, one_classic_gcse_pass, compute_transp, cprop, | |
3121 | one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work, | |
3122 | pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert, | |
3123 | pre_delete, one_pre_gcse_pass, compute_transpout, | |
3124 | invalidate_nonnull_info, delete_null_pointer_checks_1, | |
3125 | free_code_hoist_mem, compute_code_hoist_vbeinout, | |
3126 | hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass, | |
3127 | compute_ld_motion_mems, store_ops_ok, find_moveable_store, | |
3128 | compute_store_table, build_store_vectors, insert_insn_start_bb, | |
3129 | insert_store, replace_store_insn, free_store_memory, store_motion): | |
3130 | Modified. | |
3131 | * global.c (global_alloc, global_conflicts, mark_elimination, | |
3132 | build_insn_chain): Modified. | |
3133 | * graph.c (print_rtl_graph_with_bb): Modified. | |
3134 | * haifa-sched.c (sched_init): Modified. | |
3135 | * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed. | |
3136 | (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2, | |
3137 | if_convert): Modified. | |
3138 | * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin, | |
3139 | compute_insert_delete, pre_edge_lcm, compute_available, | |
3140 | compute_farthest, compute_nearerout, compute_rev_insert_delete, | |
3141 | pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching): | |
3142 | Modified. | |
3143 | * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified. | |
3144 | * loop.c (loop_dump_aux): Modified. | |
3145 | * predict.c (combine_predictions_for_insn, estimate_probability, | |
3146 | last_basic_block_p, process_note_prediction, process_note_predictions, | |
3147 | note_prediction_to_br_prob, propagate_freq, counts_to_freqs, | |
3148 | expensive_function_p, estimate_bb_frequencies, | |
3149 | compute_function_frequency): Modified. | |
3150 | * print-rtl.c (print_rtx): Modified. | |
3151 | * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges, | |
3152 | get_exec_counts, compute_branch_probabilities, compute_checksum, | |
3153 | branch_prob, find_spanning_tree): Modified. | |
3154 | * recog.c (split_all_insns, peephole2_optimize): Modified. | |
3155 | * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge, | |
3156 | convert_regs_1, convert_regs_2, convert_regs): Modified. | |
3157 | * regclass.c (scan_one_insn, regclass): Modified. | |
3158 | * regmove.c (mark_flags_life_zones, regmove_optimize, | |
3159 | combine_stack_adjustments): Modified. | |
3160 | * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified. | |
3161 | * reload1.c (reload, reload_combine, copy_eh_notes): Modified. | |
3162 | * reorg.c (dbr_schedule): Modified. | |
3163 | * resource.c (find_basic_block, init_resource_info): Modified. | |
3164 | * sbitmap.c (sbitmap_intersection_of_succs, | |
3165 | sbitmap_intersection_of_preds, sbitmap_union_of_succs, | |
3166 | sbitmap_union_of_preds): Modified. | |
3167 | * sched-deps.c (init_dependency_caches): Modified. | |
3168 | * sched-ebb.c (schedule_ebbs): Modified. | |
3169 | * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions, | |
3170 | find_rgns, compute_trg_info, init_regions, schedule_insns): Modified. | |
3171 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified. | |
3172 | * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges, | |
3173 | ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns, | |
3174 | ssa_const_prop): Modified. | |
3175 | * ssa-dce.c (set_control_dependent_block_to_edge_map_, | |
3176 | find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified. | |
3177 | * ssa.c (remove_phi_alternative, find_evaluations, | |
3178 | compute_dominance_frontiers_1, compute_iterated_dominance_frontiers, | |
3179 | insert_phi_node, rename_block, convert_to_ssa, eliminate_phi, | |
3180 | make_regs_equivalent_over_bad_edges, | |
3181 | make_equivalent_phi_alternatives_equival, | |
3182 | compute_conservative_reg_partition, | |
3183 | coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition, | |
3184 | rename_equivalent_regs, convert_from_ssa, for_each_successor_phi): | |
3185 | Modified. | |
3186 | ||
5a566bed MM |
3187 | 2002-05-16 Mark Mitchell <mark@codesourcery.com> |
3188 | ||
3189 | * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH. | |
3190 | ||
48f6efae NC |
3191 | 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com> |
3192 | ||
3193 | * config/arm/arm.c (arm_rtx_costs): Check for RTX being a | |
3194 | SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. | |
3195 | (arm_adjust_cost): Check for RTX being a SYMBOL_REF before | |
3196 | calling CONSTANT_POOL_ADDRESS_P. | |
3197 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code | |
3198 | to decide whether to define __arm__ or __thumb. | |
355e4ec4 | 3199 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a |
48f6efae NC |
3200 | SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. |
3201 | ||
b166fadd NB |
3202 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
3203 | ||
3204 | * config/arc/arc.h (CPP_PREDEFINES): Remove. | |
3205 | (CPP_SPEC): Update. | |
3206 | (TARGET_CPU_CPP_BUILTINS): New. | |
3207 | ||
601328bb NB |
3208 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
3209 | ||
3210 | * cpphash.h (cpp_macro): Move here, and make expansion a union. | |
3211 | * cppmacro.c (cpp_macro): Remove. | |
3212 | (enter_macro_context, replace_args, warn_of_redefinition, | |
3213 | _cpp_create_definition, cpp_macro_definition): Update. | |
3214 | ||
ff48be5c JM |
3215 | 2002-05-16 Jason Merrill <jason@redhat.com> |
3216 | ||
3217 | * config/mips/mips.c (mips_output_external): Don't do sdata | |
3218 | optimization for a variable with DECL_COMDAT set. | |
3219 | ||
805c42ba AH |
3220 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
3221 | ||
355e4ec4 ZD |
3222 | * config/rs6000/altivec.h: Cleanups for tighter typechecking. |
3223 | Cleanups for accepting modifiers on pointers. | |
3224 | Fix predicate typos. | |
3225 | Allow long pointers as well as int pointers. | |
805c42ba | 3226 | |
34fb9ba5 RH |
3227 | 2002-05-15 Richard Henderson <rth@redhat.com> |
3228 | ||
3229 | * varasm.c (merge_weak): Remove special case for extern and common. | |
3230 | ||
62e118f5 MH |
3231 | 2002-05-15 Matt Hiller <hiller@redhat.com> |
3232 | ||
3233 | * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if | |
355e4ec4 | 3234 | XFAILing. |
62e118f5 MH |
3235 | * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto. |
3236 | * testsuite/gcc.c-torture/compile/920520-1.x: Ditto. | |
3237 | * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now. | |
3238 | * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto. | |
3239 | * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto. | |
3240 | * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto. | |
3241 | ||
fefac463 AH |
3242 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
3243 | ||
355e4ec4 | 3244 | * reload1.c (forget_old_reloads_1): Do not use subreg offset. |
fefac463 | 3245 | |
5f004351 AH |
3246 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
3247 | ||
355e4ec4 ZD |
3248 | * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register. |
3249 | ("altivec_mfvscr"): Read from VSCR. | |
3250 | ||
3251 | Add vscr sets for the following insns: altivec_vctuxs, | |
3252 | altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs, | |
3253 | altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs, | |
3254 | altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs, | |
3255 | altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss, | |
3256 | altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus, | |
3257 | altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus, | |
3258 | altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs, | |
3259 | altivec_vsubshs, altivec_vsubuws, altivec_vsubsws, | |
3260 | altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs, | |
3261 | altivec_vsum2sws, altivec_vsumsws. | |
3262 | ||
3263 | * config/rs6000/rs6000.h: Add VSCR fixed register. | |
3264 | (CALL_REALLY_USED_REGISTERS): Add vscr. | |
3265 | (CALL_USED_REGISTERS): Same. | |
3266 | (FIXED_REGISTERS): Same. | |
3267 | (REG_ALLOC_ORDER): Same. | |
3268 | (reg_class): Add VSCR_REGS. | |
3269 | (REG_CLASS_NAMES): Same. | |
3270 | (REG_CLASS_CONTENTS): Same. | |
3271 | (VSCR_REGNO): New. | |
3272 | (REGISTER_NAMES): Add vscr. | |
3273 | (DEBUG_REGISTER_NAMES): Same. | |
3274 | (ADDITIONAL_REGISTER_NAMES): Same. | |
3275 | (FIRST_PSEUDO_REGISTER): Increment. | |
3276 | (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register. | |
5f004351 | 3277 | |
033afd11 RH |
3278 | 2002-05-15 Jakub Jelinek <jakub@redhat.com> |
3279 | ||
3280 | * fold-const.c (fold): Fix a typo. | |
3281 | ||
3282 | 2002-05-15 Eric Botcazou <ebotcazou@multimania.com> | |
3283 | ||
3284 | * fold-const.c (fold) [LT_EXPR]: Move the transformation of a | |
3285 | comparison against the highest or lowest integer value before | |
3286 | the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)' | |
3287 | transformation and that of an unsigned comparison against 0 | |
3288 | right after. | |
3289 | ||
14285ace RH |
3290 | 2002-05-15 Richard Henderson <rth@redhat.com> |
3291 | ||
3292 | * varasm.c (merge_weak): Error for any weakening after definition. | |
3293 | Adjust weakening after use warning to catch more cases. | |
3294 | (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently. | |
3295 | * config/alpha/alpha.c (alpha_encode_section_info): Do not abort. | |
3296 | ||
194734e9 JH |
3297 | Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz> |
3298 | ||
3299 | * invoke.texi (-malign-double): Re-add lost warning. | |
3300 | ||
3301 | * i386-protos.h (x86_output_mi_thunk): Declare. | |
3302 | * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ... | |
3303 | * i386.c (x86_output_mi_thunk): ... here; handle 64bits. | |
3304 | ||
3305 | * dwarf2out.c (output_call_frame_info): Do not skip unwind info | |
3306 | when flag_asynchronous_unwind_tables is set. | |
3307 | ||
3308 | * flags.h (flag_reorder_functions): Declare. | |
3309 | * function.c (prepare_function_start): Initialize frequnecy. | |
14285ace | 3310 | * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New. |
194734e9 JH |
3311 | * Makefile.in (predict.o): Add dependency on target.h and params.h |
3312 | * defaults.h (HOT_TEXT_SECTION_NAME, | |
3313 | UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros. | |
3314 | * predict.c (choose_function_section): New function. | |
3315 | (estimate_bb_frequencies): Use it. | |
3316 | * toplev.c (flag_reorder_functions): New global variable. | |
3317 | (lang_independent_options): New. | |
3318 | (parse_options_and_default_flags): Set. | |
3319 | * varasm.c (assemble_start_function): Bypass functdion alignment | |
3320 | for never executed functions. | |
3321 | * invoke.texi (-freorder-blocks, -freorder-functions): Document. | |
3322 | (param hot-bb-count-fraction, hot-bb-frequency-fraction): New. | |
3323 | * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME): | |
3324 | Document. | |
3325 | ||
3326 | Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz> | |
3327 | ||
3328 | * predict.c: Inlude profile.h | |
3329 | (MIN_COUNT): Rename to MIN_COUNT_FRACTION | |
3330 | (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p): | |
3331 | Use the information about maximal counter in the program. | |
3332 | ||
3333 | Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz> | |
3334 | ||
3335 | * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p, | |
3336 | probably_never_executed_bb_p): New functions. | |
3337 | * cfgcleanup.c (outgoing_edges_match): Use them. | |
3338 | * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros. | |
3339 | (maybe_hot_bb_p, probably_cold_bb_p, | |
3340 | probably_never_executed_bb_p): New functions. | |
3341 | ||
3342 | * function.h (function): Add new field function_frequency. | |
3343 | * predict.c (compute_function_frequency): New function. | |
3344 | (estimate_probability): Call it. | |
3345 | ||
61ad9a34 JJ |
3346 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
3347 | ||
3348 | PR optimization/5172, optimization/5200 | |
3349 | * gcse.c (gcse_main): Disable store_motion. | |
3350 | ||
a11eba95 ZW |
3351 | 2002-05-14 Zack Weinberg <zack@codesourcery.com> |
3352 | ||
3353 | * c-parse.in (MODIFIED_WCHAR_TYPE): New macro. | |
3354 | (c_common_nodes_and_builtins): Use it. | |
3355 | (builtin_define_with_value): New function. | |
3356 | (cb_register_builtins): Define __SIZE_TYPE__, | |
3357 | __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here, | |
3358 | using builtin_define_with_value. Use consistent notation when | |
3359 | defining __GXX_WEAK__. | |
3360 | (WCHAR_TYPE_SIZE): Don't redefine. | |
3361 | (combine_strings): Don't use WCHAR_TYPE_SIZE. | |
3362 | ||
3363 | * cppdefault.h: Don't provide defaults for SIZE_TYPE, | |
3364 | PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE. | |
3365 | * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc. | |
3366 | * tradcpp.c (initialize_builtins): Likewise. | |
3367 | * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__. | |
3368 | ||
3369 | * c-lex.h (builtin_define_with_value): Prototype. | |
3370 | * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE, | |
3371 | NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE. | |
3372 | * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc. | |
3373 | ||
3374 | * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, | |
3375 | config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h, | |
3376 | config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h, | |
3377 | config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h, | |
3378 | config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h, | |
3379 | config/sparc/linux64.h, config/sparc/netbsd-elf.h, | |
3380 | config/sparc/sol2-bi.h, config/sparc/sparc.h: | |
3381 | Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references | |
3382 | to __SIZE_TYPE__ etc from all spec strings. When this makes | |
3383 | extra specs empty, delete them. | |
3384 | ||
1c31ecf6 JDA |
3385 | 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3386 | ||
3387 | * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling | |
3388 | for PA8000 or generating dwarf2 call frame information. | |
3389 | (output_call): Remove DO_FRAME_NOTES check from return pointer | |
3390 | optimization. | |
3391 | (following_call): Return 0 when scheduling for PA8000 or generating | |
3392 | dwarf2 call frame information. Revise comment. | |
3393 | ||
ac9cfada NB |
3394 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
3395 | ||
3396 | config/alpha: | |
3397 | * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP | |
3398 | and __IEEE_FP_INEXACT as appropriate. | |
3399 | (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus. | |
3400 | (CPP_SPEC): Remove ieee defines. | |
3401 | * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu. | |
3402 | ||
9b690711 RH |
3403 | 2002-05-14 Richard Henderson <rth@redhat.com> |
3404 | ||
3405 | * config/i386/i386.c (ix86_save_reg): Make regno unsigned. | |
3406 | (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill. | |
3407 | ||
e6471be6 NB |
3408 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
3409 | ||
e6471be6 NB |
3410 | * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define. |
3411 | (CPP_SPEC): Update. | |
3412 | (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC, | |
3413 | CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC, | |
3414 | CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC, | |
3415 | CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove. | |
3416 | (EXTRA_SPECS): Update. | |
3417 | * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h, | |
3418 | arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h, | |
3419 | arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and | |
3420 | define TARGET_OS_CPP_BUILTINS if necessary. | |
3421 | ||
e5f5feea NB |
3422 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
3423 | ||
3424 | * gcc.c (cpp_options): Must pass -m* and -f* options | |
3425 | to the front end even when only preprocessing. | |
3426 | (cc1_options): Remove redundant -lang-c. | |
3427 | * tradcpp.c (main): Ignore -m options. | |
3428 | objc: | |
3429 | * lang-specs.h: Similarly. | |
3430 | ||
317638a8 VM |
3431 | 2002-05-14 Vladimir Makarov <vmakarov@redhat.com> |
3432 | ||
3433 | * genautomata.c (transform_3): Add code for transformation | |
3434 | `(A,B,...)+C -> A+C,B,...'. | |
3435 | ||
4d604303 JH |
3436 | Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz> |
3437 | ||
3438 | * final.c (end_final): Do not output profile_arcs constructor, when | |
3439 | no functions are instrumented. | |
3440 | ||
b18b06ed JH |
3441 | Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz> |
3442 | ||
3443 | * i386.md (testsi to testqi_zext_1 splitter): Fix typo. | |
3444 | ||
a12f97f0 GP |
3445 | 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3446 | ||
3447 | * doc/install.texi: Remove special markup originally required for | |
3448 | HTML generation with texi2html. | |
3449 | ||
c1ae3eb4 AS |
3450 | 2002-05-14 Andreas Schwab <schwab@suse.de> |
3451 | ||
3452 | * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of | |
3453 | SELECT_SECTION. | |
3454 | (UNIQUE_SECTION): Define to get small data correctly. | |
1b18fc2c AS |
3455 | |
3456 | * varasm.c (resolve_unique_section): Add third parameter | |
3457 | flag_function_or_data_sections and use it instead of | |
3458 | flag_function_sections. | |
3459 | (assemble_start_function): Pass flag_function_sections. | |
3460 | (asm_emit_uninitialised): Pass flag_data_sections. | |
3461 | (assemble_variable): Likewise. | |
3462 | ||
8ee41eaf RH |
3463 | 2002-05-14 Richard Henderson <rth@redhat.com> |
3464 | ||
3465 | * config/i386/i386.md: Use define_constants for unspec numbers. | |
3466 | * config/i386/i386.c: Likewise. | |
3467 | ||
e6471be6 NB |
3468 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
3469 | ||
3470 | * doc/contrib.texi: Update my entry. | |
3471 | ||
c297b764 MM |
3472 | 2002-05-13 Mark Mitchell <mark@codesourcery.com> |
3473 | ||
3474 | * fixinc/inclhack.def (winidss_valist): Limit applicability. | |
3475 | * fixinc/fixincl.x: Regenerated. | |
3476 | * fixinc/tests/base/math.h: Update. | |
3477 | * fixinc/tests/base/testing.h: Likewise. | |
3478 | ||
0b42c8f8 ZW |
3479 | 2002-05-13 Zack Weinberg <zack@codesourcery.com> |
3480 | ||
3481 | * genattr.c (gen_attr): Don't emit a comma after the last | |
3482 | enumerator. | |
3483 | ||
546c093e RH |
3484 | 2002-05-13 Richard Henderson <rth@redhat.com> |
3485 | ||
3486 | * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created | |
3487 | by non-local gotos. | |
3488 | * recog.c (peephole2_optimize): Likewise. | |
3489 | ||
85be8c2d AP |
3490 | 2002-05-13 Andris Pavenis <pavenis@lanet.lv> |
3491 | ||
3492 | * cppfiles.c (open_file): Change mode (DJGPP only) of redirected | |
3493 | input to O_BINARY. | |
3494 | ||
765b8f90 JL |
3495 | 2002-05-13 Jeffrey A Law (law@redhat.com) |
3496 | ||
fe4b3c79 JL |
3497 | * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx. |
3498 | Update prototype and callers. | |
3499 | (propagate_one_insn): Stack pointer adjustments kill MEMs on | |
3500 | the mem_set_list which reference the stack pointer, as do | |
3501 | calls to constant functions as they may clobber outgoing | |
3502 | argument space. | |
3503 | ||
16133d00 JL |
3504 | * i386.c (ia32_multipass_dfa_lookahead): Prototype. |
3505 | ||
765b8f90 JL |
3506 | * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define. |
3507 | (ia32_multipass_dfa_lookahead): New function. | |
3508 | ||
63826d5b NB |
3509 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
3510 | ||
3511 | * gcc.c (SWITCH_TAKES_ARG): Remove 'V'. | |
3512 | (translate_options): Remove 'V'. | |
3513 | (process_command): Similarly. | |
3514 | doc: | |
3515 | * invoke.texi: Remove documentation of 'V'. | |
3516 | ||
dcb41ced UW |
3517 | 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
3518 | ||
3519 | * config/s390/linux.h: Revert 2002-04-22 changes. | |
3520 | ||
8dfea428 SM |
3521 | 2002-05-13 Scott Marks <SMarks@mobile-mind.com> |
3522 | ||
3523 | * config/fr30/fr30.md: Only allow splits of immediate loads | |
3524 | if the destination is a register. | |
3525 | ||
12a41c22 NB |
3526 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
3527 | ||
3528 | * Makefile.in (c-common.o, cppinit.o): Update. | |
3529 | * c-common.c: Include except.h. | |
3530 | (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__. | |
3531 | Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS. | |
3532 | * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here. | |
3533 | * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS, | |
3534 | CPP_PREDEFINES): Handle here. | |
3535 | config: | |
3536 | * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h, | |
3537 | alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h, | |
3538 | alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define | |
3539 | TARGET_OS_CPP_BUILTINS. | |
3540 | * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define. | |
3541 | (CPP_SPEC, EXTRA_SPECS): Update. | |
3542 | (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC, | |
3543 | CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC, | |
3544 | CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC, | |
3545 | CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC, | |
3546 | CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove. | |
3547 | doc: | |
3548 | * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove. | |
3549 | (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define. | |
3550 | ||
5692c7bc ZW |
3551 | 2002-05-12 Zack Weinberg <zack@codesourcery.com> |
3552 | ||
3553 | * emit-rtl.c (global_rtl): Update comment. | |
3554 | (const_double_htab, const_double_htab_hash, | |
3555 | const_double_htab_hash, lookup_const_double): New. | |
3556 | (const_int_htab_hash, const_int_htab_eq): Remove const | |
3557 | qualifiers, which cause tons of warnings with RTL checking on. | |
3558 | (gen_rtx_CONST_DOUBLE): Deleted. | |
3559 | (const_double_from_real_value): New function - bears some | |
3560 | resemblance to the former immed_real_const_1. | |
3561 | (immed_double_const): Moved here from varasm.c and | |
3562 | simplified. | |
3563 | (gen_rtx_REG): Make REGNO unsigned to squelch warnings. | |
3564 | (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG. | |
3565 | (gen_rtx): Use immed_double_const. | |
3566 | (init_emit_once): Initialize the const_double_htab. Use | |
3567 | REAL_VALUE_FROM_INT where possible. Can now use | |
3568 | CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx. | |
3569 | * varasm.c (struct varasm_status): Remove x_const_double_chain. | |
3570 | (const_double_chain, immed_real_const, clear_const_double_mem): Delete. | |
3571 | (immed_double_const, immed_real_const_1): Moved to emit-rtl.c. | |
3572 | (init_varasm_status, mark_varasm_status): Don't touch | |
3573 | x_const_double_chain. | |
3574 | ||
3575 | * output.h: Delete prototype for clear_const_double_mem. | |
3576 | * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading | |
3577 | '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype | |
3578 | const_double_from_real_value, not immed_real_const_1, and use | |
3579 | it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro | |
3580 | CONST_DOUBLE_ATOF. | |
3581 | * rtl.h (CONST_DOUBLE_CHAIN): Kill. | |
3582 | (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust. | |
3583 | (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes. | |
3584 | (gen_rtx_REG): Second arg is unsigned. | |
3585 | ||
3586 | * gengenrtl.c (special_rtx): Take out CONST_DOUBLE. | |
3587 | (excluded_rtx): New, return true for CONST_DOUBLE. | |
3588 | (genmacro): Write nothing for excluded codes. | |
3589 | * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE. | |
3590 | * expr.c (expand_expr): Likewise. | |
3591 | * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the | |
3592 | CONST_DOUBLE_CHAIN. | |
3593 | * toplev.c (rest_of_compilation): Don't call | |
3594 | clear_const_double_mem. | |
3595 | ||
3596 | * config/rs6000/rs6000.c (rs6000_float_const): Delete. | |
3597 | (rs6000_hash_constant): Remove CONST_DOUBLE special case. | |
3598 | (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases. | |
3599 | * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const. | |
3600 | * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF. | |
3601 | * config/dsp16xx/dsp16xx.md, config/mips/mips.md, | |
3602 | config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE. | |
3603 | * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const. | |
3604 | ||
31397a7b KG |
3605 | 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3606 | ||
3607 | * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define. | |
3608 | ||
1b70d38a TT |
3609 | 2002-05-12 Tom Tromey <tromey@redhat.com> |
3610 | ||
3611 | * tree.h (copy_node): Don't mention TREE_PERMANENT. | |
3612 | ||
9a5834ae ZW |
3613 | 2002-05-12 Zack Weinberg <zack@codesourcery.com> |
3614 | ||
3615 | * gensupport.c (n_comma_elts): Moved here from genattrtab.c. | |
3616 | (scan_comma_elt): New function. Accepts whitespace in comma lists. | |
3617 | * gensupport.h: Prototype new routines. | |
3618 | * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary | |
3619 | use of printf. | |
3620 | * genattrtab.c (n_comma_elts): Moved to gensupport.c. | |
3621 | (next_comma_elt): Use scan_comma_elt. | |
3622 | ||
3623 | * config/i386/i386.md: Use new attribute notation to break up | |
3624 | long lines in define_attr forms. | |
3625 | ||
51286de6 RH |
3626 | 2002-05-12 Richard Henderson <rth@redhat.com> |
3627 | ||
3628 | * expr.c (compress_float_constant): New. | |
3629 | (emit_move_insn): Use it. | |
3630 | (float_extend_from_mem): New. | |
3631 | (init_expr_once): Initialize it. | |
3632 | * real.c (exact_real_truncate): New. | |
3633 | ||
3634 | * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets | |
3635 | dropped into memory; penalize for size. | |
3636 | (RTX_COSTS): FLOAT_EXTEND is free. | |
3637 | * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2, | |
3638 | extenddfxf2, extenddftf2): Accept constants and drop them to memory. | |
3639 | ||
6412341e RH |
3640 | 2002-05-12 Richard Henderson <rth@redhat.com> |
3641 | ||
3642 | * profile.h (profile_info): Add missing extern to declaration. | |
3643 | * profile.c (profile_info): Define it. | |
3644 | ||
12877f09 JDA |
3645 | 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3646 | ||
3647 | * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers | |
3648 | used for DImode and TImode. | |
3649 | ||
387f9e32 NB |
3650 | 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk> |
3651 | ||
3652 | * cpplex.c (_cpp_lex_direct): When in a directive at EOF | |
3653 | fake a newline. | |
3654 | ||
e1a0f69c ZW |
3655 | 2002-05-11 Zack Weinberg <zack@codesourcery.com> |
3656 | ||
3657 | * config/rs6000/rs6000.c (rs6000_default_long_calls, | |
3658 | rs6000_longcall_switch, rs6000_set_default_type_attributes): New. | |
3659 | (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it. | |
3660 | (rs6000_override_options): Handle -m(no-)longcall. | |
3661 | (init_cumulative_args, output_mi_thunk): Check for both | |
3662 | longcall and shortcall attributes on the function. | |
3663 | (rs6000_attribute_table): Add "shortcall". | |
3664 | (rs6000_handle_longcall_attribute): Update comment. | |
3665 | (altivec_expand_unop_builtin, altivec_expand_binop_builtin, | |
3666 | altivec_expand_ternop_builtin): Add default clauses to switches | |
3667 | to silence warnings. | |
3668 | ||
3669 | * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and | |
3670 | rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS. | |
3671 | (TARGET_OPTIONS): Add longcall and no-longcall. | |
3672 | ||
3673 | * config/rs6000/rs6000.md (call_nonlocal_sysv, | |
3674 | call_value_nonlocal_sysv): Split by alternatives. One pair | |
3675 | accepts only SYMBOL_REFs and rejects if CALL_LONG is set in | |
3676 | the call cookie. The other pair accepts only LR/CTR and has | |
3677 | no restriction. | |
3678 | ||
3679 | * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza): | |
3680 | Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to | |
3681 | tmake_file. | |
3682 | * config/rs6000/rs6000-c.c: New file. | |
3683 | * config/rs6000/t-rs6000-c-rule: New file. | |
3684 | * config/rs6000/rs6000-protos.c: Add multiple-include guard. | |
3685 | Prototype rs6000_pragma_longcall. | |
3686 | ||
3687 | * doc/extend.texi: Document shortcall attribute. | |
3688 | * doc/invoke.texi: Document -mlongcall, -mno-longcall. | |
3689 | ||
9c64026d JDA |
3690 | 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3691 | ||
3692 | * reorg.c (dbr_schedule): Remove unnecessary test. | |
3693 | ||
6c81a490 JH |
3694 | Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz> |
3695 | ||
3696 | * i386.md (testsi to testqi spliters): New. | |
3697 | ||
3698 | 2002-01-14 Josef Zlomek <zlomek@matfyz.cz> | |
3699 | ||
3700 | cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU. | |
3701 | ||
3702 | Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> | |
3703 | ||
3704 | * basic-block.h: New flag EDGE_CAN_FALLTHRU | |
3705 | * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges | |
3706 | that can be made fallthru. | |
3707 | ||
3708 | Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz> | |
3709 | ||
3710 | * cfglayout.c (cleanup_unconditional_jumps): New static function. | |
3711 | (cfg_layout_initialize): Use it. | |
4c476cf3 | 3712 | |
e4447d94 MM |
3713 | 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl> |
3714 | ||
3715 | * config/avr/avr.c (avr_mcu_types): Update supported devices. | |
3716 | * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. | |
3717 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
3718 | ||
3a538a66 KH |
3719 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
3720 | ||
3721 | * dbxout.c: Fix formatting. | |
3722 | * dependence.c: Likewise. | |
3723 | * df.c: Likewise. | |
3724 | * diagnostic.c: Likewise. | |
3725 | * doloop.c: Likewise. | |
3726 | * dominance.c: Likewise. | |
3727 | * doschk.c: Likewise. | |
3728 | * dwarf2asm.c: Likewise. | |
3729 | * dwarf2out.c: Likewise. | |
3730 | * dwarfout.c: Likewise. | |
3731 | ||
2292e8fc RH |
3732 | 2002-05-10 Richard Henderson <rth@redhat.com> |
3733 | ||
3734 | * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct. | |
3735 | Convert integers constants as needed. Replace "nwords" field with | |
3736 | "sizeof_bb". | |
3737 | (final): Save profile data if cfun->arc_profile, not profile_arc_flag. | |
3738 | * function.h: Fix typo in comment. | |
3739 | * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb". | |
3740 | ||
dbfb1116 RS |
3741 | 2002-05-10 Roger Sayle <roger@eyesopen.com> |
3742 | ||
3743 | * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127) | |
3744 | into the equivalent (signed char)c > 0. | |
3745 | ||
79a497cd JJ |
3746 | 2002-05-10 Janis Johnson <janis187@us.ibm.com> |
3747 | ||
3748 | * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New. | |
3749 | (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS. | |
3750 | (struct prefetch_info): Fix spelling of member bytes_accessed. | |
3751 | (emit_prefetch_instructions): Make dump messages more regular; | |
3752 | restructure code to add more dump messages; use new macros for | |
3753 | heuristics. (There are no code generation changes in any of this). | |
3754 | ||
6c45cb0d DM |
3755 | 2002-05-10 David S. Miller <davem@redhat.com> |
3756 | ||
7440af14 DM |
3757 | * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment. |
3758 | (struct rtx_def): Update unchanging flag comment. | |
3759 | * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description. | |
3760 | * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs | |
3761 | to be handled to INSN too. | |
3762 | (dbr_schedule): Likewise. | |
3763 | * resource.c (next_insn_no_annul): Likewise. | |
3764 | ||
6c45cb0d DM |
3765 | * cse.c (rtx_cost): Remove multiplication by power of 2 special |
3766 | casing. | |
3767 | ||
29f21e4f GP |
3768 | 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3769 | ||
3770 | * doc/install.texi (Specific, *-*-solaris2*): Update passus on | |
3771 | setting CONFIG_SHELL to /bin/ksh and remove alternate trick to | |
3772 | (possibly) work around broken /bin/sh. | |
3773 | ||
e4ba88da RO |
3774 | 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3775 | ||
3776 | * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and | |
3777 | . as N64/N32 libgcc_s.so subdirs. | |
3778 | ||
4f4778ee DM |
3779 | 2002-05-10 David S. Miller <davem@redhat.com> |
3780 | ||
3781 | * config/sparc/sparc.md: Use define_constants for unspec numbers. | |
cf40ea15 DM |
3782 | |
3783 | * rtl.h (struct rtx_def): Document unchanging and in_struct flags | |
3784 | more accurately. | |
3785 | (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix | |
3786 | comment. | |
3787 | (INSN_FROM_TARGET_P): Valid also for CALL_INSN. | |
3788 | * doc/rtl.texi: Document these macros more accurately. | |
3789 | * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for | |
3790 | JUMP_INSNs and CALL_INSNs. | |
3791 | * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P | |
3792 | or INSN_FROM_TARGET_P if the code is appropriate. | |
3793 | ||
1a499b92 MM |
3794 | 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl> |
3795 | ||
3796 | * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF | |
3797 | before using SYMBOL_REF_FLAG (addr). | |
3798 | ||
3799 | * config/avr/avr-protos.h (avr_io_address_p): Declare. | |
3800 | * config/avr/avr.c (io_address_p): Rename to avr_io_address_p. | |
3801 | Make non-static. Update all callers. | |
3802 | * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7): | |
3803 | New insns to clear/set/test a single bit in I/O address space. | |
3804 | ||
65212b66 KG |
3805 | 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3806 | ||
3807 | * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7. | |
3808 | ||
3df89291 NB |
3809 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
3810 | ||
3811 | * Makefile.in: Update. | |
3812 | * c-common.c (flag_iso, flag_undef, cb_register_builtins, | |
3813 | builtin_define_std): New. | |
3814 | (c_common_init): Register CPP builtins callback. | |
3815 | * c-common.h (flag_iso, flag_undef): New. | |
3816 | * c-decl.c (c_decode_option): Set flag_iso and flag_undef. | |
3817 | * c-lex.c: Don't include target.h. | |
3818 | (cb_register_builtins): Move to c-common.c. | |
3819 | (init_c_lex): Don't register hook here. | |
3820 | * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New. | |
3821 | (cpp_define, cpp_assert): Remove. | |
3822 | * gcc.c (cc1_options): Pass -undef to front end. | |
3823 | * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove. | |
3824 | (TARGET_INITIALIZER): Update. | |
3825 | * target.h (struct cpp_reader): Don't predeclare. | |
3826 | (struct gcc_target): Remove cpp builtin hook. | |
3827 | * tree.c (default_register_cpp_builtins): Remove. | |
3828 | doc: | |
3829 | * tm.texi: Update. | |
3830 | ||
32fa4565 NB |
3831 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
3832 | ||
3833 | * cppexp.c (_cpp_expand_op_stack): Set op_limit. | |
3834 | ||
23357c55 RO |
3835 | 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3836 | ||
3837 | * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
3838 | (SHLIB_LINK, SHLIB_INSTALL): Adjust. | |
3839 | ||
5aa26af0 JJ |
3840 | 2002-05-09 Jakub Jelinek <jakub@redhat.com> |
3841 | ||
3842 | * config/sparc/t-linux64 (SHLIB_MAPFILES): Set. | |
3843 | * config/sparc/libgcc-sparc-glibc.ver: New file. | |
3844 | * config/cris/t-linux (SHLIB_MAPFILES): Remove. | |
3845 | * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags. | |
3846 | ||
2937267b JJ |
3847 | 2002-05-09 Jakub Jelinek <jakub@redhat.com> |
3848 | ||
3849 | PR target/6429 | |
3850 | * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc. | |
3851 | * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s | |
3852 | shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for | |
3853 | base multilibs. | |
3854 | * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above. | |
3855 | * config/t-slibgcc-sld (SHLIB_LINK): Likewise. | |
3856 | * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
3857 | * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
3858 | ||
086c0f96 RH |
3859 | 2002-05-09 Richard Henderson <rth@redhat.com> |
3860 | ||
3861 | * config/ia64/ia64.md: Use define_constants for unspec numbers. | |
3862 | * config/ia64/ia64.c: Likewise. | |
3863 | ||
a8b4881f RS |
3864 | 2002-05-09 Richard Sandiford <rsandifo@redhat.com> |
3865 | ||
3866 | * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg. | |
3867 | (save_restore_insns): Likewise. | |
3868 | (mips_expand_prologue, mips_expand_epilogue): Update callers. | |
3869 | (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument. | |
3870 | ||
243e5500 | 3871 | Thu May 9 11:50:09 2002 Jeffrey A Law (law@redhat.com) |
890d52e8 | 3872 | |
af2728a4 JL |
3873 | * athlon.md, k6.md, pentium.md, ppro.md): New files. |
3874 | * i386.md: Move scheduling information into new files. | |
3875 | ||
890d52e8 JL |
3876 | * i386.md (type attribute): Add "rotate" for rotate insns. |
3877 | (rotate insns): Set type to "rotate". | |
3878 | (various attributes and function units): Treat rotate like shift. | |
3879 | (pent_pair attribute): Only rotates by one bit position are | |
3880 | pairable. | |
3881 | (sbb insns): Explicitly set pent_pair attribute on a couple | |
3882 | that were missing it. | |
3883 | ||
f78ec36a R |
3884 | Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3885 | ||
3886 | * sh.c (sh_builtin_saveregs): If starting with an odd fp register, | |
3887 | make sure that buffer starts on odd word address. | |
3888 | (sh_va_arg): Skip odd fp registers when reading a double precision | |
3889 | value. | |
3890 | ||
ff431459 NB |
3891 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
3892 | ||
3893 | * tree.h (preserve_data, object_permanent_p, type_precision): | |
3894 | Remove. | |
3895 | ||
c3bf3e6e NB |
3896 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
3897 | ||
3898 | * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison. | |
3899 | * cppmacro.c (paste_all_tokens): Bad pastes are a hard error. | |
3900 | doc: | |
3901 | * cpp.texi: Update for removal of obsolete features. | |
3902 | ||
02263a8a JH |
3903 | Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz> |
3904 | Jeffrey A Law (law@redhat.com) | |
3905 | ||
3906 | * i386.c (ia32_use_dfa_pipeline_interface): New function. Use | |
3907 | the DFA interface for Pentium processors. | |
3908 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE. | |
3909 | (attr_pent_pair, ix86_pent_find_pair): Remove. | |
3910 | (ix86_sched_reorder_pentium): Remove. | |
3911 | (ix86_sched_reorder): Remove reordering for Pentium. | |
3912 | * i386.md (Pentium scheduling): Rewrite using DFA description. | |
3913 | ||
3e638a90 JH |
3914 | Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz> |
3915 | ||
3916 | * cfganal.c (can_fallthru): Fix fast path. | |
3917 | * cfgrtl.c (verify_flow_info): Avoid crash on conditionals | |
3918 | with edges to the next block. | |
3919 | ||
b7c9bf28 JH |
3920 | Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz> |
3921 | Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> | |
3922 | ||
3923 | * final.c (end_final): Use C trees to output data structures for profiling. | |
3924 | ||
3925 | * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h | |
5692c7bc ZW |
3926 | (profile.o): New dependency profile.h |
3927 | (final.o): New dependency profile.h | |
3928 | * profile.h: New file. New global structure profile_info. | |
3929 | * final.h (count_edges_instrumented_now): Declare. | |
3930 | (current_function_cfg_checksum): Declare. | |
3931 | (function_list): New structure. | |
3932 | (functions_head, functions_tail): New static variables. | |
3933 | (end_final): Emits more data, removed some -ax stuff. | |
3934 | (final): Stores function names and chcksums. | |
3935 | * gcov-io.h (__write_gcov_string): New function. | |
3936 | (__read_gcov_string): New function. | |
3937 | * gcov.c (read_profile): New function. | |
3938 | (create_program_flow_graph): Uses read_profile instead of reading | |
b7c9bf28 | 3939 | da_file. |
5692c7bc ZW |
3940 | (read_files): Removed da_file checking, it's done by read_profile now. |
3941 | * libgcc2.c (bb_function_info): New structure. | |
3942 | (bb): New field in structure, removed some -ax stuff. | |
3943 | (__bb_exit_func): Changed structure of da_file. | |
3944 | * profile.c (count_edges_instrumented_now): New global variable. | |
3945 | (current_function_cfg_checksum): New global variable. | |
3946 | (max_counter_in_program): New global variable. | |
3947 | (get_exec_counts): New function. | |
3948 | (compute_checksum): New function. | |
3949 | (instrument_edges): Sets count_edges_instrumented_now. | |
3950 | (compute_branch_probabilities): Uses get_exec_counts instead of | |
b7c9bf28 | 3951 | reading da_file. |
5692c7bc ZW |
3952 | (branch_prob): Calls compute_checksum and writes extra data to bbg_file. |
3953 | (init_branch_prob): Removed da_file checking, done in get_exec_counts | |
b7c9bf28 | 3954 | now. |
5692c7bc | 3955 | (end_branch_prob): Removed da_file checking, done in get_exec_counts |
b7c9bf28 | 3956 | now. |
5692c7bc | 3957 | * gcov.texi: Updated information about gcov file format. |
b7c9bf28 | 3958 | |
786de7eb KH |
3959 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
3960 | ||
3961 | * sbitmap.c: Fix formatting. | |
3962 | * scan.c: Likewise. | |
3963 | * scan-decls.c: Likewise. | |
3964 | * sched-deps.c: Likewise. | |
3965 | * sched-ebb.c: Likewise. | |
3966 | * sched-rgn.c: Likewise. | |
3967 | * sched-vis.c: Likewise. | |
3968 | * sdbout.c: Likewise. | |
3969 | * sibcall.c: Likewise. | |
3970 | * simplify-rtx.c: Likewise. | |
3971 | * ssa.c: Likewise. | |
3972 | * ssa-ccp.c: Likewise. | |
3973 | * ssa-dce.c: Likewise. | |
3974 | * stmt.c: Likewise. | |
3975 | * stor-layout.c: Likewise. | |
3976 | * stringpool.c: Likewise. | |
3977 | ||
b7764693 DM |
3978 | 2002-05-09 David S. Miller <davem@redhat.com> |
3979 | ||
3980 | * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. | |
3981 | ||
4e7d5d27 DM |
3982 | 2002-05-07 David S. Miller <davem@redhat.com> |
3983 | ||
3984 | * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero. | |
3985 | * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one. | |
3986 | * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp | |
3987 | library implementation clobbers the output before the inputs | |
3988 | are fully consumed, use stack temporary for the output. | |
3989 | ||
f979570e JT |
3990 | 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com> |
3991 | ||
3992 | * config/netbsd.h (CPP_SPEC): Remove. | |
3993 | * config/i386/netbsd-elf.h (CPP_SPEC): Define. | |
3994 | * config/i386/netbsd.h (CPP_SPEC): Define. | |
3995 | * config/ns32k/netbsd.h (CPP_SPEC): Define. | |
3996 | * config/sparc/netbsd-elf.h (CPP_SPEC): Remove. | |
3997 | * config/sparc/netbsd.h (CPP_SPEC): Define. | |
3998 | * config/vax/netbsd.h (CPP_SPEC): Define. | |
3999 | ||
a6a2274a KH |
4000 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
4001 | ||
4002 | * read-rtl.c: Fix formatting. | |
4003 | * real.c: Likewise. | |
4004 | * recog.c: Likewise. | |
4005 | * regclass.c: Likewise. | |
4006 | * regmove.c: Likewise. | |
4007 | * reg-stack.c: Likewise. | |
4008 | * reload1.c: Likewise. | |
4009 | * reload.c: Likewise. | |
4010 | * resource.c: Likewise. | |
4011 | * rtlanal.c: Likewise. | |
4012 | * rtl.c: Likewise. | |
4013 | * rtl-error.c: Likewise. | |
4014 | ||
461b48d5 JDA |
4015 | 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4016 | ||
4017 | * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete. | |
4018 | * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete. | |
4019 | ||
95d075ff BS |
4020 | 2002-05-08 Bernd Schmidt <bernds@redhat.com> |
4021 | ||
4022 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to | |
4023 | use __SSE2__ macro instead. | |
4024 | * config/i386/xmmintrin.h: Likewise. | |
4025 | ||
2d4cc6a7 JJ |
4026 | 2002-05-08 Janis Johnson <janis187@us.ibm.com> |
4027 | ||
4028 | * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, | |
4029 | and use it in all invocations of these macros. Clean up comments. | |
4030 | * rtl.c (rtl_check_failed_flag): Add an argument for the name | |
4031 | of the flag access macro whose check failed. | |
4032 | * doc/rtl.texi (Flags): Document additional flag uses. | |
4033 | ||
3f8ffc7c RS |
4034 | 2002-05-08 Robert Spier <rspier@pobox.com> |
4035 | Neil Booth <neil@daikokuya.demon.co.uk> | |
4036 | ||
4037 | PR preprocessor/6521 | |
4038 | * cppfiles.c (handle_missing_header): Don't do anything | |
4039 | different for <> includes. | |
4040 | doc: | |
4041 | * cppopts.texi: Update documentation for -MG. | |
4042 | ||
b9e2d17b NB |
4043 | 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk> |
4044 | ||
4045 | * cpplex.c (cpp_interpret_charconst): Truncate as well as | |
4046 | sign-extend. | |
4047 | doc: | |
4048 | * cpp.texi: Clarify multichar charconst valuation. | |
4049 | ||
8d8269fa MM |
4050 | 2002-05-08 Mark Mitchell <mark@codesourcery.com> |
4051 | ||
4052 | * doc/invoke.texi: Document -mwindiss option. | |
4053 | ||
29b91443 JM |
4054 | 2002-05-08 Jason Merrill <jason@redhat.com> |
4055 | ||
4056 | * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs. | |
4057 | ||
4058 | * dwarf2out.c (gen_type_die): Abort on broken recursion. | |
4059 | ||
4060 | PR c++/6381 | |
4061 | * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and | |
4062 | REAL_CST. | |
4063 | ||
6c76b950 NC |
4064 | 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com> |
4065 | ||
4066 | * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/ | |
4067 | little-endian multilibs to override arm/thumb multilibs. | |
a5c76ee6 | 4068 | Do not build hardware floating point multilibs, nor apcs-26 |
6c76b950 NC |
4069 | multilibs for the Thumb. |
4070 | ||
f90bf7ca MM |
4071 | 2002-05-08 Mark Mitchell <mark@codesourcery.com> |
4072 | ||
4073 | PR c/6569. | |
4074 | * varasm.c (mark_weak): New function. | |
4075 | (merge_weak): Use it. Do not call declare_weak. | |
4076 | (declare_weak): Use merge_weak. | |
4077 | ||
1e150f2c JH |
4078 | Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
4079 | ||
4080 | * cse.c (dead_libcall_p): Update counts. | |
4081 | (delete_trivially_dead_insns): Update call of dead_libcall_p. | |
4082 | ||
969d70ca JH |
4083 | Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz> |
4084 | ||
4085 | * cfglayout.c (function_tail_eff_head): Rename to ... | |
4086 | (function_footer): ... this one. | |
4087 | (unlink_insn_chain): New functions. | |
4088 | (label_for_bb): Only call block_label and emit debug message. | |
4089 | (record_effective_endpoints): Actually unlink the headers and footers. | |
4090 | (fixup_reorder_cahin): Re-insert the unlinked sequences. | |
4091 | (cfg_layout_duplicate_bb): Use duplicate_insn_chain. | |
4092 | * cfglayout.h (struct reorder_block_def): New fields footer/header; | |
4093 | remove eff_head/eff_end. | |
4094 | * rtl.h (set_first_insn): Declare. | |
4095 | * emit-rtl.c (set_first_insn): New function. | |
4096 | ||
4097 | * cfglayout.c (fixup_reorder_chain): Dump duplicated | |
4098 | (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge, | |
4099 | cfg_layout_duplicate_bb): New global function. | |
4100 | (duplicate_insn_chain): New static function. | |
4101 | * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge, | |
4102 | cfg_layout_duplicate_bb): Declare. | |
4103 | (struct reorder_block_def): Add "original" field. | |
4104 | * emit-rtl.c (emit_copy_of_insn_after): New function. | |
4105 | * rtl.h (emit_copy_of_insn_after): Declare. | |
4106 | ||
4107 | * cfglayout.c (fixup_fallthru_exit_predecessor): Kill. | |
4108 | (fixup_reorder_chain): properly handle edges to exit block. | |
4109 | ||
4110 | Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
4111 | Jan Hubicka <jh@suse.cz> | |
4112 | ||
4113 | * basic-block.h (note_prediction_to_br_prob): declare. | |
4114 | * c-semantics.c: Inlucde predit.h | |
4115 | (expand_stmt): predict GOTO_STMT as not taken. | |
4116 | * cfgcleanup.c: (delete_unreachable_blocks): Make global. | |
4117 | (cleanup_cfg): Do not free tail_recursion_list. | |
4118 | * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION. | |
4119 | (flow_delete_block): Kill predictions past end of basic block. | |
4120 | * output.h (delete_unreachable_blocks): Declare. | |
4121 | * predict.c (predicted_by_p, process_note_predictions, | |
4122 | process_note_prediction, last_block_p): New function. | |
4123 | (estimate_probability): Bypass loop on PRED_CONTINUE; | |
4124 | do not handle noreturn heuristics; kill PRED_RETURN; add | |
4125 | PRED_EARLY_RETURN. | |
4126 | * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO, | |
4127 | PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New. | |
4128 | * predict.h (IS_TAKEN): New constant. | |
4129 | * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION. | |
4130 | * rtl.c (NOTE_INSN_PREDICTION): New. | |
4131 | * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS): | |
4132 | New macro. | |
4133 | (insn_note): add NOTE_INSN_PREDICTION. | |
4134 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build | |
4135 | CFG; free tail_recursion_label_list. | |
4136 | * stmt.c: Include predict.h; | |
4137 | (return_prediction): New. | |
4138 | (expand_value_return): Use it. | |
4139 | * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall. | |
4140 | ||
41f8d041 RS |
4141 | 2002-05-08 Richard Sandiford <rsandifo@redhat.com> |
4142 | ||
4143 | * config/mips/mips.md: Name the unspecs with define_constant. | |
4144 | (*HILO_delay): Rename to 'hilo_delay' (no star). | |
4145 | (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay. | |
4146 | (reload_outdi, reload_outsi): Likewise. | |
4147 | ||
9cabb1d8 KH |
4148 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
4149 | ||
4150 | * toplev.c: Fix formatting. | |
4151 | ||
4c76f856 JJ |
4152 | 2002-05-07 Janis Johnson <janis187@us.ibm.com> |
4153 | ||
4154 | * config.in (ENABLE_RTL_FLAG_CHECKING): New. | |
4155 | * configure.in (ac_rtlflag_checking): New. | |
4156 | * doc/install.texi (--enable-checking): Document RTL flag checking. | |
4157 | ||
44a147ad NB |
4158 | 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk> |
4159 | ||
4160 | * c-common.c (c_common_init): Set options->unsigned_wchar. | |
4161 | * cppinit.c (cpp_create_reader): Default unsigned_wchar, | |
4162 | group target dependencies. | |
4163 | (init_builtins, cpp_handle_option): Update. | |
4164 | * cpplex.c (cpp_interpret_charconst): Update. | |
4165 | * cpplib.h (struct cpp_options): Add unsigned_wchar, rename | |
4166 | signed_char to unsigned_char, group target dependencies. | |
4167 | * defaults.h (WCHAR_UNSIGNED): Remove. | |
4168 | * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison. | |
4169 | config: | |
4170 | * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h, | |
4171 | i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h, | |
4172 | i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h, | |
4173 | i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h, | |
4174 | sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED. | |
4175 | doc: | |
4176 | * tm.texi: Remove MAX_CHAR_TYPE_SIZE. | |
4177 | ||
cace4f93 MM |
4178 | 2002-05-07 Mark Mitchell <mark@codesourcery.com> |
4179 | ||
4180 | * fixinc/inclhack.def (windiss_math1): New fix. | |
4181 | (windiss_math2): Likewise. | |
4182 | (windiss_valist): Likewise. | |
4183 | * fixinc/fixincl.x: Regenerated. | |
4184 | ||
e2ff6cee AJ |
4185 | 2002-05-07 Andreas Jaeger <aj@suse.de> |
4186 | ||
4187 | * genautomata.c (output_internal_min_issue_delay_func): Add | |
4188 | ATTRIBUTE_UNUSED to avoid warning with empty dfa. | |
4189 | (output_internal_trans_func): Likewise. | |
4190 | ||
bdad4be5 JL |
4191 | Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com) |
4192 | ||
4193 | * pa.c (hppa_profile_hook): Use force_reg to get the address | |
4194 | of the profile hook into an appropriate pseudo register. | |
4195 | ||
a1ffecd9 MM |
4196 | 2002-05-07 Mark Mitchell <mark@codesourcery.com> |
4197 | ||
4198 | * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss. | |
4199 | (LINK_START_SPEC): Handle it. | |
4200 | (LINK_OS_SPEC): Likewise. | |
4201 | (CPP_SPEC): Likewise. | |
4202 | (STARTFILE_SPEC): Likewise. | |
4203 | (LIB_SPEC): Likewise. | |
4204 | (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on | |
4205 | all platforms. | |
4206 | (CRTSAVRES_DEFAULT_SPEC): New macro. | |
4207 | (LIB_WINDISS_SPEC): New macro. | |
4208 | (CPP_OS_WINDISS_SPEC): Likewise. | |
4209 | (STARTFILE_WINDISS_SPEC): Likewise. | |
4210 | (ENDFILE_WINDISS_SPEC): Likewise. | |
4211 | (LINK_START_WINDISS_SPEC): Likewise. | |
4212 | (LINK_OS_WINDISS_SPEC): Likewise. | |
4213 | * config/rs6000/windiss.h: New file. | |
e2ff6cee | 4214 | |
df966bff AH |
4215 | 2002-05-07 Aldy Hernandez <aldyh@redhat.com> |
4216 | ||
a5c76ee6 | 4217 | * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos. |
df966bff | 4218 | |
db84f1bd DM |
4219 | 2002-05-06 David S. Miller <davem@redhat.com> |
4220 | ||
4221 | * config/sparc/sparc.md (shift insns): Do not mask off | |
4222 | second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED | |
4223 | take care of it. | |
4224 | ||
818c0c94 RH |
4225 | 2002-05-06 Richard Henderson <rth@redhat.com> |
4226 | ||
4227 | PR c++/6212 | |
4228 | * expr.c (highest_pow2_factor_for_type): New. | |
4229 | (expand_assignment): Use it. | |
4230 | ||
61e0b50f AH |
4231 | 2002-05-06 Aldy Hernandez <aldyh@redhat.com> |
4232 | ||
818c0c94 RH |
4233 | * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to |
4234 | unspec_volatile. | |
4235 | ("altivec_mfvscr"): Same. | |
61e0b50f | 4236 | |
5a63e069 JJ |
4237 | 2002-05-06 Janis Johnson <janis187@us.ibm.com> |
4238 | ||
4239 | * rtl.h (struct rtx_def): Update comments. | |
4240 | (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare. | |
4241 | (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use | |
4242 | RTL_FLAG_CHECK macros with list of expected RTL codes. | |
4243 | * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro. | |
4244 | (rtl_check_failed_flag): New. | |
4245 | * reload1.c (reload): Use REG macro before changing rtx to MEM. | |
4246 | (reload_cse_noop_set_p): Check rtx code before using access macro. | |
4247 | * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code | |
4248 | before using access macro. | |
4249 | ||
4afe3952 JJ |
4250 | 2002-05-06 Janis Johnson <janis187@us.ibm.com> |
4251 | ||
4252 | * doc/rtl.texi (Flags): Update to reflect current usage. | |
4253 | ||
1f77b5da RS |
4254 | 2002-05-06 Roger Sayle <roger@eyesopen.com> |
4255 | ||
4256 | PR opt/3995 | |
4257 | * fold-const.c (sign_bit_p): New function. | |
4258 | (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and | |
818c0c94 | 4259 | (A & C) != 0 into A < 0, when constant C is the sign bit of A's type. |
1f77b5da RS |
4260 | Reapply fold when converting (A & C) == C into (A & C) != 0. |
4261 | (fold_binary_op_with_conditional_arg): Fix typo in comment. | |
4262 | ||
a5a49440 NB |
4263 | 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk> |
4264 | ||
4265 | * c-common.c (warn_multichar): New. | |
4266 | (c_common_init): Set CPP's warn_multichar. | |
4267 | * c-common.h (warn_multichar): New. | |
4268 | * c-decl.c (warn_multichar): Remove. | |
4269 | * c-lex.c (lex_charconst): Update. | |
4270 | * c-tree.h (warn_multichar): Remove. | |
4271 | * cppexp.c (eval_token): Sign-extend charconst value. | |
4272 | * cppinit.c (cpp_create_reader): Set warn_multichar. | |
4273 | * cpplex.c (cpp_interpret_charconst): Don't sign-extend | |
4274 | each character. Update prototype. Sign-extend the result. | |
4275 | * cpplib.h: Fix conditions. | |
4276 | (struct cpp_options): Add new warning flag. | |
4277 | (cpp_interpret_charconst): Update prototype. | |
4278 | doc: | |
4279 | * cpp.texi: Update documentation. | |
4280 | ||
83e0be55 VM |
4281 | 2002-05-06 Vladimir Makarov <vmakarov@redhat.com> |
4282 | ||
4283 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp): | |
4284 | Fix typo in usage of allof instead of unit. | |
4285 | ||
688ec718 RH |
4286 | 2002-05-06 Richard Henderson <rth@redhat.com> |
4287 | ||
4288 | * recog.c (if_test_bypass_p): Accept multiple set insns for OUT, | |
4289 | and any jump or call for IN. | |
4290 | ||
f6536266 BS |
4291 | 2002-05-06 Bernd Schmidt <bernds@redhat.com> |
4292 | ||
e2ff6cee | 4293 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if |
f6536266 BS |
4294 | -msse2. |
4295 | * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support. | |
e2ff6cee | 4296 | |
0316d49b RS |
4297 | 2002-05-06 Roger Sayle <roger@eyesopen.com> |
4298 | ||
4299 | * fold-const.c (lshift-double): Cast the high word to an unsigned | |
4300 | HOST_WIDE_INT when extracting sign bit to avoid compiler warning. | |
4301 | (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to | |
4302 | avoid compiler warning. (fold): Remove redundant code from | |
4303 | BIT_AND_EXPR as integer operands are canonicalized to be arg1. | |
4304 | ||
5d50fab3 JL |
4305 | 2002-05-06 Jeff Law <law@redhat.com> |
4306 | ||
4307 | * pa-protos.h (hppa_fpstore_bypass_p): Declare. | |
4308 | * pa.c (pa_adjust_cost): Remove all true dependency cost | |
4309 | adjustments. Also remove support for non-DFA scheduling. | |
4310 | * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism | |
4311 | to adjust true dependency costs. Update various comments. | |
4312 | (7100lc, 7200, 7300 scheduling): Simplify by combining the | |
4313 | FP ALU & MPY units into a single unit. | |
4314 | ||
a17a104c CM |
4315 | 2002-05-06 Catherine Moore <clm@redhat.com> |
4316 | ||
4317 | * config/v850/v850.c (compute_register_save_size): Make sure | |
818c0c94 | 4318 | to count all of the registers that will be saved. |
a17a104c | 4319 | |
7799175f JH |
4320 | Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
4321 | ||
4322 | * i386.c (q_regs_operand): Use ANY_QI_REGS_P. | |
4323 | ||
0ac941a0 DM |
4324 | 2002-05-06 David S. Miller <davem@redhat.com> |
4325 | ||
4326 | * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not | |
4327 | allow result to overlap input operands in memory. | |
4328 | ||
95ff5d3f NB |
4329 | 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk> |
4330 | ||
4331 | doc: | |
4332 | * cpp.texi: Update multichar charconst docs. | |
4333 | ||
639e8b0c NB |
4334 | 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk> |
4335 | ||
4336 | * cpplex.c (cpp_interpret_charconst): Sign-extend each | |
4337 | character. Don't ignore excess characters. Treat | |
4338 | multicharacter character constants as signed. | |
4339 | (cpp_parse_escape): Clarify diagnostic. | |
4340 | ||
84ea5bc1 JJ |
4341 | 2002-05-05 Jakub Jelinek <jakub@redhat.com> |
4342 | ||
4343 | * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx, | |
4344 | use add instead of shift. | |
4345 | (ashldi3_sp64): Likewise. | |
4346 | (ashlsi3_const1, ashldi3_const1): Remove. | |
4347 | * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand. | |
4348 | * config/sparc/sparc.c (const1_operand): New. | |
4349 | ||
40cd22f2 JT |
4350 | 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com> |
4351 | ||
4352 | * config.gcc (alpha*-*-netbsd*): Don't use crtstuff. | |
4353 | ||
cac01076 JJ |
4354 | 2002-05-05 Jakub Jelinek <jakub@redhat.com> |
4355 | ||
4356 | PR target/6561 | |
4357 | * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2. | |
4358 | ||
98791e3a RH |
4359 | 2002-05-05 Richard Henderson <rth@redhat.com> |
4360 | ||
4361 | * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but | |
4362 | memory latency adjustments. | |
4363 | (alpha_variable_issue): Remove. | |
4364 | (alpha_use_dfa_pipeline_interface): New. | |
4365 | (alpha_multipass_dfa_lookahead): New. | |
4366 | * config/alpha/alpha.md: Remove define_function_unit scheduling; | |
4367 | include new dfa scheduling. | |
4368 | (attr type): Add none. | |
4369 | (blockage): Use it. | |
4370 | * config/alpha/ev4.md: New. | |
4371 | * config/alpha/ev5.md: New. | |
4372 | * config/alpha/ev6.md: New. | |
4373 | ||
309527ce DM |
4374 | 2002-05-05 David S. Miller <davem@redhat.com> |
4375 | ||
4376 | * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL. | |
4377 | ||
68252e27 KH |
4378 | 2002-05-05 Kazu Hirata <kazu@cs.umass.edu> |
4379 | ||
4380 | * cse.c: Fix formatting. | |
4381 | * emit-rtl.c: Likewise. | |
4382 | ||
30cc9d00 VM |
4383 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
4384 | ||
4385 | * genautomata.c (initiate_states): Add additional guard to | |
4386 | initialize `units_array'. | |
4387 | ||
deb09eff VM |
4388 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
4389 | ||
4390 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp, | |
4391 | process_unit_to_form_the_same_automaton_unit_lists, | |
4392 | form_the_same_automaton_unit_lists | |
4393 | check_unit_distributions_to_automata): New prototypes and | |
4394 | functions. | |
4395 | (check_automata): Rename it into `check_automata_insn_issues'. | |
4396 | (unit_decl): New fields `the_same_automaton_unit' and | |
4397 | `the_same_automaton_message_reported_p'. | |
4398 | (unit_decl_t): New typedef. | |
4399 | (the_same_automaton_lists): New gloval variable. | |
4400 | (unit_regexp, unit_set_el, units_array, units_cmp, | |
4401 | output_get_cpu_unit_code_func): Use the typedef. | |
4402 | (evaluate_max_reserv_cycles): Increment | |
4403 | `description->max_insn_reserv_cycles'. | |
4404 | (initiate_states): Don't increment `max_cycles_num'. | |
4405 | (transform_insn_regexps): Move code around transformation of | |
4406 | regexps from `generate'. | |
4407 | (generate): Remove call of `transform_insn_regexps'. | |
4408 | (expand_automata): Call `transform_insn_regexps' and | |
4409 | `check_unit_distributions_to_automata'. Check errors before | |
4410 | `generate'. | |
4411 | ||
4412 | * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into | |
4413 | automaton `ultrasparc3_1'. | |
e2ff6cee | 4414 | |
2443d4e1 NB |
4415 | 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk> |
4416 | ||
4417 | * c-common.c (c_common_init): Set up CPP arithmetic. | |
4418 | * cppinit.c (cpp_create_reader): Default CPP arithmetic to | |
4419 | something reasonable for the host. | |
4420 | (sanity_checks): Add checks. | |
4421 | (cpp_read_main_file): Call sanity_checks() from here... | |
4422 | (cpp_post_options): ... not here. | |
4423 | * cpplex.c (cpp_interpret_charconst): Get max_chars right. | |
4424 | * cpplib.h (struct cpp_options): New member int_precision. | |
4425 | ||
791a949f FS |
4426 | 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4427 | ||
4428 | * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements. | |
4429 | ||
091fb516 DM |
4430 | 2002-05-04 David S. Miller <davem@redhat.com> |
4431 | ||
f60ebeb7 DM |
4432 | * config/sparc/linux.h, config/sparc/linux64.h |
4433 | (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice. | |
4434 | ||
214c6394 DM |
4435 | * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of |
4436 | more RTX codes. | |
4437 | * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes. | |
4438 | ||
091fb516 DM |
4439 | * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL |
4440 | of SETs. | |
4441 | ||
f2fdc802 TJ |
4442 | 2002-05-05 Tim Josling <tej@melbpc.org.au> |
4443 | ||
e2ff6cee | 4444 | * treelang; New directory for new sample language treelang. |
f2fdc802 | 4445 | |
3d90d290 NB |
4446 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
4447 | ||
4448 | * Makefile.in (c-lex.o): Update. | |
4449 | * c-lex.c: Include target.h. | |
4450 | (cb_register_builtins): New. | |
4451 | (init_c_lex): Set builtins callback. | |
4452 | * c-lex.h (cpp_define, cpp_assert): New prototypes. | |
4453 | * cppinit.c (init_builtins): Use callback, including for | |
4454 | GXX_WEAK. | |
4455 | * cpplib.h (struct cpp_callbacks): New member. | |
4456 | * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New. | |
4457 | (TARGET_INITIALIZER): Update. | |
4458 | * target.h (struct gcc_target): New hook. | |
4459 | * tree.c (default_register_cpp_builtins): New. | |
4460 | * tree.h (default_register_cpp_builtins): New. | |
4461 | doc: | |
4462 | * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document. | |
4463 | ||
625458d0 NB |
4464 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
4465 | ||
4466 | * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h | |
4467 | (cpp_post_options): Move sanity checks to... | |
4468 | (sanity_checks): New. | |
4469 | * cpplex.c (maybe_read_ucs): Fix prototype. | |
4470 | (parse_string, cpp_parse_escape): Cast for %c format specifier. | |
4471 | * cpplib.h (cppchar_t): Use unsigned long or unsigned long long | |
4472 | if necessary. | |
4473 | ||
916b60b7 BS |
4474 | 2002-05-04 Bernd Schmidt <bernds@redhat.com> |
4475 | ||
4476 | * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2 | |
4477 | builtins. Use V2DI patterns instead of TI for logical operations. | |
4478 | (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins. | |
4479 | Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps. | |
4480 | (ix86_expand_builtins): Change the pattern used for movntdq. | |
4481 | * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3, | |
4482 | sse2_nandv2di3): New patterns. | |
4483 | (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes | |
4484 | on operands. | |
4485 | (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted. | |
4486 | (cvtdq2pd): Correct mode on operand 1. | |
4487 | (sse2_umulsidi3): Describe without unspec. | |
4488 | (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate | |
4489 | machine modes. | |
4490 | (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec. | |
4491 | (ashlv2di3): Likewise, from sse2_ashlv2di3. | |
4492 | (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3, | |
4493 | ashlv4si3, ashlv2di3): Use SImode for shift count. | |
4494 | (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti, | |
4495 | lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti): | |
4496 | New patterns. | |
4497 | * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi): | |
4498 | New typedefs. | |
4499 | (__m128i, __m128d): New macros. | |
4500 | (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd, | |
4501 | _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd, | |
4502 | _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd, | |
4503 | _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd, | |
4504 | _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd, | |
e2ff6cee | 4505 | _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd, |
916b60b7 BS |
4506 | _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd, |
4507 | _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd, | |
e2ff6cee | 4508 | _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd, |
916b60b7 BS |
4509 | _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd, |
4510 | _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd, | |
4511 | _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd, | |
4512 | _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd, | |
4513 | _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps, | |
4514 | _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32, | |
4515 | _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32, | |
4516 | _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd, | |
4517 | _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd, | |
4518 | _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16, | |
4519 | _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32, | |
4520 | _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32, | |
4521 | _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64, | |
4522 | _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16, | |
4523 | _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64, | |
4524 | _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16, | |
4525 | _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16, | |
4526 | _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, | |
4527 | _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, | |
4528 | _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64, | |
4529 | _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32, | |
4530 | _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128, | |
4531 | _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32, | |
4532 | _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16, | |
4533 | _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8, | |
4534 | _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16, | |
4535 | _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd, | |
4536 | _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New | |
4537 | functions. | |
e2ff6cee | 4538 | (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32, |
916b60b7 BS |
4539 | _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros. |
4540 | ||
c26fbbca KH |
4541 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
4542 | ||
4543 | * dwarf2out.c: Fix formatting. | |
4544 | * varasm.c: Likewise. | |
4545 | ||
0387639b DE |
4546 | 2002-05-04 David Edelsohn <edelsohn@gnu.org> |
4547 | ||
4548 | PR c/6543 | |
4549 | * config/rs6000/rs6000.md (sCC pattern and splitter): Remove | |
4550 | clobber and use result as temporary value. | |
4551 | ||
8a28dbcc JH |
4552 | Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
4553 | ||
4554 | * expr.c (force_operand): Use expand_simple_* to handle more | |
4555 | cases. | |
4556 | ||
4268e8bb NB |
4557 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
4558 | ||
4559 | * c-lex.c (lex_string): Let cpp_parse_escape handles truncation | |
4560 | and sign-extension. | |
4561 | (lex_charconst): Update for change in prototype of | |
4562 | cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT | |
4563 | appropriately. | |
4564 | * cpphash.h (BITS_PER_CPPCHAR_T): New. | |
4565 | * cppinit.c (cpp_create_reader): Initialize them for no | |
4566 | change in semantics. | |
4567 | (cpp_post_options): Add sanity checks. | |
4568 | * cpplex.c (cpp_parse_escape): Handle precision, sign-extension | |
4569 | and truncation issues. Calculate in type cppchar_t. | |
4570 | (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove. | |
4571 | (cpp_interpret_charconst): Calculate in type cppchar_t. Handle | |
4572 | run-time dependent precision correctly. Return whether the | |
4573 | result is signed or not. | |
4574 | * cpplib.c (dequote_string): Use cppchar_t; update. | |
4575 | * cpplib.h (cppchar_signed_t): New. | |
4576 | struct cpp_options): New precision members. | |
4577 | (cpp_interpret_charconst, cpp_parse_escape): Update prototypes. | |
ae1a07e0 | 4578 | * cppexp.c (eval_token): Update. |
4268e8bb | 4579 | |
af54350e DM |
4580 | 2002-05-03 David S. Miller <davem@redhat.com> |
4581 | ||
2ce04b6b DM |
4582 | * config/sparc/sparc-protos.h (sparc_rtx_costs): New. |
4583 | * config/sparc/sparc.c (sparc_rtx_costs): New function | |
4584 | implementing RTX_COSTS and CONST_COSTS. | |
4585 | * config/sparc/sparc.h (CONST_COSTS): Delete. | |
4586 | (RTX_COSTS_CASES): Define. | |
4587 | (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do | |
4588 | the work. | |
4589 | ||
a1d9bd0c DM |
4590 | * config/sparc/sparc.md (DFA schedulers): Split out... |
4591 | * config/sparc/cypress.md, config/sparc/hypersparc.md, | |
4592 | config/sparc/sparclet.md, config/sparc/supersparc.md, | |
4593 | config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here. | |
4594 | ||
e87bb82e DM |
4595 | * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef |
4596 | checks on it, always defined for Sparc. | |
4597 | ||
af54350e DM |
4598 | * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): |
4599 | Tweak, and add more detailed comments. | |
4600 | ||
935bfb44 ZW |
4601 | 2002-05-03 Zack Weinberg <zack@codesourcery.com> |
4602 | ||
4603 | * Re-apply patch accidentally reverted with | |
4604 | DFA scheduler merge: remove all rules and variables to slurp | |
4605 | source files out of libiberty and rebuild them with HOST_CC. | |
4606 | ($(HOST_PREFIX_1)varray.o): New rule. | |
4607 | (genattrtab rule): Word wrap. | |
4608 | ||
fa7a0712 JT |
4609 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
4610 | ||
4611 | * config/i386/netbsd64.h (CPP_LP64_SPEC): Define. | |
4612 | (CPP_SUBTARGET_SPEC): Define. | |
4613 | (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and | |
4614 | cpp_subtarget specs. | |
4615 | (CPP_SPEC): Redefine to include %(cpp_subtarget). | |
4616 | ||
14c93978 DM |
4617 | 2002-05-03 David S. Miller <davem@redhat.com> |
4618 | ||
4619 | * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
4620 | * target.h (struct gcc_target): Delete cycle_display member. | |
4621 | ||
14d118d6 DM |
4622 | * config/ia64/ia64.c (ia64_emit_insn_before): Put it back. |
4623 | (rtx_needs_barrier): Delete reference to cycle_display unspec. | |
4624 | (ia64_sched_reorder2): Mention need for cycle display handling | |
4625 | once such notes exist. | |
935bfb44 | 4626 | |
b3ae1ccd RH |
4627 | 2002-05-03 Richard Henderson <rth@redhat.com> |
4628 | ||
4629 | * real.c (etoasc): Strip most trailing zeros for clarity. | |
4630 | * sched-vis.c: Include real.h. | |
4631 | (print_value): Use REAL_VALUE_TO_DECIMAL as needed. | |
4632 | * Makefile.in (sched-vis.o): Add real.h. | |
4633 | ||
8f39865a DM |
4634 | 2002-05-03 David S. Miller <davem@redhat.com> |
4635 | ||
4636 | * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, | |
4637 | no longer needed. | |
4638 | ||
b44140e7 AH |
4639 | 2002-05-03 Aldy Hernandez <aldyh@redhat.com> |
4640 | ||
935bfb44 ZW |
4641 | * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out |
4642 | when we get an out of range literal. | |
4643 | (altivec_expand_ternop_builtin): Same. | |
4644 | (altivec_expand_unop_builtin): Same. | |
4645 | (altivec_expand_builtin): Same, for dss. | |
4646 | (altivec_expand_builtin): Use trees instead of rtl when | |
4647 | determining literal argument validity. | |
b44140e7 | 4648 | |
aaaed752 DM |
4649 | 2002-05-03 David S. Miller <davem@redhat.com> |
4650 | ||
4651 | Delete cycle display scheduling hook. | |
4652 | * config/ia64/ia64.c (ia64_cycle_display, | |
4653 | TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete. | |
4654 | (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display | |
4655 | and use emit_insn_before instead of ia64_emit_insn_before. | |
4656 | * config/ia64/ia64.md (unspec usage): Delete cycle display. | |
4657 | (cycle_display): Delete insn pattern. | |
4658 | * config/sparc/sparc.md (unspec usage): Delete cycle display. | |
4659 | (cycle_display): Delete insn pattern. | |
4660 | * config/sparc/sparc.c (sparc_cycle_display, | |
4661 | TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
4662 | * doc/md.texi (cycle_display): Don't mention. | |
4663 | * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise. | |
935bfb44 | 4664 | |
b37c2614 RH |
4665 | 2002-05-03 Richard Henderson <rth@redhat.com> |
4666 | ||
4667 | * recog.c (store_data_bypass_p, if_test_bypass_p): New. | |
4668 | * recog.h: Declare them. | |
4669 | ||
4670 | * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove. | |
4671 | * config/sparc/sparc.md: Use store_data_bypass_p instead. | |
4672 | * config/sparc/sparc-protos.h: Update. | |
935bfb44 | 4673 | |
e1c1132e JT |
4674 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
4675 | ||
4676 | * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove | |
4677 | -D__arch64__. Add -D_LP64. | |
4678 | (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version | |
4679 | from sparc.h. | |
4680 | (CPP_ARCH64_SPEC): Likewise. | |
4681 | (NO_BUILTIN_PTRDIFF_TYPE): Undef. | |
4682 | (NO_BUILTIN_SIZE_TYPE): Undef. | |
4683 | ||
0b2fb0d7 VM |
4684 | 2002-05-03 Vladimir Makarov <vmakarov@redhat.com> |
4685 | ||
4686 | * genautomata.c (min_issue_delay_pass_states): Change return type | |
4687 | in the prototype. | |
4688 | (min_issue_delay_pass_states): Change the algorithm. | |
4689 | (min_issue_delay): Set up min_insn_issue_delay for the state. | |
4690 | (output_min_issue_delay_table): Interchange the nested loops and | |
4691 | and initiate min_insn_issue_delay for states. | |
935bfb44 | 4692 | |
3d4ce12a JH |
4693 | Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz> |
4694 | ||
4695 | * cfgcleanup.c (try_optimize_cfg): Call merge_block only when | |
4696 | jump is simplejump. | |
4697 | ||
4698 | Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz> | |
37ad04a5 JH |
4699 | |
4700 | * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops | |
4701 | sequence. | |
4702 | ||
b5482208 RH |
4703 | 2002-05-03 Richard Henderson <rth@redhat.com> |
4704 | ||
4705 | PR opt/6534 | |
4706 | * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, | |
4707 | noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove, | |
4708 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new | |
4709 | code before JUMP, not EARLIEST. | |
4710 | ||
5a3085c5 JM |
4711 | 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk> |
4712 | ||
4713 | * c-format.c (check_format_info_main): Don't check for presence of | |
4714 | parameter for * width until after operand number has been read, | |
4715 | and only check for it if format parameters are available. | |
4716 | Fixes PR c/6547. | |
4717 | ||
40039424 JT |
4718 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
4719 | ||
4720 | * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64. | |
4721 | (LINK_SPEC): Undef before defining. | |
4722 | ||
8157303b JJ |
4723 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
4724 | ||
4725 | PR preprocessor/6489 | |
4726 | * tradcpp.c (fixup_newlines): New. | |
4727 | (main, finclude): Use it. | |
4728 | ||
66319f5c RS |
4729 | 2002-05-03 Richard Sandiford <rsandifo@redhat.com> |
4730 | ||
4731 | * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section. | |
4732 | * config/mips/mips.c (mips_unique_section): Strip encoding from | |
4733 | decl name. | |
4734 | ||
ce8076ad JJ |
4735 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
4736 | ||
4737 | * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper | |
4738 | mode. | |
4739 | ||
975c6e4e RO |
4740 | 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4741 | ||
4742 | * doc/install.texi (Installing): Mention GCC 3.1 buildstats. | |
4743 | (Specific): Removed buildstats references. | |
4744 | (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0. | |
4745 | (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1. | |
4746 | Accomodate Solaris versions beyond 8. | |
4747 | (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1. | |
4748 | (Specific, *-*-solaris2.8): Removed, obsolete. | |
4749 | ||
d70e94ec JJ |
4750 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
4751 | ||
4752 | PR target/6542 | |
4753 | * config/sparc/sparc.h (leaf_reg_remap): Remove const. | |
4754 | (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make | |
4755 | fill leaf_reg_remap with identity. | |
4756 | * config/sparc/sparc.c (leaf_reg_remap): Remove const. | |
4757 | ||
6b148bd9 KH |
4758 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
4759 | ||
4760 | * config/h8300/crti.asm: Remove trailing spaces. | |
4761 | * config/h8300/h8300.c: Likewise. | |
4762 | * config/h8300/lib1funcs.asm: Likewise. | |
4763 | ||
609688f3 JM |
4764 | 2002-05-02 Jason Merrill <jason@redhat.com> |
4765 | ||
4766 | * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c. | |
4767 | * c-decl.c (c_init_decl_processing): Use it. | |
4768 | * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE. | |
4769 | * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define. | |
4770 | * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define. | |
4771 | ||
3b03c671 KH |
4772 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
4773 | ||
4774 | * regrename.c: Fix formatting. | |
4775 | * tree.c: Likewise. | |
4776 | ||
3b4961bd JH |
4777 | Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz> |
4778 | ||
4779 | * i386.md (attribute memory): Handle compares properly. | |
4780 | ||
19cba4a0 JH |
4781 | Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz> |
4782 | ||
3b4961bd | 4783 | * i386.md (sse_clrsf, sse_clrsi): Set memory attribute |
19cba4a0 JH |
4784 | to none. |
4785 | ||
797a6ac1 KH |
4786 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
4787 | ||
4788 | * function.c: Fix formatting. | |
4789 | ||
6d0de005 JH |
4790 | 2002-05-02 Jan Hubicka <jh@suse.cz> |
4791 | ||
4792 | * haifa-sched.c (schedule_insn): Print table of instructions and | |
4793 | reservations. | |
4794 | (sched_block): Do not print ready list at verbosity level 1. | |
4795 | * sched-vis.c (print_insn): Make global. | |
4796 | * sched-ebb.c (ebb_print_insn): Rename from... | |
4797 | (print_insn): ... this one. | |
4798 | * sched-int.h (print_insn): Declare | |
4799 | ||
0bfb9a69 RH |
4800 | 2002-05-02 Richard Henderson <rth@redhat.com> |
4801 | ||
4802 | * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn | |
4803 | emitted by cycle_display. | |
4804 | ||
6b976d99 LR |
4805 | 2002-05-02 Loren J. Rittle <ljrittle@acm.org> |
4806 | ||
4807 | * doc/install.texi (*-*-freebsd*): Update to latest status. | |
4808 | ||
0a295052 JJ |
4809 | 2002-05-02 Jakub Jelinek <jakub@redhat.com> |
4810 | ||
4811 | PR target/6540 | |
4812 | * config.gcc (sparc*-*-solaris2*): Set float_format to i128. | |
4813 | * config/float-sparc.h: Assume 128-bit long double if | |
4814 | __LONG_DOUBLE_128__ is defined. | |
4815 | ||
842d5d6c VM |
4816 | 2002-05-02 Vladimir Makarov <vmakarov@redhat.com> |
4817 | ||
4818 | * genattrtab.c (write_function_unit_info): Add a dummy element | |
4819 | when num_units == 0. | |
4820 | ||
3d7a6309 HB |
4821 | 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
4822 | ||
4823 | * predict.c: (propagate_freq, estimate_bb_frequencies): Use | |
4824 | TYPE_MODE (double_type_node) instead of DFmode. | |
4825 | ||
1b6763cf JH |
4826 | Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz> |
4827 | ||
4828 | * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed | |
4829 | jumps post reload. | |
4830 | * toplev.c (rest_of_compilation): Revert Richard's patch. | |
4831 | ||
b303008e JDA |
4832 | 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4833 | ||
4834 | * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS. | |
4835 | ||
6ed7412a CM |
4836 | 2002-05-02 Catherine Moore <clm@redhat.com> |
4837 | ||
4838 | * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20. | |
4839 | ||
e0a2f705 KH |
4840 | 2002-05-02 Kazu Hirata <kazu@hxi.com> |
4841 | ||
b32d6163 | 4842 | * combine.c: Fix comment typos. |
e0a2f705 KH |
4843 | * expr.c: Likewise. |
4844 | * genautomata.c: Likewise. | |
4845 | * stmt.c: Likewise. | |
4846 | * tree.h: Likewise. | |
4847 | ||
38e23049 JM |
4848 | 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk> |
4849 | ||
4850 | * doc/install.texi: State GNAT version requirements. | |
4851 | ||
40f4a97d NC |
4852 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
4853 | ||
4854 | * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form | |
4855 | of the frame pointer or arg pointer register which strict register | |
4856 | checking is not enabled. | |
4857 | ||
0d6d6892 AH |
4858 | 2002-05-02 Aldy Hernandez <aldyh@redhat.com> |
4859 | ||
b5482208 | 4860 | * gcc.dg/altivec-8.c: New. |
0d6d6892 | 4861 | |
b5482208 RH |
4862 | * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow |
4863 | PRE_INC and PRE_DEC for altivec modes. | |
0d6d6892 | 4864 | |
abaa8559 BK |
4865 | 2002-05-01 Bruce Korb <bkorb@gnu.org> |
4866 | ||
4867 | * fixinc/check.tpl(set-writable): make sure the function exists first | |
4868 | * fixinc/inclhack.def(alpha_assert): fix test_text | |
4869 | * fixinc/tests/base/assert.h: add in missing result | |
4870 | ||
ecab2143 JL |
4871 | 2002-05-01 Jeff Law <law@redhat.com> |
4872 | ||
4873 | * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the | |
4874 | 'T' constraint. | |
4875 | ||
ea619b46 JB |
4876 | 2002-05-01 Joel Brobecker <brobecker@gnat.com> |
4877 | ||
4878 | * dbxout.c (dbxout_type): Emit size information for range types, | |
4879 | as well, but only when using GDB extensions. | |
4880 | ||
c72931a6 RH |
4881 | 2002-05-01 Richard Henderson <rth@redhat.com> |
4882 | ||
4883 | * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with | |
4884 | target-independent gnu binutils date test. | |
4885 | ||
2150ad33 RH |
4886 | 2002-05-01 Richard Henderson <rth@redhat.com> |
4887 | ||
4888 | * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump | |
4889 | info before expunging the block. | |
4890 | ||
1651cc96 JJ |
4891 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
4892 | ||
4893 | * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here... | |
4894 | (cpp_post_options): ...but here. Disable -dD, -dN and -dI when | |
4895 | -M -or -MM is in effect. | |
4896 | ||
8998d5bf ZW |
4897 | 2002-05-01 Zack Weinberg <zack@codesourcery.com> |
4898 | ||
4899 | * config.gcc: Correct test of --enable-obsolete. Obsolete all | |
4900 | A29k configurations. | |
4901 | * doc/install.texi: Update to match. | |
4902 | ||
a81eed10 FS |
4903 | 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4904 | ||
4905 | PR bootstrap/6514 | |
4906 | * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check | |
4907 | for duplicates. Always loop over whole list. | |
4908 | ||
8d53318f RK |
4909 | Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4910 | ||
4911 | * reload.c (find_reloads, case 'p'): Set BADOP to 0. | |
4912 | ||
4109b118 JS |
4913 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
4914 | ||
4915 | * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly | |
4916 | support routines. | |
4917 | ||
c4a9c570 JS |
4918 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
4919 | ||
4920 | * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning. | |
4921 | ||
ea112fc4 DE |
4922 | 2002-05-01 David Edelsohn <edelsohn@gnu.org> |
4923 | ||
4924 | * rs6000.md (abssi2_nopower): Convert to define_insn_and_split. | |
4925 | (nabs_nopower): Same. | |
4926 | (floatdisf2): New pattern. | |
4927 | (absdi2): Convert to define_insn_and_split. | |
4928 | (nabsdi2): Same. | |
4929 | (trunctfsf2): Same. | |
4930 | (floatditf2): Same. | |
4931 | (floatsitf2): Same. | |
4932 | (fix_trunctfdi2): Same. | |
4933 | (fix_trunctfsi2): Same. | |
4934 | ||
dda78254 JM |
4935 | 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk> |
4936 | ||
4937 | * doc/install.texi: Update Texinfo version requirement | |
4938 | documentation. | |
4939 | ||
26aeede4 JJ |
4940 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
4941 | ||
4942 | PR target/6512, PR target/5628 | |
4943 | * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32 | |
4944 | when memory is not aligned. | |
4945 | (movdf_insn_v9only_vis): Likewise. | |
4946 | * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS | |
4947 | temporary for EXTRA_FP_REGS DFmode load from unaligned memory. | |
4948 | (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly. | |
4949 | ||
9b7bc465 AH |
4950 | 2002-05-01 Aldy Hernandez <aldyh@redhat.com> |
4951 | ||
8998d5bf | 4952 | * gcc.dg/altivec-7.c: New. |
9b7bc465 | 4953 | |
8998d5bf | 4954 | * config/rs6000/altivec.h: Cleanup. |
9b7bc465 | 4955 | |
08b57fb3 AH |
4956 | 2002-04-30 Aldy Hernandez <aldyh@redhat.com> |
4957 | ||
8998d5bf ZW |
4958 | * doc/invoke.texi (Option Summary): Add -mvrsave=. |
4959 | (RS/6000 and PowerPC Options): Document -mvrsave=. | |
08b57fb3 | 4960 | |
8998d5bf ZW |
4961 | * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global. |
4962 | (rs6000_altivec_vrsave_string): Same. | |
4963 | (rs6000_override_options): Call rs6000_parse_vrsave_option. | |
4964 | (rs6000_parse_vrsave_option): New. | |
4965 | (rs6000_stack_info): Only generate vrsave instructions when | |
4966 | TARGET_ALTIVEC_VRSAVE. | |
08b57fb3 | 4967 | |
8998d5bf ZW |
4968 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option. |
4969 | (rs6000_altivec_vrsave_string): Define extern. | |
4970 | (rs6000_altivec_vrsave): Same. | |
4971 | (TARGET_ALTIVEC_VRSAVE): New. | |
08b57fb3 | 4972 | |
8e8c38cd RH |
4973 | 2002-04-30 Richard Henderson <rth@redhat.com> |
4974 | ||
4975 | PR opt/6516 | |
4976 | * toplev.c (rest_of_compilation): Don't run cross-jump before | |
4977 | bb-reorder. | |
4978 | ||
4be9e9cb TR |
4979 | 2002-04-30 Tom Rix <trix@redhat.com> |
4980 | ||
8998d5bf | 4981 | * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity |
4be9e9cb TR |
4982 | check which_alternative. |
4983 | ||
1eeeb6a4 KH |
4984 | 2002-04-30 Kazu Hirata <kazu@hxi.com> |
4985 | ||
4986 | * cpplex.c: Fix comment formatting. | |
4987 | * function.c: Likewise. | |
4988 | * integrate.c: Likewise. | |
4989 | * regrename.c: Likewise. | |
4990 | * sibcall.c: Likewise. | |
4991 | * simplify-rtx.c: Likewise. | |
4992 | * tree-inline.c: Likewise. | |
4993 | ||
ed9d6ff9 JDA |
4994 | 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4995 | ||
4996 | * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*, | |
4997 | hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*, | |
4998 | hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*, | |
4999 | hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file. | |
5000 | * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete. | |
5001 | * pa/x-ada: New file. Define ADA_CFLAGS. | |
5002 | ||
1f2641b6 HPN |
5003 | 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com> |
5004 | ||
5005 | * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed | |
5006 | from MMIX_LAST_REGISTER_FILE_REGNUM. | |
5007 | (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment. | |
5008 | (struct machine_function): New member highest_saved_stack_register | |
5009 | previously static variable in mmix.c. | |
5010 | (MACHINE_DEPENDENT_REORG): Define. | |
5011 | * config/mmix/mmix.c (highest_saved_stack_register): Deleted. | |
5012 | (MMIX_OUTPUT_REGNO): New. | |
5013 | (mmix_target_asm_function_prologue): Move calculation of last used | |
5014 | saved-stack-register into... | |
5015 | (mmix_machine_dependent_reorg): New function. Update to also handle | |
5016 | !TARGET_ABI_GNU. | |
5017 | (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting | |
5018 | register names, simplify somewhat by new variable regno. | |
5019 | <case 'p'>: Remove fixed FIXME. Always emit highest used saved | |
5020 | register. | |
5021 | (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when | |
5022 | emitting register names. | |
5023 | (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto. | |
5024 | (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too. | |
5025 | Remove fixed FIXME. | |
5026 | * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): | |
5027 | Declare. | |
5028 | ||
5029 | * config/mmix/mmix.md ("divmoddi4"): Update head comment. | |
5030 | ||
73985940 RH |
5031 | 2002-04-30 Richard Henderson <rth@redhat.com> |
5032 | ||
5033 | * config/sparc/sparc.c (emit_soft_tfmode_libcall, | |
5034 | emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt, | |
5035 | emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop, | |
5036 | emit_tfmode_cvt): New. | |
5037 | * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2, | |
5038 | trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2, | |
5039 | fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2, | |
5040 | addtf3, subtf3, multf3, divtf3, sqrttf2): Use them. | |
5041 | * config/sparc/sparc-protos.h: Update. | |
5042 | ||
2b46bc67 JJ |
5043 | 2002-04-30 Janis Johnson <janis187@us.ibm.com> |
5044 | ||
5045 | * install.texi (Final install): Add to the list of info to include | |
5046 | in a report of a successful bootstrap, and add link to 3.1 list. | |
5047 | ||
3d34cd91 JH |
5048 | Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz> |
5049 | ||
5050 | * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1. | |
5051 | (mode): Add vector modes | |
5052 | (i387): Kill attribute. | |
5053 | (unit): New attribute. | |
5054 | (length_immediate): Grok new types. | |
5055 | (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX. | |
5056 | (modrm): Use "unit". | |
5057 | (memory): Handle MMX/SSE properly. | |
5058 | (scheduling descriptions): Kill uses of fop1. | |
5059 | (sse, mmx, fp patterns): Set type and mode properly. | |
5060 | ||
243e5500 | 5061 | Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@redhat.com) |
3193c415 | 5062 | |
30482eb0 JL |
5063 | * pa.c (override_options): Default to PA8000 scheduling. |
5064 | * doc/invoke.texi (HP-PA options): Mention newly added 7300 | |
5065 | scheduling parameter. | |
5066 | ||
3193c415 JL |
5067 | * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine |
5068 | handling of double precision multiplies. | |
5069 | ||
5070 | * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of | |
5071 | fpdiv and fpsqrt instructions. | |
5072 | (7200 & 7300 scheduling): Fix typo in handling of | |
5073 | store-load and store-store penalties. | |
5074 | ||
c0a34cb7 GP |
5075 | 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5076 | ||
5077 | * doc/contrib.texi (Contributors): Use MIPS instead of Mips and | |
5078 | mips. Add two missing commas. | |
5079 | ||
8bce0628 PC |
5080 | 2002-04-30 Paolo Carlini <pcarlini@unitus.it> |
5081 | ||
5082 | * doc/contrib.texi (Contributors): Update Paolo Carlini's | |
5083 | and Benjamin Kosnik's entries. | |
5084 | ||
84643cbf DM |
5085 | 2002-04-29 David S. Miller <davem@redhat.com> |
5086 | ||
5087 | * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK, | |
5088 | SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III. | |
5089 | * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise. | |
5090 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
5091 | ||
da6886f6 FS |
5092 | 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
5093 | ||
5094 | * combine.c (find_split_point): Use gen_int_mode. | |
5095 | ||
fae15c93 VM |
5096 | 2002-04-29 Vladimir Makarov <vmakarov@redhat.com> |
5097 | ||
5098 | Merging code from dfa-branch: | |
8998d5bf | 5099 | |
fae15c93 VM |
5100 | 2002-04-24 Vladimir Makarov <vmakarov@redhat.com> |
5101 | ||
5102 | * genautomata.c (output_reserv_sets): Fix typo. | |
5103 | ||
5104 | 2002-04-23 Vladimir Makarov <vmakarov@redhat.com> | |
5105 | ||
5106 | * genautomata.c (output_reserv_sets): Remove | |
5107 | next_cycle_output_flag. | |
5108 | ||
5109 | Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com) | |
5110 | ||
8998d5bf ZW |
5111 | * sched-rgn.c (init_ready_list): Make the DFA code handle |
5112 | USE/CLOBBER insns in the same way as the traditional | |
5113 | scheduler. | |
5114 | (new_ready): Similarly.. | |
fae15c93 VM |
5115 | |
5116 | 2002-04-17 Vladimir Makarov <vmakarov@redhat.com> | |
5117 | ||
5118 | * haifa-sched.c (schedule_block): Change the DFA state only after | |
5119 | issuing insn. | |
5120 | ||
5121 | Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com) | |
5122 | ||
5123 | * pa.c (hppa_use_dfa_pipeline_interface): New function. | |
5124 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define. | |
5125 | (override_options): Add PA7300 scheduling support. | |
5126 | (pa_adjust_cost): Update various comments. Properly | |
5127 | handle anti and output dependencies when using the | |
5128 | DFA scheduler. | |
5129 | (pa_issue_rate): Add PA7300 scheduling support. | |
5130 | (pa_can_combine_p): Call extract_insn before calling | |
5131 | constrain_operands (taken from mainline tree). | |
5132 | * pa.h (enum processor_type): Add PROCESSOR_PA7300. | |
5133 | * pa.md (cpu attr): Add 7300. Rewrite pipeline | |
5134 | descriptions using DFA descriptions. Add PA7300 | |
5135 | scheduling support. | |
5136 | ||
5137 | 2002-03-30 David S. Miller <davem@redhat.com> | |
5138 | ||
5139 | Add UltraSPARC-III DFA scheduling support. | |
5140 | * config/sparc/sparc.md (define_attr type): Add fpcrmove. | |
5141 | Update FP conditional move on register insn patterns to use it, as | |
5142 | appropriate. | |
5143 | (define_attr cpu): Add ultrasparc3. | |
5144 | (define_attr us3load_type): New, update integer load patterns to | |
5145 | set it, as appropriate. | |
5146 | (define_automaton): Add ultrasparc3_0 and ultrasparc3_1. | |
5147 | (rest): Add UltraSPARC3 scheduling description. | |
5148 | * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New. | |
5149 | (PROCESSOR_ULTRASPARC3): New. | |
5150 | ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3. | |
5151 | ({ASM,CPP}_CPU_SPEC): Likewise. | |
5152 | (REGISTER_MOVE_COST): Likewise. | |
5153 | (RTX_COSTS): Likewise. | |
5154 | * config/sparc/sparc.c (sparc_override_options, | |
5155 | sparc_initialize_trampoline, sparc64_initialize_trampoline, | |
5156 | sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
5157 | sparc_issue_rate): Likewise. | |
5158 | * config/sparc/sol2.h: Likewise. | |
5159 | * config/sparc/sol2-sld-64.h: Likewise. | |
5160 | * config/sparc/linux64.h: Likewise. | |
8998d5bf | 5161 | |
fae15c93 VM |
5162 | 2002-03-22 Vladimir Makarov <vmakarov@redhat.com> |
5163 | ||
5164 | * doc/md.texi: Add comments about usage the latency time for the | |
5165 | different dependencies and about case when two or more conditions | |
5166 | in different define_insn_reservations returns TRUE for an insn. | |
5167 | ||
5168 | * doc/md.texi: Add reference for automaton based pipeline | |
5169 | description. | |
8998d5bf | 5170 | |
fae15c93 VM |
5171 | 2002-03-04 Vladimir Makarov <vmakarov@redhat.com> |
5172 | ||
5173 | * doc/passes.texi: Add missed information about genattrtab. | |
5174 | ||
5175 | 2002-03-01 Vladimir Makarov <vmakarov@redhat.com> | |
5176 | ||
5177 | * genautomata.c (output_automata_list_transition_code): Check | |
5178 | automata_list on NULL. | |
5179 | ||
5180 | 2002-02-28 Vladimir Makarov <vmakarov@redhat.com> | |
5181 | ||
5182 | * genautomata.c (output_insn_code_cases, | |
5183 | output_automata_list_min_issue_delay_code, | |
5184 | output_automata_list_transition_code, | |
5185 | output_automata_list_state_alts_code): Comment the functions. | |
5186 | ||
5187 | 2002-02-22 Vladimir Makarov <vmakarov@redhat.com> | |
5188 | ||
5189 | * genautomata.c (automata_list_el_t): New typedef. | |
5190 | (get_free_automata_list_el,free_automata_list_el, | |
5191 | free_automata_list, automata_list_hash, automata_list_eq_p, | |
5192 | initiate_automata_lists, automata_list_start, automata_list_add, | |
5193 | automata_list_finish, finish_automata_lists, | |
5194 | output_insn_code_cases, output_automata_list_min_issue_delay_code, | |
5195 | output_automata_list_transition_code, | |
5196 | output_automata_list_state_alts_code, add_automaton_state, | |
5197 | form_important_insn_automata_lists): New functions and prototypes. | |
5198 | (insn_reserv_decl): Add members important_automata_list and | |
5199 | processed_p. | |
5200 | (ainsn): Add members important_p. | |
5201 | (automata_list_el): New structure. | |
5202 | (first_free_automata_list_el, current_automata_list, | |
5203 | automata_list_table): New global variables. | |
5204 | (create_ainsns): Initiate member important_p. | |
5205 | (output_internal_min_issue_delay_func): Generate the switch and | |
5206 | call output_insn_code_cases. | |
5207 | (output_internal_trans_func, output_internal_state_alts_func): | |
5208 | Ditto. | |
5209 | (generate): Call initiate_automata_lists. | |
5210 | (automaton_states): New global variable. | |
5211 | (expand_automata): Call form_important_insn_automata_lists. | |
5212 | (write_automata): Call finish_automata_lists. | |
8998d5bf | 5213 | |
fae15c93 VM |
5214 | 2002-02-21 Vladimir Makarov <vmakarov@redhat.com> |
5215 | ||
5216 | * genautomata.c (add_excls, add_presence_absence): Check that | |
8998d5bf | 5217 | cpu units in the sets belong the same automaton. |
fae15c93 VM |
5218 | |
5219 | * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment | |
5220 | about that cpu units in the sets belong the same automaton. | |
5221 | ||
5222 | * doc/md.texi: Ditto. | |
8998d5bf | 5223 | |
2799d721 VM |
5224 | 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com> |
5225 | Nitin Gupta <niting@noida.hcltech.com> | |
8998d5bf | 5226 | |
fae15c93 VM |
5227 | * config/sh/sh.c (sh_use_dfa_interface): New function. |
5228 | ||
5229 | (sh_issue_rate): New Function. | |
5230 | TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define. | |
5231 | TARGET_SCHED_ISSUE_RATE: define. | |
5232 | ||
5233 | * config/sh/sh.md: Add DFA based pipeline description for SH4. | |
5234 | ||
8998d5bf ZW |
5235 | (define_attr insn_class): New attribute used for DFA |
5236 | scheduling. | |
fae15c93 VM |
5237 | (define_insn cmpgtsi_t): Set attribute insn_class mt_group. |
5238 | (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t, | |
5239 | cmpeqdi_t): Likewise. | |
5240 | ||
5241 | (add,addc1,addsi3,subc,subc1,*subsi3_internal, | |
8998d5bf | 5242 | negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class |
fae15c93 VM |
5243 | ex_group. |
5244 | (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise. | |
8998d5bf | 5245 | |
fae15c93 VM |
5246 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> |
5247 | ||
5248 | * haifa-sched.c (queue_to_ready): Remove unnecessary condition for | |
5249 | break. | |
5250 | ||
5251 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> | |
5252 | ||
5253 | * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro. | |
5254 | (output_dfa_insn_code_func): Expand dfa_insn_codes if it is | |
5255 | necessary. | |
5256 | (output_dfa_start_func): Initiate new variable insn_codes_length, | |
5257 | (write_automata): Output definition of the new variable. | |
8998d5bf | 5258 | |
fae15c93 VM |
5259 | 2001-10-02 David S. Miller <davem@redhat.com> |
5260 | ||
5261 | * haifa-sched.c (advance_one_cycle): New function. | |
5262 | (schedule_block): Use it. | |
5263 | (queue_to_ready): Use it, and also make sure to advance the DFA | |
5264 | state on all stall cycles, not just those where insn_queue links | |
5265 | are found. | |
5266 | ||
5267 | 2001-10-02 Richard Sandiford <rsandifo@redhat.com> | |
5268 | ||
5269 | * haifa-sched.c (max_issue): Remove last_p argument. Only return | |
5270 | non-zero if the highest-priority instruction could be scheduled. | |
5271 | (choose_ready): Remove last argument from max_issue call. | |
5272 | ||
5273 | 2001-09-28 David S. Miller <davem@redhat.com> | |
5274 | ||
5275 | * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for | |
5276 | ultrasparc and 3 for other multi-issue sparcs. | |
5277 | ||
5278 | 2001-09-27 David S. Miller <davem@redhat.com> | |
5279 | ||
5280 | * config/sparc/sparc.md (cycle_display): New pattern. | |
5281 | * config/sparc/sparc.c (sparc_cycle_display): New. | |
5282 | (TARGET_SCHED_CYCLE_DISPLAY): Set it. | |
5283 | ||
5284 | 2001-09-25 David S. Miller <davem@redhat.com> | |
5285 | ||
5286 | Convert all of Sparc scheduling to DFA | |
5287 | * config/sparc/sparc.md: Kill all define_function_unit | |
5288 | directives and replace with DFA equivalent. | |
5289 | * config/sparc/sparc.c (ultrasparc_adjust_cost, | |
5290 | mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p, | |
5291 | ultra_fpmode_conflict_exists, ultra_find_type, | |
5292 | ultra_build_types_avail, ultra_flush_pipeline, | |
5293 | ultra_rescan_pipeline_state, ultrasparc_sched_reorder, | |
5294 | ultrasparc_variable_issue, ultrasparc_sched_init, | |
5295 | sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask, | |
5296 | ultra_schedule_insn, ultra_code_names, ultra_pipe_hist, | |
5297 | ultra_cur_hist, ultra_cycles_elapsed): Kill. | |
5298 | (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
5299 | ultrasparc_store_bypass_p): New. | |
5300 | * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p): | |
5301 | Declare. | |
5302 | ||
5303 | 2001-09-24 David S. Miller <davem@redhat.com> | |
5304 | ||
5305 | * haifa-sched.c (ready_remove): Fix thinko, we want to copy around | |
5306 | ready->vec[foo] not ready[foo]. | |
5307 | ||
5308 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
5309 | ||
5310 | * doc/md.texi: Correct examples for define_insn_reservations | |
5311 | `mult' and `div'. | |
5312 | ||
5313 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
5314 | ||
5315 | * genautomata.c (create_automata): Print message about creation of | |
5316 | each automaton. | |
5317 | (generate): Remove printing meease about creation of | |
5318 | automata. | |
5319 | ||
5320 | 2001-09-05 David S. Miller <davem@redhat.com> | |
5321 | ||
5322 | * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC. | |
5323 | * config/sparc/linux64.h: Likewise. | |
5324 | ||
5325 | 2001-08-31 Vladimir Makarov <vmakarov@redhat.com> | |
5326 | ||
5327 | * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready, | |
5328 | schedule_block, sched_init, sched_finish): Add missed calls of | |
5329 | use_dfa_pipeline_interface. | |
5330 | ||
5331 | * sched-rgn.c (init_ready_list, new_ready, debug_dependencies): | |
5332 | Ditto. | |
5333 | ||
5334 | * sched-vis.c (get_visual_tbl_length): Ditto. | |
8998d5bf | 5335 | |
fae15c93 VM |
5336 | 2001-08-27 Richard Henderson <rth@redhat.com> |
5337 | ||
5338 | * genattr.c (main): Emit state_t even when not doing scheduling. | |
5339 | ||
5340 | 2001-08-27 Richard Henderson <rth@redhat.com> | |
5341 | ||
5342 | * genautomata.c (expand_automata): Always create a description. | |
5343 | ||
5344 | 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> | |
5345 | ||
8998d5bf | 5346 | * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET, |
fae15c93 VM |
5347 | PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON, |
5348 | AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New | |
5349 | RTL constructions. | |
5350 | ||
5351 | * genattr.c (main): New variable num_insn_reservations. Increase | |
5352 | it if there is DEFINE_INSN_RESERVATION. Output automaton based | |
5353 | pipeline hazard recognizer interface. | |
5354 | ||
5355 | * genattrtab.h: New file. | |
5356 | ||
5357 | * genattrtab.c: Include genattrtab.h. | |
5358 | (attr_printf, check_attr_test, make_internal_attr, | |
5359 | make_numeric_value): Move protypes into genattrtab.h. Define them | |
5360 | as external. | |
5361 | (num_dfa_decls): New global variable. | |
5362 | (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, | |
5363 | DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET, | |
5364 | DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION, | |
5365 | DEFINE_INSN_RESERVATION. Call expand_automata and write_automata. | |
5366 | ||
5367 | * genautomata.c: New file. | |
5368 | ||
5369 | * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them. | |
5370 | ||
8998d5bf | 5371 | * sched-int.h: (curr_state): Add the external definition for |
fae15c93 VM |
5372 | automaton pipeline interface. |
5373 | (haifa_insn_data): Add comments for members blockage and units. | |
5374 | ||
5375 | * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
5376 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
5377 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
5378 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
5379 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
5380 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
5381 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New | |
5382 | macros. | |
5383 | (TARGET_SCHED): Use the new macros. | |
5384 | ||
5385 | * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn, | |
5386 | dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn, | |
5387 | first_cycle_multipass_dfa_lookahead, init_dfa_bubbles, | |
5388 | dfa_bubble): New members in gcc_target.sched. | |
5389 | ||
8998d5bf | 5390 | * haifa-sched.c (insert_schedule_bubbles_p): New variable. |
fae15c93 VM |
5391 | (MAX_INSN_QUEUE_INDEX): New macro for automaton interface. |
5392 | (insn_queue): Redefine it as pointer to array. | |
5393 | (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of | |
5394 | INSN_QUEUE_SIZE. | |
5395 | (max_insn_queue_index_macro_value): New variable. | |
5396 | (curr_state, dfa_state_size, ready_try): New varaibles for | |
5397 | automaton interface. | |
5398 | (ready_element, ready_remove, max_issue): New function prototypes | |
5399 | for automaton interface. | |
5400 | (choose_ready): New function prototype. | |
5401 | (insn_unit, blockage_range): Add comments. | |
5402 | (unit_last_insn, unit_tick, unit_n_insns): Define them for case | |
5403 | FUNCTION_UNITS_SIZE == 0. | |
5404 | (insn_issue_delay, actual_hazard_this_instance, schedule_unit, | |
5405 | actual_hazard, potential_hazard): Add comments. | |
5406 | (insn_cost): Use cost -1 as undefined value. Remove | |
5407 | LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton | |
5408 | pipeline interface. | |
5409 | (ready_element, ready_remove): New functions for automaton | |
5410 | interface. | |
5411 | (schedule_insn): Add new code for automaton pipeline interface. | |
5412 | (queue_to_ready): Add new code for automaton pipeline interface. | |
5413 | Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE. | |
5414 | (debug_ready_list): Print newline when the queue is empty. | |
5415 | (max_issue): New function for automaton pipeline interface. | |
5416 | (choose_ready): New function. | |
5417 | (schedule_block): Add new code for automaton pipeline interface. | |
5418 | Print ready list before scheduling each insn. | |
5419 | (sched_init): Add new code for automaton pipeline interface. | |
5420 | Initiate insn cost by -1. | |
5421 | (sched_finish): Free the current automaton state and finalize | |
5422 | automaton pipeline interface. | |
5423 | ||
5424 | * sched-rgn.c: Include target.h. | |
5425 | (init_ready_list, new_ready, debug_dependencies): Add new code for | |
5426 | automaton pipeline interface. | |
5427 | ||
5428 | * sched-vis.c: Include target.h. | |
5429 | (get_visual_tbl_length): Add code for automaton interface. | |
5430 | (target_units, print_block_visualization): Add comments. | |
5431 | ||
8998d5bf | 5432 | * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB, |
fae15c93 VM |
5433 | USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables. |
5434 | (sched-rgn.o, sched-vis.o): Add new dependency file target.h. | |
5435 | (getruntime.o, genautomata.o): New entries. | |
5436 | (genattrtab.o): Add new dependency file genattrtab.h. | |
5437 | (genattrtab): Add new dependencies. Link it with `libm.a'. | |
5438 | (getruntime.o, hashtab.o): New entries for canadian cross. | |
5439 | ||
5440 | * doc/md.texi: Description of automaton based model. | |
5441 | ||
5442 | * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST): | |
5443 | Add comments. | |
5444 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
5445 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
5446 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
5447 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
5448 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
5449 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
5450 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new | |
5451 | hook descriptions. | |
5452 | (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE, | |
5453 | MAX_DFA_ISSUE_RATE): New macro descriptions. | |
5454 | ||
5455 | * doc/contrib.texi: Add dfa based scheduler contribution. | |
5456 | ||
5457 | * doc/gcc.texi: Add more information about genattrtab. | |
5458 | ||
a2ff290c RK |
5459 | Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5460 | ||
5461 | * reload1.c (eliminate_regs, case SUBREG): Fix typo in | |
5462 | adjust_address_nv call. | |
5463 | ||
f97903cc JJ |
5464 | 2002-04-29 Janis Johnson <janis187@us.ibm.com> |
5465 | ||
5466 | * doc/install.texi (Testing): Provide additional information, and | |
5467 | a stronger encouragement, for running the testsuites. | |
5468 | ||
f41a6bf1 DD |
5469 | 2002-04-29 DJ Delorie <dj@redhat.com> |
5470 | ||
5471 | * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is | |
5472 | given in upper case. | |
5473 | ||
d8af0868 RO |
5474 | 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5475 | ||
5476 | * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in | |
5477 | Solaris 2 <widec.h> if missing. | |
5478 | * fixinc/fixincl.x: Regenerate. | |
5479 | * fixinc/tests/base/widec.h: New file. | |
5480 | ||
1034407f NC |
5481 | 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com> |
5482 | ||
5483 | * toplev.c (f_options): Add "profile" switch so that | |
5484 | -fno-profile can be used to disable -p. | |
5485 | ||
fbe5eb6d BS |
5486 | 2002-04-29 Bernd Schmidt <bernds@redhat.com> |
5487 | ||
5488 | * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode, | |
5489 | UV2DImode. | |
5490 | * tree.c (build_common_tree_nodes_2): Likewise. | |
5491 | * tree.h (enum tree_index): Likewise. | |
5492 | (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define. | |
5493 | ||
5494 | * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2 | |
5495 | entries. | |
5496 | (init_mmx_sse_builtins): Initialize SSE2 builtins. | |
5497 | (ix86_expand_builtin): Add support for SSE2 builtins. | |
5498 | * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro. | |
5499 | (VALID_SSE_REG_MODE): Use it. | |
5500 | (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well. | |
5501 | (enum ix86_builtins): Add SSE2 builtins. | |
5502 | * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal, | |
5503 | movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi, | |
5504 | addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3, | |
5505 | divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3, | |
5506 | sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2, | |
5507 | vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3, | |
5508 | vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb, | |
5509 | sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps, | |
5510 | cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi, | |
5511 | cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss, | |
5512 | cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3, | |
5513 | ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3, | |
5514 | subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3, | |
5515 | mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3, | |
5516 | sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3, | |
5517 | sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd, | |
5518 | sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3, | |
5519 | gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3, | |
5520 | ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3, | |
5521 | ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3, | |
5522 | sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw, | |
5523 | sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq, | |
5524 | sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd, | |
5525 | sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq, | |
5526 | sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd, | |
5527 | sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence, | |
5528 | lfence_insn): New patterns. | |
5529 | (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from | |
5530 | sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2. | |
5531 | ||
44aefada JH |
5532 | Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz> |
5533 | ||
5534 | * i386.md (sse_mov?fcc*): Revert patch of Mar 14th. | |
5535 | ||
d5482cdc GP |
5536 | 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5537 | ||
5538 | * doc/contrib.texi (Contributors): Add Paolo Carlini and | |
5539 | Janis Johnson. | |
5540 | Update Richard Henderson, Jakub Jelinek, and Mark Mitchell. | |
5541 | Refer to Objective-C instead of ObjC, SPARC instead of sparc, | |
5542 | and CPU instead of cpu. | |
5543 | ||
2c4b77f3 JH |
5544 | Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
5545 | ||
5546 | * toplev.c (flag_if_conversion, flag_if_conversion2): New static | |
5547 | variables. | |
5548 | (lang_independent_options): Add -fif-conversion, -fif-conversion2 | |
5549 | (rest_of_compilation): Do if conversion only when asked for. | |
5550 | (parse_options_and_default_flags): Set new variables to 1 for -O1 | |
5551 | * invoke.texi (-fif-conversion, -fif-conversion2): Document. | |
5552 | ||
3de72741 JH |
5553 | Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz> |
5554 | ||
5555 | * i386.c (dbx64_register_map): Fix typo. | |
5556 | ||
8aa18a7d JH |
5557 | Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz> |
5558 | ||
5559 | * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base, | |
5560 | real_one_half, real_bb_freq_max): New static variables. | |
5561 | (debug_profile_bbauxs): Kill. | |
5562 | (process_note_predictions): Kill unused variable. | |
5563 | (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of | |
5564 | volatile double. | |
5565 | (propagate_freq): Use REAL_ARITHMETICS. | |
5566 | (estimate_bb_frequencies): Likevise; init new static variables. | |
5567 | * Makefile.in (predict.o): Add dependency on real.h | |
5568 | ||
1bbad4c6 DM |
5569 | 2002-04-28 David S. Miller <davem@redhat.com> |
5570 | ||
5571 | PR target/6500 | |
5572 | * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs. | |
5573 | 64-bit TARGET_V9. Do not use prefetch page, use prefetch for | |
5574 | several {reads,writes} instead. | |
5575 | * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): | |
5576 | Define. | |
5577 | ||
3ef3f384 DM |
5578 | 2002-04-27 David S. Miller <davem@redhat.com> |
5579 | ||
5580 | PR target/6494 | |
5581 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful | |
5582 | of the stack bias. | |
5583 | ||
5584 | * config/sparc/linux.h, config/sparc/linux64.h: Don't bother | |
5585 | including signal.h and sys/ucontext.h, not needed. | |
5586 | ||
ec493bcb HPN |
5587 | 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com> |
5588 | ||
5589 | * varasm.c (output_constant_def): Correct test for not calling | |
5590 | ENCODE_SECTION_INFO for INTEGER_CST. | |
5591 | ||
60284a59 NB |
5592 | 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk> |
5593 | ||
5594 | * cppexp.c (lex): Move some code to _cpp_parse_expr, but | |
5595 | keep most cases as function eval_token. | |
5596 | (eval_token): New function. | |
5597 | (_cpp_parse_expr): Read token here for improved diagnostics. | |
5598 | Don't use op_as_text. Detect bad ':' here. | |
5599 | (reduce): Don't detect bad ':' here. | |
5600 | (op_as_text): Remove. | |
5601 | * cpphash.h (_cpp_test_assertion): Change prototype. | |
5602 | * cpplib.c (_cpp_test_assertion): Change prototype. | |
5603 | ||
349a4b40 RH |
5604 | 2002-04-28 Richard Henderson <rth@redhat.com> |
5605 | ||
5606 | PR c/5154 | |
8998d5bf | 5607 | * ggc-common.c (ggc_mark_rtx_children_1): Rename from... |
349a4b40 RH |
5608 | (ggc_mark_rtx_children): New. |
5609 | ||
7a03f82f JJ |
5610 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
5611 | ||
5612 | PR target/6496 | |
5613 | * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump | |
5614 | after call peepholes for UltraSPARC. | |
5615 | (call + jump 64-bit peepholes): Remove. | |
5616 | ||
80103f96 FS |
5617 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
5618 | ||
5619 | PR c/6497 | |
5620 | * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use | |
5621 | result as temporary value. | |
5622 | ||
06990986 JJ |
5623 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
5624 | ||
5625 | PR c++/6396 | |
5626 | * toplev.c (rest_of_compilation): Only run regrename and copy | |
5627 | propagation if optimizing. | |
5628 | ||
a20fd5ac JJ |
5629 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
5630 | ||
5631 | PR optimization/6475 | |
5632 | * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo | |
5633 | register of REGNO_DECL (i). | |
5634 | * Makefile.in (reload1.o): Add $(TREE_H). | |
5635 | ||
87ed109f NB |
5636 | 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk> |
5637 | ||
5638 | * cppexp.c (lex): Update to use state.skip_eval. | |
5639 | (struct op): Remove prio and flags members. | |
5640 | (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS, | |
5641 | SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove. | |
5642 | (LEFT_ASSOC): New macro. | |
5643 | (optab): New table of operator priorities and flags. | |
5644 | (SHIFT): Update. | |
5645 | (_cpp_parse_expr): Clean up logic. Return bool. Use a | |
5646 | malloc-ed parser stack. | |
5647 | (reduce): New; reduce the operator stack. | |
5648 | (_cpp_expand_op_stack): Expand the operator stack as necessary. | |
5649 | * cpphash.h (struct op): Predeclare. | |
5650 | (struct cpp_reader): New members op_stack, op_limit. | |
5651 | (struct lexer_state): New member skip_eval. | |
5652 | (_cpp_parse_expr): Update. | |
5653 | (_cpp_expand_op_stack): New. | |
5654 | * cpplib.c (do_if): Update. | |
5655 | * cppinit.c (cpp_create_reader): Create op stack. | |
5656 | (cpp_destroy): And destroy it. | |
5657 | * cpplib.h (CPP_LAST_CPP_OP): Correct. | |
5658 | (TTYPE_TABLE): Correct. | |
5659 | ||
45806a3f FS |
5660 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
5661 | ||
5662 | PR c/6343 | |
5663 | * c-decl.c (duplicate_decls): Call merge_weak. | |
5664 | * c-pragma.c (apply_pragma_weak): Warn about misuse. | |
5665 | * output.h (merge_weak): Prototype merge_weak. | |
5666 | * varasm.c (merge_weak): New function. | |
5667 | (declare_weak): Make sure we don't give an error on VAR_DECLs. | |
5668 | Mark RTL with SYMBOL_REF_WEAK. | |
5669 | ||
a6227154 KG |
5670 | 2002-04-27 Kurt Garloff <garloff@suse.de> |
5671 | ||
5672 | * tree-inline.c (inlinable_function_p): Improve heuristics | |
5673 | by using a smoother function to cut down allowable inlinable size. | |
5674 | * param.def: Add parameters max-inline-insns-single, | |
5675 | max-inline-slope, min-inline-insns that determine the exact | |
5676 | shape of the above function. | |
5677 | * param.h: Likewise. | |
5678 | ||
94a50397 RH |
5679 | 2002-04-26 Richard Henderson <rth@redhat.com> |
5680 | ||
5681 | * c-parse.in (malloced_yyss, malloced_yyvs): New. | |
5682 | (yyoverflow): Re-add. Set them. | |
5683 | (free_parser_stacks): New. | |
5684 | * c-common.h: Declare it. | |
5685 | * c-lex.c (c_common_parse_file): Call it. | |
5686 | ||
9c0a0632 RH |
5687 | 2002-04-26 Richard Henderson <rth@redhat.com> |
5688 | ||
5689 | * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn | |
5690 | for fallthru search. | |
5691 | ||
b875d2ee EC |
5692 | 2002-04-26 Eric Christopher <echristo@redhat.com> |
5693 | ||
5694 | PR optimization/3700 | |
5695 | * config/mips/mips.c (mips_issue_rate): Define. New function. | |
5696 | (TARGET_SCHED_ISSUE_RATE): Use. | |
5697 | ||
1db828df DM |
5698 | 2002-04-25 David S. Miller <davem@redhat.com> |
5699 | ||
5700 | PR target/6422 | |
5701 | * reorg.c (optimize_skip): Do not allow exception causing | |
5702 | instructions to be considered for delay slots. | |
5703 | (fill_simply_delay_slots, fill_slots_from_thread): Likewise. | |
5704 | (relax_delay_slots): Do not try to consider exception causing | |
5705 | instructions as redundant. | |
5706 | ||
ae5d234e RH |
5707 | 2002-04-26 Richard Henderson <rth@redhat.com> |
5708 | ||
5709 | PR c/5225 | |
5710 | * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue. | |
5711 | ||
7d793e9b MM |
5712 | 2002-04-26 Mark Mitchell <mark@codesourcery.com> |
5713 | ||
5714 | PR bootstrap/6445 | |
5715 | * config/i386/i386.md (untyped_call): Return the value in a float | |
5716 | register if TARGET_FLOAT_RETURNS_IN_80387, not just if | |
5717 | TARGET_80387. | |
5718 | ||
b13ab42c AO |
5719 | 2002-04-26 Alexandre Oliva <aoliva@redhat.com> |
5720 | ||
5721 | * tree.c (tree_int_cst_lt): Compare constants whose types differ | |
5722 | in unsigned-ness correctly. | |
5723 | ||
5e56f909 JDA |
5724 | 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5725 | ||
5726 | * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the | |
5727 | portable runtime model. | |
5728 | ||
bde3c0c0 RH |
5729 | 2002-04-26 Richard Henderson <rth@redhat.com> |
5730 | ||
a6227154 | 5731 | * c-parse.in (yyoverflow): Revert. |
bde3c0c0 | 5732 | |
5276df18 DE |
5733 | 2002-04-26 David Edelsohn <edelsohn@gnu.org> |
5734 | Richard Henderson <rth@redhat.com> | |
5735 | ||
5736 | * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use | |
5737 | result as temporary value. | |
5738 | ||
b84a3874 RH |
5739 | 2002-04-26 Richard Henderson <rth@redhat.com> |
5740 | ||
5741 | PR c/3581 | |
5742 | * c-common.c (fix_string_type): Split out of ... | |
5743 | (combine_strings): ... here. Take a varray, not a tree list. | |
5744 | (c_expand_builtin_printf): Use fix_string_type. | |
5745 | * c-common.h: Update decls. | |
5746 | * c-parse.in (string): Remove. Update all uses to use STRING | |
5747 | instead, and not call combine_strings. | |
5748 | (yylexstring): New. | |
5749 | (_yylex): Use it. | |
5750 | * c-typeck.c (simple_asm_stmt): Don't call combine_strings. | |
5751 | (build_asm_stmt): Likewise. | |
5752 | * objc/objc-act.c (my_build_string): Use fix_string_type. | |
5753 | (build_objc_string_object): Build varray for combine_strings. | |
5754 | ||
d8ae8cd4 BT |
5755 | 2002-04-26 Bo Thorsen <bo@suse.co.uk> |
5756 | ||
5757 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for | |
5758 | x86-64. | |
5759 | ||
f8b954fc NB |
5760 | 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk> |
5761 | ||
5762 | * cppexp.c (CPP_UMINUS, CPP_UPLUS): New. | |
5763 | (HAVE_NO_R_OPERAND): Remove. | |
5764 | (HAVE_VALUE): Remove. | |
5765 | (op_to_prio): Update. | |
5766 | (UNARY): Don't alter flags. | |
5767 | (_cpp_parse_expr): want_value used to indicate whether | |
5768 | a number or unary operator is expected next. Distinguish | |
5769 | unary and binary +/-. | |
5770 | (op_as_text): Update for unary operators. | |
5771 | ||
6052bef0 RH |
5772 | 2002-04-25 Richard Henderson <rth@redhat.com> |
5773 | ||
5774 | PR c/2161 | |
5775 | * c-parse.in (yyoverflow): New. | |
5776 | ||
5c5b2283 RH |
5777 | 2002-04-25 Richard Henderson <rth@redhat.com> |
5778 | ||
5779 | PR c/2098 | |
5780 | * c-common.c (shorten_compare): Simplfy conditions leading to | |
5781 | the generation of a warning. | |
5782 | ||
28ce94d4 RH |
5783 | 2002-04-25 Richard Henderson <rth@redhat.com> |
5784 | ||
5785 | PR c/2035 | |
5786 | * expmed.c (extract_bit_field): Fall through to generic code rather | |
5787 | than aborting on subreg special case. | |
5788 | ||
6bfd0c63 DM |
5789 | 2002-04-25 David S. Miller <davem@redhat.com> |
5790 | ||
5791 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check | |
5792 | for DECL being NULL. | |
5793 | ||
7a430e3b SC |
5794 | 2002-04-25 Steve Christiansen <smc@us.ibm.com> |
5795 | ||
5796 | * doc/md.texi (Machine Constraints): Add IA-64 constraints. | |
5797 | ||
45c42d7d EB |
5798 | 2002-04-25 Eric Botcazou <ebotcazou@multimania.com> |
5799 | ||
5800 | * c-decl.c (grokdeclarator): Remove outdated ??? note | |
5801 | on invalid declaration of flexible array members. | |
5802 | ||
eb7715a4 RH |
5803 | 2002-04-25 Richard Henderson <rth@redhat.com> |
5804 | ||
5805 | * doc/invoke.texi: Document -gdwarf{,-2} vs debug level. | |
5806 | ||
cf5ee720 UW |
5807 | 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5808 | ||
5809 | * config/s390/s390.c (s390_emit_epilogue): Always restore registers | |
5810 | needed by the compiler, even if they are used as global regs. | |
5811 | ||
d604bca3 MH |
5812 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
5813 | ||
5814 | * mips.c (mips_class_max_nregs, mips_register_move_cost): New | |
5815 | functions. | |
5816 | * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls | |
5817 | of the corresponding functions. | |
5818 | * mips-protos.h (mips_class_max_nregs, mips_register_move_cost): | |
5819 | New prototypes. | |
b875d2ee | 5820 | |
d604bca3 MH |
5821 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
5822 | ||
5823 | * config/mips/mips.h (mips_sw_reg_names): Declare as extern. | |
5824 | ||
5825 | (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro. | |
5826 | (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor | |
5827 | registers, adjust comment accordingly. | |
5828 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, | |
5829 | reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES, | |
5830 | DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries | |
5831 | for coprocessor registers. | |
5832 | (ADDITIONAL_REGISTER_NAMES): Include | |
5833 | ALL_COP_ADDITIONAL_REGISTER_NAMES. | |
b875d2ee | 5834 | |
d604bca3 MH |
5835 | (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM, |
5836 | COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM, | |
5837 | COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM, | |
5838 | COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P, | |
5839 | COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros. | |
5840 | ||
5841 | (mips_char_to_class): Adjust comment to include coprocessor | |
5842 | constraint letters. | |
5843 | ||
5844 | * config/mips/mips.c (coprocessor_operand, coprocessor2_operand): | |
5845 | New functions. | |
5846 | (mips_reg_names, mips_regno_to_class): Include coprocessor | |
5847 | information. | |
5848 | (mips_sw_reg_names): Ditto, make non-static. | |
5849 | (mips_move_1word): Handle moves to and from coprocessor registers. | |
5850 | (mips_move_2words): Handle moves to and from coprocessor | |
5851 | registers. | |
5852 | (mips_class_max_nregs, mips_register_move_cost): Handle | |
5853 | coprocessor register classes. | |
5854 | (override_options): Initialize mips_char_to_class and | |
5855 | mips_hard_regno_mode_ok properly for coprocessor registers. | |
5856 | ||
5857 | * config/mips/mips.md (movdi_internal, movdi_internal2, | |
5858 | movsi_internal1, movsi_internal2): Add constraint-sets for | |
5859 | coprocessor registers. | |
5860 | * testsuite/gcc.c-torture/mipscop-1.c: New testcase. | |
5861 | * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target | |
5862 | isn't mips. | |
5863 | * testsuite/gcc.c-torture/mipscop-2.c: New testcase. | |
5864 | * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target | |
5865 | isn't mips. | |
5866 | * testsuite/gcc.c-torture/mipscop-3.c: New testcase. | |
5867 | * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target | |
5868 | isn't mips. | |
5869 | * testsuite/gcc.c-torture/mipscop-4.c: New testcase. | |
5870 | * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target | |
5871 | isn't mips. | |
b875d2ee | 5872 | |
d604bca3 MH |
5873 | * doc/tm.texi: Document feature. |
5874 | ||
b9a26d09 NB |
5875 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
5876 | ||
5877 | * integrate.c (function_attribute_inlinable_p): Simplify. | |
5878 | Check the table pointer is not NULL. | |
5879 | ||
ab5973b7 SB |
5880 | 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl> |
5881 | ||
5882 | * doc/c-tree.texi: Fix typo in introduction. | |
5883 | ||
ff45c01e NB |
5884 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
5885 | ||
5886 | * c-common.h (c_common_parse_file): Update. | |
5887 | * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
5888 | * c-lex.c (YYDEBUG): Get from c-lex.h. | |
5889 | (c_common_parse_file): Update. | |
5890 | * c-lex.h (YYDEBUG, yydebug): New. | |
5891 | * c-parse.in (YYDEBUG): Get from c-lex.h. | |
5892 | (c_set_yydebug): Remove. | |
5893 | * c-tree.h (c_set_yydebug): Remove. | |
5894 | * langhooks-def.h (lhd_do_nothing_i): New. | |
5895 | (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove. | |
5896 | (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update. | |
5897 | * langhooks.c (lhd_do_nothing_i): New. | |
5898 | (lhd_set_yydebug): Remove. | |
5899 | * langhooks.h (struct lang_hooks): Update. | |
5900 | * toplev.c (set_yydebug): New. | |
5901 | (compile_file): Update call to parse_file hook. | |
5902 | (decode_d_option): Update. | |
5903 | objc: | |
5904 | * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
5905 | ||
fcae219a R |
5906 | Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5907 | ||
5908 | * loop.c (load_mems): Don't change the interface of called functions. | |
5909 | ||
5910 | * calls.c (expand_call): Take current_function_pretend_args_size | |
5911 | into account when setting argblock for sibcalls. | |
5912 | ||
d0fea45a MH |
5913 | 2002-04-24 Matt Hiller <hiller@redhat.com> |
5914 | ||
5915 | * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS. | |
5916 | * c-lex.c: Ditto. | |
5917 | ||
5918 | * cpplex.c (skip_line_comment): Process comment one multibyte | |
5919 | character at a time rather than one char at a time, if | |
5920 | appropriate. | |
5921 | (parse_string): Process string one multibyte character at a time | |
5922 | rather than one char at a time, if appropriate. | |
5923 | * c-lex.c (lex_string): Lex and copy multibyte strings | |
5924 | appropriately. | |
5925 | * cpplib.h (cppchar_t): Change to unsigned. | |
5926 | ||
2d1b5436 RH |
5927 | 2002-04-24 Richard Henderson <rth@redhat.com> |
5928 | ||
5929 | PR c/3467 | |
5930 | * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays | |
5931 | for c99. | |
5932 | ||
5e039e6b R |
5933 | Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5934 | ||
5935 | * sh.c (sh_va_arg): If argument was passed by reference, | |
5936 | dereference the pointer. | |
309d8365 R |
5937 | |
5938 | * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
51214775 R |
5939 | |
5940 | * sh.md (divsi3_i4_media): Use match_operand for input values | |
5941 | rather than hard registers. | |
5942 | (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values | |
5943 | unnecessarily through hard registers. Keep copies of pseudo | |
5944 | registers outside of the libcall sequence. | |
5945 | ||
5946 | * sh.md (casesi_shift_media): Add modes. | |
b700634a R |
5947 | |
5948 | * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode | |
5949 | values in memory. | |
5950 | ||
349ae713 NB |
5951 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
5952 | ||
5953 | * attribs.c (c_common_attribute_table): Move table and handlers | |
5954 | to c-common.c. | |
5955 | (format_attribute_table, lang_attribute_table, | |
5956 | lang_attribute_common): Remove. | |
5957 | (init_attributes): Replace NULL pointers with pointers to the | |
5958 | empty table. | |
5959 | (handle_packed_attribute, handle_nocommon_attribute, | |
5960 | handle_common_attribute, handle_noreturn_attribute, | |
5961 | handle_noinline_attribute, handle_always_inline_attribute, | |
5962 | handle_used_attribute, handle_unused_attribute, | |
5963 | handle_const_attribute, handle_transparent_union_attribute, | |
5964 | handle_constructor_attribute, handle_destructor_attribute, | |
5965 | handle_mode_attribute, handle_section_attribute, | |
5966 | handle_aligned_attribute, handle_weak_attribute, | |
5967 | handle_alias_attribute, handle_visibility_attribute, | |
5968 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
5969 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
5970 | handle_deprecated_attribute, handle_vector_size_attribute, | |
5971 | vector_size_helper): Move to c-common.c. | |
5972 | * c-common.c (c_common_attribute_table, | |
5973 | handle_packed_attribute, handle_nocommon_attribute, | |
5974 | handle_common_attribute, handle_noreturn_attribute, | |
5975 | handle_noinline_attribute, handle_always_inline_attribute, | |
5976 | handle_used_attribute, handle_unused_attribute, | |
5977 | handle_const_attribute, handle_transparent_union_attribute, | |
5978 | handle_constructor_attribute, handle_destructor_attribute, | |
5979 | handle_mode_attribute, handle_section_attribute, | |
5980 | handle_aligned_attribute, handle_weak_attribute, | |
5981 | handle_alias_attribute, handle_visibility_attribute, | |
5982 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
5983 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
5984 | handle_deprecated_attribute, handle_vector_size_attribute, | |
5985 | vector_size_helper): Move from attribs.c. | |
5986 | * c-common.h (c_common_attribute_table, | |
5987 | c_common_format_attribute_table): New. | |
5988 | * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
5989 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
5990 | * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, | |
5991 | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New. | |
5992 | (LANG_HOOKS_INITIALIZER): Update. | |
5993 | * langhooks.h (struct lang_hooks): 3 new attribute hooks. | |
5994 | * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL. | |
5995 | * target.h: Update comment. | |
5996 | * tree.c (default_target_attribute_table): Remove. | |
5997 | * tree.h (default_target_attribute_table, format_attribute_table, | |
5998 | lang_attribute_table, lang_attribute_common): Remove. | |
5999 | objc: | |
6000 | * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
6001 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
6002 | ||
84f0ace0 JM |
6003 | 2002-04-24 Jason Merrill <jason@redhat.com> |
6004 | ||
6005 | * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector. | |
6006 | * dwarf2out.c (dwarf_attr_name): Support it. | |
6007 | (gen_array_type_die): Emit it. | |
6008 | (lookup_type_die): No special handling for VECTOR_TYPE. | |
6009 | (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die. | |
6010 | ||
120eaf28 RH |
6011 | 2002-04-24 Richard Henderson <rth@redhat.com> |
6012 | ||
6013 | * config/mips/mips.md (movdi_usd): Renumber. | |
6014 | ||
e732178c DM |
6015 | 2002-04-24 David S. Miller <davem@redhat.com> |
6016 | ||
6017 | PR target/6420 | |
6018 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if | |
6019 | 32-bit Sparc and current_function_returns_struct is true. | |
6020 | ||
e879eb2f JH |
6021 | Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
6022 | ||
6023 | * loop.c (canonicalize_condition): Use gen_int_mode. | |
6024 | ||
4287a893 AH |
6025 | 2002-04-24 Aldy Hernandez <aldyh@redhat.com> |
6026 | ||
6027 | * config/rs6000/altivec.h: Cleanup file. Add non individual | |
6028 | variants. | |
6029 | (vec_vaddubm): New. | |
6030 | (vec_vadduhm): New. | |
6031 | (vec_vadduwm): New. | |
6032 | (vec_vaddfp): New. | |
6033 | (vec_vaddcuw): New. | |
6034 | (vec_vaddubs): New. | |
6035 | (vec_vaddsbs): New. | |
6036 | (vec_vadduhs): New. | |
6037 | (vec_vadduws): New. | |
6038 | (vec_vaddsws): New. | |
6039 | (vec_vand): New. | |
6040 | (vec_vandc): New. | |
6041 | (vec_vavgub): New. | |
6042 | (vec_vavgsb): New. | |
6043 | (vec_vavguh): New. | |
6044 | (vec_vavgsh): New. | |
6045 | (vec_vavguw): New. | |
6046 | (vec_vavgsw): New. | |
6047 | (vec_vrfip): New. | |
6048 | (vec_vcmpbfp): New. | |
6049 | (vec_vcmpequb): New. | |
6050 | (vec_vcmpequh): New. | |
6051 | (vec_vcmpequw): New. | |
6052 | (vec_vcmpeqfp): New. | |
6053 | (vec_vcmpgefp): New. | |
6054 | (vec_vcmpgtub): New. | |
6055 | (vec_vcmpgtsb): New. | |
6056 | (vec_vcmpgtuh): New. | |
6057 | (vec_vcmpgtsh): New. | |
6058 | (vec_vcmpgtuw): New. | |
6059 | (vec_vcmpgtsw): New. | |
6060 | (vec_vcmpgtfp): New. | |
6061 | (vec_vcmpgefp): New. | |
6062 | (vec_vcfux): New. | |
6063 | (vec_vcfsx): New. | |
6064 | (vec_vctsxs): New. | |
6065 | (vec_vctuxs): New. | |
6066 | (vec_vexptefp): New. | |
6067 | (vec_vrfim): New. | |
6068 | (vec_lvx): New. | |
6069 | (vec_lvebx): New. | |
6070 | (vec_lvehx): New. | |
6071 | (vec_lde): Add vector float variant. | |
6072 | (vec_lvewx): New. | |
6073 | (vec_lvxl): New. | |
6074 | (vec_vlogefp): New. | |
6075 | (vec_vmaddfp): New. | |
6076 | (vec_vmhaddshs): New. | |
6077 | (vec_vmaxub): New. | |
6078 | (vec_vmaxsb): New. | |
6079 | (vec_vmaxuh): New. | |
6080 | (vec_vmaxsh): New. | |
6081 | (vec_vmaxuw): New. | |
6082 | (vec_vmaxsw): New. | |
6083 | (vec_vmaxsw): New. | |
6084 | (vec_vmaxfp): New. | |
6085 | (vec_vmrghb): New. | |
6086 | (vec_vmrghh): New. | |
6087 | (vec_vmrghw): New. | |
6088 | (vec_vmrglb): New. | |
6089 | (vec_vmrglh): New. | |
6090 | (vec_vmrglw): New. | |
6091 | (vec_vminub): New. | |
6092 | (vec_vminsb): New. | |
6093 | (vec_vminuh): New. | |
6094 | (vec_vminsh): New. | |
6095 | (vec_vminuw): New. | |
6096 | (vec_vminsw): New. | |
6097 | (vec_vminfp): New. | |
6098 | (vec_vmladduhm): New. | |
6099 | (vec_vmhraddshs): New. | |
6100 | (vec_msumubm): New. | |
6101 | (vec_vmsummbm): New. | |
6102 | (vec_vmsumuhm): New. | |
6103 | (vec_vmsumshm): New. | |
6104 | (vec_vmsumuhs): New. | |
6105 | (vec_vmsumshs): New. | |
6106 | (vec_vmuleub): New. | |
6107 | (vec_vmulesb): New. | |
6108 | (vec_vmuleuh): New. | |
6109 | (vec_vmulesh): New. | |
6110 | (vec_vmuloub): New. | |
6111 | (vec_mulosb): New. | |
6112 | (vec_vmulouh): New. | |
6113 | (vec_vmulosh): New. | |
6114 | (vec_vnmsubfp): New. | |
6115 | (vec_vnor): New. | |
6116 | (vec_vor): New. | |
6117 | (vec_vpkuhum): New. | |
6118 | (vec_vpkuwum): New. | |
6119 | (vec_vpkpx): New. | |
6120 | (vec_vpkuhus): New. | |
6121 | (vec_vpkshss): New. | |
6122 | (vec_vpkuwus): New. | |
6123 | (vec_vpkswss): New. | |
6124 | (vec_vpkshus): New. | |
6125 | (vec_vpkswus): New. | |
6126 | (vec_vperm): New. | |
6127 | (vec_vrefp): New. | |
6128 | (vec_vrlb): New. | |
6129 | (vec_vrlh): New. | |
6130 | (vec_vrlw): New. | |
6131 | (vec_vrfin): New. | |
6132 | (vec_vrsqrtefp): New. | |
6133 | (vec_vsel): New. | |
6134 | (vec_vslb): New. | |
6135 | (vec_vslh): New. | |
6136 | (vec_vslw): New. | |
6137 | (vec_vsldoi): New. | |
6138 | (vec_vsl): New. | |
6139 | (vec_vslo): New. | |
6140 | (vec_vspltb): New. | |
6141 | (vec_vsplth): New. | |
6142 | (vec_vspltw): New. | |
6143 | (vec_vspltisb): New. | |
6144 | (vec_vspltish): New. | |
6145 | (vec_vspltisw): New. | |
6146 | (vec_vsrb): New. | |
6147 | (vec_vsrh): New. | |
6148 | (vec_vsrw): New. | |
6149 | (vec_vsrab): New. | |
6150 | (vec_vsrah): New. | |
6151 | (vec_vsraw): New. | |
6152 | (vec_vsr): New. | |
6153 | (vec_vsro): New. | |
6154 | (vec_stvx): New. | |
6155 | (vec_stvebx): New. | |
6156 | (vec_stvehx): New. | |
6157 | (vec_stvewx): New. | |
6158 | (vec_stvxl): New. | |
6159 | (vec_vsububm): New. | |
6160 | (vec_vsubuhm): New. | |
6161 | (vec_vsubuwm): New. | |
6162 | (vec_vsubfp): New. | |
6163 | (vec_vsubcuw): New. | |
6164 | (vec_vsububs): New. | |
6165 | (vec_vsubsbs): New. | |
6166 | (vec_vsubuhs): New. | |
6167 | (vec_vsubshs): New. | |
6168 | (vec_vsubuws): New. | |
6169 | (vec_vsubsws): New. | |
6170 | (vec_vsum4ubs): New. | |
6171 | (vec_vsum4sbs): New. | |
6172 | (vec_vsum4shs): New. | |
6173 | (vec_vsum2sws): New. | |
6174 | (vec_vsumsws): New. | |
6175 | (vec_vrfiz): New. | |
6176 | (vec_vupkhsb): New. | |
6177 | (vec_vupkhpx): New. | |
6178 | (vec_vupkhsh): New. | |
6179 | (vec_vupklsb): New. | |
6180 | (vec_vupklpx): New. | |
6181 | (vec_vupklsh): New. | |
6182 | (vec_vxor): New. | |
6183 | ||
cff27795 EB |
6184 | 2002-04-23 Eric Botcazou <ebotcazou@multimania.com> |
6185 | ||
6186 | PR c/5430 | |
6187 | * fold-const.c (split_tree): Add MINUS_LITP parameter; separate | |
6188 | added literals from substracted literals. | |
6189 | (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR. | |
6190 | (fold) [associate]: Preserve MINUS_EXPR if needed. | |
6191 | ||
952bca84 ZW |
6192 | 2002-04-23 Zack Weinberg <zack@codesourcery.com> |
6193 | ||
6194 | * doc/install.texi: Clarify which versions of alpha*-dec-osf* | |
6195 | are obsoleted. | |
6196 | ||
50cb2154 TT |
6197 | 2002-04-23 Tom Tromey <tromey@redhat.com> |
6198 | ||
6199 | * gcc.c: Added --resource. For PR java/6314. | |
6200 | ||
271f61fb DB |
6201 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
6202 | ||
9566d1e9 | 6203 | * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg. |
271f61fb DB |
6204 | * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of |
6205 | these libraries. | |
6206 | ||
bdabbc80 DB |
6207 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
6208 | ||
6209 | * config/freebsd.h(OBJECT_FORMAT_ELF): Define. | |
6210 | ||
74411039 JH |
6211 | Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
6212 | ||
6213 | * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug | |
6214 | workaround. | |
6215 | (ix86_expand_int_movcc): Avoid x86_64 compilation chrash. | |
6216 | (ix86_expand_clrstr): Fix typo. | |
6217 | * loop.c (gen_load_of_final_value): New. | |
6218 | (loop_givs_rescan, strength_reduce, check_dbra_loop): | |
6219 | Use it. | |
6220 | ||
1a887f86 RS |
6221 | 2002-04-23 Roger Sayle <roger@eyesopen.com> |
6222 | ||
6223 | * builtins.c (builtin_memset_gen_str): New function. | |
6224 | (expand_builtin_memset): Optimize the case of constant length, but | |
6225 | unknown value. | |
6226 | ||
8d3441e0 AH |
6227 | 2002-04-23 Aldy Hernandez <aldyh@redhat.com> |
6228 | ||
cff27795 EB |
6229 | * config/rs6000/altivec.h (vec_step): Remove extraneous |
6230 | parentheses. | |
6231 | (vec_ctu): Cast return. | |
8d3441e0 | 6232 | |
f6f315fe AM |
6233 | 2002-04-23 Alan Modra <amodra@bigpond.net.au> |
6234 | ||
6235 | PR target/6413 | |
6236 | * function.h: (struct function): Add profile_label_no field. | |
6237 | (current_function_profile_label_no): Define. | |
6238 | * function.c: (profile_label_no): New static var. | |
6239 | (expand_function_start): Increment it, and copy to | |
6240 | current_function_profile_label_no. | |
6241 | * output.h (profile_label_no): Delete. | |
6242 | * final.c (profile_label_no): Delete. | |
6243 | (profile_function): Use current_function_profile_label_no. | |
6244 | (final_end_function): Don't increment profile_label_no here. | |
6245 | * config/i386/i386.c (ix86_osf_output_function_prologue): Replace | |
6246 | profile_label_no with current_function_profile_label_no. | |
6247 | * config/pa/pa.c (current_function_number): Delete. | |
6248 | (pa_output_function_prologue): Don't output profile label here. | |
6249 | (hppa_profile_hook): Use label_no param rather than | |
6250 | current_function_number. | |
6251 | (FUNC_BEGIN_PROLOG_LABEL): Move to .. | |
6252 | * config/pa/pa.h: .. here. | |
6253 | (FUNCTION_PROFILER): Output profile label here. | |
6254 | ||
d239cdc0 EC |
6255 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
6256 | ||
6257 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert | |
6258 | patch of 2002-04-09 due to binutils issues. | |
6259 | (FUNCTION_ARG_REGNO_P): Ensure even numbered float register. | |
6260 | ||
04428ad4 AH |
6261 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
6262 | ||
cff27795 EB |
6263 | * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm' |
6264 | constraint to 'o' for m=r and r=m alternatives. | |
6265 | ("*movv8hi_internal1"): Same. | |
6266 | ("*movv16qi_internal1"): Same. | |
6267 | ("*movv4sf_internal1"): Same. | |
04428ad4 | 6268 | |
2adc7f12 JJ |
6269 | 2002-04-22 Janis Johnson <janis187@us.ibm.com> |
6270 | ||
6271 | * rtl.h (RTX_FLAG): New macro. | |
6272 | * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags. | |
6273 | * final.c (alter_subreg): Use macro to access rtx flag. | |
6274 | * integrate.c (copy_rtx_and_substitute): Use new access macro. | |
6275 | * print-rtl.c (print_rtx): Use new access macro. | |
6276 | ||
6277 | * cse.c (insert): Check rtx code before accessing flag. | |
6278 | ||
6279 | * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P, | |
6280 | ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New. | |
6281 | (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test, | |
6282 | convert_const_symbol_ref, make_canonical, make_alternative_compare, | |
6283 | evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp, | |
6284 | simplify_test_exp, optimize_attrs, simplify_by_exploding, | |
6285 | find_and_mark_used_attributes, unmark_used_attributes, | |
6286 | add_values_to_cover, simplify_with_current_value, | |
6287 | simplify_with_current_value_aux, clear_struct_flag, walk_attr_value, | |
6288 | copy_rtx_unchanging, main): Use new access macros. | |
6289 | ||
b7c89afe TR |
6290 | 2002-04-22 Tom Rix <trix@redhat.com> |
6291 | ||
6292 | * expmed.c (init_expmed): Generate shifted constant once. | |
6293 | ||
9340544b ZW |
6294 | 2002-04-22 Zack Weinberg <zack@codesourcery.com> |
6295 | ||
6296 | * c-lex.c (lex_charconst): Call convert to get constant in | |
6297 | proper type; don't just smash the type field. | |
6298 | Fixes PR c/6300. | |
6299 | ||
6300 | * config.gcc: Add list of obsolete configurations. Disallow | |
6301 | building these without --enable-obsolete. | |
6302 | * doc/install.texi: Document --enable-obsolete and obsoletion | |
6303 | policy. Mention obsoletion of individual targets in | |
6304 | appropriate places. | |
6305 | ||
f942d7a5 RH |
6306 | 2002-04-22 Richard Henderson <rth@redhat.com> |
6307 | ||
6308 | * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New. | |
6309 | ||
6310 | 2002-04-22 Mark Mitchell <mark@codesourcery.com> | |
8ed8f731 MM |
6311 | |
6312 | PR f/6138. | |
6313 | * function.c (fixup_memory_subreg): Add promoted_mode parameter. | |
6314 | (walk_fixup_memory_subreg): Likewise. | |
6315 | (fixup_var_refs_insn): Adjust accordingly. | |
6316 | (fixup_var_refs_1): Likewise. | |
6317 | ||
232b0b45 UW |
6318 | 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com> |
6319 | ||
6320 | * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, | |
6321 | LIBPATH_ARCH64_SPEC): Define. | |
6322 | (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64. | |
6323 | (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath. | |
6324 | (LINK_ARCH31_SPEC): Add libpath_arch31 to search path. | |
6325 | (LINK_ARCH64_SPEC): Add libpath_arch64 to search path. | |
6326 | ||
1b61552b JS |
6327 | 2002-04-22 Joel Sherrill <joel@OARcorp.com> |
6328 | ||
6329 | * gthr-rtems.h: Correct prototypes to remove warnings. | |
6330 | ||
0fe854a7 RH |
6331 | 2002-04-22 Richard Henderson <rth@redhat.com> |
6332 | ||
6333 | PR c/6344 | |
6334 | * alias.c (canon_true_dependence): Special case (mem:blk (scratch)). | |
6335 | ||
6336 | * gcse.c (free_insn_expr_list_list): New. | |
6337 | (clear_modify_mem_tables): Use it. Fix bit set usage. | |
6338 | (canon_list_insert): Use EXPR_LISTs for expressions. | |
6339 | (record_last_mem_set_info): Factor BLOCK_NUM (insn). | |
6340 | ||
af0d16cd NB |
6341 | 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk> |
6342 | ||
6343 | * cppfiles.c (_cpp_pop_file_buffer): Return void. Move | |
6344 | file change and include code to _cpp_pop_buffer. | |
6345 | * cpphash.h (struct pending_option): Predeclare. | |
6346 | (struct cpp_reader): New member next_include_file. | |
6347 | (_cpp_pop_file_buffer): Update. | |
6348 | (_cpp_push_next_buffer): Update, rename. | |
6349 | * cppinit.c (cpp_destroy): Free include chain and pending here. | |
6350 | (cpp_finish_options): Simplify. | |
6351 | (_cpp_push_next_buffer): Rename and clean up. | |
6352 | * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer. | |
6353 | Clarify. | |
6354 | * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here. | |
6355 | ||
0d918572 AH |
6356 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
6357 | ||
0fe854a7 RH |
6358 | * config/rs6000/altivec.h (vec_xor): Add variant for both args |
6359 | being vector signed int. | |
6360 | (vec_andc): Same. | |
6361 | (vec_xor): Add variant for both args being vector signed char. | |
6362 | Remove redundant variant. | |
6363 | (vec_andc): Same. | |
0d918572 | 6364 | |
77e2c290 DM |
6365 | 2002-04-21 David S. Miller <davem@redhat.com> |
6366 | ||
6367 | * config/sparc/sparc.md (set then compare DI mode peephole2): Fix | |
6368 | compare mode in output RTL. | |
6369 | ||
ee2ca2a2 DE |
6370 | 2002-04-22 David Edelsohn <edelsohn@gnu.org> |
6371 | ||
6372 | * config/rs6000/rs6000.c (rs6000_override_options): Correct | |
6373 | style and formatting of previous patch. | |
6374 | ||
894bdff6 AM |
6375 | 2002-04-22 Alan Modra <amodra@bigpond.net.au> |
6376 | ||
6377 | * config/rs6000/rs6000.c (rs6000_override_options): Always clear | |
6378 | flag_pic for ABI_AIX. | |
6379 | ||
562a5c27 NB |
6380 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
6381 | ||
6382 | * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. | |
6383 | * cppfiles.c (read_include_file): Similarly. | |
6384 | * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, | |
6385 | uxstrdup ustrchr, ufputs): Similarly. | |
6386 | * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. | |
6387 | * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, | |
6388 | cpp_ideq, parse_identifier, parse_number): Similarly. | |
6389 | * cpplib.c (struct directive, dequote_string, D, run_directive, | |
6390 | cpp_push_buffer): Similarly. | |
6391 | * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, | |
6392 | _cpp_create_definition, check_trad_stringification, | |
6393 | cpp_macro_definition): Similarly. | |
6394 | ||
9ac3b1be NB |
6395 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
6396 | ||
6397 | * cppmacro.c (funlike_invocation_p): Don't step back | |
6398 | over CPP_EOF. | |
6399 | ||
9dda4cc8 DE |
6400 | 2002-04-21 David Edelsohn <edelsohn@gnu.org> |
6401 | ||
6402 | * config/rs6000/rs6000.c (output_profile_hook): Do not increment | |
6403 | labelno. | |
6404 | ||
20764052 JM |
6405 | 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk> |
6406 | ||
6407 | * doc/invoke.texi: Remove Chill references. | |
6408 | * doc/gcc.texi: Update last modified date. | |
6409 | ||
26b29884 KH |
6410 | 2002-04-20 Kazu Hirata <kazu@hxi.com> |
6411 | ||
6412 | * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary | |
6413 | push and pop. Replace add.l with add.w. | |
6414 | ||
59184677 TM |
6415 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
6416 | ||
6417 | * config/h8300/lib1funcs.asm (___mulsi3): Use hardware | |
6418 | multiply instructions for H8/300H case. | |
6419 | ||
b1113e0a TM |
6420 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
6421 | ||
6422 | * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): | |
6423 | Bum three instructions from each routine. | |
6424 | ||
b03e38e1 NB |
6425 | 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk> |
6426 | ||
6427 | * Makefile.in: Update. | |
6428 | * decl.c (push_c_function_context, pop_c_function_context, | |
6429 | mark_c_function_context): Rename for consistency. | |
6430 | * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere. | |
6431 | * c-tree.h (push_c_function_context, pop_c_function_context, | |
6432 | mark_c_function_context): Rename for consistency. | |
6433 | * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
6434 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
6435 | * function.c (init_lang_status, save_lang_status, | |
6436 | restore_lang_status, mark_lang_status, free_lang_status): | |
6437 | Move to langhooks.h. | |
6438 | (push_function_context_to, pop_function_context_from, | |
6439 | free_after_parsing, prepare_function_start, ggc_mark_struct_function): | |
6440 | Update. | |
6441 | * function.h (init_lang_status, save_lang_status, | |
6442 | restore_lang_status, mark_lang_status, free_lang_status): | |
6443 | Move to langhooks.h. | |
6444 | * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT, | |
6445 | LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
6446 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK, | |
6447 | LANG_HOOKS_FUNCTION_INITIALIZER): New. | |
6448 | (LANG_HOOKS_INITIALIZER): Update. | |
6449 | (lhd_do_nothing_f): New. | |
6450 | * langhooks.h (struct lang_hooks_for_functions): New. | |
6451 | (struct lang_hooks): New hooks. | |
6452 | * langhooks.c (lhd_do_nothing_f): New. | |
6453 | objc: | |
6454 | * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
6455 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
6456 | ||
db430d26 DM |
6457 | 2002-04-19 David S. Miller <davem@redhat.com> |
6458 | ||
6459 | * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. | |
6460 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise. | |
6461 | ||
0f2a3457 JJ |
6462 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
6463 | ||
6464 | PR optimization/3756 | |
6465 | * config/i386/i386.c (ix86_expand_int_movcc): Optimize | |
6466 | x = ((int) y < 0) ? cst1 : cst2. | |
6467 | ||
ce5e43d0 JJ |
6468 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
6469 | ||
6470 | PR c/6358 | |
6471 | * function.c: Reapply patch for c/6358. | |
6472 | (expand_function_end): Copy decl_rtl's mode, not | |
6473 | current_function_return_rtx mode. | |
6474 | ||
6475 | 2002-04-19 Joel Sherrill <joel@OARcorp.com> | |
9eb83f6c JS |
6476 | |
6477 | * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF | |
6478 | targets. | |
6479 | ||
40e7f8ea TT |
6480 | 2002-04-19 Tom Tromey <tromey@redhat.com> |
6481 | ||
6482 | * doc/install.texi (Specific): Update status of Solaris 2.8. | |
6483 | For PR libgcj/6158. | |
6484 | ||
62a12b27 AS |
6485 | 2002-04-19 Andreas Schwab <schwab@suse.de> |
6486 | ||
6487 | * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE. | |
6488 | (PUT_REAL): Restore old definition. | |
6489 | ||
1405141b DN |
6490 | 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu> |
6491 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
6492 | ||
6493 | * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that | |
6494 | binutils 2.11.2 and higher generate smaller binaries than Sun's | |
6495 | native tools. | |
6496 | ||
303a3927 MM |
6497 | 2002-04-19 Mark Mitchell <mark@codesourcery.com> |
6498 | ||
6499 | PR c++/6352 | |
6500 | * toplev.c (rest_of_compilation): Do not defer functions for which | |
6501 | TREE_SYMBOL_REFERENCED has already been set. | |
6502 | ||
de80110b JH |
6503 | Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz> |
6504 | ||
6505 | * i386.md (movsi_1, movhi_1): Force reload to use more flexible | |
6506 | alternative. | |
6507 | ||
ab393bf1 NB |
6508 | 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk> |
6509 | ||
6510 | * builtins.c: Include langhooks.h. | |
6511 | (lang_type_promotes_to): Remove. | |
6512 | (expand_builtin_va_arg): Use new hook. | |
6513 | * c-common.c (c_common_nodes_and_builtins): Don't set hook. | |
6514 | (simple_type_promotes_to): Move to c-typeck.c. | |
6515 | * c-common.h (simple_type_promotes_to): Remove. | |
6516 | * c-decl.c (duplicate_decls, grokdeclarator): Update. | |
6517 | * c-format.c: Include langhooks.h. | |
6518 | (check_format_types): Update. | |
6519 | * c-tree.h (c_type_promotes_to): New. | |
6520 | * c-typeck.c (c_type_promotes_to): Move from c-common.c. | |
6521 | (type_lists_compatible_p): Update. | |
6522 | * langhooks-def.h (lhd_type_promotes_to): New. | |
6523 | (LANG_HOOKS_TYPE_PROMOTES_TO): New. | |
6524 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
6525 | * langhooks.c (lhd_type_promotes_to): New. | |
6526 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
6527 | * tree.h (lang_type_promotes_to): Remove. | |
6528 | objc: | |
6529 | * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine. | |
6530 | ||
0cd3301b RH |
6531 | 2002-04-18 Richard Henderson <rth@redhat.com> |
6532 | ||
58533fa2 | 6533 | * function.c: Revert patch for c/6358. |
0cd3301b RH |
6534 | |
6535 | 2002-04-18 Richard Henderson <rth@redhat.com> | |
6536 | ||
58533fa2 RH |
6537 | * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN |
6538 | blocks. Handle multiple references to the TRAP block. Handle | |
6539 | non-adjacent THEN and OTHER blocks. | |
0cd3301b | 6540 | |
58533fa2 RH |
6541 | 2002-04-18 Richard Henderson <rth@redhat.com> |
6542 | ||
6543 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't | |
6544 | crash with no type for by-mode libcalls. | |
6545 | ||
6546 | * config/ia64/ia64.md (conditional_trap): Fix predicate polarity. | |
0cd3301b | 6547 | |
57174693 BW |
6548 | 2002-04-18 Bob Wilson <bob.wilson@acm.org> |
6549 | ||
6550 | * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill, | |
6551 | __xtensa_nonlocal_goto): Use a syscall instructions to flush | |
6552 | the register windows. | |
6553 | ||
46468cd9 ZW |
6554 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
6555 | ||
6556 | * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as | |
6557 | appropriate. Document need for extended precision even when | |
6558 | MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here, | |
6559 | based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size | |
6560 | REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error | |
6561 | instead of relying on later syntax error when REAL_WIDTH > 5. | |
6562 | * real.c: Define NE based only on whether or not we have a | |
6563 | full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT). | |
6564 | Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally | |
6565 | define GET_REAL and PUT_REAL as simple memcpy operations; no | |
6566 | need to byteswap or round. | |
6567 | Use #error instead of #ifdef-ing out the entire file, for | |
6568 | prompt error detection. | |
6569 | ||
6570 | * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here. | |
6571 | ||
2f82dbf8 DM |
6572 | 2002-04-18 David S. Miller <davem@redhat.com> |
6573 | ||
6574 | * config/sparc/sparc.h (BRANCH_COST): Define. | |
6575 | ||
6576 | * fold-const.c (BRANCH_COST): Don't provide default here, expr.h | |
6577 | does it. | |
6578 | ||
566576e7 HPN |
6579 | 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com> |
6580 | ||
6581 | * flow.c (update_life_info): Ignore return value of cleanup_cfg. | |
6582 | Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in | |
6583 | propagate_block calls after relaxation loop using new variable | |
6584 | stabilized_prop_flags. | |
6585 | ||
51dcde6f RH |
6586 | 2002-04-18 Richard Henderson <rth@redhat.com> |
6587 | ||
6588 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New. | |
6589 | (ia64_va_arg): Expect variable sized types by reference. | |
6590 | * config/ia64/ia64-protos.h: Update. | |
46468cd9 | 6591 | * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use |
51dcde6f RH |
6592 | ia64_function_arg_pass_by_reference. |
6593 | ||
26406018 RH |
6594 | 2002-04-18 Richard Henderson <rth@redhat.com> |
6595 | ||
46468cd9 ZW |
6596 | * ifcvt.c: Include except.h. |
6597 | (block_has_only_trap): Break out from find_cond_trap. | |
6598 | (find_cond_trap): Use it. Always delete the trap block. | |
6599 | (merge_if_block): Allow then block null. Be less simplistic about | |
6600 | what insns can end a block. | |
6601 | * Makefile.in (ifcvt.o): Depend on except.h. | |
96b453dc | 6602 | |
26406018 RH |
6603 | * config/ia64/ia64.md (trap, conditional_trap): New. |
6604 | ||
a3acf46d JJ |
6605 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
6606 | ||
6607 | PR c/6358 | |
6608 | * function.c (assign_parms): Assign hard current_function_return_rtx | |
6609 | register here... | |
6610 | (expand_function_end): ...not here. | |
6611 | ||
7a228918 NB |
6612 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
6613 | ||
6614 | * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
6615 | * c-tree.h (c_incomplete_type_error): New. | |
6616 | * c-typeck.c (require_complete_type, build_component_ref): Update. | |
6617 | (incomplete_type_error): Rename. | |
6618 | * langhooks-def.h (lhd_incomplete_type_error): New. | |
6619 | (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New. | |
6620 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
6621 | * langhooks.c (lhd_incomplete_type_error): New. | |
6622 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
6623 | * tree.c (size_in_bytes): Use new hook. | |
6624 | * tree.h (incomplete_type_error): Remove. | |
6625 | objc: | |
6626 | * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
6627 | ||
f18664c1 ZW |
6628 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
6629 | ||
6630 | * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT != | |
6631 | TARGET_FLOAT_FORMAT blocks. | |
6632 | ||
8ecab453 GP |
6633 | 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
6634 | ||
6635 | * doc/install.texi (Downloading the source): Do not mention Chill | |
6636 | any longer, but mention Ada. | |
6637 | (Configuration): Do not mention Chill any longer. | |
6638 | ||
528d8489 HPN |
6639 | 2002-04-18 Hans-Peter Nilsson <hp@axis.com> |
6640 | ||
6641 | * config/cris/cris.h (TARGET_VERSION): Remove local version number. | |
6642 | ||
91da27c5 JH |
6643 | Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz> |
6644 | ||
6645 | * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution | |
6646 | in last patch. | |
6647 | ||
a32db605 JJ |
6648 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
6649 | ||
6650 | * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) | |
6651 | instead of unsigned_type. | |
6652 | ||
5a28d8cc JH |
6653 | Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
6654 | ||
6655 | * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check. | |
6656 | * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped | |
6657 | later. | |
6658 | ||
3d980b9f BS |
6659 | 2002-04-18 Bernd Schmidt <bernds@redhat.com> |
6660 | ||
6661 | * attribs.c (vector_type_node_list): New static variable. | |
6662 | (handle_vector_size_attribute): Use it to avoid generating a | |
6663 | new type node each time we are called. | |
6664 | ||
2e676d78 BS |
6665 | * combine.c (subst): Avoid trying to make a vector mode subreg of |
6666 | an integer constant. | |
6667 | (gen_lowpart_for_combine): Likewise. | |
46468cd9 | 6668 | |
58c2956c RS |
6669 | 2002-04-18 Roger Sayle <roger@eyesopen.com> |
6670 | Jakub Jelinek <jakub@redhat.com> | |
6671 | ||
6672 | * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c) | |
6673 | for integer constant c (if x has unsigned type or sign bit is not | |
6674 | set in c). This folds the zero/sign extension into the bit-wise and | |
6675 | operation. | |
6676 | ||
692efa8e JJ |
6677 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
6678 | ||
6679 | PR middle-end/6205 | |
6680 | * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2, | |
6681 | otherwise xorps. | |
6682 | ||
1372d4ce NY |
6683 | 2002-04-17 NIIBE Yutaka <gniibe@m17n.org> |
6684 | ||
6685 | * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL. | |
6686 | ||
169ce44d NC |
6687 | 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com> |
6688 | ||
6689 | * gcc.c (read_specs): Detect and fail if an attempt is made to | |
6690 | rename a spec string to an already existing string. | |
6691 | ||
b30d2115 UW |
6692 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
6693 | ||
6694 | * config/s390/s390.c (legitimize_pic_address): Do not generate | |
6695 | illegal address constant without CONST. | |
6696 | ||
d6964c30 KG |
6697 | 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6698 | ||
6699 | * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64. | |
6700 | * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
6701 | ||
7c82a1ed UW |
6702 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
6703 | ||
6704 | PR optimization/6305 | |
6705 | * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement | |
6706 | to make sure previous reloads are taken into account. Generate | |
6707 | better code if one operand is an in-range immediate constant. | |
6708 | ||
58db9d1a AH |
6709 | 2002-04-16 Andrew Haley <aph@cambridge.redhat.com> |
6710 | ||
6711 | * doc/install.texi (Building): libgcj requires GNU make. | |
6712 | ||
2a732575 JJ |
6713 | 2002-04-17 Jakub Jelinek <jakub@redhat.com> |
6714 | ||
6715 | PR bootstrap/6315 | |
6716 | * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting | |
6717 | even if hard quad and register is not floating. | |
6718 | (movtf reg<-mem split): Disallow splitting if hard quad and | |
6719 | register is floating. | |
6720 | (movtf mem<-reg split): Likewise. | |
6721 | * config/sparc/sparc.c (fp_register_operand): New predicate. | |
6722 | * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand. | |
6723 | ||
75a65e46 ZW |
6724 | 2002-04-17 Zack Weinberg <zack@codesourcery.com> |
6725 | ||
6726 | * Makefile.in (PROTO_OBJS): Add cppdefault.o. | |
6727 | (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line. | |
6728 | (unprotoize.o): Ditto. Build from protoize.c. Define | |
6729 | UNPROTOIZE on command line. | |
6730 | * protoize.c: Include cppdefault.h. Delete include_defaults. | |
6731 | (in_system_include_dir): Use cpp_include_defaults (defined in | |
6732 | cppdefault.o). | |
6733 | * unprotoize.c: Delete file. | |
6734 | ||
650f0e97 AH |
6735 | 2002-04-17 Aldy Hernandez <aldyh@redhat.com> |
6736 | ||
46468cd9 ZW |
6737 | * config/rs6000/altivec.h (vec_ld): Add array variants. |
6738 | (vec_lde): Same. | |
6739 | (vec_ldl): Same. | |
650f0e97 | 6740 | |
71a0ab0c | 6741 | 2002-04-17 Alan Matsuoka <alanm@redhat.com> |
46468cd9 | 6742 | Aldy Hernandez <aldyh@redhat.com> |
71a0ab0c | 6743 | |
46468cd9 ZW |
6744 | * config/rs6000/altivec.h: Define __ALTIVEC__. |
6745 | (bool): New. | |
6746 | (__pixel): New. | |
6747 | (pixel): New. | |
6748 | (vec_cfux): New. | |
6749 | (vec_vmaddfp): New. | |
6750 | (vec_vsldoi): New. | |
6751 | Add parentheses to all macro arguments. | |
71a0ab0c | 6752 | |
ff2c46ac RH |
6753 | 2002-04-16 Richard Henderson <rth@redhat.com> |
6754 | ||
6755 | PR c++/6320 | |
6756 | * except.c (remove_eh_handler): Insert inner regions at beginning | |
6757 | of sibling chain. Refactor expressions. | |
6758 | ||
f1ba94dd RH |
6759 | 2002-04-16 Richard Henderson <rth@redhat.com> |
6760 | ||
f0871dfe RH |
6761 | * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New. |
6762 | * config/sparc/sol2-gas-bi.h: New file. | |
6763 | * config.gcc (sparc*-solaris): Add it as needed. | |
6764 | * configure.in (AS_SPARC64_FLAG): Remove check. | |
6765 | * config.in, configure: Regenerate. | |
6766 | ||
6767 | * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64. | |
6768 | ||
6769 | 2002-04-16 Richard Henderson <rth@redhat.com> | |
6770 | ||
6771 | * config/mips/mips.c (override_options): Don't override N32 for | |
6772 | a 64-bit ISA. | |
409d3c60 | 6773 | |
f1ba94dd RH |
6774 | PR 6202 |
6775 | * config/mips/mips.md (can_delay): Split out of existing define_delays. | |
6776 | (HILO_delay): Set can_delay false. | |
6777 | ||
178c3eff DJ |
6778 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
6779 | ||
6780 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute | |
6781 | instruction addresses. | |
6782 | (rs6000_output_function_epilogue): Likewise. | |
6783 | ||
7d6f6369 PC |
6784 | 2002-04-16 Paolo Carlini <pcarlini@unitus.it> |
6785 | ||
6786 | * c-parse.in (poplevel, compstmt_start, | |
6787 | compstmt_primary_start): Add ending ';', in accordance | |
6788 | with POSIX. | |
6789 | ||
8947df0c RH |
6790 | 2002-04-16 Richard Henderson <rth@redhat.com> |
6791 | ||
6792 | * config.gcc (sparcv9-solaris): Configure for 64-bit default. | |
6793 | Adjust tm_file order to get TARGET_DEFAULT set properly. | |
6794 | (sparc-solaris): Configure 2.[78] for 64-bit multilibs. | |
6795 | * doc/install.texi (sparc-solaris): Update. | |
6796 | ||
3148ad6d DJ |
6797 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
6798 | ||
6799 | * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of | |
6800 | comparison operands do not match each other or if modes of | |
6801 | conditions do not match result. | |
6802 | ||
014cb9b6 | 6803 | 2002-04-16 Hartmut Penner <hpenner@de.ibm.com> |
562a69be | 6804 | |
014cb9b6 HP |
6805 | PR target/6305 |
6806 | * config/s390/s390.md (mulsidi3): Set both subregs of the | |
46468cd9 | 6807 | multiword register. |
562a69be | 6808 | |
014cb9b6 | 6809 | 2002-04-16 Aldy Hernandez <aldyh@redhat.com> |
4c8c0dec | 6810 | |
8947df0c | 6811 | * config/rs6000/altivec.h (vec_addc): Type check. |
4c8c0dec | 6812 | |
a9772b60 JJ |
6813 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
6814 | ||
6815 | PR middle-end/6279 | |
6816 | * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target. | |
6817 | ||
6818 | * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET. | |
6819 | ||
861829ed RH |
6820 | 2002-04-15 Richard Henderson <rth@redhat.com> |
6821 | ||
6822 | * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set | |
6823 | call_really_used_regs too. | |
6824 | ||
bcf2fe9c RH |
6825 | 2002-04-15 Richard Henderson <rth@redhat.com> |
6826 | ||
6827 | * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd. | |
6828 | ||
629111c7 DM |
6829 | 2002-04-15 David S. Miller <davem@redhat.com> |
6830 | ||
6831 | * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs | |
6832 | as being CLOBBERed. | |
6833 | ||
98ef3137 JJ |
6834 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
6835 | ||
6836 | PR c/6290 | |
6837 | * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the | |
6838 | CONST_VECTOR is { 0, ... 0 }. | |
6839 | ||
0aa911c5 LR |
6840 | 2002-04-15 Loren J. Rittle <ljrittle@acm.org> |
6841 | ||
6842 | * doc/install.texi (Installing GCC: Configuration): Clarify | |
6843 | the only supported ways to configure gcc. | |
6844 | ||
83248d49 | 6845 | 2002-04-15 Roland McGrath <roland@frob.com> |
46468cd9 | 6846 | |
83248d49 RM |
6847 | * config.gcc (alpha*-*-gnu*): New target configuration. |
6848 | * config/alpha/gnu.h: New file for it. | |
6849 | * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define. | |
6850 | ||
b2123dc0 MM |
6851 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
6852 | ||
6853 | * c-common.h (STMT_EXPR_NO_SCOPE): New macro. | |
6854 | * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE. | |
6855 | * tree.h (expand_start_stmt_expr): Update prototype. | |
6856 | * stmt.c (expand_start_stmt_expr): Add has_scope parameter. | |
6857 | * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE | |
6858 | on the STMT_EXPR created for the inline function. | |
46468cd9 | 6859 | |
8fe2d853 RH |
6860 | 2002-04-15 Richard Henderson <rth@redhat.com> |
6861 | ||
6862 | * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h, | |
6863 | config/i386/linux-aout.h, config/i386/linux-oldld.h, | |
6864 | config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, | |
6865 | config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h, | |
6866 | config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h, | |
6867 | config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h, | |
6868 | config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES): | |
6869 | Define __gnu_linux__, not gnu_linux. | |
6870 | * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd. | |
6871 | ||
07cdae91 MM |
6872 | 2002-04-15 Mark Mitchell <mark@codesourcery.com> |
6873 | ||
6874 | Remove Chill front end. | |
6875 | * gcc.c (default_compilers): Remove Chill entries. | |
6876 | * ch: Remove directory. | |
6877 | * doc/frontends.texi: Remove information about Chill. | |
6878 | * doc/sourcebuild.texi: Likewise. | |
6879 | * doc/standards.texi: Likewise. | |
6880 | ||
41823c5e DR |
6881 | 2002-04-15 Douglas B Rupp <rupp@gnat.com> |
6882 | ||
6883 | * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include. | |
6884 | (LONGLONG_STANDALONE): Define. | |
6885 | ||
eb29ddb6 DM |
6886 | 2002-04-15 David S. Miller <davem@redhat.com> |
6887 | ||
6888 | * config/sparc/sparc.c (sparc_emit_float_lib_cmp): | |
6889 | Call emit_library_call with LCT_NORMAL. | |
6890 | (sparc_initialize_trampoline): Use LCT_foo instead of | |
6891 | magic constant in emit_library_call invocations. | |
6892 | (sparc64_initialize_trampoline): Likewise. | |
6893 | (sparc_profile_hook): Likewise. | |
6894 | * config/sparc/sparc.md: Likewise. | |
6895 | ||
6896 | * config/sparc/sparc.c (sparc_extra_constraint_check): | |
6897 | Fix type of argument 'c'. | |
6898 | * config/sparc/sparc-protos.h (sparc_extra_constraint_check): | |
6899 | Likewise. | |
6900 | ||
bd6bec6b GDR |
6901 | 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
6902 | ||
6903 | * diagnostic.h (output_buffer_state): Redefine. | |
6904 | (output_format_decoder): New macro. | |
6905 | (output_prefixing_rule): Likewise. | |
6906 | (output_line_cutoff): Likewise. | |
6907 | (diagnostic_format_decoder): Adjust. | |
6908 | (diagnostic_prefixing_rule): Likewise. | |
6909 | (diagnostic_line_cutoff): Likewise. | |
6910 | (diagnostic_state): Likewise. | |
6911 | (diagnostic_kind_count): Likewise. | |
6912 | (diagnostic_buffer): Now a macro. | |
6913 | ||
6914 | * diagnostic.c (diagnostic_buffer): Remove definition. | |
6915 | (output_is_line_wrapping): Adjust. | |
6916 | (set_real_maximum_length): Likewise. | |
6917 | (output_set_maximum_length): Likewise. | |
6918 | (init_output_buffer): Likewise. | |
6919 | (lhd_print_error_function): Likewise. | |
6920 | (output_do_verbatim): Likewise. | |
6921 | ||
ebef4e8c NB |
6922 | 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk> |
6923 | ||
6924 | * cpperror.c (print_location): Don't print include chain | |
6925 | if line == 0. | |
6926 | (cpp_begin_message): Update to use DL_ macros. | |
6927 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
6928 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
6929 | cpp_notice, cpp_notice_from_errno): Remove. | |
6930 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
6931 | level. | |
6932 | (cpp_errno): New. | |
6933 | * cppexp.c (CPP_ICE): Remove. | |
6934 | (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined, | |
6935 | lex, integer_overflow, _cpp_parse_expr): Update. | |
6936 | * cppfiles.c (read_include_file, find_include_file, | |
6937 | handle_missing_header, _cpp_read_file, remap_filename): Update. | |
6938 | * cpphash.h (enum error_type): Remove. | |
6939 | (_cpp_begin_message): Update. | |
6940 | * cppinit.c (append_include_chain, remove_dup_dirs, output_deps, | |
6941 | cpp_handle_option, cpp_post_options): Update. | |
6942 | * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment, | |
6943 | skip_whitespace, parse_identifier, parse_slow, parse_string, | |
6944 | _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape, | |
6945 | cpp_interpret_charconst): Update. | |
6946 | * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive, | |
6947 | lex_macro_node, do_undef, glue_header_name, parse_include, | |
6948 | do_include_common, read_flag, do_line, do_linemarker, do_ident, | |
6949 | cpp_register_pragma, do_pragma_once, do_pragma_system_header, | |
6950 | do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else, | |
6951 | do_elif, do_endif, parse_answer, parse_assertion, do_assert, | |
6952 | _cpp_pop_buffer, do_diagnostic): Update. | |
6953 | * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR, | |
6954 | DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New. | |
6955 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
6956 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
6957 | cpp_notice, cpp_notice_from_errno): Remove. | |
6958 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
6959 | level. | |
6960 | (cpp_errno): New. | |
6961 | * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens, | |
6962 | collect_args, enter_macro_context, save_parameter, parse_params, | |
6963 | _cpp_create_definition, check_trad_stringification, | |
6964 | cpp_macro_definition): Update. | |
6965 | * cppmain.c (cpp_preprocess_file): Update. | |
6966 | * fix-header.c (read_scan_file): Update. | |
6967 | ||
c19a3859 AS |
6968 | 2002-04-14 Andreas Schwab <schwab@suse.de> |
6969 | ||
6970 | * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash. | |
6971 | ||
10fdbed6 JD |
6972 | 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
6973 | ||
6974 | * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. | |
6975 | ||
77660a9a MM |
6976 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
6977 | ||
6978 | * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, | |
6979 | not gnu_hurd. | |
6980 | ||
e0ff1ded HPN |
6981 | 2002-04-13 Hans-Peter Nilsson <hp@axis.com> |
6982 | ||
6983 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo. | |
6984 | ||
2341c7ea JS |
6985 | 2002-04-13 Joel Sherrill <joel@OARcorp.com> |
6986 | ||
6987 | * config/sparc/t-elf: Enable v8 multilibs. Impacts | |
6988 | sparc-elf and sparc-rtems targets. | |
6989 | ||
d29350c0 MM |
6990 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
6991 | ||
6992 | * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is | |
6993 | defined, and __gnu_hurd__ wherever __GNU__ is defined. | |
6994 | * arm/linux-elf.h: Likewise. | |
6995 | * cris/aout.h: Likewise. | |
6996 | * cris/linux.h: Likewise. | |
6997 | * i370/linux.h: Likewise. | |
6998 | * i386/gnu.h: Likewise. | |
6999 | * i386/linux-aout.h: Likewise. | |
7000 | * i386/linux-oldld.h: Likewise. | |
7001 | * i386/linux.h: Likewise. | |
7002 | * i386/linux64.h: Likewise. | |
7003 | * ia64/linux.h: Likewise. | |
7004 | * m68k/linux-aout.h: Likewise. | |
7005 | * m68k/linux.h: Likewise. | |
7006 | * mips/linux.h: Likewise. | |
7007 | * pa/pa-linux.h: Likewise. | |
7008 | * pj/linux.h: Likewise. | |
7009 | * rs6000/sysv4.h: Likewise. | |
7010 | * s390/linux.h: Likewise. | |
7011 | * sh/linux.h: Likewise. | |
7012 | * sparc/linux-aout.h: Likewise. | |
7013 | * sparc/linux.h: Likewise. | |
7014 | * sparc/linux64.h: Likewise. | |
7015 | * xtensa/linux.h: Likewise. | |
7016 | ||
fc552851 RS |
7017 | 2002-04-13 Richard Sandiford <rsandifo@redhat.com> |
7018 | ||
7019 | * stmt.c (check_unique_operand_names): Expect operand names to | |
7020 | be strings rather than identifiers. Use simple_cst_equal to | |
7021 | compare them. | |
7022 | (resolve_operand_name_1): Make same identifier to string change here. | |
7023 | * c-parse.in (asm_operand): Convert a named operand into a string. | |
7024 | * cp/parse.y (asm_operand): Likewise. | |
7025 | ||
1d405c5e AS |
7026 | 2002-04-13 Andreas Schwab <schwab@suse.de> |
7027 | ||
7028 | * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu). | |
7029 | ||
c740732f MM |
7030 | 2002-04-12 Mark Mitchell <mark@codesourcery.com> |
7031 | ||
7032 | Revert these changes: | |
7033 | ||
7034 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> | |
7035 | ||
7036 | PR c++/5571 | |
7037 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
7038 | ||
3fc602a0 RH |
7039 | 2002-04-12 Richard Henderson <rth@redhat.com> |
7040 | ||
7041 | * config.gcc (sparcv9-*-solaris2): Default to 32-bit code. | |
7042 | (sparc*-*-solaris): Clean up header files. | |
7043 | * configure.in (AS_SPARC64_FLAG): Error out if can't find it | |
7044 | and plan on generating 64-bit code. | |
7045 | * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. | |
7046 | * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. | |
7047 | * config/sparc/sol2-sld-64.h: Rename ... | |
7048 | * config/sparc/sol2-bi.h: ... here. Remove the bits that checked | |
7049 | for AS_SPARC64_FLAG not defined. | |
7050 | * config/sparc/sol2-gld-bi.h: New. | |
7051 | * config/sparc/sol2-sld.h: Remove. | |
7052 | * config/sparc/sol26-sld.h: New. | |
7053 | * config/sparc/sol2.h: Tidy comments. | |
7054 | * doc/install.texi: Document sparc-solaris configury changes. | |
7055 | ||
2f15e255 RH |
7056 | 2002-04-12 Richard Henderson <rth@redhat.com> |
7057 | ||
7058 | * recog.c (offsettable_address_p): Match the logic in adjust_address. | |
7059 | ||
7060 | * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode | |
7061 | in 64-bit mode only. Use only for 32-bit or MEDLOW. | |
7062 | ||
cc8475cb RO |
7063 | 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7064 | ||
7065 | * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings. | |
7066 | ||
6f133a4a JL |
7067 | Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com) |
7068 | ||
ef1b8858 | 7069 | * pa.c (pa_can_combine_p): Call extract_insn before calling |
6f133a4a JL |
7070 | constrain_operands. |
7071 | ||
1329e600 DR |
7072 | 2002-04-12 Douglas B Rupp <rupp@gnat.com> |
7073 | ||
7074 | * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. | |
7075 | (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. | |
7076 | (DEFAULT_PCC_STRUCT_RETURN): Define as 0. | |
2d424b9f | 7077 | (CPP_PREDEFINES): Handle __declspec. |
1329e600 DR |
7078 | * config/i386/t-interix (USER_H): Remove. |
7079 | ||
0339d239 DD |
7080 | 2002-04-12 DJ Delorie <dj@redhat.com> |
7081 | ||
7082 | * integrate.c (compare_blocks): Make comparisons safe for when | |
7083 | sizeof(int) < sizeof(char *). | |
7084 | (find_block): Likewise. | |
7085 | ||
cc4d5fec JH |
7086 | 2002-04-12 Jan Hubicka <jh@suse.cz> |
7087 | David Edelsohn <edelsohn@gnu.org> | |
7088 | ||
7089 | * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT | |
7090 | registers. | |
7091 | (symbol_ref_operand): New. | |
7092 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand. | |
7093 | * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand. | |
7094 | ||
93215a1b AS |
7095 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
7096 | ||
7097 | * config/ia64/ia64.h (ASM_SPEC): Moved from here ... | |
7098 | * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it | |
7099 | overrides the definition in config/svr4.h. | |
46468cd9 | 7100 | |
1d80248e EN |
7101 | 2002-04-12 Eric Norum <eric.norum@usask.ca> |
7102 | ||
7103 | * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
7104 | config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h, | |
7105 | config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h, | |
7106 | config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h, | |
7107 | config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h, | |
7108 | config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h, | |
7109 | config/v850/rtems.h (*-rtems*): Cleanup pass to move common | |
7110 | definitions to config/rtems.h and make the targets more similar. | |
7111 | ||
fa1591cb RK |
7112 | Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7113 | ||
fa06ab5c RK |
7114 | * expr.c (expand_assigment): Remove duplicate conversions #ifdef |
7115 | POINTERS_EXTEND_UNSIGNED. | |
7116 | (store_constructor, expand_expr, case COMPONENT_REF): Likewise. | |
7117 | (store_expr): Use TYPE_MODE (sizetype), not ptr_mode. | |
7118 | ||
fa1591cb RK |
7119 | * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET |
7120 | not specified. | |
7121 | ||
12e85a0e R |
7122 | Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7123 | ||
7124 | * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG | |
7125 | depends on TARGET_SHMEDIA, not TARGET_SH5. | |
7126 | ||
1ab3e58a HPN |
7127 | 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com> |
7128 | ||
7129 | * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>: | |
7130 | For paradoxical (subreg VAR), replace VAR, don't try the subreg. | |
7131 | ||
18778292 R |
7132 | Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7133 | ||
7134 | * sh.c (broken_move): Constant 0. / 1. load is OK if there is | |
7135 | no r0 clobber. | |
7136 | ||
9002507c AS |
7137 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
7138 | ||
7139 | * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash. | |
7140 | ||
9be40833 RH |
7141 | 2002-04-12 Richard Henderson <rth@redhat.com> |
7142 | ||
7143 | PR bootstrap/4191 | |
7144 | * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef. | |
7145 | ||
7146 | * flow.c (mark_used_reg): Manage reg_cond_dead properly for | |
7147 | modes spanning multiple hard regs. | |
46468cd9 | 7148 | |
9be40833 RH |
7149 | * recog.c (peephole2_optimize): Rebuild jump labels as needed. |
7150 | ||
3d9268b6 JDA |
7151 | 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7152 | ||
7153 | * pa.c (pa_output_function_prologue): Don't accumulate the total | |
7154 | number of code bytes when using TARGET_64BIT, or gas, SOM and not | |
7155 | the portable runtime. | |
7156 | (output_deferred_plabels): Handle 64bit plabels. | |
7157 | (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when | |
7158 | generating pic code using the GAS assembler for object formats that | |
7159 | are not SOM (ie., ELF32 and ELF64). | |
7160 | (output_millicode_call): Check attribute type if attribute length is 28. | |
7161 | Likewise use $PIC_pcrel$0. Only call get_attr_length and | |
7162 | dbr_sequence_length once. | |
7163 | (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and | |
7164 | dbr_sequence_length once. | |
7165 | * pa.h (TARGET_SOM): Define if not defined. | |
7166 | * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0 | |
7167 | with GAS and not SOM. | |
7168 | (jump, call_internal_reg, call_value_internal_reg): Likewise. | |
7169 | * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining. | |
7170 | ||
d360fd18 DB |
7171 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
7172 | ||
7173 | * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value. | |
7174 | (DEFAULT_PCC_STRUCT_RETURN) Do not redefine. | |
7175 | (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP, | |
7176 | DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): | |
7177 | elfos.h and dbxelf.h values are fine now. | |
7178 | * config/i386/freebsd.h, config/alpha/freebsd.h | |
7179 | (DEFAULT_PCC_STRUCT_RETURN): Define to 0. | |
7180 | ||
5b8fcab6 DB |
7181 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
7182 | ||
7183 | * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ | |
7184 | or set Acpu or Amachine. Reformat. | |
7185 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
7186 | define. | |
7187 | (LINK_SPEC): Do not need to undef. | |
7188 | * config/ia64/elf.h (ASM_EXTRA_SPEC): Define. | |
7189 | * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef. | |
7190 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
7191 | define. | |
7192 | * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define. | |
7193 | (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead. | |
7194 | (LINK_SPEC): Do not need to undef. | |
7195 | (DONT_USE_BUILTIN_SETJMP): Do not define. | |
7196 | * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add. | |
7197 | (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64. | |
7198 | (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define. | |
7199 | Remove trailing spaces. | |
7200 | * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__, | |
7201 | __ELF__, or set Acpu or Amachine. Reformat. | |
7202 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
7203 | define. | |
7204 | ||
fee42cc1 DB |
7205 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
7206 | ||
7207 | * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match | |
7208 | all other *-*-freebsd* targets. | |
7209 | ||
77a403e4 RH |
7210 | 2002-04-11 Richard Henderson <rth@redhat.com> |
7211 | ||
7212 | * config.gcc (alpha*-*-linux*ecoff): Detect and reject. | |
7213 | ||
cf0005c6 DB |
7214 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
7215 | ||
7216 | * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms): | |
7217 | Include {cpu}/{cpu}.h thru tm_file. | |
7218 | (alpha*-*-linux*ecoff): Remove target. | |
7219 | * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__. | |
7220 | (LINK_SPEC): Remove, is not OS independent. | |
7221 | * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__. | |
7222 | (LINK_SPEC): Do not need to #undef any longer. | |
7223 | * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef | |
7224 | any longer. | |
7225 | * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define | |
7226 | __ELF__. | |
7227 | (LINK_SPEC): Moved here from alpha/elf.h. | |
7228 | * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of | |
7229 | SUB_CPP_PREDEFINES. | |
7230 | * config/alpha/linux-ecoff.h: Remove. | |
7231 | * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__. | |
7232 | (CPP_SPEC): Define _POSIX_SOURCE as needed. | |
7233 | (CPP_SUBTARGET_SPEC): Do not define. | |
7234 | (LINK_SPEC): Do not need to #undef any longer. | |
7235 | * config/alpha/openbsd.h: Do not directly include alpha/alpha.h. | |
7236 | * config/alpha/vms.h: Likewise. | |
7237 | ||
9be40833 | 7238 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
7825d1cf RS |
7239 | |
7240 | * doc/extend.texi: Remove old claim that typedefs cannot have | |
7241 | an alignment attribute. | |
7242 | ||
010f87c4 JJ |
7243 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
7244 | ||
7245 | PR optimization/6177 | |
7246 | * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if | |
7247 | bitpos is 0 and bitsize CONCAT size. | |
7248 | ||
578fc63d JJ |
7249 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
7250 | ||
7251 | PR c/6223 | |
7252 | * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz. | |
7253 | ||
bf9b85ce DB |
7254 | 2002-04-10 David O'Brien <obrien@FreeBSD.org> |
7255 | ||
7256 | * config/alpha/freebsd.h: Minor reformatting. | |
7257 | (CPP_SPEC): Define ELF and add cpp_subtarget. | |
7258 | (ASM_SPEC): No longer needed. | |
7259 | ||
7425707d RH |
7260 | 2002-04-11 Richard Henderson <rth@redhat.com> |
7261 | ||
7262 | * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative. | |
7263 | (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory. | |
7264 | (dimode mem/zero splitter): New. | |
7265 | ||
1a05e874 HPN |
7266 | 2002-04-11 Hans-Peter Nilsson <hp@axis.com> |
7267 | ||
7268 | * config/cris/cris.c (cris_override_options): Tweak error message | |
7269 | for PIC not implemented. | |
7270 | ||
7271 | * config/cris/cris.h: Tweak comments related to parameter-passing. | |
7272 | ||
7273 | * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here. | |
7274 | ||
6f3d0447 RH |
7275 | 2002-04-10 Richard Henderson <rth@redhat.com> |
7276 | ||
7277 | * except.c (add_ehl_entry): Allow duplicates after landing pad | |
7278 | creation. | |
7279 | ||
174bf2b1 DE |
7280 | 2002-04-10 David Edelsohn <edelsohn@gnu.org> |
7281 | ||
7282 | * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64. | |
7283 | ||
03f10472 TM |
7284 | 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl> |
7285 | ||
7286 | * c-decl.c (c_init_decl_processing): Move generation of | |
7287 | decls for g77_integer_type_node and friends from here ... | |
7288 | * c-common.c (c_common_nodes_and_builtins): ... to here. | |
7289 | ||
2f460a0a UW |
7290 | 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com> |
7291 | ||
7292 | * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM | |
7293 | is only used as frame pointer when frame_pointer_needed is true. | |
7294 | ||
0be5cf85 RE |
7295 | 2002-04-10 Richard Earnshaw <rearnsha@arm.com> |
7296 | ||
7297 | PR target/817 | |
7298 | * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow | |
7299 | for the fact that the pool entry uses two words. | |
7300 | (movdf_hard_insn): Similarly. Also, ADR instruction can span | |
7301 | 1k bytes. | |
7302 | (movdf_soft_insn): Similarly. | |
7303 | (movxf_hard_insn): Adjust neg_pool_range attribute to allow | |
7304 | for the fact that the pool entry uses three words. | |
7305 | ||
bf6d4777 RS |
7306 | 2002-04-10 Richard Sandiford <rsandifo@redhat.com> |
7307 | ||
7308 | * config/mips/mips.c (mips_va_arg): When using the struct version | |
7309 | of the EABI va_list, allow arguments in the register save area to | |
7310 | take up less room than a stack argument. | |
7311 | ||
c2e9dc85 RH |
7312 | 2002-04-10 Richard Henderson <rth@redhat.com> |
7313 | ||
7314 | * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers | |
7315 | if EXPAND_INITIALIZER. | |
7316 | ||
bc8e8e97 RH |
7317 | 2002-04-09 Richard Henderson <rth@redhat.com> |
7318 | ||
7319 | * config/alpha/alpha.md (movdi_er_maybe_g): New. | |
7320 | * config/alpha/alpha.c (alpha_expand_mov): Use it. | |
7321 | ||
a6a063b8 AM |
7322 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
7323 | ||
7324 | PR optimization/6233 | |
7325 | * rtlanal.c (pure_call_p): New function. | |
7326 | * rtl.h (pure_call_p): Declare. | |
7327 | * loop.c (prescan_loop): Use it to set has_nonconst_call. | |
7328 | * gcse.c (store_killed_in_insn): Use pure_call_p here too. | |
7329 | ||
7b2e1077 EC |
7330 | 2002-04-09 Eric Christopher <echristo@redhat.com> |
7331 | ||
7332 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional | |
7333 | information to .comm directive. | |
7334 | ||
d8a50944 RH |
7335 | 2002-04-09 Richard Henderson <rth@redhat.com> |
7336 | ||
7337 | PR c/5078 | |
7338 | * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers. | |
7339 | ||
6a58eee9 RH |
7340 | 2002-04-09 Richard Henderson <rth@redhat.com> |
7341 | ||
7342 | * basic-block.h (flow_delete_block_noexpunge): Declare. | |
7343 | (expunge_block_nocompact): Declare. | |
7344 | * cfg.c (expunge_block_nocompact): Split out from ... | |
7345 | (expunge_block): ... here. | |
7346 | * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels. | |
7347 | (flow_delete_block_noexpunge): Split out from ... | |
7348 | (flow_delete_block): ... here. | |
7349 | * cfgcleanup.c (delete_unreachable_blocks): Compact while | |
7350 | removing dead blocks. | |
7351 | * except.c (exception_handler_labels): Remove. | |
7352 | (exception_handler_label_map): New. | |
7353 | (struct eh_region): Add aka member. | |
7354 | (mark_ehl_map_entry, mark_ehl_map, free_region): New. | |
7355 | (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New. | |
7356 | (for_each_eh_label, for_each_eh_label_1): New. | |
7357 | (init_eh): Register exception_handler_label_map. | |
7358 | (free_eh_status): Use free_region. | |
7359 | (find_exception_handler_labels): Use the map, not the list. | |
7360 | (remove_exception_handler_label): Likewise. | |
7361 | (maybe_remove_eh_handler): Likewise. | |
7362 | (remove_eh_handler): Use the region aka bitmap. | |
7363 | * except.h (exception_handler_labels): Remove. | |
7364 | (for_each_eh_label): Declare. | |
7365 | * jump.c (rebuild_jump_labels): Don't check exception_handler_labels. | |
7366 | * loop.c (invalidate_loops_containing_label): New. | |
7367 | (find_and_verify_loops): Use it. Use for_each_eh_label. | |
7368 | * sched-rgn.c (is_cfg_nonregular): Use | |
7369 | current_function_has_exception_handlers. | |
7370 | ||
b47374fa RH |
7371 | 2002-04-09 Richard Henderson <rth@redhat.com> |
7372 | ||
7373 | * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b, | |
7374 | sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c): | |
7375 | Do not return changed status. | |
7376 | (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg, | |
7377 | sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg): | |
7378 | New functions that do return changed status. | |
7379 | * sbitmap.h: Update decls. | |
7380 | * gcse.c, lcm.c: Use _cg functions as needed. | |
7381 | ||
1951818c R |
7382 | Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7383 | ||
7384 | * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h. | |
7385 | (sh64-*-elf*, sh-*-rtemself*): Likewise. | |
7386 | * config/sh/embed_bb.c: New file. | |
7387 | * config/sh/embed-elf.h: New file. | |
7388 | * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__ | |
7389 | if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec. | |
7390 | (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
7391 | __PTRDIFF_TYPE__ . | |
7392 | (SUBTARGET_CPP_PTR_SPEC): Don't define. | |
7393 | (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec. | |
7394 | Add subtarget_asm_endian_spec. | |
7395 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
7396 | (SUBTARGET_ASM_ENDIAN_SPEC): Define. | |
7397 | (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5. | |
7398 | (WCHAR_UNSIGNED): Define. | |
7399 | (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define. | |
7400 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
7401 | (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5. | |
7402 | Fix value. | |
7403 | * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5. | |
7404 | (sh_adjust_cost): Likewise. | |
7405 | sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
7406 | __PTRDIFF_TYPE__ . | |
7407 | (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define. | |
7408 | (WCHAR_TYPE_SIZE): Likewise. | |
7409 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
7410 | (SH_ELF_WCHAR_TYPE): #undef/ #define. | |
7411 | (MAX_WCHAR_TYPE_SIZE): Don't #undef. | |
7412 | * config/sh/elf.h (WCHAR_UNSIGNED): #undef . | |
7413 | (MAX_WCHAR_TYPE_SIZE): Don't #define . | |
7414 | (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define . | |
7415 | (USER_LABEL_PREFIX): Don't #undef /#define . | |
7416 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
7417 | * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define . | |
7418 | (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise. | |
7419 | (ASM_SPEC): Likewise. | |
7420 | (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define . | |
7421 | (CC1_SPEC): don't supply -m3 for -m4*, -m5*. | |
7422 | * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE. | |
7423 | (LIB2FUNCS_EXTRA): Define. | |
7424 | * t-sh64 (LIB2FUNCS_EXTRA): Define. | |
7425 | * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine. | |
7426 | (LIB1ASMFUNCS_CACHE): Define. | |
7427 | (LIB2FUNCS_EXTRA): Redefine empty. | |
7428 | ||
34295799 RH |
7429 | 2002-04-08 Richard Henderson <rth@redhat.com> |
7430 | ||
7431 | * reorg.c (get_branch_condition): Use reversed_comparison_code. | |
7432 | ||
e8766a39 SC |
7433 | 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7434 | ||
7435 | * config/m68hc11/larith.asm (__map_data_section): Fix condition | |
7436 | and optimize for size. | |
7437 | (__do_global_ctors): Fix pointer comparison. | |
7438 | (__do_global_dtors): Likewise. | |
7439 | ||
f451b552 DM |
7440 | 2002-04-09 David S. Miller <davem@redhat.com> |
7441 | ||
7442 | * config/sparc/sparc.c (sparc_extra_constraint_check): New | |
7443 | function, implementing EXTRA_CONSTRAINTS. For memory constraints, | |
7444 | allow reloading pseudos. | |
7445 | * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it. | |
7446 | * config/sparc/sparc-protos.h: Declare it. | |
7447 | ||
7448 | * config/sparc/sparc.c (const64_is_2insns): Kill signed vs. | |
7449 | unsigned comparison warning. | |
7450 | (output_restore_regs): Mark leaf_function as unused. | |
7451 | ||
1ce7f3c2 RK |
7452 | Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7453 | ||
7454 | * expr.c (is_aligning_offset): New function. | |
7455 | (expand_expr, case COMPONENT_EXPR): Call it. | |
7456 | ||
7a31a340 DM |
7457 | 2002-04-08 David S. Miller <davem@redhat.com> |
7458 | ||
7459 | PR target/6082 | |
7460 | * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW | |
7461 | ||
7462 | Make init_priority work on Sparc when using GNU ld. | |
7463 | * config/sparc/linux.h, config/sparc/linux64.h, | |
7464 | config/sparc/netbsd-elf.h, config/sparc/freebsd.h | |
7465 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. | |
7466 | * config/sparc/sol2-gld.h: New file to do the same. | |
7467 | * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add | |
7468 | sparc/sol2-gld.h to tm_file. | |
7469 | ||
7470 | PR optimization/4328 | |
7471 | * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. | |
7472 | * doc/md.texi: Document it. | |
7473 | * config/sparc/sparc.md (movdi_insn_sp64_novis, | |
7474 | movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, | |
7475 | movdf_insn_v9only_vis, movdf_insn_sp64_novis, | |
7476 | movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. | |
7477 | * config/sparc/sparc.c (mem_min_alignment): Fix comment. | |
7478 | ||
11579f33 AJ |
7479 | 2002-04-08 Andreas Jaeger <aj@suse.de> |
7480 | ||
7481 | * stmt.c (expand_asm_operands): Revert last patch from Richard | |
7482 | Henderson. | |
7483 | ||
b57215d9 GP |
7484 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7485 | ||
7486 | * doc/contrib.texi (Contributors): Add John David Anglin and Loren | |
7487 | J. Rittle (the latter also to Testers). Update David O'Brien's entry. | |
7488 | ||
7489 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
7490 | ||
7491 | * doc/contrib.texi (Contributors): Add David O'Brien. | |
7492 | ||
534d0cc0 AM |
7493 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
7494 | ||
7495 | * configure.in (auto-build.h): Use target_alias and build_alias | |
7496 | when running configure. | |
7497 | (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too. | |
7498 | (gcc_cv_nm, gcc_cv_objdump): Set for build != host too. | |
7499 | * configure: Regenerate. | |
7500 | ||
19fe522a DM |
7501 | 2002-04-07 David S. Miller <davem@redhat.com> |
7502 | ||
7503 | * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file. | |
7504 | ||
bf2d0b8e JDA |
7505 | 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7506 | ||
7507 | PR 5933 | |
7508 | * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when | |
7509 | generating 32-bit pic code. | |
7510 | ||
477cdac7 JT |
7511 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
7512 | ||
7513 | * cppinit.c (cpp_create_reader): Initialize | |
7514 | discard_comments_in_macro_exp. | |
7515 | (COMMAND_LINE_OPTIONS): Add "-CC" option. | |
7516 | (cpp_handle_option): Handle "-CC" option. | |
7517 | * cpplex.c (save_comment): If saving a C++ comment in | |
7518 | a directive, convert it to a C comment. | |
7519 | (_cpp_lex_direct): Pass second comment start character to | |
7520 | save_comment to indicate comment type. | |
7521 | * cpplib.c (_cpp_handle_directive): If processing | |
7522 | a "#define" directive and discard_comments_in_macro_exp | |
7523 | is false, re-enable saving of comments. | |
7524 | (lex_macro_node): If discard_comments_in_macro_exp is false, | |
7525 | discard any comments before the macro identifier. | |
7526 | * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp | |
7527 | member. | |
7528 | * cppmacro.c (cpp_get_token): If expanding a macro while | |
7529 | processing a directive, discard any comments we might encounter. | |
7530 | (parse_params): If discard_comments_in_macro_exp is false, | |
7531 | ignore comments in the macro parameter list. | |
7532 | * gcc.c (cpp_unique_options): Add "-CC" option. | |
7533 | (option_map): Map "--comments-in-macros" to "-CC". | |
7534 | * doc/cppopts.texi: Document "-CC" option. | |
7535 | * f/lang-specs.h: Add "-CC" option. | |
7536 | * testsuite/gcc.dg/cpp/maccom1.c: New test. | |
7537 | * testsuite/gcc.dg/cpp/maccom2.c: New test. | |
7538 | * testsuite/gcc.dg/cpp/maccom3.c: New test. | |
7539 | * testsuite/gcc.dg/cpp/maccom4.c: New test. | |
7540 | * testsuite/gcc.dg/cpp/maccom5.c: New test. | |
7541 | * testsuite/gcc.dg/cpp/maccom6.c: New test. | |
7542 | ||
f1526122 JDA |
7543 | 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7544 | ||
7545 | PR middle-end/6180 | |
7546 | * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes. | |
7547 | ||
b1896e61 MM |
7548 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> |
7549 | ||
0154eaa8 MM |
7550 | PR c++/5571 |
7551 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
7552 | ||
b1896e61 MM |
7553 | PR opt/5120 |
7554 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear | |
7555 | RTX_UNCHANGING_P for the functions arguments when a tail call | |
7556 | is made. | |
7557 | ||
b0148884 JM |
7558 | 2002-04-06 Jason Merrill <jason@redhat.com> |
7559 | ||
7560 | * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2. | |
7561 | (parse_options_and_default_flags): Set them appropriately. | |
7562 | * c-common.c (c_common_post_options): Don't set flag_really_no_inline. | |
7563 | ||
392fc5b0 HPN |
7564 | 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com> |
7565 | ||
7566 | * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc | |
7567 | here. | |
7568 | ||
7569 | * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious | |
7570 | semicolon. | |
7571 | ||
7572 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size | |
7573 | types come in by-reference. Fix typo in comment. | |
7574 | ||
2d69e3cb DM |
7575 | 2002-04-05 David S. Miller <davem@redhat.com> |
7576 | ||
7577 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits. | |
7578 | * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos, | |
7579 | sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*, | |
7580 | {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file. | |
7581 | ||
7582 | 2002-04-05 David S. Miller <davem@redhat.com> | |
7583 | ||
7584 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we | |
7585 | are not going to emit return instructions, emit at least a nop | |
7586 | for the sake of sane backtraces. | |
7587 | ||
5f9fb0e3 RH |
7588 | 2002-04-05 Richard Henderson <rth@redhat.com> |
7589 | ||
7590 | * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)). | |
7591 | ||
49f37a0d JJ |
7592 | 2002-04-05 Jakub Jeilnek <jakub@redhat.com> |
7593 | ||
7594 | * mklibgcc.in: Use $tmpmapfile, not tmp-$@. | |
7595 | ||
974a3101 AO |
7596 | 2002-04-05 Alexandre Oliva <aoliva@redhat.com> |
7597 | ||
7598 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, | |
7599 | ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
7600 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16. | |
7601 | ||
2e04a694 AS |
7602 | 2002-04-05 Andreas Schwab <schwab@suse.de> |
7603 | ||
a40179bd | 7604 | * c-convert.c: Include c-common.h. |
2e04a694 AS |
7605 | * Makefile.in (c-convert.o): Updated. |
7606 | ||
1f785b7c JJ |
7607 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
7608 | ||
7609 | * mklibgcc.in: Use separate libgcc.map for each multilib. | |
7610 | * Makefile.in (distclean): Don't remove libgcc.map here. | |
7611 | ||
4d2fb38b JJ |
7612 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
7613 | ||
7614 | * Makefile.in (s-mlib): Handle --disable-multilib by separate | |
7615 | genmultilib invocation. | |
7616 | ||
bb63e5a0 RS |
7617 | 2002-04-04 Richard Sandiford <rsandifo@redhat.com> |
7618 | ||
7619 | * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs | |
7620 | to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs | |
7621 | to num_gprs for symmetry. | |
7622 | * config/mips/mips.c: Adjust accordingly. | |
7623 | ||
8ab80eaa NB |
7624 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
7625 | ||
7626 | * c-common.c (truthvalue_conversion): Rename, update. | |
7627 | * c-common.h (c_common_truthvalue_conversion): New. | |
7628 | * c-convert.c (convert): Update. | |
7629 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
7630 | * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update. | |
7631 | * c-typeck.c (build_binary_op, build_unary_op, | |
7632 | build_conditional_expr): Update. | |
7633 | * fold-const.c (constant_boolean_node, fold): Use langhook. | |
7634 | * langhooks-def.h (LANGHOOK_INITIALIZER): Update. | |
7635 | * langhooks.h (struct lang_hooks): New hook. | |
7636 | * stmt.c (expand_decl_cleanup): Use langhook. | |
7637 | * tree.h (truthvalue_conversion): Remove. | |
7638 | objc: | |
7639 | * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
7640 | ||
a2e9374a AM |
7641 | 2002-04-05 Alan Modra <amodra@bigpond.net.au> |
7642 | ||
7643 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o | |
7644 | Add rules to make null object file. | |
7645 | ||
64d08263 JB |
7646 | 2002-04-04 Jim Blandy <jimb@redhat.com> |
7647 | ||
7648 | * cppmacro.c (cpp_macro_definition): Do not emit spaces after | |
7649 | macro formal parameter names. | |
7650 | ||
aa7634dd DM |
7651 | 2002-04-04 David S. Miller <davem@redhat.com> |
7652 | ||
7653 | * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg. | |
7654 | ||
ecc114f7 RH |
7655 | 2002-04-04 Richard Henderson <rth@redhat.com> |
7656 | ||
7657 | PR middle-end/5099 | |
7658 | * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok. | |
7659 | Support copies into and out of memory. Don't accept allows_reg | |
7660 | and allows_mem as gospel. | |
7661 | ||
c4484b8f RH |
7662 | 2002-04-04 Richard Henderson <rth@redhat.com> |
7663 | ||
7664 | PR opt/6165 | |
7665 | * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict. | |
7666 | (write_dependence_p): Likewise. | |
7667 | ||
39002160 RH |
7668 | 2002-04-04 Richard Henderson <rth@redhat.com> |
7669 | ||
7670 | * predict.c (estimate_bb_frequencies): Do frequency calculation | |
7671 | with a volatile temporary. | |
7672 | ||
f53ebe71 UW |
7673 | 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com> |
7674 | ||
7675 | * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define. | |
7676 | ||
15e0ecab JJ |
7677 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
7678 | ||
7679 | PR c++/6119 | |
7680 | * final.c (final_start_function): Don't bump profile_label_no here... | |
7681 | (final_end_function): ...but here. | |
7682 | ||
ffd386b0 JJ |
7683 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
7684 | ||
7685 | * config/sparc/sparc.md (pic): New attribute. | |
7686 | (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9 | |
7687 | into stack slots. | |
7688 | (split after do_builtin_setjmp_setup): New. | |
7689 | ||
8b156b3e JJ |
7690 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
7691 | ||
7692 | PR fortran/6106 | |
7693 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 | |
7694 | change. | |
7695 | ||
014c0998 JJ |
7696 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
7697 | ||
7698 | * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by | |
7699 | UNITS_PER_WORD for zero sized aggregates. | |
7700 | ||
4d8611d9 DM |
7701 | 2002-04-03 David S. Miller <davem@redhat.com> |
7702 | ||
7703 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new | |
7704 | one-character spec for this, just use %(link_gcc_c_sequence). | |
7705 | ||
b03ad99d DM |
7706 | 2002-04-03 David S. Miller <davem@redhat.com> |
7707 | ||
7708 | * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian | |
7709 | handling. | |
7710 | ||
823fbbce JDA |
7711 | 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7712 | ||
7713 | * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. | |
7714 | (DWARF_FRAME_RETURN_COLUMN): Move. | |
7715 | (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
7716 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define. | |
7717 | * pa.c (except.h, predict.h): Include. | |
7718 | (FRP): Delete. | |
7719 | (store_reg_modify, set_reg_plus_d): Revise prototypes. | |
7720 | (output_ascii): Add cast. | |
7721 | (store_reg_modify): Revise to add frame notes. | |
7722 | (set_reg_plus_d): Likewise. | |
7723 | (compute_frame_size): Include space for eh data registers in frame if | |
7724 | the current function calls eh_return. | |
7725 | (hppa_expand_prologue): Ensure register %r2 is saved if the current | |
7726 | function calls eh_return. Save eh data registers if the current | |
7727 | function calls eh_return. Fix code to add frame notes. Emit | |
7728 | blockage to prevent insns with frame notes being scheduled in the | |
7729 | delay slot of calls. | |
7730 | (hppa_expand_epilogue): Restore eh data registers and do final stack | |
7731 | adjustment if the current function calls eh_return. Don't add frame | |
7732 | notes. | |
7733 | (output_call): Revise for change in length of call insn. Don't do | |
7734 | return pointer adjustment for an unconditional jump in the delay slot | |
7735 | of a call when using frame notes. | |
7736 | * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility. | |
7737 | (EH_RETURN_HANDLER_RTX): Use saved value on stack. | |
7738 | (ARG_POINTER_CFA_OFFSET): Define. | |
7739 | * pa.md (return_external_pic): New pattern. | |
7740 | (prologue): Correct formatting. Use return_external_pic if current | |
7741 | function calls eh_return. | |
7742 | (call_internal_symref, call_value_internal_symref, | |
7743 | sibcall_internal_symref, sibcall_value_internal_symref): Change default | |
7744 | lengths of short, long non-pic, and long pic calls to 8, 68, and 84, | |
7745 | respectively. | |
7746 | (exception_receiver): Use hppa_pic_save_rtx () to restore pic register. | |
7747 | ||
7748 | * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to | |
7749 | list of targets to check using "nop" insn. | |
7750 | * configure: Rebuilt. | |
7751 | ||
4078e224 AM |
7752 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
7753 | ||
7754 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define. | |
7755 | ||
bbd7687d DM |
7756 | 2002-04-03 David S. Miller <davem@redhat.com> |
7757 | ||
7758 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c | |
7759 | library sequence passed to the linker. | |
7760 | (LINK_COMMAND_SPEC): Use it. | |
7761 | * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as | |
7762 | a macro a target can use to avoid overriding LINK_COMMAND_SPEC. | |
7763 | * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
7764 | ||
659e5a7a JM |
7765 | 2002-04-03 Jason Merrill <jason@redhat.com> |
7766 | ||
7767 | * except.c (struct eh_status): Remove protect_list. | |
7768 | (begin_protect_partials, end_protect_partials): Remove. | |
7769 | (add_partial_entry): Remove. | |
7770 | * except.h: Remove prototypes. | |
7771 | ||
7772 | * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use | |
7773 | expand_decl_cleanup_eh. | |
7774 | ||
7775 | PR c++/5636 | |
7776 | * tree.h (CLEANUP_EH_ONLY): New macro. | |
7777 | * stmt.c (expand_decl_cleanup_eh): New fn. | |
7778 | (expand_cleanups): Check CLEANUP_EH_ONLY. | |
7779 | * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT. | |
7780 | Use expand_decl_cleanup_eh. | |
7781 | (expand_stmt): Adjust. | |
7782 | * c-common.h: Adjust prototype. | |
7783 | ||
053d3344 HPN |
7784 | 2002-04-04 Hans-Peter Nilsson <hp@axis.com> |
7785 | ||
7786 | * config/cris/cris.c (cris_target_asm_function_prologue): Cast | |
7787 | uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. | |
7788 | (cris_target_asm_function_epilogue): Ditto. | |
7789 | (cris_initial_frame_pointer_offset): Ditto. | |
7790 | (cris_simple_epilogue): Ditto. | |
7791 | (cris_expand_builtin_va_arg): Variable-size types come in | |
7792 | by-reference. | |
7793 | ||
61ab5260 DM |
7794 | 2002-04-03 David S. Miller <davem@redhat.com> |
7795 | ||
7796 | * config/sparc/crtfastmath.c (FPRS_NS): Get it right for | |
7797 | little-endian. | |
7798 | (set_fast_math): Correct 'fsr' type. | |
7799 | ||
ef4f94ac RH |
7800 | 2002-04-03 Richard Henderson <rth@redhat.com> |
7801 | ||
36c2272c | 7802 | PR opt/3569 |
ef4f94ac RH |
7803 | * langhooks.h (lang_hooks.decls.warn_unused_global): New. |
7804 | * toplev.c (check_global_declarations): Use it. | |
7805 | * langhooks-def.h (lhd_warn_unused_global_decl): Declare. | |
7806 | (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
7807 | (LANG_HOOKS_DECLS): Add it. | |
7808 | * langhooks.c (lhd_warn_unused_global_decl): New. | |
7809 | * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
7810 | * c-objc-common.c (c_warn_unused_global_decl): New. | |
7811 | * c-tree.h (c_warn_unused_global_decl): Declare. | |
7812 | * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
7813 | ||
599bba86 NB |
7814 | 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk> |
7815 | ||
7816 | * langhooks-def.h (lhd_set_decl_assembler_name, | |
7817 | LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New. | |
7818 | (LANG_HOOKS_INITIALIZER): Update. | |
7819 | * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c | |
7820 | * langhooks.h (struct lang_hooks): New hook. | |
7821 | * tree.c (set_decl_assembler_name): Move to langhooks.c. | |
7822 | (lang_set_decl_assembler_name): Remove. | |
7823 | (init_obstacks): Don't set hook. | |
7824 | (decl_assembler_name): New function. | |
7825 | * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call. | |
7826 | (decl_assembler_name): New. | |
7827 | (lang_set_decl_assembler_name): Remove. | |
7828 | ||
cf7b8b0d JJ |
7829 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
7830 | ||
7831 | * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() | |
7832 | works properly with .hidden symbols. | |
7833 | * configure: Rebuilt. | |
7834 | * config.in: Rebuilt. | |
7835 | * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
7836 | DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work | |
7837 | properly with .hidden symbols. | |
7838 | ||
faf6db38 JJ |
7839 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
7840 | ||
7841 | PR middle-end/6102 | |
7842 | * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access | |
7843 | USE argument. | |
7844 | ||
68c17f30 RH |
7845 | 2002-04-03 Richard Henderson <rth@redhat.com> |
7846 | ||
7847 | PR opt/4120 | |
7848 | * sched-rgn.c (sets_likely_spilled): New. | |
7849 | (sets_likely_spilled_1): New. | |
7850 | (add_branch_dependences): Use it. | |
7851 | ||
6584b4aa RH |
7852 | 2002-04-02 Richard Henderson <rth@redhat.com> |
7853 | ||
7854 | PR opt/4311 | |
7855 | * loop.h (LOOP_FIRST_PASS): New. | |
7856 | * loop.c (strength_reduce): Mind it when deciding to unroll. | |
7857 | * toplev.c (rest_of_compilation): Set it. | |
7858 | ||
0acf409f DM |
7859 | 2002-04-02 David S. Miller <davem@redhat.com> |
7860 | ||
7861 | * config/sparc/sparc.md (ldd peephole2s): Fix final arg to | |
7862 | mems_ok_for_ldd_peep when the order of the loads being examined | |
7863 | is reversed. | |
7864 | * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon | |
7865 | existing comment to increase comprehension of this situation. | |
7866 | ||
85654444 ZW |
7867 | 2002-04-02 Zack Weinberg <zack@codesourcery.com> |
7868 | ||
7869 | * config/sh/sh.md: Don't use union real_extract. | |
7870 | ||
543828ca RH |
7871 | 2002-04-02 Richard Henderson <rth@redhat.com> |
7872 | ||
7873 | * libgcc2.c (__bb_exit_func): Revert 03-31 change. | |
7874 | ||
39ed301b DB |
7875 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
7876 | ||
7877 | * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems, | |
7878 | i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-, | |
7879 | i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1, | |
7880 | i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos, | |
7881 | i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd, | |
7882 | i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf, | |
7883 | i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix, | |
7884 | i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout, | |
7885 | i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32, | |
7886 | i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd, | |
7887 | i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems, | |
7888 | i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv, | |
7889 | i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta, | |
7890 | i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd): | |
7891 | Include as many configury headers via tm_file as possible. This | |
7892 | includes among others i386/unix.h, i386/bsd.h, i386/gas.h. | |
7893 | * config/openbsd-oldgas.h: New file. | |
7894 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h, | |
7895 | config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h, | |
7896 | config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h, | |
7897 | config/i386/i386-coff.h, config/i386/i386-interix.h, | |
7898 | config/i386/iscdbx.h, config/i386/linux-aout.h, | |
7899 | config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h, | |
7900 | config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h, | |
7901 | config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h, | |
7902 | config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h, | |
7903 | config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h, | |
7904 | config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h, | |
7905 | config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h, | |
7906 | config/i386/vxi386.h: Do not directly include configury headers. | |
7907 | * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h: | |
7908 | Directly include configury headers that are no longer automatically | |
7909 | included by the above headers. | |
7910 | * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define. | |
7911 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h, | |
7912 | config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h, | |
7913 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h, | |
7914 | config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h, | |
7915 | config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h, | |
7916 | config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h | |
7917 | (TARGET_VERSION): Define. | |
7918 | * config/i386/beos-elf.h, config/i386/freebsd.h, | |
7919 | config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, | |
7920 | config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, | |
7921 | config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h, | |
7922 | config/i386/sco5.h, config/i386/sysv4.h | |
7923 | (TARGET_VERSION): Do not need to protect. | |
7924 | * config/i386/freebsd64.h (TARGET_VERSION): Fix style. | |
7925 | * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h, | |
7926 | config/i386/freebsd-aout.h, config/i386/i386-aout.h, | |
7927 | config/i386/i386-interix.h, config/i386/linux-aout.h, | |
7928 | config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h, | |
7929 | config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h | |
7930 | (YES_UNDERSCORES): Do not define - not needed. | |
7931 | * config/i386/bsd.h, config/i386/gas.h (LPREFIX, | |
7932 | ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
7933 | USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case. | |
7934 | * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h | |
7935 | (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
7936 | USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case) | |
7937 | * config/i386/isc.h: Preserve comment from config/i386/isccoff.h. | |
7938 | * config/i386/isccoff.h, config/i386/v3gas.h: Remove. | |
7939 | ||
9432c136 EB |
7940 | 2002-04-02 Eric Botcazou <ebotcazou@multimania.com> |
7941 | Richard Henderson <rth@redhat.com> | |
7942 | ||
7943 | PR c/5484 | |
7944 | * function.c (assign_temp): Accept either type or decl argument. | |
7945 | Detect variables whose size is too large to fit into an integer. | |
7946 | * stmt.c (expand_decl): Pass the decl, not the type. | |
7947 | ||
058b1275 DB |
7948 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
7949 | ||
7950 | * protoize.c: Match include directory usage with cppdefault.c. | |
7951 | ||
5add6d1a | 7952 | 2002-04-03 Jeffrey A Law (law@redhat.com) |
9be40833 | 7953 | Hans-Peter Nilsson <hp@bitrange.com> |
5add6d1a JL |
7954 | |
7955 | * combine.c (simplify_comparison): Avoid narrowing a comparison | |
7956 | with a paradoxical subreg when doing so would drop signficant bits. | |
7957 | ||
1e533e4b SE |
7958 | 2002-04-02 Steve Ellcey <sje@cup.hp.com> |
7959 | ||
7960 | * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode | |
7961 | if POINTERS_EXTEND_UNSIGNED is defined. | |
7962 | ||
7a145e92 RH |
7963 | 2002-04-02 Richard Henderson <rth@redhat.com> |
7964 | ||
7965 | PR opt/3967 | |
7966 | * local-alloc.c (contains_replace_regs): LO_SUM may contain | |
7967 | replace regs. | |
7968 | ||
3a079822 RH |
7969 | 2002-04-02 Richard Henderson <rth@redhat.com> |
7970 | ||
7971 | * doc/standards.texi: Document required freestanding libc entry points. | |
7972 | ||
c94ccb87 AM |
7973 | 2002-04-02 Alan Modra <amodra@bigpond.net.au> |
7974 | ||
7975 | * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and | |
7976 | associated splitter. Remove MQ constraint. | |
7977 | (ctrdi_internal4): Correct CCmode clobber. | |
7978 | ||
fe660a1a JDA |
7979 | 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7980 | ||
7981 | * milli64.S ($$dyncall): New function. | |
7982 | * t-linux (LIB1ASMFUNCS): Revise module list. | |
7983 | (LIB1ASMSRC): Use pa/milli64.S. | |
7984 | ||
eadc0202 RH |
7985 | 2002-04-02 Richard Henderson <rth@redhat.com> |
7986 | ||
7987 | * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and | |
7988 | rename solaris_sys_varargs_h. | |
7989 | ||
a1471322 RK |
7990 | Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7991 | ||
7992 | * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array | |
7993 | the same mode as its component. | |
7994 | ||
c8b94768 RH |
7995 | 2002-04-02 Richard Henderson <rth@redhat.com> |
7996 | ||
7997 | PR opt/190 | |
7998 | * final.c (this_is_asm_operands): Export. | |
7999 | * output.h (this_is_asm_operands): Declare. | |
8000 | * config/i386/i386.c (print_operand): Error odd asm operands. | |
8001 | ||
161eb4fc RH |
8002 | 2002-04-02 Richard Henderson <rth@redhat.com> |
8003 | ||
8004 | PR opt/420 | |
8005 | * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra. | |
8006 | ||
b88a94c6 RH |
8007 | 2002-04-01 Richard Henderson <rth@redhat.com> |
8008 | ||
8009 | PR target/1538 | |
8010 | * fixinc/inclhack.def (solaris_sys_varargs_h): New. | |
8011 | * fixinc/fixincl.x: Rebuild. | |
8012 | ||
72e32876 RH |
8013 | 2002-04-01 Richard Henderson <rth@redhat.com> |
8014 | ||
8015 | * config/ia64/unwind-ia64.c: Include ia64intrin.h. | |
8016 | (atomic_alloc, atomic_free): New. | |
8017 | (SIZE, MASK_FOR, PTR_IN): New. | |
8018 | (emergency_reg_state, emergency_reg_state_free): New. | |
8019 | (emergency_labeled_state, emergency_labeled_state_free): New. | |
8020 | (reg_state_alloced, labeled_state_alloced): New. | |
8021 | (alloc_reg_state, free_reg_state): New. | |
8022 | (alloc_label_state, free_label_state, free_label_states): New. | |
8023 | (push, pop, dup_state_stack, free_state_stack): Use them. | |
8024 | (desc_label_state): Likewise. | |
8025 | (uw_frame_state_for): Free label states and state stack. | |
8026 | (uw_update_reg_address): Eliminate warnings. | |
8027 | ||
84d76074 VM |
8028 | 2002-04-01 Vladimir Makarov <vmakarov@redhat.com> |
8029 | ||
8030 | * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, | |
9be40833 | 8031 | ASM_OUTPUT_ALIGNED_LOCAL): Redefine them. |
84d76074 | 8032 | |
dffd7eb6 NB |
8033 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
8034 | ||
8035 | * c-decl.c (grokdeclarator): Update. | |
8036 | * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
8037 | * c-tree.h (c_mark_addressable): New. | |
8038 | * c-typeck.c (default_function_array_conversion, build_unary_op, | |
8039 | build_array_ref, convert_for_assignment): Update. | |
8040 | (mark_addressable): Rename. | |
8041 | * calls.c (try_to_integrate, expand_call): Use langhook. | |
8042 | * expr.c (expand_expr): Use langhook. | |
8043 | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update. | |
8044 | * langhooks.h (struct lang_hooks): New hook. | |
8045 | * stmt.c (expand_asm_operands): Use langhook. | |
8046 | * tree.h (mark_addressable): Remove. | |
8047 | objc: | |
8048 | * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
8049 | ||
544ef5b5 BW |
8050 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
8051 | ||
9be40833 RH |
8052 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning |
8053 | in previous change. | |
544ef5b5 | 8054 | |
bcf88f9b BW |
8055 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
8056 | ||
8057 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments | |
8058 | for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). | |
8059 | ||
ceef8ce4 NB |
8060 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
8061 | ||
8062 | * c-common.c (unsigned_conversion_warning, convert_and_check, | |
8063 | unsigned_type, signed_type, shorten_compare, | |
8064 | c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks. | |
8065 | (unsigned_type, signed_type, signed_or_unsigned_type): Rename. | |
8066 | * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
8067 | New. | |
8068 | * c-decl.c (grokdeclarator): Update. | |
8069 | * c-format.c (check_format_types): Update. | |
8070 | * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
8071 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
8072 | * c-typeck.c (build_binary_op, convert_for_assignment): Update. | |
8073 | * convert.c (convert_to_integer): Use new hooks. | |
8074 | * expmed.c (make_tree): Use new hooks. | |
8075 | * expr.c (store_expr): Use new hooks. | |
8076 | * fold-const.c (operand_equal_for_comparison_p, build_range_check, | |
8077 | all_ones_mask_p, unextend, fold): Use new hooks. | |
8078 | * langhooks.h (struct lang_hooks_for_types): New hooks. | |
8079 | * tree.h (signed_or_unsigned_type, signed_type, | |
8080 | unsigned_type): Remove. | |
8081 | objc: | |
8082 | * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
8083 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
8084 | ||
1d9ad0e0 RH |
8085 | 2002-03-31 Richard Henderson <rth@redhat.com> |
8086 | ||
8087 | * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset. | |
8088 | (desc_frgr_mem): Fix reference to f16-f31. | |
8089 | ||
d544bc39 KG |
8090 | 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8091 | ||
8092 | * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, | |
8093 | RTVEC_ELT): Const-ify. | |
d8750784 KG |
8094 | * varray.h (VARRAY_CHECK): Const-ify. |
8095 | * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree, | |
8096 | ggc_mark_rtvec, ggc_mark): Const-ify. | |
d544bc39 | 8097 | |
b18101c7 NB |
8098 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
8099 | ||
8100 | * diagnostic.c: Include langhooks-def.h. | |
8101 | * Makefile.in (diagnostic.o): Update. | |
8102 | ||
48a7a235 NB |
8103 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
8104 | ||
8105 | * c-common.c (c_unsafe_for_reeval): Rename. | |
8106 | * c-common.h (c_unsafe_for_reeval): Rename. | |
8107 | * c-decl.c (finish_incomplete_decl): Rename. | |
8108 | (c_init_decl_processing): Don't set langhook. | |
8109 | * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
8110 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
8111 | * c-objc-common.c (c_objc_common_init): Don't set langhook. | |
8112 | * c-tree.h (finish_incomplete_decl): Rename. | |
8113 | * langhooks-def.h (lhd_unsafe_for_reeval): New. | |
8114 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New. | |
8115 | (LANG_HOOKS_INITIALIZER): Update. | |
8116 | * langhooks.c (lhd_unsafe_For_reeval): New. | |
8117 | * langhooks.h (struct langhooks): New hooks. | |
8118 | * toplev.c (incomplete_decl_finalize_hook): Remove. | |
8119 | (wrapup_global_declarations): Update. | |
8120 | * tree.c (lang_unsafe_for_reeval): Remove. | |
8121 | (unsafe_for_reeval): Update. | |
8122 | * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook): | |
8123 | Remove. | |
8124 | objc: | |
8125 | * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
8126 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
8127 | ||
7cb32822 NB |
8128 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
8129 | ||
8130 | * diagnostic.c (print_error_function): Remove. | |
8131 | (default_print_error_function): Rename. | |
8132 | (report_error_function): Update. | |
8133 | * diagnostic.h (print_error_function): Remove. | |
8134 | (default_print_error_function): Remove. | |
8135 | * langhooks-def.h (struct diagnostic_context): Predeclare. | |
8136 | (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New. | |
8137 | (LANG_HOOKS_INITIALIZER): Update. | |
8138 | * langhooks.h (struct diagnostic context): Predeclare. | |
8139 | (struct lang_hooks): New hook. | |
8140 | ||
1db02437 FS |
8141 | 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
8142 | ||
8143 | * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New. | |
8144 | (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if | |
8145 | !flag_pic. | |
8146 | (CONDITIONAL_REGISTER_USAGE): Adjust accordingly. | |
8147 | * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead | |
8148 | of PIC_OFFSET_TABLE_REGNUM thruout. | |
8149 | * config/rs6000/rs6000.md: Likewise. | |
8150 | * config/rs6000/darwin.h: Likewise. | |
8151 | ||
3bf1e984 RK |
8152 | Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8153 | ||
8154 | * emit-rtl.c (adjust_address_1, offset_address): Cast value to | |
8155 | unsigned HOST_WIDE_INT, not unsigned int. | |
8156 | ||
0864c526 JJ |
8157 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
8158 | ||
8159 | PR middle-end/6096, middle-end/6098, middle-end/6099 | |
8160 | * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for | |
8161 | CODE_LABELs. | |
8162 | (fill_slots_from_thread): Likewise. | |
8163 | ||
105b2084 JJ |
8164 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
8165 | ||
8166 | * config/sparc/sparc.c (function_arg_record_value_1): Pass complex | |
8167 | floating fields in float regs. | |
8168 | (function_arg_record_value_2): Likewise. | |
8169 | ||
db08fddf HPN |
8170 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
8171 | ||
8172 | * config/mmix/mmix.md (define_constants): Remove misleading | |
8173 | FIXME. Add MMIX_fp_rO_OFFSET. | |
8174 | ("nonlocal_goto_receiver"): Don't have stack-frame address of | |
8175 | saved rO as part of the pattern. Remove FIXME. | |
8176 | ("*nonlocal_goto_receiver_expanded"): Similar. Generate address | |
8177 | here, at output-time. | |
8178 | ||
4f31cce8 JJ |
8179 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
8180 | ||
8181 | PR middle-end/6100 | |
8182 | * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not | |
8183 | REG_BR_PRED. | |
8184 | (output_v9branch): Likewise. | |
8185 | ||
ba2b7435 AO |
8186 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
8187 | ||
8188 | * gcc.c: Revert previous patch for now. | |
8189 | * config/i386/djgpp.h: Likewise. | |
8190 | ||
aa66aa5f | 8191 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
8f840f57 HPN |
8192 | |
8193 | * config/mmix/crti.asm (_init): Register _fini with atexit. | |
8194 | * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0". | |
8195 | ||
41ba8a20 RH |
8196 | 2002-03-31 Richard Henderson <rth@redhat.com> |
8197 | ||
8198 | PR target/3997 | |
8199 | * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy. | |
8200 | (ASM_OUTPUT_DEF_FROM_DECLS): New. | |
8201 | ||
adc186ef RH |
8202 | 2002-03-31 Richard Henderson <rth@redhat.com> |
8203 | ||
8204 | * libgcc2.c (__bb_exit_func): Make static. | |
8205 | ||
9be40833 | 8206 | * config/alpha/alpha.md (trap): New. |
a7648399 | 8207 | |
9602f5a0 RH |
8208 | 2002-03-31 Richard Henderson <rth@redhat.com> |
8209 | ||
8210 | * builtins.c (expand_builtin_va_arg): Give warnings not errors for | |
8211 | promoted argument types; build trap. | |
8212 | (expand_builtin_trap): New. | |
8213 | (expand_builtin): Use it. | |
8214 | * stmt.c (expand_nl_goto_receivers): Likewise. | |
8215 | * expr.h (expand_builtin_trap): Declare. | |
8216 | * libfuncs.h (LTI_abort, abort_libfunc): New. | |
8217 | * optabs.c (init_optabs): Init abort_libfunc. | |
8218 | ||
1a0a7539 AO |
8219 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
8220 | ||
8221 | * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here... | |
8222 | (LINK_COMMAND_SPEC): ... from here. | |
7b2e1077 | 8223 | (init_gcc_specs): Duplicate it here too, omitting |
1a0a7539 AO |
8224 | shared_name in the second copy. |
8225 | (init_spec): Test for duplicate | |
8226 | * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'. | |
8227 | ||
b5de1a27 DM |
8228 | 2002-03-30 David S. Miller <davem@redhat.com> |
8229 | ||
8230 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
8231 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise. | |
8232 | ||
78414d74 | 8233 | 2002-03-30 Roger Sayle <roger@eyesopen.com> |
9be40833 | 8234 | Richard Henderson <rth@redhat.com> |
78414d74 | 8235 | |
9be40833 RH |
8236 | * regmove.c (combine_stack_adjustments_for_block): Avoid |
8237 | emitting a stack adjustment of zero bytes. Let delete_insn | |
8238 | update bb->head. | |
78414d74 | 8239 | |
33074e5f RH |
8240 | 2002-03-30 Richard Henderson <rth@redhat.com> |
8241 | ||
8242 | * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. | |
8243 | (sparc_emitting_epilogue): New. | |
8244 | (leaf_label, output_return, sparc_return_peephole_ok): Remove. | |
8245 | * config/sparc/sparc-protos.h: Update. | |
8246 | * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. | |
8247 | (TARGET_SWITCHES): Update. | |
8248 | * config/sparc/sparc.md (return): Remove. | |
8249 | (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. | |
8250 | * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, | |
8251 | config/sparc/liteelf.h, config/sparc/netbsd-elf.h, | |
8252 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
8253 | config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, | |
8254 | config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, | |
8255 | config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): | |
8256 | Remove MASK_EPILOGUE. | |
8257 | * doc/invoke.texi: Update. | |
8258 | ||
606cc056 DB |
8259 | 2002-03-30 Daniel Berlin <dan@dberlin.org> |
8260 | ||
8261 | * dwarf2out.c (dwarf2out_define): Remove start_source_file call, | |
8262 | CPP will start the file for us. | |
7b2e1077 | 8263 | |
bdbe5b8d RH |
8264 | 2002-03-30 Richard Henderson <rth@redhat.com> |
8265 | ||
8266 | PR target/5446 | |
8267 | * config/ia64/ia64.c (group_barrier_needed_p): Special case | |
8268 | prologue_allocate_stack. | |
8269 | (ia64_single_set): Use insn codes for recognition of special | |
8270 | cases, not rtl matching. | |
8271 | * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out. | |
8272 | ||
4ab95d82 JH |
8273 | Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz> |
8274 | ||
8275 | * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks. | |
8276 | ||
89a8b315 RH |
8277 | 2002-03-30 Richard Henderson <rth@redhat.com> |
8278 | ||
8279 | PR target/6032 | |
8280 | * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic | |
8281 | or -fomit-frame-pointer with profiling. | |
8282 | (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
8283 | (FUNCTION_PROFILER): Do nothing. | |
8284 | (PROFILE_HOOK): New. | |
8285 | * config/sparc/sparc.c (sparc_override_options): Don't check | |
8286 | code models for profiling. | |
8287 | (sparc_function_profiler): Remove. | |
8288 | (sparc_profile_hook): New. | |
8289 | * config/sparc/sparc-protos.h: Update. | |
8290 | ||
30984c57 JJ |
8291 | 2002-03-30 Jakub Jelinek <jakub@redhat.com> |
8292 | ||
8293 | PR optimization/6086 | |
8294 | * combine.c (combine_simplify_rtx): If simplify_rtx failed because | |
8295 | of SUBREG of volatile MEM or because the MEM was mode dependent, | |
8296 | return CLOBBER instead of unmodified SUBREG. | |
8297 | ||
1540f9eb JH |
8298 | Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> |
8299 | ||
89a8b315 RH |
8300 | * local-alloc.c (local_alloc): Avoid call of update_equiv_regs |
8301 | when not optimizing. | |
1540f9eb JH |
8302 | |
8303 | * toplev.c (rest_of_compilation): Cann mark_constant_function | |
8304 | only when optimizing. | |
8305 | ||
89a8b315 RH |
8306 | * flow.c (calculate_global_regs_live): Ensure that all AUX fields |
8307 | are NULL. | |
1540f9eb JH |
8308 | |
8309 | * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. | |
8310 | (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. | |
8311 | (try_optimize_cfg): clear all AUX fields. | |
8312 | ||
8313 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. | |
8314 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
8315 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
8316 | (legitimate_address_p): Accept SUBREGed registers. | |
8317 | ||
70d95bac RH |
8318 | 2002-03-29 Richard Henderson <rth@redhat.com> |
8319 | ||
8320 | PR target/5672 | |
8321 | * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place. | |
8322 | ||
d3294cd9 FS |
8323 | 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
8324 | ||
8325 | * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count | |
8326 | for aggregate and TFmode types. | |
8327 | ||
a106c875 HPN |
8328 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
8329 | ||
8330 | * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i]. | |
8331 | ||
7d7a5d6f RH |
8332 | 2002-03-29 Richard Henderson <rth@redhat.com> |
8333 | ||
6e2d670b | 8334 | PR target/5886 |
7d7a5d6f RH |
8335 | * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. |
8336 | * config/ia64/hpux.h, config/ia64/linux.h: Likewise. | |
8337 | ||
30c99a84 RH |
8338 | 2002-03-29 Richard Henderson <rth@redhat.com> |
8339 | ||
6e2d670b | 8340 | PR target/6041 |
30c99a84 RH |
8341 | * config/i386/i386.c (x86_arch_always_fancy_math_387): New. |
8342 | (override_options): Disable NO_FANCY_MATH_387 if the arch allows. | |
8343 | * config/i386/i386.h (x86_arch_always_fancy_math_387): New. | |
8344 | * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix | |
8345 | conditional. | |
8346 | * docs/invoke.texi: Update -mno-fancy-math-387 docs. | |
8347 | ||
02a566dc DJ |
8348 | 2002-03-29 Dale Johannesen <dalej@apple.com> |
8349 | ||
8350 | * loop.c (combine_movables): Do allow combination of pseudos. | |
8351 | ||
bc3a44db LR |
8352 | 2002-03-29 Loren J. Rittle <ljrittle@acm.org> |
8353 | ||
8354 | * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. | |
8355 | * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. | |
8356 | No functional change except ... | |
8357 | * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. | |
8358 | * doc/install.texi (*-*-freebsd*): Document port configuration. | |
8359 | ||
b0c48229 NB |
8360 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
8361 | ||
8362 | * Makefile.in (convert.o, calls.o, expmed.o): Update. | |
8363 | * attribs.c (handle_mode_attribute, handle_vector_size_attribute): | |
8364 | Use new hooks. | |
8365 | * builtin-types.def (BT_PTRMODE): Update. | |
8366 | * c-common.c (type_for_size): Rename c_common_type_for_size. | |
8367 | (type_for_mode): Similarly. | |
8368 | (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins): | |
8369 | Use new hook. | |
8370 | * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New. | |
8371 | * c-decl.c (finish_enum, build_enumerator): Use new hooks. | |
8372 | * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE): | |
8373 | Redefine. | |
8374 | * c-typeck.c (common_type, comptypes, default_conversion): | |
8375 | Use new hooks. | |
8376 | * calls.c: Include langhooks.h. | |
8377 | (emit_library_call_value_1): Use new hooks. Avoid redundant | |
8378 | calls. | |
8379 | * convert.c: Include langhooks.h | |
8380 | (convert_to_pointer, convert_to_integer): Use new hooks. | |
8381 | * except.c (init_eh): Similarly. | |
8382 | * expmed.c: Include langhooks.h. | |
8383 | (expand_mult_add): Use new hooks. | |
8384 | * expr.c (store_expr, store_constructor, expand_expr, do_jump, | |
8385 | try_casesi): Similarly. | |
8386 | * fold-const.c (optimize_bit_field_compare, make_range, | |
8387 | decode_field_reference, fold_truthop, fold): Similarly. | |
8388 | * function.c (assign_stack_local_1, assign_stack_temp_for_type, | |
8389 | put_var_into_stack): Similarly. | |
8390 | * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE, | |
8391 | LANG_HOOKS_TYPE_FOR_SIZE): New. | |
8392 | (LANG_HOOKS_TYPES_INITIALIZER): Update. | |
8393 | * langhooks.h (lang_hooks_for_types): New hooks. | |
8394 | * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks. | |
8395 | * tree.c (get_unwidened, get_narrower): Similarly. | |
8396 | * tree.h (type_for_mode, type_for_size): Remove. | |
8397 | * varasm.c (force_const_mem): Use new hooks. | |
8398 | * utils2.c (nonbinary_modular_operation): Update. | |
8399 | objc: | |
8400 | * objc-act.c (handle_impent): Update. | |
8401 | * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE): | |
8402 | Redefine. | |
8403 | ||
e206a74f SE |
8404 | 2002-03-29 Steve Ellcey <sje@cup.hp.com> |
8405 | ||
8406 | * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. | |
8407 | * config/ia64/ia64.c (basereg_operand): New. | |
8408 | * config/ia64/ia64-protos.h (basereg_operand): Declare. | |
8409 | * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand. | |
8410 | ||
7d9b6378 HPN |
8411 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
8412 | ||
8413 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct | |
8414 | unwind information when frame_pointer_needed. | |
8415 | (mmix_assemble_integer): Tweak wording in comment. | |
8416 | ||
f1e639b1 NB |
8417 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
8418 | ||
8419 | * Makefile.in (except.o): Update. | |
8420 | * except.c: Include langhooks.h. | |
8421 | (init_eh): Use langhook. | |
8422 | * langhooks-def.h (LANG_HOOKS_MAKE_TYPE, | |
8423 | LANG_HOOKS_FOR_TYPES_INITIALIZER): New. | |
8424 | (LANG_HOOKS_INITIALIZER): Update. | |
8425 | * langhooks.h (lang_hooks_for_types): New. | |
8426 | (struct lang_hooks): Add it. | |
8427 | * tree.c (make_lang_type_fn, make_lang_type): Remove. | |
8428 | * tree.h (make_lang_type_fn, make_lang_type): Remove. | |
8429 | config: | |
8430 | * alpha/alpha.c: Include langhooks.h. | |
8431 | (alpha_build_va_list): Use langhook. | |
8432 | * d30v/d30v.c: Include langhooks.h. | |
8433 | (d30v_build_va_list): Use langhook. | |
8434 | * i386/i386.c: Include langhooks.h. | |
8435 | (ix86_build_va_list): Use langhook. | |
8436 | * rs6000/rs6000.c (rs6000_build_va_list): Use langhook. | |
8437 | * s390/s390.c: Include langhooks.h. | |
8438 | (s390_build_va_list): Use langhook. | |
8439 | * stormy16/stormy16.c: Include langhooks.h. | |
8440 | (stormy16_build_va_list): Use langhook. | |
8441 | ||
f17f9332 JJ |
8442 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
8443 | ||
8444 | PR c++/5964 | |
8445 | * config/sparc/sparc.md (empty_delay_slot, branch_type): New | |
8446 | attributes. | |
8447 | (length): Compute variable length for branches/calls/jumps here. | |
8448 | (branch, inverted_branch, normal_fp_branch, inverted_fp_branch, | |
8449 | normal_fpe_branch, inverted_fpe_branch): Remove length attribute, | |
8450 | define branch_type attribute. | |
8451 | (divsi3_sp32): Maximum length is 6 not 7. | |
8452 | (call_address_struct_value_sp32, call_symbolic_struct_value_sp32, | |
8453 | call_address_untyped_struct_value_sp32, | |
8454 | call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2. | |
8455 | * config/sparc/sparc.c (empty_delay_slot): New function. | |
8456 | * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove. | |
8457 | * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype. | |
8458 | ||
0a0440c9 JJ |
8459 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
8460 | ||
8461 | * combine.c (set_nonzero_bits_and_sign_copies): Don't call | |
8462 | nonzero_bits if not needed. | |
8463 | (nonzero_bits) [XOR]: Likewise. | |
8464 | (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if | |
8465 | reg_last_set_mode and mode are both MODE_INT, but not equal. | |
8466 | (record_value_for_reg): Compute reg_last_set_nonzero_bits | |
8467 | in nonzero_bits_mode for MODE_INT modes. | |
8468 | ||
c9045f47 RH |
8469 | 2002-03-28 Richard Henderson <rth@redhat.com> |
8470 | ||
8471 | PR target/5715 | |
8472 | * config/alpha/osf.h (ASM_SPEC): Don't pass any special options | |
8473 | to GAS. Correct drift between alternatives. | |
8474 | ||
f8ed1958 RH |
8475 | 2002-03-28 Richard Henderson <rth@redhat.com> |
8476 | ||
8477 | PR target/6087 | |
8478 | * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. | |
8479 | ||
54e20385 LR |
8480 | 2002-03-28 Alexandre Oliva <aoliva@redhat.com> |
8481 | ||
8482 | * config/i386/freebsd.h (LINK_SPEC): Don't pass default | |
8483 | emulation to the linker. | |
8484 | ||
8485 | 2002-03-28 Loren J. Rittle <ljrittle@acm.org> | |
8486 | ||
8487 | * config/alpha/freebsd.h (LINK_SPEC): Likewise. | |
8488 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
8489 | ||
8bc52806 JL |
8490 | Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) |
8491 | ||
8492 | * combine.c (simplify_and_const_int): Make sure to apply mask | |
8493 | when force_to_mode returns a constant integer. PR3311. | |
8494 | ||
279dccc5 JDA |
8495 | 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8496 | ||
8497 | * pa-linux.h (LOCAL_LABEL_PREFIX): Define. | |
8498 | ||
62aaa62c GP |
8499 | 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
8500 | ||
8501 | * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options | |
8502 | and Objective-C Dialect Options. | |
8503 | ||
b8de5050 RH |
8504 | 2002-03-28 Richard Henderson <rth@redhat.com> |
8505 | ||
8506 | * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE | |
8507 | comparison should be done vs !=0 not >0 return code. Tidy cases. | |
8508 | ||
619708cc RH |
8509 | 2002-03-28 Richard Henderson <rth@redhat.com> |
8510 | ||
8511 | * c-decl.c (finish_function): New arg can_defer_p. Pass it | |
8512 | on to c_expand_body. | |
8513 | * c-tree.h (finish_function): Update decl. | |
8514 | * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. | |
8515 | ||
b1d874d7 JH |
8516 | Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz> |
8517 | ||
8518 | * ifcvt.c (if_convert): Clear aux_for_blocks early enought. | |
8519 | ||
f5eb5fd0 JH |
8520 | Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz> |
8521 | ||
8522 | * rtlanal.c: Include flags.h | |
8523 | (may_trap_p): Do not mark FP operations if trapping | |
8524 | if !flag_trapping_math | |
8525 | * Makefile.in (rtlanal.o): Add dependency on flag.h | |
8526 | * ifcvt.c (noce_operand_ok): Avoid the lameness. | |
8527 | ||
81b4c798 ZW |
8528 | 2002-03-27 Zack Weinberg <zack@codesourcery.com> |
8529 | ||
8530 | * mips.md: Use dconst1, not 1.0, as first argument of | |
8531 | REAL_VALUE_LDEXP. Don't use union real_extract. | |
8532 | ||
55a2ea2a AM |
8533 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
8534 | ||
8535 | * configure.in (gcc_cv_as): Use $target_alias in directory searchs | |
8536 | rather than $target. Heed program_prefix and | |
8537 | program_transform_name. Search for gas in cross-compiler case too. | |
8538 | "test -x" rather than "test -f". | |
8539 | (gcc_cv_ld): Likewise. | |
8540 | (gcc_cv_nm): Heed program_prefix and program_transform_name. | |
8541 | (gcc_cv_objdump): Likewise. | |
8542 | * configure: Regenerate. | |
8543 | ||
7ffb4fd2 NB |
8544 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
8545 | ||
8546 | * Makefile.in (attribs.o): Update. | |
8547 | * attribs.c: Include langhooks.h. | |
8548 | (decl_attributes): Use langhook. | |
8549 | * c-decl.c (insert_default_attributes): Rename. | |
8550 | * c-tree.h (c_insert_default_attributes): New. | |
8551 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. | |
8552 | (LANG_HOOKS_INITIALIZER): Update. | |
8553 | * langhooks.h (struct lang_hooks): New hook. | |
8554 | * tree.h (insert_default_attributes): Remove. | |
8555 | objc: | |
8556 | * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. | |
8557 | ||
e4dbaed5 AS |
8558 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
8559 | ||
8560 | * config/i386/i386.c (classify_argument): Also check for | |
8561 | QUAL_UNION_TYPE. | |
8562 | ||
18b467f1 RO |
8563 | 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8564 | ||
8565 | * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj | |
8566 | any more. | |
8567 | ||
d337d653 JH |
8568 | Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz> |
8569 | ||
8570 | * i960.md (ret): Set PC. | |
8571 | (nonlocal_goto): Fix expander. | |
8572 | * builtins.c (epxand_builin_longjmp): Check that we've emitted | |
8573 | some jump or call. | |
8574 | ||
218aa620 JH |
8575 | Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz> |
8576 | ||
8577 | * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting | |
8578 | of libcall regions. | |
8579 | ||
e27a4eaf ZD |
8580 | Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
8581 | ||
8582 | * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of | |
8583 | assigning to BLOCK_FOR_INSN directly. | |
8584 | ||
8a12f34c JH |
8585 | Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz> |
8586 | ||
8587 | * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. | |
8588 | ||
c9d892a8 NB |
8589 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
8590 | ||
8591 | * c-common.c (c_expand_expr): Fix prototype. | |
8592 | * c-common.h (c_expand_expr): Always declare, update. | |
8593 | * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
8594 | * c-objc-common.c (c_objc_common_init): No global hook. | |
8595 | * expr.c (expand_expr): Use langhook. | |
8596 | * expr.h (enum expand_modifier): Conditionally declare. | |
8597 | * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. | |
8598 | (LANG_HOOKS_INITIALIZER): Update. | |
8599 | * langhooks.c (lhd_expand_expr): New. | |
8600 | * langhooks.h (struct lang_hooks): New hook. | |
8601 | * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. | |
8602 | (lang_independent_init): Don't default hook. | |
8603 | objc: | |
8604 | * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
8605 | ||
6dad5a56 RH |
8606 | 2002-03-27 Richard Henderson <rth@redhat.com> |
8607 | ||
8608 | PR target/6054 | |
8609 | * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for | |
8610 | TARGET_CONST_GP. Simplify conditions. | |
8611 | ||
59f96879 RH |
8612 | 2002-03-27 Richard Henderson <rth@redhat.com> |
8613 | ||
8614 | * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
8615 | config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, | |
8616 | config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. | |
8617 | ||
f3f1190d DS |
8618 | 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net> |
8619 | ||
8620 | * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, | |
8621 | TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. | |
8622 | (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): | |
8623 | Remove unnecessary masks. | |
8624 | (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. | |
8625 | (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, | |
8626 | -mwindows, -mdll switches and their negations. | |
8627 | ||
31c816cf NB |
8628 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
8629 | ||
8630 | * gcc-common.c (lang_mark_false_label_stack): Remove. | |
8631 | * ggc.h (lang_mark_false_label_stack): Similarly. | |
8632 | ||
7b2e1077 | 8633 | 2002-03-26 Vladimir Makarov <vmakarov@redhat.com> |
aee8f532 VM |
8634 | |
8635 | * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__. | |
8636 | ||
8637 | * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__ | |
8638 | or __rtems_ is defined. | |
8639 | ||
1ef9531b RH |
8640 | 2002-03-26 Richard Henderson <rth@redhat.com> |
8641 | ||
8642 | * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note | |
8643 | if a non-trivial load was emitted. | |
8644 | (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko | |
8645 | in high+extra+low case. | |
8646 | ||
300d4093 RH |
8647 | 2002-03-26 Richard Henderson <rth@redhat.com> |
8648 | ||
8649 | * config.gcc (sparc*-solaris): Use float_format=sparc. | |
8650 | ||
b3689904 RH |
8651 | 2002-03-26 Richard Henderson <rth@redhat.com> |
8652 | ||
8653 | * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
8654 | * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. | |
8655 | * config/sparc/linux.h, config/sparc/linux64.h: Likewise. | |
8656 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. | |
8657 | (WINT_TYPE_SIZE): Fix at 32. | |
8658 | ||
1eefb6c1 RH |
8659 | 2002-03-26 Richard Henderson <rth@redhat.com> |
8660 | ||
8661 | * toplev.c (rest_of_compilation): Delay emit_initial_value_sets | |
8662 | until after eh landing pad generation. | |
8663 | * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. | |
8664 | * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. | |
8665 | ||
361ea006 RH |
8666 | 2002-03-26 Richard Henderson <rth@redhat.com> |
8667 | ||
8668 | * expr.h (ADD_PARM_SIZE): One more convert for INC. | |
8669 | ||
1de38a88 PE |
8670 | 2002-03-26 Phil Edwards <pme@gcc.gnu.org> |
8671 | ||
8672 | * gcc.c (cpp_options): Preserve relative ordering of -pedantic | |
8673 | and warning switches. | |
8674 | (cc1_options): Likewise. | |
8675 | ||
d7e60e95 | 8676 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
361ea006 | 8677 | |
d7e60e95 HB |
8678 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): |
8679 | Restore more of the signal context. Set no_reg_stack_frame. | |
8680 | * config/ia64/unwind-ia64.c (unw_state_record): | |
8681 | Add no_reg_stack_frame, comments. | |
8682 | (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. | |
8683 | (uw_update_context): Adjust bsp when unwinding from leaf, | |
8684 | but not signal frame. | |
8685 | ||
7032923b DE |
8686 | 2002-03-26 David Edelsohn <edelsohn@gnu.org> |
8687 | ||
8688 | * config/rs6000/aix51.h (WCHAR_TYPE): Define. | |
8689 | ||
8be56275 BW |
8690 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
8691 | ||
8692 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types. | |
8693 | ||
56fbb855 RE |
8694 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
8695 | ||
8696 | PR target/5621 | |
8697 | * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999: | |
8698 | "Add a pool_range attribute", which was lost during the ARM/Thumb | |
8699 | merge. | |
8700 | ||
3437320b BW |
8701 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
8702 | ||
8703 | * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from | |
8704 | a register into the MAC16 accumulator. | |
8705 | ||
173028e5 AC |
8706 | 2002-03-26 Andrew Cagney <ac131313@redhat.com> |
8707 | ||
8708 | * doc/invoke.texi (Option Summary): Mention -Wswitch-enum. | |
8709 | (Warning Options): Document -Wswitch-enum. | |
8710 | * toplev.c (W_options): Add -Wswitch-enum. Update comment on | |
8711 | -Wswitch. | |
8712 | (warn_switch_enum): Define variables. | |
8713 | * flags.h (warn_switch_enum): Declare variables. | |
8714 | * stmt.c (expand_end_case_type): When warn_switch_enum / | |
8715 | -Wswitch-enum, perform switch checks. | |
8716 | Fix PR c/5044. | |
7b2e1077 | 8717 | |
e14365a7 RE |
8718 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
8719 | ||
8720 | * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi) | |
8721 | (reload_mulsi_compare0_scratch, reload_muladdsi_compare0) | |
8722 | (reload_muladdsi_compare0_scratch): Delete. | |
8723 | ||
46fc709d LR |
8724 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
8725 | ||
8726 | * doc/install.texi (*-*-freebsd*): Update. | |
8727 | ||
f36dea3c RH |
8728 | 2002-03-26 Richard Henderson <rth@redhat.com> |
8729 | ||
8e5fe23f RH |
8730 | * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype. |
8731 | (SUB_PARM_SIZE): Cast DEC to ssizetype. | |
8732 | ||
8733 | * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK | |
8734 | types from the normal argument frame. | |
8735 | ||
f36dea3c RH |
8736 | * config/sparc/sparc.c (function_arg_pass_by_reference): Pass |
8737 | variable sized objects by reference. | |
8738 | (sparc_va_arg): Receive them by reference too. | |
8739 | ||
1447dc69 HP |
8740 | 2002-03-26 Hartmut Penner <hpenner@de.ibm.com> |
8741 | ||
8742 | * config/s390/s390.c (s390_emit_epilogue): Change epilogue | |
7b2e1077 | 8743 | code to not restoring global registers. |
1447dc69 | 8744 | |
4f0ade92 NB |
8745 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
8746 | ||
8747 | * Makefile.in (ggc-common.o): Update. | |
8748 | * c-decl.c (lang_mark_tree): Rename c_mark_tree. | |
8749 | * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
8750 | * c-tree.h (c_mark_tree): New. | |
8751 | * ggc-common.c: Include langhooks.h. | |
8752 | (gcc_mark_trees): Use new langhook. | |
8753 | * ggc-callbacks.c: Delete file. | |
8754 | * ggc.h (lang_mark_tree): Remove. | |
8755 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. | |
8756 | (LANG_HOOKS_INITIALIZER): Update. | |
8757 | * langhooks.h (struct lang_hooks): New hook. | |
8758 | objc: | |
8759 | * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
8760 | ||
caba570b ZW |
8761 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
8762 | ||
8763 | * doc/cpp.texi: Exclude entire Top node from printed manual. | |
8764 | Move option index after directive index. Insert page breaks | |
8765 | before GFDL and concept index. Index environment variables | |
8766 | with command line options. | |
8767 | * doc/cppenv.texi: Use @vtable for environment variable list. | |
8768 | Add paragraph explaining semantics of empty elements in path | |
8769 | variables. Exclude a cross-reference to Fishkill from the | |
8770 | manpage. Remove an unnecessary cross-reference of the entry | |
8771 | right above the referer. Don't use @anchor in text that goes | |
8772 | into manpage. | |
8773 | * doc/cppopts.texi: Cross-reference the environment variables | |
8774 | section, not the specific environment variable, for consistency. | |
8775 | ||
6b2e80b7 RH |
8776 | 2002-03-25 Richard Henderson <rth@redhat.com> |
8777 | ||
8778 | * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes | |
8779 | anywhere in the block. Don't refer to insns that have been | |
8780 | removed from the chain. Iterate backward through the new insns. | |
8781 | Don't refer to edges that have been removed. | |
8782 | ||
67e469d7 AM |
8783 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
8784 | ||
8785 | * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct | |
8786 | test for overflow of constant. | |
8787 | ||
f2356393 RE |
8788 | 2002-03-25 Richard Earnshaw <rearnsha@arm.com> |
8789 | ||
8790 | PR target/2623 | |
8791 | * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc) | |
8792 | (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use | |
8793 | these patterns on arm_archv4. | |
8794 | ||
355426ab DS |
8795 | 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net> |
8796 | ||
8797 | * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned | |
8798 | int". | |
8799 | ||
15e5ad76 ZW |
8800 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
8801 | ||
8802 | * toplev.c: Don't include setjmp.h. Kill float_handler_set, | |
8803 | float_handled, float_handler, float_signal, set_float_handler, | |
8804 | and do_float_handler. Set handler for SIGFPE to crash_signal. | |
8805 | * toplev.h: Don't prototype do_float_handler. | |
8806 | ||
8807 | * c-lex.c: Fold parse_float into lex_number. Make warning | |
8808 | about portability of hex float constants more informative, and | |
8809 | don't issue it on top of a syntax error. | |
8810 | * fold-const.c: Fold const_binop_1 and fold_convert_1 into | |
8811 | their callers. | |
8812 | * real.h: Define REAL_VALUE_ABS here... | |
8813 | * simplify-rtx.c: ... not here. Fold check_fold_consts, | |
8814 | simplify_unary_real, simplify_binary_real, and | |
8815 | simplify_binary_is2orm1 into their callers. | |
8816 | * tree.c: Fold build_real_from_int_cst_1 into caller. | |
8817 | ||
8818 | * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. | |
8819 | ||
8820 | * tsystem.h: Include float.h here... | |
8821 | * libgcc2.c: ... not here. | |
8822 | ||
56ae9405 NC |
8823 | 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com> |
8824 | ||
8825 | Fixes for: PR bootstrap/3591, target/5676 | |
8826 | * config/mcore/mcore.h (CC1_SPEC): Define only if not already | |
8827 | defined. Do not disable exceptions or rtti. | |
8828 | * config/mcore/mcore-pe.h (CC1_SPEC): Define before including | |
8829 | mcore.h. Disable exceptions and rtti, since they are not | |
8830 | supported by EPOC. | |
8831 | ||
c88770e9 NB |
8832 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
8833 | ||
8834 | * c-decl.c (maybe_build_cleanup): Remove. | |
8835 | * expr.c (expand_expr): Use langhook. | |
8836 | * langhooks-def.h (lhd_return_null_tree, | |
8837 | LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. | |
8838 | (LANGHOOKS_INITIALIZER): Update. | |
8839 | * langhooks.c (lhd_return_null_tree): New. | |
8840 | * langhooks.h (struct lang_hooks): New hook. | |
8841 | * tree-inline.c (initialize_inlined_parameters): Use langhook. | |
8842 | * tree.h (maybe_build_cleanup): Remove. | |
8843 | ||
2ed1f154 JJ |
8844 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
8845 | ||
8846 | * regrename.c (build_def_use): Move recog_memoized | |
8847 | before extract_insn. | |
8848 | ||
6ddae612 JJ |
8849 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
8850 | ||
8851 | PR target/6043 | |
8852 | * expr.c (emit_group_store): Handle storing into CONCAT. | |
8853 | ||
ea475b23 JJ |
8854 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
8855 | ||
8856 | * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and | |
8857 | corresponding MATCH_DUP. | |
8858 | ||
e7d482b9 RH |
8859 | 2002-03-24 Richard Henderson <rth@redhat.com> |
8860 | ||
cd39fc13 RH |
8861 | * unroll.c (unroll_loop): Zero label_map. |
8862 | ||
e7d482b9 RH |
8863 | * gcse.c: Include except.h. |
8864 | * Makefile.in (gcse.o): Update. | |
8865 | ||
1bd6476f RH |
8866 | 2002-03-24 Richard Henderson <rth@redhat.com> |
8867 | ||
8868 | * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change. | |
8869 | Do resolve_unique_section before shared data clause. | |
8870 | ||
2e6c150a RH |
8871 | 2002-03-24 Richard Henderson <rth@redhat.com> |
8872 | ||
8873 | * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static. | |
8874 | ||
b29afcf8 RH |
8875 | 2002-03-24 Richard Henderson <rth@redhat.com> |
8876 | ||
15e5ad76 | 8877 | * recog.c (peephole2_optimize): Split blocks when EH insns are |
b29afcf8 RH |
8878 | generated in the middle of a block. Do global life update if |
8879 | zapped EH edges. | |
8880 | ||
05ed1296 RH |
8881 | 2002-03-24 Richard Henderson <rth@redhat.com> |
8882 | ||
8883 | * mips.c (mips_function_value): Only promote_mode for non-libcalls. | |
8884 | ||
3ddbb8a9 NB |
8885 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
8886 | ||
8887 | preprocessor/3951 | |
15e5ad76 | 8888 | * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. |
3ddbb8a9 NB |
8889 | * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. |
8890 | (init_dependency_output): Don't make no_output decision here. | |
8891 | ||
740b77b6 AC |
8892 | 2002-03-24 Andrew Cagney <ac131313@redhat.com> |
8893 | ||
8894 | * stmt.c (check_for_full_enumeration_handling): Remove tests of | |
8895 | warn_switch. Update description. | |
8896 | (expand_end_case_type): Call check_for_full_enumeration_handling | |
8897 | when warn_switch. | |
8898 | ||
7590cfd0 SC |
8899 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8900 | ||
8901 | * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function. | |
8902 | (m68hc11_split_move): Call it to see if the source and destination | |
8903 | operands use the same direction auto inc/dec mode, otherwise make the | |
c61f581f | 8904 | source an offsetable memory operand and generate an add. |
7590cfd0 | 8905 | |
2e3d3481 SC |
8906 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8907 | ||
8908 | * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address | |
8909 | register for operand 2. | |
8910 | ("*subsi3_zero_extendqi"): Likewise. | |
8911 | ("*iorhi3_gen"): Do the operation on the upper bits and then lower | |
8912 | bits so that it is compatible with a pop. | |
8913 | ("*andhi3_gen"): Likewise. | |
8914 | ("xorhi3"): Likewise. | |
8915 | ||
2784528c NB |
8916 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
8917 | ||
8918 | * cppinit.c (cpp_handle_option): Set warn_endif_labels if | |
8919 | -pedantic here... | |
8920 | (cpp_post_options): ... not here. | |
8921 | ||
aaf93206 NB |
8922 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
8923 | Aldy Hernandez <aldyh@redhat.com> | |
8924 | ||
8925 | Removal of separate preprocessor cpp0. | |
8926 | ||
8927 | * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS, | |
8928 | cpp0, install-common): Update. | |
8929 | * c-common.c (flag_preprocess_only): New. | |
8930 | (c_common_init): Preprocess for -E. | |
8931 | * c-common.h (flag_preprocess_only): New. | |
8932 | * c-decl.c (c_decode_option): Handle -E and -std=c++98. | |
8933 | * c-objc-common.c (c_init_decl_processing): Exit quickly | |
8934 | for NULL return from c_common_init. | |
8935 | * cpplib.h (cpp_preprocess_file): New. | |
8936 | * cppmain.c (main, general_init, pfile, progname): Remove. | |
8937 | (do_preprocessing): Rename cpp_preprocess_file, don't call | |
8938 | cpp_finish. Don't close stdout here. | |
8939 | (setup_callbacks): Update prototype. | |
8940 | * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers): | |
8941 | Update. | |
8942 | * tradcpp.c (main): Ignore -quiet. | |
8943 | objc: | |
8944 | * lang-specs.h (default_compilers): Preprocess with cc1obj. | |
8945 | ||
c6e6f5c1 RH |
8946 | 2002-03-24 Richard Henderson <rth@redhat.com> |
8947 | ||
8948 | PR optimization/5742 | |
8949 | * machmode.def: Add inner mode field to complex modes. | |
8950 | * config/mips/mips.c (mips_function_value): Always define. Add | |
8951 | new argument to handle libcalls. | |
8952 | * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value. | |
8953 | (FUNCTION_VALUE): Likewise. | |
8954 | * config/mips/abi64.h (FUNCTION_VALUE): Remove. | |
8955 | * config/mips/mips-protos.h: Update. | |
8956 | ||
d88e57d1 RH |
8957 | 2002-03-23 Richard Henderson <rth@redhat.com> |
8958 | ||
8959 | * config/sparc/sparc.c (sparc_emit_floatunsdi): New. | |
8960 | * config/sparc/sparc-protos.h: Update. | |
8961 | * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New. | |
8962 | ||
6dfaf9ba RH |
8963 | 2002-03-23 Richard Henderson <rth@redhat.com> |
8964 | ||
8965 | * config/sparc/gmon-sol2.c (internal_mcount): Assume either | |
8966 | _start or _init begins the text segment. | |
8967 | ||
0c769cf8 DE |
8968 | 2002-03-23 David Edelsohn <edelsohn@gnu.org> |
8969 | ||
8970 | * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT | |
8971 | not HOST_WIDEST_INT. | |
8972 | (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes. | |
8973 | ||
64e92a26 RE |
8974 | 2002-03-23 Richard Earnshaw <rearnsha@arm.com> |
8975 | ||
8976 | PR java/5489 | |
8977 | * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the | |
8978 | operand argument to output_return_instruction. | |
15e5ad76 | 8979 | * arm.c (arm_print_operand, case 'd'): If the operand is |
64e92a26 RE |
8980 | const_true_rtx then just return. |
8981 | (arm_print_operand, case 'D'): If the operand is const_true_rtx | |
8982 | then abort. | |
8983 | ||
d6961341 AC |
8984 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
8985 | ||
8986 | * doc/invoke.texi (Option Summary): Mention -Wswitch-default. | |
8987 | (Warning Options): Document -Wswitch-default. | |
8988 | * toplev.c (W_options): Add -Wswitch-default. Update comment on | |
8989 | -Wswitch. | |
8990 | (warn_switch_default): Define variable. | |
8991 | (warn_switch): Update comment. | |
8992 | * flags.h (warn_switch_default): Declare variable. | |
8993 | (warn_switch): Update comment. | |
8994 | * stmt.c (expand_end_case): Check for and, when | |
8995 | warn_switch_no_default, warn of a missing default case. | |
15e5ad76 | 8996 | |
d4c5ac1f AM |
8997 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
8998 | ||
bbaa9790 AM |
8999 | * real.h (N): Special case 128 bit doubles. |
9000 | ||
d4c5ac1f AM |
9001 | * combine.c (simplify_comparison): When widening modes, ignore |
9002 | sign extension on CONST_INTs. | |
9003 | ||
84bf8c2c BW |
9004 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
9005 | ||
9006 | * config/xtensa/xtensa.c (print_operand): Fix incorrect mode | |
9007 | passed to adjust_address. Fix comment formatting. | |
9008 | ||
9009 | ||
b216cd4a ZW |
9010 | 2002-03-22 Zack Weinberg <zack@codesourcery.com> |
9011 | ||
9012 | * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. | |
9013 | Always make REAL_VALUE_TYPE a struct containing an array of | |
9014 | HOST_WIDE_INT, not a double. Tidy up the code deciding how | |
9015 | big it is. Don't declare or use union real_extract. | |
9016 | ||
9017 | * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, | |
9018 | decode_rtx_const, output_constant_pool), config/a29k/a29k.c | |
9019 | (print_operand), config/arm/arm.c (output_move_double), | |
9020 | config/arm/arm.md (consttable_4, consttable_8), | |
9021 | config/romp/romp.c (output_fpops), config/s390/s390.h | |
9022 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c | |
9023 | (xtensa_output_literal): Don't use union real_extract. | |
9024 | ||
9025 | * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c | |
9026 | (sfmode_constant_to_ulong), config/ns32k/merlin.h | |
9027 | (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), | |
9028 | config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h | |
9029 | (PRINT_OPERAND): Don't use local version of union | |
9030 | real_extract. | |
9031 | ||
9032 | * config/convex/convex.c (check_float_value), config/vax/vax.c | |
9033 | (vax_float_literal), config/m88k/m88k.md (divdf3), | |
9034 | config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), | |
9035 | config/pdp11/pdp11.c (output_move_quad): Don't do host | |
9036 | arithmetic on target floating point quantities. | |
9037 | ||
9038 | * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c | |
9039 | (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. | |
9040 | ||
9041 | * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): | |
9042 | Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. | |
9043 | ||
9044 | * real.c (earith): Test INFINITY rather than REAL_INFINITY; | |
9045 | NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef | |
9046 | INFINITY. | |
9047 | * print-rtl.c (print_rtx): Disable code which needs | |
9048 | floating-point emulator. | |
9049 | * libgcc2.c: Include float.h and use DBL_MANT_DIG, | |
9050 | FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than | |
9051 | depending on HOST_FLOAT_FORMAT to be defined properly. | |
9052 | ||
9053 | * config/1750a/1750a.c (get_double, float_label): Delete. | |
9054 | (print_operand): Delete huge commented-out chunk. Use | |
9055 | REAL_VALUE_TO_DECIMAL. | |
9056 | * config/1750a/1750a-protos.h: Delete prototypes of deleted | |
9057 | functions. | |
9058 | * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to | |
9059 | IEEE_FLOAT_FORMAT. | |
9060 | * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): | |
9061 | Use REAL_VALUE_TO_DECIMAL as ELF version does. | |
9062 | * config/m88k/m88k.c (real_power_of_2_operand, | |
9063 | legitimize_operand): Take the REAL_VALUE_TYPE and/or union | |
9064 | real_extract out of the union; run the input through | |
9065 | REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords | |
9066 | from that into the union. | |
9067 | * config/pdp11/pdp11.c (output_move_double): Rearrange | |
9068 | parentheses to make automatic indenter happy. | |
9069 | ||
9070 | * doc/tm.texi (Cross-compilation): Rename node to "Floating | |
9071 | Point" and rewrite to describe current situation. Also adjust | |
9072 | documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to | |
9073 | match code. | |
9074 | * doc/rtl.texi: Adjust cross reference. | |
9075 | ||
a8cacfd2 BW |
9076 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
9077 | ||
9078 | * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove. | |
9079 | (xtensa_valid_move, xtensa_preferred_reload_class): Define. | |
9080 | * config/xtensa/xtensa.c (non_acc_reg_operand): Remove. | |
9081 | (xtensa_valid_move, xtensa_preferred_reload_class): Define to | |
9082 | prevent use of sp as a reload register. | |
9083 | (xtensa_emit_move_sequence): Use xtensa_valid_move instead of | |
9084 | non_acc_reg_operand. | |
9085 | * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand. | |
9086 | (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class. | |
9087 | * config/xtensa/xtensa.md (movsi_internal, movhi_internal, | |
9088 | movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand. | |
9089 | ||
d4e6133f NB |
9090 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
9091 | ||
b216cd4a ZW |
9092 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. |
9093 | * cpplex.c (unterminated): Delete. | |
9094 | (parse_string): No string literal may extend over multiple | |
9095 | lines. Suppress the error when preprocessing assembly. | |
d4e6133f NB |
9096 | * cppmain.c (scan_translation_unit): Strings are single-line. |
9097 | ||
b216cd4a | 9098 | * doc/cpp.texi: Update to match. |
d4e6133f | 9099 | |
65e6c005 JJ |
9100 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
9101 | ||
9102 | PR optimization/5854 | |
9103 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
9104 | Shut up warnings. | |
9105 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
9106 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
9107 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
9108 | const0 if scratch register was not allocated. | |
9109 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
9110 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
9111 | with GEN_INT (...). | |
9112 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
9113 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
9114 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
9115 | patterns. | |
9116 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
9117 | require scratch register for setting 0 into regs/non-pushable memory. | |
9118 | ||
7f48c9e1 AO |
9119 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
9120 | ||
9121 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
9122 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
9123 | ||
909de5da PE |
9124 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
9125 | ||
9126 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
9127 | * cppinit.c (cpp_create_reader): On by default. | |
9128 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
9129 | (cpp_post_options): Also enable if -pedantic. | |
9130 | * cpplib.c (do_else): Use it. | |
9131 | (do_endif): Likewise. | |
9132 | * doc/cppopts.texi: Document new option. | |
9133 | * doc/invoke.texi: Document new option. | |
9134 | ||
d8bf17f9 LB |
9135 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
9136 | ||
9137 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
9138 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
9139 | ||
70e0ccd0 AO |
9140 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
9141 | ||
9142 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
9143 | ENTRY and EXIT. | |
9144 | ||
68882f0f JJ |
9145 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
9146 | ||
9147 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
9148 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
9149 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
9150 | rtx * instead of rtx to alter_subreg. | |
9151 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
9152 | * config/pj/pj.c (pj_output_rval): Likewise. | |
9153 | ||
648fe28b RH |
9154 | 2002-03-22 Richard Henderson <rth@redhat.com> |
9155 | ||
9156 | PR target/3177 | |
9157 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
9158 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
9159 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
9160 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
9161 | of incomming int regs. | |
9162 | ||
e8dcd824 AM |
9163 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
9164 | ||
9165 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
9166 | ||
96327cdc JH |
9167 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
9168 | ||
9169 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
9170 | New static variables. | |
9171 | (rest_of_compilation): Conditionalize crossjumping and | |
9172 | loop optimizer. | |
9173 | (parse_options_and_default_flags): Default loop_optimize and | |
9174 | crossjumping. | |
9175 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
9176 | * invoke.texi (crossjumping, loop-optimize): Document. | |
9177 | ||
bc185257 RS |
9178 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
9179 | ||
9180 | * real.c (eiisneg): Move outside #ifdef NANS. | |
9181 | ||
0a2ed1f1 JH |
9182 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
9183 | ||
9184 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
9185 | frequencies match; avoid match on different loop depths. | |
9186 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
9187 | savings. | |
9188 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
9189 | updating code. | |
9190 | (split_edge): Likewise. | |
9191 | ||
9192 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
9193 | variable. | |
9194 | ||
9195 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
9196 | * cfgrtl.c: Include insn-config.h | |
9197 | (split_block) Dirtify block in presence of conditional execution | |
9198 | ||
4d72536e RS |
9199 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
9200 | ||
9201 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
9202 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
9203 | (function_arg): Constify CUMULATIVE_ARGS. | |
9204 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
9205 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
9206 | (UNITS_PER_DOUBLE): New macro. | |
9207 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
9208 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
9209 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
9210 | fp_regs and stack_words. | |
9211 | (EABI_FLOAT_VARARGS_P): New macro. | |
9212 | * config/mips/mips.c (struct mips_arg_info): New. | |
9213 | (mips_arg_info): New function. | |
9214 | (function_arg_advance): Use it. Add adjustment instructions here | |
9215 | rather than in function_arg. | |
9216 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
9217 | for VOIDmode at the beginning of the function. | |
9218 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
9219 | (function_arg_pass_by_reference): Likewise. | |
9220 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
9221 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
9222 | (mips_va_start): Likewise. Use the new stack_words field of | |
9223 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
9224 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
9225 | doubles and other types, aligning the overflow pointer for non-doubles | |
9226 | too. Remove some code duplication. Replace hard-coded constants. | |
9227 | ||
e6f884cd RS |
9228 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
9229 | ||
9230 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
9231 | (CLASS_UNITS): Undefine. | |
9232 | (CLASS_MAX_NREGS): Use FP_INC. | |
9233 | * config/mips/mips.c (compute_frame_size): Likewise. | |
9234 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
9235 | ||
10cf9bde NB |
9236 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
9237 | ||
9238 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
9239 | prototype, and handle lexing numbers and identifiers. | |
9240 | (parse_identifier): Update to new form of parse_slow. | |
9241 | (parse_number): Fast path only, use parse_slow otherwise. | |
9242 | (_cpp_lex_direct): Update calls to parse_number. | |
9243 | ||
fbc2782e DD |
9244 | 2002-03-21 DJ Delorie <dj@redhat.com> |
9245 | ||
9246 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
9247 | when redundant edges are omitted. | |
9248 | * predict.c (dump_prediction): Likewise. | |
9249 | ||
fba39eaf RH |
9250 | 2002-03-21 Richard Henderson <rth@redhat.com> |
9251 | ||
9252 | PR target/5996 | |
9253 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
9254 | * fixinc/fixincl.x: Regenerate. | |
9255 | ||
eba80994 EB |
9256 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
9257 | ||
9258 | PR c/5597 | |
9259 | * c-typeck.c (process_init_element): Flag non-static | |
9260 | initialization of a flexible array member as illegal. | |
9261 | ||
2a78758b AM |
9262 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
9263 | ||
9264 | * config/rs6000/t-linux64: New. | |
9265 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
9266 | t-ppccomm. Use t-rs6000 and t-linux64. | |
9267 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
bac015e7 AM |
9268 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
9269 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
9270 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
2a78758b | 9271 | |
2cb921f4 AH |
9272 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
9273 | ||
eba80994 EB |
9274 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
9275 | flag_really_no_inline instead of optimize == 0. | |
2cb921f4 | 9276 | |
eba80994 | 9277 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
2cb921f4 | 9278 | |
eba80994 | 9279 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
2cb921f4 | 9280 | |
eba80994 | 9281 | * flags.h (flag_really_no_inline): New. |
2cb921f4 | 9282 | |
659e5a7a | 9283 | * c-common.c (c_common_post_options): Initialize |
eba80994 | 9284 | flag_really_no_inline. |
2cb921f4 | 9285 | |
eba80994 | 9286 | * toplev.c (flag_really_no_inline): New. |
2cb921f4 | 9287 | |
239b8b9d JJ |
9288 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
9289 | ||
9290 | * config/avr/avr.md (length): Fix length computation for | |
9291 | conditional branches. | |
9292 | ||
43577e6b NB |
9293 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
9294 | ||
9295 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
9296 | sdbout.o, profile.o): Update. | |
9297 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
9298 | langhook. | |
9299 | * c-common.h (gettags): Move here from tree.h. | |
9300 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
9301 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
9302 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
9303 | * expr.c (expand_expr): Use insert_block langhook. | |
9304 | * fold-const.c: Include langhooks.h. | |
9305 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
9306 | fold): Use global_bindings_p langhook. | |
9307 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
9308 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
9309 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
9310 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
9311 | LANG_HOOKS_GETDECLS): New. | |
9312 | (LANG_HOOKS_INITIALIZER): Update. | |
9313 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
9314 | langhook. | |
9315 | * langhooks.h (struct lang_hooks_for_decls): New. | |
9316 | (struct lang_hooks): Update. | |
9317 | * profile.c: Include langhooks.h. | |
9318 | (output_func_start_profiler): Use new langhooks. | |
9319 | * sdbout.c: Include langhooks.h. | |
9320 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
9321 | * stmt.c: Include langhooks.h. | |
9322 | (expand_fixup, fixup_gotos): Use new langhooks. | |
9323 | * stor-layout.c: Include langhooks.h. | |
9324 | (variable_size): Use global_bindings_p langhook. | |
9325 | * toplev.c (compile_file): Use getdecls langhook. | |
9326 | * tree-inline.c (remap_block): Use insert_block langhook. | |
9327 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
9328 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
9329 | ||
5b19b10c RH |
9330 | 2002-03-21 Richard Henderson <rth@redhat.com> |
9331 | ||
9332 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
9333 | constants in .data when -fpic. | |
9334 | ||
e05af335 GP |
9335 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
9336 | ||
9337 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
9338 | where appropriate. | |
9339 | ||
60ffc997 TT |
9340 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
9341 | ||
9342 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
9343 | ||
75897075 RK |
9344 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9345 | ||
a73afd69 | 9346 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
46399021 | 9347 | |
75897075 RK |
9348 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
9349 | ||
312687cf EB |
9350 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
9351 | Richard Henderson <rth@redhat.com> | |
9352 | ||
9353 | PR c/5354 | |
9354 | * c-common.c (c_expand_expr): Preserve result of a statement | |
9355 | expression if needed. | |
9356 | ||
f0e1f482 JJ |
9357 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
9358 | ||
9359 | PR bootstrap/4195 | |
9360 | * genrecog.c (maybe_both_true_mode): Remove. | |
9361 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
9362 | * machmode.def (Pmode): Likewise. | |
9363 | ||
c14b9960 JW |
9364 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
9365 | ||
9366 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
9367 | (nonlocal_mentioned_p_1): New function. | |
9368 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
9369 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
9370 | (mark_constant_function): Recognize pure functions. | |
9371 | * rtl.h (global_reg_mentioned_p): New prototype. | |
9372 | * rtlanal.c (global_reg_mentioned_p, | |
9373 | global_reg_mentioned_p_1): New function. | |
9374 | ||
aaa4d130 RO |
9375 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9376 | ||
9377 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
9378 | UNIX assert.h. | |
9379 | * fixinc/fixincl.x: Regenerate. | |
9380 | ||
e5c4bd1b JM |
9381 | 2002-03-20 Jason Merrill <jason@redhat.com> |
9382 | ||
9383 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
9384 | ||
852b81bb MM |
9385 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
9386 | ||
9387 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
9388 | -fstrict-aliasing. | |
9389 | ||
86d8c251 BW |
9390 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
9391 | ||
9392 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
9393 | ".literal_position" directive before the constant pool. | |
9394 | ||
0a39c350 GP |
9395 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
9396 | ||
9397 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
9398 | Add Craig Rodrigues. | |
9399 | Add Brad Lucier to testers. | |
9400 | ||
71a83373 JJ |
9401 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
9402 | ||
9403 | PR target/4792 | |
9404 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
9405 | to if_then_else. | |
9406 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
9407 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
9408 | instead of insn_extract. | |
9409 | ||
a29b099d JJ |
9410 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
9411 | ||
9412 | PR bootstrap/4192 | |
71a83373 | 9413 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
a29b099d JJ |
9414 | |
9415 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
9416 | stmt if some case has been output. | |
9417 | ||
048b1c95 JJ |
9418 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
9419 | ||
9420 | PR c/5972 | |
9421 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
9422 | movsfcc_1, movdfcc_1): Add %O2. | |
9423 | * config/i386/i386.c (print_operand): Handle %ON. | |
9424 | Print . before float condition codes in Sun as cmov syntax. | |
9425 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
9426 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
9427 | no longer true. | |
9428 | ||
f4864588 PB |
9429 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
9430 | ||
9431 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
9432 | return instruction if PC was popped. | |
9433 | ||
3a307de4 BW |
9434 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
9435 | ||
9436 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
9437 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
9438 | ||
048b1c95 | 9439 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
ed7d44bc DJ |
9440 | |
9441 | PR optimization/5999, middle-end/5731 | |
9442 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
9443 | multiplications by reciprocals. | |
9444 | ||
7afff7cf NB |
9445 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
9446 | ||
9447 | * Makefile.in: Update. | |
9448 | * c-common.c: Include langhooks.h. | |
9449 | (inline_forbidden_p): Use new hook. | |
9450 | * diagnostic.c: Include langhooks.h. | |
9451 | (format_with_decl, announce_function, | |
9452 | default_print_error_function): Use new hook. | |
9453 | * dwarf2out.c (dwarf2_name): Use new hook. | |
9454 | * function.c: Include langhooks.h. | |
9455 | (init_function_start): Use new hook. | |
9456 | * langhooks-def.h (lhd_decl_printable_name): New. | |
9457 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
9458 | (LANGHOOKS_INITIALIZER): Update. | |
9459 | * langhooks.c (lhd_decl_printable_name): New. | |
9460 | * langhooks.h (struct lang_hooks): New hook. | |
9461 | * toplev.c (decl_name, decl_printable_name): Remove. | |
9462 | (open_dump_file): Use new hook. | |
9463 | (process_options): Remove old hook. | |
9464 | * tree.h (decl_printable_name): Remove. | |
9465 | objc: | |
9466 | * objc-act.c (objc_init): Remove old hook. | |
9467 | (objc_printable_name): Export. | |
9468 | * objc-act.h (objc_printable_name): New. | |
9469 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
9470 | ||
f78ce0b7 JB |
9471 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
9472 | ||
9473 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
9474 | the start_source_file debug hook, not the current line number. | |
9475 | ||
15b5aef3 RH |
9476 | 2002-03-19 Richard Henderson <rth@redhat.com> |
9477 | ||
9478 | * flow.c (EH_USES): Provide default. | |
9479 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
9480 | * doc/tm.texi (EH_USES): New. | |
9481 | ||
9482 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
9483 | * config/ia64/ia64-protos.h: Update. | |
9484 | * config/ia64/ia64.h (EH_USES): New. | |
9485 | ||
02a7a3fd RH |
9486 | 2002-03-19 Richard Henderson <rth@redhat.com> |
9487 | ||
9488 | * varasm.c (output_constant_def): Fix stupid typo. | |
9489 | ||
93f82d60 RH |
9490 | 2002-03-19 Richard Henderson <rth@redhat.com> |
9491 | ||
2842be05 | 9492 | PR 5879 |
93f82d60 RH |
9493 | * except.c (current_function_has_exception_handlers): New. |
9494 | * except.h: Declare it. | |
9495 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
9496 | Combine tests that disable all sibcalls for the function. | |
9497 | ||
ed4fbfa0 OH |
9498 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
9499 | ||
9500 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
9501 | for INTEGER_CST. | |
9502 | ||
ebf0e888 RH |
9503 | 2002-03-19 Richard Henderson <rth@redhat.com> |
9504 | ||
1e82682b | 9505 | PR 5977, 5991 |
ebf0e888 RH |
9506 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
9507 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
9508 | ||
e37b38d7 JB |
9509 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
9510 | ||
9511 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
9512 | name, even if the replacement list contains no tokens, as required | |
9513 | by Dwarf. | |
9514 | ||
2a4ea326 JM |
9515 | 2002-03-19 Jason Merrill <jason@redhat.com> |
9516 | ||
f9d09ae5 JM |
9517 | * varasm.c (globalize_decl): Get the name from the RTL, not |
9518 | DECL_ASSEMBLER_NAME. | |
9519 | ||
2a4ea326 JM |
9520 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
9521 | ||
99b96edb BW |
9522 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
9523 | ||
9524 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
9525 | subdi_carry): Define. | |
9526 | ||
3774b567 DE |
9527 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
9528 | ||
9529 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
9530 | about -fpic/-fPIC if extra_warnings set. | |
9531 | ||
21ef78aa DE |
9532 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
9533 | ||
9534 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
9535 | TREE_STRING_POINTER. | |
0c2fdcdf | 9536 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
21ef78aa | 9537 | |
91d4b3fd RK |
9538 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9539 | ||
9540 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
9541 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
9542 | ||
2496c7bd LB |
9543 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
9544 | ||
9545 | * emit-rtl.c (gen_int_mode): New function. | |
9546 | * rtl.h: Prototype for it. | |
9547 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
9548 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
9549 | (convert_modes, store_field), optabs.c (expand_fix), | |
9550 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
9551 | ||
9552 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
9553 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
9554 | ||
f735a153 JJ |
9555 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
9556 | ||
9557 | PR c/5656 | |
9558 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
9559 | convert_parm_for_inlining. | |
9560 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
9561 | Define. | |
9562 | * langhooks-def.h: Likewise. | |
9563 | * objc/objc-lang.c: Likewise. | |
9564 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
9565 | function. | |
9566 | * tree-inline.c (initialize_inlined_parameters): | |
9567 | Call convert_parm_for_inlining lang hook if needed. | |
9568 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
9569 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
9570 | ||
1929c971 MM |
9571 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
9572 | ||
b216cd4a | 9573 | * calls.c (precompute_arguments): Do not assume that temporaries |
1929c971 MM |
9574 | can be destroyed after expanding the argument. |
9575 | (expand_call): Likewise. | |
9576 | ||
c79ca0ac EC |
9577 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
9578 | ||
9579 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
9580 | Fix register preference on last change. | |
9581 | * config/mips/mips.c (mips_return_in_memory): New function. | |
9582 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
9583 | * config/mips/mips-protos.h: Declare. | |
9584 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
9585 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
9586 | ||
07e2e444 AO |
9587 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
9588 | ||
1bfbbbcf AO |
9589 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
9590 | a register too. | |
9591 | (anddi3, iorsi3): Likewise. | |
9592 | ||
c066429e AO |
9593 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
9594 | use %gprel for symbols that are going to be placed in linkonce | |
9595 | sections. | |
9596 | ||
07e2e444 AO |
9597 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
9598 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
9599 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
9600 | not needed. Disregard leaf_function_p(). | |
9601 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
9602 | mips16 frame pointer. | |
9603 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
9604 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
9605 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
9606 | return a REG rtx for the return address register. | |
9607 | ||
eb8e00ea BW |
9608 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
9609 | ||
9610 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
9611 | constant-pool addresses as "mode-dependent". | |
9612 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
9613 | ||
cbb92744 JJ |
9614 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
9615 | ||
9616 | PR target/5740 | |
9617 | * expr.c (emit_group_load): Use extract_bit_field if | |
9618 | needed for CONCAT arguments. | |
9619 | ||
657d9449 RE |
9620 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
9621 | ||
91f3a802 | 9622 | PR target/4863 |
657d9449 RE |
9623 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
9624 | offset to the base of the table. | |
9625 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
9626 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
9627 | as the difference of two labels. | |
9628 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
9629 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
9630 | tables in the code. | |
9631 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
9632 | * arm.c (get_jump_table_size): If the table is not in the text | |
9633 | section, return zero. | |
c79ca0ac | 9634 | |
5d5603e2 BS |
9635 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
9636 | ||
9637 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
9638 | of gen_rtx_SUBREG. | |
9639 | (arm_reload_out_hi): Use gen_lowpart instead of | |
9640 | gen_rtx_SUBREG to access QImode components. | |
9641 | * config/arm/arm.md: Disable zero_extend split for QImode | |
9642 | subregs in BIG_ENDIAN mode. | |
9643 | (storehi_bigend): Match use of least significant byte. | |
9644 | (storeinthi): Remove extraneous SUBREG. | |
66c17b64 | 9645 | Add missing construction of operands[2]. |
5d5603e2 BS |
9646 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
9647 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
9648 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
9649 | ||
df15fbc7 AH |
9650 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
9651 | ||
2496c7bd LB |
9652 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
9653 | any_operand. | |
df15fbc7 | 9654 | |
b83b7fa3 RH |
9655 | 2002-03-17 Richard Henderson <rth@redhat.com> |
9656 | ||
9657 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
9658 | explicitly. | |
9659 | ||
6f7c00fe HPN |
9660 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
9661 | ||
9662 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
9663 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
9664 | ||
155038f2 KG |
9665 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9666 | ||
720d42fa KG |
9667 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
9668 | ||
155038f2 KG |
9669 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
9670 | ||
e6542f4e RH |
9671 | 2002-03-17 Richard Henderson <rth@redhat.com> |
9672 | ||
9673 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
9674 | targetm definition. Make static. | |
9675 | ||
52dabb6c NB |
9676 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
9677 | ||
9678 | * c-common.h (yyparse, c_common_parse_file): New. | |
9679 | * c-lang.c: Include c-common.h. | |
9680 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
9681 | * c-lex.c: Include c-common.h. | |
9682 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
9683 | * c-parse.in (yyparse): Remove macro. | |
9684 | * c-tree.h (yyparse_1): Remove. | |
9685 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
9686 | (LANG_HOOKS_INITIALIZER): Update. | |
9687 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
9688 | * toplev.c (compile_file): Use parse_file hook. | |
9689 | * tree.h (yyparse): Remove. | |
e6542f4e | 9690 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
52dabb6c | 9691 | |
b5ffe606 HPN |
9692 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
9693 | ||
ba82f58b HPN |
9694 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
9695 | float_truncate, not fix. | |
9696 | ("*truncdfsf2_real"): Ditto. | |
9697 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
9698 | ||
b5ffe606 HPN |
9699 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
9700 | ||
c8d1b2b7 AO |
9701 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
9702 | ||
cfb773f9 AO |
9703 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
9704 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
9705 | where appropriate. Make the second reference to | |
9706 | leaf_function_p a function call, as intended. Reindented. | |
9707 | ||
4dffef52 AO |
9708 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
9709 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
9710 | ||
4f5bd6d7 AO |
9711 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
9712 | add register to non-constant into sp. | |
9713 | ||
c8d1b2b7 AO |
9714 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
9715 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
9716 | (mips16_gp_pseudo_rtx): Lose. | |
9717 | (INIT_EXPANDERS): Deleted. | |
9718 | * config/mips/mips.c (mips_init_machine_status): New. | |
9719 | (mips_free_machine_status): New. | |
9720 | (mips_mark_machine_status): New. | |
9721 | (override_options): Set them. | |
9722 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
9723 | (struct machine_function): ... new. Replaced all references. | |
9724 | (mips_add_gc_roots): Don't mark them. | |
9725 | (embedded_pic_fnaddr_reg): New, extracted from... | |
9726 | (embedded_pic_offset): ... here. | |
9727 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
9728 | (movsi): Likewise. | |
9729 | ||
b3124fac NB |
9730 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
9731 | ||
9732 | * cppinit.c: Revert -MD removal. | |
9733 | ||
121449b6 SC |
9734 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9735 | ||
9736 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
9737 | soft registers by default for 68HC12. | |
9738 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
9739 | when compiling with -fomit-frame-pointer. | |
9740 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
9741 | (expand_epilogue): Likewise. | |
9742 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
9743 | ||
840e2ff1 SC |
9744 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9745 | ||
9746 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
9747 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
9748 | (splits): Remove unused add splits. | |
9749 | ("*addhi3_68hc12"): Tune constraints. | |
9750 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
9751 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
9752 | ("*addhi3"): Remove extern declaration of ix_reg. | |
9753 | ("*subsi3"): Optimize and provide new split. | |
9754 | ("subhi3"): Cleanup. | |
9755 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
9756 | (arith splits): For 68hc12 save the address register on the stack | |
9757 | and do the arithmetic operation with a pop. | |
9758 | ||
3c9a5efe SC |
9759 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9760 | ||
9761 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
9762 | allocating QImode in address registers. | |
9763 | ("*movqi_m68hc11"): Likewise. | |
9764 | ||
e41f3392 JH |
9765 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
9766 | ||
9767 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
9768 | ||
576786b0 NB |
9769 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
9770 | ||
9771 | * cppinit.c (print_help): Display -MD and -MMD. | |
9772 | Don't display usage string. Update assertion syntax and | |
9773 | typo. | |
9774 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
9775 | (cpp_handle_option): Update. | |
9776 | ||
1ac458d4 CD |
9777 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
9778 | ||
9779 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
9780 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
9781 | and define it so that regardless of target CPU size, | |
9782 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
9783 | of "int" rather than "long." | |
9784 | ||
1fcd592b RH |
9785 | 2002-03-15 Richard Henderson <rth@redhat.com> |
9786 | ||
9787 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
9788 | size as a tree. | |
9789 | ||
a0df6910 SC |
9790 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9791 | ||
9792 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
9793 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
9794 | (splits): Remove constraints. | |
9795 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
9796 | ("cmpdf", "cmpsf"): Remove since not used. | |
9797 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
9798 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
9799 | ||
015a2e59 SC |
9800 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9801 | ||
9802 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
9803 | ("neghi2"): Tighten constraints. | |
9804 | ("one_cmplsi2"): Optimize and simplify split. | |
9805 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
9806 | ||
cd28557c SC |
9807 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9808 | ||
9809 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
9810 | and split of AND operation to clear the upper bits. | |
9811 | ("*logicalsi3_zextqi"): Likewise. | |
9812 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
9813 | ("*logicalsi3_silshr16"): Likewise. | |
9814 | ("logicalsi3_silshl16"): Likewise. | |
9815 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
9816 | ||
932657df SC |
9817 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9818 | ||
9819 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
9820 | (m68hc11_indirect_p): New function. | |
9821 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
9822 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
9823 | TARGET_M6812. | |
9824 | (asm_print_register): Likewise. | |
9825 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
9826 | (m68hc11_indirect_p): Declare. | |
9827 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
9828 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
9829 | (TARGET_SWITCHES): New option -mrelax. | |
9830 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
9831 | destination. | |
9832 | ("iorsi3", "xorsi3"): Likewise. | |
9833 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
9834 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
9835 | and a scratch register. | |
9836 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
9837 | ("*andhi3_const"): New when operand2 is constant. | |
9838 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
9839 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
9840 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
9841 | ("xorqi3"): Update constraints. | |
9842 | ||
fdffea1a SC |
9843 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9844 | ||
9845 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
9846 | for reg_equiv_memory_loc when the operand is a register that does | |
9847 | not get a hard register (stack location). | |
9848 | (tst_operand): After reload, accept all memory operand. | |
9849 | (symbolic_memory_operand): Fix detection of symbolic references. | |
9850 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
9851 | accept symbols and any constant. | |
9852 | ||
6272bc68 SC |
9853 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9854 | ||
9855 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
9856 | note on the insn that sets the soft frame register. | |
9857 | (must_parenthesize): ix and iy are also reserved names. | |
9858 | (print_operand_address): One more place where parenthesis are required | |
9859 | to avoid confusion with register names. | |
9860 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
9861 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
9862 | clobber. | |
9863 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
9864 | the replacement register is. | |
9865 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
9866 | and D8_REGS classes. | |
9867 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
9868 | ||
1d2d9def SC |
9869 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9870 | ||
9871 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
9872 | (___subdi3): Likewise. | |
9873 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
9874 | (__map_data_section): Optimize 68hc11 case. | |
9875 | ||
a0ccf503 SC |
9876 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9877 | ||
9878 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
9879 | than a shift to avoid adding a register with itself. | |
9880 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
9881 | (m68hc11_register_move_cost): Update and use memory move cost | |
9882 | for soft registers. | |
9883 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
9884 | it gives more opportunities to cse to optimize. | |
9885 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
9886 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
9887 | ||
6e4ae815 MM |
9888 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
9889 | ||
9890 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
9891 | * c-common.def (CLEANUP_STMT): New tree node. | |
9892 | * c-common.h (CLEANUP_DECL): New macro. | |
9893 | (CLEANUP_EXPR): Likewise. | |
9894 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
9895 | * expr.c (expand_expr): Tidy. | |
9896 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
9897 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
9898 | new local variables. | |
9899 | ||
a42519be JJ |
9900 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
9901 | ||
9902 | PR bootstrap/4128 | |
9903 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
9904 | before movrXX only, use reg_overlap_mentioned_p. | |
9905 | Only special case NE if just one insn can be generated. | |
9906 | ||
15409448 JM |
9907 | 2002-03-15 Jason Merrill <jason@redhat.com> |
9908 | ||
9909 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
9910 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
9911 | of error_mark_node. | |
9912 | ||
3a4edb44 RE |
9913 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
9914 | ||
9915 | PR target/5170 | |
9916 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
9917 | explaining non-obvious test. | |
9918 | ||
32defa36 RE |
9919 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
9920 | ||
9921 | PR target/5712 | |
9922 | * arm.md (movaddr, movaddr_insn): Delete. | |
9923 | ||
5cc90635 JM |
9924 | 2002-03-15 Jason Merrill <jason@redhat.com> |
9925 | ||
9926 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
9927 | -fkeep-static-consts doesn't apply to comdats. | |
9928 | ||
ecb0eece RH |
9929 | 2002-03-14 Richard Henderson <rth@redhat.com> |
9930 | ||
9931 | * c-decl.c: Include c-pragma.h. | |
9932 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
9933 | (finish_function): Tidy. | |
9934 | * c-pragma.c: Include c-common.h. | |
9935 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
9936 | (handle_pragma_weak): Use them. | |
9937 | (init_pragma): Register pending_weaks. | |
9938 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
9939 | * print-tree.c (print_node): Print DECL_WEAK. | |
9940 | * varasm.c (mark_weak_decls): Remove. | |
9941 | (remove_from_pending_weak_list): Remove. | |
9942 | (add_weak): Remove. | |
9943 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
9944 | (weak_decls): Make a tree_list. | |
9945 | (declare_weak): Cons weak_decls directly. | |
9946 | (globalize_decl): Remove weak_decls elements directly. | |
9947 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
9948 | symbols. Don't pretend to handle aliases. | |
9949 | (init_varasm_once): Update weak_decls registry. | |
9950 | * Makefile.in: Update dependencies. | |
9951 | ||
98d2b17e RH |
9952 | 2002-03-14 Richard Henderson <rth@redhat.com> |
9953 | ||
9954 | PR target/5312 | |
9955 | * config/ia64/ia64.c: Include tm_p.h last. | |
9956 | (gen_nop_type): Remove duplicate definition. | |
9957 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
9958 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
9959 | (nop_cycles_until): Fix typos. | |
9960 | ||
f2f4927e JJ |
9961 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
9962 | ||
9963 | PR optimization/5891 | |
9964 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
9965 | ||
5025a549 DM |
9966 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
9967 | ||
9968 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
9969 | descriptors correctly. | |
9970 | ||
03e9dbc9 MM |
9971 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
9972 | ||
9973 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
9974 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
9975 | ||
9976 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
9977 | --param. | |
9978 | ||
9979 | * unroll.c (params.h): Include. | |
9980 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
9981 | ||
9982 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
9983 | ||
9984 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
9985 | ||
12249385 RE |
9986 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
9987 | ||
9988 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
9989 | ||
f0cce04a ZW |
9990 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
9991 | ||
9992 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
9993 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
9994 | (linemarker_dir): New data object. | |
9995 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
9996 | preprocessed source. Delete obsolete comment about return | |
9997 | values of handlers. | |
9998 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
9999 | Don't muck with line_extension. | |
10000 | (directive_diagnostics): No need to issue warnings for | |
10001 | linemarkers here. | |
10002 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
10003 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
10004 | do_line. | |
10005 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
10006 | Convert escape sequences in filename argument, both places. | |
10007 | ||
10008 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
10009 | export. All callers changed. | |
10010 | * cpplib.h (cpp_quote_string): Prototype. | |
10011 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
10012 | before printing it. | |
10013 | ||
10014 | * doc/cpp.texi: Document that escapes are now interpreted in | |
10015 | #line and in linemarkers, and that non-printing characters are | |
10016 | converted to octal escapes when linemarkers are generated. | |
10017 | ||
10018 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
83a49407 JH |
10019 | |
10020 | * emit-rtl.c (try_split): Use delete_insns. | |
10021 | * recog.c (split_all_insns): Fix terminating condition. | |
10022 | ||
c882c7ac RE |
10023 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
10024 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
10025 | ||
10026 | PR target/5828 | |
10027 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
10028 | adjustment when using a frame pointer. | |
10029 | ||
3f26edaa RS |
10030 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
10031 | ||
10032 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
10033 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
10034 | (save_restore_insns, mips_expand_epilogue): And here. | |
10035 | (build_mips16_call_stub): And here. | |
10036 | (mips_function_value): Use the new macros to decide whether a single | |
10037 | or complex float can be returned in floating-point registers. Return | |
10038 | a parallel rtx in the complex case. | |
10039 | ||
1e3881c2 JH |
10040 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
10041 | ||
10042 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
10043 | call after liveness analysis. | |
10044 | ||
10045 | * recog.c (split_insn): Use delete_insn_and_edges. | |
10046 | ||
10047 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
10048 | instructions to have branch prediction notes. | |
10049 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
10050 | ||
200ef634 GK |
10051 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
10052 | ||
10053 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
10054 | that doesn't support it. | |
10055 | * configure: Regenerate. | |
10056 | ||
0b82d204 JJ |
10057 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
10058 | ||
10059 | PR target/5626 | |
10060 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
10061 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
10062 | inverted_fp_branch): Adjust calls to output_cbranch. | |
10063 | Set length attribute. | |
10064 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
10065 | output_v9branch. Set length attribute. | |
10066 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
10067 | predicates. | |
10068 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
10069 | (output_cbranch): Likewise. Handle far branches. | |
10070 | (output_v9branch): Handle far branches. | |
10071 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
10072 | Adjust prototypes. | |
10073 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
10074 | noov_compare64_op predicates. | |
10075 | ||
7a8de19b JM |
10076 | 2002-03-13 Jason Merrill <jason@redhat.com> |
10077 | ||
10078 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
10079 | into the function and constify it. | |
10080 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
10081 | ||
2a55fd42 DE |
10082 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
10083 | ||
10084 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
10085 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
10086 | std_expand_builtin_va_arg if not ABI_V4. | |
10087 | ||
19c5b1cf JM |
10088 | 2002-03-13 Jason Merrill <jason@redhat.com> |
10089 | ||
10090 | * varasm.c (globalize_decl): New fn. | |
10091 | (assemble_start_function): Use it. | |
10092 | (asm_emit_uninitialized): Use it. | |
10093 | (assemble_alias): Use it. | |
10094 | (assemble_variable): Use it. | |
10095 | ||
2a15f5e1 HPN |
10096 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
10097 | ||
10098 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
f0cce04a | 10099 | 2002-03-12 internal visibility change. |
2a15f5e1 HPN |
10100 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
10101 | visibility into SYMBOL_REF_FLAG. | |
10102 | ||
c0a3eeac UW |
10103 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
10104 | ||
10105 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
10106 | VOIDmode operand. Add compile-time optimization for constant results. | |
10107 | ||
a1652cee JM |
10108 | 2002-03-12 Jason Merrill <jason@redhat.com> |
10109 | ||
10110 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
10111 | between pointers and references. Only allow lvalues to convert to | |
10112 | reference. | |
10113 | ||
c52a375d HP |
10114 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
10115 | ||
f0cce04a ZW |
10116 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
10117 | before prologue, to avoid scheduling problems. | |
c52a375d | 10118 | |
e387e99b JJ |
10119 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
10120 | ||
10121 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
10122 | (ELIMINABLE_REGS): Add sfp->sp. | |
10123 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
10124 | ||
10125 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
09948ece JJ |
10126 | |
10127 | PR optimization/5892 | |
10128 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
10129 | ||
4061c1a3 JJ |
10130 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
10131 | ||
10132 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
10133 | classes are different. | |
10134 | ||
5b43fed1 RH |
10135 | 2002-03-12 Richard Henderson <rth@redhat.com> |
10136 | ||
9f53e965 RH |
10137 | PR optimization/5901 |
10138 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
10139 | the markers after/before the last/first insn not deleted. | |
10140 | ||
10141 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
10142 | ||
10143 | PR optimization/5878 | |
5b43fed1 RH |
10144 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
10145 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
10146 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
10147 | ||
10148 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
10149 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
10150 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
10151 | ||
10152 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
10153 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
10154 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
10155 | also. Don't set it if not flag_pic. | |
10156 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
10157 | to be INVALID_REGNUM when not used. | |
10158 | ||
4e9bb42b AH |
10159 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
10160 | ||
5b43fed1 RH |
10161 | * expmed.c (store_bit_field): Reset alias set for memory. |
10162 | (extract_bit_field): Same. | |
4e9bb42b | 10163 | |
2f9834e8 KG |
10164 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10165 | ||
10166 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
10167 | c_tree_code_name, add_c_tree_codes): Delete. | |
10168 | * c-common.h (add_c_tree_codes): Delete. | |
10169 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
10170 | Define. | |
10171 | * c-objc-common.c (c_objc_common_init): Don't call | |
10172 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
10173 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
10174 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
10175 | (objc_init): Don't call add_objc_tree_codes. | |
10176 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
10177 | tree_code_name): Define. | |
10178 | * toplev.c (lang_independent_init): Don't set | |
10179 | tree_code_length[IDENTIFIER_NODE]. | |
10180 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
10181 | Delete definitions, moved to language front-ends. | |
10182 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
10183 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
10184 | Const-ify. | |
10185 | (tree_code_length): Change type to unsigned char. | |
10186 | ||
36ad2436 RH |
10187 | 2002-03-12 Richard Henderson <rth@redhat.com> |
10188 | ||
10189 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
10190 | internal visibility change. | |
10191 | ||
0ae02efa BW |
10192 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
10193 | ||
10194 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
10195 | validize_mem() instead of change_address to avoid clobbering | |
10196 | memory attributes. | |
10197 | ||
35bb2bee NB |
10198 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
10199 | ||
10200 | * c-lex.h (position_after_whitespace): Remove. | |
10201 | ||
62ae2529 JJ |
10202 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
10203 | ||
10204 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
10205 | (lex_string): Use unsigned char pointers. | |
10206 | ||
6a45951f UW |
10207 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
10208 | ||
10209 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
10210 | is not a valid memory_operand. | |
10211 | ||
e2fb85da BW |
10212 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
10213 | ||
10214 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
10215 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
10216 | special case for libgcc files. | |
10217 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
10218 | (__divsi3): Likewise. | |
10219 | (__umodsi3): Likewise. | |
10220 | (__modsi3): Likewise. | |
10221 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
10222 | special case for libgcc files. | |
10223 | ||
5b8619f8 TR |
10224 | 2002-03-12 Tom Rix <trix@redhat.com> |
10225 | ||
10226 | * collect2.c (resolve_lib_name): Move outside of | |
f0cce04a | 10227 | OBJECT_FORMAT_COFF ifdef. |
5b8619f8 TR |
10228 | (ignore_library): Same. |
10229 | ||
089c8f97 BW |
10230 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
10231 | ||
10232 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
10233 | ||
958c70ff BW |
10234 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
10235 | ||
10236 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
10237 | to function_section before writing out the constant pool. | |
10238 | ||
a65c591c DE |
10239 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
10240 | ||
10241 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
10242 | zero_constant. | |
10243 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
10244 | ||
10245 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
10246 | ||
10247 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
10248 | (adddi3): Likewise. | |
10249 | (movdf): Likewise. | |
10250 | (movdi): Likewise. | |
10251 | (cmpsi splitter): Likewise. | |
10252 | (modsi3): Fail if <= 0. | |
10253 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
10254 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
10255 | (reg_or_sub_cint64_operand): Likewise. | |
10256 | (num_insns_constant_wide): Optimize sign extension. | |
10257 | (rs6000_legitimize_address): Likewise. | |
10258 | ||
17720332 AM |
10259 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
10260 | ||
10261 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
10262 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
10263 | ||
cd49f073 AM |
10264 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
10265 | ||
10266 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
10267 | address calculation. | |
10268 | ||
6a4e49c1 UW |
10269 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
10270 | ||
10271 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
10272 | scratch register to DImode / TImode. | |
10273 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
10274 | register used does not overlap the target. | |
10275 | ||
54b6670a KG |
10276 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10277 | ||
10278 | * Makefile.in (debug.o): Depend on debug.h. | |
10279 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
10280 | * debug.c (do_nothing_debug_hooks): Likewise. | |
10281 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
10282 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
10283 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
10284 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
10285 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
10286 | * integrate.c (output_inline_function): Likewise. | |
10287 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
10288 | * sdbout.c (sdb_debug_hooks): Likewise. | |
10289 | * toplev.c (debug_hooks): Likewise. | |
10290 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
10291 | ||
2465bf76 KG |
10292 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10293 | ||
10294 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
10295 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
10296 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
10297 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
10298 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
10299 | * defaults.h (POINTER_SIZE): Define. | |
10300 | * doc/tm.texi (POINTER_SIZE): Document default. | |
10301 | ||
53f3e9ca KG |
10302 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10303 | ||
10304 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
10305 | ||
44d3eb5b RH |
10306 | 2002-03-11 Richard Henderson <rth@redhat.com> |
10307 | ||
10308 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
10309 | if rebuild_label_notes_after_reload. | |
10310 | ||
4a085d2e HPN |
10311 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
10312 | ||
10313 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
10314 | emit pic register load if "internal" visibility. | |
10315 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
10316 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
10317 | ||
bc204393 RH |
10318 | 2002-03-11 Richard Henderson <rth@redhat.com> |
10319 | ||
10320 | * rtlanal.c: Include recog.h. | |
10321 | (keep_with_call_p): Fix thinko. | |
10322 | * Makefile.in (rtlanal.o): Update dependencies. | |
10323 | ||
6b8b9d7b CM |
10324 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
10325 | ||
10326 | * genflags.c (gen_insn): Use IS_VSPACE. | |
10327 | * genoutput.c (output_insn_data): Likewise. | |
10328 | (process_template): Likewise. | |
10329 | ||
6c40858f RH |
10330 | 2002-03-11 Richard Henderson <rth@redhat.com> |
10331 | ||
10332 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
10333 | ||
40adaa27 NB |
10334 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
10335 | ||
10336 | * Makefile.in: Update. | |
6c40858f | 10337 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
40adaa27 | 10338 | Update documentation. |
6c40858f RH |
10339 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
10340 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
40adaa27 | 10341 | |
049b03f4 ZW |
10342 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
10343 | ||
10344 | * Makefile.in: Give texi2pod its input file as a command line | |
10345 | argument, not on stdin. | |
10346 | ||
61eece67 DN |
10347 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
10348 | Daniel Berlin <dan@dberlin.org> | |
10349 | ||
10350 | C++ alias analysis improvement. | |
f0cce04a | 10351 | * alias.c (record_component_aliases): Record aliases for base |
61eece67 DN |
10352 | classes too. |
10353 | ||
a65c591c DE |
10354 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
10355 | ||
ff080aba UW |
10356 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
10357 | ||
1682dbb1 DR |
10358 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
10359 | ||
fa2d765a DR |
10360 | * toplev.c (vms_fopen): Remove, not needed. |
10361 | ||
6f1fd286 DR |
10362 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
10363 | ||
b230e057 DR |
10364 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
10365 | ||
cb9a8e97 DR |
10366 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
10367 | for FP, already done later. | |
10368 | ||
1682dbb1 DR |
10369 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
10370 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
10371 | ||
3fcaac1d RS |
10372 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
10373 | ||
10374 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
10375 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
10376 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
10377 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
10378 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
10379 | (ediv, emul, eldexp, esqrt): Likewise. | |
10380 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
10381 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
10382 | (saturate): New function. | |
10383 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
10384 | (make_nan): Use a saturation value instead of a NaN if | |
10385 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
10386 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
10387 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
10388 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
10389 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
10390 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
10391 | !ROUND_TOWARDS_ZERO. | |
10392 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
10393 | (ROUND_TOWARDS_ZERO): Document. | |
10394 | ||
d25558be AJ |
10395 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
10396 | ||
10397 | * cfg.c (dump_flow_info): Remove unused variable. | |
10398 | ||
c71f9ae7 HPN |
10399 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
10400 | ||
10401 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
10402 | computations on trees. | |
10403 | ||
561c9153 RH |
10404 | 2002-03-10 Richard Henderson <rth@redhat.com> |
10405 | ||
932b4e3e | 10406 | PR 5693: |
561c9153 RH |
10407 | * reload.c (copy_replacements_1): New. |
10408 | (copy_replacements): Use it to recurse through the rtx. | |
10409 | ||
26b738be RH |
10410 | 2002-03-10 Richard Henderson <rth@redhat.com> |
10411 | ||
10412 | * loop.c (strength_reduce): Compute number of iterations as | |
10413 | unsigned HOST_WIDE_INT. | |
10414 | ||
8d8a083e RH |
10415 | 2002-03-10 Richard Henderson <rth@redhat.com> |
10416 | ||
10417 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
10418 | to move away from the end of the block. | |
10419 | ||
32810ba3 NB |
10420 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
10421 | ||
10422 | PR preprocessor/5899 | |
10423 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
d25558be | 10424 | |
2b03d201 KG |
10425 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10426 | ||
f90c544c KG |
10427 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
10428 | ||
2b03d201 KG |
10429 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
10430 | ||
3ec1b4cb HPN |
10431 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
10432 | ||
10433 | * config/mmix/mmix.c: Improve comments. | |
10434 | (mmix_target_asm_function_prologue): Drop variable | |
10435 | empty_stack_frame. Don't allocate unused slot above fp. | |
10436 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
10437 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
10438 | brace in first column. | |
10439 | (enum reg_class): Ditto. | |
10440 | (FIRST_PARM_OFFSET): Now 0. | |
10441 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
10442 | ||
27e486c5 KG |
10443 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10444 | ||
10445 | * combine.c (make_extraction): Fix error in last change. | |
10446 | ||
0139adca KG |
10447 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10448 | ||
10449 | * c4x.c (c4x_fp_reglist): Const-ify. | |
10450 | * cris.c (cris_print_operand): Likewise. | |
10451 | * i386.c (ix86_va_arg): Likewise. | |
10452 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
10453 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
10454 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
10455 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
10456 | * mcore.h (regno_reg_class): Likewise. | |
10457 | * mips.c (gen_int_relational): Likewise. | |
10458 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
10459 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
a4334c36 | 10460 | * pdp11.c (move_costs): Likewise. |
0139adca KG |
10461 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
10462 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
10463 | Likewise. | |
10464 | * s390.h (regclass_map): Likewise. | |
10465 | * sh.c (shift_amounts): Likewise. | |
a4334c36 | 10466 | * sh.md (rotlsi3): Likewise. |
0139adca | 10467 | |
889b90a1 GK |
10468 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
10469 | ||
10470 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
10471 | (ne0+5): Use new clobber to generate proper shift pattern. | |
10472 | Patch by Michael Matz <matz@kde.org>. | |
10473 | ||
2877e0ae AS |
10474 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
10475 | ||
10476 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
10477 | ||
79b51cd7 GK |
10478 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
10479 | ||
10480 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
10481 | ||
e0f1be5c JJ |
10482 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
10483 | ||
10484 | PR middle-end/5877 | |
10485 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
10486 | even for non-representable constants. | |
10487 | ||
0a7ec763 RK |
10488 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10489 | ||
93fe8e92 RK |
10490 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
10491 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
10492 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
10493 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
10494 | (pop_function_context): Compute MAY_SHARE parameter for | |
10495 | fixup_var_refs. | |
10496 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
10497 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
10498 | ||
0a7ec763 RK |
10499 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
10500 | ||
a85cd407 AO |
10501 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
10502 | ||
9445b814 AO |
10503 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
10504 | in o32 and o64 ABIs. | |
10505 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
10506 | but getting fixed-size structs passed in registers regardless of | |
10507 | padding in o32 and o64 ABIs. | |
10508 | ||
a85cd407 AO |
10509 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
10510 | offset before loading address of argument passed by transparent | |
10511 | reference. | |
10512 | ||
c51fbe40 JDA |
10513 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10514 | ||
10515 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
10516 | ||
918e70dd AO |
10517 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
10518 | ||
10519 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
10520 | marker such that registers after it are saved. | |
10521 | ||
3070dd00 KG |
10522 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10523 | ||
10524 | * sparc.c (arith_4096_operand): Fix error in last change. | |
10525 | ||
e25d11b0 AO |
10526 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
10527 | ||
10528 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
10529 | defaults for MEABI. | |
10530 | ||
41daaf0e AH |
10531 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
10532 | ||
5b43fed1 RH |
10533 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
10534 | vectors. | |
41daaf0e | 10535 | |
fa139b00 AH |
10536 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
10537 | ||
5b43fed1 | 10538 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
fa139b00 | 10539 | |
c51d95ec JH |
10540 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
10541 | ||
10542 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
10543 | removed; fix return value. | |
10544 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
10545 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
10546 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
10547 | ||
3b25fbfe KG |
10548 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10549 | ||
10550 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
10551 | ||
189ae0f4 JH |
10552 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
10553 | ||
10554 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
10555 | ||
24965e7a NB |
10556 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
10557 | ||
10558 | * expr.c (expand_expr): Use unsave lang hook. | |
10559 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
10560 | (LANG_HOOKS_INITIALIZER): Update. | |
10561 | * langhooks.h (struct lang_hooks): New hook unsave. | |
10562 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
10563 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
10564 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
10565 | (unsave_expr_now): Remove. | |
10566 | * tree.h (unsave_expr_now, lang_unsave, | |
10567 | lang_unsave_expr_now): Remove. | |
10568 | (lhd_unsave): New. | |
10569 | ||
1e4e95d6 AJ |
10570 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
10571 | ||
10572 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
10573 | ||
054ef905 KH |
10574 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
10575 | ||
10576 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
10577 | insn length for memory load/store. | |
10578 | ||
5304400d | 10579 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1e4e95d6 | 10580 | |
5304400d CR |
10581 | * doc/install.texi (--with-libiconv-prefix): Document. |
10582 | ||
81034129 MB |
10583 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
10584 | ||
10585 | * doc/sourcebuild.texi: Fix typo. | |
10586 | ||
71db7d03 JJ |
10587 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
10588 | ||
10589 | PR c/3711 | |
10590 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
10591 | trees. | |
10592 | ||
127c1ba5 RK |
10593 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10594 | ||
10595 | * rtl.c (copy_most_rtx): Move from here ... | |
10596 | * emit-rtl.c (copy_most_rtx): ... to here. | |
10597 | ||
8a13c092 AO |
10598 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
10599 | ||
5faae4f7 AO |
10600 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
10601 | SUBTARGET_CPP_SIZE_SPEC. | |
10602 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
10603 | ||
8a13c092 AO |
10604 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
10605 | ||
4ec59de2 MH |
10606 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
10607 | ||
10608 | * gensupport.c (first_dir_md_include): Renamed from include; | |
10609 | change all references. | |
10610 | (last_dir_md_include): Renamed from last_include; change all | |
10611 | references. | |
10612 | (init_md_reader): Unconditionally initialize base_dir whether or | |
10613 | not filename is a relative path. | |
10614 | ||
12f61e77 AO |
10615 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
10616 | ||
95356058 AO |
10617 | * config/fp-bit.c (_unord_f2): Compile it in even if |
10618 | US_SOFTWARE_GOFAST is enabled. | |
10619 | ||
12f61e77 AO |
10620 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
10621 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
10622 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
10623 | NULL_RTX, try reversing the comparison and the operands. | |
10624 | ||
6d7a1c4c UW |
10625 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
10626 | ||
10627 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
10628 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
10629 | and MATCH_OP_DUP. | |
10630 | ||
66d54344 JH |
10631 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
10632 | ||
10633 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
10634 | ||
068473ec JH |
10635 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
10636 | ||
10637 | * basic-block.h (fixup_abnormal_edges): Declare. | |
10638 | * reload1.c (fixup_abnormal_edges): New function. | |
10639 | * reg-stack.c (convert_regs): Use it. | |
10640 | ||
10641 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
10642 | ||
10643 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
10644 | ||
71925bc0 RS |
10645 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
10646 | ||
10647 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
10648 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
10649 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
10650 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
10651 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
10652 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
10653 | unless x and y could be infinite. | |
10654 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
10655 | Check that the common type of both arguments is a real, even for | |
10656 | targets without unordered comparisons. Allow an integer argument | |
10657 | to be compared against a real. | |
10658 | (expand_tree_builtin): Use expand_unordered_cmp. | |
10659 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
10660 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
10661 | * fold-const.c (fold_real_zero_addition_p): New. | |
10662 | (fold): Use it, and the new HONOR_... macros. | |
10663 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
10664 | * jump.c (reversed_comparison_code_parts): After searching for | |
10665 | the true comparison mode, use HONOR_NANS to decide whether it | |
10666 | can be safely reversed. | |
10667 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
10668 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
10669 | to decide which simplifications are valid. Allow the following | |
10670 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
10671 | and (a - -b) to (a + b). | |
10672 | (simplify_relational_operation): Use HONOR_NANS. | |
10673 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
10674 | ||
145d3bf2 RE |
10675 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
10676 | ||
10677 | * combine.c (simplify_comparison): If simplifying a logical shift | |
10678 | right and compare with constant, force the comparison to unsigned. | |
10679 | ||
76a773f3 AH |
10680 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
10681 | ||
5b43fed1 | 10682 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
76a773f3 | 10683 | |
5b43fed1 RH |
10684 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
10685 | -mabi=no-altivec | |
10686 | (alt_reg_names): Remove % for vrsave. | |
76a773f3 | 10687 | |
ab55f58c RH |
10688 | 2002-03-06 Richard Henderson <rth@redhat.com> |
10689 | ||
5ddec02e | 10690 | PR optimization/5844 |
ab55f58c RH |
10691 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
10692 | if used indicates we've already emitted one copy of an operand. | |
10693 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
10694 | (gen_split): Supply a non-null used. | |
10695 | ||
e16e3291 UW |
10696 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
10697 | ||
5b43fed1 | 10698 | * reload1.c (reload): Unshare all rtl after reload is done. |
e16e3291 | 10699 | |
1e4e95d6 | 10700 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
e16e3291 UW |
10701 | but simply fail if the expression is too complex to simplify. |
10702 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
10703 | ||
2ca6672b JH |
10704 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
10705 | ||
10706 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
10707 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
10708 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
10709 | after liveness2; update comment in last crossjumping. | |
10710 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
10711 | ||
31d0dd4f JL |
10712 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
10713 | ||
d094b0b3 JL |
10714 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
10715 | after completing fast dead code elimination. | |
10716 | ||
31d0dd4f JL |
10717 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
10718 | COMPARE operator. | |
1e4e95d6 | 10719 | |
f2b958b1 PE |
10720 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
10721 | ||
10722 | * version.c: Fix misplaced leading blanks on first line. | |
10723 | ||
a2877a09 JH |
10724 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
10725 | ||
10726 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
10727 | ||
fe477d8b JH |
10728 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
10729 | ||
10730 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
10731 | (thread_jump): Use it. | |
10732 | * toplev.c (rest_of_compilation): Run jump threading after | |
10733 | liveness. | |
10734 | ||
2041cde4 JJ |
10735 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
10736 | ||
10737 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
10738 | patch. | |
10739 | ||
82d68d46 JH |
10740 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
10741 | ||
10742 | * predict.c (estimate_bb_frequencies): Do not reload the | |
10743 | frequencies from notes. | |
10744 | ||
3dec4024 JH |
10745 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
10746 | ||
10747 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
10748 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
10749 | ||
10750 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
10751 | delete_noop_moves): Return indeger. | |
10752 | * flow.c (ndead): New variable. | |
10753 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
10754 | BB argument; update callers. | |
10755 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
10756 | (life_analysis): Do not call purge_all_dead_edges. | |
10757 | (update_life_info): Return number of deleted insns; print statistics. | |
10758 | (update_life_info_in_dirty_blocks): likewise. | |
10759 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
10760 | return number of insns deleted. | |
10761 | ||
10762 | * cse.c: Include timevar.h | |
10763 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
10764 | iterate until stabilizes; print statistics; return number of killed | |
10765 | insns. | |
10766 | * Makefile.in: (cse.o): Add timevar.h dependency | |
10767 | * rtl.h (delete_trivially_dead_insns): New. | |
10768 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
10769 | * toplev.c (rest_of_compilation): Update callers. | |
10770 | ||
10771 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
10772 | (try_optimize_cfg): Do not update liveness. | |
10773 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
10774 | removal stabilizes; use delete_trivially_dead_insns. | |
10775 | ||
10776 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
10777 | ||
c7544dd8 ZW |
10778 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
10779 | ||
10780 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
10781 | callbacks when processing assembly language. | |
10782 | ||
50b424a9 JDA |
10783 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10784 | ||
10785 | * pa.h (ASM_FILE_END): Define. | |
10786 | * som.h (ASM_FILE_END): Delete. | |
10787 | ||
10788 | * pa.c (function_arg): Don't pass floats in general registers in | |
10789 | indirect calls if TARGET_ELF32. | |
10790 | ||
6185f217 RH |
10791 | 2002-03-05 Richard Henderson <rth@redhat.com> |
10792 | ||
10793 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
10794 | ||
3020a4b2 DS |
10795 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
10796 | ||
10797 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
10798 | ||
65649daa JJ |
10799 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
10800 | ||
10801 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
10802 | -r command line. Don't hide any symbols if not building | |
10803 | shared libgcc. | |
10804 | ||
5a1a3e5e JH |
10805 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
10806 | ||
10807 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
10808 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
10809 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
10810 | ||
170c56da JJ |
10811 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
10812 | ||
10813 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
10814 | wide volatile memory by parts. | |
10815 | ||
6d051694 JJ |
10816 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
10817 | ||
10818 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
10819 | is NULL. | |
10820 | ||
28bcfd4d RH |
10821 | 2002-03-05 Richard Henderson <rth@redhat.com> |
10822 | ||
5b43fed1 | 10823 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
28bcfd4d | 10824 | |
75227a33 GK |
10825 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
10826 | ||
10827 | * toplev.c (documented_lang_options): Document more | |
10828 | language-specific options. | |
10829 | * doc/invoke.texi (Warning Options): Correct documentation for | |
10830 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
10831 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
10832 | ||
4f1aac42 HPN |
10833 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
10834 | ||
10835 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
10836 | parameter to mmix_encode_section_info. | |
10837 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
10838 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
10839 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
10840 | first is non-zero, don't add symbol prefix. | |
10841 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
10842 | prototype accordingly. | |
10843 | ||
12345543 KW |
10844 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
10845 | ||
10846 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
10847 | ||
8e97db8f JM |
10848 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
10849 | ||
10850 | * configure.in: Increase required makeinfo version to 4.1. | |
10851 | * configure: Regenerate. | |
10852 | ||
06487868 GK |
10853 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
10854 | ||
10855 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
10856 | elsewhere now. | |
10857 | ||
cff42170 JM |
10858 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
10859 | ||
10860 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
10861 | * doc/invoke.texi: Fix @math uses. | |
10862 | ||
974a7f56 JH |
10863 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
10864 | ||
10865 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
10866 | removal | |
10867 | ||
3b7d0e98 AH |
10868 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
10869 | ||
5b43fed1 RH |
10870 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
10871 | (powerpc-*-eabisimaltivec*): Same. | |
3b7d0e98 | 10872 | |
5b43fed1 | 10873 | * config/rs6000/t-ppcendian: New. |
3b7d0e98 | 10874 | |
65f2f288 HB |
10875 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
10876 | ||
10877 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
10878 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
10879 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
10880 | ||
8ce0a8a5 RH |
10881 | 2002-03-03 Richard Henderson <rth@redhat.com> |
10882 | ||
10883 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
10884 | ||
ba31d94e ZW |
10885 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
10886 | ||
10887 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
10888 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
10889 | tree.c, config/m68k/m68k.c: | |
10890 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
10891 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
10892 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
10893 | * flags.h, toplev.c: Delete remaining references to | |
10894 | flag_pretend_float. | |
10895 | ||
10896 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
10897 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
10898 | real.h, not by the target configuration files. | |
10899 | ||
10900 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
10901 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
10902 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
10903 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
10904 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
10905 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
10906 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
10907 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
10908 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
10909 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
10910 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
10911 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
10912 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
10913 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
10914 | config/xtensa/xtensa.h: | |
10915 | Do not define, undefine, or mention in comments any of | |
10916 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
10917 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
10918 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
10919 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
10920 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
10921 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
10922 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
10923 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
10924 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
10925 | ||
9a571cfd KG |
10926 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10927 | ||
e81dd381 KG |
10928 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
10929 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
10930 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
10931 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
10932 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
10933 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
10934 | Delete. | |
10935 | * defaults.h (BITS_PER_WORD): Define. | |
ba31d94e | 10936 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
e81dd381 | 10937 | |
9a571cfd KG |
10938 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
10939 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
10940 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
10941 | ||
ca7558fc KG |
10942 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10943 | ||
10944 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
10945 | lieu of explicit sizeof/sizeof. | |
10946 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
10947 | ix86_expand_builtin): Likewise. | |
10948 | * mips.c (mips_add_gc_roots): Likewise. | |
10949 | * mmix.c (mmix_output_condition): Likewise. | |
10950 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
10951 | altivec_init_builtins): Likewise. | |
10952 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
10953 | * cppexp.c (Nsuff, parse_number): Likewise. | |
10954 | * cppinit.c (builtin_array_end): Likewise. | |
10955 | * gcc.c (n_default_compilers, process_command): Likewise. | |
10956 | * genpreds.c (output_predicate_decls): Likewise. | |
10957 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
10958 | * lcm.c (N_ENTITIES): Likewise. | |
10959 | * stor-layout.c (set_sizetype): Likewise. | |
ba31d94e | 10960 | |
41c78c88 RH |
10961 | 2002-03-03 Richard Henderson <rth@redhat.com> |
10962 | ||
10963 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
10964 | for types or labels. | |
10965 | ||
9e9b71e6 RH |
10966 | 2002-03-03 Richard Henderson <rth@redhat.com> |
10967 | ||
10968 | * c-decl.c (start_decl): Initialized variables are not common. | |
10969 | ||
c26a6db8 PB |
10970 | 2002-03-02 Per Bothner <per@bothner.com> |
10971 | ||
10972 | * gcc.c (option_map): Suport new --bootclasspath option. | |
10973 | --CLASSPATH is now just an alias for --classpath. | |
10974 | ||
9e8aab55 RH |
10975 | 2002-03-02 Richard Henderson <rth@redhat.com> |
10976 | ||
10977 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
10978 | load if "internal" visibility. | |
10979 | * doc/extend.texi: Document visibility meanings. | |
10980 | ||
b3bbd220 RH |
10981 | 2002-03-02 Richard Henderson <rth@redhat.com> |
10982 | ||
10983 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
10984 | to functions as well. | |
10985 | ||
b14707c3 RH |
10986 | 2002-03-02 Richard Henderson <rth@redhat.com> |
10987 | ||
10988 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
10989 | (handle_visibility_attribute): Don't call assemble_visibility. | |
10990 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
10991 | without asmspec. Invoke assemble_alias when needed. | |
10992 | * varasm.c (maybe_assemble_visibility): New. | |
10993 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
10994 | ||
b2003250 RH |
10995 | 2002-03-02 Richard Henderson <rth@redhat.com> |
10996 | ||
10997 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
10998 | invoke ENCODE_SECTION_INFO with first call flag. | |
10999 | ||
11000 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
11001 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
ba31d94e | 11002 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
b2003250 RH |
11003 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
11004 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
11005 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
11006 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
11007 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
11008 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
11009 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
11010 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
11011 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
ba31d94e ZW |
11012 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
11013 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
b2003250 RH |
11014 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
11015 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
11016 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
ba31d94e | 11017 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
b2003250 RH |
11018 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
11019 | config/sh/sh.h, config/sparc/sparc.h, | |
11020 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
11021 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
11022 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
11023 | FIRST argument. As needed, examine it and do nothing. | |
11024 | ||
ba31d94e | 11025 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
b2003250 RH |
11026 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
11027 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
11028 | ||
11029 | * config/arm/t-pe (pe.o): Add dependencies. | |
11030 | ||
5c60f03d KG |
11031 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11032 | ||
11033 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
11034 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
11035 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
11036 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
11037 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
11038 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
11039 | * defaults.h (BITS_PER_UNIT): Define. | |
11040 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
11041 | ||
86855e8c KH |
11042 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
11043 | ||
11044 | * config/h8300/h8300-protos.h: Add a prototype for | |
11045 | compute_a_shift_length. | |
11046 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
11047 | (compute_a_shift_length): Likewise. | |
11048 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
11049 | insns. | |
11050 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
11051 | compute_a_shift_length. | |
11052 | ||
f6041ed8 RK |
11053 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11054 | ||
35aa3c1c RK |
11055 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
11056 | trunc_int_for_mode. | |
11057 | ||
f6041ed8 RK |
11058 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
11059 | ||
27b41650 KG |
11060 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11061 | ||
11062 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
11063 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
11064 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
11065 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
11066 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
11067 | * tree.c (initializer_zerop): New function. | |
11068 | * tree.h (initializer_zerop): Declare. | |
11069 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
11070 | initializers in the bss section. | |
11071 | ||
ca734b39 AM |
11072 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
11073 | ||
11074 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
11075 | like more than one symbol per .weak directive. | |
11076 | ||
49b72306 RH |
11077 | 2002-03-01 Richard Henderson <rth@redhat.com> |
11078 | ||
11079 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
11080 | adjust argument_pointer by pretend_args_size. | |
11081 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
11082 | ||
fbf0fe41 KH |
11083 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
11084 | ||
11085 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
11086 | ||
0010687d JH |
11087 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
11088 | ||
11089 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
11090 | loop. | |
11091 | * flow.c (delete_dead_jumptables): Make global. | |
11092 | * rtl.h (delete_dead_jumptables): Declare. | |
11093 | ||
9429c84c DE |
11094 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
11095 | ||
11096 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
11097 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
0c2fdcdf | 11098 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
9429c84c | 11099 | |
f0b6f9a6 KH |
11100 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
11101 | ||
11102 | * config/h8300/h8300-protos.h: Fix formatting. | |
11103 | * config/h8300/h8300.c: Likewise. | |
11104 | * config/h8300/h8300.h: Likewise. | |
11105 | ||
bc8db8a1 KH |
11106 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
11107 | ||
11108 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
11109 | constant addresses. | |
11110 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
11111 | ||
32b069d3 RH |
11112 | 2002-02-28 Richard Henderson <rth@redhat.com> |
11113 | ||
11114 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
11115 | pun complex values as integers; use gen_lowpart instead of | |
11116 | gen_rtx_SUBREG. | |
11117 | (extract_bit_field): Likewise. | |
11118 | ||
79c4e63f AM |
11119 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
11120 | David Edelsohn <edelsohn@gnu.org> | |
11121 | ||
11122 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
11123 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
11124 | (SUPPORTS_WEAK): Likewise. | |
11125 | * output.h (add_weak): Add tree param. | |
11126 | * varasm.c (add_weak): Likewise. Save decl. | |
11127 | (struct weak_syms): Add decl field. | |
11128 | (mark_weak_decls): New function. | |
11129 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
11130 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
11131 | (assemble_variable): Likewise. | |
11132 | (assemble_alias): Likewise. | |
11133 | (declare_weak): Pass decl to add_weak. | |
11134 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
11135 | (remove_from_pending_weak_list): Declare and define for | |
11136 | ASM_WEAKEN_DECL. | |
11137 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
11138 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
11139 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
11140 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
11141 | .weak for code sym. Do emit .size for descriptor sym. | |
11142 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
11143 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
11144 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
11145 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
11146 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
11147 | .weak for code sym. | |
11148 | (HANDLE_PRAGMA_WEAK): Remove. | |
11149 | (ASM_WEAKEN_LABEL): Remove. | |
11150 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
11151 | ||
6f30f1f1 JM |
11152 | 2002-03-01 Jason Merrill <jason@redhat.com> |
11153 | ||
11154 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
11155 | (TARGET_EXPR_CLEANUP): New macro. | |
11156 | ||
7879b81e SE |
11157 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
11158 | ||
11159 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
11160 | to take ptr_extend into account as third type of extension. | |
11161 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
11162 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
11163 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
11164 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
11165 | * calls.c (precompute_arguments): Use new macro. | |
11166 | (expand_call): Ditto. | |
11167 | * combine.c (nonzero_bits): Ditto. | |
11168 | (record_promoted_value): Ditto. | |
11169 | * expr.c (store_expr): Ditto. | |
11170 | (expand_expr): Ditto. | |
11171 | * function.c (assign_parms): Ditto. | |
11172 | ||
42d579d8 AO |
11173 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
11174 | ||
11175 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
11176 | override -shared and -shared-libgcc. | |
11177 | ||
e0054185 DB |
11178 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
11179 | ||
11180 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
11181 | of "ultrasparc". | |
11182 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
11183 | to be broken. | |
11184 | ||
abda4f1c RH |
11185 | 2002-02-28 Richard Henderson <rth@redhat.com> |
11186 | ||
11187 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
11188 | 4 cycle latency from MM producers. | |
11189 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
11190 | ||
c0f08649 JJ |
11191 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
11192 | ||
11193 | * mklibgcc.in: Don't use GNU make extension. | |
11194 | ||
f79f2651 NB |
11195 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
11196 | ||
11197 | * c-parse.in (STATIC): New terminal. | |
11198 | (scspec): New non-terminal. Update productions accordingly. | |
11199 | (program): Remove bogus ifc / end ifc. | |
11200 | (array_declarator): Simplify production using STATIC. | |
11201 | ||
001e3fee JM |
11202 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
11203 | ||
11204 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
11205 | \a still means TARGET_BELL. | |
11206 | ||
89076bb3 RH |
11207 | 2002-02-28 Richard Henderson <rth@redhat.com> |
11208 | ||
11209 | * haifa-sched.c (sched_emit_insn): New. | |
11210 | (schedule_block): Use last_scheduled_insn to track last insn. | |
11211 | * sched-int.h (sched_emit_insn): Prototype. | |
11212 | * config/ia64/ia64.c (last_issued): Remove. | |
11213 | (ia64_variable_issue): Don't set it. | |
11214 | (nop_cycles_until): Use sched_emit_insn. | |
11215 | ||
e3aaacf4 AM |
11216 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
11217 | ||
11218 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
11219 | extended constants. | |
11220 | ||
7f473594 KH |
11221 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
11222 | ||
11223 | * config/h8300/h8300.c: Fix formatting. | |
11224 | * config/h8300/h8300.h: Likewise. | |
11225 | ||
b96c434c MM |
11226 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
11227 | ||
11228 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
11229 | which may overwrite the high byte of the frame pointer. | |
11230 | ||
9b420a6a BT |
11231 | 2002-02-28 Bo Thorsen <bo@suse.de> |
11232 | ||
11233 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
11234 | (STARTFILE_SPEC): Add 64 bit files. | |
11235 | (ENDFILE_SPEC): Likewise. | |
11236 | ||
6f30f1f1 | 11237 | 2002-02-28 Jason Merrill <jason@redhat.com> |
46cfb101 JM |
11238 | |
11239 | * c-decl.c (finish_function): Only warn about missing return | |
11240 | statement with -Wreturn-type. | |
11241 | ||
70da1d03 JH |
11242 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
11243 | ||
11244 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
11245 | ||
11246 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
11247 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
11248 | ||
38c1593d JH |
11249 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
11250 | ||
11251 | * basic-block.h (BB_REACHABLE): Renumber. | |
11252 | (BB_DIRTY, BB_NEW): New flags. | |
11253 | (clear_bb_flags): Declare. | |
11254 | (update_life_info_in_dirty_blocks): Declare. | |
11255 | * cfg.c (clear_bb_flags): New function. | |
11256 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
11257 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
11258 | reorder_insns, emit_insn_after): Mark block as dirty. | |
11259 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
11260 | (update_life_info_in_dirty_blocks): New function. | |
11261 | * recog.c (apply_change_group): Dirtify block. | |
11262 | ||
11263 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
11264 | cfg consistent. | |
11265 | * gcse.c (delete_null_pointer_checks): Likewise. | |
11266 | ||
11267 | * toplev.c (dump_file_index): Move cse2 after bp, | |
11268 | add DFI_null | |
11269 | (dump_file_info): Similary. | |
11270 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
11271 | do first if converision after null pointer checks, do cse2 | |
11272 | after branch prediction; avoid full liveness rebuild after | |
11273 | initializing subregs. | |
11274 | * invoke.texi (-d options): Document -du, renumber. | |
11275 | ||
11276 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
11277 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
11278 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
11279 | merge_blocks_move_successor_nojumps, merge_blocks, | |
11280 | try_crossjump_to_edge): Likewise. | |
11281 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
11282 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
11283 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
11284 | (merge_of_block): Do not use life_data_ok. | |
11285 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
11286 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
11287 | * lcm.c (optimize_mode_switching): Update | |
11288 | update_life_info_in_dirty_blocks | |
11289 | ||
63e1b1c4 NB |
11290 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
11291 | ||
11292 | * Makefile.in (integrate.o): Update. | |
11293 | * c-decl.c (copy_lang_decl): Rename. | |
11294 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
11295 | * integrate.c: Include langhooks.h. | |
11296 | (copy_decl_for_inlining): Update to use langhook. | |
11297 | * langhooks-def.h (lhd_do_nothing_t, | |
11298 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
11299 | (LANG_HOOKS_INITIALIZER): Update. | |
11300 | * langhooks.c (lhd_do_nothing_t): New. | |
11301 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
11302 | * tree.h (copy_lang_decl): Remove. | |
11303 | objc: | |
11304 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
11305 | ||
f472fa29 AM |
11306 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
11307 | ||
ba31d94e | 11308 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
f472fa29 AM |
11309 | POST_DEC, and POST_MODIFY. |
11310 | ||
273cf2e4 ZW |
11311 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
11312 | ||
11313 | * c-typeck.c (digest_init): Remove unused parameter; all | |
11314 | callers changed. | |
11315 | ||
4e07d762 GK |
11316 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
11317 | ||
11318 | * expmed.c (expand_shift): Correctly test for low part of a | |
11319 | subreg. | |
11320 | ||
6bc627b3 UW |
11321 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
11322 | ||
11323 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
11324 | insn UIDs with insn addresses. | |
11325 | ||
f458d1d5 ZW |
11326 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
11327 | ||
11328 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
11329 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
11330 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
11331 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
11332 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
11333 | ||
11334 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
11335 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
11336 | Document removal of -traditional mode for compilation, and | |
11337 | remove documentation only relevant to that mode. | |
11338 | ||
11339 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
11340 | config/convex/convex.h, config/d30v/d30v.h, | |
11341 | config/i386/dgux.h, config/i386/osf1elf.h, | |
11342 | config/i386/osfelf.h, config/i386/osfrose.h, | |
11343 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
11344 | config/m68k/hp310.h, config/m88k/dgux.h, | |
11345 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
11346 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
11347 | config/mips/abi64.h, config/mips/osfrose.h, | |
11348 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
11349 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
11350 | config/stormy16/stormy16.h: Remove all references to | |
11351 | -traditional from target specs. Delete all mention of the | |
11352 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
11353 | delete a couple of commented-out definitions of | |
11354 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
11355 | to -traditional. | |
11356 | ||
11357 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
11358 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
11359 | ||
e0b3a8ff ZW |
11360 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
11361 | ||
11362 | * mklibgcc.in: Don't use \n in a line subject to | |
11363 | interpretation by echo. | |
11364 | ||
5c6a85b7 GS |
11365 | 2002-02-27 Graham Stott <grahams@redhat.com> |
11366 | ||
72b05af1 GS |
11367 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
11368 | Constify NAME. | |
11369 | ||
7d104885 GS |
11370 | * loop.c (prescan_loop): Handle PARALLEL. |
11371 | ||
8ed805d2 GS |
11372 | * unroll.c (loop_iterations): Return 0 if the add_val for |
11373 | a BIV is REG. | |
11374 | ||
fd478a0a GS |
11375 | * final.c (output_operand_lossage): Constify PFX_STR. |
11376 | ||
5c6a85b7 GS |
11377 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
11378 | ||
cd98ad03 JH |
11379 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
11380 | ||
11381 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
11382 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
11383 | ||
639ae55b JH |
11384 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
11385 | ||
11386 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
11387 | ||
e808ec9c NB |
11388 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
11389 | ||
11390 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
11391 | arguments. | |
11392 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
11393 | if parsing macro args when entering a directive. | |
11394 | * cppmacro.c (collect_args): No need to handle directives | |
11395 | in macro arguments. | |
11396 | (enter_macro_context, replace_args): Use the original macro | |
11397 | definition in case it was redefined whilst collecting arguments. | |
11398 | doc: | |
11399 | * cpp.texi: Update. | |
11400 | ||
f585a356 DE |
11401 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
11402 | ||
11403 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
11404 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
11405 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
11406 | method on AIX. | |
11407 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
11408 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
11409 | (load_toc_v4_PIC_2): Same. | |
11410 | ||
11411 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
11412 | ||
11413 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
11414 | ||
d699058e RH |
11415 | 2002-02-26 Richard Henderson <rth@redhat.com> |
11416 | ||
11417 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
11418 | ||
eadccfbb RH |
11419 | 2002-02-26 Richard Henderson <rth@redhat.com> |
11420 | ||
11421 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
11422 | MODULE_LOCAL_P; improve commentary. | |
11423 | ||
7080ada1 ZW |
11424 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
11425 | ||
11426 | * doc/cpp.texi: Clarify documentation of relationship between | |
11427 | #line and #include. | |
11428 | ||
b42cff6b KH |
11429 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
11430 | ||
11431 | * config/h8300/h8300-protos.h: Update the prototype for | |
11432 | compute_logical_op_length. Add the prototype for | |
11433 | compute_logical_op_cc. | |
11434 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
11435 | code from operands. | |
11436 | (compute_logical_op_cc): New. | |
11437 | * config/h8300/h8300.md: Combine all the logical op patterns | |
11438 | in HImode and SImode. Use compute_logical_op_cc. | |
11439 | ||
831c4e87 KC |
11440 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
11441 | ||
11442 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
11443 | length suffixs to x87 opcodes when in Intel mode. | |
11444 | ||
ff88fe10 RS |
11445 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
11446 | ||
11447 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
11448 | (init_emit_once): Update calls. | |
11449 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
11450 | (init_syntax_once): Prototype. | |
11451 | ||
d4108589 JDA |
11452 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11453 | ||
11454 | * pa-linux.h (LIB_SPEC): Update definition. | |
11455 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
11456 | ||
e013f3c7 RH |
11457 | 2002-02-26 Richard Henderson <rth@redhat.com> |
11458 | ||
11459 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
11460 | if we emitted a stop bit. | |
11461 | ||
9e944a16 JJ |
11462 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
11463 | ||
11464 | * configure.in (libgcc_visibility): Substitute. | |
11465 | * configure: Rebuilt. | |
11466 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
11467 | defined symbols .hidden. | |
11468 | ||
47bd70b5 JJ |
11469 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
11470 | ||
11471 | * attribs.c (c_common_attribute_table): Add visibility. | |
11472 | (handle_visibility_attribute): New function. | |
11473 | * varasm.c (assemble_visibility): New function. | |
11474 | * output.h (assemble_visibility): Add prototype. | |
11475 | * tree.h (MODULE_LOCAL_P): Define. | |
11476 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
11477 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
11478 | for MODULE_LOCAL_P symbols too. | |
11479 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
11480 | MODULE_LOCAL_P symbols the same way as local symbols. | |
11481 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
11482 | into .sdata/.sbss by the user. | |
11483 | * doc/extend.texi (Function Attributes): Document visibility | |
11484 | attribute. | |
11485 | ||
6d73371a JJ |
11486 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
11487 | ||
11488 | PR debug/5770 | |
11489 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
11490 | STRING_CST initializer spanning the whole variable without | |
11491 | embedded zeros. | |
11492 | If expand_expr returned MEM, don't use it. | |
11493 | ||
06e224f7 AO |
11494 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
11495 | ||
11496 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
11497 | generate a die for the lexical block. | |
11498 | ||
40367e2d KH |
11499 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
11500 | ||
11501 | * config/h8300/h8300-protos.h: Add a prototype for | |
11502 | compute_logical_op_length. | |
11503 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
11504 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
11505 | compute_logical_op_length for length. | |
11506 | ||
0e98f924 AH |
11507 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
11508 | ||
831c4e87 KC |
11509 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
11510 | for vectors. | |
11511 | (gen_type_die): Same. | |
0e98f924 | 11512 | |
831c4e87 | 11513 | * attribs.c (handle_vector_size_attribute): Set debug information. |
0e98f924 | 11514 | |
a50cfd52 DE |
11515 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
11516 | ||
831c4e87 KC |
11517 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
11518 | fix incorrect generation of merge high instructions instead | |
11519 | of merge low. | |
a50cfd52 | 11520 | |
b7997284 AH |
11521 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
11522 | ||
831c4e87 KC |
11523 | * c-typeck.c (really_start_incremental_init): Use |
11524 | bitsize_zero_node for vectors. | |
b7997284 | 11525 | |
376aec5d AH |
11526 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
11527 | ||
831c4e87 KC |
11528 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
11529 | ("*set_vrsave_internal"): Same. | |
376aec5d | 11530 | |
3b40e71b RH |
11531 | 2002-02-25 Richard Henderson <rth@redhat.com> |
11532 | ||
11533 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
11534 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
11535 | ||
232b8f52 JJ |
11536 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
11537 | ||
11538 | PR target/5755 | |
11539 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
11540 | fake structure return argument if it was passed on the stack. | |
11541 | ||
67282790 JM |
11542 | 2002-02-25 Jason Merrill <jason@redhat.com> |
11543 | ||
11544 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
11545 | RESULT_DECL. | |
11546 | ||
5c181756 AO |
11547 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
11548 | ||
11549 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
11550 | link with shared_name only. | |
11551 | * doc/invoke.texi (Link Options): Document new behavior. | |
11552 | ||
6786d201 AH |
11553 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
11554 | ||
831c4e87 | 11555 | * c-typeck.c (push_init_level): Handle vectors. |
6786d201 | 11556 | |
7d6040e8 AO |
11557 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
11558 | ||
11559 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
11560 | operands of SPARC_SETHI_P. | |
11561 | (input_operand): Likewise. | |
11562 | (sparc_emit_set_const32): Likewise. | |
11563 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
11564 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
11565 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
11566 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
11567 | (movdi_insn_sp64_vis): Likewise. | |
11568 | (movdi split, movdf split): Use SETHI32. | |
11569 | * doc/md.texi: Document SPARC constraints L, M and N. | |
11570 | ||
b188f760 AH |
11571 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
11572 | ||
831c4e87 KC |
11573 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
11574 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
b188f760 | 11575 | |
831c4e87 KC |
11576 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
11577 | gen_get_vrsave_internal. | |
b188f760 | 11578 | |
8041889f RK |
11579 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11580 | ||
11581 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
11582 | ||
a47ed310 NB |
11583 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
11584 | ||
11585 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
11586 | otherwise of wide character constants correct. | |
11587 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
11588 | ||
cb8f73be RK |
11589 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11590 | ||
11591 | * optabs.c (widen_operand): Only call convert_modes for | |
11592 | promoted SUBREG if signedness matches. | |
11593 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
11594 | ||
2450e0b8 NB |
11595 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
11596 | ||
11597 | * cpplib.c (glue_header_name): Use local buffer to build up | |
11598 | header name. | |
11599 | ||
70b6aaed NB |
11600 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
11601 | ||
11602 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
11603 | ||
6be580c7 KH |
11604 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
11605 | ||
11606 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
11607 | H8/300[HS] separately. | |
11608 | * config/h8300/h8300.md: Remove the early clobber constraint | |
11609 | from bit field patterns. | |
11610 | ||
35dad9f1 KH |
11611 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
11612 | ||
11613 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
11614 | register_operand. | |
11615 | (mulhisi3): Likewise. | |
11616 | (umulqisi3): Likewise. | |
11617 | (umulhisi3): Likewise. | |
11618 | ||
ab8e2228 NB |
11619 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
11620 | ||
11621 | * cppinit.c (output_deps): Correct test for stdout output. | |
11622 | (init_dependency_output): Cure warning. | |
11623 | ||
ac6f8a15 RK |
11624 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11625 | ||
11626 | * expr.c (store_expr): When converting expression to promoted | |
11627 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
11628 | of the expansion of EXP. | |
11629 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
11630 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
11631 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
11632 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
11633 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
11634 | ||
f282ffb3 JM |
11635 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
11636 | ||
11637 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
11638 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
11639 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
11640 | ||
44c5edc0 JJ |
11641 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
11642 | ||
11643 | PR optimization/5747 | |
11644 | * loop.c (scan_loop): Update reg info if move_movables created new | |
11645 | pseudos. | |
11646 | ||
f98e43c0 DE |
11647 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
11648 | ||
11649 | * gcc.c (init_gcc_spec): Revert last change. | |
11650 | ||
e72247f4 DE |
11651 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
11652 | ||
11653 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
11654 | gpc_reg_operand constraint. | |
11655 | ||
11656 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
11657 | ||
11658 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
11659 | Simplify comparison of `low'. | |
11660 | (add_operand): Fix formatting. | |
11661 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
57deb3a1 | 11662 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
e72247f4 DE |
11663 | (rs6000_stack_info): Remove redundant test setting push_p. |
11664 | (output_toc): Fix formatting. | |
11665 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
11666 | cc_reg_not_cr0_operand constraint. | |
11667 | (booldi3, boolcdi3 splitters): Same. | |
11668 | ||
a5c30531 AH |
11669 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
11670 | ||
831c4e87 | 11671 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
a5c30531 | 11672 | |
43710f9f DE |
11673 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
11674 | ||
11675 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
11676 | gcc invoked with -shared-libgcc. | |
11677 | ||
3256b817 JJ |
11678 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
11679 | ||
11680 | PR c++/5748 | |
11681 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
11682 | decl if any of elements was TREE_USED. | |
11683 | ||
9e0625a3 AO |
11684 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
11685 | ||
11686 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
11687 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
11688 | (arith_4096_operand): Don't throw high bits away. | |
11689 | (const64_operand): Take sign extension of CONST_INTs into account. | |
11690 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
11691 | (GEN_HIGHINT64): Likewise. | |
11692 | (sparc_emit_set_const64_quick1): Likewise. | |
11693 | (const64_is_2insns): Likewise. | |
11694 | (print_operand): Use trunc_int_for_mode for sign extension. | |
11695 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
11696 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
11697 | chars. Assume CONST_INT is already properly sign-extended. | |
11698 | (movdi split): Sign-extend each SImode part. | |
11699 | (andsi3 split): Don't mask high bits off, so that result | |
11700 | remains properly sign-extend. | |
11701 | (iorsi3 split): Likewise. | |
11702 | (xorsi3 split): Likewise. | |
11703 | ||
54fec3d5 RS |
11704 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
11705 | ||
11706 | * fold-const.c (fold): Fix typo in comments. | |
11707 | ||
667ada9b DN |
11708 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
11709 | ||
11710 | * Makefile.in (langhooks.o): Update dependencies. | |
11711 | ||
29ac78d5 DN |
11712 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
11713 | ||
11714 | * langhooks.c: Include flags.h. | |
11715 | ||
6aa77e6c AH |
11716 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
11717 | ||
11718 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
11719 | ||
11720 | * c-common.c (c_common_post_options): Set inline trees by | |
11721 | default. | |
11722 | ||
11723 | * doc/extend.texi (Function Attributes): Document always_inline | |
11724 | attribute. | |
11725 | Update documentation about inlining when not optimizing. | |
11726 | ||
11727 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
11728 | ||
11729 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
11730 | unless DECL_ALWAYS_INLINE. | |
11731 | ||
11732 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
11733 | unless DECL_ALWAYS_INLINE. | |
11734 | (c_disregard_inline_limits): Disregard if always_inline set. | |
11735 | ||
11736 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
11737 | Disregard if always_inline set. | |
11738 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
11739 | unless DECL_ALWAYS_INLINE. | |
11740 | ||
11741 | * attribs.c (handle_always_inline_attribute): New. | |
11742 | (c_common_attribute_table): Add always_inline. | |
11743 | ||
11744 | * config/rs6000/altivec.h: Add prototypes for builtins | |
11745 | requiring the always_inline attribute. | |
11746 | ||
c410d49e EC |
11747 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
11748 | ||
11749 | * expmed.c (store_bit_field): Try to simplify the subreg | |
11750 | before generating a new one when when the mode size of | |
11751 | value is less than maxmode. | |
11752 | ||
e3c8ea67 RH |
11753 | 2002-02-21 Richard Henderson <rth@redhat.com> |
11754 | ||
11755 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
11756 | than gen_rtx_PLUS to form the sum. | |
11757 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
11758 | when force_operand returns a register. | |
11759 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
11760 | return a sum. Do not force addresses into registers. | |
11761 | (expand_expr): Likewise. | |
11762 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
11763 | to canonicalize arithmetic that didn't simpify. | |
11764 | (simplify_plus_minus): New argument force; update | |
11765 | all callers. Don't split CONST unless we can do something with it, | |
11766 | and wouldn't lose the constness of the operands. | |
11767 | ||
11768 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
11769 | that we generated earlier. | |
11770 | ||
c1a046e5 TT |
11771 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
11772 | ||
11773 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
11774 | (output_line_info): Use constant `1', with a long explanatory | |
11775 | comment. | |
11776 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
11777 | ||
31fbaad4 R |
11778 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
11779 | ||
11780 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
11781 | delete it. | |
11782 | ||
a7f52356 R |
11783 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
11784 | ||
11785 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
11786 | If input is constant, do shifts at compile time. | |
11787 | ||
924fcc4e JM |
11788 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
11789 | ||
11790 | * doc/extend.texi: Fix some more overfull hboxes. | |
11791 | ||
e5a20888 JJ |
11792 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
11793 | ||
11794 | PR optimization/4994 | |
11795 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
11796 | register moves. | |
11797 | ||
11798 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
22273300 JJ |
11799 | |
11800 | PR c++/4574 | |
11801 | * expr.h (expand_and): Add mode argument. | |
11802 | * expmed.c (expand_and): Add mode argument. | |
11803 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
11804 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
11805 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
11806 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
11807 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
11808 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
11809 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
11810 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
11811 | gen_rtx (CONST_INT, VOIDmode, x). | |
11812 | ||
7133e992 JJ |
11813 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
11814 | ||
11815 | PR c/4697: | |
11816 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
11817 | ||
e2ec05a6 TG |
11818 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
11819 | ||
11820 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
831c4e87 | 11821 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
e2ec05a6 | 11822 | |
9dd791c8 AO |
11823 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
11824 | ||
11825 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
11826 | SUBREG or ZERO_EXTEND. | |
11827 | ||
7ab56274 R |
11828 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
11829 | ||
11830 | * sh.h (current_function_anonymous_args): Remove. | |
11831 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
11832 | of current_function_varargs and current_function_stdarg is set. | |
11833 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
11834 | current_function_stdarg / TARGET_SH5 instead of | |
11835 | current_function_anonymous_args. | |
11836 | ||
11837 | * sh64.h (TARGET_VERSION): Define. | |
11838 | ||
b1765bde DE |
11839 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
11840 | ||
11841 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
11842 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
11843 | ||
11844 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
11845 | ||
11846 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
11847 | bits of SImode const_int. | |
11848 | (includes_rshift_p): Likewise. | |
11849 | (print_operand): Call mask_operand and mask64_operand with correct | |
c410d49e | 11850 | mode. |
b1765bde DE |
11851 | (rs6000_output_function_epilogue): Pad traceback table to word. |
11852 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
11853 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
11854 | mask64_operand with correct mode. | |
b1765bde DE |
11855 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
11856 | ||
149d6f9e JJ |
11857 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
11858 | ||
11859 | PR debug/4461 | |
11860 | * varasm.c (get_pool_constant_mark): New. | |
11861 | * rtl.h (get_pool_constant_mark): Add prototype. | |
11862 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
11863 | be represented if it has not been output. | |
11864 | ||
4161da12 AO |
11865 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
11866 | ||
11867 | * combine.c (do_SUBST): Sanity check substitutions of | |
11868 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
11869 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
11870 | CONST_INT into its operand. | |
11871 | (known_cond): Likewise, for ZERO_EXTEND. | |
11872 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
11873 | allow for simplification of wide modes. Reject CONST_INTs in | |
11874 | ZERO_EXTEND when their actual mode is not given. | |
11875 | ||
3704ef74 AO |
11876 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
11877 | ||
11878 | * c-decl.c (pushdecl): If no global declaration is found for an | |
11879 | extern declaration in block scope, try a limbo one. | |
11880 | ||
7552da58 JJ |
11881 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
11882 | ||
11883 | PR c++/4401 | |
11884 | * c-common.c (pointer_int_sum): Moved from... | |
11885 | * c-typeck.c (pointer_int_sum): ...here. | |
11886 | * c-common.h (pointer_int_sum): Add prototype. | |
11887 | ||
00fae85d JJ |
11888 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
11889 | ||
11890 | PR c++/5713 | |
11891 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
11892 | redeclaration. | |
11893 | ||
4636c87e JJ |
11894 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
11895 | Jakub Jelinek <jakub@redhat.com> | |
11896 | ||
11897 | PR c/4389 | |
11898 | * tree.c (host_integerp): Ensure that the constant integer is | |
11899 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
11900 | when pos is zero or non-zero respectively. Clarify comment. | |
11901 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
11902 | usage; the pos argument should be zero when assigning to a | |
11903 | signed HOST_WIDE_INT. | |
11904 | ||
59bef189 RH |
11905 | 2002-02-20 Richard Henderson <rth@redhat.com> |
11906 | ||
11907 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
11908 | of the operand, rather than assuming TImode. | |
11909 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
11910 | using nonimmediate_operand for both operands. | |
11911 | (ix86_expand_timode_binop_builtin): Likewise. | |
11912 | (ix86_expand_store_builtin): Validate operand 1. | |
11913 | (ix86_expand_unop1_builtin): Likewise. | |
11914 | ||
9338ffe6 | 11915 | 2002-02-20 Philip Blundell <philb@gnu.org> |
c410d49e | 11916 | |
9338ffe6 PB |
11917 | PR 5705 |
11918 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
11919 | ||
f322b423 RH |
11920 | 2002-02-20 Richard Henderson <rth@redhat.com> |
11921 | ||
11922 | PR c/5615 | |
11923 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
11924 | ||
d94084f7 TT |
11925 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
11926 | ||
11927 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
11928 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
11929 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
11930 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
11931 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
11932 | unconditionally. | |
11933 | ||
37fa124a AM |
11934 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
11935 | ||
11936 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
11937 | for (const_int 0) in X not just INTVAL. | |
11938 | ||
6e5bb5ad JM |
11939 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
11940 | ||
11941 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
11942 | ||
420e7dfa DN |
11943 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
11944 | ||
11945 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
11946 | operations if the field does not start at a mode boundary. | |
11947 | ||
1b7a2af6 JS |
11948 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
11949 | ||
11950 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
11951 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
11952 | Also done for -Acpu and -Amachine. | |
11953 | ||
56cd5b95 NB |
11954 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
11955 | ||
11956 | * cppinit.c (init_dependency_output): Take deps output file | |
11957 | from -o if none given with -MF. Suppress normal output. | |
c410d49e | 11958 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
56cd5b95 NB |
11959 | * doc/cpp.texi, doc/invoke.texi: Update. |
11960 | ||
042cdf71 ZW |
11961 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
11962 | ||
11963 | * toplev.c (output_quoted_string): Write unprintable | |
11964 | characters with octal escapes. | |
11965 | ||
c1f11548 DE |
11966 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
11967 | ||
11968 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
11969 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
11970 | ||
11971 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
c410d49e | 11972 | |
c1f11548 DE |
11973 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
11974 | MODE_MASK. | |
11975 | (constant_pool_expr_1): Fix formatting. | |
11976 | (rs6000_legitimize_reload_address): Likewise. | |
11977 | ||
c964d90e RK |
11978 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11979 | ||
11980 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
11981 | now that we have one. | |
11982 | ||
ae34ac46 ZW |
11983 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
11984 | ||
11985 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
11986 | end of first block of bitfields (which was only seven bits); | |
11987 | rename dummy to unused_1; remove comment which is no longer true. | |
11988 | ||
293c28ee GS |
11989 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
11990 | ||
11991 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
11992 | ||
7b8781c8 PB |
11993 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
11994 | ||
0cb6c58d | 11995 | PR 5399 |
7b8781c8 PB |
11996 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
11997 | if generating PIC. | |
11998 | ||
11999 | PR 5054 | |
12000 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
12001 | arm_is_longcall_p rather than inspecting call-type cookie | |
12002 | directly. | |
12003 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
12004 | ||
5c464583 GS |
12005 | 2002-02-19 Graham Stott <grahams@redhat.com> |
12006 | ||
12007 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
12008 | ||
71c061e6 DE |
12009 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
12010 | ||
12011 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
12012 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
6d1def5c | 12013 | (FP_SAVE_INLINE): Delete. |
71c061e6 DE |
12014 | |
12015 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
12016 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
12017 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
12018 | * config/rs6000/crtsavres.asm: New file. | |
12019 | ||
3a7731fd PB |
12020 | 2002-02-19 Philip Blundell <philb@gnu.org> |
12021 | ||
12022 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
12023 | functions. | |
12024 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
12025 | (output_return_instruction): Allow interrupt functions to return with | |
12026 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
12027 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
12028 | interrupt function. | |
12029 | ||
14f583b8 PB |
12030 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
12031 | ||
12032 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
12033 | decl, not just FUNCTION_DECL. | |
12034 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
12035 | (arm_assemble_integer): Likewise. | |
12036 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
12037 | marked local. | |
c410d49e | 12038 | |
4cb7482c MG |
12039 | 2002-02-19 matthew green <mrg@eterna.com.au> |
12040 | ||
12041 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
12042 | (sparc64-*-netbsd*): New target. | |
12043 | * config/sparc/netbsd-elf.h: New file. | |
12044 | * config/sparc/t-netbsd64: New file. | |
12045 | ||
2df3a718 GS |
12046 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
12047 | ||
12048 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
12049 | ||
77f6c1eb RS |
12050 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
12051 | ||
12052 | * doc/invoke.texi: explicitly list the style guidelines that | |
12053 | -Weffc++ checks for. | |
12054 | ||
fd973d56 JH |
12055 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
12056 | ||
12057 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
12058 | ||
30518e45 NB |
12059 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
12060 | ||
12061 | PR other/5718 | |
12062 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
12063 | only if not -E. If -E, pass -o through to the preprocessor. | |
12064 | ||
39ea5704 KH |
12065 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
12066 | ||
12067 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
12068 | register number with an appropriate macro. | |
12069 | ||
7355dba7 BM |
12070 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
12071 | ||
12072 | * doc/rtl.texi (Constants): Close @code tag. | |
12073 | ||
91c8aa9e AH |
12074 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
12075 | ||
12076 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
12077 | ("mmx_uavgv4hi3"): Same. | |
12078 | ("pmulhrwv4hi3"): Same. | |
12079 | ||
12080 | * tree-inline.c (walk_tree): Handle vectors. | |
12081 | ||
12082 | * c-common.c (constant_expression_warning): Handle vectors. | |
12083 | (overflow_warning): Same. | |
12084 | ||
12085 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
12086 | ||
12087 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
12088 | (rtx_varies_p): Same. | |
12089 | (count_occurrences): Same. | |
12090 | (regs_set_between_p): Same. | |
12091 | (modified_between_p): Same. | |
12092 | (modified_in_p): Same. | |
12093 | (volatile_insn_p): Same. | |
12094 | (volatile_refs_p): Same. | |
12095 | (side_effects_p): Same. | |
12096 | (may_trap_p): Same. | |
12097 | (inequality_comparisons_p): Same. | |
12098 | (replace_regs): Same. | |
12099 | (computed_jump_p_1): Same. | |
12100 | ||
12101 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
12102 | argument. | |
12103 | (inner_mode_array): New. | |
12104 | (copy_rtx): Handle vectors. | |
12105 | (copy_most_rtx): Same. | |
12106 | (rtx_equal_p): Same. | |
12107 | (get_mode_alignment): Adjust for vectors. | |
12108 | ||
12109 | * resource.c (mark_referenced_resources): Handle vectors. | |
12110 | (mark_set_resources): Same. | |
12111 | ||
12112 | * reload1.c (eliminate_regs): Handle vectors. | |
12113 | (elimination_effects): Same. | |
12114 | (scan_paradoxical_subregs): Same. | |
12115 | ||
12116 | * reload.c (subst_reg_equivs): Handle vectors. | |
12117 | ||
12118 | * regrename.c (scan_rtx): Handle vectors. | |
12119 | ||
12120 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
12121 | ||
12122 | * recog.c (find_single_use_1): Handle vectors. | |
12123 | ||
12124 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
12125 | (contains_replace_regs): Same. | |
12126 | (memref_referenced_p): Same. | |
12127 | ||
12128 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
12129 | (subst_constants): Same. | |
12130 | ||
12131 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
12132 | (encode_units_mask): Same. | |
12133 | (clear_struct_flag): Same. | |
12134 | (count_sub_rtxs): Same. | |
12135 | ||
12136 | * gcse.c (want_to_gcse_p): Handle vectors. | |
12137 | (oprs_unchanged_p): Same. | |
12138 | (hash_expr_1): Same. | |
12139 | (oprs_not_set_p): Same. | |
12140 | (expr_killed_p): Same. | |
12141 | (compute_transp): Same. | |
12142 | (store_ops_ok): Same. | |
12143 | ||
12144 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
12145 | of vectors. | |
12146 | (fixup_var_refs_1): Same. | |
12147 | (instantiate_virtual_regs_1): Same. | |
12148 | ||
12149 | * fold-const.c (operand_equal_p): Handle vectors. | |
12150 | (fold): Same. | |
12151 | (rtl_expr_nonnegative_p): Same. | |
12152 | ||
12153 | * flow.c (mark_used_regs): Handle vectors. | |
12154 | ||
12155 | * df.c (df_uses_record): Handle vectors. | |
12156 | ||
12157 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
12158 | (cselib_mem_conflict_p): Same. | |
12159 | (hash_rtx): Same. | |
12160 | ||
12161 | * cse.c (canon_reg): Handle vectors. | |
12162 | (fold_rt): Same. | |
12163 | (cse_process_notes): Same. | |
12164 | (count_reg_usage): Same. | |
12165 | (canon_hash): Same. | |
12166 | ||
12167 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
12168 | ||
12169 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
12170 | ||
12171 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
12172 | (gen_rtx): Handle CONST_VECTOR. | |
12173 | (gen_const_vector_0): New. | |
12174 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
12175 | (reset_used_flags): Same. | |
12176 | (copy_insn_1): Same. | |
12177 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
12178 | ||
12179 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
12180 | ||
12181 | * doc/rtl.texi (Constants): Document const_vector. | |
12182 | (CONST0_RTX): Update for vectors. | |
12183 | (RTL sharing): Same. | |
12184 | ||
12185 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
12186 | ||
12187 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
12188 | (struct tree_vector): New. | |
12189 | (union tree_node): Add vector node. | |
12190 | (build_vector): Add prototype. | |
12191 | ||
12192 | * tree.def (VECTOR_CST): New. | |
12193 | ||
12194 | * tree.c (build_vector): New. | |
12195 | ||
12196 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
12197 | ||
12198 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
12199 | (CONST_VECTOR_ELT): New. | |
12200 | (CONST_VECTOR_NUNITS): New. | |
12201 | ||
12202 | * machmode.h (GET_MODE_INNER): New. | |
12203 | (DEF_MACHMODE): Accept 8th arg. | |
12204 | ||
12205 | * machmode.def: Add 8th argument for vector inner mode. | |
12206 | Add inner vector modes for vectors. | |
12207 | ||
12208 | * rtl.def (VEC_CONST): Remove. | |
12209 | (CONST_VECTOR): New. | |
12210 | ||
12211 | * expr.c (clear_storage): Allow vectors. | |
12212 | (is_zeros_p): Handle VECTOR_CST. | |
12213 | ||
12214 | * varasm.c (output_constant_pool): Handle vectors. | |
12215 | (rtx_const): Add veclo and vechi fields. | |
12216 | (kind): Add RTX_VECTOR. | |
12217 | (decode_rtx_const): Add case for vector. | |
12218 | ||
12219 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
c410d49e | 12220 | |
91c8aa9e AH |
12221 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
12222 | constants. Force easy vector constants into memory. | |
12223 | (easy_vector_constant): New. | |
12224 | (emit_easy_vector_constant): New. | |
12225 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
12226 | darwin. | |
12227 | ||
12228 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
12229 | instruction does. | |
12230 | ("altivec_lvxl"): Same. | |
12231 | (altivec_lvebx): Same. | |
12232 | (altivec_lvehx): Same. | |
12233 | (altivec_lvewx): Same. | |
12234 | ("*movv4si_const0"): New. | |
12235 | ("*movv4sf_const0"): New. | |
12236 | ("*movv8hi_const0"): New. | |
12237 | ("*movv16qi_const0"): New. | |
12238 | ||
d4d6d0ce KH |
12239 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
12240 | ||
12241 | * config/h8300/h8300.c (notice_update_cc): Use | |
12242 | cc_status.value2. | |
12243 | ||
4915d3aa KH |
12244 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
12245 | ||
12246 | * config/h8300/h8300.md (divmod patterns): Change the | |
12247 | constraints for operands[1] to register_operand. | |
12248 | ||
82be00ee KH |
12249 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
12250 | ||
12251 | * config/h8300/h8300-protos.h: Remove the prototype for | |
12252 | p_operand. | |
12253 | * config/h8300/h8300.c (p_operand): Remove. | |
12254 | * config/h8300/h8300.md: Replace p_operand with | |
12255 | const_int_operand. | |
12256 | ||
1768c26f PB |
12257 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
12258 | ||
12259 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
12260 | comment. | |
12261 | (output_return_instruction): Allow use of LDR to unstack | |
12262 | return addresss even for interrupt handlers or when | |
12263 | interworking. If compiling for ARMv5, use interworking-safe | |
12264 | return instructions by default. Remove duplicated code and | |
12265 | lengthy "strcat" sequences. | |
12266 | ||
ccd84f51 FS |
12267 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
12268 | ||
12269 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
12270 | (LINK_EH_SPEC): Define. | |
12271 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
12272 | ||
2c153108 UW |
12273 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
12274 | ||
12275 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
12276 | frame_related flag for call-clobbered registers. | |
12277 | ||
e95d6b23 JH |
12278 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
12279 | ||
12280 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
12281 | (construct_container): Fix handling of SSE operands. | |
12282 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
12283 | (mmx_maskmovq_rex): New pattern. | |
12284 | ||
c43a12b5 JH |
12285 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
12286 | ||
12287 | * regrename.c (kill_set_value): Handle subregs properly. | |
12288 | ||
aeb85a15 DB |
12289 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
12290 | ||
12291 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
c410d49e | 12292 | from objc_class_name. |
aeb85a15 | 12293 | |
a615ca3e RH |
12294 | 2002-02-17 Richard Henderson <rth@redhat.com> |
12295 | ||
12296 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
12297 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
12298 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
12299 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
12300 | * config/alpha/alpha-protos.h: Update. | |
12301 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
12302 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
12303 | ||
ddb28441 RM |
12304 | 2002-02-17 Roland McGrath <roland@frob.com> |
12305 | ||
12306 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
12307 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
12308 | * config/rs6000/gnu.h: New file. | |
12309 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
12310 | Grok "gnu" in rs6000_abi_name. | |
12311 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
12312 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
12313 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
12314 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
12315 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
12316 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
12317 | ||
f6f8ada3 JJ |
12318 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
12319 | ||
12320 | PR c/3444: | |
12321 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
12322 | shortening. | |
12323 | ||
e16b32fc PT |
12324 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
12325 | ||
12326 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
12327 | ENDFILE_SPEC before (re)defining them. | |
12328 | ||
f9477efd KH |
12329 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
12330 | ||
12331 | * config/h8300/h8300.c: Fix formatting. | |
12332 | * config/h8300/h8300.h: Likewise. | |
12333 | ||
404ae494 PT |
12334 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
12335 | ||
12336 | * doc/tm.texi: Explain why empty strings should not be | |
12337 | marked for translation. | |
12338 | ||
a52453cc PT |
12339 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
12340 | ||
12341 | * final.c (output_operand_lossage): Changed to accept | |
12342 | printf style arguments. Change calls where necessary. | |
12343 | * output.h (output_operand_lossage): Change declaration | |
12344 | accordingly. Update copyright. | |
12345 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
12346 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
12347 | Update copyright date where necessary. | |
c410d49e | 12348 | |
a52453cc PT |
12349 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
12350 | sprintf. | |
12351 | ||
12352 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
12353 | Rename parameter so that exgettext recognizes it as | |
12354 | translatable message. | |
12355 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
12356 | ||
1c11abc4 KH |
12357 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
12358 | ||
12359 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
12360 | hard coded register number with an appropriate macro. | |
12361 | (HARD_REGNO_MODE_OK): Likewise. | |
12362 | (ARG_POINTER_REGNUM): Likewise. | |
12363 | (STATIC_CHAIN_REGNUM): Likewise. | |
12364 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
12365 | * config/h8300/h8300.md (define_constants): Define more | |
12366 | register numbers. | |
12367 | ||
a5d17ff3 PT |
12368 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
12369 | ||
12370 | * config/i386/i386.h: Don't mark empty strings for translation. | |
12371 | ||
1a7289c4 L |
12372 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
12373 | ||
12374 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
12375 | ||
afb58288 ZW |
12376 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
12377 | ||
12378 | * cppinit.c (merge_include_chains): Check for brack being | |
12379 | NULL before attempting to merge it with qtail. | |
12380 | ||
d2af4dbd AC |
12381 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
12382 | ||
12383 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
12384 | DBX_DEBUG. | |
12385 | ||
2e1ed1e3 JDA |
12386 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12387 | ||
12388 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
12389 | ||
604c75b2 JDA |
12390 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12391 | ||
12392 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
12393 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
12394 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
12395 | ||
1a42b072 RK |
12396 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12397 | ||
7303604f | 12398 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
1a42b072 RK |
12399 | now only if !TARGET_FIX. |
12400 | (*movsi_nt_vms_fix): New pattern. | |
12401 | ||
c2ea1ac6 DR |
12402 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
12403 | ||
12404 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
12405 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
12406 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
12407 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
12408 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
12409 | (unicosmk_gen_dsib): Likewise. | |
12410 | ||
725e58b1 RK |
12411 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12412 | ||
12413 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
12414 | ||
13e58269 UW |
12415 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
12416 | ||
c410d49e | 12417 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
13e58269 UW |
12418 | check_and_change_labels, s390_final_chunkify): Delete. |
12419 | (s390_split_branches, s390_chunkify_pool): New functions. | |
12420 | (s390_function_prologue): Call them. | |
c410d49e | 12421 | |
13e58269 UW |
12422 | * config/s390/s390.h (S390_REL_MAX): Delete. |
12423 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
12424 | ||
c410d49e | 12425 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
13e58269 UW |
12426 | attribute calculation. |
12427 | ||
12428 | ||
34d1b01d DE |
12429 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
12430 | ||
12431 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
12432 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
12433 | ||
be5cc51a JDA |
12434 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12435 | ||
12436 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
12437 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
12438 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
12439 | ||
ee96ce90 RS |
12440 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
12441 | ||
12442 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
12443 | ||
05fa709d RS |
12444 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
12445 | ||
12446 | * reload.c (find_dummy_reload): Check that an output register | |
12447 | is valid for its mode. | |
12448 | ||
4606272b AO |
12449 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
12450 | ||
9a360704 AO |
12451 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
12452 | to simplify it. | |
12453 | ||
4606272b AO |
12454 | * function.c (assign_parms): Demote promoted argument passed by |
12455 | transparent reference. | |
12456 | ||
e62d89a1 JS |
12457 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
12458 | ||
12459 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
12460 | -Acpu() and -Amachine() to eliminate warnings. | |
12461 | ||
6c4cf695 UW |
12462 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
12463 | ||
12464 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
12465 | ||
037f11ef KH |
12466 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
12467 | ||
12468 | * config/h8300/h8300-protos.h: Update the prototype for | |
12469 | const_costs. | |
12470 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
12471 | more expensive operation. | |
12472 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
12473 | reference to const_costs. | |
12474 | ||
fdc76b09 HPN |
12475 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
12476 | ||
12477 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
12478 | ||
d76e6800 JJ |
12479 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
12480 | ||
12481 | PR c/5503: | |
12482 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
12483 | use arguments from newtype. | |
12484 | ||
5ae590d7 EC |
12485 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
12486 | ||
12487 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
12488 | on the same command line. Fix error message in cpu processing. | |
12489 | Remove architecture and ISA checks. | |
12490 | ||
b8513691 AH |
12491 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
12492 | ||
831c4e87 | 12493 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
b8513691 | 12494 | |
831c4e87 | 12495 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
b8513691 | 12496 | |
78c875e8 AH |
12497 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
12498 | ||
831c4e87 KC |
12499 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
12500 | alternatives. | |
12501 | ("*movv8hi_internal1"): Same. | |
12502 | ("*movv16qi_internal1"): Same. | |
12503 | ("*movv4sf_internal1"): Same. | |
78c875e8 | 12504 | |
831c4e87 KC |
12505 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
12506 | not push_reload for altivec modes. | |
78c875e8 | 12507 | |
d76e6800 | 12508 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
f22b4bc4 JS |
12509 | |
12510 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
12511 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
12512 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
12513 | many targets. | |
12514 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
12515 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
12516 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
12517 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
12518 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
12519 | config/m68k/rtemself.h: Ditto. | |
12520 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
12521 | config/mips/rtems64.h: Ditto. | |
12522 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
12523 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
12524 | Ditto. | |
12525 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
12526 | config/sparc/rtemself.h: Ditto. | |
12527 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
12528 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
12529 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
12530 | more like arm-elf. | |
12531 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
12532 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
12533 | target made more similar to i386-elf. | |
12534 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
12535 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
12536 | be similar to config/m68k/t-m68kelf. | |
12537 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
12538 | ||
8686336f JH |
12539 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
12540 | ||
12541 | * regmove.c (kill_value): Handle subregs. | |
12542 | ||
558740bf JH |
12543 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
12544 | ||
12545 | * i386.md (mul patterns): Allow memory operand to be first; | |
12546 | add expanders where needed; fix constraints. | |
12547 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
12548 | Allow memory operand to be the first. | |
12549 | ||
12550 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
12551 | operands. | |
12552 | ||
21117a17 JJ |
12553 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
12554 | ||
12555 | PR c/5681: | |
12556 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
12557 | GET_MODE (x). | |
12558 | ||
ec65b2e3 JJ |
12559 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
12560 | ||
12561 | PR optimization/5547: | |
12562 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
12563 | all valid IA-32 address modes involving non-scaled %ebx and | |
12564 | GOT/GOTOFF as displacement. | |
12565 | ||
ce50cae8 UW |
12566 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
12567 | ||
12568 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
12569 | after emitting ltorg insns. | |
12570 | ||
12571 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
12572 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
12573 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
12574 | *abssf2): Fix "op_type" attribute. | |
12575 | ||
09eb789b DR |
12576 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
12577 | ||
2dbe67bb DR |
12578 | * mkconfig.sh: Avoid using a subshell redirect. |
12579 | ($output.T): Change to $(output)T. | |
12580 | (ENABLE_NLS): Remove unneeded undef. | |
12581 | ||
ea5b9a1f DR |
12582 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
12583 | * config/alpha/x-vms (libsubdir): Define. | |
12584 | ||
3deb00ce DR |
12585 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
12586 | register frame procedures. Optimize retrieving context. | |
12587 | ||
09eb789b DR |
12588 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
12589 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
12590 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
12591 | ||
1abade85 RK |
12592 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12593 | ||
12594 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
12595 | Make same change as for find_base_value. | |
12596 | ||
c283e63f KH |
12597 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
12598 | ||
12599 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
12600 | of QImode and SImode. | |
12601 | ||
86039100 KH |
12602 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
12603 | ||
12604 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
12605 | length computation of movsi. | |
12606 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
12607 | ||
e1429da0 KH |
12608 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
12609 | ||
12610 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
12611 | operands[2] to register_operand. | |
12612 | ||
aebfea10 JH |
12613 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
12614 | ||
12615 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
12616 | ||
0ec4e2a8 AH |
12617 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
12618 | ||
831c4e87 KC |
12619 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
12620 | for altivec_lvx* and altivec_stvx*. | |
12621 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
12622 | ("*movv8hi_internal1"): Same. | |
12623 | ("*movv16qi_internal1"): Same. | |
12624 | ("*movv4sf_internal1"): Same. | |
0ec4e2a8 | 12625 | |
831c4e87 | 12626 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
0ec4e2a8 | 12627 | |
831c4e87 KC |
12628 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
12629 | altivec_register_operand. | |
0ec4e2a8 | 12630 | |
b007569d HPN |
12631 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
12632 | ||
12633 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
12634 | handle SYMBOL_REF. | |
12635 | ||
e6834654 SS |
12636 | 2002-02-13 Stan Shebs <shebs@apple.com> |
12637 | ||
831c4e87 KC |
12638 | * c-typeck.c (digest_init): Handle vectors. |
12639 | (really_start_incremental_init): Same. | |
12640 | (pop_init_level): Same. | |
12641 | (process_init_element): Same. | |
e6834654 | 12642 | |
831c4e87 | 12643 | * varasm.c (output_constant): Same. |
e6834654 | 12644 | |
831c4e87 KC |
12645 | * expr.c (clear_storage): Same. |
12646 | (store_constructor): Same. | |
e6834654 | 12647 | |
d9b3eb63 EC |
12648 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
12649 | ||
12650 | * explow.c (hard_function_value): Add comment explaining | |
12651 | signed/unsigned comparison. | |
12652 | ||
56d44285 JJ |
12653 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
12654 | ||
12655 | * jump.c (never_reached_warning): Add finish argument. | |
12656 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
12657 | real insn after end. | |
12658 | * rtl.h (never_reached_warning): Adjust prototype. | |
12659 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
12660 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
12661 | never_reached_warning. | |
12662 | ||
fc209487 GS |
12663 | 2002-02-12 Graham Stott <grahams@redhat.com> |
12664 | ||
12665 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
12666 | ||
1e41e866 KH |
12667 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
12668 | ||
12669 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
12670 | logical shifts on H8/300. | |
12671 | (shift_alg_si): Improve several shifts on H8/300. | |
12672 | (get_shift_alg): Likewise. | |
12673 | ||
a36a47ad GS |
12674 | 2002-02-12 Graham Stott <grahams@redhat.com> |
12675 | ||
12676 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
12677 | ||
0aacc8ed RK |
12678 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12679 | ||
12680 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
12681 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
12682 | ||
a02ac966 HPN |
12683 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
12684 | ||
12685 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
12686 | non-CONST_INT through default_assemble_integer. | |
12687 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
12688 | <case 8>: Abort for CONST_DOUBLE. | |
12689 | ||
d6e06ddc JDA |
12690 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12691 | ||
12692 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
12693 | is specified. | |
12694 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
12695 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
12696 | ||
515342a8 AH |
12697 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
12698 | ||
12699 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
12700 | ||
cddd8b72 AO |
12701 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
12702 | ||
66df7a98 AO |
12703 | * regrename.c (regrename_optimize): Don't accept a |
12704 | part-clobbered register if the replaced register is not part | |
12705 | clobbered. | |
12706 | ||
841404cd AO |
12707 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
12708 | take padding into account when computing the argument value. | |
12709 | ||
1d1ade42 AO |
12710 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
12711 | ||
cddd8b72 AO |
12712 | * combine.c (try_combine): Apply substitutions in |
12713 | CALL_INSN_FUNCTION_USAGE too. | |
12714 | ||
5c665b88 AH |
12715 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
12716 | ||
77f6c1eb RS |
12717 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
12718 | __builtin_altivec_abs*. | |
12719 | (bdesc_abs): New. | |
5c665b88 | 12720 | |
77f6c1eb RS |
12721 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
12722 | ALTIVEC_BUILTIN_ABS*. | |
5c665b88 | 12723 | |
77f6c1eb RS |
12724 | * config/rs6000/altivec.h: Use const char for builtins expecting |
12725 | literals. | |
12726 | (vec_abs): New versions for C and C++. | |
12727 | (vec_abss): Same. | |
5c665b88 | 12728 | |
3494f1b4 KH |
12729 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
12730 | ||
12731 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
12732 | using Pmode. | |
12733 | ||
72431aef KH |
12734 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
12735 | ||
12736 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
12737 | constant definition from h8300.md. | |
12738 | (FRAME_POINTER_REGNUM): Likewise. | |
12739 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
12740 | ||
87e4ee91 KH |
12741 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
12742 | ||
12743 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
12744 | ||
9c188705 KH |
12745 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
12746 | ||
12747 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
12748 | * config/h8300/h8300.c (byte_reg): Make it static. | |
12749 | ||
fba78abb RH |
12750 | 2002-02-10 Richard Henderson <rth@redhat.com> |
12751 | ||
12752 | PR c/5623 | |
12753 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
12754 | ||
65739e62 RH |
12755 | 2002-02-10 Richard Henderson <rth@redhat.com> |
12756 | ||
12757 | PR c++/5624 | |
12758 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
12759 | does not exist. | |
12760 | ||
247cb9df HPN |
12761 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
12762 | ||
12763 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
12764 | ||
232bd029 KH |
12765 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
12766 | ||
65739e62 | 12767 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
232bd029 KH |
12768 | (pushhi1): Likewise. |
12769 | ||
276ef573 JDA |
12770 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12771 | ||
12772 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
12773 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
12774 | ||
617e9ee5 DB |
12775 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
12776 | ||
12777 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
12778 | remove MASK_VIS. | |
12779 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
12780 | ||
6dfa4005 KH |
12781 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
12782 | ||
12783 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
12784 | a half of an SImode register on H8/300. | |
12785 | ||
749e7b80 JH |
12786 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
12787 | ||
12788 | * i386.md (movdi_2): Add missing '!'. | |
12789 | ||
ca77d87c KH |
12790 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
12791 | ||
12792 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
12793 | definitions. | |
12794 | ||
16c96304 KH |
12795 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
12796 | ||
12797 | * config/h8300/h8300.md (length): Correct the distance valid | |
12798 | for the short branch. | |
12799 | ||
a364bc90 KH |
12800 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
12801 | ||
12802 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
12803 | ||
e4ec2cac AO |
12804 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
12805 | ||
a138247b AO |
12806 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
12807 | registers in SImode. | |
12808 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
12809 | part-clobbered. | |
12810 | ||
2b1fd83f AO |
12811 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
12812 | patch. | |
d9b3eb63 | 12813 | |
fa5322fa AO |
12814 | Contribute sh64-elf. |
12815 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
12816 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
12817 | (sh_cannot_modify_jumps_p): New function. | |
12818 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
12819 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
12820 | (sh_ms_bitfield_layout_p): New function. | |
12821 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
12822 | Zack Weinberg <zack@codesourcery.com> | |
12823 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
12824 | expand_simple_binop instead of expand_binop. | |
12825 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
12826 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
12827 | use of .quad and .uaquad. | |
12828 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
12829 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
12830 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
12831 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
12832 | movdi_const_16bit): Make sure all CONSTs have modes. | |
12833 | (sym2PIC): Ditto, but by adjusting all callers. | |
12834 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
12835 | if the prologue calls the SHmedia argument decoder or register | |
12836 | saver. | |
12837 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
12838 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
12839 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
12840 | (sh_expand_epilogue): Don't emit USE of return target register. | |
12841 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
12842 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
12843 | PIC register. | |
12844 | (sh_expand_prologue): Remove explicit USE of return register. | |
12845 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
12846 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
12847 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
12848 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
12849 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
12850 | EXTRA_CONSTRAINT_T. | |
12851 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
12852 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
12853 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
12854 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
12855 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
12856 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
12857 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
12858 | alternatives supporting TARGET_REGS. | |
12859 | (UNSPEC_GOTPLT): New constant. | |
12860 | (movdi split): Move incrementing of LABEL_NUSES... | |
12861 | (movdi_const, movdi_const_32bit): Here. Use | |
12862 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
12863 | (movdi_const_16bit): New. | |
12864 | (call, call_value) [flag_pic]: Use GOTPLT. | |
12865 | (call_pop, call_value_pop): New expands. | |
12866 | (call_pop_compact, call_pop_rettramp): New insns. | |
12867 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
12868 | (sibcall) [flag_pic]: Use GOT. | |
12869 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
12870 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
12871 | (*pt, *ptb, ptrel): New insns. | |
12872 | (sym2GOT): Handle DImode GOT. | |
12873 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
12874 | (sym2PIC): New expand. | |
12875 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
12876 | (shcompact_return_tramp_i): Use return register explicitly. | |
12877 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
12878 | disable flag_reorder_blocks. | |
12879 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
12880 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
12881 | clobbers, for clarity. | |
12882 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
12883 | restoring of r0 in macl as MAYBE_DEAD. | |
12884 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
12885 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
12886 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
12887 | alter_subreg all over. | |
12888 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
12889 | reload, instead of emitting instructions that would require | |
12890 | reloading. | |
12891 | (casesi_load_media): Add missing modes. | |
12892 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
12893 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
12894 | as used if the argument decoder is called. | |
12895 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
12896 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
12897 | Pmode, then extend it to DImode if necessary. | |
12898 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
12899 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
12900 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
12901 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
12902 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
12903 | Adjust whitespace in assembly output templates. | |
12904 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
12905 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
12906 | mode of if_then_else. | |
12907 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
12908 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
12909 | sh.h. | |
12910 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
12911 | Joern Rennecke <amylaar@redhat.com> | |
12912 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
12913 | (SUBTARGET_CPP_PTR_SPEC): New. | |
12914 | (SUBTARGET_CPP_SPEC): Remove. | |
12915 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
12916 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
12917 | Fix typo in previous checkin. | |
12918 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
12919 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
12920 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
12921 | Alexandre Oliva <aoliva@redhat.com> | |
12922 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
12923 | what single FP register can hold for SHmedia target. | |
12924 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
12925 | Alexandre Oliva <aoliva@redhat.com> | |
12926 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
12927 | Do not split into SUBREG. | |
12928 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
12929 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
12930 | and added new functions as specified in SH5 ABI r9. | |
12931 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
12932 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
12933 | 8-byte boundary. | |
12934 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
12935 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
12936 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
12937 | and consttable_window_ends. | |
12938 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
12939 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
12940 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
12941 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
12942 | vector and matrix registers. | |
12943 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
12944 | vector modes into account. | |
12945 | * config/sh/sh.md (movv2sf): Split move between registers into | |
12946 | movdf. | |
12947 | (movv4sf, movv16sf): Introduce insns that get split only after | |
12948 | reload. | |
12949 | * config/sh/shmedia.h: Fix Copyright dates. | |
12950 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
12951 | declarations into conditionals that uses them. | |
12952 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
12953 | loop boundary. | |
12954 | * config/sh/sshmedia.h: Fix Copyright dates. | |
12955 | (sh_media_PUTCFG): Fix constraints. | |
12956 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
12957 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
12958 | ptrmemfunc_vbit_in_delta for SH5. | |
12959 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
12960 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
12961 | * invoke.texi: Likewise. | |
12962 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
12963 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
12964 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
12965 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
12966 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
12967 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
12968 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
12969 | compact function with nonlocal labels. | |
12970 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
12971 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
12972 | (initial_elimination_offset): Account for their stack space. | |
12973 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
12974 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
12975 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
12976 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
12977 | least one of the operands to be a register. | |
12978 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
12979 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
12980 | prepare_move_operands() before emitting SHmedia insns. | |
12981 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
12982 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
12983 | Don't save nor initialize r12. Don't mis-align the stack. | |
12984 | Pad the code with a nop. | |
12985 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
12986 | stack. | |
12987 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
12988 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
12989 | [__SHMEDIA__]: Implement. | |
12990 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
12991 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
12992 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
12993 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
12994 | Set move, load and store type attributes. | |
12995 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
12996 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
12997 | profiling. | |
12998 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
12999 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
13000 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
13001 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
13002 | branch-target register. | |
13003 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
13004 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
13005 | branch-target register. | |
13006 | (return_media): If r18 wasn't copied in the prologue, copy it | |
13007 | here. | |
13008 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
13009 | Clear class FP0_REGS. | |
13010 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
13011 | from elf.h. | |
13012 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
13013 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
13014 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
13015 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
13016 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
13017 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
13018 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
13019 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
13020 | return value correctly for call_cookie. | |
13021 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
13022 | * config/sh/crt1.asm (start): Modified so as to call | |
13023 | ___setup_argv_and_call_main. | |
13024 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
13025 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
13026 | SHmedia mode. | |
13027 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
13028 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
13029 | (STRIP_NAME_ENCODING): Use it. | |
13030 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
13031 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
13032 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
13033 | prepare_scc_operands(). | |
13034 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
13035 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
13036 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
13037 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
13038 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
13039 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
13040 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
13041 | used in shcompact_incoming_args. | |
13042 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
13043 | change. | |
13044 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
13045 | mode. | |
13046 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
13047 | Adjust accordingly. | |
13048 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
13049 | Simplify. Adjust. Add sanity check. | |
13050 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
13051 | FPU_SINGLE_BIT. | |
13052 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
13053 | TARGET_SHCOMPACT. | |
13054 | (udivsi3, divsi3): Use them. | |
13055 | (force_mode_for_call): New insn. | |
13056 | (call, call_value, sibcall_value): Emit it before SHcompact | |
13057 | calls. | |
13058 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
13059 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
13060 | call cookie is non-NULL before taking its value. | |
13061 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
13062 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
13063 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
13064 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
13065 | block. | |
13066 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
13067 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
13068 | temporary for stack adjusts. Use MACL and MACH to pass | |
13069 | arguments to shcompact_incoming_args. | |
13070 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
13071 | clobber r1. | |
13072 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
13073 | (nested_trampoline): Load static chain address into r1. | |
13074 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
13075 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
13076 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
13077 | fp_arith_reg_operand(). | |
13078 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
13079 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
13080 | and use signed compares for them. | |
13081 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
13082 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
13083 | ones properly aligned. | |
13084 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
13085 | constants. | |
13086 | (machine_dependent_reorg): Require a label for the second 4-byte | |
13087 | constant after an 8-byte one. | |
13088 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
13089 | change. | |
13090 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
13091 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
13092 | last_float when switching float modes. | |
13093 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
13094 | auto-increment for general-purpose registers. | |
13095 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
13096 | result. | |
13097 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
13098 | for stack adjust. | |
13099 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
13100 | registers for varargs. | |
13101 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
13102 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
13103 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
13104 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
13105 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
13106 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
13107 | call_cookie accordingly. | |
13108 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
13109 | (SHCOMPACT_BYREF): Likewise. | |
13110 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
13111 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
13112 | (sh_builtin_saveregs): Likewise. | |
13113 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
13114 | shcompact_incoming_args): Use new shift values. Support | |
13115 | sequences of consecutive and non-consecutive pushes/pops. | |
13116 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
13117 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
13118 | * config/sh/sh.h (TEXT_SECTION): Define. | |
13119 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
13120 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
13121 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
13122 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
13123 | return values on FPU-enabled SHmedia. | |
13124 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
13125 | FPU-enabled SHmedia. | |
13126 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
13127 | value is returned in a non-FP reg and is not returned by | |
13128 | reference. | |
13129 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
13130 | jump_ind. | |
13131 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
13132 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
13133 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
13134 | quad-aligned to be passed by callee-copy reference. | |
13135 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
13136 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
13137 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
13138 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
13139 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
13140 | copying low-numbered FP regs to r7 and r8. | |
13141 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
13142 | FP regs to general-purpose regs only if the copy was passed on the | |
13143 | stack. | |
13144 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
13145 | copying FP reg to r9. | |
13146 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
13147 | copy FP regs to general-purpose regs only in outgoing calls. | |
13148 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
1e4e95d6 | 13149 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
fa5322fa AO |
13150 | HOST_WIDE_INT. |
13151 | * config/sh/sh.h (struct sh_args): Document all fields. | |
13152 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
13153 | passed partially on the stack should not consider making | |
13154 | sibcalls. | |
13155 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
13156 | stack_regs only for incoming calls. When passing FP args, | |
13157 | make sure there are FP regs available before modifying | |
13158 | call_cookie. | |
13159 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
13160 | registers by reference. | |
13161 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
13162 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
13163 | attempt to generate sibcalls if the caller got any arguments | |
13164 | by reference. | |
13165 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
13166 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
13167 | to 8-byte boundaries. | |
13168 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
13169 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
13170 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
13171 | stored in the stack. | |
13172 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
13173 | for the offsets to have the ISA bit set. | |
13174 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
13175 | invocation. Use beq instead of bgt to mark end of sequence of | |
13176 | loads. | |
13177 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
13178 | bgt to mark end of sequence of stores. | |
13179 | * config/sh/sh.c (arith_operand): Don't check whether | |
13180 | CONST_OK_FOR_J for now. | |
13181 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
13182 | instead of long for conversion. | |
13183 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
13184 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
13185 | before passing it to fprintf. | |
13186 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
13187 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
13188 | Call set_fpscr before reading/writing SR. | |
13189 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
13190 | Call set_fpscr. | |
13191 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
13192 | SHmedia code. | |
13193 | (FMOVD_WORKS): Define on SH5 with FPU. | |
13194 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
13195 | setting. | |
13196 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
13197 | _fpscr_values. | |
13198 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
13199 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
13200 | address. | |
13201 | (ia_main_table): Ditto. | |
13202 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
13203 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
13204 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
13205 | the definitions from sh.h. | |
13206 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
13207 | TARGET_SH5. | |
13208 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
13209 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
13210 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
13211 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
13212 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
13213 | Increment LABEL_NUSES. | |
d9b3eb63 | 13214 | |
fa5322fa AO |
13215 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
13216 | TARGET_SH5. | |
13217 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
13218 | defined. | |
13219 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
13220 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
13221 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
13222 | shcompact_incoming_args): Load switch table addresses using | |
13223 | datalabel. | |
13224 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
13225 | (NO_BUILTIN_SIZE_TYPE): Define. | |
13226 | (SIZE_TYPE): Don't define. | |
13227 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
13228 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
13229 | definition of __SH5__=32 for -m5-compact-nofpu. | |
13230 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
13231 | ADDR_DIFF_VEC. | |
13232 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
13233 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
13234 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
13235 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
13236 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
13237 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
13238 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
13239 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
13240 | copying of non-branch-target register. | |
13241 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
1e4e95d6 | 13242 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
fa5322fa AO |
13243 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
13244 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
13245 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
13246 | floating-point values as structs. | |
13247 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
13248 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
13249 | general-purpose register. | |
13250 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
13251 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
13252 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
13253 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
13254 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
13255 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
13256 | DATALABEL unspecs. | |
13257 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
13258 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
13259 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
13260 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
13261 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
13262 | SH_DATALABEL_ENCODING to the symbol name. | |
13263 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
13264 | convert_mode(). | |
13265 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
13266 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
13267 | UNSPEC_DATALABEL. | |
13268 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
13269 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
13270 | (DATALABEL_REF_P): Don't require CONST. | |
13271 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
13272 | REL label. | |
13273 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
13274 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
13275 | right. | |
13276 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
13277 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
13278 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
13279 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
13280 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
13281 | on SHmedia using GENERAL_REGs. | |
13282 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
13283 | bltu_media_i): Fix reversion of conditions. | |
13284 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
13285 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
13286 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
13287 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
13288 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
13289 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
13290 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
13291 | (GCC_nested_trampoline): Likewise. | |
13292 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
13293 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
13294 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
13295 | (INITIALIZE_TRAMPOLINE): Likewise. | |
13296 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
13297 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
13298 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
13299 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
13300 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
13301 | (ic_invalidate): Adjust for SH5. | |
13302 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
13303 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
13304 | _nested_trampoline. | |
13305 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
13306 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
13307 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
13308 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
13309 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
13310 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
13311 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
13312 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
13313 | registers and pseudos that aren't virtual registers. | |
13314 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
13315 | Copy operands that don't match target_reg_operand to pseudos. | |
13316 | (call_media, call_value_media, sibcall_media): Use | |
13317 | target_reg_operand instead of target_operand. | |
13318 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
d9b3eb63 | 13319 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
fa5322fa AO |
13320 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
13321 | other than branch-target registers. | |
13322 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
13323 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
13324 | (fpscr_values) [SH5 == 32]: Define. | |
13325 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
13326 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
13327 | Handle function addresses coming in SUBREGs. | |
13328 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
13329 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
13330 | shcompact_return_trampoline): Use datalabel where appropriate. | |
13331 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
13332 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
13333 | general-purpose register to copy one branch-target register to | |
13334 | another. | |
13335 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
13336 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
13337 | SYMBOL_REFs with VOIDmode. | |
13338 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
13339 | bltu_media_i): New insns. | |
13340 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
13341 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
13342 | (INIT_CUMULATIVE_ARGS): Likewise. | |
13343 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
13344 | * machmode.def (V16SFmode): New mode. | |
13345 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
13346 | * tree.c (build_common_tree_nodes_2): Likewise. | |
13347 | * tree.h (tree_index): Likewise. | |
13348 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
13349 | callers. Introduce CALL_POPS_ARGS. | |
13350 | * tm.texi (CALL_POPS_ARGS): Document. | |
13351 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
13352 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
13353 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
13354 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
13355 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
13356 | Implement divsi and udivsi in SHmedia mode. Introduce | |
13357 | SHcompact trampolines. | |
13358 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
13359 | only in SHmedia64. | |
13360 | (regno_reg_class): Rewrite. | |
13361 | (fp_reg_names): Remove. | |
13362 | (sh_register_names, sh_additional_register_names): New. | |
13363 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
13364 | Add parentheses around shifted CONSTs. | |
13365 | (output_file_start): Output .mode and .abi directives. | |
13366 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
13367 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
13368 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
13369 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
13370 | bytes, not registers. Take into account the need for the | |
13371 | SHcompact incoming args trampoline. Adjust all callers. | |
13372 | (sh_expand_prologue): Take stack_regs into account. Call | |
13373 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
13374 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
13375 | stack aligned as per SH5 ABI. | |
13376 | (sh_builtin_saveregs): Support SH5 ABI. | |
13377 | (sh_build_va_list, sh_va_start): Likewise. | |
13378 | (initial_elimination_offset): Take alignment into account. | |
13379 | Compute location of PR according to the SH5 stack frame. | |
13380 | (arith_reg_operand): Reject branch-target registers. | |
13381 | (shmedia_6bit_operand): New. | |
13382 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
13383 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
13384 | (target_operand): New. | |
13385 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
13386 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
13387 | SIBCALL_REGS for SHmedia. | |
13388 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
13389 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
13390 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
13391 | (TARGET_SWITCHES): New SH5 flags. | |
13392 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
13393 | VALID_REGISTER_P to disable unsupported registers. | |
13394 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
13395 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
13396 | (FUNCTION_ARG_PADDING): Define. | |
13397 | (FASTEST_ALIGNMENT): Adjust. | |
13398 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
13399 | (sh_register_names): Declare. | |
13400 | (DEBUG_REGISTER_NAMES): Define. | |
13401 | (REGISTER_NAMES): Define based on sh_register_names. | |
13402 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
13403 | (sh_additional_register_names): Declare. | |
13404 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
13405 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
13406 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
13407 | (REGISTER_NATURAL_MODE): Define. | |
13408 | (FIRST_PSEUDO_REGISTER): Adjust. | |
13409 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
13410 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
13411 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
13412 | (VECTOR_MODE_SUPPORTED_P): Define. | |
13413 | (REG_CLASS_CONTENTS): Adjust. | |
13414 | (SMALL_REGISTER_CLASSES): Adjust. | |
13415 | (REG_ALLOC_ORDER): Adjust. | |
13416 | (INDEX_REG_CLASS): Adjust. | |
13417 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
13418 | (CONST_OK_FOR_LETTER_P): Adjust. | |
13419 | (PREFERRED_RELOAD_CLASS): Adjust. | |
13420 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
13421 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
13422 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
13423 | (FIRST_FP_PARM_REG): Adjust. | |
13424 | (CALL_POPS_ARGS): Define. | |
13425 | (FUNCTION_ARG_REGNO_P): Adjust. | |
13426 | (struct sh_args): New fields. | |
13427 | (GET_SH_ARG_CLASS): Adjust. | |
13428 | (INIT_CUMULATIVE_ARGS): Adjust. | |
13429 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
13430 | (FUNCTION_ARG_ADVANCE): Adjust. | |
13431 | (FUNCTION_ARG): Adjust. | |
13432 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
13433 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
13434 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
13435 | (STRICT_ARGUMENT_NAMING): Define. | |
13436 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
13437 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
13438 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
13439 | (SETUP_INCOMING_VARARGS): Adjust. | |
13440 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
13441 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
13442 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
13443 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
13444 | (EXTRA_CONSTRAINT_S): Update. | |
13445 | (EXTRA_CONSTRAINT_T): New. | |
13446 | (EXTRA_CONSTRAINT): Adjust. | |
13447 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
13448 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
13449 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
13450 | (MOVE_MAX): Adjust. | |
13451 | (MAX_MOVE_MAX): Define. | |
13452 | (Pmode): Adjust. | |
13453 | (CONST_COSTS): Adjust. | |
13454 | (REGISTER_MOVE_COST): Adjust. | |
13455 | (BRANCH_COST): Adjust. | |
13456 | (TEXT_SECTION_ASM_OP): Adjust. | |
13457 | (DBX_REGISTER_NUMBER): Adjust. | |
13458 | (ASM_OUTPUT_DOUBLE_INT): New. | |
13459 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
13460 | (PREDICATE_CODES): Adjust. | |
13461 | (PROMOTE_MODE): Adjust. | |
13462 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
13463 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
13464 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
13465 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
13466 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
13467 | (TR0_REG, TR1_REG, TR2_REG): New. | |
13468 | (XD0_REG): Renumber. | |
13469 | (UNSPEC_COMPACT_ARGS): New. | |
13470 | (type): Added pt and ptabs. | |
13471 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
1e4e95d6 | 13472 | and 20 on SHmedia32 and SHmedia64, respectively. |
fa5322fa AO |
13473 | (pt): New function unit. |
13474 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
13475 | Add whitespace between operands of SHmedia instructions. | |
13476 | (movdicc): Fix. | |
13477 | (adddi3_media, addsi3_media): Adjust constraints. | |
13478 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
13479 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
13480 | (udivsi3): Support SHmedia. | |
13481 | (divsi3_i1_media, divsi3_i4_media): New. | |
13482 | (divsi3): Support SHmedia. | |
13483 | (anddi3, iordi3, xordi3): Adjust constraints. | |
13484 | (zero_extendhidi2, zero_extendqidi2): New. | |
13485 | (extendsidi2, extendhidi2, extendqidi2): New. | |
13486 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
13487 | (pop_e, pop_fpul, pop_4): Likewise. | |
13488 | (movsi_media): Support FP and BT registers. | |
13489 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
13490 | (lduw, ldub): Renamed to zero_extend* above. | |
13491 | (movqi_media): Fix typo. | |
13492 | (movdi_media): Support FP and BT registers. | |
13493 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
13494 | (movdi_const_32bit): New. | |
13495 | (shori_media): Require immediate operand. Use `u' for output. | |
13496 | (movdf_media, movsf_media): Simplified. | |
13497 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
13498 | (movdf, movsf): Adjust | |
13499 | (movv2sf, movv2sf, movv16sf): New. | |
13500 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
13501 | scratch BT register. | |
13502 | (bne_media, bne_media_i): Likewise. | |
13503 | (bgt_media, bgt_media_i): Likewise. | |
13504 | (bge_media, bge_media_i): Likewise. | |
13505 | (bgtu_media, bgtu_media_i): Likewise. | |
13506 | (bgeu_media, bgeu_media_i): Likewise. | |
13507 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
13508 | bunordered): Emit jump insn. Force operands to registers when | |
13509 | needed. | |
13510 | (jump_media, jump): Simplify. | |
13511 | (call_compact, call_compact_rettramp): New. | |
13512 | (call_value_compact, call_value_compact_rettramp): New. | |
13513 | (call_media, call_value_media): Simplify. | |
13514 | (sibcall_compact, sibcall_media): New. | |
13515 | (call, call_value): Adjust for SHmedia and SHcompact. | |
13516 | (sibcall, sibcall_value, untyped_call): Likewise. | |
13517 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
13518 | (indirect_jump): Adjust for SHmedia. | |
13519 | (casesi_jump_media): New. | |
13520 | (nop): Re-enable for SHmedia. | |
13521 | (call_site): Restrict to SH1. | |
13522 | (casesi): Adjust for SHmedia. | |
13523 | (casesi_shift_media, casesi_load_media): New. | |
13524 | (return): Explicitly use PR register. Call return trampoline | |
13525 | on SHcompact. | |
13526 | (return_i): Explicitly use PR register. | |
13527 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
13528 | (return_media): Adjust. | |
13529 | (shcompact_incoming_args): New. | |
13530 | (epilogue): Adjust. | |
13531 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
13532 | (movstrsi): Disable on SH5. | |
13533 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
13534 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
13535 | (subsf3, subsf3_media): Likewise. | |
13536 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
13537 | (divsf3, divsf3_media): Likewise. | |
13538 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
13539 | (floatsisf2, fux_truncsfsi2): Likewise. | |
13540 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
13541 | constraints. | |
13542 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
13543 | (cmpunsf_media, cmpsf): Likewise. | |
13544 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
13545 | (abssf2, abssf2_media): Likewise. | |
13546 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
13547 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
13548 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
13549 | (floatsidf2, fix_truncdfsi2): Likewise. | |
13550 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
13551 | constraints. | |
13552 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
13553 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
13554 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
13555 | (absdf2, absdf2_media): Likewise. | |
13556 | (extendsfdf2, extendsfdf2_media): Likewise. | |
13557 | (truncsfdf2, truncsfdf2_media): Likewise. | |
13558 | * config/sh/sh64.h: New file. | |
13559 | * config/sh/t-sh64: New file. | |
13560 | * config/sh/shmedia.h: New file. | |
13561 | * config/sh/ushmedia.h: New file. | |
13562 | * config/sh/sshmedia.h: New file. | |
13563 | * configure.in: Added sh64-*-elf. | |
13564 | * configure: Rebuilt. | |
13565 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
13566 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
13567 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
13568 | (print_operand): Support `%M', `%m', `AND' and | |
13569 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
13570 | (andcosts): Adjust for SHmedia. | |
13571 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
13572 | Likewise. | |
13573 | (target_reg_operand): New function. | |
13574 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
13575 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
13576 | FP registers on SH5. | |
13577 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
13578 | on SH4. | |
13579 | (TARGET_REGISTER_P): New macro. | |
13580 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
13581 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
13582 | (EXTRA_CONSTRAINT_S): New macro. | |
13583 | (EXTRA_CONSTRAINT): Adjust. | |
13584 | (FLOAT_TYPE_SIZE): Define to 32. | |
13585 | (Pmode): DImode on SHmedia. | |
13586 | (CONST_COSTS): Adjust for SHmedia literals. | |
13587 | (PREDICATE_CODES): Added target_reg_operand. | |
13588 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
13589 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
13590 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
13591 | (cmpdi): Accept SHmedia. | |
13592 | (movdicc_false, movdicc_true): New insns. | |
13593 | (movdicc): New expand. | |
13594 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
13595 | no_new_pseudos. | |
13596 | (addsi3_media): Match `S' constraint. | |
13597 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
13598 | (negdi2): Expand for SHmedia. | |
13599 | (one_cmpldi2): New expand. | |
13600 | (zero_extendsidi2): Change from expand to insn. | |
13601 | (extendsidi2): Add constraints. | |
13602 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
13603 | LD/ST address. Fix SI immediate loading split. | |
13604 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
13605 | (movhi, movqi): Accept SHmedia. | |
13606 | (shori_media, movdi_media): Relax input constraints. Split | |
13607 | symbolic constants. | |
13608 | (movdf_media, movsf_media): New insn. New split to movdi. | |
13609 | (movdf, movsf): Match on SHmedia. | |
13610 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
13611 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
13612 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
13613 | (bunordered): New expand. | |
13614 | (jump_compact): Renamed from `jump'. | |
13615 | (jump_media): New insn. | |
13616 | (jump): New expand. | |
13617 | (call_media, call_value_media): New insns. | |
13618 | (call, call_value): Adjust. | |
13619 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
13620 | (indirect_jump_media): New insn. | |
13621 | (indirect_jump): New expand. | |
13622 | (untyped_call, return): Accept SHmedia. | |
13623 | (return_media): New insn. | |
13624 | (prologue, epilogue, blockage): Accept SHmedia. | |
13625 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
13626 | (sunordered): New expand. | |
13627 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
13628 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
13629 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
13630 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
13631 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
13632 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
13633 | abssf2_media): New insns. | |
13634 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
13635 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
13636 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
13637 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
13638 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
13639 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
13640 | absdf2_media): New insns. | |
13641 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
13642 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
13643 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
13644 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
13645 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
13646 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
13647 | * config/sh/sh.md (adddi3): New expand. | |
13648 | (adddi3_media, adddi3z_media): New insns. | |
13649 | (adddi3_compact): Renamed from adddi3. | |
13650 | (addsi3_media): Use add.l r63 to add constant zero. | |
13651 | (subdi3): New expand. | |
13652 | (subdi3_media): New insn. | |
13653 | (subdi3_compact): Renamed from subdi3. | |
13654 | (mulsidi3): New expand. | |
13655 | (mulsidi3_media): New insn. | |
13656 | (mulsidi3_compact): Renamed from mulsidi3. | |
13657 | (umulsidi3): New expand. | |
13658 | (umulsidi3_media): New insn. | |
13659 | (umulsidi3_compact): Renamed from umulsidi3. | |
13660 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
13661 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
13662 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
13663 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
13664 | (zero_extendsidi2): New expand. | |
13665 | (extendsidi2): New insn. | |
13666 | (movsi_media): New insn. Split to movdi to load constants. | |
13667 | (movsi): Enable for shmedia. | |
13668 | (movdi_media): New insn. Use shori_media to load wide constants. | |
13669 | (short_media): New insn. | |
13670 | (movdi): Enable for shmedia. | |
13671 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
13672 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
13673 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
13674 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
13675 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
13676 | to all other SH variants. | |
13677 | (TARGET_DEFAULT): Set to SH1_BIT. | |
13678 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
13679 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
13680 | (MAX_BITS_PER_WORD): Change to 64. | |
13681 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
13682 | (INT_TYPE_SIZE): Keep as 32. | |
13683 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
13684 | (MIN_UNITS_PER_WORD): Keep as 4. | |
13685 | (POINTER_SIZE): Raise to 64 on shmedia. | |
13686 | (CONST_OK_FOR_J): New macro. | |
13687 | (CONST_OK_FOR_LETTER_P): Use it. | |
13688 | (processor_type): Add PROCESSOR_SH5. | |
13689 | * config/sh/sh.md: Conditionalize all expands, insns and | |
13690 | splits to TARGET_SH1. | |
13691 | (cpu): Added sh5. | |
13692 | (addsi3_compact): Renamed from... | |
13693 | (addsi3): Now an expand. | |
13694 | (addsi3_media, subsi3_media): New insns. | |
13695 | (subsi3): Don't negate constants with SHmedia. | |
13696 | ||
e4ec2cac AO |
13697 | * hooks.c: New file. |
13698 | * hooks.h: New file. | |
13699 | * Makefile.in (HOOKS_H): New. | |
13700 | (TARGET_DEF_H): Added $(HOOKS_H). | |
13701 | (OBJS): Added hooks.o. | |
13702 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
13703 | (hooks.o): Added dependencies. | |
13704 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
13705 | (TARGET_INITIALIZER): this. | |
13706 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
13707 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
13708 | * bb-reorder.c: Include target.h. | |
13709 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
13710 | * cfgcleanup.c: Include target.h. | |
13711 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
13712 | ||
246a46e0 CD |
13713 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
13714 | ||
831c4e87 KC |
13715 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
13716 | Protect jump delay slot instructions with .set noreorder and | |
13717 | .set nomacro. | |
246a46e0 CD |
13718 | |
13719 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
6a5ea3f4 CD |
13720 | |
13721 | * config/mips/mips.md (casesi_internal_di): Calculate | |
13722 | the index into the target offset table correctly. | |
13723 | ||
fdf473ae RH |
13724 | 2002-02-08 Richard Henderson <rth@redhat.com> |
13725 | ||
13726 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
13727 | * final.c (output_addr_const): Accept and discard SUBREG. | |
13728 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
13729 | mark them unknown instead. | |
13730 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
13731 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
13732 | ||
c50503ac DE |
13733 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
13734 | ||
13735 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
13736 | ||
3660d217 RH |
13737 | 2002-02-08 Richard Henderson <rth@redhat.com> |
13738 | ||
13739 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
13740 | ||
56547299 AJ |
13741 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
13742 | ||
13743 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
13744 | * config/i386/t-linux64: New file. | |
13745 | ||
1cf537c5 JJ |
13746 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
13747 | ||
13748 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
13749 | * c-parse.in (compstmt): Clear last_expr_type. | |
13750 | ||
5c7f5a5f RH |
13751 | 2002-02-07 Richard Henderson <rth@redhat.com> |
13752 | ||
13753 | * loop.c (strength_reduce): Sink final_value when not | |
13754 | eliminating a biv. | |
13755 | ||
b1138bf3 DB |
13756 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
13757 | ||
13758 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
13759 | ||
b6878a45 RH |
13760 | 2002-02-07 Richard Henderson <rth@redhat.com> |
13761 | ||
13762 | * cfgrtl.c: Include recog.h and insn-config.h. | |
13763 | (keep_with_call_p): Fix general_operand invocation. | |
13764 | * Makefile.in (cfgrtl.o): Update dependencies. | |
13765 | ||
ae19f5ef KH |
13766 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
13767 | ||
13768 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
13769 | comment. Accept HImode only if TARGET_H8300. | |
13770 | ||
b137f9fc EC |
13771 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
13772 | ||
13773 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
13774 | ||
13775 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
13776 | ||
13777 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
13778 | register 7 as RA instead of $31. | |
13779 | * config/mips/crtn.asm: Ditto. | |
13780 | * config/mips/mips.c (mips_move_2words): Add case for | |
13781 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
13782 | (compute_frame_size): Fix typo. | |
13783 | (save_restore_insns): Ditto. Make documentation about using | |
13784 | register $7 as return register more precise. | |
13785 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
13786 | being able to add to the stack pointer directly. | |
13787 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
13788 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
13789 | epilogue. | |
13790 | ||
768070a0 TR |
13791 | 2002-02-07 Tom Rix <trix@redhat.com> |
13792 | ||
b137f9fc | 13793 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
768070a0 TR |
13794 | immediates in ldu and stdu DS opcode field. |
13795 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
13796 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
13797 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
13798 | ||
225909c3 JS |
13799 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
13800 | ||
13801 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
13802 | offset for stack bias. | |
13803 | ||
15fae023 L |
13804 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
13805 | ||
13806 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
13807 | ||
fde5badd UW |
13808 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
13809 | ||
13810 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
13811 | ||
162f023b JH |
13812 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
13813 | ||
13814 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
13815 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
13816 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
13817 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
13818 | ||
9b462c42 RH |
13819 | 2002-02-07 Richard Henderson <rth@redhat.com> |
13820 | ||
85aa876c | 13821 | PR optimization/2463 |
9b462c42 RH |
13822 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
13823 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
13824 | ||
06e455a9 AO |
13825 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
13826 | ||
13827 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
13828 | length. | |
13829 | ||
edd1967d RH |
13830 | 2002-02-06 Richard Henderson <rth@redhat.com> |
13831 | ||
13832 | PR c/5609 | |
13833 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
13834 | named and unnamed operands. | |
13835 | ||
a2cd028f JJ |
13836 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
13837 | Jan Hubicka <jh@suse.cz> | |
13838 | ||
13839 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
13840 | CONST expression. | |
13841 | ||
e8487c04 UW |
13842 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
13843 | ||
13844 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
13845 | * config/s390/t-linux64: New file. | |
13846 | * config/s390/libgcc-glibc.ver: New file. | |
13847 | ||
58d10f89 UW |
13848 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
13849 | ||
13850 | * config/s390/linux64.h: Delete file. | |
13851 | * config/s390/s390x.h: New file. | |
13852 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
13853 | as target header file. | |
13854 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
13855 | DEFAULT_TARGET_64BIT. | |
13856 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
13857 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
13858 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
13859 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
13860 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
13861 | (EXTRA_SPEC): New define. | |
13862 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
13863 | DEFAULT_TARGET_64BIT. | |
13864 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
13865 | ||
5ce89b2e JM |
13866 | 2002-02-06 Jason Merrill <jason@redhat.com> |
13867 | ||
13868 | * c-decl.c (finish_function): Warn about a non-void function with | |
13869 | no return statement and no abnormal exit. | |
13870 | (current_function_returns_abnormally): New variable. | |
13871 | (start_function): Clear it. | |
13872 | (struct c_language_function): Add returns_abnormally. | |
13873 | (push_c_function_context): Save it. | |
13874 | (pop_c_function_context): Restore it. | |
13875 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
13876 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
13877 | an explicit return type. | |
13878 | * c-tree.h: Declare current_function_returns_abnormally. | |
13879 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
13880 | * c-typeck.c (build_function_call): Set it. | |
13881 | (c_expand_return): Set current_function_returns_value even if the | |
13882 | value is erroneous. | |
13883 | ||
caaf2272 JJ |
13884 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
13885 | ||
13886 | PR c/5420: | |
13887 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
13888 | unsafe for reevaluation. | |
13889 | ||
d5129288 JJ |
13890 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
13891 | ||
13892 | PR c/5482: | |
13893 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
13894 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
13895 | ||
7fb75099 RH |
13896 | 2002-02-06 Richard Henderson <rth@redhat.com> |
13897 | ||
13898 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
13899 | be a general_operand. Dest for function value must be a pseudo. | |
13900 | ||
d3a8b6a6 NC |
13901 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
13902 | ||
13903 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
13904 | as SYMBOL_REFs from the constant pool. | |
13905 | ||
3c1299c5 AO |
13906 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
13907 | ||
13908 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
13909 | passed by invisible reference. | |
13910 | ||
c2c9f6c9 RH |
13911 | 2002-02-05 Richard Henderson <rth@redhat.com> |
13912 | ||
13913 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
13914 | ||
a824924d HPN |
13915 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
13916 | ||
13917 | Implement using "base addresses" in insn operands as default. | |
13918 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
13919 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
13920 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
13921 | used to read the rtx value. | |
13922 | (mmix_target_asm_function_epilogue): Fix spacing. | |
13923 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
13924 | (mmix_legitimate_address): Ditto. | |
13925 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
13926 | should be loaded with a GETA insn. Don't allocate needless extra | |
13927 | char for nul termination and fix misleading comment. | |
13928 | (mmix_print_operand_address): Handle constants if | |
13929 | TARGET_BASE_ADDRESSES. | |
13930 | (mmix_output_register_setting): Use base addressing if | |
13931 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
13932 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
13933 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
13934 | to use R as constraint, add LDA to match s. | |
13935 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
13936 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
13937 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
13938 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
13939 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
13940 | order with other fixed registers. | |
13941 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
13942 | other parameter/call-clobbered registers. | |
13943 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
13944 | -mbase-addresses, -mno-base-addresses. | |
13945 | (MMIX Options): Ditto. | |
13946 | ||
73c342b9 JDA |
13947 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
13948 | ||
13949 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
13950 | ||
ef238c58 AH |
13951 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
13952 | ||
831c4e87 | 13953 | * config/rs6000/altivec.h: Change elem to _S_elem. |
ef238c58 | 13954 | |
ad08e60e JT |
13955 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
13956 | ||
13957 | * config/netbsd.h (WCHAR_TYPE): Define. | |
13958 | (WCHAR_TYPE_SIZE): Ditto. | |
13959 | (WINT_TYPE): Ditto. | |
13960 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
13961 | (WCHAR_UNSIGNED): Ditto. | |
13962 | (WCHAR_TYPE_SIZE): Ditto. | |
13963 | (WINT_TYPE): Ditto. | |
13964 | * config/arm/netbsd.h: Likewise. | |
13965 | * config/i386/netbsd-elf.h: Likewise. | |
13966 | * config/i386/netbsd.h: Likewise. | |
13967 | * config/m68k/netbsd-elf.h: Likewise. | |
13968 | * config/m68k/netbsd.h: Likewise. | |
13969 | * config/ns32k/netbsd.h: Likewise. | |
13970 | * config/sparc/netbsd.h: Likewise. | |
13971 | * config/vax/netbsd.: Likewise. | |
13972 | ||
f913c102 AO |
13973 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
13974 | ||
13975 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
13976 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
13977 | (TARGET_INITIALIZER): this. | |
13978 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
13979 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
13980 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
13981 | (record_layout_info): Added prev_field. | |
13982 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
13983 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
13984 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
13985 | * stor-layout.c: Include target.h. | |
13986 | (start_record_layout): Initialize prev_field. | |
13987 | (place_field): Handle MS bit-field layout, and disregard | |
13988 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
13989 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
13990 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
13991 | ||
c13db5d1 JM |
13992 | 2002-02-05 Jason Merrill <jason@redhat.com> |
13993 | ||
c13db5d1 JM |
13994 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
13995 | ||
4505024e AJ |
13996 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
13997 | ||
13998 | * crtstuff.c: Fix comments. | |
13999 | ||
794ad79d RH |
14000 | 2002-02-05 Richard Henderson <rth@redhat.com> |
14001 | ||
2e279a9b RH |
14002 | PR fortran/3393 |
14003 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
14004 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
14005 | ||
794ad79d RH |
14006 | PR fortran/3392 |
14007 | * config/mips/mips.c (function_arg): Handle TImode. | |
14008 | (function_arg_advance): Likewise. | |
14009 | ||
8f909017 AH |
14010 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
14011 | ||
c13db5d1 JM |
14012 | * config/rs6000/altivec.h (vec_step_help): Rename to |
14013 | __vec_step_help. | |
8f909017 | 14014 | |
66daa9e3 AH |
14015 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
14016 | ||
c13db5d1 | 14017 | * config/rs6000/altivec.h: Fix typos. |
66daa9e3 | 14018 | |
2696e97b JT |
14019 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
14020 | ||
14021 | * config/arm/netbsd.h: Correct a comment. | |
14022 | ||
3deb2758 AH |
14023 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
14024 | ||
c13db5d1 JM |
14025 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
14026 | building void typed builtins. | |
3deb2758 | 14027 | |
c13db5d1 JM |
14028 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
14029 | (vec_step): Implement for C++. | |
3deb2758 | 14030 | |
c13db5d1 | 14031 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2c79137a RK |
14032 | |
14033 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
14034 | ||
ebbb0a63 RH |
14035 | 2002-02-04 Richard Henderson <rth@redhat.com> |
14036 | ||
14037 | * combine.c (nonzero_bits): Re-introduce special case for | |
14038 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
14039 | ||
ae4b4a02 AH |
14040 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
14041 | ||
c13db5d1 JM |
14042 | * doc/extend.texi: Warn about unsupported usage of altivec |
14043 | builtins. | |
ae4b4a02 | 14044 | |
c13db5d1 JM |
14045 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
14046 | (altivec_predicate_*): New. | |
ae4b4a02 | 14047 | |
c13db5d1 JM |
14048 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
14049 | Add C++ version of vec_*() functions. | |
ae4b4a02 | 14050 | |
c13db5d1 JM |
14051 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
14052 | (bdesc_2arg): Remove altivec predicates. | |
14053 | (altivec_expand_builtin): Handle predicates. | |
14054 | (altivec_init_builtins): Handle predicates. | |
14055 | (altivec_expand_predicate_builtin): New. | |
ae4b4a02 | 14056 | |
f6bcf44c JDA |
14057 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14058 | ||
14059 | * pa.c (DO_FRAME_NOTES): Move forward. | |
14060 | (store_reg): Revise handling of frame notes. | |
14061 | (load_reg): Likewise. | |
14062 | (set_reg_plus_d): Likewise. | |
14063 | (hppa_expand_prologue): Likewise. | |
14064 | (hppa_expand_epilogue): Likewise. | |
b137f9fc | 14065 | |
703b0080 JDA |
14066 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14067 | ||
14068 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
14069 | ||
6f9fdf4d JJ |
14070 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
14071 | ||
14072 | PR c/4475, c++/3780: | |
14073 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
14074 | * c-common.h (SWITCH_TYPE): Define. | |
14075 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
14076 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
14077 | Rename spareness variable to sparseness. | |
14078 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
14079 | if non-NULL instead of TREE_TYPE (orig_index). | |
14080 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
14081 | (expand_end_case): Define using expand_end_case_type. | |
14082 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
14083 | to expand_end_case_type. | |
14084 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
14085 | ||
79109502 JDA |
14086 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14087 | ||
14088 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
14089 | (BIGGEST_ALIGNMENT): Change to 128. | |
14090 | ||
e62a5987 JDA |
14091 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14092 | ||
14093 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
14094 | ||
219f24a4 JDA |
14095 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14096 | ||
14097 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
14098 | ||
3cb66fd7 NC |
14099 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
14100 | ||
14101 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
14102 | field. | |
831c4e87 | 14103 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
3cb66fd7 | 14104 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
831c4e87 KC |
14105 | replace uses with cfun->machine->uses_anonymous_args. |
14106 | (arm_reorg): Do not reset uses_anonymous_args. | |
3cb66fd7 NC |
14107 | |
14108 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
14109 | any geenral register. | |
b137f9fc | 14110 | |
5d5603e2 | 14111 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
24c545ff BS |
14112 | |
14113 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
14114 | the entry block. | |
14115 | ||
563c12b0 RH |
14116 | 2002-02-04 Richard Henderson <rth@redhat.com> |
14117 | ||
14118 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
14119 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
14120 | REGNO_POINTER_ALIGN. | |
14121 | ||
14122 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
14123 | (HARD_FRAME_POINTER_REGNUM): New. | |
14124 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
14125 | (FIXED_REGS, CALL_USED_REGS): Update. | |
14126 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
14127 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
14128 | (HARD_REGNO_NREGS): Update for SFP. | |
14129 | (STACK_POINTER_OFFSET): Include bias here ... | |
14130 | (FIRST_PARM_OFFSET): ... not here. | |
14131 | (STACK_BIAS): Remove. | |
14132 | (INIT_EXPANDERS): New. | |
14133 | (STARTING_FRAME_OFFSET): Do not include bias. | |
14134 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
14135 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
14136 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
14137 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
14138 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
14139 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
14140 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
14141 | (MUST_SAVE_REGISTER): Likewise. | |
14142 | (sparc_flat_function_prologue): Likewise. | |
14143 | (sparc_flat_function_epilogue): Likewise. | |
14144 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
14145 | (sparc_init_modes): SFP is GENERAL_REGS. | |
14146 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
14147 | ||
14691f8d RH |
14148 | 2002-02-04 Richard Henderson <rth@redhat.com> |
14149 | ||
14150 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
14151 | current_function_is_thunk. | |
14152 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
14153 | called from ASM_OUTPUT_MI_THUNK and not. | |
14154 | (alpha_does_function_need_gp): Thunks always need gp. | |
14155 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
14156 | (alpha_output_mi_thunk_osf): New. | |
14157 | * config/alpha/alpha-protos.h: Update. | |
14158 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
14159 | ||
af702de8 RS |
14160 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
14161 | ||
14162 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
14163 | function types, not when they're taken away. | |
14164 | ||
5b1cacd8 JL |
14165 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
14166 | ||
14167 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
14168 | CODE_LABEL and jump table when replacing a table jump with a | |
14169 | simple jump. | |
14170 | ||
f3e9edff UW |
14171 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14172 | ||
14173 | * config/s390/s390-protos.h (legitimize_la_operand, | |
14174 | s390_secondary_input_reload_class, s390_plus_operand, | |
14175 | s390_expand_plus_operand): Add prototypes. | |
14176 | ||
14177 | config/s390/s390.c (s390_secondary_input_reload_class, | |
14178 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
14179 | ||
14180 | (struct s390_address): New member 'pointer'. | |
14181 | (s390_decompose_address): Compute it. | |
14182 | (legitimate_la_operand_p): Use it. | |
14183 | (legitimize_la_operand): New function. | |
14184 | (movti, movdi, movdf splitters): Call it. | |
14185 | ||
14186 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
14187 | (PREDICATE_CODES): Add s390_plus_operand. | |
14188 | ||
14189 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
14190 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
14191 | ||
14192 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
14193 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
14194 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
14195 | ||
3c9a08ec UW |
14196 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14197 | ||
14198 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
14199 | register names for regular asm () construct. | |
14200 | ||
ac300a45 JJ |
14201 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
14202 | ||
14203 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
14204 | registers. | |
14205 | ||
fa852403 JJ |
14206 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
14207 | ||
14208 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
14209 | pat for recog. | |
14210 | ||
fecaac37 HP |
14211 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
14212 | ||
831c4e87 KC |
14213 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
14214 | constant pool to be identical by string address and index. | |
fecaac37 | 14215 | |
10c45943 AG |
14216 | 2002-02-04 Anthony Green <green@redhat.com> |
14217 | ||
14218 | * output.h (SECTION_OVERRIDE): Define. | |
14219 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
14220 | ||
69474c3c JT |
14221 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
14222 | ||
14223 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
14224 | by existing arm*-*-netbsd* (a.out) target. | |
14225 | (ns32k-*-netbsdelf*): Likewise. | |
14226 | (sparc-*-netbsdelf*): Likewise. | |
14227 | (vax-*-netbsdelf*): Likewise. | |
14228 | ||
939a46f6 | 14229 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
3b56934f CF |
14230 | |
14231 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
14232 | headers and libobjc headers. | |
14233 | ||
14234 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
14235 | ||
14236 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
14237 | (_mingw.h): Remove duplicate include. | |
14238 | ||
2fd95d71 JT |
14239 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
14240 | ||
14241 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
14242 | (m68010-*-netbsdelf*): New... | |
14243 | (m68k*-*-netbsdelf*): ...targets. | |
14244 | * config/m68k/netbsd-elf.h: New file. | |
14245 | ||
0ea6f6a0 KH |
14246 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
14247 | ||
14248 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
14249 | ||
cbf1b2da KH |
14250 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
14251 | ||
14252 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
14253 | h8300_init_once. | |
14254 | (h8_pop_ops): Likewise. | |
14255 | (h8_move_ops): Likewise. | |
14256 | ||
0869f126 KH |
14257 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
14258 | ||
14259 | * config/h8300/h8300.c (os_task): Make it static. | |
14260 | (monitor): Likewise. | |
14261 | (pragma_saveall): Likewise. | |
14262 | ||
90e65b70 AO |
14263 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
14264 | ||
14265 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
14266 | constant is a valid sign-extension for Pmode. | |
14267 | ||
9cbcd983 KH |
14268 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
14269 | ||
14270 | * config/h8300/h8300.c: Fix formatting. | |
14271 | ||
7a27efc4 KH |
14272 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
14273 | ||
14274 | * config/h8300/h8300.md: Fix formatting. | |
14275 | ||
54175a44 KH |
14276 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
14277 | ||
14278 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
14279 | predicates of operands[1]. Split the patterns for each | |
14280 | processor variant. | |
14281 | ||
eceb1755 KH |
14282 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
14283 | ||
14284 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
14285 | of operands[1] to register_operand. | |
14286 | ||
0fef3fd0 NB |
14287 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
14288 | ||
14289 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
14290 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
14291 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
14292 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
14293 | (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. | |
14294 | (cpp_handle_option): Handle the new options. | |
14295 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
14296 | * cpplib.h (struct cpp_options): New member signed_char. | |
14297 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
14298 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
14299 | (static_specs): Remove signed_char_spec. | |
14300 | (do_spec1): Don't handle %c. | |
14301 | * system.h: Poison SIGNED_CHAR_SPEC. | |
14302 | * tradcif.y (yylex): Use flag_signed_char. | |
14303 | * tradcpp.h (flag_signed_char): New. | |
14304 | * tradcpp.c (flag_signed_char): New. | |
14305 | (main): Handle new command-line options. | |
14306 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
14307 | config: | |
14308 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
14309 | * avr/avr.h: Remove old comments. | |
14310 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
14311 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
14312 | (SIGNED_CHAR_SPEC): Remove. | |
14313 | doc: | |
14314 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
14315 | ||
0617ed52 EC |
14316 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
14317 | ||
14318 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
14319 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
14320 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
14321 | (ASM_OUTPUT_REG_POP): Ditto. | |
14322 | ||
dfd48d76 NB |
14323 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
14324 | ||
14325 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
14326 | patch. | |
14327 | ||
4a23409e JJ |
14328 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
14329 | ||
14330 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
14331 | ||
d3c52658 JJ |
14332 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
14333 | ||
14334 | PR c/5304: | |
14335 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
14336 | unconditionally. | |
14337 | ||
02c5a3bd JJ |
14338 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
14339 | ||
14340 | * cfganal.c: Include tm_p.h. | |
14341 | (keep_with_call_p): Fix the test that determines if a register holds | |
14342 | the return value of a call. | |
14343 | ||
3968de80 DD |
14344 | 2002-02-01 DJ Delorie <dj@redhat.com> |
14345 | ||
14346 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
14347 | we are given conflicting registers, switch to the other one we | |
14348 | had allocated for us. | |
14349 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
14350 | as TImode so we know when the "other" register is available. | |
14351 | ||
1338ea6c DB |
14352 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
14353 | ||
14354 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
14355 | sparc/sparc_bi.h. | |
14356 | ||
f015be23 JJ |
14357 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
14358 | ||
14359 | * cfganal.c (keep_with_call_p): New function. | |
14360 | (flow_call_edges_add): Prevent splitting a block between a call and | |
14361 | a single-set instruction that should be kept in the same block. | |
14362 | ||
63708ffc CR |
14363 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
14364 | ||
14365 | * doc/install.texi (avr): Update outdated URL. | |
14366 | ||
5ee4950e AH |
14367 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
14368 | ||
831c4e87 KC |
14369 | * config/stormy16/stormy16.md (pushqi): New. |
14370 | (popqi): New. | |
14371 | (pushhi): New. | |
14372 | (pophi): New. | |
14373 | (movhi): Remove stack operands. | |
14374 | (movqi): Likewise. | |
14375 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
14376 | nonimmediate_nonstack_operand. | |
14377 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
14378 | New. | |
14379 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
14380 | New. | |
5ee4950e | 14381 | |
b88c0704 JM |
14382 | 2002-01-31 Jason Merrill <jason@redhat.com> |
14383 | ||
14384 | * Makefile.in (c-parse.c): Handle .output file. | |
14385 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
14386 | ||
ac282977 AO |
14387 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
14388 | ||
14389 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
14390 | the -me[lb] option is given. Don't output the default flag | |
14391 | twice. | |
14392 | ||
bebc7e8b ZW |
14393 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
14394 | ||
14395 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
14396 | the primary source file; this has not been done yet. | |
14397 | * c-decl.c (c_expand_body): Reset input_filename from | |
14398 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
14399 | ||
5809eb5f KH |
14400 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
14401 | ||
14402 | * rtlanal.c (subreg_regno_offset): Do not use | |
14403 | SUBREG_REGNO_OFFSET. | |
14404 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
14405 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
14406 | ||
8512bbd7 JM |
14407 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
14408 | ||
14409 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
14410 | version rather than GNATS version in --version output. | |
14411 | ||
74cb3cc8 RS |
14412 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
14413 | ||
14414 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
14415 | when copying back from a temporary. | |
14416 | ||
874b5b14 RH |
14417 | 2002-01-30 Richard Henderson <rth@redhat.com> |
14418 | ||
14419 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
14420 | and new_dest are the same. | |
14421 | ||
e803a64b RH |
14422 | 2002-01-30 Richard Henderson <rth@redhat.com> |
14423 | ||
89cf7be5 | 14424 | PR opt/5076 |
e803a64b RH |
14425 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
14426 | * rtl.c (note_insn_name): Update. | |
14427 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
14428 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
14429 | to perform loop rotation. | |
14430 | (expand_exit_loop_top_cond): New. | |
14431 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
14432 | * c-semantics.c (genrtl_while_stmt): Use it. | |
14433 | (genrtl_for_stmt): Likewise. | |
14434 | ||
0b51254d AO |
14435 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
14436 | ||
14437 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
14438 | arguments to 64-bit boundaries on 64-bit ABIs. | |
14439 | ||
71cef493 SE |
14440 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
14441 | ||
14442 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
14443 | ||
6169e5fd JM |
14444 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
14445 | ||
14446 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
14447 | invalid type. | |
14448 | ||
86f808dc DB |
14449 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
14450 | ||
14451 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
14452 | * config/sparc/sparc_bi.h: Remove file. | |
14453 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
14454 | ||
5748ebeb RH |
14455 | 2002-01-30 Richard Henderson <rth@redhat.com> |
14456 | ||
14457 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
14458 | ||
20d32cc2 ZW |
14459 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
14460 | ||
14461 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
14462 | ||
b88c0704 | 14463 | 2002-01-30 Jason Merrill <jason@redhat.com> |
6bb28965 JM |
14464 | |
14465 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
14466 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
14467 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
14468 | ||
14469 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
14470 | ||
37060e78 JJ |
14471 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
14472 | ||
14473 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
14474 | in cselib_lookup. | |
14475 | ||
d18dba68 AH |
14476 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
14477 | ||
bebc7e8b ZW |
14478 | * rs6000.md ("*call_value_local32"): Remove constraints. |
14479 | ("*call_value_local64"): Same. | |
14480 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
14481 | ("*call_value_nonlocal_aix32"): Same. | |
14482 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
14483 | ("*call_value_nonlocal_aix64"): Same. | |
14484 | ("*call_value_nonlocal_sysv"): Same. | |
d18dba68 | 14485 | |
80a8aac6 RH |
14486 | 2002-01-29 Richard Henderson <rth@redhat.com> |
14487 | ||
14488 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
14489 | ||
12beba6f RH |
14490 | 2002-01-29 Richard Henderson <rth@redhat.com> |
14491 | ||
14492 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
14493 | address loads. | |
14494 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
14495 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
14496 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
14497 | instead of open-coded loop. | |
14498 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
14499 | be fixed when in use. | |
14500 | ||
2583081e RH |
14501 | 2002-01-29 Richard Henderson <rth@redhat.com> |
14502 | ||
14503 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
14504 | * sched-rgn.c (propagate_deps): Update them. | |
14505 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
14506 | clobbers list when either gets too long. | |
14507 | ||
3b8d200e JJ |
14508 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
14509 | ||
14510 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
14511 | and INDEX_REGS the same as GENERAL_REGS. | |
14512 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
14513 | ||
2d3115eb NB |
14514 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
14515 | ||
bebc7e8b | 14516 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
2d3115eb | 14517 | |
ecbe845e UW |
14518 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
14519 | ||
bebc7e8b | 14520 | * config/s390/s390.md (movstrsico, movstrdix_64, |
ecbe845e | 14521 | movstrsix_31): Remove, replace by ... |
bebc7e8b | 14522 | (movstrdi_short, movstrsi_short, movstrdi_long, |
ecbe845e UW |
14523 | movstrsi_long): ... these. New. |
14524 | (movstrdi, movstrsi): Adapt. | |
14525 | ||
14526 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
bebc7e8b | 14527 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
ecbe845e UW |
14528 | Remove unnecessary CC clobber. |
14529 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
14530 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
14531 | ||
14532 | (divmoddi4): Don't partially initialize TImode register. | |
14533 | ||
0b32fca5 GK |
14534 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
14535 | ||
14536 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
14537 | ||
08ef5437 RH |
14538 | 2002-01-29 Richard Henderson <rth@redhat.com> |
14539 | ||
14540 | * flow.c (print_rtl_and_abort): Remove. | |
14541 | (print_rtl_and_abort_fcn): Remove. | |
14542 | (verify_local_live_at_start): Use dump_bb instead. | |
14543 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
14544 | (verify_wide_reg_1): Return 2 on mode test failure. | |
14545 | ||
8469e54e NB |
14546 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
14547 | ||
14548 | PR c/3325, c/3326, c/2511, c/3347 | |
14549 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
14550 | (grokdeclarator): Take bitfield width as an input. | |
14551 | Ensure bitfields are given the correct type. Perform | |
14552 | bitfield width validation with build_bitfield_integer_type | |
14553 | rather than waiting for finish_struct. | |
14554 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
14555 | push_parmdecl, grokfield, start_function): Update calls to | |
14556 | grokdeclarator. | |
14557 | (build_bitfield_integer_type): New function. | |
14558 | (finish_struct): Move bitfield validation to grokdeclarator | |
bebc7e8b | 14559 | and build_bitfield_integer_type. |
8469e54e NB |
14560 | * tree.c (build_nonstandard_integer_type): New function. |
14561 | * tree.h (build_nonstandard_integer_type): New prototype. | |
14562 | objc: | |
14563 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
14564 | ||
ffdeea47 JJ |
14565 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
14566 | ||
14567 | PR other/1502: | |
14568 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
14569 | don't ignore unrecognized -W* options. | |
14570 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
14571 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
14572 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
14573 | cpp_handle_option. | |
14574 | ||
14575 | PR c/2896: | |
14576 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
14577 | (cpp_options): Source cpp_unique_options. | |
14578 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
14579 | when used together with cc1_options. | |
14580 | (static_specs): Add cpp_unique_options. | |
14581 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
14582 | when used together with cc1_options. | |
14583 | ||
1a275226 KH |
14584 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
14585 | ||
14586 | * config/h8300/h8300-protos.h: Update the prototype of | |
14587 | output_a_shift. | |
14588 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
14589 | argument 'insn'. Remove redundant code. | |
14590 | * config/h8300/h8300.md: Adust to the new prototype of | |
14591 | output_a_shift. | |
14592 | ||
a11d9dfc KH |
14593 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
14594 | ||
14595 | * config/h8300/h8300-protos.h: Update the prototypes of | |
14596 | emit_a_rotate and expand_a_rotate. | |
14597 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
14598 | first argument to 'enum rtx_code'. | |
14599 | (expand_a_rotate): Likewise. | |
14600 | ||
871f73e3 KH |
14601 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
14602 | ||
14603 | * config/h8300/h8300-protos.h: Update the prototype of | |
14604 | output_simode_bld. | |
14605 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
14606 | 'log2'. | |
14607 | * config/h8300/h8300.md: Adjust to the new prototype. | |
14608 | ||
5fc4b751 KH |
14609 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
14610 | ||
14611 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
14612 | redundant code. | |
14613 | ||
2d67bd7b JDA |
14614 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14615 | ||
14616 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
14617 | is a fixed register before returning pic_offset_table_rtx. | |
14618 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
14619 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
14620 | ||
5a852b3e JM |
14621 | 2002-01-28 Jason Merrill <jason@redhat.com> |
14622 | ||
6bb28965 | 14623 | * dwarf2.h: Sync with src version. |
5a852b3e | 14624 | |
3bca17dd PK |
14625 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
14626 | ||
14627 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
14628 | BT_FN_VOID_PTR_VAR. | |
14629 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
14630 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
14631 | first argument is now const void ptr. | |
14632 | ||
7dc3f8c0 KH |
14633 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
14634 | ||
14635 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
14636 | ||
e83cb5f0 RZ |
14637 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
14638 | ||
14639 | * toplev.c (lang_independent_init): Round up identifier size. | |
14640 | ||
5721cd84 RE |
14641 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
14642 | ||
14643 | * config.gcc: Revert previous change. | |
14644 | ||
d534119e AP |
14645 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
14646 | ||
14647 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
14648 | ||
5a721dab RE |
14649 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
14650 | ||
14651 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
14652 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
14653 | other non-elf netbsd config frags. | |
14654 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
14655 | collect2 will does that. | |
14656 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
14657 | shared-lib frobbing will work. | |
14658 | ||
da1775d6 KH |
14659 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
14660 | ||
14661 | * config/h8300/h8300.h: Fix formatting. | |
14662 | * config/h8300/h8300.md: Likewise. | |
14663 | ||
8f2e963b LR |
14664 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
14665 | ||
14666 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
14667 | the old, removed AAA_standards fix. | |
14668 | * fixinc/fixincl.x: Rebuilt. | |
14669 | ||
fdae5767 HPN |
14670 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
14671 | ||
14672 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
14673 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
14674 | register EH before registering __fini__start. | |
14675 | ||
2a2ecb63 AH |
14676 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
14677 | ||
14678 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
14679 | ||
8ed43adf KH |
14680 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
14681 | ||
14682 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
14683 | with ones that work. | |
14684 | ||
917afb0c RK |
14685 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
14686 | ||
14687 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
14688 | if not STRICT_ALIGNMENT. | |
14689 | * rtl.h (MEM_ALIGN): Likewise. | |
14690 | ||
f70a54cb CR |
14691 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
14692 | ||
14693 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
14694 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
14695 | ||
d8fd4914 KH |
14696 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
14697 | ||
14698 | * config/h8300/h8300.md (define_constants): New. | |
14699 | (anonymous patterns) Use defined constants appropriately. | |
14700 | ||
15e0e275 KH |
14701 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
14702 | ||
14703 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
14704 | ||
37a0f8a5 RH |
14705 | 2002-01-26 Richard Henderson <rth@redhat.com> |
14706 | ||
14707 | * sched-deps.c (reg_pending_uses_head): New. | |
14708 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
14709 | (find_insn_list): Don't mark inline. | |
14710 | (find_insn_mem_list): Remove. | |
14711 | (add_dependence_list, add_dependence_list_and_free): New. | |
14712 | (flush_pending_lists): Replace only_write param with separate | |
14713 | for_read and for_write parameters. Update all callers. Use | |
14714 | add_dependence_list_and_free. | |
14715 | (sched_analyze_1): Do not add reg dependencies here; just set | |
14716 | the pending bits. Use add_dependence_list. | |
14717 | (sched_analyze_2): Likewise. | |
14718 | (sched_analyze_insn): Replace schedule_barrier_found with | |
14719 | reg_pending_barrier. Add all dependencies for pending reg | |
14720 | uses, sets, and clobbers. | |
14721 | (sched_analyze): Don't add reg dependencies for calls, just | |
14722 | set pending bits. Use regs_invalidated_by_call. Treat | |
14723 | sched_before_next_call as a normal list, not a fake insn. | |
14724 | (init_deps): No funny init for sched_before_next_call. | |
14725 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
14726 | (init_deps_global): Init reg_pending_uses. | |
14727 | (finish_deps_global): Free it. | |
14728 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
14729 | (find_insn_mem_list): Remove. | |
14730 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
14731 | (propagate_deps): Use them. Zero temp mem lists. | |
14732 | ||
cea3bd3e RH |
14733 | 2002-01-26 Richard Henderson <rth@redhat.com> |
14734 | ||
14735 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
14736 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
14737 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
14738 | crtstuff.c instead of alpha assembly version. | |
14739 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
14740 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
14741 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
14742 | (__do_global_dtors_aux): Mark used. | |
14743 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
14744 | (fini_dummy, init_dummy): Remove. | |
14745 | ||
14746 | * config/alpha/crtbegin.asm: Remove file. | |
14747 | * config/alpha/crtend.asm: Remove file. | |
14748 | * config/alpha/t-crtbe: Remove file. | |
14749 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
14750 | (LINK_EH_SPEC): New. | |
14751 | ||
14752 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
14753 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
14754 | calling constructors. | |
14755 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
14756 | ||
14757 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
14758 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
14759 | CRT_END_INIT_DUMMY hack. | |
14760 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
14761 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
14762 | ||
14763 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
14764 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
14765 | ||
14766 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
14767 | invocation sequence. | |
14768 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
14769 | ||
14770 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
14771 | (FORCE_CODE_SECTION_ALIGN): New. | |
14772 | ||
60ffa0e5 RH |
14773 | 2002-01-26 Richard Henderson <rth@redhat.com> |
14774 | ||
14775 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
14776 | ||
61334ebe RH |
14777 | 2002-01-26 Richard Henderson <rth@redhat.com> |
14778 | ||
14779 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
14780 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
14781 | ||
1d788fb6 KH |
14782 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
14783 | ||
14784 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
14785 | cannot be triggered. | |
14786 | Restrict each bit extraction pattern to a variant on which the | |
14787 | pattern is tested. | |
14788 | ||
87611f88 JM |
14789 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
14790 | ||
14791 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
14792 | ||
cd74ec59 KH |
14793 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
14794 | ||
14795 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
14796 | be triggered. | |
14797 | Restrict each bit test pattern to a variant on which the | |
14798 | pattern is tested. | |
14799 | ||
93051e0f KG |
14800 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14801 | ||
14802 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
14803 | INTEGER_CST. | |
14804 | ||
216c995f DB |
14805 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
14806 | ||
14807 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
14808 | default setting. | |
14809 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
14810 | existing setting. | |
14811 | ||
33c7f925 GK |
14812 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
14813 | ||
14814 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
14815 | stripping off the first character. | |
14816 | (dbxout_source_file): Likewise. | |
14817 | ||
6cd444b4 DD |
14818 | 2002-01-25 DJ Delorie <dj@redhat.com> |
14819 | ||
14820 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
14821 | using rtx_equal_p, not by comparing pointers. | |
14822 | ||
751551d5 SE |
14823 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
14824 | ||
14825 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
14826 | for PIC_OFFSET_TABLE_REGNUM. | |
14827 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
14828 | ||
e564e618 DB |
14829 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
14830 | ||
14831 | * config.gcc (x86_64-*-freebsd*): New target. | |
14832 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
14833 | value. | |
14834 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
14835 | * config/i386/freebsd64.h: New file. | |
14836 | ||
ff3aaf17 DR |
14837 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
14838 | ||
4857d29d DR |
14839 | * config/alpha/x-vms (version): Make static. |
14840 | ||
14841 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
14842 | in previous checkin. | |
14843 | ||
ff3aaf17 DR |
14844 | * Makefile.in (install-headers-cp): New target. |
14845 | * config.gcc (alpha-dec-*vms*): Install headers with | |
14846 | install-headers-cp | |
14847 | ||
48d79c43 JH |
14848 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
14849 | ||
14850 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
14851 | avoid it's copies. | |
14852 | ||
995b5904 RK |
14853 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
14854 | ||
14855 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
14856 | of compare_tree_int. | |
14857 | (expand_builtin_strncat): Likewise. | |
14858 | * c-decl.c (finish_struct): Use tree_low_cst. | |
14859 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
14860 | * tree.c (compare_tree_int): Likewise. | |
14861 | ||
75eefe3f UW |
14862 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
14863 | ||
14864 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
14865 | adjustments even if they are implemented by more than two insns. | |
14866 | ||
5a133afd JH |
14867 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
14868 | ||
995b5904 | 14869 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
5a133afd JH |
14870 | * df.h (struct ref): Kill B. |
14871 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
14872 | ||
14873 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
14874 | * flow.c (propagate_one_insn): Use it. | |
14875 | (mark_used_regs): Handle NIL. | |
14876 | ||
ead39bdf | 14877 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
3d8dd3c0 GK |
14878 | |
14879 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
14880 | to help folding. | |
14881 | ||
01a2ccd0 DE |
14882 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
14883 | ||
14884 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
14885 | is restricted to legitimate form for instruction. | |
14886 | ||
fd29f6ea BW |
14887 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
14888 | ||
14889 | * doc/install.texi (xtensa-*-elf): New target. | |
14890 | (xtensa-*-linux*): New target. | |
14891 | * doc/contrib.texi: Add myself. | |
14892 | ||
55492b32 NC |
14893 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
14894 | ||
14895 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
14896 | purpose register to hold an SImode (or smaller) value. | |
14897 | ||
72c7c913 JJ |
14898 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
14899 | ||
14900 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
14901 | registry only. | |
14902 | * crtstuff.c: Likewise. | |
14903 | ||
c4df4ceb KH |
14904 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
14905 | ||
14906 | * config/h8300/h8300.md (negation patterns): Tighten | |
14907 | predicates to register_operand. | |
14908 | ||
70e531f5 AH |
14909 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
14910 | ||
3bca17dd PK |
14911 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
14912 | mode, not Pmode. | |
70e531f5 | 14913 | |
3bca17dd | 14914 | * builtins.c (expand_builtin_prefetch): Same. |
70e531f5 | 14915 | |
a4f76ef9 AO |
14916 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
14917 | ||
14918 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
14919 | modes. | |
14920 | ||
9bf25b09 KH |
14921 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
14922 | ||
14923 | * config/h8300/h8300.c (print_operand): Remove support for | |
14924 | operand character 'A'. | |
14925 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
14926 | operand character 'A' with either 'T' or 'S'. | |
14927 | ||
974af6a5 KH |
14928 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
14929 | ||
14930 | * config/h8300/h8300.c (print_operand): Remove support for | |
14931 | operand character 'U'. | |
14932 | ||
7a5bb7b8 AP |
14933 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
14934 | ||
3bca17dd | 14935 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
7a5bb7b8 | 14936 | |
92a4639e NC |
14937 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
14938 | ||
14939 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
14940 | values to be assigned to the stack pointer. | |
14941 | ||
467cb2da HP |
14942 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
14943 | ||
bebc7e8b | 14944 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
467cb2da HP |
14945 | to const_double needs to be done right for big-endian systems. |
14946 | ||
3b6cb920 JM |
14947 | 2002-01-24 Jason Merrill <jason@redhat.com> |
14948 | ||
b08dd119 | 14949 | PR c++/2432 |
3b6cb920 JM |
14950 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
14951 | to can_throw_internal. | |
14952 | ||
f3077311 RH |
14953 | 2002-01-23 Richard Henderson <rth@redhat.com> |
14954 | ||
14955 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
14956 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
14957 | ||
e1d71275 AO |
14958 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
14959 | ||
14960 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
14961 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
14962 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
14963 | as a temporary, if possible. | |
14964 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
14965 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
14966 | ||
dc271dbe KH |
14967 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
14968 | ||
14969 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
14970 | accept to accept 0x80 as operands[2]. | |
14971 | ||
1a9017f9 AO |
14972 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
14973 | ||
14974 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
14975 | ||
6932f033 RH |
14976 | 2002-01-23 Richard Henderson <rth@redhat.com> |
14977 | ||
14978 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
14979 | ||
709619d9 AH |
14980 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
14981 | ||
3bca17dd PK |
14982 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
14983 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
14984 | an attribute. | |
709619d9 | 14985 | |
3d709fd3 RH |
14986 | 2002-01-23 Richard Henderson <rth@redhat.com> |
14987 | ||
14988 | * expr.c (move_by_pieces_1): Extend size before negation. | |
14989 | ||
88a446c0 RH |
14990 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
14991 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
14992 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
14993 | * config/m68k/t-m68kelf: Likewise. | |
14994 | ||
03984308 BW |
14995 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
14996 | ||
14997 | * config/xtensa/elf.h: New file. | |
14998 | * config/xtensa/lib1funcs.asm: New file. | |
14999 | * config/xtensa/lib2funcs.S: New file. | |
15000 | * config/xtensa/linux.h: New file. | |
15001 | * config/xtensa/t-xtensa: New file. | |
15002 | * config/xtensa/xtensa-config.h: New file. | |
15003 | * config/xtensa/xtensa-protos.h: New file. | |
15004 | * config/xtensa/xtensa.c: New file. | |
15005 | * config/xtensa/xtensa.h: New file. | |
15006 | * config/xtensa/xtensa.md: New file. | |
15007 | * config.gcc (xtensa-*-elf*): New target. | |
15008 | (xtensa-*-linux*): New target. | |
15009 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
15010 | numbers. This is required for the Xtensa port. | |
15011 | * integrate.c (copy_insn_list): Handle case where the static | |
15012 | chain is in memory and the memory address has to be copied to | |
15013 | a register. | |
15014 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
15015 | (Xtensa Options): New node. | |
15016 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
15017 | ||
c3d5c3fa ZW |
15018 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
15019 | ||
a63bea75 ZW |
15020 | * diagnostic.c (internal_error): Do ICE suppression only |
15021 | when ENABLE_CHECKING is not defined. | |
15022 | ||
c3d5c3fa ZW |
15023 | * c-typeck.c (require_complete_type): Return error_mark_node |
15024 | if type is error_mark_node. | |
15025 | ||
1398974c JJ |
15026 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
15027 | ||
15028 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
15029 | -Os and issue a warning. | |
15030 | ||
807633e5 ZW |
15031 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
15032 | ||
15033 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
15034 | current (lack of) need for host configuration by hand. | |
15035 | ||
15036 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
15037 | references. Documentation of some target macros moved from | |
15038 | hostconfig.texi to tm.texi. | |
15039 | ||
cf8002d0 WC |
15040 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
15041 | ||
15042 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
15043 | defined. | |
15044 | ||
d1e76310 KH |
15045 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
15046 | ||
15047 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
15048 | operand[3]. | |
15049 | ||
b2115575 JM |
15050 | 2002-01-23 Jason Merrill <jason@redhat.com> |
15051 | ||
f893c16e JM |
15052 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
15053 | ||
b2115575 JM |
15054 | * function.c (assign_parms): Don't put args of inline functions |
15055 | into registers when not optimizing. | |
15056 | ||
6bacc7b0 NC |
15057 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
15058 | ||
15059 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
15060 | (prologue_use): New pattern. | |
15061 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
15062 | preference to gen_rtx_USE. | |
15063 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
15064 | gen_rtx_USE. | |
15065 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
15066 | gen_rtx_USE. | |
15067 | ||
a415f7bc HPN |
15068 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
15069 | ||
15070 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
15071 | ||
5372b3fb NB |
15072 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
15073 | ||
15074 | PR c/3504 | |
15075 | * doc/extend.texi: Correct documentation of __alignof__. | |
15076 | ||
bd571ffc ZW |
15077 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
15078 | ||
15079 | * params.h: Rename arguments of DEFPARAM so that it will be | |
15080 | recognized as a translation keyword. | |
15081 | ||
333c8841 AH |
15082 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
15083 | ||
bd571ffc ZW |
15084 | * extend.texi: Document altivec functions. |
15085 | Fix N-bit adjectives in X86 builtin documentation. | |
333c8841 | 15086 | |
38979c65 AO |
15087 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
15088 | ||
15089 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
15090 | auto_inc_dec values. | |
15091 | ||
7458a9f0 RE |
15092 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
15093 | ||
15094 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
15095 | after backslash. | |
15096 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
15097 | ||
129bd0c4 AO |
15098 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
15099 | ||
15100 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
15101 | ||
8b9b74a9 RH |
15102 | 2002-01-22 Richard Henderson <rth@redhat.com> |
15103 | ||
15104 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
15105 | copy_insn not copy_rtx. | |
15106 | ||
d0c9db30 AM |
15107 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
15108 | ||
15109 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
15110 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
15111 | properly sign extened. | |
15112 | (force_to_mode): Tweak for sign extended constop. | |
15113 | ||
1e7e480e RH |
15114 | 2002-01-22 Richard Henderson <rth@redhat.com> |
15115 | ||
15116 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
15117 | for_each_rtx instead of assuming we're already looking at the MEM. | |
15118 | (split_small_symbolic_mem_operand): Likewise. | |
15119 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
15120 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
15121 | ||
15122 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
2e271932 RH |
15123 | |
15124 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
15125 | sequence number for the literal. | |
15126 | (divmoddi_internal_er): Likewise. | |
15127 | ||
b7f2fb96 CR |
15128 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
15129 | ||
15130 | PR java/4972 | |
15131 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
15132 | in LIBICONV variable. | |
15133 | * configure: Regenerated. | |
15134 | ||
f66a0046 KW |
15135 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
15136 | ||
15137 | * dependence.c (build_def_use): Remove array_idx. | |
15138 | ||
e3b0efd1 KW |
15139 | * dwarfout.c (last_filename): Remove. |
15140 | (output_compile_unit_die): Remove last_filename. | |
15141 | ||
d8086cbb RS |
15142 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
15143 | Richard Henderson <rth@redhat.com> | |
15144 | ||
15145 | PR opt/3640 | |
15146 | * fold-const.c (fold): Optimize unsigned comparisons against | |
15147 | UINT_MAX (and similar unsigned constants). | |
15148 | ||
e8d52ba0 JJ |
15149 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
15150 | ||
d8086cbb | 15151 | * Makefile.in (loop.o): Depend on OPTABS_H. |
1398974c | 15152 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
d8086cbb | 15153 | against the predicate. |
11303d15 | 15154 | |
e8d52ba0 JJ |
15155 | PR target/5379 |
15156 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
15157 | for the address operand. | |
15158 | ||
cc7b420e RH |
15159 | 2002-01-22 Richard Henderson <rth@redhat.com> |
15160 | ||
15161 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
15162 | ||
816e265a CR |
15163 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
15164 | ||
15165 | PR other/5450 | |
cc7b420e RH |
15166 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
15167 | preprocessor flags. | |
816e265a | 15168 | |
7c884404 JT |
15169 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
15170 | ||
15171 | * config.gcc (x86_64-*-netbsd*): New target. | |
15172 | * config/i386/netbsd64.h: New file. | |
15173 | ||
2b672c08 AH |
15174 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
15175 | ||
d8086cbb | 15176 | * regrename.c (kill_value): Fix typo. |
2b672c08 AH |
15177 | |
15178 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
15179 | ||
d8086cbb | 15180 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
2b672c08 | 15181 | |
d8086cbb | 15182 | * config/rs6000/rs6000.h: Same. |
2b672c08 | 15183 | |
d8086cbb RS |
15184 | * function.c (instantiate_virtual_regs): Remove |
15185 | STARTING_FRAME_PHASE. | |
15186 | (assign_stack_local_1): Same. | |
15187 | Calculate frame phase. | |
2b672c08 | 15188 | |
4b02997f NC |
15189 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
15190 | ||
15191 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
15192 | variable declaration to outer scope in order to simplify | |
15193 | future extensions. | |
15194 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
15195 | arm_hard_regno_mode_ok. | |
15196 | * config/arm/arm-protos.h: Add a prototype for | |
15197 | arm_hard_regno_mode_ok. | |
15198 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
15199 | check for DImode values using IP_REGNUM. | |
15200 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
15201 | DImode values using IP_REGNUM. | |
15202 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
15203 | that DImode values are not stored in IP_REGNUM. | |
c14a3a45 NC |
15204 | |
15205 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
15206 | note with a USE. | |
15207 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
15208 | ||
8a827ab2 JM |
15209 | 2002-01-22 Jason Merrill <jason@redhat.com> |
15210 | ||
15211 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
15212 | consistency if this COMPOUND_STMT is scoped. | |
15213 | ||
cf403648 KH |
15214 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
15215 | ||
15216 | * predict.c: Fix formatting. | |
15217 | * print-tree.c: Likewise. | |
15218 | * protoize.c: Likewise. | |
15219 | * real.h: Likewise. | |
15220 | * rtl.h: Likewise. | |
15221 | * sbitmap.h: Likewise. | |
15222 | * scan.c: Likewise. | |
15223 | * sched-deps.c: Likewise. | |
15224 | * sched-vis.c: Likewise. | |
15225 | * sdbout.c: Likewise. | |
15226 | * sibcall.c: Likewise. | |
15227 | * ssa.c: Likewise. | |
15228 | * ssa-ccp.c: Likewise. | |
15229 | * ssa-dce.c: Likewise. | |
15230 | * stmt.c: Likewise. | |
15231 | * stor-layout.c: Likewise. | |
15232 | * system.h: Likewise. | |
15233 | ||
aea9695c RK |
15234 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
15235 | ||
a8765ae7 RK |
15236 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
15237 | if fits in bounds of base type. | |
15238 | ||
aea9695c RK |
15239 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
15240 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
15241 | (add_bound_info, default): If can't find a context, make a | |
15242 | SAVE_EXPR. | |
15243 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
15244 | ||
58bf601b HPN |
15245 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
15246 | ||
15247 | * c-typeck.c (parser_build_binary_op): If result from | |
15248 | build_binary_op is ERROR_MARK just return error_mark_node without | |
15249 | further processing. | |
15250 | ||
f982f805 JT |
15251 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
15252 | ||
15253 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
15254 | Split a.out-specific bits into... | |
15255 | * config/netbsd-aout.h: ...this. | |
15256 | * config/netbsd-elf.h: New file. | |
15257 | * config/alpha/netbsd-elf.h: Remove. | |
15258 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
15259 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
bd571ffc | 15260 | (STARTFILE_SPEC): Remove redundant definition. |
f982f805 JT |
15261 | (ENDFILE_SPEC): Likewise. |
15262 | (LINK_SPEC): Likewise. | |
15263 | (CPP_SPEC): Likewise. | |
15264 | (ASM_SPEC): Likewise. | |
15265 | (LIB_SPEC): Likewise. | |
15266 | (SWITCH_TAKES_ARG): Likewise. | |
15267 | (TARGET_MEM_FUNCTIONS): Likewise. | |
15268 | (CPP_PREDEFINES): Redefine. | |
15269 | (ASM_FINAL_SPEC): Remove redefinition. | |
15270 | (ASM_COMMENT_START): Redefine. | |
15271 | (FUNCTION_PROFILER): Define. | |
15272 | (TARGET_VERSION): Redefine. | |
15273 | Comment and formatting cleanup. | |
15274 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
15275 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
15276 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
15277 | big- or little-endian. | |
15278 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
15279 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
15280 | NetBSD configs. | |
15281 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
15282 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
15283 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
15284 | tmake_file, and don't lose previous tmake_file contents. | |
15285 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
15286 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
15287 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
15288 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
15289 | (mipsel-*-netbsd*): Rename this to... | |
15290 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
15291 | mips/little.h to tm_file for mips*el-*. | |
15292 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
15293 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
15294 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
15295 | ||
2e396476 JDA |
15296 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15297 | ||
15298 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
15299 | * pa.c (reg_before_reload_operand): New function implementation. | |
15300 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
15301 | contraints to "*m". | |
15302 | ||
3b5708e7 FS |
15303 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
15304 | ||
15305 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
15306 | ||
85e79f96 JDA |
15307 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15308 | ||
15309 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
15310 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
15311 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
15312 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
15313 | (ENDFILE_SPEC): Undefine. | |
15314 | (STARTFILE_SPEC): Redefine for PA. | |
15315 | ||
38abadee FS |
15316 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
15317 | ||
15318 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
15319 | ||
94f1d97c DJ |
15320 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
15321 | ||
15322 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
15323 | types. | |
15324 | ||
0333394e JJ |
15325 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
15326 | ||
15327 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
15328 | true for 64-bit mode only SSE registers in 32-bit mode. | |
15329 | ||
e9d1b155 KH |
15330 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
15331 | ||
15332 | * unwind-dw2.c: Fix formatting. | |
15333 | * unwind-dw2-fde.c: Likewise. | |
15334 | * unwind-dw2-fde.h: Likewise. | |
15335 | * unwind-pe.h: Likewise. | |
15336 | * varasm.c: Likewise. | |
15337 | * varray.h: Likewise. | |
15338 | ||
07338cf8 HPN |
15339 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
15340 | ||
15341 | Remove workaround for register stack overwrite bug in mmix. | |
15342 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
15343 | support for TARGET_REG_STACK_FILL_BUG. | |
15344 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
15345 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
15346 | Delete. | |
15347 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
15348 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
15349 | -mno-reg-stack-fill-bug-workaround. | |
15350 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
15351 | machine member has_call_without_parameters. | |
15352 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
15353 | -mreg-stack-fill-bug-workaround and | |
15354 | -mno-reg-stack-fill-bug-workaround. | |
15355 | (MMIX Options): Ditto. | |
15356 | ||
7192cbf1 KH |
15357 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
15358 | ||
15359 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
15360 | as appropriate. | |
15361 | Remove redundant code. | |
15362 | ||
d1552d7b JM |
15363 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
15364 | ||
15365 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
15366 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
15367 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
15368 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
15369 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
15370 | out target macro definitions and non-target-specific comments | |
15371 | mostly taken from old versions of the manual. | |
15372 | ||
ed168e45 KH |
15373 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
15374 | ||
15375 | * config/h8300/h8300.h: Fix comment formatting. | |
15376 | * config/ia64/aix.h: Likewise. | |
15377 | * config/ia64/ia64-protos.h: Likewise. | |
15378 | * config/ia64/ia64.c: Likewise. | |
15379 | * config/ia64/ia64.h: Likewise. | |
15380 | * config/ia64/ia64intrin.h: Likewise. | |
15381 | * config/ia64/linux.h: Likewise. | |
15382 | * config/ia64/unwind-aix.c: Likewise. | |
15383 | * config/ia64/unwind-ia64.c: Likewise. | |
15384 | ||
005e3e05 KH |
15385 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
15386 | ||
15387 | * config/h8300/h8300.c: Revise comments about shift code. | |
15388 | ||
64bead4c KH |
15389 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
15390 | ||
15391 | * config/h8300/h8300.c (function_arg): Update a comment. | |
15392 | ||
ed863595 KH |
15393 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
15394 | ||
15395 | * config/h8300/h8300.md: Update the comments at the beginning | |
15396 | of the file. | |
15397 | ||
5904dc87 KH |
15398 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
15399 | ||
15400 | * config/i370/i370.c: Fix comment formatting. | |
15401 | * config/i370/i370.h: Likewise. | |
15402 | * config/i370/i370.md: Likewise. | |
15403 | * config/i370/linux.h: Likewise. | |
15404 | ||
9702143f RK |
15405 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
15406 | ||
cbafacd1 RK |
15407 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
15408 | ||
9702143f RK |
15409 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
15410 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
15411 | in incomplete case. | |
15412 | ||
6b6996b8 GS |
15413 | 2002-01-20 Graham Stott <grahams@redhat.com> |
15414 | ||
15415 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
15416 | ||
eab854f6 JDA |
15417 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15418 | ||
15419 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
15420 | ||
5b029315 TR |
15421 | 2002-01-19 Tom Rix <trix@redhat.com> |
15422 | ||
15423 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
15424 | ||
1d690052 AH |
15425 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
15426 | ||
d8086cbb | 15427 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
1d690052 | 15428 | |
d8086cbb RS |
15429 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
15430 | STARTING_FRAME_PHASE. | |
15431 | (STARTING_FRAME_PHASE): New. | |
15432 | (instantiate_virtual_regs): Check saneness of | |
15433 | STARTING_FRAME_PHASE. | |
1d690052 | 15434 | |
d8086cbb | 15435 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
1d690052 | 15436 | |
4dd8c093 AO |
15437 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
15438 | ||
15439 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
15440 | ||
6f2a28d7 CR |
15441 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
15442 | ||
15443 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
15444 | be used for bootstrapping GCC 3.0. | |
15445 | ||
8763a465 KH |
15446 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
15447 | ||
15448 | * config/h8300/h8300.md: Fix an insn length. | |
15449 | ||
3ef42a0c KH |
15450 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
15451 | ||
15452 | * bitmap.h: Fix comment formatting. | |
15453 | * combine.c: Likewise. | |
15454 | * cppfiles.c: Likewise. | |
15455 | * c-pragma.h: Likewise. | |
15456 | * c-typeck.c: Likewise. | |
15457 | * df.c: Likewise. | |
15458 | * dwarf2out.c: Likewise. | |
15459 | * function.c: Likewise. | |
15460 | * gcc.c: Likewise. | |
15461 | * genattrtab.c: Likewise. | |
15462 | * gthr-win32.h: Likewise. | |
15463 | * haifa-sched.c: Likewise. | |
15464 | * predict.c: Likewise. | |
15465 | * rtlanal.c: Likewise. | |
15466 | * rtl.h: Likewise. | |
15467 | * unwind-dw2-fde.h: Likewise. | |
15468 | * unwind-pe.h: Likewise. | |
15469 | * vmsdbgout.c: Likewise. | |
15470 | ||
dd4dc3cd RK |
15471 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
15472 | ||
15473 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
15474 | if type_required and passed decl. | |
15475 | ||
5fb4cf24 AH |
15476 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
15477 | ||
d8086cbb RS |
15478 | * config.gcc (cpu_type): Include altivec.h in powerpc |
15479 | extra_headers. | |
15480 | Same for darwin. | |
5fb4cf24 | 15481 | |
d8086cbb | 15482 | * config/rs6000/altivec.h: New. |
5fb4cf24 | 15483 | |
2705baf5 DE |
15484 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
15485 | ||
15486 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
15487 | handling information. | |
15488 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
15489 | for AIX. | |
15490 | (Misunderstandings): Add template instantiation and static template | |
15491 | member information for AIX. | |
15492 | ||
dbd680e1 JM |
15493 | 2002-01-17 Jason Merrill <jason@redhat.com> |
15494 | ||
821adc5e JM |
15495 | * dbxout.c (dbxout_type): Support const and volatile. |
15496 | ||
dbd680e1 JM |
15497 | * except.c (add_partial_entry): Remove backwards compatibility code. |
15498 | (end_protect_partials): Likewise. | |
15499 | ||
d0e82870 JJ |
15500 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
15501 | ||
15502 | * config/ia64/ia64.md (prologue_use): New. | |
15503 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
15504 | gen_prologue_use instead of gen_rtx_USE. | |
15505 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
15506 | as CODE_FOR_pred_rel_mutex. | |
15507 | (ia64_sched_reorder2): Likewise. | |
15508 | ||
f9f45c65 EC |
15509 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
15510 | ||
15511 | * config/mips/r3900.h: Reformat. | |
15512 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
15513 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
15514 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
15515 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
15516 | * config/mips/t-elf: Remove mips3 multilib. | |
15517 | ||
c66c8b0e L |
15518 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
15519 | ||
15520 | * config/mips/linux.h: Include "mips/abi64.h". | |
15521 | ||
5f083b72 L |
15522 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
15523 | ||
15524 | * config/mips/t-linux: New. | |
15525 | ||
15526 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
15527 | ||
15528 | * config/mips/linux.h: Don't include "gofast.h". | |
15529 | (INIT_SUBTARGET_OPTABS): Removed. | |
15530 | ||
af3c90a6 KH |
15531 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
15532 | ||
15533 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
15534 | output_a_shift. | |
15535 | * config/h8300/h8300.c: Likewise. | |
15536 | * config/h8300/h8300.md: Likewise. | |
15537 | ||
a1bf0a16 KH |
15538 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
15539 | ||
15540 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
15541 | spaces after an opcode name. | |
15542 | (pushqi1_h8300hs): Likewise. | |
15543 | (pushhi1_h8300hs): Likewise. | |
15544 | ||
88ab0d1c KH |
15545 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
15546 | ||
15547 | * doc/extend.texi: Replace "option" with "attribute" | |
15548 | appropriately. | |
15549 | ||
51c561e3 JJ |
15550 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
15551 | ||
15552 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
15553 | (and:DI () (const_int -8)). | |
15554 | (split_small_symbolic_mem_operand): Split | |
15555 | (mem (and:DI () (const_int -8)). | |
15556 | ||
b8c1a6b8 JJ |
15557 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
15558 | ||
15559 | PR target/5309: | |
d8086cbb | 15560 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
b8c1a6b8 JJ |
15561 | same way as TYPE_IMUL. |
15562 | (ultrasparc_sched_reorder): Likewise. | |
15563 | * config/sparc/sparc.md (type): Add comment to update | |
15564 | ultrasparc_sched_reorder when making changes. | |
15565 | ||
1e4e4df2 KH |
15566 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
15567 | ||
15568 | * doc/invoke.texi: Change the dump file name of block | |
15569 | reordering pass from 28.bbro to 29.bbro. | |
15570 | Mention -dk option. | |
15571 | ||
14d920c0 JH |
15572 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
15573 | ||
15574 | * i386.md (minsf splitter): Fix pasto. | |
15575 | ||
2e99323f NC |
15576 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
15577 | ||
15578 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
15579 | to frame pointer initialisation instruction. | |
15580 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
15581 | initialisation instruction. | |
ab8081c1 NC |
15582 | (soft_df_operand): Do not accept the IP register. |
15583 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
2e99323f | 15584 | |
c4031a04 JJ |
15585 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
15586 | ||
15587 | PR target/5357: | |
15588 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
15589 | MASK_V8 being both set. | |
15590 | ||
44b8152b UW |
15591 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
15592 | ||
15593 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
15594 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
15595 | config/s390/s390.md (call, call_value): Add GOT register to | |
15596 | CALL_INSN_FUNCTION_USAGE where needed. | |
15597 | (call_exp, call_value_exp): New. | |
15598 | ||
1d6e90ac NC |
15599 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
15600 | ||
15601 | * config/arm/arm.c: General formatting tidy up. | |
15602 | ||
15603 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
60e8b9f0 GS |
15604 | |
15605 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
15606 | cast and when casting an integer literal to "rtx" pointer. | |
15607 | (expand_call): Likewise. | |
15608 | * flow.c (try_pre_increment): Likewise. | |
15609 | (find_use_as_address): Likewise. | |
15610 | * integrate.c (expand_iline_function): Likewise. | |
15611 | * regmove.c (try_auto_increment): Likewise. | |
15612 | ||
1d6e90ac | 15613 | 2002-01-16 Graham Stott <grahams@redhat.com> |
7b25b076 GS |
15614 | |
15615 | * sched-rgn.c (passed): Use sbitmap_free. | |
15616 | (header): Likewise. | |
15617 | (inner): Likewise. | |
15618 | (in_queue): Likewise. | |
15619 | (in_stack): Likewise. | |
15620 | ||
31fce3c4 EC |
15621 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
15622 | ||
15623 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
15624 | ||
c99d986a KH |
15625 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
15626 | ||
15627 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
15628 | * system.h: Poison SLOW_ZERO_EXTEND. | |
15629 | * doc/tm.texi: Remove. | |
15630 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
15631 | * config/arm/arm.h: Likewise. | |
15632 | * config/avr/avr.h: Likewise. | |
15633 | * config/clipper/clipper.h: Likewise. | |
15634 | * config/convex/convex.h: Likewise. | |
15635 | * config/d30v/d30v.h: Likewise. | |
15636 | * config/dsp16xx/dsp16xx.h: Likewise. | |
15637 | * config/elxsi/elxsi.h: Likewise. | |
15638 | * config/fr30/fr30.h: Likewise. | |
15639 | * config/h8300/h8300.h: Likewise. | |
15640 | * config/i370/i370.h: Likewise. | |
15641 | * config/i386/i386.h: Likewise. | |
15642 | * config/m68k/m68k.h: Likewise. | |
15643 | * config/mips/mips.h: Likewise. | |
15644 | * config/ns32k/ns32k.h: Likewise. | |
15645 | * config/pdp11/pdp11.h: Likewise. | |
15646 | * config/pj/pj.h: Likewise. | |
15647 | * config/s390/s390.h: Likewise. | |
15648 | * config/sh/sh.h: Likewise. | |
15649 | * config/stormy16/stormy16.h: Likewise. | |
15650 | * config/v850/v850.h: Likewise. | |
15651 | * config/vax/vax.h: Likewise. | |
15652 | * config/we32k/we32k.h: Likewise. | |
15653 | ||
acfab996 AH |
15654 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
15655 | ||
d8086cbb RS |
15656 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
15657 | (altivec_lvsl): Change constraint to b. | |
15658 | (altivec_lvsr): Same. | |
15659 | (altivec_lvebx): Same. | |
15660 | (altivec_lvehx): Same. | |
15661 | (altivec_lvewx): Same. | |
15662 | (altivec_lvxl): Same. | |
15663 | (altivec_lvx): Same. | |
15664 | (altivec_stvx): Add parallel. | |
15665 | (altivec_stvxl): Same. | |
15666 | (altivec_stvehx): Same. | |
15667 | (altivec_stvebx): Same. | |
15668 | (altivec_stvebx): Same. | |
acfab996 | 15669 | |
5e505bc9 AH |
15670 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
15671 | ||
d8086cbb | 15672 | * config.gcc: Change altivec.h to altivec-defs.h. |
5e505bc9 | 15673 | |
d8086cbb | 15674 | * config/rs6000/altivec.h: Delete. |
5e505bc9 | 15675 | |
d8086cbb | 15676 | * config/rs6000/altivec-defs.h: Add. |
5e505bc9 | 15677 | |
5c41fdfb JDA |
15678 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15679 | ||
15680 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
15681 | and UMOD modes. | |
15682 | ||
15683 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
15684 | less than or equal to eight bytes. | |
15685 | ||
15686 | * vax.md (andsi3): Remove constraints and change SET destination | |
15687 | operand type to nonimmediate_operand. | |
15688 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
15689 | when it is a CONST_INT. | |
15690 | ||
de097a2d JM |
15691 | 2002-01-15 Jason Merrill <jason@redhat.com> |
15692 | ||
15693 | * c-common.def (FILE_STMT): New code. | |
15694 | * c-common.c (statement_code_p): It's a statement. | |
15695 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
15696 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
15697 | (last_expr_filename): New macro. | |
15698 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
15699 | (add_stmt): If the filename changed, also insert a | |
15700 | FILE_STMT. | |
15701 | (expand_stmt): Handle seeing one. | |
15702 | ||
4a913dd6 EC |
15703 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
15704 | ||
15705 | * flow.c (propagate_one_insn): Add error message and print out | |
15706 | insn for debugging. | |
15707 | ||
006946e4 JM |
15708 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
15709 | ||
15710 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
15711 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
15712 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
15713 | TRAMPOLINE_ALIGNMENT. | |
15714 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
15715 | to be in bits. | |
15716 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
15717 | PCC_BITFIELD_TYPE_MATTERS. | |
15718 | * config/interix.h (STDC_VALUE): Remove. Use | |
15719 | STDC_0_IN_SYSTEM_HEADERS. | |
15720 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
15721 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
15722 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
15723 | ||
751a1458 CR |
15724 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
15725 | ||
15726 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
15727 | not work on this platform currently. | |
15728 | ||
57771fe8 JM |
15729 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
15730 | ||
15731 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
15732 | readonly_warning in _(). | |
15733 | ||
0e83ceb1 | 15734 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
9a52433e | 15735 | |
0e83ceb1 | 15736 | * gcc.c (delete_if_ordinary): Backout previous change. |
9a52433e | 15737 | |
8e2e89f7 KH |
15738 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
15739 | ||
0e83ceb1 DR |
15740 | * config/h8300/h8300.c (print_operand): Remove support for |
15741 | unused operand characters. | |
15742 | ||
8e2e89f7 KH |
15743 | * read-rtl.c: Fix formatting. |
15744 | * real.c: Likewise. | |
15745 | * recog.c: Likewise. | |
15746 | * regclass.c: Likewise. | |
15747 | * regmove.c: Likewise. | |
15748 | * reg-stack.c: Likewise. | |
15749 | * reload1.c: Likewise. | |
15750 | * rtlanal.c: Likewise. | |
15751 | ||
b531087a KH |
15752 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
15753 | ||
15754 | * config/i386/i386.c: Fix formatting. | |
15755 | ||
7c94ce7f JJ |
15756 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
15757 | ||
15758 | * c-typeck.c (process_init_element): Don't save_expr | |
15759 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
15760 | ||
6041bf2f DE |
15761 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
15762 | ||
15763 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
15764 | emit optional traceback table if optimize_size or TARGET_ELF. | |
15765 | * config/rs6000/rs6000.md (prefetch): New. | |
15766 | ||
8559c8c0 AJ |
15767 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
15768 | ||
15769 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
15770 | ||
70f122f2 KH |
15771 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
15772 | ||
15773 | * mips-tfile.c: Fix formatting. | |
15774 | ||
6a7b4ca6 JH |
15775 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
15776 | ||
15777 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
15778 | ||
e7afe229 KH |
15779 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
15780 | ||
15781 | * config/h8300/h8300-protos.h: Remove the prototype for | |
15782 | eq_operator. | |
15783 | * config/h8300/h8300.c (eq_operator): Remove. | |
15784 | ||
7d378549 RH |
15785 | 2002-01-14 Richard Henderson <rth@redhat.com> |
15786 | ||
15787 | * config/i386/i386.md (prefetch): Tidy. | |
15788 | (prefetch_3dnow): Fix locality operand. | |
15789 | ||
ab093b81 RH |
15790 | 2002-01-14 Richard Henderson <rth@redhat.com> |
15791 | ||
15792 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
15793 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
15794 | ||
d300f51f HPN |
15795 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
15796 | ||
15797 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
15798 | copy_rtx in loop performing multiple changes. | |
15799 | ||
655dd289 JJ |
15800 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
15801 | ||
15802 | * except.c (remove_unreachable_regions): New. | |
15803 | (free_eh_status): Clear exception_handler_labels. | |
15804 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
15805 | (find_exception_handler_labels): Don't add the same label more than | |
15806 | once. | |
15807 | (remove_exception_handler_label): Don't die if | |
15808 | find_exception_handler_labels hasn't been called for the current | |
15809 | function yet. | |
15810 | ||
1fba46a7 JH |
15811 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
15812 | ||
15813 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
15814 | gcse. | |
15815 | ||
0975678f JM |
15816 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
15817 | ||
15818 | * doc/extend.texi: Move documentation of X86 built-in functions | |
15819 | here. | |
15820 | * doc/invoke.texi: From here. | |
15821 | * doc/sourcebuild.texi: Document location of documentation for | |
15822 | machine built-in functions. | |
15823 | ||
969815c7 CF |
15824 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
15825 | ||
15826 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
15827 | (SHOULD_MMAP): Ditto. | |
15828 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
15829 | be used. | |
15830 | ||
494c950b JH |
15831 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
15832 | ||
15833 | * unroll.c (final_reg_note_copy): Properly handle | |
15834 | REG_LABEL | |
15835 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
15836 | ||
69a0611f GK |
15837 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
15838 | ||
15839 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
15840 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
15841 | ||
b90e45ae JH |
15842 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
15843 | ||
15844 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
15845 | threaded loop. | |
15846 | ||
8377288b TR |
15847 | 2002-01-14 Tom Rix <trix@redhat.com> |
15848 | ||
15849 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
15850 | ||
9f37ccb1 UW |
15851 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
15852 | ||
15853 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
15854 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
15855 | (clrstrdi, clrstrsi): Adapt callers. | |
15856 | ||
15857 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
15858 | ||
8559c8c0 | 15859 | (movti splitter): Never use register 0 as base register. |
9f37ccb1 | 15860 | |
6c2d03d0 HP |
15861 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
15862 | ||
8559c8c0 AJ |
15863 | * combine.c (simplify_shift_const): Always generate new rtx |
15864 | for shift expression instead of reusing given expression. | |
6c2d03d0 | 15865 | |
d3e98208 RK |
15866 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
15867 | ||
15868 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
15869 | alpha_legitimize_address unless mode is Pmode. | |
15870 | ||
9f339dde GK |
15871 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
15872 | ||
15873 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
15874 | user. | |
15875 | ||
15876 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
15877 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
15878 | for xstormy16 too. | |
15879 | ||
02a10130 RH |
15880 | 2002-01-13 Richard Henderson <rth@redhat.com> |
15881 | ||
15882 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
15883 | for an input reload of the source. | |
15884 | ||
61d47787 GP |
15885 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
15886 | ||
15887 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
15888 | more generic. | |
15889 | ||
f0df8029 DR |
15890 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
15891 | ||
15892 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
15893 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
15894 | ||
d2a37256 DR |
15895 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
15896 | ||
a9e8a5ee RK |
15897 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
15898 | ||
15899 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
15900 | ||
bc06712d TR |
15901 | 2002-01-12 Tom Rix <trix@redhat.com> |
15902 | ||
8559c8c0 | 15903 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
bc06712d TR |
15904 | TARGET_POWERPC64. |
15905 | ||
7cbe9bb7 RH |
15906 | 2002-01-12 Richard Henderson <rth@redhat.com> |
15907 | ||
38b29e64 RH |
15908 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
15909 | ||
58605ba0 RH |
15910 | * doc/invoke.texi: Update Alpha options. |
15911 | ||
7cbe9bb7 RH |
15912 | * doc/invoke.texi: Update i386 built-in function lists. |
15913 | ||
9d560860 JH |
15914 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
15915 | ||
15916 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
15917 | referencing outside. | |
15918 | ||
bb93b973 RK |
15919 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
15920 | ||
15921 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
15922 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
15923 | offsets, and change line folding. | |
15924 | * optabs.c (expand_binop): Remove warnings. | |
15925 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
8559c8c0 | 15926 | |
f9f6b7df GS |
15927 | 2002-01-12 Graham Stott <grahams@redhat.com> |
15928 | ||
15929 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
15930 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
15931 | dangling else warning and constify WHAT. | |
15932 | * except.h (struct function, struct inline_remap): Move | |
15933 | struct tag forward defs before all prototypes. | |
15934 | (duplicate_eh_regions): Whitespace. | |
15935 | ||
4a692617 NC |
15936 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
15937 | ||
15938 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
15939 | MODE_BASE_REG_CLASS. | |
15940 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
15941 | ||
e37af218 RH |
15942 | 2002-01-12 Richard Henderson <rth@redhat.com> |
15943 | ||
15944 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
15945 | (ix86_expand_vector_move): New. | |
15946 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
15947 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
15948 | Remove old prefetch builtins. Special case the logicals removed above. | |
15949 | (ix86_expand_builtin): Likewise. | |
15950 | (safe_vector_operand): Use V4SFmode, not TImode. | |
15951 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
15952 | (ix86_expand_timode_binop_builtin): New. | |
15953 | * config/i386/i386-protos.h: Update. | |
15954 | * config/i386/i386.h (enum ix86_builtins): Update. | |
15955 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
15956 | Use ix86_expand_vector_move in vector move expanders. | |
15957 | (movti_internal, movti_rex64): Add xorps alternative. | |
15958 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
15959 | (prefetch): Don't work so hard. | |
15960 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
15961 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
15962 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
15963 | ||
6f1a6c5b RH |
15964 | 2002-01-11 Richard Henderson <rth@redhat.com> |
15965 | ||
15966 | * config/i386/mmintrin.h: New file. | |
15967 | * config/i386/xmmintrin.h: New file. | |
15968 | * config.gcc (i?86-*-*): Add extra_headers. | |
15969 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
15970 | truncation codes. | |
15971 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
15972 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
15973 | not the lowpart subreg. | |
15974 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
15975 | on error. | |
15976 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
15977 | ||
cdb574d3 MH |
15978 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
15979 | ||
15980 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
15981 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
8559c8c0 | 15982 | |
cf11ac55 HB |
15983 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
15984 | ||
15985 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
15986 | every where we allocate a register. | |
15987 | ||
76ac938b MH |
15988 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
15989 | ||
15990 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
15991 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
15992 | ||
a84b4898 JJ |
15993 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
15994 | ||
15995 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
15996 | ||
aaef1c12 JJ |
15997 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
15998 | ||
15999 | * doc/rtl.texi (Insns): Fix 2 typos. | |
16000 | ||
5d22c1a5 JM |
16001 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
16002 | ||
16003 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
16004 | options. Use @table @gcctabopt for MMIX options. Add index | |
16005 | entries for MMIX options. Start new paragraph with first | |
16006 | heading of the machine-dependent options. | |
16007 | ||
3e92902c CR |
16008 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
16009 | ||
16010 | PR other/5299 | |
16011 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
16012 | * combine.c (force_to_mode): Same. | |
16013 | * reload1.c (clear_reload_reg_in_use): Same. | |
16014 | ||
96ae8197 NC |
16015 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
16016 | ||
16017 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
16018 | and 'subtargets'. | |
16019 | ||
9b780582 AJ |
16020 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
16021 | Brad Lucier <lucier@math.purdue.edu> | |
16022 | ||
16023 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
16024 | mcpu. | |
16025 | ||
12300dad DR |
16026 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
16027 | ||
16028 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
16029 | Protect with IN_LIBGCC. | |
16030 | (LINK_EH_SPEC): Add required trailing space. | |
16031 | ||
27511a9a NP |
16032 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
16033 | ||
9b780582 | 16034 | * c-tree.h: Move function declarations so that they are listed |
27511a9a NP |
16035 | under the filename which contains them. |
16036 | (check_identifier, finish_decl_top_level, | |
16037 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
16038 | ||
4daeab16 AJ |
16039 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
16040 | ||
16041 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
16042 | march. | |
16043 | ||
40571d67 RH |
16044 | 2002-01-10 Richard Henderson <rth@redhat.com> |
16045 | ||
16046 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
16047 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
16048 | new operand with the sequence number for the lituse. When splitting | |
16049 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
16050 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
16051 | ||
6525c0e7 AH |
16052 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
16053 | ||
d8086cbb RS |
16054 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
16055 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
16056 | stvxl. | |
16057 | (altivec_expand_builtin): Same. | |
16058 | (altivec_expand_stv_builtin): New. | |
16059 | ||
16060 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
16061 | ||
16062 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
16063 | ("altivec_lvehx"): New. | |
16064 | ("altivec_lvewx"): New. | |
16065 | ("altivec_lvxl"): New. | |
16066 | ("altivec_lvx"): New. | |
16067 | ("altivec_stvx"): New. | |
16068 | ("altivec_stvebx"): New. | |
16069 | ("altivec_stvehx"): New. | |
16070 | ("altivec_stvewx"): New. | |
16071 | ("altivec_stvxl"): New. | |
6525c0e7 | 16072 | |
cda94cbb RH |
16073 | 2002-01-10 Richard Henderson <rth@redhat.com> |
16074 | ||
16075 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
16076 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
16077 | care not to delete instructions twice. | |
16078 | ||
df2c9a44 ZW |
16079 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
16080 | ||
16081 | * toplev.c: Don't declare environ (it's not used anywhere). | |
16082 | * configure.in: Don't check for declaration of environ. | |
16083 | * config/i386/xm-mingw32.h: Don't #define environ. | |
16084 | * config.in, configure: Regenerate. | |
16085 | ||
5dd8a9b1 ZW |
16086 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
16087 | ||
16088 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
16089 | * configure: Regenerate. | |
16090 | ||
16091 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
16092 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
16093 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
16094 | alpha/xm-vms.h. | |
16095 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
16096 | LIMITS_H_TEST here, not in m68k/x-next. | |
16097 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
16098 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
16099 | ||
16100 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
16101 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
16102 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
16103 | ||
16104 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
16105 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
16106 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
16107 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
16108 | replacement of quadlib.asm with quadlib.c. | |
16109 | ||
16110 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
16111 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
16112 | config/rs6000/xm-beos.h: Delete file. | |
16113 | ||
16114 | * config.gcc: Update to match above changes. | |
16115 | ||
d10dd44c KH |
16116 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16117 | ||
16118 | * config/h8300/h8300.h: Fix comment typos. | |
16119 | * config/h8300/h8300.md: Likewise. | |
16120 | * config/h8300/lib1funcs.asm: Likewise. | |
16121 | ||
04894c5a DJ |
16122 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
16123 | ||
16124 | PR optimization/5269 | |
16125 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
16126 | sign when n_iterations known, to avoid confusing caller. | |
16127 | ||
adc9fe67 KH |
16128 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16129 | ||
16130 | * doc/extend.texi (deprecated): Fix a typo. | |
16131 | ||
b446e5a2 JH |
16132 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
16133 | ||
16134 | * basic-block.h (update_br_prob_note): Declare. | |
16135 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
16136 | (try_forward_edges): Care negative frequencies and update note. | |
16137 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
16138 | (try_crossjump_to_edge): use update_br_prob_note. | |
16139 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
16140 | * cfrtl.c (update_br_prob_note): New. | |
16141 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
16142 | ||
16143 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
16144 | shift. | |
16145 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
16146 | ||
16147 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
16148 | (cprop_insn): Likewise. | |
16149 | ||
a01da83b KH |
16150 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16151 | ||
16152 | * toplev.c: Fix formatting. | |
16153 | * tree.c: Likewise. | |
16154 | * tree-dump.c: Likewise. | |
16155 | * unroll.c: Likewise. | |
16156 | * unwind-dw2.c: Likewise. | |
16157 | * unwind-dw2-fde.c: Likewise. | |
16158 | * unwind-dw2-fde-glibc.c: Likewise. | |
16159 | * unwind-sjlj.c: Likewise. | |
16160 | ||
9f85bca7 JM |
16161 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
16162 | ||
16163 | * doc/invoke.texi: Document PDP-11 options. | |
16164 | ||
f48f56b1 KH |
16165 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16166 | ||
16167 | * config/h8300/h8300.h: Fix formatting. | |
16168 | ||
ead39bdf | 16169 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
16170 | |
16171 | Add __attribute__ ((deprecated)). | |
16172 | * extend.texi: Document __attribute__ ((deprecated)). | |
16173 | * invoke.texi: Document -Wno-deprecated-declarations. | |
16174 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
16175 | * testsuite/gcc.dg/deprecated.c: New C test. | |
16176 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
16177 | (c_common_attribute_table): Add "deprecated" entry. | |
16178 | (handle_deprecated_attribute): New function. | |
16179 | * c-decl.c (deprecated_states): New enum. | |
16180 | deprecated_state: State of "deprecated" handling. | |
16181 | (start_decl): Set deprecated_state based on attributes. | |
16182 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
16183 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
16184 | (build_external_ref): Test for deprecated primaries. | |
16185 | * diagnostic.c (warn_deprecated_use) New function to issue | |
16186 | warnings about __attribute__ ((depricated)) references. | |
16187 | * flags.h (warn_deprecated_decl): Extern declared for | |
16188 | -W[no-]deprecated-declarations option. | |
16189 | * print-tree.c (print_node): Show deprecated flag status. | |
16190 | * toplev.c (warn_deprecated_decl): Defined. | |
16191 | (W_options): Added "deprecated-declaration". | |
16192 | * toplev.h (warn_deprecated_use): Extern declared. | |
16193 | * tree.h (struct tree_common): Define deprecated_flag. | |
16194 | (TREE_DEPRECATED): New macro to access flag. | |
16195 | * cp/call.c (build_call): Test for deprecated calls. | |
16196 | * cp/class.c (add_implicitly_declared_members): Set global | |
16197 | flag to tell grokdeclarator to not issue deprecated warnings. | |
16198 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
16199 | * cp/decl.c (deprecated_states): New enum. | |
16200 | (start_decl): Set deprecated_state based on attributes. | |
16201 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
16202 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
16203 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
16204 | ||
ead39bdf | 16205 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
16206 | |
16207 | Fix to assign attributes to inline member functions. | |
16208 | * cp/decl.c (start_method): Handle attrlist. | |
16209 | ||
47073a38 KH |
16210 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16211 | ||
16212 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
16213 | ||
d288e53d DE |
16214 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
16215 | ||
16216 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
16217 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
16218 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
16219 | Recurse for any operand of AND as long as constant is non-zero. | |
16220 | ||
08a02ffa KH |
16221 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16222 | ||
16223 | * config/h8300/h8300.md: Remove constraints from expanders. | |
16224 | ||
c203e7fe KH |
16225 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16226 | ||
16227 | * varasm.c: Fix formatting. | |
16228 | * varray.c: Likewise. | |
16229 | * vmsdbgout.c: Likewise. | |
16230 | * xcoffout.c: Likewise. | |
16231 | ||
bcb3bc6d JH |
16232 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
16233 | ||
16234 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
cda94cbb | 16235 | update edge probabilities to match. |
bcb3bc6d | 16236 | |
0a553c7e JM |
16237 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
16238 | ||
16239 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
16240 | dependencies. | |
16241 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
16242 | * doc/configfiles.texi: Make a subsubsection. Update. | |
16243 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
16244 | instructions for building GCC. | |
16245 | * doc/makefile.texi: Make a subsection. | |
16246 | * doc/gccint.texi: Update. | |
16247 | ||
adc7fcb8 JH |
16248 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
16249 | ||
16250 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
16251 | ||
5a4dd0b3 NP |
16252 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
16253 | ||
16254 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
16255 | ||
3987b9db JH |
16256 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
16257 | ||
16258 | * optabs.c (expand_fix): Look for wider integer modes first. | |
16259 | ||
16260 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
16261 | memory model. | |
16262 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
16263 | (fop_df_4): Disable for SSE compilation. | |
16264 | ||
ceb15948 | 16265 | 2002-01-10 Graham Stott <grahams@redhat.com> |
117f9d28 GS |
16266 | |
16267 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
cda94cbb | 16268 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
117f9d28 | 16269 | |
e1623399 RH |
16270 | 2002-01-10 Richard Henderson <rth@redhat.com> |
16271 | ||
16272 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
16273 | ||
c4abb293 RH |
16274 | 2002-01-10 Richard Henderson <rth@redhat.com> |
16275 | ||
16276 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
16277 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
16278 | ||
d2604ae9 KH |
16279 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
16280 | ||
16281 | * combine.c (can_combine_p): Fix a comment typo. | |
16282 | ||
766c7ad1 ZW |
16283 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
16284 | ||
16285 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
16286 | empty list correctly. Change loop index $t to $f for | |
16287 | consistency with rest of Makefile. | |
16288 | ||
95385cbb AH |
16289 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
16290 | ||
16291 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
16292 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
16293 | ||
16294 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
16295 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
16296 | (altivec_init_builtins): Same. | |
16297 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
16298 | (altivec_expand_binop_builtin): Same. | |
16299 | (altivec_expand_ternop_builtin): Same. | |
16300 | (bdesc_dst): New. | |
16301 | ||
16302 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
16303 | ("altivec_vctuxs"): Fix typo. | |
16304 | ("altivec_vnmsubfp"): Same. | |
16305 | ("altivec_dssall"): New. | |
16306 | ("altivec_mfvscr"): New. | |
16307 | ("altivec_dss"): New. | |
16308 | ("altivec_lvsl"): New. | |
16309 | ("altivec_lvsr"): New. | |
16310 | ("altivec_dstt"): New. | |
16311 | ("altivec_dstst"): New. | |
16312 | ("altivec_dststt"): New. | |
16313 | ("altivec_dst"): New. | |
16314 | ||
16315 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
16316 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
16317 | ||
e4ac76b4 RH |
16318 | 2002-01-09 Richard Henderson <rth@redhat.com> |
16319 | ||
16320 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
16321 | ||
c893e4a4 HPN |
16322 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
16323 | ||
16324 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
16325 | function. | |
16326 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
16327 | prototype. | |
7387c700 | 16328 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
c893e4a4 | 16329 | |
f4f4d0f8 KH |
16330 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
16331 | ||
16332 | * read-rtl.c: Fix formatting. | |
16333 | * real.c: Likewise. | |
16334 | * regclass.c: Likewise. | |
16335 | * regrename.c: Likewise. | |
16336 | * reg-stack.c: Likewise. | |
16337 | * reload1.c: Likewise. | |
16338 | * reload.c: Likewise. | |
16339 | * rtl.c: Likewise. | |
16340 | ||
cc863bea KH |
16341 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
16342 | ||
16343 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
16344 | to extract items in the expr_list chain. | |
16345 | ||
7b4dfe3d RH |
16346 | 2002-01-09 Richard Henderson <rth@redhat.com> |
16347 | ||
16348 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
16349 | ||
1d969638 RH |
16350 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
16351 | ||
7d5ab30e JH |
16352 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
16353 | ||
16354 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
16355 | ||
9503f3d1 RH |
16356 | 2002-01-09 Richard Henderson <rth@redhat.com> |
16357 | ||
16358 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
16359 | Unify code from various alternatives. | |
16360 | ||
42bd17b7 RH |
16361 | 2002-01-09 Richard Henderson <rth@redhat.com> |
16362 | ||
16363 | * regrename.c (copy_value): Ignore the copy if the source register | |
16364 | is present in the value chain with a narrower mode. | |
16365 | ||
bdca3c33 HB |
16366 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
16367 | ||
cda94cbb RH |
16368 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
16369 | for the c4x target. Also improve layout. | |
bdca3c33 | 16370 | |
c73a5e94 RH |
16371 | 2002-01-09 Richard Henderson <rth@redhat.com> |
16372 | ||
16373 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
16374 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
16375 | to match insn patterns. | |
16376 | ||
dd0a18c0 RH |
16377 | 2002-01-09 Richard Henderson <rth@redhat.com> |
16378 | ||
16379 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
16380 | (copyprop_hardreg_forward_1): Likewise. | |
16381 | ||
1fd9ac1e JDA |
16382 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16383 | ||
16384 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
16385 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
16386 | ||
5cb265ec BM |
16387 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
16388 | ||
16389 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
16390 | gets undefined. For Darwin. | |
16391 | ||
fcd8fa8b HB |
16392 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
16393 | ||
16394 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
16395 | ||
bd3ab23a MH |
16396 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
16397 | ||
16398 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
16399 | ||
21e16bd6 RH |
16400 | 2002-01-08 Richard Henderson <rth@redhat.com> |
16401 | ||
16402 | * regrename.c (copy_value): Ignore overlapping copies. | |
16403 | ||
a5376276 RH |
16404 | 2002-01-08 Richard Henderson <rth@redhat.com> |
16405 | ||
16406 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
16407 | as needed to avoid shared structure. | |
16408 | ||
18cf8dda KH |
16409 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
16410 | ||
16411 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
16412 | H8/300H and H8/S. | |
16413 | ||
16c484c7 JM |
16414 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
16415 | ||
16416 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
16417 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
16418 | documentation of obsolete macros. | |
16419 | * system.h: Poison these macros. | |
16420 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
16421 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
16422 | config/c4x/c4x.h, config/clipper/clipper.h, | |
16423 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
16424 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
16425 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
16426 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
16427 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
16428 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
16429 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
16430 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
16431 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
16432 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
16433 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
16434 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
16435 | definitions and commented out definitions of obsolete macros. | |
16436 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
16437 | of MAX_INT_TYPE_SIZE. | |
16438 | ||
14b3e8ef UW |
16439 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
16440 | ||
16441 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
16442 | return ADDR_REGS if it isn't a subset of the given class. | |
16443 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
16444 | FP_REGS, but all superclasses as well. | |
16445 | ||
16446 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
16447 | ||
16448 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
16449 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
16450 | must not be a const_int. | |
16451 | ||
a693284d RH |
16452 | 2002-01-08 Richard Henderson <rth@redhat.com> |
16453 | ||
16454 | * Makefile.in (toplev.o): Depend on options.h. | |
16455 | (gcc.o): Depend on specs.h. | |
16456 | ||
b3ca30df JJ |
16457 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
16458 | ||
16459 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
16460 | mode. | |
16461 | ||
24dbb440 GP |
16462 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
16463 | ||
16464 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
16465 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
16466 | of http://gcc.gnu.org/thanks.html. | |
16467 | ||
234e114c DJ |
16468 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
16469 | ||
16470 | * config/rs6000/rs6000.md: Add missing int register | |
16471 | target case to movdf_low. | |
16472 | ||
0d24f4d1 ZW |
16473 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
16474 | ||
16475 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
16476 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
16477 | (cppinit.o): Depend on except.h. | |
16478 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
16479 | s-specs): New rules. | |
16480 | ||
16481 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
16482 | Don't create specs.h/options.h/gencheck.h here. Remove | |
16483 | unnecessary variable settings from last argument of AC_OUTPUT. | |
16484 | * config.in, configure: Regenerate. | |
16485 | * intl.c: Hardcode package name as "gcc". | |
16486 | ||
16487 | * cppinit.c: Include except.h. | |
16488 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
16489 | appropriate. | |
16490 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
16491 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
16492 | (!)USING_SJLJ_EXCEPTIONS. | |
16493 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
16494 | ||
ed722f66 JM |
16495 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
16496 | ||
16497 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
16498 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
16499 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
16500 | documentation of obsolete macros. | |
16501 | * system.h: Poison these macros. | |
16502 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
16503 | config/stormy16/stormy16.h: Remove definitions and commented out | |
16504 | definitions of obsolete macros. | |
16505 | ||
31e5e29a NP |
16506 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
16507 | ||
16508 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
16509 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
16510 | warnings. | |
16511 | ||
bc1fa59c UW |
16512 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
16513 | ||
16514 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
16515 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
16516 | to insn adjusting stack/frame pointer. | |
0d24f4d1 | 16517 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
bc1fa59c UW |
16518 | accept operands that cause the insn to be non-splittable. |
16519 | ||
a8086abf GS |
16520 | 2002-01-08 Graham Stott <grahams@redhat.com> |
16521 | ||
16522 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
16523 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
16524 | (C_TYPE_BEING_DEFINED): Likewise. | |
16525 | (C_IS_RESERVED_WORD): Likewise. | |
16526 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
16527 | (C_DECL_VARIABLE_SIZE): Likewise. | |
16528 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
16529 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
16530 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
16531 | parenthesis. | |
16532 | (C_DECL_ANTICIPATED): Likewise. | |
16533 | (c_build_type_variant): Add parenthesis. | |
16534 | ||
3f595aa1 JM |
16535 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
16536 | ||
16537 | * gcc.c (option_map): Remove --version. | |
16538 | (process_command): Handle -fversion following the GNU Coding | |
16539 | Standards. Partially addresses PR other/704. | |
16540 | ||
5bc5a8f9 GS |
16541 | 2002-01-08 Graham Stott <grahams@redhat.com> |
16542 | ||
16543 | * combine.c (combine_instructions): Fix typo. | |
16544 | ||
16ec4ebf GS |
16545 | 2002-01-08 Graham Stott <grahams@redhat.com> |
16546 | ||
16547 | * debug.h: Use "tree" and "rtx" throughout. | |
16548 | ||
16549 | * debug.c: Likewise. | |
16550 | ||
4b69f385 NC |
16551 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
16552 | ||
16553 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
16554 | constant pool, use the pool's version of the symbol instead. | |
16555 | ||
57d1019b RH |
16556 | 2002-01-07 Richard Henderson <rth@redhat.com> |
16557 | ||
16558 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
16559 | the original register was copied in a mode with a fewer number of | |
16560 | hard registers than the desired mode. | |
16561 | (copyprop_hardreg_forward_1): Likewise. | |
16562 | (debug_value_data): Fix loop test. | |
16563 | * toplev.c (parse_options_and_default_flags): Reenable | |
16564 | -fcprop-registers at -O1. | |
16565 | ||
16566 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
fa066a23 | 16567 | |
0d24f4d1 ZW |
16568 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
16569 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
fa066a23 | 16570 | |
0d24f4d1 ZW |
16571 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
16572 | predicates. | |
fa066a23 | 16573 | |
0d24f4d1 | 16574 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
fa066a23 | 16575 | |
8f949e7e JDA |
16576 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16577 | ||
16578 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
16579 | (pa_output_function_prologue): Output local label at the beginning of | |
16580 | the prologue when profiling. | |
16581 | (hppa_profile_hook): Use the local label rather than the function label. | |
16582 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
16583 | ||
c62f2db5 AH |
16584 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
16585 | ||
0d24f4d1 ZW |
16586 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
16587 | (altivec_expand_unop_builtin): Fix thinko. | |
16588 | (altivec_expand_binop_builtin): Same. | |
16589 | (altivec_expand_ternop_builtin): Same. | |
16590 | (altivec_expand_builtin): Same. | |
c62f2db5 | 16591 | |
b5235ba7 RH |
16592 | 2002-01-07 Richard Henderson <rth@redhat.com> |
16593 | ||
16594 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
16595 | ||
7d8ac293 JM |
16596 | 2002-01-07 Jason Merrill <jason@redhat.com> |
16597 | ||
16598 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
16599 | ||
571a03b8 JJ |
16600 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
16601 | ||
16602 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
16603 | ||
2e951384 JJ |
16604 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
16605 | ||
16606 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
16607 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
16608 | ||
20e26713 AH |
16609 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
16610 | ||
0d24f4d1 ZW |
16611 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
16612 | arguments. | |
16613 | (altivec_expand_binop_builtin): Same. | |
16614 | (altivec_expand_unop_builtin): Same. | |
16615 | (print_operand): Fix typo. | |
16616 | (bdesc_1arg): Add vupk* variants. | |
20e26713 | 16617 | |
0d24f4d1 | 16618 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
20e26713 | 16619 | |
0d24f4d1 | 16620 | * rs6000.md: Add altivec_vupk* variants. |
20e26713 | 16621 | |
4dd57c18 JM |
16622 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
16623 | ||
16624 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
16625 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
16626 | and last update dates. | |
16627 | ||
0341c5d2 JJ |
16628 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
16629 | ||
16630 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
16631 | ||
c7f3e0b0 MM |
16632 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
16633 | ||
16634 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
16635 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
16636 | (LINK_SPEC): Likewise. | |
16637 | (CRT_BINUTILS_SPECS): Likewise. | |
16638 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
16639 | * doc/invoke.texi (AVR Options): Document them. | |
16640 | ||
6ba4d630 JH |
16641 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
16642 | ||
16643 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
16644 | LABEL_NUSES. | |
16645 | ||
6253d571 GS |
16646 | 2002-01-07 Graham Stott <grahams@redhat.com> |
16647 | ||
0d24f4d1 ZW |
16648 | * config/i386/i386.h: Update copyright date. |
16649 | (HALF_PIC_PTR): Add parenthesis. | |
16650 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
16651 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
16652 | (DATA_ALIGNMENT): Likewise. | |
16653 | (LOCAL_ALIGNMENT): Likewise. | |
16654 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
16655 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
16656 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
16657 | (HARD_REGNO_NREGS): Add paranethesis. | |
16658 | (VALID_SSE_REG_MODE): Whitespace. | |
16659 | (VALID_MMX_REG_MODE): Whitespace. | |
16660 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
16661 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
16662 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
16663 | (RETURN_IN_MEMORY): Whitespace. | |
16664 | (N_REG_CLASSES): Add parenthesis. | |
16665 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
16666 | (FLOAT_CLASS_P): Likewise. | |
16667 | (SSE_CLASS_P): Likewise. | |
16668 | (MMX_CLASS_P): Likewise. | |
16669 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
16670 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
16671 | (MAYBE_SSE_CLASS_P): Likewise. | |
16672 | (MAYBE_MMX_CLASS_P): Likewise. | |
16673 | (Q_CLASS_P): Likewise. | |
16674 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
16675 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
16676 | (FP_REGNO_P): Likewise. | |
16677 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
16678 | (SSE_REGNO_P): Likewise. | |
16679 | (SSE_REGNO): Likewise. | |
16680 | (SSE_REG_P): Likewise. | |
16681 | (SSE_FLOAT_MODE_P): Likewise. | |
16682 | (MMX_REGNO_P): Likewise. | |
16683 | (MMX_REG_P):Likewise. | |
16684 | (STACK_REG_P): Likewise. | |
16685 | (NON_STACK_REG_P): Likewise. | |
16686 | (STACK_TOP_P): Likewise. | |
16687 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
16688 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
16689 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
16690 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
16691 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
16692 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
16693 | (RETURN_POPS_ARGS): Add parenthesis. | |
16694 | (INIT_CUMULATIVE_ARGS): Likewise. | |
16695 | (FUNCTION_ARG): Likewise. | |
16696 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
16697 | (SETUP_INCOMING_VARARGS): Likewise. | |
16698 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
16699 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
16700 | parenthsis. | |
16701 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
16702 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
16703 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
16704 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
16705 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
16706 | (REGNO_OK_FOR_BASE_P): Likewise. | |
16707 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
16708 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
16709 | (REG_OK_FOR_INDEX_P): Whitespace. | |
16710 | (REG_OK_FOR_BASE_P): Whitespace. | |
16711 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
16712 | parenthesis. | |
16713 | (FIND_BASE_TERM): Fix typo. | |
16714 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
16715 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
16716 | (SYMBOLIC_CONST; Whitespace. | |
16717 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
16718 | (ENCODE_SECTION_INFO): Whitespace. | |
16719 | (FINALIZE_PIC): Remove do { ... } while (0). | |
16720 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
16721 | (CONST_COSTS): Whitespace. | |
16722 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
16723 | (REGISTER_MOVE_COST): Add parenthesis. | |
16724 | (MEMORY_MOVE_COST): Likewise. | |
16725 | (EXTRA_CC_MODES): Whitespace. | |
16726 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
16727 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
16728 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
16729 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
16730 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
16731 | (ASM_OUTPUT_REG_POP): Likewise. | |
16732 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
16733 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
d9a5f180 | 16734 | |
07933f72 GS |
16735 | * config/i386/i386.c: Update copyright. |
16736 | (CHECK_STACK_LIMIT): Add parenthesis. | |
16737 | (AT_BP): Uppercase macro parameter. | |
16738 | (x86_64_int_parameter_registers): Constify. | |
16739 | (x86_64_int_return_registers): Likewise. | |
16740 | (ix86_compare_op0): Use rtx. | |
16741 | (construct_container): Constify INTREG parameter. | |
16742 | (function_arg): Use rtx. | |
16743 | ||
0b4d32c9 GS |
16744 | * diagnostic.h: Update copyright date. |
16745 | (output_buffer_state): Add parenthesis. | |
16746 | (output_buffer_format_args): Likewise. | |
16747 | ||
6253d571 GS |
16748 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
16749 | with link. | |
16750 | ||
68f3f6f1 L |
16751 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
16752 | ||
16753 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
16754 | ||
16755 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
480f7f3a | 16756 | |
0d24f4d1 | 16757 | * config.gcc: Add support for --enable-altivec. |
480f7f3a | 16758 | |
13b8c631 CR |
16759 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
16760 | ||
16761 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
16762 | ||
58ad89b1 JJ |
16763 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
16764 | ||
16765 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
16766 | __objc_class_name_*. | |
16767 | ||
e403b4bc CR |
16768 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
16769 | ||
16770 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
16771 | ||
e41c7831 RH |
16772 | 2002-01-06 Richard Henderson <rth@redhat.com> |
16773 | ||
16774 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
16775 | nop them out. Increment label reference count for REG_LABEL. | |
16776 | (fill_slots_from_thread): Frob label reference count around | |
16777 | delete_related_insns. | |
16778 | ||
3b3b1e32 RH |
16779 | 2002-01-05 Richard Henderson <rth@redhat.com> |
16780 | ||
16781 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
16782 | jump threading. | |
16783 | ||
c28abdf0 RH |
16784 | 2002-01-05 Richard Henderson <rth@redhat.com> |
16785 | ||
16786 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
16787 | * integrate.c (output_inline_function): Likewise. | |
16788 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
16789 | to remove_unnecessary_notes after emitting abstract instance. | |
16790 | Force an emitted nested function to have its parent emited as well. | |
16791 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
16792 | for null. | |
16793 | (rtl_for_decl_location): Do not look at reload data structures | |
16794 | before reload has run. | |
16795 | ||
c4f2c499 KH |
16796 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
16797 | ||
16798 | * cse.c: Fix formatting. | |
16799 | * dwarf2asm.c: Likewise. | |
16800 | * dwarf2out.c: Likewise. | |
16801 | * explow.c: Likewise. | |
16802 | * expmed.c: Likewise. | |
16803 | * function.c: Likewise. | |
16804 | * gcov.c: Likewise. | |
16805 | * gencheck.c: Likewise. | |
16806 | * genrecog.c: Likewise. | |
16807 | * ggc-common.c: Likewise. | |
16808 | * ggc-page.c: Likewise. | |
16809 | * global.c: Likewise. | |
16810 | ||
cf0d9408 KH |
16811 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
16812 | ||
16813 | * combine.c: Fix formatting. | |
16814 | ||
bedca03a CR |
16815 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
16816 | ||
16817 | PR middle-end/1557 | |
16818 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
16819 | ||
0134bf2d DE |
16820 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
16821 | ||
16822 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
16823 | as 1 for __powerpc64__ as well. | |
16824 | ||
16825 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
16826 | ||
16827 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
16828 | return it. | |
16829 | ||
9ca88d5a DB |
16830 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
16831 | ||
16832 | * lcm.c: Revert change, due to performance regression it causes on | |
16833 | SPEC because it's slightly more conservative (sigh, I hate | |
16834 | edge-based LCM). | |
0d24f4d1 | 16835 | |
1c570418 JH |
16836 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
16837 | ||
16838 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
16839 | ||
d83bb9f7 NB |
16840 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
16841 | ||
16842 | * doc/cppinternals.texi: Update. | |
16843 | ||
3e0f61ac HPN |
16844 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
16845 | ||
16846 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
16847 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
16848 | negatives. | |
16849 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
16850 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
16851 | kludge for pre-october-14th mmix versions to handle new-found bug | |
16852 | with PUSHJ/PUSHGO and the register stack. | |
16853 | * config/mmix/mmix.h (struct machine_function): Rename member | |
16854 | has_call_value_without_parameters to has_call_without_parameters. | |
16855 | All referers changed. | |
16856 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
16857 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
16858 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
16859 | -mno-reg-stack-fill-bug-workaround. | |
16860 | * config/mmix/mmix.md ("call"): Set struct machine member | |
16861 | has_call_without_parameters. | |
16862 | ||
4deaa2f8 JH |
16863 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
16864 | ||
16865 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
16866 | ||
9f16e871 JH |
16867 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
16868 | ||
16869 | * cfgcleanup.c: Include tm_p.h | |
16870 | (mark_effect): Fix handling of hard register; fix handling of SET | |
16871 | ||
96eb1157 KH |
16872 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
16873 | ||
16874 | * config/h8300/h8300.md (anonymous patterns): Check that | |
16875 | operands are registers before using REGNO on them. | |
16876 | ||
48180d68 RM |
16877 | 2002-01-03 Roland McGrath <roland@frob.com> |
16878 | ||
16879 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
16880 | ||
b0832fe1 JJ |
16881 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
16882 | ||
16883 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
16884 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
16885 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
16886 | (expand_expr_stmt_value): Add maybe_last argument. | |
16887 | Don't warn about statement with no effect if it is the last statement | |
16888 | in expression statement. | |
16889 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
16890 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
16891 | expand_expr_stmt_value. | |
16892 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
16893 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
16894 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
16895 | as maybe_last to expand_expr_stmt_value. | |
16896 | ||
c1e14513 JL |
16897 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
16898 | ||
0d24f4d1 ZW |
16899 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
16900 | be passed in, do not build it. | |
16901 | (c_begin_if_stmt): New function. | |
16902 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
16903 | * c-common.h (c_expand_start_cond): Update prototype. | |
16904 | (c_begin_if_stmt): Prototype new function. | |
16905 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
16906 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
16907 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
c1e14513 | 16908 | |
b6ec437a WC |
16909 | 2002-01-04 William Cohen <wcohen@redhat.com> |
16910 | ||
16911 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
16912 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
16913 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
16914 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
16915 | ||
ead39bdf | 16916 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
517b711f DB |
16917 | |
16918 | * lcm.c: Include df.h. | |
16919 | Add available_transfer_function prototype. | |
16920 | (compute_available): Rework to use iterative dataflow framework. | |
16921 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
16922 | with bb_info in df.h | |
16923 | (available_transfer_function): New function. | |
16924 | ||
16925 | * Makefile.in (lcm.o): add df.h to dependencies. | |
16926 | ||
551cc6fd RH |
16927 | 2002-01-04 Richard Henderson <rth@redhat.com> |
16928 | ||
16929 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
16930 | (input_operand): Likewise; accept simple references to globals. | |
16931 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
16932 | (alpha_const_double_ok_for_letter_p): Likewise. | |
16933 | (alpha_extra_constraint): Likewise. | |
16934 | (alpha_preferred_reload_class): Likewise. Do not force | |
16935 | symbolic constants to memory. | |
16936 | (alpha_legitimate_address_p): Accept simple references | |
16937 | to small_symbolic_operand. | |
16938 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
16939 | called when no_new_pseudos. Emit simple symbolic references. | |
16940 | Split integers into low, high, and rest. | |
16941 | (alpha_expand_mov): Use alpha_legitimize_address. | |
16942 | (some_small_symbolic_mem_operand): New. | |
16943 | (split_small_symbolic_mem_operand): New. | |
16944 | * config/alpha/alpha-protos.h: Update. | |
16945 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
16946 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
16947 | (EXTRA_CONSTRAINT): Likewise. | |
16948 | (PREFERRED_RELOAD_CLASS): Likewise. | |
16949 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
16950 | (PREDICATE_CODES): Update. | |
16951 | * config/alpha/alpha.md: New post-reload splitters to convert | |
16952 | simplfied symbolic operands to the form that references $29. | |
16953 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
16954 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
16955 | ||
1eaea054 RH |
16956 | 2002-01-03 Richard Henderson <rth@redhat.com> |
16957 | ||
16958 | * local-alloc.c (function_invariant_p): Update commentary. | |
16959 | ||
c4cc12b7 L |
16960 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
16961 | ||
16962 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
16963 | cleanup_cfg. | |
16964 | ||
173bf5be KH |
16965 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
16966 | ||
16967 | * c-common.c: Fix formatting. | |
16968 | * diagnostic.c: Likewise. | |
16969 | * doloop.c: Likewise. | |
16970 | * dwarf2out.c: Likewise. | |
16971 | ||
187462ac KH |
16972 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
16973 | ||
16974 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
16975 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
16976 | ||
5d8ebbd8 NB |
16977 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
16978 | ||
16979 | * cpperror.c: Update comments and copyright. | |
16980 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
16981 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
16982 | ||
518c1311 JDA |
16983 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16984 | ||
16985 | * collect2.c (main): Use strcmp when testing for "-shared". | |
16986 | ||
d15a58c0 NB |
16987 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
16988 | ||
16989 | * cppmacro.c: Don't include intl.h. Update comments. | |
16990 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
16991 | integers; update prototype. | |
16992 | * cppmain.c: Update comments. | |
16993 | ||
70f4f91c WC |
16994 | 2002-01-03 William Cohen <wcohen@redhat.com> |
16995 | ||
16996 | * function.h (struct function): Add profile. | |
16997 | (current_function_profile): New. | |
16998 | doc/extend.texi: Update documentation. | |
16999 | * final.c (final_start_function): Use current_function_profile | |
17000 | instead of profile_flag. | |
17001 | (profile_after_prologue): Likewise. | |
17002 | * function.c (expand_function_start): Likewise. | |
17003 | (expand_function_start): Likewise. | |
c4cc12b7 | 17004 | * config/alpha/alpha.c (direct_call_operand): |
70f4f91c WC |
17005 | (alpha_does_function_need_gp): Likewise. |
17006 | (alpha_expand_prologue): Likewise. | |
17007 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
17008 | thumb_expand_prologue: Likewise. | |
17009 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
17010 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
17011 | (fr30_expand_prologue): Likewise. | |
17012 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
17013 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
17014 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
17015 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
17016 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
17017 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
17018 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
17019 | (m32r_expand_prologue): Likewise. | |
17020 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
17021 | (m88k_expand_prologue): Likewise. | |
17022 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
17023 | * config/mips/mips.c (compute_frame_size): Likewise. | |
17024 | (mips_expand_prologue): Likewise. | |
17025 | (mips_can_use_return_insn): Likewise. | |
17026 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
17027 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
17028 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
17029 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
17030 | * config/romp/romp.c (romp_using_r14): Likewise. | |
17031 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
17032 | (rs6000_stack_info): Likewise. | |
17033 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2fd17409 | 17034 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
70f4f91c WC |
17035 | * config/v850/v850.c (compute_register_save_size): Likewise. |
17036 | ||
cb1ac742 JJ |
17037 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
17038 | ||
17039 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
17040 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
17041 | ||
61d951df | 17042 | 2002-01-03 Turly O'Connor <turly@apple.com> |
cb1ac742 | 17043 | |
61d951df TC |
17044 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
17045 | stub routines for pseudo-stubs which we've just defined. | |
17046 | ||
505ddab6 KH |
17047 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
17048 | ||
17049 | * builtins.c: Fix formatting. | |
17050 | * c-typeck.c: Likewise. | |
17051 | * combine.c: Likewise. | |
17052 | * expr.c: Likewise. | |
17053 | * loop.c: Likewise. | |
17054 | ||
b7e30d8a AS |
17055 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
17056 | ||
17057 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
17058 | and return true if _cpp_push_next_buffer pushed a new include | |
17059 | file. | |
17060 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
17061 | _cpp_pop_file_buffer did not push a new file. | |
17062 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
17063 | ||
ff81832f EC |
17064 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
17065 | ||
17066 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
17067 | FIND_REG_INC_NOTE call. Update copyright. | |
17068 | * loop.c (canonicalize_condition): Ditto. | |
17069 | * reorg.c (delete_scheduled_jump): Ditto. | |
17070 | ||
8e42ace1 KH |
17071 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
17072 | ||
17073 | * gcse.c: Fix formatting. | |
17074 | ||
fb2bf631 GS |
17075 | 2002-01-03 Graham Stott <grahams@redhat.com> |
17076 | ||
17077 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
17078 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
6253d571 | 17079 | also output corresponding typedefs for rtx, tree, and rtvec. |
fb2bf631 GS |
17080 | |
17081 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
17082 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
6253d571 | 17083 | rtvec to config.h, hconfig.h, tconfig.h. |
fb2bf631 GS |
17084 | |
17085 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
b9daac31 GS |
17086 | |
17087 | * tree.h: Update copyright date. | |
17088 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
17089 | (TREE_SET_CODE): Add whitespace. | |
17090 | (TREE_CHECK): Add parenthesis. | |
17091 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
17092 | (CST_OR_CONSTRUCTOR_CHECK): | |
17093 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
17094 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
17095 | (INT_CST_LT): Likewise. | |
17096 | (INT_CST_LT_UNSIGNED): Likewise. | |
17097 | (tree_real_cst): Unwrap comment. | |
17098 | (tree_string): Likewise. | |
17099 | (tree_complex): Likewise. | |
17100 | (IDENTIFIER_POINTER): correct cast. | |
17101 | (SAVE_EXPR_CONTEXT): Whitespace. | |
17102 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
17103 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
17104 | (DECL_ORIGIN): Add parenthesis. | |
17105 | (DECL_FROM_INLINE): Use NULL_TREE. | |
17106 | (build_int_2): Whitespace. | |
17107 | (build_type_variant): Add parenthesis. | |
17108 | ||
17109 | * gcc/jcf-parse.c: Update copyright date. | |
17110 | (yyparse): Constify resource_filename. | |
17111 | ||
f52eda29 GS |
17112 | 2002-01-03 Graham Stott <grahams@redhat.com> |
17113 | ||
17114 | * rtl.h: Update copyright date. | |
17115 | (RTL_CHECK1): Wrap long line. | |
17116 | (RTL_CHECK2): Likewise. | |
17117 | (RTL_CHECKC1): Wrap long line and whitespace. | |
17118 | (RTL_CHECKC2): Likewise. | |
17119 | (XWINT): Whitespace. | |
17120 | (XINT): Likewise. | |
17121 | (XSTR): Likewise. | |
17122 | (XEXP): Likewise. | |
17123 | (XVEC): Likewise. | |
17124 | (XMODE): Likewise. | |
17125 | (XBITMAP): Likewise. | |
17126 | (XTREE): Likewise. | |
17127 | (XBBDEF): Likewise. | |
17128 | (XTMPL): Likewise. | |
17129 | (X0WINT): Likewise. | |
17130 | (X0INT):Likewise. | |
17131 | (X0UINT): Likewise. | |
17132 | (X0STR): Likewise. | |
17133 | (X0EXP): Likewise. | |
17134 | (X0VEC): Likewise. | |
17135 | (X0MODE): Likewise. | |
17136 | (X0BITMAP): Likewise. | |
17137 | (X0TREE): Likewise. | |
17138 | (X0BBDEF): Likewise. | |
17139 | (X0ADVFLAGS): Likewise. | |
17140 | (X0CSELIB): Likewise. | |
17141 | (X0MEMATTR): Likewise. | |
17142 | (XCWINT): Likewise. | |
17143 | (XCINT): Likewise. | |
17144 | (XCUINT): Likewise. | |
17145 | (XCSTR): Likewise. | |
17146 | (XCEXP): Likewise. | |
17147 | (XCVEC): Likewise. | |
17148 | (XCMODE): Likewise. | |
17149 | (XCBITMAP): Likewise. | |
17150 | (XCTREE): Likewise. | |
17151 | (XCBBDEF): Likewise. | |
17152 | (XCADVFLAGS): Likewise. | |
17153 | (XCCSELIB): Likewise. | |
17154 | (XC2EXP): Likewise. | |
17155 | (INSN_UID): Likewise. | |
17156 | (PREV_INSN): Likewise. | |
17157 | (PATTERN): Likewise. | |
17158 | (INSN_CODE): Likewise. | |
17159 | (PUT_REG_NOTE_KIND): Likewise. | |
17160 | (CODE_LABEL_NUMBER): Likewise. | |
17161 | (NOTE_SOURCE_FILE): Likewise. | |
17162 | (NOTE_BLOCK): Likewise. | |
17163 | (NOTE_EH_HANDLER): Likewise. | |
17164 | (NOTE_RANGE_INFO): Likewise. | |
17165 | (NOTE_LIVE_INFO): Likewise. | |
17166 | (NOTE_BASIC_BLOCK): Likewise. | |
17167 | (NOTE_EXPECTED_VALUE): Likewise. | |
17168 | (NOTE_LINE_NUMBER): Likewise. | |
17169 | (LABEL_NAME): Likewise. | |
17170 | (LABEL_NUSES): Likewise. | |
17171 | (LABEL_ALTERNATE_NAME): Likewise. | |
17172 | (ADDRESSOF_DECL): Likewise. | |
17173 | (JUMP_LABEL): Likewise. | |
17174 | (LABEL_NEXTREF): Likewise. | |
17175 | (REGNO): Likewise. | |
17176 | (ORIGINAL_REGNO: Likewise. | |
17177 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
17178 | (SUBREG_REG): Whitespace. | |
17179 | (SUBREG_BYTE): Likewise. | |
17180 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
17181 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
17182 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
17183 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
17184 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
17185 | (ASM_OPERANDS_INPUT): Likewise. | |
17186 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
17187 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
17188 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
17189 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
17190 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
17191 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
17192 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
17193 | (TRAP_CONDITION): Whitespace. | |
17194 | (TRAP_CODE): Likewise. | |
17195 | (COND_EXEC_TEST): Likewise. | |
17196 | (COND_EXEC_CODE): Likewise. | |
17197 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
17198 | (PHI_NODE_P): Add parenthesis. | |
17199 | (plus_constant): Whitespace and add parenthesis. | |
17200 | ||
e03f5d43 KH |
17201 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
17202 | ||
17203 | * config/avr/avr.c: Fix comment typos. | |
17204 | * config/c4x/c4x.md: Likewise. | |
17205 | * config/dsp16xx/dsp16xx.h: Likewise. | |
17206 | * config/dsp16xx/dsp16xx.md: Likewise. | |
17207 | * config/i386/i386.md: Likewise. | |
17208 | * config/ia64/ia64.c: Likewise. | |
17209 | * config/m32r/m32r.h: Likewise. | |
17210 | * config/m68hc11/m68hc11.md: Likewise. | |
17211 | * config/mmix/mmix.c: Likewise. | |
17212 | * config/mn10200/mn10200.c: Likewise. | |
17213 | * config/romp/romp.c: Likewise. | |
17214 | * config/sh/sh.c: Likewise. | |
17215 | * config/stormy16/stormy16.c: Likewise. | |
17216 | * config/stormy16/stormy16.h: Likewise. | |
17217 | * config/stormy16/stormy16.md: Likewise. | |
17218 | ||
97e300e9 GS |
17219 | 2002-01-03 Graham Stott <grahams@redhat.com> |
17220 | ||
17221 | * loop.h: Update copyright date. | |
0d24f4d1 ZW |
17222 | (LOOP_MOVABLES): Fix typo. |
17223 | (LOOP_REGS): Likewise. | |
17224 | (LOOP_IVS): Likewise. | |
ff81832f | 17225 | |
745b26b3 GS |
17226 | 2002-01-03 Graham Stott <grahams@redhat.com> |
17227 | ||
17228 | * cppinit.c: Update copyright date. | |
17229 | Don't include output.h | |
17230 | * Makefile.in: Update copyright date. | |
17231 | Update dependency. | |
17232 | ||
0a379b7a CR |
17233 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
17234 | ||
17235 | PR c/5226 | |
17236 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
17237 | (-pthread) Add to RS/6000 options. | |
17238 | ||
a8154559 KH |
17239 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
17240 | ||
17241 | * except.c: Fix comment typos. | |
17242 | * loop.c: Likewise. | |
17243 | * varasm.c: Likewise. | |
17244 | * doc/tm.texi: Fix a typo. | |
17245 | ||
e6ecc89b JJ |
17246 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
17247 | ||
17248 | * c-typeck.c (output_init_element): Allow initializing static storage | |
17249 | duration objects with compound literals. | |
17250 | ||
d1094b40 RH |
17251 | 2002-01-02 Richard Henderson <rth@redhat.com> |
17252 | ||
17253 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
17254 | after abusing it. | |
17255 | ||
0c5d8c82 KG |
17256 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
17257 | ||
5e65297b KG |
17258 | * gcc.c (default_compilers): Const-ify. |
17259 | * mips-tdump.c (stab_names): Likewise. | |
17260 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
17261 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
17262 | pseudo_ops_t, pseudo_ops): Likewise. | |
17263 | * protoize.c (default_include): Likewise | |
17264 | ||
0c5d8c82 KG |
17265 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
17266 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
17267 | Add array size in declaration. | |
17268 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
17269 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
17270 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
17271 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
17272 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
17273 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
17274 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
17275 | emtens, make_nan): Const-ify. | |
17276 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
17277 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
17278 | ||
817e13c4 JM |
17279 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
17280 | ||
17281 | * config.gcc (ia64-*-*): Set extra_headers. | |
17282 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
17283 | * config/alpha/t-osf: Remove. | |
17284 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
17285 | ||
98095e2b DE |
17286 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
17287 | ||
17288 | * config/rs6000/t-aix43: Revert previous change. | |
17289 | ||
a4200657 JM |
17290 | 2002-01-02 Jason Merrill <jason@redhat.com> |
17291 | ||
17292 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
17293 | emitting an inline function out of line. | |
17294 | ||
54ba1f0d RH |
17295 | 2002-01-02 Richard Henderson <rth@redhat.com> |
17296 | ||
17297 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
17298 | (new_die): New argument created_for. Update all callers. | |
17299 | (mark_limbo_die_list): New. | |
17300 | (dwarf2out_init): Register limbo_die_list as a root. | |
17301 | (dwarf2out_finish): Force insert limbo dies into their function | |
17302 | context. | |
17303 | ||
323728aa NS |
17304 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
17305 | ||
17306 | PR c++/5089 | |
17307 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
17308 | ||
aefc5826 KH |
17309 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
17310 | ||
17311 | * config/h8300/fixunssfsi.c: Update copyright. | |
17312 | Fix comment typos. | |
17313 | Fix formatting. | |
17314 | * config/h8300/h8300.c: Update copyright. | |
17315 | Eliminate warnings. | |
17316 | ||
b1c9bc51 KH |
17317 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
17318 | ||
17319 | * config/romp/romp.c: Fix comment formatting. | |
17320 | * config/romp/romp.h: Likewise. | |
17321 | * config/romp/romp.md: Likewise. | |
17322 | * config/s390/s390.c: Likewise. | |
17323 | * config/stormy16/stormy16.c: Likewise. | |
17324 | * config/stormy16/stormy16.h: Likewise. | |
17325 | ||
1574ef13 AO |
17326 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
17327 | ||
17328 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
17329 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
17330 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
17331 | argument down to expand_expr_stmt_value, taking | |
17332 | TREE_ADDRESSABLE into account. | |
17333 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
17334 | STMT_EXPR as addressable, i.e., one whose result we want. | |
17335 | * expr.c (expand_expr): Don't save expression statement value | |
17336 | of labeled_blocks or loop_exprs. | |
17337 | * stmt.c (expand_expr_stmt): Redirect to... | |
17338 | (expand_expr_stmt_value): ... this new function. Use new | |
17339 | argument to tell whether to save expression value. | |
17340 | (expand_end_stmt_expr): Reset last_expr_type and | |
17341 | last_expr_value if we don't have either. | |
17342 | * tree-inline.c (declare_return_variable): Mark its use | |
17343 | statement as addressable. | |
17344 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
17345 | (expand_expr_stmt_value): Declare. | |
17346 | ||
252b88f7 TR |
17347 | 2002-01-01 Tom Rix <trix@redhat.com> |
17348 | ||
17349 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
17350 | rs6000_emit_allocate_stack. | |
17351 | ||
29f7a208 JM |
17352 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
17353 | ||
17354 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
17355 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
17356 | * configure: Regenerate. | |
17357 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
17358 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
17359 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
17360 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
17361 | ||
2cc2d4bb RK |
17362 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
17363 | ||
17364 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
17365 | and tree_int_cst; remove warnings. | |
17366 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
17367 | (insert_save): Likewise. | |
17368 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
17369 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
17370 | ||
f01c9bcd DR |
17371 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
17372 | ||
16b61764 DR |
17373 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
17374 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
17375 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
17376 | (vms-dwarf2eh.o): Add Makefile rule. | |
17377 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
17378 | * config/alpha/vms-dwarf2eh.asm: New file. | |
17379 | ||
f01c9bcd DR |
17380 | * gcc.c (delete_if_ordinary): Delete all versions. |
17381 | ||
91312b81 HPN |
17382 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
17383 | ||
17384 | * config/mmix/mmix.md: Update FIXME to not mention | |
17385 | define_constants. | |
17386 | (MMIX_rJ_REGNUM): New define_constants constant. | |
17387 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
17388 | "*movdicc_real"): Adjust contraints formatting. | |
17389 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
17390 | for branch prediction. | |
17391 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
17392 | output template. | |
17393 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
17394 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
17395 | number. Delete related FIXMEs. | |
17396 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
17397 | from number to MMIX_rJ_REGNUM. | |
17398 | (TARGET_MASK_BRANCH_PREDICT): New. | |
17399 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
17400 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
17401 | value. Add -mbranch-predict and -mno-branch-predict. | |
17402 | (TARGET_VERSION): Drop date. | |
17403 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
17404 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
17405 | for finding out global symbols. | |
17406 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
17407 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
17408 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
17409 | ||
619acae7 | 17410 | See ChangeLog.6 for earlier changes. |