]>
Commit | Line | Data |
---|---|---|
6ee3db61 HPN |
1 | 2002-09-20 Hans-Peter Nilsson <hp@bitrange.com> |
2 | ||
3 | * config/mmix/mmix.md ("negdf2"): Rewrite. | |
4 | ("*expanded_negdf2"): New. | |
5 | ||
ff076520 JW |
6 | 2002-09-19 Jim Wilson <wilson@redhat.com> |
7 | ||
8 | * combine.c (simplify_set): When optimizing a subreg src with a | |
9 | cc0 dest, use GET_MODE (src) for mask instead of inner_mode. | |
10 | ||
307f767b DJ |
11 | 2002-09-19 Dale Johannesen <dalej@apple.com> |
12 | * combine.c (make_extraction): Don't create | |
13 | invalid subreg. | |
14 | ||
cc7ab9b7 UW |
15 | 2002-09-19 Ulrich Weigand <uweigand@de.ibm.com> |
16 | ||
17 | * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG | |
18 | and STRICT_LOW_PART within SET_DEST. | |
19 | * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with | |
20 | splitters, replacing pre-reload splitters. | |
21 | ("*zero_extendhisi2_31", "*zero_extendqisi2_31", | |
22 | "*zero_extendqihi2_31"): New insns. | |
23 | ("*zero_extendqihi2_64"): Do not clobber CC. | |
24 | ||
70b76b34 DP |
25 | 2002-09-18 Devang Patel <dpatel@apple.com> |
26 | ||
27 | * cp/cp-tree.h: New prototype for walk_vtabls(). | |
28 | * cp/decl.c (walk_vtables_r): New function. | |
29 | (struct cp_binding_level): Add new members, namespaces, | |
30 | names_size and vtables. | |
31 | (add_decl_to_level): Add decl in namespaces or vtables | |
32 | chain, if conditions match. | |
33 | (walk_vtables): New function. | |
34 | (walk_namespaces_r): Travers separate namespace chain | |
35 | for namespace decls. | |
36 | (wrapup_globals_for_namespace): Use names_size instead | |
37 | of list_length(). | |
38 | * cp/decl2.c (finish_file): Use walk_vtables() instead of | |
39 | walk_globals() to walk vtable decls. | |
40 | ||
b64ddb88 SE |
41 | 2002-09-19 Steve Ellcey <sje@cup.hp.com> |
42 | ||
43 | * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New. | |
44 | (DTORS_SECTION_ASM_OP): Ditto. | |
45 | (READONLY_DATA_SECTION_ASM_OP): Moved. | |
46 | (DATA_SECTION_ASM_OP): New. | |
47 | (SDATA_SECTION_ASM_OP): New. | |
48 | (BSS_SECTION_ASM_OP): New. | |
49 | (SBSS_SECTION_ASM_OP): New. | |
50 | (TEXT_SECTION_ASM_OP): New. | |
51 | ||
9cd10576 KH |
52 | 2002-09-19 Kazu Hirata <kazu@cs.umass.edu> |
53 | ||
54 | * config/fp-bit.c: Follow spelling conventions. | |
55 | * config/d30v/d30v.c: Likewise. | |
56 | * config/d30v/d30v.h: Likewise. | |
57 | * config/fr30/fr30.c: Likewise. | |
58 | * config/fr30/fr30.h: Likewise. | |
59 | * config/fr30/fr30.md: Likewise. | |
60 | * config/frv/frv.c: Likewise. | |
61 | * config/frv/frv.h: Likewise. | |
62 | * config/h8300/h8300.c: Likewise. | |
63 | * config/h8300/lib1funcs.asm: Likewise. | |
64 | * config/i370/i370.c: Likewise. | |
65 | * config/i386/i386.h: Likewise. | |
66 | * config/i386/i386.md: Likewise. | |
67 | * config/i386/pentium.md: Likewise. | |
68 | * config/i386/winnt.c: Likewise. | |
69 | * config/i960/i960.c: Likewise. | |
70 | * config/ia64/ia64.h: Likewise. | |
71 | * config/ip2k/ip2k.c: Likewise. | |
72 | * config/ip2k/ip2k.h: Likewise. | |
73 | * config/ip2k/ip2k.md: Likewise. | |
74 | * config/ip2k/libgcc.S: Likewise. | |
75 | ||
fff08fd8 SC |
76 | 2002-09-19 Stephen Clarke <stephen.clarke@superh.com> |
77 | ||
78 | * config/sh/sh.h (UNSPEC_GOTOFF_P): Define. | |
79 | (GOTOFF_P): Extend to allow gotoff plus constant. | |
80 | ||
bf3d27e6 RH |
81 | 2002-09-18 Richard Henderson <rth@redhat.com> |
82 | ||
83 | * ifcvt.c (noce_process_if_block): Correctly detect X modified | |
84 | with INSN_B before COND_EARLIEST. Don't check A and B for | |
85 | modification in condition range. Reorder INSN_B for A==B properly. | |
86 | (if_convert): Iterate until no matches for a block. | |
87 | ||
1b1f20ca RH |
88 | 2002-09-18 Richard Henderson <rth@redhat.com> |
89 | ||
90 | * calls.c (store_one_arg): Rename default_align to parm_align; | |
91 | always adjust parm_align for downward padding. | |
92 | ||
724838b9 RH |
93 | 2002-09-18 Richard Henderson <rth@redhat.com> |
94 | ||
95 | * toplev.c (backend_init): Move init_real_once invocation ... | |
96 | (do_compile): ... here. | |
97 | ||
2c67b7c6 RH |
98 | 2002-09-18 Richard Henderson <rth@redhat.com> |
99 | ||
100 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove | |
101 | RTX_UNCHANGING_P markers for successful tail-recursive replacement. | |
102 | ||
15769ca3 RH |
103 | 2002-09-18 Richard Henderson <rth@redhat.com> |
104 | ||
105 | * real.c (round_for_format): Collect sticky as unsigned long, not bool. | |
106 | ||
678b7733 AM |
107 | 2002-09-19 Alan Modra <amodra@bigpond.net.au> |
108 | ||
109 | * config/rs6000/rs6000.md: (floatdisf2): Rename to | |
110 | floatdisf2_internal1. | |
111 | (floatdisf2): New define_expand. | |
112 | (floatdisf2_internal2): Likewise. | |
113 | ||
c402b6bf RH |
114 | 2002-09-18 Richard Henderson <rth@redhat.com> |
115 | ||
116 | * real.c (sticky_rshift_significand): Collect sticky as | |
117 | unsigned long, not bool. | |
118 | ||
dea09b1b UW |
119 | 2002-09-18 Ulrich Weigand <uweigand@de.ibm.com> |
120 | ||
121 | * config/s390/s390.c (s390_address_cost): New function. | |
122 | config/s390/s390-protos.h (s390_address_cost): Add prototype. | |
123 | config/s390/s390.h (ADDRESS_COST): Call s390_address_cost. | |
124 | (RTX_COST): Use COSTS_N_INSNS. | |
125 | ||
e4850f36 DR |
126 | 2002-09-18 Douglas Rupp <rupp@gnat.com> |
127 | Donn Terry <donnte@microsoft.com> | |
128 | ||
129 | * stor-layout.c (place_field): Handle alignment of whole | |
130 | structures when MSVC compatible bitfields are involved. | |
131 | Change method of computing location of MS bitfields to | |
132 | be compatible with #pragma pack(n). | |
133 | ||
134 | * tree.h (record_layout_info): Add new field | |
135 | remaining_in_alignment. | |
136 | ||
137 | * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update. | |
138 | (pragma pack): Add paragraph on MSVC bitfield packing. | |
139 | ||
872e50d3 RE |
140 | 2002-09-18 Richard Earnshaw (reanrsha@arm.com) |
141 | ||
142 | PR optimization/7967 | |
143 | * arm.md (ne_zeroextractsi): Add clobber of the condition code | |
144 | register. | |
145 | ||
5e7a8ee0 KH |
146 | 2002-09-18 Kazu Hirata <kazu@cs.umass.edu> |
147 | ||
9cd10576 | 148 | * config/s390/s390.c: Follow spelling conventions. |
5e7a8ee0 KH |
149 | * config/sh/lib1funcs.asm: Likewise. |
150 | * config/sh/sh.c: Likewise. | |
151 | * config/sh/sh.h: Likewise. | |
152 | * config/sparc/sparc.c: Likewise. | |
153 | * config/sparc/sparc.h: Likewise. | |
154 | * config/sparc/sparc.md: Likewise. | |
155 | * config/stormy16/stormy16.c: Likewise. | |
156 | * config/stormy16/stormy16.h: Likewise. | |
157 | * config/v850/v850.c: Likewise. | |
158 | * config/v850/v850.h: Likewise. | |
159 | * config/vax/vax.c: Likewise. | |
160 | * config/vax/vax.h: Likewise. | |
161 | ||
00a892b8 NC |
162 | 2002-09-18 Nick Clifton <nickc@redhat.com> |
163 | ||
164 | * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves. | |
165 | * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode. | |
166 | * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns. | |
167 | ||
bfb53001 ZW |
168 | 2002-09-17 Zack Weinberg <zack@codesourcery.com> |
169 | ||
170 | * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date | |
171 | statement that the only translation is to en_UK. | |
172 | ||
825dda42 KH |
173 | 2002-09-17 Kazu Hirata <kazu@cs.umass.edu> |
174 | ||
175 | * config/alpha/alpha.c: Follow spelling conventions. | |
176 | * config/alpha/alpha.h: Likewise. | |
177 | * config/alpha/alpha.md: Likewise. | |
178 | * config/arc/arc.h: Likewise. | |
179 | * config/arm/arm.c: Likewise. | |
180 | * config/arm/arm.h: Likewise. | |
181 | * config/arm/arm.md: Likewise. | |
182 | * config/arm/pe.c: Likewise. | |
183 | * config/arm/unknown-elf.h: Likewise. | |
184 | * config/avr/avr.c: Likewise. | |
185 | * config/avr/avr.h: Likewise. | |
186 | * config/c4x/c4x.c: Likewise. | |
187 | * config/cris/cris.c: Likewise. | |
188 | * config/cris/cris.h: Likewise. | |
189 | ||
8e16ab99 | 190 | 2002-09-17 Samuel Figueroa <figueroa@apple.com> |
825dda42 | 191 | |
8e16ab99 SF |
192 | * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP. |
193 | * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro. | |
194 | * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description. | |
195 | ||
ac19be7e | 196 | 2002-09-17 Dale Johannesen <dalej@apple.com> |
825dda42 | 197 | |
ac19be7e DJ |
198 | * cfgcleanup.c (try_forward_edges): Do not forward a |
199 | branch to just after a loop exit before loop optimization; | |
200 | this interfered with doloop detection. | |
201 | ||
f1acdf8b NC |
202 | 2002-09-17 Nick Clifton <nickc@redhat.com> |
203 | ||
204 | * config/arm/arm.c (output_return_instruction): Do not | |
205 | writeback the stack pointer when it is being loaded. | |
206 | (arm_output_epilogue): Likewise. | |
207 | ||
24491a09 KH |
208 | 2002-09-17 Kazu Hirata <kazu@cs.umass.edu> |
209 | ||
210 | * optabs.c (prepare_cmp_insn): Let emit_library_call_value | |
211 | generate a pseudo reg that receives the result of a libcall. | |
212 | (prepare_float_lib_cmp): Likewise. | |
213 | ||
e6c247e0 SE |
214 | 2002-09-17 Steve Ellcey <sje@cup.hp.com> |
215 | ||
216 | * config/ia64/elf.h: Remove CPP_PREDEFINES. | |
217 | ||
1074d9d4 NP |
218 | Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it> |
219 | ||
220 | Fix PR/7014 and related objc bugs: | |
221 | * c-typeck.c (comp_target_types): Added a reflexive argument. | |
222 | Pass it to ObjC when/if calling objc_comptypes(). Updated all | |
223 | callers to provide the appropriate reflexive argument. | |
224 | * objc/objc-act.c (objc_comptypes): Carefully checked and fixed | |
225 | typechecking for all cases of comparisons and assignments, | |
226 | particularly the obscure and less common ones involving protocols. | |
227 | ||
256e9fd2 NC |
228 | 2002-09-17 Nick Clifton <nickc@redhat.com> |
229 | ||
230 | * machmode.def (V1DImode): New mode. A single element vector. | |
231 | * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums. | |
232 | (unsigned_V1DI_type_node, V1D1_type_node): New type nodes. | |
233 | * tree.c (build_common_tree_nodes_2): Build | |
234 | unsigned_V1DI_type_node and V1D1_type_node. | |
235 | * c-common.c (c_common_type_for_mode): Return | |
236 | unsigned_V1DI_type_node or V1D1_type_node for V1DImode. | |
237 | * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode. | |
238 | ||
838c4534 NP |
239 | Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it> |
240 | ||
241 | * doc/objc.texi (Constant string objects): Extended documentation | |
242 | to make clear that the constant string class ivar layout is | |
243 | completely fixed. | |
244 | ||
07532fad RS |
245 | 2002-09-17 Roger Sayle <roger@eyesopen.com> |
246 | ||
247 | * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned | |
248 | NOTE_INSN_LOOP_CONT notes when deleting basic blocks. | |
249 | ||
cb38fd88 RH |
250 | 2002-09-16 Richard Henderson <rth@redhat.com> |
251 | ||
252 | * expr.c (emit_block_move): Set memory block size as appropriate | |
253 | for the copy. | |
254 | ||
bd055118 RH |
255 | 2002-09-16 Richard Henderson <rth@redhat.com> |
256 | ||
257 | PR fortran/3924 | |
258 | * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol. | |
259 | ||
8c317c5f RH |
260 | 2002-09-16 Richard Henderson <rth@redhat.com> |
261 | ||
262 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE | |
263 | as well as OFFSET for BITPOS. | |
264 | ||
3780101d JG |
265 | 2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com> |
266 | ||
267 | * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx. | |
268 | * config/i386/i386.c (processor_alias_table): Add winchip-c6, | |
269 | winchip2 and c3. | |
270 | * doc/invoke.texi: Mention new aliases. | |
271 | ||
9dff28ab JDA |
272 | 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
273 | ||
274 | * calls.c (store_one_arg): Set default alignment for BLKmode arguments | |
275 | to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is | |
276 | downward. | |
277 | * function.c (pad_below): Always compile. | |
278 | (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to | |
279 | alignment when it is not in a register or REG_PARM_STACK_SPACE is true. | |
280 | Pad below when the argument is not in a register and the padding | |
281 | direction is downward. | |
282 | ||
283 | * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h. | |
284 | (PAD_VARARGS_DOWN): Define. | |
285 | * pa.c (function_arg_padding): Revise padding directions to make them | |
286 | compatible with the 32 and 64-bit runtime architecture documentation. | |
287 | (hppa_va_arg): Add code to handle variable and size zero arguments | |
288 | passed by reference on TARGET_64BIT. Reformat. | |
289 | (function_arg): Use a PARALLEL for BLKmode and aggregates args on | |
290 | TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes | |
291 | wide when !TARGET_64BIT. Move forward check for mode==VOIDmode. | |
292 | Add comments. | |
293 | * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT. | |
294 | (RETURN_IN_MEMORY): Return size zero types in memory. | |
295 | (FUNCTION_VALUE): Return TFmode in general registers. | |
296 | (MUST_PASS_IN_STACK): Define. | |
297 | (FUNCTION_ARG_BOUNDARY): Simplify. | |
298 | (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types | |
299 | by reference. | |
300 | (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE. | |
301 | ||
94313f35 RH |
302 | 2002-09-16 Richard Henderson <rth@redhat.com> |
303 | ||
304 | * real.c (do_fix_trunc): New. | |
305 | (real_arithmetic): Call it. | |
306 | * simplify-rtx.c (simplify_unary_operation): Handle FIX | |
307 | with a floating-point result mode. | |
308 | ||
1472e41c RH |
309 | 2002-09-16 Richard Henderson <rth@redhat.com> |
310 | ||
311 | * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New. | |
312 | (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New. | |
313 | * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New. | |
314 | (__builtin_nans, __builtin_nansf, __builtin_nansl): New. | |
315 | * builtins.c (fold_builtin_nan): New. | |
316 | (fold_builtin): Call it. | |
317 | * real.c (real_nan): Parse a non-empty string. | |
318 | (round_for_format): Fix NaN significand truncation. | |
319 | * real.h (real_nan): Return bool. | |
320 | * doc/extend.texi: Document new builtins. | |
321 | ||
f354b828 JM |
322 | 2002-09-16 Jason Merrill <jason@redhat.com> |
323 | Danny Smith <dannysmith@users.sourceforge.net> | |
324 | ||
325 | * config/i386/winnt.c (ix86_handle_dll_attribute): Set | |
326 | DECL_EXTERN and TREE_PUBLIC for dllimported variables here... | |
327 | (i386_pe_mark_dllimport): Not here. | |
328 | ||
85341ddd NS |
329 | 2002-09-16 Nathan Sidwell <nathan@codesourcery.com> |
330 | ||
331 | * c-semantics.c (genrtl_do_stmt): Cope with NULL cond. | |
332 | ||
045572c7 GK |
333 | 2002-09-16 Geoffrey Keating <geoffk@redhat.com> |
334 | ||
335 | * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress | |
336 | warnings about unused operands when HOST_BITS_PER_WIDE_INT is | |
337 | < 64. | |
338 | (rs6000_emit_cmove): Use real_isinf not target_isinf. | |
339 | ||
d57551c7 KH |
340 | 2002-09-16 Kazu Hirata <kazu@cs.umass.edu> |
341 | ||
342 | * calls.c (emit_library_call_value_1): Don't refer to | |
343 | hard_libcall_value. | |
344 | * optabs.c (prepare_float_lib_cmp): Likewise. | |
345 | ||
36a5eadd GK |
346 | 2002-09-16 Geoffrey Keating <geoffk@apple.com> |
347 | ||
348 | * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name | |
349 | mangling. | |
350 | ||
351 | The following changes are merged from pch-branch: | |
352 | ||
353 | * doc/gty.texi (GTY Options): Document %a. | |
354 | * gengtype.c (do_scalar_typedef): New function. | |
355 | (process_gc_options): Handle `length' option. | |
356 | (set_gc_used_type): A pointer to an array of structures doesn't | |
357 | qualify as a pointer to a structure. | |
358 | (output_escaped_param): Add `%a' escape. | |
359 | (write_gc_structure_fields): Allow 'desc' on array of unions. | |
360 | (main): Define `uint8', `jword' and `JCF_u2' as scalars; use | |
361 | do_scalar_typedef. | |
362 | ||
363 | * gengtype.c (enum rtx_code): Make global. | |
364 | (rtx_format): Make global. | |
365 | (rtx_next): New. | |
366 | (gen_rtx_next): New. | |
367 | (write_rtx_next): New. | |
368 | (adjust_field_rtx_def): Skip fields marked by chain_next. | |
369 | (open_base_files): Delete redundant prototype. | |
370 | (write_enum_defn): New. | |
371 | (output_mangled_typename): Correct abort call. | |
372 | (write_gc_marker_routine_for_structure): Handle chain_next and | |
373 | chain_prev options. | |
374 | (finish_root_table): Don't output redundant \n. | |
375 | (main): Call gen_rtx_next, write_rtx_next, write_enum_defn. | |
376 | * c-tree.h (union lang_tree_node): Add chain_next option. | |
377 | ||
378 | * gengtype.h (NUM_PARAM): New definition. | |
379 | (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters. | |
380 | * gengtype.c (find_param_structure): New. | |
381 | (adjust_field_type): Handle param<n>_is option. | |
382 | (process_gc_options): Detect use_params option. Update callers. | |
383 | (set_gc_used_type): Add 'param' parameter, update callers. Handle | |
384 | 'use_params' option. | |
385 | (open_base_files): Add splay-tree.h to list of files included. | |
386 | (output_mangled_typename): New. | |
387 | (write_gc_structure_fields): Update 'param' parameter to support | |
388 | multiple parameters. Change name mangling. Allow parameterized | |
389 | fields to have an apparent scalar type. Handle param<n>_is options, | |
390 | use_param option. | |
391 | (write_gc_marker_routine_for_structure): Update for change to name | |
392 | mangling. Better guess the output file for parameterized types. | |
393 | (write_gc_types): Update for change to name mangling. | |
394 | (write_gc_root): Update for change to name mangling. Handle (ignore) | |
395 | param<n>_is options. | |
396 | * doc/gty.texi (GTY Options): Add description of param<n>_is | |
397 | options, use_params option. | |
398 | * ggc.h (ggc_mark_rtx): Update for changed name mangling. | |
399 | * gengtype-lex.l: Produce token for param<n>_is. | |
400 | * gengtype-yacc.y: Parse param<n>_is. | |
401 | ||
402 | * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'. | |
403 | ||
404 | * rtl.c: Update comment describing rtx_format. | |
405 | * rtl.h (union rtunion): Separate definition and typedef. | |
406 | (struct rtx_def): Use gengtype to mark. | |
407 | * Makefile.in (gengtype.o): Also depend on rtl.def. | |
408 | * ggc.h (ggc_mark_rtx_children): Delete prototype. | |
409 | (ggc_mark_rtx): Change to alias of gengtype-generated routine. | |
410 | * ggc-common.c (ggc_mark_rtx_children): Delete. | |
411 | (ggc_mark_rtx_children_1): Delete. | |
412 | (gt_ggc_m_rtx_def): Delete. | |
413 | * gengtype.c (adjust_field_rtx_def): New. | |
414 | (adjust_field_type): Call adjust_field_rtx_def. | |
415 | (write_gc_structure_fields): Add 'default' case to switch if none | |
416 | is specified; remove unused code. | |
417 | ||
418 | * tree.h (struct tree_exp): Update for change to meaning | |
419 | of special. | |
420 | * gengtype.c (adjust_field_tree_exp): New function. | |
421 | (adjust_field_type): Handle `tree_exp' special here. | |
422 | (write_gc_structure_fields): Don't handle `tree_exp' special here. | |
423 | Handle new `dot' option. | |
424 | ||
425 | * gengtype.h: Make `info' a pointer-to-const. | |
426 | * gengtype-yacc.y (yacc_ids): Use xasprintf. | |
427 | ||
428 | * gengtype.c (write_gc_structure_fields): Remove implementation | |
429 | of `always' option, add `default' option. | |
430 | * doc/gty.texi (GTY Options): Remove documentation of `always', | |
431 | add `default'. | |
432 | ||
a7f6d760 HPN |
433 | 2002-09-16 Hans-Peter Nilsson <hp@bitrange.com> |
434 | ||
435 | * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE. | |
436 | ||
245ff137 KG |
437 | 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
438 | ||
7c3414b6 KG |
439 | * m68hc11.md (addhi_sp): Fix uninitialized variable bug. |
440 | ||
245ff137 KG |
441 | * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h |
442 | instead of the *-protos.h file directly. | |
443 | * t-c4x, t-i370, t-v850: Depend on $(TM_P_H). | |
444 | * darwin.c (machopic_output_stub): Move prototype ... | |
445 | * darwin-protos.h (machopic_output_stub): ... here. | |
446 | * rs6000-protos.h (machopic_output_stub): Don't declare. | |
447 | ||
ac520ec9 RH |
448 | 2002-09-16 Richard Henderson <rth@redhat.com> |
449 | ||
450 | * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__. | |
451 | ||
efdc7e19 RH |
452 | 2002-09-16 Richard Henderson <rth@redhat.com> |
453 | ||
454 | * real.c, real.h: Rewrite from scratch. | |
455 | ||
456 | * Makefile.in (simplify-rtx.o): Depend on TREE_H. | |
457 | (paranoia): New target. | |
458 | * builtins.c (fold_builtin_inf): Use new real.h interface. | |
459 | * c-common.c (builtin_define_with_hex_fp_value): Likewise. | |
460 | * c-lex.c (interpret_float): Likewise. | |
461 | * emit-rtl.c (gen_lowpart_common): Likewise. | |
462 | * optabs.c (expand_float): Use real_2expN. | |
463 | * config/ia64/ia64.md (divsi3, udivsi3): Likewise. | |
464 | * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New. | |
465 | (FLOAT_WORDS_BIG_ENDIAN): New. | |
466 | * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE | |
467 | directly to REAL_VALUE_NEGATIVE. | |
468 | * loop.c (canonicalize_condition): Likewise. | |
469 | * simplify-rtx.c: Include tree.h. | |
470 | (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX | |
471 | with floating-point result modes. | |
472 | * toplev.c (backend_init): Call init_real_once. | |
473 | ||
474 | * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE. | |
475 | * tree.c (build_real): Likewise. | |
476 | * config/alpha/alpha.c, config/vax/vax.c (float_strings, | |
477 | float_values, inited_float_values, check_float_value): Remove. | |
478 | * config/alpha/alpha.h, config/m68hc11/m68hc11.h, | |
479 | config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove. | |
480 | * doc/tm.texi (CHECK_FLOAT_VALUE): Remove. | |
481 | (VAX_HALFWORD_ORDER): Remove. | |
482 | ||
a41c6c53 UW |
483 | 2002-09-16 Ulrich Weigand <uweigand@de.ibm.com> |
484 | ||
485 | * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ... | |
486 | (s390_load_address): ... this new function. | |
487 | (s390_decompose_address): Allow the argument pointer and all | |
488 | virtual registers as 'pointer' registers. | |
489 | (s390_expand_plus_operand): Use s390_load_address. | |
490 | config/s390/s390.md (movti, movdi, movdf splitters): Likewise. | |
491 | ("force_la_31"): New insn pattern. | |
492 | config/s390/s390-protos.h (legitimize_la_operand): Remove. | |
493 | (s390_load_address): Add prototype. | |
494 | ||
495 | * config/s390/s390.c: Include "optabs.h". | |
496 | (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New. | |
497 | config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr, | |
498 | s390_expand_cmpstr): Add prototypes. | |
499 | config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr. | |
500 | ("movstrdi_short"): Rename to "movstr_short_64". Change predicates | |
501 | for operands 0 and 1 to "memory_operand". Add type attribute. | |
502 | ("movstrsi_short"): Rename to "movstr_short_31". Change predicates | |
503 | for operands 0 and 1 to "memory_operand". Add type attribute. | |
504 | ("movstrdi_long", "movstrsi_long"): Remove. | |
505 | ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute. | |
506 | ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute. | |
507 | ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr. | |
508 | ("clrstrsico"): Remove, replace by ... | |
509 | ("clrstr_short_64", "clrstr_short_31"): ... these new patterns. | |
510 | ("clrstrsi_64"): Rename to "clrstr_long_64". | |
511 | ("clrstrsi_31"): Rename to "clrstr_long_31". | |
512 | ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr. | |
513 | ("cmpstr_const"): Remove, replace by ... | |
514 | ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns. | |
515 | ("cmpstr_64"): Rename to "cmpstr_long_64". | |
516 | ("cmpstr_31"): Rename to "cmpstr_long_31". | |
517 | ||
8d9afc4e KH |
518 | 2002-09-16 Kazu Hirata <kazu@cs.umass.edu> |
519 | ||
520 | * ABOUT-NLS: Follow spelling conventions. | |
521 | * ChangeLog: Likewise. | |
522 | * ChangeLog.1: Likewise. | |
523 | * ChangeLog.2: Likewise. | |
524 | * ChangeLog.3: Likewise. | |
525 | * ChangeLog.4: Likewise. | |
526 | * ChangeLog.5: Likewise. | |
527 | * ChangeLog.6: Likewise. | |
528 | * FSFChangeLog.10: Likewise. | |
529 | * FSFChangeLog.11: Likewise. | |
530 | * c-common.c: Likewise. | |
531 | * c-lex.c: Likewise. | |
532 | * c-objc-common.c: Likewise. | |
533 | * cppexp.c: Likewise. | |
534 | * cppinit.c: Likewise. | |
535 | * cpplex.c: Likewise. | |
536 | * doloop.c: Likewise. | |
537 | * flow.c: Likewise. | |
538 | * function.c: Likewise. | |
539 | * integrate.c: Likewise. | |
540 | * loop.c: Likewise. | |
541 | * reg-stack.c: Likewise. | |
542 | * reload.h: Likewise. | |
543 | * ssa.c: Likewise. | |
544 | ||
981f6289 KH |
545 | 2002-09-15 Kazu Hirata <kazu@cs.umass.edu> |
546 | ||
547 | * ChangeLog: Follow spelling conventions. | |
548 | * ChangeLog.0: Likewise. | |
549 | * ChangeLog.1: Likewise. | |
550 | * ChangeLog.2: Likewise. | |
551 | * ChangeLog.4: Likewise. | |
552 | * ChangeLog.6: Likewise. | |
553 | * config.gcc: Likewise. | |
554 | * dwarfout.c: Likewise. | |
555 | * reload1.c: Likewise. | |
556 | * simplify-rtx.c: Likewise. | |
557 | * unwind-sjlj.c: Likewise. | |
558 | * config/avr/avr.h: Likewise. | |
559 | * config/d30v/d30v.h: Likewise. | |
560 | * config/frv/frv.c: Likewise. | |
561 | * config/frv/frv.h: Likewise. | |
562 | * config/ip2k/ip2k.h: Likewise. | |
563 | * config/m88k/m88k-move.sh: Likewise. | |
564 | * config/stormy16/stormy16.c: Likewise. | |
565 | * config/stormy16/stormy16.h: Likewise. | |
566 | * doc/extend.texi: Likewise. | |
567 | * doc/interface.texi: Likewise. | |
568 | * doc/invoke.texi: Likewise. | |
569 | * doc/md.texi: Likewise. | |
570 | * doc/rtl.texi: Likewise. | |
571 | * doc/tm.texi: Likewise. | |
572 | * doc/trouble.texi: Likewise. | |
573 | * ginclude/float.h: Likewise. | |
574 | * treelang/treelang.texi: Likewise. | |
575 | ||
8764eef7 KG |
576 | 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
577 | ||
bb6155b5 KG |
578 | * i386-protos.h (i386_pe_dllexport_name_p, |
579 | i386_pe_dllimport_name_p, i386_pe_unique_section, | |
580 | i386_pe_declare_function_type, i386_pe_record_external_function, | |
581 | i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add | |
582 | prototype. | |
583 | * i386/t-cygwin (winnt.o): Depend on $(TM_P_H). | |
584 | * i386/t-interix (winnt.o): Likewise. | |
585 | ||
8764eef7 KG |
586 | * v850-protos.h (v850_output_addr_const_extra): Prototype. |
587 | ||
a24f7c1a JT |
588 | 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com> |
589 | ||
590 | * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add | |
591 | MIPS ABI CPP macros. | |
592 | (TARGET_CPU_CPP_BUILTINS): Redefine. | |
593 | (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default. | |
594 | (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove. | |
595 | ||
bd25febf KG |
596 | 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
597 | ||
598 | * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo. | |
599 | ||
05713b80 KH |
600 | 2002-09-15 Kazu Hirata <kazu@cs.umass.edu> |
601 | ||
602 | * ChangeLog: Follow spelling conventions. | |
603 | * ChangeLog.0: Likewise. | |
604 | * ChangeLog.1: Likewise. | |
605 | * ChangeLog.2: Likewise. | |
606 | * ChangeLog.3: Likewise. | |
607 | * ChangeLog.4: Likewise. | |
608 | * ChangeLog.5: Likewise. | |
609 | * ChangeLog.6: Likewise. | |
610 | * FSFChangeLog.10: Likewise. | |
611 | * FSFChangeLog.11: Likewise. | |
612 | * c-common.c: Likewise. | |
613 | * c-common.h: Likewise. | |
614 | * c-format.c: Likewise. | |
615 | * c-opts.c: Likewise. | |
616 | * cpplib.c: Likewise. | |
617 | * langhooks.h: Likewise. | |
618 | * real.c: Likewise. | |
619 | * reg-stack.c: Likewise. | |
620 | * toplev.c: Likewise. | |
621 | * config/arm/arm.c: Likewise. | |
622 | * config/arm/arm.md: Likewise. | |
623 | * config/arm/linux-gas.h: Likewise. | |
624 | * config/arm/netbsd.h: Likewise. | |
625 | * config/c4x/c4x.c: Likewise. | |
626 | * config/c4x/c4x.h: Likewise. | |
627 | * config/c4x/c4x.md: Likewise. | |
628 | * config/c4x/libgcc.S: Likewise. | |
629 | * config/fr30/fr30.md: Likewise. | |
630 | * config/frv/frv.md: Likewise. | |
631 | * config/ia64/ia64.md: Likewise. | |
632 | * config/mips/mips.h: Likewise. | |
633 | * config/mn10300/mn10300.c: Likewise. | |
634 | * config/stormy16/stormy16.c: Likewise. | |
635 | * config/v850/v850.md: Likewise. | |
636 | * doc/extend.texi: Likewise. | |
637 | * doc/invoke.texi: Likewise. | |
638 | * doc/md.texi: Likewise. | |
639 | ||
b0c2b2f9 JT |
640 | 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com> |
641 | ||
642 | * config/netbsd.h (LIB_SPEC): Include the appropriate pthread | |
643 | library if -pthread is specified. | |
644 | ||
a0494c05 JT |
645 | 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com> |
646 | ||
647 | * config.gcc (*-*-netbsd*): Set thread_file to 'posix' | |
648 | for --enable-threads=yes and --enable-threads=posix. | |
649 | ||
56149abc KH |
650 | 2002-09-15 Kazu Hirata <kazu@cs.umass.edu> |
651 | ||
652 | * config/sparc/cypress.md: Replace Sparc with SPARC. | |
653 | * config/sparc/freebsd.h: Likewise. | |
654 | * config/sparc/gmon-sol2.c: Likewise. | |
655 | * config/sparc/hypersparc.md: Likewise. | |
656 | * config/sparc/lb1spc.asm: Likewise. | |
657 | * config/sparc/lb1spl.asm: Likewise. | |
658 | * config/sparc/linux.h: Likewise. | |
659 | * config/sparc/linux64.h: Likewise. | |
660 | * config/sparc/lynx.h: Likewise. | |
661 | * config/sparc/sol2.h: Likewise. | |
662 | * config/sparc/sparc-modes.def: Likewise. | |
663 | * config/sparc/sparc.c: Likewise. | |
664 | * config/sparc/sparc.h: Likewise. | |
665 | * config/sparc/sparc.md: Likewise. | |
666 | * config/sparc/sparclet.md: Likewise. | |
667 | * config/sparc/supersparc.md: Likewise. | |
668 | * config/sparc/sysv4.h: Likewise. | |
669 | * config/sparc/vxsim.h: Likewise. | |
670 | * config/sparc/vxsparc64.h: Likewise. | |
671 | ||
3eaf7a3c MM |
672 | 2002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl> |
673 | ||
674 | * config/avr/avr.c (output.h): Move after inclusion of tree.h. | |
675 | ||
4912a07c KH |
676 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
677 | ||
678 | * ChangeLog: Follow spelling conventions. | |
679 | * ChangeLog.0: Likewise. | |
680 | * ChangeLog.2: Likewise. | |
681 | * ChangeLog.3: Likewise. | |
682 | * ChangeLog.4: Likewise. | |
683 | * ChangeLog.5: Likewise. | |
684 | * ChangeLog.6: Likewise. | |
685 | * cppfiles.c: Likewise. | |
686 | * cppinit.c: Likewise. | |
687 | * cpplib.h: Likewise. | |
688 | * cse.c: Likewise. | |
689 | * debug.h: Likewise. | |
690 | * df.c: Likewise. | |
691 | * dominance.c: Likewise. | |
692 | * hashtable.c: Likewise. | |
693 | * hashtable.h: Likewise. | |
694 | * loop.c: Likewise. | |
695 | * config/arm/README-interworking: Likewise. | |
696 | * config/arm/arm.c: Likewise. | |
697 | * config/arm/arm.h: Likewise. | |
698 | * config/arm/arm.md: Likewise. | |
699 | * config/dsp16xx/dsp16xx.h: Likewise. | |
700 | * config/frv/frv.c: Likewise. | |
701 | * config/frv/frv.h: Likewise. | |
702 | * config/ip2k/ip2k.h: Likewise. | |
703 | * config/rs6000/rs6000.c: Likewise. | |
704 | * config/stormy16/stormy-abi: Likewise. | |
705 | * config/stormy16/stormy16.h: Likewise. | |
706 | * config/v850/v850.c: Likewise. | |
707 | ||
3dc60fc7 KH |
708 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
709 | ||
710 | * loop.c: Fix a comment typo. | |
711 | ||
a920aefe KH |
712 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
713 | ||
714 | * config/fr30/fr30.h: Fix comment typos. | |
715 | * config/frv/frv.c: Likewise. | |
716 | * config/i386/xmmintrin.h: Likewise. | |
717 | * config/mips/mips.c: Likewise. | |
718 | * config/sh/sh.c: Likewise. | |
719 | ||
88cad84b KH |
720 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
721 | ||
722 | * haifa-sched.c: Follow spelling conventions. | |
723 | * regclass.c: Likewise. | |
724 | * regrename.c: Likewise. | |
725 | * config/fp-bit.c: Likewise. | |
726 | * config/frv/frv.h: Likewise. | |
727 | * config/m88k/m88k.c: Likewise. | |
728 | * config/mcore/mcore.c: Likewise. | |
729 | * config/rs6000/darwin.h: Likewise. | |
730 | * config/rs6000/gnu.h: Likewise. | |
731 | * config/rs6000/linux.h: Likewise. | |
732 | * config/rs6000/linux64.h: Likewise. | |
733 | * config/rs6000/rs6000.c: Likewise. | |
734 | * config/rs6000/rs6000.h: Likewise. | |
735 | * config/sh/sh.c: Likewise. | |
736 | * config/sparc/sparc.c: Likewise. | |
737 | * config/sparc/ultra1_2.md: Likewise. | |
738 | ||
f197f1cf SC |
739 | 2002-09-14 Stephane Carrez <stcarrez@nerim.fr> |
740 | ||
741 | * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable | |
742 | memory operand when source is 0 (K constraint). | |
743 | ("movsi_internal"): Likewise. | |
744 | ("movdf_internal"): Likewise. | |
745 | ("movsf_internal"): Likewise. | |
746 | ||
b629ba0c AM |
747 | 2002-09-14 Alan Modra <amodra@bigpond.net.au> |
748 | ||
749 | * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use | |
750 | targetm.binds_local_p to set SYMBOL_REF_FLAG. | |
751 | (rs6000_xcoff_encode_section_info): Likewise. | |
752 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
753 | ||
2e485129 TR |
754 | 2002-09-10 Theodore A. Roth <troth@verinet.com> |
755 | ||
756 | * gcc/config/avr/avr.h: Set default options for C++ for avr. | |
757 | ||
907aee69 RH |
758 | 2002-09-13 Richard Henderson <rth@redhat.com> |
759 | ||
760 | * Makefile.in (toplev.o): Depend on real.h. | |
761 | (print-rtl.o, varasm.o, ifcvt.o): Likewise. | |
762 | ||
374b0b7d AM |
763 | 2002-09-14 Alan Modra <amodra@bigpond.net.au> |
764 | ||
765 | * doc/tm.texi (DBX_OUTPUT_NFUN): Describe. | |
766 | * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN. | |
767 | * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define. | |
768 | ||
690eed2c NS |
769 | 2002-09-13 Nathan Sidwell <nathan@codesourcery.com> |
770 | ||
771 | * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables. | |
772 | ||
32b4f6f4 SE |
773 | 2002-09-13 Steve Ellcey <sje@cup.hp.com> |
774 | ||
775 | * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*, | |
776 | ia64*-*-linux*): Set extra_parts. | |
777 | * config/ia64/t-aix (EXTRA_PARTS): Remove. | |
778 | * config/ia64/t-ia64 (EXTRA_PARTS): Remove. | |
779 | ||
3db11b5c KH |
780 | 2002-09-13 Kazu Hirata <kazu@cs.umass.edu> |
781 | ||
782 | * config/h8300/fixunssfsi.c: Replace H8/S with H8S. | |
783 | * config/h8300/h8300.c: Likewise. | |
784 | * config/h8300/h8300.h: Likewise. | |
785 | * config/h8300/h8300.md: Likewise. | |
786 | * doc/invoke.texi: Likewise. | |
787 | ||
b6894857 KH |
788 | 2002-09-13 Kazu Hirata <kazu@cs.umass.edu> |
789 | ||
790 | * config/h8300/h8300.c (h8300_init_once): Fix formatting. | |
791 | ||
6c6e776d | 792 | 2002-09-13 Matt Austern <austern@apple.com> |
b6894857 | 793 | |
6c6e776d MA |
794 | * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p. |
795 | * cp/call.c: Change call-by-const-reference mechanism to use | |
796 | non_cast_lvalue_p when deciding whether the create a temporary. | |
797 | We need a temporary when passing, e.g. (long) x by const ref. | |
798 | * testsuite/g++.dg/other/constref[12].C: New, regression tests for | |
799 | passing a cast expression to a function by const reference. | |
800 | ||
d5909a79 RH |
801 | 2002-09-13 Richard Henderson <rth@redhat.com> |
802 | ||
803 | * config/alpha/alpha.md (attr type): Add callpal. | |
804 | (imb, trap, load_tp, set_tp): Use it. | |
805 | * config/alpha/ev4.md (ev4_callpal): New. | |
806 | * config/alpha/ev5.md (ev5_callpal): New. | |
807 | * config/alpha/ev6.md (ev6_ibr): Handle callpal. | |
808 | * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL. | |
809 | (alphaev5_insn_pipe): Likewise. | |
810 | ||
e0073fa8 AJ |
811 | 2002-09-13 Andreas Jaeger <aj@suse.de> |
812 | ||
813 | * Makefile.in (print-rtl.o): Depend on CONFIG_H. | |
814 | ||
1f298625 SE |
815 | 2002-09-13 Steve Ellcey <sje@cup.hp.com> |
816 | ||
817 | * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO, | |
818 | LIB2ADDEH): New, set to NULL. | |
819 | (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New. | |
820 | ||
1a7e1470 SE |
821 | 2002-09-13 Steve Ellcey <sje@cup.hp.com> |
822 | ||
823 | * config/ia64/quadlib.c (_U_Qfcmp): Make extern. | |
824 | (_U_Qfcnvfxt_quad_to_sgl): Remove declaration. | |
825 | (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp): | |
826 | Add declarations. | |
827 | (_U_Qfneg): Remove. | |
828 | ||
d56c04ce DD |
829 | 2002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com> |
830 | ||
831 | * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support | |
8d9afc4e KH |
832 | for H8/300, H8S aa:8 mode. |
833 | (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode. | |
d56c04ce DD |
834 | * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length |
835 | for H8/300 aa:8 mode. | |
836 | ||
4456530d HP |
837 | 2002-09-13 Hartmut Penner <hpenner@de.ibm.com> |
838 | ||
839 | * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New | |
840 | insns. | |
841 | ||
4d2d910c RH |
842 | 2002-09-12 Richard Henderson <rth@redhat.com> |
843 | ||
844 | * Makefile.in (HOST_PRINT): Use print-rtl1.o | |
845 | (print-rtl.o): Don't define GENERATOR_FILE. | |
846 | (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o. | |
847 | * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output | |
848 | unless GENERATOR_FILE. | |
849 | ||
7606e68f SS |
850 | 2002-09-12 Stan Shebs <shebs@apple.com> |
851 | ||
6ab9a3f4 SS |
852 | * config/darwin.h (USER_LABEL_PREFIX): Define here... |
853 | * config/i386/darwin.h: ... instead of here. | |
854 | ||
7606e68f SS |
855 | * target.h (struct gcc_target): New field |
856 | terminate_dw2_eh_frame_info. | |
857 | * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. | |
858 | (TARGET_INITIALIZER): Add it. | |
859 | * dwarf2out.c (output_call_frame_info): Use target hook. | |
860 | * dwarf2asm.c (dw2_asm_output_delta): Use macro | |
861 | ASM_OUTPUT_DWARF_DELTA if defined. | |
862 | * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document. | |
863 | (ASM_OUTPUT_DWARF_DELTA): Ditto. | |
864 | (ASM_OUTPUT_DWARF_OFFSET): Ditto. | |
865 | (ASM_OUTPUT_DWARF_PCREL): Ditto. | |
866 | * config.gcc (i[34567]86-*-darwin*): Define extra_parts. | |
867 | (powerpc-*-darwin*): Ditto. | |
868 | * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits | |
869 | to work correctly for Darwin. | |
870 | * config/darwin.h (OBJECT_FORMAT_MACHO): Define. | |
871 | (STARTFILE_SPEC): Add crtbegin.o. | |
872 | (ENDFILE_SPEC): Define. | |
873 | (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment. | |
874 | (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases. | |
875 | (ASM_OUTPUT_DWARF_DELTA): Define. | |
876 | (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. | |
877 | * config/darwin.c (darwin_asm_output_dwarf_delta): New function. | |
878 | ||
20b71b17 AM |
879 | 2002-09-13 Alan Modra <amodra@bigpond.net.au> |
880 | ||
881 | * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if" | |
882 | nesting. Correct test for non-PowerPC64 ELF ABI_AIX. | |
883 | * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX. | |
884 | ||
d48fd218 ZW |
885 | 2002-09-12 Zack Weinberg <zack@codesourcery.com> |
886 | ||
887 | * toplev.c: Move default definition of USER_LABEL_PREFIX... | |
888 | * defaults.h: ... here. | |
889 | ||
92bc3c1a RH |
890 | 2002-09-12 Richard Henderson <rth@redhat.com> |
891 | ||
892 | * vax.c: Include tree.h earlier. | |
893 | ||
3f64e543 SS |
894 | 2002-09-12 Stan Shebs <shebs@apple.com> |
895 | ||
896 | * config/darwin.c (machopic_finish): Remove #if 0 chunks. | |
897 | (machopic_operand_p): Ditto. | |
898 | ||
52bd31bb KH |
899 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
900 | ||
901 | * config/arm/arm.c (arm_compute_initial_elimination_offset): | |
902 | Fix a comment typo. | |
903 | ||
387c9294 KH |
904 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
905 | ||
906 | * toplev.c (do_abort): Fix a comment typo. | |
907 | ||
e34bb004 KH |
908 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
909 | ||
910 | * cselib.c: Fix comment formatting. | |
911 | * gengtype.c: Likewise. | |
912 | ||
d0029ebd KH |
913 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
914 | ||
915 | * config/h8300/h8300.md (udivmodqi4): Do not use an expander. | |
916 | (udivmodhi4): Likewise. | |
917 | ||
c3c637e3 | 918 | 2002-09-12 Graham Stott <graham.stott@btinternet.com> |
d48fd218 | 919 | Roger Sayle <roger@eyesopen.com> |
c3c637e3 GS |
920 | |
921 | * i386.c (any_fp_register_operand, fp_register_operand, | |
922 | register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand): | |
923 | New predicate functions. | |
924 | * i386-protos.h: Add their prototypes. | |
925 | * i386.h: Add them to PREDICATE_CODES. | |
926 | * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1, | |
927 | "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2, | |
928 | "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1, | |
929 | "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1, | |
930 | "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2, | |
931 | "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1, | |
932 | "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2, | |
933 | "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1, | |
934 | "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1, | |
935 | "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2, | |
936 | "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2): | |
937 | Use these new predicates to simplify and correct the use of | |
938 | FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P. | |
939 | ||
db4c55f6 JM |
940 | 2002-09-12 Jason Merrill <jason@redhat.com> |
941 | ||
236a2ac8 JM |
942 | * diagnostic.c (output_add_identifier): New fn. |
943 | * diagnostic.h: Declare it. | |
944 | ||
db4c55f6 JM |
945 | * calls.c (store_one_arg): Use size_in_bytes to determine the |
946 | amount of space to push. | |
947 | ||
13c0bc20 JJ |
948 | 2002-09-12 Jakub Jelinek <jakub@redhat.com> |
949 | ||
950 | * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo. | |
951 | ||
0a3bdf9d UW |
952 | 2002-09-12 Ulrich Weigand <uweigand@de.ibm.com> |
953 | ||
954 | * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes. | |
955 | * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes. | |
956 | (s390_select_ccmode): Likewise. | |
957 | (s390_branch_condition_mask): Likewise. | |
958 | (optimization_options): Do not set flag_branch_on_count. | |
959 | (s390_split_branches): Handle doloop branches. | |
960 | (s390_chunkify_pool): Likewise. | |
961 | * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns. | |
962 | ("doloop_end"): New expander. | |
963 | ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long", | |
964 | associated splitters): New. | |
965 | ||
4f968d93 HP |
966 | 2002-09-11 Hartmut Penner <hpenner@de.ibm.com> |
967 | ||
968 | * fold-const.c (make_range): Only narrow to signed range if | |
969 | the signed range is smaller than the unsigned range. | |
970 | ||
35aff10b AM |
971 | 2002-09-12 Alan Modra <amodra@bigpond.net.au> |
972 | ||
973 | * emit-rtl.c (set_mem_size): New function. | |
974 | * expr.h (set_mem_size): Declare. | |
975 | * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate. | |
976 | (expand_block_move): Instead, use adjust_address and | |
977 | replace_equiv_address to generate proper aliasing info. | |
978 | Move common code out of conditionals. Localize vars. | |
979 | ||
874f6a6d | 980 | 2002-09-09 Eric Botcazou ebotcazou@libertysurf.fr |
d48fd218 | 981 | |
874f6a6d EB |
982 | * optabs.c (expand_binop): Minor cleanup. |
983 | (expand_twoval_binop): Convert CONST_INTs like in expand_binop. | |
984 | ||
d1df930b DN |
985 | 2002-09-11 Dan Nicolaescu <dann@ics.uci.edu> |
986 | ||
987 | * print-tree.c (print_node): Print the restrict qualifier. | |
988 | ||
9026a957 JJ |
989 | 2002-09-11 Janis Johnson <janis187@us.ibm.com> |
990 | ||
991 | * doc/install.texi: Fix typos. | |
992 | ||
3fd9d606 ZW |
993 | 2002-09-11 Zack Weinberg <zack@codesourcery.com> |
994 | ||
995 | * Makefile.in: Remove all references to s-under and underscore.c. | |
996 | * collect2.c, tlink.c: Change all uses of prepends_underscore | |
997 | to look directly at USER_LABEL_PREFIX. | |
998 | ||
5b5198f7 DE |
999 | 2002-09-11 David Edelsohn <edelsohn@gnu.org> |
1000 | ||
1001 | * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append | |
1002 | alignment to csect. | |
1003 | (rs6000_xcoff_unique_section): Only set section name for public | |
1004 | data. | |
1005 | (rs6000_xcoff_section_type_flags): Store log2 alignment in flags. | |
1006 | * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove | |
1007 | duplicate definition. | |
1008 | ||
77de9af2 JDA |
1009 | 2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1010 | ||
1011 | * pa.md (extzv): Check predicates before emitting extzv_32. | |
1012 | (insv): Likewise. | |
1013 | ||
33b679d1 UW |
1014 | 2002-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
1015 | ||
1016 | * config/s390/s390.h (MOVE_MAX): Define to correct value. | |
1017 | (MAX_MOVE_MAX): Define. | |
1018 | (MOVE_BY_PIECES_P): Define. | |
1019 | (CLEAR_BY_PIECES_P): Define. | |
1020 | ||
bfae8040 DC |
1021 | 2002-09-10 Denis Chertykov <denisc@overta.ru> |
1022 | ||
1023 | * config/avr/avr.md (movstrhi): Use right operands for conversion. | |
1024 | ||
7730c3ff RE |
1025 | 2002-09-10 Richard Earnshaw <rearnsha@arm.com> |
1026 | ||
1027 | PR c/7873 | |
1028 | * arm.md (insv): Use reg_or_int_operand for operand[3]. | |
1029 | ||
5add3202 DE |
1030 | 2002-09-10 David Edelsohn <edelsohn@gnu.org> |
1031 | ||
1032 | * rs6000.c (rs6000_assemble_visibility): Protect declaration | |
1033 | inside macro. Correct function definition typo. | |
1034 | (rs6000_xcoff_section_type_flags): New function. | |
1035 | (TARGET_SECTION_TYPE_FLAGS): Remove definition. | |
1036 | (rs6000_elf_section_type_flags): Call default_section_type_flags_1 | |
1037 | with appropriate PIC test. | |
1038 | (rs6000_xcoff_select_section): Use decl_readonly_section_1 to | |
1039 | determine readonly. | |
1040 | (rs6000_binds_local_p): Combine PIC flags. | |
1041 | * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define. | |
1042 | * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define. | |
1043 | ||
90389422 PB |
1044 | 2002-09-09 Per Bothner <per@bothner.com> |
1045 | ||
1046 | * print-tree.c (print_node): In a STRING_CST, escape non-ascii | |
1047 | characters, and only print TREE_STRING_LENGTH chars. | |
1048 | ||
686f3bf0 SE |
1049 | 2002-09-09 Steve Ellcey <sje@cup.hp.com> |
1050 | ||
1051 | * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true. | |
1052 | (ASM_FILE_END) New. | |
1053 | * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false. | |
1054 | * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New. | |
1055 | * config/ia64/ia64.c (ia64_asm_output_external): Create list | |
1056 | of external functions if TARGET_HPUX_LD is true. | |
1057 | (ia64_hpux_add_extern_decl): New, routine to put names on | |
1058 | list of external functions. | |
1059 | (ia64_hpux_asm_file_end): Put out declarations for external | |
1060 | functions if and only if they are used. | |
1061 | ||
0c263f4e JDA |
1062 | 2002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1063 | ||
1064 | * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage | |
1065 | on TARGET_64BIT before pic register restore. | |
1066 | ||
e2a6476e DE |
1067 | 2002-09-09 David Edelsohn <edelsohn@gnu.org> |
1068 | ||
1069 | * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description. | |
1070 | (TARGET_HAVE_TLS): New description. | |
1071 | ||
b73b1546 JJ |
1072 | 2002-09-09 Janis Johnson <janis187@us.ibm.com> |
1073 | ||
1074 | * doc/extend.texi (Statement Exprs): Fix broken link. | |
1075 | ||
a9738643 DC |
1076 | 2002-09-09 Denis Chertykov <denisc@overta.ru> |
1077 | ||
1078 | * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for | |
1079 | right conversion of operands[1]. | |
1080 | ||
05b9aaaa UW |
1081 | 2002-09-09 Ulrich Weigand <uweigand@de.ibm.com> |
1082 | ||
1083 | * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as | |
1084 | commutative. Use "nonimmediate_operand" instead of "register_operand" | |
1085 | as predicate for operand 0. Move to after the "*tmXX_mem" insns. | |
1086 | ||
1087 | ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark | |
1088 | as commutative. | |
1089 | ||
1090 | ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not | |
1091 | mark as commutative. Use "nonimmediate_operand" instead of | |
1092 | "register_operand" as predicate for operand 1. | |
1093 | ||
1094 | ("movstrictsi"): Fix typo in insn name. | |
1095 | ||
7ec70495 JH |
1096 | 2002-09-09 Jan Hubicka <jh@suse.cz> |
1097 | ||
1098 | * i386.c (index_register_operand): New. | |
1099 | * i386.h (predicate_codes): Add new predicate. | |
1100 | * i386.md (lea_general_*): Use index_regsiter_operand | |
1101 | (ashift to lea splitter): Do not produce invalid leas | |
1102 | (ashift to mov+ashift split): New. | |
1103 | ||
b2fc915b NC |
1104 | 2002-09-09 Nick Clifton <nickc@redhat.com> |
1105 | ||
1106 | * config/fr30/fr30.c (output.h): Move after inclusion of tree.h. | |
1107 | Fix folding marks. | |
1108 | ||
0b0ad147 | 1109 | 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
d48fd218 | 1110 | J"orn Rennecke <joern.rennecke@superh.com> |
0b0ad147 TM |
1111 | |
1112 | * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits. | |
1113 | ||
2bcc50d0 AM |
1114 | 2002-09-09 Alan Modra <amodra@bigpond.net.au> |
1115 | ||
1116 | * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool. | |
1117 | (function_ok_for_sibcall): Use binds_local_p. Respect longcall | |
1118 | attributes. | |
1119 | ||
c1b4f089 KG |
1120 | 2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1121 | ||
1122 | * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE. | |
1123 | ||
b9203463 RH |
1124 | 2002-09-08 Richard Henderson <rth@redhat.com> |
1125 | ||
1126 | * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli. | |
1127 | (DW_OP_GNU_push_tls_address): New. | |
1128 | (DW_OP_lo_user): Fix. | |
1129 | * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New. | |
1130 | (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes. | |
1131 | (size_of_loc_descr): Likewise. | |
1132 | (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr. | |
1133 | (add_AT_location_description): Take a dw_loc_descr_ref not an rtx. | |
1134 | (loc_descriptor_from_tree): Handle TLS variables. | |
1135 | (rtl_for_decl_location): Do avoid_constant_pool_reference here ... | |
1136 | (add_location_or_const_value_attribute): ... not here. Defer | |
1137 | to loc_descriptor_from_tree for TLS variables. | |
1138 | ||
1139 | * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New. | |
1140 | * config/i386/i386.c (i386_output_dwarf_dtprel): New. | |
1141 | * config/i386/i386-protos.h: Update. | |
1142 | ||
7df98878 RS |
1143 | 2002-09-08 Roger Sayle <roger@eyesopen.com> |
1144 | ||
1145 | PR optimization/6405 | |
1146 | * unroll.c (loop_iterations): last_loop_insn should be the previous | |
1147 | non-note instruction before loop->end. | |
1148 | * loop.c (strength_reduce): The conditional jump is the last | |
1149 | non-note instruction before loop->end (as above). | |
1150 | ||
f40f4c8e RS |
1151 | 2002-09-08 Roger Sayle <roger@eyesopen.com> |
1152 | ||
1153 | * combine.c (try_combine): Handle the case that undobuf.other_insn | |
1154 | has been turned into a return or unconditional jump, by inserting | |
1155 | a BARRIER if necessary. | |
1156 | (simplify_set): Test if a condition code setter has a constant | |
1157 | comparison at compile time, if so convert this insn to a no-op move | |
1158 | and update/simplify the condition code user (undobuf.other_insn). | |
1159 | ||
e2f97e26 KW |
1160 | 2002-09-08 Krister Walfridsson <cato@df.lth.se> |
1161 | ||
1162 | * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine. | |
1163 | (CLEAR_INSN_CACHE): Define. | |
1164 | ||
4b7e68e7 KH |
1165 | 2002-09-08 Kazu Hirata <kazu@cs.umass.edu> |
1166 | ||
1167 | * basic-block.h: Fix comment formatting. | |
1168 | * c-common.c: Likewise. | |
1169 | * c-common.h: Likewise. | |
1170 | * c-lex.c: Likewise. | |
1171 | * c-pretty-print.c: Likewise. | |
1172 | * cfglayout.c: Likewise. | |
1173 | * cfgloop.c: Likewise. | |
1174 | * defaults.h: Likewise. | |
1175 | * et-forest.c: Likewise. | |
1176 | * explow.c: Likewise. | |
1177 | * function.h: Likewise. | |
1178 | * gcov.c: Likewise. | |
1179 | * genattrtab.c: Likewise. | |
1180 | * gengtype.c: Likewise. | |
1181 | * ifcvt.c: Likewise. | |
1182 | * libgcc2.c: Likewise. | |
1183 | * loop.c: Likewise. | |
1184 | * profile.c: Likewise. | |
1185 | * ra-build.c: Likewise. | |
1186 | * real.c: Likewise. | |
1187 | * rtl.h: Likewise. | |
1188 | * tracer.c: Likewise. | |
1189 | * tree-inline.c: Likewise. | |
1190 | * varasm.c: Likewise. | |
1191 | ||
2567406a JH |
1192 | 2002-09-08 Jan Hubicka <jh@suse.cz> |
1193 | ||
1194 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref | |
1195 | handling. | |
1196 | ||
1197 | * loop.c (loop_gics_reduce): Emit addition after. | |
1198 | ||
bd79540a AM |
1199 | 2002-09-08 Alan Modra <amodra@bigpond.net.au> |
1200 | ||
1201 | * varasm.c (default_assemble_visibility): Rename from | |
1202 | assemble_visibility. | |
1203 | * output.h: Here too. | |
1204 | * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here. | |
1205 | * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here. | |
1206 | ||
32ff9c74 AM |
1207 | 2002-09-08 Alan Modra <amodra@bigpond.net.au> |
1208 | ||
1209 | * reload.c (find_reloads <p constraint>): Pass operand_mode to | |
1210 | find_reloads_address. | |
1211 | ||
6588987e KH |
1212 | 2002-09-08 Kazu Hirata <kazu@cs.umass.edu> |
1213 | ||
1214 | * config/h8300/h8300.md (udivmodqi4): Enable on H8/300. | |
1215 | (anonymous pattern): Likewise. | |
1216 | ||
0100732e SS |
1217 | 2002-09-07 Scott Snyder <snyder@fnal.gov> |
1218 | ||
1219 | PR target/7374 | |
1220 | * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'. | |
1221 | ||
77043c7c RS |
1222 | 2002-09-07 Roger Sayle <roger@eyesopen.com> |
1223 | ||
1224 | * basic-block.h (struct loop): Remove unused cont_dominator field. | |
1225 | ||
5dd78220 IS |
1226 | 2002-09-07 Igor Shevlyakov <igor@microunity.com> |
1227 | ||
d48fd218 | 1228 | * varasm.c (decode_rtx_const): Don't check undefined field for |
5dd78220 IS |
1229 | CONST_VECTOR. |
1230 | ||
b96a3fa3 GN |
1231 | 2002-09-07 Glen Nakamura <glen@imodulo.com> |
1232 | ||
7fa86a10 | 1233 | PR opt/7814 |
b96a3fa3 GN |
1234 | * sched-deps.c (sched_analyze_insn): Make sure to add insn |
1235 | to reg_last->sets after flushing the dependency lists to guarantee | |
1236 | that subsequent clobbers will be dependent on it. | |
1237 | ||
ad9df12f | 1238 | 2002-09-07 Igor Shevlyakov <igor@microunity.com> |
2567406a | 1239 | |
ad9df12f IS |
1240 | * combine.c (simplify_shift_const): Calculate rotate count |
1241 | correctly for vector operands. | |
1242 | ||
54c93c30 AE |
1243 | 2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de> |
1244 | ||
1245 | * c-typeck.c (c_tree_expr_nonnegative_p): New function. | |
1246 | (build_binary_op): Call c_tree_expr_nonnegative_p rather than | |
2567406a | 1247 | tree_expr_nonnegative_p. |
54c93c30 AE |
1248 | (build_conditional_expr): Likewise. |
1249 | * c-tree.h (c_tree_expr_nonnegative_p): Declare. | |
1250 | ||
36eea25f RH |
1251 | 2002-09-07 Richard Henderson <rth@redhat.com> |
1252 | ||
3aa4cad7 RH |
1253 | * builtins.def (inf, inff, infl): Mark const. |
1254 | (huge_val, huge_valf, huge_vall): Likewise. | |
1255 | (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove. | |
1256 | ||
36eea25f RH |
1257 | * real.c (ereal_inf): Clear E before use. |
1258 | ||
5c102b48 KH |
1259 | 2002-09-07 Kazu Hirata <kazu@cs.umass.edu> |
1260 | ||
1261 | * config/h8300/h8300.md (udivmodqi4): Split the pattern into | |
1262 | an expander and an anonymous pattern. Zero out the upper half | |
1263 | of the dividend in the expander. | |
1264 | (udivmodqi4): Likewise. | |
1265 | ||
8bd06267 KH |
1266 | 2002-09-07 Kazu Hirata <kazu@cs.umass.edu> |
1267 | ||
1268 | * config/h8300/h8300.c: Fix formatting. | |
1269 | * config/h8300/h8300.h: Likewise. | |
1270 | * config/h8300/h8300.md: Likewise. | |
1271 | ||
39587bb9 ZD |
1272 | 2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1273 | ||
1274 | * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness | |
1275 | information. | |
1276 | ||
92d9256d GS |
1277 | 2002-09-07 Graham Stott <graham.stott@btinternet.con> |
1278 | ||
1279 | * rtlanal.c (dead_or_set_regno_p): Fix typo. | |
1280 | ||
93638d7a AM |
1281 | 2002-09-07 Alan Modra <amodra@bigpond.net.au> |
1282 | ||
fea76d82 AM |
1283 | * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. |
1284 | ||
93638d7a AM |
1285 | * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe. |
1286 | * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define. | |
1287 | (TARGET_ASM_OUT): Add the above here. | |
1288 | * target.h (struct gcc_target): Add "visibility" field. | |
1289 | * varasm.c (maybe_assemble_visibility): Call targetm visibility func. | |
1290 | * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function. | |
1291 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Define. | |
1292 | (rs6000_legitimize_reload_address, first_reg_to_save): Formatting. | |
1293 | ||
370ce32a ZL |
1294 | 2002-09-06 Ziemowit Laski <zlaski@apple.com> |
1295 | ||
1296 | * c-lang.c (objc_is_id): New stub. | |
1297 | * c-tree.h (objc_is_id): New forward declaration. | |
1298 | * c-typeck.c (build_c_cast): Do not strip protocol | |
1299 | qualifiers from 'id' type. | |
1300 | * objc/objc-act.c (objc_comptypes): Correct handling | |
1301 | of protocol qualifiers. | |
1302 | (objc_is_id): New. | |
1303 | ||
942579db JL |
1304 | Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com) |
1305 | ||
54c93c30 | 1306 | * pentium.md (pentium-firstvboth): Fix typo. |
942579db | 1307 | |
c4dfc70c DD |
1308 | 2002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com> |
1309 | ||
1310 | * h8300.c (enum shift_alg): Move to earlier in h8300.c. | |
1311 | (enum shift_type, enum h8_cpu): Likewise. | |
1312 | (INL, ROT, LOP, SPC macros): Likewise. | |
1313 | (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose | |
1314 | const designator. | |
1315 | (h8300_init_once): Update shift_alg_{qi,hi,si} to use more | |
1316 | space efficient algorithms when optimize for codesize. | |
1317 | ||
5873a4c1 NP |
1318 | Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1319 | ||
1320 | Fix PR/1727 and long-standing failing testcase | |
1321 | objc/formal-protocol-6.m. | |
1322 | * objc-act.c (build_protocol_expr): If compiling for the GNU | |
1323 | runtime, create a list of Protocol statically allocated instances | |
1324 | if it doesn't exist, then add the Protocol object to this same | |
1325 | list. | |
1326 | (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used | |
1327 | instead of TREE_CHAIN. | |
1328 | ||
e30d4c82 NP |
1329 | Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1330 | ||
1331 | * objc/objc-act.c (dump_interface): Enlarged the char * buffer to | |
1332 | 10k. Fixed category dumping - print out category names with the | |
1333 | proper syntax. Print '@end\n' and not '\n@end' at the end of the | |
1334 | interface. | |
22d4398d | 1335 | (finish_objc): Fixed the -gen-decls option. It was printing out |
e30d4c82 NP |
1336 | only the last class. Dump an interface declaration of all classes |
1337 | being compiled instead. | |
1338 | ||
fcd53748 JT |
1339 | 2002-09-06 Jason Thorpe <thorpej@wasabisystems.com> |
1340 | ||
2567406a JH |
1341 | * config/arm/arm-protos.h (arm_gen_return_addr_mask): New |
1342 | prototype. | |
fcd53748 JT |
1343 | * config/arm/arm.c (arm_gen_return_addr_mask): New function. |
1344 | * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask | |
1345 | if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode | |
1346 | rather than GEN_INT. | |
1347 | * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define. | |
1348 | (return_addr_mask, *check_arch2): New. | |
1349 | ||
96fd3851 UW |
1350 | 2002-09-06 Ulrich Weigand <uweigand@de.ibm.com> |
1351 | ||
2567406a | 1352 | * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly", |
96fd3851 | 1353 | "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3", |
2567406a | 1354 | "*addsi3_carry1_cc", "*addsi3_carry1_cconly", |
96fd3851 UW |
1355 | "*addsi3_carry2_cc", "*addsi3_carry2_cconly", |
1356 | "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3", | |
2567406a | 1357 | "adddf3", "*adddf3", "*adddf3_ibm", |
96fd3851 UW |
1358 | "addsf3", "*addsf3", "*addsf3_ibm", |
1359 | "muldi3", "mulsi3", "mulsidi3", | |
1360 | "muldf3", "*muldf3", "*muldf3_ibm", | |
1361 | "mulsf3", "*mulsf3", "*mulsf3_ibm", | |
1362 | "*anddi3_cc", "*anddi3_cconly", "anddi3", | |
1363 | "*andsi3_cc", "*andsi3_cconly", "andsi3", | |
1364 | "*iordi3_cc", "*iordi3_cconly", "iordi3", | |
1365 | "*iorsi3_cc", "*iorsi3_cconly", "iorsi3", | |
1366 | "*xordi3_cc", "*xordi3_cconly", "xordi3", | |
1367 | "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand" | |
1368 | instead of "register_operand" as predicate for "%0" operand. | |
1369 | ||
22252625 JJ |
1370 | 2002-09-06 Jakub Jelinek <jakub@redhat.com> |
1371 | ||
1372 | * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 | |
1373 | unconditionally when gcc_cv_as_flags64 checks are gone. | |
1374 | * configure: Rebuilt. | |
1375 | ||
bc401279 AM |
1376 | 2002-09-06 Alan Modra <amodra@bigpond.net.au> |
1377 | ||
1378 | * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of | |
1379 | 2002-07-26 change. Comment. | |
1380 | ||
b3fbfc07 KG |
1381 | 2002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1382 | ||
1383 | * frv.c (frv_unique_section, frv_select_section, | |
1384 | frv_select_rtx_section): Delete. | |
1385 | (frv_in_small_data_p): New. | |
1386 | (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION, | |
1387 | TARGET_ASM_SELECT_RTX_SECTION): Delete. | |
1388 | (TARGET_IN_SMALL_DATA_P): Define. | |
1389 | ||
41e34bab DJ |
1390 | 2002-09-05 Dale Johannesen <dalej@apple.com> |
1391 | ||
1392 | * reload1.c (reload): Retain only those memory clobbers | |
1393 | added for variable-array handling. | |
1394 | ||
dc0ba55a JT |
1395 | 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com> |
1396 | ||
1397 | * config/arm/arm.c (arm_return_in_memory): Implement ATPCS | |
2567406a | 1398 | return-in-memory rules. |
dc0ba55a JT |
1399 | * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define. |
1400 | ||
dd19d142 DE |
1401 | 2002-09-05 David Edelsohn <edelsohn@gnu.org> |
1402 | ||
1403 | * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete. | |
1404 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete. | |
1405 | ||
3717da94 JT |
1406 | 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com> |
1407 | ||
1408 | * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is | |
1409 | not a compile-time constant for the non-IBM case. | |
1410 | * config/arm/arm-protos.h (arm_float_words_big_endian): New | |
2567406a | 1411 | prototype. |
3717da94 | 1412 | * config/arm/arm.c (arm_float_words_big_endian): New function. |
b5b620a4 | 1413 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__ |
2567406a JH |
1414 | if TARGET_VFP and not TARGET_HARD_FLOAT. |
1415 | (ARM_FLAG_VFP, TARGET_VFP): Define. | |
3717da94 JT |
1416 | (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian. |
1417 | ||
225cee28 DE |
1418 | 2002-09-05 David Edelsohn <edelsohn@gnu.org> |
1419 | ||
1420 | * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux* | |
1421 | URLs. Fix AIX wording. | |
1422 | ||
c72bfda7 SS |
1423 | 2002-09-05 Stan Shebs <shebs@apple.com> |
1424 | ||
1425 | * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and | |
1426 | -fPIC equivalent on Darwin. | |
1427 | ||
3578cf63 R |
1428 | Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1429 | ||
1430 | * sh.c (sh_expand_builtin): Return early if encountering an | |
1431 | error_mark for a type. | |
1432 | ||
7974fe63 UW |
1433 | 2002-09-05 Ulrich Weigand <uweigand@de.ibm.com> |
1434 | ||
1435 | * config/s390/s390.c (s390_expand_plus_operand): Do not require | |
1436 | double-word scratch register. | |
1437 | config/s390/s390.md ("reload_indi", "reload_insi"): Adapt. | |
1438 | ||
2567406a | 1439 | ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem", |
7974fe63 UW |
1440 | "*cli"): Replace s_operand by memory_operand. |
1441 | ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand. | |
1442 | ||
f8cb5851 KH |
1443 | 2002-09-05 Kazu Hirata <kazu@cs.umass.edu> |
1444 | ||
1445 | * config/h8300/h8300.c (asm_file_start): Add a missing | |
1446 | semicolon. | |
1447 | ||
5fc0e5df KW |
1448 | 2002-09-04 Krister Walfridsson <cato@df.lth.se> |
1449 | ||
1450 | * config/i386/i386.h (GOT_SYMBOL_NAME): Define. | |
1451 | * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME. | |
1452 | (ix86_output_addr_diff_elt) Likewise. | |
1453 | (x86_output_mi_thunk) Likewise. | |
1454 | * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine. | |
1455 | ||
f4b488fd KG |
1456 | 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1457 | ||
1458 | * frv.c (frv_encode_section_info): Fix error in last change. | |
1459 | ||
0e5dbd9b DE |
1460 | 2002-09-04 David Edelsohn <edelsohn@gnu.org> |
1461 | ||
1462 | * config/rs6000/rs6000.c (rs6000_flag_pic): New variable. | |
1463 | (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED. | |
1464 | (TARGET_BINDS_LOCAL_P): Define. | |
1465 | (rs6000_override_options): Save original flag_pic value. | |
1466 | (rs6000_elf_select_section): Call default_elf_select_section_1. | |
1467 | (rs6000_elf_unique_section): Call default_unique_section_1. | |
1468 | (rs6000_elf_in_small_data_p): New function. | |
1469 | (rs6000_xcoff_asm_named_section): Determine storage mapping class. | |
1470 | (rs6000_xcoff_select_section): Update based on defaults. | |
1471 | (rs6000_xcoff_unique_section): Set to basic name if not common. | |
1472 | (rs6000_binds_local_p): New function. | |
1473 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set | |
1474 | targetm.have_srodata_section if SDATA_EABI. | |
1475 | (TARGET_IN_SMALL_DATA_P): Define. | |
1476 | ||
f57f9cb8 DJ |
1477 | 2002-09-04 Dale Johannesen <dalej@apple.com> |
1478 | ||
1479 | * varasm.c (struct rtx_const, decode_rtx_const): | |
1480 | Make veclo and vechi fields not share storage. | |
1481 | ||
ed6cc1f5 R |
1482 | Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1483 | ||
1484 | * loop.c (scan_loop): Don't mark separate insns out of a libcall | |
1485 | for moving. | |
1486 | (move_movables): Abort if we see the first insn of a libcall. | |
1487 | ||
ab5e2615 RH |
1488 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1489 | ||
1490 | * builtin-types.def (BT_FN_FLOAT): New. | |
1491 | (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New. | |
1492 | * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL, | |
1493 | BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New. | |
1494 | * builtins.c (fold_builtin_inf): New. | |
1495 | (fold_builtin): Call it. | |
1496 | * real.c (ereal_inf): New. | |
1497 | * real.h: Declare it. | |
1498 | * doc/extend.texi: Document new builtins. | |
1499 | ||
9beb7d20 RH |
1500 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1501 | ||
1502 | * cse.c (cse_insn): Avoid subreg games if the equivalence | |
1503 | is already in the proper mode. | |
1504 | ||
29984e05 EB |
1505 | 2002-09-04 Eric Botcazou <ebotcazou@multimania.com> |
1506 | ||
1507 | PR c/7102 | |
1508 | * optabs.c (expand_binop): Convert CONST_INTs in all cases. | |
1509 | ||
8d46398e JDA |
1510 | 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1511 | ||
1512 | * pa.md (setccfp0, setccfp1): New patterns. | |
1513 | ||
14966b94 KG |
1514 | 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1515 | ||
1516 | * frv-protos.h (frv_init_builtins, frv_expand_builtin, | |
1517 | frv_select_section, frv_select_rtx_section, | |
1518 | frv_encode_section_info, frv_unique_section): Delete. | |
1519 | * frv.c: Update for target hooks. | |
1520 | * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION, | |
1521 | SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION, | |
1522 | EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete. | |
1523 | ||
c8bf1a1a KG |
1524 | 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1525 | ||
1526 | * ip2k-protos.h (function_prologue, function_epilogue, | |
1527 | encode_section_info): Update to match target hook specification. | |
1528 | * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS. | |
1529 | (function_prologue, function_epilogue, encode_section_info): | |
1530 | Update to match target hook specification. | |
1531 | * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN, | |
1532 | ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete. | |
1533 | (NOTICE_UPDATE_CC): Cast to void. | |
1534 | * ip2k.md: Add defaults in switch statements. | |
1535 | ||
0484cb35 JJ |
1536 | 2002-09-04 Janis Johnson <janis187@us.ibm.com> |
1537 | ||
1538 | * doc/trouble.texi (Interoperation): Update information about C++ ABI | |
1539 | issues. | |
1540 | ||
3e62bd08 JT |
1541 | 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com> |
1542 | ||
1543 | * config/sparc/t-netbsd64: Disable multilib for now. | |
1544 | ||
275b6d80 DE |
1545 | 2002-09-04 David Edelsohn <edelsohn@gnu.org> |
1546 | ||
1547 | * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro. | |
1548 | * target.h (gcc_target): Add have_srodata_section member. | |
1549 | * varasm.c (section_category): Add SECCAT_SRODATA. | |
1550 | (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if | |
1551 | READONLY_SDATA_SECTION defined. | |
1552 | (decl_readonly_section_1): True for SECCAT_SRODATA also. | |
1553 | (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2. | |
1554 | (default_unique_section_1): Likewise. | |
1555 | ||
015b1ad1 JDA |
1556 | 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1557 | ||
1558 | * expr.c (emit_group_load): Revise to allow splitting TCmode source | |
1559 | into DImode pieces. | |
1560 | ||
1561 | * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. | |
1562 | * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode | |
1563 | for floating-point register class. | |
1564 | * pa.c (function_arg): Fix handling of modes wider than one word for | |
1565 | TARGET_64BIT. | |
1566 | ||
b10f2187 R |
1567 | Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1568 | ||
1569 | * combine.c (make_compound_operation): Don't generate zero / sign | |
1570 | extensions in floating point modes. | |
1571 | ||
478c9e72 JJ |
1572 | 2002-09-04 Janis Johnson <janis187@us.ibm.com> |
1573 | ||
1574 | * doc/c-tree.texi: Fix overfull hboxes. | |
1575 | * doc/cppopts.texi: Ditto. | |
1576 | * doc/extend.texi: Ditto. | |
1577 | * doc/gty.texi: Ditto. | |
1578 | * doc/invoke.texi: Ditto. | |
1579 | * doc/makefile.texi: Ditto. | |
1580 | * doc/rtl.texi: Ditto. | |
1581 | * doc/standards.texi: Ditto. | |
1582 | * doc/tm.texi: Ditto. | |
1583 | ||
77e8a0cc RH |
1584 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1585 | ||
1586 | * c-common.c (builtin_define_with_hex_fp_value): New. | |
1587 | (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig. | |
1588 | ||
a9c60612 JJ |
1589 | 2002-09-04 Janis Johnson <janis187@us.ibm.com> |
1590 | ||
1591 | * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options. | |
1592 | (-fpcc-struct-return, -freg-struct-return, -fshort-enums, | |
1593 | -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore): | |
1594 | Warn that these options can break ABI compatibility. | |
1595 | ||
4b67a274 RH |
1596 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1597 | ||
1598 | * real.c (ereal_to_decimal): Add digits parameter. | |
1599 | * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter. | |
1600 | * c-pretty-print.c (pp_c_real_literal): Update call. | |
1601 | * print-rtl.c (print_rtx): Likewise. | |
1602 | * print-tree.c (print_node_brief, print_node): Likewise. | |
1603 | * sched-vis.c (print_value): Likewise. | |
1604 | * config/arc/arc.c (arc_print_operand): Likewise. | |
1605 | * config/c4x/c4x.c (c4x_print_operand): Likewise. | |
1606 | * config/i370/i370.h (PRINT_OPERAND): Likewise. | |
1607 | * config/i386/i386.c (print_operand): Likewise. | |
1608 | * config/i960/i960.c (i960_print_operand): Likewise. | |
1609 | * config/ip2k/ip2k.c (asm_output_float): Likewise. | |
1610 | * config/m32r/m32r.c (m32r_print_operand): Likewise. | |
1611 | * config/m68hc11/m68hc11.c (print_operand): Likewise. | |
1612 | * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND, | |
1613 | ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. | |
2567406a | 1614 | * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND, |
4b67a274 RH |
1615 | ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. |
1616 | * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND, | |
1617 | ASM_OUTPUT_DOUBLE_OPERAND): Likewise. | |
1618 | * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND, | |
1619 | ASM_OUTPUT_DOUBLE_OPERAND): Likewise. | |
1620 | * config/mips/mips.c (print_operand): Likewise. | |
1621 | * config/ns32k/ns32k.c (print_operand): Likewise. | |
1622 | * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise. | |
1623 | * config/vax/vax.h (PRINT_OPERAND): Likewise. | |
1624 | * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs. | |
1625 | ||
01abf342 BW |
1626 | 2002-09-04 Bob Wilson <bob.wilson@acm.org> |
1627 | ||
1628 | * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to | |
1629 | xtensa_multibss_section_type_flags. | |
1630 | * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define. | |
1631 | ||
cd42d3df RH |
1632 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1633 | ||
1634 | * doc/install-old.texi: Don't mention enquire. | |
1635 | * doc/sourcebuild.texi: Update float.h description. | |
1636 | ||
502e6d5a R |
1637 | Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1638 | ||
1639 | * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract. | |
1640 | ||
2cc9fb4c DE |
1641 | 2002-09-03 David Edelsohn <edelsohn@gnu.org> |
1642 | ||
1643 | * varasm.c (default_section_type_flags): Append _1 to name with | |
1644 | shlib parameter. Use original name to call new function with | |
1645 | implicit flag_pic. | |
1646 | (decl_readonly_section): Likewise. | |
1647 | (default_elf_select_section): Likewise. | |
1648 | (default_unique_section): Likewise. | |
1649 | (default_bind_local_p): Likewise. | |
1650 | (categorize_decl_for_section): Add shlib parameter to use in place | |
1651 | of implicit flag_pic. | |
1652 | * output.h: Declare new functions with _1 and shlib argument. | |
1653 | ||
7c19f816 JJ |
1654 | 2002-09-03 Janis Johnson <janis187@us.ibm.com> |
1655 | ||
8c085f6f JJ |
1656 | * doc/install.texi: Fix typos, formatting problems, and obvious |
1657 | overfull/underfull boxes. | |
1658 | ||
7c19f816 JJ |
1659 | * Makefile.in (TEXI_GCC_FILES): Add compat.texi. |
1660 | * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and | |
1661 | include its file, compat.texi. | |
1662 | * doc/compat.texi: New file with new chapter, Binary Compatibility. | |
1663 | ||
79ba5e3b NB |
1664 | 2002-09-03 Neil Booth <neil@daikokuya.co.uk> |
1665 | ||
1666 | Debian BTS Bug #157416 | |
1667 | * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions. | |
1668 | * cpplib.c (destringize_and_run): Kludge around getting | |
1669 | tokens from in-progress macros. | |
1670 | (_cpp_do__Pragma): Simplify. | |
1671 | ||
57016b47 SE |
1672 | 2002-09-03 Steve Ellcey <sje@cup.hp.com> |
1673 | ||
1674 | * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu. | |
1675 | (CPP_CPU_SPEC): Remove. | |
1676 | (TARGET_CPU_CPP_BUILTINS): New. | |
1677 | * config/ia64/hpux.h (CPP_PREDEFINES): Remove. | |
1678 | (CPP_SPEC): Remove. | |
1679 | (TARGET_OS_CPP_BUILTINS): New. | |
1680 | * config/ia64/linux.h (CPP_PREDEFINES): Remove. | |
1681 | (TARGET_OS_CPP_BUILTINS): New. | |
1682 | * config/ia64/aix.h (CPP_SPEC): Move some stuff to | |
1683 | TARGET_OS_CPP_BUILTINS. | |
1684 | (CPP_PREDEFINES): Remove. | |
1685 | (CPLUSPLUS_CPP_SPEC): Remove. | |
1686 | (TARGET_OS_CPP_BUILTINS): New. | |
1687 | ||
d57a4b98 RH |
1688 | 2002-09-03 Richard Henderson <rth@redhat.com> |
1689 | ||
1690 | * Makefile.in (USER_H): Add ginclude/float.h. | |
1691 | (FLOAT_H): Remove. | |
1692 | (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H. | |
1693 | (mostlyclean): Don't remove float.h intermediate files. | |
1694 | (distclean): Don't remove float.h. | |
1695 | * config.gcc: Remove all float_format references. | |
1696 | * configure.in (float_format, float_h_file): Remove. | |
1697 | ||
1698 | * c-common.c: Include tree-inline.h. | |
1699 | (builtin_define_with_int_value): New. | |
1700 | (builtin_define_type_precision): Use it. | |
1701 | (builtin_define_float_constants): New. | |
1702 | (cb_register_builtins): Use it. Define __FLT_RADIX__ and | |
1703 | __FLT_EVAL_METHOD__. | |
1704 | * defaults.h (TARGET_FLT_EVAL_METHOD): New. | |
1705 | * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New. | |
1706 | * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New. | |
1707 | * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format. | |
1708 | (TARGET_FLT_EVAL_METHOD): New. | |
1709 | ||
1710 | * config/float-c4x.h, config/float-i128.h, config/float-i32.h, | |
1711 | config/float-i386.h, config/float-i64.h, config/float-m68k.h, | |
1712 | config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove. | |
1713 | * ginclude/float.h: New. | |
1714 | ||
527347f0 SS |
1715 | 2002-09-03 Stan Shebs <shebs@apple.com> |
1716 | ||
1717 | * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used. | |
1718 | (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2. | |
1719 | (PREFERRED_DEBUGGING_TYPE): Ditto. | |
1720 | (ASM_OUTPUT_IDENT): Remove empty definition. | |
1721 | ||
34c1864f SE |
1722 | 2002-09-03 Steve Ellcey <sje@cup.hp.com> |
1723 | ||
1724 | * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and | |
1725 | cxx_target. | |
1726 | * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma | |
1727 | handling routine for builtin pragma. | |
1728 | * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma): | |
1729 | Registered pragma handling routine. | |
1730 | * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto. | |
1731 | (ia64_hpux_add_pragma_builtin) New subroutine used by above. | |
1732 | If builtin pragma seen for math routine and C89 conformance is | |
1733 | requested use different math function in order to set errno. | |
1734 | * t-ia64 (ia64-c.o): Add new rule for new file. | |
1735 | ||
9b7c75b9 UW |
1736 | 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com> |
1737 | ||
1738 | * config/s390/s390.md ("movti"): Add Q->Q alternative. | |
1739 | ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64", | |
1740 | "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise. | |
2567406a JH |
1741 | |
1742 | ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss", | |
9b7c75b9 UW |
1743 | "*movsf_ss"): Remove. |
1744 | ||
710ba35f JDA |
1745 | 2002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1746 | ||
1747 | * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): | |
1748 | Delete macros. | |
1749 | ||
ff970081 AD |
1750 | 2002-09-03 Arati Dikey <aratid@kpit.com> |
1751 | ||
1752 | * h8300.c (asm_file_start): Corrected optimization comment. | |
1753 | ||
b50d021d SS |
1754 | 2002-09-03 Stan Shebs <shebs@apple.com> |
1755 | ||
1756 | * c-lang.c (recognize_objc_keyword): Remove, no longer used. | |
1757 | * c-tree.h (recognize_objc_keyword): Remove decl. | |
1758 | * c-typeck.c (comp_target_types): Update a comment. | |
1759 | ||
b808c04c UW |
1760 | 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com> |
1761 | ||
1762 | * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter | |
1763 | and register validity checks. | |
1764 | (general_s_operand): Adapt to s390_decompose_address interface change. | |
1765 | (q_constraint): Likewise. | |
1766 | (s390_expand_plus_operand): Likewise. | |
1767 | (legitimiate_address_p): Likewise. | |
1768 | (legitimate_la_operand_p): Likewise. | |
1769 | (legitimize_la_operand): Likewise. | |
1770 | (print_operand_address): Likewise. | |
1771 | (print_operand): Likewise. | |
1772 | ||
ee453219 NP |
1773 | Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1774 | ||
1775 | PR objc/5956: | |
1776 | * objc/objc-act.c (build_typed_selector_reference): Fix typo which | |
2567406a JH |
1777 | was causing the new selector never to match the existing ones |
1778 | (Patch by Alexander Malmberg <alexander@malmberg.org>). | |
ee453219 | 1779 | |
d82283d5 GS |
1780 | 2002-09-03 Graham Stott <graham.stott@btinternet.com> |
1781 | ||
1782 | * config/i386/i386.md ("femms"): Add "memory" attr "none". | |
1783 | ||
1784 | 2002-09-03 Graham Stott <graham.stott@btinternet.com> | |
c7a009a2 GS |
1785 | |
1786 | * expr.c (expand_expr): Remove extraneous comment and code. | |
1787 | ||
98c0d8d1 RH |
1788 | 2002-08-31 Richard Henderson <rth@redhat.com> |
1789 | ||
1790 | * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko. | |
1791 | ||
a5f3f0ab JDA |
1792 | 2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1793 | ||
1794 | * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype. | |
1795 | ||
38ec83b1 RH |
1796 | 2002-08-30 Richard Henderson <rth@redhat.com> |
1797 | ||
c9989d09 | 1798 | PR opt/7515 |
38ec83b1 RH |
1799 | * c-objc-common.c: Include target.h. |
1800 | (c_cannot_inline_tree_fn): Don't auto-inline functions that | |
1801 | don't bind locally. Factor setting DECL_UNINLINABLE. | |
1802 | * Makefile.in (c-objc-common.o): Update. | |
1803 | ||
4c64396e JJ |
1804 | 2002-08-30 Janis Johnson <janis187@us.ibm.com> |
1805 | ||
1806 | * doc/install.texi (Configuration, Building): Fix a typo and | |
1807 | some formatting directives. | |
1808 | ||
4226378a PK |
1809 | 2002-08-30 Paul Koning <pkoning@equallogic.com> |
1810 | ||
1811 | * doc/c-tree.texi (RDIV_EXPR): Fix typo. | |
1812 | * doc/rtl.texi (post_modify): Remove misplaced text, remove "not | |
1813 | implemented" note. | |
1814 | * doc/md.texi (IP2K): Move machine-specific constraints before MIPS | |
1815 | for alphabetic order. | |
1816 | * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for | |
1817 | VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT. | |
1818 | (VAX_HALFWORD_ORDER): Document. | |
1819 | (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for | |
1820 | IEEE float format. | |
1821 | (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE. | |
1822 | (ASM_OUTPUT_LABEL_REF): Fix font. | |
1823 | (CASE_VECTOR_SHORTEN_MODE): Ditto. | |
1824 | ||
b8074dbe DC |
1825 | 2002-08-30 Denis Chertykov <denisc@overta.ru> |
1826 | ||
1827 | * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double | |
1828 | stuff. | |
1829 | (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and | |
1830 | CONST_DOUBLE constants. | |
2567406a | 1831 | |
55f49e3d JT |
1832 | 2002-08-30 Jason Thorpe <thorpej@wasabisystems.com> |
1833 | ||
1834 | * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language- | |
1835 | related defines to... | |
1836 | (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here. | |
1837 | * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine | |
1838 | as a no-op. | |
1839 | ||
e1944073 KW |
1840 | 2002-08-30 Krister Walfridsson <cato@df.lth.se> |
1841 | ||
1842 | * config/arm/arm.c (arm_asm_output_labelref): New function. | |
1843 | * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref. | |
1844 | * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref. | |
1845 | ||
6e92b3a1 RB |
1846 | 2002-08-29 Rodney Brown <rbrown64@csc.com.au> |
1847 | ||
1848 | * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual | |
1849 | memory exhausted" workarounds. | |
1850 | ||
9d533cb5 GDR |
1851 | 2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1852 | ||
1853 | * diagnostic.c (fancy_abort): Don't repeat "internal error". | |
1854 | * toplev.c (crash_signal): Likewise. | |
1855 | ||
1f676100 NP |
1856 | Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1857 | ||
1858 | * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation. | |
1859 | * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector): | |
1860 | Extended, updated documentation. | |
1861 | (-Wundeclared-selector): Documented. | |
1862 | ||
23532de9 JT |
1863 | 2002-08-29 Jason Thorpe <thorpej@wasabisystems.com> |
1864 | ||
1865 | * config/chorus.h: Consistently define *_DEBUGGING_INFO with | |
1866 | the value 1. Do not undef before defining. | |
1867 | * config/darwin.h: Likewise. | |
1868 | * config/dbx.h: Likewise. | |
1869 | * config/dbxcoff.h: Likewise. | |
1870 | * config/dbxelf.h: Likewise. | |
1871 | * config/elfos.h: Likewise. | |
1872 | * config/interix.h: Likewise. | |
1873 | * config/lynx-ng.h: Likewise. | |
1874 | * config/lynx.h: Likewise. | |
1875 | * config/netware.h: Likewise. | |
1876 | * config/psos.h: Likewise. | |
1877 | * config/svr3.h: Likewise. | |
1878 | * config/alpha/alpha.h: Likewise. | |
1879 | * config/alpha/elf.h: Likewise. | |
1880 | * config/alpha/vms.h: Likewise. | |
1881 | * config/arc/arc.h: Likewise. | |
1882 | * config/arm/aout.h: Likewise. | |
1883 | * config/arm/coff.h: Likewise. | |
1884 | * config/c4x/c4x.h: Likewise. | |
1885 | * config/h8300/h8300.h: Likewise. | |
1886 | * config/i386/cygwin.h: Likewise. | |
1887 | * config/i386/djgpp.h: Likewise. | |
1888 | * config/i386/gas.h: Likewise. | |
1889 | * config/i386/gstabs.h: Likewise. | |
1890 | * config/i386/i386-coff.h: Likewise. | |
1891 | * config/i386/i386-interix.h: Likewise. | |
1892 | * config/i386/sco5.h: Likewise. | |
1893 | * config/i386/svr3dbx.h: Likewise. | |
1894 | * config/i386/sysv3.h: Likewise. | |
1895 | * config/i386/win32.h: Likewise. | |
1896 | * config/i386/x86-64.h: Likewise. | |
1897 | * config/i960/i960.h: Likewise. | |
1898 | * config/ia64/ia64.h: Likewise. | |
1899 | * config/ip2k/ip2k.h: Likewise. | |
1900 | * config/m32r/m32r.h: Likewise. | |
1901 | * config/m68k/3b1.h: Likewise. | |
1902 | * config/m68k/3b1g.h: Likewise. | |
1903 | * config/m68k/ccur-GAS.h: Likewise. | |
1904 | * config/m68k/coff.h: Likewise. | |
1905 | * config/m68k/hp2bsd.h: Likewise. | |
1906 | * config/m68k/hp310g.h: Likewise. | |
1907 | * config/m68k/hp320g.h: Likewise. | |
1908 | * config/m68k/hp3bsd.h: Likewise. | |
1909 | * config/m68k/hp3bsd44.h: Likewise. | |
1910 | * config/m68k/linux-aout.h: Likewise. | |
1911 | * config/m68k/m68k-aout.h: Likewise. | |
1912 | * config/m68k/mot3300.h: Likewise. | |
1913 | * config/m68k/netbsd.h: Likewise. | |
1914 | * config/m68k/openbsd.h: Likewise. | |
1915 | * config/m68k/pbb.h: Likewise. | |
1916 | * config/m68k/plexus.h: Likewise. | |
1917 | * config/m68k/sun2.h: Likewise. | |
1918 | * config/m68k/sun3.h: Likewise. | |
1919 | * config/m68k/tower-as.h: Likewise. | |
1920 | * config/m68k/vxm68k.h: Likewise. | |
1921 | * config/m88k/aout-dbx.h: Likewise. | |
1922 | * config/m88k/m88k-aout.h: Likewise. | |
1923 | * config/mcore/mcore-elf.h: Likewise. | |
1924 | * config/mcore/mcore-pe.h: Likewise. | |
1925 | * config/mips/elf.h: Likewise. | |
1926 | * config/mips/elf64.h: Likewise. | |
1927 | * config/mips/iris5gas.h: Likewise. | |
1928 | * config/mips/iris6.h: Likewise. | |
1929 | * config/mips/mips.h: Likewise. | |
1930 | * config/mips/sni-gas.h: Likewise. | |
1931 | * config/mmix/mmix.h: Likewise. | |
1932 | * config/ns32k/netbsd.h: Likewise. | |
1933 | * config/pa/pa64-hpux.h: Likewise. | |
1934 | * config/romp/romp.h: Likewise. | |
1935 | * config/rs6000/sysv4.h: Likewise. | |
1936 | * config/rs6000/xcoff.h: Likewise. | |
1937 | * config/sh/coff.h: Likewise. | |
1938 | * config/sh/elf.h: Likewise. | |
1939 | * config/sparc/linux64.h: Likewise. | |
1940 | * config/sparc/liteelf.h: Likewise. | |
1941 | * config/sparc/netbsd.h: Likewise. | |
1942 | * config/sparc/openbsd.h: Likewise. | |
1943 | * config/sparc/pbd.h: Likewise. | |
1944 | * config/sparc/sp64-elf.h: Likewise. | |
1945 | * config/sparc/sp86x-elf.h: Likewise. | |
1946 | * config/sparc/sparc.h: Likewise. | |
1947 | * config/vax/vax.h: Likewise. | |
1948 | * config/vax/vaxv.h: Likewise. | |
1949 | ||
5e98fba2 DD |
1950 | 2002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com> |
1951 | ||
1952 | * h8300.c (shift_alg_hi): Various tweaks to improve performance | |
1953 | of HImode shifts. | |
1954 | (get_shift_alg): Corresponding changes. | |
1955 | ||
43852342 JDA |
1956 | 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1957 | ||
1958 | * som.h (ALWAYS_STRIP_DOTDOT): Define to 1. | |
1959 | ||
44bb111a RH |
1960 | 2002-08-29 Richard Henderson <rth@redhat.com> |
1961 | ||
1962 | * expr.h (enum block_op_methods): New. | |
1963 | (emit_block_move): Update prototype. | |
1964 | * expr.c (block_move_libcall_safe_for_call_parm): New. | |
1965 | (emit_block_move_via_loop): New. | |
1966 | (emit_block_move): Use them. New argument METHOD. | |
1967 | (emit_push_insn): Always respect the given alignment. | |
1968 | (expand_assignment): Update call to emit_block_move. | |
1969 | (store_expr, store_field, expand_expr): Likewise. | |
1970 | * builtins.c (expand_builtin_apply): Likewise. | |
1971 | (expand_builtin_memcpy, expand_builtin_va_copy): Likewise. | |
1972 | * function.c (expand_function_end): Likewise. | |
1973 | * config/sh/sh.c (sh_initialize_trampoline): Likewise. | |
1974 | * config/sparc/sparc.c (sparc_va_arg): Likewise. | |
1975 | * calls.c (expand_call, emit_library_call_value_1): Likewise. | |
1976 | (save_fixed_argument_area): Use emit_block_move with | |
1977 | BLOCK_OP_CALL_PARM instead of move_by_pieces. | |
1978 | (restore_fixed_argument_area): Likewise. | |
1979 | (store_one_arg): Fix alignment parameter to emit_push_insn. | |
1980 | ||
08b3d104 JDA |
1981 | 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1982 | ||
1983 | * install.texi (hppa64-hp-hpux11*): Document installation procedure. | |
1984 | ||
ce4e9970 | 1985 | 2002-08-29 Catherine Moore <clm@redhat.com> |
8376061d CM |
1986 | |
1987 | * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL, | |
1988 | NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define. | |
1989 | (PREDICATE_CODES): Include new predicates. | |
1990 | (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e. | |
1991 | (TARGET_SWITCHES): Add strict-align. | |
1992 | (TARGET_STRICT_ALIGN): New. | |
2567406a | 1993 | (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine. |
8376061d CM |
1994 | * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): |
1995 | Define. | |
1996 | (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2, | |
1997 | v850_muldi3. | |
1998 | * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29, | |
1999 | L_callt_save_r2_r31, L_return_r2_r31, | |
2000 | L_save_all_interrupt): Change addi to add. | |
2001 | (L_save_interrupt, L_return_interrupt): Rework. | |
2002 | (__return_r31): Correct .size directive. | |
2003 | (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e. | |
2004 | (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3): | |
2005 | New routines. | |
2006 | * config/v850/v850.c (expand_prologue): Call | |
2007 | gen_callt_save_interrupt, gen_callt_restore_all_interrupt, | |
2008 | gen_callt_return_interrupt and gen_callt_save_all_interrupt. | |
2009 | (reg_or_int9_operand): New predicate. | |
2010 | (reg_or_const_operand): New routine. | |
2011 | * config/v850/v850.md (return_interrupt): Changed from | |
2012 | restore_interrupt. | |
2013 | (callt_save_all_interrupt): Changed from save_all_interrupt_v850e. | |
2014 | (callt_save_interrupt): Change save sequence. | |
2015 | (callt_return_interrupt): New. | |
2016 | (save_interrupt): Don't use runtime function for LONG_CALLS | |
2017 | and TARGET_PROLOG_FUNCTION. | |
2018 | (save_all_interrupt): Likewise. | |
2019 | (mulsi3): Use new predicate. | |
2020 | (moviscc): Disallow some combination of constants. | |
2021 | Fix define_split for sasf insns, so that it will not generate bad | |
2022 | code if operand0 and operand5 are the same. | |
2023 | * config/v850/v850-protos.h: Prototype new predicates. | |
2024 | ||
585e661a GDR |
2025 | 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2026 | ||
2027 | * c-common.c (builtin_define_type_precision): New function. | |
2028 | (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is | |
2029 | wchar_t is unsigned in C++. | |
2030 | * doc/cpp.texi (Common Predefined Macros): Document | |
2031 | __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__, | |
2032 | __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__, | |
2033 | __DOUBLE_BIT__, __LONG_DOUBLE_BIT__. | |
2034 | ||
bd8f9aec SP |
2035 | 2002-08-28 Sylvain Pion <pion@cs.nyu.edu> |
2036 | ||
2037 | * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic | |
2038 | section. Mention that it is enabled by -Wall. | |
2039 | (-Wall): Mention that there can be language-specific warnings as well. | |
2040 | (-Wctor-dtor-privacy): Mention that it is enabled by default. | |
2041 | (-Wnon-virtual-dtor): Mention that it is enabled by -Wall. | |
2042 | ||
58ab7171 R |
2043 | Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2044 | ||
2045 | * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler | |
2046 | if it is ever live. | |
2047 | ||
2048 | * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler | |
2049 | attribute for SHCOMPACT. | |
2050 | ||
2051 | * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it | |
2052 | appropriately. | |
2053 | (FUNCTION_BOUNDARY): Specify only the minimum alignment required | |
2054 | by the ABI. | |
2055 | ||
2056 | * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case. | |
2057 | ||
27f4b67e JT |
2058 | 2002-08-28 Jason Thorpe <thorpej@wasabisystems.com> |
2059 | ||
2060 | * config.gcc (mips*-*-netbsd*): Set target_cpu_default to | |
2061 | "MASK_GAS|MASK_ABICALLS". | |
2062 | * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT) | |
2063 | (TARGET_DEFAULT): Remove. | |
2064 | (MACHINE_TYPE): Undefine before defining. | |
2065 | (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove. | |
2066 | ||
eca7f13c MM |
2067 | 2002-08-27 Mark Mitchell <mark@codesourcery.com> |
2068 | ||
2069 | * c-common.c (warn_abi): New variable. | |
2070 | * c-common.h (warn_abi): Likewise. | |
2071 | * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi. | |
2072 | (c_common_decode_option): Handle it. | |
7ee425e4 | 2073 | * doc/invoke.texi: Document -Wabi. |
2567406a | 2074 | |
ece4ce85 NP |
2075 | Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it> |
2076 | ||
2077 | * c-common.c (warn_undeclared_selector): New variable. | |
2078 | * c-common.h (warn_undeclared_selector): Idem. | |
2079 | * c-opts.c (c_common_decode_option): Set warn_undeclared_selector | |
2080 | to on when -Wundeclared-selector is found. | |
2081 | (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector. | |
2082 | * objc/objc-act.c (build_selector_expr): If | |
2083 | warn_undeclared_selector is set, check that the selector has | |
2084 | already been defined, and emit a warning if not. | |
2085 | ||
b4378319 | 2086 | 2002-08-27 Nick Clifton <nickc@redhat.com> |
54c93c30 AE |
2087 | Catherine Moore <clm@redhat.com> |
2088 | Jim Wilson <wilson@cygnus.com> | |
2089 | ||
2090 | * config.gcc: Add v850e-*-* target. | |
2091 | Add --with-cpu= support for v850. | |
2092 | * config/v850/lib1funcs.asm: Add v850e callt functions. | |
2093 | * config/v850/v850.h: Add support for v850e target. | |
2094 | * config/v850/v850.c: Add functions to support v850e target. | |
2095 | * config/v850/v850-protos.h: Add prototypes for new functions in v850.c. | |
2096 | * config/v850/v850.md: Add patterns for v850e instructions. | |
2097 | * doc/invoke.texi: Document new v850e command line switches. | |
b4378319 | 2098 | |
ef261fee R |
2099 | Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2100 | Aldy Hernandez <aldyh at redhat dot com> | |
2101 | ||
2102 | * doc/tm.texi: Applied numerous fixes to the automaton based | |
2103 | scheduler descrition. | |
2104 | ||
c60ee6f5 JH |
2105 | Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz> |
2106 | ||
2107 | * i386.c (classify_argument): Handle variable sized objects. | |
2108 | ||
1985ef90 JH |
2109 | Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz> |
2110 | ||
2111 | * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem | |
2112 | ||
7acc97e0 JH |
2113 | Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz> |
2114 | ||
2115 | * libgcc2.c (__bb_exit_func): Properly write the summarized statistics. | |
2116 | ||
23327dae JH |
2117 | Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
2118 | ||
2119 | * i386.c (classify_argument): Properly compute word size of the analyzed object. | |
2120 | ||
c49439f1 R |
2121 | Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2122 | ||
2123 | * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp, | |
2124 | mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn | |
2125 | accordingly. | |
2126 | (attribute insn_class): Provide default definitions based on type. | |
2127 | Remove all insn-specific settings. | |
2128 | (various function units): Remove old SH4 scheduling. | |
2129 | (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load): | |
2130 | New attributes. Set them where appropriate. | |
2131 | (cpu unit FS): Don't define / use. | |
2132 | (F3, load_store): New cpu units. | |
2133 | (F01): New reservation. | |
2134 | (all insn_reservations): Make dependent on sh4 pipeline model. | |
2135 | Fix latencies. | |
2136 | (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations. | |
2137 | (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise. | |
2138 | (mt insn_reservation): Use type mt_group. | |
2139 | (insn_reservation load_store): Split into sh4_load, sh4_load_si, | |
2140 | sh4_fload and sh4_store. | |
2141 | (insn_reservation branch_zero and branch): Replace with sh4_branch. | |
2142 | (insn_reservation branch_far): Replace with sh4_return. | |
2143 | (insn_reservation return_from_exp): Rename to: | |
2144 | (sh4_return_from_exp). Change to be just d_lock*5. | |
2145 | (insn_reservation lds_to_pr): Rename to: | |
2146 | (sh4_lds_to_pr). Change to be just d_lock*2. | |
2147 | (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just | |
2148 | d_lock*2. | |
2149 | (insn_reservation prload_mem): Rename to: | |
2150 | (sh4_prstore_mem). Change to d_lock*2,nothing,memory. | |
2151 | (insn_reservation fpscr_store): Rename to: | |
2152 | (fpscr_load). Change to d_lock,nothing,F1*3. | |
2153 | (insn_reservation fpscr_store_mem): Rename to: | |
2154 | (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2. | |
2155 | (insn_reservation multi): Change to | |
2156 | d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2. | |
2157 | (insn_reservation fp_arith): Change to issue,F01,F2. | |
2158 | (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2. | |
2159 | (insn_reservation dp_float): Change to issue,F01,F1+F2,F2. | |
2160 | (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2. | |
2161 | (insn_reservation fp_double_cmp): Change to | |
2162 | d_lock,(d_lock+F01),F1+F2,F2. | |
2163 | (insn_reservation dp_div): Change to | |
2164 | issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2. | |
2165 | * sh.c (flow_dependent_p, flow_dependent_p_1): New functions. | |
2166 | (sh_adjust_cost, SHcompact): Differentiate between different | |
2167 | kinds of dependencies. Drop factor of ten for superscalar. | |
2168 | Use new instruction types. Add new exception rules. | |
2169 | ||
2170 | * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note. | |
2171 | ||
2172 | * sh.md (mperm_w): Add DONE. | |
2173 | ||
f34fc46e DE |
2174 | 2002-08-27 David Edelsohn <edelsohn@gnu.org> |
2175 | ||
2176 | * longlong.h: Import current PowerPC defintion from GMP-4.1. | |
2177 | ||
2178 | * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case. | |
2179 | ||
2180 | * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define. | |
2181 | ||
dcb44500 R |
2182 | Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2183 | ||
2184 | * sh.h (MAX_FIXED_MODE_SIZE): Define. | |
2185 | ||
3ec07554 GDR |
2186 | 2002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net> |
2187 | ||
2188 | * doc/cpp.texi (Common Predefined Macros): Don't mess with table | |
2567406a | 2189 | delimiter. |
3ec07554 | 2190 | |
35885eab GDR |
2191 | 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2192 | ||
2193 | * c-common.c (cpp_define_data_format): New function. | |
2194 | (cb_register_builtins): Call it. | |
2195 | ||
2196 | * doc/cpp.texi (Common Predefined Macros): Document | |
2197 | __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__, | |
2198 | __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__, | |
2199 | __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__, | |
2200 | __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__, | |
2201 | __TARGET_USES_VAX_H_FLOAT__. | |
2202 | ||
d632dee9 ZL |
2203 | 2002-08-26 Ziemowit Laski <zlaski@apple.com> |
2204 | ||
2205 | * objc/objc-act.c (get_super_receiver): If inside a class method | |
2206 | of a category, cast the receiver to 'id' before accessing the 'isa' | |
2207 | field so that <objc/objc-class.h> is not needed. For NeXT runtime. | |
2208 | ||
c3cc6b78 UW |
2209 | 2002-08-26 Ulrich Weigand <uweigand@de.ibm.com> |
2210 | ||
2567406a | 2211 | * config/s390/s390-protos.h (s390_function_prologue, |
c3cc6b78 UW |
2212 | s390_function_epilogue): Remove. |
2213 | config/s390/s390.c (s390_function_prologue, s390_function_epilogue, | |
2214 | TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove. | |
2215 | ||
2216 | config/s390/s390.c (s390_machine_dependent_recorg): New function. | |
2217 | config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it. | |
2218 | config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it. | |
2219 | config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt | |
2220 | to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live. | |
2221 | ||
2567406a | 2222 | config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always |
c3cc6b78 UW |
2223 | assume BASE_REGISTER and RETURN_REGNUM need to be saved. |
2224 | (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff | |
2225 | function is not a leaf function. Use save_gprs and restore_gprs. | |
2226 | (s390_emit_epilogue): Likewise. | |
2227 | (save_gprs, restore_gprs): New functions. | |
2228 | (struct s390_frame): Remove return_reg_saved_p member. | |
2229 | (save_fprs_p): Remove. | |
2230 | (s390_optimize_prolog): New function. | |
2231 | (s390_legitimate_reload_constant): Remove now unnecessary check. | |
2232 | ||
2233 | (s390_function_count): Remove. | |
2234 | (s390_output_symbolic_const): Replace s390_function_count by | |
2235 | current_function_funcdef_no. | |
2236 | (s390_output_constant_pool): Likewise. | |
2237 | ||
2238 | (legitimize_pic_address): Use regs_ever_live to track PIC register | |
2239 | instead of current_function_uses_pic_offset_table. | |
2240 | (s390_emit_prologue): Likewise. | |
2241 | config/s390/s390.md ("call", "call_value"): Likewise. | |
2242 | ||
3f662186 NB |
2243 | 2002-08-26 Neil Booth <neil@daikokuya.co.uk> |
2244 | ||
2245 | * c-opts.c (find_opt): Don't complain about wrong languages | |
2246 | here. Return exact matches even for wrong language. | |
2247 | (c_common_decode_option): Complain about wrong languages | |
2248 | here. | |
2249 | ||
b6128b8c SH |
2250 | 2002-08-24 Stuart Hastings <stuart@apple.com> |
2251 | ||
2252 | * function.h (struct function): Add flag | |
2253 | all_throwers_are_sibcalls. | |
2254 | * except.c (set_nothrow_function_flags): Replaces | |
2255 | nothrow_function_p. Set new flag. | |
2256 | * except.h (set_nothrow_function_flags): Replaces | |
2257 | nothrow_function_p. | |
2258 | * dwarf2out.c (struct dw_fde_struct): Add flag | |
2259 | all_throwers_are_sibcalls. | |
2260 | (output_call_frame_info): Test it. | |
2261 | (dwarf2out_begin_prologue) Propagate it from cfun to | |
2262 | dw_fde_struct. | |
2263 | * toplev.c (rest_of_compilation): Update calls to | |
2264 | nothrow_function_p. | |
2265 | ||
280cf02a ZW |
2266 | 2002-08-23 Zack Weinberg <zack@codesourcery.com> |
2267 | ||
2268 | * ggc-page.c (compute_inverse): Short circuit calculation for | |
2269 | object sizes larger than half a page. | |
2270 | ||
c6664446 DE |
2271 | 2002-08-23 David Edelsohn <edelsohn@gnu.org> |
2272 | ||
2273 | * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat | |
2274 | DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly | |
2275 | default. | |
2276 | (rs6000_elf_unique_section): Likewise. | |
2277 | ||
da57d233 KG |
2278 | 2002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2279 | ||
2280 | * ns32k.c (ns32k_globalize_label): Delete. | |
2281 | * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete. | |
2282 | ||
56a7189a AM |
2283 | 2002-08-23 Alan Modra <amodra@bigpond.net.au> |
2284 | ||
2285 | * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns | |
2286 | for loading delta with num_insns_constant_wide. Calculate | |
2287 | delta_low, delta_high without using a conditional. | |
2288 | ||
d65b1d77 JM |
2289 | 2002-08-22 Jason Merrill <jason@redhat.com> |
2290 | ||
2291 | * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR. | |
2292 | * c-common.def: Adjust. | |
2293 | * c-dump.c (c_dump_tree): Adjust. | |
2294 | * c-semantics.c (genrtl_return_stmt): Adjust. | |
2295 | * c-pretty-print.c (pp_c_statement): Adjust. | |
2296 | * tree-inline.c (copy_body_r): Adjust. | |
2297 | ||
8537ed68 ZW |
2298 | 2002-08-22 Zack Weinberg <zack@codesourcery.com> |
2299 | ||
2300 | * ggc-page.c: Avoid division in ggc_set_mark. | |
2301 | (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table, | |
2302 | compute_inverse): New. | |
2303 | (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT. | |
2304 | (init_ggc): Initialize inverse_table. | |
2305 | ||
8567c70f TT |
2306 | 2002-08-22 Tom Tromey <tromey@redhat.com> |
2307 | ||
2308 | * doc/install.texi (Configuration): Document --datadir. | |
2309 | ||
fde59d4b AO |
2310 | 2002-08-22 Alexandre Oliva <aoliva@redhat.com> |
2311 | ||
2312 | * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H). | |
2313 | ||
44ddc79a HPN |
2314 | 2002-08-22 Hans-Peter Nilsson <hp@bitrange.com> |
2315 | ||
2316 | * gengtype-lex.l (ID): Allow underscore as first character. | |
2317 | ||
b275d088 DE |
2318 | 2002-08-21 David Edelsohn <edelsohn@gnu.org> |
2319 | ||
2320 | * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New | |
2321 | function. | |
2322 | (rs6000_xcoff_asm_named_section): Rename. | |
2323 | * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define. | |
2324 | ||
57ce46bb TT |
2325 | 2002-08-21 Tom Tromey <tromey@redhat.com> |
2326 | ||
2327 | For PR java/6005 and PR java/7611: | |
2328 | * fold-const.c (fold_truthop): Use can_use_bit_fields_p. | |
2329 | (fold): Likewise. | |
2330 | * langhooks.c (lhd_can_use_bit_fields_p): New function. | |
2331 | * langhooks-def.h (lhd_can_use_bit_fields_p): Declare. | |
2332 | (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define. | |
2333 | (LANG_HOOKS_INITIALIZER): Use it. | |
2334 | * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New | |
2335 | field. | |
2336 | ||
27d30956 SS |
2337 | 2002-08-21 Stan Shebs <shebs@apple.com> |
2338 | ||
2339 | * tree.c (finish_vector_type): Fix a typo in a comment. | |
2340 | * Makefile.in: Fix "the the" stutters in comments. | |
2341 | * genautomata.c: Ditto. | |
2342 | * ifcvt.c: Ditto. | |
2343 | * regrename.c: Ditto. | |
2344 | * config/alpha/alpha.c: Ditto. | |
2345 | * config/alpha/vms-crt0-64.c: Ditto. | |
2346 | * config/alpha/vms-crt0.c: Ditto. | |
2347 | * config/alpha/vms-psxcrt0-64.c: Ditto. | |
2348 | * config/alpha/vms-psxcrt0.c: Ditto. | |
2349 | * config/d30v/d30v.h: Ditto. | |
2350 | * config/fr30/fr30.h: Ditto. | |
2351 | * config/rs6000/rs6000.c: Ditto. | |
2352 | * config/stormy16/stormy16.h: Ditto. | |
2353 | * doc/md.texi: Ditto. | |
8537ed68 | 2354 | |
d873d827 JDA |
2355 | 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2356 | ||
2357 | * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value. | |
2358 | ||
b462d4ab JM |
2359 | 2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk> |
2360 | ||
2361 | * c-decl.c (grokdeclarator): Make invalid combinations with long, | |
2362 | short, signed or unsigned into hard errors. Fixes PR c/4319. | |
2363 | Also make duplicate modifiers such as "short short" into hard | |
2364 | errors. | |
2365 | ||
b65d23aa | 2366 | 2002-08-21 Andrew Pinski <pinskia@physics.uc.edu> |
8537ed68 | 2367 | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
b65d23aa AP |
2368 | |
2369 | * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn' | |
2370 | to the actual end. Add '@end table' and '@table @code'. | |
8537ed68 | 2371 | |
3823f0b2 GK |
2372 | 2002-08-20 Geoffrey Keating <geoffk@redhat.com> |
2373 | ||
8d25d915 GK |
2374 | * doc/tm.texi (Label Output): Add missing '@end deftypefn'. |
2375 | ||
3823f0b2 GK |
2376 | * unroll.c (biv_total_increment): Don't try to compute the total |
2377 | increment for FP BIVs. | |
2378 | ||
5eb99654 KG |
2379 | 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2380 | ||
2381 | * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk. | |
2382 | * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL, | |
2383 | ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2384 | * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise. | |
2385 | * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete. | |
2386 | * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise. | |
2387 | (GLOBAL_ASM_OP): Define. | |
2388 | * arm.c (aof_globalize_label): New function. | |
2389 | (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF. | |
2390 | * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2391 | * c4x.c (c4x_globalize_label): New function. | |
2392 | (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x. | |
2393 | * c4x.h (ASM_GLOBALIZE_LABEL): Delete. | |
2394 | (GLOBAL_ASM_OP): Define. | |
2395 | * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook. | |
2396 | * darwin-protos.h (darwin_globalize_label): Declare. | |
2397 | * darwin.c (darwin_globalize_label): New function. | |
2398 | * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook. | |
2399 | (ASM_GLOBALIZE_LABEL): Delete. | |
2400 | (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define. | |
2401 | * dsp16xx.c (asm_output_common): Use target hook. | |
2402 | * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. | |
2403 | * frv.h (ASM_GLOBALIZE_LABEL): Delete. | |
2404 | (GLOBAL_ASM_OP): Define. | |
2405 | * i370.c (i370_globalize_label): New function. | |
2406 | (TARGET_ASM_GLOBALIZE_LABEL): Define for i370. | |
2407 | * i370.h (ASM_GLOBALIZE_LABEL): Delete. | |
2408 | * i386.c (ix86_asm_file_end): Use target hook. | |
2409 | * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef. | |
2410 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook. | |
2411 | * ia64.c (ia64_asm_output_external): Likewise. | |
2412 | * ia64/sysv4.h: Update comment. | |
2413 | * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2414 | * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
2415 | * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook. | |
2416 | * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
2417 | * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook. | |
2418 | * mmix-protos.h (mmix_asm_globalize_label): Delete. | |
2419 | * mmix.c (mmix_asm_globalize_label): Likewise. | |
2420 | * mmix.h (ASM_GLOBALIZE_LABEL): Likewise. | |
2421 | (GLOBAL_ASM_OP): Define. | |
2422 | * ns32k.c (ns32k_globalize_label): New function. | |
2423 | * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k. | |
2424 | (ASM_GLOBALIZE_LABEL): Delete. | |
2425 | * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef. | |
2426 | (TARGET_ASM_GLOBALIZE_LABEL): Undefine. | |
2427 | * pa.c (pa_globalize_label): New function. | |
2428 | * pa.h (ASM_GLOBALIZE_LABEL): Delete. | |
2429 | (TARGET_ASM_GLOBALIZE_LABEL): Define for pa. | |
2430 | * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete. | |
2431 | (GLOBAL_ASM_OP): Define. | |
2432 | (TARGET_ASM_GLOBALIZE_LABEL): Undef. | |
2433 | * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2434 | * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete. | |
2435 | (GLOBAL_ASM_OP): Define. | |
2436 | * v850.c (v850_output_aligned_bss): Use target hook. | |
2437 | * vax.c (vms_globalize_label): New function. | |
2438 | (TARGET_ASM_GLOBALIZE_LABEL): Define for vms. | |
2439 | * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete. | |
2440 | (GLOBAL_ASM_OP): Define. | |
2441 | * defaults.h (ASM_GLOBALIZE_LABEL): Delete. | |
2442 | * doc/tm.texi: Update docs. | |
2443 | * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use | |
2444 | target hook. | |
2445 | * final.c (output_alternate_entry_point): Likewise. | |
2446 | * hooks.c (hook_FILEptr_constcharptr_void): New function. | |
2447 | * hooks.h (hook_FILEptr_constcharptr_void): Declare. | |
2448 | * output.h (assemble_global): Delete. | |
2449 | (default_globalize_label): Declare. | |
2450 | * system.h (ASM_GLOBALIZE_LABEL): Poison. | |
2451 | * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define. | |
2452 | (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL. | |
2453 | * target.h (gcc_target): Add globalize_label member. | |
2454 | * varasm.c (asm_output_bss, asm_output_aligned_bss, | |
2455 | globalize_decl): Use target hook. | |
2456 | (assemble_global): Delete. | |
2457 | (default_globalize_label): New function. | |
2458 | ||
f8f28a75 KG |
2459 | 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2460 | ||
2461 | * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete. | |
2462 | ||
92b5aacd DP |
2463 | 2002-08-20 Devang Patel <dpatel@apple.com> |
2464 | * tree.c (get_qualified_type): Add TYPE_CONTEXT check. | |
8537ed68 | 2465 | |
761c70aa KG |
2466 | 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2467 | ||
2468 | * arc.c (output_shift): Use stdio instead of asm_fprintf. | |
2469 | * arm.c (thumb_output_function_prologue): Likewise. | |
2470 | * avr.c (print_operand): Likewise. | |
2471 | * c4x.c (c4x_print_operand): Likewise. | |
2472 | * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE, | |
2473 | ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise. | |
2474 | * cris.c (cris_target_asm_function_prologue, | |
2475 | cris_asm_output_mi_thunk): Likewise. | |
2476 | * h8300.c (print_operand): Likewise. | |
2477 | * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2478 | * ip2k.c (print_operand): Likewise. Fix format specifier. | |
2479 | * m68hc11.c (asm_print_register, print_operand, | |
2480 | print_operand_address): Use stdio instead of asm_fprintf. | |
2481 | (print_operand_address): Fix format specifier. | |
2482 | * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT, | |
2483 | ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of | |
2484 | asm_fprintf. | |
2485 | * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
2486 | * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
2487 | * m68k.c (m68k_output_function_prologue, | |
2488 | m68k_output_function_epilogue, print_operand): Likewise. | |
2489 | * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label): | |
2490 | Likewise. Fix format specifier. | |
2491 | * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2492 | * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2493 | * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2494 | ||
5ce6f47b EC |
2495 | 2002-08-15 Eric Christopher <echristo@redhat.com> |
2496 | Jeff Knaggs <jknaggs@redhat.com> | |
2497 | ||
2498 | * config.gcc (mipsisa64sr71k-elf): New target. | |
2499 | * config/mips/sr71k.md: New file. | |
2500 | * config/mips/mips.md: Use it. | |
2501 | (rot*): Add sr71k specifics. | |
2502 | * config/mips/t-sr71k: New file. | |
2503 | * config/mips/mips.h (sr71k): New cpu. | |
2504 | (TARGET_SR71K): Use it. | |
2505 | (TUNE_SR71K): Ditto. | |
2506 | (GENERATE_BRANCHLIKELY): Ditto. | |
2507 | (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC, | |
2508 | ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto. | |
2509 | * config/mips/mips.c (sr71k): New cpu. | |
2510 | (mips_use_dfa_pipeline_interface): Use. | |
2511 | ||
2512 | 2002-08-15 Eric Christopher <echristo@redhat.com> | |
8537ed68 | 2513 | Richard Sandiford <rsandifo@redhat.com> |
5ce6f47b EC |
2514 | Aldy Hernandez <aldyh@redhat.com> |
2515 | Graham Stott <grahams@redhat.com> | |
2516 | Michael Meissner <meissner@redhat.com> | |
2517 | Gavin Romig-Koch <gavin@redhat.com> | |
2518 | Ken Raeburn <raeburn@cygnus.com> | |
2519 | Alexandre Oliva <aoliva@redhat.com> | |
2520 | ||
2521 | * config.gcc (mips64vr-elf): New target. | |
2522 | * config/mips/5400.md: New file. | |
2523 | * config/mips/5500.md: Ditto. | |
2524 | * config/mips/mips.md: Use them. | |
2525 | (frsqrt): New. | |
2526 | * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New | |
2527 | cpus. | |
2528 | (mips_issue_rate): Use them. | |
2529 | (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500. | |
2530 | (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above. | |
2531 | * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New | |
2532 | cpus. | |
2533 | (TARGET_MIPSx): Use them. | |
2534 | (TUNE_MIPSx): Ditto. | |
2535 | (GETNATE_MULT3_SI): Ditto. | |
2536 | (ISA_HAS_BRANCHLIKELY): Ditto. | |
2537 | (ISA_HAS_CONDMOVE): Ditto. | |
2538 | (ISA_HAS_NMADD_NMSUB): Ditto. | |
2539 | (ISA_HAS_MULHI): New. Ditto. | |
2540 | (ISA_HAS_MULS): Ditto. | |
2541 | (ISA_HAS_MSAC): Ditto. | |
2542 | (ISA_HAS_MACC): Ditto. | |
2543 | (ISA_HAS_ROTR_SI): Ditto. | |
2544 | (ISA_HAS_ROTR_DI): Ditto. | |
2545 | (RTX_COSTS): Use. | |
2546 | ||
48209ce5 JDA |
2547 | 2002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2548 | ||
2549 | * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal | |
2550 | at head. | |
2551 | (remove_dup_nonsys_dirs): New function. | |
2552 | (remove_dup_dirs): Change argument head to head_ptr. Remove warnings. | |
2553 | (merge_include_chains): Remove non-system include directories from | |
2554 | quote and bracket include chains when they duplicate equivalent system | |
2555 | directories. | |
2556 | * doc/cpp.texi (-I): Update. | |
8537ed68 ZW |
2557 | * doc/cppopts.texi (-I): Update. |
2558 | * doc/install.texi (--with-local-prefix): Further document usage of | |
48209ce5 JDA |
2559 | this option. |
2560 | * doc/invoke.texi (-I): Update. | |
2561 | ||
4ca79136 RH |
2562 | 2002-08-20 Richard Henderson <rth@redhat.com> |
2563 | ||
2564 | * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean. | |
2565 | (emit_block_move): Split out subroutines. | |
2566 | (emit_block_move_via_movstr): New. | |
2567 | (emit_block_move_via_libcall): New. Emit bcopy via normal call also. | |
2568 | (emit_block_move_libcall_fn): New. Construct function prototype for | |
2569 | bcopy as well. | |
2570 | (clear_storage): Split out subroutines. | |
2571 | (clear_storage_via_clrstr): New. | |
2572 | (clear_storage_via_libcall): New. Emit bzero as a normal call also. | |
2573 | (clear_storage_libcall_fn): New. Construct function prototype for | |
2574 | bzero as well. | |
2575 | (emit_push_insn): Use emit_block_move. | |
2576 | (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS. | |
2577 | (store_constructor): Likewise. | |
2578 | ||
9f05cef3 ZL |
2579 | 2002-08-19 Ziemowit Laski <zlaski@apple.com> |
2580 | ||
2581 | * objc/objc-act.c (building_objc_message_expr): Rename to | |
2582 | current_objc_message_selector. | |
2583 | ||
1bd5981b ZL |
2584 | 2002-08-19 Ziemowit Laski <zlaski@apple.com> |
2585 | ||
2586 | * objc/objc-act.c (build_ivar_chain): Remove. | |
2587 | (objc_copy_list): Likewise. | |
2588 | (get_class_ivars): Inline call to removed build_ivar_chain | |
2589 | function. Save off a clean copy of ivars in the CLASS_OWN_IVARS | |
2590 | slot; use that slot (rather than CLASS_IVARS) when accessing | |
2591 | ivars for base classes. Call copy_list and chainon instead of | |
2592 | objc_copy_list. | |
2593 | (build_private_template): Call get_class_ivars instead of | |
2594 | build_ivar_chain. | |
2595 | (start_class): Allocate room for the CLASS_OWN_IVARS slot. | |
5ce6f47b | 2596 | (continue_class): Call get_class_ivars instead of |
1bd5981b ZL |
2597 | build_ivar_chain. |
2598 | (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead | |
2599 | of DECL_BIT_FIELD (which may have been cleared). | |
2600 | * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro. | |
2601 | ||
2bf087c0 KG |
2602 | 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2603 | ||
2604 | * genautomata.c (output_translate_vect, output_state_ainsn_table, | |
2605 | output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED | |
2606 | in output file. | |
2607 | (output_internal_min_issue_delay_func): Initialize variable in | |
2608 | output file. | |
2609 | ||
3fcd079e AO |
2610 | 2002-08-19 Alexandre Oliva <aoliva@redhat.com> |
2611 | ||
2612 | * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER. | |
2613 | (stage2_build, stage3_build, stage4_build): Likewise, to CC. | |
2614 | ||
71012d97 GK |
2615 | 2002-08-19 Geoffrey Keating <geoffk@redhat.com> |
2616 | Steve Ellcey <sje@cup.hp.com> | |
2617 | ||
2618 | * machmode.h (SCALAR_INT_MODE_P): New macro to test for | |
2619 | scaler integer mode (MODE_INT or MODE_PARTIAL_INT). | |
2620 | * explow.c (trunc_int_for_mode): Abort when the mode is not | |
2621 | a scaler integer mode. | |
2622 | * combine.c (expand_compound_operation): Don't expand Vector | |
2623 | or Complex modes into shifts. | |
2624 | (expand_field_assignment): Don't do bitwise arithmatic and | |
2625 | shifts on Vector or Complex modes. | |
2626 | (simplify_comparison): Don't call trunc_int_for_mode | |
2627 | for VOIDmode. | |
2628 | * recog.c (general_operand): Likewise. | |
2629 | (immediate_operand): Likewise. | |
2630 | (nonmemory_operand): Likewise. | |
2631 | ||
af8cb5c5 DE |
2632 | 2002-08-19 David Edelsohn <edelsohn@gnu.org> |
2633 | ||
2634 | * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline | |
2635 | multi-instruction SImode constant. Add REG_EQUAL note. | |
2636 | * config/rs6000/rs6000.md (movsi splitter): Use | |
5ce6f47b | 2637 | rs6000_emit_set_const. |
af8cb5c5 | 2638 | |
9bc146b3 KG |
2639 | 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2640 | ||
2641 | * tree-inline.c (initialize_inlined_parameters): Wrap variable in | |
2642 | the macro test controlling its use. | |
2643 | ||
66df2ac2 L |
2644 | 2002-08-18 H.J. Lu (hjl@gnu.org) |
2645 | ||
2646 | * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o | |
2647 | crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and | |
2648 | gnu_ld=yes. | |
2649 | (alpha*-*-linux*, cris-*-linux*, i370-*-linux*, | |
2650 | i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*, | |
2651 | s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*, | |
2652 | xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld | |
2653 | here. | |
2654 | (cris-*-linux*): Remove setting thread_file here. | |
2655 | ||
463f1b2b NB |
2656 | 2002-08-18 Neil Booth <neil@daikokuya.co.uk> |
2657 | ||
2658 | PR preprocessor/7602 | |
2659 | * cppinit.c (path_include): Treat the system environment | |
2660 | variables as being cxx_aware. | |
2661 | ||
2984fe64 JM |
2662 | 2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk> |
2663 | ||
2664 | * c-decl.c (flexible_array_type_p): New function. | |
2665 | (grokdeclarator, finish_struct): Use it. | |
2666 | * doc/extend.texi: Document constraints on use of structures with | |
2667 | flexible array members. | |
2668 | ||
fded6d78 RS |
2669 | 2002-08-17 Richard Sandiford <rsandifo@redhat.com> |
2670 | ||
2671 | * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264, | |
2672 | config/mips/t-r3900 (MULTILIB_MATCHES): Define. | |
2673 | * config/mips/mips.h (ASM_SPEC): Use %(endian_spec). | |
2674 | ||
8aa5074e SS |
2675 | 2002-08-16 Stan Shebs <shebs@apple.com> |
2676 | ||
2677 | * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__ | |
2678 | for ObjC with -fnext-runtime. | |
2679 | * doc/cpp.texi: Document it. | |
2680 | ||
f97a5bda JJ |
2681 | 2002-08-16 Janis Johnson <janis187@us.ibm.com> |
2682 | ||
2683 | * doc/install.texi (Final installation): Replace links to individual | |
2684 | build status pages with a link to a common page that lists them all. | |
2685 | ||
d3075b6c SP |
2686 | 2002-08-16 Sylvain Pion <pion@cs.nyu.edu> |
2687 | ||
2688 | * doc/invoke.texi: Fix typo. | |
2689 | ||
fdf68669 DE |
2690 | 2002-08-16 David Edelsohn <edelsohn@gnu.org> |
2691 | ||
2692 | * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning. | |
2693 | ||
2694 | 2002-08-16 Andrew Haley <aph@redhat.com> | |
d436bff8 AH |
2695 | |
2696 | * tree-inline.c: Add includes for Java inliner. | |
2697 | (remap_decl): Don't handle anonymous types for Java. | |
2698 | (remap_block): Add handling for Java trees. | |
2699 | (copy_scope_stmt): Conditionalize for non-Java use only. | |
2700 | (copy_body_r): Handle Java trees. Add handling for | |
2701 | LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks. | |
2702 | (initialize_inlined_parameters): Handle Java trees. | |
2703 | (declare_return_variable): Likewise. | |
2704 | (expand_call_inline): Handle Java trees. | |
2705 | (walk_tree): Likewise. | |
2706 | (copy_tree_r): Don't handle SCOPE_STMTs for Java. | |
2707 | (add_stmt_to_compound): New function. | |
2708 | ||
204250d2 RH |
2709 | 2002-08-15 Richard Henderson <rth@redhat.com> |
2710 | ||
2711 | * Makefile.in (LOOSE_WARN): Remove -fno-common. | |
2712 | (NOCOMMON_FLAG): New substitution point. | |
2713 | (GCC_WARN_CFLAGS): Include it. | |
2714 | * configure.in (ac_checking): Set nocommon_flag. | |
2715 | (nocommon_flag): New substitution point. | |
2716 | ||
25587e40 AO |
2717 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> |
2718 | ||
2719 | * c-tree.h (skip_evaluation): Move declaration... | |
2720 | * c-common.h: ... here. | |
2721 | * c-typeck.c (build_external_ref): Don't assemble_external nor | |
2722 | mark a tree as used if skip_evaluation is set. | |
2723 | * c-parse.in (typeof): New non-terminal to set skip_evaluation | |
2724 | around TYPEOF. | |
2725 | (typespec_nonreserved_nonattr): Use it. | |
2726 | ||
702ada3d DR |
2727 | 2002-08-15 Douglas B Rupp <rupp@gnat.com> |
2728 | ||
2729 | * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue. | |
2730 | (xcoff_debug_hooks): Update end_prologue. | |
2731 | * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue. | |
2732 | * debug.h (end_prologue): Add file arg. | |
2733 | (end_epilogue): Add line and file args. | |
2734 | (dwarf2out_end_epilogue): Add line and file args. | |
2735 | (vmsdbgout_after_prologue): Remove. | |
2736 | * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args. | |
2737 | (dwarf2_debug_hooks): Update end_prologue. | |
2738 | * dwarfout.c (dwarfout_end_epilogue): Add line and file args. | |
2739 | (dwarfout_end_prologue): Add file arg. | |
2740 | * final.c (vmsdbgout_after_prologue): Remove | |
2741 | (final_end_function): Update end_epilogue call. | |
2742 | (final_scan_insn): Update end_prologue call. | |
2743 | * sdbout.c (sdbout_end_epilogue): Add line and file args. | |
2744 | (sdbout_end_prologue): Add file arg. | |
2745 | (sdb_debug_hooks): Update end_prologue. | |
2746 | (sdb_begin_prologue): Update sdbout_end_prologue call. | |
2747 | * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue, | |
2748 | vmsdbgout_end_function. | |
2749 | (vmsdbgout_end_prologue): New function renamed from | |
2750 | vmsdbgout_after_prologue. Call vmsdbgout_source_line. | |
2751 | (vmsdbgout_end_function): New function. | |
2752 | (vmsdbgout_end_epilogue): Add line and file args. Call | |
2753 | vmsdbgout_source_line. | |
2754 | (write_pclines): Write only valid line numbers. | |
2755 | (write_srccorr): Don't write source correlation records if 0 lines. | |
2756 | * xcoffout.c (xcoffout_end_epilogue): Add line and file args. | |
2757 | ||
9ef30f83 SE |
2758 | 2002-08-15 Steve Ellcey <sje@cup.hp.com> |
2759 | ||
2760 | * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX. | |
2761 | (_Unwind_Internal_Ptr): 32 bit version for use in | |
2762 | read_encoded_value_with_base. | |
2763 | * gcc/unwind-pe.h (read_encoded_value_with_base): Use | |
2764 | _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the | |
2765 | right size. | |
2766 | ||
f7043461 KG |
2767 | 2002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2768 | ||
2769 | * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid | |
2770 | signed/unsigned warnings. | |
2771 | ||
2772 | * regclass.c (init_reg_sets_1, choose_hard_reg_mode, | |
2773 | record_reg_classes): Likewise. | |
2774 | ||
2775 | * reload.c (reload_inner_reg_of_subreg, push_reload, | |
2776 | find_reloads_address_1): Likewise. | |
2777 | ||
b4d330e1 DE |
2778 | 2002-08-15 David Edelsohn <edelsohn@gnu.org> |
2779 | ||
2780 | * rs6000.c (output_mi_thunk): Return to function section on | |
2781 | TARGET_ELF. | |
2782 | ||
2783 | * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405. | |
2784 | ||
61f02ff5 UW |
2785 | 2002-08-15 Ulrich Weigand <uweigand@de.ibm.com> |
2786 | ||
2787 | * config/s390/s390.c (legitimize_address): Optimize loading | |
2788 | of large displacements. | |
2789 | ||
1330f7d5 DR |
2790 | 2002-08-14 Douglas B Rupp <rupp@gnat.com> |
2791 | ||
2792 | * config/alpha/alpha-protos.h: Update. | |
2793 | ||
2794 | * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro. | |
2795 | (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P. | |
2796 | (alpha_linkage_symbol_p): New static function. | |
2797 | (print_operand_address): Print linkage operand. | |
2798 | ||
2799 | (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static | |
2800 | variables. | |
2801 | (reloc_kind): New enum. | |
2802 | (struct alpha_funcs): New struct. | |
2803 | (struct alpha_links): Add reloc_kind field. Rename links_kind field. | |
2804 | ||
2805 | (alpha_need_linkage): Rewrite. | |
2806 | (alpha_use_linkage): New global function. | |
2807 | (alpha_write_linkage): Rewrite and make static. | |
2808 | (alpha_write_one_linkage): Rewrite | |
2809 | ||
2810 | (alpha_start_function): Remove procedure descriptor output. | |
2811 | (alpha_end_function): Write linkages at end of each function. | |
2812 | ||
2813 | * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite. | |
2814 | (call_vms_1, call_value_vms_1): Rewrite. | |
2815 | ||
2816 | * config/alpha/vms.h (ASM_FILE_END): Remove. | |
2817 | ||
d1f1cc6a RH |
2818 | 2002-08-14 Richard Henderson <rth@redhat.com> |
2819 | ||
2820 | * ggc-page.c (RTL_SIZE): New. | |
2821 | (extra_order_size_table): Add specializations for 2 and 10 rtl slots. | |
2822 | * rtl.def (BARRIER, NOTE): Pad to 9 slots. | |
2823 | ||
23626154 RH |
2824 | 2002-08-14 Richard Henderson <rth@redhat.com> |
2825 | ||
2826 | * calls.c: Include target.h. | |
2827 | * Makefile.in (calls.o): Update. | |
2828 | ||
2829 | * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p. | |
2830 | * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise. | |
2831 | ||
fd350d24 RH |
2832 | 2002-08-14 Richard Henderson <rth@redhat.com> |
2833 | ||
2834 | * Makefile.in (LOOSE_WARN): Add -fno-common. | |
2835 | * c-common.h (constant_string_class_name): Add missing extern. | |
2836 | ||
182d89a3 NB |
2837 | 2002-08-15 Neil Booth <neil@daikokuya.co.uk> |
2838 | ||
2839 | PR preprocessor/7358 | |
2840 | * c-opts.c (check_deps_environment_vars): Ignore main file | |
2841 | for SUNPRO_DEPENDENCIES. | |
2842 | * cppfiles.c (stack_include_file): Ignore main file if | |
2843 | appropriate. | |
2844 | * cpplib.h (struct cpp_options): New member in deps. | |
2845 | * doc/cppenv.texi: Update. | |
2846 | ||
8bfb1467 NB |
2847 | 2002-08-14 Neil Booth <neil@daikokuya.co.uk> |
2848 | ||
2849 | PR preprocessor/7526 | |
2850 | * cpplib.c (run_directive): Kludge so _Pragma dependency works. | |
2851 | ||
41685063 NS |
2852 | 2002-08-14 Nathan Sidwell <nathan@codesourcery.com> |
2853 | ||
2854 | * doc/invoke.texi (-a): Remove documentation. | |
2855 | (-fprofile-arcs): Remove reference to -a, -ax options. | |
2856 | * doc/gcov.texi (Gcov Data Files): Data might be merged. | |
2857 | ||
77893a23 GDR |
2858 | 2002-08-14 Gabriel Dos Reis <gdr@nerim.net> |
2859 | ||
2860 | Fix PR/7566 | |
2861 | * c-semantics.c (genrtl_case_label): Don't (mis)use | |
5ce6f47b | 2862 | warning_with_decl. |
77893a23 | 2863 | |
260f91c2 DJ |
2864 | 2002-08-14 Dale Johannesen <dalej@apple.com> |
2865 | ||
8537ed68 | 2866 | * explow.c (emit_stack_restore): Emit memory clobbers |
260f91c2 DJ |
2867 | preceding the stack pop, to prevent the scheduler from |
2868 | moving refs to variable arrays below this pop. | |
2869 | * reload1.c (reload): Preserve these clobbers for sched2. | |
2870 | * doc/rtl.texi: Document clobber (mem:BLK (scratch)). | |
2871 | ||
cd79e210 NB |
2872 | 2002-08-14 Neil Booth <neil@daikokuya.co.uk> |
2873 | ||
2874 | * c-opts.c (c_common_post_options): Correct test. | |
2875 | ||
3eb75a73 KG |
2876 | 2002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2877 | ||
2878 | * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument | |
2879 | order in call to fprintf. | |
2880 | ||
be3a0ce2 RO |
2881 | 2002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2882 | ||
2883 | * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define. | |
2884 | ||
ccfc6cc8 UW |
2885 | 2002-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
2886 | ||
5ce6f47b | 2887 | * reload.c (find_reloads): Handle constraint letters marked by |
ccfc6cc8 UW |
2888 | EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT. |
2889 | (alternative_allows_memconst): Likewise. | |
2890 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
5ce6f47b | 2891 | * recog.c (asm_operand_ok, preprocess_constraints, |
ccfc6cc8 UW |
2892 | constrain_operands): Likewise. |
2893 | * regclass.c (record_operand_costs, record_reg_classes): Likewise. | |
2894 | * local-alloc.c (block_alloc, requires_inout): Likewise. | |
2895 | * stmt.c (parse_output_constraint, parse_input_constraint): Likewise. | |
2896 | ||
2897 | * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default. | |
2898 | (EXTRA_ADDRESS_CONSTRAINT): Likewise. | |
2899 | * doc/tm.texi: Document these two new target macros. | |
2900 | ||
2901 | * config/s390/s390.c (s390_expand_plus_operand): Accept already | |
2902 | valid operands. | |
2903 | (q_constraint): New function. | |
2904 | config/s390/s390-protos.h (q_constraint): Declare it. | |
2905 | config/s390/s390.h (EXTRA_CONSTRAINT): Use it. | |
2906 | (EXTRA_MEMORY_CONSTRAINT): New macro. | |
2907 | ||
2908 | * config/s390/s390.md: Throughout the machine description, | |
2909 | replace all instances of the constraint combinations 'Qo' | |
2910 | or 'oQ' with simply 'Q'. | |
2911 | ||
d6ee9f6f SC |
2912 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
2913 | ||
2914 | * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax. | |
2915 | * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now. | |
2916 | (LIBGCC2_CFLAGS): Compile with -mrelax. | |
2917 | ||
8a0b86f5 SC |
2918 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
2919 | ||
2920 | * doc/invoke.texi: Document -minmax for 68HC12. | |
2921 | ||
2922 | * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX. | |
2923 | ("uminqi3"): Likewise. | |
2924 | ("uminhi3", "umaxhi3"): Likewise. | |
2925 | ||
2926 | * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define. | |
2927 | (TARGET_MIN_MAX): Define. | |
2928 | (TARGET_SWITCHES): New option -minmax/-mnominmax. | |
2929 | ||
d6381f4e SC |
2930 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
2931 | ||
2932 | * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline. | |
2933 | (MULTILIB_OPTIONS): Must also generate for -mlong-calls. | |
2934 | ||
2935 | * config/m68hc11/larith.asm: Put a mode for ELF ABI flags. | |
2936 | (ret, declare, farsym): New gas macros. | |
2937 | (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3, | |
2938 | ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc' | |
2939 | and declare the symbol far when compiled with -mlong-calls. | |
5ce6f47b | 2940 | (__far_trampoline): New for 68HC12 trampoline code to invoke a |
d6381f4e SC |
2941 | far handler using jsr/bsr. |
2942 | ||
2943 | * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags. | |
2944 | (jsr): New macro to transform a 'jsr' into a 'call'. | |
2945 | ||
058edcdb SC |
2946 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
2947 | ||
2948 | * doc/invoke.texi: Document -mlong-calls for 68HC12. | |
2949 | ||
2950 | * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when | |
2951 | -mlong-calls is specified. | |
5ce6f47b | 2952 | (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt |
058edcdb SC |
2953 | assembler directives. |
2954 | (TARGET_LONG_CALL, MASK_LONG_CALL): Declare. | |
2955 | (TARGET_SWITCHES): Add -mlong-calls options. | |
2956 | (current_function_far): Declare. | |
2957 | ||
2958 | * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take | |
2959 | into account the page register saved on the stack. | |
2960 | (m68hc11_override_options): Take into account -mlong-calls option. | |
2961 | (m68hc11_asm_file_start): Put a mode for the ELF flags ABI. | |
2962 | ||
2963 | * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc | |
2964 | if the function is going to be in 68HC12 banked memory (-mlong-calls). | |
2965 | ("*return_16bit"): Likewise. | |
2966 | ("*return_void"): Likewise. | |
2967 | ("call", "call_value"): Use call for a far function call. | |
2968 | ||
c79043f3 NB |
2969 | 2002-08-14 Neil Booth <neil@daikokuya.co.uk> |
2970 | ||
2971 | * toplev.c (parse_options_and_default_flags): Don't call | |
2972 | post_options here. | |
2973 | (general_init): Initialize GC, pools and tree hash here, | |
2974 | instead of lang_independent_init. | |
2975 | (lang_independent_init): Rename backend_init. | |
2976 | (do_compile): Call post_options hook; exit early if there | |
2977 | have been errors after switch processing. | |
2978 | (toplev_main): Update. | |
2979 | ||
6bf346d4 GDR |
2980 | 2002-08-14 Gabriel Dos Reis <gdr@nerim.net> |
2981 | ||
2982 | * c-pretty-print.h: Guard against multiple inclusion. | |
2983 | Robustify macros. | |
2984 | (pp_c_attributes): Declare. | |
2985 | * c-pretty-print.c (pp_c_attributes): New function. | |
2986 | ||
cbf2f479 KG |
2987 | 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2988 | ||
2989 | * m68k.c (m68k_output_function_prologue, | |
2990 | m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA | |
2991 | and NEWS/MOTOROLA. | |
2992 | * genattrtab.c: Remove dpx2 comment. | |
2993 | * libgcc2.c (__enable_execute_stack): Delete versions for | |
2994 | NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and | |
2995 | sony_news/SYSTYPE_BSD. | |
2996 | * longlong.h: Delete code for __a29k__, _AM29K, __clipper__, | |
2997 | __gmicro__, __i860__, __NeXT__ and __pyr__. | |
2998 | * rtl.h: Remove convex comment. | |
2999 | * varasm.c: Likewise. | |
3000 | ||
d3969c34 KG |
3001 | 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3002 | ||
3003 | * c-opts.c (lang_flags): Const-ify. | |
3004 | * ra-build.c (undef_table): Likewise. | |
3005 | * ra.c (eliminables): Likewise. | |
3006 | ||
df89f8e7 GDR |
3007 | 2002-08-14 Gabriel Dos Reis <gdr@nerim.net> |
3008 | ||
3009 | * tree.h: Guard against multiple inclusion. | |
3010 | ||
cf87d551 HPN |
3011 | 2002-08-14 Hans-Peter Nilsson <hp@bitrange.com> |
3012 | ||
3013 | * reload1.c (reload_cse_simplify): Before checking | |
3014 | REG_FUNCTION_VALUE_P, check REG_P. | |
3015 | ||
a43c8986 GK |
3016 | 2002-08-13 Geoffrey Keating <geoffk@redhat.com> |
3017 | ||
3018 | * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency. | |
3019 | ||
29337351 NB |
3020 | 2002-08-13 Neil Booth <neil@daikokuya.co.uk> |
3021 | ||
3022 | * c-opts.c (c_common_init_options): Extra braces needed. | |
3023 | ||
8202c8c4 R |
3024 | Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3025 | ||
3026 | * sh.c (sh_init_builtins): Add PARAMS to declaration. | |
3027 | (sh_media_init_builtins, sh_expand_builtin): Likewise. | |
3028 | (sh_expand_unop_v2sf): Use PARAMS for variable declaration. | |
3029 | (sh_expand_binop_v2sf): Likewise. | |
3030 | * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration. | |
3031 | (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise. | |
3032 | (sh_initialize_trampoline): Likewise. | |
3033 | ||
07893d4f UW |
3034 | 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com> |
3035 | ||
3036 | * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare | |
3037 | new condition code modes. | |
3038 | s390.c (s390_match_ccmode_set): Handle those new CC modes. | |
3039 | (s390_select_ccmode): Likewise. | |
3040 | (s390_branch_condition_mask): Likewise. | |
3041 | ||
3042 | * s390-protos.h (s390_tm_ccmode): Declare. | |
3043 | s390.c (s390_tm_ccmode): New function. | |
3044 | (s390_match_ccmode): Allow VOIDmode as REQ_MODE. | |
3045 | ||
3046 | * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext". | |
3047 | ("*cmpsi_tm2"): Rename to "*tmsi_ext". | |
3048 | ("*cmpqi_tm2"): Rename to "*tmqi_ext". | |
3049 | ||
3050 | ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem", | |
3051 | "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub", | |
3052 | "*cmpqi_cct_0", "*tm_0"): Remove, replace by ... | |
3053 | ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", | |
3054 | "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns. | |
3055 | ||
3056 | ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15", | |
5ce6f47b | 3057 | "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1", |
07893d4f UW |
3058 | "*cmpqi_ccs_0"): Remove, replace by ... |
3059 | ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31", | |
5ce6f47b | 3060 | "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly", |
07893d4f UW |
3061 | "*tstqi", "*tstqi_cconly"): ... these new patterns. |
3062 | ||
3063 | ("*cmpsidi_ccs"): Remove, replace by ... | |
3064 | ("*cmpsi_ccs_sign"): ... this new pattern. | |
3065 | ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns. | |
3066 | ||
3067 | ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ... | |
3068 | ("*cli"): ... this new pattern. | |
3069 | ||
3070 | ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly", | |
3071 | "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"): | |
3072 | New patterns. | |
3073 | ("adddi3_64"): Rename to "*adddi3_64". | |
3074 | ("adddi3_31"): Replace by insn and splitter "*adddi3_31". | |
3075 | ("adddi3"): Adapt expander. | |
3076 | ||
3077 | ("*addsi3_cc"): Allow "general_operand" for operand 2. | |
5ce6f47b | 3078 | ("*addsi3_carry1_cc", "*addsi3_carry1_cconly", |
07893d4f UW |
3079 | "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns. |
3080 | ||
3081 | ("addhi3", "addqi3"): Remove, replace by ... | |
3082 | ("*addsi3_sign", "*addsi3_sub"): ... these new patterns. | |
3083 | ||
3084 | ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly", | |
3085 | "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns. | |
3086 | ("subdi3"): Replace by insn and splitter "*subdi3_31". | |
3087 | ("subdi3"): New expander. | |
3088 | ||
3089 | ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns. | |
3090 | ||
3091 | ("subhi3", "subqi3"): Remove, replace by ... | |
3092 | ("*subsi3_sign", "*subsi3_sub"): ... these new patterns. | |
3093 | ||
3094 | ("*muldi3_sign"): New pattern. | |
3095 | ("muldi3"): Do not clobber CC. | |
3096 | ("mulsi3"): Likewise. | |
3097 | ("mulsi_6432"): Likewise. | |
3098 | ||
db62867b DC |
3099 | 2002-08-13 Denis Chertykov <denisc@overta.ru> |
3100 | ||
3101 | * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles | |
8537ed68 | 3102 | which can change CC0. |
db62867b | 3103 | |
8ba46434 R |
3104 | Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3105 | ||
3106 | * gcse.c (adjust_libcall_notes): New function. | |
3107 | (do_local_cprop): Use it. Add fourth parameter. Changed caller. | |
3108 | ||
8733892f NS |
3109 | 2002-08-13 Nathan Sidwell <nathan@codesourcery.com> |
3110 | ||
3111 | * libgcc2.c (L_bb): Remove unneeded #includes. | |
3112 | (__global_counters, __gthreads_active): Remove unused globals. | |
3113 | (__bb_exit_func): Merge counts into files rather than appending. | |
3114 | * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ... | |
3115 | (ALL_CFLAGS): ... to here. | |
3116 | ||
f4769721 DC |
3117 | 2002-08-13 Denis Chertykov <denisc@overta.ru> |
3118 | ||
3119 | * config/ip2k/ip2k.c (commands_in_file): Variable removed. | |
3120 | (function_epilogue): Don't calculate function size. | |
3121 | (ip2k_set_compare): Don't use lookup_const_double. | |
3122 | (asm_file_start): Initialization of commands_in_file removed. | |
3123 | (asm_file_end): Output of commands_in_file removed. | |
5ce6f47b | 3124 | |
f4769721 DC |
3125 | * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of |
3126 | __INT_MAX__. | |
3127 | ||
c31cddfd NB |
3128 | 2002-08-13 Neil Booth <neil@daikokuya.co.uk> |
3129 | ||
3130 | * c-opts.c (c_common_init_options): Check option array is | |
3131 | sorted if checking enabled. | |
3132 | ||
f076f0ce GDR |
3133 | 2002-08-13 Gabriel Dos Reis <gdr@nerim.net> |
3134 | ||
3135 | * c-pretty-print.c: #include "c-tree.h". | |
3136 | (pp_c_simple_type_specifier): Tweak. | |
3137 | (pp_c_storage_class_specifier): New. | |
3138 | (pp_c_function_specifier): Likewise. | |
3139 | (pp_c_declaration_specifiers): Likewise. | |
3140 | (pp_c_init_declarator): Likewise. | |
3141 | (pp_c_declaration): Likewise. | |
3142 | (pp_c_direct_declarator): Stub. | |
3143 | (pp_c_declarator): Likewise. | |
3144 | (pp_c_parameter_declaration): Likewise. | |
3145 | ||
f4ff5a69 NB |
3146 | 2002-08-13 Neil Booth <neil@daikokuya.co.uk> |
3147 | ||
3148 | * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size, | |
3149 | handle_deferred_opts, sanitize_cpp_opts, defer_opt, | |
3150 | struct deferred_opt): New. | |
3151 | (COMMAND_LINE_OPTIONS): Add -M*. | |
3152 | (missing_arg): Update. | |
3153 | (c_common_decode_option): Handle -M*. | |
3154 | (c_common_post_options): Handle -M*. Use sanitize_cpp_opts; | |
3155 | don't call cpp_post_options. | |
3156 | (c_common_finish, check_deps_environment_vars): Update. | |
3157 | * cppfiles.c (stack_include_file, handle_missing_header): Update. | |
3158 | * cpphash.h (CPP_PRINT_DEPS): Remove. | |
3159 | * cppinit.c: Don't include version.h. | |
3160 | (cpp_create_reader): Don't call deps_init. Initialize | |
3161 | warn_long_long. | |
3162 | (cpp_read_main_file): Init deps if necessary. | |
3163 | (cpp_destroy): Conditionally free deps. | |
3164 | (cpp_finish): Update. | |
3165 | (no_tgt): Remove. | |
3166 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*. | |
3167 | (cpp_post_options): Rename post_options. | |
3168 | * cpplib.h (struct cpp_options): Remove some dependency options; | |
3169 | move others to a new structure. | |
3170 | (cpp_post_options): Remove. | |
3171 | (cpp_finish): Comment. | |
3172 | * fix-header.c (read_scan_file): Don't call cpp_post_options. | |
3173 | ||
34116c2a HPN |
3174 | 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com> |
3175 | ||
3176 | * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM. | |
3177 | ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark | |
3178 | MMIX_rR_REGNUM as clobbered. | |
3179 | * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM. | |
3180 | ||
9b32718c GDR |
3181 | 2002-08-12 Gabriel Dos Reis <gdr@nerim.net> |
3182 | ||
3183 | * diagnostic.h (output_formatted_scalar): Rename from | |
5ce6f47b | 3184 | output_formatted_integer. |
9b32718c GDR |
3185 | * diagnostic.def: Add DK_DEBUG. |
3186 | * diagnostic.c (output_decimal): Adjust. | |
3187 | (output_long_decimal): Likewise. | |
3188 | (output_unsigned_decimal): Likewise. | |
3189 | (output_octal): Likewise. | |
3190 | (output_long_octal): Likewise. | |
3191 | (output_hexadecimal): Likewise. | |
3192 | (output_long_hexadecimal): Likewise. | |
3193 | * c-pretty-print.c (pp_c_type_specifier): New function. | |
3194 | (pp_c_specifier_qualifier_list): Likewise. | |
3195 | (pp_c_abstract_declarator): Likewise. | |
3196 | (pp_c_char): Replace pp_format_integer with pp_format_scalar. | |
3197 | ||
032613df DE |
3198 | 2002-08-12 David Edelsohn <edelsohn@gnu.org> |
3199 | ||
3200 | * doc/trouble.texi (Disappointments): Add static constructor and | |
3201 | destructor dependency information for AIX. | |
3202 | ||
a3737481 NB |
3203 | 2002-08-12 Neil Booth <neil@daikokuya.co.uk> |
3204 | ||
3205 | * cpphash.h (struct printer): New from cppmain.c. | |
3206 | (cpp_reader): New member. | |
3207 | * cppmain.c (struct printer): Move to cpphash.h. | |
3208 | (options, print): Remove. | |
3209 | (account_for_newlines, print_line, maybe_print_line, | |
3210 | cpp_preprocess_file, setup_callbacks, scan_translation_unit, | |
3211 | scan_translation_unit_trad, cb_line_change, cb_ident, | |
3212 | cb_define, cb_undef, cb_include, cb_file_change, dump_macro, | |
3213 | cb_def_pragma): Make reentrant. | |
3214 | ||
d71f7700 KG |
3215 | 2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3216 | ||
3217 | * real.c (ieee_64): Always define. | |
3218 | (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. | |
3219 | (dec_h): Not used yet, hide it. | |
3220 | (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with | |
3221 | macro controlling use. | |
3222 | (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. | |
3223 | ||
c16576e6 JH |
3224 | Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz> |
3225 | ||
3226 | * i386.md (tablejump): Sign extend the operand. | |
3227 | * i386.c (classify_argument): Fix missed case from previous patch. | |
3228 | ||
460bd0e3 NB |
3229 | 2002-08-12 Neil Booth <neil@daikokuya.co.uk> |
3230 | ||
3231 | * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move | |
3232 | to c-copts.c. | |
3233 | (warn_multichar): Die. | |
3234 | (cb_register_builtins): Export. | |
3235 | * c-common.h (warn_multichar, preprocess_file): Remove. | |
3236 | (cb_register_builtins): New. | |
3237 | * c-lang.c (c_init): Remove. | |
3238 | (LANG_HOOKS_INIT): Use c_objc_common_init. | |
3239 | * c-lex.c (init_c_lex): Don't canonicalize filename. | |
3240 | * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New. | |
3241 | (preprocess_file): Make static. Update for cpplib. | |
3242 | (c_common_decode_option): Remove warn_multichar. Use in_fname. | |
3243 | (c_common_post_options): Set some cpp options here. | |
3244 | (c_common_init): Move from c-common.c. | |
3245 | * cppinit.c (cpp_post_options): Don't canonicalize in_fname. | |
3246 | * cpplib.h (struct cpp_options): Remove in_fname. | |
3247 | (cpp_preprocess_file): Update. | |
3248 | * cppmain.c (cpp_preprocess_file): Update for new prototypes. | |
3249 | ||
f3f268dd KG |
3250 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3251 | ||
3252 | * config.gcc (mips*-*-netbsd*): Include ${tm_file}. | |
3253 | ||
f0201fba KG |
3254 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3255 | ||
3256 | * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing | |
3257 | backslash in comment preceeding macro definition. | |
3258 | * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
3259 | * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
3260 | * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
3261 | ||
e56fc090 HPN |
3262 | 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com> |
3263 | ||
3264 | * expr.c (store_expr): In condition for checking if value is | |
3265 | generated in TARGET, move call to expr_size last. | |
3266 | ||
76c3e73e NB |
3267 | 2002-08-11 Neil Booth <neil@daikokuya.co.uk> |
3268 | ||
3269 | * c-common.c (c_common_init): Call preprocess_file instead. | |
3270 | (c_common_finish): Move to c-opts.c. | |
3271 | * c-common.h (preprocess_file): new. | |
3272 | * c-opts.c (out_fname, out_stream, deps_append, preprocess_file, | |
3273 | check_deps_environment_vars, c_common_finish): New. | |
3274 | (c_common_decode_option): Update for out_fname and dependencies. | |
3275 | * cppinit.c (init_dependency_output, output_deps): Remove. | |
3276 | (cpp_destroy): Update prototype. | |
3277 | (cpp_add_dependency_target): New. | |
3278 | (cpp_read_main_file): Don't overlay a buffer. | |
3279 | (cpp_finish): Take a deps output stream and write deps to it. | |
3280 | Return the error count. | |
3281 | (cpp_post_options): Don't canonicalize out_fname, or do anything | |
3282 | with dependencies. | |
3283 | * cpplib.h (struct cpp_options): Remove out_fname and | |
3284 | preprocess_only. | |
3285 | (cpp_add_dependency_target): New. | |
3286 | (cpp_destroy, cpp_finish, cpp_preprocess_file): Update. | |
3287 | * cppmain.c (cpp_preprocess_file): Update prototype. Don't | |
3288 | set preprocess_only. Don't handle the output stream directly. | |
3289 | ||
e0c32c62 KG |
3290 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3291 | ||
3292 | * dsp16xx.c (print_operand): Fix format specifier. | |
3293 | * dsp16xx.md: Avoid automatic aggregate initialization. | |
3294 | * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index. | |
3295 | * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U | |
3296 | integer constant modifier. | |
3297 | * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning. | |
3298 | * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE | |
3299 | guards. | |
3300 | * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier. | |
3301 | * v850.c (v850_select_section): Mark parameter with | |
3302 | ATTRIBUTE_UNUSED. | |
3303 | * global.c (global_alloc): Const-ify. | |
3304 | * ra-colorize.c (hardregset_to_string): Fix format specifier. | |
3305 | ||
7ae8cf75 KG |
3306 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3307 | ||
3308 | * darwin-c.c (darwin_pragma_options): Const-ify. | |
3309 | * darwin.c (machopic_non_lazy_ptr_name, | |
3310 | machopic_validate_stub_or_non_lazy_ptr): Likewise. | |
3311 | (machopic_indirect_data_reference): Wrap variables in macros | |
3312 | controlling their use. | |
3313 | (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify. | |
3314 | (machopic_select_section): Use parentheses around && within ||. | |
3315 | * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else. | |
3316 | ||
8819cab5 KG |
3317 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3318 | ||
3319 | * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs, | |
3320 | mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref, | |
3321 | ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr, | |
3322 | ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move, | |
3323 | mdr_try_remove_redundant_insns, track_w_reload, | |
3324 | mdr_try_wreg_elim): Make function static to match prototype. | |
3325 | * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark | |
3326 | parameter with ATTRIBUTE_UNUSED. | |
3327 | ||
ab2877a3 KG |
3328 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3329 | ||
3330 | * arc.c (arc_init): Don't use ISO C style function definitions. | |
3331 | * arm.c (count_insns_for_constant, thumb_far_jump_used_p, | |
3332 | arm_get_strip_length, arm_strip_name_encoding): Likewise. | |
3333 | * avr.h (progmem_section): Likewise. | |
3334 | * h8300.c h8300_asm_insn_count): Likewise. | |
3335 | * m32r.c (init_idents): Likewise. | |
3336 | * s390.c (s390_split_branches, s390_chunkify_pool): Likewise. | |
3337 | * sh.c (sh_cfun_interrupt_handler_p): Likewise. | |
3338 | * xtensa.c (xtensa_build_va_list): Likewise. | |
3339 | ||
08767a6f NB |
3340 | 2002-08-11 Neil Booth <neil@daikokuya.co.uk> |
3341 | ||
3342 | * c-common.h (enum c_language_kind): Emphasize that clk_c is 0. | |
3343 | * c-opts.c (parse_option): Rename find_opt. | |
3344 | (set_std_c99): New function. | |
3345 | (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad. | |
3346 | (missing_arg): Remove OPT_std_bad. Handle -o. | |
3347 | (c_common_decode_option): Handle input and output file names, | |
3348 | -o and -remap. Clean up -std= handling. | |
3349 | * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap. | |
3350 | (cpp_handle_option): Similarly. Don't handle filenames. | |
3351 | ||
db01f480 JH |
3352 | Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz> |
3353 | ||
3354 | * i386.c (classify_argument): Fix computing of field's offsets. | |
3355 | ||
a7701995 AJ |
3356 | 2002-08-11 Andreas Jaeger <aj@suse.de> |
3357 | ||
3358 | PR target/7531: | |
3359 | * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel. | |
3360 | ||
2516f236 ZL |
3361 | 2002-08-10 Ziemowit Laski <zlaski@apple.com> |
3362 | ||
3363 | * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace | |
3364 | reference to clk_objective_c with flag_objc. | |
3365 | * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): | |
3366 | Likewise. | |
3367 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise. | |
3368 | ||
f749a36b NB |
3369 | 2002-08-10 Neil Booth <neil@daikokuya.co.uk> |
3370 | ||
3371 | * c-opts.c (set_std_cxx98, set_std_c89): New. | |
3372 | (COMMAND_LINE_OPTIONS): Move more from cppinit.c. | |
3373 | (c_common_decode_option): Handle new switches from cppinit.c. | |
3374 | Add -std=gnu++98. | |
3375 | * cppinit.c (set_lang): Rename cpp_set_lang. Export. | |
3376 | (no_arg, no_num): Remove. | |
3377 | (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang- | |
3378 | switches apart from -lang-objc and lang-asm. | |
3379 | (cpp_handle_option): Similarly. | |
3380 | * cpplib.h (cpp_set_lang): New. | |
3381 | * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98, | |
3382 | -std=gnu++98. | |
3383 | * objc/lang-specs.h: Remove -ansi. | |
3384 | ||
77abb5d8 JH |
3385 | Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> |
3386 | Graham Stott | |
3387 | ||
3388 | * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff | |
3389 | errors. | |
3390 | ||
fac37dc4 KG |
3391 | 2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3392 | ||
d950dee3 KG |
3393 | * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before, |
3394 | emit_jump_insn): Fix uninitialized variable. | |
3395 | * gcov.c (init_line_info): Likewise. | |
3396 | * genautomata.c (transform_3): Add braces around ambiguous | |
3397 | else. | |
3398 | * ifcvt.c (cond_exec_process_insns): Mark parameter with | |
3399 | ATTRIBUTE_UNUSED. | |
3400 | * ra-build.c (parts_to_webs_1): Fix uninitialized variable. | |
3401 | * regrename.c (copyprop_hardreg_forward): Fix uninitialized | |
3402 | variable. | |
3403 | ||
fac37dc4 KG |
3404 | * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned |
3405 | warnings in output files. | |
3406 | ||
0f7866e7 ZL |
3407 | 2002-08-09 Ziemowit Laski <zlaski@apple.com> |
3408 | ||
3409 | * c-common.c (flag_objc): New. | |
3410 | * c-common.h (c_language_kind): Get rid of clk_objective_c | |
3411 | enum value. | |
3412 | (flag_objc): New extern declaration. | |
3413 | * c-decl.c (implicitly_declare): Call objc_check_decl | |
3414 | instead of maybe_objc_check_decl. | |
3415 | (finish_decl): Likewise. | |
3416 | (grokfield): Likewise. | |
3417 | (finish_struct): Likewise. | |
3418 | * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl. | |
3419 | (maybe_objc_comptypes): Rename to objc_comptypes. | |
a7701995 | 3420 | (maybe_building_objc_message_expr): Rename to |
0f7866e7 ZL |
3421 | objc_message_selector. |
3422 | * c-lex.c (lex_charconst): Remove uses of clk_objective_c, | |
3423 | replace with flag_objc as needed. | |
3424 | * c-opts.c (c_common_init_options): Likewise. | |
3425 | (c_common_decode_option): Likewise. | |
3426 | * c-parse.in (init_reswords): Likewise. | |
3427 | * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl. | |
3428 | (maybe_objc_comptypes): Rename to objc_comptypes. | |
a7701995 | 3429 | (maybe_building_objc_message_expr): Rename to |
0f7866e7 ZL |
3430 | objc_message_selector. |
3431 | * c-typeck.c (comptypes): Call objc_comptypes instead of | |
3432 | maybe_objc_comptypes, and/or objc_message_selector instead of | |
3433 | maybe_building_objc_message_expr. | |
3434 | (comp_target_types): Likewise. | |
3435 | (convert_for_assignment): Likewise. | |
3436 | (warn_for_assignment): Likewise. | |
3437 | * cppinit.c (init_builtins): Set __OBJC__ manifest constant | |
3438 | independently of those for other languages. | |
3439 | * objc/objc-act.c (maybe_objc_comptypes): Delete. | |
3440 | (maybe_objc_check_decl): Delete. | |
a7701995 | 3441 | (maybe_building_objc_message_expr): Rename to |
0f7866e7 ZL |
3442 | objc_message_selector. |
3443 | * objc/objc-lang.c (objc_init_options): Use clk_c instead of | |
3444 | clk_objective_c; set flag_objc flag. | |
3445 | ||
c512fd7b TM |
3446 | 2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
3447 | ||
3448 | * ifcvt.c (find_if_case_2): Test correct basic block for size. | |
3449 | ||
5e1bf043 | 3450 | 2002-08-09 Dale Johannesen <dalej@apple.com> |
c512fd7b | 3451 | |
5e1bf043 DJ |
3452 | * config/rs6000/rs6000.md: Add sibcall patterns. |
3453 | * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define. | |
3454 | * config/rs6000/rs6000.c (rs6000_ra_ever_killed): | |
3455 | Rewritten to handle sibcalls. | |
3456 | * config/rs6000/rs6000.c (function_ok_for_sibcall): New. | |
3457 | * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New. | |
3458 | ||
2043c38e NS |
3459 | 2002-08-08 Nathan Sidwell <nathan@codesourcery.com> |
3460 | ||
3461 | * profile.c (da_file_name): New static var. | |
3462 | (init_branch_prob): Initialize it. | |
3463 | (end_branch_prob): Remove da file. | |
3464 | ||
3465 | * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS. | |
41685063 | 3466 | * configure.in (coverage_flags): Default to nothing. |
2043c38e NS |
3467 | * configure: Rebuilt. |
3468 | ||
4b7091eb NB |
3469 | 2002-08-09 Neil Booth <neil@daikokuya.co.uk> |
3470 | ||
3471 | * Makefile.in (c-opts.o): Update | |
3472 | * c-opts.c: Include intl.h. | |
3473 | (print_help): Move from cppinit.c. Remove unused options. | |
3474 | (COMMAND_LINE_OPTIONS): Move more from cppinit.c. | |
3475 | (missing_arg): Complain for switches without an argument. | |
3476 | (c_common_decode_option): Reject missing joined arguments. | |
3477 | Handle new switches from cppinit.c. | |
3478 | * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c. | |
3479 | (cpp_handle_option): Similarly. | |
3480 | (print_help): Moved to c-opts.c. | |
3481 | * cpplib.h (struct cpp_options): Remove help_only. | |
3482 | * gcc.c (cpp_unique_options): Remove -$. | |
3483 | * doc/cppopts.texi: Undocument -h. | |
3484 | ||
9e20be0c JJ |
3485 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3486 | ||
3487 | * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not | |
3488 | legitimate constant. | |
3489 | (legitimate_pic_operand_p): Neither pic operand. | |
3490 | (legitimate_address_p): But legitimate address. | |
3491 | (get_thread_pointer): Generate MEM/u instead of CONST around | |
3492 | UNSPEC_TP. | |
3493 | (print_operand): Remove printing of UNSPEC_TP. | |
3494 | (print_operand_address): And print it here. | |
3495 | ||
7b9be5c7 | 3496 | 2002-08-08 Devang Patel <dpatel@apple.com> |
9e20be0c | 3497 | |
a7701995 AJ |
3498 | * objc/objc-act.c (build_selector_translation_table): Issue warning, |
3499 | when -Wselector is used,if method for which selector is being | |
7b9be5c7 | 3500 | created does not exist. |
a7701995 | 3501 | |
5615d8fd SC |
3502 | 2002-08-08 Stephen Clarke <stephen.clarke@superh.com> |
3503 | ||
3504 | * config/sh/sh.c (prepare_move_operands): Only call | |
3505 | target_reg_operand if TARGET_SHMEDIA. | |
a7701995 | 3506 | |
3b85fe5f JJ |
3507 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3508 | ||
3509 | * config/rs6000/rs6000.h, config/rs6000/aix.h, | |
3510 | config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last | |
3511 | two patches. | |
3512 | * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN. | |
3513 | ||
e10c79fe LB |
3514 | 2002-08-08 Lars Brinkhoff <lars@nocrew.org> |
3515 | Richard Henderson <rth@redhat.com> | |
3516 | ||
3517 | * emit-rtl.c (gen_rtx_REG): After reload, only return | |
3518 | frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed. | |
3519 | ||
aa2a83dc JJ |
3520 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3521 | ||
3522 | * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove. | |
3523 | * config/rs6000/rs6000.c (rs6000_field_alignment): Move... | |
3524 | * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the | |
3525 | macro. | |
3526 | ||
aeaf4d25 AN |
3527 | 2002-08-08 Adam Nemet <anemet@lnxw.com> |
3528 | ||
3529 | * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC | |
3530 | register. | |
3531 | (thumb_expand_prologue): Likewise. | |
3532 | (thumb_output_function_prologue): Likewise. | |
3533 | * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for | |
3534 | the additional push of the PIC register. | |
3535 | ||
22aa533e NS |
3536 | 2002-08-08 Nathan Sidwell <nathan@codesourcery.com> |
3537 | ||
3538 | * configure.in (enable_coverage): New enable switch. | |
3539 | * configure: Rebuilt. | |
3540 | * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables. | |
3541 | (INTERNAL_CFLAGS): Append COVERAGE_FLAGS. | |
3542 | (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS. | |
3543 | (mostlyclean): Remove coverage files. | |
3544 | * doc/install.texi: Document enable_coverage. | |
3545 | ||
3546 | * cp/Make-lang.in (c++.mostlyclean): Remove coverage files. | |
3547 | * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. | |
3548 | * f/Make-lang.in (f.mostlyclean): Remove coverage files. | |
3549 | * java/Make-lang.in (java.mostlyclean): Remove coverage files. | |
3550 | * objc/Make-lang.in (objc.mostlyclean): Remove coverage files. | |
3551 | * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage | |
3552 | files. | |
a7701995 | 3553 | |
18bdccaa NB |
3554 | 2002-08-08 Neil Booth <neil@daikokuya.co.uk> |
3555 | ||
3556 | * c-opts.c (cpp_opts): New. | |
3557 | (COMMAND_LINE_OPTIONS): Add switches from cppinit.c. | |
3558 | (c_common_decode_options): Handle cpplib switches. | |
3559 | (c_common_init_options): Set cpp_opts. | |
3560 | * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c. | |
3561 | (cpp_handle_option): Similarly. | |
3562 | ||
774b5662 DE |
3563 | 2002-08-08 David Edelsohn <edelsohn@gnu.org> |
3564 | ||
3565 | * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0. | |
3566 | (TARGET_ALTIVEC_ABI): Same. | |
3567 | (TARGET_ALTIVEC_VRSAVE): Same. | |
3568 | ||
3569 | * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check | |
3570 | icode not CODE_FOR_nothing. Change switch to if. | |
3571 | ||
957e9e48 AM |
3572 | 2002-08-08 Alan Modra <amodra@bigpond.net.au> |
3573 | ||
3574 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4. | |
3575 | ||
daf06049 JJ |
3576 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3577 | ||
3578 | * stor-layout.c (place_union_field): For bitfields if | |
3579 | PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's | |
3580 | TYPE_USER_ALIGN. | |
3581 | ||
043d39a6 JDA |
3582 | 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3583 | ||
3584 | * pa.c (struct deferred_plabel): Constify name field. | |
3585 | ||
34bb92e3 NB |
3586 | 2002-08-07 Neil Booth <neil@daikokuya.co.uk> |
3587 | ||
3588 | * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable. | |
3589 | ||
3ec5d64d JDA |
3590 | 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3591 | ||
3592 | * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and | |
3593 | local_prefix are the same. | |
3594 | * configure: Rebuilt. | |
3595 | ||
ad9335eb JJ |
3596 | 2002-08-07 Jakub Jelinek <jakub@redhat.com> |
3597 | Richard Henderson <rth@redhat.com> | |
3598 | ||
3599 | * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN | |
3600 | to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply | |
3601 | ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN. | |
3602 | (place_field): Likewise. | |
3603 | * config/i386/i386.c (x86_field_alignment): Don't check | |
3604 | DECL_USER_ALIGN here. | |
3605 | * config/rs6000/rs6000.c (rs6000_field_alignment): New. | |
3606 | * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New | |
3607 | prototype. | |
3608 | * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define. | |
3609 | * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove. | |
3610 | * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove. | |
3611 | * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove. | |
3612 | * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove. | |
3613 | * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description. | |
3614 | ||
0b6f2917 NB |
3615 | 2002-08-07 Neil Booth <neil@daikokuya.co.uk> |
3616 | ||
3617 | * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update. | |
3618 | * c-common.c: Don't include tree-inline.h. | |
3619 | (c_common_init_options, c_common_post_options): Move to c-opts.c. | |
3620 | * c-common.h (c_common_decode_option): New. | |
3621 | * c-decl.c (c_decode_option): Remove. | |
3622 | * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option. | |
3623 | * c-opts.c: New file. | |
3624 | * c-tree.h (c_decode_option): Remove. | |
3625 | * doc/passes.texi: Update. | |
3626 | * objc/objc-act.c (objc_decode_option): Remove. | |
3627 | * objc/objc-act.h (objc_decode_option): Remove. | |
3628 | * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use | |
3629 | c_common_decode_option. | |
3630 | ||
e49ec17d CD |
3631 | 2002-08-07 Chris Demetriou <cgd@broadcom.com> |
3632 | ||
3633 | * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove | |
3634 | dependency on TARGET_DOUBLE_FLOAT. | |
3635 | ||
ac1ca451 SC |
3636 | 2002-08-07 Stephen Clarke <stephen.clarke@superh.com> |
3637 | ||
3638 | * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't | |
3639 | overwrite callee-save registers. Fix comment. | |
3640 | ||
af34e51e CD |
3641 | 2002-08-06 Chris Demetriou <cgd@broadcom.com> |
3642 | ||
3643 | * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY | |
3644 | in target_flags based on ISA, if it was not set on the command | |
3645 | line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not | |
3646 | support Branch Likely instructions. | |
3647 | * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro. | |
3648 | (TARGET_BRANCHLIKELY): Likewise. | |
3649 | (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely. | |
3650 | (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than | |
3651 | ISA_HAS_BRANCHLIKELY. | |
3652 | (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check. | |
3653 | * doc/invoke.texi: Document new MIPS -mbranch-likely and | |
3654 | -mno-branch-likely options. | |
3655 | ||
2631af95 KG |
3656 | 2002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3657 | ||
f538618e KG |
3658 | * ip2k.c (ip2k_set_compare): Add missing iteration variable. |
3659 | ||
2631af95 KG |
3660 | * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not |
3661 | $(GCONFIG_H). | |
3662 | ||
1ae0ccb6 AH |
3663 | 2002-08-06 Aldy Hernandez <aldyh@redhat.com> |
3664 | ||
8537ed68 ZW |
3665 | * c-decl.c (duplicate_decls): Error out for incompatible TLS |
3666 | declarations. | |
1ae0ccb6 | 3667 | |
8537ed68 | 3668 | * testsuite/gcc.dg/tls/diag-3.c: New. |
1ae0ccb6 | 3669 | |
8d3e27d1 | 3670 | 2002-08-06 Dale Johannesen <dalej@apple.com> |
db4c55f6 | 3671 | |
8d3e27d1 | 3672 | * c-common.c (fname_decl): Use line number 0 for |
8537ed68 | 3673 | __func__, to avoid confusing debuggers. |
8d3e27d1 | 3674 | |
8b219a76 NS |
3675 | 2002-08-06 Nathan Sidwell <nathan@codesourcery.com> |
3676 | ||
3677 | * gcov.c: Tidy. | |
3678 | (struct line_info, struct coverage): New structures. | |
3679 | (gcov_file_name, gcov_file): Remove globals. | |
3680 | (output_data): Take source file parameter. Fix memory leak. Break | |
3681 | up into ... | |
3682 | (init_line_info, output_line_info, make_gcov_file_name, | |
3683 | accumulate_branch_counts): ... here. | |
3684 | (calculate_branch_probs, function_summary): Adjust. | |
3685 | (main): Adjust. | |
3686 | (function_*): Remove global variables. | |
3687 | ||
317e98c0 NB |
3688 | 2002-08-06 Neil Booth <neil@daikokuya.co.uk> |
3689 | ||
3690 | * dwarf2out.c: Remove unused macros. | |
3691 | ||
81d41e74 NB |
3692 | 2002-08-06 Neil Booth <neil@daikokuya.co.uk> |
3693 | ||
3694 | * function.c (TRAMPOLINE_ALIGNMENT): Always defined. | |
3695 | ||
58551c23 NB |
3696 | 2002-08-06 Neil Booth <neil@daikokuya.co.uk> |
3697 | ||
3698 | * cppinit.c (struct lang_flags): Rename trigraphs std. | |
3699 | (set_lang): Update. | |
3700 | * cpplib.h (struct cpp_options): New member std. | |
3701 | * cppmacro.c (_cpp_builtin_macro_text): Use std. | |
3702 | (collect_args): Flag whether to swallow a possible future | |
3703 | comma pasted with varargs. | |
3704 | (replace_args): Use this flag. | |
3705 | * doc/cpp.texi: Update varargs extension documentation. | |
3706 | ||
daeabcd0 JJ |
3707 | 2002-08-06 Jakub Jelinek <jakub@redhat.com> |
3708 | ||
3709 | * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned. | |
3710 | ||
39e3a681 JJ |
3711 | 2002-08-06 Jakub Jelinek <jakub@redhat.com> |
3712 | ||
9812691e JJ |
3713 | * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT |
3714 | and MODE_CLASS_INT modes. | |
39e3a681 | 3715 | |
609a87f3 JJ |
3716 | 2002-08-06 Jakub Jelinek <jakub@redhat.com> |
3717 | ||
3718 | * config.gcc (*-*-linux*): Default to --enable-threads=posix if no | |
3719 | --{enable,disable}-threads is given to configure. | |
3720 | (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*, | |
3721 | x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*, | |
3722 | powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*, | |
3723 | s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*): | |
3724 | Remove thread_file setting here. | |
3725 | ||
ff4c5e7b DE |
3726 | 2002-08-06 David Edelsohn <edelsohn@gnu.org> |
3727 | ||
3728 | * doc/install.texi (Binaries): Update Bull Freeware URL. | |
3729 | ||
54f3aa9e GP |
3730 | 2002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3731 | ||
3732 | * doc/gcc.texi (Top): Rename Index to Keyword Index. | |
3733 | ||
d19202ba NS |
3734 | 2002-08-05 Nathan Sidwell <nathan@codesourcery.com> |
3735 | ||
3736 | * gcov.c (output_data): Round to % to nearest, tweak formatting. | |
3737 | ||
1bed5ee3 JJ |
3738 | 2002-08-05 Jakub Jelinek <jakub@redhat.com> |
3739 | ||
3740 | * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one | |
3741 | of the operands into MINUS_EXPR if code is PLUS_EXPR. | |
3742 | ||
84512347 DR |
3743 | 2002-08-05 Douglas B Rupp <rupp@gnat.com> |
3744 | ||
3745 | * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o | |
3746 | * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT, | |
3747 | drectve_section): Define. | |
3748 | * config/i386/t-interix: Replace interix.o rule with winnt.o. | |
3749 | * config/i386/interix.c: Remove. | |
3750 | ||
b835f6f1 GK |
3751 | 2002-08-05 Geoffrey Keating <geoffk@redhat.com> |
3752 | ||
3753 | * attribs.c: Don't include obstack.h. | |
3754 | * builtins.c: Likewise. | |
3755 | * cfganal.c: Likewise. | |
3756 | * cfgbuild.c: Likewise. | |
3757 | * cfgcleanup.c: Likewise. | |
3758 | * emit-rtl.c: Likewise. | |
3759 | * loop.c: Likewise. | |
3760 | * stmt.c: Likewise. | |
3761 | ||
3762 | * Makefile.in (s-gtype): Re-add dependency on $(GTFILES). | |
3763 | ||
fd291392 GDR |
3764 | 2002-08-05 Gabriel Dos Reis <gdr@nerim.net> |
3765 | ||
3766 | * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR | |
3767 | ||
054b7507 CD |
3768 | 2002-08-04 Chris Demetriou <cgd@broadcom.com> |
3769 | ||
3770 | * doc/invoke.texi: Remove duplicated paragraph describing | |
3771 | TARGET_SWITCHES. | |
3772 | ||
6d9f628e GK |
3773 | 2002-08-04 Geoffrey Keating <geoffk@redhat.com> |
3774 | ||
3775 | * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H). | |
3776 | * collect2.h (permanent_obstack): Delete declaration. | |
3777 | * collect2.c (permanent_obstack): Delete definition. | |
4912a07c | 3778 | (main): Don't initialize permanent_obstack. Use xstrdup instead. |
6d9f628e GK |
3779 | * expr.c: Don't include obstack.h. |
3780 | (permanent_obstack): Delete declaration. | |
3781 | * function.c: Don't include obstack.h. | |
3782 | (permanent_obstack): Delete declaration. | |
3783 | * integrate.c: Don't include obstack.h. | |
3784 | (function_maybepermanent_obstack): Delete declaration. | |
3785 | * print-tree.c (debug_tree): Use x*alloc not permalloc. | |
3786 | * sdbout.c (gen_fake_label): Use x*alloc not permalloc. | |
3787 | * tlink.c (pfgets): Use xstrdup not permanent_obstack. | |
3788 | * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree. | |
3789 | * tree.h: Rename init_obstacks to init_ttree. Remove declarations | |
3790 | of permalloc, expralloc, perm_calloc. | |
3791 | * tree.c (permanent_obstack): Delete definition. | |
3792 | (init_ttree): Rename from init_obstacks. | |
3793 | (permalloc): Delete. | |
3794 | (perm_calloc): Delete. | |
3795 | (dump_tree_statistics): Don't print information about | |
3796 | permanent_obstack. | |
3797 | * varasm.c (assemble_start_function): Use xstrdup instead of | |
3798 | permalloc/strcpy. | |
3799 | (assemble_variable): Likewise. | |
3800 | * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of | |
3801 | permalloc. | |
3802 | (unicosmk_add_extern): Likewise. | |
3803 | * config/c4x/c4x.c (c4x_external_ref): Likewise. | |
3804 | (c4x_global_label): Likewise. | |
3805 | * config/frv/frv.c (frv_encode_section_info): Likewise. | |
3806 | * config/i386/winnt.c (i386_pe_record_external_function): Likewise. | |
3807 | (i386_pe_record_exported_symbol): Likewise. | |
3808 | * config/mips/mips.c (mips_output_external): Likewise. | |
3809 | (mips_output_external_libcall): Likewise. | |
3810 | * config/pa/pa.c: (permanent_obstack): Delete declaration. | |
3811 | (output_call): Use ggc_strdup instead of allocating on | |
3812 | permanent_obstack. | |
3813 | * config/romp/romp.c: Include ggc.h. | |
3814 | (get_symref): Don't declare permanent_obstack, use ggc_strdup | |
3815 | intead of permanent_obstack. | |
3816 | * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat | |
3817 | instead of permalloc. | |
3818 | * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc | |
3819 | instead of permalloc | |
3820 | * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat | |
3821 | instead of permalloc. | |
3822 | * config/vax/vax.c (vms_check_external): Use xmalloc instead of | |
3823 | permalloc. | |
3824 | ||
36a05131 BS |
3825 | 2002-08-04 Bernd Schmidt <bernds@redhat.com> |
3826 | ||
3827 | Contribute a port developed primarily by Michael Meissner, | |
3828 | Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>. | |
3829 | * config.gcc: Add frv-elf target. | |
3830 | * config/frv/cmovd.c: New file. | |
3831 | * config/frv/cmovh.c: New file. | |
3832 | * config/frv/cmovw.c: New file. | |
3833 | * config/frv/frv-abi.h: New file. | |
3834 | * config/frv/frv-asm.h: New file. | |
3835 | * config/frv/frv-modes.def: New file. | |
3836 | * config/frv/frv-protos.h: New file. | |
3837 | * config/frv/frv.c: New file. | |
3838 | * config/frv/frv.h: New file. | |
3839 | * config/frv/frv.md: New file. | |
3840 | * config/frv/frvbegin.c: New file. | |
3841 | * config/frv/frvend.c: New file. | |
3842 | * config/frv/lib1funcs.asm: New file. | |
3843 | * config/frv/media.h: New file. | |
3844 | * config/frv/modi.c: New file. | |
3845 | * config/frv/t-frv: New file. | |
3846 | * config/frv/uitod.c: New file. | |
3847 | * config/frv/uitof.c: New file. | |
3848 | * config/frv/ulltod.c: New file. | |
3849 | * config/frv/ulltof.c: New file. | |
3850 | * config/frv/umodi.c: New file. | |
3851 | * config/frv/xm-frv.h: New file. | |
86a0cbcb BS |
3852 | |
3853 | * config/frv/media.h: Removed again. | |
3854 | ||
37b8715b NS |
3855 | 2002-08-04 Nathan Sidwell <nathan@codesourcery.com> |
3856 | ||
3857 | * gcov.c (bb_file_time): New static variable. | |
3858 | (object_directory): May also be object file. | |
3859 | (preserve_paths): New static variable. | |
3860 | (print_usage): Adjust. | |
3861 | (options): Adjust. | |
3862 | (process_args): Adjust. | |
3863 | (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object | |
3864 | file. Find modification date on bb file. | |
3865 | (read_profile): Don't rewind a NULL file. | |
3866 | (format_hwint): New static function. | |
3867 | (function_summary): Use format_hwint. | |
3868 | (output_data): SOURCE_FILE_NAME is never relative to | |
3869 | OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name | |
3870 | mangling. Adjust output format to make it more machine readable. | |
3871 | * doc/gcov.texi: Document & clarify semantics. | |
a7701995 | 3872 | |
d500c5d7 JM |
3873 | 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk> |
3874 | ||
3875 | * doc/include/gcc-common.texi (version-GCC): Increase to 3.3. | |
3876 | ||
ea67fe71 NS |
3877 | 2002-08-04 Nathan Sidwell <nathan@codesourcery.com> |
3878 | ||
3879 | * gcc.c (cc1_options): Pass output file as auxbase when | |
3880 | appropriate. | |
3881 | * profile.c (init_branch_prob): FILENAME has already had ending | |
3882 | stripped. | |
3883 | * final.c (end_final): Likewise. | |
3884 | * toplev.c (aux_base_name): New global. | |
3885 | (compile_file): Pass aux_base_name to init init_branch_prob and | |
3886 | end_final. | |
3887 | (independent_decode_option, case 'a'): New auxinfo options. | |
3888 | (case 'd'): Protect against mising basename. | |
3889 | (do_compile): Initialize aux_base_name. | |
3890 | * toplev.h (aux_base_name): New global. | |
3891 | * doc/invoke.texi: Adjust documentation. | |
3892 | ||
b23c054d NS |
3893 | 2002-08-04 Nathan Sidwell <nathan@codesourcery.com> |
3894 | ||
3895 | * config/i386/i386.c (x86_field_alignment): Remove duplicate test | |
3896 | of TARGET_ALIGN_DOUBLE. | |
3897 | ||
04c1334c | 3898 | 2002-08-04 Gabriel Dos Reis <gdr@nerim.net> |
a7701995 | 3899 | |
04c1334c GDR |
3900 | * diagnostic.c (inform): New function. |
3901 | * diagnostic.h (inform): Declare. | |
a7701995 | 3902 | |
e34eaae5 DE |
3903 | 2002-08-03 David Edelsohn <edelsohn@gnu.org> |
3904 | ||
3905 | * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic. | |
3906 | (movhi_internal): Same. | |
3907 | (movqi_internal): Same. | |
3908 | (movdi_internal64): Same. | |
3909 | ||
3910 | * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405. | |
3911 | ||
3912 | * config/rs6000/xcoff.h (SKIP_ASM_OP): Define. | |
3913 | (ASM_OUTPUT_SKIP): Use it. SIZE unsigned. | |
3914 | (COMMON_ASM_OP): Define. | |
3915 | (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned. | |
3916 | Use ALIGN parameter. | |
3917 | (LOCAL_COMMON_ASM_OP): Define. | |
3918 | (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned. | |
3919 | ||
e7b489c8 RS |
3920 | 2002-08-03 Roger Sayle <roger@eyesopen.com> |
3921 | ||
3922 | * builtins.def: Define new builtin functions exp, expf, expl, | |
3923 | log, logf and logl (and their __builtin_* variants). | |
3924 | * optabs.h (enum optab_index): Add new OTI_exp and OTI_log. | |
3925 | Define exp_optab and log_optab. | |
3926 | * optabs.c (init_optans): Initialize exp_optab and log_optab. | |
3927 | * genopinit.c (optabs): Implement exp_optab and log_optab | |
3928 | using exp?f2 and log?f2 patterns. | |
3929 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP* | |
3930 | and BUILT_IN_LOG* using exp_optab and log_optab respectively. | |
3931 | (expand_builtin): Ignore the new builtins (and all cos and | |
3932 | sin variants) when not optimizing. Expand new builtins via | |
3933 | expand_builtin_mathfn when flag_unsafe_math_optimizations. | |
3934 | ||
3935 | * doc/extend.texi: Document new exp and log builtins. | |
3936 | * doc/md.texi: Document new exp?f2 and log?f2 patterns | |
3937 | (and previously undocumented cos?f2 and sin?f2 patterns). | |
3938 | ||
de8920be JM |
3939 | 2002-08-03 Jason Merrill <jason@redhat.com> |
3940 | ||
3941 | * explow.c (int_expr_size): New fn. | |
3942 | * expr.c (expand_expr) [CONSTRUCTOR]: Use it. | |
3943 | * expr.h: Declare it. | |
3944 | ||
ba462c8e KW |
3945 | 2002-08-02 Krister Walfridsson <cato@df.lth.se> |
3946 | ||
3947 | * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to | |
3948 | gengtype-* dependencies. | |
3949 | ||
2017ed61 EC |
3950 | 2002-08-02 Eric Christopher <echristo@redhat.com> |
3951 | ||
3952 | * config.gcc (mips*-*-linux*): Fix ordering of tm_file. | |
3953 | * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change | |
3954 | #ifndef to #undef. | |
3955 | (TARGET_MEM_FUNCTIONS): Define instead of define to 1. | |
3956 | ||
055dd007 DE |
3957 | 2002-08-02 David Edelsohn <edelsohn@gnu.org> |
3958 | ||
3959 | PR optimize/7067 | |
3960 | * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT | |
3961 | small if optimizing for size. | |
3962 | ||
771a2a66 DJ |
3963 | 2002-08-02 Daniel Jacobowitz <drow@mvista.com> |
3964 | ||
3965 | * configure.in (FORBUILD): Use $build_alias. | |
3966 | * configure: Regenerated. | |
3967 | ||
ac8ab9fe RS |
3968 | 2002-08-02 Richard Sandiford <rsandifo@redhat.com> |
3969 | ||
3970 | * config.gcc: Don't include mips/abi64.h in $tm_file. | |
3971 | * hard-reg-set.h (call_really_used_regs): Declare. | |
3972 | * config/mips/abi64.h: Remove file. | |
3973 | * config/mips/linux.h, | |
3974 | * config/mips/iris6.h: Don't include it. | |
3975 | * config/mips/mips-protos.h (mips_conditional_register_usage): Declare. | |
3976 | * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it. | |
3977 | (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING, | |
3978 | FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING, | |
3979 | FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN): | |
3980 | Bring across definitions from abi64.h. | |
3981 | (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS. | |
3982 | (BIGGEST_MAX_ARGS_IN_REGISTERS): New. | |
3983 | (struct mips_args): Use it. | |
3984 | * config/mips/mips.c (mips_conditional_register_usage): Define. | |
3985 | ||
a77a9a18 JM |
3986 | 2002-08-02 Jason Merrill <jason@redhat.com> |
3987 | ||
3988 | * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro. | |
3989 | * langhooks.c (lhd_expr_size): Define default. | |
3990 | * langhooks.h (struct lang_hooks): Add expr_size. | |
3991 | * explow.c (expr_size): Call it. | |
3992 | * expr.c (store_expr): Don't copy an expression of size zero. | |
3993 | (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much | |
3994 | to store. | |
3995 | * Makefile.in (builtins.o): Depend on langhooks.h. | |
3996 | ||
a6be5aee KG |
3997 | 2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3998 | ||
3999 | * Makefile.in (ra-debug.o): Depend on $(TM_P_H). | |
4000 | * ra-debug.c: Include "tm_p.h". | |
4001 | * ra-rewrite.c (is_partly_live_1): Change return type to bool. | |
4002 | ||
e3e16ee3 TM |
4003 | 2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl> |
4004 | ||
4005 | * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed | |
4006 | when not honoring signalling NaNs. | |
4007 | (simplify_ternary_operation): a == b has a definite value | |
4008 | when not honoring NaNs. | |
4009 | ||
b9d8832d JM |
4010 | 2002-08-02 Jason Merrill <jason@redhat.com> |
4011 | ||
4012 | * gdbinit.in (pct): New macro. | |
4013 | ||
825abef4 SS |
4014 | 2002-08-01 Stan Shebs <shebs@apple.com> |
4015 | Andreas Tobler <toa@pop.agri.ch> | |
4016 | ||
4017 | * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined, | |
4018 | plays nice with Darwin headers. | |
bf2e488f | 4019 | (_BSD_RUNE_T_DEFINED_): Likewise. |
825abef4 | 4020 | |
56da7207 ZW |
4021 | 2002-08-01 Zack Weinberg <zack@codesourcery.com> |
4022 | ||
4023 | * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long. | |
4024 | * cppinit.c (cpp_post_options): Likewise. | |
4025 | ||
4026 | * cppexp.c (cpp_classify_number): Suppress -Wtraditional | |
4027 | warning about 'LL' suffix (but not 'ULL' etc) when | |
4028 | -Wno-long-long is in effect. | |
4029 | ||
4030 | * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]: | |
4031 | Check for failing time()/localtime(), issue a warning, and | |
4032 | make __TIME__ and __DATE__ expand to fallback strings. | |
4033 | ||
4034 | * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__ | |
4035 | and __TIME__ when the date and time cannot be determined. | |
4036 | ||
f4857b9b AM |
4037 | 2002-08-02 Alan Modra <amodra@bigpond.net.au> |
4038 | ||
4039 | * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4. | |
4040 | ||
77ca7b2e DJ |
4041 | 2002-08-01 Daniel Jacobowitz <drow@mvista.com> |
4042 | ||
4043 | * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H). | |
4044 | ||
5b552f76 CD |
4045 | 2002-08-01 Chris Demetriou <cgd@broadcom.com> |
4046 | ||
4047 | * config.gcc (mipsisa64sb1-*-elf*): New configuration. | |
4048 | (mipsisa64sb1el-*-elf*): Likewise. | |
4049 | * config/mips/mips.c (mips_cpu_info_table): Add sb1. | |
4050 | * config/mips/mips.h (processor_type): Add PROCESSOR_SB1. | |
4051 | (TARGET_SB1, TUNE_SB1): New macros. | |
4052 | * doc/invoke.texi: Add sb1 to documentation for MIPS -march and | |
4053 | -mtune flags. | |
4054 | ||
54fbf6a1 DE |
4055 | 2002-08-01 David Edelsohn <edelsohn@gnu.org> |
4056 | ||
4057 | * varasm.c (asm_emit_uninitialized): Return false if global BSS | |
4058 | and ASM_EMIT_BSS not supported by target. | |
4059 | (assemble_variable): Do not duplicate uninitialized logic. | |
4060 | Fall through if asm_emit_uninitialized failed. | |
4061 | ||
3d16b407 CD |
4062 | 2002-08-01 Chris Demetriou <cgd@broadcom.com> |
4063 | ||
4064 | * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro. | |
4065 | ||
fb52d8de AM |
4066 | 2002-08-02 Alan Modra <amodra@bigpond.net.au> |
4067 | ||
80926cc1 AM |
4068 | * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define. |
4069 | (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define. | |
4070 | ||
fb52d8de AM |
4071 | * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when |
4072 | HOST_BITS_PER_WIDE_INT == 64. | |
4073 | ||
a4b5414c KG |
4074 | 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4075 | ||
4076 | * df.c (df_insn_table_realloc): Change parameter to unsigned. | |
4077 | * optabs.c (expand_binop): Make variable unsigned. | |
4078 | * simplify-rtx.c (simplify_subreg): Likewise. | |
4079 | * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings. | |
4080 | ||
a03e67c3 FS |
4081 | 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4082 | ||
4083 | * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION. | |
4084 | ||
de273d3f RH |
4085 | 2002-08-01 Richard Henderson <rth@redhat.com> |
4086 | ||
56da7207 | 4087 | * toplev.c (parse_options_and_default_flags): Don't set |
de273d3f RH |
4088 | flag_reorder_blocks for -Os. |
4089 | ||
4090 | * config/avr/avr.c (avr_optimization_options): Remove. | |
4091 | * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove. | |
4092 | * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove. | |
4093 | * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove. | |
4094 | ||
4e4d733e L |
4095 | 2002-08-01 H.J. Lu <hjl@gnu.org> |
4096 | Richard Henderson <rth@redhat.com> | |
4097 | ||
4098 | * output.h (DECL_READONLY_SECTION): Remove. | |
4099 | (decl_readonly_section): Declare. | |
4100 | * varasm.c (decl_readonly_section): New. | |
4101 | (default_section_type_flags, default_select_section): Use it. | |
4102 | * config/arm/pe.c (arm_pe_unique_section): Likewise. | |
4103 | * config/i386/interix.c (i386_pe_unique_section): Likewise. | |
4104 | * config/i386/winnt.c (i386_pe_unique_section): Likewise. | |
4105 | * config/mcore/mcore.c (mcore_unique_section): Likewise. | |
4106 | * config/mips/mips.c (mips_unique_section): Likewise. | |
4107 | ||
32e9b960 RH |
4108 | 2002-08-01 Richard Henderson <rth@redhat.com> |
4109 | ||
4110 | * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it | |
4111 | refers to a subroutine parameter. | |
4112 | ||
81e602b5 JJ |
4113 | 2002-08-01 Jakub Jelinek <jakub@redhat.com> |
4114 | ||
4115 | * varasm.c (assemble_visibility): Strip name encoding. | |
4116 | ||
ac14c725 ID |
4117 | 2002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
4118 | ||
4119 | * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch. | |
4120 | (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0 | |
4121 | when there is no frame pointer. | |
4122 | (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp | |
4123 | registers properly. | |
4124 | * config/ns32k/__unorddf2.c: New file. | |
4125 | * config/ns32k/__unordsf2.c: New file. | |
4126 | * config/ns32k/t-ns32k: New file. | |
4127 | * config.gcc (ns32k-*-netbsd*): Use it. | |
4128 | ||
17072732 AH |
4129 | 2002-08-01 Aldy Hernandez <aldyh@redhat.com> |
4130 | ||
4131 | * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff. | |
4132 | ||
c288218a NB |
4133 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4134 | ||
4135 | * c-common.c (__GXX_ABI_VERSION): Correct spelling. | |
4136 | ||
43bfc248 BK |
4137 | 2002-08-01 Benjamin Kosnik <bkoz@redhat.com> |
4138 | ||
4139 | * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102. | |
4140 | ||
479f2cea RS |
4141 | 2002-08-01 Richard Sandiford <rsandifo@redhat.com> |
4142 | ||
4143 | * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions. | |
4144 | ||
02280659 ZD |
4145 | 2002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4146 | ||
4147 | * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size, | |
4148 | n_sets): Removed. | |
4149 | (expr_hash_table, set_hash_table): Type changed to ... | |
4150 | (struct hash_table): New type. | |
4151 | (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call, | |
4152 | insert_expr_in_table, insert_set_in_table, compute_hash_table, | |
4153 | dump_hash_table, lookup_expr, lookup_set, compute_local_properties, | |
4154 | compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly. | |
4155 | (alloc_set_hash_table, alloc_expr_hash_table): Merged to ... | |
4156 | (alloc_hash_table): New. | |
4157 | (free_set_hash_table, free_expr_hash_table): Merged to ... | |
4158 | (free_hash_table): New. | |
4159 | (compute_set_hash_table, compute_expr_hash_table): Merged to ... | |
4160 | (compute_hash_table_work): New. | |
4161 | (classic_gcse, one_classic_gcse_pass, compute_cprop_data, | |
4162 | find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data, | |
4163 | pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse, | |
4164 | one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout, | |
4165 | hoist_code, one_code_hoisting_pass, | |
4166 | trim_ld_motion_mems): Altered due to changed type of hash tables. | |
4167 | ||
905173eb ZW |
4168 | 2002-08-01 Zack Weinberg <zack@codesourcery.com> |
4169 | ||
4170 | * final.c (output_alternate_entry_point): | |
4171 | If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it. | |
4172 | ||
83321d36 KG |
4173 | 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4174 | ||
ad0f1765 KG |
4175 | * objc/objc-act.c (encode_complete_bitfield): Add prototype and |
4176 | avoid ISO C style function definition. | |
4177 | ||
83321d36 KG |
4178 | * expr.c (expand_assignment): Delete unused variable. |
4179 | ||
73e42cf3 TM |
4180 | 2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl> |
4181 | ||
4182 | * c-common.c (cb_register_builtins): Set | |
4183 | __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only | |
4184 | is given, and to 0 otherwise. | |
4185 | * combine.c (simplify_if_then_else): HONOR_NANS | |
4186 | implies FLOAT_MODE_P. | |
4187 | ||
78df51fe NB |
4188 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4189 | ||
4190 | * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar. | |
4191 | (cpp_handle_option): Don't handle it. | |
4192 | (print_help): Update. | |
4193 | * doc/cppopts.texi: Update. | |
4194 | ||
abecfc8f NB |
4195 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4196 | ||
4197 | * c-common.c (cb_register_builtins): If C++, define | |
4198 | __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate. | |
4199 | * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION. | |
4200 | cp: | |
4201 | * lang-specs.h: Simplify in accordance with new code in | |
4202 | c-common.c. | |
4203 | ||
4078b403 NB |
4204 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4205 | ||
4206 | * c-common.c: Define all C/ObjC/C++ warning and flag variables. | |
4207 | * c-common.h: Declare all C/ObjC/C++ warning and flag variables. | |
4208 | * c-decl.c: Move all warning and flag variables to c-common.c. | |
4209 | * c-format.c: Move all warning variables to c-common.c. | |
4210 | * c-tree.h: Move all warning and flag declarations to c-common.h. | |
4211 | * objc/objc-act.c: Move all warning variables to c-common.c. | |
4212 | (flag_warn_protocol): Rename warn_protocol. | |
4213 | ||
692f5611 JDA |
4214 | 2002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4215 | ||
4216 | * pa-linux.h (GLOBAL_ASM_OP): Fix typo. | |
4217 | ||
c7a009a2 | 4218 | 2002-07-31 Graham Stott <graham.stott@btinternet.com> |
480e7ded | 4219 | |
905173eb | 4220 | * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing |
480e7ded GS |
4221 | .section prefix. |
4222 | ||
b069de3b SS |
4223 | 2002-07-31 Stan Shebs <shebs@apple.com> |
4224 | ||
4225 | * config.gcc (i[34567]86-*-darwin*): New configuration. | |
4226 | * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before | |
4227 | defining. | |
4228 | (TARGET_ENCODE_SECTION_INFO): Ditto. | |
4229 | (ASM_PREFERRED_EH_DATA_FORMAT): Ditto. | |
4230 | * config/darwin.c (machopic_indirect_data_reference): Remove | |
4231 | setting of RTX_UNCHANGING_P. | |
4232 | (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as | |
4233 | not to be applied to sums. | |
4234 | * config/i386/t-darwin: New file. | |
4235 | * config/i386/darwin.h: New file. | |
4236 | * config/i386/i386.h (TARGET_MACHO): Add default definition. | |
4237 | * config/i386/i386.md (tablejump): Add TARGET_MACHO case. | |
4238 | * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O | |
4239 | label and not the GOT add. | |
4240 | (constant_address_p): For Mach-O, seeing a CONST is enough. | |
4241 | (legitimate_pic_address_disp_p): Add a Mach-O case. | |
4242 | (legitimate_address_p): Also test machopic_operand_p if Mach-O. | |
4243 | (legitimize_pic_address): Use generic Mach-O code to legitimize. | |
4244 | (output_pic_addr_const): Suppress @PLT if Mach-O, and parens | |
4245 | if outputting a difference. | |
4246 | (ix86_output_addr_diff_elt): Add Mach-O case. | |
4247 | (ix86_expand_move): Similarly. | |
4248 | (ix86_expand_call): Similarly. | |
4249 | (current_machopic_label_num): New global. | |
4250 | (machopic_output_stub): New function. | |
4251 | (ix86_value_regno): New function. | |
4252 | (ix86_function_value): Use it instead of VALUE_REGNO. | |
4253 | (ix86_libcall_value): Ditto. | |
4254 | * config/i386/unix.h (VALUE_REGNO): Remove. | |
4255 | ||
1de4ecb6 GS |
4256 | 2002-07-31 Graham Stott <grahas@btinternet.com> |
4257 | ||
4258 | * config/rs6000/rs6000.c(rs6000_hash_constant): Fix | |
905173eb | 4259 | hash for LABEL_REF's. |
1de4ecb6 | 4260 | |
23368455 GS |
4261 | 2002-07-31 Graham Stott <grahams@btinternet.com> |
4262 | ||
4263 | * config/rs6000/rs6000.c (spe_init_builtins, | |
4264 | altivec_init_builtins, rs6000_common_init_builtins): | |
905173eb | 4265 | Replace ANSI with K&R function def. |
23368455 | 4266 | |
ad72b533 DE |
4267 | 2002-07-31 David Edelsohn <edelsohn@gnu.org> |
4268 | ||
4269 | * rs6000.c (validate_condition_mode): Test flag_finite_math_only | |
4270 | for CCFPmode. | |
4271 | ||
302359da RS |
4272 | 2002-07-31 Richard Sandiford <rsandifo@redhat.com> |
4273 | ||
4274 | * config/mips/crtn.asm: Don't use __mips16 to determine the | |
4275 | return-address offset. Define RA to a suitable temporary | |
4276 | register for the return address. | |
4277 | ||
ead0c1d5 RS |
4278 | 2002-07-31 Richard Sandiford <rsandifo@redhat.com> |
4279 | ||
4280 | * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change | |
4281 | constraints to 'd'. | |
4282 | ||
3fb9d48a CD |
4283 | 2002-07-30 Chris Demetriou <cgd@broadcom.com> |
4284 | ||
4285 | * config/mips/elf.h (STARTFILE_SPEC): Define differently if | |
4286 | default ABI is MEABI. (Undoes incorrect change in Eric Christopher's | |
4287 | patch on 2002-07-29.) | |
4288 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
4289 | ||
072cdaed KG |
4290 | 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4291 | ||
506a61b1 KG |
4292 | * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h, |
4293 | fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h, | |
4294 | ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h, | |
4295 | openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h, | |
4296 | s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h: | |
4297 | (ASM_GLOBALIZE_LABEL): Delete. | |
4298 | (GLOBAL_ASM_OP): Define. | |
4299 | ||
072cdaed | 4300 | * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete. |
905173eb | 4301 | |
072cdaed KG |
4302 | * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default. |
4303 | * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs. | |
4304 | ||
6fd14075 GK |
4305 | 2002-07-30 Geoffrey Keating <geoffk@redhat.com> |
4306 | ||
4307 | * doc/extend.texi (Hints implementation): Document that GCC | |
4308 | mostly ignores `register'. | |
4309 | ||
2e8f2e8f TM |
4310 | 2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl> |
4311 | ||
4312 | * flags.h: Declare flag_finite_math_only. | |
4313 | Use it in definition of HONOR_NANS and | |
4314 | HONOR_INFINITIES. | |
4315 | * c-common.c (cb_register_builtins): Emit | |
4316 | __FINITE_MATH_ONLY__ when flag_finite_math_only | |
4317 | is set. | |
4318 | * combine.c (simplify_if_then_else): If | |
4319 | flag_finite_math_only is set, a == b has a | |
4320 | definite value. | |
4321 | * toplev.c: Initialize flag_finite_math_only. | |
4322 | (set_flags_fast_math): Set it on -ffast-math. | |
4323 | (flag_fast_math_set_p): Test it. | |
4324 | * doc/invoke.texi: Document -ffinite-math-only. | |
4325 | ||
a538e580 RH |
4326 | 2002-07-30 Richard Henderson <rth@redhat.com> |
4327 | ||
4328 | * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p. | |
4329 | (noce_process_if_block): Likewise. | |
4330 | ||
26e20555 BS |
4331 | 2002-07-30 Bernd Schmidt <bernds@redhat.com> |
4332 | ||
4333 | * ifcvt.c (cond_exec_process_if_block): Fix a merging error. | |
4334 | Bail out early if false_expr is NULL and we'd crash due to this. | |
79cbc1f7 BS |
4335 | * genemit.c (gen_expand): Recognize return insns even if the return |
4336 | appears in a parallel. | |
d8088c6f BS |
4337 | * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined. |
4338 | * config/fp-bit.c: Likewise. | |
4339 | * doc/tm.texi: Document it. | |
905173eb | 4340 | |
0559cc77 DE |
4341 | 2002-07-30 David Edelsohn <edelsohn@gnu.org> |
4342 | Zack Weinberg <zack@codesourcery.com> | |
4343 | ||
4344 | * rs6000.c (rs6000_expand_unop_builtin): Check icode not | |
4345 | CODE_FOR_nothing. Change switch to if. | |
4346 | (rs6000_expand_binop_builtin): Same. | |
4347 | (rs6000_expand_builtin): Expand builtin if target support enabled. | |
4348 | (rs6000_init_builtins): Init builtin if target support enabled. | |
4349 | (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing. | |
4350 | ||
60b8aa94 FS |
4351 | 2002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4352 | ||
4353 | * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101. | |
4354 | ||
714fb710 RS |
4355 | 2002-07-30 Richard Sandiford <rsandifo@redhat.com> |
4356 | ||
4357 | * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo. | |
4358 | ||
c608a684 R |
4359 | Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4360 | ||
4361 | * sh.md (cond_delay_slot): New attribute. | |
4362 | (cbranch delay): Use it for anulled-true case. | |
4363 | (stuff_delay_slot): New pattern. | |
4364 | * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length | |
4365 | delay slot insn. | |
4366 | (gen_far_branch): Emit stuff_delay_slot pattern. | |
4367 | ||
0a756401 R |
4368 | Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4369 | ||
4370 | * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT. | |
4371 | ||
68e82b83 KH |
4372 | 2002-07-30 Kazu Hirata <kazu@cs.umass.edu> |
4373 | ||
4374 | * fold-const.c: Fix comment typos. | |
4375 | * gcse.c: Likewise. | |
4376 | * reload1.c: Likewise. | |
4377 | ||
fe6b547a AH |
4378 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4379 | ||
4380 | * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot | |
4381 | for TARGET_SPE. | |
4382 | ||
7ff4a7ef GDR |
4383 | 2002-07-30 Gabriel Dos Reis <gdr@nerim.net> |
4384 | ||
4385 | * c-pretty-print.h (pp_c_statement): Declare. | |
4386 | * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC. | |
4387 | (pp_c_statement): Define. | |
4388 | ||
4ad5e05d KG |
4389 | 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4390 | ||
4391 | * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h, | |
4392 | darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h, | |
4393 | ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h, | |
4394 | mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h, | |
4395 | rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h, | |
4396 | v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition. | |
4397 | ||
4398 | * defaults.h (ASM_OUTPUT_LABEL): Provide a default. | |
4399 | * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs. | |
4400 | ||
1e6a3e1e GDR |
4401 | 2002-07-30 Gabriel Dos Reis <gdr@nerim.net> |
4402 | ||
4403 | * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR. | |
4404 | (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR, | |
4405 | COMPOUND_LITERAL_EXPR, VA_ARG_EXPR. | |
4406 | (pp_c_expression): Update. | |
4407 | ||
1dcd444b KG |
4408 | 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4409 | ||
4410 | * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or | |
4411 | concat in lieu of xmalloc/strcpy/memcpy/sprintf. | |
4412 | * alpha/vms-ld.c (main): Likewise. | |
4413 | * dsp16xx.c (double_reg_to_memory): Likewise. | |
4414 | * mcore.c (mcore_expand_prolog): Likewise. | |
4415 | * cppfiles.c (read_name_map): Likewise. | |
4416 | * gensupport.c (process_rtx, identify_predicable_attribute, | |
4417 | alter_test_for_insn): Likewise. | |
4418 | * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise. | |
4419 | ||
e62f4abc RS |
4420 | 2002-07-29 Roger Sayle <roger@eyesopen.com> |
4421 | ||
4422 | * builtins.c (expand_builtin): Change the default behavior to | |
905173eb | 4423 | only issue an error if the builtin function doesn't have a |
e62f4abc RS |
4424 | fallback library call. Remove several cases handled by the |
4425 | new default. | |
4426 | ||
0cd2fb44 JDA |
4427 | 2002-07-29 John David Anglin <dave@hiauly1.hia.nrc> |
4428 | ||
4429 | * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the | |
4430 | floating point format of the target is IEEE. | |
4431 | * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point | |
4432 | format of the target is DEC. | |
4433 | ||
b642261e RH |
4434 | 2002-07-29 Richard Henderson <rth@redhat.com> |
4435 | ||
4436 | * unroll.c (verify_addresses): Remove. | |
4437 | (find_splittable_givs): Never split DEST_ADDR givs. | |
4438 | ||
cba57c9d GK |
4439 | 2002-07-29 Geoffrey Keating <geoffk@redhat.com> |
4440 | ||
4441 | * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes | |
4442 | is exhaustive. | |
4443 | (Files): Improve documentation on generated source files. | |
4444 | ||
4445 | * doc/extend.texi (Translation implementation): Document what | |
4446 | diagnostics look like. | |
4447 | (Identifiers implementation): Document that there's normally no | |
4448 | limit on identifier names. | |
4449 | (Integers implementation): Document two's complement. | |
8d9afc4e | 4450 | (Hints implementation): Document that GCC honors 'inline', mostly. |
cba57c9d GK |
4451 | (Preprocessing directives implementation): Document that GCC |
4452 | requires the current time. | |
4453 | ||
76a8ecba GDR |
4454 | 2002-07-30 Gabriel Dos Reis <gdr@nerim.net> |
4455 | ||
4456 | * c-pretty-print.h (struct c_pretty_print_info): Add new member. | |
4457 | (pp_initializer): New macro. | |
4458 | (pp_c_initializer): Declare. | |
4459 | * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR. | |
4460 | (pp_c_initializer): Define. | |
4461 | (pp_c_initializer_list): New function. | |
4462 | (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST, | |
4463 | VECTOR_CST, CONSTRUCTOR. | |
4464 | (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR, | |
905173eb | 4465 | IMAGPART_EXPR. |
76a8ecba GDR |
4466 | (pp_c_cast_expression): Handle FLOAT_EXPR. |
4467 | (pp_c_assignment_expression): Handle INIT_EXPR. | |
4468 | (pp_c_expression): Update. | |
4469 | ||
4307be72 NB |
4470 | 2002-07-30 Neil Booth <neil@daikokuya.co.uk> |
4471 | ||
4472 | * objc/objc-act.c (objc_init): Return immediately if filename | |
4473 | is NULL. | |
4474 | ||
6d439235 EC |
4475 | 2002-07-29 Eric Christopher <echristo@redhat.com> |
4476 | ||
905173eb ZW |
4477 | * config/mips/elf.h: Remove ecoff.h and gofast includes. |
4478 | (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally. | |
4479 | (SDB_DEBUGGING_INFO): Undefine. | |
4480 | (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. | |
6d439235 EC |
4481 | (PUT_SDB_SIZE): Remove. |
4482 | (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine. | |
905173eb ZW |
4483 | (STARTFILE_SPEC): Add isa3264 define. |
4484 | * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here... | |
4485 | * config/mips/ecoff.h: Remove. and here... | |
4486 | * config/mips/iris3.h: and here... | |
4487 | * config/mips/sni-svr4.h: and here... | |
4488 | * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs. | |
6d439235 EC |
4489 | Add assembler -mmdebug options for non-dwarf debugging. |
4490 | * config/mips/r3900.h: Remove debug info defines. | |
905173eb ZW |
4491 | * config/mips/isa32-linux.h: Remove, move functionality to config.gcc. |
4492 | * config/mips/isa3264.h: Ditto. | |
4493 | * config/mips/t-isa3264: Fix up for file removal and gofast configure | |
4494 | change. | |
4495 | * config/mips/t-elf: Ditto. | |
4496 | * config/mips/t-ecoff: Ditto. | |
4497 | * config/mips/t-r3900: Ditto. | |
4498 | * config/mips/t-iris5-6: Ditto. | |
4499 | * config/mips/t-isa3264: Ditto. | |
4500 | * config/mips/t-linux: Remove. | |
4501 | * config/mips/t-netbsd: Remove. | |
4502 | * config/mips/t-mips: New file. | |
4503 | * config/mips/t-gofast: Ditto. | |
4504 | * config/mips/netbsd.h: Remove unnecessary undefines. | |
4505 | * config/mips/linux.h: Remove #include of mips.h. | |
4506 | * config.gcc: Add mips.h include for elf targets. Remove tm_file | |
4507 | for ecoff. Add gofast configure option for mips. | |
6d439235 | 4508 | |
4357a6c3 CD |
4509 | 2002-07-29 Chris Demetriou <cgd@broadcom.com> |
4510 | ||
4511 | * configure.in (mips*-*-*): Add a test to see if MIPS libgloss | |
4512 | linker scripts use STARTUP directives consistently. | |
4513 | * configure: Regenerate. | |
4514 | * config.in: Regenerate. | |
4515 | * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based | |
4516 | on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined. | |
4517 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
4518 | * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if | |
4519 | HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result | |
4520 | will be the same. | |
4521 | ||
9a5cd606 AH |
4522 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4523 | ||
4524 | * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute. | |
4525 | ||
a23acaa6 AH |
4526 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4527 | ||
4528 | * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540. | |
4529 | ||
10ed84db AH |
4530 | 2002-07-29 Aldy Hernandez <aldy@quesejoda.com> |
4531 | ||
4532 | * config/rs6000/rs6000.md: Move altivec patterns from here... | |
4533 | ||
4534 | * config/rs6000/altivec.md: ...to here. | |
4535 | ||
c3021e5d AH |
4536 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4537 | ||
4538 | * config/rs6000/spe.md ("spe_evmra"): Change to unspec. | |
4539 | ||
6f1087be RH |
4540 | 2002-07-29 Richard Henderson <rth@redhat.com> |
4541 | ||
4542 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from | |
4543 | set_mem_attributes and add BITPOS argument. Subtract it from | |
4544 | OFFSET when same is adjusted. | |
4545 | (set_mem_attributes): New wrapper function. | |
4546 | * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos; | |
4547 | remove offset adjustment hack. | |
4548 | * expr.h (set_mem_attributes_minus_bitpos): Declare. | |
4549 | ||
61ccbcfd GDR |
4550 | 2002-07-29 Gabriel Dos Reis <gdr@nerim.net> |
4551 | ||
4552 | * Makefile.in (C_OBJS): Include c-pretty-print.o | |
4553 | (c-pretty-print.o): Add depency rule. | |
4554 | * pretty-print.h: Add more macros. | |
4555 | * c-pretty-print.c: New file. | |
4556 | * c-pretty-print.h: Likewise. | |
4557 | ||
09101f56 AH |
4558 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4559 | ||
4560 | * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector | |
4561 | constants to __ev64_s32__. | |
4562 | (__internal_ev_mwhgsmian): Same. | |
4563 | (__internal_ev_mwhgsmfan): Same. | |
4564 | (__internal_ev_mwhgssfan): Same. | |
4565 | (__internal_ev_mwhgumiaa): Same. | |
4566 | (__internal_ev_mwhgsmiaa): Same. | |
4567 | (__internal_ev_mwhgsmfaa): Same. | |
4568 | (__internal_ev_mwhgssfaa): Same. | |
4569 | ||
af673a52 DE |
4570 | 2002-07-29 David Edelsohn <edelsohn@gnu.org> |
4571 | ||
4572 | * varasm.c (assemble_variable): Narrow test for uninitialized | |
4573 | without BSS target support. | |
4574 | ||
6c208acd NS |
4575 | 2002-07-29 Nathan Sidwell <nathan@codesourcery.com> |
4576 | ||
4577 | * profile.c: Add file comment describing the overall algorithm and | |
4578 | structures. | |
4579 | (struct edge_info): Add comments. | |
4580 | (struct bb_info): Add comments. | |
4581 | * basic-block.h (EDGE_*): Add comments. | |
4582 | * doc/gcov.texi (Gcov Data Files): Document bit flags. | |
4583 | ||
624f0d60 BW |
4584 | 2002-07-29 Bob Wilson <bob.wilson@acm.org> |
4585 | ||
4586 | * config/xtensa/elf.h, config/xtensa/linux.h | |
4587 | (TARGET_OS_CPP_BUILTINS): Define. | |
4588 | (CPP_PREDEFINES): Remove. | |
4589 | * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define. | |
4590 | (CPP_SPEC): Remove. | |
4591 | ||
2199e5fa ZW |
4592 | 2002-07-29 Zack Weinberg <zack@codesourcery.com> |
4593 | ||
4594 | * gensupport.c: Include hashtab.h. | |
4595 | (insn_elision, condition_table, hash_c_test, cmp_c_test, | |
4596 | maybe_eval_c_test): New routines and data structures to | |
4597 | support insn elision. | |
4598 | (init_md_reader): Read and initialize the condition_table. | |
4599 | (read_md_rtx): Discard insn patterns whose C test is provably | |
4600 | always false. | |
4601 | * gensupport.h: Declare new functions and data structures. | |
4602 | ||
4603 | * genconditions.c, dummy-conditions.c: New files. | |
4604 | * Makefile.in: Build genconditions; run it to construct | |
4605 | insn-conditions.c; build that and link it into most gen* | |
4606 | programs. | |
4607 | (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables. | |
4608 | (GEN): Delete, unused. | |
4609 | (STAGESTUFF): Update. | |
4610 | ||
4611 | * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to | |
4612 | CODE_FOR_nothing for all elided patterns. | |
4613 | (main): Tweaked to support this. | |
4614 | * genflags.c (gen_proto): Emit a static inline generator | |
4615 | function here for all elided patterns, which simply returns | |
4616 | NULL_RTX. | |
4617 | (gen_insn): Do not define HAVE_xxx for elided patterns. | |
4618 | (main): Tweaked to support this. No need to forward-declare | |
4619 | struct rtx_def. | |
4620 | * genrecog.c: Do not bother emitting the C test if it's known | |
4621 | to be true at compile time. | |
4622 | ||
6ab185d6 MS |
4623 | 2002-07-29 Mike Stump <mrs@apple.com> |
4624 | ||
6d439235 | 4625 | * config.gcc (target_gtfiles): Initialize, as otherwise cross |
2199e5fa | 4626 | compilers hosted on powerpc-apple-darwin6.0 won't even build. |
6ab185d6 | 4627 | |
72b075d1 RE |
4628 | 2002-07-29 Richard Earnshaw <rearnsha@arm.com> |
4629 | ||
4630 | * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern, | |
4631 | remove clobber of LR. | |
4632 | (sibcall_insn, sibcall_value_insn): Update accordingly. | |
4633 | (sibcall_epilogue): Remove debugging comment from assembler stream. | |
4634 | ||
f63c45ec GDR |
4635 | 2002-07-29 Gabriel Dos Reis <gdr@nerim.net> |
4636 | ||
4637 | * pretty-print.h: Define more macros. | |
4638 | * diagnostic.h (output_formatted_integer): Moved from... | |
4639 | * diagnostic.c: ... here. | |
4640 | ||
c27c15db KG |
4641 | 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4642 | ||
4643 | * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF. | |
4644 | ||
99086d59 ZW |
4645 | 2002-07-28 Zack Weinberg <zack@codesourcery.com> |
4646 | ||
4647 | * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two | |
4648 | arguments. Always use ".-symbol" as expression argument. | |
4649 | * doc/tm.texi: Update to match. Document requirement for | |
4650 | ".size symbol, .-symbol" to be acceptable to assembler. | |
4651 | ||
4652 | * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, | |
4653 | config/arm/elf.h, config/avr/avr.h, config/cris/aout.h, | |
4654 | config/i386/freebsd-aout.h, config/i386/sco5.h, | |
4655 | config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h, | |
4656 | config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE. | |
4657 | ||
dd86aabf KG |
4658 | 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4659 | ||
6fd327e9 KG |
4660 | * Makefile.in (gengtype-lex.c): Fix error in last change. |
4661 | ||
8155cedd KG |
4662 | * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing |
4663 | backslash. | |
4664 | ||
dd86aabf KG |
4665 | * Makefile.in (vmsdbgout.o): Depend on function.h. |
4666 | ||
4667 | * vmsdbgout.c: Include function.h. | |
4668 | ||
d4348177 AM |
4669 | 2002-07-28 Alan Modra <amodra@bigpond.net.au> |
4670 | ||
4671 | * prefix.c (update_path): Don't strip single `.' path components | |
4672 | unless stripping a later `..' component. Exit loop as soon as | |
4673 | a valid path is found. | |
4674 | ||
c2ef6d34 RS |
4675 | 2002-07-27 Roger Sayle <roger@eyesopen.com> |
4676 | ||
4677 | * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS | |
4678 | argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN, | |
4679 | BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99 | |
4680 | floating point unordered comparisons (e.g. __builtin_isgreater) | |
4681 | as const, and leave the remaining GCC_BUILTINs unchanged. | |
4682 | ||
4683 | * c-decl.c (builtin_function): No need to explicitly mark | |
4684 | BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn. | |
4685 | ||
52bfebf0 RS |
4686 | 2002-07-27 Roger Sayle <roger@eyesopen.com> |
4687 | ||
4688 | * Makefile.in: rtlanal.o now depends upon real.h. | |
4689 | ||
4690 | * flags.h [flag_signaling_nans]: New flag. | |
4691 | [HONOR_SNANS]: New macro. | |
4692 | ||
4693 | * toplev.c [flag_signaling_nans]: Initialize to false. | |
99086d59 | 4694 | (f_options): Add processing for "-fsignaling-nans". |
52bfebf0 RS |
4695 | (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math. |
4696 | (process_options): flag_signaling_nans implies flag_trapping_math. | |
4697 | ||
4698 | * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__ | |
4699 | when -fsignaling-nans. First step to implementing WG14's N965. | |
4700 | ||
4701 | * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming | |
4702 | 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS. | |
4703 | [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS. | |
4704 | ||
4705 | * simplify-rtx.c (simplify_relational_operation): Conditionalize | |
4706 | transforming abs(x) < 0.0 into false on !HONOR_SNANS. | |
4707 | ||
4708 | * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions | |
4709 | required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD, | |
99086d59 ZW |
4710 | UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with |
4711 | -fsignaling_nans. EQ and NE only trap for flag_signaling_nans | |
52bfebf0 RS |
4712 | not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS). |
4713 | ||
4714 | * doc/invoke.texi: Document new -fsignaling-nans compiler option. | |
4715 | ||
e66f55b8 KG |
4716 | 2002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4717 | ||
4718 | * Makefile.in (gengtype-lex.c): Work around a bug in flex. | |
4719 | * gengtype-lex.l (YY_USE_PROTOS): Undef. | |
4720 | (YY_DECL): Define. | |
4721 | ||
a3926fe1 RS |
4722 | 2002-07-27 Roger Sayle <roger@eyesopen.com> |
4723 | ||
4724 | * doc/invoke.texi: Document that both -fno-builtin-foo and | |
4725 | -fno-builtin are supported by the g++ front-end. | |
4726 | ||
ef69da62 SS |
4727 | 2002-07-27 Stan Shebs <shebs@apple.com> |
4728 | ||
4729 | * configure.in: Rename config_gtfiles to target_gtfiles. | |
4730 | * configure: Regenerate. | |
4731 | * doc/gty.texi: Update reference. | |
4732 | * config.gcc (powerpc-*-darwin*): Set target_gtfiles | |
4733 | instead of appending to it. | |
4734 | ||
a4b0320c AH |
4735 | 2002-07-25 Aldy Hernandez <aldyh@redhat.com> |
4736 | ||
4737 | * config/rs6000/rs6000.c (function_arg_advance): SPE vararg | |
4738 | vectors are split into two registers. | |
4739 | (function_arg): Same. | |
4740 | ||
c427db5d R |
4741 | Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4742 | ||
4743 | * pa.md (extv): Check predicates before emitting extv_32. | |
4744 | ||
57ac7be9 AM |
4745 | 2002-07-27 Alan Modra <amodra@bigpond.net.au> |
4746 | ||
4747 | * config/rs6000/rs6000.c (rs6000_traceback_name): New var. | |
4748 | (rs6000_traceback): New var. | |
4749 | (rs6000_override_options): Set rs6000_traceback. | |
4750 | (rs6000_output_function_epilogue): Implement traceback options. | |
4751 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=". | |
4752 | (rs6000_traceback_name): Declare. | |
4753 | ||
4754 | * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile | |
4755 | label reference when NO_PROFILE_COUNTERS. | |
4756 | ||
8e51619a JM |
4757 | 2002-07-26 Jason Merrill <jason@redhat.com> |
4758 | ||
4759 | * function.c (assign_parms): Handle frontend-directed pass by | |
4760 | invisible reference. | |
4761 | ||
b41f25cf NB |
4762 | 2002-07-26 Neil Booth <neil@daikokuya.co.uk> |
4763 | ||
4764 | * doc/cppopts.texi: Update. | |
4765 | ||
c2734e05 NB |
4766 | 2002-07-26 Neil Booth <neil@daikokuya.co.uk> |
4767 | ||
4768 | * cppmacro.c (_cpp_create_definition): Don't attempt redefinition | |
4769 | warnings on assertions. | |
4770 | ||
c372b0fa NB |
4771 | 2002-07-26 Neil Booth <neil@daikokuya.co.uk> |
4772 | ||
4773 | * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ, | |
4774 | RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR, | |
4775 | RID_COMPL): Remove. | |
4776 | * c-parse.in (rid_to_yy): Similarly. | |
4777 | ||
558ee214 JM |
4778 | 2002-07-26 Jason Merrill <jason@redhat.com> |
4779 | ||
4780 | * c-dump.c: Resurrect. | |
4781 | * tree-dump.c: Move C-specific stuff to c-dump.c. | |
4782 | * c-common.h: Declare c_dump_tree. | |
4783 | * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define. | |
4784 | * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. | |
4785 | (c-dump.o): New rule. | |
4786 | ||
ce71f754 AM |
4787 | 2002-07-26 Alan Modra <amodra@bigpond.net.au> |
4788 | ||
4789 | * config/rs6000/rs6000.md: Enable patterns using rlwinm for | |
4790 | PowerPC64. Replace "T" and "S" constraints with "n" when the | |
4791 | predicate will do. Formatting fixes. | |
4792 | (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare" | |
4793 | as for extzvsi_internal1. | |
4794 | ||
e179e7d7 NB |
4795 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4796 | ||
4797 | * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT, | |
4798 | DERIV_END_LABEL_FMT): Remove. | |
4799 | (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move. | |
4800 | ||
a2056183 NB |
4801 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4802 | ||
4803 | * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE): | |
4804 | Remove. | |
4805 | ||
308c142a SS |
4806 | 2002-07-25 Stan Shebs <shebs@apple.com> |
4807 | ||
4808 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused | |
4809 | local var dwarfp. | |
4810 | (output_compiler_stub): Remove unused locals. | |
4811 | (output_call): Always initialize line number. | |
4812 | ||
59324685 R |
4813 | Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4814 | ||
4815 | * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia. | |
4816 | * sh.md (truncdiqi2, movqi_media): Likewise. | |
4817 | ||
77bbd421 NB |
4818 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4819 | ||
4820 | * gcse.c (obstack_chunk_alloc): Remove. | |
4821 | (gcse_alloc): Fix to count allocated bytes. | |
4822 | * collect2.c (SYMBOL__MAIN): Remove. | |
4823 | ||
7bad45b0 NB |
4824 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4825 | ||
4826 | * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if | |
4827 | HAVE_TARGET_EXECUTABLE_SUFFIX. | |
4828 | ||
184166b5 R |
4829 | Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4830 | ||
4831 | * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN, | |
4832 | SIZE, EXPR and OFFSET. | |
4833 | ||
40cb04f1 RH |
4834 | 2002-07-25 Richard Henderson <rth@redhat.com> |
4835 | ||
4836 | * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos | |
4837 | in ARRAY_REF of DECL_P case. | |
4838 | ||
a27fb29b RS |
4839 | 2002-07-25 Richard Sandiford <rsandifo@redhat.com> |
4840 | ||
4841 | * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI | |
4842 | description. Document -mips32, -mips64, and the associated -march | |
4843 | values. Describe the "mipsN" arguments to -march. Say that the | |
4844 | -mipsN options are equivalent to -march. Reword the description | |
4845 | of default type sizes. | |
4846 | * toplev.h (target_flags_explicit): Declare. | |
4847 | * toplev.c (target_flags_explicit): New var. | |
4848 | (set_target_switch): Update target_flags_explicit. | |
4849 | * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine. | |
4850 | * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine. | |
4851 | * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3. | |
4852 | * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine. | |
4853 | * config/mips/mips.h (mips_cpu_info): New struct. | |
4854 | (mips_cpu_string, mips_explicit_type_size_string): Remove. | |
4855 | (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare. | |
4856 | (MIPS_CPP_SET_PROCESSOR): New macro. | |
4857 | (TARGET_CPP_BUILTINS): Declare a macro for each supported processor. | |
4858 | Define _MIPS_ARCH and _MIPS_TUNE. | |
4859 | (MIPS_ISA_DEFAULT): Don't provide a default value. Instead... | |
4860 | (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor | |
4861 | MIPS_ISA_DEFAULT were already defined. | |
4862 | (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT. | |
4863 | (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size. | |
4864 | (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New. | |
4865 | (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules. | |
4866 | (ABI_GAS_ASM_SPEC): Remove. | |
4867 | (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros. | |
4868 | (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64. | |
4869 | Invoke %(asm_abi_default_spec) if no ABI was specified. | |
4870 | (CC1_SPEC): Remove ISA -> register-size rules. | |
4871 | (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec. | |
4872 | * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars. | |
4873 | (mips_cpu_string, mips_explicit_type_size_string): Remove. | |
4874 | (mips_cpu_info_table): New array. | |
4875 | (mips_set_architecture, mips_set_tune): New fns. | |
4876 | (override_options): Rework to make -mipsN equivalent to -march. | |
4877 | Detect more erroneous cases, including those removed from CC1_SPEC. | |
4878 | Don't change the ABI based on architecture, or vice versa. | |
4879 | Unify logic with GAS. | |
4880 | (mips_asm_file_start): Get architecture name from mips_arch_info. | |
4881 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. | |
4882 | (mips_parse_cpu): Take the name of the option as argument. Handle | |
4883 | 'from-abi'. Raise an error if the option is wrong. | |
4884 | (mips_cpu_info_from_isa): New fn. | |
4885 | ||
6bbdc759 RS |
4886 | 2002-07-25 Richard Sandiford <rsandifo@redhat.com> |
4887 | ||
4888 | * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF. | |
4889 | (tablejump_mips162): Likewise. | |
4890 | ||
80a62484 R |
4891 | Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4892 | ||
4893 | * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to | |
4894 | int_mode_for_mode. | |
4895 | ||
ea793912 GDR |
4896 | 2002-07-25 Gabriel Dos Reis <gdr@nerim.net> |
4897 | ||
4898 | * c-common.c (c_sizeof_or_alignof_type): Take a third argument for | |
99086d59 | 4899 | complaining. |
ea793912 GDR |
4900 | * c-common.h (c_sizeof): Adjust definition. |
4901 | (c_alignof): Likewise. | |
4902 | * c-tree.h (c_sizeof_nowarn): Now macro. | |
4903 | * c-typeck.c (c_sizeof_nowarn): Remove definition. | |
4904 | ||
2d615444 NB |
4905 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4906 | ||
4907 | * c-decl.c (c_decode_option): No need to handle switches | |
4908 | cpplib handles. | |
4909 | ||
2be2ac70 ZW |
4910 | 2002-07-24 Zack Weinberg <zack@codesourcery.com> |
4911 | ||
4912 | * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE, | |
4913 | ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros. | |
4914 | * doc/tm.texi: Document them. Also document SIZE_ASM_OP, | |
4915 | TYPE_ASM_OP, and TYPE_OPERAND_FMT. | |
4916 | ||
4917 | * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, | |
4918 | config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h, | |
4919 | config/cris/aout.h, config/i386/freebsd-aout.h, | |
4920 | config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h, | |
4921 | config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h, | |
4922 | config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h, | |
4923 | config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h, | |
4924 | config/pa/pa64-hpux.h, config/rs6000/sysv4.h, | |
4925 | config/xtensa/elf.h, config/xtensa/linux.h: | |
4926 | Use the new macros. | |
4927 | Where possible, remove redundant definitions of SIZE_ASM_OP, | |
4928 | TYPE_ASM_OP, and TYPE_OPERAND_FMT. | |
4929 | ||
518878e1 AH |
4930 | 2002-07-24 Aldy Hernandez <aldyh@redhat.com> |
4931 | ||
4932 | * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE, | |
4933 | TARGET_ISEL, and TARGET_FPRS. | |
99086d59 | 4934 | |
518878e1 AH |
4935 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document |
4936 | -mabi=spe, -mabi=no-spe, and -misel=. | |
4937 | ||
4938 | * config/rs6000/rs6000-protos.h: Add output_isel. | |
4939 | Move vrsave_operation prototype here. | |
4940 | ||
4941 | * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL. | |
4942 | (smaxsi3): Same. | |
4943 | (uminsi3): Same. | |
4944 | (umaxsi3): Same. | |
4945 | (abssi2_nopower): Disallow when TARGET_ISEL. | |
4946 | (*ne0): Same. | |
4947 | (negsf2): Change to expand and rename old pattern to *negsf2. | |
4948 | (abssf2): Change to expand and rename old pattern to *abssf2. | |
99086d59 | 4949 | |
518878e1 AH |
4950 | New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2, |
4951 | fixunssfsi2. | |
4952 | ||
4953 | Change patterns that check for TARGET_HARD_FLOAT or | |
4954 | TARGET_SOFT_FLOAT to also check TARGET_FPRS. | |
4955 | ||
4956 | * config/rs6000/rs6000.c: New globals: rs6000_spe_abi, | |
4957 | rs6000_isel, rs6000_fprs, rs6000_isel_string. | |
4958 | (rs6000_override_options): Add 8540 case to | |
4959 | processor_target_table. | |
4960 | Set rs6000_isel for the 8540. | |
4961 | Call rs6000_parse_isel_option. | |
4962 | (enable_mask_for_builtins): New. | |
4963 | (rs6000_parse_isel_option): New. | |
4964 | (rs6000_parse_abi_options): Add spe and no-spe. | |
4965 | (easy_fp_constant): Treat !TARGET_FPRS as soft-float. | |
4966 | (rs6000_legitimize_address): Check for TARGET_FPRS when checking | |
4967 | for TARGET_HARD_FLOAT. | |
4968 | Add case for SPE_VECTOR_MODE. | |
4969 | (rs6000_legitimize_reload_address): Handle SPE vector modes. | |
4970 | (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE | |
4971 | vector modes. | |
4972 | Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT. | |
4973 | (rs6000_emit_move): Check for TARGET_FPRS. | |
4974 | Add cases for SPE vector modes. | |
4975 | (function_arg_boundary): Return 64 for SPE vector modes. | |
4976 | (function_arg_advance): Check for TARGET_FPRS and | |
4977 | Handle SPE vectors. | |
4978 | (function_arg): Same. | |
4979 | (setup_incoming_varargs): Check for TARGET_FPRS. | |
4980 | (rs6000_va_arg): Same. | |
4981 | (struct builtin_description): Un-constify mask field. Move up in | |
4982 | file. | |
4983 | (bdesc_2arg): Un-constify and add SPE builtins. | |
4984 | (bdesc_1arg): Same. | |
4985 | (bdesc_spe_predicates): New. | |
4986 | (bdesc_spe_evsel): New. | |
4987 | (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins. | |
4988 | (rs6000_expand_binop_builtin): Same. | |
4989 | (bdesc_2arg_spe): New. | |
4990 | (spe_expand_builtin): New. | |
4991 | (spe_expand_predicate_builtin): New. | |
4992 | (spe_expand_evsel_builtin): New. | |
4993 | (rs6000_expand_builtin): Call spe_expand_builtin for SPE. | |
4994 | (rs6000_init_builtins): Initialize SPE builtins. Call | |
4995 | rs6000_common_init_builtins. | |
4996 | (altivec_init_builtins): Move all non-altivec builtin code to... | |
4997 | (rs6000_common_init_builtins): ...here. New function. | |
4998 | (branch_positive_comparison_operator): Allow NE code for SPE. | |
4999 | (ccr_bit): Return correct ccr bit for SPE fp. | |
5000 | (print_operand): Emit crnor in 'D' case for SPE. | |
5001 | New case 't'. | |
5002 | Add SPE code for 'y' case. | |
5003 | (rs6000_generate_compare): Generate rtl for SPE fp. | |
5004 | (output_cbranch): Handle SPE hard floats. | |
5005 | (rs6000_emit_cmove): Handle isel. | |
5006 | (rs6000_emit_int_cmove): New. | |
5007 | (output_isel): New. | |
5008 | (rs6000_stack_info): Adjust stack frame so GPRs are saved in | |
5009 | 64-bits for SPE. | |
5010 | (debug_stack_info): Add SPE info. | |
5011 | (gen_frame_mem_offset): New. | |
5012 | (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi. | |
5013 | Change mode of frame pointer, when saving it, to Pmode. | |
5014 | (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi. | |
5015 | Misc cleanups and use gen_frame_mem_offset when appropriate. | |
5016 | ||
5017 | * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540. | |
5018 | (TARGET_SPE_ABI): New. | |
5019 | (TARGET_SPE): New. | |
5020 | (TARGET_ISEL): New. | |
5021 | (TARGET_FPRS): New. | |
5022 | (FIXED_SCRATCH): New. | |
5023 | (RTX_COSTS): Add PROCESSOR_PPC8540. | |
5024 | (ASM_CPU_SPEC): Add case for 8540. | |
5025 | (TARGET_OPTIONS): Add isel= case. | |
5026 | (rs6000_spe_abi): New. | |
5027 | (rs6000_isel): New. | |
5028 | (rs6000_fprs): New. | |
5029 | (rs6000_isel_string): New. | |
5030 | (UNITS_PER_SPE_WORD): New. | |
5031 | (LOCAL_ALIGNMENT): Adjust for SPE. | |
5032 | (HARD_REGNO_MODE_OK): Same. | |
5033 | (DATA_ALIGNMENT): Same. | |
5034 | (MEMBER_TYPE_FORCES_BLK): New. | |
5035 | (FIRST_PSEUDO_REGISTER): Set to 113. | |
5036 | (FIXED_REGISTERS): Add SPE registers. | |
5037 | (reg_class): Same. | |
5038 | (REG_CLASS_NAMES): Same. | |
5039 | (REG_CLASS_CONTENTS): Same. | |
5040 | (REGNO_REG_CLASS): Same. | |
5041 | (REGISTER_NAMES): Same. | |
5042 | (DEBUG_REGISTER_NAMES): Same. | |
5043 | (ADDITIONAL_REGISTER_NAMES): Same. | |
5044 | (CALL_USED_REGISTERS): Same. | |
5045 | (CALL_REALLY_USED_REGISTERS): Same. | |
5046 | (SPE_ACC_REGNO): New. | |
5047 | (SPEFSCR_REGNO): New. | |
5048 | (SPE_SIMD_REGNO_P): New. | |
5049 | (HARD_REGNO_NREGS): Adjust for SPE. | |
5050 | (VECTOR_MODE_SUPPORTED_P): Same. | |
5051 | (REGNO_REG_CLASS): Same. | |
5052 | (FUNCTION_VALUE): Same. | |
5053 | (LIBCALL_VALUE): Same. | |
5054 | (LEGITIMATE_OFFSET_ADDRESS_P): Same. | |
5055 | (SPE_VECTOR_MODE): New. | |
5056 | (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on | |
5057 | the GPRs. Set FIXED_SCRATCH fixed in SPE case. | |
5058 | (rs6000_stack): Add spe_gp_size, spe_padding_size, | |
5059 | spe_gp_save_offset. | |
5060 | (USE_FP_FOR_ARG_P): Check for TARGET_FPRS. | |
5061 | (LEGITIMATE_LO_SUM_ADDRESS_P): Same. | |
5062 | (SPE_CONST_OFFSET_OK): New. | |
5063 | (rs6000_builtins): Add SPE builtins. | |
5064 | ||
5065 | * testsuite/gcc.dg/ppc-spe.c: New. | |
99086d59 | 5066 | |
518878e1 AH |
5067 | * config/rs6000/eabispe.h: New. |
5068 | ||
5069 | * config/rs6000/spe.h: New. | |
5070 | ||
5071 | * config/rs600/spe.md: New. | |
5072 | ||
5073 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
5074 | __SIMD__ for TARGET_SPE. | |
5075 | ||
5076 | * config.gcc: Add powerpc-*-eabispe* case. | |
5077 | Add spe.h to user headers for powerpc. | |
5078 | ||
8d1b7ba1 CD |
5079 | 2002-07-24 Chris Demetriou <cgd@broadcom.com> |
5080 | ||
5081 | * config/mips/elf.h (STARTFILE_SPEC): Undo previous change. | |
5082 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
5083 | * config/mips/isa3264.h (STARTFILE_SPEC): Likewise. | |
5084 | ||
8ad8135a RH |
5085 | 2002-07-24 Richard Henderson <rth@redhat.com> |
5086 | ||
5087 | * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR | |
5088 | form when not optimizing. | |
5089 | ||
dc44a4d8 DM |
5090 | 2002-07-24 David Mosberger <davidm@hpl.hp.com> |
5091 | ||
5092 | * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking | |
5093 | thread_pointer_rtx as unchanging. | |
5094 | ||
c5605318 MM |
5095 | 2002-07-24 Michael Matz <matz@suse.de> |
5096 | ||
5097 | * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro. | |
5098 | (free_reg): Use it. | |
5099 | ||
3ade30ea RE |
5100 | 2002-07-24 Richard Earnshaw <rearnsha@arm.com> |
5101 | ||
5102 | * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output | |
5103 | pattern. | |
5104 | (arm_buneq_reversed, arm_bltgt_reversed): Likewise. | |
5105 | (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT. | |
5106 | ||
8a3ad737 CD |
5107 | 2002-07-24 Chris Demetriou <cgd@broadcom.com> |
5108 | ||
5109 | * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o. | |
5110 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
5111 | * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine. | |
5112 | ||
7e51e626 JH |
5113 | Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
5114 | ||
5115 | * toplev.c (rest_of_compilation): Dump loops before clobbering | |
5116 | the structure. | |
5117 | ||
5df533b3 JH |
5118 | Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz> |
5119 | ||
5120 | * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs. | |
5121 | ||
79258dce RS |
5122 | 2002-07-24 Frank van der Linden <fvdl@wasabisystems.com> |
5123 | ||
5124 | PR optimization/7291 | |
5125 | * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment | |
5126 | problem on x86_64. | |
5127 | ||
26ff2117 GDR |
5128 | 2002-07-24 Gabriel Dos Reis <gdr@nerim.net> |
5129 | ||
5130 | * pretty-print.h: Add macros from cp/error.c | |
5131 | ||
0ba1b2ff AM |
5132 | 2002-07-24 Alan Modra <amodra@bigpond.net.au> |
5133 | ||
5134 | * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare. | |
5135 | (mask64_2_operand): Declare. | |
5136 | (build_mask64_2_operands): Declare. | |
5137 | (and64_2_operand): Declare. | |
5138 | (extract_MB): Declare. | |
5139 | (extract_ME): Declare. | |
5140 | * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove | |
5141 | CONST_DOUBLE code. | |
5142 | (mask_operand_wrap): New insn predicate. | |
5143 | (mask64_2_operand): Likewise. | |
5144 | (and64_2_operand): Likewise. | |
5145 | (build_mask64_2_operands): New function. | |
5146 | (extract_MB): New function. | |
5147 | (extract_ME): New function. | |
5148 | (print_operand <case m,M>): Use extract_MB and extract_ME. | |
5149 | (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support. | |
5150 | * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'. | |
5151 | (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and | |
5152 | mask64_2_operand. Remove CONST_DOUBLE from mask64_operand. | |
5153 | * config/rs6000/rs6000.md (andsi3_internal3): New | |
5154 | (andsi3_internal3+1): Enable split for powerpc64. | |
5155 | (andsi3_internal3+2): New split. | |
5156 | (andsi3_internal4): Renamed old andsi3_internal3. | |
5157 | (andsi3_internal5): New. | |
5158 | (andsi3_internal5+1): Enable split for powerpc64. | |
5159 | (andsi3_internal5+2): New split. | |
5160 | (andsi3_internal6, andsi3_internal7, andsi3_internal8): New. | |
5161 | (anddi3): Handle 't' constraint. | |
5162 | (anddi3+1): New split. | |
5163 | (anddi3_internal2): Handle 't' constraint. | |
5164 | (anddi3_internal2+1): New split. | |
5165 | (anddi3_internal3): Handle 't' constraint. | |
5166 | (anddi3_internal3+1): New split. | |
5167 | ||
097657c3 AM |
5168 | 2002-07-24 Alan Modra <amodra@bigpond.net.au> |
5169 | ||
5170 | * config/rs6000/rs6000.md: Remove scratch reg on insns using | |
5171 | addze and similar (plus (comparison r1 r2) r3) insns. Add | |
5172 | missing scratch reg in one case. Formatting fixes. | |
5173 | ||
a69cbaac NB |
5174 | 2002-07-24 Neil Booth <neil@daikokuya.co.uk> |
5175 | ||
5176 | * cppexp.c (parse_defined): Mark macro used. | |
5177 | * cpphash.h (struct cpp_macro): New member "used". | |
5178 | (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New. | |
5179 | (struct cpp_reader): New member. | |
5180 | * cppinit.c (cpp_finish_options): Set first_unused_line. | |
5181 | (cpp_finish): Warn of unused macros if requested. | |
5182 | (OPT_TABLE): New switches. | |
5183 | (cpp_handle_option): Handle them. | |
5184 | * cpplib.c (do_undef): Warn if macro unused. | |
5185 | (do_ifdef, do_ifndef): Mark macro used. | |
5186 | * cpplib.h (struct cpp_options): New member. | |
5187 | * cppmacro.c (_cpp_warn_if_unused_macro): New. | |
5188 | (enter_macro_context): Mark macro used. | |
5189 | (_cpp_create_definition): Mark macro unused; warn if unused | |
5190 | when redefined. | |
5191 | * cpptrad.c (scan_out_logcial_line, push_replacement_text): | |
5192 | Mark macros used. | |
5193 | * doc/cppopts.texi: Update. | |
5194 | ||
c0667597 NB |
5195 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5196 | ||
5197 | * dwarf2out.c (SECTION_ASM_OP, | |
5198 | ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. | |
5199 | * system.h (SECTION_ASM_OP): Poison. | |
5200 | * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove. | |
5201 | * config/alpha/alpha-interix.h, config/mips/linux.h | |
5202 | (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. | |
5203 | * config/mmix/mmix-protos.h, config/mmix/mmix.c | |
5204 | (mmix_asm_output_define_label_difference_symbol): Remove. | |
5205 | * config/mmix/mmix.h | |
5206 | (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. | |
b841421a | 5207 | * doc/tm.texi: Remove documentation. |
c0667597 | 5208 | |
bf7cd754 R |
5209 | Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5210 | ||
5211 | * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'. | |
5212 | (constrain_operands): Likewise. | |
5213 | * regclass.c (record_reg_classes): Likewise. | |
5214 | * reload.c (find_reloads): Likewise. | |
5215 | * doc/md.texi: Likewise. | |
451f86fd R |
5216 | |
5217 | * reload.c (find_reloads_toplev): Use simplify_gen_subreg. | |
5218 | * simplify-rtx.c (simplify_subreg): When converting to a non-int | |
5219 | mode, try to convert to an integer mode of matching size first. | |
1d5fa6b4 R |
5220 | |
5221 | * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR | |
5222 | from individual subregs, check that each subreg has been generated | |
5223 | sucessfully. | |
5224 | ||
10d6af32 NB |
5225 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5226 | ||
5227 | * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove. | |
5228 | * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV, | |
5229 | FOR_EACH_BB_IN_SBITMAP): Remove. | |
5230 | * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove. | |
5231 | * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY, | |
5232 | LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove. | |
5233 | * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN, | |
5234 | PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove. | |
5235 | * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove. | |
5236 | ||
6aaae39a GDR |
5237 | 2002-07-23 Gabriel Dos Reis <gdr@nerim.net> |
5238 | ||
5239 | * pretty-print.h: New file. | |
5240 | ||
45e574d0 JDA |
5241 | 2002-07-23 Paul Koning <pkoning@equallogic.com> |
5242 | ||
5243 | * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC. | |
5244 | (LARGEST_EXPONENT_IS_NORMAL): Ditto. | |
5245 | (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise). | |
5246 | (TARGET_G_FLOAT): Default to 0 if not defined. | |
99086d59 | 5247 | (ieeetoe): New, common routine to convert target format floats |
45e574d0 JDA |
5248 | to internal form. |
5249 | (e24toe, e53toe): Change to use ieeetoe, distinguish DEC | |
5250 | vs. others. | |
5251 | (e113toe): Change to use ieeetoe. | |
5252 | ||
5253 | 2002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de> | |
5254 | ||
5255 | * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for | |
5256 | IBM. | |
5257 | (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined. | |
5258 | (e64toe): Remove special cases for DEC and IBM. Remove support for | |
5259 | ARM_EXTENDED_IEEE_FORMAT. | |
5260 | (e24toe): Remove special cases for DEC. | |
5261 | (significand_size): Simplify. Indent. | |
5262 | (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New. | |
5263 | (etoieee, toieee): New. | |
5264 | (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use | |
5265 | etoieee and toieee for IEEE arithmetic. | |
5266 | ||
3764f879 GDR |
5267 | 2002-07-23 Gabriel Dos Reis <gdr@nerim.net> |
5268 | ||
5269 | * doc/extend.texi: Say ISO C90, not ISO C89. | |
5270 | * doc/invoke.texi: Likewise. | |
5271 | * doc/standards.texi: Likewise. | |
5272 | ||
aa0f70e6 SE |
5273 | 2002-07-23 Steve Ellcey <sje@cup.hp.com> |
5274 | ||
5275 | * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs. | |
5276 | Fix permutation of conversion and plus/mult. | |
5277 | * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is | |
5278 | ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined. | |
5279 | (expand_builtin_strncpy) Ditto. | |
5280 | (expand_builtin_memset) Ditto. | |
5281 | ||
fa72b064 GDR |
5282 | 2002-07-23 Gabriel Dos Reis <gdr@nerim.net> |
5283 | ||
5284 | Fix PR/7363: | |
5285 | * c-common.c (c_sizeof_or_alignof_type): New function. | |
5286 | (c_alignof): Remove definition. | |
5287 | * c-common.h (c_sizeof, c_alignof): Define as macros. | |
5288 | (c_sizeof_or_alignof_type): Declare. | |
5289 | (my_friendly_assert): Moved from cp/cp-tree.h | |
5290 | * c-typeck.c (c_sizeof): Remove definition. | |
5291 | ||
2b773ee2 JH |
5292 | 2002-07-23 Jan Hubicka <jh@suse.cz> |
5293 | ||
5294 | * gcse.c (try_replace_reg): Use num_changes_pending. | |
5295 | * recog.c (num_changes_pending): New function. | |
5296 | (validate_replace_src): Use validate_repalce_src_group. | |
5297 | (validate_replace_src_group): New. | |
5298 | * recog.h (validate_repalce_src_group): New. | |
5299 | (num_changes_pending): Likewise. | |
5300 | ||
a0dc500c R |
5301 | Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5302 | ||
5303 | * calls.c (emit_library_call_value_1): If | |
5304 | FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither | |
5305 | libcall, const call nor pure call. | |
5306 | ||
d22eda7b NB |
5307 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5308 | ||
5309 | * config/m88k/m88k.h (SECTION_ASM_OP): Remove. | |
5310 | ||
b5e66e65 NB |
5311 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5312 | ||
5313 | * vmsdbgout.c (SECTION_ASM_OP): Remove. | |
5314 | ||
c3a600c0 NB |
5315 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5316 | ||
5317 | * config/i386/i386.c (AT_BP): Remove. | |
5318 | ||
4fa31c2a NB |
5319 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5320 | ||
5321 | * defaults.h (obstack_chunk_alloc, obstack_chunk_free): | |
5322 | Default definition. | |
5323 | * gcse.c: Don't define obstack_chunk_free. | |
5324 | * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c, | |
5325 | flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c, | |
5326 | integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c, | |
5327 | reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c: | |
5328 | Don't define obstack macros. | |
5329 | ||
fd576c86 SC |
5330 | 2002-07-22 Stephane Carrez <stcarrez@nerim.fr> |
5331 | ||
5332 | PR target/6744 | |
5333 | * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace | |
5334 | ASM_OPERANDS instructions. | |
5335 | ||
b791ff31 SC |
5336 | 2002-07-22 Stephane Carrez <stcarrez@nerim.fr> |
5337 | ||
5338 | PR target/7361 | |
5339 | * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept | |
5340 | constant addresses only on 68HC12. | |
5341 | ||
4a941115 NB |
5342 | 2002-07-22 Neil Booth <neil@daikokuya.co.uk> |
5343 | ||
5344 | * cppfiles.c (stack_include_file): Correct test of whether | |
5345 | a dependency should be output. | |
5346 | ||
7488cc6d DE |
5347 | 2002-07-22 David Edelsohn <edelsohn@gnu.org> |
5348 | ||
5349 | * collect2.c (is_ctor_dtor): Add other possible JOINER values. | |
5350 | ||
b41caf7c RE |
5351 | 2002-07-22 Richard Earnshaw <rearnsha@arm.com> |
5352 | ||
5353 | * arm.md (movqi): If optimizing and we can create pseudos, use | |
5354 | a ZERO_EXTEND to load from memory, then copy the result into the | |
5355 | target. | |
5356 | (movhi): Likewise, but only for ARMv4. | |
5357 | ||
492e9934 NB |
5358 | 2002-07-22 Neil Booth <neil@daikokuya.co.uk> |
5359 | ||
5360 | * ssa-ccp.c (PHI_PARMS): Remove. | |
5361 | ||
f01f01a6 RS |
5362 | 2002-07-22 Richard Sandiford <rsandifo@redhat.com> |
5363 | ||
5364 | * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS | |
5365 | on big-endian targets. | |
5366 | ||
c2ae8aef KG |
5367 | 2002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5368 | ||
5369 | * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, | |
5370 | HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, | |
5371 | HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE): | |
5372 | New formatting macros. | |
5373 | ||
5374 | * ra-debug.c (dump_static_insn_cost): Avoid string concatenation. | |
5375 | ||
eab2120d R |
5376 | Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5377 | ||
5378 | * rtlanal.c (subreg_regno_offset): Return correct offset for | |
5379 | big endian paradoxical subregs. | |
0d541696 R |
5380 | |
5381 | * optabs.c (expand_vector_unop): Don't expand using sub_optab | |
5382 | if we got the wrong mode. | |
bb9b3805 R |
5383 | |
5384 | * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define. | |
5385 | * genrecog.c (write_switch, write_cond): Use it. | |
5386 | * genemit.c (gen_exp): Likewise. | |
5387 | ||
e96eb215 JJ |
5388 | 2002-07-22 Jakub Jelinek <jakub@redhat.com> |
5389 | ||
5390 | * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE. | |
5391 | ||
cf3c4f56 JJ |
5392 | 2002-07-22 Jakub Jelinek <jakub@redhat.com> |
5393 | ||
5394 | * c-decl.c (build_compound_literal): Defer compound literal decls | |
5395 | until until file end to emit them only if they are actually used. | |
5396 | ||
533c4863 KG |
5397 | 2002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5398 | ||
5399 | * ra-build.c (check_conflict_numbers): Hide unused function. | |
5400 | (livethrough_conflicts_bb): Avoid automatic aggregate | |
5401 | initialization. | |
5402 | (parts_to_webs_1): Avoid `U' integer constant modifier. | |
5403 | (conflicts_between_webs): Wrap a variable in the macro controlling | |
5404 | its usage. | |
5405 | * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE. | |
5406 | (dump_igraph, dump_graph_cost): Avoid string concatenation | |
5407 | (dump_static_insn_cost): Avoid automatic aggregate | |
5408 | initialization. | |
5409 | * ra-rewrite.c (insert_stores): Avoid automatic aggregate | |
5410 | initialization. | |
5411 | (dump_cost): Avoid string concatenation | |
5412 | ||
8943a0b4 RH |
5413 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5414 | ||
5415 | * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use | |
5416 | GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded. | |
5417 | ||
b1aef35b RH |
5418 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5419 | ||
5420 | * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs | |
5421 | that are not unrolled completely. | |
5422 | ||
5e1afb11 RH |
5423 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5424 | ||
5425 | * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS. | |
5426 | * loop.c (strength_reduce): Update. | |
5427 | * toplev.c (rest_of_compilation): Do unrolling in the first | |
5428 | loop pass, not the second. | |
5429 | ||
c67a1cf6 RH |
5430 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5431 | ||
5432 | * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL | |
5433 | when flag_argument_noalias == 2. | |
5434 | * alias.c (nonoverlapping_memrefs_p): Handle that. | |
5435 | * print-rtl.c (print_mem_expr): Likewise. | |
5436 | ||
b68daef4 HS |
5437 | 2002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de> |
5438 | ||
5439 | * libgcc2.c (__divdi3, __moddi3): Use unary minus operator | |
5440 | instead of __negdi2 directly. | |
5441 | ||
060a58c5 NB |
5442 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5443 | ||
5444 | * gengenrtl.c (gencode): Don't define obstack_alloc_rtx. | |
5445 | * function.c (SYMBOL__MAIN): Remove definition. | |
5446 | * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove. | |
99086d59 | 5447 | * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove. |
060a58c5 NB |
5448 | * profile.c (GCOV_INDEX_TO_BB): Remove. |
5449 | * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove. | |
5450 | * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove. | |
5451 | ||
2f8dd115 NB |
5452 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5453 | ||
5454 | * c-lex.c (GET_ENVIRONMENT): Remove. | |
5455 | * collect2.c (GET_ENV_PATH_LIST): Remove. | |
5456 | (prefix_from_env): Use GET_ENVIRONMENT. | |
5457 | * cppinit.c (GET_ENV_PATH_LIST): Remove. | |
5458 | (init_standard_includes): Use GET_ENVIRONMENT. | |
5459 | * defaults.h (GET_ENVIRONMENT): Define here if not already. | |
5460 | * gcc.c (GET_ENV_PATH_LIST): Remove. | |
5461 | (make_relative_prefix, process_command): Update. | |
5462 | * protoize.c (GET_ENV_PATH_LIST): Remove. | |
5463 | (do_processing): Update. | |
5464 | ||
56508306 GDR |
5465 | 2002-07-21 Gabriel Dos Reis <gdr@nerim.net> |
5466 | ||
5467 | * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'. | |
5468 | (grokdeclarator): Likewise. | |
5469 | * c-format.c (C_STD_NAME): Likewise. | |
5470 | * c-lex.c (interpret_integer): Likewise. | |
5471 | * c-typeck.c (build_array_ref): Likewise. | |
5472 | * cpplex.c (_cpp_lex_direct): Likewise. | |
5473 | * toplev.c (documented_lang_options): Likewise. | |
5474 | ||
e2f62855 NB |
5475 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5476 | ||
5477 | * c-format.c (T99_I, T99_UI): Remove. | |
5478 | ||
c89d1dfd NB |
5479 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5480 | ||
5481 | * c-typeck.c (SAVE_SPELLING_DEPTH): Remove. | |
5482 | ||
46690369 JH |
5483 | Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
5484 | ||
5485 | * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by | |
5486 | do_local_cprop. | |
5487 | ||
60ffc1b8 AJ |
5488 | 2002-07-21 Andreas Jaeger <aj@suse.de> |
5489 | ||
99086d59 | 5490 | * reload1.c (fixup_abnormal_edges): Remove unused variable. |
60ffc1b8 | 5491 | |
c05ffc49 BS |
5492 | 2002-07-21 Bernd Schmidt <bernds@redhat.com> |
5493 | ||
5494 | Improvements for the ifcvt pass from Michael Meissner, with patches | |
5495 | by Richard Sandiford <rsandifo@redhat.com> | |
5496 | * basic-block.h (struct ce_if_block, ce_if_block_t): New types. | |
5497 | * ifcvt.c (cond_exec_changed_p): New static variable. | |
5498 | (last_active_insn): New function, renamed from last_active_insn_p | |
5499 | and changed to return the last active insn in a basic block. All | |
5500 | callers updated. | |
5501 | (block_fallthru): New function. | |
5502 | (cond_exec_process_insns): New argument CE_INFO. Pass it to | |
5503 | IFCVT_MODIFY_INSN. All callers updated. | |
5504 | Return false if START or END are NULL. | |
5505 | Handle case where we're processing an insn that is already | |
5506 | conditional. | |
5507 | ||
5508 | (noce_process_if_block): CE_INFO argument rather than | |
5509 | multiple args containing the involved basic blocks. All callers | |
5510 | changed. | |
5511 | (process_if_block, merge_if_block, find_if_block, | |
5512 | cond_exec_process_if_block): Likewise. | |
5513 | ||
5514 | (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers | |
5515 | changed. | |
5516 | Use new function last_active_insn to simplify some code. | |
5517 | New code to handle multiple tests. | |
5518 | Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set | |
5519 | cond_exec_changed_p to TRUE. | |
5520 | ||
5521 | (process_if_block): New code to handle multiple tests. | |
5522 | (merge_if_block): Likewise. | |
5523 | (find_if_header): New arg PASS. Changed to return the currently | |
5524 | processed basic block or NULL instead of true/false. All callers | |
5525 | changed. | |
5526 | Call IFCVT_INIT_EXTRA_FIELDS. | |
5527 | (block_jumps_and_fallthru_p): New function. | |
5528 | (find_if_block): Discover opportunities to convert multiple tests. | |
5529 | Add additional debugging output. | |
5530 | Update the ce_info structure before returning. | |
5531 | ||
5532 | (if_convert): Run multiple passes of if-conversion. | |
5533 | * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN, | |
5534 | IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS, | |
5535 | IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for | |
5536 | these macros. | |
5537 | ||
ae860ff7 JH |
5538 | Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
5539 | ||
5540 | * gcse.c: Include cselib.h | |
5541 | (constptop_register): Break out from ... | |
5542 | (cprop_insn): ... here; kill basic_block argument. | |
5543 | (do_local_cprop, local_cprop_pass): New functions. | |
5544 | (one_cprop_pass): Call local_cprop_pass. | |
5545 | ||
0da65b89 RS |
5546 | 2002-07-20 Roger Sayle <roger@eyesopen.com> |
5547 | ||
5548 | * simplify-rtx.c (simplify_relational_operation): Optimize | |
5549 | abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math). | |
5550 | ||
47cc673a MM |
5551 | 2002-07-20 Michae Matz <matz@suse.de> |
5552 | ||
5553 | * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS. | |
5554 | ||
68e65275 NB |
5555 | 2002-07-20 Neil Booth <neil@daikokuya.co.uk> |
5556 | ||
5557 | * cppexp.c (struct op): Add token pointer. | |
5558 | (check_promotion, CHECK_PROMOTION): New. | |
5559 | (optab): Update. | |
5560 | (_cpp_parse_expr): Update, use token pointer of struct op. | |
5561 | (reduce): Warn about change of sign owing to promotion. | |
5562 | * cppinit.c (cpp_handle_option): New warning if -Wall. | |
5563 | * cpplib.h (struct cpp_options): New member. | |
5564 | ||
e3485bbc DE |
5565 | 2002-07-19 David Edelsohn <edelsohn@gnu.org> |
5566 | ||
5567 | * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single | |
5568 | fpu list. Separate Power4 compare and delayed_compare. Correct | |
5569 | Power4 fpcompare. | |
5570 | (fix_truncdfsi2_internal): Restore FPR preference. | |
5571 | * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3, | |
5572 | mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc. | |
5573 | ||
449655a6 MV |
5574 | 2002-07-19 Momchil Velikov <velco@fadata.bg> |
5575 | ||
5576 | * reload1.c (reload_as_needed): Duplicate oldpat. | |
5577 | ||
8b583747 AM |
5578 | 2002-07-20 Alan Modra <amodra@bigpond.net.au> |
5579 | ||
5580 | PR optimization/7130 | |
5581 | * loop.h (struct loop_info): Add "preconditioned". | |
5582 | * unroll.c (unroll_loop): Set it. | |
5583 | * doloop.c (doloop_modify_runtime): Correct count for unrolled loops. | |
5584 | ||
0dc36574 ZW |
5585 | 2002-07-19 Zack Weinberg <zack@codesourcery.com> |
5586 | ||
5587 | * rtl.def (CODE_LABEL): Remove slot 8. | |
5588 | * rtl.h (struct rtx_def): Document new uses of jump and call fields. | |
5589 | (LABEL_ALTERNATE_NAME): Delete. | |
5590 | (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New. | |
5591 | * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME. | |
5592 | ||
5593 | * final.c (output_alternate_entry_point): New. | |
5594 | (final_scan_insn): Use it instead of | |
5595 | ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility | |
5596 | of a case label being an alternate entry point. | |
5597 | ||
5598 | * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P. | |
5599 | * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL. | |
5600 | Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME | |
5601 | (field deleted). | |
5602 | * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs. | |
5603 | ||
5604 | * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and | |
5605 | LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME. | |
5606 | * doc/tm.texi: Delete documentation of | |
5607 | ASM_OUTPUT_ALTERNATE_LABEL_NAME. | |
5608 | ||
59267987 RO |
5609 | 2002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5610 | ||
5611 | * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define. | |
5612 | (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG. | |
5613 | (LINK_SPEC): Define. | |
5614 | (STARTFILE_SPEC): Define. | |
5615 | (ENDFILE_SPEC): Define. | |
5616 | ||
5617 | * config/mips/iris6-o32.h (LINK_SPEC): Move ... | |
5618 | * config/mips/iris6-o32-as.h (LINK_SPEC): ... here. | |
5619 | ||
5620 | * config/mips/iris6-o32-gas.h: New file. | |
5621 | * config.gcc (mips-sgi-irix6*o32): Use it. | |
5622 | ||
5623 | * config/mips/t-iris5-gas: New file. | |
5624 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. | |
5625 | ||
75aef48a NB |
5626 | 2002-07-19 Neil Booth <neil@daikokuya.co.uk> |
5627 | ||
5628 | * cppexp.c (ALWAYS_EVAL): Remove. | |
5629 | (optab, reduce): Always evaluate. | |
5630 | (num_unary_op, num_binary_op, num_div_op): Issue diagnostics | |
5631 | only if not skipping evaluation. | |
5632 | ||
72a5503d MM |
5633 | 2002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl> |
5634 | ||
5635 | * config/avr/avr.c (debug_hard_reg_set): Remove. | |
5636 | ||
059ba716 CD |
5637 | 2002-07-19 Chris Demetriou <cgd@broadcom.com> |
5638 | ||
5639 | * gcc.c (cpp_options): Include "%1" (cc1_spec). | |
5640 | ||
544823b6 RH |
5641 | 2002-07-19 Richard Henderson <rth@redhat.com> |
5642 | ||
5643 | * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn. | |
5644 | ||
c35383cb AM |
5645 | 2002-07-19 Alan Modra <amodra@bigpond.net.au> |
5646 | ||
5647 | * prefix.c (update_path): Don't zap single `.' path components | |
5648 | unless followed by another `.' and fix typo last patch. | |
5649 | ||
ad28cff7 NB |
5650 | 2002-07-18 Neil Booth <neil@daikokuya.co.uk> |
5651 | ||
5652 | * cppexp.c (cpp_num_mul): Remove unused parameter. | |
5653 | (UNARY, BINARY, OTHER, binary_handler): Remove. | |
5654 | (ALWAYS_EVAL): New. | |
5655 | (optab): Update. | |
5656 | (reduce): Refactor to a large switch, don't use a function | |
5657 | pointer. | |
5658 | ||
139b7f86 BT |
5659 | 2002-07-18 Bo Thorsen <bo@berlioz.suse.de> |
5660 | ||
5661 | * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always. | |
5662 | ||
e69d1422 R |
5663 | Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5664 | ||
5665 | * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard. | |
5666 | (sh_expand_binop_v2sf): Likewise. | |
5667 | * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA. | |
5668 | (int_gpr_dest, trunc_hi_operand): New functions. | |
5669 | * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and | |
5670 | trunc_hi_operand. | |
5671 | (SPECIAL_MODE_PREDICATES, any_register_operand): Define. | |
5672 | * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about. | |
5673 | (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise. | |
5674 | (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise. | |
5675 | (and_shl_scratch+[12], zero_extendhidi2+1): Likewise. | |
5676 | (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise. | |
5677 | (extendhisi2_media+1, extendqisi2_media+1): Likewise. | |
5678 | (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise. | |
5679 | (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise. | |
5680 | (movsf_ie+1): Likewise. | |
5681 | (loaddi_trunc): Use int_gpr_dest predicate. | |
5682 | (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s). | |
5683 | (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise. | |
5684 | (casesi_worker_0+[12], casesi_worker): Likewise. | |
5685 | (shcompact_preserve_incoming_args): Likewise. | |
5686 | (mov_nop): Use any_register_operand predicate. | |
5687 | (mperm_w0): Use trunc_hi_operand predicate. | |
5688 | ||
47a4976f JDA |
5689 | 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5690 | ||
5691 | * pa-linux.h (DWARF2_UNWIND_INFO): Delete define. | |
5692 | * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct | |
5693 | numbering. | |
5694 | ||
f3a4e54e JDA |
5695 | 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5696 | ||
5697 | * pa.c (output_deferred_plabels): Remove unused millicode enum mulU. | |
5698 | ||
30484ccf RH |
5699 | 2002-07-18 Richard Henderson <rth@redhat.com> |
5700 | ||
5701 | PR optimization/7147 | |
5702 | * ifcvt.c (noce_get_condition): Make certain that the condition | |
5703 | is valid at JUMP. | |
5704 | ||
d042370e R |
5705 | Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5706 | ||
5707 | * sh.c (barrier_align, push): Shut up compiler warnings. | |
5708 | (initial_elimination_offset,sh_media_init_builtins): Likewise. | |
5709 | (reg_no_subreg_operand): Delete. | |
5710 | ||
61fee9b3 BT |
5711 | 2002-07-17 Bo Thorsen <bo@suse.de> |
5712 | ||
5713 | * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option. | |
5714 | (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations. | |
5715 | (STARTFILE_SPEC): Remove hardcoded library paths. | |
5716 | (ENDFILE_SPEC): Likewise. | |
5717 | ||
f305679f JH |
5718 | Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz> |
5719 | ||
5720 | * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached. | |
5721 | ||
5722 | * gcse.c (try_replace_reg): Do not return false positives. | |
5723 | ||
99bcb625 AM |
5724 | 2002-07-18 Alan Modra <amodra@bigpond.net.au> |
5725 | ||
f6f23ad2 AM |
5726 | * prefix.c: (update_path): Strip ".." components when prior dir |
5727 | doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE. | |
5728 | ||
99bcb625 AM |
5729 | * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support. |
5730 | (ASM_OUTPUT_REG_POP): Likewise. | |
5731 | ||
09eeeacb AM |
5732 | 2002-07-18 Alan Modra <amodra@bigpond.net.au> |
5733 | ||
5734 | * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus | |
5735 | adjustments to first_reg for profiling case. | |
5736 | (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC. | |
5737 | Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC. | |
5738 | Save static chain reg to sp + 12 on ABI_AIX_NODESC. | |
5739 | * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define. | |
5740 | (ASM_OUTPUT_REG_POP): Define. | |
5741 | * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef. | |
5742 | (ASM_OUTPUT_REG_POP): Undef. | |
5743 | ||
74d06cf2 NB |
5744 | 2002-07-17 Neil Booth <neil@daikokuya.co.uk> |
5745 | ||
5746 | * cpplib.c (do_sccs): Handle #sccs on all systems. | |
5747 | * system.h (SCCS_DIRECTIVE): Poison. | |
5748 | * config/darwin.h, config/freebsd.h, config/netbsd.h, | |
5749 | config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h, | |
5750 | config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h, | |
5751 | config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h, | |
5752 | config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h, | |
5753 | config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h, | |
5754 | config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h, | |
5755 | config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h: | |
5756 | Remove all references to SCCS_DIRECTIVE. | |
5757 | * doc/cpp.texi, doc/tm.texi: Update. | |
5758 | ||
61dde664 R |
5759 | Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5760 | ||
5761 | * regrename.c (maybe_mode_change): New function. | |
5762 | (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it. | |
5763 | ||
97f51ac4 RB |
5764 | 2002-07-17 Rodney Brown <rbrown64@csc.com.au> |
5765 | ||
5766 | * config/i386/i386.c (ix86_expand_int_movcc): In the general case | |
5767 | suppress addition when either ct or cf are zero. | |
5768 | ||
f1a73cfe | 5769 | 2002-06-17 Eric Botcazou <ebotcazou@multimania.com> |
30484ccf | 5770 | Glen Nakamura <glen@imodulo.com> |
f1a73cfe EB |
5771 | |
5772 | PR optimization/6713 | |
5773 | * loop.c (loop_givs_rescan): Explicitly delete the insn that | |
5774 | sets a non-replaceable giv after issuing the new one. | |
5775 | ||
23ff0223 NB |
5776 | 2002-07-17 Neil Booth <neil@daikokuya.co.uk> |
5777 | ||
5778 | * cppexp.c (cpp_interpret_integer, append_digit, parse_defined, | |
5779 | eval_token): Clarify and correct use of "bool" variables. | |
5780 | * cpplib.h (struct cpp_options): Similarly. | |
5781 | * cppmacro.c (parse_params, _cpp_save_parameter): Ditto. | |
5782 | * cpptrad.c (recursive_macro): Similarly. | |
5783 | ||
ac09192a R |
5784 | Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5785 | ||
d28586ab | 5786 | * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in |
ac09192a | 5787 | SHmedia code. |
68cef009 R |
5788 | |
5789 | * sh.md (cmpgtudi_media): Remove spurious @. | |
701e3726 R |
5790 | |
5791 | * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian. | |
5792 | * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian. | |
ca903bba R |
5793 | |
5794 | * config/sh/lib1funcs.asm (init_trampoline): New entry point. | |
5795 | * sh-protos.h (sh_initialize_trampoline): Declare. | |
5796 | * sh.c (sh_initialize_trampoline): New function. | |
5797 | * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32. | |
5798 | (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA. | |
5799 | (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline. | |
5800 | (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact. | |
5801 | * sh.md (initialize_trampoline, double_shori): New patterns. | |
5802 | (initialize_trampoline_compact): Likewise. | |
5803 | (shmedia32_initialize_trampoline_big): Remove. | |
5804 | (shmedia32_initialize_trampoline_little): Likewise. | |
0ac78517 R |
5805 | |
5806 | * sh-protos.h (binary_float_operator): Remove declaration. | |
5807 | (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare. | |
5808 | * sh.c (print_operand, case 'N'): Check against CONST0_RTX. | |
5809 | (unary_float_operator, sh_expand_unop_v2sf): New functions. | |
5810 | (sh_expand_binop_v2sf): Likewise. | |
5811 | (zero_vec_operand): Delete. | |
5812 | (SH_BLTIN_UDI): New builtin shared signature define. Renumbered | |
5813 | all non-shared ones. | |
5814 | (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI. | |
5815 | Enable nsb and byterev. | |
5816 | * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS. | |
5817 | (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode | |
5818 | in general regs. | |
5819 | (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS. | |
5820 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for | |
5821 | immediate operands. | |
5822 | (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands. | |
5823 | Add DF_HI_REGS. | |
5824 | (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow | |
5825 | lowpart fp regs - only for big endian for now. | |
5826 | (LEGITIMATE_CONSTANT_P): Don't allow non-zero float vectors | |
5827 | when FPU is in use. | |
5828 | (EXTRA_CONTRAINT_U): Check against CONST0_RTX. | |
5829 | (LOAD_EXTEND_OP): NIL for SImode. | |
5830 | (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between | |
5831 | general and fp registers is 4. | |
5832 | PREDICATE_CODES: Amend binary_float_operator entry. | |
5833 | Remove zero_vec_operand. Add unary_float_operator. | |
5834 | * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical | |
5835 | subreg SET_DEST. | |
5836 | (truncdisi2, truncdihi2, movv2sf): Allow memory destinations. | |
5837 | (truncdiqi2): Do sign extension. | |
5838 | (movsi_media, movdi_media): Allow to use r63 to an fp register. | |
5839 | (movdf_media, movsf_media): Likewise. | |
5840 | (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS. | |
5841 | Collapse to one define_insn_and_split. Allow immediate sources. | |
5842 | (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns. | |
5843 | (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg. | |
5844 | (movv4sf): Allow immediate sources. | |
5845 | (movsf_media_nofpu+1): Don't split moves to FP registers. | |
5846 | (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns. | |
5847 | (movv8qi_i+3): Check against CONST0_RTX. | |
5848 | (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode | |
5849 | for input and output operands. Fix argument 3 to gen_mextr_rl. | |
5850 | (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/ | |
5851 | (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise. | |
5852 | (mshf0_w, fipr, ftrv): Likewise. | |
5853 | (mshfhi_l_di): Now insn_and_split. Can handle FP regs. | |
5854 | ||
e9d7b180 JD |
5855 | 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
5856 | ||
5857 | * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from | |
5858 | NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed. | |
5859 | * arm.c: Similarly. | |
5860 | ||
8214bf98 RS |
5861 | 2002-07-17 Richard Sandiford <rsandifo@redhat.com> |
5862 | ||
5863 | * config/mips/mips-protos.h (mips_sign_extend): Declare. | |
5864 | * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove. | |
5865 | (TARGET_SWITCHES): Remove debugh. | |
5866 | (ISA_HAS_TRUNC_W): New macro. | |
5867 | (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64. | |
5868 | (PREDICATE_CODES): Remove se_nonimmediate_operand. | |
5869 | * config/mips/mips.c (movdi_operand): Allow sign-extensions of | |
5870 | any SImode move_operand. | |
5871 | (se_nonimmediate_operand): Remove. | |
5872 | (mips_sign_extend): New. | |
5873 | (mips_move_2words): Use it for sign-extended source operands. | |
5874 | (override_options): Allow integers to be put into single FPRs. | |
5875 | (mips_secondary_reload_class): Handle integers in float registers. | |
5876 | * config/mips/mips.md (extendsidi2): Turn into a define_expand. | |
5877 | (fix_truncsfsi2, fix_truncdfsi2): Likewise. | |
5878 | (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New. | |
5879 | (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New. | |
5880 | (fix_truncdfdi2): Provide only a single alternative, in which the | |
5881 | integer is in a float register. Depend on TARGET_FLOAT64 rather | |
5882 | than TARGET_64BIT. | |
5883 | (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise. | |
5884 | (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency. | |
5885 | (movdi_internal2): Don't allow the source operand to be sign-extended. | |
5886 | Add alternatives for float registers. | |
5887 | (*movdi_internal2_extend): New. Version of movdi_internal2 that | |
5888 | allows sign-extension. | |
5889 | (*movdi_internal2_mips16): Name the existing mips16 movdi pattern. | |
5890 | (movsi_internal2): Rename to movsi_internal. Add alternatives for | |
5891 | float registers. Remove TARGET_DEBUG_H_MODE test. | |
5892 | (movhi_internal1): Rename to movhi_internal. Don't check | |
5893 | TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints. | |
5894 | (movqi_internal1): Rename to movqi_internal and remove | |
5895 | TARGET_DEBUG_H_MODE dependency. | |
5896 | (movsi_internal1, movhi_internal2, movqi_internal2): Remove. | |
5897 | ||
7ab0121e JW |
5898 | 2002-07-16 Jim Wilson <wilson@redhat.com> |
5899 | ||
5900 | * toplev.c (lang_dependent_init): Create function context for | |
5901 | init_expr_once. | |
5902 | ||
349ccf2e HPN |
5903 | 2002-07-16 Hans-Peter Nilsson <hp@axis.com> |
5904 | ||
5905 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't | |
5906 | --gc-sections if -r. | |
5907 | * config/cris/cris.h: Ditto. | |
5908 | ||
06ec023f RB |
5909 | 2002-07-16 Rodney Brown <rbrown64@csc.com.au> |
5910 | ||
5911 | * config/i386/i386.c (ix86_expand_int_movcc): In the case where | |
5912 | the comparison directly gives a mask suppress addition when cf is | |
5913 | zero by complementing the mask. | |
5914 | ||
39cef914 NN |
5915 | 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org> |
5916 | ||
5917 | * Makefile.in: Delete references to enquire. | |
5918 | * enquire.c: Move to contrib. | |
5919 | ||
92c1a778 SS |
5920 | 2002-07-16 Stan Shebs <shebs@apple.com> |
5921 | ||
2aa9948d SS |
5922 | * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from |
5923 | config/rs6000/darwin.h. | |
5924 | (ASM_OUTPUT_SKIP): Ditto. | |
5925 | (TEXT_SECTION_ASM_OP): Ditto. | |
5926 | (DATA_SECTION_ASM_OP): Ditto. | |
5927 | (ASM_APP_ON): Define. | |
5928 | (ASM_APP_OFF): Define. | |
5929 | * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP, | |
5930 | TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove. | |
5931 | ||
5932 | * config/darwin.c (func_name_maybe_scoped): Remove unused decl. | |
92c1a778 SS |
5933 | (machopic_function_base_name): Declare result to be const. |
5934 | (machopic_non_lazy_ptr_name): Ditto. | |
5935 | (machopic_stub_name): Ditto. | |
2aa9948d | 5936 | * config/darwin-protos.h: Ditto for the prototypes. |
92c1a778 | 5937 | |
daaab00a JH |
5938 | Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz> |
5939 | ||
5940 | * m68hc11.c (m68hc11_reorg): Do not rebuild CFG. | |
5941 | ||
63c574cc JH |
5942 | Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz> |
5943 | ||
5944 | * i386.md (prefetch): Fix for 64bit mode. | |
5945 | (prefetch_sse_rex, prefetch_3dnow_rex): New patterns. | |
5946 | ||
2a500b9e JH |
5947 | Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz> |
5948 | ||
5949 | * i386.h (MACHINE_DEPENDENT_REORG): New macro. | |
5950 | * i386.c (x86_machine_dependent_reorg): New function. | |
5951 | * i386-protos.h (x86_machine_dependent_reorg): Declare. | |
5952 | ||
e5faf155 ZW |
5953 | 2002-07-16 Zack Weinberg <zack@codesourcery.com> |
5954 | ||
5955 | * builtins.c (std_expand_builtin_va_start): Remove unused | |
5956 | first argument. | |
5957 | (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and | |
5958 | std_expand_builtin_va_start with just two arguments. | |
5959 | * expr.h: Update prototypes. | |
5960 | ||
5961 | * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h, | |
5962 | arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h, | |
5963 | i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h, | |
5964 | m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h, | |
5965 | mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c, | |
5966 | rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h, | |
5967 | s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h, | |
5968 | sparc.c, stormy16-protos.h, stormy16.h, stormy16.c, | |
5969 | xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first | |
5970 | argument from all implementations of EXPAND_BUILTIN_VA_START | |
5971 | and all uses of std_expand_builtin_va_start. | |
5972 | ||
dbf65c2f R |
5973 | Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5974 | ||
5975 | * regrename.c (copy_value): Don't record high part copies. | |
5976 | ||
6acb6d3e | 5977 | 2002-07-16 Steve Ellcey <sje@cup.hp.com> |
99b823ca | 5978 | |
6acb6d3e SE |
5979 | * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define. |
5980 | (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL. | |
5981 | * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function. | |
5982 | ||
5d7c2819 ID |
5983 | 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
5984 | ||
5985 | * doc/invoke.texi (NS32K Options): Document -mieee-compare option | |
5986 | ||
5987 | * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge | |
5988 | into addsi3 using register class "x" and "y". | |
5989 | ||
5990 | * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf): | |
5991 | "earlyclobber" constraint modifier for some alternative. | |
e5faf155 | 5992 | |
5d7c2819 ID |
5993 | * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble) |
5994 | (*ble, *blt): Flag to indicate bCOND and sCOND should check for | |
5995 | unordered. | |
5996 | config/ns32k/ns32k.h (CC_UNORD): define corresponding mask. | |
5997 | ||
5998 | * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE) | |
5999 | (TARGET_SWITCHES): Add -mieee-compare option. | |
6000 | (OVERRIDE_OPTIONS): 32332 is a subset of | |
6001 | 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations. | |
6002 | (TARGET_SWITCHES): Fix description of bitfield option. | |
6003 | * config/ns32k/netbsd.h (TARGET_DEFAULT): Add | |
6004 | -mieee-compare option. Remove 32332 flag. | |
6005 | ||
5da4f548 | 6006 | 2002-07-16 Steve Ellcey <sje@cup.hp.com> |
5d7c2819 ID |
6007 | |
6008 | * explow.c (convert_memory_address): Remove special handling | |
5da4f548 | 6009 | when POINTERS_EXTEND_UNSIGNED < 0. |
5d7c2819 | 6010 | * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode. |
5da4f548 SE |
6011 | (movedi_symbolic): Fix typo. |
6012 | (load_fptr): Remove mode restriction so it works for SI and DI. | |
6013 | (load_fptr_internal1): Ditto. | |
6014 | (load_gprel): Ditto. | |
6015 | (load_symptr_internal1): Ditto. | |
6016 | (call_pic): Ditto. | |
5d7c2819 | 6017 | * config/ia64.c (call_operand): Modify mode check. |
5da4f548 SE |
6018 | (ia64_expand_load_address): Handle DI and SI addresses and symbols. |
6019 | (ia64_expand_move): Ditto. | |
6020 | (ia64_assemble_integer): Handle SImode function pointers. | |
6021 | (ia64_expand_fetch_and_op): Handle SImode mem addresses. | |
6022 | (ia64_expand_op_and_fetch): Ditto. | |
6023 | (ia64_expand_compare_and_swap): Ditto. | |
6024 | (ia64_expand_lock_test_and_set): Ditto. | |
6025 | (ia64_expand_lock_release): Ditto. | |
6026 | ||
1575c31e JD |
6027 | 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
6028 | ||
6029 | * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF. | |
6030 | ||
6031 | 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
6032 | Richard Earnshaw <rearnsha@arm.com> | |
6033 | ||
e5faf155 | 6034 | * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test |
1575c31e JD |
6035 | CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic. |
6036 | ||
3894f59e RE |
6037 | 2002-07-16 Richard Earnshaw <rearnsha@arm.com> |
6038 | ||
6039 | * arm.md (stack_tie): New insn. Use an idiom that the alias code | |
6040 | understands to be a memory clobber. | |
6041 | * arm.c (arm_expand_prologue): Use it. | |
6042 | ||
e0b89be2 | 6043 | 2002-07-16 Daniel Berlin <dberlin@dberlin.org> |
54b2a7f8 DB |
6044 | |
6045 | * ra-rewrite.c: #include reload.h, insn-config.h | |
6046 | * ra-build.c: #include reload.h | |
6047 | * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to | |
e5faf155 | 6048 | depend on reload.h, insn-config.h. |
54b2a7f8 | 6049 | |
cffa2189 R |
6050 | Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6051 | ||
6052 | * expr.c (emit_move_insn_1): Handle arbitrary moves that are | |
6053 | the same size as a word. | |
6054 | ||
6055 | * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN / | |
6056 | BYTES_BIG_ENDIAN into account. | |
6057 | ||
052c96b1 JH |
6058 | Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz> |
6059 | ||
6060 | * i386.md (prefetch): Fix for 64bit mode. | |
6061 | (prefetch_sse_rex, prefetch_3dnow_rex): New patterns. | |
6062 | ||
6063 | * i386.md (movss, movsd): Use xorps/xorpd for Athlon. | |
6064 | ||
ae32926b MM |
6065 | 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
6066 | ||
6067 | * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set. | |
6068 | ||
6c535c69 ZW |
6069 | 2002-07-15 Zack Weinberg <zack@codesourcery.com> |
6070 | ||
6071 | * ginclude/varargs.h: Replace with stub which issues #error. | |
6072 | * ginclude/stdarg.h: __builtin_stdarg_start is renamed | |
6073 | __builtin_va_start. | |
6074 | ||
6075 | * builtins.def (BUILT_IN_VARARGS_START): Delete. | |
6076 | (BUILT_IN_VA_START): New. | |
6077 | * builtins.c (expand_builtin_va_start): Eliminate first | |
6078 | argument and code to implement pre-ISO varargs. | |
6079 | (std_expand_builtin_va_start): Ignore first argument; it is | |
6080 | always 1. | |
6081 | (expand_builtin): Handle BUILT_IN_VA_START and | |
6082 | BUILT_IN_STDARG_START identically. Delete | |
6083 | BUILT_IN_VARARGS_START case. | |
6084 | ||
6085 | * function.c (assign_parms): Delete hide_last_arg and all | |
6086 | its uses. | |
6087 | (mark_varargs): Delete function. | |
6088 | * function.h (struct function): Delete 'varargs' bit. | |
6089 | (current_function_varargs): Delete macro. | |
6090 | * tree.h: Don't declare mark_varargs. | |
6091 | ||
6092 | * c-decl.c (c_function_varargs, c_mark_varargs): Delete. | |
6093 | (c_expand_body): Don't call mark_varargs. | |
6094 | * c-objc-common.c: Handle BUILT_IN_VA_START and | |
6095 | BUILT_IN_STDARG_START identically. Delete | |
6096 | BUILT_IN_VARARGS_START case. | |
6097 | * c-tree.h: Don't declare c_mark_varargs. | |
6098 | * c-parse.in: Remove grammar rules for '&...' (which has been | |
6099 | commented out since before 2.7.2) and for '...' in K+R | |
6100 | argument declarations. | |
6101 | ||
6102 | * builtins.c, function.c, integrate.c, sibcall.c, | |
6103 | config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, | |
6104 | config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, | |
6105 | config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, | |
6106 | config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, | |
6107 | config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, | |
6108 | config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, | |
6109 | config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, | |
6110 | config/stormy16/stormy16.c: Delete all references to | |
6111 | current_function_varargs, and code predicated on that flag. | |
6112 | ||
6113 | * config/alpha/alpha.c (alpha_va_start), | |
6114 | config/arc/arc.c (arc_va_start), | |
6115 | config/i386/i386.c (ix86_va_start), | |
6116 | config/mips/mips.c (mips_va_start), | |
6117 | config/mn10300/mn10300.c (mn10300_va_start), | |
6118 | config/rs6000/rs6000.c (rs6000_va_start), | |
6119 | config/s390/s390.c (s390_va_start), | |
6120 | config/sh/sh.c (sh_va_start), | |
6121 | Ignore first argument; it is always 1. | |
6122 | ||
6123 | * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. | |
6124 | * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. | |
6125 | * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: | |
6126 | Delete m68hc11_va_start. | |
6127 | * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: | |
6128 | No need to define EXPAND_BUILTIN_VA_START. | |
6129 | ||
6130 | * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, | |
6131 | doc/trouble.texi: Remove references to GCC-provided <varargs.h>. | |
6132 | ||
6d80a854 EB |
6133 | 2002-07-15 Eric Botcazou <ebotcazou@multimania.com> |
6134 | ||
6135 | PR optimization/7153 | |
6136 | * regmove.c (optimize_reg_copy_3): Don't optimize if the register | |
6137 | dies in more than one insn. | |
6138 | ||
043cfcbe JT |
6139 | 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com> |
6140 | ||
6141 | * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove. | |
6142 | ||
ed8d2920 | 6143 | 2002-07-15 Michael Matz <matz@suse.de>, |
6c535c69 | 6144 | Daniel Berlin <dberlin@dberlin.org>, |
ed8d2920 MM |
6145 | Denis Chertykov <denisc@overta.ru> |
6146 | ||
6147 | Add a new register allocator. | |
6148 | ||
6149 | * ra.c: New file. | |
6150 | * ra.h: New file. | |
6151 | * ra-build.c: New file. | |
6152 | * ra-colorize.c: New file. | |
6153 | * ra-debug.c: New file. | |
6154 | * ra-rewrite.c: New file. | |
6155 | ||
6156 | * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o, | |
6157 | (ra-rewrite.o): New .o files for libbackend.a. | |
6158 | (GTFILES): Add basic-block.h. | |
6159 | ||
6160 | * toplev.c (flag_new_regalloc): New. | |
6161 | (f_options): New option "new-ra". | |
6162 | (rest_of_compilation): Call initialize_uninitialized_subregs() | |
6163 | only for the old allocator. If flag_new_regalloc is set, call | |
6164 | new allocator, instead of local_alloc(), global_alloc() and | |
6165 | friends. | |
6166 | ||
6167 | * doc/invoke.texi: Document -fnew-ra. | |
6168 | * basic-block.h (FOR_ALL_BB): New. | |
6169 | * config/rs6000/rs6000.c (print_operand): Write small constants | |
6170 | as @l+80. | |
6171 | ||
6172 | * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg. | |
6173 | (df_reg_table_realloc): Make size at least as large as max_reg_num(). | |
6174 | (df_insn_table_realloc): Size argument now is absolute, not relative. | |
6175 | Changed all callers. | |
6176 | ||
6177 | * gengtype.c (main): Add the pseudo-type "HARD_REG_SET". | |
6178 | * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's. | |
6179 | ||
6180 | 2002-06-20 Michael Matz <matz@suse.de> | |
6181 | ||
6182 | * df.h (struct ref.id): Make unsigned. | |
6183 | * df.c (df_bb_reg_def_chain_create): Remove unsigned cast. | |
6184 | ||
6185 | 2002-06-13 Michael Matz <matz@suse.de> | |
6186 | ||
6187 | * df.h (DF_REF_MODE_CHANGE): New flag. | |
6188 | * df.c (df_def_record_1, df_uses_record): Set this flag for refs | |
6189 | involving subregs with invalid mode changes, when | |
6190 | CLASS_CANNOT_CHANGE_MODE is defined. | |
6191 | ||
6192 | 2002-05-07 Michael Matz <matz@suse.de> | |
6193 | ||
6194 | * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge. | |
6195 | ||
6196 | 2002-05-03 Michael Matz <matz@suse.de> | |
6197 | ||
6198 | * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size. | |
6199 | ||
6200 | Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru> | |
6201 | ||
6202 | * regclass.c (regclass): Work with all regs which have sets or | |
6203 | refs. | |
6204 | (reg_scan_mark_refs): Count regs inside (clobber ...). | |
6205 | ||
6206 | 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de> | |
6207 | ||
6208 | * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs. | |
6209 | (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only | |
6210 | add new refs. | |
6211 | (df_bb_refs_update): Don't clear insns_modified here, ... | |
6212 | (df_analyse): ... but here. | |
6213 | ||
6214 | * sbitmap.c (dump_sbitmap_file): New. | |
6215 | (debug_sbitmap): Use it. | |
6216 | ||
6217 | * sbitmap.h (dump_sbitmap_file): Add prototype. | |
6218 | ||
6219 | 2001-08-07 Daniel Berlin <dan@cgsoftware.com> | |
6220 | ||
6221 | * df.c (df_insn_modify): Grow the UID table if necessary, rather | |
6222 | than assume all emits go through df_insns_modify. | |
6223 | ||
6224 | 2001-07-26 Daniel Berlin <dan@cgsoftware.com> | |
6225 | ||
6226 | * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS, | |
6227 | increase REG_N_REFS (like flow does), so that regclass doesn't | |
6228 | think a reg is useless, and thus, not calculate a class, when it | |
6229 | really should have. | |
6230 | ||
6231 | 2001-01-28 Daniel Berlin <dberlin@redhat.com> | |
6232 | ||
6233 | * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for | |
6234 | dataflow analysis. | |
6235 | ||
794a292d JJ |
6236 | 2002-07-15 Jakub Jelinek <jakub@redhat.com> |
6237 | ||
6238 | PR middle-end/7245 | |
6239 | * config/i386/i386.c (const_int_1_31_operand): New. | |
6240 | * config/i386/i386.h (PREDICATE_CODES): Add it. | |
6241 | * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp, | |
6242 | ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp, | |
6243 | lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it. | |
6244 | ||
05d49501 AM |
6245 | 2002-07-14 Alan Modra <amodra@bigpond.net.au> |
6246 | ||
6247 | PR target/7282 | |
6248 | * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64. | |
6249 | (floatunssidf2): Likewise. | |
6250 | (floatsidf_ppc64): New insn_and_split. | |
6251 | (floatunssidf_ppc64): Likewise. | |
6252 | ||
e89617fe AJ |
6253 | 2002-07-14 Andreas Jaeger <aj@suse.de> |
6254 | ||
6255 | * config.gcc (sh64): Remove unused | |
6256 | target_requires_64bit_host_wide_int. | |
6257 | ||
78762e3b RS |
6258 | 2002-07-12 Roger Sayle <roger@eyesopen.com> |
6259 | ||
6260 | * expr.c [CLEAR_RATIO]: New macro defining the maximum number | |
6261 | of move instructions to use when clearing memory, c.f. MOVE_RATIO. | |
6262 | [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine | |
6263 | whether clear_by_pieces should be used to clear storage. | |
6264 | (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES. | |
6265 | ||
6266 | * doc/tm.texi: Document these two new target macros. | |
6267 | ||
f7a454e9 SC |
6268 | 2002-07-12 Stephane Carrez <stcarrez@nerim.fr> |
6269 | ||
6270 | * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for | |
6271 | the scratch register. | |
6272 | ("*movhi2_push"): Accept Z_REG because a split pattern can make use | |
6273 | of it, forbid reload to use it. | |
6274 | ||
26af4041 MM |
6275 | 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl> |
6276 | ||
6277 | * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT | |
6278 | usage on 64-bit hosts, return value was truncated to 32 bits. | |
6279 | ||
226cfe61 R |
6280 | Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6281 | ||
6282 | * simplify-rtx.c (simplify_subreg): Handle floating point | |
6283 | CONST_DOUBLEs. When an integer subreg of a smaller mode than | |
6284 | the element mode is requested, compute a subreg with an | |
6285 | integer mode of the same size as the element mode first. | |
6286 | ||
25c25947 R |
6287 | Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6288 | ||
6289 | * combine.c (try_combine): When converting a paradoxical subreg | |
6290 | to an extension, take LOAD_EXTEND_OP into account. | |
6291 | ||
789b7de5 RO |
6292 | 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6293 | ||
6294 | * config.gcc (mips-sgi-irix6*o32): New configuration. | |
6295 | ||
6296 | * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32 | |
6297 | configurations. | |
6298 | * configure: Regenerate. | |
6299 | ||
6300 | * config/mips/iris6-o32-as.h: New file. | |
6301 | * config/mips/iris6-o32.h: New file. | |
e89617fe | 6302 | |
789b7de5 RO |
6303 | * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define. |
6304 | (NM_FLAGS): Define. | |
6305 | (HAVE_AS_SHF_MERGE): Undefine. | |
6306 | ||
6307 | * config/mips/t-iris5-as: New file. | |
6308 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. | |
6309 | ||
6310 | * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME, | |
6311 | SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK, | |
6312 | SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT, | |
6313 | dp-bit.c, fp-bit.c): Move ... | |
6314 | * config/mips/t-iris5-6: ... here. | |
6315 | New file, shared by IRIX 5 and IRIX 6. | |
6316 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*, | |
6317 | mips-sgi-irix5*): Use it. | |
6318 | ||
6319 | * config/mips/iris6.h: Remove duplicate comment. | |
6320 | ||
6321 | * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 && | |
6322 | !TARGET_IRIX6]: Define. | |
6323 | (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6. | |
6324 | ||
6325 | * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment. | |
6326 | ||
a18c2c5f JDA |
6327 | 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6328 | ||
6329 | * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand | |
6330 | and delete code to force constant to register. | |
6331 | * pa-protos.h (adddi3_operand): Add prototype. | |
6332 | * pa.c (adddi3_operand): New function. | |
6333 | ||
e65a2d65 RS |
6334 | 2002-07-11 Roger Sayle <roger@eyesopen.com> |
6335 | ||
6336 | * c-decl.c (duplicate_decls): Preserve the noreturn attribute on | |
6337 | non-ANSI builtin functions. | |
6338 | ||
a06e3c40 R |
6339 | Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6340 | ||
6341 | * rtl.h (gen_rtx_CONST_VECTOR): Declare. | |
6342 | * gengenrtl.c (special_rtx): Check for CONST_VECTOR. | |
6343 | * emit-rtl.c (gen_rtx_CONST_VECTOR): New function. | |
6344 | (gen_const_vector_0): Use it. | |
6345 | ||
47abc309 JDA |
6346 | 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6347 | ||
6348 | * pa.md (adddi3): For 32-bit targets, force constants to a register | |
6349 | if they don't fit in an 11-bit immediate. Change insn predicate to | |
6350 | arith11_operand. Remove comment. | |
6351 | * pa.c (cint_ok_for_move): Fix comment. | |
6352 | (emit_move_sequence): Don't directly split DImode constants on 32-bit | |
6353 | targets. | |
6354 | ||
8ac9d31f TJ |
6355 | 2002-07-11 Tim Josling <tej@melbpc.org.au> |
6356 | ||
e89617fe | 6357 | Remove front end hard coding from gengtype.c. |
8ac9d31f TJ |
6358 | |
6359 | * Makefile.in | |
6360 | (STAGESTUFF): add gtyp-gen.h | |
6361 | (GTFILES): Remove front end specific files. | |
6362 | (GTFILES_FILES_LANGS): New, from configure.. | |
6363 | (GTFILES_FILES_FILES): Likewise. | |
6364 | (GTFILES_LANG_DIR_NAMES): Likewise. | |
6365 | (GTFILES_SRCDIR): Likewise. | |
6366 | (gtyp-gen.h): Build from configure information. | |
6367 | (s-gtype): Remove command line parameters from gengtype. | |
6368 | (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h. | |
6369 | (mostlyclean): Delete files generated by and for gengtype. | |
6370 | ||
6371 | * c-config-lang.in: New file. | |
6372 | ||
6373 | * configure.in (all_gtfiles_files_langs): New. Accumulate files | |
6374 | for each language. | |
6375 | (all_gtfiles_files_files): New. Accumulate language for each file | |
6376 | accumulated. | |
6377 | (gtfiles): Pick up value for C. | |
6378 | (srcdir): AC-SUBST this variable. | |
6379 | (all_gtfiles_files_langs): AC-SUBST this variable. | |
6380 | (all_gtfiles_files_files): AC-SUBST this variable. | |
e89617fe | 6381 | |
8ac9d31f | 6382 | * configure: Regenerate. |
e89617fe | 6383 | |
8ac9d31f TJ |
6384 | * gengtype-lex.l (parse_file): Make parameter const. |
6385 | ||
6386 | * gengtype.c (toplevel): include gtyp-gen.h. | |
6387 | (BASE_FILE_<language> unnamed enum): Delete. | |
6388 | (lang_names): Delete (replaced by gtyp-gen.h) | |
6389 | (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed | |
6390 | all references. | |
6391 | (NUM_GT_FILES): New. | |
6392 | (NUM_LANG_FILES): New. | |
6393 | (srcdir_len): New. | |
6394 | (NUM_BASE_FILES): Change calculation. | |
6395 | (open_base_files): Change prototype to avoid warning. | |
6396 | (startswith): Delete. | |
6397 | (get_file_basename): Iterate through generated language list not | |
6398 | hard coded list. | |
6399 | (get_base_file_bitmap): Use generated list of files and languages. | |
6400 | (close_output_files): Add prototype to rmove warning. | |
6401 | (main): Iterate through list of generated files from gtyp-gen.h | |
6402 | rather than command line paramaters. Ignore duplicated file | |
e89617fe | 6403 | names. |
8ac9d31f TJ |
6404 | |
6405 | * gengtype.h (parse_file): Amend prototype for const parameter. | |
e89617fe | 6406 | |
8ac9d31f TJ |
6407 | * doc/sourcebuild.texi: Document gtfiles variable. |
6408 | ||
6409 | * doc/gty.texi: Document changes to gtfiles variable for front | |
6410 | ends. | |
6411 | ||
6412 | * objc/config-lang.in (gtfiles): Add files needed for objc front | |
6413 | end. | |
6414 | ||
0e603223 RS |
6415 | 2002-07-10 Roger Sayle <roger@eyesopen.com> |
6416 | ||
6417 | PR c/2454 | |
6418 | * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply | |
6419 | to SUBREGs of MEMs. (num_sign_bit_copies): Likewise. | |
6420 | ||
c5358a5d RS |
6421 | 2002-07-10 Roger Sayle <roger@eyesopen.com> |
6422 | Zack Weinberg <zack@codesourcery.com> | |
6423 | ||
6424 | * builtins.def: Make the argument types of abort and exit | |
6425 | independent of the front-end. | |
6426 | ||
a35f8b74 AM |
6427 | 2002-07-11 Alan Modra <amodra@bigpond.net.au> |
6428 | ||
6429 | * config/rs6000/linux64.h (ASM_SPEC): Define. | |
6430 | ||
89e7058f AH |
6431 | 2002-07-10 Aldy Hernandez <aldyh@redhat.com> |
6432 | ||
6c535c69 ZW |
6433 | * config/rs6000/rs6000.c (emit_frame_save): New. |
6434 | (rs6000_frame_related): Replace reg2 before reg. | |
6435 | (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs, | |
6436 | and eh_return registers. | |
89e7058f | 6437 | |
086bbd21 TM |
6438 | 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl> |
6439 | ||
6440 | Revert all patches for optimization of Complex .op. Real. | |
6441 | * complex_part_zero_p: Remove | |
6442 | * expand_cmplxdiv_straight: Replace complex_part_zero_p(x) | |
6443 | with x. | |
6444 | * expand_cmplxdiv_wide: Ditto. | |
6445 | * expand_binop: Ditto. | |
6446 | ||
126dbce0 MM |
6447 | 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl> |
6448 | ||
6449 | * config/avr/avr.md: Fix two 0x80000000 constants to make them | |
6450 | negative also on 64-bit hosts. | |
6451 | ||
6452 | Default to -fno-reorder-blocks when optimizing for size. | |
6453 | * config/avr/avr-protos.h (avr_optimization_options): Declare. | |
6454 | * config/avr/avr.c (avr_optimization_options): New function. | |
6455 | * config/avr/avr.h (OPTIMIZATION_OPTIONS): New. | |
6456 | ||
6457 | Optimize returning from simple functions. | |
6458 | * config/avr/avr-protos.h (avr_simple_epilogue): Declare. | |
6459 | * config/avr/avr.c (avr_simple_epilogue): New function. | |
6460 | * config/avr/avr.md (return): New insn. | |
6461 | ||
21c318ba DR |
6462 | 2002-07-10 Douglas B Rupp <rupp@gnat.com> |
6463 | ||
6464 | * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add | |
6465 | HAS_INIT_SECTION to protection. | |
6466 | ||
537834c8 MM |
6467 | 2002-07-10 Mark Mitchell <mark@codesourcery.com> |
6468 | ||
6469 | * doc/invoke.texi (Debugging Options): Mention that -gdwarf is | |
6470 | deprecated. | |
6471 | ||
80ba02b1 R |
6472 | Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6473 | ||
6474 | * combine.c (gen_lowpart_for_combine): Handle vector modes. | |
6475 | Supply non-VOID mode to simplify_gen_subreg. | |
6476 | ||
ae3aa00d JH |
6477 | Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz> |
6478 | ||
6479 | * i386.c (ix86_init_mmx_sse_builtins): Fix thinko. | |
6480 | ||
029f3983 JL |
6481 | 2002-07-10 Jeffrey A Law <law@redhat.com> |
6482 | ||
7a464913 JL |
6483 | * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes |
6484 | as appropriate. | |
6485 | ||
6c535c69 ZW |
6486 | * mn10200.c (expand_epilogue): Fix test to determine which scratch |
6487 | register to use. | |
029f3983 | 6488 | |
ff27a429 R |
6489 | Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6490 | ||
6491 | * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg. | |
6492 | Get mode from dest. | |
6493 | If simplify_gen_subreg fails, try next equivalent. | |
6494 | ||
e6986399 GDR |
6495 | 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com> |
6496 | ||
6497 | * diagnostic.h: #include location.h | |
6498 | (location_t): Move definition to.. | |
6499 | * location.h: ... here. New file. | |
6500 | * tree.h: #include location.h | |
6501 | (DECL_SOURCE_LOCATION): New macro. | |
6502 | (DECL_SOURCE_FILE): Use. | |
6503 | (DECL_SOURCE_LINE): Likewise. | |
6504 | (struct tree_decl): REplace filename and linenum with locus. | |
6505 | * Makefile.in (TREE_H): add location.h | |
6506 | (diagnostic.o): Depends on gt-location.h | |
6507 | (gt-location.h): Depends on s-gtype | |
6508 | ||
7990b46f MK |
6509 | 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu> |
6510 | ||
6511 | * config/rs6000/aix.h: Convert CPP_PREDEFINES to | |
6512 | TARGET_OS_CPP_BUILTINS. | |
6513 | * config/rs6000/aix31.h: Likewise. | |
6514 | * config/rs6000/aix41.h: Likewise. | |
6515 | * config/rs6000/aix43.h: Likewise. | |
6516 | * config/rs6000/aix51.h: Likewise. | |
6517 | * config/rs6000/beos.h: Likewise. | |
6518 | * config/rs6000/darwin.h: Likewise. | |
6519 | * config/rs6000/eabi.h: Likewise. | |
6520 | * config/rs6000/eabisim.h: Likewise. | |
6521 | * config/rs6000/linux.h: Likewise. | |
6522 | * config/rs6000/linux64.h: Likewise. | |
6523 | * config/rs6000/lynx.h: Likewise. | |
6524 | * config/rs6000/mach.h: Likewise. | |
6525 | * config/rs6000/rtems.h: Likewise. | |
6526 | * config/rs6000/sysv4.h: Likewise. | |
6527 | * config/rs6000/vxppc.h: Likewise. | |
efa39e99 DP |
6528 | |
6529 | 2002-07-09 Devang Patel <dpatel@apple.com> | |
6530 | * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch. | |
6531 | Do not allow ObjC objects as a parameter type for Objective-C methods. | |
6532 | My previous patch restricted 'struct' also. | |
e89617fe | 6533 | |
cd98faa1 NB |
6534 | 2002-07-09 Neil Booth <neil@daikokuya.co.uk> |
6535 | ||
6536 | * cpperror.c (cpp_error): Default to directive_line within | |
6537 | directives here. | |
6538 | * cppexp.c (cpp_interpret_integer): Only use traditional | |
6539 | number semantics in directives. | |
6540 | * cpplib.c (prepare_directive_trad): Don't reset pfile->line. | |
6541 | (do_include_common): Similarly. | |
6542 | * cpptrad.c (scan_out_logical_line): Implement accurate | |
6543 | quoting of <> in #include. | |
6544 | * doc/cpp.texi: Update. | |
6545 | ||
2ad65b0e | 6546 | Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com> |
6c535c69 | 6547 | J"orn Rennecke <joern.rennecke@superh.com> |
2ad65b0e SC |
6548 | |
6549 | * sh.c (sh_adjust_cost): Special handling of SHMEDIA code. | |
6550 | * sh.md (attribute issues): Replace with: | |
6551 | (attribute pipe_model). All users changed. | |
6552 | (attribute type): Change pt / ptabs to pt_media / ptabs_media. | |
6553 | All users changed. | |
6554 | (function units sh5issue, sh5fds): New. | |
6555 | (attribute is_mac_media): New. | |
6556 | (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type. | |
6557 | (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise. | |
6558 | (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise. | |
6559 | (movhi_media, shori_media, movv2sf_i, jump_media): Likewise. | |
6560 | (call_media, call_value_media, sibcall_media): Likewise. | |
6561 | (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise. | |
6562 | (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise. | |
6563 | (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise. | |
6564 | (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise. | |
6565 | (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise. | |
6566 | (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise. | |
6567 | (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise. | |
6568 | (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise. | |
6569 | (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise. | |
6570 | (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise. | |
6571 | (truncdfsf2_media): Likewise. | |
6572 | (movsi_media, movsi_media_nofpu, movdi_media): Use new types. | |
6573 | (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise. | |
6574 | ||
b6d33983 R |
6575 | Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6576 | ||
6577 | * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand. | |
6578 | * sh.c (general_extend_operand, inqhi_operand): New functions. | |
6579 | * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse | |
6580 | alternatives using 'N' modifier. Add type. | |
6581 | (adddi3z_media): Likewise. Enable generator function generation. | |
6582 | (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more | |
6583 | exact predicates / constraints. Add type. | |
6584 | (subsi3): Allow 0 for SHMEDIA. | |
6585 | (udivsi3_i4_media): Use match_operand for input values | |
6586 | rather than hard registers. | |
6587 | (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values | |
6588 | unnecessarily through hard registers. Keep copies of pseudo | |
6589 | registers outside of the libcall sequence. | |
6590 | (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type. | |
6591 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise. | |
6592 | (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise. | |
6593 | (extendhidi2, extendqidi2): Likewise. | |
6594 | (andsi3_compact): Name. | |
6595 | (andcdi3): Enable generator function generation. | |
6596 | (zero_extendhisi2, zero_extendqisi2): Rename to | |
6597 | (zero_extendhisi2_compact, zero_extendqisi2_compact). | |
6598 | (extendhisi2, extendqisi2): Rename to | |
6599 | (extendhisi2_compact, extendqisi2_compact). | |
6600 | (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns. | |
6601 | (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise. | |
6602 | (zero_extendhisi2_media+1, zero_extendqisi2): Likewise. | |
6603 | (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise. | |
6604 | (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise. | |
6605 | (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise. | |
6606 | (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise. | |
6607 | (shmedia32_initialize_trampoline_big): Likewise. | |
6608 | (shmedia32_initialize_trampoline_little): Likewise. | |
6609 | (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise. | |
6610 | (negdi2): Remove spurious T clobber. | |
6611 | (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE. | |
6612 | (movsi_media, movsi_media_nofpu): Remove spurious *k after b. | |
6613 | (movdi_media, movdi_media_nofpu, pt, ptb): Likewise. | |
6614 | (movsi_media_nofpu+2, movhi_media+1): Only do split after reload. | |
6615 | (ic_invalidate_line_media): Write back data cache before invalidating | |
6616 | instruction cache. Add type. | |
6617 | (movsf_media): Sign-extend when the destination is a general | |
6618 | purpose register. Add type. | |
6619 | (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0. | |
6620 | (casesi_worker_0+1): Only increment ref count for proper label. | |
6621 | (casesi_worker_0+2): Likewise. | |
6622 | ||
7ca0873c MM |
6623 | 2002-07-09 Mark Mitchell <mark@codesourcery.com> |
6624 | ||
6625 | * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated. | |
6626 | ||
26b10ae0 | 6627 | 2002-07-09 Steve Ellcey <sje@cup.hp.com> |
7ca0873c | 6628 | |
26b10ae0 SE |
6629 | * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer |
6630 | from Pmode to ptr_mode. | |
6631 | (get_exception_pointer): Ditto. | |
6632 | (connect_post_landing_pads): Ditto. | |
6633 | (dw2_build_landing_pads): Ditto. | |
6634 | ||
0c3a2ea0 SE |
6635 | 2002-07-08 Steve Ellcey <sje@cup.hp.com> |
6636 | * gcc/c-pragma.h (add_to_renaming_pragma_list): New function. | |
6637 | * gcc/c-pragma.c (add_to_renaming_pragma_list): New function. | |
6638 | (handle_pragma_redefine_extname): Change to use new function. | |
6639 | ||
26c34780 RS |
6640 | 2002-07-08 Roger Sayle <roger@eyesopen.com> |
6641 | ||
6642 | * combine.c (combine_simplify_rtx): Add an explicit cast | |
6643 | to avoid signed/unsigned comparison warning. | |
6644 | (simplify_if_then_else): Likewise. | |
6645 | (extended_count): Likewise. | |
6646 | (simplify_shift_const): Likewise. | |
6647 | (simplify_comparison): Likewise. | |
6648 | ||
1d4047e0 RS |
6649 | 2002-07-08 Richard Sandiford <rsandifo@redhat.com> |
6650 | ||
6651 | * config/mips/mips.md: Add imadd type. Update scheduler description | |
6652 | to use imadd as well as imul. | |
6653 | (*mul_acc_si, *madsi): Change imul alternatives to imadd. | |
6654 | (*mul_acc_di, *mul_acc_64bit_di): Likewise. | |
6655 | (*mul_sub_si): Likewise for first alternative. Change second | |
6656 | alternative from imul to multi. | |
6657 | ||
5351f1ca NB |
6658 | 2002-07-07 Neil Booth <neil@daikokuya.co.uk> |
6659 | ||
6660 | * c-common.c (c_common_post_options): Update prototype; | |
6661 | don't init backends if preprocessing only. | |
6662 | * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update. | |
6663 | * langhooks.h (struct lang_hooks): Update post_options to | |
6664 | return a boolean. | |
6665 | * toplev.c (parse_options_and_default_flags, do_compile, | |
6666 | lang_independent_init): Update prototypes. Allow the | |
6667 | front end to specify that there is no need to initialize | |
6668 | the back end. | |
6669 | (general_init): Move call to hex_init here... | |
6670 | (toplev_main): ...from here. Pass flag for back end init | |
6671 | suppression. | |
6672 | ||
c8cc4417 R |
6673 | Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6674 | ||
6675 | * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''. | |
6676 | (PREDICATE_CODES): Add entries for equality_comparison_operator, | |
6677 | greater_comparison_operator and less_comparison_operator. | |
6678 | * sh.c (print_operand): Add '\'' code. Make 'o' handle | |
6679 | more operators. | |
6680 | (equality_comparison_operator): New function. | |
6681 | (greater_comparison_operator, less_comparison_operator): Likewise. | |
6682 | * sh.md (beq_media_i): Disable generator function generation. | |
6683 | Use match_operator to handle a whole class of comparisons. Add | |
6684 | modifier in output template to provide branch prediction. Add type. | |
6685 | (bgt_media_i, ble_media_i): Likewise. Allow zero operands. | |
6686 | (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete. | |
6687 | (blt_media_i, bleu_media_i, bltu_media_i): Likewise. | |
6688 | (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands. | |
6689 | ||
957ec0f9 HPN |
6690 | 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com> |
6691 | ||
6692 | Emit MMIX function prologue and epilogue as rtl. | |
6693 | * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val, | |
6694 | not unprototyped get_hard_reg_initial_val. | |
6695 | ("call_value", "nonlocal_goto_receiver"): Ditto. | |
6696 | ("return"): Make define_expand. Move real insn to... | |
6697 | ("*expanded_return"): New pattern. | |
6698 | ("prologue", "epilogue"): New define_expands. | |
6699 | * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro. | |
6700 | (struct machine_function): New member in_prologue. | |
6701 | (FIRST_PSEUDO_REGISTER): Adjust for including rO as register. | |
6702 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto. | |
6703 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto. | |
6704 | (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto. | |
6705 | (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto. | |
6706 | (LOCAL_REGNO): Define. Adjust comment. | |
6707 | * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS): | |
6708 | Consider regs_ever_live[MMIX_rJ_REGNUM], not just | |
6709 | leaf_function_p. | |
6710 | (MMIX_OUTPUT_REGNO): Don't translate registers while outputting | |
6711 | the prologue. | |
6712 | (mmix_target_asm_function_prologue): Make static. Just mark that | |
6713 | the prologue is being emitted. Move guts to... | |
6714 | (mmix_expand_prologue): New function. Adjust for emitting | |
6715 | prologue as rtl. For sizes, use HOST_WIDE_INT only. | |
6716 | (mmix_target_asm_function_epilogue): Make static. Simply emit a | |
6717 | \n. Move guts to... | |
6718 | (mmix_expand_epilogue): New function. Adjust for emitting | |
6719 | epilogue as rtl. For sizes, use HOST_WIDE_INT only. | |
6720 | (mmix_target_asm_function_end_prologue): Mark that the prologue | |
6721 | has ended. | |
6722 | (TARGET_ASM_FUNCTION_END_PROLOGUE): Define. | |
6723 | (mmix_conditional_register_usage): Improve comments. | |
6724 | (mmix_local_regno): New function. | |
6725 | (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto. | |
6726 | * config/mmix/mmix-protos.h (mmix_local_regno): Prototype. | |
6727 | (mmix_expand_prologue, mmix_expand_epilogue): Ditto. | |
6728 | (mmix_get_hard_reg_initial_val): Ditto. | |
6729 | ||
7ab5c789 AJ |
6730 | 2002-07-06 Andreas Jaeger <aj@suse.de> |
6731 | ||
6732 | * toplev.c (set_fast_math_flags): Don't use ISO C style function | |
6733 | definitions. | |
6734 | * gengtype.c (open_base_files): Likewise. | |
6735 | (close_output_files): Likewise. | |
6736 | * tracer.c (find_best_predecessor): Likewise. | |
6737 | (find_best_successor): Likewise. | |
6738 | (ignore_bb_p): Likewise. | |
6739 | ||
df061a43 RS |
6740 | 2002-07-05 Roger Sayle <roger@eyesopen.com> |
6741 | ||
6742 | PR c++/7099 | |
6743 | * builtin-attrs.def: Define new attribute lists for use in | |
6744 | builtins.def. | |
6745 | * builtins.def [DEF_BUILTIN]: Modify to take an additional | |
6746 | ATTRS argument, an enumerated value defined in builtin-attrs.def | |
6747 | that represents the attribute list for the builtins. Modify | |
6748 | all builtin functions to pass an appropriate attribute list. | |
6749 | Specify "abort", "exit", "_exit" and "_Exit" builtins here with | |
6750 | their required noreturn attributes. | |
6751 | * tree.h (enum_builtin_function): Ignore the additional parameter | |
6752 | to DEF_BUILTIN. | |
6753 | * builtins.c (built_in_names): Likewise. | |
6754 | * c-common.c: (builtin_function_2): Replace the "int noreturn_p" | |
6755 | argument with a tree representing the functions attribute list. | |
6756 | Pass this "attrs" argument to builtin_function. No longer handle | |
6757 | the noreturn_p processing manually. | |
6758 | (built_in_attributes): Move the definitions from builtin-attrs.def | |
6759 | before c_common_nodes_and_builtins. | |
6760 | (c_common_nodes_and_builtins): Handle the new ATTRS parameter in | |
6761 | DEF_BUILTIN, passing it to both builtin_function and the changed | |
6762 | builtin_function_2. | |
6763 | ||
6764 | * doc/extend.texi: Document __builtin_abort, __builtin_exit, | |
6765 | __builtin__exit and __builtin__Exit. | |
6766 | ||
e5eb8de8 SC |
6767 | 2002-07-05 Stephane Carrez <stcarrez@nerim.fr> |
6768 | ||
6769 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating | |
6770 | QI mode registers in soft registers. | |
7ab5c789 | 6771 | ("zero_extendqihi2"): Do not take into account soft registers |
e5eb8de8 SC |
6772 | for register allocation (use '*' constraint). |
6773 | ||
4c8aed14 SC |
6774 | 2002-07-05 Stephane Carrez <stcarrez@nerim.fr> |
6775 | ||
6776 | * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know | |
6777 | it is dead. | |
6778 | ("*ashrsi3"): Likewise. | |
6779 | ("*lshrsi3"): Likewise. | |
6780 | ||
99ed68ea VM |
6781 | 2002-07-05 Vladimir Makarov <vmakarov@redhat.com> |
6782 | ||
6783 | * genautomata.c (output_max_insn_queue_index_def): Take latencies | |
6784 | into account. | |
6785 | ||
4c8aed14 | 6786 | 2002-07-05 Stephane Carrez <stcarrez@nerim.fr> |
581fd392 SC |
6787 | |
6788 | * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize | |
6789 | address computation and memory moves. | |
6790 | ||
9833f679 MM |
6791 | 2002-07-03 Mark Mitchell <mark@codesourcery.com> |
6792 | ||
6793 | PR c++/6706 | |
6794 | * dwarfout.c (output_reg_number): Fix warning message. | |
6795 | (output_bound_representation): Check SAVE_EXPR_RTL is not NULL | |
6796 | before using it. | |
7ab5c789 | 6797 | |
81bca2f5 RO |
6798 | 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6799 | ||
6800 | * gcc/gcc.c (asm_debug): Move initialization ... | |
6801 | (init_spec): ... here. | |
6802 | ||
17f44f02 NS |
6803 | 2002-07-05 Nathan Sidwell <nathan@codesourcery.com> |
6804 | ||
6805 | * c-parse.in (extdef): Append ';'. | |
6806 | (old_style_parm_decls): Append ';'. | |
6807 | ||
da77408f DJ |
6808 | 2002-07-04 Daniel Jacobowitz <drow@mvista.com> |
6809 | ||
6810 | * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to | |
6811 | gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag | |
6812 | to gcc_cv_as_gstabs_flag. | |
6813 | * configure: Rebuilt. | |
6814 | ||
ec52b446 GK |
6815 | 2002-07-04 Geoffrey Keating <geoffk@redhat.com> |
6816 | ||
6817 | * ggc.h (ggc_add_root): Document as obsolete. | |
6818 | ||
8721e3df R |
6819 | Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6820 | ||
6821 | * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE. | |
6822 | (mshflo_w): Likewise. | |
6823 | ||
3767c0fd R |
6824 | Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6825 | ||
6826 | * simplify-rtx.c (simplify_subreg): Reduce problem of finding | |
6827 | vector mode subregs of constants to finding integer mode | |
6828 | subregs of constants. | |
6829 | * cse.c (cse_insn): Use simplify_gen_subreg. | |
6830 | * convert.c (convert_to_integer): Don't strip a NOP_EXPR | |
6831 | From a vector mode expression of different size than the | |
6832 | target mode. | |
6833 | ||
4e314d1f EC |
6834 | 2002-07-03 Eric Christopher <echristo@redhat.com> |
6835 | ||
6836 | * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC. | |
6837 | * config/mips/mips.h: Remove deprecated -m<processor> options | |
6838 | and cc1_cpu_spec associated. | |
6839 | (CONSTANT_ADDRESS_P): Fix last patch. | |
6840 | (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment. | |
6841 | * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df, | |
6842 | sunge_sf): Remove. | |
6843 | ||
6f0361e3 SS |
6844 | 2002-07-03 Stan Shebs <shebs@apple.com> |
6845 | ||
6846 | * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC. | |
6847 | (STRINGIFY_THIS, REALLY_STRINGIFY): Remove. | |
6848 | (CPP_SPEC): Remove insertion of APPLE_CC definition. | |
6849 | ||
3129af4c RS |
6850 | 2002-07-03 Roger Sayle <roger@eyesopen.com> |
6851 | ||
6852 | * combine.c (struct_undo): Change types of recorded substitutions | |
6853 | to be either "int" or "rtx", instead of "unsigned int" and "rtx". | |
6854 | (do_SUBST_INT): Change types of the substitution from unsigned int | |
6855 | to int, to avoid compilation warning from SUBST_INT's only caller. | |
6856 | ||
6857 | (make_extraction): Add cast to avoid compilation warning. | |
6858 | (force_to_mode): Remove cast to avoid compilation warning. | |
6859 | ||
c7375e61 EB |
6860 | 2002-07-03 Eric Botcazou <ebotcazou@multimania.com> |
6861 | Jeff Law <law@redhat.com> | |
6862 | ||
6863 | * i386.md (length_immediate attribute): Fix typo. | |
6864 | (length_address attribute): Likewise. | |
6865 | (modrm attribute): Set it to 0 for immediate call instructions. | |
6866 | (jcc_1 pattern): Set modrm attribute to 0. | |
6867 | (jcc_2 pattern ): Likewise. | |
6868 | (jump pattern): Likewise. | |
6869 | (doloop_end_internal pattern): Explicitly set length. | |
6870 | (leave pattern): Fix typo. | |
6871 | (leave_rex64 pattern): Likewise. | |
6872 | ||
61c07d3c DE |
6873 | 2002-07-03 David Edelsohn <edelsohn@gnu.org> |
6874 | ||
6875 | * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode | |
6876 | in FPR as preference. | |
6877 | (fctiwz): Same. | |
6878 | (floatdidf2, fix_truncdfdi2): Same. | |
6879 | (floatdisf2, floatditf2, fix_trunctfdi2): Same. | |
6880 | (floatditf2): Same. | |
6881 | (floatsitf2, fix_trunctfsi2): SImode in GPR. | |
6882 | (ctrdi): Remove FPR alternative and splitter. | |
6883 | ||
6884 | 2002-07-03 Will Cohen <wcohen@redhat.com> | |
77966be3 WC |
6885 | |
6886 | * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro. | |
6887 | ||
34a80643 R |
6888 | Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6889 | ||
6890 | * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller | |
6891 | than UNITS_PER_WORD, unless this is little endian and the first unit | |
6892 | in this word. Let extract_bit_field decide how to load an element. | |
6893 | Force arguments to matching mode. | |
6894 | (expand_vector_unop): Likewise. | |
6895 | ||
6896 | * simplify-rtx.c (simplify_subreg): Don't assume that all vectors | |
6897 | consist of word_mode elements. | |
6898 | * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR, | |
6899 | BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR. | |
6900 | (build_unary_op): Allow vector types for BIT_NOT_EPR. | |
6901 | * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for | |
6902 | CONST_VECTOR. | |
6903 | * optabs.c (expand_vector_binop): Try to perform operation in | |
6904 | smaller vector modes with same inner size. Add handling of AND, IOR | |
6905 | and XOR. Reject expansion to inner-mode sized scalars when using | |
6906 | OPTAB_DIRECT. Use simplify_gen_subreg on constants. | |
6907 | (expand_vector_unop): Try to perform operation in smaller vector | |
6908 | modes with same inner size. Add handling of one's complement. | |
6909 | When there is no vector negate operation, try a vector subtract | |
6910 | operation. Use simplify_gen_subreg on constants. | |
6911 | * simplify-rtx.c (simplify_subreg): Add capability to convert vector | |
6912 | constants into smaller vectors with same inner mode, and to | |
6913 | integer CONST_DOUBLEs. | |
6914 | ||
622d3731 KG |
6915 | 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6916 | ||
6917 | * c-parse.in (parsing_iso_function_signature): New variable. | |
6918 | (extdef_1): New, copied from... | |
6919 | (extdef): ... here. Reset parsing_iso_function_signature. | |
6920 | (old_style_parm_decls): Reset parsing_iso_function_signature. | |
6921 | (old_style_parm_decls_1): New, copied from old_style_parm_decls. | |
6922 | Warn about ISO C style function definitions. | |
6923 | (nested_function, notype_nested_function): Reset | |
6924 | parsing_iso_function_signature. | |
6925 | (parmlist_2): Set parsing_iso_function_signature. | |
6926 | ||
6927 | * doc/invoke.texi (-Wtraditional): Document new behavior. | |
6928 | ||
9bb46191 CD |
6929 | 2002-07-02 Chris Demetriou <cgd@broadcom.com> |
6930 | ||
6931 | * config.gcc (mips*el-*-*): Use tm_defines to set | |
6932 | TARGET_ENDIAN_DEFAULT, rather than including mips/little.h. | |
6933 | * config/mips/little.h: Remove. | |
6934 | ||
e1c2dd26 | 6935 | 2002-07-02 Devang Patel <dpatel@apple.com> |
c40da518 | 6936 | |
c40da518 | 6937 | * objc/objc-act.c (adjust_type_for_id_default): Do not allow an |
31e25abd CD |
6938 | object as parameter. Prevent something like 'NSObject' to be |
6939 | used as the type for a method argument. | |
c40da518 | 6940 | |
0879540b NB |
6941 | 2002-07-03 Neil Booth <neil@daikokuya.co.uk> |
6942 | ||
6943 | * cpptrad.c: Update comment. | |
6944 | ||
b6fb43ab | 6945 | 2002-07-02 Neil Booth <neil@daikokuya.co.uk> |
4e314d1f | 6946 | |
b6fb43ab NB |
6947 | * doc/cpp.texi: Update for traditional preprocessing changes. |
6948 | * goc/cppopts.texi: Similarly. | |
6949 | ||
c1c5187c ZL |
6950 | 2002-07-02 Ziemowit Laski <zlaski@apple.com> |
6951 | ||
6952 | * c-parse.in (designator): Enable designated initializers if ObjC. | |
6953 | (objcmessageexpr): Remove references to objc_receiver_context. | |
6954 | * objc/objc-act.h (objc_receiver_context): Remove decl. | |
6955 | * objc/objc-act.c (objc_receiver_context): Remove. | |
6956 | (lookup_objc_ivar): Test objc_method_context instead of | |
6957 | objc_receiver_context. | |
6958 | ||
52702ae1 R |
6959 | Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6960 | ||
6961 | * sh.c (print_operand, case 'N'): Allow zero vector. | |
6962 | (arith_reg_or_0_operand): Likewise. | |
6963 | (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL. | |
4e314d1f | 6964 | * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for |
52702ae1 R |
6965 | IOR, XOR, PLUS and SET and take their respective constant |
6966 | ranges into account. | |
6967 | (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR. | |
6968 | * sh.md (subdi3, subdi3_media): Allow zero operand. | |
6969 | (movv8qi_i+3): Only vector that is not split is the zero vector. | |
6970 | Fix operand 3 to simplify_subreg. | |
6971 | (movv2si_i): Split alternative 1. | |
6972 | (mshfhi_l_di_rev+1): New splitter. | |
6973 | ||
49e7b251 NB |
6974 | 2002-07-02 Neil Booth <neil@daikokuya.co.uk> |
6975 | ||
ba57a9c0 | 6976 | PR preprocessor/7029 |
49e7b251 NB |
6977 | * cppinit.c (cpp_handle_option): Suppress warnings with an |
6978 | implicit "-w" for "-M" and "-MM". | |
6979 | * doc/cppopts.texi: Update. | |
6980 | ||
a3acdc0c RS |
6981 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
6982 | ||
6983 | * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned | |
6984 | identifier "bzero" to "memset". Pass extra NULL_TREE argument to | |
6985 | builtin_function. | |
6986 | ||
0b558962 AM |
6987 | 2002-07-02 Alan Modra <amodra@bigpond.net.au> |
6988 | ||
6989 | * README.Portability: Fix typos. | |
6990 | ||
9a81c5b7 HPN |
6991 | 2002-07-01 Hans-Peter Nilsson <hp@axis.com> |
6992 | ||
6993 | PR target/7177 | |
6994 | * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number | |
6995 | of indirections for register inside sign-extended mem part. | |
6996 | ||
6a2dd09a RS |
6997 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
6998 | ||
6999 | * tree.h: Modify builtin_function interface to take an extra | |
7000 | argument ATTRS, which is a tree representing an attribute list. | |
7001 | ||
7002 | * c-decl.c (builtin_function): Accept additional parameter. | |
7003 | * objc/objc-act.c (builtin_function): Likewise. | |
7004 | * f/com.c (builtin_function): Likewise. | |
7005 | * java/decl.c (builtin_function): Likewise. | |
7006 | * ada/utils.c (builtin_function): Likewise. | |
7007 | * cp/decl.c (builtin_function): Likewise. | |
7008 | (builtin_function_1): Likewise. | |
7009 | ||
7010 | * c-common.c (c_common_nodes_and_builtins): Pass an additional | |
7011 | NULL_TREE argument to builtin_function. (builtin_function_2): | |
7012 | Likewise. | |
7013 | * cp/call.c (build_java_interface_fn_ref): Likewise. | |
7014 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
7015 | * java/decl.c (java_init_decl_processing): Likewise. | |
7016 | * f/com.c (ffe_com_init_0): Likewise. | |
7017 | ||
7018 | * config/alpha/alpha.c (alpha_init_builtins): Pass an additional | |
7019 | NULL_TREE argument to builtin_function. | |
7020 | * config/arm/arm.c (def_builtin): Likewise. | |
7021 | * config/c4x/c4x.c (c4x_init_builtins): Likewise. | |
7022 | * config/i386/i386.c (def_builtin): Likewise. | |
7023 | * config/ia64/ia64.c (def_builtin): Likewise. | |
7024 | * config/rs6000/rs6000.c (def_builtin): Likewise. | |
7025 | ||
e20569ae ZW |
7026 | 2002-07-01 Zack Weinberg <zack@codesourcery.com> |
7027 | ||
7028 | * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST. | |
7029 | * config/mips/t-isa3264: Likewise. | |
7030 | * config/mmix/t-mmix: Likewise. | |
7031 | ||
f1b690f1 JDA |
7032 | 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7033 | ||
7034 | * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT. | |
7035 | ||
6bfa5aac RS |
7036 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
7037 | ||
7038 | PR opt/4046 | |
7039 | * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A, | |
7040 | A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and | |
7041 | B are truth values. | |
7042 | ||
9a5c1b9d NN |
7043 | 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org> |
7044 | ||
7045 | * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST. | |
7046 | ||
d3fc4dbc MK |
7047 | 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu> |
7048 | ||
3b2124df MK |
7049 | * README.Portability (Function prototypes): Give an example of |
7050 | declaring and defining a function with no arguments. | |
7051 | ||
d3fc4dbc MK |
7052 | * README.Portability (Function prototypes): Document new |
7053 | variable-argument function macros. | |
7054 | ||
c1b92d09 R |
7055 | Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7056 | ||
7057 | * sh.c (langhooks.h): Include. | |
7058 | (sh_init_builtins, sh_media_init_builtins): New functions. | |
7059 | (sh_expand_builtin, arith_reg_dest,and_operand): Likewise. | |
7060 | (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise. | |
7061 | (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise. | |
7062 | (builtin_description): New struct tag. | |
7063 | (signature_args, bdesc): New arrays. | |
7064 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define. | |
7065 | (print_operand): Add 'N' modifier. | |
7066 | * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes. | |
7067 | (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros. | |
7068 | (EXTRA_CONSTRAINT): Add 'U' and 'W' cases. | |
7069 | (CONST_COSTS): Add special case for SHmedia AND. | |
7070 | (PREDICATE_CODES): Add and_operand, arith_reg_dest, | |
7071 | extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset, | |
7072 | sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand. | |
7073 | target_operand can also be const or unspec. | |
7074 | * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants. | |
7075 | (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise. | |
7076 | (attribute type): Add new types. | |
7077 | (anddi3): Add splitter. | |
7078 | (movdi_const_16bit+1): Add code to handle vector constants and | |
7079 | bitmasks efficiently. | |
7080 | (shori_media): Have generator function made. | |
7081 | (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns. | |
7082 | (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise. | |
7083 | (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise. | |
7084 | (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise. | |
7085 | (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise. | |
7086 | (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise. | |
7087 | (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise. | |
7088 | (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise. | |
7089 | (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise. | |
7090 | (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise. | |
7091 | (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise. | |
7092 | (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise. | |
7093 | (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise. | |
7094 | (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie. | |
7095 | (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise. | |
7096 | (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise. | |
7097 | (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise. | |
7098 | (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise. | |
7099 | (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise. | |
7100 | (ftrv): Likewise. | |
7101 | ||
7102 | (fpu_switch+1, fpu_switch+2): Remove constraint. | |
7103 | ||
97ebc06f AH |
7104 | 2002-07-01 Aldy Hernandez <aldyh@redhat.com> |
7105 | ||
6c535c69 ZW |
7106 | * tree.c (build_function_type_list): Update function comment. |
7107 | Rename first argument to return_type. | |
97ebc06f | 7108 | |
353a10d0 NB |
7109 | 2002-07-01 Neil Booth <neil@daikokuya.co.uk> |
7110 | ||
7111 | * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h, | |
7112 | tradcif.y and related files. | |
7113 | ||
e34cabb3 NB |
7114 | 2002-07-01 Neil Booth <neil@daikokuya.co.uk> |
7115 | ||
7116 | * cpptrad.c (skip_whitespace): Pass pointer to prior char. | |
7117 | ||
8bf3ccbb KG |
7118 | 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7119 | ||
7120 | * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. | |
7121 | ||
118f8dc1 DP |
7122 | 2002-06-30 Devang Patel <dpatel@apple.com> |
7123 | ||
7124 | * objc/objc-act.c (finish_file): Avoid finish_objc() if | |
7125 | -fsyntax-only. | |
7126 | ||
e3223ea2 DC |
7127 | Fri Jun 28 17:22:37 2002 Denis Chertykov <denisc@overta.ru> |
7128 | Frank Ch. Eigler <fche@redhat.com> | |
6c535c69 | 7129 | Matthew Green <mrg@redhat.com> |
e3223ea2 DC |
7130 | Richard Henderson <rtl@redhat.com> |
7131 | Dave Hudson <dave.hudson@ubicom.com> | |
7132 | Jeff Johnston <jjohnstn@redhat.com> | |
7133 | Alan Lehotsky <apl@alum.mit.edu> | |
7134 | Bernd Schmidt <bernds@redhat.com> | |
7135 | Graham Stott <grahams@redhat.com> | |
4e314d1f | 7136 | |
e3223ea2 DC |
7137 | * doc/extend.texi: Add ip2k port to description of attribute |
7138 | naked. | |
7139 | * doc/install.texi (Specific): Add ip2k description. | |
7140 | * doc/install-old.texi (Configurations): Add ip2k to possible | |
7141 | cpu types. | |
7142 | * doc/md.texi: Document ip2k constraints. | |
7143 | * config/ip2k/crt0.S: New file. | |
7144 | * config/ip2k/ip2k-protos.h: New file. | |
7145 | * config/ip2k/ip2k.c: New file. | |
7146 | * config/ip2k/ip2k.h: New file. | |
7147 | * config/ip2k/ip2k.md: New file. | |
7148 | * config/ip2k/libgcc.S: New file. | |
7149 | * config/ip2k/t-ip2k: New file. | |
7150 | ||
66b8c57f HPN |
7151 | 2002-06-30 Hans-Peter Nilsson <hp@bitrange.com> |
7152 | ||
7153 | * config/mmix/mmix.md ("return"): New pattern. | |
7154 | * config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN) | |
7155 | (TARGET_USE_RETURN_INSN): New macros. | |
7156 | (TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN. | |
7157 | (TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit. | |
7158 | * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing. | |
7159 | (MMIX_POP_ARGUMENT): New macro. | |
7160 | (mmix_target_asm_function_prologue): When no epilogue is executed, | |
7161 | just emit a blank line. Use MMIX_POP_ARGUMENT with final POP insn. | |
7162 | (mmix_print_operand) <case '.'>: New case. | |
7163 | (mmix_print_operand_punct_valid_p): Match '.'. | |
7164 | (mmix_use_simple_return): New function. | |
7165 | * config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype. | |
7166 | * doc/invoke.texi (Option Summary) <MMIX Summary>: Add | |
7167 | -msingle-exit, -mno-single-exit. | |
7168 | (MMIX Options): Ditto. | |
7169 | ||
e7a60f56 AH |
7170 | 2002-06-30 Aldy Hernandez <aldyh@redhat.com> |
7171 | ||
6c535c69 | 7172 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos. |
e7a60f56 | 7173 | |
1ef7d32b KG |
7174 | 2002-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7175 | ||
7176 | * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses. | |
7177 | ||
c8b64bf2 AM |
7178 | 2002-06-30 Alan Modra <amodra@bigpond.net.au> |
7179 | ||
7180 | * unroll.c (loop_iterations): Handle EQ loops. | |
7181 | ||
35aba846 DE |
7182 | 2002-06-29 David Edelsohn <edelsohn@gnu.org> |
7183 | ||
7184 | * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR | |
7185 | constraint in define_expand, not splitter. | |
7186 | Formatting. | |
7187 | ||
b4de2f7d AH |
7188 | 2002-06-29 Aldy Hernandez <aldyh@redhat.com> |
7189 | ||
6c535c69 ZW |
7190 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use |
7191 | build_function_type_list instead of build_function_type. | |
b4de2f7d | 7192 | |
6c535c69 | 7193 | * config/ia64/ia64.c (ia64_init_builtins): Same. |
b4de2f7d | 7194 | |
6c535c69 | 7195 | * config/alpha/alpha.c (alpha_init_builtins): Same. |
b4de2f7d | 7196 | |
6c535c69 | 7197 | * config/rs6000/rs6000.c (altivec_init_builtins): Same. |
b4de2f7d | 7198 | |
6c535c69 | 7199 | * config/arm/arm.c (arm_init_builtins): Same. |
b4de2f7d | 7200 | |
6c535c69 | 7201 | * tree.h: Add build_function_type_list prototype. |
b4de2f7d | 7202 | |
6c535c69 | 7203 | * tree.c (build_function_type_list): New. |
b4de2f7d | 7204 | |
1691051f KG |
7205 | 2002-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7206 | ||
7207 | * collect2.c (scan_prog_file): Fix typo in message. | |
7208 | ||
7bfb14f1 AL |
7209 | 2002-06-28 Aaron Lehmann <aaronl@vitelus.com> |
7210 | ||
6c535c69 | 7211 | * fold-cont.c: Remove unused CHARMASK. |
7bfb14f1 | 7212 | |
38800fe8 NB |
7213 | 2002-06-29 Neil Booth <neil@daikokuya.co.uk> |
7214 | ||
7215 | PR preprocessor/7150 | |
7216 | * cppmain.c (scan_translation_unit_trad): Simplify. | |
590e1987 | 7217 | * cppmacro.c (cpp_scan_nooutput): Handle traditional case. |
38800fe8 | 7218 | |
f60ed6be NB |
7219 | 2002-06-29 Neil Booth <neil@daikokuya.demon.co.uk> |
7220 | ||
7221 | * config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS. | |
7222 | Don't use CPP_PREDEFINES. | |
7223 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New. | |
7224 | Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES. | |
7225 | * config/i386/djgpp.h, config/i386/i386-coff.h, | |
7226 | config/i386/i386-interix.h, config/i386/i386-interix3.h, | |
7227 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h, | |
7228 | config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h, | |
7229 | config/i386/uwin.h: Similarly. | |
7230 | ||
76118c11 HB |
7231 | 2002-06-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7232 | ||
6c535c69 | 7233 | * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and |
76118c11 HB |
7234 | flag_inline_trees to enable inlining. |
7235 | ||
9137b119 PE |
7236 | 2002-06-28 Phil Edwards <pme@gcc.gnu.org> |
7237 | ||
7238 | * configure.in (gcc_gxx_include_dir): Change to match versioned | |
7239 | C++ headers if --enable-version-specific-runtime-libs is used. | |
7240 | * configure: Regenerate. | |
7241 | ||
6bdb8dd6 JH |
7242 | 2002-06-28 Jan Hubicka <jh@suse.cz> |
7243 | ||
7244 | * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move. | |
7245 | ||
f1b1186f SC |
7246 | 2002-06-28 Stephen Clarke <stephen.clarke@superh.com> |
7247 | ||
7248 | * combine.c (combine_simplify_rtx): Pass the mode of the | |
7249 | shift count, not the shift operation when trying to simplify | |
7250 | a shift on a SHIFT_COUNT_TRUNCATED target. | |
7251 | ||
ae9bd481 SC |
7252 | 2002-06-28 Stephane Carrez <stcarrez@nerim.fr> |
7253 | ||
7254 | * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to | |
7255 | avoid the auto increment addressing modes. | |
7256 | ("*subsi3"): Likewise. | |
4e314d1f | 7257 | (split for add/sub on address): For 68HC12 push the value on |
ae9bd481 SC |
7258 | the stack and do the operation with a pop. |
7259 | ||
1d63a28a NB |
7260 | 2002-06-28 Neil Booth <neil@daikokuya.co.uk> |
7261 | ||
7262 | * cpplib.c (_cpp_handle_directive): Move #define-specific | |
7263 | code to the #define handler... | |
7264 | (do_define): ...here. | |
7265 | (lex_macro_node): No longer a need to check for comments here. | |
7266 | ||
4caff360 SC |
7267 | 2002-06-28 Stephane Carrez <stcarrez@nerim.fr> |
7268 | ||
7269 | * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define. | |
7270 | * config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options): | |
7271 | Declare. | |
7272 | * config/m68hc11/m68hc11.c (m68hc11_optimization_options): New, | |
7273 | do not reorder basic blocks at the end when optimizing for size. | |
7274 | ||
2cc21497 SC |
7275 | 2002-06-28 Stephane Carrez <stcarrez@nerim.fr> |
7276 | ||
7277 | * config/m68hc11/m68hc11.c (autoinc_mode): New function. | |
7278 | (m68hc11_make_autoinc_notes): New function. | |
7279 | (m68hc11_split_move): Be very cautious when spliting a move with | |
7280 | auto increment/decrement modes because this may result in incompatible | |
7281 | directions; add REG_INC notes to the resulting insn for CSE reg. | |
7282 | ||
3cdd2821 SC |
7283 | 2002-06-28 Stephane Carrez <Stephane.Carrez@nerim.fr> |
7284 | ||
7285 | * config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant | |
7286 | can be a valid address. | |
7287 | ||
e6a82e80 AH |
7288 | 2002-06-28 Aldy Hernandez <aldyh@redhat.com> |
7289 | ||
6c535c69 ZW |
7290 | * config/rs6000/rs6000.c: Remove unusued variables from last |
7291 | patch. | |
e6a82e80 | 7292 | |
a7ae18e2 AH |
7293 | 2002-06-27 Aldy Hernandez <aldyh@redhat.com> |
7294 | ||
7295 | Revert: | |
6c535c69 ZW |
7296 | * config/rs6000/rs6000.c (rs6000_override_options): Move |
7297 | *SUBTARGET_OVERRIDE_OPTIONS before the -m options. | |
a7ae18e2 | 7298 | |
3a9b8c7e AH |
7299 | 2002-06-27 Aldy Hernandez <aldyh@redhat.com> |
7300 | ||
6c535c69 ZW |
7301 | * config/rs6000/rs6000.c (altivec_expand_builtin): Move |
7302 | lvx/stv/dst builtins... | |
7303 | (altivec_expand_ld_builtin): ...to here. | |
7304 | (altivec_expand_st_builtin): ...here. | |
7305 | (altivec_expand_dst_builtin): ...and here (respectively). | |
3a9b8c7e | 7306 | |
5f9dc214 BW |
7307 | 2002-06-28 Bob Wilson <bob.wilson@acm.org> |
7308 | ||
7309 | * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment. | |
7310 | ||
53501a19 BS |
7311 | 2001-06-08 Bernd Schmidt <bernds@redhat.com> |
7312 | ||
7313 | * emit-rtl.c (gen_lowpart_common): Don't create paradoxical FLOAT_MODE | |
7314 | subregs. | |
7315 | * recog.c (general_operand, register_operand): Disallow them. | |
7316 | ||
d1a58688 NB |
7317 | 2002-06-28 Neil Booth <neil@daikokuya.co.uk> |
7318 | ||
7319 | PR preprocessor/7138 | |
7320 | * cpplib.c (_cpp_handle_directive): Do traditional | |
7321 | preparation after setting state.angled_headers. | |
7322 | * cpptrad.c (scan_out_logical_line): Fix potential | |
7323 | quote bug. | |
7324 | ||
55c1c60d AH |
7325 | 2002-06-27 Aldy Hernandez <aldyh@redhat.com> |
7326 | ||
6c535c69 ZW |
7327 | * config/rs6000/rs6000.c (rs6000_override_options): Move |
7328 | *SUBTARGET_OVERRIDE_OPTIONS before the -m options. | |
55c1c60d | 7329 | |
3219c65b BW |
7330 | 2002-06-27 Bob Wilson <bob.wilson@acm.org> |
7331 | ||
7332 | * config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's. | |
7333 | (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start, | |
7334 | zero_cost_loop_end): Remove unnecessary "parallel" from insns. | |
7335 | ||
c8f863fc RS |
7336 | 2002-06-27 Roger Sayle <roger@eyesopen.com> |
7337 | ||
7338 | * config/d30v/d30v.h: Remove commented out STACK_REGS #defines. | |
7339 | * config/stormy16/stormy16.h: Likewise. | |
7340 | ||
7341 | * config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef | |
7342 | with #define. | |
7343 | ||
8d5362b7 GP |
7344 | 2002-06-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7345 | ||
7346 | * doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move | |
7347 | Hitachi entry. Make punctuation more consistent. | |
7348 | ||
57694e40 MK |
7349 | 2002-06-27 Matt Kraai <kraai@alumni.cmu.edu> |
7350 | ||
7351 | * doc/install.texi: Change ` bit' to `-bit'. | |
7352 | * doc/md.texi: Change `-bits' to `-bit'. | |
7353 | * doc/tm.texi: Change `-bits' to ` bits'. | |
7354 | ||
c635a1ec DB |
7355 | 2002-06-27 Daniel Berlin <dberlin@dberlin.org> |
7356 | ||
7357 | * gcse.c (hoist_code): Rewrite to only get list of dominated | |
4e314d1f | 7358 | blocks once per BB. Also fix reversed test (by removing need for |
c635a1ec DB |
7359 | the test at all). |
7360 | ||
951a0766 NB |
7361 | 2002-06-27 Neil Booth <neil@daikokuya.co.uk> |
7362 | ||
7363 | * cpphash.h (_cpp_set_trad_context): Remove. | |
7364 | * cpplib.c (prepare_directive_trad): Do nothing for #define. | |
7365 | (cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context. | |
7366 | * cpptrad.c: Update comments. | |
7367 | (_cpp_read_logical_line_trad): Let scan_logical_line handle | |
7368 | updating the current context. | |
7369 | (scan_logical_line): Update the current context. | |
7370 | (_cpp_create_trad_definition): Similarly. | |
7371 | (_cpp_set_trad_context): Remove. | |
7372 | ||
06470238 NB |
7373 | 2002-06-27 Neil Booth <neil@daikokuya.co.uk> |
7374 | ||
7375 | PR preprocessor/7070 | |
7376 | * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF. | |
7377 | ||
0c14a54d BW |
7378 | 2002-06-26 Bob Wilson <bob.wilson@acm.org> |
7379 | ||
7380 | * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare. | |
7381 | config/xtensa/xtensa.c (xtensa_return_addr): New function. | |
7382 | config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr. | |
7383 | config/xtensa/xtensa.md (fix_return_addr): New pattern. | |
7384 | ||
e9873fd5 KG |
7385 | 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7386 | ||
7387 | * mips.c (coprocessor_operand, coprocessor2_operand, | |
7388 | symbolic_operand): Move prototypes from here... | |
7389 | * mips-protos.h (coprocessor_operand, coprocessor2_operand, | |
7390 | symbolic_operand): ...to here. | |
7391 | ||
650e8d05 R |
7392 | Wed Jun 26 16:32:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7393 | ||
7394 | * config/sh/crt1.asm: remove _stack label definition | |
7395 | and sentinel value. | |
7396 | ||
c7836bcd KG |
7397 | 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7398 | ||
7399 | * varasm.c: Include real.h before output.h. | |
7400 | ||
6e1f54e2 AH |
7401 | 2002-06-26 Aldy Hernandez <aldyh@redhat.com> |
7402 | ||
6c535c69 ZW |
7403 | * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to |
7404 | check for TARGET_ALTIVEC. | |
6e1f54e2 | 7405 | |
18fbcbcf NN |
7406 | 2002-06-26 Nathanael Nerode <neroden@gcc.gnu.org> |
7407 | ||
7408 | * config.gcc (vax-*-vms*): Make obselete. | |
7409 | ||
09bed167 KG |
7410 | 2002-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7411 | ||
7412 | * gcc.c (warn_std): Delete. | |
7413 | ||
8254cb45 LR |
7414 | 2002-06-25 Loren J. Rittle <ljrittle@acm.org> |
7415 | ||
7416 | * doc/extend.texi: Fix formatting of last checkin. | |
7417 | ||
f9ee10ab RO |
7418 | 2002-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7419 | ||
7420 | * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading | |
7421 | underscore from __IEEE_FP and __IEEE_FP_INEXACT. | |
7422 | ||
90989b26 AH |
7423 | 2002-06-25 Aldy Hernandez <aldyh@redhat.com> |
7424 | ||
6c535c69 ZW |
7425 | * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document |
7426 | discrepancies from motorola's documentation. | |
90989b26 | 7427 | |
9881adff R |
7428 | Tue Jun 25 21:51:13 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7429 | ||
7430 | * optabs.c (expand_vector_binop, expand_vector_unop): Don't assume | |
7431 | GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD. | |
4de1b7a9 | 7432 | |
4e314d1f | 7433 | * config/sh/lib1funcs.asm (udivdi3): Make first divide step |
4de1b7a9 R |
7434 | produce a 32 bit result before normalization, then normalize with a |
7435 | left shift. Compute approximative error of 2nd reciprocal | |
7436 | approximation in 2's complement. Fix mask generation from upper | |
7437 | longword of second divide stage result. | |
7438 | For large divisor, fix shift count used to truncate first stage | |
7439 | divide result; make decision if to adjust upwards based on comparison | |
7440 | of higher parts of normalized values. | |
7441 | (udivdi): Likewise. Undo normalization of result for large divisor | |
7442 | case. | |
7443 | ||
16b46035 DM |
7444 | 2002-06-25 David S. Miller <davem@redhat.com> |
7445 | ||
7446 | * config/sparc/sparc.md: Change \\{t,n} to \{t,n}. | |
7447 | ||
0c6db544 NB |
7448 | 2002-06-25 Neil Booth <neil@daikokuya.co.uk> |
7449 | ||
7450 | * cpplib.c (do_include_common): Revert to correct line number | |
7451 | if -traditional. | |
7452 | * cpptrad.c (scan_out_logical_line): Treat null directive as | |
7453 | white space. Invlidate MI optimization for non-whitespace | |
7454 | text outside a directive. | |
7455 | ||
eef709c7 KG |
7456 | 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7457 | ||
b41e09a7 KG |
7458 | * Makefile.in (SHELL): Set to @SHELL@. |
7459 | * fixinc/Makefile.in (SHELL): Likewise. | |
7460 | ||
eef709c7 KG |
7461 | * mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2, |
7462 | fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate | |
7463 | initialization. | |
7464 | ||
b0ac73f8 JL |
7465 | 2002-06-24 Jeff Law <law@redhat.com> |
7466 | ||
7467 | * flow.c (propagate_one_insn): When removing an insn | |
7468 | with a REG_LIBCALL note but not the entire libcall sequence, | |
7469 | delete the associated REG_RETVAL note. | |
7470 | ||
9e96203d R |
7471 | Mon Jun 24 21:05:09 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7472 | ||
7473 | * lib1funcs.asm (sdivsi3): Add optimized SH64 implementations. | |
7474 | (udivsi3): Likewise. Rewrite SH1 implementation. | |
7475 | (udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions. | |
7476 | * sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants. | |
7477 | (udivsi3_i1_media, divsi3_i1_media): Fix clobber list. | |
7478 | * config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add. | |
7479 | (_moddi3): Likewise. | |
7480 | ||
7481 | * lib1funcs.asm (ic_invalidate): Add data cache line writeback. | |
87912be7 R |
7482 | |
7483 | * sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK | |
7484 | arguments into account for stack_regs. | |
7485 | ||
0d893a63 MK |
7486 | 2002-06-24 Matt Kraai <kraai@alumni.cmu.edu> |
7487 | ||
7488 | * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' | |
7489 | in examples. | |
4e314d1f | 7490 | |
04a5176a AH |
7491 | 2002-06-24 Art Haas <ahaas@neosoft.com> |
7492 | ||
7493 | * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'. | |
7494 | * doc/tm.texi (Frame Layout): Likewise. | |
7495 | ||
cad61762 | 7496 | 2002-06-20 Steve Ellcey <sje@cup.hp.com> |
ec52b446 | 7497 | |
cad61762 SE |
7498 | * gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no. |
7499 | Set float_format to i128. | |
7500 | ||
556a56ac DM |
7501 | 2002-06-24 David S. Miller <davem@redhat.com> |
7502 | ||
7503 | * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the | |
7504 | 32-bit ABI libfuncs to NULL. | |
7505 | ||
563facba DM |
7506 | * config/sparc/sparc.md: Use define_insn_and_split. Use braced |
7507 | strings instead of quoted strings for code blocks. | |
b776892b | 7508 | |
556a56ac DM |
7509 | * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift |
7510 | optabs if op1 is const0_rtx. | |
7511 | ||
a8106207 DM |
7512 | * Makefile.in (GTFILES): Add basic-block.h |
7513 | * basic-block.h (label_value_list, tail_recursion_label_list): | |
7514 | Mark with GTY. | |
7515 | ||
2c088b53 NB |
7516 | 2002-06-24 Neil Booth <neil@daikokuya.co.uk> |
7517 | ||
7518 | * cpptrad.c (scan_out_logical_line): Check recursing only when | |
7519 | we know we have a macro invocation in the function-like case. | |
7520 | Only call _cpp_handle_directive if we know we have a good | |
7521 | directive, or we want to reject a bad directive. | |
7522 | ||
0228d06b AM |
7523 | 2002-06-24 Alan Modra <amodra@bigpond.net.au> |
7524 | ||
7525 | * doloop.c (doloop_valid_p): Correct comment. | |
7526 | (doloop_modify_runtime <abs_inc != 1>): Simplify. | |
7527 | (doloop_modify_runtime <do-while>): Don't emit code when NE. | |
7528 | ||
2f9021d3 DC |
7529 | Thu Jun 20 00:26:53 2002 Denis Chertykov <denisc@overta.ru> |
7530 | ||
7531 | * config.gcc: Add support for ip2k. | |
7532 | ||
bc9c2952 | 7533 | 2002-06-23 Jan Hubicka <jh@suse.cz> |
f81a79ef JH |
7534 | Jeff Law <law@redhat.com> |
7535 | ||
7536 | * function.h (struct emit_status): Clarify potential contents | |
7537 | of regno_reg_rtx array. | |
7538 | * integrate.c (copy_rtx_and_substitute): Update comments. Make | |
7539 | sure entry in regno_reg_rtx is a REG before checking REG_POINTER. | |
bc9c2952 AJ |
7540 | |
7541 | * reg-stack.c (convert_regs_exit): Push the registers to stack in | |
7542 | proper order. | |
7543 | ||
faa964e5 UW |
7544 | 2002-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
7545 | ||
7546 | PR middle-end/6963 | |
7547 | * function.c (assign_stack_temp_for_type): Do not return | |
7548 | the same MEM rtx for multiple uses of a stack slot. | |
7549 | ||
7ae3e57c DM |
7550 | 2002-06-22 David S. Miller <davem@redhat.com> |
7551 | ||
7552 | PR target/6841 target/6770 target/6719 | |
7553 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return | |
7554 | NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or | |
7555 | GENERAL_OR_EXTRA_FP_REGS. | |
7556 | ||
847c76c8 NB |
7557 | 2002-06-22 Neil Booth <neil@daikokuya.co.uk> |
7558 | ||
7559 | * cpptrad.c (struct fun_macro): Add line number. | |
7560 | (scan_out_logical_line): Set it, and use it to report unterminated | |
7561 | macro invocations. | |
7562 | ||
813674e0 KG |
7563 | 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7564 | ||
7565 | * genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND, | |
7566 | VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD, | |
7567 | DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE, | |
7568 | DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT, | |
7569 | REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF, | |
7570 | REGEXP_ONEOF, check_name): Const-ify. | |
7571 | ||
23361093 MT |
7572 | 2002-06-21 Matt Thomas <matt@3am-software.com> |
7573 | ||
7574 | * config/vax/vax.c (vax_output_function_prologue): Use | |
bc9c2952 | 7575 | REGISTER_PREFIX. Fix some indentation. |
23361093 MT |
7576 | * config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[]. |
7577 | (VAX_ISTREAM_SYNC): Define. | |
7578 | (INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC. Move the | |
bc9c2952 AJ |
7579 | i-stream sync to the end. |
7580 | (REGISTER_PREFIX): Define as "". | |
23361093 MT |
7581 | (ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX. |
7582 | ||
1c655a0d JT |
7583 | 2002-06-21 Jason Thorpe <thorpej@wasabisystems.com> |
7584 | ||
7585 | * config.gcc (ns32k-*-netbsd*): Remove from list of obsolete | |
7586 | configurations. | |
7587 | ||
3e16bfe2 KG |
7588 | 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7589 | ||
7590 | * tree.c (tree_node_kind, tree_node_counts, tree_node_sizes, | |
7591 | tree_node_kind_names): Wrap in GATHER_STATISTICS macro. | |
7592 | ||
6b0760fd MT |
7593 | 2002-06-21 Matt Thomas <matt@3am-software.com> |
7594 | ||
7595 | * config/vax/netbsd.h: Adjust a comment. | |
7596 | (TARGET_DEFAULT): Redefine as 0. | |
7597 | ||
31a78298 RH |
7598 | 2002-06-21 Richard Henderson <rth@redhat.com> |
7599 | ||
7600 | * bb-reorder.c (make_reorder_chain_1): Search harder for the | |
bc9c2952 AJ |
7601 | vax casesi fallthru edge. |
7602 | * cfglayout.c (cleanup_unconditional_jumps): Use | |
31a78298 RH |
7603 | redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead. |
7604 | * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection | |
7605 | block after ADDR_VEC. | |
7606 | ||
d8bf1785 RO |
7607 | 2002-06-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7608 | ||
7609 | * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o. | |
7610 | ||
00b94a44 NB |
7611 | 2002-06-21 Neil Booth <neil@daikokuya.co.uk> |
7612 | ||
7613 | * cpperror.c (cpp_error): For traditional CPP, default to | |
7614 | diagnostics on pfile->line. | |
7615 | * cpplib.c (prepare_directive_trad): Set line number for | |
7616 | diagnostics for #define too. | |
7617 | * cpptrad.c (skip_whitespace): Skip comments properly. | |
7618 | (_cpp_expansions_different_trad): Initialize quote2. | |
7619 | ||
c583c5c3 HPN |
7620 | 2002-06-21 Hans-Peter Nilsson <hp@bitrange.com> |
7621 | ||
7622 | * config/mmix/mmix.md: Change GNU CC to GCC in file header comment. | |
7623 | * config/mmix/mmix.h: Ditto. | |
7624 | * config/mmix/mmix-protos.h: Ditto. | |
7625 | * config/mmix/mmix.c: Ditto. Fix typo in comment. | |
7626 | * config/mmix/mmix-modes.def: Change GNU CC to GCC in file header | |
7627 | comment. Comment extra CC modes. | |
7628 | ||
1292ec0c JH |
7629 | 2002-06-20 Jan Hubicka <jh@suse.cz> |
7630 | ||
7631 | * cfglayout.c (scope_to_insns_initialize): Call set_block_levels. | |
7632 | (scope_to_insns_finalize): Do not call set_block_levels; handle | |
7633 | sequences. | |
7634 | (choose_inner_scope): New. | |
7635 | * rtl.h (choose_inner_scope): Declare. | |
7636 | ||
0f8e3849 JDA |
7637 | 2002-06-20 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7638 | ||
7639 | * pa-protos.h (pa_asm_output_mi_thunk): Change third argument to | |
7640 | HOST_WIDE_INT. | |
7641 | * pa.c (pa_asm_output_mi_thunk): Likewise. | |
7642 | (n_deferred_plabels): Change type to size_t. | |
7643 | (output_deferred_plabels, output_call): Use size_t instead of int. | |
7644 | ||
0655301f RH |
7645 | 2002-06-20 Richard Henderson <rth@redhat.com> |
7646 | ||
7647 | PR target/4041 | |
7648 | * config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate | |
7649 | pattern and adjust constraints for coldfire. | |
7650 | ||
2b3aadfc RH |
7651 | 2002-06-20 Richard Henderson <rth@redhat.com> |
7652 | ||
7653 | * explow.c (probe_stack_range): Use gen_rtx_fmt_ee. | |
7654 | ||
5c44e275 CD |
7655 | 2002-06-20 Chris Demetriou <cgd@broadcom.com> |
7656 | ||
7657 | * config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets. | |
7658 | ||
8fff5435 CD |
7659 | 2002-06-20 Chris Demetriou <cgd@broadcom.com> |
7660 | ||
7661 | * config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use. | |
7662 | ||
8a67e083 SS |
7663 | 2002-06-20 Stan Shebs <shebs@apple.com> |
7664 | ||
7665 | * dominance.c: Include errors.h instead of error.h. | |
7666 | ||
017acb41 NB |
7667 | 2002-06-20 Neil Booth <neil@daikokuya.co.uk> |
7668 | ||
7669 | * cppexp.c (cpp_interpret_integer): Don't force traditional | |
7670 | numbers to be unsigned. | |
7671 | * cpplib.c (prepare_directive_trad): Set line number for | |
7672 | diagnostics. | |
7673 | * cpptrad.c (scan_out_logical_line): Continue scanning out | |
7674 | at start of buffer. | |
7675 | * gcc.c (trad_capable_cpp): Use cc1 always. | |
7676 | ||
0ed4a390 JL |
7677 | 2002-06-20 Jeffrey Law <law@redhat.com> |
7678 | ||
7679 | * i386.h (TARGET_DEFAULT): Do not turn on frame pointer | |
7680 | elimination in leaf functions by default yet. | |
7681 | ||
988ef418 RS |
7682 | 2002-06-20 Richard Sandiford <rsandifo@redhat.com> |
7683 | ||
7684 | * combine.c (make_extraction): Reapply to the argument of an ASHIFT. | |
7685 | ||
0ab2e54b RO |
7686 | 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7687 | ||
7688 | * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for | |
7689 | multilibs. | |
7690 | * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o. | |
d8bf1785 | 7691 | Fixes PR other/6836. |
0ab2e54b | 7692 | |
355be0dc JH |
7693 | Thu Jun 20 19:42:21 CEST 2002 Jan Hubicka <jh@suse.cz> |
7694 | Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> | |
7695 | ||
7696 | Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz> | |
7697 | ||
7698 | * basic-block.h: Do not include et-forest.h | |
7699 | (dominance_info): Declare as struct dominance-info. | |
7700 | * cfglayout.c (cleanup_unconditional_jumps): Remove the edge before | |
7701 | deleting block. | |
7702 | * dominance.c (struct dominance_info): Define. | |
7703 | (BB_NODE, SET_BB_NODE): New macros. | |
7704 | (bb_hash_func, bb_eq_func): Kill. | |
7705 | (calculate_dominace_info, free_dominacne_info, set_immediate_dominator, | |
7706 | nearest_common_dominator, dominated_by_p, recount_dominator, | |
7707 | add_to_dominance_info, delete_from_dominance_info): update for new | |
7708 | representation. | |
7709 | (get_dominated_by, redirect_immediate_dominators): Rewrite using | |
7710 | enumerate_sons. | |
7711 | * ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap, | |
7712 | find_if_case_1, find_if_case_2): Remove killed blocks from dominance | |
7713 | structure. | |
7714 | ||
7715 | * et-forest.h: Update copyright; revamp all function to operate on | |
7716 | nodes | |
7717 | (et_forest_value): Kill. | |
7718 | (et_forest_enumerate_sons, et_forest_node_value): New. | |
7719 | * et-forest.c: Update copyright. | |
7720 | * et-forest.h: Update copyright; revamp all function to operate on | |
7721 | nodes | |
7722 | (et_forest_value): Kill. | |
7723 | (et_forest_enumerate_sons, et_forest_node_value): New. | |
7724 | ||
7725 | Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz> | |
7726 | ||
7727 | * basic-block.h: Inlude et-forest.h | |
7728 | (basic_block_def): Kill dominator. | |
7729 | (dominance_info): New type. | |
7730 | (loops): Use dominace_info. | |
7731 | (dominace handling functions): Take dominace_info as argument | |
7732 | instead of bitmaps. | |
7733 | (create_preheader): Likewise. | |
7734 | * cfg.c (entry_exit_blocks): Kill dominator. | |
7735 | (dump_flow_info): Do not dump dominators. | |
7736 | * cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from | |
7737 | dominators. | |
7738 | * cfgloop.c (flow_pre_header_find): Use dominacne_info. | |
7739 | (flow_loops_pre_header_scan, make_forwarder_block, | |
7740 | canonicale_loop_headers, flow_loops_find): Likewise. | |
7741 | * dominance.c: Include error.h | |
7742 | (idoms_to_doms): Kill. | |
7743 | (bb_hash_func, bb_eq_func): New static functions. | |
7744 | (debug_dominace_info): New global function. | |
7745 | (calculate_dominance_info): Use new et forest structure. | |
7746 | (free_dominace_info, get_immediate_dominator, set_immediate_dominator, | |
7747 | get_dominated_by, redirect_immediate_dominators, | |
7748 | nearest_common_dominator, dominated_by_p, verify_dominators, | |
7749 | recount_dominator, iterate_fix_dominators, add_to_dominace_info, | |
7750 | delete_from_dominance_info): New global functions. | |
7751 | * gcse.c (domnators): CHange to dominance_info. | |
7752 | (alloc_hoist_mem): Do not alloc dominators | |
7753 | (free_code_hoist_mem): Use free_dominance_info. | |
7754 | (compute_code_hoist_data): Use dominance_info. | |
7755 | (hoist_code): Likewise. | |
7756 | * ifcvt.c (post_dominators): Likewise. | |
7757 | (find_if_case_2, if_convert): Likewise. | |
7758 | * predict.c (process_note_predictions, process_note_prediction, | |
7759 | estimate-probability): Likewise. | |
7760 | * sched-rgn.c (find_rgns, init_regions): Likewise. | |
7761 | * ssa-dce.c (find_all_control_dependences, fint_control_depemndence, | |
7762 | find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise. | |
7763 | * ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers, | |
7764 | find_evaluations, convert_to_ssa): Likewise. | |
7765 | * ssa.h (compute_dominance_frontiers): Likewise. | |
7766 | ||
7767 | Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> | |
7768 | ||
7769 | * Makefile.in (et-forest.c): Add. | |
7770 | * et-forest.c: New file. | |
7771 | * at-forest.h: New file. | |
7772 | ||
ef9772c8 KG |
7773 | 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7774 | ||
62c71f4b KG |
7775 | * c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit |
7776 | array size calculation. | |
7777 | * gengtype.c (NUM_BASE_FILES, create_file, write_gc_root): | |
7778 | Likewise. | |
7779 | ||
ef9772c8 KG |
7780 | * diagnostic.c (diagnostic_kind_text): Const-ify. |
7781 | * gengtype.c (lang_names): Likewise. | |
7782 | ||
b0dd4808 JH |
7783 | Thu Jun 20 17:25:29 CEST 2002 JAn HUbicka <jh@suse.cz> |
7784 | ||
7785 | * combine.c (subst): Be prepared for simplify_subreg to return VOIDmode. | |
7786 | ||
8433a25e RO |
7787 | 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7788 | ||
7789 | * config/sol2.h: New file. | |
7790 | * config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h. | |
7791 | (sparc64-wrs-vxworks*): Include it before sparc/sol2.h. | |
7792 | (sparc-*-chorusos*): Likewise. | |
7793 | (sparc-*-elf*): Likewise. | |
7794 | (sparc-*-rtems*, sparc-*-rtemself*): Likewise. | |
7795 | (sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise. | |
7796 | (sparc-hal-solaris2*): Likewise. | |
7797 | (sparc-*-solaris2*): Likewise. | |
7798 | (sparclite-*-elf*): Likewise. | |
7799 | (sparc86x-*-elf*): Likewise. | |
7800 | (sparc64-*-elf*): Likewise. | |
bc9c2952 | 7801 | |
8433a25e RO |
7802 | * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to |
7803 | config/sol2.h. | |
7804 | (ASM_SPEC): Override config/sol2.h version for now. | |
7805 | Removed obsolete GAS_REJECTS_MINUS_S variant. | |
7806 | (WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h. | |
7807 | (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise. | |
7808 | (TARGET_OS_CPP_BUILTINS): Likewise. | |
7809 | Assert system=unix. | |
7810 | (CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC. | |
7811 | (LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to | |
7812 | config/sol2.h. | |
7813 | (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise. | |
7814 | (ASM_CPU_SPEC): Define. | |
7815 | (SUBTARGET_EXTRA_SPECS): Define. | |
bc9c2952 | 7816 | |
8433a25e RO |
7817 | * config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already |
7818 | in config/sparc/sol2.h. | |
7819 | (ASM_SPEC): Moved to config/sol2.h. | |
7820 | (CPP_CPU_SPEC): Simplified. | |
7821 | (STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for | |
7822 | consistency. | |
7823 | (STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC. | |
7824 | (STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC, | |
7825 | STARTFILE_ARCH64_SPEC. | |
7826 | (STARTFILE_SPEC): Moved to config/sol2.h | |
7827 | (SUBTARGET_EXTRA_SPECS): Add startfile_arch. | |
7828 | (LINK_ARCH32_SPEC): Moved to config/sol2.h. | |
7829 | (LINK_ARCH64_SPEC): Simplified. | |
7830 | (LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support. | |
7831 | (LINK_SPEC): Moved to config/sol2.h | |
bc9c2952 | 7832 | |
8433a25e RO |
7833 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to |
7834 | config/sol2.h. | |
7835 | Use BITS_PER_WORD for size. | |
7836 | (WINT_TYPE, WINT_TYPE_SIZE): Likewise. | |
7837 | (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise. | |
7838 | (CPP_PREDEFINES): Removed OS-specific part handled by | |
7839 | TARGET_OS_CPP_BUILTINS. | |
7840 | (CPP_SUBTARGET_SPEC): Moved to config/sol2.h. | |
7841 | (CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS. | |
7842 | (ASM_SPEC): Moved to config/sol2.h. | |
7843 | (PREFERRED_DEBUGGING_TYPE): Likewise. | |
7844 | (STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise. | |
7845 | (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise. | |
7846 | (TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version. | |
7847 | (TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h | |
bc9c2952 | 7848 | |
8433a25e RO |
7849 | * config.gcc (i?86-*-solaris2*): Removed obsolete gas support. |
7850 | * config/i386/sol2gas.h: Removed. | |
7851 | ||
b6bb1d56 JH |
7852 | Thu Jun 20 12:14:01 CEST 2002 Jan Hubicka <jh@suse.cz> |
7853 | ||
7854 | * i386.md (xorqi_1_slp, xorqi_2_slp): New patterns. | |
7855 | ||
e50b19ce | 7856 | 2002-06-16 Aldy Hernandez <aldyh@redhat.com> |
4e314d1f | 7857 | |
e50b19ce AH |
7858 | * gcc.c-torture/execute/simd-1.c: New. |
7859 | ||
7860 | * gcc.dg/simd-1.c: New. | |
7861 | ||
7862 | * doc/extend.texi (Vector Extensions): Document that we can | |
7863 | specify simd types not specifically supported by the hardware. | |
7864 | Document that simd types can be used as function arguments. | |
7865 | Document that signness does make a difference in SIMD types. | |
7866 | Misc cleanups and revisions to the vector extensions section. | |
7867 | ||
7868 | * simplify-rtx.c (simplify_subreg): Simplify subregs of vector | |
7869 | constants. | |
7870 | ||
7871 | * expr.c (vector_mode_valid_p): New. | |
7872 | ||
7873 | * expr.h: Add vector_mode_valid_p. | |
7874 | ||
7875 | * defaults.h (VECTOR_MODE_SUPPORTED_P): Set default. | |
7876 | ||
7877 | * c-common.c (type_for_mode): Always build vector nodes regardless | |
7878 | of VECTOR_MODE_SUPPORTED_P. | |
7879 | (handle_mode_attribute): Error if we can't emulate a nonexisting | |
7880 | vector mode. | |
7881 | (handle_vector_size_attribute): Same. | |
7882 | ||
7883 | * optabs.c (expand_binop): Open-code vector operations. | |
7884 | (expand_unop): Open-code vector unops. | |
7885 | (expand_vector_binop): New. | |
7886 | (expand_vector_unop): New. | |
4e314d1f | 7887 | |
e50b19ce AH |
7888 | * c-typeck.c (build_binary_op): Allow vectors in binops. |
7889 | Allow vectors in conditional operatiors. | |
7890 | (build_unary_op): Allow vectors in unary minus. | |
7891 | ||
7892 | * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on | |
7893 | TARGET_ALTIVEC. | |
7894 | ||
74d86f4f RH |
7895 | 2002-05-20 Richard Henderson <rth@redhat.com> |
7896 | ||
7897 | * c-common.c (c_common_get_alias_set): Correctly handle characters. | |
7898 | Rearrange order of expressions; don't handle vectors here. | |
7899 | * alias.c (get_alias_set): Let vectors match their components. | |
7900 | ||
1867b624 CD |
7901 | 2002-06-19 Chris Demetriou <cgd@broadcom.com> |
7902 | ||
6c535c69 | 7903 | * config/mips/mips.c (mips_emit_prefetch): Use hints which |
1867b624 CD |
7904 | match desired locality. |
7905 | ||
2c1d2fcb DD |
7906 | 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
7907 | ||
7908 | * config/h8300/h8300.c (TARGET_INSERT_ATTRIBUTES): Define. | |
7909 | (h8300_insert_attributes): New. | |
7910 | ||
84d901be AD |
7911 | 2002-06-19 Akim Demaille <akim@epita.fr> |
7912 | ||
7913 | * c-parse.in (initelt: identifier ':' initval): Add an empty | |
7914 | action to fix a type clash. | |
7915 | (aliasdecl, classdef): Add the missing closing `;'. | |
7916 | Whitespace changes. | |
7917 | * gengtype-yacc.y (typedef_struct): Add an empty action to preevnt | |
7918 | $$ = $1 type clashes. | |
7919 | ||
8f2e3902 EC |
7920 | 2002-06-19 Eric Christopher <echristo@redhat.com> |
7921 | ||
7922 | * config/mips/mips.c (symbol_operand): New function. | |
7923 | (mips_emit_prefetch): Ditto. | |
7924 | * config/mips/mips-protos.h: Define. | |
7925 | * config/mips/mips.h (ISA_HAS_PREFETCH): Define. | |
7926 | (CONSTANT_ADDRESS_P): Adjust, use TARGET_GAS. | |
7927 | (LEGITIMIZE_ADDRESS): Ditto. | |
7928 | * config/mips/mips.md (prefetch, prefetch_si_address, | |
7929 | prefetch_si, prefetch_di_address, prefetch_di): New patterns. | |
7930 | ||
c894819c EC |
7931 | 2002-06-19 Eric Christopher <echristo@redhat.com> |
7932 | ||
7933 | * config/fp-bit.h: Add unordered defines for gofast. | |
7934 | ||
4005971c VM |
7935 | 2002-06-19 Vladimir Makarov <vmakarov@redhat.com> |
7936 | ||
7937 | * genautomata.c (DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, | |
7938 | DECL_EXCL, DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV, | |
7939 | DECL_INSN_RESERV, REGEXP_UNIT, REGEXP_RESERV, REGEXP_SEQUENCE, | |
7940 | REGEXP_REPEAT, REGEXP_ALLOF, REGEXP_ONEOF): New macros with | |
7941 | checking and without it. | |
7942 | (decl_name, decl_mode_check_failed, regexp_name, | |
7943 | regexp_mode_check_failed): New functions. | |
7944 | (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set, | |
7945 | gen_presence_set, gen_absence_set, gen_automaton, | |
7946 | gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof, | |
7947 | gen_regexp_sequence, gen_reserv, gen_insn_reserv, | |
7948 | automaton_decl_hash, automaton_decl_eq_p): Use the macros. | |
7949 | (find_automaton_decl): Ditto. Set up mode of work_automaton_decl. | |
7950 | (insn_decl_hash, insn_decl_hash, insn_decl_eq_p): Use the macros. | |
7951 | (find_insn_decl): Ditto. Set up mode of work_insn_decl. | |
7952 | (decl_hash, decl_eq_p): Use the macros. | |
7953 | (find_decl): Ditto. Set up mode of work_decl. | |
7954 | (process_excls, process_presence_absence, process_decls, | |
7955 | check_automaton_usage, process_regexp, process_regexp_decls, | |
7956 | check_usage, loop_in_regexp, check_loops_in_regexps, | |
7957 | process_regexp_cycles, add_advance_cycle_insn_decl, | |
7958 | initiate_states, initiate_excl_sets, | |
7959 | initiate_presence_absence_sets, copy_insn_regexp, transform_1, | |
7960 | transform_2): Use the macros. | |
7961 | (transform_3): Ditto. Check mode before making transformations of | |
7962 | ALLOF. | |
7963 | (regexp_transform_func, transform_insn_regexps, | |
7964 | process_unit_to_form_the_same_automaton_unit_lists, | |
7965 | form_the_same_automaton_unit_lists_from_regexp, | |
7966 | form_the_same_automaton_unit_lists, | |
7967 | process_seq_for_forming_states, process_alts_for_forming_states, | |
7968 | create_alt_states, form_ainsn_with_same_reservs, make_automaton, | |
7969 | form_arcs_marked_by_insn, NDFA_to_DFA, set_new_cycle_flags, | |
7970 | estimate_one_automaton_bound, compare_max_occ_cycle_nums, | |
7971 | units_to_automata_heuristic_distr, create_ainsns, | |
7972 | units_to_automata_distr, create_automata): Use the macros. | |
7973 | (form_regexp): Ditto. Fix typo in access to fields of ALLOF. | |
7974 | (longest_path_length, min_issue_delay_pass_states, | |
7975 | output_dead_lock_vect, output_tables, output_insn_code_cases, | |
7976 | output_internal_insn_latency_func, output_print_reservation_func, | |
7977 | output_description, output_automaton_units, generate): Use the | |
7978 | macros. | |
7979 | (make_insn_alts_attr): Ditto. Check case when there are not | |
7980 | alternatives in the reservation. | |
7981 | (make_internal_dfa_insn_code_attr, make_default_insn_latency_attr, | |
7982 | make_bypass_attr, form_important_insn_automata_lists, | |
7983 | expand_automata): Use the macros. | |
c894819c | 7984 | |
015089dd TJ |
7985 | 2002-06-20 Tim Josling <tej@melbpc.org.au> |
7986 | ||
7987 | * Makefile.in: Clean up code to check for misspecified languages | |
7988 | in enable-languages. | |
7989 | ||
7999462c AP |
7990 | 2002-06-19 Andrew Pinski <pinskia@physics.uc.edu> |
7991 | ||
84d901be | 7992 | * cpptrad.c (_cpp_replacement_text_len): initialize len. |
7999462c | 7993 | |
9c8d079c JM |
7994 | 2002-06-19 Jason Merrill <jason@redhat.com> |
7995 | ||
7996 | * Makefile.in (unstrap, restrap): New targets. | |
7997 | (bootstrap): Mention restrap. | |
7998 | ||
d90a95fb MK |
7999 | 2002-06-19 Matt Kraai <kraai@alumni.cmu.edu> |
8000 | ||
8001 | * except.c (ehl_free): Remove. | |
8002 | ||
8003 | * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Correct misnamings of | |
8004 | builtin_define and builtin_define_std. | |
8005 | ||
f01a0d8d ID |
8006 | 2002-06-19 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
8007 | ||
8008 | * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's. | |
8009 | (sCOND): Restrict operand class so that gcc knows how to reload them. | |
8010 | (bitfield_set): Merge two unnamed insn's using alternatives. | |
8011 | (call_value): Remove constraint on unused uperand. | |
8012 | (udivmodhi4, udivmodsi4, udivmoddihi4_internal): Remove. | |
8013 | (udivmoddiqi4_internal, udivmoddihi4, udivmoddiqi4): Remove. | |
c894819c | 8014 | |
f01a0d8d ID |
8015 | * longlong.h (count_trailing_zeros): Escape newline and beautify. |
8016 | ||
62363d99 MM |
8017 | 2002-06-19 Mark Mitchell <mark@codesourcery.com> |
8018 | ||
8019 | * Makefile.in (QMTEST_DIR): Simplify definition. | |
8020 | ||
099bd656 NC |
8021 | 2002-06-19 Nick Clifton <nickc@cambridge.redhat.com> |
8022 | ||
8023 | * config/d30v/d30v.h (CUMULATIVE_ARGS): Replace typedef with | |
8024 | #define. | |
8025 | ||
278c4662 NB |
8026 | 2002-06-19 Neil Booth <neil@daikokuya.co.uk> |
8027 | ||
8028 | * cpphash.h (struct cpp_reader): Make date and time strings. | |
8029 | (_cpp_builtin_macro_text, _cpp_copy_replacement_text, | |
8030 | _cpp_replacement_text_len): New. | |
8031 | * cppinit.c (cpp_create_reader): Update. | |
8032 | (init_builtins): Register appropriate builtins for -traditional-cpp. | |
8033 | * cppmacro.c (new_number_token): Remove. | |
8034 | (_cpp_builtin_macro_text): New. | |
8035 | (builtin_macro): Use it. | |
8036 | (cpp_macro_definition): Update to handle traditional macros. | |
8037 | * cppmain.c (cb_line_change): Don't do column positioning for | |
8038 | traditional output. | |
8039 | * cpptrad.c (enum ls): Rename ls_fun_macro to ls_fun_open. New | |
8040 | state ls_fun_close. | |
8041 | (skip_whitespace): Fix. | |
8042 | (maybe_start_funlike): Don't set state.parsing_args. | |
8043 | (scan_out_logical_line): Remove duplicate error. Use lex_state | |
8044 | rather than state.parsing_args. | |
8045 | (push_replacement_text): Handle builtins. | |
8046 | (_cpp_replacement_text_len, _cpp_copy_replacement_text): New. | |
8047 | ||
afd1930f | 8048 | 2002-06-18 Hans-Peter Nilsson <hp@axis.com> |
f01a0d8d | 8049 | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
afd1930f HPN |
8050 | |
8051 | * config/fp-bit.c (_fpmul_parts, _fpdiv_parts): Mark with | |
8052 | attribute __always_inline__. | |
8053 | ||
5ee924c2 BW |
8054 | 2002-06-18 Bob Wilson <bob.wilson@acm.org> |
8055 | ||
8056 | * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic | |
8057 | when generating the call to _mcount. | |
8058 | (NO_PROFILE_COUNTERS): Define. | |
8059 | ||
32c36ac8 RH |
8060 | 2002-06-18 Richard Henderson <rth@redhat.com> |
8061 | ||
8062 | * print-rtl.c (print_rtx): Adjust NOTE argument numbers for | |
8063 | 2002-06-02 change. | |
8064 | ||
c985dc5e R |
8065 | Tue Jun 18 20:53:32 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8066 | ||
8067 | * t-sh (MULTILIB_EXCEPTIONS): Set to ml. | |
8068 | config/sh/t-linux (MULTILIB_EXCEPTIONS): Clear. | |
8069 | * config/sh/t-netbsd (MULTILIB_EXCEPTIONS): Likewise. | |
8070 | * config/sh/t-sh64 (MULTILIB_EXCEPTIONS): Likewise. | |
e3ba8d11 R |
8071 | |
8072 | * sh-protos.h (sh_pr_interrupt): Declare. | |
8073 | * sh.c (sh_pr_interrupt): New function. | |
8074 | (print_operand, calc_live_regs, sh_expand_prologue): Use it. | |
8075 | (sh_hard_regno_rename_ok): Likewise. | |
8076 | * sh.h (NORMAL_MODE): FP_MODE_NONE for interupt handlers. | |
8077 | ||
e3c8eb86 VM |
8078 | 2002-06-18 Vladimir Makarov <vmakarov@redhat.com> |
8079 | ||
8080 | * rtl.def (DEFINE_AUTOMATON): Add description of new options | |
8081 | `time' and `v'. Fix incorrect description of option `w'. | |
8082 | ||
8083 | * doc/md.texi: Ditto. | |
8084 | ||
8085 | * genautomata.c (TIME_OPTION, V_OPTION): New macros. | |
8086 | (gen_automata_option): Process the new options. | |
8087 | (transform_2, transform_3): Initialize some variables. | |
8088 | (initiate_automaton_gen): Use the new macros. | |
c894819c | 8089 | |
b2471838 RS |
8090 | 2002-06-18 Richard Sandiford <rsandifo@redhat.com> |
8091 | ||
8092 | * config/mips/mips-protos.h (mips_initial_elimination_offset): Declare. | |
8093 | (mips_set_return_address, mips_restore_gp): Declare. | |
8094 | * config/mips/mips.h (struct mips_frame_info): Move to mips.c | |
8095 | (current_frame_info): Remove. | |
8096 | (INITIAL_ELIMINATION_OFFSET): Use mips_initial_elimination_offset. | |
8097 | * config/mips/mips.c: Remove uses of current_frame_info. | |
8098 | (struct mips_frame_info): Moved from mips.h. Remove 'insns_len'. | |
8099 | (struct machine_function): Add 'frame' and 'insns_len'. | |
8100 | (current_frame_info, zero_frame_info): Remove. | |
8101 | (mips_restore_gp, mips_set_return_address): New. | |
8102 | (mips_initial_elimination_offset): New. | |
8103 | * config/mips/mips.md (exception_receiver): Use mips_restore_gp. | |
8104 | (eh_return define_split): Use mips_set_return_address. | |
8105 | ||
d97371e0 NB |
8106 | 2002-06-18 Neil Booth <neil@daikokuya.demon.co.uk> |
8107 | ||
8108 | * cpplib.c (dtable): Update. | |
8109 | (end_directive): Decrement expansion prevention count. | |
8110 | Clear state.in_expression. | |
8111 | (prepare_directive_trad): Set state.in_expression. | |
8112 | Increment expansion prevention count. | |
8113 | * cpptrad.c (enum ls): New. | |
8114 | (_cpp_overlay_buffer): Set overlaid_buffer. | |
8115 | (_cpp_remove_overlay): Use overlaid_buffer. | |
8116 | (_cpp_read_logcial_line_trad): Update buffer when it might | |
8117 | have changed. | |
8118 | (scan_out_logical_line): Handle state transitions for assertions | |
8119 | and defined() in #if, and for funlike invocations including the | |
8120 | directive case. Handle '<' and '>' as a quote mechanism in | |
8121 | #include. Warn about unterminated macro invocations. | |
8122 | * cpphash.h (struct lexer_state): New member in_expression. | |
8123 | (struct cpp_reader): New member overlaid buffer. | |
8124 | ||
807b20b0 HPN |
8125 | 2002-06-18 Hans-Peter Nilsson <hp@axis.com> |
8126 | ||
8127 | * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype | |
8128 | __always_inline__. | |
8129 | ||
8a09a7e5 AM |
8130 | 2002-06-18 Alan Modra <amodra@bigpond.net.au> |
8131 | ||
147d5f6f AM |
8132 | * config/ia64/ia64.md (doloop_end_internal): Correct rtl. |
8133 | ||
8a09a7e5 AM |
8134 | * doloop.c (doloop_optimize): Extract pattern from insn. |
8135 | ||
390de769 MK |
8136 | 2002-06-17 Matt Kraai <kraai@alumni.cmu.edu> |
8137 | ||
8138 | * doc/extend.texi (Function Attributes): Remove `,...' from @var. | |
8139 | ||
0ed4a390 | 8140 | 2002-06-17 Jeff Law <law@redhat.com> |
912ce297 JL |
8141 | |
8142 | * libgcc2.c: Do not include symcat.h or machmode.h. | |
8143 | ||
5c45425b RH |
8144 | 2002-06-17 Richard Henderson <rth@redhat.com> |
8145 | ||
8146 | PR target/6922 | |
8147 | * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND. | |
8148 | ||
9aa497ae TT |
8149 | 2002-06-17 Tom Tromey <tromey@redhat.com> |
8150 | ||
8151 | * dwarfout.c: Include function.h. | |
8152 | ||
7f11f1f9 AS |
8153 | 2002-06-17 Andreas Schwab <schwab@suse.de> |
8154 | ||
8155 | * print-rtl.c (print_rtx): Print space before vector, not after. | |
8156 | (debug_rtx): Clear sawclose before printing. | |
8157 | (debug_rtx_list): Print newline after each list element. | |
8158 | (debug_rtx_range): Likewise. | |
8159 | ||
df696a75 RH |
8160 | 2002-06-17 Richard Henderson <rth@redhat.com> |
8161 | ||
8162 | * function.h (struct function) [funcdef_no]: Rename profile_label_no. | |
8163 | (current_function_funcdef_no): Similarly. | |
8164 | * function.c (funcdef_no): Similarly. | |
8165 | (prepare_function_start): Set current_function_funcdef_no. | |
8166 | (expand_function_start): Don't set current_function_profile_label_no. | |
8167 | * dwarf2out.h (current_funcdef_number): Remove. | |
8168 | * dwarf2out.c (current_funcdef_number): Remove. Replace with | |
8169 | current_function_funcdef_no throughout. | |
8170 | * dwarfout.c, vmsdbgout.c: Similarly. | |
8171 | * except.c (sjlj_funcdef_number): Remove. | |
8172 | (sjlj_emit_function_enter): Use current_function_funcdef_no instead. | |
8173 | (output_function_exception_table): Likewise. | |
8174 | * final.c (profile_function): Use current_function_funcdef_no | |
8175 | instead of current_function_profile_label_no. | |
8176 | ||
97272202 VM |
8177 | 2002-06-17 Vladimir Makarov <vmakarov@redhat.com> |
8178 | ||
8179 | * sched-ebb.c (init_ready_list): Check INSN_P first. | |
8180 | ||
8bccce2d R |
8181 | Mon Jun 17 17:26:15 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8182 | ||
8183 | * sh.md (divsi3): Update way how to find insns in a sequence. | |
dec0798e R |
8184 | |
8185 | * reload1.c (merge_assigned_reloads): Don't change reloads | |
8186 | other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS | |
8187 | to RELOAD_OTHER when there are conflicting input reloads. | |
8188 | ||
0af5c896 RE |
8189 | 2002-06-17 Richard Earnshaw (rearnsha@arm.com) |
8190 | ||
8191 | * function.c (epilogue_done): Correctly build a sequence of insns for | |
8192 | a sibcall epilogue. | |
8193 | ||
9d0fa9d6 NC |
8194 | 2002-06-17 Nick Clifton <nickc@cambridge.redhat.com> |
8195 | ||
845b1456 NC |
8196 | * config/fr30/fr30.h (CUMULATIVE_ARGS): Replace typedef with |
8197 | #define. | |
8198 | ||
9d0fa9d6 NC |
8199 | * config/m32r/m32r.md: Replace gen_sequence with get_insns. |
8200 | ||
e83f3cff RH |
8201 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8202 | ||
8203 | * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead | |
8204 | of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. | |
8205 | ||
caecc099 RH |
8206 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8207 | ||
8208 | PR opt/6722 | |
8209 | * regclass.c (globalize_reg): Update regs_invalidated_by_call. | |
8210 | ||
3d05b15f NB |
8211 | 2002-06-16 Neil Booth <neil@daikokuya.demon.co.uk> |
8212 | ||
caecc099 RH |
8213 | * config.gcc: Add i386/sysv4-cpp.h; remove i386-aout.h from vxworks. |
8214 | * config/i386/i386-aout.h, config/i386/i386elf.h, | |
8215 | config/i386/sysv4.h: Remove CPP_PREDEFINES. | |
8216 | * config/i386/linux64.h, config/i386/i386elf.h, config/i386/mach.h, | |
8217 | config/i386/netware.h, config/i386/rtemself.h, config/i386/sco5.h, | |
8218 | config/i386/sol2.h, config/i386/vsta.h, config/i386/vxi386.h, | |
8219 | config/i386/win32.h: Use TARGET_OS_CPP_BUILTINS rather than | |
3d05b15f | 8220 | CPP_PREDEFINES and part of CPP_SPEC. |
caecc099 | 8221 | * config/i386/sysv4-cpp.h: New. |
3d05b15f | 8222 | |
8370aa3a RH |
8223 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8224 | ||
65a90f3c | 8225 | PR c/7030 |
8370aa3a RH |
8226 | * dwarf2out.c (modified_type_die): Don't assign the qualified die |
8227 | to the unqualified type. | |
8228 | ||
e932b21b JH |
8229 | Sun Jun 16 22:16:10 CEST 2002 Jan Hubicka <jh@suse.cz> |
8230 | ||
8231 | * i386-protos.h (x86_field_alignment): Declare. | |
8232 | * i386.c (x86_field_alignment): Define. | |
8233 | * i386.h (ADJUST_FIELD_ALIGNMENT): New. | |
8234 | (BIGGEST_FIELD_ALIGNMENT): Kill. | |
8235 | ||
7ee02381 RH |
8236 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8237 | ||
f01a0d8d | 8238 | * vax.md (casesi): Use emit_jump_insn. Tidy expander pattern. |
7ee02381 | 8239 | |
750491fc RH |
8240 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8241 | ||
8242 | * c-common.c (flag_ms_extensions): Move from c++ front end. | |
8243 | * c-common.h (flag_ms_extensions): Declare. | |
8244 | * c-decl.c (c_decode_option): Add -fms-extensions. | |
8245 | (grokfield): Don't accept anonymous structures in ISO C mode; | |
8246 | accept only unnamed anonymous structures in GNU C mode; accept | |
8247 | Plan 9 extensions in MS mode. | |
8248 | * c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from | |
8249 | SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all callers. | |
8250 | (extension): Clear flag_iso. | |
8251 | * doc/invoke.texi (C Dialect Options): Add -fms-extensions. | |
8252 | ||
c134da6b HPN |
8253 | 2002-06-16 Hans-Peter Nilsson <hp@axis.com> |
8254 | ||
8255 | PR target/7042 | |
8256 | * reorg.c (make_return_insns) [DELAY_SLOTS_FOR_EPILOGUE]: Exit | |
8257 | early if current_function_epilogue_delay_list is non-empty. | |
8258 | * config/cris/cris.md ("return"): Add sanity check asserting that | |
8259 | current_function_epilogue_delay_list is empty. | |
8260 | ||
038c7976 JL |
8261 | 2002-06-16 Jeff Law <law@redhat.com> |
8262 | ||
006a94b0 JL |
8263 | * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic |
8264 | sharing of hard registers. | |
8265 | ||
8266 | * toplev.c (rest_of_compilation): Remove redundant conditional. | |
8267 | ||
038c7976 JL |
8268 | * toplev.c (rest_of_compilation): Perform a simpler, less costly |
8269 | cleanup of the CFG when not optimizing. | |
8270 | ||
0797741a AM |
8271 | 2002-06-16 Alan Modra <amodra@bigpond.net.au> |
8272 | ||
8273 | * gcc.c (main): Correct startfile_prefix_spec check. | |
8274 | ||
a6e2e53e GK |
8275 | 2002-06-12 Geoffrey Keating <geoffk@redhat.com> |
8276 | ||
8277 | * config.gcc: Revert rth's patch of 2002-05-18. Instead, | |
8278 | include both darwin.o and rs6000-c.o. | |
8279 | ||
129e0ee8 RS |
8280 | 2002-06-15 Roger Sayle <roger@eyesopen.com> |
8281 | ||
8282 | * expr.c (compare_from_rtx): Call simplify_relational_operation | |
8283 | on all comparisons, not just those between integer constants, | |
8284 | with the correct (possibly unsigned) comparison code. | |
8285 | (do_compare_rtx_and_jump): Likewise. | |
8286 | ||
d5355cb2 JDA |
8287 | 2002-06-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8288 | ||
8289 | * Makefile.in (tm_defines): New configuration variable. | |
8290 | (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES. | |
8291 | Pass tm_defines in TM_DEFINES. | |
8292 | (cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES. | |
8293 | * config.gcc (tm_defines): New configuration variable. | |
8294 | (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and | |
8295 | pa-7100.h headers. Change hppa1* scheduling default to 7100LC. | |
8296 | * configure.in: Substitute tm_defines. | |
8297 | * configure: Rebuilt. | |
8298 | * mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES. | |
8299 | * doc/install.texi: Update. | |
8300 | * pa/pa-700.h: Delete file. | |
8301 | * pa/pa-7100.h: Delete file. | |
8302 | ||
8dcb27ed RS |
8303 | 2002-06-15 Roger Sayle <roger@eyesopen.com> |
8304 | ||
8305 | * fold-const.c (comparison_to_compcode): New function to convert | |
8306 | an comparison TREE CODE into a bit-based representation. | |
8307 | (compcode_to_comparison): New function to convert from this bit | |
8308 | based representation back to a comparison TREE CODE. | |
8309 | (fold_truthop): Simplify (x<y) && (x==y) and related composite | |
8310 | comparisons. | |
8311 | ||
182e515e AH |
8312 | 2002-06-15 Aldy Hernandez <aldyh@redhat.com> |
8313 | ||
f01a0d8d | 8314 | * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument. |
182e515e | 8315 | |
f01a0d8d ID |
8316 | * stor-layout.c (compute_record_mode): Remove check for |
8317 | FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for | |
8318 | MEMBER_TYPE_FORCES_BLK. Pass new mode field to | |
8319 | MEMBER_TYPE_FORCES_BLK. | |
182e515e | 8320 | |
f01a0d8d | 8321 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same. |
182e515e | 8322 | |
f01a0d8d | 8323 | * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same. |
182e515e | 8324 | |
8773135d JS |
8325 | 2002-06-14 Jeff Sturm <jsturm@one-point.com> |
8326 | ||
8327 | * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. | |
8328 | ||
893a047c SE |
8329 | 2002-06-14 Steve Ellcey <sje@cup.hp.com> |
8330 | ||
8331 | * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set | |
8332 | USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set. | |
8333 | * configure, config.in: Regenerate. | |
8334 | ||
045d7161 EB |
8335 | 2002-06-14 Eric Botcazou <ebotcazou@multimania.com> |
8336 | ||
8337 | * loop.c (check_final_value): Use v->always_executed | |
8338 | instead of v->always_computable. | |
8339 | * unroll.c (final_giv_value): Don't calculate the final | |
8340 | value as a function of the biv if the giv is not computed | |
8341 | for every loop iteration. | |
8342 | ||
048c8616 | 8343 | 2002-06-14 Eric Botcazou <ebotcazou@multimania.com> |
c894819c | 8344 | |
048c8616 EB |
8345 | * loop.c (for_each_insn_in_loop): Fix formatting and comments. |
8346 | ||
43e4a9d8 EB |
8347 | 2002-06-14 Eric Botcazou <ebotcazou@multimania.com> |
8348 | ||
52689a98 | 8349 | PR c/6677 |
43e4a9d8 EB |
8350 | * convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass |
8351 | the truncation down when the target type is signed. | |
8352 | [trunc1]: Use unsigned arithmetic for LSHIFT_EXPR. | |
8353 | * fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through | |
8354 | the conversion if the target type is a smaller type. | |
8355 | ||
fa4a5557 RH |
8356 | 2002-06-14 Richard Henderson <rth@redhat.com> |
8357 | ||
8358 | * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation | |
8359 | earlier. Re-factor comparisons vs extrema. | |
8360 | ||
d95eb49f RH |
8361 | 2002-06-14 Richard Henderson <rth@redhat.com> |
8362 | ||
8363 | * config/alpha/alpha.md (builtin_zapnot): Fix op2 mode. | |
8364 | ||
be202ec2 FS |
8365 | 2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
8366 | ||
8367 | * rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE. | |
8368 | * sched-deps.c (add_dependence): Likewise. | |
8369 | (group_leader): Likewise. | |
8370 | * sched-rgn.c (init_ready_list): Likewise. | |
8371 | * doc/rtl.texi: Adjust accordingly. | |
8372 | ||
e56c4463 JL |
8373 | 2002-06-13 Jeffrey Law <law@redhat.com> |
8374 | ||
99a15921 JL |
8375 | * gcse.c (delete_null_pointer_checks_1): Inform caller if any |
8376 | null pointer checks were eliminated. Update prototype. | |
8377 | (delete_null_pointer_checks): Similarly. | |
8378 | * rtl.h (delete_null_pointer_checks): Update prototype. | |
8379 | * toplev.c (rest_of_compilation): Only run cleanup_cfg if | |
8380 | delete_null_pointer_checks deletes one or more null | |
8381 | pointer checks. Do not run cleanup_cfg before gcse, the | |
8382 | CFG is accurate and optimized at that point.. | |
8383 | ||
e56c4463 JL |
8384 | * rs6000.c (rs6000_frame_related): Avoid unwanted sharing |
8385 | of hard registers. | |
8386 | ||
556b821e UW |
8387 | 2002-06-14 Ulrich Weigand <uweigand@de.ibm.com> |
8388 | ||
8389 | * Makefile.in (libgcc.mk): Depend on specs. | |
8390 | ||
fa60f36d R |
8391 | Fri Jun 14 12:15:11 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8392 | ||
8393 | * sh.md (mulsi3): Update way how to find insns in a sequence. | |
8394 | ||
03b8ec29 DD |
8395 | Fri Jun 14 12:04:02 2002 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
8396 | ||
8397 | * sh.h: Define HARD_REGNO_RENAME_OK | |
8398 | * sh.c: sh_hard_regno_rename_ok: New. If current function has | |
8399 | interrupt_handler attribute, only registers saved on stack are OK. | |
8400 | * sh-protos.h: Declare sh_hard_regno_rename_ok. | |
8401 | ||
8e831557 KK |
8402 | 2002-06-14 Kaz Kojima <kkojima@gcc.gnu.org> |
8403 | ||
8404 | * config/sh/sh.md (jump): Emit jump insn. | |
8405 | (call_pcrel): Get pattern of the result of gen_call_site. | |
8406 | (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise. | |
8407 | ||
bf9d5852 NB |
8408 | 2002-06-14 Neil Booth <neil@daikokuya.demon.co.uk> |
8409 | ||
8410 | * cpphash.h (struct cpp_buffer): Remove saved_line_base. | |
8411 | * cpptrad.c: Update comments. | |
8412 | (skip_whitespace, copy_comment): Take a new parameter. | |
8413 | (skip_escaped_newlines): Don't duplicate escaped newline test. | |
8414 | (copy_comment): Different location for CUR, decide here how | |
8415 | to copy / replace the comment. | |
8416 | (skip_whitespace): Copy whitespace. | |
8417 | (_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base. | |
8418 | (scan_out_logical_line): Let copy comment handle keeping or | |
8419 | replacing comments. | |
8420 | (scan_parameters, _cpp_create_trad_definition): Update. | |
8421 | ||
57292ec3 AL |
8422 | 2002-06-13 Alan Lehotsky <apl@alum.mit.edu> |
8423 | ||
8424 | * reload.c (get_secondary_mem,find_reloads_address, | |
8425 | find_reloads_address_1): Pass reference to MEM to find_reloads_address | |
8426 | so that LEGITIMIZE_RELOAD_ADDRESS will be called. | |
c894819c | 8427 | |
a6f5e048 RH |
8428 | 2002-06-13 Jessica Han <jessica@cup.hp.com> |
8429 | ||
8430 | * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New. | |
8431 | (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New. | |
8432 | * doc/tm.texi: Document them. | |
8433 | * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New. | |
8434 | (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New. | |
8435 | (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode. | |
8436 | (ASM_OUTPUT_FDESC): Likewise. | |
8437 | ||
3aafa0bb EC |
8438 | 2002-06-13 Eric Christopher <echristo@redhat.com> |
8439 | ||
8440 | * diagnostic.c (output_format): Fix thinko. | |
8441 | ||
8e581963 R |
8442 | Thu Jun 13 22:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8443 | ||
8444 | * config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define. | |
8445 | (DWARF2_UNWIND_INFO): Define to 0. | |
9d7ed806 R |
8446 | |
8447 | * config/sh/sh.c (calc_live_regs): Don't use initial_value | |
8448 | optimization for PR_MEDIA_REG. | |
8449 | ||
b66377c1 NB |
8450 | 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8451 | ||
8452 | * cpphash.h (_cpp_lex_identifier_trad): Remove. | |
8453 | * cpplib.c (end_directive): Don't skip, always remove overlay | |
8454 | apart from #define. | |
8455 | (prepare_directive_trad): Handle NULL pfile->directive. | |
8456 | (_cpp_handle_directive): Always call prepare_directive_trad | |
8457 | if traditional. | |
8458 | * cppmain.c (check_multiline_token): Rename account_for_newlines, | |
8459 | generalize inputs. | |
8460 | (scan_translation_unit_trad): Use it. | |
8461 | * cpptrad.c (skip_comment): Rename copy_comment, copy comment to | |
8462 | output, get escaped newline in comment close correct. | |
8463 | (check_output_buffer, skip_whitespace): Update. | |
8464 | (_cpp_lex_identifier_trad): Remove. | |
8465 | (scan_out_logical_line): Handle -C and comments in directives | |
8466 | properly. | |
8467 | ||
8bc6e101 R |
8468 | Thu Jun 13 20:18:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8469 | ||
8470 | * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*. | |
8471 | * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. | |
8472 | * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros. | |
8473 | (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise. | |
8474 | (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise. | |
8475 | (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise. | |
8476 | (SELECT_SH5_COMPACT_NOFPU): Likewise. | |
8477 | (TARGET_SWITCHES): Use them. | |
8478 | (TARGET_CPU_DEFAULT): Define if not already defined. | |
8479 | (TARGET_DEFAULT): Use it. | |
8480 | (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT. | |
8481 | * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN. | |
8482 | * config/sh/t-monolib: New file. | |
8483 | ||
2181005d RS |
8484 | 2002-06-13 Roger Sayle <roger@eyesopen.com> |
8485 | ||
8486 | * toplev.c (rest_of_compilation): Simplify (and correct) the | |
8487 | logic of the first delete-null-pointer-checks pass. | |
8488 | ||
aaae0bb9 JH |
8489 | Thu Jun 13 18:24:17 CEST 2002 Jan Hubicka <jh@suse.cz> |
8490 | ||
8491 | * i386.c (ix86_expand_movstr): Fix pasto. | |
8492 | ||
8493 | Thu Jun 13 18:18:17 CEST 2002 Jan Hubicka <jh@suse.cz> | |
b80cb6e2 JH |
8494 | |
8495 | * reload.c (find_valid_class): Fix thinko in my previous patch. | |
8496 | ||
dd3fbd93 UW |
8497 | 2002-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
8498 | ||
8499 | * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro. | |
8500 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro. | |
8501 | (CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove. | |
8502 | (EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64. | |
8503 | ||
0d0f605c GDR |
8504 | 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com> |
8505 | ||
8506 | * tree-inline.c (expand_call_inline): Don' mess with _DECL | |
3aafa0bb | 8507 | fields. |
0d0f605c | 8508 | |
c92bcccb GDR |
8509 | 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com> |
8510 | ||
8511 | * diagnostic.c (output_format): Recognize "%H" as a format | |
8512 | specifier for a location_t. | |
8513 | (text_specifies_location): New function. | |
8514 | (diagnostic_set_info): Use it. | |
8515 | ||
7f243674 JL |
8516 | 2002-06-13 Jeffrey Law <law@redhat.com> |
8517 | ||
6cde4876 JL |
8518 | * emit-rtl.c (static_regno_reg_rtx): Define. |
8519 | (init_emit_once): Initialize static_regno_reg_rtx. | |
8520 | (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead | |
8521 | of building new hard reg objects once per function. | |
8522 | (gen_rtx_REG): Try to share hard regs. | |
8523 | * regclass.c (init_fake_stack_mems): New function broken out from | |
8524 | init_regs. | |
8525 | * rtl.h (init_fake_stack_mems): Declare. | |
8526 | * toplev.c (lang_independent_init): Call init_regs before | |
8527 | init_emit_once. Call init_fake_stack_mems after init_emit_once. | |
8528 | ||
110b3faa JL |
8529 | * i386.md (extenddfxf2, extenddftf2): Fix typo/thinko. |
8530 | ||
7f243674 JL |
8531 | * alias.c (argument_registers): Remove. |
8532 | (init_alias_once): Initialize static_reg_base_value here. Remove | |
8533 | initialization of argument_registers. | |
8534 | (init_alias_once_per_function): Remove. | |
8535 | (init_alias_analysis): Copy all the entries from static_reg_base_value | |
8536 | into new_reg_base_value all at once. | |
8537 | * rtl.h (init_alias_once_per_function): Remove declaration. | |
8538 | * function.c (prepare_function_start): Do not call | |
8539 | init_alias_once_per_function. | |
8540 | ||
8541 | * caller-save.c (init_caller_save): Use gen_rtx_INSN instead of | |
8542 | starting a sequence and emitting an INSN. | |
8543 | ||
a336f2e5 RS |
8544 | 2002-06-13 Richard Sandiford <rsandifo@redhat.com> |
8545 | ||
8546 | * config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case. | |
8547 | ||
2acf0fa9 DM |
8548 | 2002-06-13 David S. Miller <davem@redhat.com> |
8549 | ||
8550 | * expmed.c (init_expmed): Remove duplicate init of 'reg'. | |
8551 | ||
974c43f1 NB |
8552 | 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8553 | ||
8554 | * cpplib.c (end_directive): Handle line skipping. Only remove | |
8555 | the rest of the line if the directive was valid. | |
8556 | * cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when | |
8557 | expanding a traditional macro. | |
8558 | * cpptrad.c (recursive_macro): New. | |
8559 | (read_logical_line_trad): Handle skipping. | |
8560 | (scan_out_logical_line): Continue after a successful directive. | |
8561 | Don't expand macros whilst skipping, or if recursing. | |
8562 | (_cpp_create_trad_definition): scan_out_logical_line now sets | |
8563 | the output current position. | |
8564 | ||
12bf26b6 EC |
8565 | 2002-06-12 Eric Christopher <echristo@redhat.com> |
8566 | ||
8567 | From Chris Demetriou <cgd@broadcom.com> | |
8568 | * config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix | |
8569 | comment. | |
8570 | (ISA_HAS_MADD_MSUB): Ditto. | |
8571 | (ISA_HAS_NMADD_NMSUB): Ditto. | |
8572 | ||
be95b8a5 EC |
8573 | 2002-06-12 Eric Christopher <echristo@redhat.com> |
8574 | ||
8575 | * config.gcc: Consolidate little endian handling and | |
8576 | little/big endian targets. | |
8577 | * config/mips/elfl.h: Remove file. | |
8578 | * config/mips/elfl64.h: Ditto. | |
8579 | * config/mips/ecoffl.h: Ditto. | |
8580 | * config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove. | |
8581 | ||
e03856fe GK |
8582 | 2002-06-12 Geoffrey Keating <geoffk@redhat.com> |
8583 | ||
8584 | * gengtype.h (xvasprintf): New prototype. | |
8585 | (xasprintf): New prototype. | |
8586 | (struct outf): New. | |
8587 | (get_output_file): Return an outf_p. | |
8588 | (header_file): Is now an outf_p. | |
8589 | (base_files): Now are outf_p. | |
8590 | (oprintf): New. | |
8591 | * gengtype.c: Replace all output FILE * with outf_p; use oprintf | |
8592 | rather than stdio operations. Use xasprintf in a few places, | |
8593 | when appropriate. | |
8594 | (xvasprintf): New. | |
8595 | (xasprintf): New. | |
8596 | (struct filemap): Delete. | |
8597 | (files): Delete. | |
8598 | (output_files): New. | |
8599 | (oprintf): New. | |
8600 | (create_file): Create an outf_p. Add parameter to indicate output | |
8601 | file name, change all callers. | |
8602 | (open_base_files): Create gtype-desc.c here. | |
8603 | (get_output_file_with_visibility): Rewrite. | |
8604 | (get_output_file_name): Just look at 'name' field in struct outf. | |
8605 | (close_output_files): Rewrite. | |
8606 | ||
ec01703c JT |
8607 | 2002-06-12 Jason Thorpe <thorpej@wasabisystems.com> |
8608 | ||
8609 | * config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT) | |
be95b8a5 | 8610 | (MASK_G_FLOAT): Define. |
ec01703c JT |
8611 | (TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them. |
8612 | (TARGET_SWITCHES): Likewise. | |
8613 | (TARGET_DEFAULT): Likewise. | |
8614 | ||
8b0397a6 DJ |
8615 | 2002-06-12 Daniel Jacobowitz <drow@mvista.com> |
8616 | ||
8617 | * config/mips/elf.h (DWARF2_DEBUG_INFO): Define. | |
8618 | * config/mips/mips.c (mips_output_filename): Don't print a | |
8619 | ".file" directive if we are using DWARF-2. | |
8620 | (mips_output_function_prologue): Do not emit source file | |
8621 | name for TARGET_GAS. | |
8622 | ||
495333a6 JH |
8623 | Wed Jun 12 16:45:13 CEST 2002 Jan Hubicka <jh@suse.cz> |
8624 | ||
8625 | * i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to | |
8626 | decide whether emit the short opcode. | |
8627 | * i386.h (x86_shift1): Declare. | |
8628 | (TARGET_SHIFT1): New macro. | |
8629 | * i386.c (x86_shift1): New global variable. | |
8630 | ||
8b0397a6 DJ |
8631 | * toplev.c (rest_of_compilation): Call find_basic_block pre-loop |
8632 | unconditionally; make loop to rebuild CFG; kill unnecesary | |
8633 | find_basic_block calls; kill compute_bb_for_insn call. | |
495333a6 JH |
8634 | * cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call. |
8635 | * haifa-sched.c (sched_init): Likewise. | |
8636 | * ssa-ccp.c (ssa_const_prop): Likewise. | |
8637 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
8638 | ||
d11cea13 DM |
8639 | 2002-06-11 David S. Miller <davem@redhat.com> |
8640 | ||
8641 | * emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if | |
8642 | active_insn_p. | |
8643 | ||
676997cf RH |
8644 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8645 | ||
8646 | * c-common.c (builtin_define_type_max): New. | |
8647 | (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__, | |
8648 | __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__. | |
8649 | ||
8650 | From Joseph S. Myers: | |
8651 | * glimits.h: Rewrite to expect the double underscore definitions | |
8652 | from the compiler. | |
8653 | ||
8654 | * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h, | |
8655 | config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h, | |
8656 | config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h, | |
8657 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
8658 | config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h, | |
8659 | config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h, | |
8660 | config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__, | |
8661 | __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__. | |
8662 | ||
116b7a5e RH |
8663 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8664 | ||
8665 | * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New. | |
8666 | (ALPHA_BUILTIN_SET_THREAD_POINTER): New. | |
8667 | (code_for_builtns): Update. | |
8668 | (alpha_init_builtins): Add __builtin_thread_pointer and | |
8669 | __builtin_set_thread_pointer. | |
8670 | (alpha_expand_builtin): Handle void builtins. | |
8671 | * doc/extend.texi (Alpha Built-in Functions): Update. | |
8672 | ||
0cec6af1 HPN |
8673 | 2002-06-11 Hans-Peter Nilsson <hp@axis.com> |
8674 | ||
8675 | PR target/6997 | |
8676 | * config/cris/cris.md ("sleu"): Set attribute "cc" to "none". | |
8677 | ||
1c0ca89d ZW |
8678 | 2002-06-11 Zack Weinberg <zack@codesourcery.com> |
8679 | ||
8680 | * config.gcc: Make the name of the extra-modes file adjustable | |
8681 | by target stanzas. | |
8682 | (s390x, strongarm, xscale stanzas): Use this facility. | |
8683 | * configure.in: Update to match. | |
8684 | * configure: Regenerate. | |
8685 | ||
5dc8d536 AH |
8686 | 2002-06-11 Aldy Hernandez <aldyh@redhat.com> |
8687 | ||
1c0ca89d ZW |
8688 | * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned |
8689 | max/mins as unsigned GE compares. | |
5dc8d536 | 8690 | |
169274cd JT |
8691 | 2002-06-11 Jason Thorpe <thorpej@wasabisystems.com> |
8692 | ||
1c0ca89d | 8693 | * config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}. |
169274cd JT |
8694 | * config/vax/bsd.h: New file. |
8695 | * config/vax/netbsd.h: Add missing notice. | |
1c0ca89d ZW |
8696 | (CPP_PREDEFINES): Remove. |
8697 | (TARGET_OS_CPP_BUILTINS): Define. | |
8698 | (CPP_SPEC): Use NETBSD_CPP_SPEC. | |
169274cd JT |
8699 | * config/vax/openbsd.h: Update copyright years. |
8700 | (CPP_PREDEFINES): Remove. | |
8701 | (TARGET_OS_CPP_BUILTINS): Define. | |
8702 | * config/vax/ultrix.h: Likewise. | |
8703 | * config/vax/vaxv.h: Likewise. | |
8704 | * config/vax/vms.h: Likewise. | |
8705 | * config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define. | |
8706 | (CPP_PREDEFINES, CPP_SPEC): Remove. | |
8707 | ||
2f41793e JH |
8708 | Wed Jun 12 01:50:28 CEST 2002 Jan Hubicka <jh@suse.cz> |
8709 | ||
8710 | * i386.md (addqi_1_slp, subqi_1_slp | |
8711 | (andqi_ext0, testqi_ext0): Remove unnecesary check. | |
8712 | (addhi*, addqi*): Simplify "dec" condition. | |
8713 | (testsi to testqi splitters): Remove TARGET_PROMOTE_QImode check. | |
8714 | (and, or, xor to QImode splitters): New. | |
8715 | (iorqi_ext*): New. | |
8716 | (xorqi_ext_0): New. | |
8717 | (xorqi_ext_1): Rename to xorqi_ext_2; bring to sync with and versions. | |
8718 | (andqi_ext_1_rex64): New. | |
8719 | (ashrqi*_slp): New. | |
8720 | (ashlqi*_slp): New. | |
8721 | (lshlqi*_slp): New. | |
8722 | (rotrqi3*_slp): New. | |
8723 | (rotlqi3*_slp): New. | |
8724 | ||
fc5c400a GK |
8725 | 2002-06-11 Geoffrey Keating <geoffk@redhat.com> |
8726 | ||
4c4eb375 GK |
8727 | * config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including |
8728 | softfloat.h. | |
8729 | * config/rs6000/vxppc.h (CPP_ENDIAN_BIG_SPEC): Delete. | |
8730 | (CPP_ENDIAN_LITTLE_SPEC): Delete. | |
8731 | * config/rs6000/sysv4le.h (CPP_ENDIAN_DEFAULT_SPEC): Delete. | |
8732 | * config/rs6000/sysv4.h (CPP_SYSV_SPEC): Delete _SOFT_FLOAT setting, | |
8733 | __LONG_DOUBLE_128__ setting, _CALL_* setting. | |
8734 | (CPP_DEFAULT_SPEC): Delete. | |
8735 | (CPP_FLOAT_DEFAULT_SPEC): Delete. | |
8736 | (CPP_LONGDOUBLE_DEFAULT_SPEC): Delete. | |
8737 | (CPP_SYSV_DEFAULT_SPEC): Delete. | |
8738 | (CPP_ENDIAN_BIG_SPEC): Delete. | |
8739 | (CPP_ENDIAN_LITTLE_SPEC): Delete. | |
8740 | (CPP_ENDIAN_SPEC): Delete. | |
8741 | (CPP_SPEC): Don't include cpp_endian, cpp_cpu. | |
8742 | (SUBTARGET_EXTRA_SPECS): Delete cpp_sysv_default, cpp_endian_default, | |
8743 | cpp_endian, cpp_endian_big, cpp_endian_little, cpp_float_default, | |
8744 | cpp_longdouble_default. | |
8745 | * config/rs6000/softfloat.h: Delete. | |
8746 | * config/rs6000/rs6000.h (CPP_CPU_SPEC): Delete. | |
8747 | (EXTRA_SPECS): Delete cpp_cpu. | |
8748 | (TARGET_CPU_CPP_BUILTINS): New. | |
8749 | * config/rs6000/rs6000-protos.h (rs6000_cpu_cpp_builtins): New | |
8750 | prototype. | |
8751 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): New. | |
8752 | * config/rs6000/linux64.h (CPP_PREDEFINES): Remove endianness defines. | |
8753 | (CPP_DEFAULT_SPEC): Delete. | |
8754 | * config/rs6000/eabiaix.h (CPP_SYSV_DEFAULT_SPEC): Delete. | |
8755 | * config/rs6000/darwin.h (CPP_PREDEFINES): Don't define __BIG_ENDIAN__. | |
8756 | * config/rs6000/beos.h (CPP_SPEC): Remove cpp_cpu. | |
8757 | (CPP_DEFAULT_SPEC): Delete. | |
8758 | * config/rs6000/aix51.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC. | |
8759 | (CPLUSPLUS_CPP_SPEC): Likewise. | |
8760 | (CPP_CPU_SPEC): Delete. | |
8761 | (CPP_DEFAULT_SPEC): Delete. | |
8762 | * config/rs6000/aix43.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC. | |
8763 | (CPLUSPLUS_CPP_SPEC): Likewise. | |
8764 | (CPP_CPU_SPEC): Delete. | |
8765 | (CPP_DEFAULT_SPEC): Delete. | |
8766 | * config/rs6000/aix41.h (CPP_SPEC): Remove cpp_cpu. | |
8767 | (CPP_DEFAULT_SPEC): Delete. | |
8768 | * config/rs6000/aix.h (CPP_SPEC): Remove cpp_cpu. | |
8769 | (CPP_DEFAULT_SPEC): Delete. | |
8770 | ||
fc5c400a GK |
8771 | * doc/gty.texi: Small updates. |
8772 | ||
13f0d49c GDR |
8773 | 2002-06-12 Gabriel Dos Reis <gdr@codesourcery.com> |
8774 | ||
8775 | * objc/objc-act.c (warn_with_ivar): Adjust calls to | |
8776 | diagnostic_count_error. | |
8777 | (warn_with_method): Likewise. | |
8778 | ||
8779 | * diagnostic.h (warnings_are_errors_message): New field of | |
8780 | diagnostic_context. | |
8781 | (diagnostic_count_error): Rename to diagnostic_count_diagnostic to | |
8782 | match semantics. | |
8783 | * diagnostic.c: Adjust calls to diagnostic_count_error through out. | |
8784 | (diagnostic_count_diagnostic): Make aware of other kinds of | |
1c0ca89d | 8785 | diagnostics. |
13f0d49c GDR |
8786 | (diagnostic_initialize): Initialize warnings_are_errors_message field. |
8787 | ||
0797e472 TT |
8788 | 2002-06-11 Tom Tromey <tromey@redhat.com> |
8789 | ||
8790 | For PR java/6520: | |
8791 | * fold-const.c (fold_convert): Don't modify existing tree's type. | |
8792 | ||
f288d4aa GK |
8793 | 2002-06-11 Geoffrey Keating <geoffk@redhat.com> |
8794 | ||
8795 | * config/rs6000/ppc-asm.h: Remove some Windows NT leftovers. | |
8796 | ||
d27bab4c RH |
8797 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8798 | ||
8799 | * caller-save.c (init_caller_save): Clear INSN_CODE each iteration. | |
8800 | ||
bc2a8f08 RH |
8801 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8802 | ||
1c0ca89d | 8803 | * defaults.h (EH_FRAME_SECTION_NAME): Don't define if |
bc2a8f08 RH |
8804 | DWARF2_UNWIND_INFO is false. |
8805 | ||
b217ec1b BW |
8806 | 2002-06-11 Bob Wilson <bob.wilson@acm.org> |
8807 | ||
8808 | * config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete. | |
8809 | ||
11819f80 UW |
8810 | * config/s390/s390.c (emit_prologue): gen_store_multiple |
8811 | returns an insn now, not a pattern. | |
8812 | ||
c2727579 RO |
8813 | 2002-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8814 | ||
8815 | * Makefile.in (gccinstall.dvi): Pass absolute pathnames to | |
8816 | $(TEXI2DVI) -o. | |
8817 | ||
285464d0 JH |
8818 | Tue Jun 11 21:53:37 CEST 2002 Jan Hubicka <jh@suse.cz> |
8819 | ||
8820 | * i386.c (x86_promote_QImode): Set for Athlon | |
8821 | (x86_fast_prefix): New global variable. | |
8822 | (x86_arch_always_fancy_math_387): Fix formating. | |
8823 | * i386.h (x86_fast_prefix): Declare | |
8824 | (TARGET_FAST_PREFIX): define. | |
8825 | * i386.md (and to strict_low_part, HI to SI | |
8826 | promoting splitter): Use new macro. | |
8827 | ||
8828 | * i386.h (RTX_COSTS): float_extend is not for free for SSE. | |
8829 | ||
1bb1f121 ZW |
8830 | 2002-06-11 Zack Weinberg <zack@codesourcery.com> |
8831 | ||
8832 | * Makefile.in (distclean): Delete junk left in testsuite | |
8833 | directory, too. | |
8834 | ||
88c65786 JL |
8835 | 2002-06-11 Jeffrey Law <law@redhat.com> |
8836 | ||
c6a3fcf0 JL |
8837 | * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the |
8838 | last insn created by the splitter. | |
8839 | ||
0db79a6b JL |
8840 | * caller-save.c (init_caller_save): Move creation of SAVEINSN |
8841 | and RESTINSN into into the scope of the sequence. | |
8842 | ||
47eb2ca8 JL |
8843 | * mips.c (mips_expand_prologue): Use emit_jump_insn for trivial |
8844 | RETURN insns. | |
8845 | ||
603b4b92 JL |
8846 | * loop.c (loop_regs_scan): Avoid useless generation of REG objects. |
8847 | ||
88c65786 JL |
8848 | * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now, |
8849 | not the pattern. So extract the pattern from the insn. | |
882c7223 JL |
8850 | |
8851 | * mips.c (embedded_pic_fnaddr_reg): Fix typo. | |
8852 | ||
df14489a UW |
8853 | 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com> |
8854 | ||
8855 | * config/s390/s390.md (movsi): Only use floating point | |
8856 | register alternatives when operands are already fprs. | |
8857 | (movdi_31, movdi_64): Likewise. | |
8858 | ||
6f9703af DM |
8859 | 2002-06-11 David S. Miller <davem@redhat.com> |
8860 | ||
8861 | * emit-rtl.c (try_split): Do not abort on non-INSN_P. | |
8862 | Only run RTX equality checks on INSN_P rtl. | |
8863 | ||
b2ccb744 UW |
8864 | 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com> |
8865 | ||
8866 | * config/s390/s390.md (reload_base, ltorg): Remove. | |
1c0ca89d | 8867 | * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool, |
b2ccb744 | 8868 | s390_asm_output_pool_prologue, s390_pool_start_insn): Remove. |
1c0ca89d | 8869 | * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool, |
b2ccb744 UW |
8870 | s390_asm_output_pool_prologue): Likewise. |
8871 | * s390.h (s390_pool_start_insn): Likewise. | |
8872 | ||
1c0ca89d | 8873 | * s390.c (s390_output_symbolic_const): Remove support for |
b2ccb744 UW |
8874 | old-style pool chunks. |
8875 | (s390_function_epilogue): Likewise. | |
1c0ca89d | 8876 | (s390_output_constant_pool): Likewise. Also, fix incorrect |
b2ccb744 UW |
8877 | alignment for 64-bit literal pools. |
8878 | (print_operand_address): Remove 'y' and 'Y' format flags. | |
1c0ca89d | 8879 | * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for |
b2ccb744 UW |
8880 | old-style pool chunks. |
8881 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise. | |
8882 | (ASM_OUTPUT_POOL_EPILOGUE): Remove. | |
8883 | (S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove. | |
8884 | ||
8885 | * s390.c (consttable_operand): New function. | |
8886 | * s390-protos.h (consttable_operand): Declare it. | |
8887 | * s390.h (PREDICATE_CODES): Add consttable_operand. | |
1c0ca89d ZW |
8888 | * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di, |
8889 | consttable_sf, consttable_df, pool_start_31, pool_end_31, | |
b2ccb744 UW |
8890 | pool_start_64, pool_end_64, reload_base, reload_base2): New insns. |
8891 | * s390.c (struct constant, struct constant_pool): New data types. | |
8892 | (constant_modes, gen_consttable): New variables. | |
1c0ca89d | 8893 | (s390_start_pool, s390_end_pool, s390_add_pool, |
b2ccb744 | 8894 | s390_dump_pool, s390_free_pool): New functions. |
1c0ca89d | 8895 | (s390_chunkify_pool): Completely reimplement literal pool |
b2ccb744 UW |
8896 | overflow handling. |
8897 | ||
8898 | * s390.c (s390_pool_overflow): New variable. | |
8899 | * s390.h (s390_pool_overflow): Declare it. | |
1c0ca89d | 8900 | * s390.md (cjump, icjump): Use it to adapt length for out-of-range |
b2ccb744 UW |
8901 | jumps in literal pool overflow situations. |
8902 | ||
8903 | * s390.c (s390_decompose_address): Accept new-style pool chunk offsets. | |
1c0ca89d | 8904 | (s390_frame_info): Account for possible use of RETURN_REGNUM |
b2ccb744 UW |
8905 | by new literal pool overflow code. |
8906 | (s390_emit_prologue): Likewise. | |
8907 | ||
2f937369 DM |
8908 | 2002-06-05 David S. Miller <davem@redhat.com> |
8909 | ||
8910 | Delete SEQUENCE rtl usage outside of reorg and ssa passes. | |
8911 | * rtl.h (gen_sequence, emit_insns, emit_insns_before, | |
8912 | emit_insns_before_scope, emit_insns_after, | |
8913 | emit_insns_after_scope): Delete declaration. | |
8914 | * ada/misc.c (insert_code_for): Use emit_insn* instead of | |
8915 | emit_insns_foo. | |
8916 | * config/alpha/alpha.c (alpha_set_memflags_1): Abort on SEQUENCE. | |
8917 | (alpha_set_memflags): Fix comment. | |
8918 | (set_frame_related_p): Use get_insns instead of gen_sequence. | |
8919 | * config/alpha/alpha.md (setjmp receiver splitter): Avoid | |
8920 | emitting no insns. | |
8921 | * config/arm/arm.c (arm_finalize_pic): Use get_insns instead of | |
8922 | gen_sequence. | |
8923 | (arm_gen_load_multiple, arm_gen_store_multiple): Likewise. | |
8924 | * config/fr30/fr30.c (fr30_move_double): Likewise. | |
8925 | * config/i386/i386.c (ix86_expand_int_movcc, ix86_expand_movstr): | |
8926 | Likewise. | |
8927 | * config/ia64/ia64.c (spill_restore_mem): Likewise. | |
8928 | * config/ia64/ia64.md (conditional move spliiter): Avoid emitting | |
8929 | no insns. | |
8930 | * config/m32r/m32r.c (gen_split_move_double): Use get_insns | |
8931 | instead of gen_sequence. | |
8932 | * config/mips/mips.c (embedded_pic_fnaddr_reg): Likewise. | |
8933 | (mips_expand_prologue, mips16_gp_pseudo_reg): Likewise. | |
8934 | * config/sh/sh.c (sh_need_epilogue): Likewise. | |
8935 | * config/sparc/sparc.md (current_function_calls_alloca, flat): New | |
8936 | attributes. | |
8937 | (setjmp pattern and split): Use them to avoid splitter which emits | |
8938 | no RTL. | |
8939 | * genattrtab.c (main): Emit include of function.h | |
8940 | * config/stormy16/stormy16.c (xstormy16_split_cbranch): Use | |
8941 | get_insns instead of gen_sequence. | |
8942 | * config/cris/cris.c (cris_split_movdx): Likewise. | |
8943 | * emit-rtl.c (emit_insns*): Kill. | |
8944 | (try_split): Expect insn list instead of SEQUENCE. | |
8945 | (make_jump_insn_raw, make_call_insn_raw): Fix comments. | |
8946 | (emit_*insn*): Reimplement to work with INSN lists and PATTERNs. | |
8947 | Make them abort if a SEQUENCE is given and RTL checking is | |
8948 | enabled. | |
8949 | (emit_*_scope): Don't forget to set scope on final insn. | |
8950 | (gen_sequence): Move from here... | |
8951 | * ssa.c (gen_sequence): To here as private function. | |
8952 | * builtins.c (expand_builtin_apply_args): Use emit_insn_foo, fix | |
8953 | comments. | |
8954 | (expand_builtin_return, expand_builtin_mathfn): Likewise. | |
8955 | (expand_builtin_strlen): Use get_insns instead of gen_sequence. | |
8956 | (expand_builtin_saveregs): Use emit_insn_foo, fix comments. | |
8957 | (expand_builtin_expect_jump): Use get_insns and fix comments. | |
8958 | * calls.c (try_to_integrate): Use emit_insn_foo. | |
8959 | (expand_call, emit_library_call_value_1): Likewise. | |
8960 | * expr.c (emit_queue): Handle insn lists instead of SEQUENCE. | |
8961 | (emit_move_insn_1): Use get_insns instead of gen_sequence. | |
8962 | (expand_expr): Use emit_insn_foo. | |
8963 | * cfgrtl.c (commit_one_edge_insertion): Use emit_insn_foo. | |
8964 | * except.c (build_post_landing_pads): Likewise. | |
8965 | * flow.c (attempt_auto_inc): Likewise. | |
8966 | * stmt.c (expand_fixup, fixup_gotos, expand_nl_handler_label, | |
8967 | expand_nl_goto_receivers, expand_decl_cleanup): Likewise. | |
8968 | * function.c (fixup_var_refs_insn): Use get_insns instead of | |
8969 | gen_sequence. | |
8970 | (fixup_var_refs_1): Likewise and expect insn list from gen_foo. | |
8971 | (fixup_memory_subreg): Use get_insns instead of gen_sequence. | |
8972 | (fixup_stack_1, purge_addressof_1, expand_main_function, | |
8973 | get_arg_pointer_save_area): Likewise. | |
8974 | (optimize_bit_field, instantiate_virtual_regs_1, assign_parms, | |
8975 | expand_function_end): Use emit_insn_foo. | |
8976 | (record_insns, keep_stack_depressed): Work with insn list instead | |
8977 | of SEQUENCE, fix comments. | |
8978 | * ifcvt.c (noce_emit_store_flag, noce_try_store_flag, | |
8979 | noce_try_store_flag_constants, noce_try_store_flag_inc, | |
8980 | noce_try_store_flag_mask, noce_emit_cmove, noce_try_cmove_arith, | |
8981 | noce_try_minmax, noce_try_abs): Use emit_insn_foo. | |
8982 | (noce_process_if_block): Use get_insns instead of gen_sequence. | |
8983 | * optabs.c (add_equal_note): Work with insn list, fix comments. | |
8984 | (expand_binop): Expect insn list from GEN_FCN(), use emit_insn_foo. | |
8985 | (expand_unop, expand_complex_abs, expand_unop_insn, | |
8986 | expand_no_conflict_block): Likewise. | |
8987 | (gen_move_insn): Use get_insns instead of gen_sequence. | |
8988 | (gen_cond_trap): Likewise. | |
8989 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
8990 | (emit_initial_value_sets): Use emit_insn_foo. | |
8991 | * reload1.c (emit_output_reload_insns, emit_reload_insns): Likewise. | |
8992 | (fixup_abnormal_edges): Avoid losing REG_NOTES more intelligently | |
8993 | now that RTL generators give insn lists. | |
8994 | * sibcall.c (replace_call_placeholder): Use emit_insn_foo. | |
8995 | * doloop.c (doloop_modify, doloop_modify_runtime): Use get_insns | |
8996 | instead of gen_sequence. | |
8997 | (doloop_optimize): Work with insn lists instead of SEQUENCE rtl. | |
8998 | * explow.c (emit_stack_save, emit_stack_restore): Use get_insns | |
8999 | instead of gen_sequence. | |
9000 | * loop.c (move_movables, emit_prefetch_instructions, | |
9001 | gen_add_mult, check_dbra_loop, gen_load_of_final_value): | |
9002 | Likewise. | |
9003 | (loop_regs_update): Work with insn list instead of SEQUENCE rtl. | |
9004 | (product_cheap_p): Likewise, and add commentary about RTL wastage | |
9005 | here. | |
9006 | * lcm.c (optimize_mode_switching): Use get_insns instead of | |
9007 | gen_sequence. | |
9008 | * profile.c (gen_edge_profiler): Likewise. | |
9009 | * regmove.c (copy_src_to_dest): Likewise. | |
9010 | * reg-stack.c (compensate_edge): Likewise and fix comment. | |
9011 | * gcse.c (process_insert_insn): Likewise. | |
9012 | (insert_insn_end_bb): Work with insn list instead of SEQUENCE rtl. | |
9013 | * jump.c (delete_prior_computation): Update comment. | |
9014 | * genemit.c (gen_expand, gen_split, main): Use get_insns instead | |
9015 | of gen_sequence, update comments to match. | |
9016 | * recog.c (peephole2_optimize): Work with insn lists instead of | |
9017 | SEQUENCE rtl. | |
9018 | * sched-vis.c (print_pattern): Abort on SEQUENCE. | |
9019 | * unroll.c (unroll_loop, find_splittable_givs, final_giv_value): | |
9020 | Use get_insns instead of gen_sequence. | |
9021 | (copy_loop_body): Likewise and don't emit dummy NOTE. | |
9022 | * genrecog.c: Don't mention SEQUENCE rtl in comments. | |
9023 | * combine.c (try_combine): Expect insn lists from split generator. | |
9024 | * reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by | |
9025 | hand. | |
1c0ca89d | 9026 | |
43cf10b5 RS |
9027 | 2002-06-11 Roger Sayle <roger@eyesopen.com> |
9028 | Andreas Jaeger <aj@suse.de> | |
9029 | ||
9030 | * cfgbuild.c: Update copyright years. | |
9031 | ||
1062f15a AS |
9032 | 2002-06-11 Andreas Schwab <schwab@suse.de> |
9033 | ||
1c0ca89d | 9034 | * config/m68k/m68k.h (PREDICATE_CODES): Define. |
1062f15a | 9035 | |
ce3649d2 EC |
9036 | 2002-06-11 Eric Christopher <echristo@redhat.com> |
9037 | ||
9038 | * doc/tm.texi (Run-time Target): Add comment about flag_iso | |
9039 | and strict ANSI. | |
9040 | * config/mips/ecoff.h (CPP_PREDEFINES): Remove. | |
9041 | * config/mips/ecoffl.h: Ditto. | |
9042 | * config/mips/elf64.h (SUBTARGET_CPP_SPEC): Remove. | |
9043 | (CPP_PREDEFINES): Ditto. | |
9044 | * config/mips/elfl64.h: Ditto. | |
9045 | * config/mips/elfl.h: Ditto. | |
9046 | * config/mips/iris3.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): #if 0 | |
9047 | out until irix header consolidation. | |
9048 | * config/mips/iris5.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): Replace | |
9049 | with SUBTARGET_OS_CPP_BUILTINS. | |
9050 | * config/mips/iris6.h: Ditto. | |
9051 | (CPLUSPLUS_CPP_SPEC): Remove. | |
9052 | * config/mips/linux.h: Ditto. | |
9053 | * config/mips/netbsd.h: Ditto. | |
9054 | * config/mips/openbsd.h: Ditto. | |
9055 | * config/mips/rtems.h: Ditto. | |
9056 | * config/mips/rtems64.h: Ditto. | |
9057 | * config/mips/sni-svr4.h: Ditto. | |
9058 | * config/mips/mips.h (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4, | |
9059 | ISA_MIPS32, ISA_MIPS64): New defines. | |
9060 | (GENERATE_MULT3_SI, HAVE_SQRT_P, ISA_HAS_64BIT_REGS, | |
9061 | ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4, | |
9062 | ISA_HAS_COND_TRAP, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
9063 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Use. | |
9064 | (TARGET_CPU_CPP_BUILTINS): Define. | |
9065 | (CPP_PREDEFINES, LONG_MAX_SPEC, CPP_FPR_SPEC, CPP_SPEC): Remove. | |
9066 | * config/mips/mips.md (mulsi3_mult3): Use ISA_MIPS32/64. | |
9067 | (movdicc): Remove check for ISA_MIPS32. | |
9068 | (bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, | |
9069 | sunordered_df, sunordered_sf, sordered_df, sordered_sf, | |
9070 | sunlt_df, sunlt_sf, sungt_df, sungt_sf, suneq_df, suneq_sf, sunge_df, | |
9071 | sunge_sf, sunle_df, sunle_sf): New patterns. | |
9072 | ||
bc3437ba NB |
9073 | 2002-06-11 Neil Booth <neil@daikokuya.demon.co.uk> |
9074 | ||
9075 | * Makefile.in: Update cppmain.o. | |
9076 | * cpphash.h (struct cpp_reader): Move some members to a | |
9077 | nested structure. | |
9078 | (trad_line): Rename saved_line. | |
9079 | (_cpp_read_logical_line_trad): Update. | |
9080 | (_cpp_remove_overlay): New. | |
9081 | * cppinit.c (cpp_create_reader): No need to set saved_line. | |
9082 | (cpp_destroy): Update. | |
9083 | (cpp_read_main_file): Only overlay if compiling. | |
9084 | * cpplex.c (continue_after_nul): Return false if in directive. | |
9085 | * cpplib.c (EXPAND): New. | |
9086 | (directive_table, SEEN_EOL): Update. | |
9087 | (end_directive): Remove overlay if traditional; don't skip | |
9088 | line in traditional #define. | |
9089 | (prepare_directive_trad): New. | |
9090 | (_cpp_handle_directive, run_directive): Update for traditional | |
9091 | directives. | |
9092 | (lex_macro_node): Simplify, don't use lex_identifier_trad. | |
9093 | * cpplib.h (struct options): Add preprocess_only. | |
9094 | * cppmain.c: Don't include intl.h. | |
9095 | (cpp_preprocess_file): Set options->preprocess_only. | |
9096 | (scan_translation_unit_trad): Fix, and print line numbers. | |
9097 | * cpptrad.c (check_output_buffer, lex_identifier, scan_parameters, | |
9098 | maybe_start_funlike, scan_out_logical_line, replace_args_and_push, | |
9099 | save_replacement_text, _cpp_create_trad_definition): Update for | |
9100 | variable renaming. | |
9101 | (_cpp_overlay_buffer): Save line number. | |
9102 | (_cpp_remove_overlay): Rename from restore_buff, restore line. | |
9103 | (_cpp_read_logical_line_trad): Don't handle overlays here. | |
9104 | (scan_out_logical_line): Process directives. | |
9105 | ||
b25bb36a DS |
9106 | 2002-06-11 Danny Smith <dannysmith@users.sourforge.net> |
9107 | ||
9108 | * gthr-win32.h: Wrap functions in extern "C". | |
9109 | (__gthread_key_t): Typedef as unsigned long, | |
9110 | not win32 DWORD. | |
9111 | (__GTHREAD_ONCE_INIT): Use 0, not win32 FALSE. | |
9112 | (__gthread_mutex_t): Typedef as void*, not win32 HANDLE. | |
9113 | (__gthr_win32_once, __gthr_win32_key_create, | |
9114 | __gthr_win32_key_delete, __gthr_win32_getspecific, | |
9115 | __gthr_win32_setspecific, __gthr_win32_mutex_init_function, | |
9116 | __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock, | |
9117 | __gthr_win32_mutex_unlock): Declare. | |
9118 | (__gthread_once,__gthread_key_create, | |
9119 | __gthread_key_delete, __gthread_getspecific, | |
9120 | __gthread_setspecific, __gthread_mutex_init_function, | |
9121 | __gthread_mutex_lock,__gthread_mutex_trylock, | |
9122 | __gthread_mutex_unlock): Call corresponding | |
9123 | __gthr_win32_* extern implementations if #defined | |
9124 | __GTHREAD_HIDE_WIN32API. | |
9125 | * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Set to | |
ce3649d2 | 9126 | $(srcdir)/config/i386/gthr-win32.c |
b25bb36a DS |
9127 | * config/i386/gthr-win32.c: New implementation file. |
9128 | (__gthr_win32_once, __gthr_win32_key_create, | |
9129 | __gthr_win32_key_delete, __gthr_win32_getspecific, | |
9130 | __gthr_win32_setspecific, __gthr_win32_mutex_init_function, | |
9131 | __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock, | |
9132 | __gthr_win32_mutex_unlock): New functions, based on | |
9133 | static inlines in gthr-win32.h. | |
9134 | ||
a69c385e BW |
9135 | 2002-06-10 Bob Wilson <bob.wilson@acm.org> |
9136 | ||
9137 | * config/xtensa/xtensa.c (override_options): Don't warn about | |
9138 | using -fpic or -fPIC when PIC is enabled by default. | |
9139 | ||
e654730d RS |
9140 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9141 | ||
9142 | * toplev.c (rest_of_compilation): Revert flag_if_conversion change. | |
9143 | ||
a5381466 ZW |
9144 | 2002-06-10 Zack Weinberg <zack@codesourcery.com> |
9145 | ||
9146 | * Makefile.in (MACHMODE_H): Add @extra_modes_file@. | |
ce3649d2 | 9147 | * configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def |
a5381466 ZW |
9148 | exists, substitute its pathname as @extra_modes_file@, define |
9149 | EXTRA_MODES_FILE to be an appropriate string to #include it | |
9150 | with, and define EXTRA_CC_MODES to 1. | |
9151 | ||
9152 | * machmode.def: Update comments. Include EXTRA_MODES_FILE if | |
9153 | it's defined. Get rid of redundancy in calling sequence for | |
9154 | CC; don't use it to define CCmode, to avoid a warning. | |
9155 | * libgcc2.c: Include symcat.h for the sake of machmode.def. | |
9156 | ||
9157 | * arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def, | |
9158 | i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def, | |
9159 | pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def: | |
9160 | New files. | |
9161 | * arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h, | |
9162 | pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES. | |
9163 | ||
9164 | * doc/sourcebuild.texi, doc/tm.texi: Document new scheme for | |
9165 | defining extra CC modes. | |
9166 | ||
852c6ec7 RS |
9167 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9168 | Andreas Jaeger <aj@suse.de> | |
9169 | ||
9170 | * cfgrtl.c (create_basic_block_structure): Remove index argument | |
9171 | and use last_basic_block++ instead. (create_basic_block): Update. | |
9172 | * cfgbuild.c (find_basic_blocks_1): Likewise. | |
9173 | ||
9174 | * cfgrtl.c (compute_bb_for_insn): Remove unused "max" argument. | |
9175 | * haifa-sched.c (sched_init): Update compute_bb_for_insn caller. | |
9176 | * sched-ebb.c (schedule_ebbs): Likewise. | |
9177 | * sched-rgn.c (schedule_insns): Likewise. | |
9178 | * ssa-ccp.c (ssa_const_prop): Likewise. | |
9179 | * ssa-dcs.c (ssa_eliminate_dead_code): Likewise. | |
9180 | * toplev.c (rest_of_compilation): Likewise. | |
9181 | * config/ia64/ia64.c (ia64_reorg): Likewise. | |
9182 | ||
60c86d4e RS |
9183 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9184 | ||
9185 | * simplify-rtx.c (simplify_replace_rtx): Allow replacement | |
9186 | of matching registers. | |
9187 | ||
9543a9d2 RS |
9188 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9189 | ||
9190 | * toplev.c (rest_of_compilation): Disable early if-conversion pass. | |
9191 | * gcse.c (bypass_conditional_jumps): Fix typo in setcc test. | |
9192 | ||
38e18619 HPN |
9193 | 2002-06-10 Hans-Peter Nilsson <hp@bitrange.com> |
9194 | ||
9195 | * config/mmix/mmix.h: Improve comments. | |
9196 | (CPP_SPEC, CPP_PREDEFINES): Don't define. | |
9197 | (TARGET_CPU_CPP_BUILTINS): Define. | |
9198 | (CANONICALIZE_COMPARISON): Don't define, replace with comment. | |
9199 | (PREDICATE_CODES) <"mmix_reg_or_8bit_or_256_operand">: Remove | |
9200 | unused predicate. | |
9201 | * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Add cast to avoid | |
9202 | compiler warning. | |
9203 | (mmix_constant_address_p): Remove another | |
9204 | redundant test before case. | |
9205 | (mmix_canonicalize_comparison): Remove unused function. | |
9206 | (mmix_print_operand_address): Don't test and adjust for operand in | |
9207 | non-canonical format. | |
9208 | (mmix_reg_or_8bit_or_256_operand): Remove unused predicate. | |
9209 | (mmix_gen_compare_reg): Don't use CANONICALIZE_COMPARISON. | |
9210 | ||
ac17cd8f ZW |
9211 | 2002-06-10 Zack Weinberg <zack@codesourcery.com> |
9212 | ||
9213 | * config/m32r/m32r.h: Don't define SELECT_CC_MODE. | |
9214 | * config/m32r/m32r-protos.h: Don't prototype m32r_select_cc_mode. | |
9215 | * config/m32r/m32r.c: Don't define m32r_select_cc_mode. | |
9216 | (gen_compare): Use CCmode unconditionally. | |
9217 | ||
7b668f9e JJ |
9218 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9219 | ||
9220 | PR optimization/6759 | |
9221 | * cse.c (cse_insn): Fold src_eqv just once, store it folded back into | |
9222 | the REQ_EQUAL note. | |
9223 | ||
85d49058 JJ |
9224 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9225 | ||
9226 | PR c/6660 | |
9227 | * c-decl.c (grokfield): Allow user defined types if they declare | |
9228 | structs or unions for unnamed fields. | |
9229 | ||
50f30e6b JJ |
9230 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9231 | ||
9232 | PR c/6809 | |
9233 | * print-rtl.c (print_mem_expr): Don't crash on unnamed fields. | |
9234 | ||
156755ac JJ |
9235 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9236 | ||
9237 | PR optimization/6842 | |
9238 | * combine.c (combine_simplify_rtx) [SUBREG]: Don't ICE if VOIDmode | |
9239 | operand subreg cannot be simplified. | |
9240 | ||
5d056e9b JJ |
9241 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9242 | ||
9243 | * varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR. | |
9244 | (compare_constant): Likewise. | |
9245 | (output_addressed_constants): Likewise. | |
9246 | ||
2bf87216 JJ |
9247 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9248 | ||
9249 | * cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't | |
9250 | merge bb with itself. | |
9251 | ||
135fd2d8 RH |
9252 | 2002-06-10 Richard Henderson <rth@redhat.com> |
9253 | ||
9254 | * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask. | |
9255 | (builtin_zapnot): Likewise. | |
9256 | ||
9257 | * config/alpha/ev5.md: Don't combine shift and mvi insns in one | |
9258 | reservation. | |
9259 | ||
fce5a9f2 EC |
9260 | 2002-06-10 Eric Christopher <echristo@redhat.com> |
9261 | ||
9262 | * config/i386/i386.c (ix86_osf_output_function_prologue): Remove | |
9263 | prototype and function. | |
9264 | (TARGET_ASM_FUNCTION_PROLOGUE): Remove OSF version. | |
9265 | (call_insn_operand): Remove half pic references. | |
9266 | (legitimate_address_p): Ditto. | |
9267 | * config/i386/i386.h: Remove half pic defines. | |
9268 | ||
95b1627e EC |
9269 | 2002-06-10 Eric Christopher <echristo@redhat.com> |
9270 | ||
9271 | * doc/extend.texi (Return Address): Add note explaining the side- | |
9272 | effects of inlining on __builtin_return_address. | |
9273 | ||
aea185b3 TT |
9274 | 2002-06-10 Tom Tromey <tromey@redhat.com> |
9275 | ||
9276 | * Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h. | |
9277 | (c-common.o): Depend on langhooks.h. | |
9278 | ||
afb03408 NB |
9279 | 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk> |
9280 | ||
9281 | * cpphash.h (_cpp_read_logical_line_trad, | |
9282 | _cpp_expansions_different_trad): Update prototypes. | |
9283 | * cpplex.c (continue_after_nul): New. | |
9284 | * cppmain.c: Include cpphash.h. | |
9285 | (scan_translation_unit_trad): New. | |
9286 | (cpp_preprocess_file): Call it. | |
9287 | * cpptrad.c (_cpp_read_logical_line_trad): Take new parameter | |
9288 | overlay. | |
9289 | (_cpp_expansions_different_trad): Update prototype. | |
9290 | ||
2754d3c5 R |
9291 | Mon Jun 10 18:02:24 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9292 | ||
9293 | Fix cfi generation for SH[1-4]: | |
9294 | ||
9295 | * sh.c (frame_insn): New function. | |
9296 | (output_stack_adjust): Add parameter emit_fn. All callers changed. | |
9297 | (push): Now returns rtx. Use frame_insn. | |
9298 | (sh_expand_prologue): Clear RTX_FRAME_RELATED_P for second push | |
9299 | of a DF register. | |
9300 | * sh.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN): Define. | |
9301 | ||
ad854f24 ZW |
9302 | 2002-06-10 Zack Weinberg <zack@codesourcery.com> |
9303 | ||
9304 | * Makefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h, | |
9305 | and gtype-desc.c. | |
9306 | (mostlyclean): Delete specs.h, options.h, gencheck.h here... | |
9307 | (distclean): ... not here. But do delete all testsuite/*.log, | |
9308 | testsuite/*.sum files here. Delete mkheaders. Delete | |
9309 | po/*.gmo and the testsuite directory in a split tree build. | |
9310 | ||
bf1660a6 JL |
9311 | 2002-06-10 Jeffrey Law <law@redhat.com> |
9312 | ||
9313 | * alias.c (static_reg_base_value): New to hold RTL for | |
9314 | items allocated once per function for the aliasing code. | |
9315 | (init_alias_once_per_function): Initialize static_reg_base_value. | |
9316 | (init_alias_analysis): Avoid throw-away allocations of RTL by | |
9317 | using pre-computed values in static_reg_base_value. | |
9318 | * function.c (prepare_function_start): Call | |
9319 | init_alias_once_per_function appropriately. | |
9320 | * rtl.h (init_alias_once_per_function): Declare. | |
9321 | * caller-save (init_caller_save): Restructure slightly to | |
9322 | avoid lots of silly RTL generation. | |
9323 | * expr.c (init_expr_once): Likewise. | |
9324 | * reload1.c (reload_cse_regs_1): Allocate throw-away register | |
9325 | RTL object here. Pass it into children. | |
9326 | (reload_cse_simplify_operands): Use passed-in register RTL | |
9327 | object. | |
9328 | (reload_cse_simplify): Pass through throw-away register | |
9329 | RTL object. | |
9330 | ||
8dc58484 | 9331 | 2002-06-10 Daniel Berlin <dberlin@dberlin.org> |
ad854f24 | 9332 | |
8dc58484 DB |
9333 | * Makefile.in (ssa.o): Add dependency on $(RTL_H), which was missing. |
9334 | ||
ea16b5ee RS |
9335 | 2002-06-10 Richard Sandiford <rsandifo@redhat.com> |
9336 | ||
9337 | * gcc.c (process_command): Avoid assignment to read-only location. | |
9338 | Fix sizeof calculation. | |
9339 | ||
6618c5d4 NB |
9340 | 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk> |
9341 | ||
9342 | * cpphash.h (struct cpp_macro): Put comments on their own lines. | |
9343 | (_cpp_expansions_different_trad): New. | |
9344 | * cppmacro.c (warn_of_redefinition): Fix for traditional case. | |
9345 | * cpptrad.c (canonicalize_text): New. | |
9346 | (scan_out_logical_line): Handle no arguments correctly. | |
9347 | (save_replacement_text): Commit memory when finished. | |
9348 | (_cpp_expansions_different_trad): New. | |
9349 | ||
96e3ac4f TJ |
9350 | 2002-06-10 Tim Josling <tej@melbpc.org.au> |
9351 | ||
9352 | * gengtype.c (unnamed enum containing BASE_FILE_*): Add languages | |
9353 | TREELANG and COBOL. | |
9354 | (lang_names): Add treelang and cobol. | |
9355 | (get_file_basename): Add code to support treelang and cobol as | |
9356 | 4th and 5th users of c-common.c. | |
9357 | ||
37a4aa31 GK |
9358 | 2002-06-09 Geoffrey Keating <geoffk@redhat.com> |
9359 | ||
9360 | * Makefile.in (install-driver): Install driver as | |
9361 | $(target_alias)-gcc-$(version). | |
9362 | * gcc.c (spec_version): Make const. | |
9363 | (process_command): Handle -V and -b by using exec. | |
9364 | * doc/invoke.texi (Target Options): Restore -V option, | |
9365 | update docs for -b option. | |
9366 | ||
02ef40d9 TJ |
9367 | 2002-06-10 Tim Josling <tej@melbpc.org.au> |
9368 | ||
ad854f24 ZW |
9369 | * configure.in (remaining_languages_check): |
9370 | Added check that all languages specified were found. | |
8d9afc4e | 9371 | Exit if not found. Previous behavior was silent failure. |
02ef40d9 TJ |
9372 | * configure: Regenerated. |
9373 | ||
b38b97c4 | 9374 | 2002-06-10 Tim Josling <tej@melbpc.org.au> |
ad854f24 | 9375 | |
1c0ca89d | 9376 | First steps to making treelang documentation compliant, based on |
b38b97c4 TJ |
9377 | instructions in sourcebuild.texi. Also add to gcc.c list of |
9378 | default languages. | |
ad854f24 | 9379 | |
b38b97c4 TJ |
9380 | * doc/contrib.texi: Add self as contributor of treelang. |
9381 | ||
9382 | * doc/frontends.texi: Add mention of treelang. | |
9383 | ||
9384 | * doc/invoke.texi (Overall Options): Add mention of treelang. | |
9385 | ||
9386 | * doc/standards.texi: Add mention of treelang. | |
9387 | ||
ae9dbf1f HPN |
9388 | 2002-06-09 Hans-Peter Nilsson <hp@axis.com> |
9389 | ||
9390 | * config/cris/cris.c: Include ggc.h | |
9391 | ||
1ce676a0 NB |
9392 | 2002-06-09 Neil Booth <neil@daikokuya.demon.co.uk> |
9393 | ||
9394 | * cpphash.h (_cpp_push_text_context): Update. | |
9395 | (_cpp_arguments_ok): New. | |
9396 | * cppmacro.c (_cpp_arguments_ok): New, split out from... | |
9397 | (collect_args): ...here. | |
9398 | (_cpp_push_text_context): Change inputs. | |
9399 | * cpptrad.c (struct fun_macro, maybe_start_funlike, save_argument, | |
9400 | replace_args_and_push): New. | |
9401 | (lex_identifier, _cpp_lex_identifier_trad, scan_parameters): | |
9402 | Don't use IS macros directly. | |
9403 | (scan_out_logical_line): Handle function-like macro argument | |
9404 | collection. | |
9405 | (push_replacement_text): Update. | |
9406 | (replacement_length): Remove. | |
9407 | (_cpp_create_trad_definition): Don't skip whitespace before | |
9408 | checking for '('. | |
9409 | ||
25f2e176 MM |
9410 | 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl> |
9411 | ||
9412 | * config/avr/avr.c (avr_mcu_types): Update for new devices. | |
9413 | * config/avr/avr.h (TARGET_SWITCHES, AVR_MEGA): Add -mshort-calls. | |
9414 | (LINK_SPEC, CRT_BINUTILS_SPECS): Update for new devices. | |
9415 | * config/avr/avr.md ("type" and "length" attributes): New type | |
9416 | "xcall", length 1 or 2 if AVR_MEGA. Use in all patterns that | |
9417 | output a single "call" or "rcall" insn depending on device size. | |
9418 | * config/avr/t-avr (MULTILIB_MATCHES): Update for new devices. | |
9419 | ||
309323c2 DE |
9420 | 2002-06-09 David Edelsohn <edelsohn@gnu.org> |
9421 | ||
9422 | * config/rs6000/{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3 | |
9423 | synonym for 630. Add power4. Remove embedded processors. Use -m604 | |
9424 | assembler option. | |
9425 | (CPP_CPU_SPEC): Add power3 and power4. | |
9426 | (PROCESSOR_DEFAULT): Change to 604e. | |
9427 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Similar additions. | |
9428 | (CPP_CPU_SPEC): Similar additions. | |
9429 | (enum process_type): Add POWER4. | |
9430 | (RTX_COSTS): Add POWER4. | |
9431 | (CPP_CPU_SPEC): Similar additions. | |
9432 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define. | |
6ef0903d | 9433 | (PROCESSOR_DEFAULT64): Define. |
309323c2 DE |
9434 | * config/rs6000/rs6000.c (rs6000_override_options): Add power4. |
9435 | (rs6000_adjust_cost): Add 603, 604, 604e, 620, 630, Power4 to | |
9436 | branch adjustment. | |
9437 | (rs6000_issue_rate): Add Power4. | |
9438 | * config/rs6000/rs6000.md (cpu attr): Add power4. | |
9439 | (iu compare): Remove 604, 604e, 620, 630. | |
9440 | Add basic Power4 scheduling information. | |
9441 | (mfcr/mtcrf): Change type attribute to cr_logical. | |
9442 | ||
1f8e4682 KG |
9443 | 2002-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9444 | ||
57d80297 KG |
9445 | * gengtype.h (error_at_line): Use PARAMS, not VPARAMS. Add |
9446 | ATTRIBUTE_PRINTF_2. | |
9447 | * gengtype-lex.l: Fix format specifier warning. | |
9448 | ||
1f8e4682 KG |
9449 | * genautomata.c: Don't include ctype.h or limits.h. Use ISSPACE, |
9450 | not isspace. | |
9451 | * gengtype-lex.l: Don't include ctype.h and use ISSPACE/ISIDNUM in | |
9452 | lieu of isspace/IDchar. | |
9453 | * gengtype.c: Likewise for ctype.h and ISALNUM vs isalnum. | |
9454 | * read-rtl.c: Likewise for ctype.h. Don't define ISDIGIT or | |
9455 | ISSPACE. | |
9456 | ||
5a9ee623 ZW |
9457 | 2002-06-08 Zack Weinberg <zack@codesourcery.com> |
9458 | ||
9459 | * Makefile.in (LIBCPP_OBJS): Take out version.o. | |
9460 | * cpphash.h (cpp_reader): Take out print_version member. | |
9461 | * cppinit.c: (cpp_handle_option): Don't do anything with | |
9462 | -version. Just set help_only for --version, --target-help. | |
9463 | Just set verbose option for -v. | |
9464 | (cpp_post_options): Don't print a version string. | |
9465 | ||
c16e5a35 MM |
9466 | 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
9467 | ||
9468 | * config/avr/avr.c (TARGET_SECTION_TYPE_FLAGS): New. | |
9469 | (avr_section_type_flags): New, handle .noinit* sections. | |
9470 | ||
79bc889e JT |
9471 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9472 | ||
9473 | * config/sh/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define | |
9474 | and include netbsd_entry_point. | |
9475 | (SUBTARGET_LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF. | |
9476 | (NETBSD_ENTRY_POINT): Define. | |
9477 | ||
6a79bb0a JT |
9478 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9479 | ||
9480 | * config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty | |
5a9ee623 | 9481 | if not already defined. |
6a79bb0a JT |
9482 | (EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS. |
9483 | ||
e52b6b63 MM |
9484 | 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
9485 | ||
9486 | * config/avr/avr.c (avr_regs_to_save): No need to save any registers | |
9487 | in a noreturn function. | |
9488 | (avr_output_function_prologue, avr_output_function_epilogue): | |
9489 | Correct function size calculation. Do not crash on empty function. | |
9490 | (avr_output_function_epilogue): No need for epilogue after a BARRIER. | |
9491 | ||
1569d670 JT |
9492 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9493 | ||
9494 | * config/mips/netbsd.h (SUBTARGET_EXTRA_SPECS): Add | |
9495 | netbsd_link_spec and netbsd_entry_point. | |
9496 | (LINK_SPEC): Use %(netbsd_link_spec). | |
9497 | (NETBSD_ENTRY_POINT): Define. | |
9498 | ||
cfb06024 JT |
9499 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9500 | ||
9501 | * config/sparc/netbsd-elf.h (LINK_ARCH32_SPEC): Only specify | |
9502 | linker emulation. | |
9503 | (LINK_ARCH64_SPEC): Likewise. | |
9504 | (LINK_SPEC, NETBSD_ENTRY_POINT): Define. | |
9505 | (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point. | |
9506 | ||
5a9ee623 ZW |
9507 | 2002-06-08 Marc Espie <espie@openbsd.org> |
9508 | ||
9509 | * lists.c (free_list): Fix typo in comment. | |
e3623158 | 9510 | |
272cdf58 AJ |
9511 | 2002-06-08 Andreas Jaeger <aj@suse.de> |
9512 | ||
9513 | * lcm.c (optimize_mode_switching): Add unused attribute for | |
9514 | variable. | |
9515 | ||
9516 | * sched-deps.c (sched_analyze): Remove unused variable. | |
9517 | ||
bf3f2a12 GDR |
9518 | 2002-06-08 Gabriel Dos Reis <gdr@codesourcery.com> |
9519 | ||
9520 | * diagnostic.def: Don't capitalize diagnostict descriptors. | |
9521 | ||
523a5f2f JT |
9522 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9523 | ||
9524 | * config/m68k/netbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point. | |
9525 | (LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF. | |
9526 | (NETBSD_ENTRY_POINT): Define. | |
9527 | ||
a3e944f9 JT |
9528 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9529 | ||
9530 | * config/i386/netbsd-elf.h (LINK_SPEC): Define as | |
9531 | NETBSD_LINK_SPEC_ELF. | |
9532 | (SUBTARGET_EXTRA_SPECS): Add netbsd_entry_point. | |
9533 | (NETBSD_ENTRY_POINT): Define. | |
9534 | * config/i386/netbsd64.h (LINK_SPEC): Use %(netbsd_link_spec). | |
9535 | (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and | |
9536 | netbsd_entry_point. | |
9537 | (NETBSD_ENTRY_POINT): Define. | |
9538 | ||
854928a0 JT |
9539 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9540 | ||
9541 | * config/alpha/netbsd.h (SUBTARGET_EXTRA_SPECS): Add | |
9542 | netbsd_link_spec and netbsd_entry_point. | |
9543 | (LINK_SPEC): Use %(netbsd_link_spec). | |
9544 | (NETBSD_ENTRY_POINT): Define. | |
9545 | ||
6bb5d2e7 JT |
9546 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9547 | ||
9548 | * config/netbsd-elf.h (LINK_SPEC): Rename to... | |
9549 | (NETBSD_LINK_SPEC_ELF): ...this. Use %(netbsd_entry_point) | |
9550 | to specify program entry point. | |
9551 | ||
e50126e8 JL |
9552 | 2002-06-07 Jeff Law <law@redhat.com |
9553 | ||
9554 | * emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx. | |
272cdf58 | 9555 | * combine.c (move_deaths): Use regno_reg_rtx for hard regs rather |
e50126e8 JL |
9556 | than creating a new register. |
9557 | (distribute_notes): Likewise. | |
9558 | * df.c (df_reg_use_gen): Likewise. | |
9559 | (df_reg_clobber_gen): Likewise. | |
9560 | (df_ref_record): Likewise. | |
9561 | * expr.c (use_regs): Likewise. | |
9562 | * flow.c (propagate_one_insn): Likewise. | |
9563 | (mark_set_1): Likewise. | |
9564 | (mark_used_reg): Likewise. | |
9565 | * reload.c (emit_reload_insns): Likewise. | |
9566 | ||
bc9c18c3 RS |
9567 | 2002-06-07 Roger Sayle <roger@eyesopen.com> |
9568 | ||
9569 | * simplify-rtx.c (simplify_gen_relational): Simplify RTL of the form | |
9570 | (ne (comp x y) 0) into (comp x y) where comp is a comparison code. | |
9571 | Simplify (eq (comp x y) 0) into (revcomp x y) if the sense of the | |
9572 | comparison code comp can be reversed. | |
9573 | ||
437f1df1 RS |
9574 | 2002-06-07 Roger Sayle <roger@eyesopen.com> |
9575 | ||
9576 | * fold-const.c (fold) [EQ_EXPR]: Place both integer and real | |
9577 | constants last in comparisons. Optimize (x+1.0)>0.0 into the | |
9578 | equivalent x > -1.0 when -ffast-math. | |
9579 | ||
cd24b8a4 JT |
9580 | 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com> |
9581 | ||
9582 | * config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}. | |
9583 | * config/mips/t-netbsd: New file. | |
9584 | ||
09e77dee ZW |
9585 | 2002-06-07 Zack Weinberg <zack@codesourcery.com> |
9586 | ||
9587 | * cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W | |
9588 | options their own entries. | |
9589 | (parse_option): Clarify comment. | |
9590 | (cpp_handle_option): Remove 'ignore' parameter and OPT_W | |
9591 | special case. Replace if/strcmp chain for -W options with | |
9592 | use of new OPT_* entries for them. | |
9593 | (cpp_handle_options): Update to match. | |
9594 | * cpplib.h: Remove last parameter to cpp_handle_option from prototype. | |
9595 | * c-decl.c: Update call to cpp_handle_option. | |
9596 | ||
942030dc AD |
9597 | 2002-06-07 Akim Demaille <akim@epita.fr> |
9598 | ||
9599 | * gengtype-yacc.y (optionseqopt): Add the ending `;' to the action. | |
9600 | Whitespace changes. | |
9601 | ||
f2846820 JL |
9602 | 2002-06-07 Jeffrey Law <law@redhat.com> |
9603 | ||
9604 | * sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list | |
9605 | on empty lists. | |
9606 | ||
4bafaa6f L |
9607 | 2002-06-07 H.J. Lu (hjl@gnu.org) |
9608 | ||
9609 | * configure.in: Add --enable-__cxa_atexit. | |
9610 | * configure: Regenerated. | |
9611 | * config.in: Likewise. | |
9612 | ||
9613 | * defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if | |
9614 | not defined. | |
9615 | ||
caef5b46 GDR |
9616 | 2002-06-07 Gabriel Dos Reis <gdr@merlin.nerim.net> |
9617 | ||
9618 | * diagnostic.c (diagnostic_build_prefix): Fix initialization. | |
9619 | ||
ac64a17c JT |
9620 | 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com> |
9621 | ||
9622 | * config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define. | |
9623 | ||
97459791 JM |
9624 | 2002-06-07 Jason Merrill <jason@redhat.com> |
9625 | ||
9626 | * cppexp.c (num_equality_op): Use a temporary variable to work | |
9627 | around gcc 3.0.4 bug. | |
9628 | ||
4b1d52c7 GDR |
9629 | 2002-06-07 Gabriel Dos Reis <gdr@codesourcery.com> |
9630 | ||
9631 | * diagnostic.c (diagnostic_build_prefix): Tidy. | |
9632 | ||
c70f6ed3 NB |
9633 | 2002-06-07 Neil Booth <neil@daikokuya.demon.co.uk> |
9634 | ||
9635 | * cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN, | |
9636 | scan_parameters, save_replacement_text, replacement_length): New. | |
9637 | (scan_out_logical_line): Take a macro and save parameters if | |
9638 | non-NULL. | |
9639 | (_cpp_logical_line_trad): Update. | |
9640 | (_cpp_create_trad_definition): Update to handle function-like | |
9641 | macros. | |
9642 | * cpplex.c (new_buff): Update. | |
9643 | (struct dummy, DEFAULT_ALIGNMENT, CPP_ALIGN): Move... | |
9644 | * cpphash.h: ...here. | |
9645 | (CPP_ALIGN2, _cpp_save_parameter): New. | |
9646 | * cppmacro.c (save_parameter): Rename, export. | |
9647 | (parse_params): Update. | |
9648 | ||
aec2ac46 AJ |
9649 | 2002-06-07 Andreas Jaeger <aj@suse.de> |
9650 | ||
9651 | * config/mmix/mmix.c: Remove extra broken prototype for | |
9652 | mmix_init_machine_status. | |
9653 | ||
9f313342 GK |
9654 | 2002-06-06 Geoffrey Keating <geoffk@redhat.com> |
9655 | ||
9656 | * gengtype.c: Add comments before all the routines. | |
9657 | ||
3fa1b448 JT |
9658 | 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com> |
9659 | ||
9660 | * config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32 | |
9661 | from and add t-sh64 to ${tmake_file}. | |
9662 | (sh64*-*-netbsd*): Add t-sh64 to ${tmake_file}. | |
9663 | * config/sh/t-netbsd-sh5 (LIB1ASMFUNCS): Remove. | |
9664 | * config/sh/t-netbsd-sh5-32: Remove. | |
9665 | * config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Use | |
9666 | MULTILIB_ENDIAN. | |
9667 | (MULTILIB_DIRNAMES): Define. | |
9668 | ||
0d682900 JH |
9669 | Thu Jun 6 23:14:46 CEST 2002 Jan Hubicka <jh@suse.cz> |
9670 | ||
9671 | * i386.md (and promoting splitters): Disable QI to SImode promoting | |
9672 | when doing so changes immediate to be 32bit. | |
9673 | ||
9674 | * rtl.h (emit_*_scope): Declare. | |
9675 | * emit-rtl.c (emit_*_scope): New global functions. | |
9676 | (try_split): Copy scope. | |
9677 | * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, | |
9678 | noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove, | |
9679 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs, | |
9680 | noce_process_if_block, find_cond_trap): Copy scopes. | |
9681 | * recog.c (peephole2_optimize): likewise. | |
9682 | ||
c991649c JL |
9683 | 2002-06-06 Jeffrey Law <law@redhat.com> |
9684 | ||
9685 | * h8300.h (OK_FOR_U): Fix thinko exposed by flag checking. | |
9686 | ||
8a5d66c4 R |
9687 | Thu Jun 6 21:06:25 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9688 | ||
9689 | * gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'". | |
9690 | ||
d7f8491b RO |
9691 | 2002-06-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9692 | ||
9693 | * Makefile.in (TEXI_GCCINSTALL_FILES): Define. | |
9694 | ($(docdir)/gccinstall.info): New target. | |
9695 | (info): Depend on it. | |
9696 | (gccinstall.dvi): New target. | |
9697 | (dvi): Depend on it. | |
9698 | * doc/.cvsignore: Ignore new info files. | |
9699 | * doc/install.texi (@setfilename): Reflect new info filename. | |
9700 | ||
eaeb7de8 R |
9701 | Thu Jun 6 15:57:23 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9702 | ||
9703 | * sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P | |
9704 | on an UNSPEC. | |
9705 | ||
0c7aeb88 NP |
9706 | Thu Jun 6 07:17:43 2002 Nicola Pero <n.pero@mi.flashnet.it> |
9707 | ||
9708 | PR objc/6834 | |
9709 | * objc/objc-lang.c (LANG_HOOKS_GET_ALIAS_SET): Define to be | |
9710 | c_common_get_alias_set. | |
aec2ac46 | 9711 | (LANG_HOOKS_SAFE_FROM_P): Define to be c_safe_from_p. |
0c7aeb88 | 9712 | |
2a496e8b JDA |
9713 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9714 | ||
9715 | * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): New | |
9716 | functions. | |
9717 | * rtl.h (get_first_nonnote_insn, get_last_nonnote_insn): Declare. | |
9718 | * avr/avr.c (avr_output_function_epilogue): Use above to determine | |
9719 | function size. | |
9720 | * pa/pa.c (pa_output_function_prologue): Likewise. | |
9721 | ||
2ff581c3 DM |
9722 | 2002-06-05 David S. Miller <davem@redhat.com> |
9723 | ||
9724 | * integrate.c (subst_constants): Handle 'B' RTL format. | |
9725 | ||
b2e2d0cc EC |
9726 | 2002-06-05 Eric Christopher <echristo@redhat.com> |
9727 | ||
9728 | * varasm.c (make_decl_rtl): Fix comment for removed | |
9729 | halfpic.c. | |
9730 | ||
0f81faf6 EC |
9731 | 2002-06-05 Eric Christopher <echristo@redhat.com> |
9732 | ||
9733 | * Makefile.in: Remove missed halfpic bits. | |
9734 | ||
33005162 EC |
9735 | 2002-06-05 Eric Christopher <echristo@redhat.com> |
9736 | ||
9737 | * toplev.c: Remove half-pic. | |
9738 | * config/mips/mips.c: Ditto. | |
9739 | * config/mips/mips.h: Ditto. Remove unused defines. | |
9740 | * config/mips/openbsd.h: Update comment to reflect above. | |
9741 | * config/mips/mips.md: Remove half-pic constraints. | |
9742 | * halfpic.h: Delete. | |
9743 | * halfpic.c: Ditto. | |
9744 | ||
80081028 JL |
9745 | 2002-06-05 Jeffrey Law <law@redhat.com> |
9746 | ||
5a9ee623 ZW |
9747 | * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it |
9748 | rejects (mem (lo_sum (reg) (unspec))), but will allow | |
9749 | (mem (lo_sum (reg) (symbol_ref)) for PA2.0. | |
80081028 | 9750 | |
cbc69f84 NB |
9751 | 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk> |
9752 | ||
9753 | * cpphash.h (_cpp_create_definition): Update prototype. | |
9754 | (_cpp_push_text_context, _cpp_create_trad_definition): New. | |
9755 | ( cpp_lex_identifier_trad): New. | |
9756 | (_cpp_set_trad_context): New. | |
9757 | * cppinit.c (cpp_finish_options): Don't conditionalize builtins. | |
9758 | * cpplib.c (SEEN_EOL): Update. | |
9759 | (lex_macro_node): Update for -traditional. | |
9760 | (cpp_push_buffer, _cpp_pop_buffer): Similarly. | |
9761 | * cppmacro.c (_cpp_create_definition): Split into | |
9762 | create_iso_definition() and _cpp_create_trad_definition(). | |
9763 | (warn_of_redefinition): Update prototype; handle traditional | |
9764 | macros. | |
9765 | (_cpp_push_text_context): New. | |
9766 | * cpptrad.c (skip_whitespace, push_replacement_text): New. | |
9767 | (lex_identifier): Call ht_lookup with correct start. | |
9768 | (_cpp_lex_identifier_tradm _cpp_create_trad_definition, | |
9769 | _cpp_set_trad_context): New. | |
9770 | (scan_out_logical_line): Update to handle changing contexts. | |
9771 | ||
dbf87f32 R |
9772 | Wed Jun 5 20:42:31 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9773 | ||
9774 | * config.gcc (sh-*-elf*, sh64*-*-elf*): Unify. | |
9775 | (shl*-*-elf*): Add. | |
9776 | * config/sh/t-be (MULTILIB_ENDIAN): Set. | |
9777 | * config/sh/t-le (MULTILIB_ENDIAN): Likewise. | |
9778 | * t-sh (MULTILIB_ENDIAN): Set. | |
9779 | (MULTILIB_OPTIONS): Use it. | |
9780 | * t-sh64 (MULTILIB_OPTIONS): Likewise. | |
9781 | (MULTILIB_DIRNAMES): Likewise. | |
9782 | ||
47b69537 GDR |
9783 | 2002-06-05 Gabriel Dos Reis <gdr@codesourcery.com> |
9784 | ||
9785 | * toplev.h (report_error_function): Remove. | |
9786 | ||
9787 | * diagnostic.h (location_t): New datatype. | |
9788 | (text_info): Likewise. | |
9789 | (diagnostic_info): Likewise. | |
9790 | (output_prefix): New macro. | |
9791 | (diagnostic_last_function_changed): Likewise. | |
9792 | (diagnostic_set_last_function): Likewise. | |
9793 | (diagnostic_last_module_changed): Likewise. | |
9794 | (diagnostic_set_last_module): Likewise. | |
9795 | (report_diagnostic): Now macro. | |
9796 | (diagnostic_set_info): Declare. | |
9797 | ||
9798 | * diagnostic.c (report_problematic_module): Rename to | |
33005162 | 9799 | diagnostic_repor_current_module. |
47b69537 GDR |
9800 | (set_diagnostic_context): Remove. |
9801 | (count_error): Rename to diagnostic_error_count. | |
9802 | (error_function_changed): Remove. | |
9803 | (record_last_error_function): Likewise. | |
9804 | (error_module_changed): Likewise. | |
9805 | (record_last_error_module): Likewise. | |
9806 | (context_as_prefix): Rename to diagnostic_build_prefix. | |
9807 | (flush_diagnostic_buffer): Rename to diagnostic_flush_buffer. | |
9808 | (diagnostic_set_info): New function. | |
9809 | ||
9810 | * objc/objc-act.c: #include diagnostic.h | |
9811 | (error_with_ivar): Adjust call to count_error. | |
9812 | (warn_with_method): Likewise. | |
9813 | * objc/Make-lang.in (objc-act.o): Depend on diagnostic.h | |
9814 | ||
540eaea8 BW |
9815 | 2002-06-05 Bob Wilson <bob.wilson@acm.org> |
9816 | ||
9817 | * config/xtensa/xtensa.c (xtensa_build_va_list): Use | |
9818 | lang_hooks.types.make_type instead of make_node; set up | |
9819 | __va_list_tag type decl. | |
9820 | (xtensa_builtin_saveregs): Remove broken use of | |
9821 | RTX_UNCHANGING_P and unnecessary use of MEM_IN_STRUCT_P | |
9822 | for saved registers; add varargs alias set. | |
9823 | ||
f23a084d NB |
9824 | 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk> |
9825 | ||
9826 | config: | |
9827 | * alpha/gnu.h: Undef TARGET_OS_CPP_BUILTINS. | |
9828 | * i386/beos-elf.h: Use TARGET_OS_CPP_BUILTINS rather than | |
9829 | CPP_PREDEFINES and part of CPP_SPEC. | |
9830 | i386/freebsd-aout.h, i386/gas.h, i386/gnu.h, i386/linux-aout.h, | |
9831 | i386/linux.h, i386/moss.h, i386/xm-vsta.h: Similarly. | |
9832 | ||
3fe3a596 JH |
9833 | Wed Jun 5 15:20:58 CEST 2002 Jan Hubicka <jh@suse.cz> |
9834 | ||
9835 | * reg-stack.c (reg_to_stack): Do not call find_basic_blocks. | |
9836 | ||
1fd9ba59 AM |
9837 | 2002-06-05 Alan Modra <amodra@bigpond.net.au> |
9838 | ||
9839 | * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define. | |
9840 | ||
cea554e0 ZW |
9841 | 2002-06-04 Zack Weinberg <zack@codesourcery.com> |
9842 | ||
9843 | * gengtype-yacc.y: Make sure all rules end with a semicolon. | |
9844 | ||
07232638 BW |
9845 | 2002-06-04 Bob Wilson <bob.wilson@acm.org> |
9846 | ||
9847 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Fix | |
9848 | typo in function prototype and include "ggc.h" header. | |
9849 | ||
c4b50f1a RH |
9850 | 2002-06-04 Richard Henderson <rth@redhat.com> |
9851 | ||
9852 | * config/alpha/alpha.c (mode_mask_operand): Simplify without ifdefs. | |
9853 | (print_operand) ['U']: Likewise. | |
9854 | (alpha_expand_unaligned_store): Correct constants for 32-bit cross. | |
9855 | (alpha_expand_unaligned_store_words): Likewise. | |
9856 | (alpha_expand_builtin_vector_binop): Fix typo. | |
9857 | (enum alpha_builtin, code_for_builtin): Add remaining ext, ins, msk, | |
9858 | umulh, and cix insns. | |
9859 | (one_arg_builtins): Add cix builtins. | |
9860 | (two_arg_builtins): Add ext, ins, msk, umulh builtins. | |
9861 | (alpha_expand_builtin): Fix typo in arity. | |
9862 | * config/alpha/alpha.md (UNSPEC_CTLZ, UNSPEC_CTPOP): New. | |
9863 | (builtin_extbl, builtin_extwl, builtin_extll, builtin_extwh, | |
9864 | builtin_extlh, builtin_insbl, builtin_inswl, builtin_insll, | |
9865 | builtin_insql, builtin_inswh, builtin_inslh, builtin_insqh, | |
9866 | builtin_mskbl, builtin_mskwl, builtin_mskll, builtin_mskql, | |
9867 | builtin_mskwh, builtin_msklh, builtin_mskqh, builtin_cttz, | |
9868 | builtin_ctlz, builtin_ctpop): New. | |
9869 | * doc/extend.texi (Alpha Built-in Functions): Update. | |
9870 | ||
aaab35ae GK |
9871 | 2002-06-04 Geoffrey Keating <geoffk@redhat.com> |
9872 | ||
afb0f770 GK |
9873 | * gengtype.c (write_gc_root): Don't unnecessarily prevent |
9874 | global variable-length arrays being roots. | |
9875 | ||
aaab35ae GK |
9876 | * config.gcc (powerpc-*-darwin*): Set config_gtfiles. |
9877 | * configure.in (config_gtfiles): New variable. | |
4912a07c | 9878 | (all_gtfiles): Initialize from config_gtfiles. |
aaab35ae GK |
9879 | * configure: Regenerate. |
9880 | ||
1ba7b414 NB |
9881 | 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk> |
9882 | ||
9883 | config/i386: | |
9884 | * beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h, | |
9885 | i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h, | |
9886 | mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h, | |
9887 | sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h, | |
9888 | win32.h (CPP_SPEC): Remove cpp_cpu. | |
9889 | * i386.h (TARGET_CPU_CPP_BUILTINS): Use. | |
9890 | (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die! | |
9891 | ||
135ca7b2 JJ |
9892 | 2002-06-04 Janis Johnson <janis187@us.ibm.com> |
9893 | ||
9894 | * config/ia64/ia64.c (gen_thread_pointer): Fix variable name. | |
9895 | ||
85d69216 | 9896 | 2002-06-04 Jeff Law <law@redhat.com. |
5a9ee623 ZW |
9897 | David Edelsohn <edelsohn@gnu.org> |
9898 | Michael Matz <matz@kde.org> | |
85d69216 JL |
9899 | |
9900 | * sched-int.h (struct deps): New field libcall_block_tail_insn. | |
9901 | * sched_deps.c (init_deps): Initialize libcall_block_tail_insn. | |
9902 | * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn | |
9903 | is set, then mark the current insn as being part of a libcall | |
9904 | scheduling group. | |
9905 | (sched_analyze): Set and clear libcall_block_tail_insn appropriately. | |
9906 | ||
9907 | * haifa-sched.c (schedule_block): Do not count USE or CLOBBER | |
9908 | insns against the issue rate. | |
9909 | ||
63f4a88e JH |
9910 | Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz> |
9911 | ||
9912 | * cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes. | |
9913 | * final.c (final_scan_insn): Likewise. | |
9914 | * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use | |
9915 | NOTE_EXPECTED_VALUE instead of NOTE_RANGE. | |
9916 | * haifa-sched.c (unlink_other_notes): Likeewise. | |
9917 | (reemit_notes): Likewise. | |
9918 | * print-rtl.c (print_rtx): Likewise. | |
9919 | * sched-deps (sched-analyze): Likewise. | |
9920 | * rtl.c (note_insn_name): Likewise. | |
9921 | * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill. | |
9922 | (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE. | |
9923 | (RANGE_*): Kill. | |
9924 | ||
a5d1f75b JT |
9925 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
9926 | ||
9927 | * varasm.c (mark_constants): Handle RTX format 'B'. | |
9928 | ||
82eda77e NB |
9929 | 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk> |
9930 | ||
9931 | * cpphash.h (FIRST, LAST, CUR, RLIMIT): New. | |
9932 | (struct cpp_context): Add traditional fields. | |
9933 | * cppmacro.c (paste_all_tokens, push_ptoken_context, | |
9934 | push_token_context, cpp_get_token, _cpp_backup_tokens): Update. | |
9935 | * cpptrad.c (skip_comment, lex_identifier, | |
9936 | _cpp_read_logical_line_trad, scan_out_logical_line): Update. | |
9937 | ||
589005ff KH |
9938 | 2002-06-04 Kazu Hirata <kazu@cs.umass.edu> |
9939 | ||
9940 | * gbl-ctors.h: Fix formatting. | |
9941 | * gcc.c: Likewise. | |
9942 | * gccspec.c: Likewise. | |
9943 | * gcov.c: Likewise. | |
9944 | * gcov-io.h: Likewise. | |
9945 | * gcse.c: Likewise. | |
9946 | * ggc-common.c: Likewise. | |
9947 | * ggc.h: Likewise. | |
9948 | * ggc-page.c: Likewise. | |
9949 | * ggc-simple.c: Likewise. | |
9950 | * global.c: Likewise. | |
9951 | * graph.h: Likewise. | |
9952 | * gthr-dce.h: Likewise. | |
9953 | * gthr.h: Likewise. | |
9954 | * gthr-posix.h: Likewise. | |
9955 | * gthr-rtems.h: Likewise. | |
9956 | * gthr-solaris.h: Likewise. | |
9957 | * gthr-win32.h: Likewise. | |
9958 | ||
e2500fed GK |
9959 | 2002-06-03 Geoffrey Keating <geoffk@redhat.com> |
9960 | ||
9961 | Merge from pch-branch: | |
33005162 | 9962 | |
e2500fed GK |
9963 | * gengtype.h (UNION_OR_STRUCT_P): New macro. |
9964 | * gengtype.c (write_gc_structure_fields): Use it. | |
9965 | (write_gc_root): Use it here too. | |
9966 | ||
9967 | * gengtype.c (write_gc_structure_fields): Assume that lengths | |
9968 | of typenames fit into an 'int'; don't pass a size_t to "%d" in | |
9969 | printf. | |
9970 | (write_gc_marker_routine_for_structure): Likewise. | |
9971 | (write_gc_types): Likewise. | |
9972 | (write_gc_root): Likewise. | |
9973 | ||
9974 | * varray.h (VARRAY_CLEAR): New. | |
9975 | (varray_clear): Prototype. | |
9976 | * varray.c (varray_clear): New. | |
9977 | * cselib.c (reg_values_old): New. | |
9978 | (used_regs_old): New. | |
9979 | (cselib_init): Use cached varrays if available to avoid | |
9980 | generating large amounts of garbage. | |
9981 | (cselib_finish): Don't throw away old varrays. | |
9982 | ||
9983 | * final.c (insn_addresses_): Move out of ifdef. | |
9984 | ||
9985 | * varray.c (uses_ggc): Make more varray kinds GCable. | |
9986 | * varray.h (union varray_data_tag): Let gengtype see | |
9987 | fields 'generic' and 'te'. | |
9988 | * reg-stack.c: Include gt-reg-stack.h, ggc.h. | |
9989 | (stack_regs_mentioned_data): Move out of ifdef; mark with gengtype. | |
9990 | (reg_to_stack): Don't call VARRAY_FREE. | |
9991 | * insn-addr.h (INSN_ADDRESSES_FREE): Don't use VARRAY_FREE. | |
9992 | (insn_addresses_): Use gengtype to mark. | |
9993 | * gengtype.c (write_gc_structure_fields): Handle arrays of generic | |
9994 | pointers; handle generic pointers in unused union fields. | |
9995 | (get_output_file_with_visibility): Include cselib.h, | |
9996 | insn-addr.h in gtype-desc.c. | |
9997 | * function.c (prologue): Use gengtype to mark. | |
9998 | (epilogue): Likewise. | |
9999 | (sibcall_epilogue): Likewise. | |
10000 | * dependence.c: Include gt-dependence.h, ggc.h. | |
10001 | (struct def_use): Use gengtype to mark. | |
10002 | (struct loop): Likewise. | |
10003 | (struct induction): Likewise. | |
10004 | (struct dependence): Likewise. | |
10005 | (def_use_chain): Likewise. | |
10006 | (dep_chain): Likewise. | |
10007 | (loop_chain): Likewise. | |
10008 | (induction_chain): Likewise. | |
10009 | (init_dependence_analysis): Don't free anything, just clear pointers. | |
10010 | (build_def_use): Use GGC to allocate def_use. | |
10011 | (add_loop): Use GGC to allocate loop. | |
10012 | (find_induction_variable): Use GGC to allocate induction. | |
10013 | (check_node_dependence): Use GGC to allocate induction, dependence. | |
10014 | (dump_node_dependence): Don't free varrays. | |
10015 | (end_dependence_analysis): Likewise. | |
10016 | * cselib.h (struct cselib_val_struct): Use gengtype to mark. | |
10017 | (struct elt_loc_list): Likewise. | |
10018 | (struct elt_list): Likewise. | |
10019 | * cselib.c: Don't include obstack.h. | |
10020 | (hash_table): Use gengtype to mark. | |
10021 | (reg_values): Use gengtype to mark. | |
10022 | (used_regs): Use gengtype to mark. | |
10023 | (cselib_obstack): Delete. | |
10024 | (cselib_startobj): Delete. | |
10025 | (empty_vals): Mark as deletable. | |
10026 | (empty_elt_lists): Mark as deletable. | |
10027 | (empty_elt_loc_lists): Mark as deletable. | |
10028 | (new_elt_list): Use GGC to allocate struct elt_list. | |
10029 | (new_elt_loc_list): Use GGC to allocate struct elt_loc_list. | |
10030 | (clear_table): Don't delete obstack; don't unnecessarily clear | |
10031 | deletable variables. | |
10032 | (new_cselib_val): Use GGC to allocate struct cselib_val. | |
10033 | (cselib_init): Don't set up obstacks. Use GGC to allocate | |
10034 | hash table. | |
10035 | (cselib_finish): Just clear variables, don't free anything. | |
10036 | * Makefile.in (cselib.o): Remove dependency on $(OBSTACK_H). | |
10037 | (reg-stack.o): Add dependency on gt-reg-stack.h, $(GGC_H). | |
10038 | (dependence.o): Add dependency on gt-dependence.h, $(GGC_H). | |
10039 | (GTFILES): Add insn-addr.h, cselib.h, dependence.c, reg-stack.c. | |
10040 | (gt-reg-stack.h): New rule. | |
10041 | (gt-dependence.h): New rule. | |
10042 | (gtype-desc.o): Add cselib.h, insn-addr.h. | |
10043 | ||
10044 | * varray.c: Use only necessary headers. | |
10045 | (element_size): New. | |
10046 | (uses_ggc): New. | |
10047 | (varray_init): Take type, not size. Use GGC if appropriate. | |
10048 | (varray_grow): Update for change to struct varray_head_tag. | |
10049 | Use GGC if appropriate. | |
10050 | * varray.h (struct const_equiv_data): Use gengtype. | |
10051 | (enum varray_data_enum): New. | |
10052 | (union varray_data_tag): Use gengtype. | |
10053 | (struct varray_head_tag): Use gengtype. Replace size field with | |
10054 | enum varray_data_enum. | |
10055 | (varray_init): Update prototype. | |
10056 | (VARRAY_SCHED_INIT): Delete. | |
10057 | (VARRAY_*_INIT): Update for change to varray_init. | |
10058 | (VARRAY_SCHED): Delete. | |
10059 | (VARRAY_PUSH_SCHED): Delete. | |
10060 | (VARRAY_TOP_SCHED): Delete. | |
10061 | * tree.h: Update for change to length specifier. | |
10062 | * tree-inline.c (optimize_inline_calls): Don't use VARRAY_FREE. | |
10063 | (clone_body): Likewise. | |
10064 | * ssa.h (ssa_definition): Use gengtype to mark. | |
10065 | * ssa.c (convert_from_ssa): Don't use VARRAY_FREE. | |
10066 | * ssa-dce.c (ssa_eliminate_dead_code): Don't use VARRAY_FREE. | |
10067 | * rtl.h (struct rtvec_def): Update for change to length specifier. | |
10068 | * integrate.c (expand_inline_function): Don't use VARRAY_FREE. | |
10069 | (struct initial_value_struct): Update for change to length specifier. | |
10070 | * ggc.h (ggc_add_rtx_varray_root): Delete prototype. | |
10071 | (ggc_add_tree_varray_root): Delete prototype. | |
10072 | (ggc_mark_rtx_varray): Delete prototype. | |
10073 | (ggc_mark_tree_varray): Delete prototype. | |
10074 | * ggc-common.c (ggc_add_rtx_varray_root): Delete. | |
10075 | (ggc_add_tree_varray_root): Delete. | |
10076 | (ggc_mark_rtx_varray): Delete. | |
10077 | (ggc_mark_tree_varray): Delete. | |
10078 | (ggc_mark_rtx_varray_ptr): Delete. | |
10079 | (ggc_mark_tree_varray_ptr): Delete. | |
10080 | * gengtype.h (enum typekind): Remove TYPE_VARRAY. | |
10081 | (create_varray): Delete prototype. | |
10082 | * gengtype.c (varrays): Delete. | |
10083 | (create_varray): Delete. | |
10084 | (adjust_field_type): Detect array of string pointers. | |
10085 | (process_gc_options): Remove code to handle varray_type option. | |
10086 | (set_gc_used_type): Remove TYPE_VARRAY case. | |
10087 | (output_escaped_param): New. | |
10088 | (write_gc_structure_fields): Use output_escaped_param on all | |
10089 | parameters. Handle 'skip' with 'use_param' option. Handle | |
10090 | arrays of strings. Remove TYPE_VARRAY handling. | |
10091 | (write_gc_roots): Use boolean to detect 'length' option. | |
10092 | * gengtype-yacc.y (VARRAY_TYPE): Delete token. | |
10093 | (struct_fields): Call adjust_field_type on array fields. | |
10094 | (type): Remove VARRAY_TYPE case. | |
10095 | (type_option): Likewise. | |
10096 | * gengtype-lex.l: Don't consider varray_type a keyword. | |
10097 | * function.h: Update for change to length specifier. | |
10098 | (free_eh_status): Delete prototype. | |
10099 | * function.c (free_after_compilation): Don't call free_eh_status. | |
10100 | (reorder_blocks): Don't use VARRAY_FREE. | |
10101 | * except.c (struct eh_status): Update for change to length specifier. | |
10102 | remove varray_type specifier. | |
10103 | (free_eh_status): Delete. | |
10104 | * dwarf2out.c: Include gt-dwarf2out.h. | |
10105 | (used_rtx_varray): Use gengtype to mark, move | |
10106 | outside ifdefs. | |
10107 | (incomplete_types): Likewise. | |
10108 | (decl_scope_table): Likewise. | |
33005162 | 10109 | (dwarf2out_init): Don't call ggc_add_tree_varray_root. |
e2500fed GK |
10110 | * cfglayout.c (scope_to_insns_finalize): Don't use VARRAY_FREE. |
10111 | * c-tree.h (struct lang_type): Update for change to length specifier. | |
10112 | * c-parse.in (yylexstring): Don't use VARRAY_FREE. | |
10113 | * c-objc-common.c: Include gt-c-objc-common.h. | |
10114 | (deferred_fns): Mark for gengtype. | |
10115 | (c_objc_common_init): Don't call ggc_add_tree_varray_root. | |
10116 | (expand_deferred_fns): Just set deferred_fns to 0 to free it. | |
10117 | * Makefile.in (c-objc-common.o): Add gt-c-objc-common.h. | |
10118 | (gtype-desc.o): Update dependencies. | |
10119 | (dwarf2out.o): Add gt-dwarf2out.h. | |
10120 | (varray.o): Update dependencies. | |
10121 | (GTFILES): Add varray.h, ssa.h, dwarf2out.c, c-objc-common.c. | |
10122 | (gt-c-objc-common.h): New rule. | |
10123 | (gt-dwarf2out.h): New rule. | |
10124 | * objc/objc-act.c (build_objc_string_object): Don't use VARRAY_FREE. | |
10125 | ||
10126 | * doc/gty.texi (GTY Options): Correct spelling. | |
10127 | (GGC Roots): Likewise. | |
10128 | * Makefile.in (TEXI_CPP_FILES): New. | |
10129 | (TEXI_GCC_FILES): New. | |
10130 | (TEXI_GCCINT_FILES): New. | |
10131 | (TEXI_CPPINT_FILES): New. | |
10132 | ($(docdir)/cpp.info): Use new macros. | |
10133 | ($(docdir)/gcc.info): Likewise. | |
10134 | ($(docdir)/gccint.info): Likewise. | |
10135 | ($(docdir)/cppinternals.info): Likewise. | |
10136 | (cpp.dvi): Likewise. | |
10137 | (gcc.dvi): Likewise. | |
10138 | (gccint.dvi): Likewise. | |
10139 | (cppinternals.dvi): Likewise. | |
10140 | ||
10141 | * Makefile.in ($(docdir)/gccint.info): Depend on gty.texi. | |
10142 | * doc/gccint.texi (Top): Include gty.texi. | |
10143 | * doc/gty.texi: New file. | |
10144 | ||
10145 | * bitmap.c: Include ggc.h, gt-bitmap.h. | |
10146 | (bitmap_ggc_free): New. | |
10147 | (bitmap_elem_to_freelist): New. | |
10148 | (bitmap_element_free): Use bitmap_elem_to_freelist. | |
10149 | (bitmap_element_allocate): Allow use of GGC. | |
10150 | (bitmap_clear): Use bitmap_elem_to_freelist. | |
10151 | (bitmap_copy): Update for change to bitmap_element_allocate. | |
10152 | (bitmap_set_bit): Likewise. | |
10153 | (bitmap_operation): Update for changes elsewhere. | |
10154 | (bitmap_initialize): Allow to create bitmaps that will use GGC. | |
10155 | * bitmap.h (struct bitmap_element_def): Use gengtype. | |
10156 | (struct bitmap_head_def): Likewise. Also add 'using_obstack' field. | |
10157 | (bitmap_initialize): Add extra parameter. | |
10158 | (BITMAP_OBSTACK_ALLOC): Update for change to bitmap_initialize. | |
10159 | (BITMAP_ALLOCA): Delete. | |
10160 | (BITMAP_XMALLOC): Update for change to bitmap_initialize. | |
10161 | (BITMAP_GGC_ALLOC): New. | |
10162 | * Makefile.in (gtype-desc.o): Add bitmap.h. | |
10163 | (bitmap.o): Add gt-bitmap.h, $(GGC_H). | |
10164 | (GTFILES): Add bitmap.c. | |
10165 | (gt-bitmap.h): New rule. | |
10166 | ($(HOST_PREFIX_1)bitmap.o): Add gt-bitmap.h. | |
10167 | * basic-block.h: Update for changes to bitmap_initialize. | |
10168 | * except.c (exception_handler_label_map): Move into... | |
10169 | (struct eh_status): Here. | |
10170 | (struct eh_region): Make 'aka' GCable. | |
10171 | (free_eh_status): Don't need to specially handle | |
10172 | exception_handler_label_map. | |
10173 | (add_ehl_entry): Update for changes to exception_handler_label_map. | |
10174 | (find_exception_handler_labels): Likewise. | |
10175 | (remove_exception_handler_label): Likewise. | |
10176 | (maybe_remove_eh_handler): Likewise. | |
10177 | (for_each_eh_label): Likewise. | |
10178 | (remove_eh_handler): Allocate 'aka' using GGC. | |
10179 | * gengtype.c (get_output_file_with_visibility): Add bitmap.h | |
10180 | to list of includes. | |
10181 | ||
10182 | * gengtype.c (write_gc_marker_routine_for_structure): Name | |
33005162 | 10183 | the routines 'gt_ggc_mx_*' instead of 'gt_ggc_m_*'. |
e2500fed GK |
10184 | (write_gc_types): Arrange for the tests with NULL to be inlined. |
10185 | (write_gc_roots): Update uses of procedure pointers. | |
10186 | * ggc-common.c (gt_ggc_mx_rtx_def): Rename from gt_ggc_m_rtx_def. | |
10187 | ||
10188 | * Makefile.in (explow.o): Add dependency on gt-explow.h. | |
10189 | (sdbout.o): Add dependency on gt-sdbout.h. | |
10190 | ||
10191 | * emit-rtl.c (const_int_htab): Use gengtype to clear unused entries. | |
10192 | (mem_attrs_htab): Likewise. | |
10193 | (init_emit_once): Don't call ggc_add_deletable_htab. | |
10194 | * fold-const.c (size_htab): Use gengtype to clear unused entries. | |
10195 | (size_int_type_wide): Don't call ggc_add_deletable_htab. | |
10196 | * gengtype.c (finish_root_table): Add LASTNAME and TNAME | |
10197 | parameters, use them, change callers. | |
10198 | (write_gc_root): Add IF_MARKED parameter, use it, change callers. | |
10199 | (write_gc_roots): Handle 'if_marked' option. | |
10200 | (main): Don't need to call set_gc_used_type any more. | |
10201 | * ggc.h (ggc_htab_marked_p): Delete. | |
10202 | (ggc_htab_mark): Delete. | |
10203 | (struct ggc_cache_tab): New. | |
10204 | (gt_ggc_cache_rtab): New declaration. | |
10205 | * ggc-common.c (struct d_htab_root): Delete. | |
10206 | (d_htab_roots): Delete. | |
10207 | (ggc_add_deletable_htab): Delete. | |
10208 | (ggc_htab_delete): Handle new htab-deleting mechanism. | |
10209 | (ggc_mark_roots): Use new htab-deleting mechanism. | |
10210 | * tree.c (type_hash_table): Use gengtype to clear unused entries. | |
10211 | Make static. | |
10212 | (init_obstacks): Don't call ggc_add_deletable_htab. | |
10213 | ||
10214 | * objc/objc-act.h (struct hashed_attribute): Use gengtype. | |
10215 | (struct hashed_entry): Likewise. | |
10216 | (nst_method_hash_list): Likewise. | |
10217 | (cls_method_hash_list): Likewise. | |
10218 | (HASH_ALLOC_LIST_SIZE): Delete. | |
10219 | (ATTR_ALLOC_LIST_SIZE): Delete. | |
10220 | * objc/objc-act.c (hash_init): Use ggc to allocate | |
10221 | nst_method_hash_list, cls_method_hash_list. | |
10222 | (hash_enter): Use ggc to allocate; allocate one entry at a time. | |
10223 | (hash_add_attr): Likewise. | |
10224 | (ggc_mark_hash_table): Delete. | |
10225 | (objc_act_parse_init): Delete. | |
10226 | (objc_init): Delete reference to objc_act_parse_init. | |
10227 | * tlink.c: Replace hash.h with hashtab.h. Explicitly include | |
10228 | obstack.h. Replace references to 'struct hash_table' with htab_t. | |
10229 | (struct symbol_hash_entry): Replace hash header with key field. | |
10230 | (struct file_hash_entry): Replace hash header with key field. | |
10231 | (struct demangled_hash_entry): Replace hash header with key field. | |
10232 | (hash_string_eq): New. | |
10233 | (hash_string_hash): New. | |
10234 | (symbol_hash_newfunc): Delete. | |
10235 | (symbol_hash_lookup): Modify to use htab_t. | |
10236 | (file_hash_newfunc): Delete. | |
10237 | (file_hash_lookup): Modify to use htab_t. | |
10238 | (demangled_hash_newfunc): Delete. | |
10239 | (demangled_hash_lookup): Modify to use htab_t. | |
10240 | (tlink_init): Modify to use htab_t. | |
10241 | * hash.h: Delete. | |
10242 | * hash.c: Delete. | |
10243 | * ggc.h: Delete forward structure declarations. | |
10244 | Delete prototypes for deleted functions. | |
10245 | * ggc-common.c: Don't include hash.h. | |
10246 | (ggc_add_tree_hash_table_root): Delete. | |
10247 | (ggc_mark_tree_hash_table_entry): Delete. | |
10248 | (ggc_mark_tree_hash_table): Delete. | |
10249 | (ggc_mark_tree_hash_table_ptr): Delete. | |
10250 | * gengtype.c (write_gc_structure_fields): Allow param_is option. | |
10251 | (write_gc_marker_routine_for_structure): Use visibility of | |
10252 | the parameter if there is one. | |
10253 | * function.c: Replace hash.h with hashtab.h. Replace references | |
10254 | to 'struct hash_table *' with htab_t. | |
10255 | (struct insns_for_mem_entry): Include a plain key. | |
10256 | (fixup_var_refs_insns_with_hash): Update to use htab_t. | |
10257 | (insns_for_mem_newfunc): Delete. | |
10258 | (insns_for_mem_hash): Update to use htab_t. | |
10259 | (insns_for_mem_comp): Likewise. | |
10260 | (insns_for_mem_walk): Likewise. | |
10261 | * c-lang.c: Include ggc.h. | |
10262 | * Makefile.in (OBJS): Remove hash.o. | |
10263 | (c-lang.o): Add GGC_H. | |
10264 | (COLLECT2_OBJS): Remove hash.o. | |
10265 | (tlink.o): Remove hash.h, add HASHTAB_H and OBSTACK_H. | |
10266 | (ggc-common.o): Remove hash.h. | |
10267 | (function.o): Remove hash.h, add HASHTAB_H. | |
10268 | (genautomata.o): Remove hash.h, add HASHTAB_H. | |
10269 | ||
10270 | * varasm.c (mark_const_str_htab_1): Delete. | |
10271 | (mark_const_str_htab): Delete. | |
10272 | (const_str_htab_del): Delete. | |
10273 | (const_str_htab): Use gengtype to mark. | |
10274 | (init_varasm_once): Use gengtype to mark hashtables. Use GC to | |
10275 | allocate them. | |
10276 | * tree.c (mark_tree_hashtable_entry): Delete. | |
10277 | (mark_tree_hashtable): Delete. | |
10278 | * tree.h (mark_tree_hashtable): Delete prototype. | |
10279 | * ggc.h (ggc_test_and_set_mark): Treat (void *)1 like NULL. | |
10280 | (ggc_mark): Likewise. | |
10281 | (ggc_calloc): New. | |
10282 | (htab_create_ggc): New. | |
10283 | * ggc-common.c (ggc_calloc): New. | |
10284 | * gengtype.h (enum typekind): Add TYPE_PARAM_STRUCT. | |
10285 | (struct type): Add param_struct structure. | |
10286 | * gengtype.c (param_structs): New. | |
10287 | (adjust_field_type): Handle param_is option. | |
10288 | (set_gc_used_type): Handle TYPE_PARAM_STRUCT. | |
10289 | (get_output_file_with_visibility): Include hashtab.h in gtype-desc.c. | |
10290 | (write_gc_structure_fields): Add new PARAM parameter. Update | |
10291 | callers. Handle use_param option. Handle TYPE_PARAM_STRUCT. | |
10292 | (write_gc_marker_routine_for_structure): Add new PARAM parameter. | |
10293 | Use it to generate function name. Update callers. | |
10294 | (write_gc_types): Add new PARAM_STRUCTS parameter. Update callers. | |
10295 | Process them. | |
10296 | (write_gc_roots): Handle TYPE_PARAM_STRUCT. Allow param_is | |
10297 | option. | |
10298 | (main): Define PTR as pointer-to-scalar. Don't specially | |
10299 | mark deferred_string or ehl_map_entry. | |
10300 | * gengtype-yacc.y (PARAM_IS): Add new token. | |
10301 | (externstatic): Use adjust_field_type. | |
10302 | (type_option): Add PARAM_IS. | |
10303 | * gengtype-lex.l: Add rule for typedef of function pointers. | |
10304 | Add rule for PARAM_IS. | |
10305 | (IWORD): Add size_t. | |
10306 | * except.c (exception_handler_label_map): Use gengtype to mark. | |
10307 | (type_to_runtime_map): Likewise. | |
10308 | (mark_ehl_map_entry): Delete. | |
10309 | (mark_ehl_map): Delete. | |
10310 | (init_eh): Use gengtype for roots; use GC to allocate hash tables. | |
10311 | (t2r_mark_1): Delete. | |
10312 | (t2r_mark): Delete. | |
10313 | * Makefile.in (gtype-desc.o): Correct dependencies. | |
10314 | (GTFILES): Add hashtab.h. | |
10315 | (genautomata.o): Actually uses hashtab.h. | |
10316 | ||
10317 | * Makefile.in (stringpool.o): Add $(GGC_H). | |
10318 | (dwarf2asm.o): Likewise. | |
10319 | (GTFILES): Add hashtable.h. | |
10320 | * c-common.h (struct c_common_identifier): Use gengtype. | |
10321 | * c-decl.h (c_mark_tree): Delete. | |
10322 | * c-lang.c (LANG_HOOKS_MARK_TREE): Delete. | |
10323 | * c-tree.h (struct lang_identifier): Use gengtype. | |
10324 | (union lang_tree_node): New. | |
10325 | (c_mark_tree): Delete prototype. | |
33005162 | 10326 | * dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy |
e2500fed GK |
10327 | dwarf2_debug_hooks. |
10328 | * gengtype-lex.l (IWORD): Allow 'bool'. | |
10329 | (ptr_alias): Match. | |
10330 | * gengtype-yacc.y (ALIAS): New token. | |
10331 | (type_option): New rule. | |
10332 | (option): Use type_option. | |
10333 | * gengtype.c (process_gc_options): New. | |
10334 | (set_gc_used_type): Use it. | |
10335 | (write_gc_structure_fields): Add 'bitmap' parameter, change callers. | |
10336 | Add new variable 't' to hold the type of the field being processed. | |
10337 | Add more error checking. Use UNION_P when looking at 'desc' option. | |
10338 | Handle language-specific structures containing other | |
10339 | language-specific structures. | |
10340 | (write_gc_types): Handle 'ptr_alias' option. | |
10341 | (main): Don't need to specially output lang_type, lang_decl, lang_id2. | |
10342 | * ggc-common.c (ggc_pending_trees): Delete. | |
10343 | (ggc_mark_roots): Don't manipulate ggc_pending_trees. | |
10344 | (ggc_mark_trees): Delete. | |
10345 | (gt_ggc_m_tree_node): Delete. | |
10346 | * ggc.h (ggc_pending_trees): Delete. | |
10347 | (ggc_mark_tree): Make alias of gt_ggc_m_tree_node. | |
10348 | * hashtable.h (ht_identifier): Use gengtype. | |
10349 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): Delete. | |
10350 | * langhooks.h (struct lang_hooks): Delete mark_tree. | |
10351 | * sdbout.c [! SDB_DEBUGGING_INFO]: Define dummy sdb_debug_hooks | |
10352 | anyway. | |
10353 | * system.h: Poison LANG_HOOKS_MARK_TREE. | |
10354 | * tree.c (tree_node_structure): New. | |
10355 | * tree.h (struct tree_common): Use gengtype. | |
10356 | (struct tree_int_cst): Likewise. | |
10357 | (struct tree_real_cst): Likewise. | |
10358 | (struct tree_string): Likewise. | |
10359 | (struct tree_complex): Likewise. | |
10360 | (struct tree_vector): Likewise. | |
10361 | (struct tree_identifier): Likewise. | |
10362 | (struct tree_list): Likewise. | |
10363 | (struct tree_vec): Likewise. | |
10364 | (struct tree_exp): Likewise. | |
10365 | (struct tree_block): Likewise. | |
10366 | (struct tree_type): Likewise. | |
10367 | (struct tree_decl): Likewise. | |
10368 | (enum tree_structure_enum): New. | |
10369 | (union tree_node): Use gengtype, with an alias. | |
10370 | (tree_node_structure): Prototype. | |
10371 | * objc/objc-lang.c (LANG_HOOKS_MARK_TREE): Delete. | |
10372 | ||
10373 | Merge to tag pch-merge-20020430. The LANG_HOOKS_FUNCTION_MARK | |
10374 | macro was deleted. The LANG_HOOKS_FUNCTION_FREE macro was renamed | |
10375 | to LANG_HOOKS_FUNCTION_FINAL. | |
10376 | * Makefile.in (GTFILES): Add bitmap.h. | |
10377 | * except.c (struct eh_region): Mark field 'aka' to be skipped. | |
10378 | ||
10379 | * config/alpha/alpha.c [TARGET_ABI_UNICOSMK] | |
10380 | (alpha_init_machine_status): Give proper type. | |
10381 | * Makefile.in (c-lang.o): Depend on gtype-c.h. | |
10382 | (optabs.o): Depend on gt-optabs.h. | |
10383 | (GTFILES): Add optabs.o. | |
10384 | (gt-optabs.h): Add rule. | |
10385 | * optabs.c: Include gt-optabs.h. | |
10386 | ||
10387 | * gengtype.c (set_gc_used_type): Correct some errors in last change. | |
10388 | (write_gc_structure_fields): If a field which should be NULL is | |
10389 | not, abort. | |
10390 | * c-pragma.c: Move struct align_stack and variable alignment_stack | |
10391 | out from the ifdef. | |
10392 | ||
10393 | * config/xtensa/t-xtensa: Add dependencies for gt-xtensa.h. | |
10394 | * config/xtensa/xtensa.c: Include gt-cris.h. | |
10395 | (struct machine_function): Use gengtype to mark. | |
10396 | * config/mmix/mmix.h (struct machine_function): Use gengtype | |
10397 | to mark. | |
10398 | * config/cris/t-cris: Add dependencies for gt-cris.h. | |
10399 | * config/cris/cris.c: Include gt-cris.h. | |
10400 | (struct machine_function): Use gengtype to mark. | |
10401 | * config/rs6000/rs6000.h (struct machine_function): Use gengtype | |
10402 | to mark. | |
10403 | * doc/tm.texi (Per-Function Data): Delete references to | |
10404 | mark_machine_status. | |
10405 | * config/ia64/ia64.c (ia64_override_options): Don't set | |
10406 | mark_machine_status. | |
10407 | * config/i386/i386.c (override_options): Likewise. | |
10408 | * config/d30v/d30v.c (d30v_init_expanders): Likewise. | |
10409 | * config/arm/arm.c (arm_init_expanders): Likewise. | |
10410 | * config/alpha/alpha.c (override_options): Likewise. | |
33005162 | 10411 | * gengtype.h (enum gc_used_enum): Add GC_MAYBE_POINTED_TO. |
e2500fed GK |
10412 | * gengtype.c (set_gc_used_type): Handle 'maybe_null' option. |
10413 | (write_gc_structure_fields): Don't handle 'really' option. | |
10414 | Handle 'maybe_null' option. | |
10415 | (write_gc_types): Handle 'maybe_null' option. | |
10416 | * function.h (struct function): Don't use "really". | |
10417 | (mark_machine_status): Delete declaration. | |
10418 | (mark_lang_status): Delete declaration. | |
10419 | (gt_ggc_mr_machine_function): Delete prototype. | |
10420 | (gt_ggc_mr_language_function): Delete prototype. | |
10421 | * function.c (mark_machine_status): Delete. | |
10422 | (mark_lang_status): Delete. | |
10423 | (gt_ggc_mr_machine_function): Delete. | |
10424 | (gt_ggc_mr_language_function): Delete. | |
10425 | * c-tree.h (mark_c_function_context): Delete prototype. | |
10426 | * c-objc-common.c (c_objc_common_init): Don't set mark_lang_status. | |
10427 | * c-decl.c (struct language_function): Rename from struct | |
10428 | c_language_function. Update uses. Use gengtype to mark. | |
10429 | (mark_c_function_context): Delete. | |
10430 | * c-common.h (struct c_language_function): Rename from struct | |
10431 | language_function. | |
10432 | (mark_stmt_tree): Delete prototype. | |
10433 | (c_mark_lang_decl): Delete prototype. | |
10434 | (mark_c_language_function): Delete prototype. | |
10435 | * c-common.c (mark_stmt_tree): Delete. | |
10436 | (c_mark_lang_decl): Delete. | |
10437 | (mark_c_language_function): Delete. | |
10438 | ||
10439 | * gengtype.h (enum typekind): Add TYPE_LANG_STRUCT. | |
10440 | (lang_bitmap): New typedef. Use where appropriate. | |
10441 | (struct type): Add gc_used field, lang_struct field. | |
10442 | (UNION_P): New macro. | |
10443 | (new_structure): New prototype. | |
10444 | (find_structure): Remove 'pos' parameter. Change all callers. | |
10445 | * gengtype-lex.l: Update for changes to find_structure. | |
10446 | * gengtype-yacc.y (typedef_struct): Use new_structure. | |
10447 | (yacc_ids): Suppress warning. | |
10448 | (type): Use new_structure. | |
10449 | * gengtype.c (string_type): Update for changes to struct type. | |
10450 | (find_structure): Just find a structure, don't worry about | |
10451 | creating one. | |
10452 | (new_structure): New. | |
10453 | (note_yacc_type): Use new_structure. | |
10454 | (set_gc_used_type): New. | |
10455 | (set_gc_used): New. | |
10456 | (write_gc_structure_fields): Allow for pointers to TYPE_LANG_STRUCT. | |
10457 | (write_gc_types): Handle TYPE_LANG_STRUCT. | |
10458 | (write_gc_marker_routine_for_structure): New. | |
10459 | (main): Call set_gc_used. Add some calls to set_gc_used_type | |
10460 | for places where GCC doesn't use gengtype properly yet. | |
10461 | * ggc.h (gt_ggc_m_rtx_def): Don't prototype. | |
10462 | (gt_ggc_m_tree_node): Likewise. | |
10463 | ||
10464 | * varasm.c (copy_constant): Call expand_constant if we hit | |
05713b80 | 10465 | something we can't recognize. |
e2500fed GK |
10466 | |
10467 | * ggc-common.c (ggc_mark_rtvec_children): Delete. | |
10468 | (ggc_mark_rtx_children): Use generic name for ggc_mark_rtvec. | |
10469 | (lang_mark_false_label_stack): Delete. | |
10470 | * rtl.h (struct rtvec_def): Use gengtype to mark. | |
10471 | * ggc.h (ggc_mark_rtvec): Delete. | |
10472 | (gt_ggc_m_rtvec_def): Delete. | |
10473 | (ggc_mark_nonnull_tree): Delete. | |
10474 | (ggc_mark_rtvec_children): Delete prototype. | |
10475 | (lang_mark_false_label_stack): Delete declaration. | |
10476 | ||
10477 | * gengtype.h (note_yacc_type): Add prototype. | |
10478 | * gengtype.c (note_yacc_type): New function. | |
10479 | * gengtype-lex.l: Add lexer support for yacc files. | |
10480 | * gengtype-yacc.y (start): Extract union from yacc files. | |
10481 | (yacc_union): New rule. | |
10482 | (yacc_typematch): New rule. | |
10483 | (yacc_ids): New rule. | |
10484 | (enum_items): Tweak for efficiency. | |
10485 | (optionseq): Likewise. | |
10486 | ||
10487 | * c-common.h (struct language_function): Use gengtype. | |
10488 | (struct c_lang_decl): Likewise. | |
10489 | * c-tree.h (struct lang_decl): Likewise. | |
10490 | (struct lang_type): Likewise. | |
10491 | * c-decl.c (lang_mark_tree): Use generated marker routines to mark | |
10492 | tree language substructures. | |
10493 | ||
10494 | * stringpool.c (mark_ident): Replace ggc_mark_nonnull_tree with | |
10495 | ggc_mark_tree. | |
10496 | * dwarf2asm.c (mark_indirect_pool_entry): Likewise. | |
10497 | ||
10498 | * varasm.c (struct rtx_const): Remove 'skip' tags for scalar arrays. | |
10499 | ||
10500 | * stmt.c (struct nesting): Add discriminator. Use gengtype to | |
10501 | mark. Remove 'data.block.cleanup_ptr' field. | |
10502 | (struct stmt_status): Use usual technique to mark struct nesting. | |
10503 | (gt_ggc_mr_nesting_cond): Delete. | |
10504 | (gt_ggc_mr_nesting_loop): Delete. | |
10505 | (gt_ggc_mr_nesting_block): Delete. | |
10506 | (gt_ggc_mr_nesting_case_stmt): Delete. | |
10507 | (expand_start_cond): Set discriminator. | |
10508 | (expand_start_loop): Likewise. | |
10509 | (expand_start_null_loop): Likewise. | |
10510 | (expand_start_bindings_and_block): Set discriminator. Don't set | |
10511 | deleted fields. | |
10512 | (expand_decl_cleanup): Replace 'cleanup_ptr' with | |
10513 | &thisblock->data.block.cleanups. | |
10514 | (expand_start_case): Set discriminator. | |
10515 | (expand_start_case_dummy): Set discriminator. | |
10516 | ||
10517 | * ggc-callbacks.c: Remove. | |
10518 | ||
10519 | * gengtype.h (struct type): Add 'u.s.bitmap' field. | |
10520 | (find_structure): Add 'pos' parameter. | |
10521 | * gengtype-lex.l: Update callers to find_structure. | |
10522 | * gengtype-yacc.y: Likewise. | |
10523 | * gengtype.c (find_structure): Allow for structures to be defined | |
10524 | in multiple language backends. | |
10525 | (get_output_file_with_visibility): Include debug.h in gtype-desc.c. | |
10526 | (counter): Rename to gc_counter. | |
10527 | (write_gc_structure_fields): Fail when writing out fields for | |
10528 | an incomplete structure. Ignore arrays of scalars. Handle | |
10529 | 'tree_vec' special. | |
10530 | (write_gc_types): Reset counter for each procedure written. | |
10531 | ||
10532 | * stmt.c (add_case_node): Use GGC to allocate struct case_node. | |
10533 | (free_case_nodes): Delete. | |
10534 | (expand_end_case_type): Delete call to free_case_nodes. | |
10535 | ||
10536 | * Makefile.in (cselib.o): Include gt-<filename>.h. | |
10537 | (gcse.o): Likewise. | |
10538 | (profile.o): Likewise. | |
10539 | (alias.o): Likewise. | |
10540 | (GTFILES): Add alias.c, cselib.c, gcse.c, profile.c, and | |
10541 | alphabetize backend files. | |
10542 | (gt-alias.h, gt-cselib.h, gt-gcse.h, gt-profile.h): New rules. | |
10543 | * alias.c: Use gengtype for roots. | |
10544 | * c-common.h (struct stmt_tree_s): Use gengtype. | |
10545 | * c-decl.c: Use gengtype for roots. | |
10546 | * cselib.c: Use gengtype for roots. | |
10547 | * expr.c: Use gengtype for roots. | |
10548 | * fold-const.c: Use gengtype for roots. | |
10549 | * gcse.c: Use gengtype for roots. | |
10550 | * gengtype-lex.l: Handle typedefs of function types. | |
10551 | Allow for empty array bounds. | |
4912a07c KH |
10552 | Allow processing to stop on initializers. |
10553 | * gengtype-yacc.y (externstatic): Stop processing on initializers. | |
e2500fed GK |
10554 | (semiequal): New rule. |
10555 | * gengtype.c (create_file): Tidy output files. | |
10556 | (get_output_file_with_visibility): Fix paren warning. Fix bug | |
10557 | involving multiple input files mapping to one output file. | |
10558 | (write_gc_structure_fields): Skip arrays of scalars. | |
10559 | (write_gc_types): Tidy output files. | |
10560 | (write_gc_root): New function. | |
10561 | (write_gc_roots): Fix bugs, add support for roots that are | |
10562 | structures. | |
10563 | * ggc-common.c (ggc_mark_rtx_ptr): Delete. | |
10564 | (ggc_mark_tree_ptr): Delete. | |
10565 | (ggc_add_rtx_root): Delete. | |
10566 | (ggc_add_tree_root): Delete. | |
10567 | (ggc_del_root): Delete. | |
10568 | * integrate.c (get_func_hard_reg_initial_val): Use ggc_alloc to | |
10569 | allocate struct initial_value_struct. | |
10570 | * profile.c: Use gengtype for roots. | |
10571 | * sdbout.c: Use gengtype for roots. | |
10572 | * varasm.c (mark_weak_decls): Delete unused prototype. | |
10573 | (mark_const_hash_entry): Delete unused function. | |
10574 | * config/darwin-protos.h: Use gengtype for roots. | |
10575 | (machopic_add_gc_roots): Delete. | |
10576 | * config/arm/arm.c: Use gengtype for roots. | |
10577 | * config/arm/arm.h: Use gengtype for roots. | |
10578 | * config/c4x/c4x-protos.h: Use gengtype for roots. | |
10579 | * config/c4x/c4x.c (c4x_add_gc_roots): Delete. | |
10580 | * config/d30v/d30v-protos.h: Use gengtype for roots. | |
10581 | * config/d30v/d30v.c (d30v_add_gc_roots): Delete. | |
10582 | * config/dsp16xx/dsp16xx.c (override_options): Use gengtype for roots. | |
10583 | * config/dsp16xx/dsp16xx.h: Use gengtype for roots. | |
10584 | * config/ia64/ia64-protos.h: Use gengtype for roots. | |
10585 | * config/ia64/ia64.c (ia64_add_gc_roots): Delete. | |
10586 | * config/m68hc11/m68hc11-protos.h: Use gengtype for roots. | |
10587 | * config/m68hc11/m68hc11.c (z_reg): Make global. | |
10588 | (z_reg_qi): Make global. | |
10589 | (m68hc11_add_gc_roots): Delete. | |
10590 | * config/mcore/mcore-protos.h: Use gengtype for roots. | |
10591 | * config/mcore/mcore.c (mcore_add_gc_roots): Delete. | |
10592 | * config/mips/mips.c (mips_add_gc_roots): Delete. | |
10593 | * config/mips/mips.h: Use gengtype for roots. | |
10594 | * config/mmix/mmix.c (override_options): Use gengtype for roots. | |
10595 | * config/mmix/mmix.h: Use gengtype for roots. | |
10596 | * config/mn10200/mn10200.c (asm_file_start): Use gengtype for roots. | |
10597 | * config/mn10200/mn10200.h: Use gengtype for roots. | |
10598 | * config/pa/pa.c: Use gengtype for roots, marking. | |
10599 | (struct deferred_plabel): Use GGC, gengtype. | |
10600 | (pa_add_gc_roots): Delete. | |
10601 | (mark_deferred_plabels): Delete. | |
10602 | * config/pj/pj-protos.h: Use gengtype for roots. | |
10603 | * config/pj/pj.h (OVERRIDE_OPTIONS): Don't define. | |
10604 | * config/rs6000/rs6000.c: Use gengtype for roots. Don't call | |
10605 | machopic_add_gc_roots. | |
10606 | * config/rs6000/rs6000.h: Use gengtype for roots. | |
10607 | * config/rs6000/t-darwin (darwin.o): Add dependency on gt-darwin.h. | |
10608 | (gt-darwin.h): Add rule. | |
10609 | * config/sh/sh.c: Use gengtype for roots. | |
10610 | * config/sh/t-sh ($(out_object_file)): Add dependency on gt-sh.h. | |
10611 | (gt-sh.h): Add rule. | |
10612 | * config/sparc/sparc.c: Use gengtype for roots. | |
10613 | (sparc_add_gc_roots): Delete. | |
10614 | (struct ultrasparc_pipeline_state): Use GGC, gengtype. | |
10615 | (mark_ultrasparc_pipeline_state): Delete. | |
10616 | * config/sparc/sparc.h: Use gengtype for roots. | |
10617 | ||
10618 | * Makefile.in (c-parse.o): Update dependencies. | |
10619 | (c-common.o): Likewise. | |
10620 | (GTFILES): Add c-common.h, c-tree.h, c-common.c, c-parse.in. | |
10621 | Add dependencies for the files they generate. | |
10622 | * c-common.c: Replace ggc_add_* uses with GTY annotations. | |
10623 | * c-common.h: Likewise. | |
10624 | * c-decl.c: Likewise. | |
10625 | (gt_ggc_mp_binding_level): Delete. | |
10626 | * c-lang.c: Include gtype-c.h. | |
10627 | * c-parse.in: Replace ggc_add_* uses with GTY annotations. Include | |
10628 | gt-c-parse.h. | |
10629 | * c-pragma.h: Replace ggc_add_* uses with GTY annotations. | |
10630 | (gt_ggc_mp_align_stack): Delete. | |
10631 | * c-tree.h: Replace ggc_add_* uses with GTY annotations. | |
10632 | * function.c: Replace ggc_add_* uses with GTY annotations. | |
10633 | (gt_ggc_mp_function): Delete. | |
10634 | * function.h: Replace ggc_add_* uses with GTY annotations. | |
10635 | * gengtype.c (lang_names): New. | |
10636 | (NUM_BASE_FILES): New. | |
10637 | (open_base_files): Create language base files. | |
10638 | (startswith): New. | |
10639 | (get_file_basename): New. | |
10640 | (get_base_file_bitmap): New. | |
10641 | (get_output_file_with_visibility): Rename from get_output_file. | |
10642 | Add more mappings for various C/Objc filenames. | |
10643 | (finish_root_table): New. | |
10644 | (write_gc_roots): Handle dependencies and scoping properly. | |
10645 | * gengtype.h: Add prototypes for new functions. | |
10646 | * ggc-common.c (struct deletable_root): Delete. | |
10647 | (deletables): Delete. | |
10648 | (ggc_add_deletable_root): Delete. | |
10649 | (ggc_mark_roots): No need to deal with deleted functionality. | |
10650 | * ggc.h (ggc_add_deletable_root): Delete prototype. | |
10651 | * objc/Make-lang.in (objc-act.o): Add gtype-objc.h dependency. | |
10652 | (gtype-objc.h): Add rule to create. | |
10653 | * objc/config-lang.in (gtfiles): New. | |
10654 | * objc/objc-act.c: Allocate imp_list using GGC. Replace uses of | |
10655 | ggc_add_* with GTY markers. Include gtype-objc.h. | |
10656 | (ggc_mark_imp_list): Delete. | |
10657 | * objc/objc-act.h: Replace uses of ggc_add_* with GTY markers. | |
10658 | * objc/objc-lang.c: Random Whitespace Change. | |
10659 | ||
10660 | * except.h (exception_handler_labels): Delete. | |
10661 | (get_exception_handler_labels): New. | |
10662 | * except.c (exception_handler_labels): Delete. | |
10663 | (struct eh_status): Add exception_handler_labels field. | |
10664 | (doing_eh): Don't add exception_handler_labels as root. | |
10665 | (free_eh_status): Don't need to free exception_handler_labels. | |
10666 | (get_exception_handler_labels): New. | |
10667 | (find_exception_handler_labels): Update for move of | |
10668 | exception_handler_labels. | |
10669 | (remove_exception_handler_label): Likewise. | |
10670 | * cfgrtl.c (can_delete_label_p): Use get_exception_handler_labels. | |
10671 | * jump.c (rebuild_jump_labels): Likewise. | |
10672 | * loop.c (find_and_verify_loops): Likewise. | |
10673 | * sched-rgn.c (is_cfg_nonregular): Likewise. | |
10674 | ||
10675 | * gengtype.c (write_gc_structure_fields): Handle variable-length | |
10676 | TYPE_ARRAYs. | |
10677 | ||
10678 | * varasm.c (struct weak_syms): Use GGC, gengtype. | |
10679 | (mark_weak_decls): Delete. | |
10680 | (weak_decls): Likewise. | |
10681 | (add_weak): Likewise. | |
10682 | (remove_from_pending_weak_list): Likewise. | |
10683 | (init_varasm_once): Likewise. | |
10684 | ||
10685 | * Makefile.in (gtype-desc.o): Add libfuncs.h dependency. | |
10686 | (GTFILES): Add tree.h, libfuncs.h, emit-rtl.c, explow.c, | |
10687 | stor-layout.c, regclass.c, and lists.c. | |
10688 | Add dependencies of gt-emit-rtl.h gt-explow.h gt-stor-layout.h | |
10689 | gt-regclass.h and gt-lists.h on s-gtype. | |
10690 | * emit-rtl.c: Use gengtype for roots. Include gt-emit-rtl.h. | |
10691 | * except.c: Use gengtype for roots. | |
10692 | * explow.c: Use gengtype for roots. Include gt-explow.h. | |
10693 | * expr.h (init_stor_layout_once): Delete prototype. | |
10694 | * function.c: Use gengtype for roots. | |
10695 | * gengtype-lex.l: Add ENT_EXTERNSTATIC lexing. | |
10696 | * gengtype-yacc.y (start): Can also be an externstatic. | |
10697 | (externstatic): New production. | |
10698 | (struct_fields): Correct array bounds inversion for 2-d arrays. | |
10699 | * gengtype.c (variables): New variable. | |
10700 | (note_variable): New function. | |
10701 | (get_output_file): Include libfuncs.h into gtype-desc.c. | |
10702 | (get_output_file_name): New function. | |
10703 | (write_gc_structure_fields): Suppress warnings. | |
10704 | (write_gc_types): Make static. | |
10705 | (put_mangled_filename): New function. | |
10706 | (write_gc_roots): New function. | |
10707 | (main): Call write_gc_roots. | |
10708 | * gengtype.h (note_variable): Prototype. | |
10709 | (get_output_file_name): Prototype. | |
10710 | (write_gc_types): Delete prototype. | |
10711 | * ggc.h: Clean up unnecessary structure predefinitions. | |
10712 | (struct ggc_root_tab): Define. | |
10713 | (gt_ggc_m_rtx_def): Make function, not macro. | |
10714 | (gt_ggc_m_tree_node): Likewise. | |
10715 | * libfuncs.h: Use gengtype for roots. | |
10716 | * lists.c: Use gengtype for roots. Include gt-lists.h. | |
10717 | (init_EXPR_INSN_LIST_cache): Delete. | |
10718 | * optabs.c: Use gengtype for roots. | |
10719 | (gt_ggc_mp_optab): Delete. | |
10720 | * optabs.h: Use gengtype for roots. | |
10721 | * regclass.c: Use gengtype for roots. Include gt-regclass.h. | |
10722 | * rtl.h: Use gengtype for roots. | |
10723 | (init_EXPR_INSN_LIST_cache): Delete prototype. | |
10724 | * stor-layout.c: Use gengtype for roots. | |
10725 | Include gt-stor-layout.h. | |
10726 | (init_stor_layout_once): Delete. | |
10727 | * toplev.c: Use gengtype for roots. Delete calls to deleted | |
10728 | routines. | |
10729 | * tree.c: Use gengtype for roots. | |
10730 | * tree.h: Use gengtype for roots. | |
10731 | * varasm.c: Use gengtype for roots. | |
33005162 | 10732 | |
e2500fed GK |
10733 | * Makefile.in (GTFILES): Add @all_gtfiles@. |
10734 | * configure: Regenerate. | |
10735 | * configure.in: Construct all_gtfiles from the gtfiles definitions | |
10736 | in config-lang.in. | |
10737 | * gengtype-yacc.y (type): Warn about duplicate structure names. | |
10738 | * gengtype.c (get_output_file): Handle .c files in language | |
10739 | subdirectories. | |
10740 | ||
10741 | * Makefile.in (GTFILES): Run gengtype on all the config files | |
10742 | and on the target .c file. | |
10743 | * except.c (mark_eh_region): Delete. | |
10744 | (init_eh_for_function): Use GGC on struct eh_status. | |
10745 | (mark_eh_status): Delete. | |
10746 | (free_eh_status): Use GGC. | |
10747 | (expand_eh_region_start): Use GGC to | |
10748 | (collect_eh_region_array): Allocate last_region_number using GGC. | |
10749 | (duplicate_eh_region_1): Use GGC to allocate struct eh_region. | |
10750 | (remove_eh_handler): Let GGC free struct eh_region. | |
10751 | (add_call_site): Use GGC to reallocate call_site_record array. | |
10752 | * function.c (init_machine_status): Update calling sequence. | |
10753 | (mark_machine_status): Likewise. | |
10754 | (mark_lang_status): Likewise. | |
10755 | (prepare_function_start): Update init_machine_status call. | |
10756 | (mark_function_status): Delete. | |
10757 | (maybe_mark_struct_function): Delete. | |
10758 | (ggc_mark_struct_function): Delete. | |
10759 | (gt_ggc_mp_function): New. | |
10760 | (gt_ggc_mr_machine_function): New. | |
10761 | (gt_ggc_mr_language_function): New. | |
10762 | (init_function_once): Use canonical names. | |
10763 | * function.h (struct function): Use gengtype. | |
10764 | (init_machine_status): Return the structure. | |
10765 | (mark_machine_status): Take a 'void *'. | |
10766 | (mark_lang_status): Likewise. | |
10767 | * ggc-common.c (ggc_mark_trees): Use canonical name for | |
10768 | ggc_mark_struct_function. | |
10769 | * tree.h (ggc_mark_struct_function): Delete prototype. | |
10770 | * config/alpha/alpha.c (alpha_mark_machine_status): Delete. | |
10771 | (alpha_init_machine_status): Likewise. | |
10772 | (override_options): Use canonical name for alpha_mark_machine_status. | |
10773 | * config/alpha/unicosmk.h (struct machine_function): Use gengtype. | |
10774 | * config/arm/arm.h (struct machine_function): Use gengtype. | |
10775 | * config/arm/arm.c (arm_mark_machine_status): Delete. | |
10776 | (arm_init_machine_status): Update calling sequence. | |
10777 | (arm_init_expanders): Use canonical name for arm_mark_machine_status. | |
33005162 | 10778 | * config/cris/cris.c (cris_init_machine_status): Update |
e2500fed GK |
10779 | calling sequence. |
10780 | * config/d30v/d30v.h (struct machine_function): Use gengtype. | |
33005162 | 10781 | * config/d30v/d30v.c (d30v_init_machine_status): Update |
e2500fed GK |
10782 | calling sequence. |
10783 | (d30v_mark_machine_status): Delete. | |
10784 | * config/i386/i386.c: Include gt-i386.h. | |
10785 | (struct machine_function): Use gengtype. | |
10786 | (ix86_init_machine_status): Update calling sequence. | |
10787 | (ix86_mark_machine_status): Delete. | |
10788 | (override_options): Use canonical namke for ix86_mark_machine_status. | |
10789 | * config/ia64/ia64.h (struct machine_function): Use gengtype. | |
33005162 | 10790 | * config/ia64/ia64.c (ia64_init_machine_status): Update calling |
e2500fed GK |
10791 | sequence. |
10792 | (ia64_mark_machine_status): Delete. | |
33005162 | 10793 | (ia64_override_options): Use canonical name for |
e2500fed | 10794 | ia64_mark_machine_status. |
33005162 | 10795 | * config/mmix/mmix.c (mmix_init_machine_status): Update calling |
e2500fed GK |
10796 | sequence. |
10797 | * config/rs6000/rs6000.c (rs6000_init_machine_status): Likewise. | |
10798 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise. | |
10799 | * gengtype.c (get_output_file): Fix warning. | |
10800 | (main): Add prototype to suppress warning. | |
10801 | * tree.c: Remove tree_hash_mark prototype. | |
10802 | ||
10803 | * tree.h (init_stmt): Delete prototype. | |
10804 | * toplev.c (lang_independent_init): Don't call init_stmt. | |
10805 | * stmt.c (ALLOC_NESTING): Use GGC for 'struct nesting'. | |
10806 | (stmt_obstack): Delete. | |
10807 | (POPSTACK): No need to free 'struct nesting'. | |
10808 | (gt_ggc_mr_nesting_cond): Use canonical names. | |
10809 | (gt_ggc_mr_nesting_loop): Use canonical names. | |
10810 | (gt_ggc_mr_nesting_block): Use canonical names. | |
10811 | (gt_ggc_mr_nesting_case_stmt): Use canonical names. | |
10812 | (mark_stmt_status): Delete. | |
10813 | (init_stmt): Delete. | |
10814 | (clear_last_expr): Clear both last_expr_type and last_expr_value. | |
10815 | Use it everywhere that last_expr_type was cleared. | |
10816 | * lists.c (init_EXPR_INSN_LIST_cache): Use ggc_add_deletable_root. | |
10817 | (zap_lists): Delete. | |
10818 | * ggc.h (ggc_add_deletable_root): Prototype. | |
10819 | (mark_stmt_status): Remove prototype. | |
10820 | * ggc-common.c (ggc_add_deletable_root): New. | |
10821 | (ggc_mark_roots): Handle deletable roots. | |
10822 | * function.c (ggc_mark_struct_function): Use canonical name | |
10823 | for mark_stmt_status. | |
10824 | * emit-rtl.c (free_sequence_stack): New. | |
10825 | (start_sequence): Use a freelist for sequences. | |
10826 | (end_sequence): Likewise. | |
10827 | (init_emit_once): Add free_sequence_stack as a deleteable root. | |
10828 | * c-pragma.c Include gt-c-pragma.h. | |
10829 | (struct align_stack): Use gengtype. | |
10830 | (push_alignment): Use GGC for struct align_stack. | |
10831 | (mark_align_stack): Delete. | |
10832 | (gt_ggc_mp_align_stack): New. | |
10833 | (init_pragma): Use canonical name for mark_align_stack. | |
10834 | * c-decl.c: Include gt-c-decl.h. | |
10835 | (struct binding_level): Use gengtype. | |
10836 | (make_binding_level): Use GGC; handle the freelist here. | |
10837 | (pop_binding_level): New. | |
10838 | (pushlevel): Move code into make_binding_level. | |
10839 | (push_label_level): Likewise. | |
10840 | (poplevel): Move code into pop_binding_level. | |
10841 | (pop_label_level): Likewise. | |
10842 | (mark_binding_level): Delete. | |
10843 | (gt_ggc_mp_binding_level): New. | |
10844 | (c_init_decl_processing): Use canonical name for mark_binding_level. | |
10845 | Add free_binding_level as deletable root. | |
10846 | (mark_c_function_context): Use canonical name for mark_binding_level. | |
10847 | * Makefile.in (c-decl.o): Add gt-c-decl.h. | |
10848 | (c-pragma.o): Add gt-c-pragma.h. | |
10849 | (GTFILES): Add c-decl.c and c-pragma.c. | |
10850 | (gt-c-decl.h, gt-c-pragma.h): Create using gengtype. | |
10851 | ||
10852 | * tree.c (struct type_hash): Use gengtype. | |
10853 | (init_obstacks): Use canonical name for type_hash_mark. | |
10854 | (type_hash_mark): Delete. | |
10855 | Include gt-tree.h. | |
10856 | * rtl.h (struct mem_attrs): Use gengtype. | |
10857 | * optabs.h (struct optab): Use gengtype. | |
10858 | * optabs.c (expand_binop): Squish signed/unsigned warning. | |
10859 | (mark_optab): Make local, use canonical name, use autogenerated | |
10860 | marker procedure. | |
10861 | (init_optabs): Use canonical name for mark_optab. | |
10862 | (new_optab): Use GGC to allocate optabs. | |
10863 | * ggc.h: Delete mark_optab prototype. | |
10864 | * ggc-common.c (ggc_mark_rtx_children): Use canonical name for | |
10865 | mem_attrs marker procedure. | |
10866 | * gengtype.c (get_output_file): Include headers in gtype-desc.c | |
10867 | explicitly rather than deducing them from file names. | |
10868 | (write_gc_structure_fields): Handle arrays of structures. | |
10869 | (main): Return non-zero exit code if errors occur during output. | |
10870 | * emit-rtl.c (mem_attrs_mark): Delete. | |
10871 | (init_emit_once): Use canonical name for mem_attrs marker procedure. | |
10872 | * Makefile.in (gtype-desc.o): Explicitly name dependencies. | |
10873 | (tree.o): Depend on gt-tree.h. | |
10874 | (GTFILES): Add rtl.h, optabs.h, tree.c. | |
10875 | (gt-tree.h): Add it to s-gtype rule. | |
10876 | ||
10877 | * .cvsignore: Ignore gengtype flex/bison generated files. | |
10878 | * Makefile.in (GGC_H): Add gtype-desc.h. | |
10879 | (OBJS): Add gtype-desc.o. | |
10880 | (GEN): Add gengtype. | |
10881 | (STAGESTUFF): Add gengtype. | |
10882 | (varasm.o): Add gt-varasm.h. | |
10883 | (stmt.o): Add gt-stmt.h. | |
10884 | (except.o): Add gt-except.h. | |
10885 | (integrate.o): Add gt-integrate.h. | |
10886 | (GTFILES): New. | |
10887 | Add new rules for new files. | |
10888 | * configure: Regenerate. | |
10889 | * configure.in: Correct defaults.h paths. | |
10890 | * emit-rtl.c (mark_sequence_stack): Delete. | |
10891 | (mark_emit_status): Delete. | |
10892 | (start_sequence): Allocate sequence structures using GGC. | |
10893 | (end_sequence): Allocate sequence structures using GGC. | |
10894 | * except.c: Use gengtype for various structures. Include | |
10895 | gt-except.h. | |
10896 | * expr.c (mark_expr_status): Delete. | |
10897 | * function.c: Use gengtype for various structures. Include | |
10898 | gt-function.h. | |
10899 | (mark_function_status): Use standard gt_ggc names for marker functions. | |
10900 | (ggc_mark_struct_function): Likewise. | |
10901 | * function.h: Use gengtype for various structures. | |
10902 | * gengtype-lex.l: New file. | |
10903 | * gengtype-yacc.y: New file. | |
10904 | * gengtype.c: New file. | |
10905 | * gengtype.h: New file. | |
10906 | * ggc.h: Include gtype-desc.h. Alias some marker procedures to | |
10907 | the standard names. Remove some now-unnecessary prototypes. | |
10908 | * integrate.c: Use gengtype for various structures. Include | |
10909 | gt-integrate.h. | |
10910 | (mark_hard_reg_initial_vals): Delete. | |
10911 | * integrate.h (mark_hard_reg_initial_vals): Delete. | |
10912 | * stmt.c: Use gengtype for various structures. Include | |
10913 | gt-stmt.h. | |
10914 | (mark_case_node): Delete. | |
10915 | (mark_goto_fixup): Delete. | |
10916 | (mark_stmt_status): Use standard gt_ggc names for marker functions. | |
10917 | * system.h: Define GTY to empty. In flex/bison files, | |
10918 | don't poison malloc or realloc, instead just define them to | |
10919 | xmalloc and xrealloc. | |
10920 | * varasm.c: Use gengtype for various structures. Include | |
10921 | gt-varasm.h. Use standard gt_ggc names for marker functions. | |
10922 | (mark_pool_constant): Delete. | |
10923 | (mark_varasm_status): Delete. | |
10924 | (decode_rtx_const): #if 0 out non-typesafe hack. | |
10925 | ||
10926 | * function.h (free_lang_status): Mark as obsolete. | |
10927 | * function.c (free_lang_status): Mark as obsolete. | |
10928 | * c-decl.c (push_c_function_context): Use GC to allocate and free | |
10929 | struct language_function. | |
10930 | (pop_c_function_context): Likewise. | |
10931 | * c-common.c (mark_c_language_function): Mark struct | |
10932 | language_function. | |
10933 | ||
10934 | * doc/tm.texi (Per-Function Data): Don't document free_machine_status. | |
10935 | Document that the machine_function structures must be allocated | |
10936 | using GC. Update mark_machine_status documentation. | |
10937 | * function.h: Don't declare free_machine_status. | |
33005162 | 10938 | * function.c (free_machine_status): Don't define. |
e2500fed GK |
10939 | (free_after_compilation): Don't call free_machine_status. |
10940 | (ggc_mark_struct_function): Mark f->machine. Call | |
10941 | mark_machine_status only on non-NULL pointers. | |
10942 | * system.h: Poison free_machine_status. | |
10943 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Use GC on | |
10944 | struct machine_function. | |
10945 | (xtensa_free_machine_status): Delete. | |
10946 | (override_options): Don't set free_machine_status. | |
10947 | * config/rs6000/rs6000.c (rs6000_override_options): Don't set | |
10948 | free_machine_status. | |
10949 | (rs6000_init_machine_status): Use GC on struct machine_function. | |
10950 | (rs6000_free_machine_status): Delete. | |
10951 | * config/ia64/ia64.c (ia64_init_machine_status): Use GC on struct | |
10952 | machine_function. | |
10953 | (ia64_mark_machine_status): Likewise. | |
10954 | (ia64_free_machine_status): Delete. | |
10955 | (ia64_override_options): Don't set free_machine_status. | |
10956 | * config/i386/i386.c (override_options): Don't set | |
10957 | free_machine_status. | |
10958 | (ix86_init_machine_status): Use GC on struct machine_function. | |
10959 | (ix86_mark_machine_status): Likewise. | |
10960 | (ix86_free_machine_status): Delete. | |
10961 | * config/d30v/d30v.c: (d30v_init_machine_status): Use GC on struct | |
10962 | machine_function. | |
10963 | (d30v_mark_machine_status): Likewise. | |
10964 | (d30v_free_machine_status): Delete. | |
10965 | (d30v_init_expanders): Don't set free_machine_status. | |
10966 | * config/arm/arm.c (arm_mark_machine_status): Use GC on struct | |
10967 | machine_function. | |
10968 | (arm_init_machine_status): Likewise. | |
10969 | (arm_free_machine_status): Delete. | |
10970 | (arm_init_expanders): Don't set free_machine_status. | |
10971 | * config/alpha/alpha.c (override_options): Don't set | |
10972 | free_machine_status. | |
10973 | (alpha_init_machine_status): Use GC on struct machine_function. | |
10974 | (alpha_mark_machine_status): Likewise. | |
10975 | (alpha_free_machine_status): Delete. | |
10976 | ||
10977 | * varasm.c (compare_constant): Fix typo. | |
10978 | ||
10979 | * varasm.c: Don't include obstack.h. | |
10980 | (struct varasm_status): x_const_rtx_hash_table is a hash of rtxes. | |
10981 | (struct rtx_const): Give substructures names, improve formatting. | |
10982 | (struct constant_descriptor): Delete. | |
10983 | (struct constant_descriptor_tree): New, based on constant_descriptor. | |
10984 | (const_hash_table): Is a hash table of trees. | |
10985 | (mark_const_hash_entry): Is used for hashes of trees. Mark | |
10986 | constant_descriptor_tree structure. | |
10987 | (mark_const_str_htab_1): Mark deferred_string structure. | |
10988 | (compare_constant): Rewrite to compare trees. | |
10989 | (compare_constant_1): Delete. | |
10990 | (record_constant): Delete. | |
10991 | (record_constant_1): Delete. | |
10992 | (output_constant_def): Use struct constant_descriptor_tree. | |
10993 | Don't duplicate trees twice. | |
10994 | (struct constant_descriptor_rtx): New. | |
10995 | (struct pool_constant): Used for rtx constants. | |
10996 | (init_varasm_status): Update for change to struct varasm_status. | |
10997 | (mark_varasm_status): Likewise. | |
10998 | (free_varasm_status): Delete. | |
10999 | (compare_constant_rtx): Rewrite to handle constant_descriptor_rtx. | |
11000 | (record_constant_rtx): Likewise. | |
11001 | (mem_for_const_double): Update to use struct constant_descriptor_rtx. | |
11002 | (force_const_mem): Likewise. | |
11003 | * Makefile.in (varasm.o): Doesn't depend on obstack.h. | |
11004 | * function.c (free_after_compilation): Don't use free_varasm_status. | |
11005 | * function.h: Don't prototype free_varasm_status. | |
11006 | ||
11007 | * ggc-common.c (ggc_realloc): Handle X being NULL. | |
11008 | ||
11009 | * ggc-common.c (ggc_realloc): New function. | |
11010 | * ggc.h: Prototype it. | |
11011 | * emit-rtl.c (free_emit_status): Delete. | |
11012 | (init_emit): Allocate emit subarrays using GC. | |
11013 | (gen_reg_rtx): Reallocate subarrays using GC. | |
11014 | (init_emit): Use GC to allocate 'struct emit_status' and its | |
11015 | subarrays. | |
11016 | (mark_emit_status): Mark structure and its subarrays. | |
11017 | * stmt.c (free_stmt_status): Delete. | |
11018 | * expr.c (free_expr_status): Delete. | |
11019 | * function.h: Remove prototypes for deleted functions. | |
11020 | * function.c (free_after_compilation): Don't use deleted functions. | |
11021 | Don't call free() on x_parm_reg_stack_loc. | |
11022 | (free_after_parsing): Don't use free_stmt_status. | |
11023 | (assign_parms): Use GC to allocate and resize x_parm_reg_stack_loc. | |
11024 | (mark_function_status): Mark x_parm_reg_stack_loc. | |
11025 | ||
11026 | * varasm.c (init_varasm_status): Use GC to allocate | |
11027 | 'struct varasm_status' and its fields x_const_rtx_hash_table | |
11028 | and x_const_rtx_sym_hash_table. | |
11029 | (mark_varasm_status): Mark them. | |
11030 | (free_varasm_status): Use GC to free them. | |
11031 | * expr.c (init_expr): Use GC to allocate 'struct expr_status'. | |
11032 | (mark_expr_status): Mark the structure itself. | |
11033 | (free_expr_status): Use GC to free the structure. | |
11034 | * stmt.c (free_stmt_status): Use GC to free 'struct stmt_status'. | |
11035 | (mark_stmt_status): Mark the 'struct stmt_status' itself. | |
11036 | (init_stmt_for_function): Allocate the structure for GC. | |
11037 | ||
11038 | * dwarf2out.c (lookup_type_die): Use TYPE_SYMTAB_DIE. | |
11039 | (equate_type_number_to_die): Likewise. | |
11040 | * tree.h (TYPE_SYMTAB_DIE): New macro. | |
11041 | (struct die_struct): Predeclare. | |
11042 | (struct tree_type): Add field symtab.die. Add a tag | |
11043 | to the union type of field symtab. | |
11044 | ||
11045 | * varray.h (VARRAY_RTVEC_INIT): A varray of rtvec contains | |
11046 | 'struct rtvec_def *', not 'struct rtvec_def'. | |
11047 | ||
11048 | * function.h (original_arg_vector): Make a real rtvec. | |
11049 | * function.c (ggc_mark_struct_function): Adjust. | |
11050 | * integrate.c (expand_inline_function): Adjust. | |
11051 | ||
b655555e JT |
11052 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
11053 | ||
11054 | * config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*) | |
11055 | (sh64-*-netbsd*, sh64l*-*-netbsd*): New targets. | |
11056 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN) | |
11057 | (TARGET_VERSION_CPU): Define according to the | |
11058 | default target. | |
11059 | (TARGET_VERSION): Use TARGET_VERSION_ENDIAN and | |
11060 | TARGET_VERSION_CPU. | |
11061 | (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64 | |
11062 | if TARGET_SHMEDIA64. | |
11063 | (LINK_DEFAULT_CPU_EMUL): Define according to the | |
11064 | default target. | |
11065 | (SUBTARGET_LINK_EMUL_SUFFIX): Define. | |
11066 | (SUBTARGET_LINK_SPEC): Define. | |
11067 | (LINK_SPEC): Use SH_LINK_SPEC. | |
11068 | (ASM_SPEC): Remove. | |
11069 | (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. | |
11070 | (FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32 | |
11071 | and TARGET_SHMEDIA64 which abort, for now. | |
11072 | * config/sh/t-netbsd-sh5: New file. | |
11073 | * config/sh/t-netbsd-sh5-32: New file. | |
11074 | * config/sh/t-netbsd-sh5-64: New file. | |
11075 | ||
6d8fd7bb RH |
11076 | 2002-06-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
11077 | Richard Henderson <rth@redhat.com> | |
11078 | ||
11079 | * config/alpha/alpha.c (reg_or_const_int_operand): New. | |
11080 | (some_operand, input_operand): Accept CONST_VECTOR. | |
11081 | (alpha_extra_constraint): Add 'W'. | |
11082 | (alpha_expand_zap_mask): New. | |
11083 | (alpha_expand_builtin_vector_binop): New. | |
11084 | (enum alpha_builtin): New. | |
11085 | (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New. | |
11086 | (alpha_init_builtins, alpha_expand_builtin): New. | |
11087 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New. | |
11088 | * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New. | |
11089 | (PREDICATE_CODES): Update. | |
11090 | * config/alpha/alpha-protos.h: Update. | |
11091 | * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP, | |
11092 | UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New. | |
11093 | (movv8qi, movv8qi_fix, movv8qi_nofix): New. | |
11094 | (movv4hi, movv4hi_fix, movv4hi_nofix): New. | |
11095 | (movv2si, movv2si_fix, movv2si_nofix): New. | |
11096 | (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New. | |
11097 | (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New. | |
11098 | (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap, | |
11099 | builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask, | |
11100 | builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8, | |
11101 | builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8, | |
11102 | builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb, | |
11103 | pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl, | |
11104 | builtin_unpkbw, unpkbw): New. | |
11105 | * doc/extend.texi (Alpha Built-in Functions): New. | |
11106 | ||
618939de RH |
11107 | 2002-06-03 Richard Henderson <rth@redhat.com> |
11108 | ||
11109 | * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on | |
11110 | USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME. | |
11111 | ||
73db7137 RH |
11112 | 2002-06-03 Richard Henderson <rth@redhat.com> |
11113 | ||
6933647a RH |
11114 | * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs. |
11115 | ||
73db7137 RH |
11116 | * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX. |
11117 | (const0_operand): New. | |
11118 | (reg_or_fp0_operand, fp0_operand): Remove. | |
11119 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
11120 | * config/alpha/alpha-protos.h: Update. | |
11121 | * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand | |
11122 | and fp0_operand with reg_or_0_operand and const0_operand. | |
11123 | ||
a6f7c915 DN |
11124 | 2002-06-03 Dan Nicolaescu <dann@godzilla.ics.uci.edu> |
11125 | ||
11126 | * alias.c (nonoverlapping_memrefs_p): Fix off by one error. | |
11127 | ||
b2f02503 RS |
11128 | 2002-06-03 Roger Sayle <roger@eyesopen.com> |
11129 | ||
11130 | * gcse.c (cprop_jump): Use single_set to get the pattern | |
11131 | from the setcc argument. | |
11132 | ||
4fcc2065 GDR |
11133 | 2002-06-03 Gabriel Dos Reis <gdr@codesourcery.com> |
11134 | ||
33005162 | 11135 | * diagnostic.h (diagnostic_count): Move from output_buffer to |
4fcc2065 GDR |
11136 | diagnostic_context. |
11137 | (diagnostic_kind_count): Adjust definition. | |
11138 | ||
5204d665 JH |
11139 | Mon Jun 3 19:11:53 CEST 2002 Jan Hubicka <jh@suse.cz> |
11140 | ||
11141 | * except.c (except.c): Do not rebuild CFG. | |
11142 | * toplev.c (rest_of_compilation): Recompute CFG after sibcall | |
11143 | optimization. | |
11144 | ||
0478a14c JH |
11145 | Mon Jun 3 11:53:01 CEST 2002 Jan Hubicka <jh@suse.cz> |
11146 | ||
11147 | * integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies. | |
11148 | * toplev.c: Include cfglahout.h | |
11149 | * Makefile.in (toplev.c): Add dependnecy. | |
11150 | ||
30efe578 NB |
11151 | 2002-06-03 Neil Booth <neil@daikokuya.demon.co.uk> |
11152 | ||
11153 | * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New. | |
11154 | (CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill. | |
11155 | (CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC. | |
11156 | ||
a782515b JT |
11157 | 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com> |
11158 | ||
11159 | * config/ns32k/netbsd.h: Update copyright years. | |
11160 | (TARGET_OS_CPP_BUILTINS): Define. | |
11161 | (CPP_PREDEFINES): Remove. | |
11162 | * config/ns32k/ns32k.h (CPP_PREDEFINES): Remove. | |
11163 | (TARGET_CPU_CPP_BUILTINS): Define. | |
11164 | ||
0fb7aeda KH |
11165 | 2002-06-02 Kazu Hirata <kazu@cs.umass.edu> |
11166 | ||
589005ff | 11167 | * emit-rtl.c: Fix formatting. |
0fb7aeda KH |
11168 | * errors.h: Likewise. |
11169 | * except.c: Likewise. | |
11170 | * explow.c: Likewise. | |
11171 | * expmed.c: Likewise. | |
11172 | * expr.c: Likewise. | |
11173 | * expr.h: Likewise. | |
11174 | ||
1c8ec18b KH |
11175 | 2002-06-02 Kazu Hirata <kazu@cs.umass.edu> |
11176 | ||
11177 | * config/h8300/elf.h: Fix formatting. | |
11178 | * config/h8300/rtems.h: Likewise. | |
11179 | ||
86cb04f6 JT |
11180 | 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com> |
11181 | ||
11182 | * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove. | |
11183 | ||
5d83269d TT |
11184 | 2002-06-02 Tom Tromey <tromey@redhat.com> |
11185 | ||
11186 | * fixinc/fixincl.x: Rebuilt. | |
11187 | * fixinc/inclhack.def (thread_keyword): Match `*__thread'. | |
11188 | ||
62f6a494 NB |
11189 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11190 | ||
11191 | config/i370: | |
11192 | * i370.h (TARGET_CPU_CPP_BUILTINS): Use. | |
11193 | * linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES. | |
11194 | * mvs.h: Similarly. | |
11195 | * oe.h: Similarly. | |
11196 | ||
0acb0203 JH |
11197 | Mon Jun 3 00:18:20 CEST 2002 Jan Hubicka <jh@suse.cz> |
11198 | ||
11199 | * final.c (final): Allow notes to not have computed addresses; | |
11200 | kill no longer needed STACK_REGS ifdef. | |
11201 | ||
ada8d98a RH |
11202 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11203 | ||
11204 | * gcse.c (bypass_conditional_jumps): Fix typo last change. | |
11205 | ||
ba4f7968 JH |
11206 | Sun Jun 2 23:02:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
11207 | ||
ada8d98a RH |
11208 | * loop.c (emit_prefetch_instructions): Properly place the address |
11209 | computation. | |
ba4f7968 JH |
11210 | |
11211 | Sun Jun 2 22:56:48 CEST 2002 Jan Hubicka <jh@suse.cz> | |
11212 | ||
11213 | * basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill. | |
11214 | (set_block_for_insn): Turn into macro. | |
11215 | * cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn. | |
11216 | * cfglayout.c (insn_scopes): Kill. | |
11217 | (scope_to_insns_initialize): Do not use insn_scopes. | |
11218 | (scope_to_insns_finalize): Likewise. | |
11219 | (duplicate_insn_chain): Likewise. | |
11220 | (cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes. | |
11221 | * cfgrtl.c (basic_block_for_insn): Kill. | |
11222 | (delete_insn_and_edges, delete_insn_chain_and_edges): Simplify. | |
11223 | (create_basic_block_structure): Use reorder_insns. | |
11224 | (compute_bb_for_insn): Do not use basic_block_for_insn. | |
11225 | (merge_blocks_nomove): Likewise. | |
11226 | (update_bb_for_insn): Likewise. | |
11227 | (verify_flow_info): Likewise. | |
11228 | (set_block_for_insn): Kill. | |
11229 | * combine.c (try_combine): Update gen_rtx_INSN call. | |
11230 | * emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call. | |
11231 | (mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear | |
11232 | scopes and BBs. | |
11233 | (add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify. | |
11234 | (emit_note_before, emit_note_after, emit_line_note_after, emit_note): | |
11235 | Clear BB. | |
11236 | (emit_insns_after): Simplify. | |
11237 | (emit_copy_of_insn_after): Copy scope. | |
11238 | * final.c (final_start_function): Lower scopes. | |
11239 | * flow.c (check_function_return_warnings): Do not rely on deleted insn. | |
11240 | * integrate.c (copy_insn_list): Cope scopes. | |
11241 | * jump.c (duplicate_loop_exit_test): LIkewise; simplify. | |
11242 | * loop.c (loop_optimize): Do not care block notes. | |
11243 | * print-rtl.c (print_rtx): Print BB. | |
11244 | * recog.c (apply_change_group): Simplify. | |
11245 | * rtl.c (copy_rtx): Handle 'B'. | |
11246 | * rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields. | |
11247 | * rtl.h (Field accessors): Update indexes. | |
11248 | * sched-ebb.c (schedule_ebbs): Do not lower notes. | |
11249 | * sched-rgn.c (schedule_insns): Likewise. | |
11250 | * toplev.c (rest_of_compilation): Lower notes. | |
11251 | * unroll.c (unroll_loop): Do not care scoping notes. | |
11252 | (copy_loop_body): Copy scopes. | |
11253 | ||
537fc532 NB |
11254 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11255 | ||
11256 | config/h8300: | |
11257 | * elf.h: Use TARGET_OS_CPP_BUILTINS rather than | |
11258 | SUBTARGET_SPEC. | |
11259 | * rtems.h: Similarly. | |
11260 | * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC, | |
11261 | EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove. | |
11262 | (TARGET_CPU_CPP_BUILTINS): Use. | |
11263 | ||
ab780373 RH |
11264 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11265 | ||
11266 | * alias.c: Include target.h. | |
11267 | (mark_constant_function): Use targetm.binds_local_p instead | |
11268 | of checking TREE_PUBLIC ourselves. | |
11269 | * Makefile.in (alias.o): Add TARGET_H. | |
11270 | ||
b9305c66 NB |
11271 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11272 | ||
11273 | * c-lex.c: Update copyright and file description. | |
11274 | ||
0ac3e0c4 NB |
11275 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11276 | ||
11277 | * config/fr30/fr30.h: Update to new CPP macros. | |
11278 | ||
be3a1d46 NB |
11279 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11280 | ||
11281 | * config/dsp16xx/dsp16xx.h: Update to new CPP macros. | |
11282 | ||
ceeedfc1 | 11283 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
a8fd5963 | 11284 | Zack Weinberg <zack@codesourcery.com> |
ceeedfc1 NB |
11285 | |
11286 | * c-common.c (c_common_init): Override cpplib's default | |
11287 | warn_long_long setting. | |
11288 | * c-lex.c (lex_number): Replace with interpret_integer, | |
11289 | interpret_float, narrowest_unsigned_type and | |
11290 | narrowest_signed_type, taking advantage of the new | |
11291 | cpplib functionality. | |
11292 | * cpperror.c (_cpp_begin_message): If a warning is turned | |
11293 | into an error, avoid printing "warning:". | |
11294 | * cppexp.c (cpp_num_sign_extend): New. | |
11295 | * cppinit.c: Update comment. | |
11296 | * cpplib.h (cpp_num_sign_extend): New. | |
11297 | * tree.h: Update comment. | |
11298 | ||
27e511e0 GDR |
11299 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
11300 | ||
11301 | * diagnostic.h (struct diagnostic_context): Add new member | |
33005162 | 11302 | internal_error. |
27e511e0 GDR |
11303 | (internal_error_function): Remove declaration. |
11304 | * diagnostic.c (internal_error_function): Remove definition.. | |
11305 | (internal_error): Adjust use. | |
11306 | ||
818b6b7f RH |
11307 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11308 | ||
11309 | * rtl.h (CC0_P): New. | |
11310 | * gcse.c (cprop_jump): Use it with single_set. Tweak dump text. | |
11311 | (cprop_insn): Allow any mode register; use CC0_P. CSE out single_set. | |
11312 | (bypass_block): Save old dest block for dump text. | |
11313 | (bypass_conditional_jumps): Allow any mode register; use CC0_P. | |
11314 | Allow only true SET insns, not single_set. | |
11315 | ||
167143a0 GDR |
11316 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
11317 | ||
11318 | * diagnostic.c (diagnostic_finish): Rename to output_flush. | |
11319 | (clear_disgnostic_info): Rename to output_clear_data. Use false | |
11320 | instead of 0 for boolean value. | |
11321 | Adjust function call throughout. | |
11322 | ||
eae4bc56 JH |
11323 | Sun Jun 2 19:15:27 CEST 2002 Jan Hubicka <jh@suse.cz> |
11324 | ||
11325 | * cfgrtl.c (commit_one_edge_insertion): Fix warning. | |
11326 | * gcse.c (bypass_conditional_jumps): CSE out single_set call. | |
11327 | ||
9eb404a0 NB |
11328 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11329 | ||
11330 | * d30v.h (CPP_PREDEFINES): Replace with | |
11331 | (TARGET_CPU_CPP_BUILTINS): New. | |
11332 | ||
53e8b0b8 RS |
11333 | 2002-06-02 Roger Sayle <roger@eyesopen.com> |
11334 | ||
11335 | * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo. | |
11336 | ||
92e34b67 JH |
11337 | Sun Jun 2 12:11:52 CEST 2002 Jan Hubicka <jh@suse.cz> |
11338 | ||
11339 | * gcse.c (bypass_conditional_jumps): Use single set to obtain set. | |
11340 | ||
e7e9d242 RH |
11341 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11342 | ||
11343 | * rtlanal.c (volatile_refs_p): Not automatically true for CALL. | |
11344 | ||
9af145ae MM |
11345 | 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> |
11346 | ||
11347 | Support for C++ constructors/destructors. | |
11348 | * config/avr/avr.c (avr_output_function_epilogue): Jump to exit() | |
11349 | instead of looping if main() returns. | |
11350 | (asm_file_start): Output global symbols that cause .data and .bss | |
11351 | initialization code to be linked in, unconditionally for now. | |
11352 | (avr_asm_out_ctor, avr_asm_out_dtor): New functions. | |
11353 | * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New. | |
11354 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
11355 | (LIBSTDCXX): New. | |
11356 | * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections. | |
11357 | (__tablejump__): New. | |
11358 | (__do_copy_data, __do_clear_bss): New. | |
11359 | (__do_global_ctors, __do_global_dtors): New. | |
11360 | * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss, | |
11361 | _ctors, _dtors. | |
11362 | ||
0d66ad57 NB |
11363 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11364 | ||
11365 | * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New. | |
11366 | (CPP_SPEC, CPP_PREDEFINES): Kill. | |
11367 | * c4x/rtems.h (CPP_PREDEFINES): Kill. | |
11368 | (TARGET_OS_CPP_BUILTINS): New. | |
11369 | ||
5c856b23 JH |
11370 | Sat Jun 1 23:29:51 CEST 2002 Jan Hubicka <jh@suse.cz> |
11371 | ||
11372 | * Makefile.in (tracer.o): New. | |
11373 | * params.def (TRACER_*): New options. | |
11374 | * rtl.h (tracer): Declare. | |
11375 | * timevar.def (TV_TRACER): New. | |
11376 | * toplev.c (dump_file_index): Add DFI_tracer. | |
11377 | (dump_file_info): Add tracer. | |
11378 | (flag_tracer): New. | |
11379 | (lang_indepdenent_options): Add tracer. | |
11380 | (rest_of_compilation): Call tracer. | |
11381 | * tracer.c: New file. | |
11382 | * invoke.texi (-ftracer): Document. | |
11383 | (--param tracer-*): Document. | |
11384 | ||
e2405951 DB |
11385 | 2002-06-01 Daniel Berlin <dberlin@dberlin.org> |
11386 | ||
11387 | * tree-inline.c (expand_call_inline): Make the statement | |
33005162 | 11388 | expression we generate have a COMPOUND_STMT. |
e2405951 | 11389 | |
0e3f0221 RS |
11390 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
11391 | ||
11392 | * gcse.c (cprop_cc0_jump): Function deleted. | |
11393 | (cprop_jump): Take an additional argument which is the possibly | |
11394 | NULL cc setting insn immediately before the conditional jump. | |
11395 | When a MODE_CC set is present, substitute it into the JUMP_INSN | |
11396 | before attempting the constant propagation. | |
11397 | (cprop_insn): Recognize cc setters followed by conditional jumps | |
11398 | as a special case. Use cprop_jump instead of cprop_cc0_jump. | |
11399 | (cprop_one_pass): Call bypass_conditional_jumps if altering jumps. | |
11400 | (find_bypass_set): New function based upon find_avail_set used by | |
11401 | cprop, but finds constant expressions available at the end of | |
11402 | basic blocks. | |
11403 | (bypass_block): New function. Given a basic block that begins | |
11404 | with a conditional jump and multiple incoming edges, perform | |
11405 | the jump bypass optimization. | |
11406 | (bypass_conditional_jumps): New function. Call bypass_block with | |
11407 | each suitable basic block in the CFG using a simple single pass. | |
11408 | ||
378393da RS |
11409 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
11410 | ||
11411 | * tree.c (real_minus_onep): New function to test for -1.0. | |
11412 | * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x. | |
11413 | ||
01c58f26 RS |
11414 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
11415 | ||
11416 | * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0" | |
11417 | and "!p && !q" into "(p|q) == 0" under suitable conditions. | |
11418 | ||
91b12472 AJ |
11419 | 2002-06-01 Andreas Jaeger <aj@suse.de> |
11420 | ||
11421 | * cppexp.c (cpp_classify_number): Cast precission to int for | |
11422 | correct printf format. | |
11423 | ||
01e9ae86 MM |
11424 | 2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl> |
11425 | ||
11426 | * config/avr/avr.c (avr_mcu_types): Remove devices that were once | |
11427 | expected, but don't really exist: atmega83, atmega85, attiny10. | |
11428 | * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld | |
11429 | emulations for all devices. | |
11430 | (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10. | |
11431 | * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85. | |
11432 | ||
be1e06df KH |
11433 | 2002-06-01 Kazu Hirata <kazu@cs.umass.edu> |
11434 | ||
11435 | * config/h8300/h8300-protos.h: Add a prototype for | |
11436 | h8300_shift_needs_scratch_p. | |
11437 | * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New. | |
11438 | * config/h8300/h8300.h (OK_FOR_R): New. | |
11439 | (OK_FOR_S): Likewise. | |
11440 | (OK_FOR_T): Likewise. | |
11441 | (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T. | |
11442 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
11443 | constraints R, S, and T. | |
11444 | ||
2ecfd709 ZD |
11445 | Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11446 | ||
11447 | * basic-block.h (struct basic_block_def): New field loop_father. | |
11448 | (BB_VISITED): New flag. | |
11449 | (struct loop): New field pred, removed field shared. | |
11450 | (struct loops): New field parray. | |
11451 | (LOOP_EXITS_DOMS): Removed. | |
11452 | (flow_loop_tree_node_add, flow_loop_tree_node_remove, | |
11453 | flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body, | |
11454 | dfs_enumerate_from, loop_preheader_edge, loop_latch_edge, | |
11455 | add_bb_to_loop, remove_bb_from_loops, find_common_loop, | |
11456 | verify_loop_structure): Declare. | |
11457 | * cfg.c (entry_exit_blocks): Initialize loop_father field. | |
11458 | * cfganal.c (dfs_enumerate_from): New function. | |
11459 | * cfgloop.c (HEAVY_EDGE_RATIO): New constant. | |
11460 | (flow_loop_entry_edges_find, flow_loop_exit_edges_find, | |
11461 | flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p, | |
11462 | flow_loop_dump, flow_loops_dump, flow_loops_free, | |
11463 | flow_loop_tree_node_add, flow_loop_level_compute, | |
11464 | flow_loops_level_compute, flow_loop_scan, flow_loops_update, | |
11465 | flow_loop_outside_edge_p): Modified for new infrastructure. | |
11466 | (make_forwarder_block, canonicalize_loop_headers, glb_enum_p, | |
11467 | redirect_edge_with_latch_update, flow_loop_free): New static functions. | |
11468 | (flow_loop_tree_node_remove, flow_bb_inside_loop_p, | |
11469 | get_loop_body, add_bb_to_loop, remove_bb_from_loops, | |
11470 | find_common_loop, verify_loop_structure, loop_latch_edge, | |
11471 | loop_preheader_edge): New functions. | |
11472 | (flow_loops_cfg_dump): Do not show dominators, as this information | |
11473 | does not remain up to date long. | |
11474 | (flow_loops_find): Store results in new format. | |
11475 | * predict.c (propagate_freq, estimate_probability, | |
11476 | estimate_loops_at_level, estimate_bb_frequencies): Use new loop | |
11477 | infrastructure. | |
11478 | ||
d9763749 | 11479 | 2002-06-01 Alan Lehotsky <apl@alum.mit.edu> |
91b12472 | 11480 | |
d9763749 AL |
11481 | * except.c (nothrow_function_p): Walk epilogue delay list |
11482 | checking the insn, not the chain for potential throws. | |
91b12472 | 11483 | |
1e730c5c ZW |
11484 | 2002-05-31 Zack Weinberg <zack@codesourcery.com> |
11485 | ||
11486 | * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove. | |
11487 | (install): Refer to install-cpp directly. | |
11488 | (uninstall-cpp): Folded into uninstall rule. | |
11489 | * configure.in: Delete all code relating to --disable-cpp. | |
11490 | * configure: Regenerate. | |
11491 | * config/t-install-cpp: Delete. | |
11492 | ||
6f9b006d RH |
11493 | 2002-05-31 Richard Henderson <rth@redhat.com> |
11494 | ||
11495 | * configure.in (HAVE_AS_TLS): Add alpha tests. | |
11496 | * configure: Rebuild. | |
11497 | * config/alpha/alpha.c (TARGET_AS_TLS): New. | |
11498 | (alpha_tls_size, alpha_tls_size_string): New. | |
11499 | (overide_options): Set it. Always install machine_status hooks. | |
11500 | (input_operand): Accept got tls predicates. | |
11501 | (local_symbol_p): Merge into ... | |
11502 | (local_symbolic_operand): ... here. Reject tls symbols. | |
11503 | (global_symbolic_operand): Likewise. | |
11504 | (tls_symbolic_operand_1, dtp16_symbolic_operand): New. | |
11505 | (dtp32_symbolic_operand, gotdtp_symbolic_operand): New. | |
11506 | (tp16_symbolic_operand, tp32_symbolic_operand): New. | |
11507 | (gottp_symbolic_operand, tls_symbolic_operand_type): New. | |
11508 | (alpha_encode_section_info): Handle TLS symbols. | |
11509 | (alpha_strip_name_encoding): Likewise. | |
11510 | (alpha_legitimate_address_p): Likewise. | |
11511 | (alpha_legitimize_address): Likewise. | |
11512 | (alpha_expand_mov): Early exit to avoid nop moves. | |
11513 | (struct machine_function): Move from unicosmk.h. Add some_ld_name. | |
11514 | (alpha_init_machine_status, alpha_mark_machine_status, | |
11515 | alpha_free_machine_status): Always define. | |
11516 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. | |
11517 | (print_operand, print_operand_address): Add TLS relocs. | |
11518 | * config/alpha/alpha.h (HAVE_AS_TLS): Default 0. | |
11519 | (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New. | |
11520 | (TARGET_SWITCHES): Add -mtls-kernel. | |
11521 | (alpha_tls_size, alpha_tls_size_string): New. | |
11522 | (TARGET_OPTIONS): Add -mtls-size=. | |
11523 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, | |
11524 | REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG. | |
11525 | (ASM_OUTPUT_LABELREF): Skip %. | |
11526 | (PRINT_OPERAND_PUNCT_VALID_P): Add &. | |
11527 | (PREDICATE_CODES): Update. | |
11528 | * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL, | |
11529 | UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL, | |
11530 | UNSPEC_TP, UNSPECV_SET_TP): New. | |
11531 | (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp, | |
11532 | adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp, | |
11533 | set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp, | |
11534 | movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New. | |
11535 | (call_value_osf_2_er): Accept anything as op4. | |
11536 | * config/alpha/alpha-protos.h: Update. | |
11537 | * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c. | |
11538 | ||
39e5db1a ZW |
11539 | 2002-05-31 Zack Weinberg <zack@codesourcery.com> |
11540 | ||
11541 | * cppinit.c (append_include_chain): Always pay attention to | |
11542 | cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED | |
11543 | marker on argument. | |
11544 | ||
41077ce4 KH |
11545 | 2002-05-31 Kazu Hirata <kazu@cs.umass.edu> |
11546 | ||
11547 | * target.h: Fix formatting. | |
11548 | * timevar.h: Likewise. | |
11549 | * tlink.c: Likewise. | |
11550 | * toplev.c: Likewise. | |
11551 | * toplev.h: Likewise. | |
11552 | * tree.c: Likewise. | |
11553 | * tree-dump.h: Likewise. | |
11554 | * tree.h: Likewise. | |
11555 | * tree-inline.h: Likewise. | |
11556 | * unroll.c: Likewise. | |
11557 | * unwind-dw2.c: Likewise. | |
11558 | * unwind-dw2-fde.c: Likewise. | |
11559 | * unwind-dw2-fde-glibc.c: Likewise. | |
11560 | * unwind-dw2-fde.h: Likewise. | |
11561 | * unwind.h: Likewise. | |
11562 | * unwind-sjlj.c: Likewise. | |
11563 | * varasm.c: Likewise. | |
11564 | * varray.h: Likewise. | |
11565 | * vmsdbg.h: Likewise. | |
11566 | * vmsdbgout.c: Likewise. | |
11567 | * xcoffout.h: Likewise. | |
11568 | ||
b2e426a0 IS |
11569 | 2002-05-31 Igor Shevlyakov <igor@microunity.com> |
11570 | ||
1e730c5c | 11571 | * expr.c (compare_from_rtx): Generate comparison between op0 and op1 |
b2e426a0 IS |
11572 | rather than cc0 and 0 in a case when HAVE_cc0 is not defined. |
11573 | ||
8b968bd1 MW |
11574 | 2002-05-31 Matthew Woodcraft <mattheww@chiark.greenend.org.uk> |
11575 | ||
11576 | * gcc.c (cpp_unique_options): Remove "-d" options. | |
11577 | (cpp_debug_options): New spec string. | |
11578 | (default_compilers): Use it. | |
11579 | * objc/lang-specs.h: Likewise. | |
11580 | ||
5c35940c NN |
11581 | 2002-05-31 Nathanael Nerode <neroden@twcny.rr.com> |
11582 | ||
1e730c5c | 11583 | * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with |
5c35940c NN |
11584 | BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature. |
11585 | * gcc/mklibgcc.in: Likewise. | |
11586 | * gcc/config/arc/t-arc: Likewise. | |
11587 | * gcc/configure.in: Likewise. | |
11588 | * gcc/configure: Regenerate. | |
11589 | ||
8b496ceb SS |
11590 | 2002-05-31 Stan Shebs <shebs@apple.com> |
11591 | Turly O'Connor <turly@apple.com> | |
11592 | ||
11593 | * c-decl.c (struct binding_level): Change int field n_incomplete | |
11594 | to tree list incomplete_list. | |
11595 | (clear_binding_level): Init field with NULL. | |
11596 | (pushdecl): Add incomplete type to list. | |
11597 | (mark_binding_level): Mark the incomplete list. | |
11598 | (finish_struct): Scan the incomplete list for types instead | |
11599 | of all decls in the current binding level. | |
11600 | ||
4722213d JDA |
11601 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11602 | ||
11603 | * pa.c (output_millicode_call): Add missing '%' characters. | |
11604 | (output_call): Likewise. | |
11605 | ||
1086fcb1 DE |
11606 | 2002-05-31 David Edelsohn <edelsohn@gnu.org> |
11607 | ||
11608 | * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define. | |
11609 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. | |
11610 | ||
afdfb380 | 11611 | 2002-05-31 Alan Lehotsky <apl@alum.mit.edu> |
91b12472 | 11612 | |
afdfb380 AL |
11613 | * varasm.c (mark_constant_pool): Walk epilogue delay list |
11614 | checking the insn, not the chain for potential constants. | |
1e730c5c | 11615 | |
f2df45f6 R |
11616 | Fri May 31 12:38:43 2002 J"orn Rennecke <joern.rennecke@superh.com> |
11617 | ||
11618 | * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec. | |
11619 | ||
91ea38f9 JH |
11620 | Fri May 31 13:50:19 CEST 2002 Jan Hubicka <jh@suse.cz> |
11621 | ||
11622 | * i386.c (classify_argument): Properly handle base types. | |
11623 | ||
11624 | * dwarf2out.c (expand_builin_init_dwarf_reg_sizes): | |
11625 | Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo | |
11626 | registers. | |
11627 | ||
10d1bb36 JH |
11628 | Fri May 31 13:37:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
11629 | ||
11630 | * gcse.c (gcse_emit_move_after): New. | |
11631 | (pre_delete, hoist_store): Use it. | |
11632 | ||
11633 | * reload1.c (emit_input_reload_insns): Use constrain_operands | |
11634 | instead of constraint_accepts_reg_p to verify optimization. | |
11635 | (constraint_accepts_reg_p): Kill | |
11636 | ||
11637 | * reload1.c (reload_cse_delete_noop_set): Kill. | |
11638 | (reload_cse_simplify): use delte_insn_and_edges. | |
11639 | ||
8a72fb76 ZD |
11640 | 2002-05-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11641 | ||
11642 | * cfgloop.c (flow_loops_find): Initialize first and last fields | |
11643 | correctly. | |
11644 | ||
a9da2e5b NB |
11645 | 2002-05-31 Neil Booth <neil@daikokuya.demon.co.uk> |
11646 | ||
11647 | * c-common.c (builtin_define_std): Correct logic. | |
11648 | ||
6248c4dd JDA |
11649 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11650 | ||
11651 | * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20. | |
11652 | (output_call): Likewise. | |
11653 | ||
d499455b JDA |
11654 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11655 | ||
11656 | * pa.c: Move output.h include after tree.h include. | |
11657 | (pa_asm_output_mi_thunk): Constify identifier lab. | |
11658 | ||
2eb2901a JT |
11659 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
11660 | ||
11661 | * config/ns32k/ns32k.h: Define named constants for the | |
11662 | bits in target_flags and use them. | |
11663 | * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants. | |
11664 | ||
806bf413 JDA |
11665 | 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11666 | ||
11667 | * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0 | |
11668 | architecture and pa/pa-7100.h for PA1.1 architecture, respectively. | |
11669 | * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select | |
11670 | default scheduling model. | |
11671 | * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000". | |
11672 | * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling. | |
11673 | * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling. | |
11674 | * doc/install.texi (hppa*-*-*): Document default scheduling. | |
11675 | ||
6d8d2bbc JDA |
11676 | 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11677 | ||
11678 | * pa.c (following_call): Check TARGET_JUMP_IN_DELAY. | |
11679 | ||
c8eb9785 JT |
11680 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
11681 | ||
11682 | * config.gcc (ns32k-*-netbsd*): Set tm_file to | |
11683 | "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h" | |
11684 | * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h, | |
11685 | netbsd.h, or netbsd-aout.h. | |
11686 | ||
6e2e5b6a JT |
11687 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
11688 | ||
11689 | * longlong.h (count_trailing_zeros): Add missing \, and clean up | |
11690 | whitespace in __ns32000__ case. | |
11691 | ||
00182e1e AH |
11692 | 2002-05-31 Aldy Hernandez <aldyh@redhat.com> |
11693 | ||
1e730c5c ZW |
11694 | * expr.c (expand_expr): Output partially zeroed out vectors with |
11695 | output_constant_def. | |
00182e1e | 11696 | |
b4eb03fe JT |
11697 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
11698 | ||
11699 | * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh. | |
11700 | (sh-*-netbsdelf*) | |
11701 | (shl*-*-netbsdelf*): New targets. | |
11702 | * config/sh/netbsd-elf.h: New file. | |
8fd0df91 | 11703 | * config/sh/t-netbsd: New file. |
b4eb03fe | 11704 | |
261376e7 RH |
11705 | 2002-05-30 Richard Henderson <rth@redhat.com> |
11706 | Eric Botcazou <ebotcazou@multimania.com> | |
11707 | ||
11708 | PR optimization/6822 | |
11709 | * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL | |
11710 | to unsigned int for op1 comparisons. Use gen_int_mode. | |
11711 | ||
ce60bf25 EB |
11712 | 2002-05-30 Eric Botcazou <ebotcazou@multimania.com> |
11713 | ||
11714 | * expmed.c (const_mult_add_overflow_p): New. | |
11715 | * expr.h: Declare it. | |
11716 | * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it. | |
11717 | Don't eliminate the biv if the giv has a constant multiplier and | |
11718 | the rhs argument of the comparison does satisfy the predicate. | |
11719 | Use expand_mult_add to compute the replacement constant. | |
11720 | ||
d18b1ed8 OS |
11721 | 2002-05-30 Osku Salerma <osku@iki.fi> |
11722 | ||
11723 | * c-common.c (c_common_attribute_table): Add "may_alias" entry. | |
11724 | (c_common_get_alias_set): Handle it. | |
11725 | * doc/extend.texi: Document it. | |
11726 | ||
a7943381 RH |
11727 | 2002-05-30 Richard Henderson <rth@redhat.com> |
11728 | ||
11729 | * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. | |
11730 | * toplev.c (process_options): Don't check it. | |
11731 | * doc/tm.texi: Don't document it. | |
11732 | * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New. | |
11733 | (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. | |
11734 | * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf | |
11735 | frame pointer optimization if current_function_profile. | |
11736 | ||
e11e816e KH |
11737 | 2002-05-30 Kazu Hirata <kazu@cs.umass.edu> |
11738 | ||
11739 | * langhooks.c: Fix formatting. | |
11740 | * langhooks.h: Likewise. | |
11741 | * lcm.c: Likewise. | |
11742 | * libgcc2.c: Likewise. | |
11743 | * lists.c: Likewise. | |
11744 | * local-alloc.c: Likewise. | |
11745 | * loop.c: Likewise. | |
11746 | * loop.h: Likewise. | |
11747 | ||
11748 | 2002-05-30 Marc Espie <espie@openbsd.org> | |
11749 | ||
11750 | * config.gcc (sparc64-*-openbsd*): New. | |
11751 | * config/sparc/openbsd1-64.h: New. | |
11752 | * config/sparc/openbsd64.h: New. | |
91f0fcee | 11753 | |
d35dfca9 JL |
11754 | 2002-05-30 Jeff Law <law@redhat.com> |
11755 | ||
11756 | * flow.c (propagate_one_insn): Revise yesterday's patch. Delete | |
11757 | a dead insn with a REG_RETVAL note when the entire libcall is not | |
11758 | dead and remove the associated REG_LIBCALL note at the same time. | |
11759 | ||
81b40b72 R |
11760 | Thu May 30 19:54:30 2002 J"orn Rennecke <joern.rennecke@superh.com> |
11761 | ||
11762 | * lcm.c (output.h): #include. | |
11763 | (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK | |
11764 | as an ordinary block. | |
11765 | (optimize_mode_switching): Don't pretend that the exit block is | |
11766 | an ordinary block, or handle sucessors of entry block specially. | |
11767 | Instead, split edges from entry block and to exit block, and | |
11768 | put a computing definition on the thus gained post-entry-block, | |
11769 | and a need on the pre-exit-block. | |
11770 | ||
c8ea9a0f JH |
11771 | Thu May 30 20:28:01 CEST 2002 Jan Hubicka <jh@suse.cz> |
11772 | ||
11773 | * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'. | |
11774 | * rtl.texi: Document 'B' | |
11775 | ||
348f0869 JT |
11776 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
11777 | ||
11778 | * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute | |
11779 | at run-time. | |
11780 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__. | |
11781 | ||
9a171fcd AH |
11782 | 2002-05-30 Aldy Hernandez <aldyh@redhat.com> |
11783 | ||
1e730c5c ZW |
11784 | * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return |
11785 | const0_rtx instead of NULL_RTX when in error. | |
11786 | (altivec_expand_abs_builtin): Same. | |
11787 | (rs6000_expand_binop_builtin): Same. | |
11788 | (altivec_expand_predicate_builtin): Same. | |
11789 | (altivec_expand_stv_builtin): Same. | |
11790 | (rs6000_expand_ternop_builtin): Same. | |
11791 | (altivec_expand_builtin): Same. | |
9a171fcd | 11792 | |
62a35e60 DM |
11793 | 2002-05-29 David S. Miller <davem@redhat.com> |
11794 | ||
11795 | * rtl.h (clear_emit_caches): Delete. | |
11796 | * integrate.c (output_inline_function): Don't call it. | |
11797 | * emit-rtl.c (restore_emit_status, init_emit): Likewise. | |
11798 | (clear_emit_caches): Delete definition. | |
11799 | (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise. | |
11800 | ||
cbc39da8 HPN |
11801 | 2002-05-30 Hans-Peter Nilsson <hp@bitrange.com> |
11802 | ||
11803 | * config/mmix/mmix.c: Include real.h. | |
11804 | (mmix_constant_address_p): Remove redundant test before switch. | |
11805 | ||
50efa737 JT |
11806 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11807 | ||
11808 | * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define | |
11809 | only if not already defined. | |
11810 | ||
2e760b15 KH |
11811 | 2002-05-29 Kazu Hirata <kazu@cs.umass.edu> |
11812 | ||
11813 | * config/h8300/h8300-protos.h: Remove prototypes for | |
11814 | ok_for_bclr and small_power_of_two. | |
11815 | * config/h8300/h8300.c (small_power_of_two): Remove. | |
11816 | (ok_for_blcr): Likewise. | |
11817 | (fix_bit_operand): Make WHAT deal with an integer instead of a | |
11818 | constraint character. | |
11819 | * config/h8300/h8300.h (CONST_OK_FOR_O): Remove. | |
11820 | (CONST_OK_FOR_P): Likewise. | |
11821 | (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or | |
11822 | CONST_OK_FOR_P any more. | |
11823 | * config/h8300/h8300.md (andqi3): Adjust to the new prototype | |
11824 | of fix_bit_operand. | |
11825 | (iorqi3): Likewise. | |
11826 | (xorqi3): Likewise. | |
11827 | ||
e1c293ae JT |
11828 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11829 | ||
11830 | * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
11831 | (CPP_PREDEFINES): Make sure this is undefined. | |
11832 | (CPP_SPEC): Place -D__mips=1 at the beginning of the spec, | |
11833 | since it is no longer in CPP_PREDEFINES. Don't -U__MIPSEL__ | |
11834 | or -U__MIPSEB__ before defining one or the other. Instead, | |
11835 | use %(subtarget_endian_default) if neither -EB nor -EL are | |
11836 | specified. | |
11837 | (SUBTARGET_EXTRA_SPECS): Define. | |
11838 | (SUBTARGET_CPP_SPEC): Remove __LONG64 handling. Use | |
11839 | %(netbsd_cpp_spec). | |
11840 | ||
fde6d81f HPN |
11841 | 2002-05-29 Hans-Peter Nilsson <hp@axis.com> |
11842 | ||
11843 | * doc/md.texi (Patterns): Note pattern condition pitfall | |
11844 | for unnamed insn. | |
11845 | ||
92898235 AH |
11846 | 2002-05-29 Aldy Hernandez <aldyh@redhat.com> |
11847 | ||
1e730c5c ZW |
11848 | * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins |
11849 | when TARGET_ALTIVEC. Move handling of generic unary, binary, and | |
11850 | ternary operations from here... | |
11851 | (rs6000_expand_builtin): ...to here. | |
11852 | New argument expandedp. | |
11853 | Change all instances of altivec_expand_binop_builtin to | |
11854 | rs6000_expand_binop_builtin. | |
11855 | (altivec_expand_unop_builtin): Rename to | |
11856 | rs6000_expand_unop_builtin. | |
11857 | (altivec_expand_binop_builtin): Rename to | |
11858 | rs6000_expand_binop_builtin. | |
11859 | (altivec_expand_ternop_builtin): Rename to | |
11860 | rs6000_expand_ternop_builtin. | |
92898235 | 11861 | |
67adf6a9 RH |
11862 | 2002-05-29 Richard Henderson <rth@redhat.com> |
11863 | ||
11864 | * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value. | |
11865 | (TARGET_BI_ARCH): Likewise. | |
11866 | * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value. | |
11867 | (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT. | |
11868 | (TARGET_64BIT_DEFAULT): Default to 0. | |
11869 | (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER. | |
11870 | ||
145aacc2 RH |
11871 | 2002-05-29 Richard Henderson <rth@redhat.com> |
11872 | ||
11873 | * config/i386/i386.c (USE_HIDDEN_LINKONCE): New. | |
11874 | (get_pc_thunk_name): New. | |
11875 | (output_set_got): Use it. | |
11876 | (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks | |
11877 | into linkonce sections. | |
11878 | ||
a5b49bbc JT |
11879 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11880 | ||
11881 | * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
11882 | (CPP_PREDEFINES): Make sure this is undefined. | |
11883 | (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove. | |
11884 | (CPP_SUBTARGET_SPEC): Don't provide different versions for | |
11885 | default-32 and default-64. Just always use %(netbsd_cpp_spec). | |
11886 | (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and | |
11887 | cpp_subtarget_spec64. Add netbsd_cpp_spec. | |
11888 | * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
11889 | (CPP_PREDEFINES): Make sure this is undefined. | |
11890 | (SUBTARGET_EXTRA_SPECS): Define. | |
11891 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
11892 | ||
54374491 JL |
11893 | 2002-05-29 Jeff Law <law@redhat.com> |
11894 | ||
ae02eae8 JL |
11895 | * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon. |
11896 | ||
b862c2aa JL |
11897 | * flow.c (propagate_one_insn): Do not remove a dead insn if it |
11898 | contains a REG_RETVAL note. | |
11899 | ||
d10791ba JL |
11900 | * haifa-sched (sched_analyze): Remove another useless clearing |
11901 | of SCHED_GROUP_P I missed yesterday. | |
11902 | ||
54374491 JL |
11903 | * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c. |
11904 | * pa.c (pa_asm_output_mi_thunk): New function. | |
11905 | * pa-protos.h (pa_asm_output_mi_thunk): Declare. | |
11906 | ||
92c392e6 NB |
11907 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
11908 | Marek Michalkiewicz <marekm@amelek.gda.pl> | |
11909 | ||
11910 | * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New. | |
11911 | (avr_asm_only_p): Make non-static. | |
11912 | (enum avr_arch): Remove. | |
11913 | (avr_arch_types): New. | |
11914 | (avr_mcu_types): Update. | |
11915 | (avr_override_options): Use avr_arch_types table instead of switch. | |
11916 | * avr.h (CPP_PREDEFINES): Die. | |
11917 | (avr_base_arch_macro, avr_extra_arch_macro): New. | |
11918 | (TARGET_CPU_CPP_BUILTINS): New. | |
11919 | (CPP_SPEC, EXTRA_SPECS): Simplify. | |
11920 | (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC, | |
11921 | CPP_AVR5_SPEC): Die. | |
11922 | ||
4528173e JT |
11923 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11924 | ||
11925 | * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use | |
11926 | NETBSD_OS_CPP_BUILTINS_AOUT. | |
11927 | (SUBTARGET_EXTRA_SPECS): Define. | |
11928 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
11929 | ||
bd09bdeb RH |
11930 | 2002-05-29 Richard Henderson <rth@redhat.com> |
11931 | ||
11932 | * config/i386/i386.c (ix86_output_function_epilogue): New. | |
11933 | (TARGET_ASM_FUNCTION_EPILOGUE): New. | |
11934 | (pic_label_name): Remove. | |
11935 | (pic_labels_used): New. | |
11936 | (ix86_asm_file_end): Emit one pc load stub for each register used. | |
11937 | (output_set_got): Generate deep pc load to any register. | |
11938 | (ix86_select_alt_pic_regnum): New. | |
11939 | (ix86_save_reg): Don't save pic register if we can find a valid | |
11940 | call-clobbered replacement. | |
11941 | (ix86_expand_prologue): If we found a valid replacement, renumber | |
11942 | pic_offset_table_rtx. | |
11943 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at | |
11944 | pic_offset_table_rtx after reload. | |
11945 | (REAL_PIC_OFFSET_TABLE_REGNUM): New. | |
11946 | * config/i386/i386.md (set_got): Make insn, not expander. | |
11947 | (set_got_nopic, set_got_deep, set_got_nodeep): Remove. | |
11948 | ||
002ff5bc RH |
11949 | 2002-05-29 Richard Henderson <rth@redhat.com> |
11950 | ||
11951 | * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom | |
11952 | alignment for alloca. | |
11953 | ||
edfe8595 RH |
11954 | 2002-05-29 Richard Henderson <rth@redhat.com> |
11955 | ||
11956 | * config/i386/i386.c (output_pic_addr_const): Lowercase rip. | |
11957 | (print_operand_address): Only add rip for symbolic addresses | |
11958 | for which we do not have another relocation type. | |
11959 | ||
cd7714ee JT |
11960 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11961 | ||
11962 | * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
11963 | (EXTRA_SPECS): Add netbsd_cpp_spec. | |
11964 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
11965 | (CPP_PREDEFINES): Remove. | |
11966 | * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
11967 | (EXTRA_SPECS): Define. | |
11968 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
11969 | (CPP_PREDEFINES): Remove. | |
11970 | ||
8dc901de NB |
11971 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
11972 | ||
11973 | PR preprocessor/6844 | |
11974 | * cppmacro.c (cpp_macro_definition): Reserve space for terminating | |
11975 | NUL. | |
11976 | ||
2274b31a EC |
11977 | 2002-05-29 Eric Christopher <echristo@redhat.com> |
11978 | ||
11979 | * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for | |
11980 | mips5/mips32/mips64 and _MIPS_ISA_MIPSXX. | |
11981 | ||
5c7666c1 NC |
11982 | 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com> |
11983 | ||
11984 | * config/fr30/fr30.md: Remove previous restriction on splits. | |
11985 | Enforce conformance through gen_lowpart and cont_int_operand. | |
1e730c5c | 11986 | * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss" |
5c7666c1 NC |
11987 | as the assembler does not support ".bss". |
11988 | ||
45beef47 JT |
11989 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11990 | ||
11991 | * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
11992 | (CPP_PREDEFINES): Remove. | |
11993 | (SUBTARGET_EXTRA_SPECS): Define. | |
11994 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
11995 | * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
11996 | (CPP_PREDEFINES): Remove. | |
11997 | (SUBTARGET_EXTRA_SPECS): Define. | |
11998 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
11999 | * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define. | |
12000 | (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove. | |
12001 | (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget. | |
12002 | Add netbsd_cpp_spec. | |
12003 | (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec). | |
12004 | ||
cd7ab83f NB |
12005 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
12006 | Zack Weinberg <zack@codesourcery.com> | |
12007 | ||
12008 | * cppexp.c (cpp_num): Move to cpplib.h. | |
12009 | (CPP_ERROR): Remove. | |
12010 | (interpret_float_suffix, interpret_int_suffix): New. | |
12011 | (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove. | |
12012 | (cpp_classify_number, cpp_interpret_integer): New. | |
12013 | (interpret_number): Remove. | |
12014 | (eval_token): Update to use new routines. | |
12015 | * cpphash.h (cpp_num_part): Move to cpplib.h. | |
12016 | * cppinit.c (cpp_post_options): Set warn_long_long. | |
12017 | * cpplib.h (struct cpp_options): Add warn_long_long. | |
12018 | (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID, | |
12019 | CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL, | |
12020 | CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX, | |
12021 | CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number, | |
12022 | cpp_interpret_integer): New. | |
12023 | ||
61a8515c JS |
12024 | 2002-05-29 Joel Sherrill <joel@OARcorp.com> |
12025 | ||
12026 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405. | |
12027 | ||
53a428b5 JT |
12028 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
12029 | ||
12030 | * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use | |
2274b31a EC |
12031 | NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64. |
12032 | (CPP_SUBTARGET_SPEC): Define. | |
12033 | (SUBTARGET_EXTRA_SPECS): Define. | |
53a428b5 JT |
12034 | (CPP_SPEC): Remove. |
12035 | ||
45b1f7c7 CL |
12036 | 2002-05-29 Chris Lattner <sabre@nondot.org> |
12037 | ||
1e730c5c ZW |
12038 | * ssa.c (rename_insn_1): Rename uses of undefined registers to |
12039 | prevent confusion if/when the register is defined. | |
45b1f7c7 | 12040 | |
049746c2 HPN |
12041 | 2002-05-29 Hans-Peter Nilsson <hp@axis.com> |
12042 | ||
12043 | PR target/6838 | |
12044 | * config/cris/cris.md: Fix typos and thinkos in comments. | |
12045 | ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4, | |
12046 | second alternative. | |
12047 | ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto. | |
12048 | ("*mov_sideqi_mem"): Similar, but for operand 3. | |
12049 | ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto. | |
12050 | (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem): | |
12051 | Remove spurious mode specifier on operand 2. | |
12052 | ||
4d4d89e2 KH |
12053 | 2002-05-29 Kazu Hirata <kazu@cs.umass.edu> |
12054 | ||
12055 | * config/h8300/h8300-protos.h: Remove the prototype for | |
12056 | o_operand. | |
12057 | Add prototypes for single_one_operand and single_zero_operand. | |
12058 | * config/h8300/h8300.c (o_operand): Remove. | |
12059 | (single_one_operand): New. | |
12060 | (single_zero_operand): Likewise. | |
12061 | (print_operand): For 'V' operand, and the operand with 0xff. | |
12062 | For 'V' and 'W' operands, do not and the bit position with 7. | |
12063 | * config/h8300/h8300.md (various anonymous patterns): Replace | |
12064 | use of exact_log2 with single_one_operand/single_zero_operand. | |
12065 | ||
abd6ddec UW |
12066 | 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com> |
12067 | ||
12068 | * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. | |
12069 | ||
da06d85a UW |
12070 | 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com> |
12071 | ||
12072 | * config/s390/s390.c (legitimate_pic_operand_p): Do not | |
12073 | accept symbolic LARL operands. | |
2274b31a | 12074 | (s390_emit_epilogue): Do not set FRAME_RELATED_P on |
da06d85a | 12075 | epilogue insns. |
2274b31a | 12076 | |
f8766020 HP |
12077 | 2002-05-29 Hartmut Penner <hpenner@de.ibm.com> |
12078 | ||
12079 | * config/s390/s390.md (cmpstr_64/31): Mark whole | |
2274b31a | 12080 | input registers as used. |
f8766020 | 12081 | |
66edd3b4 RH |
12082 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12083 | ||
12084 | * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live, | |
12085 | not current_function_uses_pic_offset_table and | |
12086 | current_function_uses_const_pool; examine current_function_profile. | |
12087 | (ix86_expand_prologue): Likewise. Add pic_offset_table_rtx as | |
12088 | input to blockage if needed. | |
12089 | (ix86_expand_call): Do not set current_function_uses_pic_offset_table. | |
12090 | (legitimize_pic_address): Likewise. Set regs_ever_live for | |
12091 | pic_offset_table_rtx when invoked during reload. | |
12092 | * config/i386/i386.h (FINALIZE_PIC): Remove. | |
12093 | * config/i386/i386.md (tablejump): Reformat. Do not set | |
12094 | current_function_uses_pic_offset_table. | |
12095 | (tls_global_dynamic, tls_local_dynamic_base): Likewise. | |
12096 | (blockage): Accept anything as operand 0. | |
12097 | ||
52f4fff6 JT |
12098 | 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com> |
12099 | ||
12100 | * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define | |
12101 | common CPP built-ins for all NetBSD a.out targets. | |
12102 | * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define | |
12103 | common CPP built-ins for all NetBSD ELF targets. | |
12104 | * config/netbsd.h: Add missing notice. | |
12105 | (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins | |
12106 | for all NetBSD targets. | |
12107 | (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins | |
12108 | for all NetBSD targets using an LP64 code model. | |
12109 | (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all | |
12110 | NetBSD targets. | |
12111 | ||
e0e577a2 RH |
12112 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12113 | ||
12114 | * flow.c (update_life_info_in_dirty_blocks): Only do a partial | |
12115 | update if UPDATE_LIFE_LOCAL. | |
12116 | ||
12117 | 2002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> | |
62526ec3 TM |
12118 | |
12119 | * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE. | |
12120 | ||
f1a58d92 | 12121 | Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1e730c5c | 12122 | Jason R. Thorpe <thorpej@wasabisystems.com> |
f1a58d92 R |
12123 | |
12124 | config/sh reorganization to factor out endianness and coff: | |
12125 | ||
12126 | * config/sh/little.h: New file. | |
1e730c5c ZW |
12127 | * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already |
12128 | defined, define to 0 to select big-endian. | |
f1a58d92 | 12129 | (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT. |
1e730c5c ZW |
12130 | (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. |
12131 | * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. | |
12132 | * config/sh/t-be: New file. | |
12133 | * config/sh/t-le: New file. | |
f1a58d92 R |
12134 | |
12135 | * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h. | |
12136 | (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise. | |
12137 | (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise. | |
12138 | (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise. | |
12139 | (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
12140 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. | |
12141 | (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted. | |
12142 | (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise. | |
12143 | (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise. | |
12144 | (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and | |
12145 | CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL, | |
12146 | SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC. | |
12147 | (LINK_SPEC): Define to SH_LINK_SPEC. | |
12148 | (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define. | |
12149 | (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise. | |
12150 | (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. | |
12151 | (CPP_SPEC): Reduce to %(subtarget_cpp_spec). | |
12152 | (TARGET_ENDIAN_DEFAULT): Define if not already defined. | |
12153 | * config/sh/coff.h: New file. | |
12154 | (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section | |
12155 | (TARGET_OBJFMT_CPP_BUILTINS): Define. | |
12156 | * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start. | |
12157 | (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise. | |
12158 | (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise. | |
12159 | (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise. | |
12160 | (PTRDIFF_TYPE): Likewise. | |
12161 | ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include. | |
12162 | (CPP_PREDEFINES): Don't define. | |
12163 | (TARGET_OBJFMT_CPP_BUILTINS): Define. | |
12164 | (LINK_SPEC): Define to SH_LINK_SPEC. | |
12165 | (LINK_EMUL_PREFIX): Redefine. | |
12166 | * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases. | |
12167 | (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition. | |
12168 | (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise. | |
12169 | (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise. | |
12170 | (TARGET_OS_CPP_BUILTINS): Define. | |
12171 | (TARGET_DEFAULT): Redefine. | |
12172 | (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. | |
12173 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove. | |
12174 | (LINK_SPEC): Don't redefine. | |
12175 | (LINK_DEFAULT_CPU_EMUL): Redefine. | |
12176 | (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. | |
12177 | * sh.c (sh_asm_named_section): Don't declare / define. | |
12178 | * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option. | |
12179 | * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h. | |
12180 | (sh64-*-elf* tm_file): Likewise. | |
12181 | (sh-*-rtemself* tm_file): Likewise. | |
12182 | (sh-*-linux* tm_file): Likewise. Add sh/little.h. | |
12183 | (sh-*-linux* tmake_file): Add sh/t-le. | |
12184 | (sh-*-rtems* tm_file): Add sh/coff.h | |
12185 | (sh-*-* tm_file): Likewise. | |
12186 | ||
12187 | Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com> | |
12188 | ||
12189 | * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using | |
12190 | CONSTANT_POOL_ADDRESS_P. | |
12191 | ||
12192 | * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define. | |
12193 | ||
d10791ba | 12194 | 2002-05-28 David Edelsohn <edelsohn@gnu.org> |
33a3dfc4 DE |
12195 | Jeff Law <law@redhat.com> |
12196 | ||
64de6c0a DE |
12197 | * optabs.c (expand_binop): Fix nwords sign warnings. |
12198 | generate pseudo for add_optab. | |
12199 | ||
33a3dfc4 DE |
12200 | * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P. |
12201 | * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used. | |
12202 | ||
972957ba | 12203 | 2002-05-28 Marc Espie <espie@openbsd.org> |
33a3dfc4 | 12204 | |
2274b31a | 12205 | * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, |
972957ba ME |
12206 | inherited from gas.h. |
12207 | (ASM_QUAD): Undef. OpenBSD does not support it. | |
12208 | ||
cc92b8ab DS |
12209 | 2002-05-28 Danny Smith <dannysmith@users.sourceforge.net> |
12210 | ||
12211 | * doc/install.texi (binaries): Change mingw binaries | |
12212 | link to www.mingw.org. | |
12213 | ||
f8088d55 ZD |
12214 | 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12215 | ||
12216 | * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i. | |
12217 | ||
0b7ae565 RH |
12218 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12219 | ||
12220 | * config/i386/i386.c (ix86_compute_frame_layout): Do not add | |
12221 | bottom alignment for leaf functions. | |
12222 | ||
16069d69 ZW |
12223 | 2002-05-28 Zack Weinberg <zack@codesourcery.com> |
12224 | ||
12225 | * config/pa/milli32.S, config/pa/lib1funcs.asm, | |
12226 | config/sparc/sol2-g1.asm: Delete unused files. | |
12227 | ||
04653686 RH |
12228 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12229 | ||
12230 | * cfg.c (dump_flow_info): Print bb->index, not i, for block number. | |
12231 | ||
f3ea5f6a RH |
12232 | * flow.c (calculate_global_regs_live): Rename call_used to |
12233 | invalidated_by_call. Initialize from regs_invalidated_by_call | |
12234 | instead of call_used_regs. | |
12235 | ||
923c7cdf RH |
12236 | * varasm.c (default_binds_local_p): Check TREE_PUBLIC before |
12237 | DECL_EXTERNAL. | |
12238 | ||
11ad4784 ZW |
12239 | 2002-05-28 Zack Weinberg <zack@codesourcery.com> |
12240 | ||
8abbd76a ZW |
12241 | * tree.h: Don't include real.h. |
12242 | Forward-declare struct realvaluetype. | |
11ad4784 ZW |
12243 | (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not |
12244 | contain it. | |
12245 | (TREE_REAL_CST_PTR): New accessor. | |
12246 | (TREE_REAL_CST): Update. | |
12247 | * real.h: Include machmode.h. | |
2274b31a | 12248 | (realvaluetype): Make it struct realvaluetype, not a typedef. |
11ad4784 ZW |
12249 | (build_real): Prototype here. |
12250 | ||
12251 | * tree.c: Include real.h. | |
2274b31a EC |
12252 | (build_real): Allocate the REAL_VALUE_TYPE as a separate |
12253 | object in GC memory, set TREE_REAL_CST_PTR to point to it. | |
11ad4784 ZW |
12254 | (build_real_from_int_cst): Use build_real. |
12255 | * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a | |
12256 | REAL_CST. | |
12257 | ||
12258 | * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c, | |
12259 | fold-const.c, print-tree.c, real.c: Include real.h. | |
12260 | * Makefile.in: Update dependency lists. | |
12261 | ||
bf77398c ZD |
12262 | 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12263 | ||
12264 | * basic-block.h (last_basic_block): Declare. | |
12265 | (expunge_block_nocompact): Declaration removed. | |
12266 | (compact_blocks): Declare. | |
12267 | * cfg.c (last_basic_block): New variable. | |
12268 | (expunge_block_nocompact): Removed. | |
12269 | (expunge_block): Do not compact basic blocks. | |
12270 | (compact_blocks): New. | |
12271 | * cfganal.c (flow_call_edges_add): Use the fact that bb indices no | |
12272 | longer change. | |
12273 | * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set | |
12274 | last_basic_block. | |
12275 | * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change | |
12276 | real positions of blocks. | |
12277 | (delete_unreachable_blocks): Simplified -- quadratic behavior now | |
12278 | cannot occur. | |
12279 | (cleanup_cfg): Compact blocks. | |
12280 | * cfgrtl.c (create_basic_block): Insert basic blocks to the end of | |
12281 | basic_block_info varray. | |
12282 | (flow_delete_block): Comment update. | |
12283 | (back_edge_of_syntactic_loop_p): Modify position check code. | |
12284 | (verify_flow_info): Update checking. | |
12285 | * flow.c (calculate_global_regs_live): Use FOR_EACH_BB. | |
12286 | * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed. | |
12287 | (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb | |
12288 | indices no longer change. | |
12289 | * lcm.c (optimize_mode_switching): Replace n_basic_blocks with | |
12290 | last_basic_block. | |
12291 | * predict.c (estimate_bb_frequencies): Remove unneccessary code. | |
12292 | * profile.c (branch_prob): Compact blocks. | |
12293 | * sched-rgn.c (find_rgns): Replace n_basic_blocks with | |
12294 | last_basic_block. | |
12295 | ||
ae12a094 KH |
12296 | 2002-05-28 Kazu Hirata <kazu@cs.umass.edu> |
12297 | ||
12298 | * config/h8300/h8300.md (two anonymous patterns): New. | |
12299 | ||
c6172f14 DM |
12300 | 2002-05-28 David S. Miller <davem@redhat.com> |
12301 | ||
12302 | * config/sparc/sparc.md (cpu): Tidy. | |
12303 | (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and | |
12304 | 'trap'. | |
12305 | (in_call_delay): Delete reference to 'return' type. | |
12306 | (eligible_for_return_delay, in_return_delay, define_delay | |
12307 | referencing those): Delete. | |
12308 | (rest of file): Use new type attributes as appropriate. | |
12309 | * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete. | |
12310 | * config/sparc/sparc.c (eligible_for_return_delay): Likewise. | |
12311 | * config/sparc/ultra1_2.md (us1_single): New reservation. | |
12312 | (us1_ialuX): Likewise. | |
12313 | * config/sparc/ultra3.md (us3_single): Likewise. | |
12314 | (us3_ialuX): Likewise. | |
12315 | (us3_imul, us3_idiv): Tweak. | |
2274b31a | 12316 | |
34a6c2ec RH |
12317 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12318 | ||
12319 | * config/alpha/alpha.c (alpha_in_small_data_p): Return false for | |
12320 | STRING_CST. | |
12321 | ||
9c075570 RH |
12322 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12323 | ||
12324 | * config.gcc: Obsolete mn10200. | |
12325 | ||
359b0bec NB |
12326 | 2002-05-28 Neil Booth <neil@daikokuya.demon.co.uk> |
12327 | ||
12328 | * cppexp.c (interpret_number): Optimize for single-digit | |
12329 | and less-than-half-precision cases. | |
12330 | (num_trim, num_positive, num_div_op): Cast constants. | |
12331 | ||
4075db8f BT |
12332 | 2002-05-27 Bo Thorsen <bo@suse.de> |
12333 | ||
12334 | * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the | |
12335 | 3.1 branch. The file was made by Jakub Jelinek. | |
12336 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386 | |
12337 | support so multilib doesn't break. And don't define this at all | |
12338 | when -Dinhibit_libc is used. | |
12339 | (MULTILIB_DEFAULTS): Always set default to 64 bit compilation. | |
12340 | * config/i386/t-linux64: Implement full multilib support. Patch | |
12341 | originally done by Andreas Jaeger and Jakub Jelinek. | |
12342 | ||
39f2f3c8 RS |
12343 | 2002-05-27 Roger Sayle <roger@eyesopen.com> |
12344 | ||
12345 | * c-common.c: Add support for __attribute__((nothrow)) to specify | |
12346 | that a function cannot throw an exception (using TREE_NOTHROW). | |
12347 | (handle_nothrow_attribute): New function to process this attribute. | |
12348 | ||
12349 | * doc/extend.texi: Document the new nothrow function attribute. | |
12350 | ||
d51b0053 L |
12351 | 2002-05-27 H.J. Lu (hjl@gnu.org) |
12352 | ||
12353 | * cppexp.c (num_trim): Use 1UL instead of 1 for long int. | |
12354 | (num_positive): Likewise. | |
12355 | (num_div_op): Likewise. | |
12356 | ||
630363b4 NB |
12357 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12358 | ||
12359 | * c-common.c (c_common_init): Always use intmax_t. | |
12360 | ||
d94cde01 NB |
12361 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12362 | ||
12363 | * c-common.c (c_common_init): Use intmax_t for now. | |
12364 | ||
57f851a3 AH |
12365 | 2002-05-24 Andrew Haley <aph@redhat.com> |
12366 | ||
12367 | * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c | |
12368 | if T is a boolean type. | |
12369 | ||
d55bc081 ZD |
12370 | 2002-05-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12371 | ||
12372 | * basic-block.h (last_basic_block): Defined as synonym for | |
12373 | n_basic_blocks. | |
12374 | * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute, | |
12375 | flow_depth_first_order_compute, flow_preorder_transversal_compute, | |
12376 | flow_dfs_compute_reverse_init): Replaced relevant occurences of | |
12377 | n_basic_blocks with last_basic_block. | |
12378 | * cfgbuild.c (make_edges): Likewise. | |
12379 | * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise. | |
12380 | * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise. | |
12381 | * combine.c (combine_instructions): Likewise. | |
12382 | * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap, | |
12383 | iterative_dataflow_bitmap): Likewise. | |
12384 | * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree, | |
12385 | calc_idoms, idoms_to_doms): Likewise. | |
12386 | * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars): | |
12387 | Likewise. | |
12388 | * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties, | |
12389 | compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass, | |
12390 | one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p, | |
12391 | one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1, | |
12392 | delete_null_pointer_checks, compute_code_hoist_vbeinout, | |
12393 | hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass, | |
12394 | compute_store_table, build_store_vectors): Likewise. | |
12395 | * haifa-sched.c (sched_init): Likewise. | |
12396 | * ifcvt.c (if_convert): Likewise. | |
12397 | * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete, | |
12398 | pre_edge_lcm, compute_available, compute_nearerout, | |
12399 | compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching): | |
12400 | Likewise. | |
12401 | * predict.c (estimate_probability, process_note_prediction, | |
12402 | note_prediction_to_br_prob): Likewise. | |
12403 | * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise. | |
12404 | * recog.c (split_all_insns, peephole2_optimize): Likewise. | |
12405 | * regrename.c (copyprop_hardreg_forward): Likewise. | |
12406 | * resource.c (init_resource_info): Likewise. | |
12407 | * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info, | |
12408 | init_regions, schedule_insns): Likewise. | |
12409 | * ssa-ccp.c (ssa_const_prop): Likewise. | |
12410 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
12411 | * ssa.c (compute_dominance_frontiers, | |
12412 | compute_iterated_dominance_frontiers, convert_to_ssa): Likewise. | |
12413 | ||
12414 | * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code) | |
12415 | * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector | |
12416 | sizes consistently. | |
12417 | ||
71d2c5bd JH |
12418 | Mon May 27 14:28:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
12419 | ||
12420 | * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge): | |
12421 | new. | |
12422 | * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store, | |
12423 | hoist_insn_after, hoist_insn_to_edge): New. | |
12424 | ||
5149f070 JH |
12425 | Mon May 27 12:14:02 CEST 2002 Jan Hubicka <jh@suse.cz> |
12426 | ||
12427 | * basic-block.h (PEOP_SCAN_DEAD_STORES): New. | |
12428 | (PROP_FINAL): Include. | |
12429 | * flow.c (life_analysis, update_life_info, | |
12430 | init_propagate_block_info, mark_set_1, mark_used_rgs): | |
12431 | Support SCAN_DEAD_STORE. | |
12432 | ||
c9220e3a NB |
12433 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12434 | ||
12435 | * c-common.c (c_common_init): Set CPP arithmetic precision. | |
12436 | * cppexp.c (cpp_num_part): Move typedef ... | |
12437 | * cpphash.h: ...here; make unsigned HOST_WIDE_INT. | |
12438 | * cppinit.c (cpp_create_reader): Default to host long arithmetic. | |
12439 | (sanity_checks): Update. | |
12440 | ||
e34a3d31 GK |
12441 | 2002-05-26 Geoffrey Keating <geoffk@redhat.com> |
12442 | ||
12443 | * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'. | |
12444 | (mkheaders): New rule. | |
12445 | (install-mkheaders): New rule. | |
12446 | * configure.in (all_outputs): Add mkheaders. | |
12447 | * configure: Regenerate. | |
12448 | * mkheaders.in: New file. | |
12449 | ||
9059e33c JJ |
12450 | 2002-05-26 Jakub Jelinek <jakub@redhat.com> |
12451 | ||
12452 | * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class. | |
12453 | ||
291cc0fe AJ |
12454 | 2002-05-26 Andreas Jaeger <aj@suse.de> |
12455 | ||
12456 | * cfg.c (dump_flow_info): Remove extra argument to fprintf. | |
12457 | ||
91318908 NB |
12458 | 2002-05-26 Neil Booth <neil@daikokuya.demon.co.uk> |
12459 | ||
12460 | * cppexp.c (possible_sum_sign, integer_overflow, left_shift, | |
12461 | right_shift): Remove. | |
12462 | (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART, | |
12463 | HIGH_PART): New. | |
12464 | (struct op): Use cpp_num. | |
12465 | (num_zerop, num_eq, num_positive, num_greater_freq, num_trim, | |
12466 | num_part_mul, num_unary_op, num_binary_op, num_negate, | |
12467 | num_bitwise_op, num_inequality_op, num_equality_op, num_mul, | |
12468 | num_div_op, num_lshift, num_rshift, append_digit): New. | |
12469 | (interpret_number, parse_defined, eval_token, reduce): Update | |
12470 | for two-integer arithmetic. | |
12471 | (binary_handler): New typedef. | |
12472 | (optab): Update. | |
12473 | (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete. | |
12474 | (_cpp_parse_expr, reduce): Update to handle two-integers. | |
12475 | * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF. | |
12476 | ||
331ca350 MM |
12477 | 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl> |
12478 | ||
12479 | * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare. | |
12480 | * config/avr/avr.c (jump_over_one_insn_p): Take length of the | |
12481 | branch insn into account, do not assume 1. | |
12482 | (avr_out_sbxx_branch): New function. Optimize cases of skipping | |
12483 | over single word insn. Handle upper half of I/O space too. | |
12484 | * config/avr/avr.md (*sbrx_branch): Use it. | |
12485 | (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise. | |
12486 | (*sbix_branch, *sbix_branch_bit7): Likewise. | |
12487 | (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New. | |
12488 | Use RTL peepholes to optimize register operand sign tests. | |
12489 | ||
bcb6a2be MM |
12490 | 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl> |
12491 | ||
12492 | * config/avr/avr.c (avr_asm_only_p): New variable. | |
12493 | (avr_override_options): Set it here if AVR1. | |
12494 | (asm_file_start): Test it here, report an error if set. | |
12495 | ||
ca7fd9cd KH |
12496 | 2002-05-26 Kazu Hirata <kazu@cs.umass.edu> |
12497 | ||
12498 | * alias.c: Fix formatting. | |
12499 | * attribs.c: Likewise. | |
12500 | * bb-reorder.c: Likewise. | |
12501 | * bitmap.c: Likewise. | |
12502 | * bitmap.h: Likewise. | |
12503 | * builtins.c: Likewise. | |
12504 | ||
a65dc37d JH |
12505 | Sun May 26 14:00:44 CEST 2002 Jan Hubicka <jh@suse.cz> |
12506 | ||
12507 | * reload.c (find_valid_class): Accept new argument DEST, | |
12508 | choose class accordingly. | |
12509 | (push_reload): Update callers. | |
12510 | ||
9b89393b AJ |
12511 | 2002-05-26 Andreas Jaeger <aj@suse.de> |
12512 | ||
12513 | * combine.c (combine_instructions): Do not indent #if for | |
12514 | traditional C. | |
12515 | ||
b53bb376 RH |
12516 | 2002-05-25 Richard Henderson <rth@redhat.com> |
12517 | ||
12518 | * c-pragma.c (apply_pragma_weak): Convert value identifier to | |
12519 | string for decl_attributes. | |
12520 | (handle_pragma_weak): Call assemble_alias if we're modifying | |
12521 | an existing decl. | |
12522 | ||
e133041b RH |
12523 | 2002-05-25 Richard Henderson <rth@redhat.com> |
12524 | ||
12525 | PR target/6788 | |
12526 | * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation | |
12527 | using rtl instead of fprintf. | |
12528 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it. | |
12529 | * config/sparc/sparc-protos.h: Update. | |
12530 | ||
81a75f0f NB |
12531 | 2002-05-25 Neil Booth <neil@daikokuya.demon.co.uk> |
12532 | ||
12533 | * Makefile.in (C_COMMON_H): Fix. | |
12534 | Update other targets. | |
12535 | * c-common.c: Don't include c-lex.h. | |
12536 | (builtin_define_with_value): Make static and prototype. | |
12537 | (builtin_define_std): Move from c-lex.h. | |
12538 | * c-common.h (init_c_lex): Move from c-lex.h. | |
12539 | * c-decl.c: Don't include c-lex.h. | |
12540 | (make_pointer_declarator): Move from c-parse.in. | |
12541 | * c-lex.c: Don't include c-lex.h. | |
12542 | * c-lex.h: Remove. | |
12543 | * c-parse.in: Don't include c-lex.h; include c-pragma.h. | |
12544 | (make_pointer_declarator): Move to c-decl.c. | |
12545 | * c-pragma.c: Don't include c-lex.h. | |
12546 | * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h. | |
12547 | * c-tree.h (make_pointer_declarator): New. | |
12548 | doc: | |
12549 | * passes.texi, tm.texi: Update. | |
12550 | objc: | |
12551 | * Make-lang.in: Update and correct. | |
12552 | * objc-act.c: Don't include c-lex.h or cpplib.h. | |
12553 | treelang: | |
12554 | * treetree.c: Don't include c-lex.h. | |
12555 | config: | |
12556 | * darwin-c.c: Don't include c-lex.h. | |
12557 | * c4x/c4x-c.c: Don't include c-lex.h. | |
12558 | * c4x/t-c4x: Update. | |
12559 | * i370/i370-c.c: Don't include c-lex.h. | |
12560 | * i370/t-i370: Update. | |
12561 | * i960/i960-c.c: Don't include c-lex.h. | |
12562 | * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h. | |
12563 | * i960/t-960bare: Update. | |
12564 | * i960/t-vxworks: Update. | |
12565 | * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h. | |
12566 | * rs6000/t-darwin: Update. | |
12567 | * rs6000/t-rs6000-c-rule: Update. | |
12568 | * v850/v850-c.c: Don't include c-lex.h. | |
12569 | * v850/v850.c: Don't include c-lex.h or cpplib.h. | |
12570 | ||
12571 | ||
04d2be8e KH |
12572 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
12573 | ||
12574 | * tree.def: Fix typos. | |
12575 | * doc/install.texi: Likewise. | |
12576 | ||
7b6e506e RH |
12577 | 2002-05-25 Richard Henderson <rth@redhat.com> |
12578 | ||
12579 | * configure.in (HAVE_AS_TLS): Add ia64 test. | |
12580 | * configure: Rebuild. | |
12581 | * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New. | |
12582 | (override_options): Set it. | |
12583 | (TARGET_HAVE_TLS): New. | |
12584 | (sdata_symbolic_operand): Look for 's'. | |
12585 | (tls_symbolic_operand): New. | |
12586 | (ia64_expand_load_address): Abort for tls symbols. | |
12587 | (gen_tls_get_addr): New. | |
12588 | (gen_thread_pointer): New. | |
12589 | (ia64_expand_move): Split out from movdi. Handle tls symbols. | |
12590 | (rtx_needs_barrier): Add new unspecs. | |
12591 | (ia64_encode_section_info): Handle tls symbols. | |
12592 | (ia64_strip_name_encoding): Strip two encoding chars. | |
12593 | * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New. | |
12594 | (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New. | |
12595 | (TARGET_OPTIONS): Add tls-size. | |
12596 | (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR. | |
12597 | * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL, | |
12598 | UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New. | |
12599 | (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move. | |
12600 | (movsf, movdf): Likewise. | |
12601 | (movdi_symbolic): Use match_scratch. Don't split if we won't | |
12602 | have a scratch availiable. | |
12603 | (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22, | |
12604 | add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel, | |
12605 | load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New. | |
12606 | * config/ia64/ia64-protos.h: Update. | |
12607 | * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use | |
12608 | sdata_symbolic_operand. | |
12609 | (ASM_OUTPUT_LABELREF): Strip two characters. | |
12610 | ||
8c1d52a3 KH |
12611 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
12612 | ||
12613 | * combine.c (simplify_set): Remove an unnecessary subreg. | |
12614 | ||
b47cae3d MM |
12615 | 2002-05-25 Marek Michalkiewicz <marekm@amelek.gda.pl> |
12616 | ||
12617 | * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL. | |
12618 | ||
12619 | * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New. | |
12620 | ||
ce9e3a6d GDR |
12621 | 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com> |
12622 | ||
12623 | * toplev.c (output_clean_symbol_name): Fix another thinko. Gosh. | |
12624 | ||
fb2c6841 RS |
12625 | 2002-05-25 Roger Sayle <roger@eyesopen.com> |
12626 | ||
12627 | * simplify-rtx.c (simplify_gen_relational): Simplify the RTX | |
12628 | (cond (compare x y) 0) into the equivalent (cond x y). | |
12629 | ||
da7ac8f1 GDR |
12630 | 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com> |
12631 | ||
12632 | * toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko. | |
12633 | ||
c7bdf0a6 ZW |
12634 | 2002-05-24 Zack Weinberg <zack@codesourcery.com> |
12635 | ||
12636 | * config.gcc: Remove all stanzas for previously obsoleted | |
12637 | systems. Where necessary, add explicit error stanzas to | |
12638 | prevent removed systems from being misidentified as something | |
12639 | else. Begin a fresh obsoletions list, with the systems that | |
12640 | were reprieved last round. | |
12641 | * doc/install.texi: Remove all mention of dead targets. | |
12642 | * fixinc/mkfixinc.sh: Likewise. | |
12643 | ||
12644 | * config/arm/arm.h: Bit 31 of target_flags is no longer | |
12645 | reserved. | |
12646 | ||
12647 | * config/1750a/1750a-protos.h, config/1750a/1750a.c, | |
12648 | config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc, | |
12649 | config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h, | |
12650 | config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare, | |
12651 | config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h, | |
12652 | config/alpha/osf12.h, config/alpha/osf2or3.h, | |
12653 | config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h, | |
12654 | config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix, | |
12655 | config/clipper/clipper-protos.h, config/clipper/clipper.c, | |
12656 | config/clipper/clipper.h, config/clipper/clipper.md, | |
12657 | config/clipper/clix.h, config/convex/convex-protos.h, | |
12658 | config/convex/convex.c, config/convex/convex.h, | |
12659 | config/convex/convex.md, config/convex/fixinc.convex, | |
12660 | config/convex/proto.h, config/elxsi/elxsi-protos.h, | |
12661 | config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md, | |
12662 | config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h, | |
12663 | config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h, | |
12664 | config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h, | |
12665 | config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm, | |
12666 | config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h, | |
12667 | config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h, | |
12668 | config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h, | |
12669 | config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h, | |
12670 | config/i386/t-dgux, config/i386/t-next, config/i386/t-osf, | |
12671 | config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h, | |
12672 | config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c, | |
12673 | config/i860/i860.h, config/i860/i860.md, config/i860/mach.h, | |
12674 | config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h, | |
12675 | config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h, | |
12676 | config/m68k/altos3068.h, config/m68k/apollo68.h, | |
12677 | config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm, | |
12678 | config/m68k/aux-crtn.asm, config/m68k/aux-exit.c, | |
12679 | config/m68k/aux-low.gld, config/m68k/aux-mcount.c, | |
12680 | config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h, | |
12681 | config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h, | |
12682 | config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h, | |
12683 | config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h, | |
12684 | config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h, | |
12685 | config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h, | |
12686 | config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h, | |
12687 | config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next, | |
12688 | config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld, | |
12689 | config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld, | |
12690 | config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h, | |
12691 | config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas, | |
12692 | config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas, | |
12693 | config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld, | |
12694 | config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h, | |
12695 | config/mips/dec-osf1.h, config/mips/elflorion.h, | |
12696 | config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h, | |
12697 | config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h, | |
12698 | config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h, | |
12699 | config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd, | |
12700 | config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas, | |
12701 | config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix, | |
12702 | config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c, | |
12703 | config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h, | |
12704 | config/ns32k/merlin.h, config/ns32k/pc532-mach.h, | |
12705 | config/ns32k/pc532-min.h, config/ns32k/pc532.h, | |
12706 | config/ns32k/sequent.h, config/ns32k/tek6000.h, | |
12707 | config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S, | |
12708 | config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c, | |
12709 | config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj, | |
12710 | config/sparc/rtems.h, config/we32k/we32k-protos.h, | |
12711 | config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md: | |
12712 | Delete file. | |
12713 | ||
755ac5d4 RH |
12714 | 2002-05-24 Richard Henderson <rth@redhat.com> |
12715 | ||
12716 | * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1. | |
12717 | * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC. | |
12718 | * config/i386/i386.c (tls_model_chars): Add leading space. | |
12719 | (tls_symbolic_operand): Don't bias by 1. | |
12720 | (legitimize_address): Don't unbias by 1. | |
12721 | ||
c429f12e TM |
12722 | 2002-05-24 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
12723 | ||
12724 | * lcm.c (optimize_mode_switching): Change bb used as indices | |
12725 | to bb->index. | |
12726 | ||
8beda321 RH |
12727 | 2002-05-24 Richard Henderson <rth@redhat.com> |
12728 | ||
12729 | * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead | |
12730 | of update_life_info_in_dirty_blocks. | |
12731 | ||
90442291 JJ |
12732 | 2002-05-24 Jakub Jelinek <jakub@redhat.com> |
12733 | ||
12734 | PR other/6782 | |
12735 | * final.c (get_mem_expr_from_op): Return 0 if op is NULL. | |
12736 | ||
3620711b NB |
12737 | 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk> |
12738 | ||
12739 | PR preprocessor/6780 | |
12740 | * cppmacro.c (enter_macro_context): Clear state.angled_headers. | |
12741 | ||
2f8d482e JB |
12742 | 2002-05-24 Jim Blandy <jimb@redhat.com> |
12743 | ||
12744 | * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final | |
12745 | entry with a type code of zero, marking the end of the compilation | |
12746 | unit's macro info. | |
12747 | ||
95bfe95f RH |
12748 | 2002-05-24 Richard Henderson <rth@redhat.com> |
12749 | ||
c7bdf0a6 ZW |
12750 | * varasm.c (asm_output_bss): Always output one byte. |
12751 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise. | |
95bfe95f | 12752 | |
7efda054 BM |
12753 | 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
12754 | ||
12755 | * tree.c (decl_type_context): Return NULL_TREE if decl's context is a | |
12756 | namespace. | |
12757 | ||
8a951190 AJ |
12758 | 2002-05-24 Andreas Jaeger <aj@suse.de> |
12759 | ||
12760 | * ggc-page.c (alloc_page): Cast variables of type size_t to | |
12761 | unsigned long, adjust printf format string. | |
12762 | (ggc_alloc): Likewise. | |
12763 | (ggc_print_statistics): Likewise. | |
12764 | (ggc_print_statistics): Correct printf format string for SCALE to | |
12765 | use unsigned long. | |
12766 | ||
f29e2ec0 DS |
12767 | 2002-05-24 Danny Smith <dannysmith@users.sourceforge.net> |
12768 | ||
12769 | * config/i386/mingw32.h (CPP_SPEC): Remove -remap. | |
12770 | ||
211a0cbe | 12771 | 2002-05-23 Gabriel Dos Reis <gdr@codesourcery.com> |
c7bdf0a6 | 12772 | Zack Weinberg <zack@codesourcery.com> |
211a0cbe GDR |
12773 | |
12774 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output | |
12775 | quoted strings. | |
12776 | * dwarf2out.c (lookup_filename): Properly quote filename in .file | |
8a951190 | 12777 | directive in assembly file. |
211a0cbe GDR |
12778 | * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. |
12779 | * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. | |
12780 | * config/pj/pj.h (ASM_FILE_START): Likewise. | |
12781 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. | |
12782 | * config/avr/avr.c (asm_file_end): Likewise. | |
12783 | * toplev.c (output_quoted_string): Handle possibly signed plain | |
8a951190 | 12784 | char. |
211a0cbe GDR |
12785 | * toplev.h (output_clean_symbol_name): Declare |
12786 | * toplev.c (output_clean_symbol_name): Define. | |
12787 | * config/alpha/alpha.c (unicosmk_output_module_name): Use it. | |
12788 | * config/1750a/1750a.h (ASM_FILE_START): Likewise. | |
12789 | ||
2f0552b6 AM |
12790 | 2002-05-24 Alan Modra <amodra@bigpond.net.au> |
12791 | ||
12792 | * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits. | |
12793 | ||
b326b2c1 VM |
12794 | 2002-05-23 Vladimir Makarov <vmakarov@redhat.com> |
12795 | ||
12796 | * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4 | |
12797 | of size of unsigned. | |
12798 | ||
f996902d RH |
12799 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12800 | ||
12801 | * configure.in (HAVE_AS_TLS): New test. | |
12802 | * config.in, configure: Rebuild. | |
12803 | * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS. | |
12804 | (ix86_tls_dialect_string, ix86_tls_dialect): New. | |
12805 | (override_options): Set it. | |
12806 | (tls_model_chars, tls_symbolic_operand): New. | |
12807 | (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New. | |
12808 | (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New. | |
12809 | (local_exec_symbolic_operand): New. | |
12810 | (get_pic_label_name): Merge into output_set_got. | |
12811 | (ix86_asm_file_end): Emit pic_label_name if defined. | |
12812 | (legitimate_constant_p, constant_address_p): New. | |
12813 | (legitimate_pic_operand_p): New. | |
12814 | (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF. | |
12815 | (legitimate_address_p): Likewise. | |
12816 | (ix86_encode_section_info): Rename from i386_; handle tls decls. | |
12817 | (ix86_strip_name_encoding): New. | |
12818 | (get_thread_pointer): New. | |
12819 | (legitimize_address): Handle tls symbols. | |
12820 | (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF. | |
12821 | Remove UNSPEC_PLT. | |
12822 | (struct machine_function): Add some_ld_name. | |
12823 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it. | |
12824 | (print_operand) [&]: Use it. Handle UNSPEC_TP. | |
12825 | (output_addr_const_extra): New. | |
12826 | (maybe_get_pool_constant): New. | |
12827 | (ix86_split_to_parts): Use it. | |
12828 | (ix86_expand_move): Handle tls symbols. | |
12829 | (ix86_tls_get_addr): New. | |
12830 | * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New. | |
12831 | (TARGET_OPTIONS): Add tls-dialect. | |
12832 | (CONSTANT_ADDRESS_P): Use new out-of-line function. | |
12833 | (LEGITIMATE_CONSTANT_P): Likewise. | |
12834 | (LEGITIMATE_PIC_OPERAND_P): Likewise. | |
12835 | (TARGET_STRIP_NAME_ENCODING): New. | |
12836 | (ASM_OUTPUT_LABELREF): New. | |
12837 | (PRINT_OPERAND_PUNCT_VALID_P): Add '&'. | |
12838 | (OUTPUT_ADDR_CONST_EXTRA): New. | |
12839 | (PREDICATE_CODES): Update. | |
12840 | (ix86_tls_dialect, ix86_tls_dialect_string): New. | |
12841 | * config/i386/i386.md: Regroup and renumber unspec constants. | |
12842 | (tls_global_dynamic_gnu, tls_global_dynamic_sun): New. | |
12843 | (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New. | |
12844 | (tls_global_dynamic, tls_local_dynamic_base): New. | |
12845 | (tls_local_dynamic_once): New. | |
12846 | * config/i386/i386-protos.h: Update. | |
12847 | ||
821e35ba RH |
12848 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12849 | ||
12850 | * genemit.c (gen_insn): Print file:lineno comment before function. | |
12851 | (main): likewise. | |
12852 | * gensupport.c (struct queue_elem): Add filename member. | |
12853 | (queue_pattern): Initialize it; update all callers. | |
12854 | (process_include): Don't free filename. | |
12855 | (read_md_rtx): Set read_rtx_filename. | |
12856 | ||
0f1ffa23 | 12857 | 2002-05-23 Hans Boehm <Hans_Boehm@hp.com> |
821e35ba RH |
12858 | |
12859 | * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages. | |
0f1ffa23 | 12860 | |
8e9fadc3 RH |
12861 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12862 | ||
12863 | * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case. | |
12864 | ||
244c2241 RH |
12865 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12866 | ||
12867 | * doc/extend.texi (C++98 Thread-Local Edits): Update with | |
12868 | commentary from Mark. | |
12869 | ||
e0082a72 ZD |
12870 | 2002-05-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12871 | ||
12872 | * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): | |
12873 | Use FOR_EACH_BB macros to iterate over basic block chain. | |
12874 | * cfg.c (clear_edges, clear_bb_flags, dump_flow_info, | |
12875 | alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges): | |
12876 | Likewise. | |
12877 | * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add, | |
12878 | find_unreachable_blocks, create_edge_list, verify_edge_list, | |
12879 | remove_fake_edges, add_noreturn_fake_exit_edges, | |
12880 | flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute): | |
12881 | Likewise. | |
12882 | * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks, | |
12883 | find_sub_basic_blocks): Likewise. | |
12884 | * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks): | |
12885 | Likewise. | |
12886 | * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps): | |
12887 | Likewise. | |
12888 | * cfgloop.c (flow_loops_cfg_dump, flow_loops_find): | |
12889 | Likewise. | |
12890 | * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges, | |
12891 | commit_edge_insertions, commit_edge_insertions_watch_calls, | |
12892 | print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise. | |
12893 | * combine.c (combine_instructions, reg_dead_at_p): Likewise. | |
12894 | * conflict.c (conflict_graph_compute): Likewise. | |
12895 | * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1, | |
12896 | df_modified_p, df_refs_unlink, df_dump): Likewise. | |
12897 | * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise. | |
12898 | * final.c (compute_alignments): Likewise. | |
12899 | * flow.c (update_life_info, update_life_info_in_dirty_blocks, | |
12900 | delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data, | |
12901 | count_or_remove_death_notes): Likewise. | |
12902 | * gcse.c (oprs_unchanged_p, record_last_reg_set_info, | |
12903 | compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill, | |
12904 | classic_gcse, compute_transp, cprop, compute_pre_data, | |
12905 | compute_transpout, invalidate_nonnull_info, | |
12906 | delete_null_pointer_checks_1, delete_null_pointer_checks, | |
12907 | compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems, | |
12908 | compute_store_table, build_store_vectors, store_motion): Likewise. | |
12909 | * global.c (global_conflicts, mark_elimination): Likewise. | |
12910 | * graph.c (print_rtl_graph_with_bb): Likewise. | |
12911 | * haifa-sched.c (sched_init): Likewise. | |
12912 | * ifcvt.c (if_convert): Likewise. | |
12913 | * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete, | |
12914 | compute_available, compute_nearerout, compute_rev_insert_delete, | |
12915 | optimize_mode_switching): Likewise. | |
12916 | * local-alloc.c (local_alloc, update_equiv_regs): Likewise. | |
12917 | * predict.c (estimate_probability, note_prediction_to_br_prob, | |
12918 | propagate_freq, counts_to_freqs, expensive_function_p, | |
12919 | estimate_bb_frequencies): Likewise. | |
12920 | * profile.c (instrument_edges, get_exec_counts, | |
12921 | compute_branch_probabilities, compute_checksum, branch_prob, | |
12922 | find_spanning_tree): Likewise. | |
12923 | * recog.c (split_all_insns, peephole2_optimize): Likewise. | |
12924 | * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs): | |
12925 | Likewise. | |
12926 | * regclass.c (scan_one_insn, regclass): Likewise. | |
12927 | * regmove.c (mark_flags_life_zones, regmove_optimize, | |
12928 | record_stack_memrefs): Likewise. | |
12929 | * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise. | |
12930 | * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise. | |
12931 | * resource.c (find_basic_block): Likewise. | |
12932 | * sched-ebb.c (schedule_ebbs): Likewise. | |
12933 | * sched-rgn.c (is_cfg_nonregular, build_control_flow, | |
12934 | find_single_block_region, find_rgns, schedule_insns) | |
12935 | * sibcall.c (optimize_sibling_and_tail_recursive_call) | |
12936 | * ssa-ccp.c (optimize_unexecutable_edges, | |
12937 | ssa_ccp_df_delete_unreachable_insns): Likewise. | |
12938 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
12939 | * ssa.c (find_evaluations, compute_dominance_frontiers_1, | |
12940 | rename_block, convert_to_ssa, compute_conservative_reg_partition, | |
12941 | compute_coalesced_reg_partition, rename_equivalent_regs, | |
12942 | convert_from_ssa): Likewise. | |
12943 | * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue, | |
12944 | process_for_unwind_directive): Likewise. | |
12945 | ||
12946 | * df.c (FOR_ALL_BBS): Removed. | |
12947 | * gcse.c (struct null_pointer_info): Type of current_block field | |
12948 | changed. | |
12949 | (struct reg_avail_info): Type of last_bb field changed. | |
12950 | * config/ia64/ia64.c (block_num): Removed. | |
12951 | (need_copy_state): Type changed. | |
12952 | (last_block): New. | |
12953 | ||
17645b15 NB |
12954 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
12955 | ||
12956 | * cppinit.c (mark_named_operators): Split out from init_builtins. | |
12957 | (cpp_finish_options): Call it from here instead. | |
12958 | ||
79ed7328 JT |
12959 | 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com> |
12960 | ||
12961 | * builtin-attrs.def: Update copyright years. | |
12962 | (ATTR_NONNULL): New attribute identifier. | |
12963 | (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New | |
12964 | attribute tree lists. | |
12965 | (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the | |
12966 | format operand. | |
12967 | (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use... | |
12968 | (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg | |
12969 | attribute lists. Chain the appropriate nonnull attribute. | |
12970 | * c-format.c (check_format_arg): Remove null format string | |
12971 | warning. | |
12972 | * testsuite/gcc.dg/format/null-1.c: New test. | |
12973 | ||
7d600178 RO |
12974 | 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
12975 | ||
12976 | * Makefile.in (ADAC): Define. | |
12977 | (SYSLIBS): Define. | |
12978 | (.SUFFIXES): Move before language makefile fragments. | |
12979 | (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC. | |
12980 | ||
5ff225fc MM |
12981 | 2002-05-23 Mark Mitchell <mark@codesourcery.com> |
12982 | ||
12983 | * varasm.c (make_decl_rtl): Don't allow weak variables to be | |
12984 | placed in common. | |
12985 | ||
0f72964f JH |
12986 | Thu May 23 19:43:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
12987 | ||
12988 | * cfg.c (dump_flow_info): Print results of | |
12989 | maybe_hot/probably_never_executed predicates. | |
12990 | * toplev.c (open_dump_file): Print function frequency. | |
12991 | ||
c863f8c2 DM |
12992 | 2002-05-23 David S. Miller <davem@redhat.com> |
12993 | ||
12994 | * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use | |
12995 | regsets. | |
12996 | ||
b34c7881 JT |
12997 | 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com> |
12998 | ||
12999 | * c-common.c (warn_nonnull): Declare. | |
13000 | (c_common_attribute_table): Add "nonnull" attribute. | |
13001 | (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p, | |
13002 | check_nonnull_arg, get_nonnull_operand, check_function_arguments, | |
13003 | check_function_arguments_recurse): New functions. | |
13004 | * c-common.h (warn_nonnull): Declare extern. | |
13005 | (check_function_arguments, check_function_arguments_recurse): New | |
13006 | prototypes. | |
13007 | * c-decl.c (c_decode_option): Add -Wnonnull option. | |
13008 | * c-format.c (set_Wformat): Set warn_nonnull if enabling | |
13009 | format checking. | |
13010 | (format_check_context): New structure. | |
13011 | (check_format_info_recurse): Remove recursion and rename to... | |
13012 | (check_format_arg): ...this. Update comment. | |
13013 | (check_format_info): Use check_function_arguments_recurse. | |
13014 | * c-typeck.c (build_function_call): Call check_function_arguments | |
13015 | instead of check_function_format. | |
13016 | * doc/extend.texi: Document "nonnull" attribute. | |
13017 | * doc/invoke.texi: Docuemnt -Wnonnull option. | |
13018 | * testsuite/gcc.dg/nonnull-1.c: New test. | |
13019 | * testsuite/gcc.dg/nonnull-2.c: New test. | |
13020 | ||
95479831 DM |
13021 | 2002-05-23 David S. Miller <davem@redhat.com> |
13022 | ||
13023 | * basic-block.h (CLEANUP_NO_INSN_DEL): Define it. | |
13024 | * cfgcleanup.c (cleanup_cfg): If it is set do not | |
13025 | attempt to delete trivially dead insns. | |
13026 | * except.c (finish_eh_generation): Pass it to cleanup_cfg. | |
13027 | * toplev.c (rest_of_compilation): Document non-trivial aspect | |
13028 | the RTL before optimize_save_area_alloca is run. | |
13029 | ||
a97d1398 NB |
13030 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
13031 | ||
13032 | * c-lex.c (indent_level): Remove. | |
13033 | (cb_file_change, c_lex): Remove indent level handling. | |
13034 | * c-lex.h (indent_level): Remove. | |
13035 | * input.h (struct file_stack): Remove indent_level. | |
13036 | * toplev.c (push_srcloc): Remove indent_level handling. | |
13037 | ||
66b408f2 JJ |
13038 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
13039 | ||
13040 | PR target/6753 | |
13041 | * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead | |
13042 | of x in constraints for clarity. | |
13043 | (sse_mov?fcc split): abort if op2 == op3. | |
13044 | (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3, | |
13045 | sse_movsfcc_const0_4): Add earlyclobber. | |
13046 | (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3, | |
13047 | sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode. | |
13048 | Use Y instead of x in constraints. | |
13049 | ||
5bf0ebab RH |
13050 | 2002-05-23 Richard Henderson <rth@redhat.com> |
13051 | ||
9217ef40 RH |
13052 | * doc/extend.texi (C99 Thread-Local Edits): New subsection. |
13053 | (C++98 Thread-Local Edits): New subsection. | |
13054 | ||
5bf0ebab RH |
13055 | * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace. |
13056 | (ix86_arch): Set type to enum processor_type. | |
13057 | ||
8a951190 | 13058 | * config/i386/i386.md (movsi_1, movdi_1_rex64): Use |
5bf0ebab RH |
13059 | LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST. |
13060 | ||
4832c9e1 JJ |
13061 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
13062 | ||
13063 | * configure.in: Fix as version test for binutils 2.12.1 releases | |
13064 | (without dates). | |
13065 | * configure: Rebuilt. | |
13066 | ||
c8c03509 RH |
13067 | 2002-05-23 Richard Henderson <rth@redhat.com> |
13068 | ||
13069 | * config/i386/i386.c (get_pic_label_name): New. | |
13070 | (load_pic_register): Remove. | |
13071 | (output_set_got): New. | |
13072 | (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD. | |
13073 | * config/i386/i386.md (UNSPEC_SET_GOT): New. | |
13074 | (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove. | |
13075 | (prologue_set_got, prologue_get_pc): Remove. | |
13076 | (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New. | |
13077 | (builtin_setjmp_receiver): Use gen_set_got. | |
13078 | * config/i386/i386-protos.h: Update. | |
13079 | ||
d51f3632 JH |
13080 | Thu May 23 09:22:23 CEST 2002 Jan Hubicka <jh@suse.cz> |
13081 | ||
13082 | * gcse.c (hash_expr): Do not use alias set for hashing. | |
13083 | ||
b0a93386 KB |
13084 | 2002-05-22 Kevin Buettner <kevinb@redhat.com> |
13085 | ||
13086 | * dbxout.c (dbxout_class_name_qualifiers): New function. | |
13087 | (dbxout_symbol): Output class/struct qualifiers for a .stabs entry. | |
13088 | ||
bdee42b1 NB |
13089 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
13090 | ||
13091 | * cpperror.c (_cpp_begin_message): No special casing | |
13092 | of CPP_FATAL_LIMIT. | |
13093 | * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/. | |
13094 | (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR. | |
13095 | * cpplib.c (do_include_common): Use DL_ERROR. | |
13096 | * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove. | |
13097 | (DL_ICE): Renumber. | |
13098 | * fix-header.c (read_scan_file): Update. | |
13099 | ||
0e07aff3 RH |
13100 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13101 | ||
13102 | * config/i386/i386.c (ix86_expand_call): New function, extracted | |
13103 | from md call patterns. Add pic_offset_table_rtx to | |
13104 | CALL_INSN_FUNCTION_USAGE when needed. | |
13105 | * config/i386/i386.md (call_pop, call): Use ix86_expand_call. | |
13106 | (call_value_pop, call_value, untyped_call): Likewise. | |
13107 | (call_exp, call_value_exp): Remove. | |
13108 | * config/i386/i386-protos.h: Update. | |
13109 | ||
6f001fdf RH |
13110 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13111 | ||
13112 | * varasm.c (default_section_type_flags): Check for VAR_DECL | |
13113 | before using DECL_THREAD_LOCAL. | |
13114 | ||
cbaaba19 DE |
13115 | 2002-05-22 David Edelsohn <edelsohn@gnu.org> |
13116 | ||
13117 | * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer. | |
13118 | (STARTFILE_SPEC): Delete PE crt0.o. | |
13119 | * config/rs6000/aix51.h: Same. | |
13120 | * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF. | |
13121 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to | |
13122 | function descriptor symbol. Use RS6000_OUTPUT_BASENAME. | |
13123 | (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME. | |
13124 | * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define. | |
13125 | ||
c711ba8e RH |
13126 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13127 | ||
13128 | * varasm.c (default_section_type_flags): Handle tls data and | |
13129 | default sections. | |
13130 | (default_unique_section): Handle tls sections. | |
13131 | ||
343f59d9 AM |
13132 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
13133 | ||
13134 | * configure.in (CROSS): Define NATIVE_CROSS. | |
13135 | * configure: Regenerate. | |
13136 | * gcc.c (STARTFILE_PREFIX_SPEC): Define. | |
13137 | (startfile_prefix_spec): New var. | |
13138 | (static_specs): Add startfile_prefix_spec. | |
13139 | (do_spec_2): Split out from.. | |
13140 | (do_spec): ..here. | |
13141 | (main): Process startfile_prefix_spec. | |
13142 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of | |
13143 | dynamic linker. | |
13144 | (STARTFILE_PREFIX_SPEC): Define. | |
13145 | (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without | |
c7bdf0a6 | 13146 | absolute paths. |
343f59d9 | 13147 | |
df383483 KH |
13148 | 2002-05-22 Kazu Hirata <kazu@cs.umass.edu> |
13149 | ||
13150 | * cpperror.c: Fix formatting. | |
13151 | * cppexp.c: Likewise. | |
13152 | * cppfiles.c: Likewise. | |
13153 | * cpphash.c: Likewise. | |
13154 | * cpphash.h: Likewise. | |
13155 | * cppinit.c: Likewise. | |
13156 | * cpplex.c: Likewise. | |
13157 | * cpplib.c: Likewise. | |
13158 | * cppmacro.c: Likewise. | |
13159 | * cppmain.c: Likewise. | |
13160 | * cppspec.c: Likewise. | |
13161 | ||
2dd36f90 JJ |
13162 | 2002-05-22 Jakub Jelinek <jakub@redhat.com> |
13163 | ||
13164 | * combine.c (force_to_mode): Use gen_int_mode. | |
13165 | Don't clear CONST_INT bits outside of mode. | |
13166 | ||
8dc02d7f RH |
13167 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13168 | ||
13169 | * fixinc/inclhack.def (thread_keyword): Match __thread as last arg. | |
13170 | * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. | |
13171 | ||
45f79783 JJ |
13172 | 2002-05-22 Jakub Jelinek <jakub@redhat.com> |
13173 | ||
13174 | PR c/6643 | |
13175 | * emit-rtl.c (widen_memory_access): Only call compare_tree_int | |
13176 | if DECL_SIZE_UNIT is INTEGER_CST. | |
13177 | ||
19f71cd7 RH |
13178 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13179 | ||
13180 | * flow.c (life_analysis): Delete broken reg_label check. | |
13181 | ||
d5bcfcce RH |
13182 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13183 | ||
13184 | * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg. | |
13185 | * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. | |
13186 | ||
985d311b | 13187 | Wed May 22 18:39:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5ff94354 R |
13188 | |
13189 | * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c. | |
13190 | (embed-bb.c): New rule. | |
985d311b | 13191 | * t-sh64 (LIB2FUNCS_EXTRA): Don't change. |
5ff94354 R |
13192 | * config/sh/embed_bb.c: Delete. |
13193 | ||
985d311b R |
13194 | Wed May 22 18:25:29 2002 J"orn Rennecke <joern.rennecke@superh.com> |
13195 | ||
13196 | * c-common.c (cb_register_builtins): Don't indent '#' of #define. | |
13197 | ||
f6d45746 KH |
13198 | 2002-05-22 Kazu Hirata <kazu@cs.umass.edu> |
13199 | ||
13200 | * config/h8300/h8300.md (*andorqi3): New. | |
13201 | ||
e5f3b786 NB |
13202 | 2002-05-22 Neil Booth <neil@daikokuya.demon.co.uk> |
13203 | ||
13204 | PR preprocessor/6517 | |
13205 | * Makefile.in: Update. | |
13206 | * c-common.c (c_common_post_options): Add preprocessor | |
13207 | errors to the error count. | |
13208 | * c-lang.c (c_post_options): Kill. | |
13209 | (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. | |
13210 | * hooks.h: Add header guards. | |
13211 | * langhooks-def.h: Include hooks.h. | |
13212 | (LANG_HOOKS_POST_OPTIONS): Update. | |
13213 | * langhooks.h (struct lang_hooks): Update post_options. | |
13214 | * toplev.c (parse_options_and_default_flags): Update. | |
13215 | objc: | |
13216 | * objc-lang.c (objc_post_options): Kill. | |
13217 | (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. | |
13218 | ||
4c526be3 BK |
13219 | 2002-05-21 Bruce Korb <bkorb@gnu.org> |
13220 | ||
13221 | * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check | |
021c1f34 BK |
13222 | * fixinc/inclhack.def(thread_keyword): use c_fix = format. |
13223 | * fixinc/fixincl.x: regen. | |
4c526be3 | 13224 | |
f87c27b4 KH |
13225 | 2002-05-21 Kazu Hirata <kazu@cs.umass.edu> |
13226 | ||
13227 | * cfgbuild.c: Fix formatting. | |
13228 | * cfg.c: Likewise. | |
13229 | * cfgcleanup.c: Likewise. | |
13230 | * cfglayout.c: Likewise. | |
13231 | * cfgloop.c: Likewise. | |
13232 | * cfgrtl.c: Likewise. | |
13233 | ||
3d78f2e9 RH |
13234 | 2002-05-21 Richard Henderson <rth@redhat.com> |
13235 | ||
13236 | * c-common.h (enum rid): Add RID_THREAD. | |
13237 | * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables. | |
13238 | (grokdeclarator): Grok __thread. | |
13239 | * c-parse.in (reswords): Add __thread. | |
13240 | (rid_to_yy): Add RID_THREAD. | |
13241 | ||
13242 | * tree.h (DECL_THREAD_LOCAL): New. | |
13243 | (struct tree_decl): Add thread_local_flag. | |
13244 | * print-tree.c (print_node): Dump DECL_THREAD_LOCAL. | |
13245 | * tree.c (staticp): TLS variables are not static. | |
13246 | ||
13247 | * target-def.h (TARGET_HAVE_TLS): New. | |
13248 | * target.h (have_tls): New. | |
13249 | * output.h (SECTION_TLS): New. | |
13250 | * varasm.c (assemble_variable): TLS variables can't be common for now. | |
13251 | (default_section_type_flags): Handle .tdata and .tbss. | |
13252 | (default_elf_asm_named_section): Handle SECTION_TLS. | |
13253 | (categorize_decl_for_section): Handle DECL_THREAD_LOCAL. | |
13254 | ||
13255 | * flags.h (flag_tls_default): Declare. | |
13256 | * toplev.c (flag_tls_default): Define. | |
13257 | (display_help): Display help for it. | |
13258 | (decode_f_option): Set it. | |
13259 | ||
13260 | * doc/extend.texi (Thread-Local): New node describing language-level | |
13261 | thread-local storage. | |
13262 | * doc/invoke.texi (-ftls-model): Document. | |
13263 | ||
13264 | * fixinc/inclhack.def (thread_keyword): New. | |
13265 | * fixinc/fixincl.x: Rebuild. | |
13266 | ||
a151daf0 JL |
13267 | 2002-05-21 Jeffrey A Law <law@redhat.com> |
13268 | ||
8a951190 | 13269 | * optabs.c (expand_binop): For double-word integer multiplies, |
c7539aa0 JL |
13270 | do not compute intermediate results into something that is |
13271 | not a register (such as a SUBREG or MEM). | |
13272 | ||
a151daf0 JL |
13273 | * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko. |
13274 | (ix86_sched_reorder): Make sure to initialize scheduling | |
13275 | data even when there's only one insn in the ready queue. | |
13276 | ||
96b1f73b VM |
13277 | 2002-05-21 Vladimir Makarov <vmakarov@redhat.com> |
13278 | ||
13279 | * genautomata.c (reserv_sets_hash_value): Fix a typo. | |
13280 | ||
dceb2b75 VM |
13281 | 2002-05-21 Vladimir Makarov <vmakarov@redhat.com> |
13282 | ||
13283 | * genautomata.c (reserv_sets_hash_value): Define hash_value as | |
13284 | set_el_t. Transform the hash value into unsigned. | |
13285 | (output_cycle_reservs): Fix bug with output of repeated `nothing'. | |
13286 | (transform_3): Add code to process `(A,B)+(D,E)'. | |
13287 | ||
159d5964 NY |
13288 | 2002-05-21 NIIBE Yutaka <gniibe@m17n.org> |
13289 | ||
13290 | * reload1.c (do_output_reload): Run delete_output_reload | |
13291 | only if optimizing. | |
13292 | ||
cf5124f6 RS |
13293 | 2002-05-21 Roger Sayle <roger@eyesopen.com> |
13294 | ||
13295 | PR middle-end/6600 | |
13296 | * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants | |
13297 | larger than INTEGER_CST. (store_by_pieces_1): Use it here... | |
13298 | (can_store_by_pieces): ... and here to limit the largest mode used. | |
13299 | Add a comment to document this function. | |
13300 | ||
380e6ade RH |
13301 | 2002-05-21 Richard Henderson <rth@redhat.com> |
13302 | ||
13303 | * flow.c (life_analysis): Fix test for deleted label. | |
13304 | ||
1f95326c NB |
13305 | 2002-05-21 Neil Booth <neil@daikokuya.demon.co.uk> |
13306 | ||
13307 | * doc/tm.texi: Fix typo. | |
13308 | ||
2a1dc0d8 ZW |
13309 | 2002-05-21 Zack Weinberg <zack@codesourcery.com> |
13310 | ||
13311 | * c-common.c (c_common_init): Set options->unsigned_char from | |
13312 | flag_signed_char. | |
13313 | (cb_register_builtins): Define __STRICT_ANSI__ and | |
13314 | __CHAR_UNSIGNED__ here... | |
13315 | * cppinit.c (init_builtins): Not here. | |
13316 | (cpp_create_reader): unsigned_char option defaults to 0, not | |
13317 | !DEFAULT_SIGNED_CHAR. | |
13318 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char | |
13319 | and -funsigned-char. | |
13320 | ||
13321 | * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__. | |
13322 | * cpphash.c (_cpp_init_hashtable): Don't set it. | |
13323 | * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting | |
13324 | directly. Clarify comment. | |
13325 | ||
d29146f2 | 13326 | 2002-05-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2a1dc0d8 | 13327 | |
f5eb2fc8 | 13328 | * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to |
8d9afc4e | 13329 | neighboring basic blocks. Use ENTRY_BLOCK_PTR->next_bb instead of |
f5eb2fc8 ZD |
13330 | BASIC_BLOCK (0). Use EXIT_BLOCK_PTR->prev_bb instead of |
13331 | BASIC_BLOCK (n_basic_blocks - 1). | |
d29146f2 | 13332 | * cfganal.c (can_fallthru, flow_call_edges_add, |
f5eb2fc8 | 13333 | flow_preorder_transversal_compute): Too. |
d29146f2 | 13334 | * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks, |
f5eb2fc8 ZD |
13335 | find_sub_basic_blocks): Too. |
13336 | * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too. | |
d29146f2 | 13337 | * cfglayout.c (skip_insns_after_block, fixup_reorder_chain, |
f5eb2fc8 ZD |
13338 | fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too. |
13339 | * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too. | |
d29146f2 ZD |
13340 | * combine.c (this_basic_block): Type changed to basic_block. |
13341 | (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine, | |
13342 | nonzero_bits, num_sign_bit_copies, get_last_value_validate, | |
f5eb2fc8 ZD |
13343 | get_last_value, distribute_notes, distribute_links): Too. |
13344 | * final.c (compute_alignments): Too. | |
13345 | * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too. | |
13346 | * function.c (thread_prologue_and_epilogue_insns): Too. | |
13347 | * gcse.c (compute_code_hoist_vbeinout): Too. | |
13348 | * global.c (build_insn_chain): Too. | |
13349 | * ifcvt.c (find_if_block, find_cond_trap): Too. | |
13350 | * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too. | |
13351 | * regmove.c (regmove_optimize): Too. | |
13352 | * resource.c (find_basic_block): Too. | |
13353 | * sched-ebb.c (schedule_ebbs): Too. | |
13354 | * ssa-dce.c (find_control_dependence, find_pdom): Too. | |
d29146f2 | 13355 | |
68bd6dd6 AJ |
13356 | 2002-05-21 Andreas Jaeger <aj@suse.de> |
13357 | ||
13358 | * cppinit.c (sanity_checks): Avoid printf mismatch warnings. | |
13359 | ||
35a76aac RH |
13360 | 2002-05-21 Richard Henderson <rth@redhat.com> |
13361 | ||
13362 | * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use | |
13363 | unspec names, not numbers. | |
13364 | ||
2870428f JM |
13365 | 2002-05-21 Joseph S. Myers <jsm28@cam.ac.uk> |
13366 | ||
13367 | * doc/sourcebuild.texi: Mention snapshot-README and | |
13368 | snapshot-index.html as needing updating for new front ends. | |
13369 | ||
b0ad77d5 KG |
13370 | 2002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
13371 | ||
13372 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when | |
13373 | disabling checking, and avoid multiple evaluation of RTX. | |
13374 | ||
279be7c8 RE |
13375 | 2002-05-21 Richard Earnshaw <rearnsha@arm.com> |
13376 | ||
13377 | * bitmap.c (bitmap_find_bit): Return early if we have the correct | |
13378 | element cached. | |
13379 | ||
193a563a JH |
13380 | Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
13381 | ||
13382 | * profile.c (gen_edge_profiler): Set alias set before the memory is | |
13383 | used. | |
13384 | ||
31825e57 DM |
13385 | 2002-05-20 David S. Miller <davem@redhat.com> |
13386 | ||
13387 | * cselib.c (max_value_regs): New. | |
13388 | (cselib_lookup, cselib_invalidate_regno): Initialize it when | |
13389 | adding new entries to the REG_VALUES table and we are dealing with | |
13390 | a hard register. | |
13391 | (clear_table): Initialize it. | |
13392 | (cselib_invalidate_regno): Use it to determine which hard | |
13393 | registers to scan when mode is not VOIDmode. | |
13394 | ||
68bd6dd6 | 13395 | 2002-05-20 Duraid Madina <duraid@fl.net.au> |
29d83d60 DM |
13396 | |
13397 | * tradcpp.c (fixup_newlines): Use old-style function header. | |
13398 | ||
e0a09fda KW |
13399 | 2002-05-20 Krister Walfridsson <cato@df.lth.se> |
13400 | ||
13401 | * reload1.c (reload_cse_simplify): Fix typo in rtx code check. | |
13402 | ||
e0c13c70 L |
13403 | 2002-05-20 H.J. Lu (hjl@gnu.org) |
13404 | ||
13405 | Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>: | |
13406 | ||
13407 | * config/mips/mips.h (DFMODE_NAN): Defined. | |
13408 | (SFMODE_NAN): Likewise. | |
13409 | ||
4c11675d | 13410 | 2002-05-20 Dale Johannesen <dalej@apple.com> |
e0c13c70 | 13411 | |
2a1dc0d8 ZW |
13412 | * combine.c (cant_combine_insn_p): Back out my |
13413 | previous patch. | |
4c11675d | 13414 | |
6a4d6760 KH |
13415 | 2002-05-20 Kazu Hirata <kazu@cs.umass.edu> |
13416 | ||
13417 | * params.c: Fix formatting. | |
13418 | * params.h: Likewise. | |
13419 | * predict.c: Likewise. | |
13420 | * prefix.c: Likewise. | |
13421 | * print-rtl.c: Likewise. | |
13422 | * print-tree.c: Likewise. | |
13423 | * profile.c: Likewise. | |
13424 | ||
5715ca64 L |
13425 | 2002-05-20 H.J. Lu (hjl@gnu.org) |
13426 | ||
13427 | * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine. | |
13428 | ||
00b89f01 NC |
13429 | 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com> |
13430 | ||
13431 | * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march | |
13432 | switches straight on to the assembler, do not abbreviate them. | |
13433 | * config/arm/elf.h (ASM_SPEC): As above. | |
13434 | * config/arm/semi.h (ASM_SPEC): As above. | |
13435 | * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above. | |
13436 | * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass | |
13437 | -mcpu=xscale on to the assembler by default. | |
13438 | * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above. | |
13439 | ||
1441374b RH |
13440 | 2002-05-20 Richard Henderson <rth@redhat.com> |
13441 | ||
13442 | * cse.c (canon_hash): Reorder do_not_record test. Always | |
13443 | allow pic_offset_table_rtx. | |
13444 | ||
c0fe508e TM |
13445 | 2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl> |
13446 | ||
13447 | * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p. | |
13448 | (expand_binop): Ditto (3 times). | |
13449 | ||
f362c762 MM |
13450 | 2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com> |
13451 | ||
13452 | * Makefile.in (distclean): Remove QMTest stuff. | |
13453 | (QMTEST_PATH): New variable. | |
13454 | (QMTESTFLAGS): Likewise. | |
13455 | (QMTESTRUNFLAGS): Likewise. | |
13456 | (QMTEST): Likewise. | |
13457 | (QMTEST_GPP_TESTS): Likewise. | |
13458 | (QMTEST_DIR): Likewise. | |
13459 | (QMTEST_DIR/context): New target. | |
13460 | (qmtest-g++): Likeise. | |
13461 | (qmtest-gui): Likewise. | |
13462 | (QMTEST_DIR/gpp-expected.qmr): Likewise. | |
13463 | ||
16861f33 AH |
13464 | 2002-05-19 Aldy Hernandez <aldyh@redhat.com> |
13465 | ||
2a1dc0d8 ZW |
13466 | * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in |
13467 | an altivec register if TARGET_ALTIVEC. | |
16861f33 | 13468 | |
2a1dc0d8 ZW |
13469 | * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P |
13470 | to ALTIVEC_VECTOR_MODE. | |
13471 | (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned. | |
13472 | (rs6000_va_arg): Vectors may go in registers if they are not | |
13473 | altivec vectors. | |
16861f33 | 13474 | |
23459e15 KH |
13475 | 2002-05-19 Kazu Hirata <kazu@cs.umass.edu> |
13476 | ||
13477 | * protoize.c: Fix formatting. | |
13478 | ||
174cc7d1 RH |
13479 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13480 | ||
13481 | * gensupport.c (init_include_reader): Merge into ... | |
13482 | (process_include): ... here. Simplify composite path creation. | |
13483 | Plug memory leaks. Fix file/line number tracking. Do not | |
13484 | process_define_cond_exec. Return void. | |
13485 | (process_rtx): Don't check process_include return value. | |
13486 | ||
918ed612 ZD |
13487 | 2002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13488 | ||
13489 | * basic_block.h (struct basic_block_def): Added prev_bb and next_bb | |
13490 | fields. | |
13491 | (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for | |
13492 | traversing basic block chain. | |
13493 | (create_basic_block_structure, create_basic_block): Declaration changed. | |
13494 | (link_block, unlink_block): Declare. | |
13495 | * cfg.c (entry_exit_blocks): Initialize new fields. | |
13496 | (link_block, unlink_block): New. | |
13497 | (expunge_block_nocompact): Unlink basic block. | |
13498 | (dump_flow_info): Print prev_bb/next_bb fields. | |
13499 | * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified. | |
13500 | * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified. | |
13501 | * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified. | |
13502 | * cfgrtl.c (create_basic_block_structure, create_basic_block, | |
13503 | split_block, force_nonfallthru_and_redirect, split_edge): Modified. | |
13504 | (verify_flow_info): Check that list agrees with numbering. | |
13505 | ||
e0322d5c NB |
13506 | 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk> |
13507 | ||
13508 | * c-common.c (preprocessing_asm): New macro. | |
13509 | * c-lex.h (builtin_define, builtin_assert): Use pfile. | |
13510 | doc: | |
13511 | * tm.texi: Update. | |
13512 | config/alpha: | |
13513 | * alpha.h (CPLUSPLUS_CPP_SPEC): Remove. | |
13514 | (CPP_SPEC): Simplify. | |
13515 | (TARGET_CPU_CPP_BUILTINS): Update. | |
13516 | * freebsd.h (TARGET_OS_CPP_BUILTINS): New. | |
13517 | (CPP_SPEC): Simplify. | |
13518 | * linux.h (CPLUSPLUS_CPP_SPEC): Remove. | |
13519 | (TARGET_OS_CPP_BUILTINS): Update. | |
13520 | * osf.h (CPP_XFLOAT_SPEC): Kill. | |
13521 | (TARGET_OS_CPP_BUILTINS): Update. | |
13522 | (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify. | |
13523 | * osf5.h (CPP_XFLOAT_SPEC): Kill. | |
13524 | * vms.h (CPP_SUBTARGET_SPEC): Kill. | |
13525 | (TARGET_OS_CPP_BUILTINS): Update. | |
13526 | ||
121f5c2c RH |
13527 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13528 | ||
13529 | * varasm.c (default_binds_local_p): Fix typo. | |
13530 | ||
651c5ed9 MM |
13531 | 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl> |
13532 | ||
13533 | * config/avr/avr.c (machine_dependent_reorg): Sign extend the | |
13534 | CONST_INT operand to the correct mode after adding 1 to it. | |
13535 | ||
bce0deb2 MM |
13536 | 2002-05-19 Mark Mitchell <mark@codesourcery.com> |
13537 | ||
13538 | * config.gcc (powerpc-wrs-windiss*): New target. | |
13539 | ||
4aa74a4f FS |
13540 | 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
13541 | ||
13542 | * config/rs6000/rs6000.md (ashrdi3_no_power): New. | |
13543 | (ashrdi3): Use it. | |
13544 | ||
a15135c9 MM |
13545 | 2002-05-18 Mark Mitchell <mark@codesourcery.com> |
13546 | ||
13547 | * configure.in (AC_CHECK_FUNCS): Add checks for scandir and | |
13548 | alphasort. | |
13549 | * config.in: Regenerated. | |
13550 | * configure: Regenerated. | |
13551 | ||
47754fd5 RH |
13552 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13553 | ||
13554 | * target-def.h (TARGET_BINDS_LOCAL_P): New. | |
13555 | * target.h (struct gcc_target): Move boolean fields to the end. | |
13556 | Add binds_local_p. | |
13557 | * varasm.c (default_binds_local_p): New. | |
13558 | * output.h: Declare it. | |
13559 | ||
13560 | * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook. | |
13561 | * config/cris/cris.c (cris_encode_section_info): Likewise. | |
13562 | * config/i386/i386.c (i386_encode_section_info): Likewise. | |
13563 | * config/ia64/ia64.c (ia64_encode_section_info): Likewise. | |
13564 | * config/sh/sh.c (sh_encode_section_info): Likewise. | |
13565 | ||
13566 | * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New. | |
13567 | (TARGET_BINDS_LOCAL_P): New. | |
13568 | ||
fc881338 RH |
13569 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13570 | ||
13571 | * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE, | |
13572 | FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT, | |
13573 | MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison. | |
13574 | ||
13575 | * toplev.c (display_help): Kill -a -ax help. | |
13576 | ||
68bd6dd6 | 13577 | * config/1750a/1750a.h, config/alpha/alpha.h, |
fc881338 RH |
13578 | config/clipper/clipper.h, config/dsp16xx/dsp16xx.h, |
13579 | config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h, | |
13580 | config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h: | |
13581 | (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill. | |
13582 | ||
13583 | * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill. | |
13584 | * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill. | |
13585 | ||
13586 | * config/i386/i386-protos.h (ix86_output_block_profiler): Kill. | |
13587 | (ix86_output_function_block_profiler): Kill. | |
13588 | * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill. | |
13589 | (m68hc11_function_block_profiler): Kill. | |
13590 | * config/m68hc11/m68hc11-protos.h: Update. | |
13591 | * config/m88k/m88k.c (output_block_profiler): Kill. | |
13592 | (output_function_block_profiler): Kill. | |
13593 | * config/m88k/m88k-protos.h: Update. | |
13594 | ||
772c5265 RH |
13595 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13596 | ||
13597 | * system.h (STRIP_NAME_ENCODING): Poison it. | |
13598 | * output.h (STRIP_NAME_ENCODING): Remove. | |
13599 | (default_strip_name_encoding): Declare. | |
13600 | * target-def.h (TARGET_STRIP_NAME_ENCODING): New. | |
13601 | * target.h (strip_name_encoding): New. | |
13602 | * varasm.c (default_strip_name_encoding): New. | |
13603 | ||
13604 | * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h, | |
13605 | config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c, | |
13606 | config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c, | |
13607 | config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h, | |
13608 | config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
13609 | config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h, | |
13610 | config/pa/pa.c, config/pa/pa.h, config/pa/som.h, | |
13611 | config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h, | |
13612 | config/v850/v850.h: Use the hook, not the macro. | |
13613 | ||
13614 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
13615 | config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c, | |
13616 | config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h, | |
13617 | config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c, | |
13618 | config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c, | |
13619 | config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
68bd6dd6 | 13620 | config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h, |
772c5265 RH |
13621 | config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h, |
13622 | config/v850/v850.c, config/v850/v850.h: | |
13623 | Move STRIP_NAME_ENCODING to out-of-line function and add | |
13624 | TARGET_STRIP_NAME_ENCODING. | |
13625 | ||
13626 | * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h, | |
13627 | config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING | |
13628 | with TARGET_STRIP_NAME_ENCODING referencing existing function; | |
13629 | make function static. | |
13630 | ||
13631 | * xcoffout.c: Include target.h | |
13632 | * Makefile.in (xcoffout.o): Update. | |
13633 | ||
13634 | * config/avr/avr.c (avr_encode_section_info): Correct prototype. | |
13635 | * config/avr/avr.h (STRIP_NAME_ENCODING): Remove. | |
13636 | * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark | |
13637 | reloc argument unused. | |
13638 | * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New. | |
13639 | ||
13640 | * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous | |
13641 | STRIP_NAME_ENCODING docs. | |
13642 | ||
8f9eb495 AJ |
13643 | 2002-05-19 Andreas Jaeger <aj@suse.de> |
13644 | ||
13645 | * gengenrtl.c: Add prototype for excluded_rtx. | |
13646 | ||
13647 | * real.h: Add prototype for exact_real_truncate. | |
13648 | ||
fb49053f RH |
13649 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13650 | ||
13651 | * system.h (ENCODE_SECTION_INFO): Poison it. | |
13652 | * target-def.h (TARGET_ENCODE_SECTION_INFO): New. | |
13653 | * target.h (encode_section_info): New. | |
13654 | * varasm.c (make_decl_rtl, output_constant_def): Use it. | |
13655 | * hooks.c (hook_tree_int_void): New. | |
13656 | * hooks.h: Declare it. | |
13657 | ||
13658 | * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
13659 | config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h, | |
13660 | config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h, | |
13661 | config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h, | |
13662 | config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h, | |
13663 | config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c, | |
13664 | config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c, | |
13665 | config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h, | |
13666 | config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, | |
13667 | config/mcore/mcore-protos.h, config/mcore/mcore.c, | |
13668 | config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c, | |
13669 | config/mmix/mmix.h, config/rs6000/rs6000-protos.h, | |
13670 | config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h, | |
13671 | config/stormy16/stormy16.c, config/stormy16/stormy16.h: | |
13672 | Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO | |
13673 | referencing existing function. Make function static. | |
13674 | ||
13675 | * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c, | |
8f9eb495 | 13676 | config/arc/arc.h, config/arm/arm.c, config/arm/arm.h, |
fb49053f RH |
13677 | config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c, |
13678 | config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c, | |
13679 | config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c, | |
8f9eb495 | 13680 | config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h, |
fb49053f RH |
13681 | config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c, |
13682 | config/pa/pa.h, config/romp/romp.c, config/romp/romp.h, | |
13683 | config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c, | |
13684 | config/s390/s390.h, config/sh/sh.c, config/sh/sh.h, | |
8f9eb495 | 13685 | config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c, |
fb49053f RH |
13686 | config/v850/v850.h, config/vax/vax.c, config/vax/vms.h, |
13687 | config/xtensa/xtensa.c, config/xtensa/xtensa.h: | |
13688 | Move ENCODE_SECTION_INFO to out-of-line function and add | |
13689 | TARGET_ENCODE_SECTION_INFO. | |
13690 | ||
13691 | * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro. | |
13692 | (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. | |
13693 | ||
13694 | * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename | |
13695 | from SUBTARGET_* | |
13696 | (switch_to_section): Replace in_rdata case with in_readonly_data. | |
13697 | ||
13698 | * config/h8300/h8300.c (h8300_encode_label): Make static. | |
13699 | * config/h8300/h8300-protos.h: Update. | |
13700 | ||
13701 | * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename | |
13702 | from rs6000_encode_section_info; make static. | |
13703 | (rs6000_xcoff_encode_section_info): New. | |
13704 | ||
13705 | * config/v850/v850.c (v850_encode_data_area): Make static. | |
13706 | * config/v850/v850-protos.h: Update. | |
13707 | ||
13708 | * config/vax/vax.c: Include flags.h. | |
13709 | (vms_select_section): Fix typo. | |
13710 | ||
13711 | * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous | |
13712 | ENCODE_SECTION_INFO docs. | |
13713 | ||
9fe08fd0 RH |
13714 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13715 | ||
13716 | * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from | |
13717 | REGISTER_TARGET_PRAGMAS. | |
13718 | * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine. | |
13719 | ||
410b770f RH |
13720 | * config.gcc: Do not use rs6000-c.c on powerpc-darwin. |
13721 | ||
b64a1b53 RH |
13722 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13723 | ||
13724 | * system.h (SELECT_RTX_SECTION): Poison. | |
13725 | * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New. | |
13726 | * target.h (select_rtx_section): New. | |
13727 | * varasm.c (output_constant_pool): Use it. | |
13728 | (default_select_rtx_section, default_elf_select_rtx_section): New. | |
13729 | * output.h: Declare them. | |
13730 | ||
13731 | * config/darwin.h (SELECT_RTX_SECTION): Move ... | |
13732 | * config/darwin.c (machopic_select_rtx_section): ... here. | |
13733 | * config/darwin-protos.h: Update. | |
13734 | ||
13735 | * config/nextstep.h (SELECT_RTX_SECTION): Move ... | |
13736 | * config/nextstep.c (machopic_select_rtx_section): ... here. | |
13737 | (nextstep_select_section): Rename variable to avoid macro clash. | |
13738 | * config/nextstep-protos.h: Update. | |
13739 | ||
13740 | * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h, | |
13741 | config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h, | |
13742 | config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h, | |
8f9eb495 | 13743 | config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h, |
b64a1b53 RH |
13744 | config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h, |
13745 | config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h, | |
8f9eb495 | 13746 | config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h, |
b64a1b53 RH |
13747 | config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h, |
13748 | config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h | |
13749 | (SELECT_RTX_SECTION): Remove. | |
13750 | ||
13751 | * config/darwin.h, config/elfos.h, config/nextstep.h, | |
13752 | config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c, | |
13753 | config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h, | |
13754 | config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h, | |
13755 | config/sparc/lynx.h, config/xtensa/xtensa.c | |
13756 | (TARGET_ASM_SELECT_RTX_SECTION): New. | |
13757 | ||
13758 | * config/alpha/elf.h (SELECT_RTX_SECTION): Move ... | |
13759 | * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here. | |
13760 | * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ... | |
13761 | * config/ia64/ia64.c (ia64_select_rtx_section): ... here. | |
13762 | (ia64_aix_select_rtx_section): New. | |
13763 | * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before | |
13764 | redefining. | |
13765 | * config/mips/mips.c (mips_select_rtx_section): Make static. | |
8f9eb495 | 13766 | Support ELF SHF_MERGE features. |
b64a1b53 RH |
13767 | * config/mips/mips-protos.h: Update. |
13768 | * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ... | |
13769 | * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here. | |
13770 | (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section; | |
13771 | make static, fall back to default_elf_select_rtx_section. | |
13772 | * config/rs6000/rs6000-protos.h: Update. | |
13773 | * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ... | |
13774 | * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here. | |
13775 | * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2. | |
13776 | * config/romp/romp.c (romp_select_rtx_section): New. | |
13777 | * config/s390/s390.c (s390_select_rtx_section): New. | |
13778 | * config/xtensa/xtensa.c: Include output.h. Shuffle local function | |
13779 | declarations before target macro definition. | |
13780 | (xtensa_emit_call): Use static buffer. | |
13781 | (xtensa_select_rtx_section): New. | |
13782 | * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove. | |
13783 | (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove. | |
13784 | (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section. | |
13785 | ||
13786 | * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from | |
13787 | SELECT_RTX_SECTION docs. | |
13788 | ||
13789 | Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz> | |
5f90a099 JH |
13790 | |
13791 | * i386.md (movsi/movdi): Fix template. | |
13792 | (sse2 patterns): Set attributes consistently. | |
13793 | ||
13794 | * i386.md (pushqi2, ashrqi_*): Fix constraint. | |
13795 | ||
6835a09c TM |
13796 | 2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl> |
13797 | ||
13798 | * optabs.c (complex_part_zero_p): New. | |
13799 | * (expand_cmplxdiv_straight): Use it. | |
13800 | * (expand_cmplxdiv_wide): Ditto. | |
13801 | * (expand_binop): Ditto. | |
13802 | ||
d48bc59a RH |
13803 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13804 | ||
13805 | * final.c (HAVE_READONLY_DATA_SECTION): New. | |
13806 | (shorten_branches): Use it instead of ifdefs. | |
13807 | * varasm.c (enum in_section): Add in_readonly_data. | |
13808 | (text_section, data_section): Tidy. | |
13809 | (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present. | |
13810 | ||
13811 | * config/darwin.h, config/nextstep.h, config/h8300/elf.h, | |
13812 | config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h | |
13813 | (READONLY_DATA_SECTION): Don't undef. | |
13814 | ||
13815 | * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h, | |
13816 | config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h, | |
13817 | config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef. | |
13818 | ||
13819 | * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h, | |
13820 | config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h, | |
13821 | config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h, | |
13822 | config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove. | |
13823 | ||
13824 | * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h, | |
13825 | config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h, | |
13826 | config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, | |
13827 | config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h, | |
13828 | config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h, | |
13829 | config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h, | |
13830 | config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h, | |
13831 | config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from | |
13832 | CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP. | |
13833 | ||
13834 | * config/elfos.h, config/netware.h, config/1750a/1750a.h, | |
13835 | config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h, | |
13836 | config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h, | |
13837 | config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h, | |
13838 | config/pa/pa64-hpux.h, config/sparc/litecoff.h | |
13839 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. | |
13840 | ||
13841 | * config/elfos.h, config/netware.h, config/svr3.h, | |
13842 | config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, | |
13843 | config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, | |
13844 | config/h8300/h8300.h, config/i386/i386-interix.h, | |
13845 | config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h, | |
13846 | config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove. | |
13847 | ||
13848 | * config/elfos.h, config/netware.h, config/svr3.h, | |
13849 | config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, | |
13850 | config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h, | |
13851 | config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h, | |
13852 | config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove. | |
13853 | ||
13854 | * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h, | |
13855 | config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h, | |
13856 | config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h, | |
13857 | config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h, | |
13858 | config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h, | |
13859 | config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h, | |
13860 | config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h, | |
13861 | config/rs6000/sysv4.h, config/v850/v850.h | |
13862 | (EXTRA_SECTIONS): Remove in_const/in_rdata. | |
13863 | (EXTRA_SECTION_FUNCTIONS): Remove accompanying function. | |
13864 | ||
13865 | * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h, | |
13866 | config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h, | |
13867 | config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h, | |
13868 | config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section. | |
13869 | * config/alpha/alpha.c (alpha_start_function): Likewise. | |
13870 | (alpha_write_linkage): Likewise. | |
13871 | * config/m32r/m32r.c (m32r_select_section): Likewise. | |
13872 | * config/m88k/m88k.c (m88k_select_section): Likewise. | |
13873 | * config/mips/mips.c (mips_select_rtx_section): Likewise. | |
13874 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise. | |
13875 | (rs6000_elf_select_section): Likewise. | |
13876 | * config/v850/v850.c (v850_select_section): Likewise. | |
13877 | ||
13878 | * config/1750a/1750a.h, config/i860/sysv3.h | |
13879 | (READONLY_DATA_SECTION_ASM_OP): New. | |
13880 | READONLY_DATA_SECTION_ASM_OP. | |
13881 | * config/i386/interix.c, config/i386/winnt.c | |
13882 | (i386_pe_unique_section): Always use .rdata prefix. | |
13883 | * config/pa/som.h (readonly_data): Always switch to read-only section. | |
13884 | (READONLY_DATA_SECTION): Predicate on flag_pic. | |
13885 | * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis. | |
13886 | * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New. | |
13887 | (READONLY_DATA_SECTION): Update. | |
13888 | ||
e964a556 JT |
13889 | 2002-05-18 Jason Thorpe <thorpej@wasabisystems.com> |
13890 | ||
13891 | * c-common.c (c_common_post_options): Warn if -Wformat-zero-length | |
8f9eb495 | 13892 | is used without -Wformat. |
e964a556 JT |
13893 | * c-common.h (warn_format_zero_length): Declare extern. |
13894 | * c-decl.c (warn_options): Add "format-zero-length". | |
13895 | * c-format.c (warn_format_zero_length): Declare. | |
13896 | (set_Wformat): Set warn_format_zero_length for -Wformat. | |
13897 | (check_format_info): Only warn about zero-length formats if | |
13898 | warn_format_zero_length is true. Include the format type | |
13899 | name in the warning message. | |
13900 | * doc/invoke.texi: Document -Wformat-zero-length. | |
13901 | * testsuite/gcc.dg/format/zero-length-1.c: New test. | |
13902 | ||
d92b4486 KH |
13903 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
13904 | ||
13905 | * timevar.c: Fix formatting. | |
13906 | * tlink.c: Likewise. | |
13907 | * toplev.c: Likewise. | |
13908 | * tree-dump.c: Likewise. | |
13909 | * tree-inline.c: Likewise. | |
13910 | ||
43612ffb NB |
13911 | 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk> |
13912 | ||
13913 | * cppinit.c (cpp_post_options): If preprocessed, turn off | |
13914 | traditional. If traditional, turn off column numbers. | |
13915 | * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional. | |
13916 | * cpptrad.c (handle_newline): Update line_base. | |
13917 | (skip_comment): Handle -Wcomment. | |
13918 | ||
f24a153a ZW |
13919 | 2002-05-17 Zack Weinberg <zack@codesourcery.com> |
13920 | ||
13921 | * cppinit.c (struct builtin): Remove unused fields. | |
13922 | (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill. | |
13923 | (operator_array): New - was second half of builtin_array. | |
13924 | (init_builtins): Simplify loop over builtin_array/operator_array. | |
13925 | ||
12403335 NB |
13926 | 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk> |
13927 | ||
13928 | * defaults.h (UNIQUE_SECTION): Remove. | |
13929 | * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison. | |
13930 | ||
1f8c3c5b RH |
13931 | 2002-05-17 Richard Henderson <rth@redhat.com> |
13932 | ||
13933 | * expr.c (init_expr_once): Don't use start/end_sequence. | |
13934 | Use rtx_alloc instead of emit_insn. | |
13935 | * toplev.c (lang_dependent_init): Run init_expr_once here ... | |
13936 | (lang_independent_init): ... not here. | |
13937 | ||
4664f4c4 JT |
13938 | 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com> |
13939 | ||
13940 | * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__. | |
13941 | ||
93febe68 MM |
13942 | 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> |
13943 | ||
13944 | * config/avr/avr.c (avr_regs_to_save): New function. Also check | |
13945 | for fixed registers, possibly used for global register variables. | |
13946 | (initial_elimination_offset, avr_output_function_prologue, | |
13947 | avr_output_function_epilogue): Move common code to avr_regs_to_save. | |
13948 | ||
004cb263 NB |
13949 | 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk> |
13950 | ||
13951 | * Makefile.in: Update for cpptrad.c. | |
13952 | * cpphash.h (struct cpp_buffer): New members for buffer | |
13953 | overlays. | |
13954 | (struct cpp_reader): New members for traditional output. | |
13955 | (_cpp_read_logical_line, _cpp_overlay_buffer): New. | |
13956 | * cppinit.c (cpp_create_reader): Set trad_line. | |
13957 | (cpp_destroy): Free trad_out_base if used. | |
13958 | (cpp_read_main_file): Overlay an empty buffer if traditional. | |
13959 | (cpp_finish_options): Don't do builtins. | |
13960 | (COMMAND_LINE_OPTIONS): Add -traditional-cpp. | |
13961 | (cpp_handle_option): Handle it. | |
13962 | * cpplex.c (continue_after_nul): New. | |
13963 | (_cpp_lex_direct): Use handle_nul. | |
13964 | * cpplib.h (struct cpp_options): New traditional option. | |
13965 | * cpptrad.c: New file. | |
13966 | ||
bdcae02b NB |
13967 | 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk> |
13968 | ||
13969 | * c-common.c (c_common_init_options): Use C89 for Objective-C, | |
13970 | and set the options flag. | |
13971 | * cppinit.c (lang_flags): Remove objc. | |
13972 | (lang_defaults): Remove OBJC and OBJCXX. | |
13973 | (set_lang): Update. | |
13974 | (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++. | |
13975 | (cpp_handle_option): Remove -+ and -lang-objc++. | |
13976 | For ObjC, just set a flag. | |
13977 | (print_help): Update. | |
13978 | * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX. | |
13979 | ||
0fca60ab RO |
13980 | 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
13981 | ||
13982 | * doc/install.texi (Specific, mips-sgi-irix6): Document need to | |
13983 | bootstrap with -mips3. | |
13984 | ||
dd3f0101 KH |
13985 | 2002-05-17 Kazu Hirata <kazu@cs.umass.edu> |
13986 | ||
13987 | * final.c: Fix formatting. | |
13988 | * fix-header.c: Likewise. | |
13989 | * flow.c: Likewise. | |
13990 | * fold-const.c: Likewise. | |
13991 | * function.c: Likewise. | |
13992 | ||
5ca9299f DM |
13993 | 2002-05-17 David S. Miller <davem@redhat.com> |
13994 | ||
13995 | PR c/6689, PR optimization/6615 | |
13996 | * local-alloc.c (struct equivalence): Rename 'src' to 'src_p' | |
13997 | and make it a pointer to rtx. Update comments. | |
13998 | (update_equiv_regs): When scanning for equivalences, record | |
13999 | address of SET_SRC (set) in reg_equiv[].src_p. Dereference | |
14000 | it while making the equiv replacements. | |
14001 | ||
508bc172 RO |
14002 | 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14003 | ||
14004 | * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo. | |
14005 | ||
5cd983a6 KK |
14006 | 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp> |
14007 | ||
14008 | * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P | |
14009 | when encoding visibility into SYMBOL_REF_FLAG. | |
14010 | ||
ce0f3925 RS |
14011 | 2002-05-17 Richard Sandiford <rsandifo@redhat.com> |
14012 | ||
14013 | * expr.c (force_operand): Fix reversed move. | |
14014 | ||
06809951 GP |
14015 | 2002-05-17 Kurt Wall <kwall@kurtwerks.com> |
14016 | ||
14017 | * doc/install.texi (Testing): Mention two common DejaGnu warnings | |
14018 | that can be ignored. | |
14019 | ||
14020 | 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
14021 | ||
14022 | * doc/install.texi (Final install): Recommend to install into a | |
14023 | "clean" target directory. | |
14024 | ||
1d5d7a21 RH |
14025 | 2002-05-17 Richard Henderson <rth@redhat.com> |
14026 | ||
14027 | * config/ia64/ia64.md: Use braced strings instead of quoted strings | |
14028 | for code blocks. Tidy whitespace. | |
14029 | ||
ae46c4e0 RH |
14030 | 2002-05-17 Richard Henderson <rth@redhat.com> |
14031 | ||
14032 | * hooks.c (hook_tree_bool_false): New. | |
14033 | * hooks.h: Declare it. | |
14034 | * target-def.h (TARGET_ASM_SELECT_SECTION): New. | |
14035 | (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New. | |
14036 | * target.h (select_section, unique_section): New. | |
14037 | (in_small_data_p): New. | |
14038 | * varasm.c (resolve_unique_section): Use hooks instead of macros. | |
14039 | (variable_section, output_constant_def_contents): Likewise. | |
14040 | (default_select_section, default_unique_section): New. | |
14041 | (categorize_decl_for_section, default_elf_select_section): New. | |
14042 | * output.h: Declare them. | |
14043 | ||
14044 | * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove. | |
14045 | (TARGET_ASM_SELECT_SECTION): New. | |
14046 | (SELECT_SECTION): Move ... | |
14047 | * config/darwin.c (machopic_select_section): ... here. | |
14048 | * config/darwin-protos.h: Update. | |
14049 | ||
14050 | * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New. | |
14051 | (SELECT_SECTION): Move ... | |
14052 | * config/nextstep.c (nextstep_select_section): ... here. | |
14053 | * config/nextstep-protos.h: Update. | |
14054 | ||
14055 | * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove. | |
14056 | (TARGET_ASM_SELECT_SECTION): New. | |
14057 | * config/svr3.h (SELECT_SECTION): Remove. | |
14058 | ||
14059 | * config/alpha/alpha.c (unicosmk_unique_section): Make static. | |
14060 | (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New. | |
14061 | (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New. | |
14062 | (alpha_encode_section_info): Use it. | |
14063 | * config/alpha/alpha-protos.h: Update. | |
14064 | * config/alpha/elf.h (DO_SELECT_SECTION): Remove. | |
14065 | (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14066 | (TARGET_ASM_SELECT_SECTION): New. | |
14067 | * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove. | |
14068 | ||
14069 | * config/arm/pe.h (UNIQUE_SECTION): Remove. | |
14070 | (TARGET_ASM_UNIQUE_SECTION): New. | |
14071 | ||
14072 | * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New. | |
14073 | (avr_unique_section): Rename from unique_section; make static. | |
14074 | * config/avr/avr-protos.h: Update. | |
14075 | * config/avr/avr.h (UNIQUE_SECTION): Remove. | |
14076 | ||
14077 | * config/c4x/c4x.h (SELECT_SECTION): Remove. | |
14078 | ||
14079 | * config/i386/cygwin.h (UNIQUE_SECTION): Remove. | |
14080 | (TARGET_ASM_UNIQUE_SECTION): New. | |
14081 | * config/i386/i386-interix.h: Likewise. | |
14082 | * config/i386/win32.h: Likewise. | |
14083 | * config/i386/djgpp.h (UNIQUE_SECTION): Remove. | |
14084 | * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro. | |
14085 | * config/i386/sco5.h (SELECT_SECTION): Remove. | |
14086 | (TARGET_ASM_SELECT_SECTION): New. | |
14087 | * config/i386/svr3gas.h (SELECT_SECTION): Remove. | |
14088 | ||
14089 | * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION | |
14090 | instead of SELECT_SECTION. | |
14091 | * config/m68k/dpx2.h: Likewise. | |
14092 | * config/rs6000/lynx.h: Likewise. | |
14093 | ||
14094 | * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14095 | (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. | |
14096 | * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New. | |
14097 | (ia64_in_small_data_p): New. | |
14098 | (ia64_encode_section_info): Use it. Reorganize overlarge conditional. | |
14099 | (ia64_aix_select_section, ia64_aix_unique_section): New. | |
14100 | * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove. | |
14101 | (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14102 | ||
14103 | * config/m32r/m32r.h (SELECT_SECTION): Remove. | |
14104 | (TARGET_ASM_SELECT_SECTION): New. | |
14105 | * config/m32r/m32r.c (m32r_select_section): Take align argument. | |
14106 | * config/m32r/m32r-protos.h: Update. | |
14107 | ||
14108 | * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New. | |
14109 | (SELECT_SECTION): Move ... | |
14110 | * config/m88k/m88k.c (m88k_select_section): ... here. | |
14111 | ||
14112 | * config/mcore/mcore-pe.h (SELECT_SECTION): Remove. | |
14113 | * config/mcore/mcore.h (UNIQUE_SECTION): Remove. | |
14114 | * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New. | |
14115 | (mcore_unique_section): Make static. | |
14116 | * config/mcore/mcore-protos.h: Update. | |
14117 | ||
14118 | * config/mips/elf.h (UNIQUE_SECTION): Remove. | |
14119 | (TARGET_ASM_UNIQUE_SECTION): New. | |
14120 | * config/mips/elf64.h: Likewise. | |
14121 | * config/mips/iris6gld.h: Likewise. | |
14122 | * config/mips/linux.h: Likewise. | |
14123 | * config/mips/mips-protos.h: Update. | |
14124 | * config/mips/mips.c (mips_select_section): Add align argument. | |
14125 | * config/mips/mips.h (SELECT_SECTION): Remove. | |
14126 | (TARGET_ASM_SELECT_SECTION): New. | |
14127 | ||
14128 | * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14129 | * config/mmix/mmix.c (mmix_select_section): Remove. | |
14130 | (mmix_unique_section): Remove. | |
14131 | * config/mmix/mmix-protos.h: Update. | |
14132 | ||
14133 | * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New. | |
14134 | (SELECT_SECTION): Move ... | |
14135 | * config/pa/pa.c (pa_select_section): ... here. | |
14136 | * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove. | |
14137 | ||
14138 | * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename | |
14139 | from rs6000_select_section and make static. | |
14140 | (rs6000_elf_unique_section): Similarly. | |
14141 | (rs6000_xcoff_select_section): From xcoff.h. | |
14142 | (rs6000_xcoff_unique_section): Likewise. | |
14143 | * config/rs6000/rs6000-protos.h: Update. | |
14144 | * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14145 | (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. | |
14146 | * config/rs6000/xcoff.h: Likewise. | |
14147 | ||
14148 | * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New. | |
14149 | (SELECT_SECTION): Move ... | |
14150 | * config/sparc/sparc.c (sparc_aout_select_section): ... here. | |
14151 | ||
14152 | * config/v850/v850.h (SELECT_SECTION): Move ... | |
14153 | * config/v850/v850.c (v850_select_section): ... here. | |
14154 | (TARGET_ASM_SELECT_SECTION): New. | |
14155 | ||
14156 | * config/vax/vms.h (SELECT_SECTION): Move ... | |
14157 | * config/vax/vax.c (vms_select_section): ... here. | |
14158 | (TARGET_ASM_SELECT_SECTION): New. | |
14159 | ||
14160 | * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs | |
14161 | for the target hooks. | |
14162 | ||
eaeb23a7 NC |
14163 | 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com> |
14164 | ||
14165 | * config/arm/arm.c (emit_multi_reg_push): Do not set | |
14166 | RTX_FRAME_RELATED_P on the SEQUENCE. | |
14167 | ||
a00fe19f RH |
14168 | 2002-05-16 Richard Henderson <rth@redhat.com> |
14169 | ||
14170 | * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before | |
14171 | splitting. Use split_all_insns; update_life_info_in_dirty_blocks. | |
14172 | ||
5ccff482 RH |
14173 | 2002-05-16 Richard Henderson <rth@redhat.com> |
14174 | ||
14175 | * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo. | |
14176 | ||
068d7739 RH |
14177 | * config/ia64/ia64.c (saveable_obstack): Do not declare. |
14178 | ||
0b17ab2f RH |
14179 | 2002-05-16 Richard Henderson <rth@redhat.com> |
14180 | ||
14181 | * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c, | |
14182 | cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c, | |
14183 | conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c, | |
14184 | gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c, | |
14185 | local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c, | |
14186 | recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c, | |
14187 | reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c, | |
14188 | sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c: | |
14189 | Revert "Basic block renumbering removal", and two followup patches. | |
14190 | ||
8ae86b3c JT |
14191 | 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com> |
14192 | ||
14193 | * lcm.c (optimize_mode_switching): Revert previous change. | |
14194 | ||
4e9f27af ZD |
14195 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14196 | ||
14197 | * sched-rgn.c (schedule_insns): Initialize large_region_blocks | |
14198 | with only extant block numbers. | |
14199 | ||
3cdc1dbc JT |
14200 | 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com> |
14201 | ||
14202 | * lcm.c (optimize_mode_switching): Fix typo. | |
14203 | ||
fbfb3b09 ZD |
14204 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14205 | ||
14206 | * flow.c (calculate_global_regs_live): Queue blocks in program order. | |
14207 | ||
b4b0fb02 RO |
14208 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14209 | ||
14210 | * doc/install.texi (Configuration): Document PWDCMD. | |
14211 | ||
63b827c5 DJ |
14212 | 2002-05-16 Dale Johannesen <dalej@apple.com> |
14213 | ||
14214 | * combine.c (cant_combine_insn_p): Reenable combinations | |
14215 | involving hard regs unless CLASS_LIKELY_SPILLED_P. | |
14216 | ||
748d29c1 NB |
14217 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
14218 | ||
14219 | * c-common.c (cb_register_builtins): Handle more built-ins | |
14220 | here rather than in gcc.c specs. | |
14221 | * gcc.c (cpp_unique_options): Move many built-ins to c-common.c. | |
14222 | (cpp_options): Pass -O flags even when only preprocessing. | |
14223 | * toplev.c (set_fast_math_flags): New prototype. | |
14224 | (fast_math_flags_set_p): New. | |
14225 | (set_no_fast_math_flags): Remove. | |
14226 | (decode_f_option): Update. | |
14227 | * toplev.h (set_fast_math_flags): Update. | |
14228 | (fast_math_flags_set_p): New. | |
14229 | (set_no_fast_math_flags): Remove. | |
14230 | config: | |
14231 | * c4x/c4x.c (c4x_override_options): Update. | |
14232 | ||
5279d739 ZW |
14233 | 2002-05-16 Zack Weinberg <zack@codesourcery.com> |
14234 | ||
14235 | * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX): | |
14236 | Default-define here. | |
14237 | (builtin_define_with_value): Can now wrap the expansion in | |
14238 | quotation marks if such is wanted. | |
a00fe19f | 14239 | (cb_register_builtins): Update calls to builtin_define_with_value. |
5279d739 ZW |
14240 | Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__ |
14241 | here. | |
14242 | (c_common_init): Set options->stdc_0_in_system_headers. | |
14243 | * c-lex.h: Update prototype of builtin_define_with_value. | |
14244 | * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX | |
14245 | and REGISTER_PREFIX. | |
14246 | ||
14247 | * cppinit.c (VERS, ULP, C, X): Kill. | |
14248 | (builtin_array): Remove entries for __VERSION__, | |
14249 | __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and | |
14250 | __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not | |
14251 | a constant. | |
14252 | (init_builtins): Kill off a bunch of now-dead code. | |
14253 | (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and | |
14254 | -fno-leading-underscore. | |
14255 | (cpp_handle_option): Remove code to set user_label_prefix. | |
14256 | (cpp_post_options): Likewise. | |
14257 | ||
14258 | * cpplib.h (struct cpp_options): Remove user_label_prefix. | |
14259 | (stdc_0_in_system_headers): New. | |
14260 | * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile, | |
14261 | stdc_0_in_system_headers) too to decide the value of __STDC__. | |
14262 | ||
14263 | * tradcpp.c (user_label_prefix): Kill. | |
a00fe19f | 14264 | (main): Remove code handling -f(no-)leading-underscore. |
5279d739 ZW |
14265 | (initialize_builtins): Don't define __REGISTER_PREFIX__ |
14266 | or __USER_LABEL_PREFIX__. | |
14267 | (install_value): Wrap compound statement in dummy loop so the | |
14268 | macro works properly in an if statement. | |
14269 | ||
14270 | ||
62e6ca55 JJ |
14271 | 2002-05-16 Janis Johnson <janis187@us.ibm.com> |
14272 | ||
14273 | * loop.h (struct loop_info): Add member has_prefetch. | |
14274 | * loop.c (PREFETCH_CONDITIONAL): Change default to 1. | |
14275 | (prescan_loop): Initialize has_prefetch. | |
14276 | (struct prefetch_info): Change prefetch_in_loop and | |
14277 | prefetch_before_loop from bit fields to ints. | |
14278 | (emit_prefetch_instructions): Several small fixes. | |
14279 | (check_dbra_loop): Don't reverse loop that uses prefetch. | |
14280 | ||
1e6347d8 RO |
14281 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14282 | ||
14283 | * Makefile.in: Allow for PWDCMD to override hardcoded pwd. | |
14284 | * configure.in: Likewise. | |
14285 | * fixinc/check.tpl: Likewise. | |
14286 | * fixinc/fixinc.dgux: Likewise. | |
14287 | * fixinc/fixinc.svr4: Likewise. | |
14288 | * fixinc/fixinc.winnt: Likewise. | |
14289 | * fixinc/fixincl.sh: Likewise. | |
14290 | * fixproto: Likewise. | |
14291 | * configure: Regenerate. | |
14292 | ||
355e4ec4 ZD |
14293 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14294 | ||
14295 | Basic block renumbering removal: | |
14296 | * basic_block.h (struct basic_block_def): Renamed index to sindex, | |
14297 | added prev_bb and next_bb fields. | |
14298 | (n_basic_blocks): Renamed to num_basic_blocks. | |
14299 | (last_basic_block): New, index of last basic block. | |
14300 | (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for | |
14301 | traversing basic block chain. | |
14302 | (BLOCK_NUM): index -> sindex. | |
14303 | (create_basic_block_structure, create_basic_block): Declaration changed. | |
14304 | (debug_num2bb): Declare. | |
14305 | (expunge_block_nocompact): Declaration removed. | |
14306 | (link_block, unlink_block, compact_blocks): Declare. | |
14307 | * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified. | |
14308 | * cfg.c (entry_exit_blocks): Initialize new fields. | |
14309 | (clear_edges, alloc_block, expunge_block, cached_make_edge, | |
14310 | redirect_edge_pred, dump_flow_info, dump_edge_info, | |
14311 | alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges, | |
14312 | free_aux_for_edges): Modified. | |
14313 | (link_block, unlink_block, compact_blocks, debug_num2bb): New. | |
14314 | (expunge_block_nocompact): Removed. | |
14315 | * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add, | |
14316 | find_unreachable_blocks, create_edge_list, print_edge_list, | |
14317 | verify_edge_list, flow_edge_list_print, remove_fake_successors, | |
14318 | remove_fake_edges, flow_reverse_top_sort_order_compute, | |
14319 | flow_depth_first_order_compute, flow_preorder_transversal_compute, | |
14320 | flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb, | |
14321 | flow_dfs_compute_reverse_execute): Modified. | |
14322 | * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1, | |
14323 | find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks): | |
14324 | Modified. | |
14325 | * cfgcleanup.c (try_simplify_condjump, try_forward_edges, | |
14326 | merge_blocks_move_predecessor_nojumps, | |
14327 | merge_blocks_move_successor_nojumps, merge_blocks, | |
14328 | outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb, | |
14329 | try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified. | |
14330 | * cfglayout.c (skip_insns_after_block, label_for_bb, | |
14331 | record_effective_endpoints, scope_to_insns_finalize, | |
14332 | fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps, | |
14333 | fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge, | |
14334 | cfg_layout_duplicate_bb): Modified. | |
14335 | * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump, | |
14336 | flow_loop_entry_edges_find, flow_loop_exit_edges_find, | |
14337 | flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan, | |
14338 | flow_loops_find, flow_loop_outside_edge_p): Modified. | |
14339 | * cfgrtl.c (create_basic_block_structure, create_basic_block, | |
14340 | flow_delete_block, compute_bb_for_insn, split_block, | |
14341 | try_redirect_by_replacing_jump, redirect_edge_and_branch, | |
14342 | force_nonfallthru_and_redirect, tidy_fallthru_edge, | |
14343 | back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion, | |
14344 | commit_edge_insertions, commit_edge_insertions_watch_calls, | |
14345 | dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges, | |
14346 | purge_all_dead_edges): Modified. | |
14347 | * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies, | |
14348 | try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate, | |
14349 | get_last_value, reg_dead_at_p, distribute_notes, distribute_links): | |
14350 | Modified. | |
14351 | * conflict.c (conflict_graph_compute): Modified. | |
14352 | * df.c (FOR_ALL_BBS): Removed. | |
14353 | (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1, | |
14354 | df_modified_p, df_analyse, df_refs_unlink, df_insn_modify, | |
14355 | df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified. | |
14356 | * df.h (DF_BB_INFO, DF_REF_BBNO): Modified. | |
14357 | * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree, | |
14358 | calc_idoms, idoms_to_doms, calculate_dominance_info): Modified. | |
14359 | * final.c (compute_alignments, final_scan_insn): Modified. | |
14360 | * flow.c (verify_local_live_at_start, update_life_info, | |
14361 | update_life_info_in_dirty_blocks, free_basic_block_vars, | |
14362 | delete_noop_moves, calculate_global_regs_live, | |
14363 | initialize_uninitialized_subregs, allocate_bb_life_data, | |
14364 | regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1, | |
14365 | mark_used_reg, count_or_remove_death_notes): Modified. | |
14366 | * function.c (thread_prologue_and_epilogue_insns): Modified. | |
14367 | * gcse.c (struct null_pointer_info): Change typo of current_block | |
14368 | to basic_block. | |
14369 | (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets, | |
14370 | oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info, | |
14371 | compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd, | |
14372 | alloc_avail_expr_mem, expr_killed_p, compute_ae_kill, | |
14373 | expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr, | |
14374 | classic_gcse, one_classic_gcse_pass, compute_transp, cprop, | |
14375 | one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work, | |
14376 | pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert, | |
14377 | pre_delete, one_pre_gcse_pass, compute_transpout, | |
14378 | invalidate_nonnull_info, delete_null_pointer_checks_1, | |
14379 | free_code_hoist_mem, compute_code_hoist_vbeinout, | |
14380 | hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass, | |
14381 | compute_ld_motion_mems, store_ops_ok, find_moveable_store, | |
14382 | compute_store_table, build_store_vectors, insert_insn_start_bb, | |
14383 | insert_store, replace_store_insn, free_store_memory, store_motion): | |
14384 | Modified. | |
14385 | * global.c (global_alloc, global_conflicts, mark_elimination, | |
14386 | build_insn_chain): Modified. | |
14387 | * graph.c (print_rtl_graph_with_bb): Modified. | |
14388 | * haifa-sched.c (sched_init): Modified. | |
14389 | * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed. | |
14390 | (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2, | |
14391 | if_convert): Modified. | |
14392 | * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin, | |
14393 | compute_insert_delete, pre_edge_lcm, compute_available, | |
14394 | compute_farthest, compute_nearerout, compute_rev_insert_delete, | |
14395 | pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching): | |
14396 | Modified. | |
14397 | * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified. | |
14398 | * loop.c (loop_dump_aux): Modified. | |
14399 | * predict.c (combine_predictions_for_insn, estimate_probability, | |
14400 | last_basic_block_p, process_note_prediction, process_note_predictions, | |
14401 | note_prediction_to_br_prob, propagate_freq, counts_to_freqs, | |
14402 | expensive_function_p, estimate_bb_frequencies, | |
14403 | compute_function_frequency): Modified. | |
14404 | * print-rtl.c (print_rtx): Modified. | |
14405 | * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges, | |
14406 | get_exec_counts, compute_branch_probabilities, compute_checksum, | |
14407 | branch_prob, find_spanning_tree): Modified. | |
14408 | * recog.c (split_all_insns, peephole2_optimize): Modified. | |
14409 | * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge, | |
14410 | convert_regs_1, convert_regs_2, convert_regs): Modified. | |
14411 | * regclass.c (scan_one_insn, regclass): Modified. | |
14412 | * regmove.c (mark_flags_life_zones, regmove_optimize, | |
14413 | combine_stack_adjustments): Modified. | |
14414 | * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified. | |
14415 | * reload1.c (reload, reload_combine, copy_eh_notes): Modified. | |
14416 | * reorg.c (dbr_schedule): Modified. | |
14417 | * resource.c (find_basic_block, init_resource_info): Modified. | |
14418 | * sbitmap.c (sbitmap_intersection_of_succs, | |
14419 | sbitmap_intersection_of_preds, sbitmap_union_of_succs, | |
14420 | sbitmap_union_of_preds): Modified. | |
14421 | * sched-deps.c (init_dependency_caches): Modified. | |
14422 | * sched-ebb.c (schedule_ebbs): Modified. | |
14423 | * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions, | |
14424 | find_rgns, compute_trg_info, init_regions, schedule_insns): Modified. | |
14425 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified. | |
14426 | * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges, | |
14427 | ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns, | |
14428 | ssa_const_prop): Modified. | |
14429 | * ssa-dce.c (set_control_dependent_block_to_edge_map_, | |
14430 | find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified. | |
14431 | * ssa.c (remove_phi_alternative, find_evaluations, | |
14432 | compute_dominance_frontiers_1, compute_iterated_dominance_frontiers, | |
14433 | insert_phi_node, rename_block, convert_to_ssa, eliminate_phi, | |
14434 | make_regs_equivalent_over_bad_edges, | |
14435 | make_equivalent_phi_alternatives_equival, | |
14436 | compute_conservative_reg_partition, | |
14437 | coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition, | |
14438 | rename_equivalent_regs, convert_from_ssa, for_each_successor_phi): | |
14439 | Modified. | |
14440 | ||
5a566bed MM |
14441 | 2002-05-16 Mark Mitchell <mark@codesourcery.com> |
14442 | ||
14443 | * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH. | |
14444 | ||
48f6efae NC |
14445 | 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com> |
14446 | ||
14447 | * config/arm/arm.c (arm_rtx_costs): Check for RTX being a | |
14448 | SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. | |
14449 | (arm_adjust_cost): Check for RTX being a SYMBOL_REF before | |
14450 | calling CONSTANT_POOL_ADDRESS_P. | |
14451 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code | |
14452 | to decide whether to define __arm__ or __thumb. | |
355e4ec4 | 14453 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a |
48f6efae NC |
14454 | SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. |
14455 | ||
b166fadd NB |
14456 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
14457 | ||
14458 | * config/arc/arc.h (CPP_PREDEFINES): Remove. | |
14459 | (CPP_SPEC): Update. | |
14460 | (TARGET_CPU_CPP_BUILTINS): New. | |
14461 | ||
601328bb NB |
14462 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
14463 | ||
14464 | * cpphash.h (cpp_macro): Move here, and make expansion a union. | |
14465 | * cppmacro.c (cpp_macro): Remove. | |
14466 | (enter_macro_context, replace_args, warn_of_redefinition, | |
14467 | _cpp_create_definition, cpp_macro_definition): Update. | |
14468 | ||
ff48be5c JM |
14469 | 2002-05-16 Jason Merrill <jason@redhat.com> |
14470 | ||
14471 | * config/mips/mips.c (mips_output_external): Don't do sdata | |
14472 | optimization for a variable with DECL_COMDAT set. | |
14473 | ||
805c42ba AH |
14474 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
14475 | ||
355e4ec4 ZD |
14476 | * config/rs6000/altivec.h: Cleanups for tighter typechecking. |
14477 | Cleanups for accepting modifiers on pointers. | |
14478 | Fix predicate typos. | |
14479 | Allow long pointers as well as int pointers. | |
805c42ba | 14480 | |
34fb9ba5 RH |
14481 | 2002-05-15 Richard Henderson <rth@redhat.com> |
14482 | ||
14483 | * varasm.c (merge_weak): Remove special case for extern and common. | |
14484 | ||
62e118f5 MH |
14485 | 2002-05-15 Matt Hiller <hiller@redhat.com> |
14486 | ||
14487 | * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if | |
355e4ec4 | 14488 | XFAILing. |
62e118f5 MH |
14489 | * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto. |
14490 | * testsuite/gcc.c-torture/compile/920520-1.x: Ditto. | |
14491 | * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now. | |
14492 | * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto. | |
14493 | * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto. | |
14494 | * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto. | |
14495 | ||
fefac463 AH |
14496 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
14497 | ||
355e4ec4 | 14498 | * reload1.c (forget_old_reloads_1): Do not use subreg offset. |
fefac463 | 14499 | |
5f004351 AH |
14500 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
14501 | ||
355e4ec4 ZD |
14502 | * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register. |
14503 | ("altivec_mfvscr"): Read from VSCR. | |
14504 | ||
14505 | Add vscr sets for the following insns: altivec_vctuxs, | |
14506 | altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs, | |
14507 | altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs, | |
14508 | altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs, | |
14509 | altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss, | |
14510 | altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus, | |
14511 | altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus, | |
14512 | altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs, | |
14513 | altivec_vsubshs, altivec_vsubuws, altivec_vsubsws, | |
14514 | altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs, | |
14515 | altivec_vsum2sws, altivec_vsumsws. | |
14516 | ||
14517 | * config/rs6000/rs6000.h: Add VSCR fixed register. | |
14518 | (CALL_REALLY_USED_REGISTERS): Add vscr. | |
14519 | (CALL_USED_REGISTERS): Same. | |
14520 | (FIXED_REGISTERS): Same. | |
14521 | (REG_ALLOC_ORDER): Same. | |
14522 | (reg_class): Add VSCR_REGS. | |
14523 | (REG_CLASS_NAMES): Same. | |
14524 | (REG_CLASS_CONTENTS): Same. | |
14525 | (VSCR_REGNO): New. | |
14526 | (REGISTER_NAMES): Add vscr. | |
14527 | (DEBUG_REGISTER_NAMES): Same. | |
14528 | (ADDITIONAL_REGISTER_NAMES): Same. | |
14529 | (FIRST_PSEUDO_REGISTER): Increment. | |
14530 | (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register. | |
5f004351 | 14531 | |
033afd11 RH |
14532 | 2002-05-15 Jakub Jelinek <jakub@redhat.com> |
14533 | ||
14534 | * fold-const.c (fold): Fix a typo. | |
14535 | ||
14536 | 2002-05-15 Eric Botcazou <ebotcazou@multimania.com> | |
14537 | ||
14538 | * fold-const.c (fold) [LT_EXPR]: Move the transformation of a | |
14539 | comparison against the highest or lowest integer value before | |
14540 | the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)' | |
14541 | transformation and that of an unsigned comparison against 0 | |
14542 | right after. | |
14543 | ||
14285ace RH |
14544 | 2002-05-15 Richard Henderson <rth@redhat.com> |
14545 | ||
14546 | * varasm.c (merge_weak): Error for any weakening after definition. | |
14547 | Adjust weakening after use warning to catch more cases. | |
14548 | (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently. | |
14549 | * config/alpha/alpha.c (alpha_encode_section_info): Do not abort. | |
14550 | ||
194734e9 JH |
14551 | Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz> |
14552 | ||
14553 | * invoke.texi (-malign-double): Re-add lost warning. | |
14554 | ||
14555 | * i386-protos.h (x86_output_mi_thunk): Declare. | |
14556 | * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ... | |
14557 | * i386.c (x86_output_mi_thunk): ... here; handle 64bits. | |
14558 | ||
14559 | * dwarf2out.c (output_call_frame_info): Do not skip unwind info | |
14560 | when flag_asynchronous_unwind_tables is set. | |
14561 | ||
14562 | * flags.h (flag_reorder_functions): Declare. | |
14563 | * function.c (prepare_function_start): Initialize frequnecy. | |
14285ace | 14564 | * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New. |
194734e9 JH |
14565 | * Makefile.in (predict.o): Add dependency on target.h and params.h |
14566 | * defaults.h (HOT_TEXT_SECTION_NAME, | |
14567 | UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros. | |
14568 | * predict.c (choose_function_section): New function. | |
14569 | (estimate_bb_frequencies): Use it. | |
14570 | * toplev.c (flag_reorder_functions): New global variable. | |
14571 | (lang_independent_options): New. | |
14572 | (parse_options_and_default_flags): Set. | |
14573 | * varasm.c (assemble_start_function): Bypass functdion alignment | |
14574 | for never executed functions. | |
14575 | * invoke.texi (-freorder-blocks, -freorder-functions): Document. | |
14576 | (param hot-bb-count-fraction, hot-bb-frequency-fraction): New. | |
14577 | * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME): | |
14578 | Document. | |
14579 | ||
14580 | Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz> | |
14581 | ||
14582 | * predict.c: Inlude profile.h | |
14583 | (MIN_COUNT): Rename to MIN_COUNT_FRACTION | |
14584 | (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p): | |
14585 | Use the information about maximal counter in the program. | |
14586 | ||
14587 | Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz> | |
14588 | ||
14589 | * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p, | |
14590 | probably_never_executed_bb_p): New functions. | |
14591 | * cfgcleanup.c (outgoing_edges_match): Use them. | |
14592 | * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros. | |
14593 | (maybe_hot_bb_p, probably_cold_bb_p, | |
14594 | probably_never_executed_bb_p): New functions. | |
14595 | ||
14596 | * function.h (function): Add new field function_frequency. | |
14597 | * predict.c (compute_function_frequency): New function. | |
14598 | (estimate_probability): Call it. | |
14599 | ||
61ad9a34 JJ |
14600 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
14601 | ||
14602 | PR optimization/5172, optimization/5200 | |
14603 | * gcse.c (gcse_main): Disable store_motion. | |
14604 | ||
a11eba95 ZW |
14605 | 2002-05-14 Zack Weinberg <zack@codesourcery.com> |
14606 | ||
14607 | * c-parse.in (MODIFIED_WCHAR_TYPE): New macro. | |
14608 | (c_common_nodes_and_builtins): Use it. | |
14609 | (builtin_define_with_value): New function. | |
14610 | (cb_register_builtins): Define __SIZE_TYPE__, | |
14611 | __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here, | |
14612 | using builtin_define_with_value. Use consistent notation when | |
14613 | defining __GXX_WEAK__. | |
14614 | (WCHAR_TYPE_SIZE): Don't redefine. | |
14615 | (combine_strings): Don't use WCHAR_TYPE_SIZE. | |
14616 | ||
14617 | * cppdefault.h: Don't provide defaults for SIZE_TYPE, | |
14618 | PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE. | |
14619 | * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc. | |
14620 | * tradcpp.c (initialize_builtins): Likewise. | |
14621 | * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__. | |
14622 | ||
14623 | * c-lex.h (builtin_define_with_value): Prototype. | |
14624 | * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE, | |
14625 | NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE. | |
14626 | * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc. | |
14627 | ||
14628 | * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, | |
14629 | config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h, | |
14630 | config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h, | |
14631 | config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h, | |
14632 | config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h, | |
14633 | config/sparc/linux64.h, config/sparc/netbsd-elf.h, | |
14634 | config/sparc/sol2-bi.h, config/sparc/sparc.h: | |
14635 | Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references | |
14636 | to __SIZE_TYPE__ etc from all spec strings. When this makes | |
14637 | extra specs empty, delete them. | |
14638 | ||
1c31ecf6 JDA |
14639 | 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14640 | ||
14641 | * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling | |
14642 | for PA8000 or generating dwarf2 call frame information. | |
14643 | (output_call): Remove DO_FRAME_NOTES check from return pointer | |
14644 | optimization. | |
14645 | (following_call): Return 0 when scheduling for PA8000 or generating | |
14646 | dwarf2 call frame information. Revise comment. | |
14647 | ||
ac9cfada NB |
14648 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
14649 | ||
14650 | config/alpha: | |
14651 | * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP | |
14652 | and __IEEE_FP_INEXACT as appropriate. | |
14653 | (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus. | |
14654 | (CPP_SPEC): Remove ieee defines. | |
14655 | * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu. | |
14656 | ||
9b690711 RH |
14657 | 2002-05-14 Richard Henderson <rth@redhat.com> |
14658 | ||
14659 | * config/i386/i386.c (ix86_save_reg): Make regno unsigned. | |
14660 | (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill. | |
14661 | ||
e6471be6 NB |
14662 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
14663 | ||
e6471be6 NB |
14664 | * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define. |
14665 | (CPP_SPEC): Update. | |
14666 | (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC, | |
14667 | CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC, | |
14668 | CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC, | |
14669 | CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove. | |
14670 | (EXTRA_SPECS): Update. | |
14671 | * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h, | |
14672 | arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h, | |
14673 | arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and | |
14674 | define TARGET_OS_CPP_BUILTINS if necessary. | |
14675 | ||
e5f5feea NB |
14676 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
14677 | ||
14678 | * gcc.c (cpp_options): Must pass -m* and -f* options | |
14679 | to the front end even when only preprocessing. | |
14680 | (cc1_options): Remove redundant -lang-c. | |
14681 | * tradcpp.c (main): Ignore -m options. | |
14682 | objc: | |
14683 | * lang-specs.h: Similarly. | |
14684 | ||
317638a8 VM |
14685 | 2002-05-14 Vladimir Makarov <vmakarov@redhat.com> |
14686 | ||
14687 | * genautomata.c (transform_3): Add code for transformation | |
14688 | `(A,B,...)+C -> A+C,B,...'. | |
14689 | ||
4d604303 JH |
14690 | Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz> |
14691 | ||
14692 | * final.c (end_final): Do not output profile_arcs constructor, when | |
14693 | no functions are instrumented. | |
14694 | ||
b18b06ed JH |
14695 | Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz> |
14696 | ||
14697 | * i386.md (testsi to testqi_zext_1 splitter): Fix typo. | |
14698 | ||
a12f97f0 GP |
14699 | 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
14700 | ||
14701 | * doc/install.texi: Remove special markup originally required for | |
14702 | HTML generation with texi2html. | |
14703 | ||
c1ae3eb4 AS |
14704 | 2002-05-14 Andreas Schwab <schwab@suse.de> |
14705 | ||
14706 | * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of | |
14707 | SELECT_SECTION. | |
14708 | (UNIQUE_SECTION): Define to get small data correctly. | |
1b18fc2c AS |
14709 | |
14710 | * varasm.c (resolve_unique_section): Add third parameter | |
14711 | flag_function_or_data_sections and use it instead of | |
14712 | flag_function_sections. | |
14713 | (assemble_start_function): Pass flag_function_sections. | |
14714 | (asm_emit_uninitialised): Pass flag_data_sections. | |
14715 | (assemble_variable): Likewise. | |
14716 | ||
8ee41eaf RH |
14717 | 2002-05-14 Richard Henderson <rth@redhat.com> |
14718 | ||
14719 | * config/i386/i386.md: Use define_constants for unspec numbers. | |
14720 | * config/i386/i386.c: Likewise. | |
14721 | ||
e6471be6 NB |
14722 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
14723 | ||
14724 | * doc/contrib.texi: Update my entry. | |
14725 | ||
c297b764 MM |
14726 | 2002-05-13 Mark Mitchell <mark@codesourcery.com> |
14727 | ||
14728 | * fixinc/inclhack.def (winidss_valist): Limit applicability. | |
14729 | * fixinc/fixincl.x: Regenerated. | |
14730 | * fixinc/tests/base/math.h: Update. | |
14731 | * fixinc/tests/base/testing.h: Likewise. | |
14732 | ||
0b42c8f8 ZW |
14733 | 2002-05-13 Zack Weinberg <zack@codesourcery.com> |
14734 | ||
14735 | * genattr.c (gen_attr): Don't emit a comma after the last | |
14736 | enumerator. | |
14737 | ||
546c093e RH |
14738 | 2002-05-13 Richard Henderson <rth@redhat.com> |
14739 | ||
14740 | * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created | |
14741 | by non-local gotos. | |
14742 | * recog.c (peephole2_optimize): Likewise. | |
14743 | ||
85be8c2d AP |
14744 | 2002-05-13 Andris Pavenis <pavenis@lanet.lv> |
14745 | ||
14746 | * cppfiles.c (open_file): Change mode (DJGPP only) of redirected | |
14747 | input to O_BINARY. | |
14748 | ||
765b8f90 JL |
14749 | 2002-05-13 Jeffrey A Law (law@redhat.com) |
14750 | ||
fe4b3c79 JL |
14751 | * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx. |
14752 | Update prototype and callers. | |
14753 | (propagate_one_insn): Stack pointer adjustments kill MEMs on | |
14754 | the mem_set_list which reference the stack pointer, as do | |
14755 | calls to constant functions as they may clobber outgoing | |
14756 | argument space. | |
14757 | ||
16133d00 JL |
14758 | * i386.c (ia32_multipass_dfa_lookahead): Prototype. |
14759 | ||
765b8f90 JL |
14760 | * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define. |
14761 | (ia32_multipass_dfa_lookahead): New function. | |
14762 | ||
63826d5b NB |
14763 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
14764 | ||
14765 | * gcc.c (SWITCH_TAKES_ARG): Remove 'V'. | |
14766 | (translate_options): Remove 'V'. | |
14767 | (process_command): Similarly. | |
14768 | doc: | |
14769 | * invoke.texi: Remove documentation of 'V'. | |
14770 | ||
dcb41ced UW |
14771 | 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
14772 | ||
14773 | * config/s390/linux.h: Revert 2002-04-22 changes. | |
14774 | ||
8dfea428 SM |
14775 | 2002-05-13 Scott Marks <SMarks@mobile-mind.com> |
14776 | ||
14777 | * config/fr30/fr30.md: Only allow splits of immediate loads | |
14778 | if the destination is a register. | |
14779 | ||
12a41c22 NB |
14780 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
14781 | ||
14782 | * Makefile.in (c-common.o, cppinit.o): Update. | |
14783 | * c-common.c: Include except.h. | |
14784 | (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__. | |
14785 | Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS. | |
14786 | * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here. | |
14787 | * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS, | |
14788 | CPP_PREDEFINES): Handle here. | |
14789 | config: | |
14790 | * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h, | |
14791 | alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h, | |
14792 | alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define | |
14793 | TARGET_OS_CPP_BUILTINS. | |
14794 | * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define. | |
14795 | (CPP_SPEC, EXTRA_SPECS): Update. | |
14796 | (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC, | |
14797 | CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC, | |
14798 | CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC, | |
14799 | CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC, | |
14800 | CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove. | |
14801 | doc: | |
14802 | * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove. | |
14803 | (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define. | |
14804 | ||
5692c7bc ZW |
14805 | 2002-05-12 Zack Weinberg <zack@codesourcery.com> |
14806 | ||
14807 | * emit-rtl.c (global_rtl): Update comment. | |
14808 | (const_double_htab, const_double_htab_hash, | |
14809 | const_double_htab_hash, lookup_const_double): New. | |
14810 | (const_int_htab_hash, const_int_htab_eq): Remove const | |
14811 | qualifiers, which cause tons of warnings with RTL checking on. | |
14812 | (gen_rtx_CONST_DOUBLE): Deleted. | |
14813 | (const_double_from_real_value): New function - bears some | |
14814 | resemblance to the former immed_real_const_1. | |
14815 | (immed_double_const): Moved here from varasm.c and | |
14816 | simplified. | |
14817 | (gen_rtx_REG): Make REGNO unsigned to squelch warnings. | |
14818 | (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG. | |
14819 | (gen_rtx): Use immed_double_const. | |
14820 | (init_emit_once): Initialize the const_double_htab. Use | |
14821 | REAL_VALUE_FROM_INT where possible. Can now use | |
14822 | CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx. | |
14823 | * varasm.c (struct varasm_status): Remove x_const_double_chain. | |
14824 | (const_double_chain, immed_real_const, clear_const_double_mem): Delete. | |
14825 | (immed_double_const, immed_real_const_1): Moved to emit-rtl.c. | |
14826 | (init_varasm_status, mark_varasm_status): Don't touch | |
14827 | x_const_double_chain. | |
14828 | ||
14829 | * output.h: Delete prototype for clear_const_double_mem. | |
14830 | * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading | |
14831 | '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype | |
14832 | const_double_from_real_value, not immed_real_const_1, and use | |
14833 | it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro | |
14834 | CONST_DOUBLE_ATOF. | |
14835 | * rtl.h (CONST_DOUBLE_CHAIN): Kill. | |
14836 | (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust. | |
14837 | (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes. | |
14838 | (gen_rtx_REG): Second arg is unsigned. | |
14839 | ||
14840 | * gengenrtl.c (special_rtx): Take out CONST_DOUBLE. | |
14841 | (excluded_rtx): New, return true for CONST_DOUBLE. | |
14842 | (genmacro): Write nothing for excluded codes. | |
14843 | * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE. | |
14844 | * expr.c (expand_expr): Likewise. | |
14845 | * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the | |
14846 | CONST_DOUBLE_CHAIN. | |
14847 | * toplev.c (rest_of_compilation): Don't call | |
14848 | clear_const_double_mem. | |
14849 | ||
14850 | * config/rs6000/rs6000.c (rs6000_float_const): Delete. | |
14851 | (rs6000_hash_constant): Remove CONST_DOUBLE special case. | |
14852 | (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases. | |
14853 | * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const. | |
14854 | * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF. | |
14855 | * config/dsp16xx/dsp16xx.md, config/mips/mips.md, | |
14856 | config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE. | |
14857 | * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const. | |
14858 | ||
31397a7b KG |
14859 | 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14860 | ||
14861 | * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define. | |
14862 | ||
1b70d38a TT |
14863 | 2002-05-12 Tom Tromey <tromey@redhat.com> |
14864 | ||
14865 | * tree.h (copy_node): Don't mention TREE_PERMANENT. | |
14866 | ||
9a5834ae ZW |
14867 | 2002-05-12 Zack Weinberg <zack@codesourcery.com> |
14868 | ||
14869 | * gensupport.c (n_comma_elts): Moved here from genattrtab.c. | |
14870 | (scan_comma_elt): New function. Accepts whitespace in comma lists. | |
14871 | * gensupport.h: Prototype new routines. | |
14872 | * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary | |
14873 | use of printf. | |
14874 | * genattrtab.c (n_comma_elts): Moved to gensupport.c. | |
14875 | (next_comma_elt): Use scan_comma_elt. | |
14876 | ||
14877 | * config/i386/i386.md: Use new attribute notation to break up | |
14878 | long lines in define_attr forms. | |
14879 | ||
51286de6 RH |
14880 | 2002-05-12 Richard Henderson <rth@redhat.com> |
14881 | ||
14882 | * expr.c (compress_float_constant): New. | |
14883 | (emit_move_insn): Use it. | |
14884 | (float_extend_from_mem): New. | |
14885 | (init_expr_once): Initialize it. | |
14886 | * real.c (exact_real_truncate): New. | |
14887 | ||
14888 | * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets | |
14889 | dropped into memory; penalize for size. | |
14890 | (RTX_COSTS): FLOAT_EXTEND is free. | |
14891 | * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2, | |
14892 | extenddfxf2, extenddftf2): Accept constants and drop them to memory. | |
14893 | ||
6412341e RH |
14894 | 2002-05-12 Richard Henderson <rth@redhat.com> |
14895 | ||
14896 | * profile.h (profile_info): Add missing extern to declaration. | |
14897 | * profile.c (profile_info): Define it. | |
14898 | ||
12877f09 JDA |
14899 | 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14900 | ||
14901 | * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers | |
14902 | used for DImode and TImode. | |
14903 | ||
387f9e32 NB |
14904 | 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk> |
14905 | ||
14906 | * cpplex.c (_cpp_lex_direct): When in a directive at EOF | |
14907 | fake a newline. | |
14908 | ||
e1a0f69c ZW |
14909 | 2002-05-11 Zack Weinberg <zack@codesourcery.com> |
14910 | ||
14911 | * config/rs6000/rs6000.c (rs6000_default_long_calls, | |
14912 | rs6000_longcall_switch, rs6000_set_default_type_attributes): New. | |
14913 | (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it. | |
14914 | (rs6000_override_options): Handle -m(no-)longcall. | |
14915 | (init_cumulative_args, output_mi_thunk): Check for both | |
14916 | longcall and shortcall attributes on the function. | |
14917 | (rs6000_attribute_table): Add "shortcall". | |
14918 | (rs6000_handle_longcall_attribute): Update comment. | |
14919 | (altivec_expand_unop_builtin, altivec_expand_binop_builtin, | |
14920 | altivec_expand_ternop_builtin): Add default clauses to switches | |
14921 | to silence warnings. | |
14922 | ||
14923 | * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and | |
14924 | rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS. | |
14925 | (TARGET_OPTIONS): Add longcall and no-longcall. | |
14926 | ||
14927 | * config/rs6000/rs6000.md (call_nonlocal_sysv, | |
14928 | call_value_nonlocal_sysv): Split by alternatives. One pair | |
14929 | accepts only SYMBOL_REFs and rejects if CALL_LONG is set in | |
14930 | the call cookie. The other pair accepts only LR/CTR and has | |
14931 | no restriction. | |
14932 | ||
14933 | * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza): | |
14934 | Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to | |
14935 | tmake_file. | |
14936 | * config/rs6000/rs6000-c.c: New file. | |
14937 | * config/rs6000/t-rs6000-c-rule: New file. | |
14938 | * config/rs6000/rs6000-protos.c: Add multiple-include guard. | |
14939 | Prototype rs6000_pragma_longcall. | |
14940 | ||
14941 | * doc/extend.texi: Document shortcall attribute. | |
14942 | * doc/invoke.texi: Document -mlongcall, -mno-longcall. | |
14943 | ||
9c64026d JDA |
14944 | 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14945 | ||
14946 | * reorg.c (dbr_schedule): Remove unnecessary test. | |
14947 | ||
6c81a490 JH |
14948 | Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz> |
14949 | ||
14950 | * i386.md (testsi to testqi spliters): New. | |
14951 | ||
14952 | 2002-01-14 Josef Zlomek <zlomek@matfyz.cz> | |
14953 | ||
14954 | cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU. | |
14955 | ||
14956 | Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> | |
14957 | ||
14958 | * basic-block.h: New flag EDGE_CAN_FALLTHRU | |
14959 | * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges | |
14960 | that can be made fallthru. | |
14961 | ||
14962 | Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz> | |
14963 | ||
14964 | * cfglayout.c (cleanup_unconditional_jumps): New static function. | |
14965 | (cfg_layout_initialize): Use it. | |
4c476cf3 | 14966 | |
e4447d94 MM |
14967 | 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl> |
14968 | ||
14969 | * config/avr/avr.c (avr_mcu_types): Update supported devices. | |
14970 | * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. | |
14971 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
14972 | ||
3a538a66 KH |
14973 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
14974 | ||
14975 | * dbxout.c: Fix formatting. | |
14976 | * dependence.c: Likewise. | |
14977 | * df.c: Likewise. | |
14978 | * diagnostic.c: Likewise. | |
14979 | * doloop.c: Likewise. | |
14980 | * dominance.c: Likewise. | |
14981 | * doschk.c: Likewise. | |
14982 | * dwarf2asm.c: Likewise. | |
14983 | * dwarf2out.c: Likewise. | |
14984 | * dwarfout.c: Likewise. | |
14985 | ||
2292e8fc RH |
14986 | 2002-05-10 Richard Henderson <rth@redhat.com> |
14987 | ||
14988 | * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct. | |
14989 | Convert integers constants as needed. Replace "nwords" field with | |
14990 | "sizeof_bb". | |
14991 | (final): Save profile data if cfun->arc_profile, not profile_arc_flag. | |
14992 | * function.h: Fix typo in comment. | |
14993 | * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb". | |
14994 | ||
dbfb1116 RS |
14995 | 2002-05-10 Roger Sayle <roger@eyesopen.com> |
14996 | ||
14997 | * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127) | |
14998 | into the equivalent (signed char)c > 0. | |
14999 | ||
79a497cd JJ |
15000 | 2002-05-10 Janis Johnson <janis187@us.ibm.com> |
15001 | ||
15002 | * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New. | |
15003 | (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS. | |
15004 | (struct prefetch_info): Fix spelling of member bytes_accessed. | |
15005 | (emit_prefetch_instructions): Make dump messages more regular; | |
15006 | restructure code to add more dump messages; use new macros for | |
15007 | heuristics. (There are no code generation changes in any of this). | |
15008 | ||
6c45cb0d DM |
15009 | 2002-05-10 David S. Miller <davem@redhat.com> |
15010 | ||
7440af14 DM |
15011 | * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment. |
15012 | (struct rtx_def): Update unchanging flag comment. | |
15013 | * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description. | |
15014 | * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs | |
15015 | to be handled to INSN too. | |
15016 | (dbr_schedule): Likewise. | |
15017 | * resource.c (next_insn_no_annul): Likewise. | |
15018 | ||
6c45cb0d DM |
15019 | * cse.c (rtx_cost): Remove multiplication by power of 2 special |
15020 | casing. | |
15021 | ||
29f21e4f GP |
15022 | 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
15023 | ||
15024 | * doc/install.texi (Specific, *-*-solaris2*): Update passus on | |
15025 | setting CONFIG_SHELL to /bin/ksh and remove alternate trick to | |
15026 | (possibly) work around broken /bin/sh. | |
15027 | ||
e4ba88da RO |
15028 | 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15029 | ||
15030 | * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and | |
15031 | . as N64/N32 libgcc_s.so subdirs. | |
15032 | ||
4f4778ee DM |
15033 | 2002-05-10 David S. Miller <davem@redhat.com> |
15034 | ||
15035 | * config/sparc/sparc.md: Use define_constants for unspec numbers. | |
cf40ea15 DM |
15036 | |
15037 | * rtl.h (struct rtx_def): Document unchanging and in_struct flags | |
15038 | more accurately. | |
15039 | (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix | |
15040 | comment. | |
15041 | (INSN_FROM_TARGET_P): Valid also for CALL_INSN. | |
15042 | * doc/rtl.texi: Document these macros more accurately. | |
15043 | * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for | |
15044 | JUMP_INSNs and CALL_INSNs. | |
15045 | * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P | |
15046 | or INSN_FROM_TARGET_P if the code is appropriate. | |
15047 | ||
1a499b92 MM |
15048 | 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl> |
15049 | ||
15050 | * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF | |
15051 | before using SYMBOL_REF_FLAG (addr). | |
15052 | ||
15053 | * config/avr/avr-protos.h (avr_io_address_p): Declare. | |
15054 | * config/avr/avr.c (io_address_p): Rename to avr_io_address_p. | |
15055 | Make non-static. Update all callers. | |
15056 | * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7): | |
15057 | New insns to clear/set/test a single bit in I/O address space. | |
15058 | ||
65212b66 KG |
15059 | 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
15060 | ||
15061 | * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7. | |
15062 | ||
3df89291 NB |
15063 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15064 | ||
15065 | * Makefile.in: Update. | |
15066 | * c-common.c (flag_iso, flag_undef, cb_register_builtins, | |
15067 | builtin_define_std): New. | |
15068 | (c_common_init): Register CPP builtins callback. | |
15069 | * c-common.h (flag_iso, flag_undef): New. | |
15070 | * c-decl.c (c_decode_option): Set flag_iso and flag_undef. | |
15071 | * c-lex.c: Don't include target.h. | |
15072 | (cb_register_builtins): Move to c-common.c. | |
15073 | (init_c_lex): Don't register hook here. | |
15074 | * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New. | |
15075 | (cpp_define, cpp_assert): Remove. | |
15076 | * gcc.c (cc1_options): Pass -undef to front end. | |
15077 | * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove. | |
15078 | (TARGET_INITIALIZER): Update. | |
15079 | * target.h (struct cpp_reader): Don't predeclare. | |
15080 | (struct gcc_target): Remove cpp builtin hook. | |
15081 | * tree.c (default_register_cpp_builtins): Remove. | |
15082 | doc: | |
15083 | * tm.texi: Update. | |
15084 | ||
32fa4565 NB |
15085 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15086 | ||
15087 | * cppexp.c (_cpp_expand_op_stack): Set op_limit. | |
15088 | ||
23357c55 RO |
15089 | 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15090 | ||
15091 | * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
15092 | (SHLIB_LINK, SHLIB_INSTALL): Adjust. | |
15093 | ||
5aa26af0 JJ |
15094 | 2002-05-09 Jakub Jelinek <jakub@redhat.com> |
15095 | ||
15096 | * config/sparc/t-linux64 (SHLIB_MAPFILES): Set. | |
15097 | * config/sparc/libgcc-sparc-glibc.ver: New file. | |
15098 | * config/cris/t-linux (SHLIB_MAPFILES): Remove. | |
15099 | * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags. | |
15100 | ||
2937267b JJ |
15101 | 2002-05-09 Jakub Jelinek <jakub@redhat.com> |
15102 | ||
15103 | PR target/6429 | |
15104 | * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc. | |
15105 | * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s | |
15106 | shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for | |
15107 | base multilibs. | |
15108 | * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above. | |
15109 | * config/t-slibgcc-sld (SHLIB_LINK): Likewise. | |
15110 | * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
15111 | * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
15112 | ||
086c0f96 RH |
15113 | 2002-05-09 Richard Henderson <rth@redhat.com> |
15114 | ||
15115 | * config/ia64/ia64.md: Use define_constants for unspec numbers. | |
15116 | * config/ia64/ia64.c: Likewise. | |
15117 | ||
a8b4881f RS |
15118 | 2002-05-09 Richard Sandiford <rsandifo@redhat.com> |
15119 | ||
15120 | * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg. | |
15121 | (save_restore_insns): Likewise. | |
15122 | (mips_expand_prologue, mips_expand_epilogue): Update callers. | |
15123 | (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument. | |
15124 | ||
243e5500 | 15125 | Thu May 9 11:50:09 2002 Jeffrey A Law (law@redhat.com) |
890d52e8 | 15126 | |
af2728a4 JL |
15127 | * athlon.md, k6.md, pentium.md, ppro.md): New files. |
15128 | * i386.md: Move scheduling information into new files. | |
15129 | ||
890d52e8 JL |
15130 | * i386.md (type attribute): Add "rotate" for rotate insns. |
15131 | (rotate insns): Set type to "rotate". | |
15132 | (various attributes and function units): Treat rotate like shift. | |
15133 | (pent_pair attribute): Only rotates by one bit position are | |
15134 | pairable. | |
15135 | (sbb insns): Explicitly set pent_pair attribute on a couple | |
15136 | that were missing it. | |
15137 | ||
f78ec36a R |
15138 | Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com> |
15139 | ||
15140 | * sh.c (sh_builtin_saveregs): If starting with an odd fp register, | |
15141 | make sure that buffer starts on odd word address. | |
15142 | (sh_va_arg): Skip odd fp registers when reading a double precision | |
15143 | value. | |
15144 | ||
ff431459 NB |
15145 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15146 | ||
15147 | * tree.h (preserve_data, object_permanent_p, type_precision): | |
15148 | Remove. | |
15149 | ||
c3bf3e6e NB |
15150 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15151 | ||
15152 | * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison. | |
15153 | * cppmacro.c (paste_all_tokens): Bad pastes are a hard error. | |
15154 | doc: | |
15155 | * cpp.texi: Update for removal of obsolete features. | |
15156 | ||
02263a8a JH |
15157 | Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz> |
15158 | Jeffrey A Law (law@redhat.com) | |
15159 | ||
15160 | * i386.c (ia32_use_dfa_pipeline_interface): New function. Use | |
15161 | the DFA interface for Pentium processors. | |
15162 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE. | |
15163 | (attr_pent_pair, ix86_pent_find_pair): Remove. | |
15164 | (ix86_sched_reorder_pentium): Remove. | |
15165 | (ix86_sched_reorder): Remove reordering for Pentium. | |
15166 | * i386.md (Pentium scheduling): Rewrite using DFA description. | |
15167 | ||
3e638a90 JH |
15168 | Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz> |
15169 | ||
15170 | * cfganal.c (can_fallthru): Fix fast path. | |
15171 | * cfgrtl.c (verify_flow_info): Avoid crash on conditionals | |
15172 | with edges to the next block. | |
15173 | ||
b7c9bf28 JH |
15174 | Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz> |
15175 | Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> | |
15176 | ||
15177 | * final.c (end_final): Use C trees to output data structures for profiling. | |
15178 | ||
15179 | * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h | |
5692c7bc ZW |
15180 | (profile.o): New dependency profile.h |
15181 | (final.o): New dependency profile.h | |
15182 | * profile.h: New file. New global structure profile_info. | |
15183 | * final.h (count_edges_instrumented_now): Declare. | |
15184 | (current_function_cfg_checksum): Declare. | |
15185 | (function_list): New structure. | |
15186 | (functions_head, functions_tail): New static variables. | |
15187 | (end_final): Emits more data, removed some -ax stuff. | |
15188 | (final): Stores function names and chcksums. | |
15189 | * gcov-io.h (__write_gcov_string): New function. | |
15190 | (__read_gcov_string): New function. | |
15191 | * gcov.c (read_profile): New function. | |
15192 | (create_program_flow_graph): Uses read_profile instead of reading | |
b7c9bf28 | 15193 | da_file. |
5692c7bc ZW |
15194 | (read_files): Removed da_file checking, it's done by read_profile now. |
15195 | * libgcc2.c (bb_function_info): New structure. | |
15196 | (bb): New field in structure, removed some -ax stuff. | |
15197 | (__bb_exit_func): Changed structure of da_file. | |
15198 | * profile.c (count_edges_instrumented_now): New global variable. | |
15199 | (current_function_cfg_checksum): New global variable. | |
15200 | (max_counter_in_program): New global variable. | |
15201 | (get_exec_counts): New function. | |
15202 | (compute_checksum): New function. | |
15203 | (instrument_edges): Sets count_edges_instrumented_now. | |
15204 | (compute_branch_probabilities): Uses get_exec_counts instead of | |
b7c9bf28 | 15205 | reading da_file. |
5692c7bc ZW |
15206 | (branch_prob): Calls compute_checksum and writes extra data to bbg_file. |
15207 | (init_branch_prob): Removed da_file checking, done in get_exec_counts | |
b7c9bf28 | 15208 | now. |
5692c7bc | 15209 | (end_branch_prob): Removed da_file checking, done in get_exec_counts |
b7c9bf28 | 15210 | now. |
5692c7bc | 15211 | * gcov.texi: Updated information about gcov file format. |
b7c9bf28 | 15212 | |
786de7eb KH |
15213 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
15214 | ||
15215 | * sbitmap.c: Fix formatting. | |
15216 | * scan.c: Likewise. | |
15217 | * scan-decls.c: Likewise. | |
15218 | * sched-deps.c: Likewise. | |
15219 | * sched-ebb.c: Likewise. | |
15220 | * sched-rgn.c: Likewise. | |
15221 | * sched-vis.c: Likewise. | |
15222 | * sdbout.c: Likewise. | |
15223 | * sibcall.c: Likewise. | |
15224 | * simplify-rtx.c: Likewise. | |
15225 | * ssa.c: Likewise. | |
15226 | * ssa-ccp.c: Likewise. | |
15227 | * ssa-dce.c: Likewise. | |
15228 | * stmt.c: Likewise. | |
15229 | * stor-layout.c: Likewise. | |
15230 | * stringpool.c: Likewise. | |
15231 | ||
b7764693 DM |
15232 | 2002-05-09 David S. Miller <davem@redhat.com> |
15233 | ||
15234 | * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. | |
15235 | ||
4e7d5d27 DM |
15236 | 2002-05-07 David S. Miller <davem@redhat.com> |
15237 | ||
15238 | * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero. | |
15239 | * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one. | |
15240 | * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp | |
15241 | library implementation clobbers the output before the inputs | |
15242 | are fully consumed, use stack temporary for the output. | |
15243 | ||
f979570e JT |
15244 | 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com> |
15245 | ||
15246 | * config/netbsd.h (CPP_SPEC): Remove. | |
15247 | * config/i386/netbsd-elf.h (CPP_SPEC): Define. | |
15248 | * config/i386/netbsd.h (CPP_SPEC): Define. | |
15249 | * config/ns32k/netbsd.h (CPP_SPEC): Define. | |
15250 | * config/sparc/netbsd-elf.h (CPP_SPEC): Remove. | |
15251 | * config/sparc/netbsd.h (CPP_SPEC): Define. | |
15252 | * config/vax/netbsd.h (CPP_SPEC): Define. | |
15253 | ||
a6a2274a KH |
15254 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
15255 | ||
15256 | * read-rtl.c: Fix formatting. | |
15257 | * real.c: Likewise. | |
15258 | * recog.c: Likewise. | |
15259 | * regclass.c: Likewise. | |
15260 | * regmove.c: Likewise. | |
15261 | * reg-stack.c: Likewise. | |
15262 | * reload1.c: Likewise. | |
15263 | * reload.c: Likewise. | |
15264 | * resource.c: Likewise. | |
15265 | * rtlanal.c: Likewise. | |
15266 | * rtl.c: Likewise. | |
15267 | * rtl-error.c: Likewise. | |
15268 | ||
461b48d5 JDA |
15269 | 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15270 | ||
15271 | * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete. | |
15272 | * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete. | |
15273 | ||
95d075ff BS |
15274 | 2002-05-08 Bernd Schmidt <bernds@redhat.com> |
15275 | ||
15276 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to | |
15277 | use __SSE2__ macro instead. | |
15278 | * config/i386/xmmintrin.h: Likewise. | |
15279 | ||
2d4cc6a7 JJ |
15280 | 2002-05-08 Janis Johnson <janis187@us.ibm.com> |
15281 | ||
15282 | * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, | |
15283 | and use it in all invocations of these macros. Clean up comments. | |
15284 | * rtl.c (rtl_check_failed_flag): Add an argument for the name | |
15285 | of the flag access macro whose check failed. | |
15286 | * doc/rtl.texi (Flags): Document additional flag uses. | |
15287 | ||
3f8ffc7c RS |
15288 | 2002-05-08 Robert Spier <rspier@pobox.com> |
15289 | Neil Booth <neil@daikokuya.demon.co.uk> | |
15290 | ||
15291 | PR preprocessor/6521 | |
15292 | * cppfiles.c (handle_missing_header): Don't do anything | |
15293 | different for <> includes. | |
15294 | doc: | |
15295 | * cppopts.texi: Update documentation for -MG. | |
15296 | ||
b9e2d17b NB |
15297 | 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk> |
15298 | ||
15299 | * cpplex.c (cpp_interpret_charconst): Truncate as well as | |
15300 | sign-extend. | |
15301 | doc: | |
15302 | * cpp.texi: Clarify multichar charconst valuation. | |
15303 | ||
8d8269fa MM |
15304 | 2002-05-08 Mark Mitchell <mark@codesourcery.com> |
15305 | ||
15306 | * doc/invoke.texi: Document -mwindiss option. | |
15307 | ||
29b91443 JM |
15308 | 2002-05-08 Jason Merrill <jason@redhat.com> |
15309 | ||
15310 | * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs. | |
15311 | ||
15312 | * dwarf2out.c (gen_type_die): Abort on broken recursion. | |
15313 | ||
15314 | PR c++/6381 | |
15315 | * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and | |
15316 | REAL_CST. | |
15317 | ||
6c76b950 NC |
15318 | 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com> |
15319 | ||
15320 | * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/ | |
15321 | little-endian multilibs to override arm/thumb multilibs. | |
a5c76ee6 | 15322 | Do not build hardware floating point multilibs, nor apcs-26 |
6c76b950 NC |
15323 | multilibs for the Thumb. |
15324 | ||
f90bf7ca MM |
15325 | 2002-05-08 Mark Mitchell <mark@codesourcery.com> |
15326 | ||
15327 | PR c/6569. | |
15328 | * varasm.c (mark_weak): New function. | |
15329 | (merge_weak): Use it. Do not call declare_weak. | |
15330 | (declare_weak): Use merge_weak. | |
15331 | ||
1e150f2c JH |
15332 | Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
15333 | ||
15334 | * cse.c (dead_libcall_p): Update counts. | |
15335 | (delete_trivially_dead_insns): Update call of dead_libcall_p. | |
15336 | ||
969d70ca JH |
15337 | Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz> |
15338 | ||
15339 | * cfglayout.c (function_tail_eff_head): Rename to ... | |
15340 | (function_footer): ... this one. | |
15341 | (unlink_insn_chain): New functions. | |
15342 | (label_for_bb): Only call block_label and emit debug message. | |
15343 | (record_effective_endpoints): Actually unlink the headers and footers. | |
15344 | (fixup_reorder_cahin): Re-insert the unlinked sequences. | |
15345 | (cfg_layout_duplicate_bb): Use duplicate_insn_chain. | |
15346 | * cfglayout.h (struct reorder_block_def): New fields footer/header; | |
15347 | remove eff_head/eff_end. | |
15348 | * rtl.h (set_first_insn): Declare. | |
15349 | * emit-rtl.c (set_first_insn): New function. | |
15350 | ||
15351 | * cfglayout.c (fixup_reorder_chain): Dump duplicated | |
15352 | (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge, | |
15353 | cfg_layout_duplicate_bb): New global function. | |
15354 | (duplicate_insn_chain): New static function. | |
15355 | * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge, | |
15356 | cfg_layout_duplicate_bb): Declare. | |
15357 | (struct reorder_block_def): Add "original" field. | |
15358 | * emit-rtl.c (emit_copy_of_insn_after): New function. | |
15359 | * rtl.h (emit_copy_of_insn_after): Declare. | |
15360 | ||
15361 | * cfglayout.c (fixup_fallthru_exit_predecessor): Kill. | |
15362 | (fixup_reorder_chain): properly handle edges to exit block. | |
15363 | ||
15364 | Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
15365 | Jan Hubicka <jh@suse.cz> | |
15366 | ||
15367 | * basic-block.h (note_prediction_to_br_prob): declare. | |
15368 | * c-semantics.c: Inlucde predit.h | |
15369 | (expand_stmt): predict GOTO_STMT as not taken. | |
15370 | * cfgcleanup.c: (delete_unreachable_blocks): Make global. | |
15371 | (cleanup_cfg): Do not free tail_recursion_list. | |
15372 | * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION. | |
15373 | (flow_delete_block): Kill predictions past end of basic block. | |
15374 | * output.h (delete_unreachable_blocks): Declare. | |
15375 | * predict.c (predicted_by_p, process_note_predictions, | |
15376 | process_note_prediction, last_block_p): New function. | |
15377 | (estimate_probability): Bypass loop on PRED_CONTINUE; | |
15378 | do not handle noreturn heuristics; kill PRED_RETURN; add | |
15379 | PRED_EARLY_RETURN. | |
15380 | * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO, | |
15381 | PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New. | |
15382 | * predict.h (IS_TAKEN): New constant. | |
15383 | * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION. | |
15384 | * rtl.c (NOTE_INSN_PREDICTION): New. | |
15385 | * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS): | |
15386 | New macro. | |
15387 | (insn_note): add NOTE_INSN_PREDICTION. | |
15388 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build | |
15389 | CFG; free tail_recursion_label_list. | |
15390 | * stmt.c: Include predict.h; | |
15391 | (return_prediction): New. | |
15392 | (expand_value_return): Use it. | |
15393 | * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall. | |
15394 | ||
41f8d041 RS |
15395 | 2002-05-08 Richard Sandiford <rsandifo@redhat.com> |
15396 | ||
15397 | * config/mips/mips.md: Name the unspecs with define_constant. | |
15398 | (*HILO_delay): Rename to 'hilo_delay' (no star). | |
15399 | (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay. | |
15400 | (reload_outdi, reload_outsi): Likewise. | |
15401 | ||
9cabb1d8 KH |
15402 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
15403 | ||
15404 | * toplev.c: Fix formatting. | |
15405 | ||
4c76f856 JJ |
15406 | 2002-05-07 Janis Johnson <janis187@us.ibm.com> |
15407 | ||
15408 | * config.in (ENABLE_RTL_FLAG_CHECKING): New. | |
15409 | * configure.in (ac_rtlflag_checking): New. | |
15410 | * doc/install.texi (--enable-checking): Document RTL flag checking. | |
15411 | ||
44a147ad NB |
15412 | 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk> |
15413 | ||
15414 | * c-common.c (c_common_init): Set options->unsigned_wchar. | |
15415 | * cppinit.c (cpp_create_reader): Default unsigned_wchar, | |
15416 | group target dependencies. | |
15417 | (init_builtins, cpp_handle_option): Update. | |
15418 | * cpplex.c (cpp_interpret_charconst): Update. | |
15419 | * cpplib.h (struct cpp_options): Add unsigned_wchar, rename | |
15420 | signed_char to unsigned_char, group target dependencies. | |
15421 | * defaults.h (WCHAR_UNSIGNED): Remove. | |
15422 | * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison. | |
15423 | config: | |
15424 | * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h, | |
15425 | i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h, | |
15426 | i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h, | |
15427 | i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h, | |
15428 | sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED. | |
15429 | doc: | |
15430 | * tm.texi: Remove MAX_CHAR_TYPE_SIZE. | |
15431 | ||
cace4f93 MM |
15432 | 2002-05-07 Mark Mitchell <mark@codesourcery.com> |
15433 | ||
15434 | * fixinc/inclhack.def (windiss_math1): New fix. | |
15435 | (windiss_math2): Likewise. | |
15436 | (windiss_valist): Likewise. | |
15437 | * fixinc/fixincl.x: Regenerated. | |
15438 | ||
e2ff6cee AJ |
15439 | 2002-05-07 Andreas Jaeger <aj@suse.de> |
15440 | ||
15441 | * genautomata.c (output_internal_min_issue_delay_func): Add | |
15442 | ATTRIBUTE_UNUSED to avoid warning with empty dfa. | |
15443 | (output_internal_trans_func): Likewise. | |
15444 | ||
bdad4be5 JL |
15445 | Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com) |
15446 | ||
15447 | * pa.c (hppa_profile_hook): Use force_reg to get the address | |
15448 | of the profile hook into an appropriate pseudo register. | |
15449 | ||
a1ffecd9 MM |
15450 | 2002-05-07 Mark Mitchell <mark@codesourcery.com> |
15451 | ||
15452 | * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss. | |
15453 | (LINK_START_SPEC): Handle it. | |
15454 | (LINK_OS_SPEC): Likewise. | |
15455 | (CPP_SPEC): Likewise. | |
15456 | (STARTFILE_SPEC): Likewise. | |
15457 | (LIB_SPEC): Likewise. | |
15458 | (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on | |
15459 | all platforms. | |
15460 | (CRTSAVRES_DEFAULT_SPEC): New macro. | |
15461 | (LIB_WINDISS_SPEC): New macro. | |
15462 | (CPP_OS_WINDISS_SPEC): Likewise. | |
15463 | (STARTFILE_WINDISS_SPEC): Likewise. | |
15464 | (ENDFILE_WINDISS_SPEC): Likewise. | |
15465 | (LINK_START_WINDISS_SPEC): Likewise. | |
15466 | (LINK_OS_WINDISS_SPEC): Likewise. | |
15467 | * config/rs6000/windiss.h: New file. | |
e2ff6cee | 15468 | |
df966bff AH |
15469 | 2002-05-07 Aldy Hernandez <aldyh@redhat.com> |
15470 | ||
a5c76ee6 | 15471 | * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos. |
df966bff | 15472 | |
db84f1bd DM |
15473 | 2002-05-06 David S. Miller <davem@redhat.com> |
15474 | ||
15475 | * config/sparc/sparc.md (shift insns): Do not mask off | |
15476 | second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED | |
15477 | take care of it. | |
15478 | ||
818c0c94 RH |
15479 | 2002-05-06 Richard Henderson <rth@redhat.com> |
15480 | ||
15481 | PR c++/6212 | |
15482 | * expr.c (highest_pow2_factor_for_type): New. | |
15483 | (expand_assignment): Use it. | |
15484 | ||
61e0b50f AH |
15485 | 2002-05-06 Aldy Hernandez <aldyh@redhat.com> |
15486 | ||
818c0c94 RH |
15487 | * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to |
15488 | unspec_volatile. | |
15489 | ("altivec_mfvscr"): Same. | |
61e0b50f | 15490 | |
5a63e069 JJ |
15491 | 2002-05-06 Janis Johnson <janis187@us.ibm.com> |
15492 | ||
15493 | * rtl.h (struct rtx_def): Update comments. | |
15494 | (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare. | |
15495 | (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use | |
15496 | RTL_FLAG_CHECK macros with list of expected RTL codes. | |
15497 | * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro. | |
15498 | (rtl_check_failed_flag): New. | |
15499 | * reload1.c (reload): Use REG macro before changing rtx to MEM. | |
15500 | (reload_cse_noop_set_p): Check rtx code before using access macro. | |
15501 | * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code | |
15502 | before using access macro. | |
15503 | ||
4afe3952 JJ |
15504 | 2002-05-06 Janis Johnson <janis187@us.ibm.com> |
15505 | ||
15506 | * doc/rtl.texi (Flags): Update to reflect current usage. | |
15507 | ||
1f77b5da RS |
15508 | 2002-05-06 Roger Sayle <roger@eyesopen.com> |
15509 | ||
15510 | PR opt/3995 | |
15511 | * fold-const.c (sign_bit_p): New function. | |
15512 | (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and | |
818c0c94 | 15513 | (A & C) != 0 into A < 0, when constant C is the sign bit of A's type. |
1f77b5da RS |
15514 | Reapply fold when converting (A & C) == C into (A & C) != 0. |
15515 | (fold_binary_op_with_conditional_arg): Fix typo in comment. | |
15516 | ||
a5a49440 NB |
15517 | 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk> |
15518 | ||
15519 | * c-common.c (warn_multichar): New. | |
15520 | (c_common_init): Set CPP's warn_multichar. | |
15521 | * c-common.h (warn_multichar): New. | |
15522 | * c-decl.c (warn_multichar): Remove. | |
15523 | * c-lex.c (lex_charconst): Update. | |
15524 | * c-tree.h (warn_multichar): Remove. | |
15525 | * cppexp.c (eval_token): Sign-extend charconst value. | |
15526 | * cppinit.c (cpp_create_reader): Set warn_multichar. | |
15527 | * cpplex.c (cpp_interpret_charconst): Don't sign-extend | |
15528 | each character. Update prototype. Sign-extend the result. | |
15529 | * cpplib.h: Fix conditions. | |
15530 | (struct cpp_options): Add new warning flag. | |
15531 | (cpp_interpret_charconst): Update prototype. | |
15532 | doc: | |
15533 | * cpp.texi: Update documentation. | |
15534 | ||
83e0be55 VM |
15535 | 2002-05-06 Vladimir Makarov <vmakarov@redhat.com> |
15536 | ||
15537 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp): | |
15538 | Fix typo in usage of allof instead of unit. | |
15539 | ||
688ec718 RH |
15540 | 2002-05-06 Richard Henderson <rth@redhat.com> |
15541 | ||
15542 | * recog.c (if_test_bypass_p): Accept multiple set insns for OUT, | |
15543 | and any jump or call for IN. | |
15544 | ||
f6536266 BS |
15545 | 2002-05-06 Bernd Schmidt <bernds@redhat.com> |
15546 | ||
e2ff6cee | 15547 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if |
f6536266 BS |
15548 | -msse2. |
15549 | * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support. | |
e2ff6cee | 15550 | |
0316d49b RS |
15551 | 2002-05-06 Roger Sayle <roger@eyesopen.com> |
15552 | ||
15553 | * fold-const.c (lshift-double): Cast the high word to an unsigned | |
15554 | HOST_WIDE_INT when extracting sign bit to avoid compiler warning. | |
15555 | (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to | |
15556 | avoid compiler warning. (fold): Remove redundant code from | |
15557 | BIT_AND_EXPR as integer operands are canonicalized to be arg1. | |
15558 | ||
5d50fab3 JL |
15559 | 2002-05-06 Jeff Law <law@redhat.com> |
15560 | ||
15561 | * pa-protos.h (hppa_fpstore_bypass_p): Declare. | |
15562 | * pa.c (pa_adjust_cost): Remove all true dependency cost | |
15563 | adjustments. Also remove support for non-DFA scheduling. | |
15564 | * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism | |
15565 | to adjust true dependency costs. Update various comments. | |
15566 | (7100lc, 7200, 7300 scheduling): Simplify by combining the | |
15567 | FP ALU & MPY units into a single unit. | |
15568 | ||
a17a104c CM |
15569 | 2002-05-06 Catherine Moore <clm@redhat.com> |
15570 | ||
15571 | * config/v850/v850.c (compute_register_save_size): Make sure | |
818c0c94 | 15572 | to count all of the registers that will be saved. |
a17a104c | 15573 | |
7799175f JH |
15574 | Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
15575 | ||
15576 | * i386.c (q_regs_operand): Use ANY_QI_REGS_P. | |
15577 | ||
0ac941a0 DM |
15578 | 2002-05-06 David S. Miller <davem@redhat.com> |
15579 | ||
15580 | * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not | |
15581 | allow result to overlap input operands in memory. | |
15582 | ||
95ff5d3f NB |
15583 | 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk> |
15584 | ||
15585 | doc: | |
15586 | * cpp.texi: Update multichar charconst docs. | |
15587 | ||
639e8b0c NB |
15588 | 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk> |
15589 | ||
15590 | * cpplex.c (cpp_interpret_charconst): Sign-extend each | |
15591 | character. Don't ignore excess characters. Treat | |
15592 | multicharacter character constants as signed. | |
15593 | (cpp_parse_escape): Clarify diagnostic. | |
15594 | ||
84ea5bc1 JJ |
15595 | 2002-05-05 Jakub Jelinek <jakub@redhat.com> |
15596 | ||
15597 | * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx, | |
15598 | use add instead of shift. | |
15599 | (ashldi3_sp64): Likewise. | |
15600 | (ashlsi3_const1, ashldi3_const1): Remove. | |
15601 | * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand. | |
15602 | * config/sparc/sparc.c (const1_operand): New. | |
15603 | ||
40cd22f2 JT |
15604 | 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com> |
15605 | ||
15606 | * config.gcc (alpha*-*-netbsd*): Don't use crtstuff. | |
15607 | ||
cac01076 JJ |
15608 | 2002-05-05 Jakub Jelinek <jakub@redhat.com> |
15609 | ||
15610 | PR target/6561 | |
15611 | * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2. | |
15612 | ||
98791e3a RH |
15613 | 2002-05-05 Richard Henderson <rth@redhat.com> |
15614 | ||
15615 | * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but | |
15616 | memory latency adjustments. | |
15617 | (alpha_variable_issue): Remove. | |
15618 | (alpha_use_dfa_pipeline_interface): New. | |
15619 | (alpha_multipass_dfa_lookahead): New. | |
15620 | * config/alpha/alpha.md: Remove define_function_unit scheduling; | |
15621 | include new dfa scheduling. | |
15622 | (attr type): Add none. | |
15623 | (blockage): Use it. | |
15624 | * config/alpha/ev4.md: New. | |
15625 | * config/alpha/ev5.md: New. | |
15626 | * config/alpha/ev6.md: New. | |
15627 | ||
309527ce DM |
15628 | 2002-05-05 David S. Miller <davem@redhat.com> |
15629 | ||
15630 | * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL. | |
15631 | ||
68252e27 KH |
15632 | 2002-05-05 Kazu Hirata <kazu@cs.umass.edu> |
15633 | ||
15634 | * cse.c: Fix formatting. | |
15635 | * emit-rtl.c: Likewise. | |
15636 | ||
30cc9d00 VM |
15637 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
15638 | ||
15639 | * genautomata.c (initiate_states): Add additional guard to | |
15640 | initialize `units_array'. | |
15641 | ||
deb09eff VM |
15642 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
15643 | ||
15644 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp, | |
15645 | process_unit_to_form_the_same_automaton_unit_lists, | |
15646 | form_the_same_automaton_unit_lists | |
15647 | check_unit_distributions_to_automata): New prototypes and | |
15648 | functions. | |
15649 | (check_automata): Rename it into `check_automata_insn_issues'. | |
15650 | (unit_decl): New fields `the_same_automaton_unit' and | |
15651 | `the_same_automaton_message_reported_p'. | |
15652 | (unit_decl_t): New typedef. | |
15653 | (the_same_automaton_lists): New gloval variable. | |
15654 | (unit_regexp, unit_set_el, units_array, units_cmp, | |
15655 | output_get_cpu_unit_code_func): Use the typedef. | |
15656 | (evaluate_max_reserv_cycles): Increment | |
15657 | `description->max_insn_reserv_cycles'. | |
15658 | (initiate_states): Don't increment `max_cycles_num'. | |
15659 | (transform_insn_regexps): Move code around transformation of | |
15660 | regexps from `generate'. | |
15661 | (generate): Remove call of `transform_insn_regexps'. | |
15662 | (expand_automata): Call `transform_insn_regexps' and | |
15663 | `check_unit_distributions_to_automata'. Check errors before | |
15664 | `generate'. | |
15665 | ||
15666 | * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into | |
15667 | automaton `ultrasparc3_1'. | |
e2ff6cee | 15668 | |
2443d4e1 NB |
15669 | 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk> |
15670 | ||
15671 | * c-common.c (c_common_init): Set up CPP arithmetic. | |
15672 | * cppinit.c (cpp_create_reader): Default CPP arithmetic to | |
15673 | something reasonable for the host. | |
15674 | (sanity_checks): Add checks. | |
15675 | (cpp_read_main_file): Call sanity_checks() from here... | |
15676 | (cpp_post_options): ... not here. | |
15677 | * cpplex.c (cpp_interpret_charconst): Get max_chars right. | |
15678 | * cpplib.h (struct cpp_options): New member int_precision. | |
15679 | ||
791a949f FS |
15680 | 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
15681 | ||
15682 | * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements. | |
15683 | ||
091fb516 DM |
15684 | 2002-05-04 David S. Miller <davem@redhat.com> |
15685 | ||
f60ebeb7 DM |
15686 | * config/sparc/linux.h, config/sparc/linux64.h |
15687 | (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice. | |
15688 | ||
214c6394 DM |
15689 | * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of |
15690 | more RTX codes. | |
15691 | * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes. | |
15692 | ||
091fb516 DM |
15693 | * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL |
15694 | of SETs. | |
15695 | ||
f2fdc802 TJ |
15696 | 2002-05-05 Tim Josling <tej@melbpc.org.au> |
15697 | ||
e2ff6cee | 15698 | * treelang; New directory for new sample language treelang. |
f2fdc802 | 15699 | |
3d90d290 NB |
15700 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
15701 | ||
15702 | * Makefile.in (c-lex.o): Update. | |
15703 | * c-lex.c: Include target.h. | |
15704 | (cb_register_builtins): New. | |
15705 | (init_c_lex): Set builtins callback. | |
15706 | * c-lex.h (cpp_define, cpp_assert): New prototypes. | |
15707 | * cppinit.c (init_builtins): Use callback, including for | |
15708 | GXX_WEAK. | |
15709 | * cpplib.h (struct cpp_callbacks): New member. | |
15710 | * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New. | |
15711 | (TARGET_INITIALIZER): Update. | |
15712 | * target.h (struct gcc_target): New hook. | |
15713 | * tree.c (default_register_cpp_builtins): New. | |
15714 | * tree.h (default_register_cpp_builtins): New. | |
15715 | doc: | |
15716 | * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document. | |
15717 | ||
625458d0 NB |
15718 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
15719 | ||
15720 | * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h | |
15721 | (cpp_post_options): Move sanity checks to... | |
15722 | (sanity_checks): New. | |
15723 | * cpplex.c (maybe_read_ucs): Fix prototype. | |
15724 | (parse_string, cpp_parse_escape): Cast for %c format specifier. | |
15725 | * cpplib.h (cppchar_t): Use unsigned long or unsigned long long | |
15726 | if necessary. | |
15727 | ||
916b60b7 BS |
15728 | 2002-05-04 Bernd Schmidt <bernds@redhat.com> |
15729 | ||
15730 | * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2 | |
15731 | builtins. Use V2DI patterns instead of TI for logical operations. | |
15732 | (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins. | |
15733 | Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps. | |
15734 | (ix86_expand_builtins): Change the pattern used for movntdq. | |
15735 | * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3, | |
15736 | sse2_nandv2di3): New patterns. | |
15737 | (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes | |
15738 | on operands. | |
15739 | (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted. | |
15740 | (cvtdq2pd): Correct mode on operand 1. | |
15741 | (sse2_umulsidi3): Describe without unspec. | |
15742 | (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate | |
15743 | machine modes. | |
15744 | (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec. | |
15745 | (ashlv2di3): Likewise, from sse2_ashlv2di3. | |
15746 | (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3, | |
15747 | ashlv4si3, ashlv2di3): Use SImode for shift count. | |
15748 | (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti, | |
15749 | lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti): | |
15750 | New patterns. | |
15751 | * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi): | |
15752 | New typedefs. | |
15753 | (__m128i, __m128d): New macros. | |
15754 | (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd, | |
15755 | _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd, | |
15756 | _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd, | |
15757 | _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd, | |
15758 | _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd, | |
e2ff6cee | 15759 | _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd, |
916b60b7 BS |
15760 | _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd, |
15761 | _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd, | |
e2ff6cee | 15762 | _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd, |
916b60b7 BS |
15763 | _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd, |
15764 | _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd, | |
15765 | _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd, | |
15766 | _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd, | |
15767 | _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps, | |
15768 | _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32, | |
15769 | _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32, | |
15770 | _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd, | |
15771 | _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd, | |
15772 | _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16, | |
15773 | _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32, | |
15774 | _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32, | |
15775 | _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64, | |
15776 | _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16, | |
15777 | _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64, | |
15778 | _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16, | |
15779 | _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16, | |
15780 | _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, | |
15781 | _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, | |
15782 | _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64, | |
15783 | _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32, | |
15784 | _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128, | |
15785 | _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32, | |
15786 | _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16, | |
15787 | _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8, | |
15788 | _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16, | |
15789 | _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd, | |
15790 | _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New | |
15791 | functions. | |
e2ff6cee | 15792 | (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32, |
916b60b7 BS |
15793 | _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros. |
15794 | ||
c26fbbca KH |
15795 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
15796 | ||
15797 | * dwarf2out.c: Fix formatting. | |
15798 | * varasm.c: Likewise. | |
15799 | ||
0387639b DE |
15800 | 2002-05-04 David Edelsohn <edelsohn@gnu.org> |
15801 | ||
15802 | PR c/6543 | |
15803 | * config/rs6000/rs6000.md (sCC pattern and splitter): Remove | |
15804 | clobber and use result as temporary value. | |
15805 | ||
8a28dbcc JH |
15806 | Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
15807 | ||
15808 | * expr.c (force_operand): Use expand_simple_* to handle more | |
15809 | cases. | |
15810 | ||
4268e8bb NB |
15811 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
15812 | ||
15813 | * c-lex.c (lex_string): Let cpp_parse_escape handles truncation | |
15814 | and sign-extension. | |
15815 | (lex_charconst): Update for change in prototype of | |
15816 | cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT | |
15817 | appropriately. | |
15818 | * cpphash.h (BITS_PER_CPPCHAR_T): New. | |
15819 | * cppinit.c (cpp_create_reader): Initialize them for no | |
15820 | change in semantics. | |
15821 | (cpp_post_options): Add sanity checks. | |
15822 | * cpplex.c (cpp_parse_escape): Handle precision, sign-extension | |
15823 | and truncation issues. Calculate in type cppchar_t. | |
15824 | (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove. | |
15825 | (cpp_interpret_charconst): Calculate in type cppchar_t. Handle | |
15826 | run-time dependent precision correctly. Return whether the | |
15827 | result is signed or not. | |
15828 | * cpplib.c (dequote_string): Use cppchar_t; update. | |
15829 | * cpplib.h (cppchar_signed_t): New. | |
15830 | struct cpp_options): New precision members. | |
15831 | (cpp_interpret_charconst, cpp_parse_escape): Update prototypes. | |
ae1a07e0 | 15832 | * cppexp.c (eval_token): Update. |
4268e8bb | 15833 | |
af54350e DM |
15834 | 2002-05-03 David S. Miller <davem@redhat.com> |
15835 | ||
2ce04b6b DM |
15836 | * config/sparc/sparc-protos.h (sparc_rtx_costs): New. |
15837 | * config/sparc/sparc.c (sparc_rtx_costs): New function | |
15838 | implementing RTX_COSTS and CONST_COSTS. | |
15839 | * config/sparc/sparc.h (CONST_COSTS): Delete. | |
15840 | (RTX_COSTS_CASES): Define. | |
15841 | (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do | |
15842 | the work. | |
15843 | ||
a1d9bd0c DM |
15844 | * config/sparc/sparc.md (DFA schedulers): Split out... |
15845 | * config/sparc/cypress.md, config/sparc/hypersparc.md, | |
15846 | config/sparc/sparclet.md, config/sparc/supersparc.md, | |
15847 | config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here. | |
15848 | ||
e87bb82e | 15849 | * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef |
981f6289 | 15850 | checks on it, always defined for SPARC. |
e87bb82e | 15851 | |
af54350e DM |
15852 | * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): |
15853 | Tweak, and add more detailed comments. | |
15854 | ||
935bfb44 ZW |
15855 | 2002-05-03 Zack Weinberg <zack@codesourcery.com> |
15856 | ||
15857 | * Re-apply patch accidentally reverted with | |
15858 | DFA scheduler merge: remove all rules and variables to slurp | |
15859 | source files out of libiberty and rebuild them with HOST_CC. | |
15860 | ($(HOST_PREFIX_1)varray.o): New rule. | |
15861 | (genattrtab rule): Word wrap. | |
15862 | ||
fa7a0712 JT |
15863 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
15864 | ||
15865 | * config/i386/netbsd64.h (CPP_LP64_SPEC): Define. | |
15866 | (CPP_SUBTARGET_SPEC): Define. | |
15867 | (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and | |
15868 | cpp_subtarget specs. | |
15869 | (CPP_SPEC): Redefine to include %(cpp_subtarget). | |
15870 | ||
14c93978 DM |
15871 | 2002-05-03 David S. Miller <davem@redhat.com> |
15872 | ||
15873 | * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
15874 | * target.h (struct gcc_target): Delete cycle_display member. | |
15875 | ||
14d118d6 DM |
15876 | * config/ia64/ia64.c (ia64_emit_insn_before): Put it back. |
15877 | (rtx_needs_barrier): Delete reference to cycle_display unspec. | |
15878 | (ia64_sched_reorder2): Mention need for cycle display handling | |
15879 | once such notes exist. | |
935bfb44 | 15880 | |
b3ae1ccd RH |
15881 | 2002-05-03 Richard Henderson <rth@redhat.com> |
15882 | ||
15883 | * real.c (etoasc): Strip most trailing zeros for clarity. | |
15884 | * sched-vis.c: Include real.h. | |
15885 | (print_value): Use REAL_VALUE_TO_DECIMAL as needed. | |
15886 | * Makefile.in (sched-vis.o): Add real.h. | |
15887 | ||
8f39865a DM |
15888 | 2002-05-03 David S. Miller <davem@redhat.com> |
15889 | ||
15890 | * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, | |
15891 | no longer needed. | |
15892 | ||
b44140e7 AH |
15893 | 2002-05-03 Aldy Hernandez <aldyh@redhat.com> |
15894 | ||
935bfb44 ZW |
15895 | * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out |
15896 | when we get an out of range literal. | |
15897 | (altivec_expand_ternop_builtin): Same. | |
15898 | (altivec_expand_unop_builtin): Same. | |
15899 | (altivec_expand_builtin): Same, for dss. | |
15900 | (altivec_expand_builtin): Use trees instead of rtl when | |
15901 | determining literal argument validity. | |
b44140e7 | 15902 | |
aaaed752 DM |
15903 | 2002-05-03 David S. Miller <davem@redhat.com> |
15904 | ||
15905 | Delete cycle display scheduling hook. | |
15906 | * config/ia64/ia64.c (ia64_cycle_display, | |
15907 | TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete. | |
15908 | (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display | |
15909 | and use emit_insn_before instead of ia64_emit_insn_before. | |
15910 | * config/ia64/ia64.md (unspec usage): Delete cycle display. | |
15911 | (cycle_display): Delete insn pattern. | |
15912 | * config/sparc/sparc.md (unspec usage): Delete cycle display. | |
15913 | (cycle_display): Delete insn pattern. | |
15914 | * config/sparc/sparc.c (sparc_cycle_display, | |
15915 | TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
15916 | * doc/md.texi (cycle_display): Don't mention. | |
15917 | * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise. | |
935bfb44 | 15918 | |
b37c2614 RH |
15919 | 2002-05-03 Richard Henderson <rth@redhat.com> |
15920 | ||
15921 | * recog.c (store_data_bypass_p, if_test_bypass_p): New. | |
15922 | * recog.h: Declare them. | |
15923 | ||
15924 | * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove. | |
15925 | * config/sparc/sparc.md: Use store_data_bypass_p instead. | |
15926 | * config/sparc/sparc-protos.h: Update. | |
935bfb44 | 15927 | |
e1c1132e JT |
15928 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
15929 | ||
15930 | * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove | |
15931 | -D__arch64__. Add -D_LP64. | |
15932 | (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version | |
15933 | from sparc.h. | |
15934 | (CPP_ARCH64_SPEC): Likewise. | |
15935 | (NO_BUILTIN_PTRDIFF_TYPE): Undef. | |
15936 | (NO_BUILTIN_SIZE_TYPE): Undef. | |
15937 | ||
0b2fb0d7 VM |
15938 | 2002-05-03 Vladimir Makarov <vmakarov@redhat.com> |
15939 | ||
15940 | * genautomata.c (min_issue_delay_pass_states): Change return type | |
15941 | in the prototype. | |
15942 | (min_issue_delay_pass_states): Change the algorithm. | |
15943 | (min_issue_delay): Set up min_insn_issue_delay for the state. | |
15944 | (output_min_issue_delay_table): Interchange the nested loops and | |
15945 | and initiate min_insn_issue_delay for states. | |
935bfb44 | 15946 | |
3d4ce12a JH |
15947 | Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz> |
15948 | ||
15949 | * cfgcleanup.c (try_optimize_cfg): Call merge_block only when | |
15950 | jump is simplejump. | |
15951 | ||
15952 | Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz> | |
37ad04a5 JH |
15953 | |
15954 | * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops | |
15955 | sequence. | |
15956 | ||
b5482208 RH |
15957 | 2002-05-03 Richard Henderson <rth@redhat.com> |
15958 | ||
15959 | PR opt/6534 | |
15960 | * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, | |
15961 | noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove, | |
15962 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new | |
15963 | code before JUMP, not EARLIEST. | |
15964 | ||
5a3085c5 JM |
15965 | 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk> |
15966 | ||
15967 | * c-format.c (check_format_info_main): Don't check for presence of | |
15968 | parameter for * width until after operand number has been read, | |
15969 | and only check for it if format parameters are available. | |
15970 | Fixes PR c/6547. | |
15971 | ||
40039424 JT |
15972 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
15973 | ||
15974 | * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64. | |
15975 | (LINK_SPEC): Undef before defining. | |
15976 | ||
8157303b JJ |
15977 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
15978 | ||
15979 | PR preprocessor/6489 | |
15980 | * tradcpp.c (fixup_newlines): New. | |
15981 | (main, finclude): Use it. | |
15982 | ||
66319f5c RS |
15983 | 2002-05-03 Richard Sandiford <rsandifo@redhat.com> |
15984 | ||
15985 | * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section. | |
15986 | * config/mips/mips.c (mips_unique_section): Strip encoding from | |
15987 | decl name. | |
15988 | ||
ce8076ad JJ |
15989 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
15990 | ||
15991 | * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper | |
15992 | mode. | |
15993 | ||
975c6e4e RO |
15994 | 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15995 | ||
15996 | * doc/install.texi (Installing): Mention GCC 3.1 buildstats. | |
15997 | (Specific): Removed buildstats references. | |
15998 | (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0. | |
15999 | (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1. | |
16000 | Accomodate Solaris versions beyond 8. | |
16001 | (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1. | |
16002 | (Specific, *-*-solaris2.8): Removed, obsolete. | |
16003 | ||
d70e94ec JJ |
16004 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
16005 | ||
16006 | PR target/6542 | |
16007 | * config/sparc/sparc.h (leaf_reg_remap): Remove const. | |
16008 | (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make | |
16009 | fill leaf_reg_remap with identity. | |
16010 | * config/sparc/sparc.c (leaf_reg_remap): Remove const. | |
16011 | ||
6b148bd9 KH |
16012 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
16013 | ||
16014 | * config/h8300/crti.asm: Remove trailing spaces. | |
16015 | * config/h8300/h8300.c: Likewise. | |
16016 | * config/h8300/lib1funcs.asm: Likewise. | |
16017 | ||
609688f3 JM |
16018 | 2002-05-02 Jason Merrill <jason@redhat.com> |
16019 | ||
16020 | * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c. | |
16021 | * c-decl.c (c_init_decl_processing): Use it. | |
16022 | * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE. | |
16023 | * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define. | |
16024 | * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define. | |
16025 | ||
3b03c671 KH |
16026 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
16027 | ||
16028 | * regrename.c: Fix formatting. | |
16029 | * tree.c: Likewise. | |
16030 | ||
3b4961bd JH |
16031 | Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz> |
16032 | ||
16033 | * i386.md (attribute memory): Handle compares properly. | |
16034 | ||
19cba4a0 JH |
16035 | Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz> |
16036 | ||
3b4961bd | 16037 | * i386.md (sse_clrsf, sse_clrsi): Set memory attribute |
19cba4a0 JH |
16038 | to none. |
16039 | ||
797a6ac1 KH |
16040 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
16041 | ||
16042 | * function.c: Fix formatting. | |
16043 | ||
6d0de005 JH |
16044 | 2002-05-02 Jan Hubicka <jh@suse.cz> |
16045 | ||
16046 | * haifa-sched.c (schedule_insn): Print table of instructions and | |
16047 | reservations. | |
16048 | (sched_block): Do not print ready list at verbosity level 1. | |
16049 | * sched-vis.c (print_insn): Make global. | |
16050 | * sched-ebb.c (ebb_print_insn): Rename from... | |
16051 | (print_insn): ... this one. | |
16052 | * sched-int.h (print_insn): Declare | |
16053 | ||
0bfb9a69 RH |
16054 | 2002-05-02 Richard Henderson <rth@redhat.com> |
16055 | ||
16056 | * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn | |
16057 | emitted by cycle_display. | |
16058 | ||
6b976d99 LR |
16059 | 2002-05-02 Loren J. Rittle <ljrittle@acm.org> |
16060 | ||
16061 | * doc/install.texi (*-*-freebsd*): Update to latest status. | |
16062 | ||
0a295052 JJ |
16063 | 2002-05-02 Jakub Jelinek <jakub@redhat.com> |
16064 | ||
16065 | PR target/6540 | |
16066 | * config.gcc (sparc*-*-solaris2*): Set float_format to i128. | |
16067 | * config/float-sparc.h: Assume 128-bit long double if | |
16068 | __LONG_DOUBLE_128__ is defined. | |
16069 | ||
842d5d6c VM |
16070 | 2002-05-02 Vladimir Makarov <vmakarov@redhat.com> |
16071 | ||
16072 | * genattrtab.c (write_function_unit_info): Add a dummy element | |
16073 | when num_units == 0. | |
16074 | ||
3d7a6309 HB |
16075 | 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
16076 | ||
16077 | * predict.c: (propagate_freq, estimate_bb_frequencies): Use | |
16078 | TYPE_MODE (double_type_node) instead of DFmode. | |
16079 | ||
1b6763cf JH |
16080 | Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz> |
16081 | ||
16082 | * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed | |
16083 | jumps post reload. | |
16084 | * toplev.c (rest_of_compilation): Revert Richard's patch. | |
16085 | ||
b303008e JDA |
16086 | 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16087 | ||
16088 | * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS. | |
16089 | ||
6ed7412a CM |
16090 | 2002-05-02 Catherine Moore <clm@redhat.com> |
16091 | ||
16092 | * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20. | |
16093 | ||
e0a2f705 KH |
16094 | 2002-05-02 Kazu Hirata <kazu@hxi.com> |
16095 | ||
b32d6163 | 16096 | * combine.c: Fix comment typos. |
e0a2f705 KH |
16097 | * expr.c: Likewise. |
16098 | * genautomata.c: Likewise. | |
16099 | * stmt.c: Likewise. | |
16100 | * tree.h: Likewise. | |
16101 | ||
38e23049 JM |
16102 | 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk> |
16103 | ||
16104 | * doc/install.texi: State GNAT version requirements. | |
16105 | ||
40f4a97d NC |
16106 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
16107 | ||
16108 | * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form | |
16109 | of the frame pointer or arg pointer register which strict register | |
16110 | checking is not enabled. | |
16111 | ||
0d6d6892 AH |
16112 | 2002-05-02 Aldy Hernandez <aldyh@redhat.com> |
16113 | ||
b5482208 | 16114 | * gcc.dg/altivec-8.c: New. |
0d6d6892 | 16115 | |
b5482208 RH |
16116 | * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow |
16117 | PRE_INC and PRE_DEC for altivec modes. | |
0d6d6892 | 16118 | |
abaa8559 BK |
16119 | 2002-05-01 Bruce Korb <bkorb@gnu.org> |
16120 | ||
16121 | * fixinc/check.tpl(set-writable): make sure the function exists first | |
16122 | * fixinc/inclhack.def(alpha_assert): fix test_text | |
16123 | * fixinc/tests/base/assert.h: add in missing result | |
16124 | ||
ecab2143 JL |
16125 | 2002-05-01 Jeff Law <law@redhat.com> |
16126 | ||
16127 | * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the | |
16128 | 'T' constraint. | |
16129 | ||
ea619b46 JB |
16130 | 2002-05-01 Joel Brobecker <brobecker@gnat.com> |
16131 | ||
16132 | * dbxout.c (dbxout_type): Emit size information for range types, | |
16133 | as well, but only when using GDB extensions. | |
16134 | ||
c72931a6 RH |
16135 | 2002-05-01 Richard Henderson <rth@redhat.com> |
16136 | ||
16137 | * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with | |
16138 | target-independent gnu binutils date test. | |
16139 | ||
2150ad33 RH |
16140 | 2002-05-01 Richard Henderson <rth@redhat.com> |
16141 | ||
16142 | * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump | |
16143 | info before expunging the block. | |
16144 | ||
1651cc96 JJ |
16145 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
16146 | ||
16147 | * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here... | |
16148 | (cpp_post_options): ...but here. Disable -dD, -dN and -dI when | |
16149 | -M -or -MM is in effect. | |
16150 | ||
8998d5bf ZW |
16151 | 2002-05-01 Zack Weinberg <zack@codesourcery.com> |
16152 | ||
16153 | * config.gcc: Correct test of --enable-obsolete. Obsolete all | |
16154 | A29k configurations. | |
16155 | * doc/install.texi: Update to match. | |
16156 | ||
a81eed10 FS |
16157 | 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
16158 | ||
16159 | PR bootstrap/6514 | |
16160 | * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check | |
16161 | for duplicates. Always loop over whole list. | |
16162 | ||
8d53318f RK |
16163 | Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
16164 | ||
16165 | * reload.c (find_reloads, case 'p'): Set BADOP to 0. | |
16166 | ||
4109b118 JS |
16167 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
16168 | ||
16169 | * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly | |
16170 | support routines. | |
16171 | ||
c4a9c570 JS |
16172 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
16173 | ||
16174 | * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning. | |
16175 | ||
ea112fc4 DE |
16176 | 2002-05-01 David Edelsohn <edelsohn@gnu.org> |
16177 | ||
16178 | * rs6000.md (abssi2_nopower): Convert to define_insn_and_split. | |
16179 | (nabs_nopower): Same. | |
16180 | (floatdisf2): New pattern. | |
16181 | (absdi2): Convert to define_insn_and_split. | |
16182 | (nabsdi2): Same. | |
16183 | (trunctfsf2): Same. | |
16184 | (floatditf2): Same. | |
16185 | (floatsitf2): Same. | |
16186 | (fix_trunctfdi2): Same. | |
16187 | (fix_trunctfsi2): Same. | |
16188 | ||
dda78254 JM |
16189 | 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk> |
16190 | ||
16191 | * doc/install.texi: Update Texinfo version requirement | |
16192 | documentation. | |
16193 | ||
26aeede4 JJ |
16194 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
16195 | ||
16196 | PR target/6512, PR target/5628 | |
16197 | * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32 | |
16198 | when memory is not aligned. | |
16199 | (movdf_insn_v9only_vis): Likewise. | |
16200 | * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS | |
16201 | temporary for EXTRA_FP_REGS DFmode load from unaligned memory. | |
16202 | (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly. | |
16203 | ||
9b7bc465 AH |
16204 | 2002-05-01 Aldy Hernandez <aldyh@redhat.com> |
16205 | ||
8998d5bf | 16206 | * gcc.dg/altivec-7.c: New. |
9b7bc465 | 16207 | |
8998d5bf | 16208 | * config/rs6000/altivec.h: Cleanup. |
9b7bc465 | 16209 | |
08b57fb3 AH |
16210 | 2002-04-30 Aldy Hernandez <aldyh@redhat.com> |
16211 | ||
8998d5bf ZW |
16212 | * doc/invoke.texi (Option Summary): Add -mvrsave=. |
16213 | (RS/6000 and PowerPC Options): Document -mvrsave=. | |
08b57fb3 | 16214 | |
8998d5bf ZW |
16215 | * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global. |
16216 | (rs6000_altivec_vrsave_string): Same. | |
16217 | (rs6000_override_options): Call rs6000_parse_vrsave_option. | |
16218 | (rs6000_parse_vrsave_option): New. | |
16219 | (rs6000_stack_info): Only generate vrsave instructions when | |
16220 | TARGET_ALTIVEC_VRSAVE. | |
08b57fb3 | 16221 | |
8998d5bf ZW |
16222 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option. |
16223 | (rs6000_altivec_vrsave_string): Define extern. | |
16224 | (rs6000_altivec_vrsave): Same. | |
16225 | (TARGET_ALTIVEC_VRSAVE): New. | |
08b57fb3 | 16226 | |
8e8c38cd RH |
16227 | 2002-04-30 Richard Henderson <rth@redhat.com> |
16228 | ||
16229 | PR opt/6516 | |
16230 | * toplev.c (rest_of_compilation): Don't run cross-jump before | |
16231 | bb-reorder. | |
16232 | ||
4be9e9cb TR |
16233 | 2002-04-30 Tom Rix <trix@redhat.com> |
16234 | ||
8998d5bf | 16235 | * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity |
4be9e9cb TR |
16236 | check which_alternative. |
16237 | ||
1eeeb6a4 KH |
16238 | 2002-04-30 Kazu Hirata <kazu@hxi.com> |
16239 | ||
16240 | * cpplex.c: Fix comment formatting. | |
16241 | * function.c: Likewise. | |
16242 | * integrate.c: Likewise. | |
16243 | * regrename.c: Likewise. | |
16244 | * sibcall.c: Likewise. | |
16245 | * simplify-rtx.c: Likewise. | |
16246 | * tree-inline.c: Likewise. | |
16247 | ||
ed9d6ff9 JDA |
16248 | 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16249 | ||
16250 | * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*, | |
16251 | hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*, | |
16252 | hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*, | |
16253 | hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file. | |
16254 | * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete. | |
16255 | * pa/x-ada: New file. Define ADA_CFLAGS. | |
16256 | ||
1f2641b6 HPN |
16257 | 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com> |
16258 | ||
16259 | * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed | |
16260 | from MMIX_LAST_REGISTER_FILE_REGNUM. | |
16261 | (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment. | |
16262 | (struct machine_function): New member highest_saved_stack_register | |
16263 | previously static variable in mmix.c. | |
16264 | (MACHINE_DEPENDENT_REORG): Define. | |
16265 | * config/mmix/mmix.c (highest_saved_stack_register): Deleted. | |
16266 | (MMIX_OUTPUT_REGNO): New. | |
16267 | (mmix_target_asm_function_prologue): Move calculation of last used | |
16268 | saved-stack-register into... | |
16269 | (mmix_machine_dependent_reorg): New function. Update to also handle | |
16270 | !TARGET_ABI_GNU. | |
16271 | (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting | |
16272 | register names, simplify somewhat by new variable regno. | |
16273 | <case 'p'>: Remove fixed FIXME. Always emit highest used saved | |
16274 | register. | |
16275 | (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when | |
16276 | emitting register names. | |
16277 | (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto. | |
16278 | (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too. | |
16279 | Remove fixed FIXME. | |
16280 | * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): | |
16281 | Declare. | |
16282 | ||
16283 | * config/mmix/mmix.md ("divmoddi4"): Update head comment. | |
16284 | ||
73985940 RH |
16285 | 2002-04-30 Richard Henderson <rth@redhat.com> |
16286 | ||
16287 | * config/sparc/sparc.c (emit_soft_tfmode_libcall, | |
16288 | emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt, | |
16289 | emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop, | |
16290 | emit_tfmode_cvt): New. | |
16291 | * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2, | |
16292 | trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2, | |
16293 | fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2, | |
16294 | addtf3, subtf3, multf3, divtf3, sqrttf2): Use them. | |
16295 | * config/sparc/sparc-protos.h: Update. | |
16296 | ||
2b46bc67 JJ |
16297 | 2002-04-30 Janis Johnson <janis187@us.ibm.com> |
16298 | ||
16299 | * install.texi (Final install): Add to the list of info to include | |
16300 | in a report of a successful bootstrap, and add link to 3.1 list. | |
16301 | ||
3d34cd91 JH |
16302 | Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz> |
16303 | ||
16304 | * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1. | |
16305 | (mode): Add vector modes | |
16306 | (i387): Kill attribute. | |
16307 | (unit): New attribute. | |
16308 | (length_immediate): Grok new types. | |
16309 | (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX. | |
16310 | (modrm): Use "unit". | |
16311 | (memory): Handle MMX/SSE properly. | |
16312 | (scheduling descriptions): Kill uses of fop1. | |
16313 | (sse, mmx, fp patterns): Set type and mode properly. | |
16314 | ||
243e5500 | 16315 | Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@redhat.com) |
3193c415 | 16316 | |
30482eb0 JL |
16317 | * pa.c (override_options): Default to PA8000 scheduling. |
16318 | * doc/invoke.texi (HP-PA options): Mention newly added 7300 | |
16319 | scheduling parameter. | |
16320 | ||
3193c415 JL |
16321 | * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine |
16322 | handling of double precision multiplies. | |
16323 | ||
16324 | * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of | |
16325 | fpdiv and fpsqrt instructions. | |
16326 | (7200 & 7300 scheduling): Fix typo in handling of | |
16327 | store-load and store-store penalties. | |
16328 | ||
c0a34cb7 GP |
16329 | 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
16330 | ||
16331 | * doc/contrib.texi (Contributors): Use MIPS instead of Mips and | |
16332 | mips. Add two missing commas. | |
16333 | ||
8bce0628 PC |
16334 | 2002-04-30 Paolo Carlini <pcarlini@unitus.it> |
16335 | ||
16336 | * doc/contrib.texi (Contributors): Update Paolo Carlini's | |
16337 | and Benjamin Kosnik's entries. | |
16338 | ||
84643cbf DM |
16339 | 2002-04-29 David S. Miller <davem@redhat.com> |
16340 | ||
16341 | * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK, | |
16342 | SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III. | |
16343 | * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise. | |
16344 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
16345 | ||
da6886f6 FS |
16346 | 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
16347 | ||
16348 | * combine.c (find_split_point): Use gen_int_mode. | |
16349 | ||
fae15c93 VM |
16350 | 2002-04-29 Vladimir Makarov <vmakarov@redhat.com> |
16351 | ||
16352 | Merging code from dfa-branch: | |
8998d5bf | 16353 | |
fae15c93 VM |
16354 | 2002-04-24 Vladimir Makarov <vmakarov@redhat.com> |
16355 | ||
16356 | * genautomata.c (output_reserv_sets): Fix typo. | |
16357 | ||
16358 | 2002-04-23 Vladimir Makarov <vmakarov@redhat.com> | |
16359 | ||
16360 | * genautomata.c (output_reserv_sets): Remove | |
16361 | next_cycle_output_flag. | |
16362 | ||
16363 | Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com) | |
16364 | ||
8998d5bf ZW |
16365 | * sched-rgn.c (init_ready_list): Make the DFA code handle |
16366 | USE/CLOBBER insns in the same way as the traditional | |
16367 | scheduler. | |
16368 | (new_ready): Similarly.. | |
fae15c93 VM |
16369 | |
16370 | 2002-04-17 Vladimir Makarov <vmakarov@redhat.com> | |
16371 | ||
16372 | * haifa-sched.c (schedule_block): Change the DFA state only after | |
16373 | issuing insn. | |
16374 | ||
16375 | Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com) | |
16376 | ||
16377 | * pa.c (hppa_use_dfa_pipeline_interface): New function. | |
16378 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define. | |
16379 | (override_options): Add PA7300 scheduling support. | |
16380 | (pa_adjust_cost): Update various comments. Properly | |
16381 | handle anti and output dependencies when using the | |
16382 | DFA scheduler. | |
16383 | (pa_issue_rate): Add PA7300 scheduling support. | |
16384 | (pa_can_combine_p): Call extract_insn before calling | |
16385 | constrain_operands (taken from mainline tree). | |
16386 | * pa.h (enum processor_type): Add PROCESSOR_PA7300. | |
16387 | * pa.md (cpu attr): Add 7300. Rewrite pipeline | |
16388 | descriptions using DFA descriptions. Add PA7300 | |
16389 | scheduling support. | |
16390 | ||
16391 | 2002-03-30 David S. Miller <davem@redhat.com> | |
16392 | ||
16393 | Add UltraSPARC-III DFA scheduling support. | |
16394 | * config/sparc/sparc.md (define_attr type): Add fpcrmove. | |
16395 | Update FP conditional move on register insn patterns to use it, as | |
16396 | appropriate. | |
16397 | (define_attr cpu): Add ultrasparc3. | |
16398 | (define_attr us3load_type): New, update integer load patterns to | |
16399 | set it, as appropriate. | |
16400 | (define_automaton): Add ultrasparc3_0 and ultrasparc3_1. | |
16401 | (rest): Add UltraSPARC3 scheduling description. | |
16402 | * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New. | |
16403 | (PROCESSOR_ULTRASPARC3): New. | |
16404 | ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3. | |
16405 | ({ASM,CPP}_CPU_SPEC): Likewise. | |
16406 | (REGISTER_MOVE_COST): Likewise. | |
16407 | (RTX_COSTS): Likewise. | |
16408 | * config/sparc/sparc.c (sparc_override_options, | |
16409 | sparc_initialize_trampoline, sparc64_initialize_trampoline, | |
16410 | sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
16411 | sparc_issue_rate): Likewise. | |
16412 | * config/sparc/sol2.h: Likewise. | |
16413 | * config/sparc/sol2-sld-64.h: Likewise. | |
16414 | * config/sparc/linux64.h: Likewise. | |
8998d5bf | 16415 | |
fae15c93 VM |
16416 | 2002-03-22 Vladimir Makarov <vmakarov@redhat.com> |
16417 | ||
16418 | * doc/md.texi: Add comments about usage the latency time for the | |
16419 | different dependencies and about case when two or more conditions | |
16420 | in different define_insn_reservations returns TRUE for an insn. | |
16421 | ||
16422 | * doc/md.texi: Add reference for automaton based pipeline | |
16423 | description. | |
8998d5bf | 16424 | |
fae15c93 VM |
16425 | 2002-03-04 Vladimir Makarov <vmakarov@redhat.com> |
16426 | ||
16427 | * doc/passes.texi: Add missed information about genattrtab. | |
16428 | ||
16429 | 2002-03-01 Vladimir Makarov <vmakarov@redhat.com> | |
16430 | ||
16431 | * genautomata.c (output_automata_list_transition_code): Check | |
16432 | automata_list on NULL. | |
16433 | ||
16434 | 2002-02-28 Vladimir Makarov <vmakarov@redhat.com> | |
16435 | ||
16436 | * genautomata.c (output_insn_code_cases, | |
16437 | output_automata_list_min_issue_delay_code, | |
16438 | output_automata_list_transition_code, | |
16439 | output_automata_list_state_alts_code): Comment the functions. | |
16440 | ||
16441 | 2002-02-22 Vladimir Makarov <vmakarov@redhat.com> | |
16442 | ||
16443 | * genautomata.c (automata_list_el_t): New typedef. | |
16444 | (get_free_automata_list_el,free_automata_list_el, | |
16445 | free_automata_list, automata_list_hash, automata_list_eq_p, | |
16446 | initiate_automata_lists, automata_list_start, automata_list_add, | |
16447 | automata_list_finish, finish_automata_lists, | |
16448 | output_insn_code_cases, output_automata_list_min_issue_delay_code, | |
16449 | output_automata_list_transition_code, | |
16450 | output_automata_list_state_alts_code, add_automaton_state, | |
16451 | form_important_insn_automata_lists): New functions and prototypes. | |
16452 | (insn_reserv_decl): Add members important_automata_list and | |
16453 | processed_p. | |
16454 | (ainsn): Add members important_p. | |
16455 | (automata_list_el): New structure. | |
16456 | (first_free_automata_list_el, current_automata_list, | |
16457 | automata_list_table): New global variables. | |
16458 | (create_ainsns): Initiate member important_p. | |
16459 | (output_internal_min_issue_delay_func): Generate the switch and | |
16460 | call output_insn_code_cases. | |
16461 | (output_internal_trans_func, output_internal_state_alts_func): | |
16462 | Ditto. | |
16463 | (generate): Call initiate_automata_lists. | |
16464 | (automaton_states): New global variable. | |
16465 | (expand_automata): Call form_important_insn_automata_lists. | |
16466 | (write_automata): Call finish_automata_lists. | |
8998d5bf | 16467 | |
fae15c93 VM |
16468 | 2002-02-21 Vladimir Makarov <vmakarov@redhat.com> |
16469 | ||
16470 | * genautomata.c (add_excls, add_presence_absence): Check that | |
8998d5bf | 16471 | cpu units in the sets belong the same automaton. |
fae15c93 VM |
16472 | |
16473 | * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment | |
16474 | about that cpu units in the sets belong the same automaton. | |
16475 | ||
16476 | * doc/md.texi: Ditto. | |
8998d5bf | 16477 | |
2799d721 VM |
16478 | 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com> |
16479 | Nitin Gupta <niting@noida.hcltech.com> | |
8998d5bf | 16480 | |
fae15c93 VM |
16481 | * config/sh/sh.c (sh_use_dfa_interface): New function. |
16482 | ||
16483 | (sh_issue_rate): New Function. | |
16484 | TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define. | |
16485 | TARGET_SCHED_ISSUE_RATE: define. | |
16486 | ||
16487 | * config/sh/sh.md: Add DFA based pipeline description for SH4. | |
16488 | ||
8998d5bf ZW |
16489 | (define_attr insn_class): New attribute used for DFA |
16490 | scheduling. | |
fae15c93 VM |
16491 | (define_insn cmpgtsi_t): Set attribute insn_class mt_group. |
16492 | (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t, | |
16493 | cmpeqdi_t): Likewise. | |
16494 | ||
16495 | (add,addc1,addsi3,subc,subc1,*subsi3_internal, | |
8998d5bf | 16496 | negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class |
fae15c93 VM |
16497 | ex_group. |
16498 | (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise. | |
8998d5bf | 16499 | |
fae15c93 VM |
16500 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> |
16501 | ||
16502 | * haifa-sched.c (queue_to_ready): Remove unnecessary condition for | |
16503 | break. | |
16504 | ||
16505 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> | |
16506 | ||
16507 | * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro. | |
16508 | (output_dfa_insn_code_func): Expand dfa_insn_codes if it is | |
16509 | necessary. | |
16510 | (output_dfa_start_func): Initiate new variable insn_codes_length, | |
16511 | (write_automata): Output definition of the new variable. | |
8998d5bf | 16512 | |
fae15c93 VM |
16513 | 2001-10-02 David S. Miller <davem@redhat.com> |
16514 | ||
16515 | * haifa-sched.c (advance_one_cycle): New function. | |
16516 | (schedule_block): Use it. | |
16517 | (queue_to_ready): Use it, and also make sure to advance the DFA | |
16518 | state on all stall cycles, not just those where insn_queue links | |
16519 | are found. | |
16520 | ||
16521 | 2001-10-02 Richard Sandiford <rsandifo@redhat.com> | |
16522 | ||
16523 | * haifa-sched.c (max_issue): Remove last_p argument. Only return | |
16524 | non-zero if the highest-priority instruction could be scheduled. | |
16525 | (choose_ready): Remove last argument from max_issue call. | |
16526 | ||
16527 | 2001-09-28 David S. Miller <davem@redhat.com> | |
16528 | ||
16529 | * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for | |
16530 | ultrasparc and 3 for other multi-issue sparcs. | |
16531 | ||
16532 | 2001-09-27 David S. Miller <davem@redhat.com> | |
16533 | ||
16534 | * config/sparc/sparc.md (cycle_display): New pattern. | |
16535 | * config/sparc/sparc.c (sparc_cycle_display): New. | |
16536 | (TARGET_SCHED_CYCLE_DISPLAY): Set it. | |
16537 | ||
16538 | 2001-09-25 David S. Miller <davem@redhat.com> | |
16539 | ||
981f6289 | 16540 | Convert all of SPARC scheduling to DFA |
fae15c93 VM |
16541 | * config/sparc/sparc.md: Kill all define_function_unit |
16542 | directives and replace with DFA equivalent. | |
16543 | * config/sparc/sparc.c (ultrasparc_adjust_cost, | |
16544 | mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p, | |
16545 | ultra_fpmode_conflict_exists, ultra_find_type, | |
16546 | ultra_build_types_avail, ultra_flush_pipeline, | |
16547 | ultra_rescan_pipeline_state, ultrasparc_sched_reorder, | |
16548 | ultrasparc_variable_issue, ultrasparc_sched_init, | |
16549 | sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask, | |
16550 | ultra_schedule_insn, ultra_code_names, ultra_pipe_hist, | |
16551 | ultra_cur_hist, ultra_cycles_elapsed): Kill. | |
16552 | (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
16553 | ultrasparc_store_bypass_p): New. | |
16554 | * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p): | |
16555 | Declare. | |
16556 | ||
16557 | 2001-09-24 David S. Miller <davem@redhat.com> | |
16558 | ||
16559 | * haifa-sched.c (ready_remove): Fix thinko, we want to copy around | |
16560 | ready->vec[foo] not ready[foo]. | |
16561 | ||
16562 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
16563 | ||
16564 | * doc/md.texi: Correct examples for define_insn_reservations | |
16565 | `mult' and `div'. | |
16566 | ||
16567 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
16568 | ||
16569 | * genautomata.c (create_automata): Print message about creation of | |
16570 | each automaton. | |
16571 | (generate): Remove printing meease about creation of | |
16572 | automata. | |
16573 | ||
16574 | 2001-09-05 David S. Miller <davem@redhat.com> | |
16575 | ||
16576 | * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC. | |
16577 | * config/sparc/linux64.h: Likewise. | |
16578 | ||
16579 | 2001-08-31 Vladimir Makarov <vmakarov@redhat.com> | |
16580 | ||
16581 | * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready, | |
16582 | schedule_block, sched_init, sched_finish): Add missed calls of | |
16583 | use_dfa_pipeline_interface. | |
16584 | ||
16585 | * sched-rgn.c (init_ready_list, new_ready, debug_dependencies): | |
16586 | Ditto. | |
16587 | ||
16588 | * sched-vis.c (get_visual_tbl_length): Ditto. | |
8998d5bf | 16589 | |
fae15c93 VM |
16590 | 2001-08-27 Richard Henderson <rth@redhat.com> |
16591 | ||
16592 | * genattr.c (main): Emit state_t even when not doing scheduling. | |
16593 | ||
16594 | 2001-08-27 Richard Henderson <rth@redhat.com> | |
16595 | ||
16596 | * genautomata.c (expand_automata): Always create a description. | |
16597 | ||
16598 | 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> | |
16599 | ||
8998d5bf | 16600 | * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET, |
fae15c93 VM |
16601 | PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON, |
16602 | AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New | |
16603 | RTL constructions. | |
16604 | ||
16605 | * genattr.c (main): New variable num_insn_reservations. Increase | |
16606 | it if there is DEFINE_INSN_RESERVATION. Output automaton based | |
16607 | pipeline hazard recognizer interface. | |
16608 | ||
16609 | * genattrtab.h: New file. | |
16610 | ||
16611 | * genattrtab.c: Include genattrtab.h. | |
16612 | (attr_printf, check_attr_test, make_internal_attr, | |
16613 | make_numeric_value): Move protypes into genattrtab.h. Define them | |
16614 | as external. | |
16615 | (num_dfa_decls): New global variable. | |
16616 | (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, | |
16617 | DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET, | |
16618 | DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION, | |
16619 | DEFINE_INSN_RESERVATION. Call expand_automata and write_automata. | |
16620 | ||
16621 | * genautomata.c: New file. | |
16622 | ||
16623 | * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them. | |
16624 | ||
8998d5bf | 16625 | * sched-int.h: (curr_state): Add the external definition for |
fae15c93 VM |
16626 | automaton pipeline interface. |
16627 | (haifa_insn_data): Add comments for members blockage and units. | |
16628 | ||
16629 | * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
16630 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
16631 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
16632 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
16633 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
16634 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
16635 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New | |
16636 | macros. | |
16637 | (TARGET_SCHED): Use the new macros. | |
16638 | ||
16639 | * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn, | |
16640 | dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn, | |
16641 | first_cycle_multipass_dfa_lookahead, init_dfa_bubbles, | |
16642 | dfa_bubble): New members in gcc_target.sched. | |
16643 | ||
8998d5bf | 16644 | * haifa-sched.c (insert_schedule_bubbles_p): New variable. |
fae15c93 VM |
16645 | (MAX_INSN_QUEUE_INDEX): New macro for automaton interface. |
16646 | (insn_queue): Redefine it as pointer to array. | |
16647 | (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of | |
16648 | INSN_QUEUE_SIZE. | |
16649 | (max_insn_queue_index_macro_value): New variable. | |
16650 | (curr_state, dfa_state_size, ready_try): New varaibles for | |
16651 | automaton interface. | |
16652 | (ready_element, ready_remove, max_issue): New function prototypes | |
16653 | for automaton interface. | |
16654 | (choose_ready): New function prototype. | |
16655 | (insn_unit, blockage_range): Add comments. | |
16656 | (unit_last_insn, unit_tick, unit_n_insns): Define them for case | |
16657 | FUNCTION_UNITS_SIZE == 0. | |
16658 | (insn_issue_delay, actual_hazard_this_instance, schedule_unit, | |
16659 | actual_hazard, potential_hazard): Add comments. | |
16660 | (insn_cost): Use cost -1 as undefined value. Remove | |
16661 | LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton | |
16662 | pipeline interface. | |
16663 | (ready_element, ready_remove): New functions for automaton | |
16664 | interface. | |
16665 | (schedule_insn): Add new code for automaton pipeline interface. | |
16666 | (queue_to_ready): Add new code for automaton pipeline interface. | |
16667 | Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE. | |
16668 | (debug_ready_list): Print newline when the queue is empty. | |
16669 | (max_issue): New function for automaton pipeline interface. | |
16670 | (choose_ready): New function. | |
16671 | (schedule_block): Add new code for automaton pipeline interface. | |
16672 | Print ready list before scheduling each insn. | |
16673 | (sched_init): Add new code for automaton pipeline interface. | |
16674 | Initiate insn cost by -1. | |
16675 | (sched_finish): Free the current automaton state and finalize | |
16676 | automaton pipeline interface. | |
16677 | ||
16678 | * sched-rgn.c: Include target.h. | |
16679 | (init_ready_list, new_ready, debug_dependencies): Add new code for | |
16680 | automaton pipeline interface. | |
16681 | ||
16682 | * sched-vis.c: Include target.h. | |
16683 | (get_visual_tbl_length): Add code for automaton interface. | |
16684 | (target_units, print_block_visualization): Add comments. | |
16685 | ||
8998d5bf | 16686 | * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB, |
fae15c93 VM |
16687 | USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables. |
16688 | (sched-rgn.o, sched-vis.o): Add new dependency file target.h. | |
16689 | (getruntime.o, genautomata.o): New entries. | |
16690 | (genattrtab.o): Add new dependency file genattrtab.h. | |
16691 | (genattrtab): Add new dependencies. Link it with `libm.a'. | |
16692 | (getruntime.o, hashtab.o): New entries for canadian cross. | |
16693 | ||
16694 | * doc/md.texi: Description of automaton based model. | |
16695 | ||
16696 | * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST): | |
16697 | Add comments. | |
16698 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
16699 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
16700 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
16701 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
16702 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
16703 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
16704 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new | |
16705 | hook descriptions. | |
16706 | (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE, | |
16707 | MAX_DFA_ISSUE_RATE): New macro descriptions. | |
16708 | ||
16709 | * doc/contrib.texi: Add dfa based scheduler contribution. | |
16710 | ||
16711 | * doc/gcc.texi: Add more information about genattrtab. | |
16712 | ||
a2ff290c RK |
16713 | Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
16714 | ||
16715 | * reload1.c (eliminate_regs, case SUBREG): Fix typo in | |
16716 | adjust_address_nv call. | |
16717 | ||
f97903cc JJ |
16718 | 2002-04-29 Janis Johnson <janis187@us.ibm.com> |
16719 | ||
16720 | * doc/install.texi (Testing): Provide additional information, and | |
16721 | a stronger encouragement, for running the testsuites. | |
16722 | ||
f41a6bf1 DD |
16723 | 2002-04-29 DJ Delorie <dj@redhat.com> |
16724 | ||
16725 | * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is | |
16726 | given in upper case. | |
16727 | ||
d8af0868 RO |
16728 | 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
16729 | ||
16730 | * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in | |
16731 | Solaris 2 <widec.h> if missing. | |
16732 | * fixinc/fixincl.x: Regenerate. | |
16733 | * fixinc/tests/base/widec.h: New file. | |
16734 | ||
1034407f NC |
16735 | 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com> |
16736 | ||
16737 | * toplev.c (f_options): Add "profile" switch so that | |
16738 | -fno-profile can be used to disable -p. | |
16739 | ||
fbe5eb6d BS |
16740 | 2002-04-29 Bernd Schmidt <bernds@redhat.com> |
16741 | ||
16742 | * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode, | |
16743 | UV2DImode. | |
16744 | * tree.c (build_common_tree_nodes_2): Likewise. | |
16745 | * tree.h (enum tree_index): Likewise. | |
16746 | (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define. | |
16747 | ||
16748 | * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2 | |
16749 | entries. | |
16750 | (init_mmx_sse_builtins): Initialize SSE2 builtins. | |
16751 | (ix86_expand_builtin): Add support for SSE2 builtins. | |
16752 | * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro. | |
16753 | (VALID_SSE_REG_MODE): Use it. | |
16754 | (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well. | |
16755 | (enum ix86_builtins): Add SSE2 builtins. | |
16756 | * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal, | |
16757 | movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi, | |
16758 | addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3, | |
16759 | divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3, | |
16760 | sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2, | |
16761 | vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3, | |
16762 | vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb, | |
16763 | sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps, | |
16764 | cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi, | |
16765 | cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss, | |
16766 | cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3, | |
16767 | ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3, | |
16768 | subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3, | |
16769 | mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3, | |
16770 | sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3, | |
16771 | sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd, | |
16772 | sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3, | |
16773 | gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3, | |
16774 | ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3, | |
16775 | ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3, | |
16776 | sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw, | |
16777 | sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq, | |
16778 | sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd, | |
16779 | sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq, | |
16780 | sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd, | |
16781 | sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence, | |
16782 | lfence_insn): New patterns. | |
16783 | (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from | |
16784 | sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2. | |
16785 | ||
44aefada JH |
16786 | Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz> |
16787 | ||
16788 | * i386.md (sse_mov?fcc*): Revert patch of Mar 14th. | |
16789 | ||
d5482cdc GP |
16790 | 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
16791 | ||
16792 | * doc/contrib.texi (Contributors): Add Paolo Carlini and | |
16793 | Janis Johnson. | |
16794 | Update Richard Henderson, Jakub Jelinek, and Mark Mitchell. | |
16795 | Refer to Objective-C instead of ObjC, SPARC instead of sparc, | |
16796 | and CPU instead of cpu. | |
16797 | ||
2c4b77f3 JH |
16798 | Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
16799 | ||
16800 | * toplev.c (flag_if_conversion, flag_if_conversion2): New static | |
16801 | variables. | |
16802 | (lang_independent_options): Add -fif-conversion, -fif-conversion2 | |
16803 | (rest_of_compilation): Do if conversion only when asked for. | |
16804 | (parse_options_and_default_flags): Set new variables to 1 for -O1 | |
16805 | * invoke.texi (-fif-conversion, -fif-conversion2): Document. | |
16806 | ||
3de72741 JH |
16807 | Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz> |
16808 | ||
16809 | * i386.c (dbx64_register_map): Fix typo. | |
16810 | ||
8aa18a7d JH |
16811 | Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz> |
16812 | ||
16813 | * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base, | |
16814 | real_one_half, real_bb_freq_max): New static variables. | |
16815 | (debug_profile_bbauxs): Kill. | |
16816 | (process_note_predictions): Kill unused variable. | |
16817 | (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of | |
16818 | volatile double. | |
16819 | (propagate_freq): Use REAL_ARITHMETICS. | |
16820 | (estimate_bb_frequencies): Likevise; init new static variables. | |
16821 | * Makefile.in (predict.o): Add dependency on real.h | |
16822 | ||
1bbad4c6 DM |
16823 | 2002-04-28 David S. Miller <davem@redhat.com> |
16824 | ||
16825 | PR target/6500 | |
16826 | * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs. | |
16827 | 64-bit TARGET_V9. Do not use prefetch page, use prefetch for | |
16828 | several {reads,writes} instead. | |
16829 | * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): | |
16830 | Define. | |
16831 | ||
3ef3f384 DM |
16832 | 2002-04-27 David S. Miller <davem@redhat.com> |
16833 | ||
16834 | PR target/6494 | |
16835 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful | |
16836 | of the stack bias. | |
16837 | ||
16838 | * config/sparc/linux.h, config/sparc/linux64.h: Don't bother | |
16839 | including signal.h and sys/ucontext.h, not needed. | |
16840 | ||
ec493bcb HPN |
16841 | 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com> |
16842 | ||
16843 | * varasm.c (output_constant_def): Correct test for not calling | |
16844 | ENCODE_SECTION_INFO for INTEGER_CST. | |
16845 | ||
60284a59 NB |
16846 | 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk> |
16847 | ||
16848 | * cppexp.c (lex): Move some code to _cpp_parse_expr, but | |
16849 | keep most cases as function eval_token. | |
16850 | (eval_token): New function. | |
16851 | (_cpp_parse_expr): Read token here for improved diagnostics. | |
16852 | Don't use op_as_text. Detect bad ':' here. | |
16853 | (reduce): Don't detect bad ':' here. | |
16854 | (op_as_text): Remove. | |
16855 | * cpphash.h (_cpp_test_assertion): Change prototype. | |
16856 | * cpplib.c (_cpp_test_assertion): Change prototype. | |
16857 | ||
349a4b40 RH |
16858 | 2002-04-28 Richard Henderson <rth@redhat.com> |
16859 | ||
16860 | PR c/5154 | |
8998d5bf | 16861 | * ggc-common.c (ggc_mark_rtx_children_1): Rename from... |
349a4b40 RH |
16862 | (ggc_mark_rtx_children): New. |
16863 | ||
7a03f82f JJ |
16864 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
16865 | ||
16866 | PR target/6496 | |
16867 | * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump | |
16868 | after call peepholes for UltraSPARC. | |
16869 | (call + jump 64-bit peepholes): Remove. | |
16870 | ||
80103f96 FS |
16871 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
16872 | ||
16873 | PR c/6497 | |
16874 | * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use | |
16875 | result as temporary value. | |
16876 | ||
06990986 JJ |
16877 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
16878 | ||
16879 | PR c++/6396 | |
16880 | * toplev.c (rest_of_compilation): Only run regrename and copy | |
16881 | propagation if optimizing. | |
16882 | ||
a20fd5ac JJ |
16883 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
16884 | ||
16885 | PR optimization/6475 | |
16886 | * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo | |
16887 | register of REGNO_DECL (i). | |
16888 | * Makefile.in (reload1.o): Add $(TREE_H). | |
16889 | ||
87ed109f NB |
16890 | 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk> |
16891 | ||
16892 | * cppexp.c (lex): Update to use state.skip_eval. | |
16893 | (struct op): Remove prio and flags members. | |
16894 | (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS, | |
16895 | SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove. | |
16896 | (LEFT_ASSOC): New macro. | |
16897 | (optab): New table of operator priorities and flags. | |
16898 | (SHIFT): Update. | |
16899 | (_cpp_parse_expr): Clean up logic. Return bool. Use a | |
16900 | malloc-ed parser stack. | |
16901 | (reduce): New; reduce the operator stack. | |
16902 | (_cpp_expand_op_stack): Expand the operator stack as necessary. | |
16903 | * cpphash.h (struct op): Predeclare. | |
16904 | (struct cpp_reader): New members op_stack, op_limit. | |
16905 | (struct lexer_state): New member skip_eval. | |
16906 | (_cpp_parse_expr): Update. | |
16907 | (_cpp_expand_op_stack): New. | |
16908 | * cpplib.c (do_if): Update. | |
16909 | * cppinit.c (cpp_create_reader): Create op stack. | |
16910 | (cpp_destroy): And destroy it. | |
16911 | * cpplib.h (CPP_LAST_CPP_OP): Correct. | |
16912 | (TTYPE_TABLE): Correct. | |
16913 | ||
45806a3f FS |
16914 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
16915 | ||
16916 | PR c/6343 | |
16917 | * c-decl.c (duplicate_decls): Call merge_weak. | |
16918 | * c-pragma.c (apply_pragma_weak): Warn about misuse. | |
16919 | * output.h (merge_weak): Prototype merge_weak. | |
16920 | * varasm.c (merge_weak): New function. | |
16921 | (declare_weak): Make sure we don't give an error on VAR_DECLs. | |
16922 | Mark RTL with SYMBOL_REF_WEAK. | |
16923 | ||
a6227154 KG |
16924 | 2002-04-27 Kurt Garloff <garloff@suse.de> |
16925 | ||
16926 | * tree-inline.c (inlinable_function_p): Improve heuristics | |
16927 | by using a smoother function to cut down allowable inlinable size. | |
16928 | * param.def: Add parameters max-inline-insns-single, | |
16929 | max-inline-slope, min-inline-insns that determine the exact | |
16930 | shape of the above function. | |
16931 | * param.h: Likewise. | |
16932 | ||
94a50397 RH |
16933 | 2002-04-26 Richard Henderson <rth@redhat.com> |
16934 | ||
16935 | * c-parse.in (malloced_yyss, malloced_yyvs): New. | |
16936 | (yyoverflow): Re-add. Set them. | |
16937 | (free_parser_stacks): New. | |
16938 | * c-common.h: Declare it. | |
16939 | * c-lex.c (c_common_parse_file): Call it. | |
16940 | ||
9c0a0632 RH |
16941 | 2002-04-26 Richard Henderson <rth@redhat.com> |
16942 | ||
16943 | * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn | |
16944 | for fallthru search. | |
16945 | ||
b875d2ee EC |
16946 | 2002-04-26 Eric Christopher <echristo@redhat.com> |
16947 | ||
16948 | PR optimization/3700 | |
16949 | * config/mips/mips.c (mips_issue_rate): Define. New function. | |
16950 | (TARGET_SCHED_ISSUE_RATE): Use. | |
16951 | ||
1db828df DM |
16952 | 2002-04-25 David S. Miller <davem@redhat.com> |
16953 | ||
16954 | PR target/6422 | |
16955 | * reorg.c (optimize_skip): Do not allow exception causing | |
16956 | instructions to be considered for delay slots. | |
16957 | (fill_simply_delay_slots, fill_slots_from_thread): Likewise. | |
16958 | (relax_delay_slots): Do not try to consider exception causing | |
16959 | instructions as redundant. | |
16960 | ||
ae5d234e RH |
16961 | 2002-04-26 Richard Henderson <rth@redhat.com> |
16962 | ||
16963 | PR c/5225 | |
16964 | * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue. | |
16965 | ||
7d793e9b MM |
16966 | 2002-04-26 Mark Mitchell <mark@codesourcery.com> |
16967 | ||
16968 | PR bootstrap/6445 | |
16969 | * config/i386/i386.md (untyped_call): Return the value in a float | |
16970 | register if TARGET_FLOAT_RETURNS_IN_80387, not just if | |
16971 | TARGET_80387. | |
16972 | ||
b13ab42c AO |
16973 | 2002-04-26 Alexandre Oliva <aoliva@redhat.com> |
16974 | ||
16975 | * tree.c (tree_int_cst_lt): Compare constants whose types differ | |
16976 | in unsigned-ness correctly. | |
16977 | ||
5e56f909 JDA |
16978 | 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16979 | ||
16980 | * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the | |
16981 | portable runtime model. | |
16982 | ||
bde3c0c0 RH |
16983 | 2002-04-26 Richard Henderson <rth@redhat.com> |
16984 | ||
a6227154 | 16985 | * c-parse.in (yyoverflow): Revert. |
bde3c0c0 | 16986 | |
5276df18 DE |
16987 | 2002-04-26 David Edelsohn <edelsohn@gnu.org> |
16988 | Richard Henderson <rth@redhat.com> | |
16989 | ||
16990 | * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use | |
16991 | result as temporary value. | |
16992 | ||
b84a3874 RH |
16993 | 2002-04-26 Richard Henderson <rth@redhat.com> |
16994 | ||
16995 | PR c/3581 | |
16996 | * c-common.c (fix_string_type): Split out of ... | |
16997 | (combine_strings): ... here. Take a varray, not a tree list. | |
16998 | (c_expand_builtin_printf): Use fix_string_type. | |
16999 | * c-common.h: Update decls. | |
17000 | * c-parse.in (string): Remove. Update all uses to use STRING | |
17001 | instead, and not call combine_strings. | |
17002 | (yylexstring): New. | |
17003 | (_yylex): Use it. | |
17004 | * c-typeck.c (simple_asm_stmt): Don't call combine_strings. | |
17005 | (build_asm_stmt): Likewise. | |
17006 | * objc/objc-act.c (my_build_string): Use fix_string_type. | |
17007 | (build_objc_string_object): Build varray for combine_strings. | |
17008 | ||
d8ae8cd4 BT |
17009 | 2002-04-26 Bo Thorsen <bo@suse.co.uk> |
17010 | ||
17011 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for | |
17012 | x86-64. | |
17013 | ||
f8b954fc NB |
17014 | 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk> |
17015 | ||
17016 | * cppexp.c (CPP_UMINUS, CPP_UPLUS): New. | |
17017 | (HAVE_NO_R_OPERAND): Remove. | |
17018 | (HAVE_VALUE): Remove. | |
17019 | (op_to_prio): Update. | |
17020 | (UNARY): Don't alter flags. | |
17021 | (_cpp_parse_expr): want_value used to indicate whether | |
17022 | a number or unary operator is expected next. Distinguish | |
17023 | unary and binary +/-. | |
17024 | (op_as_text): Update for unary operators. | |
17025 | ||
6052bef0 RH |
17026 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17027 | ||
17028 | PR c/2161 | |
17029 | * c-parse.in (yyoverflow): New. | |
17030 | ||
5c5b2283 RH |
17031 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17032 | ||
17033 | PR c/2098 | |
17034 | * c-common.c (shorten_compare): Simplfy conditions leading to | |
17035 | the generation of a warning. | |
17036 | ||
28ce94d4 RH |
17037 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17038 | ||
17039 | PR c/2035 | |
17040 | * expmed.c (extract_bit_field): Fall through to generic code rather | |
17041 | than aborting on subreg special case. | |
17042 | ||
6bfd0c63 DM |
17043 | 2002-04-25 David S. Miller <davem@redhat.com> |
17044 | ||
17045 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check | |
17046 | for DECL being NULL. | |
17047 | ||
7a430e3b SC |
17048 | 2002-04-25 Steve Christiansen <smc@us.ibm.com> |
17049 | ||
17050 | * doc/md.texi (Machine Constraints): Add IA-64 constraints. | |
17051 | ||
45c42d7d EB |
17052 | 2002-04-25 Eric Botcazou <ebotcazou@multimania.com> |
17053 | ||
17054 | * c-decl.c (grokdeclarator): Remove outdated ??? note | |
17055 | on invalid declaration of flexible array members. | |
17056 | ||
eb7715a4 RH |
17057 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17058 | ||
17059 | * doc/invoke.texi: Document -gdwarf{,-2} vs debug level. | |
17060 | ||
cf5ee720 UW |
17061 | 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
17062 | ||
17063 | * config/s390/s390.c (s390_emit_epilogue): Always restore registers | |
17064 | needed by the compiler, even if they are used as global regs. | |
17065 | ||
d604bca3 MH |
17066 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
17067 | ||
17068 | * mips.c (mips_class_max_nregs, mips_register_move_cost): New | |
17069 | functions. | |
17070 | * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls | |
17071 | of the corresponding functions. | |
17072 | * mips-protos.h (mips_class_max_nregs, mips_register_move_cost): | |
17073 | New prototypes. | |
b875d2ee | 17074 | |
d604bca3 MH |
17075 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
17076 | ||
17077 | * config/mips/mips.h (mips_sw_reg_names): Declare as extern. | |
17078 | ||
17079 | (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro. | |
17080 | (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor | |
17081 | registers, adjust comment accordingly. | |
17082 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, | |
17083 | reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES, | |
17084 | DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries | |
17085 | for coprocessor registers. | |
17086 | (ADDITIONAL_REGISTER_NAMES): Include | |
17087 | ALL_COP_ADDITIONAL_REGISTER_NAMES. | |
b875d2ee | 17088 | |
d604bca3 MH |
17089 | (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM, |
17090 | COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM, | |
17091 | COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM, | |
17092 | COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P, | |
17093 | COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros. | |
17094 | ||
17095 | (mips_char_to_class): Adjust comment to include coprocessor | |
17096 | constraint letters. | |
17097 | ||
17098 | * config/mips/mips.c (coprocessor_operand, coprocessor2_operand): | |
17099 | New functions. | |
17100 | (mips_reg_names, mips_regno_to_class): Include coprocessor | |
17101 | information. | |
17102 | (mips_sw_reg_names): Ditto, make non-static. | |
17103 | (mips_move_1word): Handle moves to and from coprocessor registers. | |
17104 | (mips_move_2words): Handle moves to and from coprocessor | |
17105 | registers. | |
17106 | (mips_class_max_nregs, mips_register_move_cost): Handle | |
17107 | coprocessor register classes. | |
17108 | (override_options): Initialize mips_char_to_class and | |
17109 | mips_hard_regno_mode_ok properly for coprocessor registers. | |
17110 | ||
17111 | * config/mips/mips.md (movdi_internal, movdi_internal2, | |
17112 | movsi_internal1, movsi_internal2): Add constraint-sets for | |
17113 | coprocessor registers. | |
17114 | * testsuite/gcc.c-torture/mipscop-1.c: New testcase. | |
17115 | * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target | |
17116 | isn't mips. | |
17117 | * testsuite/gcc.c-torture/mipscop-2.c: New testcase. | |
17118 | * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target | |
17119 | isn't mips. | |
17120 | * testsuite/gcc.c-torture/mipscop-3.c: New testcase. | |
17121 | * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target | |
17122 | isn't mips. | |
17123 | * testsuite/gcc.c-torture/mipscop-4.c: New testcase. | |
17124 | * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target | |
17125 | isn't mips. | |
b875d2ee | 17126 | |
d604bca3 MH |
17127 | * doc/tm.texi: Document feature. |
17128 | ||
b9a26d09 NB |
17129 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
17130 | ||
17131 | * integrate.c (function_attribute_inlinable_p): Simplify. | |
17132 | Check the table pointer is not NULL. | |
17133 | ||
ab5973b7 SB |
17134 | 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl> |
17135 | ||
17136 | * doc/c-tree.texi: Fix typo in introduction. | |
17137 | ||
ff45c01e NB |
17138 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
17139 | ||
17140 | * c-common.h (c_common_parse_file): Update. | |
17141 | * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
17142 | * c-lex.c (YYDEBUG): Get from c-lex.h. | |
17143 | (c_common_parse_file): Update. | |
17144 | * c-lex.h (YYDEBUG, yydebug): New. | |
17145 | * c-parse.in (YYDEBUG): Get from c-lex.h. | |
17146 | (c_set_yydebug): Remove. | |
17147 | * c-tree.h (c_set_yydebug): Remove. | |
17148 | * langhooks-def.h (lhd_do_nothing_i): New. | |
17149 | (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove. | |
17150 | (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update. | |
17151 | * langhooks.c (lhd_do_nothing_i): New. | |
17152 | (lhd_set_yydebug): Remove. | |
17153 | * langhooks.h (struct lang_hooks): Update. | |
17154 | * toplev.c (set_yydebug): New. | |
17155 | (compile_file): Update call to parse_file hook. | |
17156 | (decode_d_option): Update. | |
17157 | objc: | |
17158 | * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
17159 | ||
fcae219a R |
17160 | Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com> |
17161 | ||
17162 | * loop.c (load_mems): Don't change the interface of called functions. | |
17163 | ||
17164 | * calls.c (expand_call): Take current_function_pretend_args_size | |
17165 | into account when setting argblock for sibcalls. | |
17166 | ||
d0fea45a MH |
17167 | 2002-04-24 Matt Hiller <hiller@redhat.com> |
17168 | ||
17169 | * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS. | |
17170 | * c-lex.c: Ditto. | |
17171 | ||
17172 | * cpplex.c (skip_line_comment): Process comment one multibyte | |
17173 | character at a time rather than one char at a time, if | |
17174 | appropriate. | |
17175 | (parse_string): Process string one multibyte character at a time | |
17176 | rather than one char at a time, if appropriate. | |
17177 | * c-lex.c (lex_string): Lex and copy multibyte strings | |
17178 | appropriately. | |
17179 | * cpplib.h (cppchar_t): Change to unsigned. | |
17180 | ||
2d1b5436 RH |
17181 | 2002-04-24 Richard Henderson <rth@redhat.com> |
17182 | ||
17183 | PR c/3467 | |
17184 | * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays | |
17185 | for c99. | |
17186 | ||
5e039e6b R |
17187 | Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com> |
17188 | ||
17189 | * sh.c (sh_va_arg): If argument was passed by reference, | |
17190 | dereference the pointer. | |
309d8365 R |
17191 | |
17192 | * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
51214775 R |
17193 | |
17194 | * sh.md (divsi3_i4_media): Use match_operand for input values | |
17195 | rather than hard registers. | |
17196 | (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values | |
17197 | unnecessarily through hard registers. Keep copies of pseudo | |
17198 | registers outside of the libcall sequence. | |
17199 | ||
17200 | * sh.md (casesi_shift_media): Add modes. | |
b700634a R |
17201 | |
17202 | * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode | |
17203 | values in memory. | |
17204 | ||
349ae713 NB |
17205 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
17206 | ||
17207 | * attribs.c (c_common_attribute_table): Move table and handlers | |
17208 | to c-common.c. | |
17209 | (format_attribute_table, lang_attribute_table, | |
17210 | lang_attribute_common): Remove. | |
17211 | (init_attributes): Replace NULL pointers with pointers to the | |
17212 | empty table. | |
17213 | (handle_packed_attribute, handle_nocommon_attribute, | |
17214 | handle_common_attribute, handle_noreturn_attribute, | |
17215 | handle_noinline_attribute, handle_always_inline_attribute, | |
17216 | handle_used_attribute, handle_unused_attribute, | |
17217 | handle_const_attribute, handle_transparent_union_attribute, | |
17218 | handle_constructor_attribute, handle_destructor_attribute, | |
17219 | handle_mode_attribute, handle_section_attribute, | |
17220 | handle_aligned_attribute, handle_weak_attribute, | |
17221 | handle_alias_attribute, handle_visibility_attribute, | |
17222 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
17223 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
17224 | handle_deprecated_attribute, handle_vector_size_attribute, | |
17225 | vector_size_helper): Move to c-common.c. | |
17226 | * c-common.c (c_common_attribute_table, | |
17227 | handle_packed_attribute, handle_nocommon_attribute, | |
17228 | handle_common_attribute, handle_noreturn_attribute, | |
17229 | handle_noinline_attribute, handle_always_inline_attribute, | |
17230 | handle_used_attribute, handle_unused_attribute, | |
17231 | handle_const_attribute, handle_transparent_union_attribute, | |
17232 | handle_constructor_attribute, handle_destructor_attribute, | |
17233 | handle_mode_attribute, handle_section_attribute, | |
17234 | handle_aligned_attribute, handle_weak_attribute, | |
17235 | handle_alias_attribute, handle_visibility_attribute, | |
17236 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
17237 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
17238 | handle_deprecated_attribute, handle_vector_size_attribute, | |
17239 | vector_size_helper): Move from attribs.c. | |
17240 | * c-common.h (c_common_attribute_table, | |
17241 | c_common_format_attribute_table): New. | |
17242 | * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
17243 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
17244 | * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, | |
17245 | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New. | |
17246 | (LANG_HOOKS_INITIALIZER): Update. | |
17247 | * langhooks.h (struct lang_hooks): 3 new attribute hooks. | |
17248 | * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL. | |
17249 | * target.h: Update comment. | |
17250 | * tree.c (default_target_attribute_table): Remove. | |
17251 | * tree.h (default_target_attribute_table, format_attribute_table, | |
17252 | lang_attribute_table, lang_attribute_common): Remove. | |
17253 | objc: | |
17254 | * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
17255 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
17256 | ||
84f0ace0 JM |
17257 | 2002-04-24 Jason Merrill <jason@redhat.com> |
17258 | ||
17259 | * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector. | |
17260 | * dwarf2out.c (dwarf_attr_name): Support it. | |
17261 | (gen_array_type_die): Emit it. | |
17262 | (lookup_type_die): No special handling for VECTOR_TYPE. | |
17263 | (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die. | |
17264 | ||
120eaf28 RH |
17265 | 2002-04-24 Richard Henderson <rth@redhat.com> |
17266 | ||
17267 | * config/mips/mips.md (movdi_usd): Renumber. | |
17268 | ||
e732178c DM |
17269 | 2002-04-24 David S. Miller <davem@redhat.com> |
17270 | ||
17271 | PR target/6420 | |
17272 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if | |
981f6289 | 17273 | 32-bit SPARC and current_function_returns_struct is true. |
e732178c | 17274 | |
e879eb2f JH |
17275 | Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
17276 | ||
17277 | * loop.c (canonicalize_condition): Use gen_int_mode. | |
17278 | ||
4287a893 AH |
17279 | 2002-04-24 Aldy Hernandez <aldyh@redhat.com> |
17280 | ||
17281 | * config/rs6000/altivec.h: Cleanup file. Add non individual | |
17282 | variants. | |
17283 | (vec_vaddubm): New. | |
17284 | (vec_vadduhm): New. | |
17285 | (vec_vadduwm): New. | |
17286 | (vec_vaddfp): New. | |
17287 | (vec_vaddcuw): New. | |
17288 | (vec_vaddubs): New. | |
17289 | (vec_vaddsbs): New. | |
17290 | (vec_vadduhs): New. | |
17291 | (vec_vadduws): New. | |
17292 | (vec_vaddsws): New. | |
17293 | (vec_vand): New. | |
17294 | (vec_vandc): New. | |
17295 | (vec_vavgub): New. | |
17296 | (vec_vavgsb): New. | |
17297 | (vec_vavguh): New. | |
17298 | (vec_vavgsh): New. | |
17299 | (vec_vavguw): New. | |
17300 | (vec_vavgsw): New. | |
17301 | (vec_vrfip): New. | |
17302 | (vec_vcmpbfp): New. | |
17303 | (vec_vcmpequb): New. | |
17304 | (vec_vcmpequh): New. | |
17305 | (vec_vcmpequw): New. | |
17306 | (vec_vcmpeqfp): New. | |
17307 | (vec_vcmpgefp): New. | |
17308 | (vec_vcmpgtub): New. | |
17309 | (vec_vcmpgtsb): New. | |
17310 | (vec_vcmpgtuh): New. | |
17311 | (vec_vcmpgtsh): New. | |
17312 | (vec_vcmpgtuw): New. | |
17313 | (vec_vcmpgtsw): New. | |
17314 | (vec_vcmpgtfp): New. | |
17315 | (vec_vcmpgefp): New. | |
17316 | (vec_vcfux): New. | |
17317 | (vec_vcfsx): New. | |
17318 | (vec_vctsxs): New. | |
17319 | (vec_vctuxs): New. | |
17320 | (vec_vexptefp): New. | |
17321 | (vec_vrfim): New. | |
17322 | (vec_lvx): New. | |
17323 | (vec_lvebx): New. | |
17324 | (vec_lvehx): New. | |
17325 | (vec_lde): Add vector float variant. | |
17326 | (vec_lvewx): New. | |
17327 | (vec_lvxl): New. | |
17328 | (vec_vlogefp): New. | |
17329 | (vec_vmaddfp): New. | |
17330 | (vec_vmhaddshs): New. | |
17331 | (vec_vmaxub): New. | |
17332 | (vec_vmaxsb): New. | |
17333 | (vec_vmaxuh): New. | |
17334 | (vec_vmaxsh): New. | |
17335 | (vec_vmaxuw): New. | |
17336 | (vec_vmaxsw): New. | |
17337 | (vec_vmaxsw): New. | |
17338 | (vec_vmaxfp): New. | |
17339 | (vec_vmrghb): New. | |
17340 | (vec_vmrghh): New. | |
17341 | (vec_vmrghw): New. | |
17342 | (vec_vmrglb): New. | |
17343 | (vec_vmrglh): New. | |
17344 | (vec_vmrglw): New. | |
17345 | (vec_vminub): New. | |
17346 | (vec_vminsb): New. | |
17347 | (vec_vminuh): New. | |
17348 | (vec_vminsh): New. | |
17349 | (vec_vminuw): New. | |
17350 | (vec_vminsw): New. | |
17351 | (vec_vminfp): New. | |
17352 | (vec_vmladduhm): New. | |
17353 | (vec_vmhraddshs): New. | |
17354 | (vec_msumubm): New. | |
17355 | (vec_vmsummbm): New. | |
17356 | (vec_vmsumuhm): New. | |
17357 | (vec_vmsumshm): New. | |
17358 | (vec_vmsumuhs): New. | |
17359 | (vec_vmsumshs): New. | |
17360 | (vec_vmuleub): New. | |
17361 | (vec_vmulesb): New. | |
17362 | (vec_vmuleuh): New. | |
17363 | (vec_vmulesh): New. | |
17364 | (vec_vmuloub): New. | |
17365 | (vec_mulosb): New. | |
17366 | (vec_vmulouh): New. | |
17367 | (vec_vmulosh): New. | |
17368 | (vec_vnmsubfp): New. | |
17369 | (vec_vnor): New. | |
17370 | (vec_vor): New. | |
17371 | (vec_vpkuhum): New. | |
17372 | (vec_vpkuwum): New. | |
17373 | (vec_vpkpx): New. | |
17374 | (vec_vpkuhus): New. | |
17375 | (vec_vpkshss): New. | |
17376 | (vec_vpkuwus): New. | |
17377 | (vec_vpkswss): New. | |
17378 | (vec_vpkshus): New. | |
17379 | (vec_vpkswus): New. | |
17380 | (vec_vperm): New. | |
17381 | (vec_vrefp): New. | |
17382 | (vec_vrlb): New. | |
17383 | (vec_vrlh): New. | |
17384 | (vec_vrlw): New. | |
17385 | (vec_vrfin): New. | |
17386 | (vec_vrsqrtefp): New. | |
17387 | (vec_vsel): New. | |
17388 | (vec_vslb): New. | |
17389 | (vec_vslh): New. | |
17390 | (vec_vslw): New. | |
17391 | (vec_vsldoi): New. | |
17392 | (vec_vsl): New. | |
17393 | (vec_vslo): New. | |
17394 | (vec_vspltb): New. | |
17395 | (vec_vsplth): New. | |
17396 | (vec_vspltw): New. | |
17397 | (vec_vspltisb): New. | |
17398 | (vec_vspltish): New. | |
17399 | (vec_vspltisw): New. | |
17400 | (vec_vsrb): New. | |
17401 | (vec_vsrh): New. | |
17402 | (vec_vsrw): New. | |
17403 | (vec_vsrab): New. | |
17404 | (vec_vsrah): New. | |
17405 | (vec_vsraw): New. | |
17406 | (vec_vsr): New. | |
17407 | (vec_vsro): New. | |
17408 | (vec_stvx): New. | |
17409 | (vec_stvebx): New. | |
17410 | (vec_stvehx): New. | |
17411 | (vec_stvewx): New. | |
17412 | (vec_stvxl): New. | |
17413 | (vec_vsububm): New. | |
17414 | (vec_vsubuhm): New. | |
17415 | (vec_vsubuwm): New. | |
17416 | (vec_vsubfp): New. | |
17417 | (vec_vsubcuw): New. | |
17418 | (vec_vsububs): New. | |
17419 | (vec_vsubsbs): New. | |
17420 | (vec_vsubuhs): New. | |
17421 | (vec_vsubshs): New. | |
17422 | (vec_vsubuws): New. | |
17423 | (vec_vsubsws): New. | |
17424 | (vec_vsum4ubs): New. | |
17425 | (vec_vsum4sbs): New. | |
17426 | (vec_vsum4shs): New. | |
17427 | (vec_vsum2sws): New. | |
17428 | (vec_vsumsws): New. | |
17429 | (vec_vrfiz): New. | |
17430 | (vec_vupkhsb): New. | |
17431 | (vec_vupkhpx): New. | |
17432 | (vec_vupkhsh): New. | |
17433 | (vec_vupklsb): New. | |
17434 | (vec_vupklpx): New. | |
17435 | (vec_vupklsh): New. | |
17436 | (vec_vxor): New. | |
17437 | ||
cff27795 EB |
17438 | 2002-04-23 Eric Botcazou <ebotcazou@multimania.com> |
17439 | ||
17440 | PR c/5430 | |
17441 | * fold-const.c (split_tree): Add MINUS_LITP parameter; separate | |
17442 | added literals from substracted literals. | |
17443 | (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR. | |
17444 | (fold) [associate]: Preserve MINUS_EXPR if needed. | |
17445 | ||
952bca84 ZW |
17446 | 2002-04-23 Zack Weinberg <zack@codesourcery.com> |
17447 | ||
17448 | * doc/install.texi: Clarify which versions of alpha*-dec-osf* | |
17449 | are obsoleted. | |
17450 | ||
50cb2154 TT |
17451 | 2002-04-23 Tom Tromey <tromey@redhat.com> |
17452 | ||
17453 | * gcc.c: Added --resource. For PR java/6314. | |
17454 | ||
271f61fb DB |
17455 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
17456 | ||
9566d1e9 | 17457 | * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg. |
271f61fb DB |
17458 | * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of |
17459 | these libraries. | |
17460 | ||
bdabbc80 DB |
17461 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
17462 | ||
17463 | * config/freebsd.h(OBJECT_FORMAT_ELF): Define. | |
17464 | ||
74411039 JH |
17465 | Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
17466 | ||
17467 | * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug | |
17468 | workaround. | |
17469 | (ix86_expand_int_movcc): Avoid x86_64 compilation chrash. | |
17470 | (ix86_expand_clrstr): Fix typo. | |
17471 | * loop.c (gen_load_of_final_value): New. | |
17472 | (loop_givs_rescan, strength_reduce, check_dbra_loop): | |
17473 | Use it. | |
17474 | ||
1a887f86 RS |
17475 | 2002-04-23 Roger Sayle <roger@eyesopen.com> |
17476 | ||
17477 | * builtins.c (builtin_memset_gen_str): New function. | |
17478 | (expand_builtin_memset): Optimize the case of constant length, but | |
17479 | unknown value. | |
17480 | ||
8d3441e0 AH |
17481 | 2002-04-23 Aldy Hernandez <aldyh@redhat.com> |
17482 | ||
cff27795 EB |
17483 | * config/rs6000/altivec.h (vec_step): Remove extraneous |
17484 | parentheses. | |
17485 | (vec_ctu): Cast return. | |
8d3441e0 | 17486 | |
f6f315fe AM |
17487 | 2002-04-23 Alan Modra <amodra@bigpond.net.au> |
17488 | ||
17489 | PR target/6413 | |
17490 | * function.h: (struct function): Add profile_label_no field. | |
17491 | (current_function_profile_label_no): Define. | |
17492 | * function.c: (profile_label_no): New static var. | |
17493 | (expand_function_start): Increment it, and copy to | |
17494 | current_function_profile_label_no. | |
17495 | * output.h (profile_label_no): Delete. | |
17496 | * final.c (profile_label_no): Delete. | |
17497 | (profile_function): Use current_function_profile_label_no. | |
17498 | (final_end_function): Don't increment profile_label_no here. | |
17499 | * config/i386/i386.c (ix86_osf_output_function_prologue): Replace | |
17500 | profile_label_no with current_function_profile_label_no. | |
17501 | * config/pa/pa.c (current_function_number): Delete. | |
17502 | (pa_output_function_prologue): Don't output profile label here. | |
17503 | (hppa_profile_hook): Use label_no param rather than | |
17504 | current_function_number. | |
17505 | (FUNC_BEGIN_PROLOG_LABEL): Move to .. | |
17506 | * config/pa/pa.h: .. here. | |
17507 | (FUNCTION_PROFILER): Output profile label here. | |
17508 | ||
d239cdc0 EC |
17509 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
17510 | ||
17511 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert | |
17512 | patch of 2002-04-09 due to binutils issues. | |
17513 | (FUNCTION_ARG_REGNO_P): Ensure even numbered float register. | |
17514 | ||
04428ad4 AH |
17515 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
17516 | ||
cff27795 EB |
17517 | * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm' |
17518 | constraint to 'o' for m=r and r=m alternatives. | |
17519 | ("*movv8hi_internal1"): Same. | |
17520 | ("*movv16qi_internal1"): Same. | |
17521 | ("*movv4sf_internal1"): Same. | |
04428ad4 | 17522 | |
2adc7f12 JJ |
17523 | 2002-04-22 Janis Johnson <janis187@us.ibm.com> |
17524 | ||
17525 | * rtl.h (RTX_FLAG): New macro. | |
17526 | * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags. | |
17527 | * final.c (alter_subreg): Use macro to access rtx flag. | |
17528 | * integrate.c (copy_rtx_and_substitute): Use new access macro. | |
17529 | * print-rtl.c (print_rtx): Use new access macro. | |
17530 | ||
17531 | * cse.c (insert): Check rtx code before accessing flag. | |
17532 | ||
17533 | * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P, | |
17534 | ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New. | |
17535 | (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test, | |
17536 | convert_const_symbol_ref, make_canonical, make_alternative_compare, | |
17537 | evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp, | |
17538 | simplify_test_exp, optimize_attrs, simplify_by_exploding, | |
17539 | find_and_mark_used_attributes, unmark_used_attributes, | |
17540 | add_values_to_cover, simplify_with_current_value, | |
17541 | simplify_with_current_value_aux, clear_struct_flag, walk_attr_value, | |
17542 | copy_rtx_unchanging, main): Use new access macros. | |
17543 | ||
b7c89afe TR |
17544 | 2002-04-22 Tom Rix <trix@redhat.com> |
17545 | ||
17546 | * expmed.c (init_expmed): Generate shifted constant once. | |
17547 | ||
9340544b ZW |
17548 | 2002-04-22 Zack Weinberg <zack@codesourcery.com> |
17549 | ||
17550 | * c-lex.c (lex_charconst): Call convert to get constant in | |
17551 | proper type; don't just smash the type field. | |
17552 | Fixes PR c/6300. | |
17553 | ||
17554 | * config.gcc: Add list of obsolete configurations. Disallow | |
17555 | building these without --enable-obsolete. | |
17556 | * doc/install.texi: Document --enable-obsolete and obsoletion | |
17557 | policy. Mention obsoletion of individual targets in | |
17558 | appropriate places. | |
17559 | ||
f942d7a5 RH |
17560 | 2002-04-22 Richard Henderson <rth@redhat.com> |
17561 | ||
17562 | * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New. | |
17563 | ||
17564 | 2002-04-22 Mark Mitchell <mark@codesourcery.com> | |
8ed8f731 MM |
17565 | |
17566 | PR f/6138. | |
17567 | * function.c (fixup_memory_subreg): Add promoted_mode parameter. | |
17568 | (walk_fixup_memory_subreg): Likewise. | |
17569 | (fixup_var_refs_insn): Adjust accordingly. | |
17570 | (fixup_var_refs_1): Likewise. | |
17571 | ||
232b0b45 UW |
17572 | 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com> |
17573 | ||
17574 | * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, | |
17575 | LIBPATH_ARCH64_SPEC): Define. | |
17576 | (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64. | |
17577 | (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath. | |
17578 | (LINK_ARCH31_SPEC): Add libpath_arch31 to search path. | |
17579 | (LINK_ARCH64_SPEC): Add libpath_arch64 to search path. | |
17580 | ||
1b61552b JS |
17581 | 2002-04-22 Joel Sherrill <joel@OARcorp.com> |
17582 | ||
17583 | * gthr-rtems.h: Correct prototypes to remove warnings. | |
17584 | ||
0fe854a7 RH |
17585 | 2002-04-22 Richard Henderson <rth@redhat.com> |
17586 | ||
17587 | PR c/6344 | |
17588 | * alias.c (canon_true_dependence): Special case (mem:blk (scratch)). | |
17589 | ||
17590 | * gcse.c (free_insn_expr_list_list): New. | |
17591 | (clear_modify_mem_tables): Use it. Fix bit set usage. | |
17592 | (canon_list_insert): Use EXPR_LISTs for expressions. | |
17593 | (record_last_mem_set_info): Factor BLOCK_NUM (insn). | |
17594 | ||
af0d16cd NB |
17595 | 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk> |
17596 | ||
17597 | * cppfiles.c (_cpp_pop_file_buffer): Return void. Move | |
17598 | file change and include code to _cpp_pop_buffer. | |
17599 | * cpphash.h (struct pending_option): Predeclare. | |
17600 | (struct cpp_reader): New member next_include_file. | |
17601 | (_cpp_pop_file_buffer): Update. | |
17602 | (_cpp_push_next_buffer): Update, rename. | |
17603 | * cppinit.c (cpp_destroy): Free include chain and pending here. | |
17604 | (cpp_finish_options): Simplify. | |
17605 | (_cpp_push_next_buffer): Rename and clean up. | |
17606 | * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer. | |
17607 | Clarify. | |
17608 | * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here. | |
17609 | ||
0d918572 AH |
17610 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
17611 | ||
0fe854a7 RH |
17612 | * config/rs6000/altivec.h (vec_xor): Add variant for both args |
17613 | being vector signed int. | |
17614 | (vec_andc): Same. | |
17615 | (vec_xor): Add variant for both args being vector signed char. | |
17616 | Remove redundant variant. | |
17617 | (vec_andc): Same. | |
0d918572 | 17618 | |
77e2c290 DM |
17619 | 2002-04-21 David S. Miller <davem@redhat.com> |
17620 | ||
17621 | * config/sparc/sparc.md (set then compare DI mode peephole2): Fix | |
17622 | compare mode in output RTL. | |
17623 | ||
ee2ca2a2 DE |
17624 | 2002-04-22 David Edelsohn <edelsohn@gnu.org> |
17625 | ||
17626 | * config/rs6000/rs6000.c (rs6000_override_options): Correct | |
17627 | style and formatting of previous patch. | |
17628 | ||
894bdff6 AM |
17629 | 2002-04-22 Alan Modra <amodra@bigpond.net.au> |
17630 | ||
17631 | * config/rs6000/rs6000.c (rs6000_override_options): Always clear | |
17632 | flag_pic for ABI_AIX. | |
17633 | ||
562a5c27 NB |
17634 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
17635 | ||
17636 | * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. | |
17637 | * cppfiles.c (read_include_file): Similarly. | |
17638 | * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, | |
17639 | uxstrdup ustrchr, ufputs): Similarly. | |
17640 | * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. | |
17641 | * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, | |
17642 | cpp_ideq, parse_identifier, parse_number): Similarly. | |
17643 | * cpplib.c (struct directive, dequote_string, D, run_directive, | |
17644 | cpp_push_buffer): Similarly. | |
17645 | * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, | |
17646 | _cpp_create_definition, check_trad_stringification, | |
17647 | cpp_macro_definition): Similarly. | |
17648 | ||
9ac3b1be NB |
17649 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
17650 | ||
17651 | * cppmacro.c (funlike_invocation_p): Don't step back | |
17652 | over CPP_EOF. | |
17653 | ||
9dda4cc8 DE |
17654 | 2002-04-21 David Edelsohn <edelsohn@gnu.org> |
17655 | ||
17656 | * config/rs6000/rs6000.c (output_profile_hook): Do not increment | |
17657 | labelno. | |
17658 | ||
20764052 JM |
17659 | 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk> |
17660 | ||
17661 | * doc/invoke.texi: Remove Chill references. | |
17662 | * doc/gcc.texi: Update last modified date. | |
17663 | ||
26b29884 KH |
17664 | 2002-04-20 Kazu Hirata <kazu@hxi.com> |
17665 | ||
17666 | * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary | |
17667 | push and pop. Replace add.l with add.w. | |
17668 | ||
59184677 TM |
17669 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
17670 | ||
17671 | * config/h8300/lib1funcs.asm (___mulsi3): Use hardware | |
17672 | multiply instructions for H8/300H case. | |
17673 | ||
b1113e0a TM |
17674 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
17675 | ||
17676 | * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): | |
17677 | Bum three instructions from each routine. | |
17678 | ||
b03e38e1 NB |
17679 | 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk> |
17680 | ||
17681 | * Makefile.in: Update. | |
17682 | * decl.c (push_c_function_context, pop_c_function_context, | |
17683 | mark_c_function_context): Rename for consistency. | |
17684 | * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere. | |
17685 | * c-tree.h (push_c_function_context, pop_c_function_context, | |
17686 | mark_c_function_context): Rename for consistency. | |
17687 | * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
17688 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
17689 | * function.c (init_lang_status, save_lang_status, | |
17690 | restore_lang_status, mark_lang_status, free_lang_status): | |
17691 | Move to langhooks.h. | |
17692 | (push_function_context_to, pop_function_context_from, | |
17693 | free_after_parsing, prepare_function_start, ggc_mark_struct_function): | |
17694 | Update. | |
17695 | * function.h (init_lang_status, save_lang_status, | |
17696 | restore_lang_status, mark_lang_status, free_lang_status): | |
17697 | Move to langhooks.h. | |
17698 | * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT, | |
17699 | LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
17700 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK, | |
17701 | LANG_HOOKS_FUNCTION_INITIALIZER): New. | |
17702 | (LANG_HOOKS_INITIALIZER): Update. | |
17703 | (lhd_do_nothing_f): New. | |
17704 | * langhooks.h (struct lang_hooks_for_functions): New. | |
17705 | (struct lang_hooks): New hooks. | |
17706 | * langhooks.c (lhd_do_nothing_f): New. | |
17707 | objc: | |
17708 | * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
17709 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
17710 | ||
db430d26 DM |
17711 | 2002-04-19 David S. Miller <davem@redhat.com> |
17712 | ||
17713 | * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. | |
17714 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise. | |
17715 | ||
0f2a3457 JJ |
17716 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
17717 | ||
17718 | PR optimization/3756 | |
17719 | * config/i386/i386.c (ix86_expand_int_movcc): Optimize | |
17720 | x = ((int) y < 0) ? cst1 : cst2. | |
17721 | ||
ce5e43d0 JJ |
17722 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
17723 | ||
17724 | PR c/6358 | |
17725 | * function.c: Reapply patch for c/6358. | |
17726 | (expand_function_end): Copy decl_rtl's mode, not | |
17727 | current_function_return_rtx mode. | |
17728 | ||
17729 | 2002-04-19 Joel Sherrill <joel@OARcorp.com> | |
9eb83f6c JS |
17730 | |
17731 | * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF | |
17732 | targets. | |
17733 | ||
40e7f8ea TT |
17734 | 2002-04-19 Tom Tromey <tromey@redhat.com> |
17735 | ||
17736 | * doc/install.texi (Specific): Update status of Solaris 2.8. | |
17737 | For PR libgcj/6158. | |
17738 | ||
62a12b27 AS |
17739 | 2002-04-19 Andreas Schwab <schwab@suse.de> |
17740 | ||
17741 | * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE. | |
17742 | (PUT_REAL): Restore old definition. | |
17743 | ||
1405141b DN |
17744 | 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu> |
17745 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
17746 | ||
17747 | * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that | |
17748 | binutils 2.11.2 and higher generate smaller binaries than Sun's | |
17749 | native tools. | |
17750 | ||
303a3927 MM |
17751 | 2002-04-19 Mark Mitchell <mark@codesourcery.com> |
17752 | ||
17753 | PR c++/6352 | |
17754 | * toplev.c (rest_of_compilation): Do not defer functions for which | |
17755 | TREE_SYMBOL_REFERENCED has already been set. | |
17756 | ||
de80110b JH |
17757 | Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz> |
17758 | ||
17759 | * i386.md (movsi_1, movhi_1): Force reload to use more flexible | |
17760 | alternative. | |
17761 | ||
ab393bf1 NB |
17762 | 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk> |
17763 | ||
17764 | * builtins.c: Include langhooks.h. | |
17765 | (lang_type_promotes_to): Remove. | |
17766 | (expand_builtin_va_arg): Use new hook. | |
17767 | * c-common.c (c_common_nodes_and_builtins): Don't set hook. | |
17768 | (simple_type_promotes_to): Move to c-typeck.c. | |
17769 | * c-common.h (simple_type_promotes_to): Remove. | |
17770 | * c-decl.c (duplicate_decls, grokdeclarator): Update. | |
17771 | * c-format.c: Include langhooks.h. | |
17772 | (check_format_types): Update. | |
17773 | * c-tree.h (c_type_promotes_to): New. | |
17774 | * c-typeck.c (c_type_promotes_to): Move from c-common.c. | |
17775 | (type_lists_compatible_p): Update. | |
17776 | * langhooks-def.h (lhd_type_promotes_to): New. | |
17777 | (LANG_HOOKS_TYPE_PROMOTES_TO): New. | |
17778 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
17779 | * langhooks.c (lhd_type_promotes_to): New. | |
17780 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
17781 | * tree.h (lang_type_promotes_to): Remove. | |
17782 | objc: | |
17783 | * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine. | |
17784 | ||
0cd3301b RH |
17785 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17786 | ||
58533fa2 | 17787 | * function.c: Revert patch for c/6358. |
0cd3301b RH |
17788 | |
17789 | 2002-04-18 Richard Henderson <rth@redhat.com> | |
17790 | ||
58533fa2 RH |
17791 | * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN |
17792 | blocks. Handle multiple references to the TRAP block. Handle | |
17793 | non-adjacent THEN and OTHER blocks. | |
0cd3301b | 17794 | |
58533fa2 RH |
17795 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17796 | ||
17797 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't | |
17798 | crash with no type for by-mode libcalls. | |
17799 | ||
17800 | * config/ia64/ia64.md (conditional_trap): Fix predicate polarity. | |
0cd3301b | 17801 | |
57174693 BW |
17802 | 2002-04-18 Bob Wilson <bob.wilson@acm.org> |
17803 | ||
17804 | * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill, | |
17805 | __xtensa_nonlocal_goto): Use a syscall instructions to flush | |
17806 | the register windows. | |
17807 | ||
46468cd9 ZW |
17808 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
17809 | ||
17810 | * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as | |
17811 | appropriate. Document need for extended precision even when | |
17812 | MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here, | |
17813 | based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size | |
17814 | REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error | |
17815 | instead of relying on later syntax error when REAL_WIDTH > 5. | |
17816 | * real.c: Define NE based only on whether or not we have a | |
17817 | full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT). | |
17818 | Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally | |
17819 | define GET_REAL and PUT_REAL as simple memcpy operations; no | |
17820 | need to byteswap or round. | |
17821 | Use #error instead of #ifdef-ing out the entire file, for | |
17822 | prompt error detection. | |
17823 | ||
17824 | * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here. | |
17825 | ||
2f82dbf8 DM |
17826 | 2002-04-18 David S. Miller <davem@redhat.com> |
17827 | ||
17828 | * config/sparc/sparc.h (BRANCH_COST): Define. | |
17829 | ||
17830 | * fold-const.c (BRANCH_COST): Don't provide default here, expr.h | |
17831 | does it. | |
17832 | ||
566576e7 HPN |
17833 | 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com> |
17834 | ||
17835 | * flow.c (update_life_info): Ignore return value of cleanup_cfg. | |
17836 | Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in | |
17837 | propagate_block calls after relaxation loop using new variable | |
17838 | stabilized_prop_flags. | |
17839 | ||
51dcde6f RH |
17840 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17841 | ||
17842 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New. | |
17843 | (ia64_va_arg): Expect variable sized types by reference. | |
17844 | * config/ia64/ia64-protos.h: Update. | |
46468cd9 | 17845 | * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use |
51dcde6f RH |
17846 | ia64_function_arg_pass_by_reference. |
17847 | ||
26406018 RH |
17848 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17849 | ||
46468cd9 ZW |
17850 | * ifcvt.c: Include except.h. |
17851 | (block_has_only_trap): Break out from find_cond_trap. | |
17852 | (find_cond_trap): Use it. Always delete the trap block. | |
17853 | (merge_if_block): Allow then block null. Be less simplistic about | |
17854 | what insns can end a block. | |
17855 | * Makefile.in (ifcvt.o): Depend on except.h. | |
96b453dc | 17856 | |
26406018 RH |
17857 | * config/ia64/ia64.md (trap, conditional_trap): New. |
17858 | ||
a3acf46d JJ |
17859 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
17860 | ||
17861 | PR c/6358 | |
17862 | * function.c (assign_parms): Assign hard current_function_return_rtx | |
17863 | register here... | |
17864 | (expand_function_end): ...not here. | |
17865 | ||
7a228918 NB |
17866 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
17867 | ||
17868 | * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
17869 | * c-tree.h (c_incomplete_type_error): New. | |
17870 | * c-typeck.c (require_complete_type, build_component_ref): Update. | |
17871 | (incomplete_type_error): Rename. | |
17872 | * langhooks-def.h (lhd_incomplete_type_error): New. | |
17873 | (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New. | |
17874 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
17875 | * langhooks.c (lhd_incomplete_type_error): New. | |
17876 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
17877 | * tree.c (size_in_bytes): Use new hook. | |
17878 | * tree.h (incomplete_type_error): Remove. | |
17879 | objc: | |
17880 | * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
17881 | ||
f18664c1 ZW |
17882 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
17883 | ||
17884 | * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT != | |
17885 | TARGET_FLOAT_FORMAT blocks. | |
17886 | ||
8ecab453 GP |
17887 | 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
17888 | ||
17889 | * doc/install.texi (Downloading the source): Do not mention Chill | |
17890 | any longer, but mention Ada. | |
17891 | (Configuration): Do not mention Chill any longer. | |
17892 | ||
528d8489 HPN |
17893 | 2002-04-18 Hans-Peter Nilsson <hp@axis.com> |
17894 | ||
17895 | * config/cris/cris.h (TARGET_VERSION): Remove local version number. | |
17896 | ||
91da27c5 JH |
17897 | Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz> |
17898 | ||
17899 | * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution | |
17900 | in last patch. | |
17901 | ||
a32db605 JJ |
17902 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
17903 | ||
17904 | * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) | |
17905 | instead of unsigned_type. | |
17906 | ||
5a28d8cc JH |
17907 | Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
17908 | ||
17909 | * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check. | |
17910 | * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped | |
17911 | later. | |
17912 | ||
3d980b9f BS |
17913 | 2002-04-18 Bernd Schmidt <bernds@redhat.com> |
17914 | ||
17915 | * attribs.c (vector_type_node_list): New static variable. | |
17916 | (handle_vector_size_attribute): Use it to avoid generating a | |
17917 | new type node each time we are called. | |
17918 | ||
2e676d78 BS |
17919 | * combine.c (subst): Avoid trying to make a vector mode subreg of |
17920 | an integer constant. | |
17921 | (gen_lowpart_for_combine): Likewise. | |
46468cd9 | 17922 | |
58c2956c RS |
17923 | 2002-04-18 Roger Sayle <roger@eyesopen.com> |
17924 | Jakub Jelinek <jakub@redhat.com> | |
17925 | ||
17926 | * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c) | |
17927 | for integer constant c (if x has unsigned type or sign bit is not | |
17928 | set in c). This folds the zero/sign extension into the bit-wise and | |
17929 | operation. | |
17930 | ||
692efa8e JJ |
17931 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
17932 | ||
17933 | PR middle-end/6205 | |
17934 | * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2, | |
17935 | otherwise xorps. | |
17936 | ||
1372d4ce NY |
17937 | 2002-04-17 NIIBE Yutaka <gniibe@m17n.org> |
17938 | ||
17939 | * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL. | |
17940 | ||
169ce44d NC |
17941 | 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com> |
17942 | ||
17943 | * gcc.c (read_specs): Detect and fail if an attempt is made to | |
17944 | rename a spec string to an already existing string. | |
17945 | ||
b30d2115 UW |
17946 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
17947 | ||
17948 | * config/s390/s390.c (legitimize_pic_address): Do not generate | |
17949 | illegal address constant without CONST. | |
17950 | ||
d6964c30 KG |
17951 | 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
17952 | ||
17953 | * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64. | |
17954 | * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
17955 | ||
7c82a1ed UW |
17956 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
17957 | ||
17958 | PR optimization/6305 | |
17959 | * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement | |
17960 | to make sure previous reloads are taken into account. Generate | |
17961 | better code if one operand is an in-range immediate constant. | |
17962 | ||
58db9d1a AH |
17963 | 2002-04-16 Andrew Haley <aph@cambridge.redhat.com> |
17964 | ||
17965 | * doc/install.texi (Building): libgcj requires GNU make. | |
17966 | ||
2a732575 JJ |
17967 | 2002-04-17 Jakub Jelinek <jakub@redhat.com> |
17968 | ||
17969 | PR bootstrap/6315 | |
17970 | * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting | |
17971 | even if hard quad and register is not floating. | |
17972 | (movtf reg<-mem split): Disallow splitting if hard quad and | |
17973 | register is floating. | |
17974 | (movtf mem<-reg split): Likewise. | |
17975 | * config/sparc/sparc.c (fp_register_operand): New predicate. | |
17976 | * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand. | |
17977 | ||
75a65e46 ZW |
17978 | 2002-04-17 Zack Weinberg <zack@codesourcery.com> |
17979 | ||
17980 | * Makefile.in (PROTO_OBJS): Add cppdefault.o. | |
17981 | (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line. | |
17982 | (unprotoize.o): Ditto. Build from protoize.c. Define | |
17983 | UNPROTOIZE on command line. | |
17984 | * protoize.c: Include cppdefault.h. Delete include_defaults. | |
17985 | (in_system_include_dir): Use cpp_include_defaults (defined in | |
17986 | cppdefault.o). | |
17987 | * unprotoize.c: Delete file. | |
17988 | ||
650f0e97 AH |
17989 | 2002-04-17 Aldy Hernandez <aldyh@redhat.com> |
17990 | ||
46468cd9 ZW |
17991 | * config/rs6000/altivec.h (vec_ld): Add array variants. |
17992 | (vec_lde): Same. | |
17993 | (vec_ldl): Same. | |
650f0e97 | 17994 | |
71a0ab0c | 17995 | 2002-04-17 Alan Matsuoka <alanm@redhat.com> |
46468cd9 | 17996 | Aldy Hernandez <aldyh@redhat.com> |
71a0ab0c | 17997 | |
46468cd9 ZW |
17998 | * config/rs6000/altivec.h: Define __ALTIVEC__. |
17999 | (bool): New. | |
18000 | (__pixel): New. | |
18001 | (pixel): New. | |
18002 | (vec_cfux): New. | |
18003 | (vec_vmaddfp): New. | |
18004 | (vec_vsldoi): New. | |
18005 | Add parentheses to all macro arguments. | |
71a0ab0c | 18006 | |
ff2c46ac RH |
18007 | 2002-04-16 Richard Henderson <rth@redhat.com> |
18008 | ||
18009 | PR c++/6320 | |
18010 | * except.c (remove_eh_handler): Insert inner regions at beginning | |
18011 | of sibling chain. Refactor expressions. | |
18012 | ||
f1ba94dd RH |
18013 | 2002-04-16 Richard Henderson <rth@redhat.com> |
18014 | ||
f0871dfe RH |
18015 | * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New. |
18016 | * config/sparc/sol2-gas-bi.h: New file. | |
18017 | * config.gcc (sparc*-solaris): Add it as needed. | |
18018 | * configure.in (AS_SPARC64_FLAG): Remove check. | |
18019 | * config.in, configure: Regenerate. | |
18020 | ||
18021 | * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64. | |
18022 | ||
18023 | 2002-04-16 Richard Henderson <rth@redhat.com> | |
18024 | ||
18025 | * config/mips/mips.c (override_options): Don't override N32 for | |
18026 | a 64-bit ISA. | |
409d3c60 | 18027 | |
f1ba94dd RH |
18028 | PR 6202 |
18029 | * config/mips/mips.md (can_delay): Split out of existing define_delays. | |
18030 | (HILO_delay): Set can_delay false. | |
18031 | ||
178c3eff DJ |
18032 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
18033 | ||
18034 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute | |
18035 | instruction addresses. | |
18036 | (rs6000_output_function_epilogue): Likewise. | |
18037 | ||
7d6f6369 PC |
18038 | 2002-04-16 Paolo Carlini <pcarlini@unitus.it> |
18039 | ||
18040 | * c-parse.in (poplevel, compstmt_start, | |
18041 | compstmt_primary_start): Add ending ';', in accordance | |
18042 | with POSIX. | |
18043 | ||
8947df0c RH |
18044 | 2002-04-16 Richard Henderson <rth@redhat.com> |
18045 | ||
18046 | * config.gcc (sparcv9-solaris): Configure for 64-bit default. | |
18047 | Adjust tm_file order to get TARGET_DEFAULT set properly. | |
18048 | (sparc-solaris): Configure 2.[78] for 64-bit multilibs. | |
18049 | * doc/install.texi (sparc-solaris): Update. | |
18050 | ||
3148ad6d DJ |
18051 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
18052 | ||
18053 | * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of | |
18054 | comparison operands do not match each other or if modes of | |
18055 | conditions do not match result. | |
18056 | ||
014cb9b6 | 18057 | 2002-04-16 Hartmut Penner <hpenner@de.ibm.com> |
562a69be | 18058 | |
014cb9b6 HP |
18059 | PR target/6305 |
18060 | * config/s390/s390.md (mulsidi3): Set both subregs of the | |
46468cd9 | 18061 | multiword register. |
562a69be | 18062 | |
014cb9b6 | 18063 | 2002-04-16 Aldy Hernandez <aldyh@redhat.com> |
4c8c0dec | 18064 | |
8947df0c | 18065 | * config/rs6000/altivec.h (vec_addc): Type check. |
4c8c0dec | 18066 | |
a9772b60 JJ |
18067 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
18068 | ||
18069 | PR middle-end/6279 | |
18070 | * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target. | |
18071 | ||
18072 | * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET. | |
18073 | ||
861829ed RH |
18074 | 2002-04-15 Richard Henderson <rth@redhat.com> |
18075 | ||
18076 | * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set | |
18077 | call_really_used_regs too. | |
18078 | ||
bcf2fe9c RH |
18079 | 2002-04-15 Richard Henderson <rth@redhat.com> |
18080 | ||
18081 | * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd. | |
18082 | ||
629111c7 DM |
18083 | 2002-04-15 David S. Miller <davem@redhat.com> |
18084 | ||
18085 | * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs | |
18086 | as being CLOBBERed. | |
18087 | ||
98ef3137 JJ |
18088 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
18089 | ||
18090 | PR c/6290 | |
18091 | * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the | |
18092 | CONST_VECTOR is { 0, ... 0 }. | |
18093 | ||
0aa911c5 LR |
18094 | 2002-04-15 Loren J. Rittle <ljrittle@acm.org> |
18095 | ||
18096 | * doc/install.texi (Installing GCC: Configuration): Clarify | |
18097 | the only supported ways to configure gcc. | |
18098 | ||
83248d49 | 18099 | 2002-04-15 Roland McGrath <roland@frob.com> |
46468cd9 | 18100 | |
83248d49 RM |
18101 | * config.gcc (alpha*-*-gnu*): New target configuration. |
18102 | * config/alpha/gnu.h: New file for it. | |
18103 | * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define. | |
18104 | ||
b2123dc0 MM |
18105 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
18106 | ||
18107 | * c-common.h (STMT_EXPR_NO_SCOPE): New macro. | |
18108 | * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE. | |
18109 | * tree.h (expand_start_stmt_expr): Update prototype. | |
18110 | * stmt.c (expand_start_stmt_expr): Add has_scope parameter. | |
18111 | * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE | |
18112 | on the STMT_EXPR created for the inline function. | |
46468cd9 | 18113 | |
8fe2d853 RH |
18114 | 2002-04-15 Richard Henderson <rth@redhat.com> |
18115 | ||
18116 | * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h, | |
18117 | config/i386/linux-aout.h, config/i386/linux-oldld.h, | |
18118 | config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, | |
18119 | config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h, | |
18120 | config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h, | |
18121 | config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h, | |
18122 | config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES): | |
18123 | Define __gnu_linux__, not gnu_linux. | |
18124 | * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd. | |
18125 | ||
07cdae91 MM |
18126 | 2002-04-15 Mark Mitchell <mark@codesourcery.com> |
18127 | ||
18128 | Remove Chill front end. | |
18129 | * gcc.c (default_compilers): Remove Chill entries. | |
18130 | * ch: Remove directory. | |
18131 | * doc/frontends.texi: Remove information about Chill. | |
18132 | * doc/sourcebuild.texi: Likewise. | |
18133 | * doc/standards.texi: Likewise. | |
18134 | ||
41823c5e DR |
18135 | 2002-04-15 Douglas B Rupp <rupp@gnat.com> |
18136 | ||
18137 | * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include. | |
18138 | (LONGLONG_STANDALONE): Define. | |
18139 | ||
eb29ddb6 DM |
18140 | 2002-04-15 David S. Miller <davem@redhat.com> |
18141 | ||
18142 | * config/sparc/sparc.c (sparc_emit_float_lib_cmp): | |
18143 | Call emit_library_call with LCT_NORMAL. | |
18144 | (sparc_initialize_trampoline): Use LCT_foo instead of | |
18145 | magic constant in emit_library_call invocations. | |
18146 | (sparc64_initialize_trampoline): Likewise. | |
18147 | (sparc_profile_hook): Likewise. | |
18148 | * config/sparc/sparc.md: Likewise. | |
18149 | ||
18150 | * config/sparc/sparc.c (sparc_extra_constraint_check): | |
18151 | Fix type of argument 'c'. | |
18152 | * config/sparc/sparc-protos.h (sparc_extra_constraint_check): | |
18153 | Likewise. | |
18154 | ||
bd6bec6b GDR |
18155 | 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
18156 | ||
18157 | * diagnostic.h (output_buffer_state): Redefine. | |
18158 | (output_format_decoder): New macro. | |
18159 | (output_prefixing_rule): Likewise. | |
18160 | (output_line_cutoff): Likewise. | |
18161 | (diagnostic_format_decoder): Adjust. | |
18162 | (diagnostic_prefixing_rule): Likewise. | |
18163 | (diagnostic_line_cutoff): Likewise. | |
18164 | (diagnostic_state): Likewise. | |
18165 | (diagnostic_kind_count): Likewise. | |
18166 | (diagnostic_buffer): Now a macro. | |
18167 | ||
18168 | * diagnostic.c (diagnostic_buffer): Remove definition. | |
18169 | (output_is_line_wrapping): Adjust. | |
18170 | (set_real_maximum_length): Likewise. | |
18171 | (output_set_maximum_length): Likewise. | |
18172 | (init_output_buffer): Likewise. | |
18173 | (lhd_print_error_function): Likewise. | |
18174 | (output_do_verbatim): Likewise. | |
18175 | ||
ebef4e8c NB |
18176 | 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk> |
18177 | ||
18178 | * cpperror.c (print_location): Don't print include chain | |
18179 | if line == 0. | |
18180 | (cpp_begin_message): Update to use DL_ macros. | |
18181 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
18182 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
18183 | cpp_notice, cpp_notice_from_errno): Remove. | |
18184 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
18185 | level. | |
18186 | (cpp_errno): New. | |
18187 | * cppexp.c (CPP_ICE): Remove. | |
18188 | (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined, | |
18189 | lex, integer_overflow, _cpp_parse_expr): Update. | |
18190 | * cppfiles.c (read_include_file, find_include_file, | |
18191 | handle_missing_header, _cpp_read_file, remap_filename): Update. | |
18192 | * cpphash.h (enum error_type): Remove. | |
18193 | (_cpp_begin_message): Update. | |
18194 | * cppinit.c (append_include_chain, remove_dup_dirs, output_deps, | |
18195 | cpp_handle_option, cpp_post_options): Update. | |
18196 | * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment, | |
18197 | skip_whitespace, parse_identifier, parse_slow, parse_string, | |
18198 | _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape, | |
18199 | cpp_interpret_charconst): Update. | |
18200 | * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive, | |
18201 | lex_macro_node, do_undef, glue_header_name, parse_include, | |
18202 | do_include_common, read_flag, do_line, do_linemarker, do_ident, | |
18203 | cpp_register_pragma, do_pragma_once, do_pragma_system_header, | |
18204 | do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else, | |
18205 | do_elif, do_endif, parse_answer, parse_assertion, do_assert, | |
18206 | _cpp_pop_buffer, do_diagnostic): Update. | |
18207 | * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR, | |
18208 | DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New. | |
18209 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
18210 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
18211 | cpp_notice, cpp_notice_from_errno): Remove. | |
18212 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
18213 | level. | |
18214 | (cpp_errno): New. | |
18215 | * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens, | |
18216 | collect_args, enter_macro_context, save_parameter, parse_params, | |
18217 | _cpp_create_definition, check_trad_stringification, | |
18218 | cpp_macro_definition): Update. | |
18219 | * cppmain.c (cpp_preprocess_file): Update. | |
18220 | * fix-header.c (read_scan_file): Update. | |
18221 | ||
c19a3859 AS |
18222 | 2002-04-14 Andreas Schwab <schwab@suse.de> |
18223 | ||
18224 | * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash. | |
18225 | ||
10fdbed6 JD |
18226 | 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
18227 | ||
18228 | * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. | |
18229 | ||
77660a9a MM |
18230 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
18231 | ||
18232 | * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, | |
18233 | not gnu_hurd. | |
18234 | ||
e0ff1ded HPN |
18235 | 2002-04-13 Hans-Peter Nilsson <hp@axis.com> |
18236 | ||
18237 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo. | |
18238 | ||
2341c7ea JS |
18239 | 2002-04-13 Joel Sherrill <joel@OARcorp.com> |
18240 | ||
18241 | * config/sparc/t-elf: Enable v8 multilibs. Impacts | |
18242 | sparc-elf and sparc-rtems targets. | |
18243 | ||
d29350c0 MM |
18244 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
18245 | ||
18246 | * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is | |
18247 | defined, and __gnu_hurd__ wherever __GNU__ is defined. | |
18248 | * arm/linux-elf.h: Likewise. | |
18249 | * cris/aout.h: Likewise. | |
18250 | * cris/linux.h: Likewise. | |
18251 | * i370/linux.h: Likewise. | |
18252 | * i386/gnu.h: Likewise. | |
18253 | * i386/linux-aout.h: Likewise. | |
18254 | * i386/linux-oldld.h: Likewise. | |
18255 | * i386/linux.h: Likewise. | |
18256 | * i386/linux64.h: Likewise. | |
18257 | * ia64/linux.h: Likewise. | |
18258 | * m68k/linux-aout.h: Likewise. | |
18259 | * m68k/linux.h: Likewise. | |
18260 | * mips/linux.h: Likewise. | |
18261 | * pa/pa-linux.h: Likewise. | |
18262 | * pj/linux.h: Likewise. | |
18263 | * rs6000/sysv4.h: Likewise. | |
18264 | * s390/linux.h: Likewise. | |
18265 | * sh/linux.h: Likewise. | |
18266 | * sparc/linux-aout.h: Likewise. | |
18267 | * sparc/linux.h: Likewise. | |
18268 | * sparc/linux64.h: Likewise. | |
18269 | * xtensa/linux.h: Likewise. | |
18270 | ||
fc552851 RS |
18271 | 2002-04-13 Richard Sandiford <rsandifo@redhat.com> |
18272 | ||
18273 | * stmt.c (check_unique_operand_names): Expect operand names to | |
18274 | be strings rather than identifiers. Use simple_cst_equal to | |
18275 | compare them. | |
18276 | (resolve_operand_name_1): Make same identifier to string change here. | |
18277 | * c-parse.in (asm_operand): Convert a named operand into a string. | |
18278 | * cp/parse.y (asm_operand): Likewise. | |
18279 | ||
1d405c5e AS |
18280 | 2002-04-13 Andreas Schwab <schwab@suse.de> |
18281 | ||
18282 | * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu). | |
18283 | ||
c740732f MM |
18284 | 2002-04-12 Mark Mitchell <mark@codesourcery.com> |
18285 | ||
18286 | Revert these changes: | |
18287 | ||
18288 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> | |
18289 | ||
18290 | PR c++/5571 | |
18291 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
18292 | ||
3fc602a0 RH |
18293 | 2002-04-12 Richard Henderson <rth@redhat.com> |
18294 | ||
18295 | * config.gcc (sparcv9-*-solaris2): Default to 32-bit code. | |
18296 | (sparc*-*-solaris): Clean up header files. | |
18297 | * configure.in (AS_SPARC64_FLAG): Error out if can't find it | |
18298 | and plan on generating 64-bit code. | |
18299 | * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. | |
18300 | * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. | |
18301 | * config/sparc/sol2-sld-64.h: Rename ... | |
18302 | * config/sparc/sol2-bi.h: ... here. Remove the bits that checked | |
18303 | for AS_SPARC64_FLAG not defined. | |
18304 | * config/sparc/sol2-gld-bi.h: New. | |
18305 | * config/sparc/sol2-sld.h: Remove. | |
18306 | * config/sparc/sol26-sld.h: New. | |
18307 | * config/sparc/sol2.h: Tidy comments. | |
18308 | * doc/install.texi: Document sparc-solaris configury changes. | |
18309 | ||
2f15e255 RH |
18310 | 2002-04-12 Richard Henderson <rth@redhat.com> |
18311 | ||
18312 | * recog.c (offsettable_address_p): Match the logic in adjust_address. | |
18313 | ||
18314 | * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode | |
18315 | in 64-bit mode only. Use only for 32-bit or MEDLOW. | |
18316 | ||
cc8475cb RO |
18317 | 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
18318 | ||
18319 | * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings. | |
18320 | ||
6f133a4a JL |
18321 | Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com) |
18322 | ||
ef1b8858 | 18323 | * pa.c (pa_can_combine_p): Call extract_insn before calling |
6f133a4a JL |
18324 | constrain_operands. |
18325 | ||
1329e600 DR |
18326 | 2002-04-12 Douglas B Rupp <rupp@gnat.com> |
18327 | ||
18328 | * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. | |
18329 | (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. | |
18330 | (DEFAULT_PCC_STRUCT_RETURN): Define as 0. | |
2d424b9f | 18331 | (CPP_PREDEFINES): Handle __declspec. |
1329e600 DR |
18332 | * config/i386/t-interix (USER_H): Remove. |
18333 | ||
0339d239 DD |
18334 | 2002-04-12 DJ Delorie <dj@redhat.com> |
18335 | ||
18336 | * integrate.c (compare_blocks): Make comparisons safe for when | |
18337 | sizeof(int) < sizeof(char *). | |
18338 | (find_block): Likewise. | |
18339 | ||
cc4d5fec JH |
18340 | 2002-04-12 Jan Hubicka <jh@suse.cz> |
18341 | David Edelsohn <edelsohn@gnu.org> | |
18342 | ||
18343 | * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT | |
18344 | registers. | |
18345 | (symbol_ref_operand): New. | |
18346 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand. | |
18347 | * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand. | |
18348 | ||
93215a1b AS |
18349 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
18350 | ||
18351 | * config/ia64/ia64.h (ASM_SPEC): Moved from here ... | |
18352 | * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it | |
18353 | overrides the definition in config/svr4.h. | |
46468cd9 | 18354 | |
1d80248e EN |
18355 | 2002-04-12 Eric Norum <eric.norum@usask.ca> |
18356 | ||
18357 | * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
18358 | config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h, | |
18359 | config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h, | |
18360 | config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h, | |
18361 | config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h, | |
18362 | config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h, | |
18363 | config/v850/rtems.h (*-rtems*): Cleanup pass to move common | |
18364 | definitions to config/rtems.h and make the targets more similar. | |
18365 | ||
fa1591cb RK |
18366 | Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
18367 | ||
fa06ab5c RK |
18368 | * expr.c (expand_assigment): Remove duplicate conversions #ifdef |
18369 | POINTERS_EXTEND_UNSIGNED. | |
18370 | (store_constructor, expand_expr, case COMPONENT_REF): Likewise. | |
18371 | (store_expr): Use TYPE_MODE (sizetype), not ptr_mode. | |
18372 | ||
fa1591cb RK |
18373 | * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET |
18374 | not specified. | |
18375 | ||
12e85a0e R |
18376 | Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com> |
18377 | ||
18378 | * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG | |
18379 | depends on TARGET_SHMEDIA, not TARGET_SH5. | |
18380 | ||
1ab3e58a HPN |
18381 | 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com> |
18382 | ||
18383 | * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>: | |
18384 | For paradoxical (subreg VAR), replace VAR, don't try the subreg. | |
18385 | ||
18778292 R |
18386 | Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
18387 | ||
18388 | * sh.c (broken_move): Constant 0. / 1. load is OK if there is | |
18389 | no r0 clobber. | |
18390 | ||
9002507c AS |
18391 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
18392 | ||
18393 | * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash. | |
18394 | ||
9be40833 RH |
18395 | 2002-04-12 Richard Henderson <rth@redhat.com> |
18396 | ||
18397 | PR bootstrap/4191 | |
18398 | * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef. | |
18399 | ||
18400 | * flow.c (mark_used_reg): Manage reg_cond_dead properly for | |
18401 | modes spanning multiple hard regs. | |
46468cd9 | 18402 | |
9be40833 RH |
18403 | * recog.c (peephole2_optimize): Rebuild jump labels as needed. |
18404 | ||
3d9268b6 JDA |
18405 | 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18406 | ||
18407 | * pa.c (pa_output_function_prologue): Don't accumulate the total | |
18408 | number of code bytes when using TARGET_64BIT, or gas, SOM and not | |
18409 | the portable runtime. | |
18410 | (output_deferred_plabels): Handle 64bit plabels. | |
18411 | (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when | |
18412 | generating pic code using the GAS assembler for object formats that | |
18413 | are not SOM (ie., ELF32 and ELF64). | |
18414 | (output_millicode_call): Check attribute type if attribute length is 28. | |
18415 | Likewise use $PIC_pcrel$0. Only call get_attr_length and | |
18416 | dbr_sequence_length once. | |
18417 | (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and | |
18418 | dbr_sequence_length once. | |
18419 | * pa.h (TARGET_SOM): Define if not defined. | |
18420 | * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0 | |
18421 | with GAS and not SOM. | |
18422 | (jump, call_internal_reg, call_value_internal_reg): Likewise. | |
18423 | * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining. | |
18424 | ||
d360fd18 DB |
18425 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18426 | ||
18427 | * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value. | |
18428 | (DEFAULT_PCC_STRUCT_RETURN) Do not redefine. | |
18429 | (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP, | |
18430 | DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): | |
18431 | elfos.h and dbxelf.h values are fine now. | |
18432 | * config/i386/freebsd.h, config/alpha/freebsd.h | |
18433 | (DEFAULT_PCC_STRUCT_RETURN): Define to 0. | |
18434 | ||
5b8fcab6 DB |
18435 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18436 | ||
18437 | * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ | |
18438 | or set Acpu or Amachine. Reformat. | |
18439 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
18440 | define. | |
18441 | (LINK_SPEC): Do not need to undef. | |
18442 | * config/ia64/elf.h (ASM_EXTRA_SPEC): Define. | |
18443 | * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef. | |
18444 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
18445 | define. | |
18446 | * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define. | |
18447 | (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead. | |
18448 | (LINK_SPEC): Do not need to undef. | |
18449 | (DONT_USE_BUILTIN_SETJMP): Do not define. | |
18450 | * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add. | |
18451 | (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64. | |
18452 | (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define. | |
18453 | Remove trailing spaces. | |
18454 | * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__, | |
18455 | __ELF__, or set Acpu or Amachine. Reformat. | |
18456 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
18457 | define. | |
18458 | ||
fee42cc1 DB |
18459 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18460 | ||
18461 | * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match | |
18462 | all other *-*-freebsd* targets. | |
18463 | ||
77a403e4 RH |
18464 | 2002-04-11 Richard Henderson <rth@redhat.com> |
18465 | ||
18466 | * config.gcc (alpha*-*-linux*ecoff): Detect and reject. | |
18467 | ||
cf0005c6 DB |
18468 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18469 | ||
18470 | * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms): | |
18471 | Include {cpu}/{cpu}.h thru tm_file. | |
18472 | (alpha*-*-linux*ecoff): Remove target. | |
18473 | * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__. | |
18474 | (LINK_SPEC): Remove, is not OS independent. | |
18475 | * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__. | |
18476 | (LINK_SPEC): Do not need to #undef any longer. | |
18477 | * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef | |
18478 | any longer. | |
18479 | * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define | |
18480 | __ELF__. | |
18481 | (LINK_SPEC): Moved here from alpha/elf.h. | |
18482 | * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of | |
18483 | SUB_CPP_PREDEFINES. | |
18484 | * config/alpha/linux-ecoff.h: Remove. | |
18485 | * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__. | |
18486 | (CPP_SPEC): Define _POSIX_SOURCE as needed. | |
18487 | (CPP_SUBTARGET_SPEC): Do not define. | |
18488 | (LINK_SPEC): Do not need to #undef any longer. | |
18489 | * config/alpha/openbsd.h: Do not directly include alpha/alpha.h. | |
18490 | * config/alpha/vms.h: Likewise. | |
18491 | ||
9be40833 | 18492 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
7825d1cf RS |
18493 | |
18494 | * doc/extend.texi: Remove old claim that typedefs cannot have | |
18495 | an alignment attribute. | |
18496 | ||
010f87c4 JJ |
18497 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
18498 | ||
18499 | PR optimization/6177 | |
18500 | * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if | |
18501 | bitpos is 0 and bitsize CONCAT size. | |
18502 | ||
578fc63d JJ |
18503 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
18504 | ||
18505 | PR c/6223 | |
18506 | * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz. | |
18507 | ||
bf9b85ce DB |
18508 | 2002-04-10 David O'Brien <obrien@FreeBSD.org> |
18509 | ||
18510 | * config/alpha/freebsd.h: Minor reformatting. | |
18511 | (CPP_SPEC): Define ELF and add cpp_subtarget. | |
18512 | (ASM_SPEC): No longer needed. | |
18513 | ||
7425707d RH |
18514 | 2002-04-11 Richard Henderson <rth@redhat.com> |
18515 | ||
18516 | * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative. | |
18517 | (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory. | |
18518 | (dimode mem/zero splitter): New. | |
18519 | ||
1a05e874 HPN |
18520 | 2002-04-11 Hans-Peter Nilsson <hp@axis.com> |
18521 | ||
18522 | * config/cris/cris.c (cris_override_options): Tweak error message | |
18523 | for PIC not implemented. | |
18524 | ||
18525 | * config/cris/cris.h: Tweak comments related to parameter-passing. | |
18526 | ||
18527 | * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here. | |
18528 | ||
6f3d0447 RH |
18529 | 2002-04-10 Richard Henderson <rth@redhat.com> |
18530 | ||
18531 | * except.c (add_ehl_entry): Allow duplicates after landing pad | |
18532 | creation. | |
18533 | ||
174bf2b1 DE |
18534 | 2002-04-10 David Edelsohn <edelsohn@gnu.org> |
18535 | ||
18536 | * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64. | |
18537 | ||
03f10472 TM |
18538 | 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl> |
18539 | ||
18540 | * c-decl.c (c_init_decl_processing): Move generation of | |
18541 | decls for g77_integer_type_node and friends from here ... | |
18542 | * c-common.c (c_common_nodes_and_builtins): ... to here. | |
18543 | ||
2f460a0a UW |
18544 | 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com> |
18545 | ||
18546 | * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM | |
18547 | is only used as frame pointer when frame_pointer_needed is true. | |
18548 | ||
0be5cf85 RE |
18549 | 2002-04-10 Richard Earnshaw <rearnsha@arm.com> |
18550 | ||
18551 | PR target/817 | |
18552 | * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow | |
18553 | for the fact that the pool entry uses two words. | |
18554 | (movdf_hard_insn): Similarly. Also, ADR instruction can span | |
18555 | 1k bytes. | |
18556 | (movdf_soft_insn): Similarly. | |
18557 | (movxf_hard_insn): Adjust neg_pool_range attribute to allow | |
18558 | for the fact that the pool entry uses three words. | |
18559 | ||
bf6d4777 RS |
18560 | 2002-04-10 Richard Sandiford <rsandifo@redhat.com> |
18561 | ||
18562 | * config/mips/mips.c (mips_va_arg): When using the struct version | |
18563 | of the EABI va_list, allow arguments in the register save area to | |
18564 | take up less room than a stack argument. | |
18565 | ||
c2e9dc85 RH |
18566 | 2002-04-10 Richard Henderson <rth@redhat.com> |
18567 | ||
18568 | * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers | |
18569 | if EXPAND_INITIALIZER. | |
18570 | ||
bc8e8e97 RH |
18571 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18572 | ||
18573 | * config/alpha/alpha.md (movdi_er_maybe_g): New. | |
18574 | * config/alpha/alpha.c (alpha_expand_mov): Use it. | |
18575 | ||
a6a063b8 AM |
18576 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
18577 | ||
18578 | PR optimization/6233 | |
18579 | * rtlanal.c (pure_call_p): New function. | |
18580 | * rtl.h (pure_call_p): Declare. | |
18581 | * loop.c (prescan_loop): Use it to set has_nonconst_call. | |
18582 | * gcse.c (store_killed_in_insn): Use pure_call_p here too. | |
18583 | ||
7b2e1077 EC |
18584 | 2002-04-09 Eric Christopher <echristo@redhat.com> |
18585 | ||
18586 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional | |
18587 | information to .comm directive. | |
18588 | ||
d8a50944 RH |
18589 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18590 | ||
18591 | PR c/5078 | |
18592 | * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers. | |
18593 | ||
6a58eee9 RH |
18594 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18595 | ||
18596 | * basic-block.h (flow_delete_block_noexpunge): Declare. | |
18597 | (expunge_block_nocompact): Declare. | |
18598 | * cfg.c (expunge_block_nocompact): Split out from ... | |
18599 | (expunge_block): ... here. | |
18600 | * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels. | |
18601 | (flow_delete_block_noexpunge): Split out from ... | |
18602 | (flow_delete_block): ... here. | |
18603 | * cfgcleanup.c (delete_unreachable_blocks): Compact while | |
18604 | removing dead blocks. | |
18605 | * except.c (exception_handler_labels): Remove. | |
18606 | (exception_handler_label_map): New. | |
18607 | (struct eh_region): Add aka member. | |
18608 | (mark_ehl_map_entry, mark_ehl_map, free_region): New. | |
18609 | (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New. | |
18610 | (for_each_eh_label, for_each_eh_label_1): New. | |
18611 | (init_eh): Register exception_handler_label_map. | |
18612 | (free_eh_status): Use free_region. | |
18613 | (find_exception_handler_labels): Use the map, not the list. | |
18614 | (remove_exception_handler_label): Likewise. | |
18615 | (maybe_remove_eh_handler): Likewise. | |
18616 | (remove_eh_handler): Use the region aka bitmap. | |
18617 | * except.h (exception_handler_labels): Remove. | |
18618 | (for_each_eh_label): Declare. | |
18619 | * jump.c (rebuild_jump_labels): Don't check exception_handler_labels. | |
18620 | * loop.c (invalidate_loops_containing_label): New. | |
18621 | (find_and_verify_loops): Use it. Use for_each_eh_label. | |
18622 | * sched-rgn.c (is_cfg_nonregular): Use | |
18623 | current_function_has_exception_handlers. | |
18624 | ||
b47374fa RH |
18625 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18626 | ||
18627 | * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b, | |
18628 | sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c): | |
18629 | Do not return changed status. | |
18630 | (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg, | |
18631 | sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg): | |
18632 | New functions that do return changed status. | |
18633 | * sbitmap.h: Update decls. | |
18634 | * gcse.c, lcm.c: Use _cg functions as needed. | |
18635 | ||
1951818c R |
18636 | Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
18637 | ||
18638 | * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h. | |
18639 | (sh64-*-elf*, sh-*-rtemself*): Likewise. | |
18640 | * config/sh/embed_bb.c: New file. | |
18641 | * config/sh/embed-elf.h: New file. | |
18642 | * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__ | |
18643 | if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec. | |
18644 | (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
18645 | __PTRDIFF_TYPE__ . | |
18646 | (SUBTARGET_CPP_PTR_SPEC): Don't define. | |
18647 | (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec. | |
18648 | Add subtarget_asm_endian_spec. | |
18649 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
18650 | (SUBTARGET_ASM_ENDIAN_SPEC): Define. | |
18651 | (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5. | |
18652 | (WCHAR_UNSIGNED): Define. | |
18653 | (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define. | |
18654 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
18655 | (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5. | |
18656 | Fix value. | |
18657 | * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5. | |
18658 | (sh_adjust_cost): Likewise. | |
18659 | sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
18660 | __PTRDIFF_TYPE__ . | |
18661 | (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define. | |
18662 | (WCHAR_TYPE_SIZE): Likewise. | |
18663 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
18664 | (SH_ELF_WCHAR_TYPE): #undef/ #define. | |
18665 | (MAX_WCHAR_TYPE_SIZE): Don't #undef. | |
18666 | * config/sh/elf.h (WCHAR_UNSIGNED): #undef . | |
18667 | (MAX_WCHAR_TYPE_SIZE): Don't #define . | |
18668 | (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define . | |
18669 | (USER_LABEL_PREFIX): Don't #undef /#define . | |
18670 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
18671 | * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define . | |
18672 | (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise. | |
18673 | (ASM_SPEC): Likewise. | |
18674 | (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define . | |
18675 | (CC1_SPEC): don't supply -m3 for -m4*, -m5*. | |
18676 | * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE. | |
18677 | (LIB2FUNCS_EXTRA): Define. | |
18678 | * t-sh64 (LIB2FUNCS_EXTRA): Define. | |
18679 | * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine. | |
18680 | (LIB1ASMFUNCS_CACHE): Define. | |
18681 | (LIB2FUNCS_EXTRA): Redefine empty. | |
18682 | ||
34295799 RH |
18683 | 2002-04-08 Richard Henderson <rth@redhat.com> |
18684 | ||
18685 | * reorg.c (get_branch_condition): Use reversed_comparison_code. | |
18686 | ||
e8766a39 SC |
18687 | 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
18688 | ||
18689 | * config/m68hc11/larith.asm (__map_data_section): Fix condition | |
18690 | and optimize for size. | |
18691 | (__do_global_ctors): Fix pointer comparison. | |
18692 | (__do_global_dtors): Likewise. | |
18693 | ||
f451b552 DM |
18694 | 2002-04-09 David S. Miller <davem@redhat.com> |
18695 | ||
18696 | * config/sparc/sparc.c (sparc_extra_constraint_check): New | |
18697 | function, implementing EXTRA_CONSTRAINTS. For memory constraints, | |
18698 | allow reloading pseudos. | |
18699 | * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it. | |
18700 | * config/sparc/sparc-protos.h: Declare it. | |
18701 | ||
18702 | * config/sparc/sparc.c (const64_is_2insns): Kill signed vs. | |
18703 | unsigned comparison warning. | |
18704 | (output_restore_regs): Mark leaf_function as unused. | |
18705 | ||
1ce7f3c2 RK |
18706 | Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
18707 | ||
18708 | * expr.c (is_aligning_offset): New function. | |
18709 | (expand_expr, case COMPONENT_EXPR): Call it. | |
18710 | ||
7a31a340 DM |
18711 | 2002-04-08 David S. Miller <davem@redhat.com> |
18712 | ||
18713 | PR target/6082 | |
18714 | * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW | |
18715 | ||
981f6289 | 18716 | Make init_priority work on SPARC when using GNU ld. |
7a31a340 DM |
18717 | * config/sparc/linux.h, config/sparc/linux64.h, |
18718 | config/sparc/netbsd-elf.h, config/sparc/freebsd.h | |
18719 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. | |
18720 | * config/sparc/sol2-gld.h: New file to do the same. | |
18721 | * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add | |
18722 | sparc/sol2-gld.h to tm_file. | |
18723 | ||
18724 | PR optimization/4328 | |
18725 | * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. | |
18726 | * doc/md.texi: Document it. | |
18727 | * config/sparc/sparc.md (movdi_insn_sp64_novis, | |
18728 | movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, | |
18729 | movdf_insn_v9only_vis, movdf_insn_sp64_novis, | |
18730 | movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. | |
18731 | * config/sparc/sparc.c (mem_min_alignment): Fix comment. | |
18732 | ||
11579f33 AJ |
18733 | 2002-04-08 Andreas Jaeger <aj@suse.de> |
18734 | ||
18735 | * stmt.c (expand_asm_operands): Revert last patch from Richard | |
18736 | Henderson. | |
18737 | ||
b57215d9 GP |
18738 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
18739 | ||
18740 | * doc/contrib.texi (Contributors): Add John David Anglin and Loren | |
18741 | J. Rittle (the latter also to Testers). Update David O'Brien's entry. | |
18742 | ||
18743 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
18744 | ||
18745 | * doc/contrib.texi (Contributors): Add David O'Brien. | |
18746 | ||
534d0cc0 AM |
18747 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
18748 | ||
18749 | * configure.in (auto-build.h): Use target_alias and build_alias | |
18750 | when running configure. | |
18751 | (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too. | |
18752 | (gcc_cv_nm, gcc_cv_objdump): Set for build != host too. | |
18753 | * configure: Regenerate. | |
18754 | ||
19fe522a DM |
18755 | 2002-04-07 David S. Miller <davem@redhat.com> |
18756 | ||
18757 | * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file. | |
18758 | ||
bf2d0b8e JDA |
18759 | 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18760 | ||
18761 | PR 5933 | |
18762 | * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when | |
18763 | generating 32-bit pic code. | |
18764 | ||
477cdac7 JT |
18765 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
18766 | ||
18767 | * cppinit.c (cpp_create_reader): Initialize | |
18768 | discard_comments_in_macro_exp. | |
18769 | (COMMAND_LINE_OPTIONS): Add "-CC" option. | |
18770 | (cpp_handle_option): Handle "-CC" option. | |
18771 | * cpplex.c (save_comment): If saving a C++ comment in | |
18772 | a directive, convert it to a C comment. | |
18773 | (_cpp_lex_direct): Pass second comment start character to | |
18774 | save_comment to indicate comment type. | |
18775 | * cpplib.c (_cpp_handle_directive): If processing | |
18776 | a "#define" directive and discard_comments_in_macro_exp | |
18777 | is false, re-enable saving of comments. | |
18778 | (lex_macro_node): If discard_comments_in_macro_exp is false, | |
18779 | discard any comments before the macro identifier. | |
18780 | * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp | |
18781 | member. | |
18782 | * cppmacro.c (cpp_get_token): If expanding a macro while | |
18783 | processing a directive, discard any comments we might encounter. | |
18784 | (parse_params): If discard_comments_in_macro_exp is false, | |
18785 | ignore comments in the macro parameter list. | |
18786 | * gcc.c (cpp_unique_options): Add "-CC" option. | |
18787 | (option_map): Map "--comments-in-macros" to "-CC". | |
18788 | * doc/cppopts.texi: Document "-CC" option. | |
18789 | * f/lang-specs.h: Add "-CC" option. | |
18790 | * testsuite/gcc.dg/cpp/maccom1.c: New test. | |
18791 | * testsuite/gcc.dg/cpp/maccom2.c: New test. | |
18792 | * testsuite/gcc.dg/cpp/maccom3.c: New test. | |
18793 | * testsuite/gcc.dg/cpp/maccom4.c: New test. | |
18794 | * testsuite/gcc.dg/cpp/maccom5.c: New test. | |
18795 | * testsuite/gcc.dg/cpp/maccom6.c: New test. | |
18796 | ||
f1526122 JDA |
18797 | 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18798 | ||
18799 | PR middle-end/6180 | |
18800 | * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes. | |
18801 | ||
b1896e61 MM |
18802 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> |
18803 | ||
0154eaa8 MM |
18804 | PR c++/5571 |
18805 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
18806 | ||
b1896e61 MM |
18807 | PR opt/5120 |
18808 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear | |
18809 | RTX_UNCHANGING_P for the functions arguments when a tail call | |
18810 | is made. | |
18811 | ||
b0148884 JM |
18812 | 2002-04-06 Jason Merrill <jason@redhat.com> |
18813 | ||
18814 | * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2. | |
18815 | (parse_options_and_default_flags): Set them appropriately. | |
18816 | * c-common.c (c_common_post_options): Don't set flag_really_no_inline. | |
18817 | ||
392fc5b0 HPN |
18818 | 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com> |
18819 | ||
18820 | * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc | |
18821 | here. | |
18822 | ||
18823 | * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious | |
18824 | semicolon. | |
18825 | ||
18826 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size | |
18827 | types come in by-reference. Fix typo in comment. | |
18828 | ||
2d69e3cb DM |
18829 | 2002-04-05 David S. Miller <davem@redhat.com> |
18830 | ||
18831 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits. | |
18832 | * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos, | |
18833 | sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*, | |
18834 | {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file. | |
18835 | ||
18836 | 2002-04-05 David S. Miller <davem@redhat.com> | |
18837 | ||
18838 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we | |
18839 | are not going to emit return instructions, emit at least a nop | |
18840 | for the sake of sane backtraces. | |
18841 | ||
5f9fb0e3 RH |
18842 | 2002-04-05 Richard Henderson <rth@redhat.com> |
18843 | ||
18844 | * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)). | |
18845 | ||
49f37a0d JJ |
18846 | 2002-04-05 Jakub Jeilnek <jakub@redhat.com> |
18847 | ||
18848 | * mklibgcc.in: Use $tmpmapfile, not tmp-$@. | |
18849 | ||
974a3101 AO |
18850 | 2002-04-05 Alexandre Oliva <aoliva@redhat.com> |
18851 | ||
18852 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, | |
18853 | ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
18854 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16. | |
18855 | ||
2e04a694 AS |
18856 | 2002-04-05 Andreas Schwab <schwab@suse.de> |
18857 | ||
a40179bd | 18858 | * c-convert.c: Include c-common.h. |
2e04a694 AS |
18859 | * Makefile.in (c-convert.o): Updated. |
18860 | ||
1f785b7c JJ |
18861 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
18862 | ||
18863 | * mklibgcc.in: Use separate libgcc.map for each multilib. | |
18864 | * Makefile.in (distclean): Don't remove libgcc.map here. | |
18865 | ||
4d2fb38b JJ |
18866 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
18867 | ||
18868 | * Makefile.in (s-mlib): Handle --disable-multilib by separate | |
18869 | genmultilib invocation. | |
18870 | ||
bb63e5a0 RS |
18871 | 2002-04-04 Richard Sandiford <rsandifo@redhat.com> |
18872 | ||
18873 | * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs | |
18874 | to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs | |
18875 | to num_gprs for symmetry. | |
18876 | * config/mips/mips.c: Adjust accordingly. | |
18877 | ||
8ab80eaa NB |
18878 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
18879 | ||
18880 | * c-common.c (truthvalue_conversion): Rename, update. | |
18881 | * c-common.h (c_common_truthvalue_conversion): New. | |
18882 | * c-convert.c (convert): Update. | |
18883 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
18884 | * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update. | |
18885 | * c-typeck.c (build_binary_op, build_unary_op, | |
18886 | build_conditional_expr): Update. | |
18887 | * fold-const.c (constant_boolean_node, fold): Use langhook. | |
18888 | * langhooks-def.h (LANGHOOK_INITIALIZER): Update. | |
18889 | * langhooks.h (struct lang_hooks): New hook. | |
18890 | * stmt.c (expand_decl_cleanup): Use langhook. | |
18891 | * tree.h (truthvalue_conversion): Remove. | |
18892 | objc: | |
18893 | * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
18894 | ||
a2e9374a AM |
18895 | 2002-04-05 Alan Modra <amodra@bigpond.net.au> |
18896 | ||
18897 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o | |
18898 | Add rules to make null object file. | |
18899 | ||
64d08263 JB |
18900 | 2002-04-04 Jim Blandy <jimb@redhat.com> |
18901 | ||
18902 | * cppmacro.c (cpp_macro_definition): Do not emit spaces after | |
18903 | macro formal parameter names. | |
18904 | ||
aa7634dd DM |
18905 | 2002-04-04 David S. Miller <davem@redhat.com> |
18906 | ||
18907 | * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg. | |
18908 | ||
ecc114f7 RH |
18909 | 2002-04-04 Richard Henderson <rth@redhat.com> |
18910 | ||
18911 | PR middle-end/5099 | |
18912 | * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok. | |
18913 | Support copies into and out of memory. Don't accept allows_reg | |
18914 | and allows_mem as gospel. | |
18915 | ||
c4484b8f RH |
18916 | 2002-04-04 Richard Henderson <rth@redhat.com> |
18917 | ||
18918 | PR opt/6165 | |
18919 | * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict. | |
18920 | (write_dependence_p): Likewise. | |
18921 | ||
39002160 RH |
18922 | 2002-04-04 Richard Henderson <rth@redhat.com> |
18923 | ||
18924 | * predict.c (estimate_bb_frequencies): Do frequency calculation | |
18925 | with a volatile temporary. | |
18926 | ||
f53ebe71 UW |
18927 | 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com> |
18928 | ||
18929 | * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define. | |
18930 | ||
15e0ecab JJ |
18931 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
18932 | ||
18933 | PR c++/6119 | |
18934 | * final.c (final_start_function): Don't bump profile_label_no here... | |
18935 | (final_end_function): ...but here. | |
18936 | ||
ffd386b0 JJ |
18937 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
18938 | ||
18939 | * config/sparc/sparc.md (pic): New attribute. | |
18940 | (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9 | |
18941 | into stack slots. | |
18942 | (split after do_builtin_setjmp_setup): New. | |
18943 | ||
8b156b3e JJ |
18944 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
18945 | ||
18946 | PR fortran/6106 | |
18947 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 | |
18948 | change. | |
18949 | ||
014c0998 JJ |
18950 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
18951 | ||
18952 | * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by | |
18953 | UNITS_PER_WORD for zero sized aggregates. | |
18954 | ||
4d8611d9 DM |
18955 | 2002-04-03 David S. Miller <davem@redhat.com> |
18956 | ||
18957 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new | |
18958 | one-character spec for this, just use %(link_gcc_c_sequence). | |
18959 | ||
b03ad99d DM |
18960 | 2002-04-03 David S. Miller <davem@redhat.com> |
18961 | ||
18962 | * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian | |
18963 | handling. | |
18964 | ||
823fbbce JDA |
18965 | 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18966 | ||
18967 | * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. | |
18968 | (DWARF_FRAME_RETURN_COLUMN): Move. | |
18969 | (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
18970 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define. | |
18971 | * pa.c (except.h, predict.h): Include. | |
18972 | (FRP): Delete. | |
18973 | (store_reg_modify, set_reg_plus_d): Revise prototypes. | |
18974 | (output_ascii): Add cast. | |
18975 | (store_reg_modify): Revise to add frame notes. | |
18976 | (set_reg_plus_d): Likewise. | |
18977 | (compute_frame_size): Include space for eh data registers in frame if | |
18978 | the current function calls eh_return. | |
18979 | (hppa_expand_prologue): Ensure register %r2 is saved if the current | |
18980 | function calls eh_return. Save eh data registers if the current | |
18981 | function calls eh_return. Fix code to add frame notes. Emit | |
18982 | blockage to prevent insns with frame notes being scheduled in the | |
18983 | delay slot of calls. | |
18984 | (hppa_expand_epilogue): Restore eh data registers and do final stack | |
18985 | adjustment if the current function calls eh_return. Don't add frame | |
18986 | notes. | |
18987 | (output_call): Revise for change in length of call insn. Don't do | |
18988 | return pointer adjustment for an unconditional jump in the delay slot | |
18989 | of a call when using frame notes. | |
18990 | * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility. | |
18991 | (EH_RETURN_HANDLER_RTX): Use saved value on stack. | |
18992 | (ARG_POINTER_CFA_OFFSET): Define. | |
18993 | * pa.md (return_external_pic): New pattern. | |
18994 | (prologue): Correct formatting. Use return_external_pic if current | |
18995 | function calls eh_return. | |
18996 | (call_internal_symref, call_value_internal_symref, | |
18997 | sibcall_internal_symref, sibcall_value_internal_symref): Change default | |
18998 | lengths of short, long non-pic, and long pic calls to 8, 68, and 84, | |
18999 | respectively. | |
19000 | (exception_receiver): Use hppa_pic_save_rtx () to restore pic register. | |
19001 | ||
19002 | * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to | |
19003 | list of targets to check using "nop" insn. | |
19004 | * configure: Rebuilt. | |
19005 | ||
4078e224 AM |
19006 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
19007 | ||
19008 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define. | |
19009 | ||
bbd7687d DM |
19010 | 2002-04-03 David S. Miller <davem@redhat.com> |
19011 | ||
19012 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c | |
19013 | library sequence passed to the linker. | |
19014 | (LINK_COMMAND_SPEC): Use it. | |
19015 | * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as | |
19016 | a macro a target can use to avoid overriding LINK_COMMAND_SPEC. | |
19017 | * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
19018 | ||
659e5a7a JM |
19019 | 2002-04-03 Jason Merrill <jason@redhat.com> |
19020 | ||
19021 | * except.c (struct eh_status): Remove protect_list. | |
19022 | (begin_protect_partials, end_protect_partials): Remove. | |
19023 | (add_partial_entry): Remove. | |
19024 | * except.h: Remove prototypes. | |
19025 | ||
19026 | * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use | |
19027 | expand_decl_cleanup_eh. | |
19028 | ||
19029 | PR c++/5636 | |
19030 | * tree.h (CLEANUP_EH_ONLY): New macro. | |
19031 | * stmt.c (expand_decl_cleanup_eh): New fn. | |
19032 | (expand_cleanups): Check CLEANUP_EH_ONLY. | |
19033 | * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT. | |
19034 | Use expand_decl_cleanup_eh. | |
19035 | (expand_stmt): Adjust. | |
19036 | * c-common.h: Adjust prototype. | |
19037 | ||
053d3344 HPN |
19038 | 2002-04-04 Hans-Peter Nilsson <hp@axis.com> |
19039 | ||
19040 | * config/cris/cris.c (cris_target_asm_function_prologue): Cast | |
19041 | uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. | |
19042 | (cris_target_asm_function_epilogue): Ditto. | |
19043 | (cris_initial_frame_pointer_offset): Ditto. | |
19044 | (cris_simple_epilogue): Ditto. | |
19045 | (cris_expand_builtin_va_arg): Variable-size types come in | |
19046 | by-reference. | |
19047 | ||
61ab5260 DM |
19048 | 2002-04-03 David S. Miller <davem@redhat.com> |
19049 | ||
19050 | * config/sparc/crtfastmath.c (FPRS_NS): Get it right for | |
19051 | little-endian. | |
19052 | (set_fast_math): Correct 'fsr' type. | |
19053 | ||
ef4f94ac RH |
19054 | 2002-04-03 Richard Henderson <rth@redhat.com> |
19055 | ||
36c2272c | 19056 | PR opt/3569 |
ef4f94ac RH |
19057 | * langhooks.h (lang_hooks.decls.warn_unused_global): New. |
19058 | * toplev.c (check_global_declarations): Use it. | |
19059 | * langhooks-def.h (lhd_warn_unused_global_decl): Declare. | |
19060 | (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
19061 | (LANG_HOOKS_DECLS): Add it. | |
19062 | * langhooks.c (lhd_warn_unused_global_decl): New. | |
19063 | * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
19064 | * c-objc-common.c (c_warn_unused_global_decl): New. | |
19065 | * c-tree.h (c_warn_unused_global_decl): Declare. | |
19066 | * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
19067 | ||
599bba86 NB |
19068 | 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk> |
19069 | ||
19070 | * langhooks-def.h (lhd_set_decl_assembler_name, | |
19071 | LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New. | |
19072 | (LANG_HOOKS_INITIALIZER): Update. | |
19073 | * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c | |
19074 | * langhooks.h (struct lang_hooks): New hook. | |
19075 | * tree.c (set_decl_assembler_name): Move to langhooks.c. | |
19076 | (lang_set_decl_assembler_name): Remove. | |
19077 | (init_obstacks): Don't set hook. | |
19078 | (decl_assembler_name): New function. | |
19079 | * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call. | |
19080 | (decl_assembler_name): New. | |
19081 | (lang_set_decl_assembler_name): Remove. | |
19082 | ||
cf7b8b0d JJ |
19083 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
19084 | ||
19085 | * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() | |
19086 | works properly with .hidden symbols. | |
19087 | * configure: Rebuilt. | |
19088 | * config.in: Rebuilt. | |
19089 | * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
19090 | DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work | |
19091 | properly with .hidden symbols. | |
19092 | ||
faf6db38 JJ |
19093 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
19094 | ||
19095 | PR middle-end/6102 | |
19096 | * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access | |
19097 | USE argument. | |
19098 | ||
68c17f30 RH |
19099 | 2002-04-03 Richard Henderson <rth@redhat.com> |
19100 | ||
19101 | PR opt/4120 | |
19102 | * sched-rgn.c (sets_likely_spilled): New. | |
19103 | (sets_likely_spilled_1): New. | |
19104 | (add_branch_dependences): Use it. | |
19105 | ||
6584b4aa RH |
19106 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19107 | ||
19108 | PR opt/4311 | |
19109 | * loop.h (LOOP_FIRST_PASS): New. | |
19110 | * loop.c (strength_reduce): Mind it when deciding to unroll. | |
19111 | * toplev.c (rest_of_compilation): Set it. | |
19112 | ||
0acf409f DM |
19113 | 2002-04-02 David S. Miller <davem@redhat.com> |
19114 | ||
19115 | * config/sparc/sparc.md (ldd peephole2s): Fix final arg to | |
19116 | mems_ok_for_ldd_peep when the order of the loads being examined | |
19117 | is reversed. | |
19118 | * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon | |
19119 | existing comment to increase comprehension of this situation. | |
19120 | ||
85654444 ZW |
19121 | 2002-04-02 Zack Weinberg <zack@codesourcery.com> |
19122 | ||
19123 | * config/sh/sh.md: Don't use union real_extract. | |
19124 | ||
543828ca RH |
19125 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19126 | ||
19127 | * libgcc2.c (__bb_exit_func): Revert 03-31 change. | |
19128 | ||
39ed301b DB |
19129 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
19130 | ||
19131 | * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems, | |
19132 | i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-, | |
19133 | i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1, | |
19134 | i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos, | |
19135 | i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd, | |
19136 | i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf, | |
19137 | i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix, | |
19138 | i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout, | |
19139 | i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32, | |
19140 | i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd, | |
19141 | i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems, | |
19142 | i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv, | |
19143 | i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta, | |
19144 | i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd): | |
19145 | Include as many configury headers via tm_file as possible. This | |
19146 | includes among others i386/unix.h, i386/bsd.h, i386/gas.h. | |
19147 | * config/openbsd-oldgas.h: New file. | |
19148 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h, | |
19149 | config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h, | |
19150 | config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h, | |
19151 | config/i386/i386-coff.h, config/i386/i386-interix.h, | |
19152 | config/i386/iscdbx.h, config/i386/linux-aout.h, | |
19153 | config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h, | |
19154 | config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h, | |
19155 | config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h, | |
19156 | config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h, | |
19157 | config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h, | |
19158 | config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h, | |
19159 | config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h, | |
19160 | config/i386/vxi386.h: Do not directly include configury headers. | |
19161 | * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h: | |
19162 | Directly include configury headers that are no longer automatically | |
19163 | included by the above headers. | |
19164 | * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define. | |
19165 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h, | |
19166 | config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h, | |
19167 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h, | |
19168 | config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h, | |
19169 | config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h, | |
19170 | config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h | |
19171 | (TARGET_VERSION): Define. | |
19172 | * config/i386/beos-elf.h, config/i386/freebsd.h, | |
19173 | config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, | |
19174 | config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, | |
19175 | config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h, | |
19176 | config/i386/sco5.h, config/i386/sysv4.h | |
19177 | (TARGET_VERSION): Do not need to protect. | |
19178 | * config/i386/freebsd64.h (TARGET_VERSION): Fix style. | |
19179 | * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h, | |
19180 | config/i386/freebsd-aout.h, config/i386/i386-aout.h, | |
19181 | config/i386/i386-interix.h, config/i386/linux-aout.h, | |
19182 | config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h, | |
19183 | config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h | |
19184 | (YES_UNDERSCORES): Do not define - not needed. | |
19185 | * config/i386/bsd.h, config/i386/gas.h (LPREFIX, | |
19186 | ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
19187 | USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case. | |
19188 | * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h | |
19189 | (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
19190 | USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case) | |
19191 | * config/i386/isc.h: Preserve comment from config/i386/isccoff.h. | |
19192 | * config/i386/isccoff.h, config/i386/v3gas.h: Remove. | |
19193 | ||
9432c136 EB |
19194 | 2002-04-02 Eric Botcazou <ebotcazou@multimania.com> |
19195 | Richard Henderson <rth@redhat.com> | |
19196 | ||
19197 | PR c/5484 | |
19198 | * function.c (assign_temp): Accept either type or decl argument. | |
19199 | Detect variables whose size is too large to fit into an integer. | |
19200 | * stmt.c (expand_decl): Pass the decl, not the type. | |
19201 | ||
058b1275 DB |
19202 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
19203 | ||
19204 | * protoize.c: Match include directory usage with cppdefault.c. | |
19205 | ||
5add6d1a | 19206 | 2002-04-03 Jeffrey A Law (law@redhat.com) |
9be40833 | 19207 | Hans-Peter Nilsson <hp@bitrange.com> |
5add6d1a JL |
19208 | |
19209 | * combine.c (simplify_comparison): Avoid narrowing a comparison | |
19210 | with a paradoxical subreg when doing so would drop signficant bits. | |
19211 | ||
1e533e4b SE |
19212 | 2002-04-02 Steve Ellcey <sje@cup.hp.com> |
19213 | ||
19214 | * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode | |
19215 | if POINTERS_EXTEND_UNSIGNED is defined. | |
19216 | ||
7a145e92 RH |
19217 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19218 | ||
19219 | PR opt/3967 | |
19220 | * local-alloc.c (contains_replace_regs): LO_SUM may contain | |
19221 | replace regs. | |
19222 | ||
3a079822 RH |
19223 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19224 | ||
19225 | * doc/standards.texi: Document required freestanding libc entry points. | |
19226 | ||
c94ccb87 AM |
19227 | 2002-04-02 Alan Modra <amodra@bigpond.net.au> |
19228 | ||
19229 | * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and | |
19230 | associated splitter. Remove MQ constraint. | |
19231 | (ctrdi_internal4): Correct CCmode clobber. | |
19232 | ||
fe660a1a JDA |
19233 | 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
19234 | ||
19235 | * milli64.S ($$dyncall): New function. | |
19236 | * t-linux (LIB1ASMFUNCS): Revise module list. | |
19237 | (LIB1ASMSRC): Use pa/milli64.S. | |
19238 | ||
eadc0202 RH |
19239 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19240 | ||
19241 | * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and | |
19242 | rename solaris_sys_varargs_h. | |
19243 | ||
a1471322 RK |
19244 | Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
19245 | ||
19246 | * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array | |
19247 | the same mode as its component. | |
19248 | ||
c8b94768 RH |
19249 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19250 | ||
19251 | PR opt/190 | |
19252 | * final.c (this_is_asm_operands): Export. | |
19253 | * output.h (this_is_asm_operands): Declare. | |
19254 | * config/i386/i386.c (print_operand): Error odd asm operands. | |
19255 | ||
161eb4fc RH |
19256 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19257 | ||
19258 | PR opt/420 | |
19259 | * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra. | |
19260 | ||
b88a94c6 RH |
19261 | 2002-04-01 Richard Henderson <rth@redhat.com> |
19262 | ||
19263 | PR target/1538 | |
19264 | * fixinc/inclhack.def (solaris_sys_varargs_h): New. | |
19265 | * fixinc/fixincl.x: Rebuild. | |
19266 | ||
72e32876 RH |
19267 | 2002-04-01 Richard Henderson <rth@redhat.com> |
19268 | ||
19269 | * config/ia64/unwind-ia64.c: Include ia64intrin.h. | |
19270 | (atomic_alloc, atomic_free): New. | |
19271 | (SIZE, MASK_FOR, PTR_IN): New. | |
19272 | (emergency_reg_state, emergency_reg_state_free): New. | |
19273 | (emergency_labeled_state, emergency_labeled_state_free): New. | |
19274 | (reg_state_alloced, labeled_state_alloced): New. | |
19275 | (alloc_reg_state, free_reg_state): New. | |
19276 | (alloc_label_state, free_label_state, free_label_states): New. | |
19277 | (push, pop, dup_state_stack, free_state_stack): Use them. | |
19278 | (desc_label_state): Likewise. | |
19279 | (uw_frame_state_for): Free label states and state stack. | |
19280 | (uw_update_reg_address): Eliminate warnings. | |
19281 | ||
84d76074 VM |
19282 | 2002-04-01 Vladimir Makarov <vmakarov@redhat.com> |
19283 | ||
19284 | * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, | |
9be40833 | 19285 | ASM_OUTPUT_ALIGNED_LOCAL): Redefine them. |
84d76074 | 19286 | |
dffd7eb6 NB |
19287 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
19288 | ||
19289 | * c-decl.c (grokdeclarator): Update. | |
19290 | * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
19291 | * c-tree.h (c_mark_addressable): New. | |
19292 | * c-typeck.c (default_function_array_conversion, build_unary_op, | |
19293 | build_array_ref, convert_for_assignment): Update. | |
19294 | (mark_addressable): Rename. | |
19295 | * calls.c (try_to_integrate, expand_call): Use langhook. | |
19296 | * expr.c (expand_expr): Use langhook. | |
19297 | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update. | |
19298 | * langhooks.h (struct lang_hooks): New hook. | |
19299 | * stmt.c (expand_asm_operands): Use langhook. | |
19300 | * tree.h (mark_addressable): Remove. | |
19301 | objc: | |
19302 | * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
19303 | ||
544ef5b5 BW |
19304 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
19305 | ||
9be40833 RH |
19306 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning |
19307 | in previous change. | |
544ef5b5 | 19308 | |
bcf88f9b BW |
19309 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
19310 | ||
19311 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments | |
19312 | for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). | |
19313 | ||
ceef8ce4 NB |
19314 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
19315 | ||
19316 | * c-common.c (unsigned_conversion_warning, convert_and_check, | |
19317 | unsigned_type, signed_type, shorten_compare, | |
19318 | c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks. | |
19319 | (unsigned_type, signed_type, signed_or_unsigned_type): Rename. | |
19320 | * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
19321 | New. | |
19322 | * c-decl.c (grokdeclarator): Update. | |
19323 | * c-format.c (check_format_types): Update. | |
19324 | * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
19325 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
19326 | * c-typeck.c (build_binary_op, convert_for_assignment): Update. | |
19327 | * convert.c (convert_to_integer): Use new hooks. | |
19328 | * expmed.c (make_tree): Use new hooks. | |
19329 | * expr.c (store_expr): Use new hooks. | |
19330 | * fold-const.c (operand_equal_for_comparison_p, build_range_check, | |
19331 | all_ones_mask_p, unextend, fold): Use new hooks. | |
19332 | * langhooks.h (struct lang_hooks_for_types): New hooks. | |
19333 | * tree.h (signed_or_unsigned_type, signed_type, | |
19334 | unsigned_type): Remove. | |
19335 | objc: | |
19336 | * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
19337 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
19338 | ||
1d9ad0e0 RH |
19339 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19340 | ||
19341 | * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset. | |
19342 | (desc_frgr_mem): Fix reference to f16-f31. | |
19343 | ||
d544bc39 KG |
19344 | 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19345 | ||
19346 | * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, | |
19347 | RTVEC_ELT): Const-ify. | |
d8750784 KG |
19348 | * varray.h (VARRAY_CHECK): Const-ify. |
19349 | * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree, | |
19350 | ggc_mark_rtvec, ggc_mark): Const-ify. | |
d544bc39 | 19351 | |
b18101c7 NB |
19352 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
19353 | ||
19354 | * diagnostic.c: Include langhooks-def.h. | |
19355 | * Makefile.in (diagnostic.o): Update. | |
19356 | ||
48a7a235 NB |
19357 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
19358 | ||
19359 | * c-common.c (c_unsafe_for_reeval): Rename. | |
19360 | * c-common.h (c_unsafe_for_reeval): Rename. | |
19361 | * c-decl.c (finish_incomplete_decl): Rename. | |
19362 | (c_init_decl_processing): Don't set langhook. | |
19363 | * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
19364 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
19365 | * c-objc-common.c (c_objc_common_init): Don't set langhook. | |
19366 | * c-tree.h (finish_incomplete_decl): Rename. | |
19367 | * langhooks-def.h (lhd_unsafe_for_reeval): New. | |
19368 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New. | |
19369 | (LANG_HOOKS_INITIALIZER): Update. | |
19370 | * langhooks.c (lhd_unsafe_For_reeval): New. | |
19371 | * langhooks.h (struct langhooks): New hooks. | |
19372 | * toplev.c (incomplete_decl_finalize_hook): Remove. | |
19373 | (wrapup_global_declarations): Update. | |
19374 | * tree.c (lang_unsafe_for_reeval): Remove. | |
19375 | (unsafe_for_reeval): Update. | |
19376 | * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook): | |
19377 | Remove. | |
19378 | objc: | |
19379 | * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
19380 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
19381 | ||
7cb32822 NB |
19382 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
19383 | ||
19384 | * diagnostic.c (print_error_function): Remove. | |
19385 | (default_print_error_function): Rename. | |
19386 | (report_error_function): Update. | |
19387 | * diagnostic.h (print_error_function): Remove. | |
19388 | (default_print_error_function): Remove. | |
19389 | * langhooks-def.h (struct diagnostic_context): Predeclare. | |
19390 | (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New. | |
19391 | (LANG_HOOKS_INITIALIZER): Update. | |
19392 | * langhooks.h (struct diagnostic context): Predeclare. | |
19393 | (struct lang_hooks): New hook. | |
19394 | ||
1db02437 FS |
19395 | 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
19396 | ||
19397 | * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New. | |
19398 | (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if | |
19399 | !flag_pic. | |
19400 | (CONDITIONAL_REGISTER_USAGE): Adjust accordingly. | |
19401 | * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead | |
19402 | of PIC_OFFSET_TABLE_REGNUM thruout. | |
19403 | * config/rs6000/rs6000.md: Likewise. | |
19404 | * config/rs6000/darwin.h: Likewise. | |
19405 | ||
3bf1e984 RK |
19406 | Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
19407 | ||
19408 | * emit-rtl.c (adjust_address_1, offset_address): Cast value to | |
19409 | unsigned HOST_WIDE_INT, not unsigned int. | |
19410 | ||
0864c526 JJ |
19411 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
19412 | ||
19413 | PR middle-end/6096, middle-end/6098, middle-end/6099 | |
19414 | * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for | |
19415 | CODE_LABELs. | |
19416 | (fill_slots_from_thread): Likewise. | |
19417 | ||
105b2084 JJ |
19418 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
19419 | ||
19420 | * config/sparc/sparc.c (function_arg_record_value_1): Pass complex | |
19421 | floating fields in float regs. | |
19422 | (function_arg_record_value_2): Likewise. | |
19423 | ||
db08fddf HPN |
19424 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
19425 | ||
19426 | * config/mmix/mmix.md (define_constants): Remove misleading | |
19427 | FIXME. Add MMIX_fp_rO_OFFSET. | |
19428 | ("nonlocal_goto_receiver"): Don't have stack-frame address of | |
19429 | saved rO as part of the pattern. Remove FIXME. | |
19430 | ("*nonlocal_goto_receiver_expanded"): Similar. Generate address | |
19431 | here, at output-time. | |
19432 | ||
4f31cce8 JJ |
19433 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
19434 | ||
19435 | PR middle-end/6100 | |
19436 | * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not | |
19437 | REG_BR_PRED. | |
19438 | (output_v9branch): Likewise. | |
19439 | ||
ba2b7435 AO |
19440 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
19441 | ||
19442 | * gcc.c: Revert previous patch for now. | |
19443 | * config/i386/djgpp.h: Likewise. | |
19444 | ||
aa66aa5f | 19445 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
8f840f57 HPN |
19446 | |
19447 | * config/mmix/crti.asm (_init): Register _fini with atexit. | |
19448 | * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0". | |
19449 | ||
41ba8a20 RH |
19450 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19451 | ||
19452 | PR target/3997 | |
19453 | * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy. | |
19454 | (ASM_OUTPUT_DEF_FROM_DECLS): New. | |
19455 | ||
adc186ef RH |
19456 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19457 | ||
19458 | * libgcc2.c (__bb_exit_func): Make static. | |
19459 | ||
9be40833 | 19460 | * config/alpha/alpha.md (trap): New. |
a7648399 | 19461 | |
9602f5a0 RH |
19462 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19463 | ||
19464 | * builtins.c (expand_builtin_va_arg): Give warnings not errors for | |
19465 | promoted argument types; build trap. | |
19466 | (expand_builtin_trap): New. | |
19467 | (expand_builtin): Use it. | |
19468 | * stmt.c (expand_nl_goto_receivers): Likewise. | |
19469 | * expr.h (expand_builtin_trap): Declare. | |
19470 | * libfuncs.h (LTI_abort, abort_libfunc): New. | |
19471 | * optabs.c (init_optabs): Init abort_libfunc. | |
19472 | ||
1a0a7539 AO |
19473 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
19474 | ||
19475 | * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here... | |
19476 | (LINK_COMMAND_SPEC): ... from here. | |
7b2e1077 | 19477 | (init_gcc_specs): Duplicate it here too, omitting |
1a0a7539 AO |
19478 | shared_name in the second copy. |
19479 | (init_spec): Test for duplicate | |
19480 | * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'. | |
19481 | ||
b5de1a27 DM |
19482 | 2002-03-30 David S. Miller <davem@redhat.com> |
19483 | ||
19484 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
19485 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise. | |
19486 | ||
78414d74 | 19487 | 2002-03-30 Roger Sayle <roger@eyesopen.com> |
9be40833 | 19488 | Richard Henderson <rth@redhat.com> |
78414d74 | 19489 | |
9be40833 RH |
19490 | * regmove.c (combine_stack_adjustments_for_block): Avoid |
19491 | emitting a stack adjustment of zero bytes. Let delete_insn | |
19492 | update bb->head. | |
78414d74 | 19493 | |
33074e5f RH |
19494 | 2002-03-30 Richard Henderson <rth@redhat.com> |
19495 | ||
19496 | * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. | |
19497 | (sparc_emitting_epilogue): New. | |
19498 | (leaf_label, output_return, sparc_return_peephole_ok): Remove. | |
19499 | * config/sparc/sparc-protos.h: Update. | |
19500 | * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. | |
19501 | (TARGET_SWITCHES): Update. | |
19502 | * config/sparc/sparc.md (return): Remove. | |
19503 | (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. | |
19504 | * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, | |
19505 | config/sparc/liteelf.h, config/sparc/netbsd-elf.h, | |
19506 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
19507 | config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, | |
19508 | config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, | |
19509 | config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): | |
19510 | Remove MASK_EPILOGUE. | |
19511 | * doc/invoke.texi: Update. | |
19512 | ||
606cc056 DB |
19513 | 2002-03-30 Daniel Berlin <dan@dberlin.org> |
19514 | ||
19515 | * dwarf2out.c (dwarf2out_define): Remove start_source_file call, | |
19516 | CPP will start the file for us. | |
7b2e1077 | 19517 | |
bdbe5b8d RH |
19518 | 2002-03-30 Richard Henderson <rth@redhat.com> |
19519 | ||
19520 | PR target/5446 | |
19521 | * config/ia64/ia64.c (group_barrier_needed_p): Special case | |
19522 | prologue_allocate_stack. | |
19523 | (ia64_single_set): Use insn codes for recognition of special | |
19524 | cases, not rtl matching. | |
19525 | * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out. | |
19526 | ||
4ab95d82 JH |
19527 | Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz> |
19528 | ||
19529 | * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks. | |
19530 | ||
89a8b315 RH |
19531 | 2002-03-30 Richard Henderson <rth@redhat.com> |
19532 | ||
19533 | PR target/6032 | |
19534 | * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic | |
19535 | or -fomit-frame-pointer with profiling. | |
19536 | (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
19537 | (FUNCTION_PROFILER): Do nothing. | |
19538 | (PROFILE_HOOK): New. | |
19539 | * config/sparc/sparc.c (sparc_override_options): Don't check | |
19540 | code models for profiling. | |
19541 | (sparc_function_profiler): Remove. | |
19542 | (sparc_profile_hook): New. | |
19543 | * config/sparc/sparc-protos.h: Update. | |
19544 | ||
30984c57 JJ |
19545 | 2002-03-30 Jakub Jelinek <jakub@redhat.com> |
19546 | ||
19547 | PR optimization/6086 | |
19548 | * combine.c (combine_simplify_rtx): If simplify_rtx failed because | |
19549 | of SUBREG of volatile MEM or because the MEM was mode dependent, | |
19550 | return CLOBBER instead of unmodified SUBREG. | |
19551 | ||
1540f9eb JH |
19552 | Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> |
19553 | ||
89a8b315 RH |
19554 | * local-alloc.c (local_alloc): Avoid call of update_equiv_regs |
19555 | when not optimizing. | |
1540f9eb JH |
19556 | |
19557 | * toplev.c (rest_of_compilation): Cann mark_constant_function | |
19558 | only when optimizing. | |
19559 | ||
89a8b315 RH |
19560 | * flow.c (calculate_global_regs_live): Ensure that all AUX fields |
19561 | are NULL. | |
1540f9eb JH |
19562 | |
19563 | * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. | |
19564 | (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. | |
19565 | (try_optimize_cfg): clear all AUX fields. | |
19566 | ||
19567 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. | |
19568 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
19569 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
19570 | (legitimate_address_p): Accept SUBREGed registers. | |
19571 | ||
70d95bac RH |
19572 | 2002-03-29 Richard Henderson <rth@redhat.com> |
19573 | ||
19574 | PR target/5672 | |
19575 | * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place. | |
19576 | ||
d3294cd9 FS |
19577 | 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
19578 | ||
19579 | * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count | |
19580 | for aggregate and TFmode types. | |
19581 | ||
a106c875 HPN |
19582 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
19583 | ||
19584 | * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i]. | |
19585 | ||
7d7a5d6f RH |
19586 | 2002-03-29 Richard Henderson <rth@redhat.com> |
19587 | ||
6e2d670b | 19588 | PR target/5886 |
7d7a5d6f RH |
19589 | * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. |
19590 | * config/ia64/hpux.h, config/ia64/linux.h: Likewise. | |
19591 | ||
30c99a84 RH |
19592 | 2002-03-29 Richard Henderson <rth@redhat.com> |
19593 | ||
6e2d670b | 19594 | PR target/6041 |
30c99a84 RH |
19595 | * config/i386/i386.c (x86_arch_always_fancy_math_387): New. |
19596 | (override_options): Disable NO_FANCY_MATH_387 if the arch allows. | |
19597 | * config/i386/i386.h (x86_arch_always_fancy_math_387): New. | |
19598 | * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix | |
19599 | conditional. | |
19600 | * docs/invoke.texi: Update -mno-fancy-math-387 docs. | |
19601 | ||
02a566dc DJ |
19602 | 2002-03-29 Dale Johannesen <dalej@apple.com> |
19603 | ||
19604 | * loop.c (combine_movables): Do allow combination of pseudos. | |
19605 | ||
bc3a44db LR |
19606 | 2002-03-29 Loren J. Rittle <ljrittle@acm.org> |
19607 | ||
19608 | * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. | |
19609 | * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. | |
19610 | No functional change except ... | |
19611 | * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. | |
19612 | * doc/install.texi (*-*-freebsd*): Document port configuration. | |
19613 | ||
b0c48229 NB |
19614 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
19615 | ||
19616 | * Makefile.in (convert.o, calls.o, expmed.o): Update. | |
19617 | * attribs.c (handle_mode_attribute, handle_vector_size_attribute): | |
19618 | Use new hooks. | |
19619 | * builtin-types.def (BT_PTRMODE): Update. | |
19620 | * c-common.c (type_for_size): Rename c_common_type_for_size. | |
19621 | (type_for_mode): Similarly. | |
19622 | (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins): | |
19623 | Use new hook. | |
19624 | * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New. | |
19625 | * c-decl.c (finish_enum, build_enumerator): Use new hooks. | |
19626 | * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE): | |
19627 | Redefine. | |
19628 | * c-typeck.c (common_type, comptypes, default_conversion): | |
19629 | Use new hooks. | |
19630 | * calls.c: Include langhooks.h. | |
19631 | (emit_library_call_value_1): Use new hooks. Avoid redundant | |
19632 | calls. | |
19633 | * convert.c: Include langhooks.h | |
19634 | (convert_to_pointer, convert_to_integer): Use new hooks. | |
19635 | * except.c (init_eh): Similarly. | |
19636 | * expmed.c: Include langhooks.h. | |
19637 | (expand_mult_add): Use new hooks. | |
19638 | * expr.c (store_expr, store_constructor, expand_expr, do_jump, | |
19639 | try_casesi): Similarly. | |
19640 | * fold-const.c (optimize_bit_field_compare, make_range, | |
19641 | decode_field_reference, fold_truthop, fold): Similarly. | |
19642 | * function.c (assign_stack_local_1, assign_stack_temp_for_type, | |
19643 | put_var_into_stack): Similarly. | |
19644 | * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE, | |
19645 | LANG_HOOKS_TYPE_FOR_SIZE): New. | |
19646 | (LANG_HOOKS_TYPES_INITIALIZER): Update. | |
19647 | * langhooks.h (lang_hooks_for_types): New hooks. | |
19648 | * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks. | |
19649 | * tree.c (get_unwidened, get_narrower): Similarly. | |
19650 | * tree.h (type_for_mode, type_for_size): Remove. | |
19651 | * varasm.c (force_const_mem): Use new hooks. | |
19652 | * utils2.c (nonbinary_modular_operation): Update. | |
19653 | objc: | |
19654 | * objc-act.c (handle_impent): Update. | |
19655 | * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE): | |
19656 | Redefine. | |
19657 | ||
e206a74f SE |
19658 | 2002-03-29 Steve Ellcey <sje@cup.hp.com> |
19659 | ||
19660 | * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. | |
19661 | * config/ia64/ia64.c (basereg_operand): New. | |
19662 | * config/ia64/ia64-protos.h (basereg_operand): Declare. | |
19663 | * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand. | |
19664 | ||
7d9b6378 HPN |
19665 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
19666 | ||
19667 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct | |
19668 | unwind information when frame_pointer_needed. | |
19669 | (mmix_assemble_integer): Tweak wording in comment. | |
19670 | ||
f1e639b1 NB |
19671 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
19672 | ||
19673 | * Makefile.in (except.o): Update. | |
19674 | * except.c: Include langhooks.h. | |
19675 | (init_eh): Use langhook. | |
19676 | * langhooks-def.h (LANG_HOOKS_MAKE_TYPE, | |
19677 | LANG_HOOKS_FOR_TYPES_INITIALIZER): New. | |
19678 | (LANG_HOOKS_INITIALIZER): Update. | |
19679 | * langhooks.h (lang_hooks_for_types): New. | |
19680 | (struct lang_hooks): Add it. | |
19681 | * tree.c (make_lang_type_fn, make_lang_type): Remove. | |
19682 | * tree.h (make_lang_type_fn, make_lang_type): Remove. | |
19683 | config: | |
19684 | * alpha/alpha.c: Include langhooks.h. | |
19685 | (alpha_build_va_list): Use langhook. | |
19686 | * d30v/d30v.c: Include langhooks.h. | |
19687 | (d30v_build_va_list): Use langhook. | |
19688 | * i386/i386.c: Include langhooks.h. | |
19689 | (ix86_build_va_list): Use langhook. | |
19690 | * rs6000/rs6000.c (rs6000_build_va_list): Use langhook. | |
19691 | * s390/s390.c: Include langhooks.h. | |
19692 | (s390_build_va_list): Use langhook. | |
19693 | * stormy16/stormy16.c: Include langhooks.h. | |
19694 | (stormy16_build_va_list): Use langhook. | |
19695 | ||
f17f9332 JJ |
19696 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
19697 | ||
19698 | PR c++/5964 | |
19699 | * config/sparc/sparc.md (empty_delay_slot, branch_type): New | |
19700 | attributes. | |
19701 | (length): Compute variable length for branches/calls/jumps here. | |
19702 | (branch, inverted_branch, normal_fp_branch, inverted_fp_branch, | |
19703 | normal_fpe_branch, inverted_fpe_branch): Remove length attribute, | |
19704 | define branch_type attribute. | |
19705 | (divsi3_sp32): Maximum length is 6 not 7. | |
19706 | (call_address_struct_value_sp32, call_symbolic_struct_value_sp32, | |
19707 | call_address_untyped_struct_value_sp32, | |
19708 | call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2. | |
19709 | * config/sparc/sparc.c (empty_delay_slot): New function. | |
19710 | * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove. | |
19711 | * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype. | |
19712 | ||
0a0440c9 JJ |
19713 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
19714 | ||
19715 | * combine.c (set_nonzero_bits_and_sign_copies): Don't call | |
19716 | nonzero_bits if not needed. | |
19717 | (nonzero_bits) [XOR]: Likewise. | |
19718 | (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if | |
19719 | reg_last_set_mode and mode are both MODE_INT, but not equal. | |
19720 | (record_value_for_reg): Compute reg_last_set_nonzero_bits | |
19721 | in nonzero_bits_mode for MODE_INT modes. | |
19722 | ||
c9045f47 RH |
19723 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19724 | ||
19725 | PR target/5715 | |
19726 | * config/alpha/osf.h (ASM_SPEC): Don't pass any special options | |
19727 | to GAS. Correct drift between alternatives. | |
19728 | ||
f8ed1958 RH |
19729 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19730 | ||
19731 | PR target/6087 | |
19732 | * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. | |
19733 | ||
54e20385 LR |
19734 | 2002-03-28 Alexandre Oliva <aoliva@redhat.com> |
19735 | ||
19736 | * config/i386/freebsd.h (LINK_SPEC): Don't pass default | |
19737 | emulation to the linker. | |
19738 | ||
19739 | 2002-03-28 Loren J. Rittle <ljrittle@acm.org> | |
19740 | ||
19741 | * config/alpha/freebsd.h (LINK_SPEC): Likewise. | |
19742 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
19743 | ||
8bc52806 JL |
19744 | Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) |
19745 | ||
19746 | * combine.c (simplify_and_const_int): Make sure to apply mask | |
19747 | when force_to_mode returns a constant integer. PR3311. | |
19748 | ||
279dccc5 JDA |
19749 | 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
19750 | ||
19751 | * pa-linux.h (LOCAL_LABEL_PREFIX): Define. | |
19752 | ||
62aaa62c GP |
19753 | 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
19754 | ||
19755 | * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options | |
19756 | and Objective-C Dialect Options. | |
19757 | ||
b8de5050 RH |
19758 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19759 | ||
19760 | * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE | |
19761 | comparison should be done vs !=0 not >0 return code. Tidy cases. | |
19762 | ||
619708cc RH |
19763 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19764 | ||
19765 | * c-decl.c (finish_function): New arg can_defer_p. Pass it | |
19766 | on to c_expand_body. | |
19767 | * c-tree.h (finish_function): Update decl. | |
19768 | * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. | |
19769 | ||
b1d874d7 JH |
19770 | Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz> |
19771 | ||
19772 | * ifcvt.c (if_convert): Clear aux_for_blocks early enought. | |
19773 | ||
f5eb5fd0 JH |
19774 | Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz> |
19775 | ||
19776 | * rtlanal.c: Include flags.h | |
19777 | (may_trap_p): Do not mark FP operations if trapping | |
19778 | if !flag_trapping_math | |
19779 | * Makefile.in (rtlanal.o): Add dependency on flag.h | |
19780 | * ifcvt.c (noce_operand_ok): Avoid the lameness. | |
19781 | ||
81b4c798 ZW |
19782 | 2002-03-27 Zack Weinberg <zack@codesourcery.com> |
19783 | ||
19784 | * mips.md: Use dconst1, not 1.0, as first argument of | |
19785 | REAL_VALUE_LDEXP. Don't use union real_extract. | |
19786 | ||
55a2ea2a AM |
19787 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
19788 | ||
19789 | * configure.in (gcc_cv_as): Use $target_alias in directory searchs | |
19790 | rather than $target. Heed program_prefix and | |
19791 | program_transform_name. Search for gas in cross-compiler case too. | |
19792 | "test -x" rather than "test -f". | |
19793 | (gcc_cv_ld): Likewise. | |
19794 | (gcc_cv_nm): Heed program_prefix and program_transform_name. | |
19795 | (gcc_cv_objdump): Likewise. | |
19796 | * configure: Regenerate. | |
19797 | ||
7ffb4fd2 NB |
19798 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
19799 | ||
19800 | * Makefile.in (attribs.o): Update. | |
19801 | * attribs.c: Include langhooks.h. | |
19802 | (decl_attributes): Use langhook. | |
19803 | * c-decl.c (insert_default_attributes): Rename. | |
19804 | * c-tree.h (c_insert_default_attributes): New. | |
19805 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. | |
19806 | (LANG_HOOKS_INITIALIZER): Update. | |
19807 | * langhooks.h (struct lang_hooks): New hook. | |
19808 | * tree.h (insert_default_attributes): Remove. | |
19809 | objc: | |
19810 | * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. | |
19811 | ||
e4dbaed5 AS |
19812 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
19813 | ||
19814 | * config/i386/i386.c (classify_argument): Also check for | |
19815 | QUAL_UNION_TYPE. | |
19816 | ||
18b467f1 RO |
19817 | 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
19818 | ||
19819 | * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj | |
19820 | any more. | |
19821 | ||
d337d653 JH |
19822 | Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz> |
19823 | ||
19824 | * i960.md (ret): Set PC. | |
19825 | (nonlocal_goto): Fix expander. | |
19826 | * builtins.c (epxand_builin_longjmp): Check that we've emitted | |
19827 | some jump or call. | |
19828 | ||
218aa620 JH |
19829 | Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz> |
19830 | ||
19831 | * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting | |
19832 | of libcall regions. | |
19833 | ||
e27a4eaf ZD |
19834 | Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
19835 | ||
19836 | * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of | |
19837 | assigning to BLOCK_FOR_INSN directly. | |
19838 | ||
8a12f34c JH |
19839 | Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz> |
19840 | ||
19841 | * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. | |
19842 | ||
c9d892a8 NB |
19843 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
19844 | ||
19845 | * c-common.c (c_expand_expr): Fix prototype. | |
19846 | * c-common.h (c_expand_expr): Always declare, update. | |
19847 | * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
19848 | * c-objc-common.c (c_objc_common_init): No global hook. | |
19849 | * expr.c (expand_expr): Use langhook. | |
19850 | * expr.h (enum expand_modifier): Conditionally declare. | |
19851 | * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. | |
19852 | (LANG_HOOKS_INITIALIZER): Update. | |
19853 | * langhooks.c (lhd_expand_expr): New. | |
19854 | * langhooks.h (struct lang_hooks): New hook. | |
19855 | * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. | |
19856 | (lang_independent_init): Don't default hook. | |
19857 | objc: | |
19858 | * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
19859 | ||
6dad5a56 RH |
19860 | 2002-03-27 Richard Henderson <rth@redhat.com> |
19861 | ||
19862 | PR target/6054 | |
19863 | * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for | |
19864 | TARGET_CONST_GP. Simplify conditions. | |
19865 | ||
59f96879 RH |
19866 | 2002-03-27 Richard Henderson <rth@redhat.com> |
19867 | ||
19868 | * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
19869 | config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, | |
19870 | config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. | |
19871 | ||
f3f1190d DS |
19872 | 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net> |
19873 | ||
19874 | * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, | |
19875 | TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. | |
19876 | (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): | |
19877 | Remove unnecessary masks. | |
19878 | (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. | |
19879 | (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, | |
19880 | -mwindows, -mdll switches and their negations. | |
19881 | ||
31c816cf NB |
19882 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
19883 | ||
19884 | * gcc-common.c (lang_mark_false_label_stack): Remove. | |
19885 | * ggc.h (lang_mark_false_label_stack): Similarly. | |
19886 | ||
7b2e1077 | 19887 | 2002-03-26 Vladimir Makarov <vmakarov@redhat.com> |
aee8f532 VM |
19888 | |
19889 | * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__. | |
19890 | ||
19891 | * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__ | |
19892 | or __rtems_ is defined. | |
19893 | ||
1ef9531b RH |
19894 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19895 | ||
19896 | * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note | |
19897 | if a non-trivial load was emitted. | |
19898 | (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko | |
19899 | in high+extra+low case. | |
19900 | ||
300d4093 RH |
19901 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19902 | ||
19903 | * config.gcc (sparc*-solaris): Use float_format=sparc. | |
19904 | ||
b3689904 RH |
19905 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19906 | ||
19907 | * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
19908 | * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. | |
19909 | * config/sparc/linux.h, config/sparc/linux64.h: Likewise. | |
19910 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. | |
19911 | (WINT_TYPE_SIZE): Fix at 32. | |
19912 | ||
1eefb6c1 RH |
19913 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19914 | ||
19915 | * toplev.c (rest_of_compilation): Delay emit_initial_value_sets | |
19916 | until after eh landing pad generation. | |
19917 | * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. | |
19918 | * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. | |
19919 | ||
361ea006 RH |
19920 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19921 | ||
19922 | * expr.h (ADD_PARM_SIZE): One more convert for INC. | |
19923 | ||
1de38a88 PE |
19924 | 2002-03-26 Phil Edwards <pme@gcc.gnu.org> |
19925 | ||
19926 | * gcc.c (cpp_options): Preserve relative ordering of -pedantic | |
19927 | and warning switches. | |
19928 | (cc1_options): Likewise. | |
19929 | ||
d7e60e95 | 19930 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
361ea006 | 19931 | |
d7e60e95 HB |
19932 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): |
19933 | Restore more of the signal context. Set no_reg_stack_frame. | |
19934 | * config/ia64/unwind-ia64.c (unw_state_record): | |
19935 | Add no_reg_stack_frame, comments. | |
19936 | (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. | |
19937 | (uw_update_context): Adjust bsp when unwinding from leaf, | |
19938 | but not signal frame. | |
19939 | ||
7032923b DE |
19940 | 2002-03-26 David Edelsohn <edelsohn@gnu.org> |
19941 | ||
19942 | * config/rs6000/aix51.h (WCHAR_TYPE): Define. | |
19943 | ||
8be56275 BW |
19944 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
19945 | ||
19946 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types. | |
19947 | ||
56fbb855 RE |
19948 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
19949 | ||
19950 | PR target/5621 | |
19951 | * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999: | |
19952 | "Add a pool_range attribute", which was lost during the ARM/Thumb | |
19953 | merge. | |
19954 | ||
3437320b BW |
19955 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
19956 | ||
19957 | * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from | |
19958 | a register into the MAC16 accumulator. | |
19959 | ||
173028e5 AC |
19960 | 2002-03-26 Andrew Cagney <ac131313@redhat.com> |
19961 | ||
19962 | * doc/invoke.texi (Option Summary): Mention -Wswitch-enum. | |
19963 | (Warning Options): Document -Wswitch-enum. | |
19964 | * toplev.c (W_options): Add -Wswitch-enum. Update comment on | |
19965 | -Wswitch. | |
19966 | (warn_switch_enum): Define variables. | |
19967 | * flags.h (warn_switch_enum): Declare variables. | |
19968 | * stmt.c (expand_end_case_type): When warn_switch_enum / | |
19969 | -Wswitch-enum, perform switch checks. | |
19970 | Fix PR c/5044. | |
7b2e1077 | 19971 | |
e14365a7 RE |
19972 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
19973 | ||
19974 | * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi) | |
19975 | (reload_mulsi_compare0_scratch, reload_muladdsi_compare0) | |
19976 | (reload_muladdsi_compare0_scratch): Delete. | |
19977 | ||
46fc709d LR |
19978 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
19979 | ||
19980 | * doc/install.texi (*-*-freebsd*): Update. | |
19981 | ||
f36dea3c RH |
19982 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19983 | ||
8e5fe23f RH |
19984 | * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype. |
19985 | (SUB_PARM_SIZE): Cast DEC to ssizetype. | |
19986 | ||
19987 | * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK | |
19988 | types from the normal argument frame. | |
19989 | ||
f36dea3c RH |
19990 | * config/sparc/sparc.c (function_arg_pass_by_reference): Pass |
19991 | variable sized objects by reference. | |
19992 | (sparc_va_arg): Receive them by reference too. | |
19993 | ||
1447dc69 HP |
19994 | 2002-03-26 Hartmut Penner <hpenner@de.ibm.com> |
19995 | ||
19996 | * config/s390/s390.c (s390_emit_epilogue): Change epilogue | |
7b2e1077 | 19997 | code to not restoring global registers. |
1447dc69 | 19998 | |
4f0ade92 NB |
19999 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
20000 | ||
20001 | * Makefile.in (ggc-common.o): Update. | |
20002 | * c-decl.c (lang_mark_tree): Rename c_mark_tree. | |
20003 | * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
20004 | * c-tree.h (c_mark_tree): New. | |
20005 | * ggc-common.c: Include langhooks.h. | |
20006 | (gcc_mark_trees): Use new langhook. | |
20007 | * ggc-callbacks.c: Delete file. | |
20008 | * ggc.h (lang_mark_tree): Remove. | |
20009 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. | |
20010 | (LANG_HOOKS_INITIALIZER): Update. | |
20011 | * langhooks.h (struct lang_hooks): New hook. | |
20012 | objc: | |
20013 | * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
20014 | ||
caba570b ZW |
20015 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
20016 | ||
20017 | * doc/cpp.texi: Exclude entire Top node from printed manual. | |
20018 | Move option index after directive index. Insert page breaks | |
20019 | before GFDL and concept index. Index environment variables | |
20020 | with command line options. | |
20021 | * doc/cppenv.texi: Use @vtable for environment variable list. | |
20022 | Add paragraph explaining semantics of empty elements in path | |
20023 | variables. Exclude a cross-reference to Fishkill from the | |
20024 | manpage. Remove an unnecessary cross-reference of the entry | |
20025 | right above the referer. Don't use @anchor in text that goes | |
20026 | into manpage. | |
20027 | * doc/cppopts.texi: Cross-reference the environment variables | |
20028 | section, not the specific environment variable, for consistency. | |
20029 | ||
6b2e80b7 RH |
20030 | 2002-03-25 Richard Henderson <rth@redhat.com> |
20031 | ||
20032 | * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes | |
20033 | anywhere in the block. Don't refer to insns that have been | |
20034 | removed from the chain. Iterate backward through the new insns. | |
20035 | Don't refer to edges that have been removed. | |
20036 | ||
67e469d7 AM |
20037 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
20038 | ||
20039 | * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct | |
20040 | test for overflow of constant. | |
20041 | ||
f2356393 RE |
20042 | 2002-03-25 Richard Earnshaw <rearnsha@arm.com> |
20043 | ||
20044 | PR target/2623 | |
20045 | * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc) | |
20046 | (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use | |
20047 | these patterns on arm_archv4. | |
20048 | ||
355426ab DS |
20049 | 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net> |
20050 | ||
20051 | * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned | |
20052 | int". | |
20053 | ||
15e5ad76 ZW |
20054 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
20055 | ||
20056 | * toplev.c: Don't include setjmp.h. Kill float_handler_set, | |
20057 | float_handled, float_handler, float_signal, set_float_handler, | |
20058 | and do_float_handler. Set handler for SIGFPE to crash_signal. | |
20059 | * toplev.h: Don't prototype do_float_handler. | |
20060 | ||
20061 | * c-lex.c: Fold parse_float into lex_number. Make warning | |
20062 | about portability of hex float constants more informative, and | |
20063 | don't issue it on top of a syntax error. | |
20064 | * fold-const.c: Fold const_binop_1 and fold_convert_1 into | |
20065 | their callers. | |
20066 | * real.h: Define REAL_VALUE_ABS here... | |
20067 | * simplify-rtx.c: ... not here. Fold check_fold_consts, | |
20068 | simplify_unary_real, simplify_binary_real, and | |
20069 | simplify_binary_is2orm1 into their callers. | |
20070 | * tree.c: Fold build_real_from_int_cst_1 into caller. | |
20071 | ||
20072 | * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. | |
20073 | ||
20074 | * tsystem.h: Include float.h here... | |
20075 | * libgcc2.c: ... not here. | |
20076 | ||
56ae9405 NC |
20077 | 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com> |
20078 | ||
20079 | Fixes for: PR bootstrap/3591, target/5676 | |
20080 | * config/mcore/mcore.h (CC1_SPEC): Define only if not already | |
20081 | defined. Do not disable exceptions or rtti. | |
20082 | * config/mcore/mcore-pe.h (CC1_SPEC): Define before including | |
20083 | mcore.h. Disable exceptions and rtti, since they are not | |
20084 | supported by EPOC. | |
20085 | ||
c88770e9 NB |
20086 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
20087 | ||
20088 | * c-decl.c (maybe_build_cleanup): Remove. | |
20089 | * expr.c (expand_expr): Use langhook. | |
20090 | * langhooks-def.h (lhd_return_null_tree, | |
20091 | LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. | |
20092 | (LANGHOOKS_INITIALIZER): Update. | |
20093 | * langhooks.c (lhd_return_null_tree): New. | |
20094 | * langhooks.h (struct lang_hooks): New hook. | |
20095 | * tree-inline.c (initialize_inlined_parameters): Use langhook. | |
20096 | * tree.h (maybe_build_cleanup): Remove. | |
20097 | ||
2ed1f154 JJ |
20098 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
20099 | ||
20100 | * regrename.c (build_def_use): Move recog_memoized | |
20101 | before extract_insn. | |
20102 | ||
6ddae612 JJ |
20103 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
20104 | ||
20105 | PR target/6043 | |
20106 | * expr.c (emit_group_store): Handle storing into CONCAT. | |
20107 | ||
ea475b23 JJ |
20108 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
20109 | ||
20110 | * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and | |
20111 | corresponding MATCH_DUP. | |
20112 | ||
e7d482b9 RH |
20113 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20114 | ||
cd39fc13 RH |
20115 | * unroll.c (unroll_loop): Zero label_map. |
20116 | ||
e7d482b9 RH |
20117 | * gcse.c: Include except.h. |
20118 | * Makefile.in (gcse.o): Update. | |
20119 | ||
1bd6476f RH |
20120 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20121 | ||
20122 | * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change. | |
20123 | Do resolve_unique_section before shared data clause. | |
20124 | ||
2e6c150a RH |
20125 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20126 | ||
20127 | * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static. | |
20128 | ||
b29afcf8 RH |
20129 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20130 | ||
15e5ad76 | 20131 | * recog.c (peephole2_optimize): Split blocks when EH insns are |
b29afcf8 RH |
20132 | generated in the middle of a block. Do global life update if |
20133 | zapped EH edges. | |
20134 | ||
05ed1296 RH |
20135 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20136 | ||
20137 | * mips.c (mips_function_value): Only promote_mode for non-libcalls. | |
20138 | ||
3ddbb8a9 NB |
20139 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
20140 | ||
20141 | preprocessor/3951 | |
15e5ad76 | 20142 | * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. |
3ddbb8a9 NB |
20143 | * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. |
20144 | (init_dependency_output): Don't make no_output decision here. | |
20145 | ||
740b77b6 AC |
20146 | 2002-03-24 Andrew Cagney <ac131313@redhat.com> |
20147 | ||
20148 | * stmt.c (check_for_full_enumeration_handling): Remove tests of | |
20149 | warn_switch. Update description. | |
20150 | (expand_end_case_type): Call check_for_full_enumeration_handling | |
20151 | when warn_switch. | |
20152 | ||
7590cfd0 SC |
20153 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
20154 | ||
20155 | * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function. | |
20156 | (m68hc11_split_move): Call it to see if the source and destination | |
20157 | operands use the same direction auto inc/dec mode, otherwise make the | |
c61f581f | 20158 | source an offsetable memory operand and generate an add. |
7590cfd0 | 20159 | |
2e3d3481 SC |
20160 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
20161 | ||
20162 | * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address | |
20163 | register for operand 2. | |
20164 | ("*subsi3_zero_extendqi"): Likewise. | |
20165 | ("*iorhi3_gen"): Do the operation on the upper bits and then lower | |
20166 | bits so that it is compatible with a pop. | |
20167 | ("*andhi3_gen"): Likewise. | |
20168 | ("xorhi3"): Likewise. | |
20169 | ||
2784528c NB |
20170 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
20171 | ||
20172 | * cppinit.c (cpp_handle_option): Set warn_endif_labels if | |
20173 | -pedantic here... | |
20174 | (cpp_post_options): ... not here. | |
20175 | ||
aaf93206 NB |
20176 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
20177 | Aldy Hernandez <aldyh@redhat.com> | |
20178 | ||
20179 | Removal of separate preprocessor cpp0. | |
20180 | ||
20181 | * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS, | |
20182 | cpp0, install-common): Update. | |
20183 | * c-common.c (flag_preprocess_only): New. | |
20184 | (c_common_init): Preprocess for -E. | |
20185 | * c-common.h (flag_preprocess_only): New. | |
20186 | * c-decl.c (c_decode_option): Handle -E and -std=c++98. | |
20187 | * c-objc-common.c (c_init_decl_processing): Exit quickly | |
20188 | for NULL return from c_common_init. | |
20189 | * cpplib.h (cpp_preprocess_file): New. | |
20190 | * cppmain.c (main, general_init, pfile, progname): Remove. | |
20191 | (do_preprocessing): Rename cpp_preprocess_file, don't call | |
20192 | cpp_finish. Don't close stdout here. | |
20193 | (setup_callbacks): Update prototype. | |
20194 | * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers): | |
20195 | Update. | |
20196 | * tradcpp.c (main): Ignore -quiet. | |
20197 | objc: | |
20198 | * lang-specs.h (default_compilers): Preprocess with cc1obj. | |
20199 | ||
c6e6f5c1 RH |
20200 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20201 | ||
20202 | PR optimization/5742 | |
20203 | * machmode.def: Add inner mode field to complex modes. | |
20204 | * config/mips/mips.c (mips_function_value): Always define. Add | |
20205 | new argument to handle libcalls. | |
20206 | * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value. | |
20207 | (FUNCTION_VALUE): Likewise. | |
20208 | * config/mips/abi64.h (FUNCTION_VALUE): Remove. | |
20209 | * config/mips/mips-protos.h: Update. | |
20210 | ||
d88e57d1 RH |
20211 | 2002-03-23 Richard Henderson <rth@redhat.com> |
20212 | ||
20213 | * config/sparc/sparc.c (sparc_emit_floatunsdi): New. | |
20214 | * config/sparc/sparc-protos.h: Update. | |
20215 | * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New. | |
20216 | ||
6dfaf9ba RH |
20217 | 2002-03-23 Richard Henderson <rth@redhat.com> |
20218 | ||
20219 | * config/sparc/gmon-sol2.c (internal_mcount): Assume either | |
20220 | _start or _init begins the text segment. | |
20221 | ||
0c769cf8 DE |
20222 | 2002-03-23 David Edelsohn <edelsohn@gnu.org> |
20223 | ||
20224 | * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT | |
20225 | not HOST_WIDEST_INT. | |
20226 | (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes. | |
20227 | ||
64e92a26 RE |
20228 | 2002-03-23 Richard Earnshaw <rearnsha@arm.com> |
20229 | ||
20230 | PR java/5489 | |
20231 | * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the | |
20232 | operand argument to output_return_instruction. | |
15e5ad76 | 20233 | * arm.c (arm_print_operand, case 'd'): If the operand is |
64e92a26 RE |
20234 | const_true_rtx then just return. |
20235 | (arm_print_operand, case 'D'): If the operand is const_true_rtx | |
20236 | then abort. | |
20237 | ||
d6961341 AC |
20238 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
20239 | ||
20240 | * doc/invoke.texi (Option Summary): Mention -Wswitch-default. | |
20241 | (Warning Options): Document -Wswitch-default. | |
20242 | * toplev.c (W_options): Add -Wswitch-default. Update comment on | |
20243 | -Wswitch. | |
20244 | (warn_switch_default): Define variable. | |
20245 | (warn_switch): Update comment. | |
20246 | * flags.h (warn_switch_default): Declare variable. | |
20247 | (warn_switch): Update comment. | |
20248 | * stmt.c (expand_end_case): Check for and, when | |
20249 | warn_switch_no_default, warn of a missing default case. | |
15e5ad76 | 20250 | |
d4c5ac1f AM |
20251 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
20252 | ||
bbaa9790 AM |
20253 | * real.h (N): Special case 128 bit doubles. |
20254 | ||
d4c5ac1f AM |
20255 | * combine.c (simplify_comparison): When widening modes, ignore |
20256 | sign extension on CONST_INTs. | |
20257 | ||
84bf8c2c BW |
20258 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
20259 | ||
20260 | * config/xtensa/xtensa.c (print_operand): Fix incorrect mode | |
20261 | passed to adjust_address. Fix comment formatting. | |
20262 | ||
20263 | ||
b216cd4a ZW |
20264 | 2002-03-22 Zack Weinberg <zack@codesourcery.com> |
20265 | ||
20266 | * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. | |
20267 | Always make REAL_VALUE_TYPE a struct containing an array of | |
20268 | HOST_WIDE_INT, not a double. Tidy up the code deciding how | |
20269 | big it is. Don't declare or use union real_extract. | |
20270 | ||
20271 | * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, | |
20272 | decode_rtx_const, output_constant_pool), config/a29k/a29k.c | |
20273 | (print_operand), config/arm/arm.c (output_move_double), | |
20274 | config/arm/arm.md (consttable_4, consttable_8), | |
20275 | config/romp/romp.c (output_fpops), config/s390/s390.h | |
20276 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c | |
20277 | (xtensa_output_literal): Don't use union real_extract. | |
20278 | ||
20279 | * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c | |
20280 | (sfmode_constant_to_ulong), config/ns32k/merlin.h | |
20281 | (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), | |
20282 | config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h | |
20283 | (PRINT_OPERAND): Don't use local version of union | |
20284 | real_extract. | |
20285 | ||
20286 | * config/convex/convex.c (check_float_value), config/vax/vax.c | |
20287 | (vax_float_literal), config/m88k/m88k.md (divdf3), | |
20288 | config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), | |
20289 | config/pdp11/pdp11.c (output_move_quad): Don't do host | |
20290 | arithmetic on target floating point quantities. | |
20291 | ||
20292 | * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c | |
20293 | (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. | |
20294 | ||
20295 | * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): | |
20296 | Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. | |
20297 | ||
20298 | * real.c (earith): Test INFINITY rather than REAL_INFINITY; | |
20299 | NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef | |
20300 | INFINITY. | |
20301 | * print-rtl.c (print_rtx): Disable code which needs | |
20302 | floating-point emulator. | |
20303 | * libgcc2.c: Include float.h and use DBL_MANT_DIG, | |
20304 | FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than | |
20305 | depending on HOST_FLOAT_FORMAT to be defined properly. | |
20306 | ||
20307 | * config/1750a/1750a.c (get_double, float_label): Delete. | |
20308 | (print_operand): Delete huge commented-out chunk. Use | |
20309 | REAL_VALUE_TO_DECIMAL. | |
20310 | * config/1750a/1750a-protos.h: Delete prototypes of deleted | |
20311 | functions. | |
20312 | * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to | |
20313 | IEEE_FLOAT_FORMAT. | |
20314 | * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): | |
20315 | Use REAL_VALUE_TO_DECIMAL as ELF version does. | |
20316 | * config/m88k/m88k.c (real_power_of_2_operand, | |
20317 | legitimize_operand): Take the REAL_VALUE_TYPE and/or union | |
20318 | real_extract out of the union; run the input through | |
20319 | REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords | |
20320 | from that into the union. | |
20321 | * config/pdp11/pdp11.c (output_move_double): Rearrange | |
20322 | parentheses to make automatic indenter happy. | |
20323 | ||
20324 | * doc/tm.texi (Cross-compilation): Rename node to "Floating | |
20325 | Point" and rewrite to describe current situation. Also adjust | |
20326 | documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to | |
20327 | match code. | |
20328 | * doc/rtl.texi: Adjust cross reference. | |
20329 | ||
a8cacfd2 BW |
20330 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
20331 | ||
20332 | * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove. | |
20333 | (xtensa_valid_move, xtensa_preferred_reload_class): Define. | |
20334 | * config/xtensa/xtensa.c (non_acc_reg_operand): Remove. | |
20335 | (xtensa_valid_move, xtensa_preferred_reload_class): Define to | |
20336 | prevent use of sp as a reload register. | |
20337 | (xtensa_emit_move_sequence): Use xtensa_valid_move instead of | |
20338 | non_acc_reg_operand. | |
20339 | * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand. | |
20340 | (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class. | |
20341 | * config/xtensa/xtensa.md (movsi_internal, movhi_internal, | |
20342 | movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand. | |
20343 | ||
d4e6133f NB |
20344 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
20345 | ||
b216cd4a ZW |
20346 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. |
20347 | * cpplex.c (unterminated): Delete. | |
20348 | (parse_string): No string literal may extend over multiple | |
20349 | lines. Suppress the error when preprocessing assembly. | |
d4e6133f NB |
20350 | * cppmain.c (scan_translation_unit): Strings are single-line. |
20351 | ||
b216cd4a | 20352 | * doc/cpp.texi: Update to match. |
d4e6133f | 20353 | |
65e6c005 JJ |
20354 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
20355 | ||
20356 | PR optimization/5854 | |
20357 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
20358 | Shut up warnings. | |
20359 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
20360 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
20361 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
20362 | const0 if scratch register was not allocated. | |
20363 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
20364 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
20365 | with GEN_INT (...). | |
20366 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
20367 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
20368 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
20369 | patterns. | |
20370 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
20371 | require scratch register for setting 0 into regs/non-pushable memory. | |
20372 | ||
7f48c9e1 AO |
20373 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
20374 | ||
20375 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
20376 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
20377 | ||
909de5da PE |
20378 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
20379 | ||
20380 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
20381 | * cppinit.c (cpp_create_reader): On by default. | |
20382 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
20383 | (cpp_post_options): Also enable if -pedantic. | |
20384 | * cpplib.c (do_else): Use it. | |
20385 | (do_endif): Likewise. | |
20386 | * doc/cppopts.texi: Document new option. | |
20387 | * doc/invoke.texi: Document new option. | |
20388 | ||
d8bf17f9 LB |
20389 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
20390 | ||
20391 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
20392 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
20393 | ||
70e0ccd0 AO |
20394 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
20395 | ||
20396 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
20397 | ENTRY and EXIT. | |
20398 | ||
68882f0f JJ |
20399 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
20400 | ||
20401 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
20402 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
20403 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
20404 | rtx * instead of rtx to alter_subreg. | |
20405 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
20406 | * config/pj/pj.c (pj_output_rval): Likewise. | |
20407 | ||
648fe28b RH |
20408 | 2002-03-22 Richard Henderson <rth@redhat.com> |
20409 | ||
20410 | PR target/3177 | |
20411 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
20412 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
20413 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
20414 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
20415 | of incomming int regs. | |
20416 | ||
e8dcd824 AM |
20417 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
20418 | ||
20419 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
20420 | ||
96327cdc JH |
20421 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
20422 | ||
20423 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
20424 | New static variables. | |
20425 | (rest_of_compilation): Conditionalize crossjumping and | |
20426 | loop optimizer. | |
20427 | (parse_options_and_default_flags): Default loop_optimize and | |
20428 | crossjumping. | |
20429 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
20430 | * invoke.texi (crossjumping, loop-optimize): Document. | |
20431 | ||
bc185257 RS |
20432 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
20433 | ||
20434 | * real.c (eiisneg): Move outside #ifdef NANS. | |
20435 | ||
0a2ed1f1 JH |
20436 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
20437 | ||
20438 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
20439 | frequencies match; avoid match on different loop depths. | |
20440 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
20441 | savings. | |
20442 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
20443 | updating code. | |
20444 | (split_edge): Likewise. | |
20445 | ||
20446 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
20447 | variable. | |
20448 | ||
20449 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
20450 | * cfgrtl.c: Include insn-config.h | |
20451 | (split_block) Dirtify block in presence of conditional execution | |
20452 | ||
4d72536e RS |
20453 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
20454 | ||
20455 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
20456 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
20457 | (function_arg): Constify CUMULATIVE_ARGS. | |
20458 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
20459 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
20460 | (UNITS_PER_DOUBLE): New macro. | |
20461 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
20462 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
20463 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
20464 | fp_regs and stack_words. | |
20465 | (EABI_FLOAT_VARARGS_P): New macro. | |
20466 | * config/mips/mips.c (struct mips_arg_info): New. | |
20467 | (mips_arg_info): New function. | |
20468 | (function_arg_advance): Use it. Add adjustment instructions here | |
20469 | rather than in function_arg. | |
20470 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
20471 | for VOIDmode at the beginning of the function. | |
20472 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
20473 | (function_arg_pass_by_reference): Likewise. | |
20474 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
20475 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
20476 | (mips_va_start): Likewise. Use the new stack_words field of | |
20477 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
20478 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
20479 | doubles and other types, aligning the overflow pointer for non-doubles | |
20480 | too. Remove some code duplication. Replace hard-coded constants. | |
20481 | ||
e6f884cd RS |
20482 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
20483 | ||
20484 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
20485 | (CLASS_UNITS): Undefine. | |
20486 | (CLASS_MAX_NREGS): Use FP_INC. | |
20487 | * config/mips/mips.c (compute_frame_size): Likewise. | |
20488 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
20489 | ||
10cf9bde NB |
20490 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
20491 | ||
20492 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
20493 | prototype, and handle lexing numbers and identifiers. | |
20494 | (parse_identifier): Update to new form of parse_slow. | |
20495 | (parse_number): Fast path only, use parse_slow otherwise. | |
20496 | (_cpp_lex_direct): Update calls to parse_number. | |
20497 | ||
fbc2782e DD |
20498 | 2002-03-21 DJ Delorie <dj@redhat.com> |
20499 | ||
20500 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
20501 | when redundant edges are omitted. | |
20502 | * predict.c (dump_prediction): Likewise. | |
20503 | ||
fba39eaf RH |
20504 | 2002-03-21 Richard Henderson <rth@redhat.com> |
20505 | ||
20506 | PR target/5996 | |
20507 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
20508 | * fixinc/fixincl.x: Regenerate. | |
20509 | ||
eba80994 EB |
20510 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
20511 | ||
20512 | PR c/5597 | |
20513 | * c-typeck.c (process_init_element): Flag non-static | |
20514 | initialization of a flexible array member as illegal. | |
20515 | ||
2a78758b AM |
20516 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
20517 | ||
20518 | * config/rs6000/t-linux64: New. | |
20519 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
20520 | t-ppccomm. Use t-rs6000 and t-linux64. | |
20521 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
bac015e7 AM |
20522 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
20523 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
20524 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
2a78758b | 20525 | |
2cb921f4 AH |
20526 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
20527 | ||
eba80994 EB |
20528 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
20529 | flag_really_no_inline instead of optimize == 0. | |
2cb921f4 | 20530 | |
eba80994 | 20531 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
2cb921f4 | 20532 | |
eba80994 | 20533 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
2cb921f4 | 20534 | |
eba80994 | 20535 | * flags.h (flag_really_no_inline): New. |
2cb921f4 | 20536 | |
659e5a7a | 20537 | * c-common.c (c_common_post_options): Initialize |
eba80994 | 20538 | flag_really_no_inline. |
2cb921f4 | 20539 | |
eba80994 | 20540 | * toplev.c (flag_really_no_inline): New. |
2cb921f4 | 20541 | |
239b8b9d JJ |
20542 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
20543 | ||
20544 | * config/avr/avr.md (length): Fix length computation for | |
20545 | conditional branches. | |
20546 | ||
43577e6b NB |
20547 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
20548 | ||
20549 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
20550 | sdbout.o, profile.o): Update. | |
20551 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
20552 | langhook. | |
20553 | * c-common.h (gettags): Move here from tree.h. | |
20554 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
20555 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
20556 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
20557 | * expr.c (expand_expr): Use insert_block langhook. | |
20558 | * fold-const.c: Include langhooks.h. | |
20559 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
20560 | fold): Use global_bindings_p langhook. | |
20561 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
20562 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
20563 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
20564 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
20565 | LANG_HOOKS_GETDECLS): New. | |
20566 | (LANG_HOOKS_INITIALIZER): Update. | |
20567 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
20568 | langhook. | |
20569 | * langhooks.h (struct lang_hooks_for_decls): New. | |
20570 | (struct lang_hooks): Update. | |
20571 | * profile.c: Include langhooks.h. | |
20572 | (output_func_start_profiler): Use new langhooks. | |
20573 | * sdbout.c: Include langhooks.h. | |
20574 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
20575 | * stmt.c: Include langhooks.h. | |
20576 | (expand_fixup, fixup_gotos): Use new langhooks. | |
20577 | * stor-layout.c: Include langhooks.h. | |
20578 | (variable_size): Use global_bindings_p langhook. | |
20579 | * toplev.c (compile_file): Use getdecls langhook. | |
20580 | * tree-inline.c (remap_block): Use insert_block langhook. | |
20581 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
20582 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
20583 | ||
5b19b10c RH |
20584 | 2002-03-21 Richard Henderson <rth@redhat.com> |
20585 | ||
20586 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
20587 | constants in .data when -fpic. | |
20588 | ||
e05af335 GP |
20589 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
20590 | ||
20591 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
20592 | where appropriate. | |
20593 | ||
60ffc997 TT |
20594 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
20595 | ||
20596 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
20597 | ||
75897075 RK |
20598 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
20599 | ||
a73afd69 | 20600 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
46399021 | 20601 | |
75897075 RK |
20602 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
20603 | ||
312687cf EB |
20604 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
20605 | Richard Henderson <rth@redhat.com> | |
20606 | ||
20607 | PR c/5354 | |
20608 | * c-common.c (c_expand_expr): Preserve result of a statement | |
20609 | expression if needed. | |
20610 | ||
f0e1f482 JJ |
20611 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
20612 | ||
20613 | PR bootstrap/4195 | |
20614 | * genrecog.c (maybe_both_true_mode): Remove. | |
20615 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
20616 | * machmode.def (Pmode): Likewise. | |
20617 | ||
c14b9960 JW |
20618 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
20619 | ||
20620 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
20621 | (nonlocal_mentioned_p_1): New function. | |
20622 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
20623 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
20624 | (mark_constant_function): Recognize pure functions. | |
20625 | * rtl.h (global_reg_mentioned_p): New prototype. | |
20626 | * rtlanal.c (global_reg_mentioned_p, | |
20627 | global_reg_mentioned_p_1): New function. | |
20628 | ||
aaa4d130 RO |
20629 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
20630 | ||
20631 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
20632 | UNIX assert.h. | |
20633 | * fixinc/fixincl.x: Regenerate. | |
20634 | ||
e5c4bd1b JM |
20635 | 2002-03-20 Jason Merrill <jason@redhat.com> |
20636 | ||
20637 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
20638 | ||
852b81bb MM |
20639 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
20640 | ||
20641 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
20642 | -fstrict-aliasing. | |
20643 | ||
86d8c251 BW |
20644 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
20645 | ||
20646 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
20647 | ".literal_position" directive before the constant pool. | |
20648 | ||
0a39c350 GP |
20649 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
20650 | ||
20651 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
20652 | Add Craig Rodrigues. | |
20653 | Add Brad Lucier to testers. | |
20654 | ||
71a83373 JJ |
20655 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
20656 | ||
20657 | PR target/4792 | |
20658 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
20659 | to if_then_else. | |
20660 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
20661 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
20662 | instead of insn_extract. | |
20663 | ||
a29b099d JJ |
20664 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
20665 | ||
20666 | PR bootstrap/4192 | |
71a83373 | 20667 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
a29b099d JJ |
20668 | |
20669 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
20670 | stmt if some case has been output. | |
20671 | ||
048b1c95 JJ |
20672 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
20673 | ||
20674 | PR c/5972 | |
20675 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
20676 | movsfcc_1, movdfcc_1): Add %O2. | |
20677 | * config/i386/i386.c (print_operand): Handle %ON. | |
20678 | Print . before float condition codes in Sun as cmov syntax. | |
20679 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
20680 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
20681 | no longer true. | |
20682 | ||
f4864588 PB |
20683 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
20684 | ||
20685 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
20686 | return instruction if PC was popped. | |
20687 | ||
3a307de4 BW |
20688 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
20689 | ||
20690 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
20691 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
20692 | ||
048b1c95 | 20693 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
ed7d44bc DJ |
20694 | |
20695 | PR optimization/5999, middle-end/5731 | |
20696 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
20697 | multiplications by reciprocals. | |
20698 | ||
7afff7cf NB |
20699 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
20700 | ||
20701 | * Makefile.in: Update. | |
20702 | * c-common.c: Include langhooks.h. | |
20703 | (inline_forbidden_p): Use new hook. | |
20704 | * diagnostic.c: Include langhooks.h. | |
20705 | (format_with_decl, announce_function, | |
20706 | default_print_error_function): Use new hook. | |
20707 | * dwarf2out.c (dwarf2_name): Use new hook. | |
20708 | * function.c: Include langhooks.h. | |
20709 | (init_function_start): Use new hook. | |
20710 | * langhooks-def.h (lhd_decl_printable_name): New. | |
20711 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
20712 | (LANGHOOKS_INITIALIZER): Update. | |
20713 | * langhooks.c (lhd_decl_printable_name): New. | |
20714 | * langhooks.h (struct lang_hooks): New hook. | |
20715 | * toplev.c (decl_name, decl_printable_name): Remove. | |
20716 | (open_dump_file): Use new hook. | |
20717 | (process_options): Remove old hook. | |
20718 | * tree.h (decl_printable_name): Remove. | |
20719 | objc: | |
20720 | * objc-act.c (objc_init): Remove old hook. | |
20721 | (objc_printable_name): Export. | |
20722 | * objc-act.h (objc_printable_name): New. | |
20723 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
20724 | ||
f78ce0b7 JB |
20725 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
20726 | ||
20727 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
20728 | the start_source_file debug hook, not the current line number. | |
20729 | ||
15b5aef3 RH |
20730 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20731 | ||
20732 | * flow.c (EH_USES): Provide default. | |
20733 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
20734 | * doc/tm.texi (EH_USES): New. | |
20735 | ||
20736 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
20737 | * config/ia64/ia64-protos.h: Update. | |
20738 | * config/ia64/ia64.h (EH_USES): New. | |
20739 | ||
02a7a3fd RH |
20740 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20741 | ||
20742 | * varasm.c (output_constant_def): Fix stupid typo. | |
20743 | ||
93f82d60 RH |
20744 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20745 | ||
2842be05 | 20746 | PR 5879 |
93f82d60 RH |
20747 | * except.c (current_function_has_exception_handlers): New. |
20748 | * except.h: Declare it. | |
20749 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
20750 | Combine tests that disable all sibcalls for the function. | |
20751 | ||
ed4fbfa0 OH |
20752 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
20753 | ||
20754 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
20755 | for INTEGER_CST. | |
20756 | ||
ebf0e888 RH |
20757 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20758 | ||
1e82682b | 20759 | PR 5977, 5991 |
ebf0e888 RH |
20760 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
20761 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
20762 | ||
e37b38d7 JB |
20763 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
20764 | ||
20765 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
20766 | name, even if the replacement list contains no tokens, as required | |
20767 | by Dwarf. | |
20768 | ||
2a4ea326 JM |
20769 | 2002-03-19 Jason Merrill <jason@redhat.com> |
20770 | ||
f9d09ae5 JM |
20771 | * varasm.c (globalize_decl): Get the name from the RTL, not |
20772 | DECL_ASSEMBLER_NAME. | |
20773 | ||
2a4ea326 JM |
20774 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
20775 | ||
99b96edb BW |
20776 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
20777 | ||
20778 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
20779 | subdi_carry): Define. | |
20780 | ||
3774b567 DE |
20781 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
20782 | ||
20783 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
20784 | about -fpic/-fPIC if extra_warnings set. | |
20785 | ||
21ef78aa DE |
20786 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
20787 | ||
20788 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
20789 | TREE_STRING_POINTER. | |
0c2fdcdf | 20790 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
21ef78aa | 20791 | |
91d4b3fd RK |
20792 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
20793 | ||
20794 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
20795 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
20796 | ||
2496c7bd LB |
20797 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
20798 | ||
20799 | * emit-rtl.c (gen_int_mode): New function. | |
20800 | * rtl.h: Prototype for it. | |
20801 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
20802 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
20803 | (convert_modes, store_field), optabs.c (expand_fix), | |
20804 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
20805 | ||
20806 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
20807 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
20808 | ||
f735a153 JJ |
20809 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
20810 | ||
20811 | PR c/5656 | |
20812 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
20813 | convert_parm_for_inlining. | |
20814 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
20815 | Define. | |
20816 | * langhooks-def.h: Likewise. | |
20817 | * objc/objc-lang.c: Likewise. | |
20818 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
20819 | function. | |
20820 | * tree-inline.c (initialize_inlined_parameters): | |
20821 | Call convert_parm_for_inlining lang hook if needed. | |
20822 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
20823 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
20824 | ||
1929c971 MM |
20825 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
20826 | ||
b216cd4a | 20827 | * calls.c (precompute_arguments): Do not assume that temporaries |
1929c971 MM |
20828 | can be destroyed after expanding the argument. |
20829 | (expand_call): Likewise. | |
20830 | ||
c79ca0ac EC |
20831 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
20832 | ||
20833 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
20834 | Fix register preference on last change. | |
20835 | * config/mips/mips.c (mips_return_in_memory): New function. | |
20836 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
20837 | * config/mips/mips-protos.h: Declare. | |
20838 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
20839 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
20840 | ||
07e2e444 AO |
20841 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
20842 | ||
1bfbbbcf AO |
20843 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
20844 | a register too. | |
20845 | (anddi3, iorsi3): Likewise. | |
20846 | ||
c066429e AO |
20847 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
20848 | use %gprel for symbols that are going to be placed in linkonce | |
20849 | sections. | |
20850 | ||
07e2e444 AO |
20851 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
20852 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
20853 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
20854 | not needed. Disregard leaf_function_p(). | |
20855 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
20856 | mips16 frame pointer. | |
20857 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
20858 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
20859 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
20860 | return a REG rtx for the return address register. | |
20861 | ||
eb8e00ea BW |
20862 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
20863 | ||
20864 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
20865 | constant-pool addresses as "mode-dependent". | |
20866 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
20867 | ||
cbb92744 JJ |
20868 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
20869 | ||
20870 | PR target/5740 | |
20871 | * expr.c (emit_group_load): Use extract_bit_field if | |
20872 | needed for CONCAT arguments. | |
20873 | ||
657d9449 RE |
20874 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
20875 | ||
91f3a802 | 20876 | PR target/4863 |
657d9449 RE |
20877 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
20878 | offset to the base of the table. | |
20879 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
20880 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
20881 | as the difference of two labels. | |
20882 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
20883 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
20884 | tables in the code. | |
20885 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
20886 | * arm.c (get_jump_table_size): If the table is not in the text | |
20887 | section, return zero. | |
c79ca0ac | 20888 | |
5d5603e2 BS |
20889 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
20890 | ||
20891 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
20892 | of gen_rtx_SUBREG. | |
20893 | (arm_reload_out_hi): Use gen_lowpart instead of | |
20894 | gen_rtx_SUBREG to access QImode components. | |
20895 | * config/arm/arm.md: Disable zero_extend split for QImode | |
20896 | subregs in BIG_ENDIAN mode. | |
20897 | (storehi_bigend): Match use of least significant byte. | |
20898 | (storeinthi): Remove extraneous SUBREG. | |
66c17b64 | 20899 | Add missing construction of operands[2]. |
5d5603e2 BS |
20900 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
20901 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
20902 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
20903 | ||
df15fbc7 AH |
20904 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
20905 | ||
2496c7bd LB |
20906 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
20907 | any_operand. | |
df15fbc7 | 20908 | |
b83b7fa3 RH |
20909 | 2002-03-17 Richard Henderson <rth@redhat.com> |
20910 | ||
20911 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
20912 | explicitly. | |
20913 | ||
6f7c00fe HPN |
20914 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
20915 | ||
20916 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
20917 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
20918 | ||
155038f2 KG |
20919 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
20920 | ||
720d42fa KG |
20921 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
20922 | ||
155038f2 KG |
20923 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
20924 | ||
e6542f4e RH |
20925 | 2002-03-17 Richard Henderson <rth@redhat.com> |
20926 | ||
20927 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
20928 | targetm definition. Make static. | |
20929 | ||
52dabb6c NB |
20930 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
20931 | ||
20932 | * c-common.h (yyparse, c_common_parse_file): New. | |
20933 | * c-lang.c: Include c-common.h. | |
20934 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
20935 | * c-lex.c: Include c-common.h. | |
20936 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
20937 | * c-parse.in (yyparse): Remove macro. | |
20938 | * c-tree.h (yyparse_1): Remove. | |
20939 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
20940 | (LANG_HOOKS_INITIALIZER): Update. | |
20941 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
20942 | * toplev.c (compile_file): Use parse_file hook. | |
20943 | * tree.h (yyparse): Remove. | |
e6542f4e | 20944 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
52dabb6c | 20945 | |
b5ffe606 HPN |
20946 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
20947 | ||
ba82f58b HPN |
20948 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
20949 | float_truncate, not fix. | |
20950 | ("*truncdfsf2_real"): Ditto. | |
20951 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
20952 | ||
b5ffe606 HPN |
20953 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
20954 | ||
c8d1b2b7 AO |
20955 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
20956 | ||
cfb773f9 AO |
20957 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
20958 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
20959 | where appropriate. Make the second reference to | |
20960 | leaf_function_p a function call, as intended. Reindented. | |
20961 | ||
4dffef52 AO |
20962 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
20963 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
20964 | ||
4f5bd6d7 AO |
20965 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
20966 | add register to non-constant into sp. | |
20967 | ||
c8d1b2b7 AO |
20968 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
20969 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
20970 | (mips16_gp_pseudo_rtx): Lose. | |
20971 | (INIT_EXPANDERS): Deleted. | |
20972 | * config/mips/mips.c (mips_init_machine_status): New. | |
20973 | (mips_free_machine_status): New. | |
20974 | (mips_mark_machine_status): New. | |
20975 | (override_options): Set them. | |
20976 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
20977 | (struct machine_function): ... new. Replaced all references. | |
20978 | (mips_add_gc_roots): Don't mark them. | |
20979 | (embedded_pic_fnaddr_reg): New, extracted from... | |
20980 | (embedded_pic_offset): ... here. | |
20981 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
20982 | (movsi): Likewise. | |
20983 | ||
b3124fac NB |
20984 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
20985 | ||
20986 | * cppinit.c: Revert -MD removal. | |
20987 | ||
121449b6 SC |
20988 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
20989 | ||
20990 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
20991 | soft registers by default for 68HC12. | |
20992 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
20993 | when compiling with -fomit-frame-pointer. | |
20994 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
20995 | (expand_epilogue): Likewise. | |
20996 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
20997 | ||
840e2ff1 SC |
20998 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
20999 | ||
21000 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
21001 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
21002 | (splits): Remove unused add splits. | |
21003 | ("*addhi3_68hc12"): Tune constraints. | |
21004 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
21005 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
21006 | ("*addhi3"): Remove extern declaration of ix_reg. | |
21007 | ("*subsi3"): Optimize and provide new split. | |
21008 | ("subhi3"): Cleanup. | |
21009 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
21010 | (arith splits): For 68hc12 save the address register on the stack | |
21011 | and do the arithmetic operation with a pop. | |
21012 | ||
3c9a5efe SC |
21013 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21014 | ||
21015 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
21016 | allocating QImode in address registers. | |
21017 | ("*movqi_m68hc11"): Likewise. | |
21018 | ||
e41f3392 JH |
21019 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
21020 | ||
21021 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
21022 | ||
576786b0 NB |
21023 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
21024 | ||
21025 | * cppinit.c (print_help): Display -MD and -MMD. | |
21026 | Don't display usage string. Update assertion syntax and | |
21027 | typo. | |
21028 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
21029 | (cpp_handle_option): Update. | |
21030 | ||
1ac458d4 CD |
21031 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
21032 | ||
21033 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
21034 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
21035 | and define it so that regardless of target CPU size, | |
21036 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
21037 | of "int" rather than "long." | |
21038 | ||
1fcd592b RH |
21039 | 2002-03-15 Richard Henderson <rth@redhat.com> |
21040 | ||
21041 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
21042 | size as a tree. | |
21043 | ||
a0df6910 SC |
21044 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21045 | ||
21046 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
21047 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
21048 | (splits): Remove constraints. | |
21049 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
21050 | ("cmpdf", "cmpsf"): Remove since not used. | |
21051 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
21052 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
21053 | ||
015a2e59 SC |
21054 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21055 | ||
21056 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
21057 | ("neghi2"): Tighten constraints. | |
21058 | ("one_cmplsi2"): Optimize and simplify split. | |
21059 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
21060 | ||
cd28557c SC |
21061 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21062 | ||
21063 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
21064 | and split of AND operation to clear the upper bits. | |
21065 | ("*logicalsi3_zextqi"): Likewise. | |
21066 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
21067 | ("*logicalsi3_silshr16"): Likewise. | |
21068 | ("logicalsi3_silshl16"): Likewise. | |
21069 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
21070 | ||
932657df SC |
21071 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21072 | ||
21073 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
21074 | (m68hc11_indirect_p): New function. | |
21075 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
21076 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
21077 | TARGET_M6812. | |
21078 | (asm_print_register): Likewise. | |
21079 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
21080 | (m68hc11_indirect_p): Declare. | |
21081 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
21082 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
21083 | (TARGET_SWITCHES): New option -mrelax. | |
21084 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
21085 | destination. | |
21086 | ("iorsi3", "xorsi3"): Likewise. | |
21087 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
21088 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
21089 | and a scratch register. | |
21090 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
21091 | ("*andhi3_const"): New when operand2 is constant. | |
21092 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
21093 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
21094 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
21095 | ("xorqi3"): Update constraints. | |
21096 | ||
fdffea1a SC |
21097 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21098 | ||
21099 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
21100 | for reg_equiv_memory_loc when the operand is a register that does | |
21101 | not get a hard register (stack location). | |
21102 | (tst_operand): After reload, accept all memory operand. | |
21103 | (symbolic_memory_operand): Fix detection of symbolic references. | |
21104 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
21105 | accept symbols and any constant. | |
21106 | ||
6272bc68 SC |
21107 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21108 | ||
21109 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
21110 | note on the insn that sets the soft frame register. | |
21111 | (must_parenthesize): ix and iy are also reserved names. | |
21112 | (print_operand_address): One more place where parenthesis are required | |
21113 | to avoid confusion with register names. | |
21114 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
21115 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
21116 | clobber. | |
21117 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
21118 | the replacement register is. | |
21119 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
21120 | and D8_REGS classes. | |
21121 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
21122 | ||
1d2d9def SC |
21123 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21124 | ||
21125 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
21126 | (___subdi3): Likewise. | |
21127 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
21128 | (__map_data_section): Optimize 68hc11 case. | |
21129 | ||
a0ccf503 SC |
21130 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21131 | ||
21132 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
21133 | than a shift to avoid adding a register with itself. | |
21134 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
21135 | (m68hc11_register_move_cost): Update and use memory move cost | |
21136 | for soft registers. | |
21137 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
21138 | it gives more opportunities to cse to optimize. | |
21139 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
21140 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
21141 | ||
6e4ae815 MM |
21142 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
21143 | ||
21144 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
21145 | * c-common.def (CLEANUP_STMT): New tree node. | |
21146 | * c-common.h (CLEANUP_DECL): New macro. | |
21147 | (CLEANUP_EXPR): Likewise. | |
21148 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
21149 | * expr.c (expand_expr): Tidy. | |
21150 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
21151 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
21152 | new local variables. | |
21153 | ||
a42519be JJ |
21154 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
21155 | ||
21156 | PR bootstrap/4128 | |
21157 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
21158 | before movrXX only, use reg_overlap_mentioned_p. | |
21159 | Only special case NE if just one insn can be generated. | |
21160 | ||
15409448 JM |
21161 | 2002-03-15 Jason Merrill <jason@redhat.com> |
21162 | ||
21163 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
21164 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
21165 | of error_mark_node. | |
21166 | ||
3a4edb44 RE |
21167 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
21168 | ||
21169 | PR target/5170 | |
21170 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
21171 | explaining non-obvious test. | |
21172 | ||
32defa36 RE |
21173 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
21174 | ||
21175 | PR target/5712 | |
21176 | * arm.md (movaddr, movaddr_insn): Delete. | |
21177 | ||
5cc90635 JM |
21178 | 2002-03-15 Jason Merrill <jason@redhat.com> |
21179 | ||
21180 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
21181 | -fkeep-static-consts doesn't apply to comdats. | |
21182 | ||
ecb0eece RH |
21183 | 2002-03-14 Richard Henderson <rth@redhat.com> |
21184 | ||
21185 | * c-decl.c: Include c-pragma.h. | |
21186 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
21187 | (finish_function): Tidy. | |
21188 | * c-pragma.c: Include c-common.h. | |
21189 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
21190 | (handle_pragma_weak): Use them. | |
21191 | (init_pragma): Register pending_weaks. | |
21192 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
21193 | * print-tree.c (print_node): Print DECL_WEAK. | |
21194 | * varasm.c (mark_weak_decls): Remove. | |
21195 | (remove_from_pending_weak_list): Remove. | |
21196 | (add_weak): Remove. | |
21197 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
21198 | (weak_decls): Make a tree_list. | |
21199 | (declare_weak): Cons weak_decls directly. | |
21200 | (globalize_decl): Remove weak_decls elements directly. | |
21201 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
21202 | symbols. Don't pretend to handle aliases. | |
21203 | (init_varasm_once): Update weak_decls registry. | |
21204 | * Makefile.in: Update dependencies. | |
21205 | ||
98d2b17e RH |
21206 | 2002-03-14 Richard Henderson <rth@redhat.com> |
21207 | ||
21208 | PR target/5312 | |
21209 | * config/ia64/ia64.c: Include tm_p.h last. | |
21210 | (gen_nop_type): Remove duplicate definition. | |
21211 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
21212 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
21213 | (nop_cycles_until): Fix typos. | |
21214 | ||
f2f4927e JJ |
21215 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
21216 | ||
21217 | PR optimization/5891 | |
21218 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
21219 | ||
5025a549 DM |
21220 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
21221 | ||
21222 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
21223 | descriptors correctly. | |
21224 | ||
03e9dbc9 MM |
21225 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
21226 | ||
21227 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
21228 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
21229 | ||
21230 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
21231 | --param. | |
21232 | ||
21233 | * unroll.c (params.h): Include. | |
21234 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
21235 | ||
21236 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
21237 | ||
21238 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
21239 | ||
12249385 RE |
21240 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
21241 | ||
21242 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
21243 | ||
f0cce04a ZW |
21244 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
21245 | ||
21246 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
21247 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
21248 | (linemarker_dir): New data object. | |
21249 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
21250 | preprocessed source. Delete obsolete comment about return | |
21251 | values of handlers. | |
21252 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
21253 | Don't muck with line_extension. | |
21254 | (directive_diagnostics): No need to issue warnings for | |
21255 | linemarkers here. | |
21256 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
21257 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
21258 | do_line. | |
21259 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
21260 | Convert escape sequences in filename argument, both places. | |
21261 | ||
21262 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
21263 | export. All callers changed. | |
21264 | * cpplib.h (cpp_quote_string): Prototype. | |
21265 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
21266 | before printing it. | |
21267 | ||
21268 | * doc/cpp.texi: Document that escapes are now interpreted in | |
21269 | #line and in linemarkers, and that non-printing characters are | |
21270 | converted to octal escapes when linemarkers are generated. | |
21271 | ||
21272 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
83a49407 JH |
21273 | |
21274 | * emit-rtl.c (try_split): Use delete_insns. | |
21275 | * recog.c (split_all_insns): Fix terminating condition. | |
21276 | ||
c882c7ac RE |
21277 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
21278 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
21279 | ||
21280 | PR target/5828 | |
21281 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
21282 | adjustment when using a frame pointer. | |
21283 | ||
3f26edaa RS |
21284 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
21285 | ||
21286 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
21287 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
21288 | (save_restore_insns, mips_expand_epilogue): And here. | |
21289 | (build_mips16_call_stub): And here. | |
21290 | (mips_function_value): Use the new macros to decide whether a single | |
21291 | or complex float can be returned in floating-point registers. Return | |
21292 | a parallel rtx in the complex case. | |
21293 | ||
1e3881c2 JH |
21294 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
21295 | ||
21296 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
21297 | call after liveness analysis. | |
21298 | ||
21299 | * recog.c (split_insn): Use delete_insn_and_edges. | |
21300 | ||
21301 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
21302 | instructions to have branch prediction notes. | |
21303 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
21304 | ||
200ef634 GK |
21305 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
21306 | ||
21307 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
21308 | that doesn't support it. | |
21309 | * configure: Regenerate. | |
21310 | ||
0b82d204 JJ |
21311 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
21312 | ||
21313 | PR target/5626 | |
21314 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
21315 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
21316 | inverted_fp_branch): Adjust calls to output_cbranch. | |
21317 | Set length attribute. | |
21318 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
21319 | output_v9branch. Set length attribute. | |
21320 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
21321 | predicates. | |
21322 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
21323 | (output_cbranch): Likewise. Handle far branches. | |
21324 | (output_v9branch): Handle far branches. | |
21325 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
21326 | Adjust prototypes. | |
21327 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
21328 | noov_compare64_op predicates. | |
21329 | ||
7a8de19b JM |
21330 | 2002-03-13 Jason Merrill <jason@redhat.com> |
21331 | ||
21332 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
21333 | into the function and constify it. | |
21334 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
21335 | ||
2a55fd42 DE |
21336 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
21337 | ||
21338 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
21339 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
21340 | std_expand_builtin_va_arg if not ABI_V4. | |
21341 | ||
19c5b1cf JM |
21342 | 2002-03-13 Jason Merrill <jason@redhat.com> |
21343 | ||
21344 | * varasm.c (globalize_decl): New fn. | |
21345 | (assemble_start_function): Use it. | |
21346 | (asm_emit_uninitialized): Use it. | |
21347 | (assemble_alias): Use it. | |
21348 | (assemble_variable): Use it. | |
21349 | ||
2a15f5e1 HPN |
21350 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
21351 | ||
21352 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
f0cce04a | 21353 | 2002-03-12 internal visibility change. |
2a15f5e1 HPN |
21354 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
21355 | visibility into SYMBOL_REF_FLAG. | |
21356 | ||
c0a3eeac UW |
21357 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
21358 | ||
21359 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
21360 | VOIDmode operand. Add compile-time optimization for constant results. | |
21361 | ||
a1652cee JM |
21362 | 2002-03-12 Jason Merrill <jason@redhat.com> |
21363 | ||
21364 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
21365 | between pointers and references. Only allow lvalues to convert to | |
21366 | reference. | |
21367 | ||
c52a375d HP |
21368 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
21369 | ||
f0cce04a ZW |
21370 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
21371 | before prologue, to avoid scheduling problems. | |
c52a375d | 21372 | |
e387e99b JJ |
21373 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
21374 | ||
21375 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
21376 | (ELIMINABLE_REGS): Add sfp->sp. | |
21377 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
21378 | ||
21379 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
09948ece JJ |
21380 | |
21381 | PR optimization/5892 | |
21382 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
21383 | ||
4061c1a3 JJ |
21384 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
21385 | ||
21386 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
21387 | classes are different. | |
21388 | ||
5b43fed1 RH |
21389 | 2002-03-12 Richard Henderson <rth@redhat.com> |
21390 | ||
9f53e965 RH |
21391 | PR optimization/5901 |
21392 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
21393 | the markers after/before the last/first insn not deleted. | |
21394 | ||
21395 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
21396 | ||
21397 | PR optimization/5878 | |
5b43fed1 RH |
21398 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
21399 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
21400 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
21401 | ||
21402 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
21403 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
21404 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
21405 | ||
21406 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
21407 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
21408 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
21409 | also. Don't set it if not flag_pic. | |
21410 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
21411 | to be INVALID_REGNUM when not used. | |
21412 | ||
4e9bb42b AH |
21413 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
21414 | ||
5b43fed1 RH |
21415 | * expmed.c (store_bit_field): Reset alias set for memory. |
21416 | (extract_bit_field): Same. | |
4e9bb42b | 21417 | |
2f9834e8 KG |
21418 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21419 | ||
21420 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
21421 | c_tree_code_name, add_c_tree_codes): Delete. | |
21422 | * c-common.h (add_c_tree_codes): Delete. | |
21423 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
21424 | Define. | |
21425 | * c-objc-common.c (c_objc_common_init): Don't call | |
21426 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
21427 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
21428 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
21429 | (objc_init): Don't call add_objc_tree_codes. | |
21430 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
21431 | tree_code_name): Define. | |
21432 | * toplev.c (lang_independent_init): Don't set | |
21433 | tree_code_length[IDENTIFIER_NODE]. | |
21434 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
21435 | Delete definitions, moved to language front-ends. | |
21436 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
21437 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
21438 | Const-ify. | |
21439 | (tree_code_length): Change type to unsigned char. | |
21440 | ||
36ad2436 RH |
21441 | 2002-03-12 Richard Henderson <rth@redhat.com> |
21442 | ||
21443 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
21444 | internal visibility change. | |
21445 | ||
0ae02efa BW |
21446 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21447 | ||
21448 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
21449 | validize_mem() instead of change_address to avoid clobbering | |
21450 | memory attributes. | |
21451 | ||
35bb2bee NB |
21452 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
21453 | ||
21454 | * c-lex.h (position_after_whitespace): Remove. | |
21455 | ||
62ae2529 JJ |
21456 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
21457 | ||
21458 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
21459 | (lex_string): Use unsigned char pointers. | |
21460 | ||
6a45951f UW |
21461 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
21462 | ||
21463 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
21464 | is not a valid memory_operand. | |
21465 | ||
e2fb85da BW |
21466 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21467 | ||
21468 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
21469 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
21470 | special case for libgcc files. | |
21471 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
21472 | (__divsi3): Likewise. | |
21473 | (__umodsi3): Likewise. | |
21474 | (__modsi3): Likewise. | |
21475 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
21476 | special case for libgcc files. | |
21477 | ||
5b8619f8 TR |
21478 | 2002-03-12 Tom Rix <trix@redhat.com> |
21479 | ||
21480 | * collect2.c (resolve_lib_name): Move outside of | |
f0cce04a | 21481 | OBJECT_FORMAT_COFF ifdef. |
5b8619f8 TR |
21482 | (ignore_library): Same. |
21483 | ||
089c8f97 BW |
21484 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21485 | ||
21486 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
21487 | ||
958c70ff BW |
21488 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21489 | ||
21490 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
21491 | to function_section before writing out the constant pool. | |
21492 | ||
a65c591c DE |
21493 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
21494 | ||
21495 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
21496 | zero_constant. | |
21497 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
21498 | ||
21499 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
21500 | ||
21501 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
21502 | (adddi3): Likewise. | |
21503 | (movdf): Likewise. | |
21504 | (movdi): Likewise. | |
21505 | (cmpsi splitter): Likewise. | |
21506 | (modsi3): Fail if <= 0. | |
21507 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
21508 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
21509 | (reg_or_sub_cint64_operand): Likewise. | |
21510 | (num_insns_constant_wide): Optimize sign extension. | |
21511 | (rs6000_legitimize_address): Likewise. | |
21512 | ||
17720332 AM |
21513 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
21514 | ||
21515 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
21516 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
21517 | ||
cd49f073 AM |
21518 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
21519 | ||
21520 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
21521 | address calculation. | |
21522 | ||
6a4e49c1 UW |
21523 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
21524 | ||
21525 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
21526 | scratch register to DImode / TImode. | |
21527 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
21528 | register used does not overlap the target. | |
21529 | ||
54b6670a KG |
21530 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21531 | ||
21532 | * Makefile.in (debug.o): Depend on debug.h. | |
21533 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
21534 | * debug.c (do_nothing_debug_hooks): Likewise. | |
21535 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
21536 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
21537 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
21538 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
21539 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
21540 | * integrate.c (output_inline_function): Likewise. | |
21541 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
21542 | * sdbout.c (sdb_debug_hooks): Likewise. | |
21543 | * toplev.c (debug_hooks): Likewise. | |
21544 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
21545 | ||
2465bf76 KG |
21546 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21547 | ||
21548 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
21549 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
21550 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
21551 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
21552 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
21553 | * defaults.h (POINTER_SIZE): Define. | |
21554 | * doc/tm.texi (POINTER_SIZE): Document default. | |
21555 | ||
53f3e9ca KG |
21556 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21557 | ||
21558 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
21559 | ||
44d3eb5b RH |
21560 | 2002-03-11 Richard Henderson <rth@redhat.com> |
21561 | ||
21562 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
21563 | if rebuild_label_notes_after_reload. | |
21564 | ||
4a085d2e HPN |
21565 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
21566 | ||
21567 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
21568 | emit pic register load if "internal" visibility. | |
21569 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
21570 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
21571 | ||
bc204393 RH |
21572 | 2002-03-11 Richard Henderson <rth@redhat.com> |
21573 | ||
21574 | * rtlanal.c: Include recog.h. | |
21575 | (keep_with_call_p): Fix thinko. | |
21576 | * Makefile.in (rtlanal.o): Update dependencies. | |
21577 | ||
6b8b9d7b CM |
21578 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
21579 | ||
21580 | * genflags.c (gen_insn): Use IS_VSPACE. | |
21581 | * genoutput.c (output_insn_data): Likewise. | |
21582 | (process_template): Likewise. | |
21583 | ||
6c40858f RH |
21584 | 2002-03-11 Richard Henderson <rth@redhat.com> |
21585 | ||
21586 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
21587 | ||
40adaa27 NB |
21588 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
21589 | ||
21590 | * Makefile.in: Update. | |
6c40858f | 21591 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
40adaa27 | 21592 | Update documentation. |
6c40858f RH |
21593 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
21594 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
40adaa27 | 21595 | |
049b03f4 ZW |
21596 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
21597 | ||
21598 | * Makefile.in: Give texi2pod its input file as a command line | |
21599 | argument, not on stdin. | |
21600 | ||
61eece67 DN |
21601 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
21602 | Daniel Berlin <dan@dberlin.org> | |
21603 | ||
21604 | C++ alias analysis improvement. | |
f0cce04a | 21605 | * alias.c (record_component_aliases): Record aliases for base |
61eece67 DN |
21606 | classes too. |
21607 | ||
a65c591c DE |
21608 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
21609 | ||
ff080aba UW |
21610 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
21611 | ||
1682dbb1 DR |
21612 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
21613 | ||
fa2d765a DR |
21614 | * toplev.c (vms_fopen): Remove, not needed. |
21615 | ||
6f1fd286 DR |
21616 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
21617 | ||
b230e057 DR |
21618 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
21619 | ||
cb9a8e97 DR |
21620 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
21621 | for FP, already done later. | |
21622 | ||
1682dbb1 DR |
21623 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
21624 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
21625 | ||
3fcaac1d RS |
21626 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
21627 | ||
21628 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
21629 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
21630 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
21631 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
21632 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
21633 | (ediv, emul, eldexp, esqrt): Likewise. | |
21634 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
21635 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
21636 | (saturate): New function. | |
21637 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
21638 | (make_nan): Use a saturation value instead of a NaN if | |
21639 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
21640 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
21641 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
21642 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
21643 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
21644 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
21645 | !ROUND_TOWARDS_ZERO. | |
21646 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
21647 | (ROUND_TOWARDS_ZERO): Document. | |
21648 | ||
d25558be AJ |
21649 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
21650 | ||
21651 | * cfg.c (dump_flow_info): Remove unused variable. | |
21652 | ||
c71f9ae7 HPN |
21653 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
21654 | ||
21655 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
21656 | computations on trees. | |
21657 | ||
561c9153 RH |
21658 | 2002-03-10 Richard Henderson <rth@redhat.com> |
21659 | ||
932b4e3e | 21660 | PR 5693: |
561c9153 RH |
21661 | * reload.c (copy_replacements_1): New. |
21662 | (copy_replacements): Use it to recurse through the rtx. | |
21663 | ||
26b738be RH |
21664 | 2002-03-10 Richard Henderson <rth@redhat.com> |
21665 | ||
21666 | * loop.c (strength_reduce): Compute number of iterations as | |
21667 | unsigned HOST_WIDE_INT. | |
21668 | ||
8d8a083e RH |
21669 | 2002-03-10 Richard Henderson <rth@redhat.com> |
21670 | ||
21671 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
21672 | to move away from the end of the block. | |
21673 | ||
32810ba3 NB |
21674 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
21675 | ||
21676 | PR preprocessor/5899 | |
21677 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
d25558be | 21678 | |
2b03d201 KG |
21679 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21680 | ||
f90c544c KG |
21681 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
21682 | ||
2b03d201 KG |
21683 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
21684 | ||
3ec1b4cb HPN |
21685 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
21686 | ||
21687 | * config/mmix/mmix.c: Improve comments. | |
21688 | (mmix_target_asm_function_prologue): Drop variable | |
21689 | empty_stack_frame. Don't allocate unused slot above fp. | |
21690 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
21691 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
21692 | brace in first column. | |
21693 | (enum reg_class): Ditto. | |
21694 | (FIRST_PARM_OFFSET): Now 0. | |
21695 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
21696 | ||
27e486c5 KG |
21697 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21698 | ||
21699 | * combine.c (make_extraction): Fix error in last change. | |
21700 | ||
0139adca KG |
21701 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21702 | ||
21703 | * c4x.c (c4x_fp_reglist): Const-ify. | |
21704 | * cris.c (cris_print_operand): Likewise. | |
21705 | * i386.c (ix86_va_arg): Likewise. | |
21706 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
21707 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
21708 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
21709 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
21710 | * mcore.h (regno_reg_class): Likewise. | |
21711 | * mips.c (gen_int_relational): Likewise. | |
21712 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
21713 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
a4334c36 | 21714 | * pdp11.c (move_costs): Likewise. |
0139adca KG |
21715 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
21716 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
21717 | Likewise. | |
21718 | * s390.h (regclass_map): Likewise. | |
21719 | * sh.c (shift_amounts): Likewise. | |
a4334c36 | 21720 | * sh.md (rotlsi3): Likewise. |
0139adca | 21721 | |
889b90a1 GK |
21722 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
21723 | ||
21724 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
21725 | (ne0+5): Use new clobber to generate proper shift pattern. | |
21726 | Patch by Michael Matz <matz@kde.org>. | |
21727 | ||
2877e0ae AS |
21728 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
21729 | ||
21730 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
21731 | ||
79b51cd7 GK |
21732 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
21733 | ||
21734 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
21735 | ||
e0f1be5c JJ |
21736 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
21737 | ||
21738 | PR middle-end/5877 | |
21739 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
21740 | even for non-representable constants. | |
21741 | ||
0a7ec763 RK |
21742 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
21743 | ||
93fe8e92 RK |
21744 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
21745 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
21746 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
21747 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
21748 | (pop_function_context): Compute MAY_SHARE parameter for | |
21749 | fixup_var_refs. | |
21750 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
21751 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
21752 | ||
0a7ec763 RK |
21753 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
21754 | ||
a85cd407 AO |
21755 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
21756 | ||
9445b814 AO |
21757 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
21758 | in o32 and o64 ABIs. | |
21759 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
21760 | but getting fixed-size structs passed in registers regardless of | |
21761 | padding in o32 and o64 ABIs. | |
21762 | ||
a85cd407 AO |
21763 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
21764 | offset before loading address of argument passed by transparent | |
21765 | reference. | |
21766 | ||
c51fbe40 JDA |
21767 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
21768 | ||
21769 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
21770 | ||
918e70dd AO |
21771 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
21772 | ||
21773 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
21774 | marker such that registers after it are saved. | |
21775 | ||
3070dd00 KG |
21776 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21777 | ||
21778 | * sparc.c (arith_4096_operand): Fix error in last change. | |
21779 | ||
e25d11b0 AO |
21780 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
21781 | ||
21782 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
21783 | defaults for MEABI. | |
21784 | ||
41daaf0e AH |
21785 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
21786 | ||
5b43fed1 RH |
21787 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
21788 | vectors. | |
41daaf0e | 21789 | |
fa139b00 AH |
21790 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
21791 | ||
5b43fed1 | 21792 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
fa139b00 | 21793 | |
c51d95ec JH |
21794 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
21795 | ||
21796 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
21797 | removed; fix return value. | |
21798 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
21799 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
21800 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
21801 | ||
3b25fbfe KG |
21802 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21803 | ||
21804 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
21805 | ||
189ae0f4 JH |
21806 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
21807 | ||
21808 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
21809 | ||
24965e7a NB |
21810 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
21811 | ||
21812 | * expr.c (expand_expr): Use unsave lang hook. | |
21813 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
21814 | (LANG_HOOKS_INITIALIZER): Update. | |
21815 | * langhooks.h (struct lang_hooks): New hook unsave. | |
21816 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
21817 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
21818 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
21819 | (unsave_expr_now): Remove. | |
21820 | * tree.h (unsave_expr_now, lang_unsave, | |
21821 | lang_unsave_expr_now): Remove. | |
21822 | (lhd_unsave): New. | |
21823 | ||
1e4e95d6 AJ |
21824 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
21825 | ||
21826 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
21827 | ||
054ef905 KH |
21828 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
21829 | ||
21830 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
21831 | insn length for memory load/store. | |
21832 | ||
5304400d | 21833 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1e4e95d6 | 21834 | |
5304400d CR |
21835 | * doc/install.texi (--with-libiconv-prefix): Document. |
21836 | ||
81034129 MB |
21837 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
21838 | ||
21839 | * doc/sourcebuild.texi: Fix typo. | |
21840 | ||
71db7d03 JJ |
21841 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
21842 | ||
21843 | PR c/3711 | |
21844 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
21845 | trees. | |
21846 | ||
127c1ba5 RK |
21847 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
21848 | ||
21849 | * rtl.c (copy_most_rtx): Move from here ... | |
21850 | * emit-rtl.c (copy_most_rtx): ... to here. | |
21851 | ||
8a13c092 AO |
21852 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
21853 | ||
5faae4f7 AO |
21854 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
21855 | SUBTARGET_CPP_SIZE_SPEC. | |
21856 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
21857 | ||
8a13c092 AO |
21858 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
21859 | ||
4ec59de2 MH |
21860 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
21861 | ||
21862 | * gensupport.c (first_dir_md_include): Renamed from include; | |
21863 | change all references. | |
21864 | (last_dir_md_include): Renamed from last_include; change all | |
21865 | references. | |
21866 | (init_md_reader): Unconditionally initialize base_dir whether or | |
21867 | not filename is a relative path. | |
21868 | ||
12f61e77 AO |
21869 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
21870 | ||
95356058 AO |
21871 | * config/fp-bit.c (_unord_f2): Compile it in even if |
21872 | US_SOFTWARE_GOFAST is enabled. | |
21873 | ||
12f61e77 AO |
21874 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
21875 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
21876 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
21877 | NULL_RTX, try reversing the comparison and the operands. | |
21878 | ||
6d7a1c4c UW |
21879 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
21880 | ||
21881 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
21882 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
21883 | and MATCH_OP_DUP. | |
21884 | ||
66d54344 JH |
21885 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
21886 | ||
21887 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
21888 | ||
068473ec JH |
21889 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
21890 | ||
21891 | * basic-block.h (fixup_abnormal_edges): Declare. | |
21892 | * reload1.c (fixup_abnormal_edges): New function. | |
21893 | * reg-stack.c (convert_regs): Use it. | |
21894 | ||
21895 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
21896 | ||
21897 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
21898 | ||
71925bc0 RS |
21899 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
21900 | ||
21901 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
21902 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
21903 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
21904 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
21905 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
21906 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
21907 | unless x and y could be infinite. | |
21908 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
21909 | Check that the common type of both arguments is a real, even for | |
21910 | targets without unordered comparisons. Allow an integer argument | |
21911 | to be compared against a real. | |
21912 | (expand_tree_builtin): Use expand_unordered_cmp. | |
21913 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
21914 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
21915 | * fold-const.c (fold_real_zero_addition_p): New. | |
21916 | (fold): Use it, and the new HONOR_... macros. | |
21917 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
21918 | * jump.c (reversed_comparison_code_parts): After searching for | |
21919 | the true comparison mode, use HONOR_NANS to decide whether it | |
21920 | can be safely reversed. | |
21921 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
21922 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
21923 | to decide which simplifications are valid. Allow the following | |
21924 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
21925 | and (a - -b) to (a + b). | |
21926 | (simplify_relational_operation): Use HONOR_NANS. | |
21927 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
21928 | ||
145d3bf2 RE |
21929 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
21930 | ||
21931 | * combine.c (simplify_comparison): If simplifying a logical shift | |
21932 | right and compare with constant, force the comparison to unsigned. | |
21933 | ||
76a773f3 AH |
21934 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
21935 | ||
5b43fed1 | 21936 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
76a773f3 | 21937 | |
5b43fed1 RH |
21938 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
21939 | -mabi=no-altivec | |
21940 | (alt_reg_names): Remove % for vrsave. | |
76a773f3 | 21941 | |
ab55f58c RH |
21942 | 2002-03-06 Richard Henderson <rth@redhat.com> |
21943 | ||
5ddec02e | 21944 | PR optimization/5844 |
ab55f58c RH |
21945 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
21946 | if used indicates we've already emitted one copy of an operand. | |
21947 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
21948 | (gen_split): Supply a non-null used. | |
21949 | ||
e16e3291 UW |
21950 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
21951 | ||
5b43fed1 | 21952 | * reload1.c (reload): Unshare all rtl after reload is done. |
e16e3291 | 21953 | |
1e4e95d6 | 21954 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
e16e3291 UW |
21955 | but simply fail if the expression is too complex to simplify. |
21956 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
21957 | ||
2ca6672b JH |
21958 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
21959 | ||
21960 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
21961 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
21962 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
21963 | after liveness2; update comment in last crossjumping. | |
21964 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
21965 | ||
31d0dd4f JL |
21966 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
21967 | ||
d094b0b3 JL |
21968 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
21969 | after completing fast dead code elimination. | |
21970 | ||
31d0dd4f JL |
21971 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
21972 | COMPARE operator. | |
1e4e95d6 | 21973 | |
f2b958b1 PE |
21974 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
21975 | ||
21976 | * version.c: Fix misplaced leading blanks on first line. | |
21977 | ||
a2877a09 JH |
21978 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
21979 | ||
21980 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
21981 | ||
fe477d8b JH |
21982 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
21983 | ||
21984 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
21985 | (thread_jump): Use it. | |
21986 | * toplev.c (rest_of_compilation): Run jump threading after | |
21987 | liveness. | |
21988 | ||
2041cde4 JJ |
21989 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
21990 | ||
21991 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
21992 | patch. | |
21993 | ||
82d68d46 JH |
21994 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
21995 | ||
21996 | * predict.c (estimate_bb_frequencies): Do not reload the | |
21997 | frequencies from notes. | |
21998 | ||
3dec4024 JH |
21999 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
22000 | ||
22001 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
22002 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
22003 | ||
22004 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
22005 | delete_noop_moves): Return indeger. | |
22006 | * flow.c (ndead): New variable. | |
22007 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
22008 | BB argument; update callers. | |
22009 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
22010 | (life_analysis): Do not call purge_all_dead_edges. | |
22011 | (update_life_info): Return number of deleted insns; print statistics. | |
22012 | (update_life_info_in_dirty_blocks): likewise. | |
22013 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
22014 | return number of insns deleted. | |
22015 | ||
22016 | * cse.c: Include timevar.h | |
22017 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
22018 | iterate until stabilizes; print statistics; return number of killed | |
22019 | insns. | |
22020 | * Makefile.in: (cse.o): Add timevar.h dependency | |
22021 | * rtl.h (delete_trivially_dead_insns): New. | |
22022 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
22023 | * toplev.c (rest_of_compilation): Update callers. | |
22024 | ||
22025 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
22026 | (try_optimize_cfg): Do not update liveness. | |
22027 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
22028 | removal stabilizes; use delete_trivially_dead_insns. | |
22029 | ||
22030 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
22031 | ||
c7544dd8 ZW |
22032 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
22033 | ||
22034 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
22035 | callbacks when processing assembly language. | |
22036 | ||
50b424a9 JDA |
22037 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
22038 | ||
22039 | * pa.h (ASM_FILE_END): Define. | |
22040 | * som.h (ASM_FILE_END): Delete. | |
22041 | ||
22042 | * pa.c (function_arg): Don't pass floats in general registers in | |
22043 | indirect calls if TARGET_ELF32. | |
22044 | ||
6185f217 RH |
22045 | 2002-03-05 Richard Henderson <rth@redhat.com> |
22046 | ||
22047 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
22048 | ||
3020a4b2 DS |
22049 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
22050 | ||
22051 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
22052 | ||
65649daa JJ |
22053 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
22054 | ||
22055 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
22056 | -r command line. Don't hide any symbols if not building | |
22057 | shared libgcc. | |
22058 | ||
5a1a3e5e JH |
22059 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
22060 | ||
22061 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
22062 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
22063 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
22064 | ||
170c56da JJ |
22065 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
22066 | ||
22067 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
22068 | wide volatile memory by parts. | |
22069 | ||
6d051694 JJ |
22070 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
22071 | ||
22072 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
22073 | is NULL. | |
22074 | ||
28bcfd4d RH |
22075 | 2002-03-05 Richard Henderson <rth@redhat.com> |
22076 | ||
5b43fed1 | 22077 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
28bcfd4d | 22078 | |
75227a33 GK |
22079 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
22080 | ||
22081 | * toplev.c (documented_lang_options): Document more | |
22082 | language-specific options. | |
22083 | * doc/invoke.texi (Warning Options): Correct documentation for | |
22084 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
22085 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
22086 | ||
4f1aac42 HPN |
22087 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
22088 | ||
22089 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
22090 | parameter to mmix_encode_section_info. | |
22091 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
22092 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
22093 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
22094 | first is non-zero, don't add symbol prefix. | |
22095 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
22096 | prototype accordingly. | |
22097 | ||
12345543 KW |
22098 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
22099 | ||
22100 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
22101 | ||
8e97db8f JM |
22102 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
22103 | ||
22104 | * configure.in: Increase required makeinfo version to 4.1. | |
22105 | * configure: Regenerate. | |
22106 | ||
06487868 GK |
22107 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
22108 | ||
22109 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
22110 | elsewhere now. | |
22111 | ||
cff42170 JM |
22112 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
22113 | ||
22114 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
22115 | * doc/invoke.texi: Fix @math uses. | |
22116 | ||
974a7f56 JH |
22117 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
22118 | ||
22119 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
22120 | removal | |
22121 | ||
3b7d0e98 AH |
22122 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
22123 | ||
5b43fed1 RH |
22124 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
22125 | (powerpc-*-eabisimaltivec*): Same. | |
3b7d0e98 | 22126 | |
5b43fed1 | 22127 | * config/rs6000/t-ppcendian: New. |
3b7d0e98 | 22128 | |
65f2f288 HB |
22129 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
22130 | ||
22131 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
22132 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
22133 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
22134 | ||
8ce0a8a5 RH |
22135 | 2002-03-03 Richard Henderson <rth@redhat.com> |
22136 | ||
22137 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
22138 | ||
ba31d94e ZW |
22139 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
22140 | ||
22141 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
22142 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
22143 | tree.c, config/m68k/m68k.c: | |
22144 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
22145 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
22146 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
22147 | * flags.h, toplev.c: Delete remaining references to | |
22148 | flag_pretend_float. | |
22149 | ||
22150 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
22151 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
22152 | real.h, not by the target configuration files. | |
22153 | ||
22154 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
22155 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
22156 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
22157 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
22158 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
22159 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
22160 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
22161 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
22162 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
22163 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
22164 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
22165 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
22166 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
22167 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
22168 | config/xtensa/xtensa.h: | |
22169 | Do not define, undefine, or mention in comments any of | |
22170 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
22171 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
22172 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
22173 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
22174 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
22175 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
22176 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
22177 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
22178 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
22179 | ||
9a571cfd KG |
22180 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22181 | ||
e81dd381 KG |
22182 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
22183 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
22184 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
22185 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
22186 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
22187 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
22188 | Delete. | |
22189 | * defaults.h (BITS_PER_WORD): Define. | |
ba31d94e | 22190 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
e81dd381 | 22191 | |
9a571cfd KG |
22192 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
22193 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
22194 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
22195 | ||
ca7558fc KG |
22196 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22197 | ||
22198 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
22199 | lieu of explicit sizeof/sizeof. | |
22200 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
22201 | ix86_expand_builtin): Likewise. | |
22202 | * mips.c (mips_add_gc_roots): Likewise. | |
22203 | * mmix.c (mmix_output_condition): Likewise. | |
22204 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
22205 | altivec_init_builtins): Likewise. | |
22206 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
22207 | * cppexp.c (Nsuff, parse_number): Likewise. | |
22208 | * cppinit.c (builtin_array_end): Likewise. | |
22209 | * gcc.c (n_default_compilers, process_command): Likewise. | |
22210 | * genpreds.c (output_predicate_decls): Likewise. | |
22211 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
22212 | * lcm.c (N_ENTITIES): Likewise. | |
22213 | * stor-layout.c (set_sizetype): Likewise. | |
ba31d94e | 22214 | |
41c78c88 RH |
22215 | 2002-03-03 Richard Henderson <rth@redhat.com> |
22216 | ||
22217 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
22218 | for types or labels. | |
22219 | ||
9e9b71e6 RH |
22220 | 2002-03-03 Richard Henderson <rth@redhat.com> |
22221 | ||
22222 | * c-decl.c (start_decl): Initialized variables are not common. | |
22223 | ||
c26a6db8 PB |
22224 | 2002-03-02 Per Bothner <per@bothner.com> |
22225 | ||
22226 | * gcc.c (option_map): Suport new --bootclasspath option. | |
22227 | --CLASSPATH is now just an alias for --classpath. | |
22228 | ||
9e8aab55 RH |
22229 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22230 | ||
22231 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
22232 | load if "internal" visibility. | |
22233 | * doc/extend.texi: Document visibility meanings. | |
22234 | ||
b3bbd220 RH |
22235 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22236 | ||
22237 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
22238 | to functions as well. | |
22239 | ||
b14707c3 RH |
22240 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22241 | ||
22242 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
22243 | (handle_visibility_attribute): Don't call assemble_visibility. | |
22244 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
22245 | without asmspec. Invoke assemble_alias when needed. | |
22246 | * varasm.c (maybe_assemble_visibility): New. | |
22247 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
22248 | ||
b2003250 RH |
22249 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22250 | ||
22251 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
22252 | invoke ENCODE_SECTION_INFO with first call flag. | |
22253 | ||
22254 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
22255 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
ba31d94e | 22256 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
b2003250 RH |
22257 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
22258 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
22259 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
22260 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
22261 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
22262 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
22263 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
22264 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
22265 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
ba31d94e ZW |
22266 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
22267 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
b2003250 RH |
22268 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
22269 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
22270 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
ba31d94e | 22271 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
b2003250 RH |
22272 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
22273 | config/sh/sh.h, config/sparc/sparc.h, | |
22274 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
22275 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
22276 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
22277 | FIRST argument. As needed, examine it and do nothing. | |
22278 | ||
ba31d94e | 22279 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
b2003250 RH |
22280 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
22281 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
22282 | ||
22283 | * config/arm/t-pe (pe.o): Add dependencies. | |
22284 | ||
5c60f03d KG |
22285 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22286 | ||
22287 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
22288 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
22289 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
22290 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
22291 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
22292 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
22293 | * defaults.h (BITS_PER_UNIT): Define. | |
22294 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
22295 | ||
86855e8c KH |
22296 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
22297 | ||
22298 | * config/h8300/h8300-protos.h: Add a prototype for | |
22299 | compute_a_shift_length. | |
22300 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
22301 | (compute_a_shift_length): Likewise. | |
22302 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
22303 | insns. | |
22304 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
22305 | compute_a_shift_length. | |
22306 | ||
f6041ed8 RK |
22307 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22308 | ||
35aa3c1c RK |
22309 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
22310 | trunc_int_for_mode. | |
22311 | ||
f6041ed8 RK |
22312 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
22313 | ||
27b41650 KG |
22314 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22315 | ||
22316 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
22317 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
22318 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
22319 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
22320 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
22321 | * tree.c (initializer_zerop): New function. | |
22322 | * tree.h (initializer_zerop): Declare. | |
22323 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
22324 | initializers in the bss section. | |
22325 | ||
ca734b39 AM |
22326 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
22327 | ||
22328 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
22329 | like more than one symbol per .weak directive. | |
22330 | ||
49b72306 RH |
22331 | 2002-03-01 Richard Henderson <rth@redhat.com> |
22332 | ||
22333 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
22334 | adjust argument_pointer by pretend_args_size. | |
22335 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
22336 | ||
fbf0fe41 KH |
22337 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
22338 | ||
22339 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
22340 | ||
0010687d JH |
22341 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
22342 | ||
22343 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
22344 | loop. | |
22345 | * flow.c (delete_dead_jumptables): Make global. | |
22346 | * rtl.h (delete_dead_jumptables): Declare. | |
22347 | ||
9429c84c DE |
22348 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
22349 | ||
22350 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
22351 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
0c2fdcdf | 22352 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
9429c84c | 22353 | |
f0b6f9a6 KH |
22354 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
22355 | ||
22356 | * config/h8300/h8300-protos.h: Fix formatting. | |
22357 | * config/h8300/h8300.c: Likewise. | |
22358 | * config/h8300/h8300.h: Likewise. | |
22359 | ||
bc8db8a1 KH |
22360 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
22361 | ||
22362 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
22363 | constant addresses. | |
22364 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
22365 | ||
32b069d3 RH |
22366 | 2002-02-28 Richard Henderson <rth@redhat.com> |
22367 | ||
22368 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
22369 | pun complex values as integers; use gen_lowpart instead of | |
22370 | gen_rtx_SUBREG. | |
22371 | (extract_bit_field): Likewise. | |
22372 | ||
79c4e63f AM |
22373 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
22374 | David Edelsohn <edelsohn@gnu.org> | |
22375 | ||
22376 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
22377 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
22378 | (SUPPORTS_WEAK): Likewise. | |
22379 | * output.h (add_weak): Add tree param. | |
22380 | * varasm.c (add_weak): Likewise. Save decl. | |
22381 | (struct weak_syms): Add decl field. | |
22382 | (mark_weak_decls): New function. | |
22383 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
22384 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
22385 | (assemble_variable): Likewise. | |
22386 | (assemble_alias): Likewise. | |
22387 | (declare_weak): Pass decl to add_weak. | |
22388 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
22389 | (remove_from_pending_weak_list): Declare and define for | |
22390 | ASM_WEAKEN_DECL. | |
22391 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
22392 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
22393 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
22394 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
22395 | .weak for code sym. Do emit .size for descriptor sym. | |
22396 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
22397 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
22398 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
22399 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
22400 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
22401 | .weak for code sym. | |
22402 | (HANDLE_PRAGMA_WEAK): Remove. | |
22403 | (ASM_WEAKEN_LABEL): Remove. | |
22404 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
22405 | ||
6f30f1f1 JM |
22406 | 2002-03-01 Jason Merrill <jason@redhat.com> |
22407 | ||
22408 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
22409 | (TARGET_EXPR_CLEANUP): New macro. | |
22410 | ||
7879b81e SE |
22411 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
22412 | ||
22413 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
22414 | to take ptr_extend into account as third type of extension. | |
22415 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
22416 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
22417 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
22418 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
22419 | * calls.c (precompute_arguments): Use new macro. | |
22420 | (expand_call): Ditto. | |
22421 | * combine.c (nonzero_bits): Ditto. | |
22422 | (record_promoted_value): Ditto. | |
22423 | * expr.c (store_expr): Ditto. | |
22424 | (expand_expr): Ditto. | |
22425 | * function.c (assign_parms): Ditto. | |
22426 | ||
42d579d8 AO |
22427 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
22428 | ||
22429 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
22430 | override -shared and -shared-libgcc. | |
22431 | ||
e0054185 DB |
22432 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
22433 | ||
22434 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
22435 | of "ultrasparc". | |
22436 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
22437 | to be broken. | |
22438 | ||
abda4f1c RH |
22439 | 2002-02-28 Richard Henderson <rth@redhat.com> |
22440 | ||
22441 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
22442 | 4 cycle latency from MM producers. | |
22443 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
22444 | ||
c0f08649 JJ |
22445 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
22446 | ||
22447 | * mklibgcc.in: Don't use GNU make extension. | |
22448 | ||
f79f2651 NB |
22449 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
22450 | ||
22451 | * c-parse.in (STATIC): New terminal. | |
22452 | (scspec): New non-terminal. Update productions accordingly. | |
22453 | (program): Remove bogus ifc / end ifc. | |
22454 | (array_declarator): Simplify production using STATIC. | |
22455 | ||
001e3fee JM |
22456 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
22457 | ||
22458 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
22459 | \a still means TARGET_BELL. | |
22460 | ||
89076bb3 RH |
22461 | 2002-02-28 Richard Henderson <rth@redhat.com> |
22462 | ||
22463 | * haifa-sched.c (sched_emit_insn): New. | |
22464 | (schedule_block): Use last_scheduled_insn to track last insn. | |
22465 | * sched-int.h (sched_emit_insn): Prototype. | |
22466 | * config/ia64/ia64.c (last_issued): Remove. | |
22467 | (ia64_variable_issue): Don't set it. | |
22468 | (nop_cycles_until): Use sched_emit_insn. | |
22469 | ||
e3aaacf4 AM |
22470 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
22471 | ||
22472 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
22473 | extended constants. | |
22474 | ||
7f473594 KH |
22475 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
22476 | ||
22477 | * config/h8300/h8300.c: Fix formatting. | |
22478 | * config/h8300/h8300.h: Likewise. | |
22479 | ||
b96c434c MM |
22480 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
22481 | ||
22482 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
22483 | which may overwrite the high byte of the frame pointer. | |
22484 | ||
9b420a6a BT |
22485 | 2002-02-28 Bo Thorsen <bo@suse.de> |
22486 | ||
22487 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
22488 | (STARTFILE_SPEC): Add 64 bit files. | |
22489 | (ENDFILE_SPEC): Likewise. | |
22490 | ||
6f30f1f1 | 22491 | 2002-02-28 Jason Merrill <jason@redhat.com> |
46cfb101 JM |
22492 | |
22493 | * c-decl.c (finish_function): Only warn about missing return | |
22494 | statement with -Wreturn-type. | |
22495 | ||
70da1d03 JH |
22496 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
22497 | ||
22498 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
22499 | ||
22500 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
22501 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
22502 | ||
38c1593d JH |
22503 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
22504 | ||
22505 | * basic-block.h (BB_REACHABLE): Renumber. | |
22506 | (BB_DIRTY, BB_NEW): New flags. | |
22507 | (clear_bb_flags): Declare. | |
22508 | (update_life_info_in_dirty_blocks): Declare. | |
22509 | * cfg.c (clear_bb_flags): New function. | |
22510 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
22511 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
22512 | reorder_insns, emit_insn_after): Mark block as dirty. | |
22513 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
22514 | (update_life_info_in_dirty_blocks): New function. | |
22515 | * recog.c (apply_change_group): Dirtify block. | |
22516 | ||
22517 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
22518 | cfg consistent. | |
22519 | * gcse.c (delete_null_pointer_checks): Likewise. | |
22520 | ||
22521 | * toplev.c (dump_file_index): Move cse2 after bp, | |
22522 | add DFI_null | |
22523 | (dump_file_info): Similary. | |
22524 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
22525 | do first if converision after null pointer checks, do cse2 | |
22526 | after branch prediction; avoid full liveness rebuild after | |
22527 | initializing subregs. | |
22528 | * invoke.texi (-d options): Document -du, renumber. | |
22529 | ||
22530 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
22531 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
22532 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
22533 | merge_blocks_move_successor_nojumps, merge_blocks, | |
22534 | try_crossjump_to_edge): Likewise. | |
22535 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
22536 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
22537 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
22538 | (merge_of_block): Do not use life_data_ok. | |
22539 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
22540 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
22541 | * lcm.c (optimize_mode_switching): Update | |
22542 | update_life_info_in_dirty_blocks | |
22543 | ||
63e1b1c4 NB |
22544 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
22545 | ||
22546 | * Makefile.in (integrate.o): Update. | |
22547 | * c-decl.c (copy_lang_decl): Rename. | |
22548 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
22549 | * integrate.c: Include langhooks.h. | |
22550 | (copy_decl_for_inlining): Update to use langhook. | |
22551 | * langhooks-def.h (lhd_do_nothing_t, | |
22552 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
22553 | (LANG_HOOKS_INITIALIZER): Update. | |
22554 | * langhooks.c (lhd_do_nothing_t): New. | |
22555 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
22556 | * tree.h (copy_lang_decl): Remove. | |
22557 | objc: | |
22558 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
22559 | ||
f472fa29 AM |
22560 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
22561 | ||
ba31d94e | 22562 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
f472fa29 AM |
22563 | POST_DEC, and POST_MODIFY. |
22564 | ||
273cf2e4 ZW |
22565 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
22566 | ||
22567 | * c-typeck.c (digest_init): Remove unused parameter; all | |
22568 | callers changed. | |
22569 | ||
4e07d762 GK |
22570 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
22571 | ||
22572 | * expmed.c (expand_shift): Correctly test for low part of a | |
22573 | subreg. | |
22574 | ||
6bc627b3 UW |
22575 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
22576 | ||
22577 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
22578 | insn UIDs with insn addresses. | |
22579 | ||
f458d1d5 ZW |
22580 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
22581 | ||
22582 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
22583 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
22584 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
22585 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
22586 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
22587 | ||
22588 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
22589 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
22590 | Document removal of -traditional mode for compilation, and | |
22591 | remove documentation only relevant to that mode. | |
22592 | ||
22593 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
22594 | config/convex/convex.h, config/d30v/d30v.h, | |
22595 | config/i386/dgux.h, config/i386/osf1elf.h, | |
22596 | config/i386/osfelf.h, config/i386/osfrose.h, | |
22597 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
22598 | config/m68k/hp310.h, config/m88k/dgux.h, | |
22599 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
22600 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
22601 | config/mips/abi64.h, config/mips/osfrose.h, | |
22602 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
22603 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
22604 | config/stormy16/stormy16.h: Remove all references to | |
22605 | -traditional from target specs. Delete all mention of the | |
22606 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
22607 | delete a couple of commented-out definitions of | |
22608 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
22609 | to -traditional. | |
22610 | ||
22611 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
22612 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
22613 | ||
e0b3a8ff ZW |
22614 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
22615 | ||
22616 | * mklibgcc.in: Don't use \n in a line subject to | |
22617 | interpretation by echo. | |
22618 | ||
5c6a85b7 GS |
22619 | 2002-02-27 Graham Stott <grahams@redhat.com> |
22620 | ||
72b05af1 GS |
22621 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
22622 | Constify NAME. | |
22623 | ||
7d104885 GS |
22624 | * loop.c (prescan_loop): Handle PARALLEL. |
22625 | ||
8ed805d2 GS |
22626 | * unroll.c (loop_iterations): Return 0 if the add_val for |
22627 | a BIV is REG. | |
22628 | ||
fd478a0a GS |
22629 | * final.c (output_operand_lossage): Constify PFX_STR. |
22630 | ||
5c6a85b7 GS |
22631 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
22632 | ||
cd98ad03 JH |
22633 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
22634 | ||
22635 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
22636 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
22637 | ||
639ae55b JH |
22638 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
22639 | ||
22640 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
22641 | ||
e808ec9c NB |
22642 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
22643 | ||
22644 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
22645 | arguments. | |
22646 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
22647 | if parsing macro args when entering a directive. | |
22648 | * cppmacro.c (collect_args): No need to handle directives | |
22649 | in macro arguments. | |
22650 | (enter_macro_context, replace_args): Use the original macro | |
22651 | definition in case it was redefined whilst collecting arguments. | |
22652 | doc: | |
22653 | * cpp.texi: Update. | |
22654 | ||
f585a356 DE |
22655 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
22656 | ||
22657 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
22658 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
22659 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
22660 | method on AIX. | |
22661 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
22662 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
22663 | (load_toc_v4_PIC_2): Same. | |
22664 | ||
22665 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
22666 | ||
22667 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
22668 | ||
d699058e RH |
22669 | 2002-02-26 Richard Henderson <rth@redhat.com> |
22670 | ||
22671 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
22672 | ||
eadccfbb RH |
22673 | 2002-02-26 Richard Henderson <rth@redhat.com> |
22674 | ||
22675 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
22676 | MODULE_LOCAL_P; improve commentary. | |
22677 | ||
7080ada1 ZW |
22678 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
22679 | ||
22680 | * doc/cpp.texi: Clarify documentation of relationship between | |
22681 | #line and #include. | |
22682 | ||
b42cff6b KH |
22683 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
22684 | ||
22685 | * config/h8300/h8300-protos.h: Update the prototype for | |
22686 | compute_logical_op_length. Add the prototype for | |
22687 | compute_logical_op_cc. | |
22688 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
22689 | code from operands. | |
22690 | (compute_logical_op_cc): New. | |
22691 | * config/h8300/h8300.md: Combine all the logical op patterns | |
22692 | in HImode and SImode. Use compute_logical_op_cc. | |
22693 | ||
831c4e87 KC |
22694 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
22695 | ||
22696 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
22697 | length suffixs to x87 opcodes when in Intel mode. | |
22698 | ||
ff88fe10 RS |
22699 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
22700 | ||
22701 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
22702 | (init_emit_once): Update calls. | |
22703 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
22704 | (init_syntax_once): Prototype. | |
22705 | ||
d4108589 JDA |
22706 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
22707 | ||
22708 | * pa-linux.h (LIB_SPEC): Update definition. | |
22709 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
22710 | ||
e013f3c7 RH |
22711 | 2002-02-26 Richard Henderson <rth@redhat.com> |
22712 | ||
22713 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
22714 | if we emitted a stop bit. | |
22715 | ||
9e944a16 JJ |
22716 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
22717 | ||
22718 | * configure.in (libgcc_visibility): Substitute. | |
22719 | * configure: Rebuilt. | |
22720 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
22721 | defined symbols .hidden. | |
22722 | ||
47bd70b5 JJ |
22723 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
22724 | ||
22725 | * attribs.c (c_common_attribute_table): Add visibility. | |
22726 | (handle_visibility_attribute): New function. | |
22727 | * varasm.c (assemble_visibility): New function. | |
22728 | * output.h (assemble_visibility): Add prototype. | |
22729 | * tree.h (MODULE_LOCAL_P): Define. | |
22730 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
22731 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
22732 | for MODULE_LOCAL_P symbols too. | |
22733 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
22734 | MODULE_LOCAL_P symbols the same way as local symbols. | |
22735 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
22736 | into .sdata/.sbss by the user. | |
22737 | * doc/extend.texi (Function Attributes): Document visibility | |
22738 | attribute. | |
22739 | ||
6d73371a JJ |
22740 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
22741 | ||
22742 | PR debug/5770 | |
22743 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
22744 | STRING_CST initializer spanning the whole variable without | |
22745 | embedded zeros. | |
22746 | If expand_expr returned MEM, don't use it. | |
22747 | ||
06e224f7 AO |
22748 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
22749 | ||
22750 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
22751 | generate a die for the lexical block. | |
22752 | ||
40367e2d KH |
22753 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
22754 | ||
22755 | * config/h8300/h8300-protos.h: Add a prototype for | |
22756 | compute_logical_op_length. | |
22757 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
22758 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
22759 | compute_logical_op_length for length. | |
22760 | ||
0e98f924 AH |
22761 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
22762 | ||
831c4e87 KC |
22763 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
22764 | for vectors. | |
22765 | (gen_type_die): Same. | |
0e98f924 | 22766 | |
831c4e87 | 22767 | * attribs.c (handle_vector_size_attribute): Set debug information. |
0e98f924 | 22768 | |
a50cfd52 DE |
22769 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
22770 | ||
831c4e87 KC |
22771 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
22772 | fix incorrect generation of merge high instructions instead | |
22773 | of merge low. | |
a50cfd52 | 22774 | |
b7997284 AH |
22775 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
22776 | ||
831c4e87 KC |
22777 | * c-typeck.c (really_start_incremental_init): Use |
22778 | bitsize_zero_node for vectors. | |
b7997284 | 22779 | |
376aec5d AH |
22780 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
22781 | ||
831c4e87 KC |
22782 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
22783 | ("*set_vrsave_internal"): Same. | |
376aec5d | 22784 | |
3b40e71b RH |
22785 | 2002-02-25 Richard Henderson <rth@redhat.com> |
22786 | ||
22787 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
22788 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
22789 | ||
232b8f52 JJ |
22790 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
22791 | ||
22792 | PR target/5755 | |
22793 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
22794 | fake structure return argument if it was passed on the stack. | |
22795 | ||
67282790 JM |
22796 | 2002-02-25 Jason Merrill <jason@redhat.com> |
22797 | ||
22798 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
22799 | RESULT_DECL. | |
22800 | ||
5c181756 AO |
22801 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
22802 | ||
22803 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
22804 | link with shared_name only. | |
22805 | * doc/invoke.texi (Link Options): Document new behavior. | |
22806 | ||
6786d201 AH |
22807 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
22808 | ||
831c4e87 | 22809 | * c-typeck.c (push_init_level): Handle vectors. |
6786d201 | 22810 | |
7d6040e8 AO |
22811 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
22812 | ||
22813 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
22814 | operands of SPARC_SETHI_P. | |
22815 | (input_operand): Likewise. | |
22816 | (sparc_emit_set_const32): Likewise. | |
22817 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
22818 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
22819 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
22820 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
22821 | (movdi_insn_sp64_vis): Likewise. | |
22822 | (movdi split, movdf split): Use SETHI32. | |
22823 | * doc/md.texi: Document SPARC constraints L, M and N. | |
22824 | ||
b188f760 AH |
22825 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
22826 | ||
831c4e87 KC |
22827 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
22828 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
b188f760 | 22829 | |
831c4e87 KC |
22830 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
22831 | gen_get_vrsave_internal. | |
b188f760 | 22832 | |
8041889f RK |
22833 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22834 | ||
22835 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
22836 | ||
a47ed310 NB |
22837 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
22838 | ||
22839 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
22840 | otherwise of wide character constants correct. | |
22841 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
22842 | ||
cb8f73be RK |
22843 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22844 | ||
22845 | * optabs.c (widen_operand): Only call convert_modes for | |
22846 | promoted SUBREG if signedness matches. | |
22847 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
22848 | ||
2450e0b8 NB |
22849 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
22850 | ||
22851 | * cpplib.c (glue_header_name): Use local buffer to build up | |
22852 | header name. | |
22853 | ||
70b6aaed NB |
22854 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
22855 | ||
22856 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
22857 | ||
6be580c7 KH |
22858 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
22859 | ||
22860 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
22861 | H8/300[HS] separately. | |
22862 | * config/h8300/h8300.md: Remove the early clobber constraint | |
22863 | from bit field patterns. | |
22864 | ||
35dad9f1 KH |
22865 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
22866 | ||
22867 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
22868 | register_operand. | |
22869 | (mulhisi3): Likewise. | |
22870 | (umulqisi3): Likewise. | |
22871 | (umulhisi3): Likewise. | |
22872 | ||
ab8e2228 NB |
22873 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
22874 | ||
22875 | * cppinit.c (output_deps): Correct test for stdout output. | |
22876 | (init_dependency_output): Cure warning. | |
22877 | ||
ac6f8a15 RK |
22878 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22879 | ||
22880 | * expr.c (store_expr): When converting expression to promoted | |
22881 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
22882 | of the expansion of EXP. | |
22883 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
22884 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
22885 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
22886 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
22887 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
22888 | ||
f282ffb3 JM |
22889 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
22890 | ||
22891 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
22892 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
22893 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
22894 | ||
44c5edc0 JJ |
22895 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
22896 | ||
22897 | PR optimization/5747 | |
22898 | * loop.c (scan_loop): Update reg info if move_movables created new | |
22899 | pseudos. | |
22900 | ||
f98e43c0 DE |
22901 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
22902 | ||
22903 | * gcc.c (init_gcc_spec): Revert last change. | |
22904 | ||
e72247f4 DE |
22905 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
22906 | ||
22907 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
22908 | gpc_reg_operand constraint. | |
22909 | ||
22910 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
22911 | ||
22912 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
22913 | Simplify comparison of `low'. | |
22914 | (add_operand): Fix formatting. | |
22915 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
57deb3a1 | 22916 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
e72247f4 DE |
22917 | (rs6000_stack_info): Remove redundant test setting push_p. |
22918 | (output_toc): Fix formatting. | |
22919 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
22920 | cc_reg_not_cr0_operand constraint. | |
22921 | (booldi3, boolcdi3 splitters): Same. | |
22922 | ||
a5c30531 AH |
22923 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
22924 | ||
831c4e87 | 22925 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
a5c30531 | 22926 | |
43710f9f DE |
22927 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
22928 | ||
22929 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
22930 | gcc invoked with -shared-libgcc. | |
22931 | ||
3256b817 JJ |
22932 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
22933 | ||
22934 | PR c++/5748 | |
22935 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
22936 | decl if any of elements was TREE_USED. | |
22937 | ||
9e0625a3 AO |
22938 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
22939 | ||
22940 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
22941 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
22942 | (arith_4096_operand): Don't throw high bits away. | |
22943 | (const64_operand): Take sign extension of CONST_INTs into account. | |
22944 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
22945 | (GEN_HIGHINT64): Likewise. | |
22946 | (sparc_emit_set_const64_quick1): Likewise. | |
22947 | (const64_is_2insns): Likewise. | |
22948 | (print_operand): Use trunc_int_for_mode for sign extension. | |
22949 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
22950 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
22951 | chars. Assume CONST_INT is already properly sign-extended. | |
22952 | (movdi split): Sign-extend each SImode part. | |
22953 | (andsi3 split): Don't mask high bits off, so that result | |
22954 | remains properly sign-extend. | |
22955 | (iorsi3 split): Likewise. | |
22956 | (xorsi3 split): Likewise. | |
22957 | ||
54fec3d5 RS |
22958 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
22959 | ||
22960 | * fold-const.c (fold): Fix typo in comments. | |
22961 | ||
667ada9b DN |
22962 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
22963 | ||
22964 | * Makefile.in (langhooks.o): Update dependencies. | |
22965 | ||
29ac78d5 DN |
22966 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
22967 | ||
22968 | * langhooks.c: Include flags.h. | |
22969 | ||
6aa77e6c AH |
22970 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
22971 | ||
22972 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
22973 | ||
22974 | * c-common.c (c_common_post_options): Set inline trees by | |
22975 | default. | |
22976 | ||
22977 | * doc/extend.texi (Function Attributes): Document always_inline | |
22978 | attribute. | |
22979 | Update documentation about inlining when not optimizing. | |
22980 | ||
22981 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
22982 | ||
22983 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
22984 | unless DECL_ALWAYS_INLINE. | |
22985 | ||
22986 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
22987 | unless DECL_ALWAYS_INLINE. | |
22988 | (c_disregard_inline_limits): Disregard if always_inline set. | |
22989 | ||
22990 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
22991 | Disregard if always_inline set. | |
22992 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
22993 | unless DECL_ALWAYS_INLINE. | |
22994 | ||
22995 | * attribs.c (handle_always_inline_attribute): New. | |
22996 | (c_common_attribute_table): Add always_inline. | |
22997 | ||
22998 | * config/rs6000/altivec.h: Add prototypes for builtins | |
22999 | requiring the always_inline attribute. | |
23000 | ||
c410d49e EC |
23001 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
23002 | ||
23003 | * expmed.c (store_bit_field): Try to simplify the subreg | |
23004 | before generating a new one when when the mode size of | |
23005 | value is less than maxmode. | |
23006 | ||
e3c8ea67 RH |
23007 | 2002-02-21 Richard Henderson <rth@redhat.com> |
23008 | ||
23009 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
23010 | than gen_rtx_PLUS to form the sum. | |
23011 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
23012 | when force_operand returns a register. | |
23013 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
23014 | return a sum. Do not force addresses into registers. | |
23015 | (expand_expr): Likewise. | |
23016 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
23017 | to canonicalize arithmetic that didn't simpify. | |
23018 | (simplify_plus_minus): New argument force; update | |
23019 | all callers. Don't split CONST unless we can do something with it, | |
23020 | and wouldn't lose the constness of the operands. | |
23021 | ||
23022 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
23023 | that we generated earlier. | |
23024 | ||
c1a046e5 TT |
23025 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
23026 | ||
23027 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23028 | (output_line_info): Use constant `1', with a long explanatory | |
23029 | comment. | |
23030 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
23031 | ||
31fbaad4 R |
23032 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
23033 | ||
23034 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
23035 | delete it. | |
23036 | ||
a7f52356 R |
23037 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
23038 | ||
23039 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
23040 | If input is constant, do shifts at compile time. | |
23041 | ||
924fcc4e JM |
23042 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
23043 | ||
23044 | * doc/extend.texi: Fix some more overfull hboxes. | |
23045 | ||
e5a20888 JJ |
23046 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
23047 | ||
23048 | PR optimization/4994 | |
23049 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
23050 | register moves. | |
23051 | ||
23052 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
22273300 JJ |
23053 | |
23054 | PR c++/4574 | |
23055 | * expr.h (expand_and): Add mode argument. | |
23056 | * expmed.c (expand_and): Add mode argument. | |
23057 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
23058 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
23059 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
23060 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
23061 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
23062 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
23063 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
23064 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
23065 | gen_rtx (CONST_INT, VOIDmode, x). | |
23066 | ||
7133e992 JJ |
23067 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
23068 | ||
23069 | PR c/4697: | |
23070 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
23071 | ||
e2ec05a6 TG |
23072 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
23073 | ||
23074 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
831c4e87 | 23075 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
e2ec05a6 | 23076 | |
9dd791c8 AO |
23077 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
23078 | ||
23079 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
23080 | SUBREG or ZERO_EXTEND. | |
23081 | ||
7ab56274 R |
23082 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
23083 | ||
23084 | * sh.h (current_function_anonymous_args): Remove. | |
23085 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
23086 | of current_function_varargs and current_function_stdarg is set. | |
23087 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
23088 | current_function_stdarg / TARGET_SH5 instead of | |
23089 | current_function_anonymous_args. | |
23090 | ||
23091 | * sh64.h (TARGET_VERSION): Define. | |
23092 | ||
b1765bde DE |
23093 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
23094 | ||
23095 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
23096 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
23097 | ||
23098 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
23099 | ||
23100 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
23101 | bits of SImode const_int. | |
23102 | (includes_rshift_p): Likewise. | |
23103 | (print_operand): Call mask_operand and mask64_operand with correct | |
c410d49e | 23104 | mode. |
b1765bde DE |
23105 | (rs6000_output_function_epilogue): Pad traceback table to word. |
23106 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
23107 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
23108 | mask64_operand with correct mode. | |
b1765bde DE |
23109 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
23110 | ||
149d6f9e JJ |
23111 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
23112 | ||
23113 | PR debug/4461 | |
23114 | * varasm.c (get_pool_constant_mark): New. | |
23115 | * rtl.h (get_pool_constant_mark): Add prototype. | |
23116 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
23117 | be represented if it has not been output. | |
23118 | ||
4161da12 AO |
23119 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
23120 | ||
23121 | * combine.c (do_SUBST): Sanity check substitutions of | |
23122 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
23123 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
23124 | CONST_INT into its operand. | |
23125 | (known_cond): Likewise, for ZERO_EXTEND. | |
23126 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
23127 | allow for simplification of wide modes. Reject CONST_INTs in | |
23128 | ZERO_EXTEND when their actual mode is not given. | |
23129 | ||
3704ef74 AO |
23130 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
23131 | ||
23132 | * c-decl.c (pushdecl): If no global declaration is found for an | |
23133 | extern declaration in block scope, try a limbo one. | |
23134 | ||
7552da58 JJ |
23135 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
23136 | ||
23137 | PR c++/4401 | |
23138 | * c-common.c (pointer_int_sum): Moved from... | |
23139 | * c-typeck.c (pointer_int_sum): ...here. | |
23140 | * c-common.h (pointer_int_sum): Add prototype. | |
23141 | ||
00fae85d JJ |
23142 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
23143 | ||
23144 | PR c++/5713 | |
23145 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
23146 | redeclaration. | |
23147 | ||
4636c87e JJ |
23148 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
23149 | Jakub Jelinek <jakub@redhat.com> | |
23150 | ||
23151 | PR c/4389 | |
23152 | * tree.c (host_integerp): Ensure that the constant integer is | |
23153 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
23154 | when pos is zero or non-zero respectively. Clarify comment. | |
23155 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
23156 | usage; the pos argument should be zero when assigning to a | |
23157 | signed HOST_WIDE_INT. | |
23158 | ||
59bef189 RH |
23159 | 2002-02-20 Richard Henderson <rth@redhat.com> |
23160 | ||
23161 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
23162 | of the operand, rather than assuming TImode. | |
23163 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
23164 | using nonimmediate_operand for both operands. | |
23165 | (ix86_expand_timode_binop_builtin): Likewise. | |
23166 | (ix86_expand_store_builtin): Validate operand 1. | |
23167 | (ix86_expand_unop1_builtin): Likewise. | |
23168 | ||
9338ffe6 | 23169 | 2002-02-20 Philip Blundell <philb@gnu.org> |
c410d49e | 23170 | |
9338ffe6 PB |
23171 | PR 5705 |
23172 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
23173 | ||
f322b423 RH |
23174 | 2002-02-20 Richard Henderson <rth@redhat.com> |
23175 | ||
23176 | PR c/5615 | |
23177 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
23178 | ||
d94084f7 TT |
23179 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
23180 | ||
23181 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23182 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23183 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23184 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23185 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
23186 | unconditionally. | |
23187 | ||
37fa124a AM |
23188 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
23189 | ||
23190 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
23191 | for (const_int 0) in X not just INTVAL. | |
23192 | ||
6e5bb5ad JM |
23193 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
23194 | ||
23195 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
23196 | ||
420e7dfa DN |
23197 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
23198 | ||
23199 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
23200 | operations if the field does not start at a mode boundary. | |
23201 | ||
1b7a2af6 JS |
23202 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
23203 | ||
23204 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
23205 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
23206 | Also done for -Acpu and -Amachine. | |
23207 | ||
56cd5b95 NB |
23208 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
23209 | ||
23210 | * cppinit.c (init_dependency_output): Take deps output file | |
23211 | from -o if none given with -MF. Suppress normal output. | |
c410d49e | 23212 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
56cd5b95 NB |
23213 | * doc/cpp.texi, doc/invoke.texi: Update. |
23214 | ||
042cdf71 ZW |
23215 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
23216 | ||
23217 | * toplev.c (output_quoted_string): Write unprintable | |
23218 | characters with octal escapes. | |
23219 | ||
c1f11548 DE |
23220 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
23221 | ||
23222 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
23223 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
23224 | ||
23225 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
c410d49e | 23226 | |
c1f11548 DE |
23227 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
23228 | MODE_MASK. | |
23229 | (constant_pool_expr_1): Fix formatting. | |
23230 | (rs6000_legitimize_reload_address): Likewise. | |
23231 | ||
c964d90e RK |
23232 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23233 | ||
23234 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
23235 | now that we have one. | |
23236 | ||
ae34ac46 ZW |
23237 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
23238 | ||
23239 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
23240 | end of first block of bitfields (which was only seven bits); | |
23241 | rename dummy to unused_1; remove comment which is no longer true. | |
23242 | ||
293c28ee GS |
23243 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
23244 | ||
23245 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
23246 | ||
7b8781c8 PB |
23247 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
23248 | ||
0cb6c58d | 23249 | PR 5399 |
7b8781c8 PB |
23250 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
23251 | if generating PIC. | |
23252 | ||
23253 | PR 5054 | |
23254 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
23255 | arm_is_longcall_p rather than inspecting call-type cookie | |
23256 | directly. | |
23257 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
23258 | ||
5c464583 GS |
23259 | 2002-02-19 Graham Stott <grahams@redhat.com> |
23260 | ||
23261 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
23262 | ||
71c061e6 DE |
23263 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
23264 | ||
23265 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
23266 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
6d1def5c | 23267 | (FP_SAVE_INLINE): Delete. |
71c061e6 DE |
23268 | |
23269 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
23270 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
23271 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
23272 | * config/rs6000/crtsavres.asm: New file. | |
23273 | ||
3a7731fd PB |
23274 | 2002-02-19 Philip Blundell <philb@gnu.org> |
23275 | ||
23276 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
23277 | functions. | |
23278 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
23279 | (output_return_instruction): Allow interrupt functions to return with | |
23280 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
23281 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
23282 | interrupt function. | |
23283 | ||
14f583b8 PB |
23284 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
23285 | ||
23286 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
23287 | decl, not just FUNCTION_DECL. | |
23288 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
23289 | (arm_assemble_integer): Likewise. | |
23290 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
23291 | marked local. | |
c410d49e | 23292 | |
4cb7482c MG |
23293 | 2002-02-19 matthew green <mrg@eterna.com.au> |
23294 | ||
23295 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
23296 | (sparc64-*-netbsd*): New target. | |
23297 | * config/sparc/netbsd-elf.h: New file. | |
23298 | * config/sparc/t-netbsd64: New file. | |
23299 | ||
2df3a718 GS |
23300 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
23301 | ||
23302 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
23303 | ||
77f6c1eb RS |
23304 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
23305 | ||
23306 | * doc/invoke.texi: explicitly list the style guidelines that | |
23307 | -Weffc++ checks for. | |
23308 | ||
fd973d56 JH |
23309 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
23310 | ||
23311 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
23312 | ||
30518e45 NB |
23313 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
23314 | ||
23315 | PR other/5718 | |
23316 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
23317 | only if not -E. If -E, pass -o through to the preprocessor. | |
23318 | ||
39ea5704 KH |
23319 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
23320 | ||
23321 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
23322 | register number with an appropriate macro. | |
23323 | ||
7355dba7 BM |
23324 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
23325 | ||
23326 | * doc/rtl.texi (Constants): Close @code tag. | |
23327 | ||
91c8aa9e AH |
23328 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
23329 | ||
23330 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
23331 | ("mmx_uavgv4hi3"): Same. | |
23332 | ("pmulhrwv4hi3"): Same. | |
23333 | ||
23334 | * tree-inline.c (walk_tree): Handle vectors. | |
23335 | ||
23336 | * c-common.c (constant_expression_warning): Handle vectors. | |
23337 | (overflow_warning): Same. | |
23338 | ||
23339 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
23340 | ||
23341 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
23342 | (rtx_varies_p): Same. | |
23343 | (count_occurrences): Same. | |
23344 | (regs_set_between_p): Same. | |
23345 | (modified_between_p): Same. | |
23346 | (modified_in_p): Same. | |
23347 | (volatile_insn_p): Same. | |
23348 | (volatile_refs_p): Same. | |
23349 | (side_effects_p): Same. | |
23350 | (may_trap_p): Same. | |
23351 | (inequality_comparisons_p): Same. | |
23352 | (replace_regs): Same. | |
23353 | (computed_jump_p_1): Same. | |
23354 | ||
23355 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
23356 | argument. | |
23357 | (inner_mode_array): New. | |
23358 | (copy_rtx): Handle vectors. | |
23359 | (copy_most_rtx): Same. | |
23360 | (rtx_equal_p): Same. | |
23361 | (get_mode_alignment): Adjust for vectors. | |
23362 | ||
23363 | * resource.c (mark_referenced_resources): Handle vectors. | |
23364 | (mark_set_resources): Same. | |
23365 | ||
23366 | * reload1.c (eliminate_regs): Handle vectors. | |
23367 | (elimination_effects): Same. | |
23368 | (scan_paradoxical_subregs): Same. | |
23369 | ||
23370 | * reload.c (subst_reg_equivs): Handle vectors. | |
23371 | ||
23372 | * regrename.c (scan_rtx): Handle vectors. | |
23373 | ||
23374 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
23375 | ||
23376 | * recog.c (find_single_use_1): Handle vectors. | |
23377 | ||
23378 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
23379 | (contains_replace_regs): Same. | |
23380 | (memref_referenced_p): Same. | |
23381 | ||
23382 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
23383 | (subst_constants): Same. | |
23384 | ||
23385 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
23386 | (encode_units_mask): Same. | |
23387 | (clear_struct_flag): Same. | |
23388 | (count_sub_rtxs): Same. | |
23389 | ||
23390 | * gcse.c (want_to_gcse_p): Handle vectors. | |
23391 | (oprs_unchanged_p): Same. | |
23392 | (hash_expr_1): Same. | |
23393 | (oprs_not_set_p): Same. | |
23394 | (expr_killed_p): Same. | |
23395 | (compute_transp): Same. | |
23396 | (store_ops_ok): Same. | |
23397 | ||
23398 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
23399 | of vectors. | |
23400 | (fixup_var_refs_1): Same. | |
23401 | (instantiate_virtual_regs_1): Same. | |
23402 | ||
23403 | * fold-const.c (operand_equal_p): Handle vectors. | |
23404 | (fold): Same. | |
23405 | (rtl_expr_nonnegative_p): Same. | |
23406 | ||
23407 | * flow.c (mark_used_regs): Handle vectors. | |
23408 | ||
23409 | * df.c (df_uses_record): Handle vectors. | |
23410 | ||
23411 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
23412 | (cselib_mem_conflict_p): Same. | |
23413 | (hash_rtx): Same. | |
23414 | ||
23415 | * cse.c (canon_reg): Handle vectors. | |
23416 | (fold_rt): Same. | |
23417 | (cse_process_notes): Same. | |
23418 | (count_reg_usage): Same. | |
23419 | (canon_hash): Same. | |
23420 | ||
23421 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
23422 | ||
23423 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
23424 | ||
23425 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
23426 | (gen_rtx): Handle CONST_VECTOR. | |
23427 | (gen_const_vector_0): New. | |
23428 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
23429 | (reset_used_flags): Same. | |
23430 | (copy_insn_1): Same. | |
23431 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
23432 | ||
23433 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
23434 | ||
23435 | * doc/rtl.texi (Constants): Document const_vector. | |
23436 | (CONST0_RTX): Update for vectors. | |
23437 | (RTL sharing): Same. | |
23438 | ||
23439 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
23440 | ||
23441 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
23442 | (struct tree_vector): New. | |
23443 | (union tree_node): Add vector node. | |
23444 | (build_vector): Add prototype. | |
23445 | ||
23446 | * tree.def (VECTOR_CST): New. | |
23447 | ||
23448 | * tree.c (build_vector): New. | |
23449 | ||
23450 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
23451 | ||
23452 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
23453 | (CONST_VECTOR_ELT): New. | |
23454 | (CONST_VECTOR_NUNITS): New. | |
23455 | ||
23456 | * machmode.h (GET_MODE_INNER): New. | |
23457 | (DEF_MACHMODE): Accept 8th arg. | |
23458 | ||
23459 | * machmode.def: Add 8th argument for vector inner mode. | |
23460 | Add inner vector modes for vectors. | |
23461 | ||
23462 | * rtl.def (VEC_CONST): Remove. | |
23463 | (CONST_VECTOR): New. | |
23464 | ||
23465 | * expr.c (clear_storage): Allow vectors. | |
23466 | (is_zeros_p): Handle VECTOR_CST. | |
23467 | ||
23468 | * varasm.c (output_constant_pool): Handle vectors. | |
23469 | (rtx_const): Add veclo and vechi fields. | |
23470 | (kind): Add RTX_VECTOR. | |
23471 | (decode_rtx_const): Add case for vector. | |
23472 | ||
23473 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
c410d49e | 23474 | |
91c8aa9e AH |
23475 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
23476 | constants. Force easy vector constants into memory. | |
23477 | (easy_vector_constant): New. | |
23478 | (emit_easy_vector_constant): New. | |
23479 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
23480 | darwin. | |
23481 | ||
23482 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
23483 | instruction does. | |
23484 | ("altivec_lvxl"): Same. | |
23485 | (altivec_lvebx): Same. | |
23486 | (altivec_lvehx): Same. | |
23487 | (altivec_lvewx): Same. | |
23488 | ("*movv4si_const0"): New. | |
23489 | ("*movv4sf_const0"): New. | |
23490 | ("*movv8hi_const0"): New. | |
23491 | ("*movv16qi_const0"): New. | |
23492 | ||
d4d6d0ce KH |
23493 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
23494 | ||
23495 | * config/h8300/h8300.c (notice_update_cc): Use | |
23496 | cc_status.value2. | |
23497 | ||
4915d3aa KH |
23498 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
23499 | ||
23500 | * config/h8300/h8300.md (divmod patterns): Change the | |
23501 | constraints for operands[1] to register_operand. | |
23502 | ||
82be00ee KH |
23503 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
23504 | ||
23505 | * config/h8300/h8300-protos.h: Remove the prototype for | |
23506 | p_operand. | |
23507 | * config/h8300/h8300.c (p_operand): Remove. | |
23508 | * config/h8300/h8300.md: Replace p_operand with | |
23509 | const_int_operand. | |
23510 | ||
1768c26f PB |
23511 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
23512 | ||
23513 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
23514 | comment. | |
23515 | (output_return_instruction): Allow use of LDR to unstack | |
23516 | return addresss even for interrupt handlers or when | |
23517 | interworking. If compiling for ARMv5, use interworking-safe | |
23518 | return instructions by default. Remove duplicated code and | |
23519 | lengthy "strcat" sequences. | |
23520 | ||
ccd84f51 FS |
23521 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
23522 | ||
23523 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
23524 | (LINK_EH_SPEC): Define. | |
23525 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
23526 | ||
2c153108 UW |
23527 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
23528 | ||
23529 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
23530 | frame_related flag for call-clobbered registers. | |
23531 | ||
e95d6b23 JH |
23532 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
23533 | ||
23534 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
23535 | (construct_container): Fix handling of SSE operands. | |
23536 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
23537 | (mmx_maskmovq_rex): New pattern. | |
23538 | ||
c43a12b5 JH |
23539 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
23540 | ||
23541 | * regrename.c (kill_set_value): Handle subregs properly. | |
23542 | ||
aeb85a15 DB |
23543 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
23544 | ||
23545 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
c410d49e | 23546 | from objc_class_name. |
aeb85a15 | 23547 | |
a615ca3e RH |
23548 | 2002-02-17 Richard Henderson <rth@redhat.com> |
23549 | ||
23550 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
23551 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
23552 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
23553 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
23554 | * config/alpha/alpha-protos.h: Update. | |
23555 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
23556 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
23557 | ||
ddb28441 RM |
23558 | 2002-02-17 Roland McGrath <roland@frob.com> |
23559 | ||
23560 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
23561 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
23562 | * config/rs6000/gnu.h: New file. | |
23563 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
23564 | Grok "gnu" in rs6000_abi_name. | |
23565 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
23566 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
23567 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
23568 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
23569 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
23570 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
23571 | ||
f6f8ada3 JJ |
23572 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
23573 | ||
23574 | PR c/3444: | |
23575 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
23576 | shortening. | |
23577 | ||
e16b32fc PT |
23578 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23579 | ||
23580 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
23581 | ENDFILE_SPEC before (re)defining them. | |
23582 | ||
f9477efd KH |
23583 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
23584 | ||
23585 | * config/h8300/h8300.c: Fix formatting. | |
23586 | * config/h8300/h8300.h: Likewise. | |
23587 | ||
404ae494 PT |
23588 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23589 | ||
23590 | * doc/tm.texi: Explain why empty strings should not be | |
23591 | marked for translation. | |
23592 | ||
a52453cc PT |
23593 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23594 | ||
23595 | * final.c (output_operand_lossage): Changed to accept | |
23596 | printf style arguments. Change calls where necessary. | |
23597 | * output.h (output_operand_lossage): Change declaration | |
23598 | accordingly. Update copyright. | |
23599 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
23600 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
23601 | Update copyright date where necessary. | |
c410d49e | 23602 | |
a52453cc PT |
23603 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
23604 | sprintf. | |
23605 | ||
23606 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
23607 | Rename parameter so that exgettext recognizes it as | |
23608 | translatable message. | |
23609 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
23610 | ||
1c11abc4 KH |
23611 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
23612 | ||
23613 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
23614 | hard coded register number with an appropriate macro. | |
23615 | (HARD_REGNO_MODE_OK): Likewise. | |
23616 | (ARG_POINTER_REGNUM): Likewise. | |
23617 | (STATIC_CHAIN_REGNUM): Likewise. | |
23618 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
23619 | * config/h8300/h8300.md (define_constants): Define more | |
23620 | register numbers. | |
23621 | ||
a5d17ff3 PT |
23622 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23623 | ||
23624 | * config/i386/i386.h: Don't mark empty strings for translation. | |
23625 | ||
1a7289c4 L |
23626 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
23627 | ||
23628 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
23629 | ||
afb58288 ZW |
23630 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
23631 | ||
23632 | * cppinit.c (merge_include_chains): Check for brack being | |
23633 | NULL before attempting to merge it with qtail. | |
23634 | ||
d2af4dbd AC |
23635 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
23636 | ||
23637 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
23638 | DBX_DEBUG. | |
23639 | ||
2e1ed1e3 JDA |
23640 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
23641 | ||
23642 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
23643 | ||
604c75b2 JDA |
23644 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
23645 | ||
23646 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
23647 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
23648 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
23649 | ||
1a42b072 RK |
23650 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23651 | ||
7303604f | 23652 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
1a42b072 RK |
23653 | now only if !TARGET_FIX. |
23654 | (*movsi_nt_vms_fix): New pattern. | |
23655 | ||
c2ea1ac6 DR |
23656 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
23657 | ||
23658 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
23659 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
23660 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
23661 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
23662 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
23663 | (unicosmk_gen_dsib): Likewise. | |
23664 | ||
725e58b1 RK |
23665 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23666 | ||
23667 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
23668 | ||
13e58269 UW |
23669 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
23670 | ||
c410d49e | 23671 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
13e58269 UW |
23672 | check_and_change_labels, s390_final_chunkify): Delete. |
23673 | (s390_split_branches, s390_chunkify_pool): New functions. | |
23674 | (s390_function_prologue): Call them. | |
c410d49e | 23675 | |
13e58269 UW |
23676 | * config/s390/s390.h (S390_REL_MAX): Delete. |
23677 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
23678 | ||
c410d49e | 23679 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
13e58269 UW |
23680 | attribute calculation. |
23681 | ||
23682 | ||
34d1b01d DE |
23683 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
23684 | ||
23685 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
23686 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
23687 | ||
be5cc51a JDA |
23688 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
23689 | ||
23690 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
23691 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
23692 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
23693 | ||
ee96ce90 RS |
23694 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
23695 | ||
23696 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
23697 | ||
05fa709d RS |
23698 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
23699 | ||
23700 | * reload.c (find_dummy_reload): Check that an output register | |
23701 | is valid for its mode. | |
23702 | ||
4606272b AO |
23703 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
23704 | ||
9a360704 AO |
23705 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
23706 | to simplify it. | |
23707 | ||
4606272b AO |
23708 | * function.c (assign_parms): Demote promoted argument passed by |
23709 | transparent reference. | |
23710 | ||
e62d89a1 JS |
23711 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
23712 | ||
23713 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
23714 | -Acpu() and -Amachine() to eliminate warnings. | |
23715 | ||
6c4cf695 UW |
23716 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
23717 | ||
23718 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
23719 | ||
037f11ef KH |
23720 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
23721 | ||
23722 | * config/h8300/h8300-protos.h: Update the prototype for | |
23723 | const_costs. | |
23724 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
23725 | more expensive operation. | |
23726 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
23727 | reference to const_costs. | |
23728 | ||
fdc76b09 HPN |
23729 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
23730 | ||
23731 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
23732 | ||
d76e6800 JJ |
23733 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
23734 | ||
23735 | PR c/5503: | |
23736 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
23737 | use arguments from newtype. | |
23738 | ||
5ae590d7 EC |
23739 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
23740 | ||
23741 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
23742 | on the same command line. Fix error message in cpu processing. | |
23743 | Remove architecture and ISA checks. | |
23744 | ||
b8513691 AH |
23745 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
23746 | ||
831c4e87 | 23747 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
b8513691 | 23748 | |
831c4e87 | 23749 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
b8513691 | 23750 | |
78c875e8 AH |
23751 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
23752 | ||
831c4e87 KC |
23753 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
23754 | alternatives. | |
23755 | ("*movv8hi_internal1"): Same. | |
23756 | ("*movv16qi_internal1"): Same. | |
23757 | ("*movv4sf_internal1"): Same. | |
78c875e8 | 23758 | |
831c4e87 KC |
23759 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
23760 | not push_reload for altivec modes. | |
78c875e8 | 23761 | |
d76e6800 | 23762 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
f22b4bc4 JS |
23763 | |
23764 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
23765 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
23766 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
23767 | many targets. | |
23768 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
23769 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
23770 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
23771 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
23772 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
23773 | config/m68k/rtemself.h: Ditto. | |
23774 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
23775 | config/mips/rtems64.h: Ditto. | |
23776 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
23777 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
23778 | Ditto. | |
23779 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
23780 | config/sparc/rtemself.h: Ditto. | |
23781 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
23782 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
23783 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
23784 | more like arm-elf. | |
23785 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
23786 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
23787 | target made more similar to i386-elf. | |
23788 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
23789 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
23790 | be similar to config/m68k/t-m68kelf. | |
23791 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
23792 | ||
8686336f JH |
23793 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
23794 | ||
23795 | * regmove.c (kill_value): Handle subregs. | |
23796 | ||
558740bf JH |
23797 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
23798 | ||
23799 | * i386.md (mul patterns): Allow memory operand to be first; | |
23800 | add expanders where needed; fix constraints. | |
23801 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
23802 | Allow memory operand to be the first. | |
23803 | ||
23804 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
23805 | operands. | |
23806 | ||
21117a17 JJ |
23807 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
23808 | ||
23809 | PR c/5681: | |
23810 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
23811 | GET_MODE (x). | |
23812 | ||
ec65b2e3 JJ |
23813 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
23814 | ||
23815 | PR optimization/5547: | |
23816 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
23817 | all valid IA-32 address modes involving non-scaled %ebx and | |
23818 | GOT/GOTOFF as displacement. | |
23819 | ||
ce50cae8 UW |
23820 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
23821 | ||
23822 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
23823 | after emitting ltorg insns. | |
23824 | ||
23825 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
23826 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
23827 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
23828 | *abssf2): Fix "op_type" attribute. | |
23829 | ||
09eb789b DR |
23830 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
23831 | ||
2dbe67bb DR |
23832 | * mkconfig.sh: Avoid using a subshell redirect. |
23833 | ($output.T): Change to $(output)T. | |
23834 | (ENABLE_NLS): Remove unneeded undef. | |
23835 | ||
ea5b9a1f DR |
23836 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
23837 | * config/alpha/x-vms (libsubdir): Define. | |
23838 | ||
3deb00ce DR |
23839 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
23840 | register frame procedures. Optimize retrieving context. | |
23841 | ||
09eb789b DR |
23842 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
23843 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
23844 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
23845 | ||
1abade85 RK |
23846 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23847 | ||
23848 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
23849 | Make same change as for find_base_value. | |
23850 | ||
c283e63f KH |
23851 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
23852 | ||
23853 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
23854 | of QImode and SImode. | |
23855 | ||
86039100 KH |
23856 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
23857 | ||
23858 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
23859 | length computation of movsi. | |
23860 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
23861 | ||
e1429da0 KH |
23862 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
23863 | ||
23864 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
23865 | operands[2] to register_operand. | |
23866 | ||
aebfea10 JH |
23867 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
23868 | ||
23869 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
23870 | ||
0ec4e2a8 AH |
23871 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
23872 | ||
831c4e87 KC |
23873 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
23874 | for altivec_lvx* and altivec_stvx*. | |
23875 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
23876 | ("*movv8hi_internal1"): Same. | |
23877 | ("*movv16qi_internal1"): Same. | |
23878 | ("*movv4sf_internal1"): Same. | |
0ec4e2a8 | 23879 | |
831c4e87 | 23880 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
0ec4e2a8 | 23881 | |
831c4e87 KC |
23882 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
23883 | altivec_register_operand. | |
0ec4e2a8 | 23884 | |
b007569d HPN |
23885 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
23886 | ||
23887 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
23888 | handle SYMBOL_REF. | |
23889 | ||
e6834654 SS |
23890 | 2002-02-13 Stan Shebs <shebs@apple.com> |
23891 | ||
831c4e87 KC |
23892 | * c-typeck.c (digest_init): Handle vectors. |
23893 | (really_start_incremental_init): Same. | |
23894 | (pop_init_level): Same. | |
23895 | (process_init_element): Same. | |
e6834654 | 23896 | |
831c4e87 | 23897 | * varasm.c (output_constant): Same. |
e6834654 | 23898 | |
831c4e87 KC |
23899 | * expr.c (clear_storage): Same. |
23900 | (store_constructor): Same. | |
e6834654 | 23901 | |
d9b3eb63 EC |
23902 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
23903 | ||
23904 | * explow.c (hard_function_value): Add comment explaining | |
23905 | signed/unsigned comparison. | |
23906 | ||
56d44285 JJ |
23907 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
23908 | ||
23909 | * jump.c (never_reached_warning): Add finish argument. | |
23910 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
23911 | real insn after end. | |
23912 | * rtl.h (never_reached_warning): Adjust prototype. | |
23913 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
23914 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
23915 | never_reached_warning. | |
23916 | ||
fc209487 GS |
23917 | 2002-02-12 Graham Stott <grahams@redhat.com> |
23918 | ||
23919 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
23920 | ||
1e41e866 KH |
23921 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
23922 | ||
23923 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
23924 | logical shifts on H8/300. | |
23925 | (shift_alg_si): Improve several shifts on H8/300. | |
23926 | (get_shift_alg): Likewise. | |
23927 | ||
a36a47ad GS |
23928 | 2002-02-12 Graham Stott <grahams@redhat.com> |
23929 | ||
23930 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
23931 | ||
0aacc8ed RK |
23932 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23933 | ||
23934 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
23935 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
23936 | ||
a02ac966 HPN |
23937 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
23938 | ||
23939 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
23940 | non-CONST_INT through default_assemble_integer. | |
23941 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
23942 | <case 8>: Abort for CONST_DOUBLE. | |
23943 | ||
d6e06ddc JDA |
23944 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
23945 | ||
23946 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
23947 | is specified. | |
23948 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
23949 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
23950 | ||
515342a8 AH |
23951 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
23952 | ||
23953 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
23954 | ||
cddd8b72 AO |
23955 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
23956 | ||
66df7a98 AO |
23957 | * regrename.c (regrename_optimize): Don't accept a |
23958 | part-clobbered register if the replaced register is not part | |
23959 | clobbered. | |
23960 | ||
841404cd AO |
23961 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
23962 | take padding into account when computing the argument value. | |
23963 | ||
1d1ade42 AO |
23964 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
23965 | ||
cddd8b72 AO |
23966 | * combine.c (try_combine): Apply substitutions in |
23967 | CALL_INSN_FUNCTION_USAGE too. | |
23968 | ||
5c665b88 AH |
23969 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
23970 | ||
77f6c1eb RS |
23971 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
23972 | __builtin_altivec_abs*. | |
23973 | (bdesc_abs): New. | |
5c665b88 | 23974 | |
77f6c1eb RS |
23975 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
23976 | ALTIVEC_BUILTIN_ABS*. | |
5c665b88 | 23977 | |
77f6c1eb RS |
23978 | * config/rs6000/altivec.h: Use const char for builtins expecting |
23979 | literals. | |
23980 | (vec_abs): New versions for C and C++. | |
23981 | (vec_abss): Same. | |
5c665b88 | 23982 | |
3494f1b4 KH |
23983 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
23984 | ||
23985 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
23986 | using Pmode. | |
23987 | ||
72431aef KH |
23988 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
23989 | ||
23990 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
23991 | constant definition from h8300.md. | |
23992 | (FRAME_POINTER_REGNUM): Likewise. | |
23993 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
23994 | ||
87e4ee91 KH |
23995 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
23996 | ||
23997 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
23998 | ||
9c188705 KH |
23999 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
24000 | ||
24001 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
24002 | * config/h8300/h8300.c (byte_reg): Make it static. | |
24003 | ||
fba78abb RH |
24004 | 2002-02-10 Richard Henderson <rth@redhat.com> |
24005 | ||
24006 | PR c/5623 | |
24007 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
24008 | ||
65739e62 RH |
24009 | 2002-02-10 Richard Henderson <rth@redhat.com> |
24010 | ||
24011 | PR c++/5624 | |
24012 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
24013 | does not exist. | |
24014 | ||
247cb9df HPN |
24015 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
24016 | ||
24017 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
24018 | ||
232bd029 KH |
24019 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
24020 | ||
65739e62 | 24021 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
232bd029 KH |
24022 | (pushhi1): Likewise. |
24023 | ||
276ef573 JDA |
24024 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
24025 | ||
24026 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
24027 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
24028 | ||
617e9ee5 DB |
24029 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
24030 | ||
24031 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
24032 | remove MASK_VIS. | |
24033 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
24034 | ||
6dfa4005 KH |
24035 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24036 | ||
24037 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
24038 | a half of an SImode register on H8/300. | |
24039 | ||
749e7b80 JH |
24040 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
24041 | ||
24042 | * i386.md (movdi_2): Add missing '!'. | |
24043 | ||
ca77d87c KH |
24044 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24045 | ||
24046 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
24047 | definitions. | |
24048 | ||
16c96304 KH |
24049 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24050 | ||
24051 | * config/h8300/h8300.md (length): Correct the distance valid | |
24052 | for the short branch. | |
24053 | ||
a364bc90 KH |
24054 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24055 | ||
24056 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
24057 | ||
e4ec2cac AO |
24058 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
24059 | ||
a138247b AO |
24060 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
24061 | registers in SImode. | |
24062 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
24063 | part-clobbered. | |
24064 | ||
2b1fd83f AO |
24065 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
24066 | patch. | |
d9b3eb63 | 24067 | |
fa5322fa AO |
24068 | Contribute sh64-elf. |
24069 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
24070 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
24071 | (sh_cannot_modify_jumps_p): New function. | |
24072 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
24073 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
24074 | (sh_ms_bitfield_layout_p): New function. | |
24075 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
24076 | Zack Weinberg <zack@codesourcery.com> | |
24077 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
24078 | expand_simple_binop instead of expand_binop. | |
24079 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
24080 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
24081 | use of .quad and .uaquad. | |
24082 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
24083 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
24084 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
24085 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
24086 | movdi_const_16bit): Make sure all CONSTs have modes. | |
24087 | (sym2PIC): Ditto, but by adjusting all callers. | |
24088 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
24089 | if the prologue calls the SHmedia argument decoder or register | |
24090 | saver. | |
24091 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
24092 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
24093 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
24094 | (sh_expand_epilogue): Don't emit USE of return target register. | |
24095 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
24096 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
24097 | PIC register. | |
24098 | (sh_expand_prologue): Remove explicit USE of return register. | |
24099 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
24100 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
24101 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
24102 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
24103 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
24104 | EXTRA_CONSTRAINT_T. | |
24105 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
24106 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
24107 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
24108 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
24109 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
24110 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
24111 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
24112 | alternatives supporting TARGET_REGS. | |
24113 | (UNSPEC_GOTPLT): New constant. | |
24114 | (movdi split): Move incrementing of LABEL_NUSES... | |
24115 | (movdi_const, movdi_const_32bit): Here. Use | |
24116 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
24117 | (movdi_const_16bit): New. | |
24118 | (call, call_value) [flag_pic]: Use GOTPLT. | |
24119 | (call_pop, call_value_pop): New expands. | |
24120 | (call_pop_compact, call_pop_rettramp): New insns. | |
24121 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
24122 | (sibcall) [flag_pic]: Use GOT. | |
24123 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
24124 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
24125 | (*pt, *ptb, ptrel): New insns. | |
24126 | (sym2GOT): Handle DImode GOT. | |
24127 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
24128 | (sym2PIC): New expand. | |
24129 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
24130 | (shcompact_return_tramp_i): Use return register explicitly. | |
24131 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
24132 | disable flag_reorder_blocks. | |
24133 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
24134 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
24135 | clobbers, for clarity. | |
24136 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
24137 | restoring of r0 in macl as MAYBE_DEAD. | |
24138 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
24139 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
24140 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
24141 | alter_subreg all over. | |
24142 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
24143 | reload, instead of emitting instructions that would require | |
24144 | reloading. | |
24145 | (casesi_load_media): Add missing modes. | |
24146 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
24147 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
24148 | as used if the argument decoder is called. | |
24149 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
24150 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
24151 | Pmode, then extend it to DImode if necessary. | |
24152 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
24153 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
24154 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
24155 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
24156 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
24157 | Adjust whitespace in assembly output templates. | |
24158 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
24159 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
24160 | mode of if_then_else. | |
24161 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
24162 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
24163 | sh.h. | |
24164 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
24165 | Joern Rennecke <amylaar@redhat.com> | |
24166 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
24167 | (SUBTARGET_CPP_PTR_SPEC): New. | |
24168 | (SUBTARGET_CPP_SPEC): Remove. | |
24169 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
24170 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
24171 | Fix typo in previous checkin. | |
24172 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
24173 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
24174 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
24175 | Alexandre Oliva <aoliva@redhat.com> | |
24176 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
24177 | what single FP register can hold for SHmedia target. | |
24178 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
24179 | Alexandre Oliva <aoliva@redhat.com> | |
24180 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
24181 | Do not split into SUBREG. | |
24182 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
24183 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
24184 | and added new functions as specified in SH5 ABI r9. | |
24185 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
24186 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
24187 | 8-byte boundary. | |
24188 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
24189 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
24190 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
24191 | and consttable_window_ends. | |
24192 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
24193 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
24194 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
24195 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
24196 | vector and matrix registers. | |
24197 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
24198 | vector modes into account. | |
24199 | * config/sh/sh.md (movv2sf): Split move between registers into | |
24200 | movdf. | |
24201 | (movv4sf, movv16sf): Introduce insns that get split only after | |
24202 | reload. | |
24203 | * config/sh/shmedia.h: Fix Copyright dates. | |
24204 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
24205 | declarations into conditionals that uses them. | |
24206 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
24207 | loop boundary. | |
24208 | * config/sh/sshmedia.h: Fix Copyright dates. | |
24209 | (sh_media_PUTCFG): Fix constraints. | |
24210 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
24211 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
24212 | ptrmemfunc_vbit_in_delta for SH5. | |
24213 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
24214 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
24215 | * invoke.texi: Likewise. | |
24216 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
24217 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
24218 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
24219 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
24220 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
24221 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
24222 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
24223 | compact function with nonlocal labels. | |
24224 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
24225 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
24226 | (initial_elimination_offset): Account for their stack space. | |
24227 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
24228 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
24229 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
24230 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
24231 | least one of the operands to be a register. | |
24232 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
24233 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
24234 | prepare_move_operands() before emitting SHmedia insns. | |
24235 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
24236 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
24237 | Don't save nor initialize r12. Don't mis-align the stack. | |
24238 | Pad the code with a nop. | |
24239 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
24240 | stack. | |
24241 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
24242 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
24243 | [__SHMEDIA__]: Implement. | |
24244 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
24245 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
24246 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
24247 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
24248 | Set move, load and store type attributes. | |
24249 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
24250 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
24251 | profiling. | |
24252 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
24253 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
24254 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
24255 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
24256 | branch-target register. | |
24257 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
24258 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
24259 | branch-target register. | |
24260 | (return_media): If r18 wasn't copied in the prologue, copy it | |
24261 | here. | |
24262 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
24263 | Clear class FP0_REGS. | |
24264 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
24265 | from elf.h. | |
24266 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
24267 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
24268 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
24269 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
24270 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
24271 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
24272 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
24273 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
24274 | return value correctly for call_cookie. | |
24275 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
24276 | * config/sh/crt1.asm (start): Modified so as to call | |
24277 | ___setup_argv_and_call_main. | |
24278 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
24279 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
24280 | SHmedia mode. | |
24281 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
24282 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
24283 | (STRIP_NAME_ENCODING): Use it. | |
24284 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
24285 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
24286 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
24287 | prepare_scc_operands(). | |
24288 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
24289 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
24290 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
24291 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
24292 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
24293 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
24294 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
24295 | used in shcompact_incoming_args. | |
24296 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
24297 | change. | |
24298 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
24299 | mode. | |
24300 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
24301 | Adjust accordingly. | |
24302 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
24303 | Simplify. Adjust. Add sanity check. | |
24304 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
24305 | FPU_SINGLE_BIT. | |
24306 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
24307 | TARGET_SHCOMPACT. | |
24308 | (udivsi3, divsi3): Use them. | |
24309 | (force_mode_for_call): New insn. | |
24310 | (call, call_value, sibcall_value): Emit it before SHcompact | |
24311 | calls. | |
24312 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
24313 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
24314 | call cookie is non-NULL before taking its value. | |
24315 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
24316 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
24317 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
24318 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
24319 | block. | |
24320 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
24321 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
24322 | temporary for stack adjusts. Use MACL and MACH to pass | |
24323 | arguments to shcompact_incoming_args. | |
24324 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
24325 | clobber r1. | |
24326 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
24327 | (nested_trampoline): Load static chain address into r1. | |
24328 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
24329 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
24330 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
24331 | fp_arith_reg_operand(). | |
24332 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
24333 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
24334 | and use signed compares for them. | |
24335 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
24336 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
24337 | ones properly aligned. | |
24338 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
24339 | constants. | |
24340 | (machine_dependent_reorg): Require a label for the second 4-byte | |
24341 | constant after an 8-byte one. | |
24342 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
24343 | change. | |
24344 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
24345 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
24346 | last_float when switching float modes. | |
24347 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
24348 | auto-increment for general-purpose registers. | |
24349 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
24350 | result. | |
24351 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
24352 | for stack adjust. | |
24353 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
24354 | registers for varargs. | |
24355 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
24356 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
24357 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
24358 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
24359 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
24360 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
24361 | call_cookie accordingly. | |
24362 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
24363 | (SHCOMPACT_BYREF): Likewise. | |
24364 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
24365 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
24366 | (sh_builtin_saveregs): Likewise. | |
24367 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
24368 | shcompact_incoming_args): Use new shift values. Support | |
24369 | sequences of consecutive and non-consecutive pushes/pops. | |
24370 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
24371 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
24372 | * config/sh/sh.h (TEXT_SECTION): Define. | |
24373 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
24374 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
24375 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
24376 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
24377 | return values on FPU-enabled SHmedia. | |
24378 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
24379 | FPU-enabled SHmedia. | |
24380 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
24381 | value is returned in a non-FP reg and is not returned by | |
24382 | reference. | |
24383 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
24384 | jump_ind. | |
24385 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
24386 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
24387 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
24388 | quad-aligned to be passed by callee-copy reference. | |
24389 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
24390 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
24391 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
24392 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
24393 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
24394 | copying low-numbered FP regs to r7 and r8. | |
24395 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
24396 | FP regs to general-purpose regs only if the copy was passed on the | |
24397 | stack. | |
24398 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
24399 | copying FP reg to r9. | |
24400 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
24401 | copy FP regs to general-purpose regs only in outgoing calls. | |
24402 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
1e4e95d6 | 24403 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
fa5322fa AO |
24404 | HOST_WIDE_INT. |
24405 | * config/sh/sh.h (struct sh_args): Document all fields. | |
24406 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
24407 | passed partially on the stack should not consider making | |
24408 | sibcalls. | |
24409 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
24410 | stack_regs only for incoming calls. When passing FP args, | |
24411 | make sure there are FP regs available before modifying | |
24412 | call_cookie. | |
24413 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
24414 | registers by reference. | |
24415 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
24416 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
24417 | attempt to generate sibcalls if the caller got any arguments | |
24418 | by reference. | |
24419 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
24420 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
24421 | to 8-byte boundaries. | |
24422 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
24423 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
24424 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
24425 | stored in the stack. | |
24426 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
24427 | for the offsets to have the ISA bit set. | |
24428 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
24429 | invocation. Use beq instead of bgt to mark end of sequence of | |
24430 | loads. | |
24431 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
24432 | bgt to mark end of sequence of stores. | |
24433 | * config/sh/sh.c (arith_operand): Don't check whether | |
24434 | CONST_OK_FOR_J for now. | |
24435 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
24436 | instead of long for conversion. | |
24437 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
24438 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
24439 | before passing it to fprintf. | |
24440 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
24441 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
24442 | Call set_fpscr before reading/writing SR. | |
24443 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
24444 | Call set_fpscr. | |
24445 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
24446 | SHmedia code. | |
24447 | (FMOVD_WORKS): Define on SH5 with FPU. | |
24448 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
24449 | setting. | |
24450 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
24451 | _fpscr_values. | |
24452 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
24453 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
24454 | address. | |
24455 | (ia_main_table): Ditto. | |
24456 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
24457 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
24458 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
24459 | the definitions from sh.h. | |
24460 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
24461 | TARGET_SH5. | |
24462 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
24463 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
24464 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
24465 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
24466 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
24467 | Increment LABEL_NUSES. | |
d9b3eb63 | 24468 | |
fa5322fa AO |
24469 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
24470 | TARGET_SH5. | |
24471 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
24472 | defined. | |
24473 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
24474 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
24475 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
24476 | shcompact_incoming_args): Load switch table addresses using | |
24477 | datalabel. | |
24478 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
24479 | (NO_BUILTIN_SIZE_TYPE): Define. | |
24480 | (SIZE_TYPE): Don't define. | |
24481 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
24482 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
24483 | definition of __SH5__=32 for -m5-compact-nofpu. | |
24484 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
24485 | ADDR_DIFF_VEC. | |
24486 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
24487 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
24488 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
24489 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
24490 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
24491 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
24492 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
24493 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
24494 | copying of non-branch-target register. | |
24495 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
1e4e95d6 | 24496 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
fa5322fa AO |
24497 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
24498 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
24499 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
24500 | floating-point values as structs. | |
24501 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
24502 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
24503 | general-purpose register. | |
24504 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
24505 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
24506 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
24507 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
24508 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
24509 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
24510 | DATALABEL unspecs. | |
24511 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
24512 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
24513 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
24514 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
24515 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
24516 | SH_DATALABEL_ENCODING to the symbol name. | |
24517 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
24518 | convert_mode(). | |
24519 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
24520 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
24521 | UNSPEC_DATALABEL. | |
24522 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
24523 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
24524 | (DATALABEL_REF_P): Don't require CONST. | |
24525 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
24526 | REL label. | |
24527 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
24528 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
24529 | right. | |
24530 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
24531 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
24532 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
24533 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
24534 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
24535 | on SHmedia using GENERAL_REGs. | |
24536 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
24537 | bltu_media_i): Fix reversion of conditions. | |
24538 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
24539 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
24540 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
24541 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
24542 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
24543 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
24544 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
24545 | (GCC_nested_trampoline): Likewise. | |
24546 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
24547 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
24548 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
24549 | (INITIALIZE_TRAMPOLINE): Likewise. | |
24550 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
24551 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
24552 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
24553 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
24554 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
24555 | (ic_invalidate): Adjust for SH5. | |
24556 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
24557 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
24558 | _nested_trampoline. | |
24559 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
24560 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
24561 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
24562 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
24563 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
24564 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
24565 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
24566 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
24567 | registers and pseudos that aren't virtual registers. | |
24568 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
24569 | Copy operands that don't match target_reg_operand to pseudos. | |
24570 | (call_media, call_value_media, sibcall_media): Use | |
24571 | target_reg_operand instead of target_operand. | |
24572 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
d9b3eb63 | 24573 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
fa5322fa AO |
24574 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
24575 | other than branch-target registers. | |
24576 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
24577 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
24578 | (fpscr_values) [SH5 == 32]: Define. | |
24579 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
24580 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
24581 | Handle function addresses coming in SUBREGs. | |
24582 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
24583 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
24584 | shcompact_return_trampoline): Use datalabel where appropriate. | |
24585 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
24586 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
24587 | general-purpose register to copy one branch-target register to | |
24588 | another. | |
24589 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
24590 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
24591 | SYMBOL_REFs with VOIDmode. | |
24592 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
24593 | bltu_media_i): New insns. | |
24594 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
24595 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
24596 | (INIT_CUMULATIVE_ARGS): Likewise. | |
24597 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
24598 | * machmode.def (V16SFmode): New mode. | |
24599 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
24600 | * tree.c (build_common_tree_nodes_2): Likewise. | |
24601 | * tree.h (tree_index): Likewise. | |
24602 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
24603 | callers. Introduce CALL_POPS_ARGS. | |
24604 | * tm.texi (CALL_POPS_ARGS): Document. | |
24605 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
24606 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
24607 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
24608 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
24609 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
24610 | Implement divsi and udivsi in SHmedia mode. Introduce | |
24611 | SHcompact trampolines. | |
24612 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
24613 | only in SHmedia64. | |
24614 | (regno_reg_class): Rewrite. | |
24615 | (fp_reg_names): Remove. | |
24616 | (sh_register_names, sh_additional_register_names): New. | |
24617 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
24618 | Add parentheses around shifted CONSTs. | |
24619 | (output_file_start): Output .mode and .abi directives. | |
24620 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
24621 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
24622 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
24623 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
24624 | bytes, not registers. Take into account the need for the | |
24625 | SHcompact incoming args trampoline. Adjust all callers. | |
24626 | (sh_expand_prologue): Take stack_regs into account. Call | |
24627 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
24628 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
24629 | stack aligned as per SH5 ABI. | |
24630 | (sh_builtin_saveregs): Support SH5 ABI. | |
24631 | (sh_build_va_list, sh_va_start): Likewise. | |
24632 | (initial_elimination_offset): Take alignment into account. | |
24633 | Compute location of PR according to the SH5 stack frame. | |
24634 | (arith_reg_operand): Reject branch-target registers. | |
24635 | (shmedia_6bit_operand): New. | |
24636 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
24637 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
24638 | (target_operand): New. | |
24639 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
24640 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
24641 | SIBCALL_REGS for SHmedia. | |
24642 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
24643 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
24644 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
24645 | (TARGET_SWITCHES): New SH5 flags. | |
24646 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
24647 | VALID_REGISTER_P to disable unsupported registers. | |
24648 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
24649 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
24650 | (FUNCTION_ARG_PADDING): Define. | |
24651 | (FASTEST_ALIGNMENT): Adjust. | |
24652 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
24653 | (sh_register_names): Declare. | |
24654 | (DEBUG_REGISTER_NAMES): Define. | |
24655 | (REGISTER_NAMES): Define based on sh_register_names. | |
24656 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
24657 | (sh_additional_register_names): Declare. | |
24658 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
24659 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
24660 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
24661 | (REGISTER_NATURAL_MODE): Define. | |
24662 | (FIRST_PSEUDO_REGISTER): Adjust. | |
24663 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
24664 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
24665 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
24666 | (VECTOR_MODE_SUPPORTED_P): Define. | |
24667 | (REG_CLASS_CONTENTS): Adjust. | |
24668 | (SMALL_REGISTER_CLASSES): Adjust. | |
24669 | (REG_ALLOC_ORDER): Adjust. | |
24670 | (INDEX_REG_CLASS): Adjust. | |
24671 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
24672 | (CONST_OK_FOR_LETTER_P): Adjust. | |
24673 | (PREFERRED_RELOAD_CLASS): Adjust. | |
24674 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
24675 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
24676 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
24677 | (FIRST_FP_PARM_REG): Adjust. | |
24678 | (CALL_POPS_ARGS): Define. | |
24679 | (FUNCTION_ARG_REGNO_P): Adjust. | |
24680 | (struct sh_args): New fields. | |
24681 | (GET_SH_ARG_CLASS): Adjust. | |
24682 | (INIT_CUMULATIVE_ARGS): Adjust. | |
24683 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
24684 | (FUNCTION_ARG_ADVANCE): Adjust. | |
24685 | (FUNCTION_ARG): Adjust. | |
24686 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
24687 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
24688 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
24689 | (STRICT_ARGUMENT_NAMING): Define. | |
24690 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
24691 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
24692 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
24693 | (SETUP_INCOMING_VARARGS): Adjust. | |
24694 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
24695 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
24696 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
24697 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
24698 | (EXTRA_CONSTRAINT_S): Update. | |
24699 | (EXTRA_CONSTRAINT_T): New. | |
24700 | (EXTRA_CONSTRAINT): Adjust. | |
24701 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
24702 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
24703 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
24704 | (MOVE_MAX): Adjust. | |
24705 | (MAX_MOVE_MAX): Define. | |
24706 | (Pmode): Adjust. | |
24707 | (CONST_COSTS): Adjust. | |
24708 | (REGISTER_MOVE_COST): Adjust. | |
24709 | (BRANCH_COST): Adjust. | |
24710 | (TEXT_SECTION_ASM_OP): Adjust. | |
24711 | (DBX_REGISTER_NUMBER): Adjust. | |
24712 | (ASM_OUTPUT_DOUBLE_INT): New. | |
24713 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
24714 | (PREDICATE_CODES): Adjust. | |
24715 | (PROMOTE_MODE): Adjust. | |
24716 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
24717 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
24718 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
24719 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
24720 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
24721 | (TR0_REG, TR1_REG, TR2_REG): New. | |
24722 | (XD0_REG): Renumber. | |
24723 | (UNSPEC_COMPACT_ARGS): New. | |
24724 | (type): Added pt and ptabs. | |
24725 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
1e4e95d6 | 24726 | and 20 on SHmedia32 and SHmedia64, respectively. |
fa5322fa AO |
24727 | (pt): New function unit. |
24728 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
24729 | Add whitespace between operands of SHmedia instructions. | |
24730 | (movdicc): Fix. | |
24731 | (adddi3_media, addsi3_media): Adjust constraints. | |
24732 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
24733 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
24734 | (udivsi3): Support SHmedia. | |
24735 | (divsi3_i1_media, divsi3_i4_media): New. | |
24736 | (divsi3): Support SHmedia. | |
24737 | (anddi3, iordi3, xordi3): Adjust constraints. | |
24738 | (zero_extendhidi2, zero_extendqidi2): New. | |
24739 | (extendsidi2, extendhidi2, extendqidi2): New. | |
24740 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
24741 | (pop_e, pop_fpul, pop_4): Likewise. | |
24742 | (movsi_media): Support FP and BT registers. | |
24743 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
24744 | (lduw, ldub): Renamed to zero_extend* above. | |
24745 | (movqi_media): Fix typo. | |
24746 | (movdi_media): Support FP and BT registers. | |
24747 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
24748 | (movdi_const_32bit): New. | |
24749 | (shori_media): Require immediate operand. Use `u' for output. | |
24750 | (movdf_media, movsf_media): Simplified. | |
24751 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
24752 | (movdf, movsf): Adjust | |
24753 | (movv2sf, movv2sf, movv16sf): New. | |
24754 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
24755 | scratch BT register. | |
24756 | (bne_media, bne_media_i): Likewise. | |
24757 | (bgt_media, bgt_media_i): Likewise. | |
24758 | (bge_media, bge_media_i): Likewise. | |
24759 | (bgtu_media, bgtu_media_i): Likewise. | |
24760 | (bgeu_media, bgeu_media_i): Likewise. | |
24761 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
24762 | bunordered): Emit jump insn. Force operands to registers when | |
24763 | needed. | |
24764 | (jump_media, jump): Simplify. | |
24765 | (call_compact, call_compact_rettramp): New. | |
24766 | (call_value_compact, call_value_compact_rettramp): New. | |
24767 | (call_media, call_value_media): Simplify. | |
24768 | (sibcall_compact, sibcall_media): New. | |
24769 | (call, call_value): Adjust for SHmedia and SHcompact. | |
24770 | (sibcall, sibcall_value, untyped_call): Likewise. | |
24771 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
24772 | (indirect_jump): Adjust for SHmedia. | |
24773 | (casesi_jump_media): New. | |
24774 | (nop): Re-enable for SHmedia. | |
24775 | (call_site): Restrict to SH1. | |
24776 | (casesi): Adjust for SHmedia. | |
24777 | (casesi_shift_media, casesi_load_media): New. | |
24778 | (return): Explicitly use PR register. Call return trampoline | |
24779 | on SHcompact. | |
24780 | (return_i): Explicitly use PR register. | |
24781 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
24782 | (return_media): Adjust. | |
24783 | (shcompact_incoming_args): New. | |
24784 | (epilogue): Adjust. | |
24785 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
24786 | (movstrsi): Disable on SH5. | |
24787 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
24788 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
24789 | (subsf3, subsf3_media): Likewise. | |
24790 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
24791 | (divsf3, divsf3_media): Likewise. | |
24792 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
24793 | (floatsisf2, fux_truncsfsi2): Likewise. | |
24794 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
24795 | constraints. | |
24796 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
24797 | (cmpunsf_media, cmpsf): Likewise. | |
24798 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
24799 | (abssf2, abssf2_media): Likewise. | |
24800 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
24801 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
24802 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
24803 | (floatsidf2, fix_truncdfsi2): Likewise. | |
24804 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
24805 | constraints. | |
24806 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
24807 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
24808 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
24809 | (absdf2, absdf2_media): Likewise. | |
24810 | (extendsfdf2, extendsfdf2_media): Likewise. | |
24811 | (truncsfdf2, truncsfdf2_media): Likewise. | |
24812 | * config/sh/sh64.h: New file. | |
24813 | * config/sh/t-sh64: New file. | |
24814 | * config/sh/shmedia.h: New file. | |
24815 | * config/sh/ushmedia.h: New file. | |
24816 | * config/sh/sshmedia.h: New file. | |
24817 | * configure.in: Added sh64-*-elf. | |
24818 | * configure: Rebuilt. | |
24819 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
24820 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
24821 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
24822 | (print_operand): Support `%M', `%m', `AND' and | |
24823 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
24824 | (andcosts): Adjust for SHmedia. | |
24825 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
24826 | Likewise. | |
24827 | (target_reg_operand): New function. | |
24828 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
24829 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
24830 | FP registers on SH5. | |
24831 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
24832 | on SH4. | |
24833 | (TARGET_REGISTER_P): New macro. | |
24834 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
24835 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
24836 | (EXTRA_CONSTRAINT_S): New macro. | |
24837 | (EXTRA_CONSTRAINT): Adjust. | |
24838 | (FLOAT_TYPE_SIZE): Define to 32. | |
24839 | (Pmode): DImode on SHmedia. | |
24840 | (CONST_COSTS): Adjust for SHmedia literals. | |
24841 | (PREDICATE_CODES): Added target_reg_operand. | |
24842 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
24843 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
24844 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
24845 | (cmpdi): Accept SHmedia. | |
24846 | (movdicc_false, movdicc_true): New insns. | |
24847 | (movdicc): New expand. | |
24848 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
24849 | no_new_pseudos. | |
24850 | (addsi3_media): Match `S' constraint. | |
24851 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
24852 | (negdi2): Expand for SHmedia. | |
24853 | (one_cmpldi2): New expand. | |
24854 | (zero_extendsidi2): Change from expand to insn. | |
24855 | (extendsidi2): Add constraints. | |
24856 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
24857 | LD/ST address. Fix SI immediate loading split. | |
24858 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
24859 | (movhi, movqi): Accept SHmedia. | |
24860 | (shori_media, movdi_media): Relax input constraints. Split | |
24861 | symbolic constants. | |
24862 | (movdf_media, movsf_media): New insn. New split to movdi. | |
24863 | (movdf, movsf): Match on SHmedia. | |
24864 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
24865 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
24866 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
24867 | (bunordered): New expand. | |
24868 | (jump_compact): Renamed from `jump'. | |
24869 | (jump_media): New insn. | |
24870 | (jump): New expand. | |
24871 | (call_media, call_value_media): New insns. | |
24872 | (call, call_value): Adjust. | |
24873 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
24874 | (indirect_jump_media): New insn. | |
24875 | (indirect_jump): New expand. | |
24876 | (untyped_call, return): Accept SHmedia. | |
24877 | (return_media): New insn. | |
24878 | (prologue, epilogue, blockage): Accept SHmedia. | |
24879 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
24880 | (sunordered): New expand. | |
24881 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
24882 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
24883 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
24884 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
24885 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
24886 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
24887 | abssf2_media): New insns. | |
24888 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
24889 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
24890 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
24891 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
24892 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
24893 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
24894 | absdf2_media): New insns. | |
24895 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
24896 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
24897 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
24898 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
24899 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
24900 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
24901 | * config/sh/sh.md (adddi3): New expand. | |
24902 | (adddi3_media, adddi3z_media): New insns. | |
24903 | (adddi3_compact): Renamed from adddi3. | |
24904 | (addsi3_media): Use add.l r63 to add constant zero. | |
24905 | (subdi3): New expand. | |
24906 | (subdi3_media): New insn. | |
24907 | (subdi3_compact): Renamed from subdi3. | |
24908 | (mulsidi3): New expand. | |
24909 | (mulsidi3_media): New insn. | |
24910 | (mulsidi3_compact): Renamed from mulsidi3. | |
24911 | (umulsidi3): New expand. | |
24912 | (umulsidi3_media): New insn. | |
24913 | (umulsidi3_compact): Renamed from umulsidi3. | |
24914 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
24915 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
24916 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
24917 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
24918 | (zero_extendsidi2): New expand. | |
24919 | (extendsidi2): New insn. | |
24920 | (movsi_media): New insn. Split to movdi to load constants. | |
24921 | (movsi): Enable for shmedia. | |
24922 | (movdi_media): New insn. Use shori_media to load wide constants. | |
24923 | (short_media): New insn. | |
24924 | (movdi): Enable for shmedia. | |
24925 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
24926 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
24927 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
24928 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
24929 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
24930 | to all other SH variants. | |
24931 | (TARGET_DEFAULT): Set to SH1_BIT. | |
24932 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
24933 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
24934 | (MAX_BITS_PER_WORD): Change to 64. | |
24935 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
24936 | (INT_TYPE_SIZE): Keep as 32. | |
24937 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
24938 | (MIN_UNITS_PER_WORD): Keep as 4. | |
24939 | (POINTER_SIZE): Raise to 64 on shmedia. | |
24940 | (CONST_OK_FOR_J): New macro. | |
24941 | (CONST_OK_FOR_LETTER_P): Use it. | |
24942 | (processor_type): Add PROCESSOR_SH5. | |
24943 | * config/sh/sh.md: Conditionalize all expands, insns and | |
24944 | splits to TARGET_SH1. | |
24945 | (cpu): Added sh5. | |
24946 | (addsi3_compact): Renamed from... | |
24947 | (addsi3): Now an expand. | |
24948 | (addsi3_media, subsi3_media): New insns. | |
24949 | (subsi3): Don't negate constants with SHmedia. | |
24950 | ||
e4ec2cac AO |
24951 | * hooks.c: New file. |
24952 | * hooks.h: New file. | |
24953 | * Makefile.in (HOOKS_H): New. | |
24954 | (TARGET_DEF_H): Added $(HOOKS_H). | |
24955 | (OBJS): Added hooks.o. | |
24956 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
24957 | (hooks.o): Added dependencies. | |
24958 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
24959 | (TARGET_INITIALIZER): this. | |
24960 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
24961 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
24962 | * bb-reorder.c: Include target.h. | |
24963 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
24964 | * cfgcleanup.c: Include target.h. | |
24965 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
24966 | ||
246a46e0 CD |
24967 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
24968 | ||
831c4e87 KC |
24969 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
24970 | Protect jump delay slot instructions with .set noreorder and | |
24971 | .set nomacro. | |
246a46e0 CD |
24972 | |
24973 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
6a5ea3f4 CD |
24974 | |
24975 | * config/mips/mips.md (casesi_internal_di): Calculate | |
24976 | the index into the target offset table correctly. | |
24977 | ||
fdf473ae RH |
24978 | 2002-02-08 Richard Henderson <rth@redhat.com> |
24979 | ||
24980 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
24981 | * final.c (output_addr_const): Accept and discard SUBREG. | |
24982 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
24983 | mark them unknown instead. | |
24984 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
24985 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
24986 | ||
c50503ac DE |
24987 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
24988 | ||
24989 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
24990 | ||
3660d217 RH |
24991 | 2002-02-08 Richard Henderson <rth@redhat.com> |
24992 | ||
24993 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
24994 | ||
56547299 AJ |
24995 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
24996 | ||
24997 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
24998 | * config/i386/t-linux64: New file. | |
24999 | ||
1cf537c5 JJ |
25000 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
25001 | ||
25002 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
25003 | * c-parse.in (compstmt): Clear last_expr_type. | |
25004 | ||
5c7f5a5f RH |
25005 | 2002-02-07 Richard Henderson <rth@redhat.com> |
25006 | ||
25007 | * loop.c (strength_reduce): Sink final_value when not | |
25008 | eliminating a biv. | |
25009 | ||
b1138bf3 DB |
25010 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
25011 | ||
25012 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
25013 | ||
b6878a45 RH |
25014 | 2002-02-07 Richard Henderson <rth@redhat.com> |
25015 | ||
25016 | * cfgrtl.c: Include recog.h and insn-config.h. | |
25017 | (keep_with_call_p): Fix general_operand invocation. | |
25018 | * Makefile.in (cfgrtl.o): Update dependencies. | |
25019 | ||
ae19f5ef KH |
25020 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
25021 | ||
25022 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
25023 | comment. Accept HImode only if TARGET_H8300. | |
25024 | ||
b137f9fc EC |
25025 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
25026 | ||
25027 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
25028 | ||
25029 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
25030 | ||
25031 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
25032 | register 7 as RA instead of $31. | |
25033 | * config/mips/crtn.asm: Ditto. | |
25034 | * config/mips/mips.c (mips_move_2words): Add case for | |
25035 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
25036 | (compute_frame_size): Fix typo. | |
25037 | (save_restore_insns): Ditto. Make documentation about using | |
25038 | register $7 as return register more precise. | |
25039 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
25040 | being able to add to the stack pointer directly. | |
25041 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
25042 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
25043 | epilogue. | |
25044 | ||
768070a0 TR |
25045 | 2002-02-07 Tom Rix <trix@redhat.com> |
25046 | ||
b137f9fc | 25047 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
768070a0 TR |
25048 | immediates in ldu and stdu DS opcode field. |
25049 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
25050 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
25051 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
25052 | ||
225909c3 JS |
25053 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
25054 | ||
25055 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
25056 | offset for stack bias. | |
25057 | ||
15fae023 L |
25058 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
25059 | ||
25060 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
25061 | ||
fde5badd UW |
25062 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
25063 | ||
25064 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
25065 | ||
162f023b JH |
25066 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
25067 | ||
25068 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
25069 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
25070 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
25071 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
25072 | ||
9b462c42 RH |
25073 | 2002-02-07 Richard Henderson <rth@redhat.com> |
25074 | ||
85aa876c | 25075 | PR optimization/2463 |
9b462c42 RH |
25076 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
25077 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
25078 | ||
06e455a9 AO |
25079 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
25080 | ||
25081 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
25082 | length. | |
25083 | ||
edd1967d RH |
25084 | 2002-02-06 Richard Henderson <rth@redhat.com> |
25085 | ||
25086 | PR c/5609 | |
25087 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
25088 | named and unnamed operands. | |
25089 | ||
a2cd028f JJ |
25090 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
25091 | Jan Hubicka <jh@suse.cz> | |
25092 | ||
25093 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
25094 | CONST expression. | |
25095 | ||
e8487c04 UW |
25096 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
25097 | ||
25098 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
25099 | * config/s390/t-linux64: New file. | |
25100 | * config/s390/libgcc-glibc.ver: New file. | |
25101 | ||
58d10f89 UW |
25102 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
25103 | ||
25104 | * config/s390/linux64.h: Delete file. | |
25105 | * config/s390/s390x.h: New file. | |
25106 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
25107 | as target header file. | |
25108 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
25109 | DEFAULT_TARGET_64BIT. | |
25110 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
25111 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
25112 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
25113 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
25114 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
25115 | (EXTRA_SPEC): New define. | |
25116 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
25117 | DEFAULT_TARGET_64BIT. | |
25118 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
25119 | ||
5ce89b2e JM |
25120 | 2002-02-06 Jason Merrill <jason@redhat.com> |
25121 | ||
25122 | * c-decl.c (finish_function): Warn about a non-void function with | |
25123 | no return statement and no abnormal exit. | |
25124 | (current_function_returns_abnormally): New variable. | |
25125 | (start_function): Clear it. | |
25126 | (struct c_language_function): Add returns_abnormally. | |
25127 | (push_c_function_context): Save it. | |
25128 | (pop_c_function_context): Restore it. | |
25129 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
25130 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
25131 | an explicit return type. | |
25132 | * c-tree.h: Declare current_function_returns_abnormally. | |
25133 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
25134 | * c-typeck.c (build_function_call): Set it. | |
25135 | (c_expand_return): Set current_function_returns_value even if the | |
25136 | value is erroneous. | |
25137 | ||
caaf2272 JJ |
25138 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
25139 | ||
25140 | PR c/5420: | |
25141 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
25142 | unsafe for reevaluation. | |
25143 | ||
d5129288 JJ |
25144 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
25145 | ||
25146 | PR c/5482: | |
25147 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
25148 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
25149 | ||
7fb75099 RH |
25150 | 2002-02-06 Richard Henderson <rth@redhat.com> |
25151 | ||
25152 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
25153 | be a general_operand. Dest for function value must be a pseudo. | |
25154 | ||
d3a8b6a6 NC |
25155 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
25156 | ||
25157 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
25158 | as SYMBOL_REFs from the constant pool. | |
25159 | ||
3c1299c5 AO |
25160 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
25161 | ||
25162 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
25163 | passed by invisible reference. | |
25164 | ||
c2c9f6c9 RH |
25165 | 2002-02-05 Richard Henderson <rth@redhat.com> |
25166 | ||
25167 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
25168 | ||
a824924d HPN |
25169 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
25170 | ||
25171 | Implement using "base addresses" in insn operands as default. | |
25172 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
25173 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
25174 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
25175 | used to read the rtx value. | |
25176 | (mmix_target_asm_function_epilogue): Fix spacing. | |
25177 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
25178 | (mmix_legitimate_address): Ditto. | |
25179 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
25180 | should be loaded with a GETA insn. Don't allocate needless extra | |
25181 | char for nul termination and fix misleading comment. | |
25182 | (mmix_print_operand_address): Handle constants if | |
25183 | TARGET_BASE_ADDRESSES. | |
25184 | (mmix_output_register_setting): Use base addressing if | |
25185 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
25186 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
25187 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
25188 | to use R as constraint, add LDA to match s. | |
25189 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
25190 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
25191 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
25192 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
25193 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
25194 | order with other fixed registers. | |
25195 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
25196 | other parameter/call-clobbered registers. | |
25197 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
25198 | -mbase-addresses, -mno-base-addresses. | |
25199 | (MMIX Options): Ditto. | |
25200 | ||
73c342b9 JDA |
25201 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25202 | ||
25203 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
25204 | ||
ef238c58 AH |
25205 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
25206 | ||
831c4e87 | 25207 | * config/rs6000/altivec.h: Change elem to _S_elem. |
ef238c58 | 25208 | |
ad08e60e JT |
25209 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
25210 | ||
25211 | * config/netbsd.h (WCHAR_TYPE): Define. | |
25212 | (WCHAR_TYPE_SIZE): Ditto. | |
25213 | (WINT_TYPE): Ditto. | |
25214 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
25215 | (WCHAR_UNSIGNED): Ditto. | |
25216 | (WCHAR_TYPE_SIZE): Ditto. | |
25217 | (WINT_TYPE): Ditto. | |
25218 | * config/arm/netbsd.h: Likewise. | |
25219 | * config/i386/netbsd-elf.h: Likewise. | |
25220 | * config/i386/netbsd.h: Likewise. | |
25221 | * config/m68k/netbsd-elf.h: Likewise. | |
25222 | * config/m68k/netbsd.h: Likewise. | |
25223 | * config/ns32k/netbsd.h: Likewise. | |
25224 | * config/sparc/netbsd.h: Likewise. | |
25225 | * config/vax/netbsd.: Likewise. | |
25226 | ||
f913c102 AO |
25227 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
25228 | ||
25229 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
25230 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
25231 | (TARGET_INITIALIZER): this. | |
25232 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
25233 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
25234 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
25235 | (record_layout_info): Added prev_field. | |
25236 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
25237 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
25238 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
25239 | * stor-layout.c: Include target.h. | |
25240 | (start_record_layout): Initialize prev_field. | |
25241 | (place_field): Handle MS bit-field layout, and disregard | |
25242 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
25243 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
25244 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
25245 | ||
c13db5d1 JM |
25246 | 2002-02-05 Jason Merrill <jason@redhat.com> |
25247 | ||
c13db5d1 JM |
25248 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
25249 | ||
4505024e AJ |
25250 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
25251 | ||
25252 | * crtstuff.c: Fix comments. | |
25253 | ||
794ad79d RH |
25254 | 2002-02-05 Richard Henderson <rth@redhat.com> |
25255 | ||
2e279a9b RH |
25256 | PR fortran/3393 |
25257 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
25258 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
25259 | ||
794ad79d RH |
25260 | PR fortran/3392 |
25261 | * config/mips/mips.c (function_arg): Handle TImode. | |
25262 | (function_arg_advance): Likewise. | |
25263 | ||
8f909017 AH |
25264 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25265 | ||
c13db5d1 JM |
25266 | * config/rs6000/altivec.h (vec_step_help): Rename to |
25267 | __vec_step_help. | |
8f909017 | 25268 | |
66daa9e3 AH |
25269 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25270 | ||
c13db5d1 | 25271 | * config/rs6000/altivec.h: Fix typos. |
66daa9e3 | 25272 | |
2696e97b JT |
25273 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
25274 | ||
25275 | * config/arm/netbsd.h: Correct a comment. | |
25276 | ||
3deb2758 AH |
25277 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25278 | ||
c13db5d1 JM |
25279 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
25280 | building void typed builtins. | |
3deb2758 | 25281 | |
c13db5d1 JM |
25282 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
25283 | (vec_step): Implement for C++. | |
3deb2758 | 25284 | |
c13db5d1 | 25285 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2c79137a RK |
25286 | |
25287 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
25288 | ||
ebbb0a63 RH |
25289 | 2002-02-04 Richard Henderson <rth@redhat.com> |
25290 | ||
25291 | * combine.c (nonzero_bits): Re-introduce special case for | |
25292 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
25293 | ||
ae4b4a02 AH |
25294 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25295 | ||
c13db5d1 JM |
25296 | * doc/extend.texi: Warn about unsupported usage of altivec |
25297 | builtins. | |
ae4b4a02 | 25298 | |
c13db5d1 JM |
25299 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
25300 | (altivec_predicate_*): New. | |
ae4b4a02 | 25301 | |
c13db5d1 JM |
25302 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
25303 | Add C++ version of vec_*() functions. | |
ae4b4a02 | 25304 | |
c13db5d1 JM |
25305 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
25306 | (bdesc_2arg): Remove altivec predicates. | |
25307 | (altivec_expand_builtin): Handle predicates. | |
25308 | (altivec_init_builtins): Handle predicates. | |
25309 | (altivec_expand_predicate_builtin): New. | |
ae4b4a02 | 25310 | |
f6bcf44c JDA |
25311 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25312 | ||
25313 | * pa.c (DO_FRAME_NOTES): Move forward. | |
25314 | (store_reg): Revise handling of frame notes. | |
25315 | (load_reg): Likewise. | |
25316 | (set_reg_plus_d): Likewise. | |
25317 | (hppa_expand_prologue): Likewise. | |
25318 | (hppa_expand_epilogue): Likewise. | |
b137f9fc | 25319 | |
703b0080 JDA |
25320 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25321 | ||
25322 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
25323 | ||
6f9fdf4d JJ |
25324 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
25325 | ||
25326 | PR c/4475, c++/3780: | |
25327 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
25328 | * c-common.h (SWITCH_TYPE): Define. | |
25329 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
25330 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
25331 | Rename spareness variable to sparseness. | |
25332 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
25333 | if non-NULL instead of TREE_TYPE (orig_index). | |
25334 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
25335 | (expand_end_case): Define using expand_end_case_type. | |
25336 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
25337 | to expand_end_case_type. | |
25338 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
25339 | ||
79109502 JDA |
25340 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25341 | ||
25342 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
25343 | (BIGGEST_ALIGNMENT): Change to 128. | |
25344 | ||
e62a5987 JDA |
25345 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25346 | ||
25347 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
25348 | ||
219f24a4 JDA |
25349 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25350 | ||
25351 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
25352 | ||
3cb66fd7 NC |
25353 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
25354 | ||
25355 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
25356 | field. | |
831c4e87 | 25357 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
3cb66fd7 | 25358 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
831c4e87 KC |
25359 | replace uses with cfun->machine->uses_anonymous_args. |
25360 | (arm_reorg): Do not reset uses_anonymous_args. | |
3cb66fd7 NC |
25361 | |
25362 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
25363 | any geenral register. | |
b137f9fc | 25364 | |
5d5603e2 | 25365 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
24c545ff BS |
25366 | |
25367 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
25368 | the entry block. | |
25369 | ||
563c12b0 RH |
25370 | 2002-02-04 Richard Henderson <rth@redhat.com> |
25371 | ||
25372 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
25373 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
25374 | REGNO_POINTER_ALIGN. | |
25375 | ||
25376 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
25377 | (HARD_FRAME_POINTER_REGNUM): New. | |
25378 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
25379 | (FIXED_REGS, CALL_USED_REGS): Update. | |
25380 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
25381 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
25382 | (HARD_REGNO_NREGS): Update for SFP. | |
25383 | (STACK_POINTER_OFFSET): Include bias here ... | |
25384 | (FIRST_PARM_OFFSET): ... not here. | |
25385 | (STACK_BIAS): Remove. | |
25386 | (INIT_EXPANDERS): New. | |
25387 | (STARTING_FRAME_OFFSET): Do not include bias. | |
25388 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
25389 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
25390 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
25391 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
25392 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
25393 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
25394 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
25395 | (MUST_SAVE_REGISTER): Likewise. | |
25396 | (sparc_flat_function_prologue): Likewise. | |
25397 | (sparc_flat_function_epilogue): Likewise. | |
25398 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
25399 | (sparc_init_modes): SFP is GENERAL_REGS. | |
25400 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
25401 | ||
14691f8d RH |
25402 | 2002-02-04 Richard Henderson <rth@redhat.com> |
25403 | ||
25404 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
25405 | current_function_is_thunk. | |
25406 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
25407 | called from ASM_OUTPUT_MI_THUNK and not. | |
25408 | (alpha_does_function_need_gp): Thunks always need gp. | |
25409 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
25410 | (alpha_output_mi_thunk_osf): New. | |
25411 | * config/alpha/alpha-protos.h: Update. | |
25412 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
25413 | ||
af702de8 RS |
25414 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
25415 | ||
25416 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
25417 | function types, not when they're taken away. | |
25418 | ||
5b1cacd8 JL |
25419 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
25420 | ||
25421 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
25422 | CODE_LABEL and jump table when replacing a table jump with a | |
25423 | simple jump. | |
25424 | ||
f3e9edff UW |
25425 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
25426 | ||
25427 | * config/s390/s390-protos.h (legitimize_la_operand, | |
25428 | s390_secondary_input_reload_class, s390_plus_operand, | |
25429 | s390_expand_plus_operand): Add prototypes. | |
25430 | ||
25431 | config/s390/s390.c (s390_secondary_input_reload_class, | |
25432 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
25433 | ||
25434 | (struct s390_address): New member 'pointer'. | |
25435 | (s390_decompose_address): Compute it. | |
25436 | (legitimate_la_operand_p): Use it. | |
25437 | (legitimize_la_operand): New function. | |
25438 | (movti, movdi, movdf splitters): Call it. | |
25439 | ||
25440 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
25441 | (PREDICATE_CODES): Add s390_plus_operand. | |
25442 | ||
25443 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
25444 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
25445 | ||
25446 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
25447 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
25448 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
25449 | ||
3c9a08ec UW |
25450 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
25451 | ||
25452 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
25453 | register names for regular asm () construct. | |
25454 | ||
ac300a45 JJ |
25455 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
25456 | ||
25457 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
25458 | registers. | |
25459 | ||
fa852403 JJ |
25460 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
25461 | ||
25462 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
25463 | pat for recog. | |
25464 | ||
fecaac37 HP |
25465 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
25466 | ||
831c4e87 KC |
25467 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
25468 | constant pool to be identical by string address and index. | |
fecaac37 | 25469 | |
10c45943 AG |
25470 | 2002-02-04 Anthony Green <green@redhat.com> |
25471 | ||
25472 | * output.h (SECTION_OVERRIDE): Define. | |
25473 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
25474 | ||
69474c3c JT |
25475 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
25476 | ||
25477 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
25478 | by existing arm*-*-netbsd* (a.out) target. | |
25479 | (ns32k-*-netbsdelf*): Likewise. | |
25480 | (sparc-*-netbsdelf*): Likewise. | |
25481 | (vax-*-netbsdelf*): Likewise. | |
25482 | ||
939a46f6 | 25483 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
3b56934f CF |
25484 | |
25485 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
25486 | headers and libobjc headers. | |
25487 | ||
25488 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
25489 | ||
25490 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
25491 | (_mingw.h): Remove duplicate include. | |
25492 | ||
2fd95d71 JT |
25493 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
25494 | ||
25495 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
25496 | (m68010-*-netbsdelf*): New... | |
25497 | (m68k*-*-netbsdelf*): ...targets. | |
25498 | * config/m68k/netbsd-elf.h: New file. | |
25499 | ||
0ea6f6a0 KH |
25500 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25501 | ||
25502 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
25503 | ||
cbf1b2da KH |
25504 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25505 | ||
25506 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
25507 | h8300_init_once. | |
25508 | (h8_pop_ops): Likewise. | |
25509 | (h8_move_ops): Likewise. | |
25510 | ||
0869f126 KH |
25511 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25512 | ||
25513 | * config/h8300/h8300.c (os_task): Make it static. | |
25514 | (monitor): Likewise. | |
25515 | (pragma_saveall): Likewise. | |
25516 | ||
90e65b70 AO |
25517 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
25518 | ||
25519 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
25520 | constant is a valid sign-extension for Pmode. | |
25521 | ||
9cbcd983 KH |
25522 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25523 | ||
25524 | * config/h8300/h8300.c: Fix formatting. | |
25525 | ||
7a27efc4 KH |
25526 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25527 | ||
25528 | * config/h8300/h8300.md: Fix formatting. | |
25529 | ||
54175a44 KH |
25530 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25531 | ||
25532 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
25533 | predicates of operands[1]. Split the patterns for each | |
25534 | processor variant. | |
25535 | ||
eceb1755 KH |
25536 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25537 | ||
25538 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
25539 | of operands[1] to register_operand. | |
25540 | ||
0fef3fd0 NB |
25541 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
25542 | ||
25543 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
25544 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
25545 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
25546 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
05713b80 | 25547 | (COMMAND_LINE_OPTIONS): Recognize -f{un,}signed-char. |
0fef3fd0 NB |
25548 | (cpp_handle_option): Handle the new options. |
25549 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
25550 | * cpplib.h (struct cpp_options): New member signed_char. | |
25551 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
25552 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
25553 | (static_specs): Remove signed_char_spec. | |
25554 | (do_spec1): Don't handle %c. | |
25555 | * system.h: Poison SIGNED_CHAR_SPEC. | |
25556 | * tradcif.y (yylex): Use flag_signed_char. | |
25557 | * tradcpp.h (flag_signed_char): New. | |
25558 | * tradcpp.c (flag_signed_char): New. | |
25559 | (main): Handle new command-line options. | |
25560 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
25561 | config: | |
25562 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
25563 | * avr/avr.h: Remove old comments. | |
25564 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
25565 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
25566 | (SIGNED_CHAR_SPEC): Remove. | |
25567 | doc: | |
25568 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
25569 | ||
0617ed52 EC |
25570 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
25571 | ||
25572 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
25573 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
25574 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
25575 | (ASM_OUTPUT_REG_POP): Ditto. | |
25576 | ||
dfd48d76 NB |
25577 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
25578 | ||
25579 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
25580 | patch. | |
25581 | ||
4a23409e JJ |
25582 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
25583 | ||
25584 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
25585 | ||
d3c52658 JJ |
25586 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
25587 | ||
25588 | PR c/5304: | |
25589 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
25590 | unconditionally. | |
25591 | ||
02c5a3bd JJ |
25592 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
25593 | ||
25594 | * cfganal.c: Include tm_p.h. | |
25595 | (keep_with_call_p): Fix the test that determines if a register holds | |
25596 | the return value of a call. | |
25597 | ||
3968de80 DD |
25598 | 2002-02-01 DJ Delorie <dj@redhat.com> |
25599 | ||
25600 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
25601 | we are given conflicting registers, switch to the other one we | |
25602 | had allocated for us. | |
25603 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
25604 | as TImode so we know when the "other" register is available. | |
25605 | ||
1338ea6c DB |
25606 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
25607 | ||
25608 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
25609 | sparc/sparc_bi.h. | |
25610 | ||
f015be23 JJ |
25611 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
25612 | ||
25613 | * cfganal.c (keep_with_call_p): New function. | |
25614 | (flow_call_edges_add): Prevent splitting a block between a call and | |
25615 | a single-set instruction that should be kept in the same block. | |
25616 | ||
63708ffc CR |
25617 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
25618 | ||
25619 | * doc/install.texi (avr): Update outdated URL. | |
25620 | ||
5ee4950e AH |
25621 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
25622 | ||
831c4e87 KC |
25623 | * config/stormy16/stormy16.md (pushqi): New. |
25624 | (popqi): New. | |
25625 | (pushhi): New. | |
25626 | (pophi): New. | |
25627 | (movhi): Remove stack operands. | |
25628 | (movqi): Likewise. | |
25629 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
25630 | nonimmediate_nonstack_operand. | |
25631 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
25632 | New. | |
25633 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
25634 | New. | |
5ee4950e | 25635 | |
b88c0704 JM |
25636 | 2002-01-31 Jason Merrill <jason@redhat.com> |
25637 | ||
25638 | * Makefile.in (c-parse.c): Handle .output file. | |
25639 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
25640 | ||
ac282977 AO |
25641 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
25642 | ||
25643 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
25644 | the -me[lb] option is given. Don't output the default flag | |
25645 | twice. | |
25646 | ||
bebc7e8b ZW |
25647 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
25648 | ||
25649 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
25650 | the primary source file; this has not been done yet. | |
25651 | * c-decl.c (c_expand_body): Reset input_filename from | |
25652 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
25653 | ||
5809eb5f KH |
25654 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
25655 | ||
25656 | * rtlanal.c (subreg_regno_offset): Do not use | |
25657 | SUBREG_REGNO_OFFSET. | |
25658 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
25659 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
25660 | ||
8512bbd7 JM |
25661 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
25662 | ||
25663 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
25664 | version rather than GNATS version in --version output. | |
25665 | ||
74cb3cc8 RS |
25666 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
25667 | ||
25668 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
25669 | when copying back from a temporary. | |
25670 | ||
874b5b14 RH |
25671 | 2002-01-30 Richard Henderson <rth@redhat.com> |
25672 | ||
25673 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
25674 | and new_dest are the same. | |
25675 | ||
e803a64b RH |
25676 | 2002-01-30 Richard Henderson <rth@redhat.com> |
25677 | ||
89cf7be5 | 25678 | PR opt/5076 |
e803a64b RH |
25679 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
25680 | * rtl.c (note_insn_name): Update. | |
25681 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
25682 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
25683 | to perform loop rotation. | |
25684 | (expand_exit_loop_top_cond): New. | |
25685 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
25686 | * c-semantics.c (genrtl_while_stmt): Use it. | |
25687 | (genrtl_for_stmt): Likewise. | |
25688 | ||
0b51254d AO |
25689 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
25690 | ||
25691 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
25692 | arguments to 64-bit boundaries on 64-bit ABIs. | |
25693 | ||
71cef493 SE |
25694 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
25695 | ||
25696 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
25697 | ||
6169e5fd JM |
25698 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
25699 | ||
25700 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
25701 | invalid type. | |
25702 | ||
86f808dc DB |
25703 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
25704 | ||
25705 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
25706 | * config/sparc/sparc_bi.h: Remove file. | |
25707 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
25708 | ||
5748ebeb RH |
25709 | 2002-01-30 Richard Henderson <rth@redhat.com> |
25710 | ||
25711 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
25712 | ||
20d32cc2 ZW |
25713 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
25714 | ||
25715 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
25716 | ||
b88c0704 | 25717 | 2002-01-30 Jason Merrill <jason@redhat.com> |
6bb28965 JM |
25718 | |
25719 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
25720 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
25721 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
25722 | ||
25723 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
25724 | ||
37060e78 JJ |
25725 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
25726 | ||
25727 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
25728 | in cselib_lookup. | |
25729 | ||
d18dba68 AH |
25730 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
25731 | ||
bebc7e8b ZW |
25732 | * rs6000.md ("*call_value_local32"): Remove constraints. |
25733 | ("*call_value_local64"): Same. | |
25734 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
25735 | ("*call_value_nonlocal_aix32"): Same. | |
25736 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
25737 | ("*call_value_nonlocal_aix64"): Same. | |
25738 | ("*call_value_nonlocal_sysv"): Same. | |
d18dba68 | 25739 | |
80a8aac6 RH |
25740 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25741 | ||
25742 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
25743 | ||
12beba6f RH |
25744 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25745 | ||
25746 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
25747 | address loads. | |
25748 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
25749 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
25750 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
25751 | instead of open-coded loop. | |
25752 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
25753 | be fixed when in use. | |
25754 | ||
2583081e RH |
25755 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25756 | ||
25757 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
25758 | * sched-rgn.c (propagate_deps): Update them. | |
25759 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
25760 | clobbers list when either gets too long. | |
25761 | ||
3b8d200e JJ |
25762 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
25763 | ||
25764 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
25765 | and INDEX_REGS the same as GENERAL_REGS. | |
25766 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
25767 | ||
2d3115eb NB |
25768 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
25769 | ||
bebc7e8b | 25770 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
2d3115eb | 25771 | |
ecbe845e UW |
25772 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
25773 | ||
bebc7e8b | 25774 | * config/s390/s390.md (movstrsico, movstrdix_64, |
ecbe845e | 25775 | movstrsix_31): Remove, replace by ... |
bebc7e8b | 25776 | (movstrdi_short, movstrsi_short, movstrdi_long, |
ecbe845e UW |
25777 | movstrsi_long): ... these. New. |
25778 | (movstrdi, movstrsi): Adapt. | |
25779 | ||
25780 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
bebc7e8b | 25781 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
ecbe845e UW |
25782 | Remove unnecessary CC clobber. |
25783 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
25784 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
25785 | ||
25786 | (divmoddi4): Don't partially initialize TImode register. | |
25787 | ||
0b32fca5 GK |
25788 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
25789 | ||
25790 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
25791 | ||
08ef5437 RH |
25792 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25793 | ||
25794 | * flow.c (print_rtl_and_abort): Remove. | |
25795 | (print_rtl_and_abort_fcn): Remove. | |
25796 | (verify_local_live_at_start): Use dump_bb instead. | |
25797 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
25798 | (verify_wide_reg_1): Return 2 on mode test failure. | |
25799 | ||
8469e54e NB |
25800 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
25801 | ||
25802 | PR c/3325, c/3326, c/2511, c/3347 | |
25803 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
25804 | (grokdeclarator): Take bitfield width as an input. | |
25805 | Ensure bitfields are given the correct type. Perform | |
25806 | bitfield width validation with build_bitfield_integer_type | |
25807 | rather than waiting for finish_struct. | |
25808 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
25809 | push_parmdecl, grokfield, start_function): Update calls to | |
25810 | grokdeclarator. | |
25811 | (build_bitfield_integer_type): New function. | |
25812 | (finish_struct): Move bitfield validation to grokdeclarator | |
bebc7e8b | 25813 | and build_bitfield_integer_type. |
8469e54e NB |
25814 | * tree.c (build_nonstandard_integer_type): New function. |
25815 | * tree.h (build_nonstandard_integer_type): New prototype. | |
25816 | objc: | |
25817 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
25818 | ||
ffdeea47 JJ |
25819 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
25820 | ||
25821 | PR other/1502: | |
25822 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
25823 | don't ignore unrecognized -W* options. | |
25824 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
25825 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
25826 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
25827 | cpp_handle_option. | |
25828 | ||
25829 | PR c/2896: | |
25830 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
25831 | (cpp_options): Source cpp_unique_options. | |
25832 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
25833 | when used together with cc1_options. | |
25834 | (static_specs): Add cpp_unique_options. | |
25835 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
25836 | when used together with cc1_options. | |
25837 | ||
1a275226 KH |
25838 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
25839 | ||
25840 | * config/h8300/h8300-protos.h: Update the prototype of | |
25841 | output_a_shift. | |
25842 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
25843 | argument 'insn'. Remove redundant code. | |
25844 | * config/h8300/h8300.md: Adust to the new prototype of | |
25845 | output_a_shift. | |
25846 | ||
a11d9dfc KH |
25847 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
25848 | ||
25849 | * config/h8300/h8300-protos.h: Update the prototypes of | |
25850 | emit_a_rotate and expand_a_rotate. | |
25851 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
25852 | first argument to 'enum rtx_code'. | |
25853 | (expand_a_rotate): Likewise. | |
25854 | ||
871f73e3 KH |
25855 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
25856 | ||
25857 | * config/h8300/h8300-protos.h: Update the prototype of | |
25858 | output_simode_bld. | |
25859 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
25860 | 'log2'. | |
25861 | * config/h8300/h8300.md: Adjust to the new prototype. | |
25862 | ||
5fc4b751 KH |
25863 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
25864 | ||
25865 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
25866 | redundant code. | |
25867 | ||
2d67bd7b JDA |
25868 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25869 | ||
25870 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
25871 | is a fixed register before returning pic_offset_table_rtx. | |
25872 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
25873 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
25874 | ||
5a852b3e JM |
25875 | 2002-01-28 Jason Merrill <jason@redhat.com> |
25876 | ||
6bb28965 | 25877 | * dwarf2.h: Sync with src version. |
5a852b3e | 25878 | |
3bca17dd PK |
25879 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
25880 | ||
25881 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
25882 | BT_FN_VOID_PTR_VAR. | |
25883 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
25884 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
25885 | first argument is now const void ptr. | |
25886 | ||
7dc3f8c0 KH |
25887 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
25888 | ||
25889 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
25890 | ||
e83cb5f0 RZ |
25891 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
25892 | ||
25893 | * toplev.c (lang_independent_init): Round up identifier size. | |
25894 | ||
5721cd84 RE |
25895 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
25896 | ||
25897 | * config.gcc: Revert previous change. | |
25898 | ||
d534119e AP |
25899 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
25900 | ||
25901 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
25902 | ||
5a721dab RE |
25903 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
25904 | ||
25905 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
25906 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
25907 | other non-elf netbsd config frags. | |
25908 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
25909 | collect2 will does that. | |
25910 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
25911 | shared-lib frobbing will work. | |
25912 | ||
da1775d6 KH |
25913 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
25914 | ||
25915 | * config/h8300/h8300.h: Fix formatting. | |
25916 | * config/h8300/h8300.md: Likewise. | |
25917 | ||
8f2e963b LR |
25918 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
25919 | ||
25920 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
25921 | the old, removed AAA_standards fix. | |
25922 | * fixinc/fixincl.x: Rebuilt. | |
25923 | ||
fdae5767 HPN |
25924 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
25925 | ||
25926 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
25927 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
25928 | register EH before registering __fini__start. | |
25929 | ||
2a2ecb63 AH |
25930 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
25931 | ||
25932 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
25933 | ||
8ed43adf KH |
25934 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
25935 | ||
25936 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
25937 | with ones that work. | |
25938 | ||
917afb0c RK |
25939 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
25940 | ||
25941 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
25942 | if not STRICT_ALIGNMENT. | |
25943 | * rtl.h (MEM_ALIGN): Likewise. | |
25944 | ||
f70a54cb CR |
25945 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
25946 | ||
25947 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
25948 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
25949 | ||
d8fd4914 KH |
25950 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
25951 | ||
25952 | * config/h8300/h8300.md (define_constants): New. | |
25953 | (anonymous patterns) Use defined constants appropriately. | |
25954 | ||
15e0e275 KH |
25955 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
25956 | ||
25957 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
25958 | ||
37a0f8a5 RH |
25959 | 2002-01-26 Richard Henderson <rth@redhat.com> |
25960 | ||
25961 | * sched-deps.c (reg_pending_uses_head): New. | |
25962 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
25963 | (find_insn_list): Don't mark inline. | |
25964 | (find_insn_mem_list): Remove. | |
25965 | (add_dependence_list, add_dependence_list_and_free): New. | |
25966 | (flush_pending_lists): Replace only_write param with separate | |
25967 | for_read and for_write parameters. Update all callers. Use | |
25968 | add_dependence_list_and_free. | |
25969 | (sched_analyze_1): Do not add reg dependencies here; just set | |
25970 | the pending bits. Use add_dependence_list. | |
25971 | (sched_analyze_2): Likewise. | |
25972 | (sched_analyze_insn): Replace schedule_barrier_found with | |
25973 | reg_pending_barrier. Add all dependencies for pending reg | |
25974 | uses, sets, and clobbers. | |
25975 | (sched_analyze): Don't add reg dependencies for calls, just | |
25976 | set pending bits. Use regs_invalidated_by_call. Treat | |
25977 | sched_before_next_call as a normal list, not a fake insn. | |
25978 | (init_deps): No funny init for sched_before_next_call. | |
25979 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
25980 | (init_deps_global): Init reg_pending_uses. | |
25981 | (finish_deps_global): Free it. | |
25982 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
25983 | (find_insn_mem_list): Remove. | |
25984 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
25985 | (propagate_deps): Use them. Zero temp mem lists. | |
25986 | ||
cea3bd3e RH |
25987 | 2002-01-26 Richard Henderson <rth@redhat.com> |
25988 | ||
25989 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
25990 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
25991 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
25992 | crtstuff.c instead of alpha assembly version. | |
25993 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
25994 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
25995 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
25996 | (__do_global_dtors_aux): Mark used. | |
25997 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
25998 | (fini_dummy, init_dummy): Remove. | |
25999 | ||
26000 | * config/alpha/crtbegin.asm: Remove file. | |
26001 | * config/alpha/crtend.asm: Remove file. | |
26002 | * config/alpha/t-crtbe: Remove file. | |
26003 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
26004 | (LINK_EH_SPEC): New. | |
26005 | ||
26006 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
26007 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
26008 | calling constructors. | |
26009 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
26010 | ||
26011 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
26012 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
26013 | CRT_END_INIT_DUMMY hack. | |
26014 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
26015 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
26016 | ||
26017 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
26018 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
26019 | ||
26020 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
26021 | invocation sequence. | |
26022 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
26023 | ||
26024 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
26025 | (FORCE_CODE_SECTION_ALIGN): New. | |
26026 | ||
60ffa0e5 RH |
26027 | 2002-01-26 Richard Henderson <rth@redhat.com> |
26028 | ||
26029 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
26030 | ||
61334ebe RH |
26031 | 2002-01-26 Richard Henderson <rth@redhat.com> |
26032 | ||
26033 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
26034 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
26035 | ||
1d788fb6 KH |
26036 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
26037 | ||
26038 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
26039 | cannot be triggered. | |
26040 | Restrict each bit extraction pattern to a variant on which the | |
26041 | pattern is tested. | |
26042 | ||
87611f88 JM |
26043 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
26044 | ||
26045 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
26046 | ||
cd74ec59 KH |
26047 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
26048 | ||
26049 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
26050 | be triggered. | |
26051 | Restrict each bit test pattern to a variant on which the | |
26052 | pattern is tested. | |
26053 | ||
93051e0f KG |
26054 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
26055 | ||
26056 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
26057 | INTEGER_CST. | |
26058 | ||
216c995f DB |
26059 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
26060 | ||
26061 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
26062 | default setting. | |
26063 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
26064 | existing setting. | |
26065 | ||
33c7f925 GK |
26066 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
26067 | ||
26068 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
26069 | stripping off the first character. | |
26070 | (dbxout_source_file): Likewise. | |
26071 | ||
6cd444b4 DD |
26072 | 2002-01-25 DJ Delorie <dj@redhat.com> |
26073 | ||
26074 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
26075 | using rtx_equal_p, not by comparing pointers. | |
26076 | ||
751551d5 SE |
26077 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
26078 | ||
26079 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
26080 | for PIC_OFFSET_TABLE_REGNUM. | |
26081 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
26082 | ||
e564e618 DB |
26083 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
26084 | ||
26085 | * config.gcc (x86_64-*-freebsd*): New target. | |
26086 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
26087 | value. | |
26088 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
26089 | * config/i386/freebsd64.h: New file. | |
26090 | ||
ff3aaf17 DR |
26091 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
26092 | ||
4857d29d DR |
26093 | * config/alpha/x-vms (version): Make static. |
26094 | ||
26095 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
26096 | in previous checkin. | |
26097 | ||
ff3aaf17 DR |
26098 | * Makefile.in (install-headers-cp): New target. |
26099 | * config.gcc (alpha-dec-*vms*): Install headers with | |
26100 | install-headers-cp | |
26101 | ||
48d79c43 JH |
26102 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
26103 | ||
26104 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
26105 | avoid it's copies. | |
26106 | ||
995b5904 RK |
26107 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26108 | ||
26109 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
26110 | of compare_tree_int. | |
26111 | (expand_builtin_strncat): Likewise. | |
26112 | * c-decl.c (finish_struct): Use tree_low_cst. | |
26113 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
26114 | * tree.c (compare_tree_int): Likewise. | |
26115 | ||
75eefe3f UW |
26116 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
26117 | ||
26118 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
26119 | adjustments even if they are implemented by more than two insns. | |
26120 | ||
5a133afd JH |
26121 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
26122 | ||
995b5904 | 26123 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
5a133afd JH |
26124 | * df.h (struct ref): Kill B. |
26125 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
26126 | ||
26127 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
26128 | * flow.c (propagate_one_insn): Use it. | |
26129 | (mark_used_regs): Handle NIL. | |
26130 | ||
ead39bdf | 26131 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
3d8dd3c0 GK |
26132 | |
26133 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
26134 | to help folding. | |
26135 | ||
01a2ccd0 DE |
26136 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
26137 | ||
26138 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
26139 | is restricted to legitimate form for instruction. | |
26140 | ||
fd29f6ea BW |
26141 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
26142 | ||
26143 | * doc/install.texi (xtensa-*-elf): New target. | |
26144 | (xtensa-*-linux*): New target. | |
26145 | * doc/contrib.texi: Add myself. | |
26146 | ||
55492b32 NC |
26147 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
26148 | ||
26149 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
26150 | purpose register to hold an SImode (or smaller) value. | |
26151 | ||
72c7c913 JJ |
26152 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
26153 | ||
26154 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
26155 | registry only. | |
26156 | * crtstuff.c: Likewise. | |
26157 | ||
c4df4ceb KH |
26158 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
26159 | ||
26160 | * config/h8300/h8300.md (negation patterns): Tighten | |
26161 | predicates to register_operand. | |
26162 | ||
70e531f5 AH |
26163 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
26164 | ||
3bca17dd PK |
26165 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
26166 | mode, not Pmode. | |
70e531f5 | 26167 | |
3bca17dd | 26168 | * builtins.c (expand_builtin_prefetch): Same. |
70e531f5 | 26169 | |
a4f76ef9 AO |
26170 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
26171 | ||
26172 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
26173 | modes. | |
26174 | ||
9bf25b09 KH |
26175 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
26176 | ||
26177 | * config/h8300/h8300.c (print_operand): Remove support for | |
26178 | operand character 'A'. | |
26179 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
26180 | operand character 'A' with either 'T' or 'S'. | |
26181 | ||
974af6a5 KH |
26182 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
26183 | ||
26184 | * config/h8300/h8300.c (print_operand): Remove support for | |
26185 | operand character 'U'. | |
26186 | ||
7a5bb7b8 AP |
26187 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
26188 | ||
3bca17dd | 26189 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
7a5bb7b8 | 26190 | |
92a4639e NC |
26191 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
26192 | ||
26193 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
26194 | values to be assigned to the stack pointer. | |
26195 | ||
467cb2da HP |
26196 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
26197 | ||
bebc7e8b | 26198 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
467cb2da HP |
26199 | to const_double needs to be done right for big-endian systems. |
26200 | ||
3b6cb920 JM |
26201 | 2002-01-24 Jason Merrill <jason@redhat.com> |
26202 | ||
b08dd119 | 26203 | PR c++/2432 |
3b6cb920 JM |
26204 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
26205 | to can_throw_internal. | |
26206 | ||
f3077311 RH |
26207 | 2002-01-23 Richard Henderson <rth@redhat.com> |
26208 | ||
26209 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
26210 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
26211 | ||
e1d71275 AO |
26212 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
26213 | ||
26214 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
26215 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
26216 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
26217 | as a temporary, if possible. | |
26218 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
26219 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
26220 | ||
dc271dbe KH |
26221 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
26222 | ||
26223 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
26224 | accept to accept 0x80 as operands[2]. | |
26225 | ||
1a9017f9 AO |
26226 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
26227 | ||
26228 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
26229 | ||
6932f033 RH |
26230 | 2002-01-23 Richard Henderson <rth@redhat.com> |
26231 | ||
26232 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
26233 | ||
709619d9 AH |
26234 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
26235 | ||
3bca17dd PK |
26236 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
26237 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
26238 | an attribute. | |
709619d9 | 26239 | |
3d709fd3 RH |
26240 | 2002-01-23 Richard Henderson <rth@redhat.com> |
26241 | ||
26242 | * expr.c (move_by_pieces_1): Extend size before negation. | |
26243 | ||
88a446c0 RH |
26244 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
26245 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
26246 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
26247 | * config/m68k/t-m68kelf: Likewise. | |
26248 | ||
03984308 BW |
26249 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
26250 | ||
26251 | * config/xtensa/elf.h: New file. | |
26252 | * config/xtensa/lib1funcs.asm: New file. | |
26253 | * config/xtensa/lib2funcs.S: New file. | |
26254 | * config/xtensa/linux.h: New file. | |
26255 | * config/xtensa/t-xtensa: New file. | |
26256 | * config/xtensa/xtensa-config.h: New file. | |
26257 | * config/xtensa/xtensa-protos.h: New file. | |
26258 | * config/xtensa/xtensa.c: New file. | |
26259 | * config/xtensa/xtensa.h: New file. | |
26260 | * config/xtensa/xtensa.md: New file. | |
26261 | * config.gcc (xtensa-*-elf*): New target. | |
26262 | (xtensa-*-linux*): New target. | |
26263 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
26264 | numbers. This is required for the Xtensa port. | |
26265 | * integrate.c (copy_insn_list): Handle case where the static | |
26266 | chain is in memory and the memory address has to be copied to | |
26267 | a register. | |
26268 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
26269 | (Xtensa Options): New node. | |
26270 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
26271 | ||
c3d5c3fa ZW |
26272 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
26273 | ||
a63bea75 ZW |
26274 | * diagnostic.c (internal_error): Do ICE suppression only |
26275 | when ENABLE_CHECKING is not defined. | |
26276 | ||
c3d5c3fa ZW |
26277 | * c-typeck.c (require_complete_type): Return error_mark_node |
26278 | if type is error_mark_node. | |
26279 | ||
1398974c JJ |
26280 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
26281 | ||
26282 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
26283 | -Os and issue a warning. | |
26284 | ||
807633e5 ZW |
26285 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
26286 | ||
26287 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
26288 | current (lack of) need for host configuration by hand. | |
26289 | ||
26290 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
26291 | references. Documentation of some target macros moved from | |
26292 | hostconfig.texi to tm.texi. | |
26293 | ||
cf8002d0 WC |
26294 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
26295 | ||
26296 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
26297 | defined. | |
26298 | ||
d1e76310 KH |
26299 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
26300 | ||
26301 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
26302 | operand[3]. | |
26303 | ||
b2115575 JM |
26304 | 2002-01-23 Jason Merrill <jason@redhat.com> |
26305 | ||
f893c16e JM |
26306 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
26307 | ||
b2115575 JM |
26308 | * function.c (assign_parms): Don't put args of inline functions |
26309 | into registers when not optimizing. | |
26310 | ||
6bacc7b0 NC |
26311 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
26312 | ||
26313 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
26314 | (prologue_use): New pattern. | |
26315 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
26316 | preference to gen_rtx_USE. | |
26317 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
26318 | gen_rtx_USE. | |
26319 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
26320 | gen_rtx_USE. | |
26321 | ||
a415f7bc HPN |
26322 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
26323 | ||
26324 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
26325 | ||
5372b3fb NB |
26326 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
26327 | ||
26328 | PR c/3504 | |
26329 | * doc/extend.texi: Correct documentation of __alignof__. | |
26330 | ||
bd571ffc ZW |
26331 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
26332 | ||
26333 | * params.h: Rename arguments of DEFPARAM so that it will be | |
26334 | recognized as a translation keyword. | |
26335 | ||
333c8841 AH |
26336 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
26337 | ||
bd571ffc ZW |
26338 | * extend.texi: Document altivec functions. |
26339 | Fix N-bit adjectives in X86 builtin documentation. | |
333c8841 | 26340 | |
38979c65 AO |
26341 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
26342 | ||
26343 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
26344 | auto_inc_dec values. | |
26345 | ||
7458a9f0 RE |
26346 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
26347 | ||
26348 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
26349 | after backslash. | |
26350 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
26351 | ||
129bd0c4 AO |
26352 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
26353 | ||
26354 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
26355 | ||
8b9b74a9 RH |
26356 | 2002-01-22 Richard Henderson <rth@redhat.com> |
26357 | ||
26358 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
26359 | copy_insn not copy_rtx. | |
26360 | ||
d0c9db30 AM |
26361 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
26362 | ||
26363 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
26364 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
26365 | properly sign extened. | |
26366 | (force_to_mode): Tweak for sign extended constop. | |
26367 | ||
1e7e480e RH |
26368 | 2002-01-22 Richard Henderson <rth@redhat.com> |
26369 | ||
26370 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
26371 | for_each_rtx instead of assuming we're already looking at the MEM. | |
26372 | (split_small_symbolic_mem_operand): Likewise. | |
26373 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
26374 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
26375 | ||
26376 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
2e271932 RH |
26377 | |
26378 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
26379 | sequence number for the literal. | |
26380 | (divmoddi_internal_er): Likewise. | |
26381 | ||
b7f2fb96 CR |
26382 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26383 | ||
26384 | PR java/4972 | |
26385 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
26386 | in LIBICONV variable. | |
26387 | * configure: Regenerated. | |
26388 | ||
f66a0046 KW |
26389 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
26390 | ||
26391 | * dependence.c (build_def_use): Remove array_idx. | |
26392 | ||
e3b0efd1 KW |
26393 | * dwarfout.c (last_filename): Remove. |
26394 | (output_compile_unit_die): Remove last_filename. | |
26395 | ||
d8086cbb RS |
26396 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
26397 | Richard Henderson <rth@redhat.com> | |
26398 | ||
26399 | PR opt/3640 | |
26400 | * fold-const.c (fold): Optimize unsigned comparisons against | |
26401 | UINT_MAX (and similar unsigned constants). | |
26402 | ||
e8d52ba0 JJ |
26403 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
26404 | ||
d8086cbb | 26405 | * Makefile.in (loop.o): Depend on OPTABS_H. |
1398974c | 26406 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
d8086cbb | 26407 | against the predicate. |
11303d15 | 26408 | |
e8d52ba0 JJ |
26409 | PR target/5379 |
26410 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
26411 | for the address operand. | |
26412 | ||
cc7b420e RH |
26413 | 2002-01-22 Richard Henderson <rth@redhat.com> |
26414 | ||
26415 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
26416 | ||
816e265a CR |
26417 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26418 | ||
26419 | PR other/5450 | |
cc7b420e RH |
26420 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
26421 | preprocessor flags. | |
816e265a | 26422 | |
7c884404 JT |
26423 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
26424 | ||
26425 | * config.gcc (x86_64-*-netbsd*): New target. | |
26426 | * config/i386/netbsd64.h: New file. | |
26427 | ||
2b672c08 AH |
26428 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
26429 | ||
d8086cbb | 26430 | * regrename.c (kill_value): Fix typo. |
2b672c08 AH |
26431 | |
26432 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
26433 | ||
d8086cbb | 26434 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
2b672c08 | 26435 | |
d8086cbb | 26436 | * config/rs6000/rs6000.h: Same. |
2b672c08 | 26437 | |
d8086cbb RS |
26438 | * function.c (instantiate_virtual_regs): Remove |
26439 | STARTING_FRAME_PHASE. | |
26440 | (assign_stack_local_1): Same. | |
26441 | Calculate frame phase. | |
2b672c08 | 26442 | |
4b02997f NC |
26443 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
26444 | ||
26445 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
26446 | variable declaration to outer scope in order to simplify | |
26447 | future extensions. | |
26448 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
26449 | arm_hard_regno_mode_ok. | |
26450 | * config/arm/arm-protos.h: Add a prototype for | |
26451 | arm_hard_regno_mode_ok. | |
26452 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
26453 | check for DImode values using IP_REGNUM. | |
26454 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
26455 | DImode values using IP_REGNUM. | |
26456 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
26457 | that DImode values are not stored in IP_REGNUM. | |
c14a3a45 NC |
26458 | |
26459 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
26460 | note with a USE. | |
26461 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
26462 | ||
8a827ab2 JM |
26463 | 2002-01-22 Jason Merrill <jason@redhat.com> |
26464 | ||
26465 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
26466 | consistency if this COMPOUND_STMT is scoped. | |
26467 | ||
cf403648 KH |
26468 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
26469 | ||
26470 | * predict.c: Fix formatting. | |
26471 | * print-tree.c: Likewise. | |
26472 | * protoize.c: Likewise. | |
26473 | * real.h: Likewise. | |
26474 | * rtl.h: Likewise. | |
26475 | * sbitmap.h: Likewise. | |
26476 | * scan.c: Likewise. | |
26477 | * sched-deps.c: Likewise. | |
26478 | * sched-vis.c: Likewise. | |
26479 | * sdbout.c: Likewise. | |
26480 | * sibcall.c: Likewise. | |
26481 | * ssa.c: Likewise. | |
26482 | * ssa-ccp.c: Likewise. | |
26483 | * ssa-dce.c: Likewise. | |
26484 | * stmt.c: Likewise. | |
26485 | * stor-layout.c: Likewise. | |
26486 | * system.h: Likewise. | |
26487 | ||
aea9695c RK |
26488 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26489 | ||
a8765ae7 RK |
26490 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
26491 | if fits in bounds of base type. | |
26492 | ||
aea9695c RK |
26493 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
26494 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
26495 | (add_bound_info, default): If can't find a context, make a | |
26496 | SAVE_EXPR. | |
26497 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
26498 | ||
58bf601b HPN |
26499 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
26500 | ||
26501 | * c-typeck.c (parser_build_binary_op): If result from | |
26502 | build_binary_op is ERROR_MARK just return error_mark_node without | |
26503 | further processing. | |
26504 | ||
f982f805 JT |
26505 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
26506 | ||
26507 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
26508 | Split a.out-specific bits into... | |
26509 | * config/netbsd-aout.h: ...this. | |
26510 | * config/netbsd-elf.h: New file. | |
26511 | * config/alpha/netbsd-elf.h: Remove. | |
26512 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
26513 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
bd571ffc | 26514 | (STARTFILE_SPEC): Remove redundant definition. |
f982f805 JT |
26515 | (ENDFILE_SPEC): Likewise. |
26516 | (LINK_SPEC): Likewise. | |
26517 | (CPP_SPEC): Likewise. | |
26518 | (ASM_SPEC): Likewise. | |
26519 | (LIB_SPEC): Likewise. | |
26520 | (SWITCH_TAKES_ARG): Likewise. | |
26521 | (TARGET_MEM_FUNCTIONS): Likewise. | |
26522 | (CPP_PREDEFINES): Redefine. | |
26523 | (ASM_FINAL_SPEC): Remove redefinition. | |
26524 | (ASM_COMMENT_START): Redefine. | |
26525 | (FUNCTION_PROFILER): Define. | |
26526 | (TARGET_VERSION): Redefine. | |
26527 | Comment and formatting cleanup. | |
26528 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
26529 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
26530 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
26531 | big- or little-endian. | |
26532 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
26533 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
26534 | NetBSD configs. | |
26535 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
26536 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
26537 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
26538 | tmake_file, and don't lose previous tmake_file contents. | |
26539 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
26540 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
26541 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
26542 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
26543 | (mipsel-*-netbsd*): Rename this to... | |
26544 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
26545 | mips/little.h to tm_file for mips*el-*. | |
26546 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
26547 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
26548 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
26549 | ||
2e396476 JDA |
26550 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
26551 | ||
26552 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
26553 | * pa.c (reg_before_reload_operand): New function implementation. | |
26554 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
26555 | contraints to "*m". | |
26556 | ||
3b5708e7 FS |
26557 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
26558 | ||
26559 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
26560 | ||
85e79f96 JDA |
26561 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
26562 | ||
26563 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
26564 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
26565 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
26566 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
26567 | (ENDFILE_SPEC): Undefine. | |
26568 | (STARTFILE_SPEC): Redefine for PA. | |
26569 | ||
38abadee FS |
26570 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
26571 | ||
26572 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
26573 | ||
94f1d97c DJ |
26574 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
26575 | ||
26576 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
26577 | types. | |
26578 | ||
0333394e JJ |
26579 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
26580 | ||
26581 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
26582 | true for 64-bit mode only SSE registers in 32-bit mode. | |
26583 | ||
e9d1b155 KH |
26584 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
26585 | ||
26586 | * unwind-dw2.c: Fix formatting. | |
26587 | * unwind-dw2-fde.c: Likewise. | |
26588 | * unwind-dw2-fde.h: Likewise. | |
26589 | * unwind-pe.h: Likewise. | |
26590 | * varasm.c: Likewise. | |
26591 | * varray.h: Likewise. | |
26592 | ||
07338cf8 HPN |
26593 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
26594 | ||
26595 | Remove workaround for register stack overwrite bug in mmix. | |
26596 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
26597 | support for TARGET_REG_STACK_FILL_BUG. | |
26598 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
26599 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
26600 | Delete. | |
26601 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
26602 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
26603 | -mno-reg-stack-fill-bug-workaround. | |
26604 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
26605 | machine member has_call_without_parameters. | |
26606 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
26607 | -mreg-stack-fill-bug-workaround and | |
26608 | -mno-reg-stack-fill-bug-workaround. | |
26609 | (MMIX Options): Ditto. | |
26610 | ||
7192cbf1 KH |
26611 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
26612 | ||
26613 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
26614 | as appropriate. | |
26615 | Remove redundant code. | |
26616 | ||
d1552d7b JM |
26617 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
26618 | ||
26619 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
26620 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
26621 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
26622 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
26623 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
26624 | out target macro definitions and non-target-specific comments | |
26625 | mostly taken from old versions of the manual. | |
26626 | ||
ed168e45 KH |
26627 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26628 | ||
26629 | * config/h8300/h8300.h: Fix comment formatting. | |
26630 | * config/ia64/aix.h: Likewise. | |
26631 | * config/ia64/ia64-protos.h: Likewise. | |
26632 | * config/ia64/ia64.c: Likewise. | |
26633 | * config/ia64/ia64.h: Likewise. | |
26634 | * config/ia64/ia64intrin.h: Likewise. | |
26635 | * config/ia64/linux.h: Likewise. | |
26636 | * config/ia64/unwind-aix.c: Likewise. | |
26637 | * config/ia64/unwind-ia64.c: Likewise. | |
26638 | ||
005e3e05 KH |
26639 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26640 | ||
26641 | * config/h8300/h8300.c: Revise comments about shift code. | |
26642 | ||
64bead4c KH |
26643 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26644 | ||
26645 | * config/h8300/h8300.c (function_arg): Update a comment. | |
26646 | ||
ed863595 KH |
26647 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26648 | ||
26649 | * config/h8300/h8300.md: Update the comments at the beginning | |
26650 | of the file. | |
26651 | ||
5904dc87 KH |
26652 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26653 | ||
26654 | * config/i370/i370.c: Fix comment formatting. | |
26655 | * config/i370/i370.h: Likewise. | |
26656 | * config/i370/i370.md: Likewise. | |
26657 | * config/i370/linux.h: Likewise. | |
26658 | ||
9702143f RK |
26659 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26660 | ||
cbafacd1 RK |
26661 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
26662 | ||
9702143f RK |
26663 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
26664 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
26665 | in incomplete case. | |
26666 | ||
6b6996b8 GS |
26667 | 2002-01-20 Graham Stott <grahams@redhat.com> |
26668 | ||
26669 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
26670 | ||
eab854f6 JDA |
26671 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
26672 | ||
26673 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
26674 | ||
5b029315 TR |
26675 | 2002-01-19 Tom Rix <trix@redhat.com> |
26676 | ||
26677 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
26678 | ||
1d690052 AH |
26679 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
26680 | ||
d8086cbb | 26681 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
1d690052 | 26682 | |
d8086cbb RS |
26683 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
26684 | STARTING_FRAME_PHASE. | |
26685 | (STARTING_FRAME_PHASE): New. | |
26686 | (instantiate_virtual_regs): Check saneness of | |
26687 | STARTING_FRAME_PHASE. | |
1d690052 | 26688 | |
d8086cbb | 26689 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
1d690052 | 26690 | |
4dd8c093 AO |
26691 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
26692 | ||
26693 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
26694 | ||
6f2a28d7 CR |
26695 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26696 | ||
26697 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
26698 | be used for bootstrapping GCC 3.0. | |
26699 | ||
8763a465 KH |
26700 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
26701 | ||
26702 | * config/h8300/h8300.md: Fix an insn length. | |
26703 | ||
3ef42a0c KH |
26704 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
26705 | ||
26706 | * bitmap.h: Fix comment formatting. | |
26707 | * combine.c: Likewise. | |
26708 | * cppfiles.c: Likewise. | |
26709 | * c-pragma.h: Likewise. | |
26710 | * c-typeck.c: Likewise. | |
26711 | * df.c: Likewise. | |
26712 | * dwarf2out.c: Likewise. | |
26713 | * function.c: Likewise. | |
26714 | * gcc.c: Likewise. | |
26715 | * genattrtab.c: Likewise. | |
26716 | * gthr-win32.h: Likewise. | |
26717 | * haifa-sched.c: Likewise. | |
26718 | * predict.c: Likewise. | |
26719 | * rtlanal.c: Likewise. | |
26720 | * rtl.h: Likewise. | |
26721 | * unwind-dw2-fde.h: Likewise. | |
26722 | * unwind-pe.h: Likewise. | |
26723 | * vmsdbgout.c: Likewise. | |
26724 | ||
dd4dc3cd RK |
26725 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26726 | ||
26727 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
26728 | if type_required and passed decl. | |
26729 | ||
5fb4cf24 AH |
26730 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
26731 | ||
d8086cbb RS |
26732 | * config.gcc (cpu_type): Include altivec.h in powerpc |
26733 | extra_headers. | |
26734 | Same for darwin. | |
5fb4cf24 | 26735 | |
d8086cbb | 26736 | * config/rs6000/altivec.h: New. |
5fb4cf24 | 26737 | |
2705baf5 DE |
26738 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
26739 | ||
26740 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
26741 | handling information. | |
26742 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
26743 | for AIX. | |
26744 | (Misunderstandings): Add template instantiation and static template | |
26745 | member information for AIX. | |
26746 | ||
dbd680e1 JM |
26747 | 2002-01-17 Jason Merrill <jason@redhat.com> |
26748 | ||
821adc5e JM |
26749 | * dbxout.c (dbxout_type): Support const and volatile. |
26750 | ||
dbd680e1 JM |
26751 | * except.c (add_partial_entry): Remove backwards compatibility code. |
26752 | (end_protect_partials): Likewise. | |
26753 | ||
d0e82870 JJ |
26754 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
26755 | ||
26756 | * config/ia64/ia64.md (prologue_use): New. | |
26757 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
26758 | gen_prologue_use instead of gen_rtx_USE. | |
26759 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
26760 | as CODE_FOR_pred_rel_mutex. | |
26761 | (ia64_sched_reorder2): Likewise. | |
26762 | ||
f9f45c65 EC |
26763 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
26764 | ||
26765 | * config/mips/r3900.h: Reformat. | |
26766 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
26767 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
26768 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
26769 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
26770 | * config/mips/t-elf: Remove mips3 multilib. | |
26771 | ||
c66c8b0e L |
26772 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
26773 | ||
26774 | * config/mips/linux.h: Include "mips/abi64.h". | |
26775 | ||
5f083b72 L |
26776 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
26777 | ||
26778 | * config/mips/t-linux: New. | |
26779 | ||
26780 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
26781 | ||
26782 | * config/mips/linux.h: Don't include "gofast.h". | |
26783 | (INIT_SUBTARGET_OPTABS): Removed. | |
26784 | ||
af3c90a6 KH |
26785 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26786 | ||
26787 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
26788 | output_a_shift. | |
26789 | * config/h8300/h8300.c: Likewise. | |
26790 | * config/h8300/h8300.md: Likewise. | |
26791 | ||
a1bf0a16 KH |
26792 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26793 | ||
26794 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
26795 | spaces after an opcode name. | |
26796 | (pushqi1_h8300hs): Likewise. | |
26797 | (pushhi1_h8300hs): Likewise. | |
26798 | ||
88ab0d1c KH |
26799 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26800 | ||
26801 | * doc/extend.texi: Replace "option" with "attribute" | |
26802 | appropriately. | |
26803 | ||
51c561e3 JJ |
26804 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
26805 | ||
26806 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
26807 | (and:DI () (const_int -8)). | |
26808 | (split_small_symbolic_mem_operand): Split | |
26809 | (mem (and:DI () (const_int -8)). | |
26810 | ||
b8c1a6b8 JJ |
26811 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
26812 | ||
26813 | PR target/5309: | |
d8086cbb | 26814 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
b8c1a6b8 JJ |
26815 | same way as TYPE_IMUL. |
26816 | (ultrasparc_sched_reorder): Likewise. | |
26817 | * config/sparc/sparc.md (type): Add comment to update | |
26818 | ultrasparc_sched_reorder when making changes. | |
26819 | ||
1e4e4df2 KH |
26820 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26821 | ||
26822 | * doc/invoke.texi: Change the dump file name of block | |
26823 | reordering pass from 28.bbro to 29.bbro. | |
26824 | Mention -dk option. | |
26825 | ||
14d920c0 JH |
26826 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
26827 | ||
26828 | * i386.md (minsf splitter): Fix pasto. | |
26829 | ||
2e99323f NC |
26830 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
26831 | ||
26832 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
26833 | to frame pointer initialisation instruction. | |
26834 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
26835 | initialisation instruction. | |
ab8081c1 NC |
26836 | (soft_df_operand): Do not accept the IP register. |
26837 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
2e99323f | 26838 | |
c4031a04 JJ |
26839 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
26840 | ||
26841 | PR target/5357: | |
26842 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
26843 | MASK_V8 being both set. | |
26844 | ||
44b8152b UW |
26845 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
26846 | ||
26847 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
26848 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
26849 | config/s390/s390.md (call, call_value): Add GOT register to | |
26850 | CALL_INSN_FUNCTION_USAGE where needed. | |
26851 | (call_exp, call_value_exp): New. | |
26852 | ||
1d6e90ac NC |
26853 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
26854 | ||
26855 | * config/arm/arm.c: General formatting tidy up. | |
26856 | ||
26857 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
60e8b9f0 GS |
26858 | |
26859 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
26860 | cast and when casting an integer literal to "rtx" pointer. | |
26861 | (expand_call): Likewise. | |
26862 | * flow.c (try_pre_increment): Likewise. | |
26863 | (find_use_as_address): Likewise. | |
26864 | * integrate.c (expand_iline_function): Likewise. | |
26865 | * regmove.c (try_auto_increment): Likewise. | |
26866 | ||
1d6e90ac | 26867 | 2002-01-16 Graham Stott <grahams@redhat.com> |
7b25b076 GS |
26868 | |
26869 | * sched-rgn.c (passed): Use sbitmap_free. | |
26870 | (header): Likewise. | |
26871 | (inner): Likewise. | |
26872 | (in_queue): Likewise. | |
26873 | (in_stack): Likewise. | |
26874 | ||
31fce3c4 EC |
26875 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
26876 | ||
26877 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
26878 | ||
c99d986a KH |
26879 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
26880 | ||
26881 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
26882 | * system.h: Poison SLOW_ZERO_EXTEND. | |
26883 | * doc/tm.texi: Remove. | |
26884 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
26885 | * config/arm/arm.h: Likewise. | |
26886 | * config/avr/avr.h: Likewise. | |
26887 | * config/clipper/clipper.h: Likewise. | |
26888 | * config/convex/convex.h: Likewise. | |
26889 | * config/d30v/d30v.h: Likewise. | |
26890 | * config/dsp16xx/dsp16xx.h: Likewise. | |
26891 | * config/elxsi/elxsi.h: Likewise. | |
26892 | * config/fr30/fr30.h: Likewise. | |
26893 | * config/h8300/h8300.h: Likewise. | |
26894 | * config/i370/i370.h: Likewise. | |
26895 | * config/i386/i386.h: Likewise. | |
26896 | * config/m68k/m68k.h: Likewise. | |
26897 | * config/mips/mips.h: Likewise. | |
26898 | * config/ns32k/ns32k.h: Likewise. | |
26899 | * config/pdp11/pdp11.h: Likewise. | |
26900 | * config/pj/pj.h: Likewise. | |
26901 | * config/s390/s390.h: Likewise. | |
26902 | * config/sh/sh.h: Likewise. | |
26903 | * config/stormy16/stormy16.h: Likewise. | |
26904 | * config/v850/v850.h: Likewise. | |
26905 | * config/vax/vax.h: Likewise. | |
26906 | * config/we32k/we32k.h: Likewise. | |
26907 | ||
acfab996 AH |
26908 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
26909 | ||
d8086cbb RS |
26910 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
26911 | (altivec_lvsl): Change constraint to b. | |
26912 | (altivec_lvsr): Same. | |
26913 | (altivec_lvebx): Same. | |
26914 | (altivec_lvehx): Same. | |
26915 | (altivec_lvewx): Same. | |
26916 | (altivec_lvxl): Same. | |
26917 | (altivec_lvx): Same. | |
26918 | (altivec_stvx): Add parallel. | |
26919 | (altivec_stvxl): Same. | |
26920 | (altivec_stvehx): Same. | |
26921 | (altivec_stvebx): Same. | |
26922 | (altivec_stvebx): Same. | |
acfab996 | 26923 | |
5e505bc9 AH |
26924 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
26925 | ||
d8086cbb | 26926 | * config.gcc: Change altivec.h to altivec-defs.h. |
5e505bc9 | 26927 | |
d8086cbb | 26928 | * config/rs6000/altivec.h: Delete. |
5e505bc9 | 26929 | |
d8086cbb | 26930 | * config/rs6000/altivec-defs.h: Add. |
5e505bc9 | 26931 | |
5c41fdfb JDA |
26932 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
26933 | ||
26934 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
26935 | and UMOD modes. | |
26936 | ||
26937 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
26938 | less than or equal to eight bytes. | |
26939 | ||
26940 | * vax.md (andsi3): Remove constraints and change SET destination | |
26941 | operand type to nonimmediate_operand. | |
26942 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
26943 | when it is a CONST_INT. | |
26944 | ||
de097a2d JM |
26945 | 2002-01-15 Jason Merrill <jason@redhat.com> |
26946 | ||
26947 | * c-common.def (FILE_STMT): New code. | |
26948 | * c-common.c (statement_code_p): It's a statement. | |
26949 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
26950 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
26951 | (last_expr_filename): New macro. | |
26952 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
26953 | (add_stmt): If the filename changed, also insert a | |
26954 | FILE_STMT. | |
26955 | (expand_stmt): Handle seeing one. | |
26956 | ||
4a913dd6 EC |
26957 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
26958 | ||
26959 | * flow.c (propagate_one_insn): Add error message and print out | |
26960 | insn for debugging. | |
26961 | ||
006946e4 JM |
26962 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
26963 | ||
26964 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
26965 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
26966 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
26967 | TRAMPOLINE_ALIGNMENT. | |
26968 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
26969 | to be in bits. | |
26970 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
26971 | PCC_BITFIELD_TYPE_MATTERS. | |
26972 | * config/interix.h (STDC_VALUE): Remove. Use | |
26973 | STDC_0_IN_SYSTEM_HEADERS. | |
26974 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
26975 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
26976 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
26977 | ||
751a1458 CR |
26978 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26979 | ||
26980 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
26981 | not work on this platform currently. | |
26982 | ||
57771fe8 JM |
26983 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
26984 | ||
26985 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
26986 | readonly_warning in _(). | |
26987 | ||
0e83ceb1 | 26988 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
9a52433e | 26989 | |
0e83ceb1 | 26990 | * gcc.c (delete_if_ordinary): Backout previous change. |
9a52433e | 26991 | |
8e2e89f7 KH |
26992 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
26993 | ||
0e83ceb1 DR |
26994 | * config/h8300/h8300.c (print_operand): Remove support for |
26995 | unused operand characters. | |
26996 | ||
8e2e89f7 KH |
26997 | * read-rtl.c: Fix formatting. |
26998 | * real.c: Likewise. | |
26999 | * recog.c: Likewise. | |
27000 | * regclass.c: Likewise. | |
27001 | * regmove.c: Likewise. | |
27002 | * reg-stack.c: Likewise. | |
27003 | * reload1.c: Likewise. | |
27004 | * rtlanal.c: Likewise. | |
27005 | ||
b531087a KH |
27006 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
27007 | ||
27008 | * config/i386/i386.c: Fix formatting. | |
27009 | ||
7c94ce7f JJ |
27010 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
27011 | ||
27012 | * c-typeck.c (process_init_element): Don't save_expr | |
27013 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
27014 | ||
6041bf2f DE |
27015 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
27016 | ||
27017 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
27018 | emit optional traceback table if optimize_size or TARGET_ELF. | |
27019 | * config/rs6000/rs6000.md (prefetch): New. | |
27020 | ||
8559c8c0 AJ |
27021 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
27022 | ||
27023 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
27024 | ||
70f122f2 KH |
27025 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
27026 | ||
27027 | * mips-tfile.c: Fix formatting. | |
27028 | ||
6a7b4ca6 JH |
27029 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
27030 | ||
27031 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
27032 | ||
e7afe229 KH |
27033 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
27034 | ||
27035 | * config/h8300/h8300-protos.h: Remove the prototype for | |
27036 | eq_operator. | |
27037 | * config/h8300/h8300.c (eq_operator): Remove. | |
27038 | ||
7d378549 RH |
27039 | 2002-01-14 Richard Henderson <rth@redhat.com> |
27040 | ||
27041 | * config/i386/i386.md (prefetch): Tidy. | |
27042 | (prefetch_3dnow): Fix locality operand. | |
27043 | ||
ab093b81 RH |
27044 | 2002-01-14 Richard Henderson <rth@redhat.com> |
27045 | ||
27046 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
27047 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
27048 | ||
d300f51f HPN |
27049 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
27050 | ||
27051 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
27052 | copy_rtx in loop performing multiple changes. | |
27053 | ||
655dd289 JJ |
27054 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
27055 | ||
27056 | * except.c (remove_unreachable_regions): New. | |
27057 | (free_eh_status): Clear exception_handler_labels. | |
27058 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
27059 | (find_exception_handler_labels): Don't add the same label more than | |
27060 | once. | |
27061 | (remove_exception_handler_label): Don't die if | |
27062 | find_exception_handler_labels hasn't been called for the current | |
27063 | function yet. | |
27064 | ||
1fba46a7 JH |
27065 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
27066 | ||
27067 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
27068 | gcse. | |
27069 | ||
0975678f JM |
27070 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
27071 | ||
27072 | * doc/extend.texi: Move documentation of X86 built-in functions | |
27073 | here. | |
27074 | * doc/invoke.texi: From here. | |
27075 | * doc/sourcebuild.texi: Document location of documentation for | |
27076 | machine built-in functions. | |
27077 | ||
969815c7 CF |
27078 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
27079 | ||
27080 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
27081 | (SHOULD_MMAP): Ditto. | |
27082 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
27083 | be used. | |
27084 | ||
494c950b JH |
27085 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
27086 | ||
27087 | * unroll.c (final_reg_note_copy): Properly handle | |
27088 | REG_LABEL | |
27089 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
27090 | ||
69a0611f GK |
27091 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
27092 | ||
27093 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
27094 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
27095 | ||
b90e45ae JH |
27096 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
27097 | ||
27098 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
27099 | threaded loop. | |
27100 | ||
8377288b TR |
27101 | 2002-01-14 Tom Rix <trix@redhat.com> |
27102 | ||
27103 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
27104 | ||
9f37ccb1 UW |
27105 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
27106 | ||
27107 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
27108 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
27109 | (clrstrdi, clrstrsi): Adapt callers. | |
27110 | ||
27111 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
27112 | ||
8559c8c0 | 27113 | (movti splitter): Never use register 0 as base register. |
9f37ccb1 | 27114 | |
6c2d03d0 HP |
27115 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
27116 | ||
8559c8c0 AJ |
27117 | * combine.c (simplify_shift_const): Always generate new rtx |
27118 | for shift expression instead of reusing given expression. | |
6c2d03d0 | 27119 | |
d3e98208 RK |
27120 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
27121 | ||
27122 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
27123 | alpha_legitimize_address unless mode is Pmode. | |
27124 | ||
9f339dde GK |
27125 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
27126 | ||
27127 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
27128 | user. | |
27129 | ||
27130 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
27131 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
27132 | for xstormy16 too. | |
27133 | ||
02a10130 RH |
27134 | 2002-01-13 Richard Henderson <rth@redhat.com> |
27135 | ||
27136 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
27137 | for an input reload of the source. | |
27138 | ||
61d47787 GP |
27139 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
27140 | ||
27141 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
27142 | more generic. | |
27143 | ||
f0df8029 DR |
27144 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
27145 | ||
27146 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
27147 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
27148 | ||
d2a37256 DR |
27149 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
27150 | ||
a9e8a5ee RK |
27151 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
27152 | ||
27153 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
27154 | ||
bc06712d TR |
27155 | 2002-01-12 Tom Rix <trix@redhat.com> |
27156 | ||
8559c8c0 | 27157 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
bc06712d TR |
27158 | TARGET_POWERPC64. |
27159 | ||
7cbe9bb7 RH |
27160 | 2002-01-12 Richard Henderson <rth@redhat.com> |
27161 | ||
38b29e64 RH |
27162 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
27163 | ||
58605ba0 RH |
27164 | * doc/invoke.texi: Update Alpha options. |
27165 | ||
7cbe9bb7 RH |
27166 | * doc/invoke.texi: Update i386 built-in function lists. |
27167 | ||
9d560860 JH |
27168 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
27169 | ||
27170 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
27171 | referencing outside. | |
27172 | ||
bb93b973 RK |
27173 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
27174 | ||
27175 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
27176 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
27177 | offsets, and change line folding. | |
27178 | * optabs.c (expand_binop): Remove warnings. | |
27179 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
8559c8c0 | 27180 | |
f9f6b7df GS |
27181 | 2002-01-12 Graham Stott <grahams@redhat.com> |
27182 | ||
27183 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
27184 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
27185 | dangling else warning and constify WHAT. | |
27186 | * except.h (struct function, struct inline_remap): Move | |
27187 | struct tag forward defs before all prototypes. | |
27188 | (duplicate_eh_regions): Whitespace. | |
27189 | ||
4a692617 NC |
27190 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
27191 | ||
27192 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
27193 | MODE_BASE_REG_CLASS. | |
27194 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
27195 | ||
e37af218 RH |
27196 | 2002-01-12 Richard Henderson <rth@redhat.com> |
27197 | ||
27198 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
27199 | (ix86_expand_vector_move): New. | |
27200 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
27201 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
27202 | Remove old prefetch builtins. Special case the logicals removed above. | |
27203 | (ix86_expand_builtin): Likewise. | |
27204 | (safe_vector_operand): Use V4SFmode, not TImode. | |
27205 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
27206 | (ix86_expand_timode_binop_builtin): New. | |
27207 | * config/i386/i386-protos.h: Update. | |
27208 | * config/i386/i386.h (enum ix86_builtins): Update. | |
27209 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
27210 | Use ix86_expand_vector_move in vector move expanders. | |
27211 | (movti_internal, movti_rex64): Add xorps alternative. | |
27212 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
27213 | (prefetch): Don't work so hard. | |
27214 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
27215 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
27216 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
27217 | ||
6f1a6c5b RH |
27218 | 2002-01-11 Richard Henderson <rth@redhat.com> |
27219 | ||
27220 | * config/i386/mmintrin.h: New file. | |
27221 | * config/i386/xmmintrin.h: New file. | |
27222 | * config.gcc (i?86-*-*): Add extra_headers. | |
27223 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
27224 | truncation codes. | |
27225 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
27226 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
27227 | not the lowpart subreg. | |
27228 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
27229 | on error. | |
27230 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
27231 | ||
cdb574d3 MH |
27232 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
27233 | ||
27234 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
27235 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
8559c8c0 | 27236 | |
cf11ac55 HB |
27237 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
27238 | ||
27239 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
27240 | every where we allocate a register. | |
27241 | ||
76ac938b MH |
27242 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
27243 | ||
27244 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
27245 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
27246 | ||
a84b4898 JJ |
27247 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
27248 | ||
27249 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
27250 | ||
aaef1c12 JJ |
27251 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
27252 | ||
27253 | * doc/rtl.texi (Insns): Fix 2 typos. | |
27254 | ||
5d22c1a5 JM |
27255 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
27256 | ||
27257 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
27258 | options. Use @table @gcctabopt for MMIX options. Add index | |
27259 | entries for MMIX options. Start new paragraph with first | |
27260 | heading of the machine-dependent options. | |
27261 | ||
3e92902c CR |
27262 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
27263 | ||
27264 | PR other/5299 | |
27265 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
27266 | * combine.c (force_to_mode): Same. | |
27267 | * reload1.c (clear_reload_reg_in_use): Same. | |
27268 | ||
96ae8197 NC |
27269 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
27270 | ||
27271 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
27272 | and 'subtargets'. | |
27273 | ||
9b780582 AJ |
27274 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
27275 | Brad Lucier <lucier@math.purdue.edu> | |
27276 | ||
27277 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
27278 | mcpu. | |
27279 | ||
12300dad DR |
27280 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
27281 | ||
27282 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
27283 | Protect with IN_LIBGCC. | |
27284 | (LINK_EH_SPEC): Add required trailing space. | |
27285 | ||
27511a9a NP |
27286 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
27287 | ||
9b780582 | 27288 | * c-tree.h: Move function declarations so that they are listed |
27511a9a NP |
27289 | under the filename which contains them. |
27290 | (check_identifier, finish_decl_top_level, | |
27291 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
27292 | ||
4daeab16 AJ |
27293 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
27294 | ||
27295 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
27296 | march. | |
27297 | ||
40571d67 RH |
27298 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27299 | ||
27300 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
27301 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
27302 | new operand with the sequence number for the lituse. When splitting | |
27303 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
27304 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
27305 | ||
6525c0e7 AH |
27306 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
27307 | ||
d8086cbb RS |
27308 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
27309 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
27310 | stvxl. | |
27311 | (altivec_expand_builtin): Same. | |
27312 | (altivec_expand_stv_builtin): New. | |
27313 | ||
27314 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
27315 | ||
27316 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
27317 | ("altivec_lvehx"): New. | |
27318 | ("altivec_lvewx"): New. | |
27319 | ("altivec_lvxl"): New. | |
27320 | ("altivec_lvx"): New. | |
27321 | ("altivec_stvx"): New. | |
27322 | ("altivec_stvebx"): New. | |
27323 | ("altivec_stvehx"): New. | |
27324 | ("altivec_stvewx"): New. | |
27325 | ("altivec_stvxl"): New. | |
6525c0e7 | 27326 | |
cda94cbb RH |
27327 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27328 | ||
27329 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
27330 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
27331 | care not to delete instructions twice. | |
27332 | ||
df2c9a44 ZW |
27333 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
27334 | ||
27335 | * toplev.c: Don't declare environ (it's not used anywhere). | |
27336 | * configure.in: Don't check for declaration of environ. | |
27337 | * config/i386/xm-mingw32.h: Don't #define environ. | |
27338 | * config.in, configure: Regenerate. | |
27339 | ||
5dd8a9b1 ZW |
27340 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
27341 | ||
27342 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
27343 | * configure: Regenerate. | |
27344 | ||
27345 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
27346 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
27347 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
27348 | alpha/xm-vms.h. | |
27349 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
27350 | LIMITS_H_TEST here, not in m68k/x-next. | |
27351 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
27352 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
27353 | ||
27354 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
27355 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
27356 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
27357 | ||
27358 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
27359 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
27360 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
27361 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
27362 | replacement of quadlib.asm with quadlib.c. | |
27363 | ||
27364 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
27365 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
27366 | config/rs6000/xm-beos.h: Delete file. | |
27367 | ||
27368 | * config.gcc: Update to match above changes. | |
27369 | ||
d10dd44c KH |
27370 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27371 | ||
27372 | * config/h8300/h8300.h: Fix comment typos. | |
27373 | * config/h8300/h8300.md: Likewise. | |
27374 | * config/h8300/lib1funcs.asm: Likewise. | |
27375 | ||
04894c5a DJ |
27376 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
27377 | ||
27378 | PR optimization/5269 | |
27379 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
27380 | sign when n_iterations known, to avoid confusing caller. | |
27381 | ||
adc9fe67 KH |
27382 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27383 | ||
27384 | * doc/extend.texi (deprecated): Fix a typo. | |
27385 | ||
b446e5a2 JH |
27386 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
27387 | ||
27388 | * basic-block.h (update_br_prob_note): Declare. | |
27389 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
27390 | (try_forward_edges): Care negative frequencies and update note. | |
27391 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
27392 | (try_crossjump_to_edge): use update_br_prob_note. | |
27393 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
27394 | * cfrtl.c (update_br_prob_note): New. | |
27395 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
27396 | ||
27397 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
27398 | shift. | |
27399 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
27400 | ||
27401 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
27402 | (cprop_insn): Likewise. | |
27403 | ||
a01da83b KH |
27404 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27405 | ||
27406 | * toplev.c: Fix formatting. | |
27407 | * tree.c: Likewise. | |
27408 | * tree-dump.c: Likewise. | |
27409 | * unroll.c: Likewise. | |
27410 | * unwind-dw2.c: Likewise. | |
27411 | * unwind-dw2-fde.c: Likewise. | |
27412 | * unwind-dw2-fde-glibc.c: Likewise. | |
27413 | * unwind-sjlj.c: Likewise. | |
27414 | ||
9f85bca7 JM |
27415 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
27416 | ||
27417 | * doc/invoke.texi: Document PDP-11 options. | |
27418 | ||
f48f56b1 KH |
27419 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27420 | ||
27421 | * config/h8300/h8300.h: Fix formatting. | |
27422 | ||
ead39bdf | 27423 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
27424 | |
27425 | Add __attribute__ ((deprecated)). | |
27426 | * extend.texi: Document __attribute__ ((deprecated)). | |
27427 | * invoke.texi: Document -Wno-deprecated-declarations. | |
27428 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
27429 | * testsuite/gcc.dg/deprecated.c: New C test. | |
27430 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
27431 | (c_common_attribute_table): Add "deprecated" entry. | |
27432 | (handle_deprecated_attribute): New function. | |
27433 | * c-decl.c (deprecated_states): New enum. | |
27434 | deprecated_state: State of "deprecated" handling. | |
27435 | (start_decl): Set deprecated_state based on attributes. | |
27436 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
27437 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
27438 | (build_external_ref): Test for deprecated primaries. | |
27439 | * diagnostic.c (warn_deprecated_use) New function to issue | |
27440 | warnings about __attribute__ ((depricated)) references. | |
27441 | * flags.h (warn_deprecated_decl): Extern declared for | |
27442 | -W[no-]deprecated-declarations option. | |
27443 | * print-tree.c (print_node): Show deprecated flag status. | |
27444 | * toplev.c (warn_deprecated_decl): Defined. | |
27445 | (W_options): Added "deprecated-declaration". | |
27446 | * toplev.h (warn_deprecated_use): Extern declared. | |
27447 | * tree.h (struct tree_common): Define deprecated_flag. | |
27448 | (TREE_DEPRECATED): New macro to access flag. | |
27449 | * cp/call.c (build_call): Test for deprecated calls. | |
27450 | * cp/class.c (add_implicitly_declared_members): Set global | |
27451 | flag to tell grokdeclarator to not issue deprecated warnings. | |
27452 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
27453 | * cp/decl.c (deprecated_states): New enum. | |
27454 | (start_decl): Set deprecated_state based on attributes. | |
27455 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
27456 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
27457 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
27458 | ||
ead39bdf | 27459 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
27460 | |
27461 | Fix to assign attributes to inline member functions. | |
27462 | * cp/decl.c (start_method): Handle attrlist. | |
27463 | ||
47073a38 KH |
27464 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27465 | ||
27466 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
27467 | ||
d288e53d DE |
27468 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
27469 | ||
27470 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
27471 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
27472 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
27473 | Recurse for any operand of AND as long as constant is non-zero. | |
27474 | ||
08a02ffa KH |
27475 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27476 | ||
27477 | * config/h8300/h8300.md: Remove constraints from expanders. | |
27478 | ||
c203e7fe KH |
27479 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27480 | ||
27481 | * varasm.c: Fix formatting. | |
27482 | * varray.c: Likewise. | |
27483 | * vmsdbgout.c: Likewise. | |
27484 | * xcoffout.c: Likewise. | |
27485 | ||
bcb3bc6d JH |
27486 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
27487 | ||
27488 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
cda94cbb | 27489 | update edge probabilities to match. |
bcb3bc6d | 27490 | |
0a553c7e JM |
27491 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
27492 | ||
27493 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
27494 | dependencies. | |
27495 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
27496 | * doc/configfiles.texi: Make a subsubsection. Update. | |
27497 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
27498 | instructions for building GCC. | |
27499 | * doc/makefile.texi: Make a subsection. | |
27500 | * doc/gccint.texi: Update. | |
27501 | ||
adc7fcb8 JH |
27502 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
27503 | ||
27504 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
27505 | ||
5a4dd0b3 NP |
27506 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
27507 | ||
27508 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
27509 | ||
3987b9db JH |
27510 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
27511 | ||
27512 | * optabs.c (expand_fix): Look for wider integer modes first. | |
27513 | ||
27514 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
27515 | memory model. | |
27516 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
27517 | (fop_df_4): Disable for SSE compilation. | |
27518 | ||
ceb15948 | 27519 | 2002-01-10 Graham Stott <grahams@redhat.com> |
117f9d28 GS |
27520 | |
27521 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
cda94cbb | 27522 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
117f9d28 | 27523 | |
e1623399 RH |
27524 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27525 | ||
27526 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
27527 | ||
c4abb293 RH |
27528 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27529 | ||
27530 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
27531 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
27532 | ||
d2604ae9 KH |
27533 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27534 | ||
27535 | * combine.c (can_combine_p): Fix a comment typo. | |
27536 | ||
766c7ad1 ZW |
27537 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
27538 | ||
27539 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
27540 | empty list correctly. Change loop index $t to $f for | |
27541 | consistency with rest of Makefile. | |
27542 | ||
95385cbb AH |
27543 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
27544 | ||
27545 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
27546 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
27547 | ||
27548 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
27549 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
27550 | (altivec_init_builtins): Same. | |
27551 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
27552 | (altivec_expand_binop_builtin): Same. | |
27553 | (altivec_expand_ternop_builtin): Same. | |
27554 | (bdesc_dst): New. | |
27555 | ||
27556 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
27557 | ("altivec_vctuxs"): Fix typo. | |
27558 | ("altivec_vnmsubfp"): Same. | |
27559 | ("altivec_dssall"): New. | |
27560 | ("altivec_mfvscr"): New. | |
27561 | ("altivec_dss"): New. | |
27562 | ("altivec_lvsl"): New. | |
27563 | ("altivec_lvsr"): New. | |
27564 | ("altivec_dstt"): New. | |
27565 | ("altivec_dstst"): New. | |
27566 | ("altivec_dststt"): New. | |
27567 | ("altivec_dst"): New. | |
27568 | ||
27569 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
27570 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
27571 | ||
e4ac76b4 RH |
27572 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27573 | ||
27574 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
27575 | ||
c893e4a4 HPN |
27576 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
27577 | ||
27578 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
27579 | function. | |
27580 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
27581 | prototype. | |
7387c700 | 27582 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
c893e4a4 | 27583 | |
f4f4d0f8 KH |
27584 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
27585 | ||
27586 | * read-rtl.c: Fix formatting. | |
27587 | * real.c: Likewise. | |
27588 | * regclass.c: Likewise. | |
27589 | * regrename.c: Likewise. | |
27590 | * reg-stack.c: Likewise. | |
27591 | * reload1.c: Likewise. | |
27592 | * reload.c: Likewise. | |
27593 | * rtl.c: Likewise. | |
27594 | ||
cc863bea KH |
27595 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
27596 | ||
27597 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
27598 | to extract items in the expr_list chain. | |
27599 | ||
7b4dfe3d RH |
27600 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27601 | ||
27602 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
27603 | ||
1d969638 RH |
27604 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
27605 | ||
7d5ab30e JH |
27606 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
27607 | ||
27608 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
27609 | ||
9503f3d1 RH |
27610 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27611 | ||
27612 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
27613 | Unify code from various alternatives. | |
27614 | ||
42bd17b7 RH |
27615 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27616 | ||
27617 | * regrename.c (copy_value): Ignore the copy if the source register | |
27618 | is present in the value chain with a narrower mode. | |
27619 | ||
bdca3c33 HB |
27620 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
27621 | ||
cda94cbb RH |
27622 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
27623 | for the c4x target. Also improve layout. | |
bdca3c33 | 27624 | |
c73a5e94 RH |
27625 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27626 | ||
27627 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
27628 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
27629 | to match insn patterns. | |
27630 | ||
dd0a18c0 RH |
27631 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27632 | ||
27633 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
27634 | (copyprop_hardreg_forward_1): Likewise. | |
27635 | ||
1fd9ac1e JDA |
27636 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
27637 | ||
27638 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
27639 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
27640 | ||
5cb265ec BM |
27641 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
27642 | ||
27643 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
27644 | gets undefined. For Darwin. | |
27645 | ||
fcd8fa8b HB |
27646 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
27647 | ||
27648 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
27649 | ||
bd3ab23a MH |
27650 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
27651 | ||
27652 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
27653 | ||
21e16bd6 RH |
27654 | 2002-01-08 Richard Henderson <rth@redhat.com> |
27655 | ||
27656 | * regrename.c (copy_value): Ignore overlapping copies. | |
27657 | ||
a5376276 RH |
27658 | 2002-01-08 Richard Henderson <rth@redhat.com> |
27659 | ||
27660 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
27661 | as needed to avoid shared structure. | |
27662 | ||
18cf8dda KH |
27663 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
27664 | ||
27665 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
8d9afc4e | 27666 | H8/300H and H8S. |
18cf8dda | 27667 | |
16c484c7 JM |
27668 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
27669 | ||
27670 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
27671 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
27672 | documentation of obsolete macros. | |
27673 | * system.h: Poison these macros. | |
27674 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
27675 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
27676 | config/c4x/c4x.h, config/clipper/clipper.h, | |
27677 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
27678 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
27679 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
27680 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
27681 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
27682 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
27683 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
27684 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
27685 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
27686 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
27687 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
27688 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
27689 | definitions and commented out definitions of obsolete macros. | |
27690 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
27691 | of MAX_INT_TYPE_SIZE. | |
27692 | ||
14b3e8ef UW |
27693 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
27694 | ||
27695 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
27696 | return ADDR_REGS if it isn't a subset of the given class. | |
27697 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
27698 | FP_REGS, but all superclasses as well. | |
27699 | ||
27700 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
27701 | ||
27702 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
27703 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
27704 | must not be a const_int. | |
27705 | ||
a693284d RH |
27706 | 2002-01-08 Richard Henderson <rth@redhat.com> |
27707 | ||
27708 | * Makefile.in (toplev.o): Depend on options.h. | |
27709 | (gcc.o): Depend on specs.h. | |
27710 | ||
b3ca30df JJ |
27711 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
27712 | ||
27713 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
27714 | mode. | |
27715 | ||
24dbb440 GP |
27716 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
27717 | ||
27718 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
27719 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
27720 | of http://gcc.gnu.org/thanks.html. | |
27721 | ||
234e114c DJ |
27722 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
27723 | ||
27724 | * config/rs6000/rs6000.md: Add missing int register | |
27725 | target case to movdf_low. | |
27726 | ||
0d24f4d1 ZW |
27727 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
27728 | ||
27729 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
27730 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
27731 | (cppinit.o): Depend on except.h. | |
27732 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
27733 | s-specs): New rules. | |
27734 | ||
27735 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
27736 | Don't create specs.h/options.h/gencheck.h here. Remove | |
27737 | unnecessary variable settings from last argument of AC_OUTPUT. | |
27738 | * config.in, configure: Regenerate. | |
27739 | * intl.c: Hardcode package name as "gcc". | |
27740 | ||
27741 | * cppinit.c: Include except.h. | |
27742 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
27743 | appropriate. | |
27744 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
27745 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
27746 | (!)USING_SJLJ_EXCEPTIONS. | |
27747 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
27748 | ||
ed722f66 JM |
27749 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
27750 | ||
27751 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
27752 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
27753 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
27754 | documentation of obsolete macros. | |
27755 | * system.h: Poison these macros. | |
27756 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
27757 | config/stormy16/stormy16.h: Remove definitions and commented out | |
27758 | definitions of obsolete macros. | |
27759 | ||
31e5e29a NP |
27760 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
27761 | ||
27762 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
27763 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
27764 | warnings. | |
27765 | ||
bc1fa59c UW |
27766 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
27767 | ||
27768 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
27769 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
27770 | to insn adjusting stack/frame pointer. | |
0d24f4d1 | 27771 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
bc1fa59c UW |
27772 | accept operands that cause the insn to be non-splittable. |
27773 | ||
a8086abf GS |
27774 | 2002-01-08 Graham Stott <grahams@redhat.com> |
27775 | ||
27776 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
27777 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
27778 | (C_TYPE_BEING_DEFINED): Likewise. | |
27779 | (C_IS_RESERVED_WORD): Likewise. | |
27780 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
27781 | (C_DECL_VARIABLE_SIZE): Likewise. | |
27782 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
27783 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
27784 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
27785 | parenthesis. | |
27786 | (C_DECL_ANTICIPATED): Likewise. | |
27787 | (c_build_type_variant): Add parenthesis. | |
27788 | ||
3f595aa1 JM |
27789 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
27790 | ||
27791 | * gcc.c (option_map): Remove --version. | |
27792 | (process_command): Handle -fversion following the GNU Coding | |
27793 | Standards. Partially addresses PR other/704. | |
27794 | ||
5bc5a8f9 GS |
27795 | 2002-01-08 Graham Stott <grahams@redhat.com> |
27796 | ||
27797 | * combine.c (combine_instructions): Fix typo. | |
27798 | ||
16ec4ebf GS |
27799 | 2002-01-08 Graham Stott <grahams@redhat.com> |
27800 | ||
27801 | * debug.h: Use "tree" and "rtx" throughout. | |
27802 | ||
27803 | * debug.c: Likewise. | |
27804 | ||
4b69f385 NC |
27805 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
27806 | ||
27807 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
27808 | constant pool, use the pool's version of the symbol instead. | |
27809 | ||
57d1019b RH |
27810 | 2002-01-07 Richard Henderson <rth@redhat.com> |
27811 | ||
27812 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
27813 | the original register was copied in a mode with a fewer number of | |
27814 | hard registers than the desired mode. | |
27815 | (copyprop_hardreg_forward_1): Likewise. | |
27816 | (debug_value_data): Fix loop test. | |
27817 | * toplev.c (parse_options_and_default_flags): Reenable | |
27818 | -fcprop-registers at -O1. | |
27819 | ||
27820 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
fa066a23 | 27821 | |
0d24f4d1 ZW |
27822 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
27823 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
fa066a23 | 27824 | |
0d24f4d1 ZW |
27825 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
27826 | predicates. | |
fa066a23 | 27827 | |
0d24f4d1 | 27828 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
fa066a23 | 27829 | |
8f949e7e JDA |
27830 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
27831 | ||
27832 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
27833 | (pa_output_function_prologue): Output local label at the beginning of | |
27834 | the prologue when profiling. | |
27835 | (hppa_profile_hook): Use the local label rather than the function label. | |
27836 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
27837 | ||
c62f2db5 AH |
27838 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
27839 | ||
0d24f4d1 ZW |
27840 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
27841 | (altivec_expand_unop_builtin): Fix thinko. | |
27842 | (altivec_expand_binop_builtin): Same. | |
27843 | (altivec_expand_ternop_builtin): Same. | |
27844 | (altivec_expand_builtin): Same. | |
c62f2db5 | 27845 | |
b5235ba7 RH |
27846 | 2002-01-07 Richard Henderson <rth@redhat.com> |
27847 | ||
27848 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
27849 | ||
7d8ac293 JM |
27850 | 2002-01-07 Jason Merrill <jason@redhat.com> |
27851 | ||
27852 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
27853 | ||
571a03b8 JJ |
27854 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
27855 | ||
27856 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
27857 | ||
2e951384 JJ |
27858 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
27859 | ||
27860 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
27861 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
27862 | ||
20e26713 AH |
27863 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
27864 | ||
0d24f4d1 ZW |
27865 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
27866 | arguments. | |
27867 | (altivec_expand_binop_builtin): Same. | |
27868 | (altivec_expand_unop_builtin): Same. | |
27869 | (print_operand): Fix typo. | |
27870 | (bdesc_1arg): Add vupk* variants. | |
20e26713 | 27871 | |
0d24f4d1 | 27872 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
20e26713 | 27873 | |
0d24f4d1 | 27874 | * rs6000.md: Add altivec_vupk* variants. |
20e26713 | 27875 | |
4dd57c18 JM |
27876 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
27877 | ||
27878 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
27879 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
27880 | and last update dates. | |
27881 | ||
0341c5d2 JJ |
27882 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
27883 | ||
27884 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
27885 | ||
c7f3e0b0 MM |
27886 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
27887 | ||
27888 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
27889 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
27890 | (LINK_SPEC): Likewise. | |
27891 | (CRT_BINUTILS_SPECS): Likewise. | |
27892 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
27893 | * doc/invoke.texi (AVR Options): Document them. | |
27894 | ||
6ba4d630 JH |
27895 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
27896 | ||
27897 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
27898 | LABEL_NUSES. | |
27899 | ||
6253d571 GS |
27900 | 2002-01-07 Graham Stott <grahams@redhat.com> |
27901 | ||
0d24f4d1 ZW |
27902 | * config/i386/i386.h: Update copyright date. |
27903 | (HALF_PIC_PTR): Add parenthesis. | |
27904 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
27905 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
27906 | (DATA_ALIGNMENT): Likewise. | |
27907 | (LOCAL_ALIGNMENT): Likewise. | |
27908 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
27909 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
27910 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
27911 | (HARD_REGNO_NREGS): Add paranethesis. | |
27912 | (VALID_SSE_REG_MODE): Whitespace. | |
27913 | (VALID_MMX_REG_MODE): Whitespace. | |
27914 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
27915 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
27916 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
27917 | (RETURN_IN_MEMORY): Whitespace. | |
27918 | (N_REG_CLASSES): Add parenthesis. | |
27919 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
27920 | (FLOAT_CLASS_P): Likewise. | |
27921 | (SSE_CLASS_P): Likewise. | |
27922 | (MMX_CLASS_P): Likewise. | |
27923 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
27924 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
27925 | (MAYBE_SSE_CLASS_P): Likewise. | |
27926 | (MAYBE_MMX_CLASS_P): Likewise. | |
27927 | (Q_CLASS_P): Likewise. | |
27928 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
27929 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
27930 | (FP_REGNO_P): Likewise. | |
27931 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
27932 | (SSE_REGNO_P): Likewise. | |
27933 | (SSE_REGNO): Likewise. | |
27934 | (SSE_REG_P): Likewise. | |
27935 | (SSE_FLOAT_MODE_P): Likewise. | |
27936 | (MMX_REGNO_P): Likewise. | |
27937 | (MMX_REG_P):Likewise. | |
27938 | (STACK_REG_P): Likewise. | |
27939 | (NON_STACK_REG_P): Likewise. | |
27940 | (STACK_TOP_P): Likewise. | |
27941 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
27942 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
27943 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
27944 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
27945 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
27946 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
27947 | (RETURN_POPS_ARGS): Add parenthesis. | |
27948 | (INIT_CUMULATIVE_ARGS): Likewise. | |
27949 | (FUNCTION_ARG): Likewise. | |
27950 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
27951 | (SETUP_INCOMING_VARARGS): Likewise. | |
27952 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
27953 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
27954 | parenthsis. | |
27955 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
27956 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
27957 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
27958 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
27959 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
27960 | (REGNO_OK_FOR_BASE_P): Likewise. | |
27961 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
27962 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
27963 | (REG_OK_FOR_INDEX_P): Whitespace. | |
27964 | (REG_OK_FOR_BASE_P): Whitespace. | |
27965 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
27966 | parenthesis. | |
27967 | (FIND_BASE_TERM): Fix typo. | |
27968 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
27969 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
27970 | (SYMBOLIC_CONST; Whitespace. | |
27971 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
27972 | (ENCODE_SECTION_INFO): Whitespace. | |
27973 | (FINALIZE_PIC): Remove do { ... } while (0). | |
27974 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
27975 | (CONST_COSTS): Whitespace. | |
27976 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
27977 | (REGISTER_MOVE_COST): Add parenthesis. | |
27978 | (MEMORY_MOVE_COST): Likewise. | |
27979 | (EXTRA_CC_MODES): Whitespace. | |
27980 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
27981 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
27982 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
27983 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
27984 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
27985 | (ASM_OUTPUT_REG_POP): Likewise. | |
27986 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
27987 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
d9a5f180 | 27988 | |
07933f72 GS |
27989 | * config/i386/i386.c: Update copyright. |
27990 | (CHECK_STACK_LIMIT): Add parenthesis. | |
27991 | (AT_BP): Uppercase macro parameter. | |
27992 | (x86_64_int_parameter_registers): Constify. | |
27993 | (x86_64_int_return_registers): Likewise. | |
27994 | (ix86_compare_op0): Use rtx. | |
27995 | (construct_container): Constify INTREG parameter. | |
27996 | (function_arg): Use rtx. | |
27997 | ||
0b4d32c9 GS |
27998 | * diagnostic.h: Update copyright date. |
27999 | (output_buffer_state): Add parenthesis. | |
28000 | (output_buffer_format_args): Likewise. | |
28001 | ||
6253d571 GS |
28002 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
28003 | with link. | |
28004 | ||
68f3f6f1 L |
28005 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
28006 | ||
28007 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
28008 | ||
28009 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
480f7f3a | 28010 | |
0d24f4d1 | 28011 | * config.gcc: Add support for --enable-altivec. |
480f7f3a | 28012 | |
13b8c631 CR |
28013 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
28014 | ||
28015 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
28016 | ||
58ad89b1 JJ |
28017 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
28018 | ||
28019 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
28020 | __objc_class_name_*. | |
28021 | ||
e403b4bc CR |
28022 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
28023 | ||
28024 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
28025 | ||
e41c7831 RH |
28026 | 2002-01-06 Richard Henderson <rth@redhat.com> |
28027 | ||
28028 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
28029 | nop them out. Increment label reference count for REG_LABEL. | |
28030 | (fill_slots_from_thread): Frob label reference count around | |
28031 | delete_related_insns. | |
28032 | ||
3b3b1e32 RH |
28033 | 2002-01-05 Richard Henderson <rth@redhat.com> |
28034 | ||
28035 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
28036 | jump threading. | |
28037 | ||
c28abdf0 RH |
28038 | 2002-01-05 Richard Henderson <rth@redhat.com> |
28039 | ||
28040 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
28041 | * integrate.c (output_inline_function): Likewise. | |
28042 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
28043 | to remove_unnecessary_notes after emitting abstract instance. | |
28044 | Force an emitted nested function to have its parent emited as well. | |
28045 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
28046 | for null. | |
28047 | (rtl_for_decl_location): Do not look at reload data structures | |
28048 | before reload has run. | |
28049 | ||
c4f2c499 KH |
28050 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
28051 | ||
28052 | * cse.c: Fix formatting. | |
28053 | * dwarf2asm.c: Likewise. | |
28054 | * dwarf2out.c: Likewise. | |
28055 | * explow.c: Likewise. | |
28056 | * expmed.c: Likewise. | |
28057 | * function.c: Likewise. | |
28058 | * gcov.c: Likewise. | |
28059 | * gencheck.c: Likewise. | |
28060 | * genrecog.c: Likewise. | |
28061 | * ggc-common.c: Likewise. | |
28062 | * ggc-page.c: Likewise. | |
28063 | * global.c: Likewise. | |
28064 | ||
cf0d9408 KH |
28065 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
28066 | ||
28067 | * combine.c: Fix formatting. | |
28068 | ||
bedca03a CR |
28069 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
28070 | ||
28071 | PR middle-end/1557 | |
28072 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
28073 | ||
0134bf2d DE |
28074 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
28075 | ||
28076 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
28077 | as 1 for __powerpc64__ as well. | |
28078 | ||
28079 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
28080 | ||
28081 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
28082 | return it. | |
28083 | ||
9ca88d5a DB |
28084 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
28085 | ||
28086 | * lcm.c: Revert change, due to performance regression it causes on | |
28087 | SPEC because it's slightly more conservative (sigh, I hate | |
28088 | edge-based LCM). | |
0d24f4d1 | 28089 | |
1c570418 JH |
28090 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
28091 | ||
28092 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
28093 | ||
d83bb9f7 NB |
28094 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
28095 | ||
28096 | * doc/cppinternals.texi: Update. | |
28097 | ||
3e0f61ac HPN |
28098 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
28099 | ||
28100 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
28101 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
28102 | negatives. | |
28103 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
28104 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
28105 | kludge for pre-october-14th mmix versions to handle new-found bug | |
28106 | with PUSHJ/PUSHGO and the register stack. | |
28107 | * config/mmix/mmix.h (struct machine_function): Rename member | |
28108 | has_call_value_without_parameters to has_call_without_parameters. | |
28109 | All referers changed. | |
28110 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
28111 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
28112 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
28113 | -mno-reg-stack-fill-bug-workaround. | |
28114 | * config/mmix/mmix.md ("call"): Set struct machine member | |
28115 | has_call_without_parameters. | |
28116 | ||
4deaa2f8 JH |
28117 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
28118 | ||
28119 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
28120 | ||
9f16e871 JH |
28121 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
28122 | ||
28123 | * cfgcleanup.c: Include tm_p.h | |
28124 | (mark_effect): Fix handling of hard register; fix handling of SET | |
28125 | ||
96eb1157 KH |
28126 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
28127 | ||
28128 | * config/h8300/h8300.md (anonymous patterns): Check that | |
28129 | operands are registers before using REGNO on them. | |
28130 | ||
48180d68 RM |
28131 | 2002-01-03 Roland McGrath <roland@frob.com> |
28132 | ||
28133 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
28134 | ||
b0832fe1 JJ |
28135 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
28136 | ||
28137 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
28138 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
28139 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
28140 | (expand_expr_stmt_value): Add maybe_last argument. | |
28141 | Don't warn about statement with no effect if it is the last statement | |
28142 | in expression statement. | |
28143 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
28144 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
28145 | expand_expr_stmt_value. | |
28146 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
28147 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
28148 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
28149 | as maybe_last to expand_expr_stmt_value. | |
28150 | ||
c1e14513 JL |
28151 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
28152 | ||
0d24f4d1 ZW |
28153 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
28154 | be passed in, do not build it. | |
28155 | (c_begin_if_stmt): New function. | |
28156 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
28157 | * c-common.h (c_expand_start_cond): Update prototype. | |
28158 | (c_begin_if_stmt): Prototype new function. | |
28159 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
28160 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
28161 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
c1e14513 | 28162 | |
b6ec437a WC |
28163 | 2002-01-04 William Cohen <wcohen@redhat.com> |
28164 | ||
28165 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
28166 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
28167 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
28168 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
28169 | ||
ead39bdf | 28170 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
517b711f DB |
28171 | |
28172 | * lcm.c: Include df.h. | |
28173 | Add available_transfer_function prototype. | |
28174 | (compute_available): Rework to use iterative dataflow framework. | |
28175 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
28176 | with bb_info in df.h | |
28177 | (available_transfer_function): New function. | |
28178 | ||
28179 | * Makefile.in (lcm.o): add df.h to dependencies. | |
28180 | ||
551cc6fd RH |
28181 | 2002-01-04 Richard Henderson <rth@redhat.com> |
28182 | ||
28183 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
28184 | (input_operand): Likewise; accept simple references to globals. | |
28185 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
28186 | (alpha_const_double_ok_for_letter_p): Likewise. | |
28187 | (alpha_extra_constraint): Likewise. | |
28188 | (alpha_preferred_reload_class): Likewise. Do not force | |
28189 | symbolic constants to memory. | |
28190 | (alpha_legitimate_address_p): Accept simple references | |
28191 | to small_symbolic_operand. | |
28192 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
28193 | called when no_new_pseudos. Emit simple symbolic references. | |
28194 | Split integers into low, high, and rest. | |
28195 | (alpha_expand_mov): Use alpha_legitimize_address. | |
28196 | (some_small_symbolic_mem_operand): New. | |
28197 | (split_small_symbolic_mem_operand): New. | |
28198 | * config/alpha/alpha-protos.h: Update. | |
28199 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
28200 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
28201 | (EXTRA_CONSTRAINT): Likewise. | |
28202 | (PREFERRED_RELOAD_CLASS): Likewise. | |
28203 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
28204 | (PREDICATE_CODES): Update. | |
28205 | * config/alpha/alpha.md: New post-reload splitters to convert | |
28206 | simplfied symbolic operands to the form that references $29. | |
28207 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
28208 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
28209 | ||
1eaea054 RH |
28210 | 2002-01-03 Richard Henderson <rth@redhat.com> |
28211 | ||
28212 | * local-alloc.c (function_invariant_p): Update commentary. | |
28213 | ||
c4cc12b7 L |
28214 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
28215 | ||
28216 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
28217 | cleanup_cfg. | |
28218 | ||
173bf5be KH |
28219 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28220 | ||
28221 | * c-common.c: Fix formatting. | |
28222 | * diagnostic.c: Likewise. | |
28223 | * doloop.c: Likewise. | |
28224 | * dwarf2out.c: Likewise. | |
28225 | ||
187462ac KH |
28226 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28227 | ||
28228 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
28229 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
28230 | ||
5d8ebbd8 NB |
28231 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
28232 | ||
28233 | * cpperror.c: Update comments and copyright. | |
28234 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
28235 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
28236 | ||
518c1311 JDA |
28237 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
28238 | ||
28239 | * collect2.c (main): Use strcmp when testing for "-shared". | |
28240 | ||
d15a58c0 NB |
28241 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
28242 | ||
28243 | * cppmacro.c: Don't include intl.h. Update comments. | |
28244 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
28245 | integers; update prototype. | |
28246 | * cppmain.c: Update comments. | |
28247 | ||
70f4f91c WC |
28248 | 2002-01-03 William Cohen <wcohen@redhat.com> |
28249 | ||
28250 | * function.h (struct function): Add profile. | |
28251 | (current_function_profile): New. | |
28252 | doc/extend.texi: Update documentation. | |
28253 | * final.c (final_start_function): Use current_function_profile | |
28254 | instead of profile_flag. | |
28255 | (profile_after_prologue): Likewise. | |
28256 | * function.c (expand_function_start): Likewise. | |
28257 | (expand_function_start): Likewise. | |
c4cc12b7 | 28258 | * config/alpha/alpha.c (direct_call_operand): |
70f4f91c WC |
28259 | (alpha_does_function_need_gp): Likewise. |
28260 | (alpha_expand_prologue): Likewise. | |
28261 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
28262 | thumb_expand_prologue: Likewise. | |
28263 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
28264 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
28265 | (fr30_expand_prologue): Likewise. | |
28266 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
28267 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
28268 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
28269 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
28270 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
28271 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
28272 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
28273 | (m32r_expand_prologue): Likewise. | |
28274 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
28275 | (m88k_expand_prologue): Likewise. | |
28276 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
28277 | * config/mips/mips.c (compute_frame_size): Likewise. | |
28278 | (mips_expand_prologue): Likewise. | |
28279 | (mips_can_use_return_insn): Likewise. | |
28280 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
28281 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
28282 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
28283 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
28284 | * config/romp/romp.c (romp_using_r14): Likewise. | |
28285 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
28286 | (rs6000_stack_info): Likewise. | |
28287 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2fd17409 | 28288 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
70f4f91c WC |
28289 | * config/v850/v850.c (compute_register_save_size): Likewise. |
28290 | ||
cb1ac742 JJ |
28291 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
28292 | ||
28293 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
28294 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
28295 | ||
61d951df | 28296 | 2002-01-03 Turly O'Connor <turly@apple.com> |
cb1ac742 | 28297 | |
61d951df TC |
28298 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
28299 | stub routines for pseudo-stubs which we've just defined. | |
28300 | ||
505ddab6 KH |
28301 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28302 | ||
28303 | * builtins.c: Fix formatting. | |
28304 | * c-typeck.c: Likewise. | |
28305 | * combine.c: Likewise. | |
28306 | * expr.c: Likewise. | |
28307 | * loop.c: Likewise. | |
28308 | ||
b7e30d8a AS |
28309 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
28310 | ||
28311 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
28312 | and return true if _cpp_push_next_buffer pushed a new include | |
28313 | file. | |
28314 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
28315 | _cpp_pop_file_buffer did not push a new file. | |
28316 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
28317 | ||
ff81832f EC |
28318 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
28319 | ||
28320 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
28321 | FIND_REG_INC_NOTE call. Update copyright. | |
28322 | * loop.c (canonicalize_condition): Ditto. | |
28323 | * reorg.c (delete_scheduled_jump): Ditto. | |
28324 | ||
8e42ace1 KH |
28325 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28326 | ||
28327 | * gcse.c: Fix formatting. | |
28328 | ||
fb2bf631 GS |
28329 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28330 | ||
28331 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
28332 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
6253d571 | 28333 | also output corresponding typedefs for rtx, tree, and rtvec. |
fb2bf631 GS |
28334 | |
28335 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
28336 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
6253d571 | 28337 | rtvec to config.h, hconfig.h, tconfig.h. |
fb2bf631 GS |
28338 | |
28339 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
b9daac31 GS |
28340 | |
28341 | * tree.h: Update copyright date. | |
28342 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
28343 | (TREE_SET_CODE): Add whitespace. | |
28344 | (TREE_CHECK): Add parenthesis. | |
28345 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
28346 | (CST_OR_CONSTRUCTOR_CHECK): | |
28347 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
28348 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
28349 | (INT_CST_LT): Likewise. | |
28350 | (INT_CST_LT_UNSIGNED): Likewise. | |
28351 | (tree_real_cst): Unwrap comment. | |
28352 | (tree_string): Likewise. | |
28353 | (tree_complex): Likewise. | |
28354 | (IDENTIFIER_POINTER): correct cast. | |
28355 | (SAVE_EXPR_CONTEXT): Whitespace. | |
28356 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
28357 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
28358 | (DECL_ORIGIN): Add parenthesis. | |
28359 | (DECL_FROM_INLINE): Use NULL_TREE. | |
28360 | (build_int_2): Whitespace. | |
28361 | (build_type_variant): Add parenthesis. | |
28362 | ||
28363 | * gcc/jcf-parse.c: Update copyright date. | |
28364 | (yyparse): Constify resource_filename. | |
28365 | ||
f52eda29 GS |
28366 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28367 | ||
28368 | * rtl.h: Update copyright date. | |
28369 | (RTL_CHECK1): Wrap long line. | |
28370 | (RTL_CHECK2): Likewise. | |
28371 | (RTL_CHECKC1): Wrap long line and whitespace. | |
28372 | (RTL_CHECKC2): Likewise. | |
28373 | (XWINT): Whitespace. | |
28374 | (XINT): Likewise. | |
28375 | (XSTR): Likewise. | |
28376 | (XEXP): Likewise. | |
28377 | (XVEC): Likewise. | |
28378 | (XMODE): Likewise. | |
28379 | (XBITMAP): Likewise. | |
28380 | (XTREE): Likewise. | |
28381 | (XBBDEF): Likewise. | |
28382 | (XTMPL): Likewise. | |
28383 | (X0WINT): Likewise. | |
28384 | (X0INT):Likewise. | |
28385 | (X0UINT): Likewise. | |
28386 | (X0STR): Likewise. | |
28387 | (X0EXP): Likewise. | |
28388 | (X0VEC): Likewise. | |
28389 | (X0MODE): Likewise. | |
28390 | (X0BITMAP): Likewise. | |
28391 | (X0TREE): Likewise. | |
28392 | (X0BBDEF): Likewise. | |
28393 | (X0ADVFLAGS): Likewise. | |
28394 | (X0CSELIB): Likewise. | |
28395 | (X0MEMATTR): Likewise. | |
28396 | (XCWINT): Likewise. | |
28397 | (XCINT): Likewise. | |
28398 | (XCUINT): Likewise. | |
28399 | (XCSTR): Likewise. | |
28400 | (XCEXP): Likewise. | |
28401 | (XCVEC): Likewise. | |
28402 | (XCMODE): Likewise. | |
28403 | (XCBITMAP): Likewise. | |
28404 | (XCTREE): Likewise. | |
28405 | (XCBBDEF): Likewise. | |
28406 | (XCADVFLAGS): Likewise. | |
28407 | (XCCSELIB): Likewise. | |
28408 | (XC2EXP): Likewise. | |
28409 | (INSN_UID): Likewise. | |
28410 | (PREV_INSN): Likewise. | |
28411 | (PATTERN): Likewise. | |
28412 | (INSN_CODE): Likewise. | |
28413 | (PUT_REG_NOTE_KIND): Likewise. | |
28414 | (CODE_LABEL_NUMBER): Likewise. | |
28415 | (NOTE_SOURCE_FILE): Likewise. | |
28416 | (NOTE_BLOCK): Likewise. | |
28417 | (NOTE_EH_HANDLER): Likewise. | |
28418 | (NOTE_RANGE_INFO): Likewise. | |
28419 | (NOTE_LIVE_INFO): Likewise. | |
28420 | (NOTE_BASIC_BLOCK): Likewise. | |
28421 | (NOTE_EXPECTED_VALUE): Likewise. | |
28422 | (NOTE_LINE_NUMBER): Likewise. | |
28423 | (LABEL_NAME): Likewise. | |
28424 | (LABEL_NUSES): Likewise. | |
28425 | (LABEL_ALTERNATE_NAME): Likewise. | |
28426 | (ADDRESSOF_DECL): Likewise. | |
28427 | (JUMP_LABEL): Likewise. | |
28428 | (LABEL_NEXTREF): Likewise. | |
28429 | (REGNO): Likewise. | |
28430 | (ORIGINAL_REGNO: Likewise. | |
28431 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
28432 | (SUBREG_REG): Whitespace. | |
28433 | (SUBREG_BYTE): Likewise. | |
28434 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
28435 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
28436 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
28437 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
28438 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
28439 | (ASM_OPERANDS_INPUT): Likewise. | |
28440 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
28441 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
28442 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
28443 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
28444 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
28445 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
28446 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
28447 | (TRAP_CONDITION): Whitespace. | |
28448 | (TRAP_CODE): Likewise. | |
28449 | (COND_EXEC_TEST): Likewise. | |
28450 | (COND_EXEC_CODE): Likewise. | |
28451 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
28452 | (PHI_NODE_P): Add parenthesis. | |
28453 | (plus_constant): Whitespace and add parenthesis. | |
28454 | ||
e03f5d43 KH |
28455 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28456 | ||
28457 | * config/avr/avr.c: Fix comment typos. | |
28458 | * config/c4x/c4x.md: Likewise. | |
28459 | * config/dsp16xx/dsp16xx.h: Likewise. | |
28460 | * config/dsp16xx/dsp16xx.md: Likewise. | |
28461 | * config/i386/i386.md: Likewise. | |
28462 | * config/ia64/ia64.c: Likewise. | |
28463 | * config/m32r/m32r.h: Likewise. | |
28464 | * config/m68hc11/m68hc11.md: Likewise. | |
28465 | * config/mmix/mmix.c: Likewise. | |
28466 | * config/mn10200/mn10200.c: Likewise. | |
28467 | * config/romp/romp.c: Likewise. | |
28468 | * config/sh/sh.c: Likewise. | |
28469 | * config/stormy16/stormy16.c: Likewise. | |
28470 | * config/stormy16/stormy16.h: Likewise. | |
28471 | * config/stormy16/stormy16.md: Likewise. | |
28472 | ||
97e300e9 GS |
28473 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28474 | ||
28475 | * loop.h: Update copyright date. | |
0d24f4d1 ZW |
28476 | (LOOP_MOVABLES): Fix typo. |
28477 | (LOOP_REGS): Likewise. | |
28478 | (LOOP_IVS): Likewise. | |
ff81832f | 28479 | |
745b26b3 GS |
28480 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28481 | ||
28482 | * cppinit.c: Update copyright date. | |
28483 | Don't include output.h | |
28484 | * Makefile.in: Update copyright date. | |
28485 | Update dependency. | |
28486 | ||
0a379b7a CR |
28487 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
28488 | ||
28489 | PR c/5226 | |
28490 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
28491 | (-pthread) Add to RS/6000 options. | |
28492 | ||
a8154559 KH |
28493 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
28494 | ||
28495 | * except.c: Fix comment typos. | |
28496 | * loop.c: Likewise. | |
28497 | * varasm.c: Likewise. | |
28498 | * doc/tm.texi: Fix a typo. | |
28499 | ||
e6ecc89b JJ |
28500 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
28501 | ||
28502 | * c-typeck.c (output_init_element): Allow initializing static storage | |
28503 | duration objects with compound literals. | |
28504 | ||
d1094b40 RH |
28505 | 2002-01-02 Richard Henderson <rth@redhat.com> |
28506 | ||
28507 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
28508 | after abusing it. | |
28509 | ||
0c5d8c82 KG |
28510 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
28511 | ||
5e65297b KG |
28512 | * gcc.c (default_compilers): Const-ify. |
28513 | * mips-tdump.c (stab_names): Likewise. | |
28514 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
28515 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
28516 | pseudo_ops_t, pseudo_ops): Likewise. | |
28517 | * protoize.c (default_include): Likewise | |
28518 | ||
0c5d8c82 KG |
28519 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
28520 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
28521 | Add array size in declaration. | |
28522 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
28523 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
28524 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
28525 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
28526 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
28527 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
28528 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
28529 | emtens, make_nan): Const-ify. | |
28530 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
28531 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
28532 | ||
817e13c4 JM |
28533 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
28534 | ||
28535 | * config.gcc (ia64-*-*): Set extra_headers. | |
28536 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
28537 | * config/alpha/t-osf: Remove. | |
28538 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
28539 | ||
98095e2b DE |
28540 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
28541 | ||
28542 | * config/rs6000/t-aix43: Revert previous change. | |
28543 | ||
a4200657 JM |
28544 | 2002-01-02 Jason Merrill <jason@redhat.com> |
28545 | ||
28546 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
28547 | emitting an inline function out of line. | |
28548 | ||
54ba1f0d RH |
28549 | 2002-01-02 Richard Henderson <rth@redhat.com> |
28550 | ||
28551 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
28552 | (new_die): New argument created_for. Update all callers. | |
28553 | (mark_limbo_die_list): New. | |
28554 | (dwarf2out_init): Register limbo_die_list as a root. | |
28555 | (dwarf2out_finish): Force insert limbo dies into their function | |
28556 | context. | |
28557 | ||
323728aa NS |
28558 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
28559 | ||
28560 | PR c++/5089 | |
28561 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
28562 | ||
aefc5826 KH |
28563 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
28564 | ||
28565 | * config/h8300/fixunssfsi.c: Update copyright. | |
28566 | Fix comment typos. | |
28567 | Fix formatting. | |
28568 | * config/h8300/h8300.c: Update copyright. | |
28569 | Eliminate warnings. | |
28570 | ||
b1c9bc51 KH |
28571 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
28572 | ||
28573 | * config/romp/romp.c: Fix comment formatting. | |
28574 | * config/romp/romp.h: Likewise. | |
28575 | * config/romp/romp.md: Likewise. | |
28576 | * config/s390/s390.c: Likewise. | |
28577 | * config/stormy16/stormy16.c: Likewise. | |
28578 | * config/stormy16/stormy16.h: Likewise. | |
28579 | ||
1574ef13 AO |
28580 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
28581 | ||
28582 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
28583 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
28584 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
28585 | argument down to expand_expr_stmt_value, taking | |
28586 | TREE_ADDRESSABLE into account. | |
28587 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
28588 | STMT_EXPR as addressable, i.e., one whose result we want. | |
28589 | * expr.c (expand_expr): Don't save expression statement value | |
28590 | of labeled_blocks or loop_exprs. | |
28591 | * stmt.c (expand_expr_stmt): Redirect to... | |
28592 | (expand_expr_stmt_value): ... this new function. Use new | |
28593 | argument to tell whether to save expression value. | |
28594 | (expand_end_stmt_expr): Reset last_expr_type and | |
28595 | last_expr_value if we don't have either. | |
28596 | * tree-inline.c (declare_return_variable): Mark its use | |
28597 | statement as addressable. | |
28598 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
28599 | (expand_expr_stmt_value): Declare. | |
28600 | ||
252b88f7 TR |
28601 | 2002-01-01 Tom Rix <trix@redhat.com> |
28602 | ||
28603 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
28604 | rs6000_emit_allocate_stack. | |
28605 | ||
29f7a208 JM |
28606 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
28607 | ||
28608 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
28609 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
28610 | * configure: Regenerate. | |
28611 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
28612 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
28613 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
28614 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
28615 | ||
2cc2d4bb RK |
28616 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
28617 | ||
28618 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
28619 | and tree_int_cst; remove warnings. | |
28620 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
28621 | (insert_save): Likewise. | |
28622 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
28623 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
28624 | ||
f01c9bcd DR |
28625 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
28626 | ||
16b61764 DR |
28627 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
28628 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
28629 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
28630 | (vms-dwarf2eh.o): Add Makefile rule. | |
28631 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
28632 | * config/alpha/vms-dwarf2eh.asm: New file. | |
28633 | ||
f01c9bcd DR |
28634 | * gcc.c (delete_if_ordinary): Delete all versions. |
28635 | ||
91312b81 HPN |
28636 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
28637 | ||
28638 | * config/mmix/mmix.md: Update FIXME to not mention | |
28639 | define_constants. | |
28640 | (MMIX_rJ_REGNUM): New define_constants constant. | |
28641 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
28642 | "*movdicc_real"): Adjust contraints formatting. | |
28643 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
28644 | for branch prediction. | |
28645 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
28646 | output template. | |
28647 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
28648 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
28649 | number. Delete related FIXMEs. | |
28650 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
28651 | from number to MMIX_rJ_REGNUM. | |
28652 | (TARGET_MASK_BRANCH_PREDICT): New. | |
28653 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
28654 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
28655 | value. Add -mbranch-predict and -mno-branch-predict. | |
28656 | (TARGET_VERSION): Drop date. | |
28657 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
28658 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
28659 | for finding out global symbols. | |
28660 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
28661 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
28662 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
28663 | ||
619acae7 | 28664 | See ChangeLog.6 for earlier changes. |