]>
Commit | Line | Data |
---|---|---|
97b23853 GK |
1 | 2002-09-20 Geoffrey Keating <geoffk@apple.com> |
2 | ||
f51eee6a GK |
3 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change |
4 | to load_macho_picbase. | |
5 | * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs. | |
6 | (load_macho_picbase): Take the symbol to use as a parameter. | |
7 | (macho_correct_pic): New insn. | |
8 | (builtin_setjmp_reciever): On Darwin, restore the PIC register. | |
9 | ||
97b23853 GK |
10 | * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use |
11 | RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30. | |
12 | (CAN_ELIMINATE): Likewise. | |
13 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
14 | (TOC_REGISTER): Likewise. | |
15 | ||
46b33600 RH |
16 | 2002-09-20 Richard Henderson <rth@redhat.com> |
17 | ||
18 | * real.c (real_hash): New. | |
19 | * real.h: Declare it. | |
20 | * cse.c (canon_hash): Use it. | |
21 | * cselib.c (hash_rtx): Likewise. | |
22 | * emit-rtl.c (const_double_htab_hash): Likewise. | |
23 | * rtl.h (CONST_DOUBLE_REAL_VALUE): New. | |
24 | * varasm.c (struct rtx_const): Reduce vector size; separate | |
25 | integer and fp vectors. | |
26 | (HASHBITS): Remove. | |
27 | (const_hash_1): Rename from const_hash. Use real_hash. Do not | |
28 | take modulus MAX_HASH_TABLE. | |
29 | (const_hash): New. Do take modulus MAX_HASH_TABLE. | |
30 | (output_constant_def): Do not take modulus MAX_HASH_TABLE. | |
31 | (SYMHASH): Don't use HASHBITS. | |
32 | (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE. | |
33 | Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison. | |
34 | (simplify_subtraction): Fix kind comparison. | |
35 | (const_hash_rtx): Return unsigned int. Don't use HASHBITS. | |
36 | Use a union to pun integer array. | |
37 | * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash; | |
38 | only hash two words of integral CONST_DOUBLE. | |
39 | ||
40ad65d0 SE |
40 | 2002-09-20 Steve Ellcey <sje@cup.hp.com> |
41 | ||
42 | * config/ia64/hpux.h (STARTFILE_SPEC): Modify. | |
43 | (STARTFILE_PREFIX_SPEC): New. | |
44 | (LINK_SPEC): Modify. | |
45 | (LIB_SPEC): Modify. | |
46 | (LIBGCC_SPEC): New. | |
47 | ||
600f3392 JJ |
48 | 2002-09-20 Jakub Jelinek <jakub@redhat.com> |
49 | ||
50 | * config/i386/i386.c (legitimate_pic_address_disp_p): Allow | |
51 | UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant. | |
52 | ||
c1ff6200 JD |
53 | 2002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
54 | ||
55 | * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit): | |
56 | Add clobber of the condition code register. | |
57 | ||
60b78700 RH |
58 | 2002-09-20 Richard Henderson <rth@redhat.com> |
59 | ||
60 | * real.c (do_fix_trunc): Static. | |
61 | (encode_ieee_single, encode_ieee_double, encode_ieee_extended, | |
62 | encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g, | |
63 | encode_i370_single, encode_i370_double, encode_c4x_single, | |
64 | encode_c4x_extended): Add default abort case. | |
65 | ||
0ee6fdb5 RH |
66 | 2002-09-20 Richard Henderson <rth@redhat.com> |
67 | ||
68 | * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS, | |
69 | MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c. | |
70 | (struct realvaluetype): Remove. | |
71 | (REAL_VALUE_TYPE): Use struct real_value. | |
72 | (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS. | |
73 | (test_real_width): New. | |
74 | * real.c: Global replace struct real_value with REAL_VALUE_TYPE. | |
75 | (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters. | |
76 | (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan, | |
77 | real_isneg, real_isnegzero, real_identical, exact_real_inverse, | |
78 | real_to_integer, real_to_integer2, real_to_decimal, | |
79 | real_to_hexadecimal, real_from_string, real_from_integer, | |
80 | real_inf, real_nan, real_2expN, real_convert, real_to_target, | |
81 | real_from_target): Likewise. | |
82 | * tree.h (struct tree_real_cst): Use real_value not realvaluetype. | |
83 | * gengtype-yacc.y (bitfieldopt): Accept an ID as well. | |
84 | ||
66d93b5a RH |
85 | 2002-09-20 Richard Henderson <rth@redhat.com> |
86 | ||
87 | * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT, | |
88 | IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ... | |
89 | * defaults.h: ... here. | |
90 | * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h, | |
91 | config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h, | |
92 | config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h, | |
93 | config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove. | |
94 | ||
6ee3db61 HPN |
95 | 2002-09-20 Hans-Peter Nilsson <hp@bitrange.com> |
96 | ||
97 | * config/mmix/mmix.md ("negdf2"): Rewrite. | |
98 | ("*expanded_negdf2"): New. | |
99 | ||
ff076520 JW |
100 | 2002-09-19 Jim Wilson <wilson@redhat.com> |
101 | ||
102 | * combine.c (simplify_set): When optimizing a subreg src with a | |
103 | cc0 dest, use GET_MODE (src) for mask instead of inner_mode. | |
104 | ||
307f767b DJ |
105 | 2002-09-19 Dale Johannesen <dalej@apple.com> |
106 | * combine.c (make_extraction): Don't create | |
107 | invalid subreg. | |
108 | ||
cc7ab9b7 UW |
109 | 2002-09-19 Ulrich Weigand <uweigand@de.ibm.com> |
110 | ||
111 | * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG | |
112 | and STRICT_LOW_PART within SET_DEST. | |
113 | * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with | |
114 | splitters, replacing pre-reload splitters. | |
115 | ("*zero_extendhisi2_31", "*zero_extendqisi2_31", | |
116 | "*zero_extendqihi2_31"): New insns. | |
117 | ("*zero_extendqihi2_64"): Do not clobber CC. | |
118 | ||
70b76b34 DP |
119 | 2002-09-18 Devang Patel <dpatel@apple.com> |
120 | ||
121 | * cp/cp-tree.h: New prototype for walk_vtabls(). | |
122 | * cp/decl.c (walk_vtables_r): New function. | |
123 | (struct cp_binding_level): Add new members, namespaces, | |
124 | names_size and vtables. | |
125 | (add_decl_to_level): Add decl in namespaces or vtables | |
126 | chain, if conditions match. | |
127 | (walk_vtables): New function. | |
128 | (walk_namespaces_r): Travers separate namespace chain | |
129 | for namespace decls. | |
130 | (wrapup_globals_for_namespace): Use names_size instead | |
131 | of list_length(). | |
132 | * cp/decl2.c (finish_file): Use walk_vtables() instead of | |
133 | walk_globals() to walk vtable decls. | |
134 | ||
b64ddb88 SE |
135 | 2002-09-19 Steve Ellcey <sje@cup.hp.com> |
136 | ||
137 | * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New. | |
138 | (DTORS_SECTION_ASM_OP): Ditto. | |
139 | (READONLY_DATA_SECTION_ASM_OP): Moved. | |
140 | (DATA_SECTION_ASM_OP): New. | |
141 | (SDATA_SECTION_ASM_OP): New. | |
142 | (BSS_SECTION_ASM_OP): New. | |
143 | (SBSS_SECTION_ASM_OP): New. | |
144 | (TEXT_SECTION_ASM_OP): New. | |
145 | ||
9cd10576 KH |
146 | 2002-09-19 Kazu Hirata <kazu@cs.umass.edu> |
147 | ||
148 | * config/fp-bit.c: Follow spelling conventions. | |
149 | * config/d30v/d30v.c: Likewise. | |
150 | * config/d30v/d30v.h: Likewise. | |
151 | * config/fr30/fr30.c: Likewise. | |
152 | * config/fr30/fr30.h: Likewise. | |
153 | * config/fr30/fr30.md: Likewise. | |
154 | * config/frv/frv.c: Likewise. | |
155 | * config/frv/frv.h: Likewise. | |
156 | * config/h8300/h8300.c: Likewise. | |
157 | * config/h8300/lib1funcs.asm: Likewise. | |
158 | * config/i370/i370.c: Likewise. | |
159 | * config/i386/i386.h: Likewise. | |
160 | * config/i386/i386.md: Likewise. | |
161 | * config/i386/pentium.md: Likewise. | |
162 | * config/i386/winnt.c: Likewise. | |
163 | * config/i960/i960.c: Likewise. | |
164 | * config/ia64/ia64.h: Likewise. | |
165 | * config/ip2k/ip2k.c: Likewise. | |
166 | * config/ip2k/ip2k.h: Likewise. | |
167 | * config/ip2k/ip2k.md: Likewise. | |
168 | * config/ip2k/libgcc.S: Likewise. | |
169 | ||
fff08fd8 SC |
170 | 2002-09-19 Stephen Clarke <stephen.clarke@superh.com> |
171 | ||
172 | * config/sh/sh.h (UNSPEC_GOTOFF_P): Define. | |
173 | (GOTOFF_P): Extend to allow gotoff plus constant. | |
174 | ||
bf3d27e6 RH |
175 | 2002-09-18 Richard Henderson <rth@redhat.com> |
176 | ||
177 | * ifcvt.c (noce_process_if_block): Correctly detect X modified | |
178 | with INSN_B before COND_EARLIEST. Don't check A and B for | |
179 | modification in condition range. Reorder INSN_B for A==B properly. | |
180 | (if_convert): Iterate until no matches for a block. | |
181 | ||
1b1f20ca RH |
182 | 2002-09-18 Richard Henderson <rth@redhat.com> |
183 | ||
184 | * calls.c (store_one_arg): Rename default_align to parm_align; | |
185 | always adjust parm_align for downward padding. | |
186 | ||
724838b9 RH |
187 | 2002-09-18 Richard Henderson <rth@redhat.com> |
188 | ||
189 | * toplev.c (backend_init): Move init_real_once invocation ... | |
190 | (do_compile): ... here. | |
191 | ||
2c67b7c6 RH |
192 | 2002-09-18 Richard Henderson <rth@redhat.com> |
193 | ||
194 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove | |
195 | RTX_UNCHANGING_P markers for successful tail-recursive replacement. | |
196 | ||
15769ca3 RH |
197 | 2002-09-18 Richard Henderson <rth@redhat.com> |
198 | ||
199 | * real.c (round_for_format): Collect sticky as unsigned long, not bool. | |
200 | ||
678b7733 AM |
201 | 2002-09-19 Alan Modra <amodra@bigpond.net.au> |
202 | ||
203 | * config/rs6000/rs6000.md: (floatdisf2): Rename to | |
204 | floatdisf2_internal1. | |
205 | (floatdisf2): New define_expand. | |
206 | (floatdisf2_internal2): Likewise. | |
207 | ||
c402b6bf RH |
208 | 2002-09-18 Richard Henderson <rth@redhat.com> |
209 | ||
210 | * real.c (sticky_rshift_significand): Collect sticky as | |
211 | unsigned long, not bool. | |
212 | ||
dea09b1b UW |
213 | 2002-09-18 Ulrich Weigand <uweigand@de.ibm.com> |
214 | ||
215 | * config/s390/s390.c (s390_address_cost): New function. | |
216 | config/s390/s390-protos.h (s390_address_cost): Add prototype. | |
217 | config/s390/s390.h (ADDRESS_COST): Call s390_address_cost. | |
218 | (RTX_COST): Use COSTS_N_INSNS. | |
219 | ||
e4850f36 DR |
220 | 2002-09-18 Douglas Rupp <rupp@gnat.com> |
221 | Donn Terry <donnte@microsoft.com> | |
222 | ||
223 | * stor-layout.c (place_field): Handle alignment of whole | |
224 | structures when MSVC compatible bitfields are involved. | |
225 | Change method of computing location of MS bitfields to | |
226 | be compatible with #pragma pack(n). | |
227 | ||
228 | * tree.h (record_layout_info): Add new field | |
229 | remaining_in_alignment. | |
230 | ||
231 | * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update. | |
232 | (pragma pack): Add paragraph on MSVC bitfield packing. | |
233 | ||
872e50d3 RE |
234 | 2002-09-18 Richard Earnshaw (reanrsha@arm.com) |
235 | ||
236 | PR optimization/7967 | |
237 | * arm.md (ne_zeroextractsi): Add clobber of the condition code | |
238 | register. | |
239 | ||
5e7a8ee0 KH |
240 | 2002-09-18 Kazu Hirata <kazu@cs.umass.edu> |
241 | ||
9cd10576 | 242 | * config/s390/s390.c: Follow spelling conventions. |
5e7a8ee0 KH |
243 | * config/sh/lib1funcs.asm: Likewise. |
244 | * config/sh/sh.c: Likewise. | |
245 | * config/sh/sh.h: Likewise. | |
246 | * config/sparc/sparc.c: Likewise. | |
247 | * config/sparc/sparc.h: Likewise. | |
248 | * config/sparc/sparc.md: Likewise. | |
249 | * config/stormy16/stormy16.c: Likewise. | |
250 | * config/stormy16/stormy16.h: Likewise. | |
251 | * config/v850/v850.c: Likewise. | |
252 | * config/v850/v850.h: Likewise. | |
253 | * config/vax/vax.c: Likewise. | |
254 | * config/vax/vax.h: Likewise. | |
255 | ||
00a892b8 NC |
256 | 2002-09-18 Nick Clifton <nickc@redhat.com> |
257 | ||
258 | * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves. | |
259 | * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode. | |
260 | * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns. | |
261 | ||
bfb53001 ZW |
262 | 2002-09-17 Zack Weinberg <zack@codesourcery.com> |
263 | ||
264 | * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date | |
265 | statement that the only translation is to en_UK. | |
266 | ||
825dda42 KH |
267 | 2002-09-17 Kazu Hirata <kazu@cs.umass.edu> |
268 | ||
269 | * config/alpha/alpha.c: Follow spelling conventions. | |
270 | * config/alpha/alpha.h: Likewise. | |
271 | * config/alpha/alpha.md: Likewise. | |
272 | * config/arc/arc.h: Likewise. | |
273 | * config/arm/arm.c: Likewise. | |
274 | * config/arm/arm.h: Likewise. | |
275 | * config/arm/arm.md: Likewise. | |
276 | * config/arm/pe.c: Likewise. | |
277 | * config/arm/unknown-elf.h: Likewise. | |
278 | * config/avr/avr.c: Likewise. | |
279 | * config/avr/avr.h: Likewise. | |
280 | * config/c4x/c4x.c: Likewise. | |
281 | * config/cris/cris.c: Likewise. | |
282 | * config/cris/cris.h: Likewise. | |
283 | ||
8e16ab99 | 284 | 2002-09-17 Samuel Figueroa <figueroa@apple.com> |
825dda42 | 285 | |
8e16ab99 SF |
286 | * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP. |
287 | * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro. | |
288 | * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description. | |
289 | ||
ac19be7e | 290 | 2002-09-17 Dale Johannesen <dalej@apple.com> |
825dda42 | 291 | |
ac19be7e DJ |
292 | * cfgcleanup.c (try_forward_edges): Do not forward a |
293 | branch to just after a loop exit before loop optimization; | |
294 | this interfered with doloop detection. | |
295 | ||
f1acdf8b NC |
296 | 2002-09-17 Nick Clifton <nickc@redhat.com> |
297 | ||
298 | * config/arm/arm.c (output_return_instruction): Do not | |
299 | writeback the stack pointer when it is being loaded. | |
300 | (arm_output_epilogue): Likewise. | |
301 | ||
24491a09 KH |
302 | 2002-09-17 Kazu Hirata <kazu@cs.umass.edu> |
303 | ||
304 | * optabs.c (prepare_cmp_insn): Let emit_library_call_value | |
305 | generate a pseudo reg that receives the result of a libcall. | |
306 | (prepare_float_lib_cmp): Likewise. | |
307 | ||
e6c247e0 SE |
308 | 2002-09-17 Steve Ellcey <sje@cup.hp.com> |
309 | ||
310 | * config/ia64/elf.h: Remove CPP_PREDEFINES. | |
311 | ||
1074d9d4 NP |
312 | Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it> |
313 | ||
314 | Fix PR/7014 and related objc bugs: | |
315 | * c-typeck.c (comp_target_types): Added a reflexive argument. | |
316 | Pass it to ObjC when/if calling objc_comptypes(). Updated all | |
317 | callers to provide the appropriate reflexive argument. | |
318 | * objc/objc-act.c (objc_comptypes): Carefully checked and fixed | |
319 | typechecking for all cases of comparisons and assignments, | |
320 | particularly the obscure and less common ones involving protocols. | |
321 | ||
256e9fd2 NC |
322 | 2002-09-17 Nick Clifton <nickc@redhat.com> |
323 | ||
324 | * machmode.def (V1DImode): New mode. A single element vector. | |
325 | * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums. | |
326 | (unsigned_V1DI_type_node, V1D1_type_node): New type nodes. | |
327 | * tree.c (build_common_tree_nodes_2): Build | |
328 | unsigned_V1DI_type_node and V1D1_type_node. | |
329 | * c-common.c (c_common_type_for_mode): Return | |
330 | unsigned_V1DI_type_node or V1D1_type_node for V1DImode. | |
331 | * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode. | |
332 | ||
838c4534 NP |
333 | Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it> |
334 | ||
335 | * doc/objc.texi (Constant string objects): Extended documentation | |
336 | to make clear that the constant string class ivar layout is | |
337 | completely fixed. | |
338 | ||
07532fad RS |
339 | 2002-09-17 Roger Sayle <roger@eyesopen.com> |
340 | ||
341 | * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned | |
342 | NOTE_INSN_LOOP_CONT notes when deleting basic blocks. | |
343 | ||
cb38fd88 RH |
344 | 2002-09-16 Richard Henderson <rth@redhat.com> |
345 | ||
346 | * expr.c (emit_block_move): Set memory block size as appropriate | |
347 | for the copy. | |
348 | ||
bd055118 RH |
349 | 2002-09-16 Richard Henderson <rth@redhat.com> |
350 | ||
351 | PR fortran/3924 | |
352 | * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol. | |
353 | ||
8c317c5f RH |
354 | 2002-09-16 Richard Henderson <rth@redhat.com> |
355 | ||
356 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE | |
357 | as well as OFFSET for BITPOS. | |
358 | ||
3780101d JG |
359 | 2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com> |
360 | ||
361 | * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx. | |
362 | * config/i386/i386.c (processor_alias_table): Add winchip-c6, | |
363 | winchip2 and c3. | |
364 | * doc/invoke.texi: Mention new aliases. | |
365 | ||
9dff28ab JDA |
366 | 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
367 | ||
368 | * calls.c (store_one_arg): Set default alignment for BLKmode arguments | |
369 | to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is | |
370 | downward. | |
371 | * function.c (pad_below): Always compile. | |
372 | (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to | |
373 | alignment when it is not in a register or REG_PARM_STACK_SPACE is true. | |
374 | Pad below when the argument is not in a register and the padding | |
375 | direction is downward. | |
376 | ||
377 | * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h. | |
378 | (PAD_VARARGS_DOWN): Define. | |
379 | * pa.c (function_arg_padding): Revise padding directions to make them | |
380 | compatible with the 32 and 64-bit runtime architecture documentation. | |
381 | (hppa_va_arg): Add code to handle variable and size zero arguments | |
382 | passed by reference on TARGET_64BIT. Reformat. | |
383 | (function_arg): Use a PARALLEL for BLKmode and aggregates args on | |
384 | TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes | |
385 | wide when !TARGET_64BIT. Move forward check for mode==VOIDmode. | |
386 | Add comments. | |
387 | * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT. | |
388 | (RETURN_IN_MEMORY): Return size zero types in memory. | |
389 | (FUNCTION_VALUE): Return TFmode in general registers. | |
390 | (MUST_PASS_IN_STACK): Define. | |
391 | (FUNCTION_ARG_BOUNDARY): Simplify. | |
392 | (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types | |
393 | by reference. | |
394 | (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE. | |
395 | ||
94313f35 RH |
396 | 2002-09-16 Richard Henderson <rth@redhat.com> |
397 | ||
398 | * real.c (do_fix_trunc): New. | |
399 | (real_arithmetic): Call it. | |
400 | * simplify-rtx.c (simplify_unary_operation): Handle FIX | |
401 | with a floating-point result mode. | |
402 | ||
1472e41c RH |
403 | 2002-09-16 Richard Henderson <rth@redhat.com> |
404 | ||
405 | * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New. | |
406 | (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New. | |
407 | * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New. | |
408 | (__builtin_nans, __builtin_nansf, __builtin_nansl): New. | |
409 | * builtins.c (fold_builtin_nan): New. | |
410 | (fold_builtin): Call it. | |
411 | * real.c (real_nan): Parse a non-empty string. | |
412 | (round_for_format): Fix NaN significand truncation. | |
413 | * real.h (real_nan): Return bool. | |
414 | * doc/extend.texi: Document new builtins. | |
415 | ||
f354b828 JM |
416 | 2002-09-16 Jason Merrill <jason@redhat.com> |
417 | Danny Smith <dannysmith@users.sourceforge.net> | |
418 | ||
419 | * config/i386/winnt.c (ix86_handle_dll_attribute): Set | |
420 | DECL_EXTERN and TREE_PUBLIC for dllimported variables here... | |
421 | (i386_pe_mark_dllimport): Not here. | |
422 | ||
85341ddd NS |
423 | 2002-09-16 Nathan Sidwell <nathan@codesourcery.com> |
424 | ||
425 | * c-semantics.c (genrtl_do_stmt): Cope with NULL cond. | |
426 | ||
045572c7 GK |
427 | 2002-09-16 Geoffrey Keating <geoffk@redhat.com> |
428 | ||
429 | * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress | |
430 | warnings about unused operands when HOST_BITS_PER_WIDE_INT is | |
431 | < 64. | |
432 | (rs6000_emit_cmove): Use real_isinf not target_isinf. | |
433 | ||
d57551c7 KH |
434 | 2002-09-16 Kazu Hirata <kazu@cs.umass.edu> |
435 | ||
436 | * calls.c (emit_library_call_value_1): Don't refer to | |
437 | hard_libcall_value. | |
438 | * optabs.c (prepare_float_lib_cmp): Likewise. | |
439 | ||
36a5eadd GK |
440 | 2002-09-16 Geoffrey Keating <geoffk@apple.com> |
441 | ||
442 | * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name | |
443 | mangling. | |
444 | ||
445 | The following changes are merged from pch-branch: | |
446 | ||
447 | * doc/gty.texi (GTY Options): Document %a. | |
448 | * gengtype.c (do_scalar_typedef): New function. | |
449 | (process_gc_options): Handle `length' option. | |
450 | (set_gc_used_type): A pointer to an array of structures doesn't | |
451 | qualify as a pointer to a structure. | |
452 | (output_escaped_param): Add `%a' escape. | |
453 | (write_gc_structure_fields): Allow 'desc' on array of unions. | |
454 | (main): Define `uint8', `jword' and `JCF_u2' as scalars; use | |
455 | do_scalar_typedef. | |
456 | ||
457 | * gengtype.c (enum rtx_code): Make global. | |
458 | (rtx_format): Make global. | |
459 | (rtx_next): New. | |
460 | (gen_rtx_next): New. | |
461 | (write_rtx_next): New. | |
462 | (adjust_field_rtx_def): Skip fields marked by chain_next. | |
463 | (open_base_files): Delete redundant prototype. | |
464 | (write_enum_defn): New. | |
465 | (output_mangled_typename): Correct abort call. | |
466 | (write_gc_marker_routine_for_structure): Handle chain_next and | |
467 | chain_prev options. | |
468 | (finish_root_table): Don't output redundant \n. | |
469 | (main): Call gen_rtx_next, write_rtx_next, write_enum_defn. | |
470 | * c-tree.h (union lang_tree_node): Add chain_next option. | |
471 | ||
472 | * gengtype.h (NUM_PARAM): New definition. | |
473 | (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters. | |
474 | * gengtype.c (find_param_structure): New. | |
475 | (adjust_field_type): Handle param<n>_is option. | |
476 | (process_gc_options): Detect use_params option. Update callers. | |
477 | (set_gc_used_type): Add 'param' parameter, update callers. Handle | |
478 | 'use_params' option. | |
479 | (open_base_files): Add splay-tree.h to list of files included. | |
480 | (output_mangled_typename): New. | |
481 | (write_gc_structure_fields): Update 'param' parameter to support | |
482 | multiple parameters. Change name mangling. Allow parameterized | |
483 | fields to have an apparent scalar type. Handle param<n>_is options, | |
484 | use_param option. | |
485 | (write_gc_marker_routine_for_structure): Update for change to name | |
486 | mangling. Better guess the output file for parameterized types. | |
487 | (write_gc_types): Update for change to name mangling. | |
488 | (write_gc_root): Update for change to name mangling. Handle (ignore) | |
489 | param<n>_is options. | |
490 | * doc/gty.texi (GTY Options): Add description of param<n>_is | |
491 | options, use_params option. | |
492 | * ggc.h (ggc_mark_rtx): Update for changed name mangling. | |
493 | * gengtype-lex.l: Produce token for param<n>_is. | |
494 | * gengtype-yacc.y: Parse param<n>_is. | |
495 | ||
496 | * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'. | |
497 | ||
498 | * rtl.c: Update comment describing rtx_format. | |
499 | * rtl.h (union rtunion): Separate definition and typedef. | |
500 | (struct rtx_def): Use gengtype to mark. | |
501 | * Makefile.in (gengtype.o): Also depend on rtl.def. | |
502 | * ggc.h (ggc_mark_rtx_children): Delete prototype. | |
503 | (ggc_mark_rtx): Change to alias of gengtype-generated routine. | |
504 | * ggc-common.c (ggc_mark_rtx_children): Delete. | |
505 | (ggc_mark_rtx_children_1): Delete. | |
506 | (gt_ggc_m_rtx_def): Delete. | |
507 | * gengtype.c (adjust_field_rtx_def): New. | |
508 | (adjust_field_type): Call adjust_field_rtx_def. | |
509 | (write_gc_structure_fields): Add 'default' case to switch if none | |
510 | is specified; remove unused code. | |
511 | ||
512 | * tree.h (struct tree_exp): Update for change to meaning | |
513 | of special. | |
514 | * gengtype.c (adjust_field_tree_exp): New function. | |
515 | (adjust_field_type): Handle `tree_exp' special here. | |
516 | (write_gc_structure_fields): Don't handle `tree_exp' special here. | |
517 | Handle new `dot' option. | |
518 | ||
519 | * gengtype.h: Make `info' a pointer-to-const. | |
520 | * gengtype-yacc.y (yacc_ids): Use xasprintf. | |
521 | ||
522 | * gengtype.c (write_gc_structure_fields): Remove implementation | |
523 | of `always' option, add `default' option. | |
524 | * doc/gty.texi (GTY Options): Remove documentation of `always', | |
525 | add `default'. | |
526 | ||
a7f6d760 HPN |
527 | 2002-09-16 Hans-Peter Nilsson <hp@bitrange.com> |
528 | ||
529 | * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE. | |
530 | ||
245ff137 KG |
531 | 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
532 | ||
7c3414b6 KG |
533 | * m68hc11.md (addhi_sp): Fix uninitialized variable bug. |
534 | ||
245ff137 KG |
535 | * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h |
536 | instead of the *-protos.h file directly. | |
537 | * t-c4x, t-i370, t-v850: Depend on $(TM_P_H). | |
538 | * darwin.c (machopic_output_stub): Move prototype ... | |
539 | * darwin-protos.h (machopic_output_stub): ... here. | |
540 | * rs6000-protos.h (machopic_output_stub): Don't declare. | |
541 | ||
ac520ec9 RH |
542 | 2002-09-16 Richard Henderson <rth@redhat.com> |
543 | ||
544 | * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__. | |
545 | ||
efdc7e19 RH |
546 | 2002-09-16 Richard Henderson <rth@redhat.com> |
547 | ||
548 | * real.c, real.h: Rewrite from scratch. | |
549 | ||
550 | * Makefile.in (simplify-rtx.o): Depend on TREE_H. | |
551 | (paranoia): New target. | |
552 | * builtins.c (fold_builtin_inf): Use new real.h interface. | |
553 | * c-common.c (builtin_define_with_hex_fp_value): Likewise. | |
554 | * c-lex.c (interpret_float): Likewise. | |
555 | * emit-rtl.c (gen_lowpart_common): Likewise. | |
556 | * optabs.c (expand_float): Use real_2expN. | |
557 | * config/ia64/ia64.md (divsi3, udivsi3): Likewise. | |
558 | * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New. | |
559 | (FLOAT_WORDS_BIG_ENDIAN): New. | |
560 | * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE | |
561 | directly to REAL_VALUE_NEGATIVE. | |
562 | * loop.c (canonicalize_condition): Likewise. | |
563 | * simplify-rtx.c: Include tree.h. | |
564 | (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX | |
565 | with floating-point result modes. | |
566 | * toplev.c (backend_init): Call init_real_once. | |
567 | ||
568 | * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE. | |
569 | * tree.c (build_real): Likewise. | |
570 | * config/alpha/alpha.c, config/vax/vax.c (float_strings, | |
571 | float_values, inited_float_values, check_float_value): Remove. | |
572 | * config/alpha/alpha.h, config/m68hc11/m68hc11.h, | |
573 | config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove. | |
574 | * doc/tm.texi (CHECK_FLOAT_VALUE): Remove. | |
575 | (VAX_HALFWORD_ORDER): Remove. | |
576 | ||
a41c6c53 UW |
577 | 2002-09-16 Ulrich Weigand <uweigand@de.ibm.com> |
578 | ||
579 | * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ... | |
580 | (s390_load_address): ... this new function. | |
581 | (s390_decompose_address): Allow the argument pointer and all | |
582 | virtual registers as 'pointer' registers. | |
583 | (s390_expand_plus_operand): Use s390_load_address. | |
584 | config/s390/s390.md (movti, movdi, movdf splitters): Likewise. | |
585 | ("force_la_31"): New insn pattern. | |
586 | config/s390/s390-protos.h (legitimize_la_operand): Remove. | |
587 | (s390_load_address): Add prototype. | |
588 | ||
589 | * config/s390/s390.c: Include "optabs.h". | |
590 | (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New. | |
591 | config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr, | |
592 | s390_expand_cmpstr): Add prototypes. | |
593 | config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr. | |
594 | ("movstrdi_short"): Rename to "movstr_short_64". Change predicates | |
595 | for operands 0 and 1 to "memory_operand". Add type attribute. | |
596 | ("movstrsi_short"): Rename to "movstr_short_31". Change predicates | |
597 | for operands 0 and 1 to "memory_operand". Add type attribute. | |
598 | ("movstrdi_long", "movstrsi_long"): Remove. | |
599 | ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute. | |
600 | ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute. | |
601 | ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr. | |
602 | ("clrstrsico"): Remove, replace by ... | |
603 | ("clrstr_short_64", "clrstr_short_31"): ... these new patterns. | |
604 | ("clrstrsi_64"): Rename to "clrstr_long_64". | |
605 | ("clrstrsi_31"): Rename to "clrstr_long_31". | |
606 | ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr. | |
607 | ("cmpstr_const"): Remove, replace by ... | |
608 | ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns. | |
609 | ("cmpstr_64"): Rename to "cmpstr_long_64". | |
610 | ("cmpstr_31"): Rename to "cmpstr_long_31". | |
611 | ||
8d9afc4e KH |
612 | 2002-09-16 Kazu Hirata <kazu@cs.umass.edu> |
613 | ||
614 | * ABOUT-NLS: Follow spelling conventions. | |
615 | * ChangeLog: Likewise. | |
616 | * ChangeLog.1: Likewise. | |
617 | * ChangeLog.2: Likewise. | |
618 | * ChangeLog.3: Likewise. | |
619 | * ChangeLog.4: Likewise. | |
620 | * ChangeLog.5: Likewise. | |
621 | * ChangeLog.6: Likewise. | |
622 | * FSFChangeLog.10: Likewise. | |
623 | * FSFChangeLog.11: Likewise. | |
624 | * c-common.c: Likewise. | |
625 | * c-lex.c: Likewise. | |
626 | * c-objc-common.c: Likewise. | |
627 | * cppexp.c: Likewise. | |
628 | * cppinit.c: Likewise. | |
629 | * cpplex.c: Likewise. | |
630 | * doloop.c: Likewise. | |
631 | * flow.c: Likewise. | |
632 | * function.c: Likewise. | |
633 | * integrate.c: Likewise. | |
634 | * loop.c: Likewise. | |
635 | * reg-stack.c: Likewise. | |
636 | * reload.h: Likewise. | |
637 | * ssa.c: Likewise. | |
638 | ||
981f6289 KH |
639 | 2002-09-15 Kazu Hirata <kazu@cs.umass.edu> |
640 | ||
641 | * ChangeLog: Follow spelling conventions. | |
642 | * ChangeLog.0: Likewise. | |
643 | * ChangeLog.1: Likewise. | |
644 | * ChangeLog.2: Likewise. | |
645 | * ChangeLog.4: Likewise. | |
646 | * ChangeLog.6: Likewise. | |
647 | * config.gcc: Likewise. | |
648 | * dwarfout.c: Likewise. | |
649 | * reload1.c: Likewise. | |
650 | * simplify-rtx.c: Likewise. | |
651 | * unwind-sjlj.c: Likewise. | |
652 | * config/avr/avr.h: Likewise. | |
653 | * config/d30v/d30v.h: Likewise. | |
654 | * config/frv/frv.c: Likewise. | |
655 | * config/frv/frv.h: Likewise. | |
656 | * config/ip2k/ip2k.h: Likewise. | |
657 | * config/m88k/m88k-move.sh: Likewise. | |
658 | * config/stormy16/stormy16.c: Likewise. | |
659 | * config/stormy16/stormy16.h: Likewise. | |
660 | * doc/extend.texi: Likewise. | |
661 | * doc/interface.texi: Likewise. | |
662 | * doc/invoke.texi: Likewise. | |
663 | * doc/md.texi: Likewise. | |
664 | * doc/rtl.texi: Likewise. | |
665 | * doc/tm.texi: Likewise. | |
666 | * doc/trouble.texi: Likewise. | |
667 | * ginclude/float.h: Likewise. | |
668 | * treelang/treelang.texi: Likewise. | |
669 | ||
8764eef7 KG |
670 | 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
671 | ||
bb6155b5 KG |
672 | * i386-protos.h (i386_pe_dllexport_name_p, |
673 | i386_pe_dllimport_name_p, i386_pe_unique_section, | |
674 | i386_pe_declare_function_type, i386_pe_record_external_function, | |
675 | i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add | |
676 | prototype. | |
677 | * i386/t-cygwin (winnt.o): Depend on $(TM_P_H). | |
678 | * i386/t-interix (winnt.o): Likewise. | |
679 | ||
8764eef7 KG |
680 | * v850-protos.h (v850_output_addr_const_extra): Prototype. |
681 | ||
a24f7c1a JT |
682 | 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com> |
683 | ||
684 | * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add | |
685 | MIPS ABI CPP macros. | |
686 | (TARGET_CPU_CPP_BUILTINS): Redefine. | |
687 | (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default. | |
688 | (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove. | |
689 | ||
bd25febf KG |
690 | 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
691 | ||
692 | * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo. | |
693 | ||
05713b80 KH |
694 | 2002-09-15 Kazu Hirata <kazu@cs.umass.edu> |
695 | ||
696 | * ChangeLog: Follow spelling conventions. | |
697 | * ChangeLog.0: Likewise. | |
698 | * ChangeLog.1: Likewise. | |
699 | * ChangeLog.2: Likewise. | |
700 | * ChangeLog.3: Likewise. | |
701 | * ChangeLog.4: Likewise. | |
702 | * ChangeLog.5: Likewise. | |
703 | * ChangeLog.6: Likewise. | |
704 | * FSFChangeLog.10: Likewise. | |
705 | * FSFChangeLog.11: Likewise. | |
706 | * c-common.c: Likewise. | |
707 | * c-common.h: Likewise. | |
708 | * c-format.c: Likewise. | |
709 | * c-opts.c: Likewise. | |
710 | * cpplib.c: Likewise. | |
711 | * langhooks.h: Likewise. | |
712 | * real.c: Likewise. | |
713 | * reg-stack.c: Likewise. | |
714 | * toplev.c: Likewise. | |
715 | * config/arm/arm.c: Likewise. | |
716 | * config/arm/arm.md: Likewise. | |
717 | * config/arm/linux-gas.h: Likewise. | |
718 | * config/arm/netbsd.h: Likewise. | |
719 | * config/c4x/c4x.c: Likewise. | |
720 | * config/c4x/c4x.h: Likewise. | |
721 | * config/c4x/c4x.md: Likewise. | |
722 | * config/c4x/libgcc.S: Likewise. | |
723 | * config/fr30/fr30.md: Likewise. | |
724 | * config/frv/frv.md: Likewise. | |
725 | * config/ia64/ia64.md: Likewise. | |
726 | * config/mips/mips.h: Likewise. | |
727 | * config/mn10300/mn10300.c: Likewise. | |
728 | * config/stormy16/stormy16.c: Likewise. | |
729 | * config/v850/v850.md: Likewise. | |
730 | * doc/extend.texi: Likewise. | |
731 | * doc/invoke.texi: Likewise. | |
732 | * doc/md.texi: Likewise. | |
733 | ||
b0c2b2f9 JT |
734 | 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com> |
735 | ||
736 | * config/netbsd.h (LIB_SPEC): Include the appropriate pthread | |
737 | library if -pthread is specified. | |
738 | ||
a0494c05 JT |
739 | 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com> |
740 | ||
741 | * config.gcc (*-*-netbsd*): Set thread_file to 'posix' | |
742 | for --enable-threads=yes and --enable-threads=posix. | |
743 | ||
56149abc KH |
744 | 2002-09-15 Kazu Hirata <kazu@cs.umass.edu> |
745 | ||
746 | * config/sparc/cypress.md: Replace Sparc with SPARC. | |
747 | * config/sparc/freebsd.h: Likewise. | |
748 | * config/sparc/gmon-sol2.c: Likewise. | |
749 | * config/sparc/hypersparc.md: Likewise. | |
750 | * config/sparc/lb1spc.asm: Likewise. | |
751 | * config/sparc/lb1spl.asm: Likewise. | |
752 | * config/sparc/linux.h: Likewise. | |
753 | * config/sparc/linux64.h: Likewise. | |
754 | * config/sparc/lynx.h: Likewise. | |
755 | * config/sparc/sol2.h: Likewise. | |
756 | * config/sparc/sparc-modes.def: Likewise. | |
757 | * config/sparc/sparc.c: Likewise. | |
758 | * config/sparc/sparc.h: Likewise. | |
759 | * config/sparc/sparc.md: Likewise. | |
760 | * config/sparc/sparclet.md: Likewise. | |
761 | * config/sparc/supersparc.md: Likewise. | |
762 | * config/sparc/sysv4.h: Likewise. | |
763 | * config/sparc/vxsim.h: Likewise. | |
764 | * config/sparc/vxsparc64.h: Likewise. | |
765 | ||
3eaf7a3c MM |
766 | 2002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl> |
767 | ||
768 | * config/avr/avr.c (output.h): Move after inclusion of tree.h. | |
769 | ||
4912a07c KH |
770 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
771 | ||
772 | * ChangeLog: Follow spelling conventions. | |
773 | * ChangeLog.0: Likewise. | |
774 | * ChangeLog.2: Likewise. | |
775 | * ChangeLog.3: Likewise. | |
776 | * ChangeLog.4: Likewise. | |
777 | * ChangeLog.5: Likewise. | |
778 | * ChangeLog.6: Likewise. | |
779 | * cppfiles.c: Likewise. | |
780 | * cppinit.c: Likewise. | |
781 | * cpplib.h: Likewise. | |
782 | * cse.c: Likewise. | |
783 | * debug.h: Likewise. | |
784 | * df.c: Likewise. | |
785 | * dominance.c: Likewise. | |
786 | * hashtable.c: Likewise. | |
787 | * hashtable.h: Likewise. | |
788 | * loop.c: Likewise. | |
789 | * config/arm/README-interworking: Likewise. | |
790 | * config/arm/arm.c: Likewise. | |
791 | * config/arm/arm.h: Likewise. | |
792 | * config/arm/arm.md: Likewise. | |
793 | * config/dsp16xx/dsp16xx.h: Likewise. | |
794 | * config/frv/frv.c: Likewise. | |
795 | * config/frv/frv.h: Likewise. | |
796 | * config/ip2k/ip2k.h: Likewise. | |
797 | * config/rs6000/rs6000.c: Likewise. | |
798 | * config/stormy16/stormy-abi: Likewise. | |
799 | * config/stormy16/stormy16.h: Likewise. | |
800 | * config/v850/v850.c: Likewise. | |
801 | ||
3dc60fc7 KH |
802 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
803 | ||
804 | * loop.c: Fix a comment typo. | |
805 | ||
a920aefe KH |
806 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
807 | ||
808 | * config/fr30/fr30.h: Fix comment typos. | |
809 | * config/frv/frv.c: Likewise. | |
810 | * config/i386/xmmintrin.h: Likewise. | |
811 | * config/mips/mips.c: Likewise. | |
812 | * config/sh/sh.c: Likewise. | |
813 | ||
88cad84b KH |
814 | 2002-09-14 Kazu Hirata <kazu@cs.umass.edu> |
815 | ||
816 | * haifa-sched.c: Follow spelling conventions. | |
817 | * regclass.c: Likewise. | |
818 | * regrename.c: Likewise. | |
819 | * config/fp-bit.c: Likewise. | |
820 | * config/frv/frv.h: Likewise. | |
821 | * config/m88k/m88k.c: Likewise. | |
822 | * config/mcore/mcore.c: Likewise. | |
823 | * config/rs6000/darwin.h: Likewise. | |
824 | * config/rs6000/gnu.h: Likewise. | |
825 | * config/rs6000/linux.h: Likewise. | |
826 | * config/rs6000/linux64.h: Likewise. | |
827 | * config/rs6000/rs6000.c: Likewise. | |
828 | * config/rs6000/rs6000.h: Likewise. | |
829 | * config/sh/sh.c: Likewise. | |
830 | * config/sparc/sparc.c: Likewise. | |
831 | * config/sparc/ultra1_2.md: Likewise. | |
832 | ||
f197f1cf SC |
833 | 2002-09-14 Stephane Carrez <stcarrez@nerim.fr> |
834 | ||
835 | * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable | |
836 | memory operand when source is 0 (K constraint). | |
837 | ("movsi_internal"): Likewise. | |
838 | ("movdf_internal"): Likewise. | |
839 | ("movsf_internal"): Likewise. | |
840 | ||
b629ba0c AM |
841 | 2002-09-14 Alan Modra <amodra@bigpond.net.au> |
842 | ||
843 | * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use | |
844 | targetm.binds_local_p to set SYMBOL_REF_FLAG. | |
845 | (rs6000_xcoff_encode_section_info): Likewise. | |
846 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
847 | ||
2e485129 TR |
848 | 2002-09-10 Theodore A. Roth <troth@verinet.com> |
849 | ||
850 | * gcc/config/avr/avr.h: Set default options for C++ for avr. | |
851 | ||
907aee69 RH |
852 | 2002-09-13 Richard Henderson <rth@redhat.com> |
853 | ||
854 | * Makefile.in (toplev.o): Depend on real.h. | |
855 | (print-rtl.o, varasm.o, ifcvt.o): Likewise. | |
856 | ||
374b0b7d AM |
857 | 2002-09-14 Alan Modra <amodra@bigpond.net.au> |
858 | ||
859 | * doc/tm.texi (DBX_OUTPUT_NFUN): Describe. | |
860 | * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN. | |
861 | * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define. | |
862 | ||
690eed2c NS |
863 | 2002-09-13 Nathan Sidwell <nathan@codesourcery.com> |
864 | ||
865 | * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables. | |
866 | ||
32b4f6f4 SE |
867 | 2002-09-13 Steve Ellcey <sje@cup.hp.com> |
868 | ||
869 | * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*, | |
870 | ia64*-*-linux*): Set extra_parts. | |
871 | * config/ia64/t-aix (EXTRA_PARTS): Remove. | |
872 | * config/ia64/t-ia64 (EXTRA_PARTS): Remove. | |
873 | ||
3db11b5c KH |
874 | 2002-09-13 Kazu Hirata <kazu@cs.umass.edu> |
875 | ||
876 | * config/h8300/fixunssfsi.c: Replace H8/S with H8S. | |
877 | * config/h8300/h8300.c: Likewise. | |
878 | * config/h8300/h8300.h: Likewise. | |
879 | * config/h8300/h8300.md: Likewise. | |
880 | * doc/invoke.texi: Likewise. | |
881 | ||
b6894857 KH |
882 | 2002-09-13 Kazu Hirata <kazu@cs.umass.edu> |
883 | ||
884 | * config/h8300/h8300.c (h8300_init_once): Fix formatting. | |
885 | ||
6c6e776d | 886 | 2002-09-13 Matt Austern <austern@apple.com> |
b6894857 | 887 | |
6c6e776d MA |
888 | * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p. |
889 | * cp/call.c: Change call-by-const-reference mechanism to use | |
890 | non_cast_lvalue_p when deciding whether the create a temporary. | |
891 | We need a temporary when passing, e.g. (long) x by const ref. | |
892 | * testsuite/g++.dg/other/constref[12].C: New, regression tests for | |
893 | passing a cast expression to a function by const reference. | |
894 | ||
d5909a79 RH |
895 | 2002-09-13 Richard Henderson <rth@redhat.com> |
896 | ||
897 | * config/alpha/alpha.md (attr type): Add callpal. | |
898 | (imb, trap, load_tp, set_tp): Use it. | |
899 | * config/alpha/ev4.md (ev4_callpal): New. | |
900 | * config/alpha/ev5.md (ev5_callpal): New. | |
901 | * config/alpha/ev6.md (ev6_ibr): Handle callpal. | |
902 | * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL. | |
903 | (alphaev5_insn_pipe): Likewise. | |
904 | ||
e0073fa8 AJ |
905 | 2002-09-13 Andreas Jaeger <aj@suse.de> |
906 | ||
907 | * Makefile.in (print-rtl.o): Depend on CONFIG_H. | |
908 | ||
1f298625 SE |
909 | 2002-09-13 Steve Ellcey <sje@cup.hp.com> |
910 | ||
911 | * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO, | |
912 | LIB2ADDEH): New, set to NULL. | |
913 | (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New. | |
914 | ||
1a7e1470 SE |
915 | 2002-09-13 Steve Ellcey <sje@cup.hp.com> |
916 | ||
917 | * config/ia64/quadlib.c (_U_Qfcmp): Make extern. | |
918 | (_U_Qfcnvfxt_quad_to_sgl): Remove declaration. | |
919 | (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp): | |
920 | Add declarations. | |
921 | (_U_Qfneg): Remove. | |
922 | ||
d56c04ce DD |
923 | 2002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com> |
924 | ||
925 | * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support | |
8d9afc4e KH |
926 | for H8/300, H8S aa:8 mode. |
927 | (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode. | |
d56c04ce DD |
928 | * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length |
929 | for H8/300 aa:8 mode. | |
930 | ||
4456530d HP |
931 | 2002-09-13 Hartmut Penner <hpenner@de.ibm.com> |
932 | ||
933 | * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New | |
934 | insns. | |
935 | ||
4d2d910c RH |
936 | 2002-09-12 Richard Henderson <rth@redhat.com> |
937 | ||
938 | * Makefile.in (HOST_PRINT): Use print-rtl1.o | |
939 | (print-rtl.o): Don't define GENERATOR_FILE. | |
940 | (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o. | |
941 | * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output | |
942 | unless GENERATOR_FILE. | |
943 | ||
7606e68f SS |
944 | 2002-09-12 Stan Shebs <shebs@apple.com> |
945 | ||
6ab9a3f4 SS |
946 | * config/darwin.h (USER_LABEL_PREFIX): Define here... |
947 | * config/i386/darwin.h: ... instead of here. | |
948 | ||
7606e68f SS |
949 | * target.h (struct gcc_target): New field |
950 | terminate_dw2_eh_frame_info. | |
951 | * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. | |
952 | (TARGET_INITIALIZER): Add it. | |
953 | * dwarf2out.c (output_call_frame_info): Use target hook. | |
954 | * dwarf2asm.c (dw2_asm_output_delta): Use macro | |
955 | ASM_OUTPUT_DWARF_DELTA if defined. | |
956 | * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document. | |
957 | (ASM_OUTPUT_DWARF_DELTA): Ditto. | |
958 | (ASM_OUTPUT_DWARF_OFFSET): Ditto. | |
959 | (ASM_OUTPUT_DWARF_PCREL): Ditto. | |
960 | * config.gcc (i[34567]86-*-darwin*): Define extra_parts. | |
961 | (powerpc-*-darwin*): Ditto. | |
962 | * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits | |
963 | to work correctly for Darwin. | |
964 | * config/darwin.h (OBJECT_FORMAT_MACHO): Define. | |
965 | (STARTFILE_SPEC): Add crtbegin.o. | |
966 | (ENDFILE_SPEC): Define. | |
967 | (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment. | |
968 | (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases. | |
969 | (ASM_OUTPUT_DWARF_DELTA): Define. | |
970 | (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. | |
971 | * config/darwin.c (darwin_asm_output_dwarf_delta): New function. | |
972 | ||
20b71b17 AM |
973 | 2002-09-13 Alan Modra <amodra@bigpond.net.au> |
974 | ||
975 | * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if" | |
976 | nesting. Correct test for non-PowerPC64 ELF ABI_AIX. | |
977 | * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX. | |
978 | ||
d48fd218 ZW |
979 | 2002-09-12 Zack Weinberg <zack@codesourcery.com> |
980 | ||
981 | * toplev.c: Move default definition of USER_LABEL_PREFIX... | |
982 | * defaults.h: ... here. | |
983 | ||
92bc3c1a RH |
984 | 2002-09-12 Richard Henderson <rth@redhat.com> |
985 | ||
986 | * vax.c: Include tree.h earlier. | |
987 | ||
3f64e543 SS |
988 | 2002-09-12 Stan Shebs <shebs@apple.com> |
989 | ||
990 | * config/darwin.c (machopic_finish): Remove #if 0 chunks. | |
991 | (machopic_operand_p): Ditto. | |
992 | ||
52bd31bb KH |
993 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
994 | ||
995 | * config/arm/arm.c (arm_compute_initial_elimination_offset): | |
996 | Fix a comment typo. | |
997 | ||
387c9294 KH |
998 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
999 | ||
1000 | * toplev.c (do_abort): Fix a comment typo. | |
1001 | ||
e34bb004 KH |
1002 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
1003 | ||
1004 | * cselib.c: Fix comment formatting. | |
1005 | * gengtype.c: Likewise. | |
1006 | ||
d0029ebd KH |
1007 | 2002-09-12 Kazu Hirata <kazu@cs.umass.edu> |
1008 | ||
1009 | * config/h8300/h8300.md (udivmodqi4): Do not use an expander. | |
1010 | (udivmodhi4): Likewise. | |
1011 | ||
c3c637e3 | 1012 | 2002-09-12 Graham Stott <graham.stott@btinternet.com> |
d48fd218 | 1013 | Roger Sayle <roger@eyesopen.com> |
c3c637e3 GS |
1014 | |
1015 | * i386.c (any_fp_register_operand, fp_register_operand, | |
1016 | register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand): | |
1017 | New predicate functions. | |
1018 | * i386-protos.h: Add their prototypes. | |
1019 | * i386.h: Add them to PREDICATE_CODES. | |
1020 | * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1, | |
1021 | "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2, | |
1022 | "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1, | |
1023 | "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1, | |
1024 | "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2, | |
1025 | "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1, | |
1026 | "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2, | |
1027 | "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1, | |
1028 | "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1, | |
1029 | "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2, | |
1030 | "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2): | |
1031 | Use these new predicates to simplify and correct the use of | |
1032 | FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P. | |
1033 | ||
db4c55f6 JM |
1034 | 2002-09-12 Jason Merrill <jason@redhat.com> |
1035 | ||
236a2ac8 JM |
1036 | * diagnostic.c (output_add_identifier): New fn. |
1037 | * diagnostic.h: Declare it. | |
1038 | ||
db4c55f6 JM |
1039 | * calls.c (store_one_arg): Use size_in_bytes to determine the |
1040 | amount of space to push. | |
1041 | ||
13c0bc20 JJ |
1042 | 2002-09-12 Jakub Jelinek <jakub@redhat.com> |
1043 | ||
1044 | * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo. | |
1045 | ||
0a3bdf9d UW |
1046 | 2002-09-12 Ulrich Weigand <uweigand@de.ibm.com> |
1047 | ||
1048 | * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes. | |
1049 | * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes. | |
1050 | (s390_select_ccmode): Likewise. | |
1051 | (s390_branch_condition_mask): Likewise. | |
1052 | (optimization_options): Do not set flag_branch_on_count. | |
1053 | (s390_split_branches): Handle doloop branches. | |
1054 | (s390_chunkify_pool): Likewise. | |
1055 | * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns. | |
1056 | ("doloop_end"): New expander. | |
1057 | ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long", | |
1058 | associated splitters): New. | |
1059 | ||
4f968d93 HP |
1060 | 2002-09-11 Hartmut Penner <hpenner@de.ibm.com> |
1061 | ||
1062 | * fold-const.c (make_range): Only narrow to signed range if | |
1063 | the signed range is smaller than the unsigned range. | |
1064 | ||
35aff10b AM |
1065 | 2002-09-12 Alan Modra <amodra@bigpond.net.au> |
1066 | ||
1067 | * emit-rtl.c (set_mem_size): New function. | |
1068 | * expr.h (set_mem_size): Declare. | |
1069 | * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate. | |
1070 | (expand_block_move): Instead, use adjust_address and | |
1071 | replace_equiv_address to generate proper aliasing info. | |
1072 | Move common code out of conditionals. Localize vars. | |
1073 | ||
874f6a6d | 1074 | 2002-09-09 Eric Botcazou ebotcazou@libertysurf.fr |
d48fd218 | 1075 | |
874f6a6d EB |
1076 | * optabs.c (expand_binop): Minor cleanup. |
1077 | (expand_twoval_binop): Convert CONST_INTs like in expand_binop. | |
1078 | ||
d1df930b DN |
1079 | 2002-09-11 Dan Nicolaescu <dann@ics.uci.edu> |
1080 | ||
1081 | * print-tree.c (print_node): Print the restrict qualifier. | |
1082 | ||
9026a957 JJ |
1083 | 2002-09-11 Janis Johnson <janis187@us.ibm.com> |
1084 | ||
1085 | * doc/install.texi: Fix typos. | |
1086 | ||
3fd9d606 ZW |
1087 | 2002-09-11 Zack Weinberg <zack@codesourcery.com> |
1088 | ||
1089 | * Makefile.in: Remove all references to s-under and underscore.c. | |
1090 | * collect2.c, tlink.c: Change all uses of prepends_underscore | |
1091 | to look directly at USER_LABEL_PREFIX. | |
1092 | ||
5b5198f7 DE |
1093 | 2002-09-11 David Edelsohn <edelsohn@gnu.org> |
1094 | ||
1095 | * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append | |
1096 | alignment to csect. | |
1097 | (rs6000_xcoff_unique_section): Only set section name for public | |
1098 | data. | |
1099 | (rs6000_xcoff_section_type_flags): Store log2 alignment in flags. | |
1100 | * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove | |
1101 | duplicate definition. | |
1102 | ||
77de9af2 JDA |
1103 | 2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1104 | ||
1105 | * pa.md (extzv): Check predicates before emitting extzv_32. | |
1106 | (insv): Likewise. | |
1107 | ||
33b679d1 UW |
1108 | 2002-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
1109 | ||
1110 | * config/s390/s390.h (MOVE_MAX): Define to correct value. | |
1111 | (MAX_MOVE_MAX): Define. | |
1112 | (MOVE_BY_PIECES_P): Define. | |
1113 | (CLEAR_BY_PIECES_P): Define. | |
1114 | ||
bfae8040 DC |
1115 | 2002-09-10 Denis Chertykov <denisc@overta.ru> |
1116 | ||
1117 | * config/avr/avr.md (movstrhi): Use right operands for conversion. | |
1118 | ||
7730c3ff RE |
1119 | 2002-09-10 Richard Earnshaw <rearnsha@arm.com> |
1120 | ||
1121 | PR c/7873 | |
1122 | * arm.md (insv): Use reg_or_int_operand for operand[3]. | |
1123 | ||
5add3202 DE |
1124 | 2002-09-10 David Edelsohn <edelsohn@gnu.org> |
1125 | ||
1126 | * rs6000.c (rs6000_assemble_visibility): Protect declaration | |
1127 | inside macro. Correct function definition typo. | |
1128 | (rs6000_xcoff_section_type_flags): New function. | |
1129 | (TARGET_SECTION_TYPE_FLAGS): Remove definition. | |
1130 | (rs6000_elf_section_type_flags): Call default_section_type_flags_1 | |
1131 | with appropriate PIC test. | |
1132 | (rs6000_xcoff_select_section): Use decl_readonly_section_1 to | |
1133 | determine readonly. | |
1134 | (rs6000_binds_local_p): Combine PIC flags. | |
1135 | * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define. | |
1136 | * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define. | |
1137 | ||
90389422 PB |
1138 | 2002-09-09 Per Bothner <per@bothner.com> |
1139 | ||
1140 | * print-tree.c (print_node): In a STRING_CST, escape non-ascii | |
1141 | characters, and only print TREE_STRING_LENGTH chars. | |
1142 | ||
686f3bf0 SE |
1143 | 2002-09-09 Steve Ellcey <sje@cup.hp.com> |
1144 | ||
1145 | * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true. | |
1146 | (ASM_FILE_END) New. | |
1147 | * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false. | |
1148 | * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New. | |
1149 | * config/ia64/ia64.c (ia64_asm_output_external): Create list | |
1150 | of external functions if TARGET_HPUX_LD is true. | |
1151 | (ia64_hpux_add_extern_decl): New, routine to put names on | |
1152 | list of external functions. | |
1153 | (ia64_hpux_asm_file_end): Put out declarations for external | |
1154 | functions if and only if they are used. | |
1155 | ||
0c263f4e JDA |
1156 | 2002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1157 | ||
1158 | * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage | |
1159 | on TARGET_64BIT before pic register restore. | |
1160 | ||
e2a6476e DE |
1161 | 2002-09-09 David Edelsohn <edelsohn@gnu.org> |
1162 | ||
1163 | * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description. | |
1164 | (TARGET_HAVE_TLS): New description. | |
1165 | ||
b73b1546 JJ |
1166 | 2002-09-09 Janis Johnson <janis187@us.ibm.com> |
1167 | ||
1168 | * doc/extend.texi (Statement Exprs): Fix broken link. | |
1169 | ||
a9738643 DC |
1170 | 2002-09-09 Denis Chertykov <denisc@overta.ru> |
1171 | ||
1172 | * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for | |
1173 | right conversion of operands[1]. | |
1174 | ||
05b9aaaa UW |
1175 | 2002-09-09 Ulrich Weigand <uweigand@de.ibm.com> |
1176 | ||
1177 | * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as | |
1178 | commutative. Use "nonimmediate_operand" instead of "register_operand" | |
1179 | as predicate for operand 0. Move to after the "*tmXX_mem" insns. | |
1180 | ||
1181 | ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark | |
1182 | as commutative. | |
1183 | ||
1184 | ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not | |
1185 | mark as commutative. Use "nonimmediate_operand" instead of | |
1186 | "register_operand" as predicate for operand 1. | |
1187 | ||
1188 | ("movstrictsi"): Fix typo in insn name. | |
1189 | ||
7ec70495 JH |
1190 | 2002-09-09 Jan Hubicka <jh@suse.cz> |
1191 | ||
1192 | * i386.c (index_register_operand): New. | |
1193 | * i386.h (predicate_codes): Add new predicate. | |
1194 | * i386.md (lea_general_*): Use index_regsiter_operand | |
1195 | (ashift to lea splitter): Do not produce invalid leas | |
1196 | (ashift to mov+ashift split): New. | |
1197 | ||
b2fc915b NC |
1198 | 2002-09-09 Nick Clifton <nickc@redhat.com> |
1199 | ||
1200 | * config/fr30/fr30.c (output.h): Move after inclusion of tree.h. | |
1201 | Fix folding marks. | |
1202 | ||
0b0ad147 | 1203 | 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
d48fd218 | 1204 | J"orn Rennecke <joern.rennecke@superh.com> |
0b0ad147 TM |
1205 | |
1206 | * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits. | |
1207 | ||
2bcc50d0 AM |
1208 | 2002-09-09 Alan Modra <amodra@bigpond.net.au> |
1209 | ||
1210 | * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool. | |
1211 | (function_ok_for_sibcall): Use binds_local_p. Respect longcall | |
1212 | attributes. | |
1213 | ||
c1b4f089 KG |
1214 | 2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1215 | ||
1216 | * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE. | |
1217 | ||
b9203463 RH |
1218 | 2002-09-08 Richard Henderson <rth@redhat.com> |
1219 | ||
1220 | * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli. | |
1221 | (DW_OP_GNU_push_tls_address): New. | |
1222 | (DW_OP_lo_user): Fix. | |
1223 | * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New. | |
1224 | (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes. | |
1225 | (size_of_loc_descr): Likewise. | |
1226 | (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr. | |
1227 | (add_AT_location_description): Take a dw_loc_descr_ref not an rtx. | |
1228 | (loc_descriptor_from_tree): Handle TLS variables. | |
1229 | (rtl_for_decl_location): Do avoid_constant_pool_reference here ... | |
1230 | (add_location_or_const_value_attribute): ... not here. Defer | |
1231 | to loc_descriptor_from_tree for TLS variables. | |
1232 | ||
1233 | * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New. | |
1234 | * config/i386/i386.c (i386_output_dwarf_dtprel): New. | |
1235 | * config/i386/i386-protos.h: Update. | |
1236 | ||
7df98878 RS |
1237 | 2002-09-08 Roger Sayle <roger@eyesopen.com> |
1238 | ||
1239 | PR optimization/6405 | |
1240 | * unroll.c (loop_iterations): last_loop_insn should be the previous | |
1241 | non-note instruction before loop->end. | |
1242 | * loop.c (strength_reduce): The conditional jump is the last | |
1243 | non-note instruction before loop->end (as above). | |
1244 | ||
f40f4c8e RS |
1245 | 2002-09-08 Roger Sayle <roger@eyesopen.com> |
1246 | ||
1247 | * combine.c (try_combine): Handle the case that undobuf.other_insn | |
1248 | has been turned into a return or unconditional jump, by inserting | |
1249 | a BARRIER if necessary. | |
1250 | (simplify_set): Test if a condition code setter has a constant | |
1251 | comparison at compile time, if so convert this insn to a no-op move | |
1252 | and update/simplify the condition code user (undobuf.other_insn). | |
1253 | ||
e2f97e26 KW |
1254 | 2002-09-08 Krister Walfridsson <cato@df.lth.se> |
1255 | ||
1256 | * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine. | |
1257 | (CLEAR_INSN_CACHE): Define. | |
1258 | ||
4b7e68e7 KH |
1259 | 2002-09-08 Kazu Hirata <kazu@cs.umass.edu> |
1260 | ||
1261 | * basic-block.h: Fix comment formatting. | |
1262 | * c-common.c: Likewise. | |
1263 | * c-common.h: Likewise. | |
1264 | * c-lex.c: Likewise. | |
1265 | * c-pretty-print.c: Likewise. | |
1266 | * cfglayout.c: Likewise. | |
1267 | * cfgloop.c: Likewise. | |
1268 | * defaults.h: Likewise. | |
1269 | * et-forest.c: Likewise. | |
1270 | * explow.c: Likewise. | |
1271 | * function.h: Likewise. | |
1272 | * gcov.c: Likewise. | |
1273 | * genattrtab.c: Likewise. | |
1274 | * gengtype.c: Likewise. | |
1275 | * ifcvt.c: Likewise. | |
1276 | * libgcc2.c: Likewise. | |
1277 | * loop.c: Likewise. | |
1278 | * profile.c: Likewise. | |
1279 | * ra-build.c: Likewise. | |
1280 | * real.c: Likewise. | |
1281 | * rtl.h: Likewise. | |
1282 | * tracer.c: Likewise. | |
1283 | * tree-inline.c: Likewise. | |
1284 | * varasm.c: Likewise. | |
1285 | ||
2567406a JH |
1286 | 2002-09-08 Jan Hubicka <jh@suse.cz> |
1287 | ||
1288 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref | |
1289 | handling. | |
1290 | ||
1291 | * loop.c (loop_gics_reduce): Emit addition after. | |
1292 | ||
bd79540a AM |
1293 | 2002-09-08 Alan Modra <amodra@bigpond.net.au> |
1294 | ||
1295 | * varasm.c (default_assemble_visibility): Rename from | |
1296 | assemble_visibility. | |
1297 | * output.h: Here too. | |
1298 | * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here. | |
1299 | * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here. | |
1300 | ||
32ff9c74 AM |
1301 | 2002-09-08 Alan Modra <amodra@bigpond.net.au> |
1302 | ||
1303 | * reload.c (find_reloads <p constraint>): Pass operand_mode to | |
1304 | find_reloads_address. | |
1305 | ||
6588987e KH |
1306 | 2002-09-08 Kazu Hirata <kazu@cs.umass.edu> |
1307 | ||
1308 | * config/h8300/h8300.md (udivmodqi4): Enable on H8/300. | |
1309 | (anonymous pattern): Likewise. | |
1310 | ||
0100732e SS |
1311 | 2002-09-07 Scott Snyder <snyder@fnal.gov> |
1312 | ||
1313 | PR target/7374 | |
1314 | * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'. | |
1315 | ||
77043c7c RS |
1316 | 2002-09-07 Roger Sayle <roger@eyesopen.com> |
1317 | ||
1318 | * basic-block.h (struct loop): Remove unused cont_dominator field. | |
1319 | ||
5dd78220 IS |
1320 | 2002-09-07 Igor Shevlyakov <igor@microunity.com> |
1321 | ||
d48fd218 | 1322 | * varasm.c (decode_rtx_const): Don't check undefined field for |
5dd78220 IS |
1323 | CONST_VECTOR. |
1324 | ||
b96a3fa3 GN |
1325 | 2002-09-07 Glen Nakamura <glen@imodulo.com> |
1326 | ||
7fa86a10 | 1327 | PR opt/7814 |
b96a3fa3 GN |
1328 | * sched-deps.c (sched_analyze_insn): Make sure to add insn |
1329 | to reg_last->sets after flushing the dependency lists to guarantee | |
1330 | that subsequent clobbers will be dependent on it. | |
1331 | ||
ad9df12f | 1332 | 2002-09-07 Igor Shevlyakov <igor@microunity.com> |
2567406a | 1333 | |
ad9df12f IS |
1334 | * combine.c (simplify_shift_const): Calculate rotate count |
1335 | correctly for vector operands. | |
1336 | ||
54c93c30 AE |
1337 | 2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de> |
1338 | ||
1339 | * c-typeck.c (c_tree_expr_nonnegative_p): New function. | |
1340 | (build_binary_op): Call c_tree_expr_nonnegative_p rather than | |
2567406a | 1341 | tree_expr_nonnegative_p. |
54c93c30 AE |
1342 | (build_conditional_expr): Likewise. |
1343 | * c-tree.h (c_tree_expr_nonnegative_p): Declare. | |
1344 | ||
36eea25f RH |
1345 | 2002-09-07 Richard Henderson <rth@redhat.com> |
1346 | ||
3aa4cad7 RH |
1347 | * builtins.def (inf, inff, infl): Mark const. |
1348 | (huge_val, huge_valf, huge_vall): Likewise. | |
1349 | (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove. | |
1350 | ||
36eea25f RH |
1351 | * real.c (ereal_inf): Clear E before use. |
1352 | ||
5c102b48 KH |
1353 | 2002-09-07 Kazu Hirata <kazu@cs.umass.edu> |
1354 | ||
1355 | * config/h8300/h8300.md (udivmodqi4): Split the pattern into | |
1356 | an expander and an anonymous pattern. Zero out the upper half | |
1357 | of the dividend in the expander. | |
1358 | (udivmodqi4): Likewise. | |
1359 | ||
8bd06267 KH |
1360 | 2002-09-07 Kazu Hirata <kazu@cs.umass.edu> |
1361 | ||
1362 | * config/h8300/h8300.c: Fix formatting. | |
1363 | * config/h8300/h8300.h: Likewise. | |
1364 | * config/h8300/h8300.md: Likewise. | |
1365 | ||
39587bb9 ZD |
1366 | 2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1367 | ||
1368 | * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness | |
1369 | information. | |
1370 | ||
92d9256d GS |
1371 | 2002-09-07 Graham Stott <graham.stott@btinternet.con> |
1372 | ||
1373 | * rtlanal.c (dead_or_set_regno_p): Fix typo. | |
1374 | ||
93638d7a AM |
1375 | 2002-09-07 Alan Modra <amodra@bigpond.net.au> |
1376 | ||
fea76d82 AM |
1377 | * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. |
1378 | ||
93638d7a AM |
1379 | * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe. |
1380 | * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define. | |
1381 | (TARGET_ASM_OUT): Add the above here. | |
1382 | * target.h (struct gcc_target): Add "visibility" field. | |
1383 | * varasm.c (maybe_assemble_visibility): Call targetm visibility func. | |
1384 | * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function. | |
1385 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Define. | |
1386 | (rs6000_legitimize_reload_address, first_reg_to_save): Formatting. | |
1387 | ||
370ce32a ZL |
1388 | 2002-09-06 Ziemowit Laski <zlaski@apple.com> |
1389 | ||
1390 | * c-lang.c (objc_is_id): New stub. | |
1391 | * c-tree.h (objc_is_id): New forward declaration. | |
1392 | * c-typeck.c (build_c_cast): Do not strip protocol | |
1393 | qualifiers from 'id' type. | |
1394 | * objc/objc-act.c (objc_comptypes): Correct handling | |
1395 | of protocol qualifiers. | |
1396 | (objc_is_id): New. | |
1397 | ||
942579db JL |
1398 | Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com) |
1399 | ||
54c93c30 | 1400 | * pentium.md (pentium-firstvboth): Fix typo. |
942579db | 1401 | |
c4dfc70c DD |
1402 | 2002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com> |
1403 | ||
1404 | * h8300.c (enum shift_alg): Move to earlier in h8300.c. | |
1405 | (enum shift_type, enum h8_cpu): Likewise. | |
1406 | (INL, ROT, LOP, SPC macros): Likewise. | |
1407 | (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose | |
1408 | const designator. | |
1409 | (h8300_init_once): Update shift_alg_{qi,hi,si} to use more | |
1410 | space efficient algorithms when optimize for codesize. | |
1411 | ||
5873a4c1 NP |
1412 | Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1413 | ||
1414 | Fix PR/1727 and long-standing failing testcase | |
1415 | objc/formal-protocol-6.m. | |
1416 | * objc-act.c (build_protocol_expr): If compiling for the GNU | |
1417 | runtime, create a list of Protocol statically allocated instances | |
1418 | if it doesn't exist, then add the Protocol object to this same | |
1419 | list. | |
1420 | (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used | |
1421 | instead of TREE_CHAIN. | |
1422 | ||
e30d4c82 NP |
1423 | Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1424 | ||
1425 | * objc/objc-act.c (dump_interface): Enlarged the char * buffer to | |
1426 | 10k. Fixed category dumping - print out category names with the | |
1427 | proper syntax. Print '@end\n' and not '\n@end' at the end of the | |
1428 | interface. | |
22d4398d | 1429 | (finish_objc): Fixed the -gen-decls option. It was printing out |
e30d4c82 NP |
1430 | only the last class. Dump an interface declaration of all classes |
1431 | being compiled instead. | |
1432 | ||
fcd53748 JT |
1433 | 2002-09-06 Jason Thorpe <thorpej@wasabisystems.com> |
1434 | ||
2567406a JH |
1435 | * config/arm/arm-protos.h (arm_gen_return_addr_mask): New |
1436 | prototype. | |
fcd53748 JT |
1437 | * config/arm/arm.c (arm_gen_return_addr_mask): New function. |
1438 | * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask | |
1439 | if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode | |
1440 | rather than GEN_INT. | |
1441 | * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define. | |
1442 | (return_addr_mask, *check_arch2): New. | |
1443 | ||
96fd3851 UW |
1444 | 2002-09-06 Ulrich Weigand <uweigand@de.ibm.com> |
1445 | ||
2567406a | 1446 | * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly", |
96fd3851 | 1447 | "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3", |
2567406a | 1448 | "*addsi3_carry1_cc", "*addsi3_carry1_cconly", |
96fd3851 UW |
1449 | "*addsi3_carry2_cc", "*addsi3_carry2_cconly", |
1450 | "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3", | |
2567406a | 1451 | "adddf3", "*adddf3", "*adddf3_ibm", |
96fd3851 UW |
1452 | "addsf3", "*addsf3", "*addsf3_ibm", |
1453 | "muldi3", "mulsi3", "mulsidi3", | |
1454 | "muldf3", "*muldf3", "*muldf3_ibm", | |
1455 | "mulsf3", "*mulsf3", "*mulsf3_ibm", | |
1456 | "*anddi3_cc", "*anddi3_cconly", "anddi3", | |
1457 | "*andsi3_cc", "*andsi3_cconly", "andsi3", | |
1458 | "*iordi3_cc", "*iordi3_cconly", "iordi3", | |
1459 | "*iorsi3_cc", "*iorsi3_cconly", "iorsi3", | |
1460 | "*xordi3_cc", "*xordi3_cconly", "xordi3", | |
1461 | "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand" | |
1462 | instead of "register_operand" as predicate for "%0" operand. | |
1463 | ||
22252625 JJ |
1464 | 2002-09-06 Jakub Jelinek <jakub@redhat.com> |
1465 | ||
1466 | * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 | |
1467 | unconditionally when gcc_cv_as_flags64 checks are gone. | |
1468 | * configure: Rebuilt. | |
1469 | ||
bc401279 AM |
1470 | 2002-09-06 Alan Modra <amodra@bigpond.net.au> |
1471 | ||
1472 | * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of | |
1473 | 2002-07-26 change. Comment. | |
1474 | ||
b3fbfc07 KG |
1475 | 2002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1476 | ||
1477 | * frv.c (frv_unique_section, frv_select_section, | |
1478 | frv_select_rtx_section): Delete. | |
1479 | (frv_in_small_data_p): New. | |
1480 | (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION, | |
1481 | TARGET_ASM_SELECT_RTX_SECTION): Delete. | |
1482 | (TARGET_IN_SMALL_DATA_P): Define. | |
1483 | ||
41e34bab DJ |
1484 | 2002-09-05 Dale Johannesen <dalej@apple.com> |
1485 | ||
1486 | * reload1.c (reload): Retain only those memory clobbers | |
1487 | added for variable-array handling. | |
1488 | ||
dc0ba55a JT |
1489 | 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com> |
1490 | ||
1491 | * config/arm/arm.c (arm_return_in_memory): Implement ATPCS | |
2567406a | 1492 | return-in-memory rules. |
dc0ba55a JT |
1493 | * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define. |
1494 | ||
dd19d142 DE |
1495 | 2002-09-05 David Edelsohn <edelsohn@gnu.org> |
1496 | ||
1497 | * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete. | |
1498 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete. | |
1499 | ||
3717da94 JT |
1500 | 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com> |
1501 | ||
1502 | * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is | |
1503 | not a compile-time constant for the non-IBM case. | |
1504 | * config/arm/arm-protos.h (arm_float_words_big_endian): New | |
2567406a | 1505 | prototype. |
3717da94 | 1506 | * config/arm/arm.c (arm_float_words_big_endian): New function. |
b5b620a4 | 1507 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__ |
2567406a JH |
1508 | if TARGET_VFP and not TARGET_HARD_FLOAT. |
1509 | (ARM_FLAG_VFP, TARGET_VFP): Define. | |
3717da94 JT |
1510 | (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian. |
1511 | ||
225cee28 DE |
1512 | 2002-09-05 David Edelsohn <edelsohn@gnu.org> |
1513 | ||
1514 | * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux* | |
1515 | URLs. Fix AIX wording. | |
1516 | ||
c72bfda7 SS |
1517 | 2002-09-05 Stan Shebs <shebs@apple.com> |
1518 | ||
1519 | * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and | |
1520 | -fPIC equivalent on Darwin. | |
1521 | ||
3578cf63 R |
1522 | Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1523 | ||
1524 | * sh.c (sh_expand_builtin): Return early if encountering an | |
1525 | error_mark for a type. | |
1526 | ||
7974fe63 UW |
1527 | 2002-09-05 Ulrich Weigand <uweigand@de.ibm.com> |
1528 | ||
1529 | * config/s390/s390.c (s390_expand_plus_operand): Do not require | |
1530 | double-word scratch register. | |
1531 | config/s390/s390.md ("reload_indi", "reload_insi"): Adapt. | |
1532 | ||
2567406a | 1533 | ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem", |
7974fe63 UW |
1534 | "*cli"): Replace s_operand by memory_operand. |
1535 | ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand. | |
1536 | ||
f8cb5851 KH |
1537 | 2002-09-05 Kazu Hirata <kazu@cs.umass.edu> |
1538 | ||
1539 | * config/h8300/h8300.c (asm_file_start): Add a missing | |
1540 | semicolon. | |
1541 | ||
5fc0e5df KW |
1542 | 2002-09-04 Krister Walfridsson <cato@df.lth.se> |
1543 | ||
1544 | * config/i386/i386.h (GOT_SYMBOL_NAME): Define. | |
1545 | * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME. | |
1546 | (ix86_output_addr_diff_elt) Likewise. | |
1547 | (x86_output_mi_thunk) Likewise. | |
1548 | * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine. | |
1549 | ||
f4b488fd KG |
1550 | 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1551 | ||
1552 | * frv.c (frv_encode_section_info): Fix error in last change. | |
1553 | ||
0e5dbd9b DE |
1554 | 2002-09-04 David Edelsohn <edelsohn@gnu.org> |
1555 | ||
1556 | * config/rs6000/rs6000.c (rs6000_flag_pic): New variable. | |
1557 | (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED. | |
1558 | (TARGET_BINDS_LOCAL_P): Define. | |
1559 | (rs6000_override_options): Save original flag_pic value. | |
1560 | (rs6000_elf_select_section): Call default_elf_select_section_1. | |
1561 | (rs6000_elf_unique_section): Call default_unique_section_1. | |
1562 | (rs6000_elf_in_small_data_p): New function. | |
1563 | (rs6000_xcoff_asm_named_section): Determine storage mapping class. | |
1564 | (rs6000_xcoff_select_section): Update based on defaults. | |
1565 | (rs6000_xcoff_unique_section): Set to basic name if not common. | |
1566 | (rs6000_binds_local_p): New function. | |
1567 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set | |
1568 | targetm.have_srodata_section if SDATA_EABI. | |
1569 | (TARGET_IN_SMALL_DATA_P): Define. | |
1570 | ||
f57f9cb8 DJ |
1571 | 2002-09-04 Dale Johannesen <dalej@apple.com> |
1572 | ||
1573 | * varasm.c (struct rtx_const, decode_rtx_const): | |
1574 | Make veclo and vechi fields not share storage. | |
1575 | ||
ed6cc1f5 R |
1576 | Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1577 | ||
1578 | * loop.c (scan_loop): Don't mark separate insns out of a libcall | |
1579 | for moving. | |
1580 | (move_movables): Abort if we see the first insn of a libcall. | |
1581 | ||
ab5e2615 RH |
1582 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1583 | ||
1584 | * builtin-types.def (BT_FN_FLOAT): New. | |
1585 | (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New. | |
1586 | * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL, | |
1587 | BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New. | |
1588 | * builtins.c (fold_builtin_inf): New. | |
1589 | (fold_builtin): Call it. | |
1590 | * real.c (ereal_inf): New. | |
1591 | * real.h: Declare it. | |
1592 | * doc/extend.texi: Document new builtins. | |
1593 | ||
9beb7d20 RH |
1594 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1595 | ||
1596 | * cse.c (cse_insn): Avoid subreg games if the equivalence | |
1597 | is already in the proper mode. | |
1598 | ||
29984e05 EB |
1599 | 2002-09-04 Eric Botcazou <ebotcazou@multimania.com> |
1600 | ||
1601 | PR c/7102 | |
1602 | * optabs.c (expand_binop): Convert CONST_INTs in all cases. | |
1603 | ||
8d46398e JDA |
1604 | 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1605 | ||
1606 | * pa.md (setccfp0, setccfp1): New patterns. | |
1607 | ||
14966b94 KG |
1608 | 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1609 | ||
1610 | * frv-protos.h (frv_init_builtins, frv_expand_builtin, | |
1611 | frv_select_section, frv_select_rtx_section, | |
1612 | frv_encode_section_info, frv_unique_section): Delete. | |
1613 | * frv.c: Update for target hooks. | |
1614 | * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION, | |
1615 | SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION, | |
1616 | EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete. | |
1617 | ||
c8bf1a1a KG |
1618 | 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1619 | ||
1620 | * ip2k-protos.h (function_prologue, function_epilogue, | |
1621 | encode_section_info): Update to match target hook specification. | |
1622 | * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS. | |
1623 | (function_prologue, function_epilogue, encode_section_info): | |
1624 | Update to match target hook specification. | |
1625 | * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN, | |
1626 | ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete. | |
1627 | (NOTICE_UPDATE_CC): Cast to void. | |
1628 | * ip2k.md: Add defaults in switch statements. | |
1629 | ||
0484cb35 JJ |
1630 | 2002-09-04 Janis Johnson <janis187@us.ibm.com> |
1631 | ||
1632 | * doc/trouble.texi (Interoperation): Update information about C++ ABI | |
1633 | issues. | |
1634 | ||
3e62bd08 JT |
1635 | 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com> |
1636 | ||
1637 | * config/sparc/t-netbsd64: Disable multilib for now. | |
1638 | ||
275b6d80 DE |
1639 | 2002-09-04 David Edelsohn <edelsohn@gnu.org> |
1640 | ||
1641 | * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro. | |
1642 | * target.h (gcc_target): Add have_srodata_section member. | |
1643 | * varasm.c (section_category): Add SECCAT_SRODATA. | |
1644 | (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if | |
1645 | READONLY_SDATA_SECTION defined. | |
1646 | (decl_readonly_section_1): True for SECCAT_SRODATA also. | |
1647 | (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2. | |
1648 | (default_unique_section_1): Likewise. | |
1649 | ||
015b1ad1 JDA |
1650 | 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1651 | ||
1652 | * expr.c (emit_group_load): Revise to allow splitting TCmode source | |
1653 | into DImode pieces. | |
1654 | ||
1655 | * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. | |
1656 | * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode | |
1657 | for floating-point register class. | |
1658 | * pa.c (function_arg): Fix handling of modes wider than one word for | |
1659 | TARGET_64BIT. | |
1660 | ||
b10f2187 R |
1661 | Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1662 | ||
1663 | * combine.c (make_compound_operation): Don't generate zero / sign | |
1664 | extensions in floating point modes. | |
1665 | ||
478c9e72 JJ |
1666 | 2002-09-04 Janis Johnson <janis187@us.ibm.com> |
1667 | ||
1668 | * doc/c-tree.texi: Fix overfull hboxes. | |
1669 | * doc/cppopts.texi: Ditto. | |
1670 | * doc/extend.texi: Ditto. | |
1671 | * doc/gty.texi: Ditto. | |
1672 | * doc/invoke.texi: Ditto. | |
1673 | * doc/makefile.texi: Ditto. | |
1674 | * doc/rtl.texi: Ditto. | |
1675 | * doc/standards.texi: Ditto. | |
1676 | * doc/tm.texi: Ditto. | |
1677 | ||
77e8a0cc RH |
1678 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1679 | ||
1680 | * c-common.c (builtin_define_with_hex_fp_value): New. | |
1681 | (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig. | |
1682 | ||
a9c60612 JJ |
1683 | 2002-09-04 Janis Johnson <janis187@us.ibm.com> |
1684 | ||
1685 | * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options. | |
1686 | (-fpcc-struct-return, -freg-struct-return, -fshort-enums, | |
1687 | -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore): | |
1688 | Warn that these options can break ABI compatibility. | |
1689 | ||
4b67a274 RH |
1690 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1691 | ||
1692 | * real.c (ereal_to_decimal): Add digits parameter. | |
1693 | * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter. | |
1694 | * c-pretty-print.c (pp_c_real_literal): Update call. | |
1695 | * print-rtl.c (print_rtx): Likewise. | |
1696 | * print-tree.c (print_node_brief, print_node): Likewise. | |
1697 | * sched-vis.c (print_value): Likewise. | |
1698 | * config/arc/arc.c (arc_print_operand): Likewise. | |
1699 | * config/c4x/c4x.c (c4x_print_operand): Likewise. | |
1700 | * config/i370/i370.h (PRINT_OPERAND): Likewise. | |
1701 | * config/i386/i386.c (print_operand): Likewise. | |
1702 | * config/i960/i960.c (i960_print_operand): Likewise. | |
1703 | * config/ip2k/ip2k.c (asm_output_float): Likewise. | |
1704 | * config/m32r/m32r.c (m32r_print_operand): Likewise. | |
1705 | * config/m68hc11/m68hc11.c (print_operand): Likewise. | |
1706 | * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND, | |
1707 | ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. | |
2567406a | 1708 | * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND, |
4b67a274 RH |
1709 | ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. |
1710 | * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND, | |
1711 | ASM_OUTPUT_DOUBLE_OPERAND): Likewise. | |
1712 | * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND, | |
1713 | ASM_OUTPUT_DOUBLE_OPERAND): Likewise. | |
1714 | * config/mips/mips.c (print_operand): Likewise. | |
1715 | * config/ns32k/ns32k.c (print_operand): Likewise. | |
1716 | * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise. | |
1717 | * config/vax/vax.h (PRINT_OPERAND): Likewise. | |
1718 | * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs. | |
1719 | ||
01abf342 BW |
1720 | 2002-09-04 Bob Wilson <bob.wilson@acm.org> |
1721 | ||
1722 | * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to | |
1723 | xtensa_multibss_section_type_flags. | |
1724 | * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define. | |
1725 | ||
cd42d3df RH |
1726 | 2002-09-04 Richard Henderson <rth@redhat.com> |
1727 | ||
1728 | * doc/install-old.texi: Don't mention enquire. | |
1729 | * doc/sourcebuild.texi: Update float.h description. | |
1730 | ||
502e6d5a R |
1731 | Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1732 | ||
1733 | * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract. | |
1734 | ||
2cc9fb4c DE |
1735 | 2002-09-03 David Edelsohn <edelsohn@gnu.org> |
1736 | ||
1737 | * varasm.c (default_section_type_flags): Append _1 to name with | |
1738 | shlib parameter. Use original name to call new function with | |
1739 | implicit flag_pic. | |
1740 | (decl_readonly_section): Likewise. | |
1741 | (default_elf_select_section): Likewise. | |
1742 | (default_unique_section): Likewise. | |
1743 | (default_bind_local_p): Likewise. | |
1744 | (categorize_decl_for_section): Add shlib parameter to use in place | |
1745 | of implicit flag_pic. | |
1746 | * output.h: Declare new functions with _1 and shlib argument. | |
1747 | ||
7c19f816 JJ |
1748 | 2002-09-03 Janis Johnson <janis187@us.ibm.com> |
1749 | ||
8c085f6f JJ |
1750 | * doc/install.texi: Fix typos, formatting problems, and obvious |
1751 | overfull/underfull boxes. | |
1752 | ||
7c19f816 JJ |
1753 | * Makefile.in (TEXI_GCC_FILES): Add compat.texi. |
1754 | * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and | |
1755 | include its file, compat.texi. | |
1756 | * doc/compat.texi: New file with new chapter, Binary Compatibility. | |
1757 | ||
79ba5e3b NB |
1758 | 2002-09-03 Neil Booth <neil@daikokuya.co.uk> |
1759 | ||
1760 | Debian BTS Bug #157416 | |
1761 | * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions. | |
1762 | * cpplib.c (destringize_and_run): Kludge around getting | |
1763 | tokens from in-progress macros. | |
1764 | (_cpp_do__Pragma): Simplify. | |
1765 | ||
57016b47 SE |
1766 | 2002-09-03 Steve Ellcey <sje@cup.hp.com> |
1767 | ||
1768 | * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu. | |
1769 | (CPP_CPU_SPEC): Remove. | |
1770 | (TARGET_CPU_CPP_BUILTINS): New. | |
1771 | * config/ia64/hpux.h (CPP_PREDEFINES): Remove. | |
1772 | (CPP_SPEC): Remove. | |
1773 | (TARGET_OS_CPP_BUILTINS): New. | |
1774 | * config/ia64/linux.h (CPP_PREDEFINES): Remove. | |
1775 | (TARGET_OS_CPP_BUILTINS): New. | |
1776 | * config/ia64/aix.h (CPP_SPEC): Move some stuff to | |
1777 | TARGET_OS_CPP_BUILTINS. | |
1778 | (CPP_PREDEFINES): Remove. | |
1779 | (CPLUSPLUS_CPP_SPEC): Remove. | |
1780 | (TARGET_OS_CPP_BUILTINS): New. | |
1781 | ||
d57a4b98 RH |
1782 | 2002-09-03 Richard Henderson <rth@redhat.com> |
1783 | ||
1784 | * Makefile.in (USER_H): Add ginclude/float.h. | |
1785 | (FLOAT_H): Remove. | |
1786 | (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H. | |
1787 | (mostlyclean): Don't remove float.h intermediate files. | |
1788 | (distclean): Don't remove float.h. | |
1789 | * config.gcc: Remove all float_format references. | |
1790 | * configure.in (float_format, float_h_file): Remove. | |
1791 | ||
1792 | * c-common.c: Include tree-inline.h. | |
1793 | (builtin_define_with_int_value): New. | |
1794 | (builtin_define_type_precision): Use it. | |
1795 | (builtin_define_float_constants): New. | |
1796 | (cb_register_builtins): Use it. Define __FLT_RADIX__ and | |
1797 | __FLT_EVAL_METHOD__. | |
1798 | * defaults.h (TARGET_FLT_EVAL_METHOD): New. | |
1799 | * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New. | |
1800 | * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New. | |
1801 | * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format. | |
1802 | (TARGET_FLT_EVAL_METHOD): New. | |
1803 | ||
1804 | * config/float-c4x.h, config/float-i128.h, config/float-i32.h, | |
1805 | config/float-i386.h, config/float-i64.h, config/float-m68k.h, | |
1806 | config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove. | |
1807 | * ginclude/float.h: New. | |
1808 | ||
527347f0 SS |
1809 | 2002-09-03 Stan Shebs <shebs@apple.com> |
1810 | ||
1811 | * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used. | |
1812 | (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2. | |
1813 | (PREFERRED_DEBUGGING_TYPE): Ditto. | |
1814 | (ASM_OUTPUT_IDENT): Remove empty definition. | |
1815 | ||
34c1864f SE |
1816 | 2002-09-03 Steve Ellcey <sje@cup.hp.com> |
1817 | ||
1818 | * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and | |
1819 | cxx_target. | |
1820 | * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma | |
1821 | handling routine for builtin pragma. | |
1822 | * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma): | |
1823 | Registered pragma handling routine. | |
1824 | * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto. | |
1825 | (ia64_hpux_add_pragma_builtin) New subroutine used by above. | |
1826 | If builtin pragma seen for math routine and C89 conformance is | |
1827 | requested use different math function in order to set errno. | |
1828 | * t-ia64 (ia64-c.o): Add new rule for new file. | |
1829 | ||
9b7c75b9 UW |
1830 | 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com> |
1831 | ||
1832 | * config/s390/s390.md ("movti"): Add Q->Q alternative. | |
1833 | ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64", | |
1834 | "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise. | |
2567406a JH |
1835 | |
1836 | ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss", | |
9b7c75b9 UW |
1837 | "*movsf_ss"): Remove. |
1838 | ||
710ba35f JDA |
1839 | 2002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1840 | ||
1841 | * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): | |
1842 | Delete macros. | |
1843 | ||
ff970081 AD |
1844 | 2002-09-03 Arati Dikey <aratid@kpit.com> |
1845 | ||
1846 | * h8300.c (asm_file_start): Corrected optimization comment. | |
1847 | ||
b50d021d SS |
1848 | 2002-09-03 Stan Shebs <shebs@apple.com> |
1849 | ||
1850 | * c-lang.c (recognize_objc_keyword): Remove, no longer used. | |
1851 | * c-tree.h (recognize_objc_keyword): Remove decl. | |
1852 | * c-typeck.c (comp_target_types): Update a comment. | |
1853 | ||
b808c04c UW |
1854 | 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com> |
1855 | ||
1856 | * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter | |
1857 | and register validity checks. | |
1858 | (general_s_operand): Adapt to s390_decompose_address interface change. | |
1859 | (q_constraint): Likewise. | |
1860 | (s390_expand_plus_operand): Likewise. | |
1861 | (legitimiate_address_p): Likewise. | |
1862 | (legitimate_la_operand_p): Likewise. | |
1863 | (legitimize_la_operand): Likewise. | |
1864 | (print_operand_address): Likewise. | |
1865 | (print_operand): Likewise. | |
1866 | ||
ee453219 NP |
1867 | Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1868 | ||
1869 | PR objc/5956: | |
1870 | * objc/objc-act.c (build_typed_selector_reference): Fix typo which | |
2567406a JH |
1871 | was causing the new selector never to match the existing ones |
1872 | (Patch by Alexander Malmberg <alexander@malmberg.org>). | |
ee453219 | 1873 | |
d82283d5 GS |
1874 | 2002-09-03 Graham Stott <graham.stott@btinternet.com> |
1875 | ||
1876 | * config/i386/i386.md ("femms"): Add "memory" attr "none". | |
1877 | ||
1878 | 2002-09-03 Graham Stott <graham.stott@btinternet.com> | |
c7a009a2 GS |
1879 | |
1880 | * expr.c (expand_expr): Remove extraneous comment and code. | |
1881 | ||
98c0d8d1 RH |
1882 | 2002-08-31 Richard Henderson <rth@redhat.com> |
1883 | ||
1884 | * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko. | |
1885 | ||
a5f3f0ab JDA |
1886 | 2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1887 | ||
1888 | * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype. | |
1889 | ||
38ec83b1 RH |
1890 | 2002-08-30 Richard Henderson <rth@redhat.com> |
1891 | ||
c9989d09 | 1892 | PR opt/7515 |
38ec83b1 RH |
1893 | * c-objc-common.c: Include target.h. |
1894 | (c_cannot_inline_tree_fn): Don't auto-inline functions that | |
1895 | don't bind locally. Factor setting DECL_UNINLINABLE. | |
1896 | * Makefile.in (c-objc-common.o): Update. | |
1897 | ||
4c64396e JJ |
1898 | 2002-08-30 Janis Johnson <janis187@us.ibm.com> |
1899 | ||
1900 | * doc/install.texi (Configuration, Building): Fix a typo and | |
1901 | some formatting directives. | |
1902 | ||
4226378a PK |
1903 | 2002-08-30 Paul Koning <pkoning@equallogic.com> |
1904 | ||
1905 | * doc/c-tree.texi (RDIV_EXPR): Fix typo. | |
1906 | * doc/rtl.texi (post_modify): Remove misplaced text, remove "not | |
1907 | implemented" note. | |
1908 | * doc/md.texi (IP2K): Move machine-specific constraints before MIPS | |
1909 | for alphabetic order. | |
1910 | * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for | |
1911 | VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT. | |
1912 | (VAX_HALFWORD_ORDER): Document. | |
1913 | (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for | |
1914 | IEEE float format. | |
1915 | (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE. | |
1916 | (ASM_OUTPUT_LABEL_REF): Fix font. | |
1917 | (CASE_VECTOR_SHORTEN_MODE): Ditto. | |
1918 | ||
b8074dbe DC |
1919 | 2002-08-30 Denis Chertykov <denisc@overta.ru> |
1920 | ||
1921 | * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double | |
1922 | stuff. | |
1923 | (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and | |
1924 | CONST_DOUBLE constants. | |
2567406a | 1925 | |
55f49e3d JT |
1926 | 2002-08-30 Jason Thorpe <thorpej@wasabisystems.com> |
1927 | ||
1928 | * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language- | |
1929 | related defines to... | |
1930 | (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here. | |
1931 | * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine | |
1932 | as a no-op. | |
1933 | ||
e1944073 KW |
1934 | 2002-08-30 Krister Walfridsson <cato@df.lth.se> |
1935 | ||
1936 | * config/arm/arm.c (arm_asm_output_labelref): New function. | |
1937 | * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref. | |
1938 | * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref. | |
1939 | ||
6e92b3a1 RB |
1940 | 2002-08-29 Rodney Brown <rbrown64@csc.com.au> |
1941 | ||
1942 | * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual | |
1943 | memory exhausted" workarounds. | |
1944 | ||
9d533cb5 GDR |
1945 | 2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1946 | ||
1947 | * diagnostic.c (fancy_abort): Don't repeat "internal error". | |
1948 | * toplev.c (crash_signal): Likewise. | |
1949 | ||
1f676100 NP |
1950 | Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it> |
1951 | ||
1952 | * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation. | |
1953 | * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector): | |
1954 | Extended, updated documentation. | |
1955 | (-Wundeclared-selector): Documented. | |
1956 | ||
23532de9 JT |
1957 | 2002-08-29 Jason Thorpe <thorpej@wasabisystems.com> |
1958 | ||
1959 | * config/chorus.h: Consistently define *_DEBUGGING_INFO with | |
1960 | the value 1. Do not undef before defining. | |
1961 | * config/darwin.h: Likewise. | |
1962 | * config/dbx.h: Likewise. | |
1963 | * config/dbxcoff.h: Likewise. | |
1964 | * config/dbxelf.h: Likewise. | |
1965 | * config/elfos.h: Likewise. | |
1966 | * config/interix.h: Likewise. | |
1967 | * config/lynx-ng.h: Likewise. | |
1968 | * config/lynx.h: Likewise. | |
1969 | * config/netware.h: Likewise. | |
1970 | * config/psos.h: Likewise. | |
1971 | * config/svr3.h: Likewise. | |
1972 | * config/alpha/alpha.h: Likewise. | |
1973 | * config/alpha/elf.h: Likewise. | |
1974 | * config/alpha/vms.h: Likewise. | |
1975 | * config/arc/arc.h: Likewise. | |
1976 | * config/arm/aout.h: Likewise. | |
1977 | * config/arm/coff.h: Likewise. | |
1978 | * config/c4x/c4x.h: Likewise. | |
1979 | * config/h8300/h8300.h: Likewise. | |
1980 | * config/i386/cygwin.h: Likewise. | |
1981 | * config/i386/djgpp.h: Likewise. | |
1982 | * config/i386/gas.h: Likewise. | |
1983 | * config/i386/gstabs.h: Likewise. | |
1984 | * config/i386/i386-coff.h: Likewise. | |
1985 | * config/i386/i386-interix.h: Likewise. | |
1986 | * config/i386/sco5.h: Likewise. | |
1987 | * config/i386/svr3dbx.h: Likewise. | |
1988 | * config/i386/sysv3.h: Likewise. | |
1989 | * config/i386/win32.h: Likewise. | |
1990 | * config/i386/x86-64.h: Likewise. | |
1991 | * config/i960/i960.h: Likewise. | |
1992 | * config/ia64/ia64.h: Likewise. | |
1993 | * config/ip2k/ip2k.h: Likewise. | |
1994 | * config/m32r/m32r.h: Likewise. | |
1995 | * config/m68k/3b1.h: Likewise. | |
1996 | * config/m68k/3b1g.h: Likewise. | |
1997 | * config/m68k/ccur-GAS.h: Likewise. | |
1998 | * config/m68k/coff.h: Likewise. | |
1999 | * config/m68k/hp2bsd.h: Likewise. | |
2000 | * config/m68k/hp310g.h: Likewise. | |
2001 | * config/m68k/hp320g.h: Likewise. | |
2002 | * config/m68k/hp3bsd.h: Likewise. | |
2003 | * config/m68k/hp3bsd44.h: Likewise. | |
2004 | * config/m68k/linux-aout.h: Likewise. | |
2005 | * config/m68k/m68k-aout.h: Likewise. | |
2006 | * config/m68k/mot3300.h: Likewise. | |
2007 | * config/m68k/netbsd.h: Likewise. | |
2008 | * config/m68k/openbsd.h: Likewise. | |
2009 | * config/m68k/pbb.h: Likewise. | |
2010 | * config/m68k/plexus.h: Likewise. | |
2011 | * config/m68k/sun2.h: Likewise. | |
2012 | * config/m68k/sun3.h: Likewise. | |
2013 | * config/m68k/tower-as.h: Likewise. | |
2014 | * config/m68k/vxm68k.h: Likewise. | |
2015 | * config/m88k/aout-dbx.h: Likewise. | |
2016 | * config/m88k/m88k-aout.h: Likewise. | |
2017 | * config/mcore/mcore-elf.h: Likewise. | |
2018 | * config/mcore/mcore-pe.h: Likewise. | |
2019 | * config/mips/elf.h: Likewise. | |
2020 | * config/mips/elf64.h: Likewise. | |
2021 | * config/mips/iris5gas.h: Likewise. | |
2022 | * config/mips/iris6.h: Likewise. | |
2023 | * config/mips/mips.h: Likewise. | |
2024 | * config/mips/sni-gas.h: Likewise. | |
2025 | * config/mmix/mmix.h: Likewise. | |
2026 | * config/ns32k/netbsd.h: Likewise. | |
2027 | * config/pa/pa64-hpux.h: Likewise. | |
2028 | * config/romp/romp.h: Likewise. | |
2029 | * config/rs6000/sysv4.h: Likewise. | |
2030 | * config/rs6000/xcoff.h: Likewise. | |
2031 | * config/sh/coff.h: Likewise. | |
2032 | * config/sh/elf.h: Likewise. | |
2033 | * config/sparc/linux64.h: Likewise. | |
2034 | * config/sparc/liteelf.h: Likewise. | |
2035 | * config/sparc/netbsd.h: Likewise. | |
2036 | * config/sparc/openbsd.h: Likewise. | |
2037 | * config/sparc/pbd.h: Likewise. | |
2038 | * config/sparc/sp64-elf.h: Likewise. | |
2039 | * config/sparc/sp86x-elf.h: Likewise. | |
2040 | * config/sparc/sparc.h: Likewise. | |
2041 | * config/vax/vax.h: Likewise. | |
2042 | * config/vax/vaxv.h: Likewise. | |
2043 | ||
5e98fba2 DD |
2044 | 2002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com> |
2045 | ||
2046 | * h8300.c (shift_alg_hi): Various tweaks to improve performance | |
2047 | of HImode shifts. | |
2048 | (get_shift_alg): Corresponding changes. | |
2049 | ||
43852342 JDA |
2050 | 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2051 | ||
2052 | * som.h (ALWAYS_STRIP_DOTDOT): Define to 1. | |
2053 | ||
44bb111a RH |
2054 | 2002-08-29 Richard Henderson <rth@redhat.com> |
2055 | ||
2056 | * expr.h (enum block_op_methods): New. | |
2057 | (emit_block_move): Update prototype. | |
2058 | * expr.c (block_move_libcall_safe_for_call_parm): New. | |
2059 | (emit_block_move_via_loop): New. | |
2060 | (emit_block_move): Use them. New argument METHOD. | |
2061 | (emit_push_insn): Always respect the given alignment. | |
2062 | (expand_assignment): Update call to emit_block_move. | |
2063 | (store_expr, store_field, expand_expr): Likewise. | |
2064 | * builtins.c (expand_builtin_apply): Likewise. | |
2065 | (expand_builtin_memcpy, expand_builtin_va_copy): Likewise. | |
2066 | * function.c (expand_function_end): Likewise. | |
2067 | * config/sh/sh.c (sh_initialize_trampoline): Likewise. | |
2068 | * config/sparc/sparc.c (sparc_va_arg): Likewise. | |
2069 | * calls.c (expand_call, emit_library_call_value_1): Likewise. | |
2070 | (save_fixed_argument_area): Use emit_block_move with | |
2071 | BLOCK_OP_CALL_PARM instead of move_by_pieces. | |
2072 | (restore_fixed_argument_area): Likewise. | |
2073 | (store_one_arg): Fix alignment parameter to emit_push_insn. | |
2074 | ||
08b3d104 JDA |
2075 | 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2076 | ||
2077 | * install.texi (hppa64-hp-hpux11*): Document installation procedure. | |
2078 | ||
ce4e9970 | 2079 | 2002-08-29 Catherine Moore <clm@redhat.com> |
8376061d CM |
2080 | |
2081 | * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL, | |
2082 | NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define. | |
2083 | (PREDICATE_CODES): Include new predicates. | |
2084 | (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e. | |
2085 | (TARGET_SWITCHES): Add strict-align. | |
2086 | (TARGET_STRICT_ALIGN): New. | |
2567406a | 2087 | (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine. |
8376061d CM |
2088 | * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): |
2089 | Define. | |
2090 | (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2, | |
2091 | v850_muldi3. | |
2092 | * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29, | |
2093 | L_callt_save_r2_r31, L_return_r2_r31, | |
2094 | L_save_all_interrupt): Change addi to add. | |
2095 | (L_save_interrupt, L_return_interrupt): Rework. | |
2096 | (__return_r31): Correct .size directive. | |
2097 | (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e. | |
2098 | (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3): | |
2099 | New routines. | |
2100 | * config/v850/v850.c (expand_prologue): Call | |
2101 | gen_callt_save_interrupt, gen_callt_restore_all_interrupt, | |
2102 | gen_callt_return_interrupt and gen_callt_save_all_interrupt. | |
2103 | (reg_or_int9_operand): New predicate. | |
2104 | (reg_or_const_operand): New routine. | |
2105 | * config/v850/v850.md (return_interrupt): Changed from | |
2106 | restore_interrupt. | |
2107 | (callt_save_all_interrupt): Changed from save_all_interrupt_v850e. | |
2108 | (callt_save_interrupt): Change save sequence. | |
2109 | (callt_return_interrupt): New. | |
2110 | (save_interrupt): Don't use runtime function for LONG_CALLS | |
2111 | and TARGET_PROLOG_FUNCTION. | |
2112 | (save_all_interrupt): Likewise. | |
2113 | (mulsi3): Use new predicate. | |
2114 | (moviscc): Disallow some combination of constants. | |
2115 | Fix define_split for sasf insns, so that it will not generate bad | |
2116 | code if operand0 and operand5 are the same. | |
2117 | * config/v850/v850-protos.h: Prototype new predicates. | |
2118 | ||
585e661a GDR |
2119 | 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2120 | ||
2121 | * c-common.c (builtin_define_type_precision): New function. | |
2122 | (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is | |
2123 | wchar_t is unsigned in C++. | |
2124 | * doc/cpp.texi (Common Predefined Macros): Document | |
2125 | __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__, | |
2126 | __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__, | |
2127 | __DOUBLE_BIT__, __LONG_DOUBLE_BIT__. | |
2128 | ||
bd8f9aec SP |
2129 | 2002-08-28 Sylvain Pion <pion@cs.nyu.edu> |
2130 | ||
2131 | * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic | |
2132 | section. Mention that it is enabled by -Wall. | |
2133 | (-Wall): Mention that there can be language-specific warnings as well. | |
2134 | (-Wctor-dtor-privacy): Mention that it is enabled by default. | |
2135 | (-Wnon-virtual-dtor): Mention that it is enabled by -Wall. | |
2136 | ||
58ab7171 R |
2137 | Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2138 | ||
2139 | * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler | |
2140 | if it is ever live. | |
2141 | ||
2142 | * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler | |
2143 | attribute for SHCOMPACT. | |
2144 | ||
2145 | * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it | |
2146 | appropriately. | |
2147 | (FUNCTION_BOUNDARY): Specify only the minimum alignment required | |
2148 | by the ABI. | |
2149 | ||
2150 | * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case. | |
2151 | ||
27f4b67e JT |
2152 | 2002-08-28 Jason Thorpe <thorpej@wasabisystems.com> |
2153 | ||
2154 | * config.gcc (mips*-*-netbsd*): Set target_cpu_default to | |
2155 | "MASK_GAS|MASK_ABICALLS". | |
2156 | * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT) | |
2157 | (TARGET_DEFAULT): Remove. | |
2158 | (MACHINE_TYPE): Undefine before defining. | |
2159 | (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove. | |
2160 | ||
eca7f13c MM |
2161 | 2002-08-27 Mark Mitchell <mark@codesourcery.com> |
2162 | ||
2163 | * c-common.c (warn_abi): New variable. | |
2164 | * c-common.h (warn_abi): Likewise. | |
2165 | * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi. | |
2166 | (c_common_decode_option): Handle it. | |
7ee425e4 | 2167 | * doc/invoke.texi: Document -Wabi. |
2567406a | 2168 | |
ece4ce85 NP |
2169 | Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it> |
2170 | ||
2171 | * c-common.c (warn_undeclared_selector): New variable. | |
2172 | * c-common.h (warn_undeclared_selector): Idem. | |
2173 | * c-opts.c (c_common_decode_option): Set warn_undeclared_selector | |
2174 | to on when -Wundeclared-selector is found. | |
2175 | (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector. | |
2176 | * objc/objc-act.c (build_selector_expr): If | |
2177 | warn_undeclared_selector is set, check that the selector has | |
2178 | already been defined, and emit a warning if not. | |
2179 | ||
b4378319 | 2180 | 2002-08-27 Nick Clifton <nickc@redhat.com> |
54c93c30 AE |
2181 | Catherine Moore <clm@redhat.com> |
2182 | Jim Wilson <wilson@cygnus.com> | |
2183 | ||
2184 | * config.gcc: Add v850e-*-* target. | |
2185 | Add --with-cpu= support for v850. | |
2186 | * config/v850/lib1funcs.asm: Add v850e callt functions. | |
2187 | * config/v850/v850.h: Add support for v850e target. | |
2188 | * config/v850/v850.c: Add functions to support v850e target. | |
2189 | * config/v850/v850-protos.h: Add prototypes for new functions in v850.c. | |
2190 | * config/v850/v850.md: Add patterns for v850e instructions. | |
2191 | * doc/invoke.texi: Document new v850e command line switches. | |
b4378319 | 2192 | |
ef261fee R |
2193 | Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2194 | Aldy Hernandez <aldyh at redhat dot com> | |
2195 | ||
2196 | * doc/tm.texi: Applied numerous fixes to the automaton based | |
2197 | scheduler descrition. | |
2198 | ||
c60ee6f5 JH |
2199 | Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz> |
2200 | ||
2201 | * i386.c (classify_argument): Handle variable sized objects. | |
2202 | ||
1985ef90 JH |
2203 | Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz> |
2204 | ||
2205 | * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem | |
2206 | ||
7acc97e0 JH |
2207 | Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz> |
2208 | ||
2209 | * libgcc2.c (__bb_exit_func): Properly write the summarized statistics. | |
2210 | ||
23327dae JH |
2211 | Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
2212 | ||
2213 | * i386.c (classify_argument): Properly compute word size of the analyzed object. | |
2214 | ||
c49439f1 R |
2215 | Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2216 | ||
2217 | * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp, | |
2218 | mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn | |
2219 | accordingly. | |
2220 | (attribute insn_class): Provide default definitions based on type. | |
2221 | Remove all insn-specific settings. | |
2222 | (various function units): Remove old SH4 scheduling. | |
2223 | (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load): | |
2224 | New attributes. Set them where appropriate. | |
2225 | (cpu unit FS): Don't define / use. | |
2226 | (F3, load_store): New cpu units. | |
2227 | (F01): New reservation. | |
2228 | (all insn_reservations): Make dependent on sh4 pipeline model. | |
2229 | Fix latencies. | |
2230 | (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations. | |
2231 | (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise. | |
2232 | (mt insn_reservation): Use type mt_group. | |
2233 | (insn_reservation load_store): Split into sh4_load, sh4_load_si, | |
2234 | sh4_fload and sh4_store. | |
2235 | (insn_reservation branch_zero and branch): Replace with sh4_branch. | |
2236 | (insn_reservation branch_far): Replace with sh4_return. | |
2237 | (insn_reservation return_from_exp): Rename to: | |
2238 | (sh4_return_from_exp). Change to be just d_lock*5. | |
2239 | (insn_reservation lds_to_pr): Rename to: | |
2240 | (sh4_lds_to_pr). Change to be just d_lock*2. | |
2241 | (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just | |
2242 | d_lock*2. | |
2243 | (insn_reservation prload_mem): Rename to: | |
2244 | (sh4_prstore_mem). Change to d_lock*2,nothing,memory. | |
2245 | (insn_reservation fpscr_store): Rename to: | |
2246 | (fpscr_load). Change to d_lock,nothing,F1*3. | |
2247 | (insn_reservation fpscr_store_mem): Rename to: | |
2248 | (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2. | |
2249 | (insn_reservation multi): Change to | |
2250 | d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2. | |
2251 | (insn_reservation fp_arith): Change to issue,F01,F2. | |
2252 | (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2. | |
2253 | (insn_reservation dp_float): Change to issue,F01,F1+F2,F2. | |
2254 | (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2. | |
2255 | (insn_reservation fp_double_cmp): Change to | |
2256 | d_lock,(d_lock+F01),F1+F2,F2. | |
2257 | (insn_reservation dp_div): Change to | |
2258 | issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2. | |
2259 | * sh.c (flow_dependent_p, flow_dependent_p_1): New functions. | |
2260 | (sh_adjust_cost, SHcompact): Differentiate between different | |
2261 | kinds of dependencies. Drop factor of ten for superscalar. | |
2262 | Use new instruction types. Add new exception rules. | |
2263 | ||
2264 | * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note. | |
2265 | ||
2266 | * sh.md (mperm_w): Add DONE. | |
2267 | ||
f34fc46e DE |
2268 | 2002-08-27 David Edelsohn <edelsohn@gnu.org> |
2269 | ||
2270 | * longlong.h: Import current PowerPC defintion from GMP-4.1. | |
2271 | ||
2272 | * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case. | |
2273 | ||
2274 | * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define. | |
2275 | ||
dcb44500 R |
2276 | Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2277 | ||
2278 | * sh.h (MAX_FIXED_MODE_SIZE): Define. | |
2279 | ||
3ec07554 GDR |
2280 | 2002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net> |
2281 | ||
2282 | * doc/cpp.texi (Common Predefined Macros): Don't mess with table | |
2567406a | 2283 | delimiter. |
3ec07554 | 2284 | |
35885eab GDR |
2285 | 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2286 | ||
2287 | * c-common.c (cpp_define_data_format): New function. | |
2288 | (cb_register_builtins): Call it. | |
2289 | ||
2290 | * doc/cpp.texi (Common Predefined Macros): Document | |
2291 | __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__, | |
2292 | __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__, | |
2293 | __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__, | |
2294 | __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__, | |
2295 | __TARGET_USES_VAX_H_FLOAT__. | |
2296 | ||
d632dee9 ZL |
2297 | 2002-08-26 Ziemowit Laski <zlaski@apple.com> |
2298 | ||
2299 | * objc/objc-act.c (get_super_receiver): If inside a class method | |
2300 | of a category, cast the receiver to 'id' before accessing the 'isa' | |
2301 | field so that <objc/objc-class.h> is not needed. For NeXT runtime. | |
2302 | ||
c3cc6b78 UW |
2303 | 2002-08-26 Ulrich Weigand <uweigand@de.ibm.com> |
2304 | ||
2567406a | 2305 | * config/s390/s390-protos.h (s390_function_prologue, |
c3cc6b78 UW |
2306 | s390_function_epilogue): Remove. |
2307 | config/s390/s390.c (s390_function_prologue, s390_function_epilogue, | |
2308 | TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove. | |
2309 | ||
2310 | config/s390/s390.c (s390_machine_dependent_recorg): New function. | |
2311 | config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it. | |
2312 | config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it. | |
2313 | config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt | |
2314 | to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live. | |
2315 | ||
2567406a | 2316 | config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always |
c3cc6b78 UW |
2317 | assume BASE_REGISTER and RETURN_REGNUM need to be saved. |
2318 | (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff | |
2319 | function is not a leaf function. Use save_gprs and restore_gprs. | |
2320 | (s390_emit_epilogue): Likewise. | |
2321 | (save_gprs, restore_gprs): New functions. | |
2322 | (struct s390_frame): Remove return_reg_saved_p member. | |
2323 | (save_fprs_p): Remove. | |
2324 | (s390_optimize_prolog): New function. | |
2325 | (s390_legitimate_reload_constant): Remove now unnecessary check. | |
2326 | ||
2327 | (s390_function_count): Remove. | |
2328 | (s390_output_symbolic_const): Replace s390_function_count by | |
2329 | current_function_funcdef_no. | |
2330 | (s390_output_constant_pool): Likewise. | |
2331 | ||
2332 | (legitimize_pic_address): Use regs_ever_live to track PIC register | |
2333 | instead of current_function_uses_pic_offset_table. | |
2334 | (s390_emit_prologue): Likewise. | |
2335 | config/s390/s390.md ("call", "call_value"): Likewise. | |
2336 | ||
3f662186 NB |
2337 | 2002-08-26 Neil Booth <neil@daikokuya.co.uk> |
2338 | ||
2339 | * c-opts.c (find_opt): Don't complain about wrong languages | |
2340 | here. Return exact matches even for wrong language. | |
2341 | (c_common_decode_option): Complain about wrong languages | |
2342 | here. | |
2343 | ||
b6128b8c SH |
2344 | 2002-08-24 Stuart Hastings <stuart@apple.com> |
2345 | ||
2346 | * function.h (struct function): Add flag | |
2347 | all_throwers_are_sibcalls. | |
2348 | * except.c (set_nothrow_function_flags): Replaces | |
2349 | nothrow_function_p. Set new flag. | |
2350 | * except.h (set_nothrow_function_flags): Replaces | |
2351 | nothrow_function_p. | |
2352 | * dwarf2out.c (struct dw_fde_struct): Add flag | |
2353 | all_throwers_are_sibcalls. | |
2354 | (output_call_frame_info): Test it. | |
2355 | (dwarf2out_begin_prologue) Propagate it from cfun to | |
2356 | dw_fde_struct. | |
2357 | * toplev.c (rest_of_compilation): Update calls to | |
2358 | nothrow_function_p. | |
2359 | ||
280cf02a ZW |
2360 | 2002-08-23 Zack Weinberg <zack@codesourcery.com> |
2361 | ||
2362 | * ggc-page.c (compute_inverse): Short circuit calculation for | |
2363 | object sizes larger than half a page. | |
2364 | ||
c6664446 DE |
2365 | 2002-08-23 David Edelsohn <edelsohn@gnu.org> |
2366 | ||
2367 | * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat | |
2368 | DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly | |
2369 | default. | |
2370 | (rs6000_elf_unique_section): Likewise. | |
2371 | ||
da57d233 KG |
2372 | 2002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2373 | ||
2374 | * ns32k.c (ns32k_globalize_label): Delete. | |
2375 | * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete. | |
2376 | ||
56a7189a AM |
2377 | 2002-08-23 Alan Modra <amodra@bigpond.net.au> |
2378 | ||
2379 | * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns | |
2380 | for loading delta with num_insns_constant_wide. Calculate | |
2381 | delta_low, delta_high without using a conditional. | |
2382 | ||
d65b1d77 JM |
2383 | 2002-08-22 Jason Merrill <jason@redhat.com> |
2384 | ||
2385 | * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR. | |
2386 | * c-common.def: Adjust. | |
2387 | * c-dump.c (c_dump_tree): Adjust. | |
2388 | * c-semantics.c (genrtl_return_stmt): Adjust. | |
2389 | * c-pretty-print.c (pp_c_statement): Adjust. | |
2390 | * tree-inline.c (copy_body_r): Adjust. | |
2391 | ||
8537ed68 ZW |
2392 | 2002-08-22 Zack Weinberg <zack@codesourcery.com> |
2393 | ||
2394 | * ggc-page.c: Avoid division in ggc_set_mark. | |
2395 | (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table, | |
2396 | compute_inverse): New. | |
2397 | (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT. | |
2398 | (init_ggc): Initialize inverse_table. | |
2399 | ||
8567c70f TT |
2400 | 2002-08-22 Tom Tromey <tromey@redhat.com> |
2401 | ||
2402 | * doc/install.texi (Configuration): Document --datadir. | |
2403 | ||
fde59d4b AO |
2404 | 2002-08-22 Alexandre Oliva <aoliva@redhat.com> |
2405 | ||
2406 | * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H). | |
2407 | ||
44ddc79a HPN |
2408 | 2002-08-22 Hans-Peter Nilsson <hp@bitrange.com> |
2409 | ||
2410 | * gengtype-lex.l (ID): Allow underscore as first character. | |
2411 | ||
b275d088 DE |
2412 | 2002-08-21 David Edelsohn <edelsohn@gnu.org> |
2413 | ||
2414 | * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New | |
2415 | function. | |
2416 | (rs6000_xcoff_asm_named_section): Rename. | |
2417 | * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define. | |
2418 | ||
57ce46bb TT |
2419 | 2002-08-21 Tom Tromey <tromey@redhat.com> |
2420 | ||
2421 | For PR java/6005 and PR java/7611: | |
2422 | * fold-const.c (fold_truthop): Use can_use_bit_fields_p. | |
2423 | (fold): Likewise. | |
2424 | * langhooks.c (lhd_can_use_bit_fields_p): New function. | |
2425 | * langhooks-def.h (lhd_can_use_bit_fields_p): Declare. | |
2426 | (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define. | |
2427 | (LANG_HOOKS_INITIALIZER): Use it. | |
2428 | * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New | |
2429 | field. | |
2430 | ||
27d30956 SS |
2431 | 2002-08-21 Stan Shebs <shebs@apple.com> |
2432 | ||
2433 | * tree.c (finish_vector_type): Fix a typo in a comment. | |
2434 | * Makefile.in: Fix "the the" stutters in comments. | |
2435 | * genautomata.c: Ditto. | |
2436 | * ifcvt.c: Ditto. | |
2437 | * regrename.c: Ditto. | |
2438 | * config/alpha/alpha.c: Ditto. | |
2439 | * config/alpha/vms-crt0-64.c: Ditto. | |
2440 | * config/alpha/vms-crt0.c: Ditto. | |
2441 | * config/alpha/vms-psxcrt0-64.c: Ditto. | |
2442 | * config/alpha/vms-psxcrt0.c: Ditto. | |
2443 | * config/d30v/d30v.h: Ditto. | |
2444 | * config/fr30/fr30.h: Ditto. | |
2445 | * config/rs6000/rs6000.c: Ditto. | |
2446 | * config/stormy16/stormy16.h: Ditto. | |
2447 | * doc/md.texi: Ditto. | |
8537ed68 | 2448 | |
d873d827 JDA |
2449 | 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2450 | ||
2451 | * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value. | |
2452 | ||
b462d4ab JM |
2453 | 2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk> |
2454 | ||
2455 | * c-decl.c (grokdeclarator): Make invalid combinations with long, | |
2456 | short, signed or unsigned into hard errors. Fixes PR c/4319. | |
2457 | Also make duplicate modifiers such as "short short" into hard | |
2458 | errors. | |
2459 | ||
b65d23aa | 2460 | 2002-08-21 Andrew Pinski <pinskia@physics.uc.edu> |
8537ed68 | 2461 | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
b65d23aa AP |
2462 | |
2463 | * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn' | |
2464 | to the actual end. Add '@end table' and '@table @code'. | |
8537ed68 | 2465 | |
3823f0b2 GK |
2466 | 2002-08-20 Geoffrey Keating <geoffk@redhat.com> |
2467 | ||
8d25d915 GK |
2468 | * doc/tm.texi (Label Output): Add missing '@end deftypefn'. |
2469 | ||
3823f0b2 GK |
2470 | * unroll.c (biv_total_increment): Don't try to compute the total |
2471 | increment for FP BIVs. | |
2472 | ||
5eb99654 KG |
2473 | 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2474 | ||
2475 | * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk. | |
2476 | * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL, | |
2477 | ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2478 | * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise. | |
2479 | * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete. | |
2480 | * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise. | |
2481 | (GLOBAL_ASM_OP): Define. | |
2482 | * arm.c (aof_globalize_label): New function. | |
2483 | (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF. | |
2484 | * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2485 | * c4x.c (c4x_globalize_label): New function. | |
2486 | (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x. | |
2487 | * c4x.h (ASM_GLOBALIZE_LABEL): Delete. | |
2488 | (GLOBAL_ASM_OP): Define. | |
2489 | * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook. | |
2490 | * darwin-protos.h (darwin_globalize_label): Declare. | |
2491 | * darwin.c (darwin_globalize_label): New function. | |
2492 | * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook. | |
2493 | (ASM_GLOBALIZE_LABEL): Delete. | |
2494 | (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define. | |
2495 | * dsp16xx.c (asm_output_common): Use target hook. | |
2496 | * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. | |
2497 | * frv.h (ASM_GLOBALIZE_LABEL): Delete. | |
2498 | (GLOBAL_ASM_OP): Define. | |
2499 | * i370.c (i370_globalize_label): New function. | |
2500 | (TARGET_ASM_GLOBALIZE_LABEL): Define for i370. | |
2501 | * i370.h (ASM_GLOBALIZE_LABEL): Delete. | |
2502 | * i386.c (ix86_asm_file_end): Use target hook. | |
2503 | * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef. | |
2504 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook. | |
2505 | * ia64.c (ia64_asm_output_external): Likewise. | |
2506 | * ia64/sysv4.h: Update comment. | |
2507 | * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2508 | * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
2509 | * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook. | |
2510 | * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
2511 | * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook. | |
2512 | * mmix-protos.h (mmix_asm_globalize_label): Delete. | |
2513 | * mmix.c (mmix_asm_globalize_label): Likewise. | |
2514 | * mmix.h (ASM_GLOBALIZE_LABEL): Likewise. | |
2515 | (GLOBAL_ASM_OP): Define. | |
2516 | * ns32k.c (ns32k_globalize_label): New function. | |
2517 | * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k. | |
2518 | (ASM_GLOBALIZE_LABEL): Delete. | |
2519 | * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef. | |
2520 | (TARGET_ASM_GLOBALIZE_LABEL): Undefine. | |
2521 | * pa.c (pa_globalize_label): New function. | |
2522 | * pa.h (ASM_GLOBALIZE_LABEL): Delete. | |
2523 | (TARGET_ASM_GLOBALIZE_LABEL): Define for pa. | |
2524 | * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete. | |
2525 | (GLOBAL_ASM_OP): Define. | |
2526 | (TARGET_ASM_GLOBALIZE_LABEL): Undef. | |
2527 | * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. | |
2528 | * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete. | |
2529 | (GLOBAL_ASM_OP): Define. | |
2530 | * v850.c (v850_output_aligned_bss): Use target hook. | |
2531 | * vax.c (vms_globalize_label): New function. | |
2532 | (TARGET_ASM_GLOBALIZE_LABEL): Define for vms. | |
2533 | * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete. | |
2534 | (GLOBAL_ASM_OP): Define. | |
2535 | * defaults.h (ASM_GLOBALIZE_LABEL): Delete. | |
2536 | * doc/tm.texi: Update docs. | |
2537 | * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use | |
2538 | target hook. | |
2539 | * final.c (output_alternate_entry_point): Likewise. | |
2540 | * hooks.c (hook_FILEptr_constcharptr_void): New function. | |
2541 | * hooks.h (hook_FILEptr_constcharptr_void): Declare. | |
2542 | * output.h (assemble_global): Delete. | |
2543 | (default_globalize_label): Declare. | |
2544 | * system.h (ASM_GLOBALIZE_LABEL): Poison. | |
2545 | * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define. | |
2546 | (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL. | |
2547 | * target.h (gcc_target): Add globalize_label member. | |
2548 | * varasm.c (asm_output_bss, asm_output_aligned_bss, | |
2549 | globalize_decl): Use target hook. | |
2550 | (assemble_global): Delete. | |
2551 | (default_globalize_label): New function. | |
2552 | ||
f8f28a75 KG |
2553 | 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2554 | ||
2555 | * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete. | |
2556 | ||
92b5aacd DP |
2557 | 2002-08-20 Devang Patel <dpatel@apple.com> |
2558 | * tree.c (get_qualified_type): Add TYPE_CONTEXT check. | |
8537ed68 | 2559 | |
761c70aa KG |
2560 | 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2561 | ||
2562 | * arc.c (output_shift): Use stdio instead of asm_fprintf. | |
2563 | * arm.c (thumb_output_function_prologue): Likewise. | |
2564 | * avr.c (print_operand): Likewise. | |
2565 | * c4x.c (c4x_print_operand): Likewise. | |
2566 | * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE, | |
2567 | ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise. | |
2568 | * cris.c (cris_target_asm_function_prologue, | |
2569 | cris_asm_output_mi_thunk): Likewise. | |
2570 | * h8300.c (print_operand): Likewise. | |
2571 | * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2572 | * ip2k.c (print_operand): Likewise. Fix format specifier. | |
2573 | * m68hc11.c (asm_print_register, print_operand, | |
2574 | print_operand_address): Use stdio instead of asm_fprintf. | |
2575 | (print_operand_address): Fix format specifier. | |
2576 | * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT, | |
2577 | ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of | |
2578 | asm_fprintf. | |
2579 | * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
2580 | * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
2581 | * m68k.c (m68k_output_function_prologue, | |
2582 | m68k_output_function_epilogue, print_operand): Likewise. | |
2583 | * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label): | |
2584 | Likewise. Fix format specifier. | |
2585 | * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2586 | * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2587 | * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. | |
2588 | ||
5ce6f47b EC |
2589 | 2002-08-15 Eric Christopher <echristo@redhat.com> |
2590 | Jeff Knaggs <jknaggs@redhat.com> | |
2591 | ||
2592 | * config.gcc (mipsisa64sr71k-elf): New target. | |
2593 | * config/mips/sr71k.md: New file. | |
2594 | * config/mips/mips.md: Use it. | |
2595 | (rot*): Add sr71k specifics. | |
2596 | * config/mips/t-sr71k: New file. | |
2597 | * config/mips/mips.h (sr71k): New cpu. | |
2598 | (TARGET_SR71K): Use it. | |
2599 | (TUNE_SR71K): Ditto. | |
2600 | (GENERATE_BRANCHLIKELY): Ditto. | |
2601 | (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC, | |
2602 | ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto. | |
2603 | * config/mips/mips.c (sr71k): New cpu. | |
2604 | (mips_use_dfa_pipeline_interface): Use. | |
2605 | ||
2606 | 2002-08-15 Eric Christopher <echristo@redhat.com> | |
8537ed68 | 2607 | Richard Sandiford <rsandifo@redhat.com> |
5ce6f47b EC |
2608 | Aldy Hernandez <aldyh@redhat.com> |
2609 | Graham Stott <grahams@redhat.com> | |
2610 | Michael Meissner <meissner@redhat.com> | |
2611 | Gavin Romig-Koch <gavin@redhat.com> | |
2612 | Ken Raeburn <raeburn@cygnus.com> | |
2613 | Alexandre Oliva <aoliva@redhat.com> | |
2614 | ||
2615 | * config.gcc (mips64vr-elf): New target. | |
2616 | * config/mips/5400.md: New file. | |
2617 | * config/mips/5500.md: Ditto. | |
2618 | * config/mips/mips.md: Use them. | |
2619 | (frsqrt): New. | |
2620 | * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New | |
2621 | cpus. | |
2622 | (mips_issue_rate): Use them. | |
2623 | (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500. | |
2624 | (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above. | |
2625 | * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New | |
2626 | cpus. | |
2627 | (TARGET_MIPSx): Use them. | |
2628 | (TUNE_MIPSx): Ditto. | |
2629 | (GETNATE_MULT3_SI): Ditto. | |
2630 | (ISA_HAS_BRANCHLIKELY): Ditto. | |
2631 | (ISA_HAS_CONDMOVE): Ditto. | |
2632 | (ISA_HAS_NMADD_NMSUB): Ditto. | |
2633 | (ISA_HAS_MULHI): New. Ditto. | |
2634 | (ISA_HAS_MULS): Ditto. | |
2635 | (ISA_HAS_MSAC): Ditto. | |
2636 | (ISA_HAS_MACC): Ditto. | |
2637 | (ISA_HAS_ROTR_SI): Ditto. | |
2638 | (ISA_HAS_ROTR_DI): Ditto. | |
2639 | (RTX_COSTS): Use. | |
2640 | ||
48209ce5 JDA |
2641 | 2002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2642 | ||
2643 | * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal | |
2644 | at head. | |
2645 | (remove_dup_nonsys_dirs): New function. | |
2646 | (remove_dup_dirs): Change argument head to head_ptr. Remove warnings. | |
2647 | (merge_include_chains): Remove non-system include directories from | |
2648 | quote and bracket include chains when they duplicate equivalent system | |
2649 | directories. | |
2650 | * doc/cpp.texi (-I): Update. | |
8537ed68 ZW |
2651 | * doc/cppopts.texi (-I): Update. |
2652 | * doc/install.texi (--with-local-prefix): Further document usage of | |
48209ce5 JDA |
2653 | this option. |
2654 | * doc/invoke.texi (-I): Update. | |
2655 | ||
4ca79136 RH |
2656 | 2002-08-20 Richard Henderson <rth@redhat.com> |
2657 | ||
2658 | * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean. | |
2659 | (emit_block_move): Split out subroutines. | |
2660 | (emit_block_move_via_movstr): New. | |
2661 | (emit_block_move_via_libcall): New. Emit bcopy via normal call also. | |
2662 | (emit_block_move_libcall_fn): New. Construct function prototype for | |
2663 | bcopy as well. | |
2664 | (clear_storage): Split out subroutines. | |
2665 | (clear_storage_via_clrstr): New. | |
2666 | (clear_storage_via_libcall): New. Emit bzero as a normal call also. | |
2667 | (clear_storage_libcall_fn): New. Construct function prototype for | |
2668 | bzero as well. | |
2669 | (emit_push_insn): Use emit_block_move. | |
2670 | (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS. | |
2671 | (store_constructor): Likewise. | |
2672 | ||
9f05cef3 ZL |
2673 | 2002-08-19 Ziemowit Laski <zlaski@apple.com> |
2674 | ||
2675 | * objc/objc-act.c (building_objc_message_expr): Rename to | |
2676 | current_objc_message_selector. | |
2677 | ||
1bd5981b ZL |
2678 | 2002-08-19 Ziemowit Laski <zlaski@apple.com> |
2679 | ||
2680 | * objc/objc-act.c (build_ivar_chain): Remove. | |
2681 | (objc_copy_list): Likewise. | |
2682 | (get_class_ivars): Inline call to removed build_ivar_chain | |
2683 | function. Save off a clean copy of ivars in the CLASS_OWN_IVARS | |
2684 | slot; use that slot (rather than CLASS_IVARS) when accessing | |
2685 | ivars for base classes. Call copy_list and chainon instead of | |
2686 | objc_copy_list. | |
2687 | (build_private_template): Call get_class_ivars instead of | |
2688 | build_ivar_chain. | |
2689 | (start_class): Allocate room for the CLASS_OWN_IVARS slot. | |
5ce6f47b | 2690 | (continue_class): Call get_class_ivars instead of |
1bd5981b ZL |
2691 | build_ivar_chain. |
2692 | (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead | |
2693 | of DECL_BIT_FIELD (which may have been cleared). | |
2694 | * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro. | |
2695 | ||
2bf087c0 KG |
2696 | 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2697 | ||
2698 | * genautomata.c (output_translate_vect, output_state_ainsn_table, | |
2699 | output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED | |
2700 | in output file. | |
2701 | (output_internal_min_issue_delay_func): Initialize variable in | |
2702 | output file. | |
2703 | ||
3fcd079e AO |
2704 | 2002-08-19 Alexandre Oliva <aoliva@redhat.com> |
2705 | ||
2706 | * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER. | |
2707 | (stage2_build, stage3_build, stage4_build): Likewise, to CC. | |
2708 | ||
71012d97 GK |
2709 | 2002-08-19 Geoffrey Keating <geoffk@redhat.com> |
2710 | Steve Ellcey <sje@cup.hp.com> | |
2711 | ||
2712 | * machmode.h (SCALAR_INT_MODE_P): New macro to test for | |
2713 | scaler integer mode (MODE_INT or MODE_PARTIAL_INT). | |
2714 | * explow.c (trunc_int_for_mode): Abort when the mode is not | |
2715 | a scaler integer mode. | |
2716 | * combine.c (expand_compound_operation): Don't expand Vector | |
2717 | or Complex modes into shifts. | |
2718 | (expand_field_assignment): Don't do bitwise arithmatic and | |
2719 | shifts on Vector or Complex modes. | |
2720 | (simplify_comparison): Don't call trunc_int_for_mode | |
2721 | for VOIDmode. | |
2722 | * recog.c (general_operand): Likewise. | |
2723 | (immediate_operand): Likewise. | |
2724 | (nonmemory_operand): Likewise. | |
2725 | ||
af8cb5c5 DE |
2726 | 2002-08-19 David Edelsohn <edelsohn@gnu.org> |
2727 | ||
2728 | * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline | |
2729 | multi-instruction SImode constant. Add REG_EQUAL note. | |
2730 | * config/rs6000/rs6000.md (movsi splitter): Use | |
5ce6f47b | 2731 | rs6000_emit_set_const. |
af8cb5c5 | 2732 | |
9bc146b3 KG |
2733 | 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2734 | ||
2735 | * tree-inline.c (initialize_inlined_parameters): Wrap variable in | |
2736 | the macro test controlling its use. | |
2737 | ||
66df2ac2 L |
2738 | 2002-08-18 H.J. Lu (hjl@gnu.org) |
2739 | ||
2740 | * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o | |
2741 | crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and | |
2742 | gnu_ld=yes. | |
2743 | (alpha*-*-linux*, cris-*-linux*, i370-*-linux*, | |
2744 | i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*, | |
2745 | s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*, | |
2746 | xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld | |
2747 | here. | |
2748 | (cris-*-linux*): Remove setting thread_file here. | |
2749 | ||
463f1b2b NB |
2750 | 2002-08-18 Neil Booth <neil@daikokuya.co.uk> |
2751 | ||
2752 | PR preprocessor/7602 | |
2753 | * cppinit.c (path_include): Treat the system environment | |
2754 | variables as being cxx_aware. | |
2755 | ||
2984fe64 JM |
2756 | 2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk> |
2757 | ||
2758 | * c-decl.c (flexible_array_type_p): New function. | |
2759 | (grokdeclarator, finish_struct): Use it. | |
2760 | * doc/extend.texi: Document constraints on use of structures with | |
2761 | flexible array members. | |
2762 | ||
fded6d78 RS |
2763 | 2002-08-17 Richard Sandiford <rsandifo@redhat.com> |
2764 | ||
2765 | * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264, | |
2766 | config/mips/t-r3900 (MULTILIB_MATCHES): Define. | |
2767 | * config/mips/mips.h (ASM_SPEC): Use %(endian_spec). | |
2768 | ||
8aa5074e SS |
2769 | 2002-08-16 Stan Shebs <shebs@apple.com> |
2770 | ||
2771 | * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__ | |
2772 | for ObjC with -fnext-runtime. | |
2773 | * doc/cpp.texi: Document it. | |
2774 | ||
f97a5bda JJ |
2775 | 2002-08-16 Janis Johnson <janis187@us.ibm.com> |
2776 | ||
2777 | * doc/install.texi (Final installation): Replace links to individual | |
2778 | build status pages with a link to a common page that lists them all. | |
2779 | ||
d3075b6c SP |
2780 | 2002-08-16 Sylvain Pion <pion@cs.nyu.edu> |
2781 | ||
2782 | * doc/invoke.texi: Fix typo. | |
2783 | ||
fdf68669 DE |
2784 | 2002-08-16 David Edelsohn <edelsohn@gnu.org> |
2785 | ||
2786 | * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning. | |
2787 | ||
2788 | 2002-08-16 Andrew Haley <aph@redhat.com> | |
d436bff8 AH |
2789 | |
2790 | * tree-inline.c: Add includes for Java inliner. | |
2791 | (remap_decl): Don't handle anonymous types for Java. | |
2792 | (remap_block): Add handling for Java trees. | |
2793 | (copy_scope_stmt): Conditionalize for non-Java use only. | |
2794 | (copy_body_r): Handle Java trees. Add handling for | |
2795 | LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks. | |
2796 | (initialize_inlined_parameters): Handle Java trees. | |
2797 | (declare_return_variable): Likewise. | |
2798 | (expand_call_inline): Handle Java trees. | |
2799 | (walk_tree): Likewise. | |
2800 | (copy_tree_r): Don't handle SCOPE_STMTs for Java. | |
2801 | (add_stmt_to_compound): New function. | |
2802 | ||
204250d2 RH |
2803 | 2002-08-15 Richard Henderson <rth@redhat.com> |
2804 | ||
2805 | * Makefile.in (LOOSE_WARN): Remove -fno-common. | |
2806 | (NOCOMMON_FLAG): New substitution point. | |
2807 | (GCC_WARN_CFLAGS): Include it. | |
2808 | * configure.in (ac_checking): Set nocommon_flag. | |
2809 | (nocommon_flag): New substitution point. | |
2810 | ||
25587e40 AO |
2811 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> |
2812 | ||
2813 | * c-tree.h (skip_evaluation): Move declaration... | |
2814 | * c-common.h: ... here. | |
2815 | * c-typeck.c (build_external_ref): Don't assemble_external nor | |
2816 | mark a tree as used if skip_evaluation is set. | |
2817 | * c-parse.in (typeof): New non-terminal to set skip_evaluation | |
2818 | around TYPEOF. | |
2819 | (typespec_nonreserved_nonattr): Use it. | |
2820 | ||
702ada3d DR |
2821 | 2002-08-15 Douglas B Rupp <rupp@gnat.com> |
2822 | ||
2823 | * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue. | |
2824 | (xcoff_debug_hooks): Update end_prologue. | |
2825 | * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue. | |
2826 | * debug.h (end_prologue): Add file arg. | |
2827 | (end_epilogue): Add line and file args. | |
2828 | (dwarf2out_end_epilogue): Add line and file args. | |
2829 | (vmsdbgout_after_prologue): Remove. | |
2830 | * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args. | |
2831 | (dwarf2_debug_hooks): Update end_prologue. | |
2832 | * dwarfout.c (dwarfout_end_epilogue): Add line and file args. | |
2833 | (dwarfout_end_prologue): Add file arg. | |
2834 | * final.c (vmsdbgout_after_prologue): Remove | |
2835 | (final_end_function): Update end_epilogue call. | |
2836 | (final_scan_insn): Update end_prologue call. | |
2837 | * sdbout.c (sdbout_end_epilogue): Add line and file args. | |
2838 | (sdbout_end_prologue): Add file arg. | |
2839 | (sdb_debug_hooks): Update end_prologue. | |
2840 | (sdb_begin_prologue): Update sdbout_end_prologue call. | |
2841 | * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue, | |
2842 | vmsdbgout_end_function. | |
2843 | (vmsdbgout_end_prologue): New function renamed from | |
2844 | vmsdbgout_after_prologue. Call vmsdbgout_source_line. | |
2845 | (vmsdbgout_end_function): New function. | |
2846 | (vmsdbgout_end_epilogue): Add line and file args. Call | |
2847 | vmsdbgout_source_line. | |
2848 | (write_pclines): Write only valid line numbers. | |
2849 | (write_srccorr): Don't write source correlation records if 0 lines. | |
2850 | * xcoffout.c (xcoffout_end_epilogue): Add line and file args. | |
2851 | ||
9ef30f83 SE |
2852 | 2002-08-15 Steve Ellcey <sje@cup.hp.com> |
2853 | ||
2854 | * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX. | |
2855 | (_Unwind_Internal_Ptr): 32 bit version for use in | |
2856 | read_encoded_value_with_base. | |
2857 | * gcc/unwind-pe.h (read_encoded_value_with_base): Use | |
2858 | _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the | |
2859 | right size. | |
2860 | ||
f7043461 KG |
2861 | 2002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2862 | ||
2863 | * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid | |
2864 | signed/unsigned warnings. | |
2865 | ||
2866 | * regclass.c (init_reg_sets_1, choose_hard_reg_mode, | |
2867 | record_reg_classes): Likewise. | |
2868 | ||
2869 | * reload.c (reload_inner_reg_of_subreg, push_reload, | |
2870 | find_reloads_address_1): Likewise. | |
2871 | ||
b4d330e1 DE |
2872 | 2002-08-15 David Edelsohn <edelsohn@gnu.org> |
2873 | ||
2874 | * rs6000.c (output_mi_thunk): Return to function section on | |
2875 | TARGET_ELF. | |
2876 | ||
2877 | * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405. | |
2878 | ||
61f02ff5 UW |
2879 | 2002-08-15 Ulrich Weigand <uweigand@de.ibm.com> |
2880 | ||
2881 | * config/s390/s390.c (legitimize_address): Optimize loading | |
2882 | of large displacements. | |
2883 | ||
1330f7d5 DR |
2884 | 2002-08-14 Douglas B Rupp <rupp@gnat.com> |
2885 | ||
2886 | * config/alpha/alpha-protos.h: Update. | |
2887 | ||
2888 | * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro. | |
2889 | (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P. | |
2890 | (alpha_linkage_symbol_p): New static function. | |
2891 | (print_operand_address): Print linkage operand. | |
2892 | ||
2893 | (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static | |
2894 | variables. | |
2895 | (reloc_kind): New enum. | |
2896 | (struct alpha_funcs): New struct. | |
2897 | (struct alpha_links): Add reloc_kind field. Rename links_kind field. | |
2898 | ||
2899 | (alpha_need_linkage): Rewrite. | |
2900 | (alpha_use_linkage): New global function. | |
2901 | (alpha_write_linkage): Rewrite and make static. | |
2902 | (alpha_write_one_linkage): Rewrite | |
2903 | ||
2904 | (alpha_start_function): Remove procedure descriptor output. | |
2905 | (alpha_end_function): Write linkages at end of each function. | |
2906 | ||
2907 | * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite. | |
2908 | (call_vms_1, call_value_vms_1): Rewrite. | |
2909 | ||
2910 | * config/alpha/vms.h (ASM_FILE_END): Remove. | |
2911 | ||
d1f1cc6a RH |
2912 | 2002-08-14 Richard Henderson <rth@redhat.com> |
2913 | ||
2914 | * ggc-page.c (RTL_SIZE): New. | |
2915 | (extra_order_size_table): Add specializations for 2 and 10 rtl slots. | |
2916 | * rtl.def (BARRIER, NOTE): Pad to 9 slots. | |
2917 | ||
23626154 RH |
2918 | 2002-08-14 Richard Henderson <rth@redhat.com> |
2919 | ||
2920 | * calls.c: Include target.h. | |
2921 | * Makefile.in (calls.o): Update. | |
2922 | ||
2923 | * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p. | |
2924 | * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise. | |
2925 | ||
fd350d24 RH |
2926 | 2002-08-14 Richard Henderson <rth@redhat.com> |
2927 | ||
2928 | * Makefile.in (LOOSE_WARN): Add -fno-common. | |
2929 | * c-common.h (constant_string_class_name): Add missing extern. | |
2930 | ||
182d89a3 NB |
2931 | 2002-08-15 Neil Booth <neil@daikokuya.co.uk> |
2932 | ||
2933 | PR preprocessor/7358 | |
2934 | * c-opts.c (check_deps_environment_vars): Ignore main file | |
2935 | for SUNPRO_DEPENDENCIES. | |
2936 | * cppfiles.c (stack_include_file): Ignore main file if | |
2937 | appropriate. | |
2938 | * cpplib.h (struct cpp_options): New member in deps. | |
2939 | * doc/cppenv.texi: Update. | |
2940 | ||
8bfb1467 NB |
2941 | 2002-08-14 Neil Booth <neil@daikokuya.co.uk> |
2942 | ||
2943 | PR preprocessor/7526 | |
2944 | * cpplib.c (run_directive): Kludge so _Pragma dependency works. | |
2945 | ||
41685063 NS |
2946 | 2002-08-14 Nathan Sidwell <nathan@codesourcery.com> |
2947 | ||
2948 | * doc/invoke.texi (-a): Remove documentation. | |
2949 | (-fprofile-arcs): Remove reference to -a, -ax options. | |
2950 | * doc/gcov.texi (Gcov Data Files): Data might be merged. | |
2951 | ||
77893a23 GDR |
2952 | 2002-08-14 Gabriel Dos Reis <gdr@nerim.net> |
2953 | ||
2954 | Fix PR/7566 | |
2955 | * c-semantics.c (genrtl_case_label): Don't (mis)use | |
5ce6f47b | 2956 | warning_with_decl. |
77893a23 | 2957 | |
260f91c2 DJ |
2958 | 2002-08-14 Dale Johannesen <dalej@apple.com> |
2959 | ||
8537ed68 | 2960 | * explow.c (emit_stack_restore): Emit memory clobbers |
260f91c2 DJ |
2961 | preceding the stack pop, to prevent the scheduler from |
2962 | moving refs to variable arrays below this pop. | |
2963 | * reload1.c (reload): Preserve these clobbers for sched2. | |
2964 | * doc/rtl.texi: Document clobber (mem:BLK (scratch)). | |
2965 | ||
cd79e210 NB |
2966 | 2002-08-14 Neil Booth <neil@daikokuya.co.uk> |
2967 | ||
2968 | * c-opts.c (c_common_post_options): Correct test. | |
2969 | ||
3eb75a73 KG |
2970 | 2002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2971 | ||
2972 | * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument | |
2973 | order in call to fprintf. | |
2974 | ||
be3a0ce2 RO |
2975 | 2002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2976 | ||
2977 | * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define. | |
2978 | ||
ccfc6cc8 UW |
2979 | 2002-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
2980 | ||
5ce6f47b | 2981 | * reload.c (find_reloads): Handle constraint letters marked by |
ccfc6cc8 UW |
2982 | EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT. |
2983 | (alternative_allows_memconst): Likewise. | |
2984 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
5ce6f47b | 2985 | * recog.c (asm_operand_ok, preprocess_constraints, |
ccfc6cc8 UW |
2986 | constrain_operands): Likewise. |
2987 | * regclass.c (record_operand_costs, record_reg_classes): Likewise. | |
2988 | * local-alloc.c (block_alloc, requires_inout): Likewise. | |
2989 | * stmt.c (parse_output_constraint, parse_input_constraint): Likewise. | |
2990 | ||
2991 | * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default. | |
2992 | (EXTRA_ADDRESS_CONSTRAINT): Likewise. | |
2993 | * doc/tm.texi: Document these two new target macros. | |
2994 | ||
2995 | * config/s390/s390.c (s390_expand_plus_operand): Accept already | |
2996 | valid operands. | |
2997 | (q_constraint): New function. | |
2998 | config/s390/s390-protos.h (q_constraint): Declare it. | |
2999 | config/s390/s390.h (EXTRA_CONSTRAINT): Use it. | |
3000 | (EXTRA_MEMORY_CONSTRAINT): New macro. | |
3001 | ||
3002 | * config/s390/s390.md: Throughout the machine description, | |
3003 | replace all instances of the constraint combinations 'Qo' | |
3004 | or 'oQ' with simply 'Q'. | |
3005 | ||
d6ee9f6f SC |
3006 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
3007 | ||
3008 | * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax. | |
3009 | * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now. | |
3010 | (LIBGCC2_CFLAGS): Compile with -mrelax. | |
3011 | ||
8a0b86f5 SC |
3012 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
3013 | ||
3014 | * doc/invoke.texi: Document -minmax for 68HC12. | |
3015 | ||
3016 | * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX. | |
3017 | ("uminqi3"): Likewise. | |
3018 | ("uminhi3", "umaxhi3"): Likewise. | |
3019 | ||
3020 | * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define. | |
3021 | (TARGET_MIN_MAX): Define. | |
3022 | (TARGET_SWITCHES): New option -minmax/-mnominmax. | |
3023 | ||
d6381f4e SC |
3024 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
3025 | ||
3026 | * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline. | |
3027 | (MULTILIB_OPTIONS): Must also generate for -mlong-calls. | |
3028 | ||
3029 | * config/m68hc11/larith.asm: Put a mode for ELF ABI flags. | |
3030 | (ret, declare, farsym): New gas macros. | |
3031 | (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3, | |
3032 | ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc' | |
3033 | and declare the symbol far when compiled with -mlong-calls. | |
5ce6f47b | 3034 | (__far_trampoline): New for 68HC12 trampoline code to invoke a |
d6381f4e SC |
3035 | far handler using jsr/bsr. |
3036 | ||
3037 | * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags. | |
3038 | (jsr): New macro to transform a 'jsr' into a 'call'. | |
3039 | ||
058edcdb SC |
3040 | 2002-08-14 Stephane Carrez <stcarrez@nerim.fr> |
3041 | ||
3042 | * doc/invoke.texi: Document -mlong-calls for 68HC12. | |
3043 | ||
3044 | * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when | |
3045 | -mlong-calls is specified. | |
5ce6f47b | 3046 | (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt |
058edcdb SC |
3047 | assembler directives. |
3048 | (TARGET_LONG_CALL, MASK_LONG_CALL): Declare. | |
3049 | (TARGET_SWITCHES): Add -mlong-calls options. | |
3050 | (current_function_far): Declare. | |
3051 | ||
3052 | * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take | |
3053 | into account the page register saved on the stack. | |
3054 | (m68hc11_override_options): Take into account -mlong-calls option. | |
3055 | (m68hc11_asm_file_start): Put a mode for the ELF flags ABI. | |
3056 | ||
3057 | * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc | |
3058 | if the function is going to be in 68HC12 banked memory (-mlong-calls). | |
3059 | ("*return_16bit"): Likewise. | |
3060 | ("*return_void"): Likewise. | |
3061 | ("call", "call_value"): Use call for a far function call. | |
3062 | ||
c79043f3 NB |
3063 | 2002-08-14 Neil Booth <neil@daikokuya.co.uk> |
3064 | ||
3065 | * toplev.c (parse_options_and_default_flags): Don't call | |
3066 | post_options here. | |
3067 | (general_init): Initialize GC, pools and tree hash here, | |
3068 | instead of lang_independent_init. | |
3069 | (lang_independent_init): Rename backend_init. | |
3070 | (do_compile): Call post_options hook; exit early if there | |
3071 | have been errors after switch processing. | |
3072 | (toplev_main): Update. | |
3073 | ||
6bf346d4 GDR |
3074 | 2002-08-14 Gabriel Dos Reis <gdr@nerim.net> |
3075 | ||
3076 | * c-pretty-print.h: Guard against multiple inclusion. | |
3077 | Robustify macros. | |
3078 | (pp_c_attributes): Declare. | |
3079 | * c-pretty-print.c (pp_c_attributes): New function. | |
3080 | ||
cbf2f479 KG |
3081 | 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3082 | ||
3083 | * m68k.c (m68k_output_function_prologue, | |
3084 | m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA | |
3085 | and NEWS/MOTOROLA. | |
3086 | * genattrtab.c: Remove dpx2 comment. | |
3087 | * libgcc2.c (__enable_execute_stack): Delete versions for | |
3088 | NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and | |
3089 | sony_news/SYSTYPE_BSD. | |
3090 | * longlong.h: Delete code for __a29k__, _AM29K, __clipper__, | |
3091 | __gmicro__, __i860__, __NeXT__ and __pyr__. | |
3092 | * rtl.h: Remove convex comment. | |
3093 | * varasm.c: Likewise. | |
3094 | ||
d3969c34 KG |
3095 | 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3096 | ||
3097 | * c-opts.c (lang_flags): Const-ify. | |
3098 | * ra-build.c (undef_table): Likewise. | |
3099 | * ra.c (eliminables): Likewise. | |
3100 | ||
df89f8e7 GDR |
3101 | 2002-08-14 Gabriel Dos Reis <gdr@nerim.net> |
3102 | ||
3103 | * tree.h: Guard against multiple inclusion. | |
3104 | ||
cf87d551 HPN |
3105 | 2002-08-14 Hans-Peter Nilsson <hp@bitrange.com> |
3106 | ||
3107 | * reload1.c (reload_cse_simplify): Before checking | |
3108 | REG_FUNCTION_VALUE_P, check REG_P. | |
3109 | ||
a43c8986 GK |
3110 | 2002-08-13 Geoffrey Keating <geoffk@redhat.com> |
3111 | ||
3112 | * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency. | |
3113 | ||
29337351 NB |
3114 | 2002-08-13 Neil Booth <neil@daikokuya.co.uk> |
3115 | ||
3116 | * c-opts.c (c_common_init_options): Extra braces needed. | |
3117 | ||
8202c8c4 R |
3118 | Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3119 | ||
3120 | * sh.c (sh_init_builtins): Add PARAMS to declaration. | |
3121 | (sh_media_init_builtins, sh_expand_builtin): Likewise. | |
3122 | (sh_expand_unop_v2sf): Use PARAMS for variable declaration. | |
3123 | (sh_expand_binop_v2sf): Likewise. | |
3124 | * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration. | |
3125 | (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise. | |
3126 | (sh_initialize_trampoline): Likewise. | |
3127 | ||
07893d4f UW |
3128 | 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com> |
3129 | ||
3130 | * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare | |
3131 | new condition code modes. | |
3132 | s390.c (s390_match_ccmode_set): Handle those new CC modes. | |
3133 | (s390_select_ccmode): Likewise. | |
3134 | (s390_branch_condition_mask): Likewise. | |
3135 | ||
3136 | * s390-protos.h (s390_tm_ccmode): Declare. | |
3137 | s390.c (s390_tm_ccmode): New function. | |
3138 | (s390_match_ccmode): Allow VOIDmode as REQ_MODE. | |
3139 | ||
3140 | * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext". | |
3141 | ("*cmpsi_tm2"): Rename to "*tmsi_ext". | |
3142 | ("*cmpqi_tm2"): Rename to "*tmqi_ext". | |
3143 | ||
3144 | ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem", | |
3145 | "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub", | |
3146 | "*cmpqi_cct_0", "*tm_0"): Remove, replace by ... | |
3147 | ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", | |
3148 | "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns. | |
3149 | ||
3150 | ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15", | |
5ce6f47b | 3151 | "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1", |
07893d4f UW |
3152 | "*cmpqi_ccs_0"): Remove, replace by ... |
3153 | ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31", | |
5ce6f47b | 3154 | "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly", |
07893d4f UW |
3155 | "*tstqi", "*tstqi_cconly"): ... these new patterns. |
3156 | ||
3157 | ("*cmpsidi_ccs"): Remove, replace by ... | |
3158 | ("*cmpsi_ccs_sign"): ... this new pattern. | |
3159 | ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns. | |
3160 | ||
3161 | ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ... | |
3162 | ("*cli"): ... this new pattern. | |
3163 | ||
3164 | ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly", | |
3165 | "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"): | |
3166 | New patterns. | |
3167 | ("adddi3_64"): Rename to "*adddi3_64". | |
3168 | ("adddi3_31"): Replace by insn and splitter "*adddi3_31". | |
3169 | ("adddi3"): Adapt expander. | |
3170 | ||
3171 | ("*addsi3_cc"): Allow "general_operand" for operand 2. | |
5ce6f47b | 3172 | ("*addsi3_carry1_cc", "*addsi3_carry1_cconly", |
07893d4f UW |
3173 | "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns. |
3174 | ||
3175 | ("addhi3", "addqi3"): Remove, replace by ... | |
3176 | ("*addsi3_sign", "*addsi3_sub"): ... these new patterns. | |
3177 | ||
3178 | ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly", | |
3179 | "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns. | |
3180 | ("subdi3"): Replace by insn and splitter "*subdi3_31". | |
3181 | ("subdi3"): New expander. | |
3182 | ||
3183 | ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns. | |
3184 | ||
3185 | ("subhi3", "subqi3"): Remove, replace by ... | |
3186 | ("*subsi3_sign", "*subsi3_sub"): ... these new patterns. | |
3187 | ||
3188 | ("*muldi3_sign"): New pattern. | |
3189 | ("muldi3"): Do not clobber CC. | |
3190 | ("mulsi3"): Likewise. | |
3191 | ("mulsi_6432"): Likewise. | |
3192 | ||
db62867b DC |
3193 | 2002-08-13 Denis Chertykov <denisc@overta.ru> |
3194 | ||
3195 | * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles | |
8537ed68 | 3196 | which can change CC0. |
db62867b | 3197 | |
8ba46434 R |
3198 | Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3199 | ||
3200 | * gcse.c (adjust_libcall_notes): New function. | |
3201 | (do_local_cprop): Use it. Add fourth parameter. Changed caller. | |
3202 | ||
8733892f NS |
3203 | 2002-08-13 Nathan Sidwell <nathan@codesourcery.com> |
3204 | ||
3205 | * libgcc2.c (L_bb): Remove unneeded #includes. | |
3206 | (__global_counters, __gthreads_active): Remove unused globals. | |
3207 | (__bb_exit_func): Merge counts into files rather than appending. | |
3208 | * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ... | |
3209 | (ALL_CFLAGS): ... to here. | |
3210 | ||
f4769721 DC |
3211 | 2002-08-13 Denis Chertykov <denisc@overta.ru> |
3212 | ||
3213 | * config/ip2k/ip2k.c (commands_in_file): Variable removed. | |
3214 | (function_epilogue): Don't calculate function size. | |
3215 | (ip2k_set_compare): Don't use lookup_const_double. | |
3216 | (asm_file_start): Initialization of commands_in_file removed. | |
3217 | (asm_file_end): Output of commands_in_file removed. | |
5ce6f47b | 3218 | |
f4769721 DC |
3219 | * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of |
3220 | __INT_MAX__. | |
3221 | ||
c31cddfd NB |
3222 | 2002-08-13 Neil Booth <neil@daikokuya.co.uk> |
3223 | ||
3224 | * c-opts.c (c_common_init_options): Check option array is | |
3225 | sorted if checking enabled. | |
3226 | ||
f076f0ce GDR |
3227 | 2002-08-13 Gabriel Dos Reis <gdr@nerim.net> |
3228 | ||
3229 | * c-pretty-print.c: #include "c-tree.h". | |
3230 | (pp_c_simple_type_specifier): Tweak. | |
3231 | (pp_c_storage_class_specifier): New. | |
3232 | (pp_c_function_specifier): Likewise. | |
3233 | (pp_c_declaration_specifiers): Likewise. | |
3234 | (pp_c_init_declarator): Likewise. | |
3235 | (pp_c_declaration): Likewise. | |
3236 | (pp_c_direct_declarator): Stub. | |
3237 | (pp_c_declarator): Likewise. | |
3238 | (pp_c_parameter_declaration): Likewise. | |
3239 | ||
f4ff5a69 NB |
3240 | 2002-08-13 Neil Booth <neil@daikokuya.co.uk> |
3241 | ||
3242 | * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size, | |
3243 | handle_deferred_opts, sanitize_cpp_opts, defer_opt, | |
3244 | struct deferred_opt): New. | |
3245 | (COMMAND_LINE_OPTIONS): Add -M*. | |
3246 | (missing_arg): Update. | |
3247 | (c_common_decode_option): Handle -M*. | |
3248 | (c_common_post_options): Handle -M*. Use sanitize_cpp_opts; | |
3249 | don't call cpp_post_options. | |
3250 | (c_common_finish, check_deps_environment_vars): Update. | |
3251 | * cppfiles.c (stack_include_file, handle_missing_header): Update. | |
3252 | * cpphash.h (CPP_PRINT_DEPS): Remove. | |
3253 | * cppinit.c: Don't include version.h. | |
3254 | (cpp_create_reader): Don't call deps_init. Initialize | |
3255 | warn_long_long. | |
3256 | (cpp_read_main_file): Init deps if necessary. | |
3257 | (cpp_destroy): Conditionally free deps. | |
3258 | (cpp_finish): Update. | |
3259 | (no_tgt): Remove. | |
3260 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*. | |
3261 | (cpp_post_options): Rename post_options. | |
3262 | * cpplib.h (struct cpp_options): Remove some dependency options; | |
3263 | move others to a new structure. | |
3264 | (cpp_post_options): Remove. | |
3265 | (cpp_finish): Comment. | |
3266 | * fix-header.c (read_scan_file): Don't call cpp_post_options. | |
3267 | ||
34116c2a HPN |
3268 | 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com> |
3269 | ||
3270 | * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM. | |
3271 | ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark | |
3272 | MMIX_rR_REGNUM as clobbered. | |
3273 | * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM. | |
3274 | ||
9b32718c GDR |
3275 | 2002-08-12 Gabriel Dos Reis <gdr@nerim.net> |
3276 | ||
3277 | * diagnostic.h (output_formatted_scalar): Rename from | |
5ce6f47b | 3278 | output_formatted_integer. |
9b32718c GDR |
3279 | * diagnostic.def: Add DK_DEBUG. |
3280 | * diagnostic.c (output_decimal): Adjust. | |
3281 | (output_long_decimal): Likewise. | |
3282 | (output_unsigned_decimal): Likewise. | |
3283 | (output_octal): Likewise. | |
3284 | (output_long_octal): Likewise. | |
3285 | (output_hexadecimal): Likewise. | |
3286 | (output_long_hexadecimal): Likewise. | |
3287 | * c-pretty-print.c (pp_c_type_specifier): New function. | |
3288 | (pp_c_specifier_qualifier_list): Likewise. | |
3289 | (pp_c_abstract_declarator): Likewise. | |
3290 | (pp_c_char): Replace pp_format_integer with pp_format_scalar. | |
3291 | ||
032613df DE |
3292 | 2002-08-12 David Edelsohn <edelsohn@gnu.org> |
3293 | ||
3294 | * doc/trouble.texi (Disappointments): Add static constructor and | |
3295 | destructor dependency information for AIX. | |
3296 | ||
a3737481 NB |
3297 | 2002-08-12 Neil Booth <neil@daikokuya.co.uk> |
3298 | ||
3299 | * cpphash.h (struct printer): New from cppmain.c. | |
3300 | (cpp_reader): New member. | |
3301 | * cppmain.c (struct printer): Move to cpphash.h. | |
3302 | (options, print): Remove. | |
3303 | (account_for_newlines, print_line, maybe_print_line, | |
3304 | cpp_preprocess_file, setup_callbacks, scan_translation_unit, | |
3305 | scan_translation_unit_trad, cb_line_change, cb_ident, | |
3306 | cb_define, cb_undef, cb_include, cb_file_change, dump_macro, | |
3307 | cb_def_pragma): Make reentrant. | |
3308 | ||
d71f7700 KG |
3309 | 2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3310 | ||
3311 | * real.c (ieee_64): Always define. | |
3312 | (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. | |
3313 | (dec_h): Not used yet, hide it. | |
3314 | (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with | |
3315 | macro controlling use. | |
3316 | (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. | |
3317 | ||
c16576e6 JH |
3318 | Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz> |
3319 | ||
3320 | * i386.md (tablejump): Sign extend the operand. | |
3321 | * i386.c (classify_argument): Fix missed case from previous patch. | |
3322 | ||
460bd0e3 NB |
3323 | 2002-08-12 Neil Booth <neil@daikokuya.co.uk> |
3324 | ||
3325 | * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move | |
3326 | to c-copts.c. | |
3327 | (warn_multichar): Die. | |
3328 | (cb_register_builtins): Export. | |
3329 | * c-common.h (warn_multichar, preprocess_file): Remove. | |
3330 | (cb_register_builtins): New. | |
3331 | * c-lang.c (c_init): Remove. | |
3332 | (LANG_HOOKS_INIT): Use c_objc_common_init. | |
3333 | * c-lex.c (init_c_lex): Don't canonicalize filename. | |
3334 | * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New. | |
3335 | (preprocess_file): Make static. Update for cpplib. | |
3336 | (c_common_decode_option): Remove warn_multichar. Use in_fname. | |
3337 | (c_common_post_options): Set some cpp options here. | |
3338 | (c_common_init): Move from c-common.c. | |
3339 | * cppinit.c (cpp_post_options): Don't canonicalize in_fname. | |
3340 | * cpplib.h (struct cpp_options): Remove in_fname. | |
3341 | (cpp_preprocess_file): Update. | |
3342 | * cppmain.c (cpp_preprocess_file): Update for new prototypes. | |
3343 | ||
f3f268dd KG |
3344 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3345 | ||
3346 | * config.gcc (mips*-*-netbsd*): Include ${tm_file}. | |
3347 | ||
f0201fba KG |
3348 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3349 | ||
3350 | * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing | |
3351 | backslash in comment preceeding macro definition. | |
3352 | * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
3353 | * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
3354 | * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
3355 | ||
e56fc090 HPN |
3356 | 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com> |
3357 | ||
3358 | * expr.c (store_expr): In condition for checking if value is | |
3359 | generated in TARGET, move call to expr_size last. | |
3360 | ||
76c3e73e NB |
3361 | 2002-08-11 Neil Booth <neil@daikokuya.co.uk> |
3362 | ||
3363 | * c-common.c (c_common_init): Call preprocess_file instead. | |
3364 | (c_common_finish): Move to c-opts.c. | |
3365 | * c-common.h (preprocess_file): new. | |
3366 | * c-opts.c (out_fname, out_stream, deps_append, preprocess_file, | |
3367 | check_deps_environment_vars, c_common_finish): New. | |
3368 | (c_common_decode_option): Update for out_fname and dependencies. | |
3369 | * cppinit.c (init_dependency_output, output_deps): Remove. | |
3370 | (cpp_destroy): Update prototype. | |
3371 | (cpp_add_dependency_target): New. | |
3372 | (cpp_read_main_file): Don't overlay a buffer. | |
3373 | (cpp_finish): Take a deps output stream and write deps to it. | |
3374 | Return the error count. | |
3375 | (cpp_post_options): Don't canonicalize out_fname, or do anything | |
3376 | with dependencies. | |
3377 | * cpplib.h (struct cpp_options): Remove out_fname and | |
3378 | preprocess_only. | |
3379 | (cpp_add_dependency_target): New. | |
3380 | (cpp_destroy, cpp_finish, cpp_preprocess_file): Update. | |
3381 | * cppmain.c (cpp_preprocess_file): Update prototype. Don't | |
3382 | set preprocess_only. Don't handle the output stream directly. | |
3383 | ||
e0c32c62 KG |
3384 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3385 | ||
3386 | * dsp16xx.c (print_operand): Fix format specifier. | |
3387 | * dsp16xx.md: Avoid automatic aggregate initialization. | |
3388 | * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index. | |
3389 | * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U | |
3390 | integer constant modifier. | |
3391 | * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning. | |
3392 | * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE | |
3393 | guards. | |
3394 | * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier. | |
3395 | * v850.c (v850_select_section): Mark parameter with | |
3396 | ATTRIBUTE_UNUSED. | |
3397 | * global.c (global_alloc): Const-ify. | |
3398 | * ra-colorize.c (hardregset_to_string): Fix format specifier. | |
3399 | ||
7ae8cf75 KG |
3400 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3401 | ||
3402 | * darwin-c.c (darwin_pragma_options): Const-ify. | |
3403 | * darwin.c (machopic_non_lazy_ptr_name, | |
3404 | machopic_validate_stub_or_non_lazy_ptr): Likewise. | |
3405 | (machopic_indirect_data_reference): Wrap variables in macros | |
3406 | controlling their use. | |
3407 | (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify. | |
3408 | (machopic_select_section): Use parentheses around && within ||. | |
3409 | * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else. | |
3410 | ||
8819cab5 KG |
3411 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3412 | ||
3413 | * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs, | |
3414 | mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref, | |
3415 | ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr, | |
3416 | ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move, | |
3417 | mdr_try_remove_redundant_insns, track_w_reload, | |
3418 | mdr_try_wreg_elim): Make function static to match prototype. | |
3419 | * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark | |
3420 | parameter with ATTRIBUTE_UNUSED. | |
3421 | ||
ab2877a3 KG |
3422 | 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3423 | ||
3424 | * arc.c (arc_init): Don't use ISO C style function definitions. | |
3425 | * arm.c (count_insns_for_constant, thumb_far_jump_used_p, | |
3426 | arm_get_strip_length, arm_strip_name_encoding): Likewise. | |
3427 | * avr.h (progmem_section): Likewise. | |
3428 | * h8300.c h8300_asm_insn_count): Likewise. | |
3429 | * m32r.c (init_idents): Likewise. | |
3430 | * s390.c (s390_split_branches, s390_chunkify_pool): Likewise. | |
3431 | * sh.c (sh_cfun_interrupt_handler_p): Likewise. | |
3432 | * xtensa.c (xtensa_build_va_list): Likewise. | |
3433 | ||
08767a6f NB |
3434 | 2002-08-11 Neil Booth <neil@daikokuya.co.uk> |
3435 | ||
3436 | * c-common.h (enum c_language_kind): Emphasize that clk_c is 0. | |
3437 | * c-opts.c (parse_option): Rename find_opt. | |
3438 | (set_std_c99): New function. | |
3439 | (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad. | |
3440 | (missing_arg): Remove OPT_std_bad. Handle -o. | |
3441 | (c_common_decode_option): Handle input and output file names, | |
3442 | -o and -remap. Clean up -std= handling. | |
3443 | * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap. | |
3444 | (cpp_handle_option): Similarly. Don't handle filenames. | |
3445 | ||
db01f480 JH |
3446 | Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz> |
3447 | ||
3448 | * i386.c (classify_argument): Fix computing of field's offsets. | |
3449 | ||
a7701995 AJ |
3450 | 2002-08-11 Andreas Jaeger <aj@suse.de> |
3451 | ||
3452 | PR target/7531: | |
3453 | * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel. | |
3454 | ||
2516f236 ZL |
3455 | 2002-08-10 Ziemowit Laski <zlaski@apple.com> |
3456 | ||
3457 | * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace | |
3458 | reference to clk_objective_c with flag_objc. | |
3459 | * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): | |
3460 | Likewise. | |
3461 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise. | |
3462 | ||
f749a36b NB |
3463 | 2002-08-10 Neil Booth <neil@daikokuya.co.uk> |
3464 | ||
3465 | * c-opts.c (set_std_cxx98, set_std_c89): New. | |
3466 | (COMMAND_LINE_OPTIONS): Move more from cppinit.c. | |
3467 | (c_common_decode_option): Handle new switches from cppinit.c. | |
3468 | Add -std=gnu++98. | |
3469 | * cppinit.c (set_lang): Rename cpp_set_lang. Export. | |
3470 | (no_arg, no_num): Remove. | |
3471 | (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang- | |
3472 | switches apart from -lang-objc and lang-asm. | |
3473 | (cpp_handle_option): Similarly. | |
3474 | * cpplib.h (cpp_set_lang): New. | |
3475 | * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98, | |
3476 | -std=gnu++98. | |
3477 | * objc/lang-specs.h: Remove -ansi. | |
3478 | ||
77abb5d8 JH |
3479 | Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz> |
3480 | Graham Stott | |
3481 | ||
3482 | * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff | |
3483 | errors. | |
3484 | ||
fac37dc4 KG |
3485 | 2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3486 | ||
d950dee3 KG |
3487 | * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before, |
3488 | emit_jump_insn): Fix uninitialized variable. | |
3489 | * gcov.c (init_line_info): Likewise. | |
3490 | * genautomata.c (transform_3): Add braces around ambiguous | |
3491 | else. | |
3492 | * ifcvt.c (cond_exec_process_insns): Mark parameter with | |
3493 | ATTRIBUTE_UNUSED. | |
3494 | * ra-build.c (parts_to_webs_1): Fix uninitialized variable. | |
3495 | * regrename.c (copyprop_hardreg_forward): Fix uninitialized | |
3496 | variable. | |
3497 | ||
fac37dc4 KG |
3498 | * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned |
3499 | warnings in output files. | |
3500 | ||
0f7866e7 ZL |
3501 | 2002-08-09 Ziemowit Laski <zlaski@apple.com> |
3502 | ||
3503 | * c-common.c (flag_objc): New. | |
3504 | * c-common.h (c_language_kind): Get rid of clk_objective_c | |
3505 | enum value. | |
3506 | (flag_objc): New extern declaration. | |
3507 | * c-decl.c (implicitly_declare): Call objc_check_decl | |
3508 | instead of maybe_objc_check_decl. | |
3509 | (finish_decl): Likewise. | |
3510 | (grokfield): Likewise. | |
3511 | (finish_struct): Likewise. | |
3512 | * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl. | |
3513 | (maybe_objc_comptypes): Rename to objc_comptypes. | |
a7701995 | 3514 | (maybe_building_objc_message_expr): Rename to |
0f7866e7 ZL |
3515 | objc_message_selector. |
3516 | * c-lex.c (lex_charconst): Remove uses of clk_objective_c, | |
3517 | replace with flag_objc as needed. | |
3518 | * c-opts.c (c_common_init_options): Likewise. | |
3519 | (c_common_decode_option): Likewise. | |
3520 | * c-parse.in (init_reswords): Likewise. | |
3521 | * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl. | |
3522 | (maybe_objc_comptypes): Rename to objc_comptypes. | |
a7701995 | 3523 | (maybe_building_objc_message_expr): Rename to |
0f7866e7 ZL |
3524 | objc_message_selector. |
3525 | * c-typeck.c (comptypes): Call objc_comptypes instead of | |
3526 | maybe_objc_comptypes, and/or objc_message_selector instead of | |
3527 | maybe_building_objc_message_expr. | |
3528 | (comp_target_types): Likewise. | |
3529 | (convert_for_assignment): Likewise. | |
3530 | (warn_for_assignment): Likewise. | |
3531 | * cppinit.c (init_builtins): Set __OBJC__ manifest constant | |
3532 | independently of those for other languages. | |
3533 | * objc/objc-act.c (maybe_objc_comptypes): Delete. | |
3534 | (maybe_objc_check_decl): Delete. | |
a7701995 | 3535 | (maybe_building_objc_message_expr): Rename to |
0f7866e7 ZL |
3536 | objc_message_selector. |
3537 | * objc/objc-lang.c (objc_init_options): Use clk_c instead of | |
3538 | clk_objective_c; set flag_objc flag. | |
3539 | ||
c512fd7b TM |
3540 | 2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
3541 | ||
3542 | * ifcvt.c (find_if_case_2): Test correct basic block for size. | |
3543 | ||
5e1bf043 | 3544 | 2002-08-09 Dale Johannesen <dalej@apple.com> |
c512fd7b | 3545 | |
5e1bf043 DJ |
3546 | * config/rs6000/rs6000.md: Add sibcall patterns. |
3547 | * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define. | |
3548 | * config/rs6000/rs6000.c (rs6000_ra_ever_killed): | |
3549 | Rewritten to handle sibcalls. | |
3550 | * config/rs6000/rs6000.c (function_ok_for_sibcall): New. | |
3551 | * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New. | |
3552 | ||
2043c38e NS |
3553 | 2002-08-08 Nathan Sidwell <nathan@codesourcery.com> |
3554 | ||
3555 | * profile.c (da_file_name): New static var. | |
3556 | (init_branch_prob): Initialize it. | |
3557 | (end_branch_prob): Remove da file. | |
3558 | ||
3559 | * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS. | |
41685063 | 3560 | * configure.in (coverage_flags): Default to nothing. |
2043c38e NS |
3561 | * configure: Rebuilt. |
3562 | ||
4b7091eb NB |
3563 | 2002-08-09 Neil Booth <neil@daikokuya.co.uk> |
3564 | ||
3565 | * Makefile.in (c-opts.o): Update | |
3566 | * c-opts.c: Include intl.h. | |
3567 | (print_help): Move from cppinit.c. Remove unused options. | |
3568 | (COMMAND_LINE_OPTIONS): Move more from cppinit.c. | |
3569 | (missing_arg): Complain for switches without an argument. | |
3570 | (c_common_decode_option): Reject missing joined arguments. | |
3571 | Handle new switches from cppinit.c. | |
3572 | * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c. | |
3573 | (cpp_handle_option): Similarly. | |
3574 | (print_help): Moved to c-opts.c. | |
3575 | * cpplib.h (struct cpp_options): Remove help_only. | |
3576 | * gcc.c (cpp_unique_options): Remove -$. | |
3577 | * doc/cppopts.texi: Undocument -h. | |
3578 | ||
9e20be0c JJ |
3579 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3580 | ||
3581 | * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not | |
3582 | legitimate constant. | |
3583 | (legitimate_pic_operand_p): Neither pic operand. | |
3584 | (legitimate_address_p): But legitimate address. | |
3585 | (get_thread_pointer): Generate MEM/u instead of CONST around | |
3586 | UNSPEC_TP. | |
3587 | (print_operand): Remove printing of UNSPEC_TP. | |
3588 | (print_operand_address): And print it here. | |
3589 | ||
7b9be5c7 | 3590 | 2002-08-08 Devang Patel <dpatel@apple.com> |
9e20be0c | 3591 | |
a7701995 AJ |
3592 | * objc/objc-act.c (build_selector_translation_table): Issue warning, |
3593 | when -Wselector is used,if method for which selector is being | |
7b9be5c7 | 3594 | created does not exist. |
a7701995 | 3595 | |
5615d8fd SC |
3596 | 2002-08-08 Stephen Clarke <stephen.clarke@superh.com> |
3597 | ||
3598 | * config/sh/sh.c (prepare_move_operands): Only call | |
3599 | target_reg_operand if TARGET_SHMEDIA. | |
a7701995 | 3600 | |
3b85fe5f JJ |
3601 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3602 | ||
3603 | * config/rs6000/rs6000.h, config/rs6000/aix.h, | |
3604 | config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last | |
3605 | two patches. | |
3606 | * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN. | |
3607 | ||
e10c79fe LB |
3608 | 2002-08-08 Lars Brinkhoff <lars@nocrew.org> |
3609 | Richard Henderson <rth@redhat.com> | |
3610 | ||
3611 | * emit-rtl.c (gen_rtx_REG): After reload, only return | |
3612 | frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed. | |
3613 | ||
aa2a83dc JJ |
3614 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3615 | ||
3616 | * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove. | |
3617 | * config/rs6000/rs6000.c (rs6000_field_alignment): Move... | |
3618 | * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the | |
3619 | macro. | |
3620 | ||
aeaf4d25 AN |
3621 | 2002-08-08 Adam Nemet <anemet@lnxw.com> |
3622 | ||
3623 | * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC | |
3624 | register. | |
3625 | (thumb_expand_prologue): Likewise. | |
3626 | (thumb_output_function_prologue): Likewise. | |
3627 | * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for | |
3628 | the additional push of the PIC register. | |
3629 | ||
22aa533e NS |
3630 | 2002-08-08 Nathan Sidwell <nathan@codesourcery.com> |
3631 | ||
3632 | * configure.in (enable_coverage): New enable switch. | |
3633 | * configure: Rebuilt. | |
3634 | * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables. | |
3635 | (INTERNAL_CFLAGS): Append COVERAGE_FLAGS. | |
3636 | (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS. | |
3637 | (mostlyclean): Remove coverage files. | |
3638 | * doc/install.texi: Document enable_coverage. | |
3639 | ||
3640 | * cp/Make-lang.in (c++.mostlyclean): Remove coverage files. | |
3641 | * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. | |
3642 | * f/Make-lang.in (f.mostlyclean): Remove coverage files. | |
3643 | * java/Make-lang.in (java.mostlyclean): Remove coverage files. | |
3644 | * objc/Make-lang.in (objc.mostlyclean): Remove coverage files. | |
3645 | * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage | |
3646 | files. | |
a7701995 | 3647 | |
18bdccaa NB |
3648 | 2002-08-08 Neil Booth <neil@daikokuya.co.uk> |
3649 | ||
3650 | * c-opts.c (cpp_opts): New. | |
3651 | (COMMAND_LINE_OPTIONS): Add switches from cppinit.c. | |
3652 | (c_common_decode_options): Handle cpplib switches. | |
3653 | (c_common_init_options): Set cpp_opts. | |
3654 | * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c. | |
3655 | (cpp_handle_option): Similarly. | |
3656 | ||
774b5662 DE |
3657 | 2002-08-08 David Edelsohn <edelsohn@gnu.org> |
3658 | ||
3659 | * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0. | |
3660 | (TARGET_ALTIVEC_ABI): Same. | |
3661 | (TARGET_ALTIVEC_VRSAVE): Same. | |
3662 | ||
3663 | * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check | |
3664 | icode not CODE_FOR_nothing. Change switch to if. | |
3665 | ||
957e9e48 AM |
3666 | 2002-08-08 Alan Modra <amodra@bigpond.net.au> |
3667 | ||
3668 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4. | |
3669 | ||
daf06049 JJ |
3670 | 2002-08-08 Jakub Jelinek <jakub@redhat.com> |
3671 | ||
3672 | * stor-layout.c (place_union_field): For bitfields if | |
3673 | PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's | |
3674 | TYPE_USER_ALIGN. | |
3675 | ||
043d39a6 JDA |
3676 | 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3677 | ||
3678 | * pa.c (struct deferred_plabel): Constify name field. | |
3679 | ||
34bb92e3 NB |
3680 | 2002-08-07 Neil Booth <neil@daikokuya.co.uk> |
3681 | ||
3682 | * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable. | |
3683 | ||
3ec5d64d JDA |
3684 | 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3685 | ||
3686 | * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and | |
3687 | local_prefix are the same. | |
3688 | * configure: Rebuilt. | |
3689 | ||
ad9335eb JJ |
3690 | 2002-08-07 Jakub Jelinek <jakub@redhat.com> |
3691 | Richard Henderson <rth@redhat.com> | |
3692 | ||
3693 | * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN | |
3694 | to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply | |
3695 | ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN. | |
3696 | (place_field): Likewise. | |
3697 | * config/i386/i386.c (x86_field_alignment): Don't check | |
3698 | DECL_USER_ALIGN here. | |
3699 | * config/rs6000/rs6000.c (rs6000_field_alignment): New. | |
3700 | * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New | |
3701 | prototype. | |
3702 | * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define. | |
3703 | * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove. | |
3704 | * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove. | |
3705 | * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove. | |
3706 | * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove. | |
3707 | * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description. | |
3708 | ||
0b6f2917 NB |
3709 | 2002-08-07 Neil Booth <neil@daikokuya.co.uk> |
3710 | ||
3711 | * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update. | |
3712 | * c-common.c: Don't include tree-inline.h. | |
3713 | (c_common_init_options, c_common_post_options): Move to c-opts.c. | |
3714 | * c-common.h (c_common_decode_option): New. | |
3715 | * c-decl.c (c_decode_option): Remove. | |
3716 | * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option. | |
3717 | * c-opts.c: New file. | |
3718 | * c-tree.h (c_decode_option): Remove. | |
3719 | * doc/passes.texi: Update. | |
3720 | * objc/objc-act.c (objc_decode_option): Remove. | |
3721 | * objc/objc-act.h (objc_decode_option): Remove. | |
3722 | * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use | |
3723 | c_common_decode_option. | |
3724 | ||
e49ec17d CD |
3725 | 2002-08-07 Chris Demetriou <cgd@broadcom.com> |
3726 | ||
3727 | * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove | |
3728 | dependency on TARGET_DOUBLE_FLOAT. | |
3729 | ||
ac1ca451 SC |
3730 | 2002-08-07 Stephen Clarke <stephen.clarke@superh.com> |
3731 | ||
3732 | * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't | |
3733 | overwrite callee-save registers. Fix comment. | |
3734 | ||
af34e51e CD |
3735 | 2002-08-06 Chris Demetriou <cgd@broadcom.com> |
3736 | ||
3737 | * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY | |
3738 | in target_flags based on ISA, if it was not set on the command | |
3739 | line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not | |
3740 | support Branch Likely instructions. | |
3741 | * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro. | |
3742 | (TARGET_BRANCHLIKELY): Likewise. | |
3743 | (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely. | |
3744 | (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than | |
3745 | ISA_HAS_BRANCHLIKELY. | |
3746 | (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check. | |
3747 | * doc/invoke.texi: Document new MIPS -mbranch-likely and | |
3748 | -mno-branch-likely options. | |
3749 | ||
2631af95 KG |
3750 | 2002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3751 | ||
f538618e KG |
3752 | * ip2k.c (ip2k_set_compare): Add missing iteration variable. |
3753 | ||
2631af95 KG |
3754 | * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not |
3755 | $(GCONFIG_H). | |
3756 | ||
1ae0ccb6 AH |
3757 | 2002-08-06 Aldy Hernandez <aldyh@redhat.com> |
3758 | ||
8537ed68 ZW |
3759 | * c-decl.c (duplicate_decls): Error out for incompatible TLS |
3760 | declarations. | |
1ae0ccb6 | 3761 | |
8537ed68 | 3762 | * testsuite/gcc.dg/tls/diag-3.c: New. |
1ae0ccb6 | 3763 | |
8d3e27d1 | 3764 | 2002-08-06 Dale Johannesen <dalej@apple.com> |
db4c55f6 | 3765 | |
8d3e27d1 | 3766 | * c-common.c (fname_decl): Use line number 0 for |
8537ed68 | 3767 | __func__, to avoid confusing debuggers. |
8d3e27d1 | 3768 | |
8b219a76 NS |
3769 | 2002-08-06 Nathan Sidwell <nathan@codesourcery.com> |
3770 | ||
3771 | * gcov.c: Tidy. | |
3772 | (struct line_info, struct coverage): New structures. | |
3773 | (gcov_file_name, gcov_file): Remove globals. | |
3774 | (output_data): Take source file parameter. Fix memory leak. Break | |
3775 | up into ... | |
3776 | (init_line_info, output_line_info, make_gcov_file_name, | |
3777 | accumulate_branch_counts): ... here. | |
3778 | (calculate_branch_probs, function_summary): Adjust. | |
3779 | (main): Adjust. | |
3780 | (function_*): Remove global variables. | |
3781 | ||
317e98c0 NB |
3782 | 2002-08-06 Neil Booth <neil@daikokuya.co.uk> |
3783 | ||
3784 | * dwarf2out.c: Remove unused macros. | |
3785 | ||
81d41e74 NB |
3786 | 2002-08-06 Neil Booth <neil@daikokuya.co.uk> |
3787 | ||
3788 | * function.c (TRAMPOLINE_ALIGNMENT): Always defined. | |
3789 | ||
58551c23 NB |
3790 | 2002-08-06 Neil Booth <neil@daikokuya.co.uk> |
3791 | ||
3792 | * cppinit.c (struct lang_flags): Rename trigraphs std. | |
3793 | (set_lang): Update. | |
3794 | * cpplib.h (struct cpp_options): New member std. | |
3795 | * cppmacro.c (_cpp_builtin_macro_text): Use std. | |
3796 | (collect_args): Flag whether to swallow a possible future | |
3797 | comma pasted with varargs. | |
3798 | (replace_args): Use this flag. | |
3799 | * doc/cpp.texi: Update varargs extension documentation. | |
3800 | ||
daeabcd0 JJ |
3801 | 2002-08-06 Jakub Jelinek <jakub@redhat.com> |
3802 | ||
3803 | * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned. | |
3804 | ||
39e3a681 JJ |
3805 | 2002-08-06 Jakub Jelinek <jakub@redhat.com> |
3806 | ||
9812691e JJ |
3807 | * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT |
3808 | and MODE_CLASS_INT modes. | |
39e3a681 | 3809 | |
609a87f3 JJ |
3810 | 2002-08-06 Jakub Jelinek <jakub@redhat.com> |
3811 | ||
3812 | * config.gcc (*-*-linux*): Default to --enable-threads=posix if no | |
3813 | --{enable,disable}-threads is given to configure. | |
3814 | (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*, | |
3815 | x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*, | |
3816 | powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*, | |
3817 | s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*): | |
3818 | Remove thread_file setting here. | |
3819 | ||
ff4c5e7b DE |
3820 | 2002-08-06 David Edelsohn <edelsohn@gnu.org> |
3821 | ||
3822 | * doc/install.texi (Binaries): Update Bull Freeware URL. | |
3823 | ||
54f3aa9e GP |
3824 | 2002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3825 | ||
3826 | * doc/gcc.texi (Top): Rename Index to Keyword Index. | |
3827 | ||
d19202ba NS |
3828 | 2002-08-05 Nathan Sidwell <nathan@codesourcery.com> |
3829 | ||
3830 | * gcov.c (output_data): Round to % to nearest, tweak formatting. | |
3831 | ||
1bed5ee3 JJ |
3832 | 2002-08-05 Jakub Jelinek <jakub@redhat.com> |
3833 | ||
3834 | * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one | |
3835 | of the operands into MINUS_EXPR if code is PLUS_EXPR. | |
3836 | ||
84512347 DR |
3837 | 2002-08-05 Douglas B Rupp <rupp@gnat.com> |
3838 | ||
3839 | * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o | |
3840 | * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT, | |
3841 | drectve_section): Define. | |
3842 | * config/i386/t-interix: Replace interix.o rule with winnt.o. | |
3843 | * config/i386/interix.c: Remove. | |
3844 | ||
b835f6f1 GK |
3845 | 2002-08-05 Geoffrey Keating <geoffk@redhat.com> |
3846 | ||
3847 | * attribs.c: Don't include obstack.h. | |
3848 | * builtins.c: Likewise. | |
3849 | * cfganal.c: Likewise. | |
3850 | * cfgbuild.c: Likewise. | |
3851 | * cfgcleanup.c: Likewise. | |
3852 | * emit-rtl.c: Likewise. | |
3853 | * loop.c: Likewise. | |
3854 | * stmt.c: Likewise. | |
3855 | ||
3856 | * Makefile.in (s-gtype): Re-add dependency on $(GTFILES). | |
3857 | ||
fd291392 GDR |
3858 | 2002-08-05 Gabriel Dos Reis <gdr@nerim.net> |
3859 | ||
3860 | * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR | |
3861 | ||
054b7507 CD |
3862 | 2002-08-04 Chris Demetriou <cgd@broadcom.com> |
3863 | ||
3864 | * doc/invoke.texi: Remove duplicated paragraph describing | |
3865 | TARGET_SWITCHES. | |
3866 | ||
6d9f628e GK |
3867 | 2002-08-04 Geoffrey Keating <geoffk@redhat.com> |
3868 | ||
3869 | * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H). | |
3870 | * collect2.h (permanent_obstack): Delete declaration. | |
3871 | * collect2.c (permanent_obstack): Delete definition. | |
4912a07c | 3872 | (main): Don't initialize permanent_obstack. Use xstrdup instead. |
6d9f628e GK |
3873 | * expr.c: Don't include obstack.h. |
3874 | (permanent_obstack): Delete declaration. | |
3875 | * function.c: Don't include obstack.h. | |
3876 | (permanent_obstack): Delete declaration. | |
3877 | * integrate.c: Don't include obstack.h. | |
3878 | (function_maybepermanent_obstack): Delete declaration. | |
3879 | * print-tree.c (debug_tree): Use x*alloc not permalloc. | |
3880 | * sdbout.c (gen_fake_label): Use x*alloc not permalloc. | |
3881 | * tlink.c (pfgets): Use xstrdup not permanent_obstack. | |
3882 | * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree. | |
3883 | * tree.h: Rename init_obstacks to init_ttree. Remove declarations | |
3884 | of permalloc, expralloc, perm_calloc. | |
3885 | * tree.c (permanent_obstack): Delete definition. | |
3886 | (init_ttree): Rename from init_obstacks. | |
3887 | (permalloc): Delete. | |
3888 | (perm_calloc): Delete. | |
3889 | (dump_tree_statistics): Don't print information about | |
3890 | permanent_obstack. | |
3891 | * varasm.c (assemble_start_function): Use xstrdup instead of | |
3892 | permalloc/strcpy. | |
3893 | (assemble_variable): Likewise. | |
3894 | * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of | |
3895 | permalloc. | |
3896 | (unicosmk_add_extern): Likewise. | |
3897 | * config/c4x/c4x.c (c4x_external_ref): Likewise. | |
3898 | (c4x_global_label): Likewise. | |
3899 | * config/frv/frv.c (frv_encode_section_info): Likewise. | |
3900 | * config/i386/winnt.c (i386_pe_record_external_function): Likewise. | |
3901 | (i386_pe_record_exported_symbol): Likewise. | |
3902 | * config/mips/mips.c (mips_output_external): Likewise. | |
3903 | (mips_output_external_libcall): Likewise. | |
3904 | * config/pa/pa.c: (permanent_obstack): Delete declaration. | |
3905 | (output_call): Use ggc_strdup instead of allocating on | |
3906 | permanent_obstack. | |
3907 | * config/romp/romp.c: Include ggc.h. | |
3908 | (get_symref): Don't declare permanent_obstack, use ggc_strdup | |
3909 | intead of permanent_obstack. | |
3910 | * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat | |
3911 | instead of permalloc. | |
3912 | * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc | |
3913 | instead of permalloc | |
3914 | * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat | |
3915 | instead of permalloc. | |
3916 | * config/vax/vax.c (vms_check_external): Use xmalloc instead of | |
3917 | permalloc. | |
3918 | ||
36a05131 BS |
3919 | 2002-08-04 Bernd Schmidt <bernds@redhat.com> |
3920 | ||
3921 | Contribute a port developed primarily by Michael Meissner, | |
3922 | Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>. | |
3923 | * config.gcc: Add frv-elf target. | |
3924 | * config/frv/cmovd.c: New file. | |
3925 | * config/frv/cmovh.c: New file. | |
3926 | * config/frv/cmovw.c: New file. | |
3927 | * config/frv/frv-abi.h: New file. | |
3928 | * config/frv/frv-asm.h: New file. | |
3929 | * config/frv/frv-modes.def: New file. | |
3930 | * config/frv/frv-protos.h: New file. | |
3931 | * config/frv/frv.c: New file. | |
3932 | * config/frv/frv.h: New file. | |
3933 | * config/frv/frv.md: New file. | |
3934 | * config/frv/frvbegin.c: New file. | |
3935 | * config/frv/frvend.c: New file. | |
3936 | * config/frv/lib1funcs.asm: New file. | |
3937 | * config/frv/media.h: New file. | |
3938 | * config/frv/modi.c: New file. | |
3939 | * config/frv/t-frv: New file. | |
3940 | * config/frv/uitod.c: New file. | |
3941 | * config/frv/uitof.c: New file. | |
3942 | * config/frv/ulltod.c: New file. | |
3943 | * config/frv/ulltof.c: New file. | |
3944 | * config/frv/umodi.c: New file. | |
3945 | * config/frv/xm-frv.h: New file. | |
86a0cbcb BS |
3946 | |
3947 | * config/frv/media.h: Removed again. | |
3948 | ||
37b8715b NS |
3949 | 2002-08-04 Nathan Sidwell <nathan@codesourcery.com> |
3950 | ||
3951 | * gcov.c (bb_file_time): New static variable. | |
3952 | (object_directory): May also be object file. | |
3953 | (preserve_paths): New static variable. | |
3954 | (print_usage): Adjust. | |
3955 | (options): Adjust. | |
3956 | (process_args): Adjust. | |
3957 | (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object | |
3958 | file. Find modification date on bb file. | |
3959 | (read_profile): Don't rewind a NULL file. | |
3960 | (format_hwint): New static function. | |
3961 | (function_summary): Use format_hwint. | |
3962 | (output_data): SOURCE_FILE_NAME is never relative to | |
3963 | OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name | |
3964 | mangling. Adjust output format to make it more machine readable. | |
3965 | * doc/gcov.texi: Document & clarify semantics. | |
a7701995 | 3966 | |
d500c5d7 JM |
3967 | 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk> |
3968 | ||
3969 | * doc/include/gcc-common.texi (version-GCC): Increase to 3.3. | |
3970 | ||
ea67fe71 NS |
3971 | 2002-08-04 Nathan Sidwell <nathan@codesourcery.com> |
3972 | ||
3973 | * gcc.c (cc1_options): Pass output file as auxbase when | |
3974 | appropriate. | |
3975 | * profile.c (init_branch_prob): FILENAME has already had ending | |
3976 | stripped. | |
3977 | * final.c (end_final): Likewise. | |
3978 | * toplev.c (aux_base_name): New global. | |
3979 | (compile_file): Pass aux_base_name to init init_branch_prob and | |
3980 | end_final. | |
3981 | (independent_decode_option, case 'a'): New auxinfo options. | |
3982 | (case 'd'): Protect against mising basename. | |
3983 | (do_compile): Initialize aux_base_name. | |
3984 | * toplev.h (aux_base_name): New global. | |
3985 | * doc/invoke.texi: Adjust documentation. | |
3986 | ||
b23c054d NS |
3987 | 2002-08-04 Nathan Sidwell <nathan@codesourcery.com> |
3988 | ||
3989 | * config/i386/i386.c (x86_field_alignment): Remove duplicate test | |
3990 | of TARGET_ALIGN_DOUBLE. | |
3991 | ||
04c1334c | 3992 | 2002-08-04 Gabriel Dos Reis <gdr@nerim.net> |
a7701995 | 3993 | |
04c1334c GDR |
3994 | * diagnostic.c (inform): New function. |
3995 | * diagnostic.h (inform): Declare. | |
a7701995 | 3996 | |
e34eaae5 DE |
3997 | 2002-08-03 David Edelsohn <edelsohn@gnu.org> |
3998 | ||
3999 | * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic. | |
4000 | (movhi_internal): Same. | |
4001 | (movqi_internal): Same. | |
4002 | (movdi_internal64): Same. | |
4003 | ||
4004 | * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405. | |
4005 | ||
4006 | * config/rs6000/xcoff.h (SKIP_ASM_OP): Define. | |
4007 | (ASM_OUTPUT_SKIP): Use it. SIZE unsigned. | |
4008 | (COMMON_ASM_OP): Define. | |
4009 | (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned. | |
4010 | Use ALIGN parameter. | |
4011 | (LOCAL_COMMON_ASM_OP): Define. | |
4012 | (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned. | |
4013 | ||
e7b489c8 RS |
4014 | 2002-08-03 Roger Sayle <roger@eyesopen.com> |
4015 | ||
4016 | * builtins.def: Define new builtin functions exp, expf, expl, | |
4017 | log, logf and logl (and their __builtin_* variants). | |
4018 | * optabs.h (enum optab_index): Add new OTI_exp and OTI_log. | |
4019 | Define exp_optab and log_optab. | |
4020 | * optabs.c (init_optans): Initialize exp_optab and log_optab. | |
4021 | * genopinit.c (optabs): Implement exp_optab and log_optab | |
4022 | using exp?f2 and log?f2 patterns. | |
4023 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP* | |
4024 | and BUILT_IN_LOG* using exp_optab and log_optab respectively. | |
4025 | (expand_builtin): Ignore the new builtins (and all cos and | |
4026 | sin variants) when not optimizing. Expand new builtins via | |
4027 | expand_builtin_mathfn when flag_unsafe_math_optimizations. | |
4028 | ||
4029 | * doc/extend.texi: Document new exp and log builtins. | |
4030 | * doc/md.texi: Document new exp?f2 and log?f2 patterns | |
4031 | (and previously undocumented cos?f2 and sin?f2 patterns). | |
4032 | ||
de8920be JM |
4033 | 2002-08-03 Jason Merrill <jason@redhat.com> |
4034 | ||
4035 | * explow.c (int_expr_size): New fn. | |
4036 | * expr.c (expand_expr) [CONSTRUCTOR]: Use it. | |
4037 | * expr.h: Declare it. | |
4038 | ||
ba462c8e KW |
4039 | 2002-08-02 Krister Walfridsson <cato@df.lth.se> |
4040 | ||
4041 | * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to | |
4042 | gengtype-* dependencies. | |
4043 | ||
2017ed61 EC |
4044 | 2002-08-02 Eric Christopher <echristo@redhat.com> |
4045 | ||
4046 | * config.gcc (mips*-*-linux*): Fix ordering of tm_file. | |
4047 | * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change | |
4048 | #ifndef to #undef. | |
4049 | (TARGET_MEM_FUNCTIONS): Define instead of define to 1. | |
4050 | ||
055dd007 DE |
4051 | 2002-08-02 David Edelsohn <edelsohn@gnu.org> |
4052 | ||
4053 | PR optimize/7067 | |
4054 | * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT | |
4055 | small if optimizing for size. | |
4056 | ||
771a2a66 DJ |
4057 | 2002-08-02 Daniel Jacobowitz <drow@mvista.com> |
4058 | ||
4059 | * configure.in (FORBUILD): Use $build_alias. | |
4060 | * configure: Regenerated. | |
4061 | ||
ac8ab9fe RS |
4062 | 2002-08-02 Richard Sandiford <rsandifo@redhat.com> |
4063 | ||
4064 | * config.gcc: Don't include mips/abi64.h in $tm_file. | |
4065 | * hard-reg-set.h (call_really_used_regs): Declare. | |
4066 | * config/mips/abi64.h: Remove file. | |
4067 | * config/mips/linux.h, | |
4068 | * config/mips/iris6.h: Don't include it. | |
4069 | * config/mips/mips-protos.h (mips_conditional_register_usage): Declare. | |
4070 | * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it. | |
4071 | (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING, | |
4072 | FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING, | |
4073 | FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN): | |
4074 | Bring across definitions from abi64.h. | |
4075 | (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS. | |
4076 | (BIGGEST_MAX_ARGS_IN_REGISTERS): New. | |
4077 | (struct mips_args): Use it. | |
4078 | * config/mips/mips.c (mips_conditional_register_usage): Define. | |
4079 | ||
a77a9a18 JM |
4080 | 2002-08-02 Jason Merrill <jason@redhat.com> |
4081 | ||
4082 | * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro. | |
4083 | * langhooks.c (lhd_expr_size): Define default. | |
4084 | * langhooks.h (struct lang_hooks): Add expr_size. | |
4085 | * explow.c (expr_size): Call it. | |
4086 | * expr.c (store_expr): Don't copy an expression of size zero. | |
4087 | (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much | |
4088 | to store. | |
4089 | * Makefile.in (builtins.o): Depend on langhooks.h. | |
4090 | ||
a6be5aee KG |
4091 | 2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4092 | ||
4093 | * Makefile.in (ra-debug.o): Depend on $(TM_P_H). | |
4094 | * ra-debug.c: Include "tm_p.h". | |
4095 | * ra-rewrite.c (is_partly_live_1): Change return type to bool. | |
4096 | ||
e3e16ee3 TM |
4097 | 2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl> |
4098 | ||
4099 | * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed | |
4100 | when not honoring signalling NaNs. | |
4101 | (simplify_ternary_operation): a == b has a definite value | |
4102 | when not honoring NaNs. | |
4103 | ||
b9d8832d JM |
4104 | 2002-08-02 Jason Merrill <jason@redhat.com> |
4105 | ||
4106 | * gdbinit.in (pct): New macro. | |
4107 | ||
825abef4 SS |
4108 | 2002-08-01 Stan Shebs <shebs@apple.com> |
4109 | Andreas Tobler <toa@pop.agri.ch> | |
4110 | ||
4111 | * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined, | |
4112 | plays nice with Darwin headers. | |
bf2e488f | 4113 | (_BSD_RUNE_T_DEFINED_): Likewise. |
825abef4 | 4114 | |
56da7207 ZW |
4115 | 2002-08-01 Zack Weinberg <zack@codesourcery.com> |
4116 | ||
4117 | * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long. | |
4118 | * cppinit.c (cpp_post_options): Likewise. | |
4119 | ||
4120 | * cppexp.c (cpp_classify_number): Suppress -Wtraditional | |
4121 | warning about 'LL' suffix (but not 'ULL' etc) when | |
4122 | -Wno-long-long is in effect. | |
4123 | ||
4124 | * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]: | |
4125 | Check for failing time()/localtime(), issue a warning, and | |
4126 | make __TIME__ and __DATE__ expand to fallback strings. | |
4127 | ||
4128 | * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__ | |
4129 | and __TIME__ when the date and time cannot be determined. | |
4130 | ||
f4857b9b AM |
4131 | 2002-08-02 Alan Modra <amodra@bigpond.net.au> |
4132 | ||
4133 | * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4. | |
4134 | ||
77ca7b2e DJ |
4135 | 2002-08-01 Daniel Jacobowitz <drow@mvista.com> |
4136 | ||
4137 | * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H). | |
4138 | ||
5b552f76 CD |
4139 | 2002-08-01 Chris Demetriou <cgd@broadcom.com> |
4140 | ||
4141 | * config.gcc (mipsisa64sb1-*-elf*): New configuration. | |
4142 | (mipsisa64sb1el-*-elf*): Likewise. | |
4143 | * config/mips/mips.c (mips_cpu_info_table): Add sb1. | |
4144 | * config/mips/mips.h (processor_type): Add PROCESSOR_SB1. | |
4145 | (TARGET_SB1, TUNE_SB1): New macros. | |
4146 | * doc/invoke.texi: Add sb1 to documentation for MIPS -march and | |
4147 | -mtune flags. | |
4148 | ||
54fbf6a1 DE |
4149 | 2002-08-01 David Edelsohn <edelsohn@gnu.org> |
4150 | ||
4151 | * varasm.c (asm_emit_uninitialized): Return false if global BSS | |
4152 | and ASM_EMIT_BSS not supported by target. | |
4153 | (assemble_variable): Do not duplicate uninitialized logic. | |
4154 | Fall through if asm_emit_uninitialized failed. | |
4155 | ||
3d16b407 CD |
4156 | 2002-08-01 Chris Demetriou <cgd@broadcom.com> |
4157 | ||
4158 | * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro. | |
4159 | ||
fb52d8de AM |
4160 | 2002-08-02 Alan Modra <amodra@bigpond.net.au> |
4161 | ||
80926cc1 AM |
4162 | * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define. |
4163 | (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define. | |
4164 | ||
fb52d8de AM |
4165 | * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when |
4166 | HOST_BITS_PER_WIDE_INT == 64. | |
4167 | ||
a4b5414c KG |
4168 | 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4169 | ||
4170 | * df.c (df_insn_table_realloc): Change parameter to unsigned. | |
4171 | * optabs.c (expand_binop): Make variable unsigned. | |
4172 | * simplify-rtx.c (simplify_subreg): Likewise. | |
4173 | * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings. | |
4174 | ||
a03e67c3 FS |
4175 | 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4176 | ||
4177 | * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION. | |
4178 | ||
de273d3f RH |
4179 | 2002-08-01 Richard Henderson <rth@redhat.com> |
4180 | ||
56da7207 | 4181 | * toplev.c (parse_options_and_default_flags): Don't set |
de273d3f RH |
4182 | flag_reorder_blocks for -Os. |
4183 | ||
4184 | * config/avr/avr.c (avr_optimization_options): Remove. | |
4185 | * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove. | |
4186 | * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove. | |
4187 | * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove. | |
4188 | ||
4e4d733e L |
4189 | 2002-08-01 H.J. Lu <hjl@gnu.org> |
4190 | Richard Henderson <rth@redhat.com> | |
4191 | ||
4192 | * output.h (DECL_READONLY_SECTION): Remove. | |
4193 | (decl_readonly_section): Declare. | |
4194 | * varasm.c (decl_readonly_section): New. | |
4195 | (default_section_type_flags, default_select_section): Use it. | |
4196 | * config/arm/pe.c (arm_pe_unique_section): Likewise. | |
4197 | * config/i386/interix.c (i386_pe_unique_section): Likewise. | |
4198 | * config/i386/winnt.c (i386_pe_unique_section): Likewise. | |
4199 | * config/mcore/mcore.c (mcore_unique_section): Likewise. | |
4200 | * config/mips/mips.c (mips_unique_section): Likewise. | |
4201 | ||
32e9b960 RH |
4202 | 2002-08-01 Richard Henderson <rth@redhat.com> |
4203 | ||
4204 | * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it | |
4205 | refers to a subroutine parameter. | |
4206 | ||
81e602b5 JJ |
4207 | 2002-08-01 Jakub Jelinek <jakub@redhat.com> |
4208 | ||
4209 | * varasm.c (assemble_visibility): Strip name encoding. | |
4210 | ||
ac14c725 ID |
4211 | 2002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
4212 | ||
4213 | * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch. | |
4214 | (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0 | |
4215 | when there is no frame pointer. | |
4216 | (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp | |
4217 | registers properly. | |
4218 | * config/ns32k/__unorddf2.c: New file. | |
4219 | * config/ns32k/__unordsf2.c: New file. | |
4220 | * config/ns32k/t-ns32k: New file. | |
4221 | * config.gcc (ns32k-*-netbsd*): Use it. | |
4222 | ||
17072732 AH |
4223 | 2002-08-01 Aldy Hernandez <aldyh@redhat.com> |
4224 | ||
4225 | * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff. | |
4226 | ||
c288218a NB |
4227 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4228 | ||
4229 | * c-common.c (__GXX_ABI_VERSION): Correct spelling. | |
4230 | ||
43bfc248 BK |
4231 | 2002-08-01 Benjamin Kosnik <bkoz@redhat.com> |
4232 | ||
4233 | * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102. | |
4234 | ||
479f2cea RS |
4235 | 2002-08-01 Richard Sandiford <rsandifo@redhat.com> |
4236 | ||
4237 | * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions. | |
4238 | ||
02280659 ZD |
4239 | 2002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4240 | ||
4241 | * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size, | |
4242 | n_sets): Removed. | |
4243 | (expr_hash_table, set_hash_table): Type changed to ... | |
4244 | (struct hash_table): New type. | |
4245 | (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call, | |
4246 | insert_expr_in_table, insert_set_in_table, compute_hash_table, | |
4247 | dump_hash_table, lookup_expr, lookup_set, compute_local_properties, | |
4248 | compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly. | |
4249 | (alloc_set_hash_table, alloc_expr_hash_table): Merged to ... | |
4250 | (alloc_hash_table): New. | |
4251 | (free_set_hash_table, free_expr_hash_table): Merged to ... | |
4252 | (free_hash_table): New. | |
4253 | (compute_set_hash_table, compute_expr_hash_table): Merged to ... | |
4254 | (compute_hash_table_work): New. | |
4255 | (classic_gcse, one_classic_gcse_pass, compute_cprop_data, | |
4256 | find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data, | |
4257 | pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse, | |
4258 | one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout, | |
4259 | hoist_code, one_code_hoisting_pass, | |
4260 | trim_ld_motion_mems): Altered due to changed type of hash tables. | |
4261 | ||
905173eb ZW |
4262 | 2002-08-01 Zack Weinberg <zack@codesourcery.com> |
4263 | ||
4264 | * final.c (output_alternate_entry_point): | |
4265 | If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it. | |
4266 | ||
83321d36 KG |
4267 | 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4268 | ||
ad0f1765 KG |
4269 | * objc/objc-act.c (encode_complete_bitfield): Add prototype and |
4270 | avoid ISO C style function definition. | |
4271 | ||
83321d36 KG |
4272 | * expr.c (expand_assignment): Delete unused variable. |
4273 | ||
73e42cf3 TM |
4274 | 2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl> |
4275 | ||
4276 | * c-common.c (cb_register_builtins): Set | |
4277 | __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only | |
4278 | is given, and to 0 otherwise. | |
4279 | * combine.c (simplify_if_then_else): HONOR_NANS | |
4280 | implies FLOAT_MODE_P. | |
4281 | ||
78df51fe NB |
4282 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4283 | ||
4284 | * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar. | |
4285 | (cpp_handle_option): Don't handle it. | |
4286 | (print_help): Update. | |
4287 | * doc/cppopts.texi: Update. | |
4288 | ||
abecfc8f NB |
4289 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4290 | ||
4291 | * c-common.c (cb_register_builtins): If C++, define | |
4292 | __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate. | |
4293 | * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION. | |
4294 | cp: | |
4295 | * lang-specs.h: Simplify in accordance with new code in | |
4296 | c-common.c. | |
4297 | ||
4078b403 NB |
4298 | 2002-08-01 Neil Booth <neil@daikokuya.co.uk> |
4299 | ||
4300 | * c-common.c: Define all C/ObjC/C++ warning and flag variables. | |
4301 | * c-common.h: Declare all C/ObjC/C++ warning and flag variables. | |
4302 | * c-decl.c: Move all warning and flag variables to c-common.c. | |
4303 | * c-format.c: Move all warning variables to c-common.c. | |
4304 | * c-tree.h: Move all warning and flag declarations to c-common.h. | |
4305 | * objc/objc-act.c: Move all warning variables to c-common.c. | |
4306 | (flag_warn_protocol): Rename warn_protocol. | |
4307 | ||
692f5611 JDA |
4308 | 2002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4309 | ||
4310 | * pa-linux.h (GLOBAL_ASM_OP): Fix typo. | |
4311 | ||
c7a009a2 | 4312 | 2002-07-31 Graham Stott <graham.stott@btinternet.com> |
480e7ded | 4313 | |
905173eb | 4314 | * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing |
480e7ded GS |
4315 | .section prefix. |
4316 | ||
b069de3b SS |
4317 | 2002-07-31 Stan Shebs <shebs@apple.com> |
4318 | ||
4319 | * config.gcc (i[34567]86-*-darwin*): New configuration. | |
4320 | * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before | |
4321 | defining. | |
4322 | (TARGET_ENCODE_SECTION_INFO): Ditto. | |
4323 | (ASM_PREFERRED_EH_DATA_FORMAT): Ditto. | |
4324 | * config/darwin.c (machopic_indirect_data_reference): Remove | |
4325 | setting of RTX_UNCHANGING_P. | |
4326 | (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as | |
4327 | not to be applied to sums. | |
4328 | * config/i386/t-darwin: New file. | |
4329 | * config/i386/darwin.h: New file. | |
4330 | * config/i386/i386.h (TARGET_MACHO): Add default definition. | |
4331 | * config/i386/i386.md (tablejump): Add TARGET_MACHO case. | |
4332 | * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O | |
4333 | label and not the GOT add. | |
4334 | (constant_address_p): For Mach-O, seeing a CONST is enough. | |
4335 | (legitimate_pic_address_disp_p): Add a Mach-O case. | |
4336 | (legitimate_address_p): Also test machopic_operand_p if Mach-O. | |
4337 | (legitimize_pic_address): Use generic Mach-O code to legitimize. | |
4338 | (output_pic_addr_const): Suppress @PLT if Mach-O, and parens | |
4339 | if outputting a difference. | |
4340 | (ix86_output_addr_diff_elt): Add Mach-O case. | |
4341 | (ix86_expand_move): Similarly. | |
4342 | (ix86_expand_call): Similarly. | |
4343 | (current_machopic_label_num): New global. | |
4344 | (machopic_output_stub): New function. | |
4345 | (ix86_value_regno): New function. | |
4346 | (ix86_function_value): Use it instead of VALUE_REGNO. | |
4347 | (ix86_libcall_value): Ditto. | |
4348 | * config/i386/unix.h (VALUE_REGNO): Remove. | |
4349 | ||
1de4ecb6 GS |
4350 | 2002-07-31 Graham Stott <grahas@btinternet.com> |
4351 | ||
4352 | * config/rs6000/rs6000.c(rs6000_hash_constant): Fix | |
905173eb | 4353 | hash for LABEL_REF's. |
1de4ecb6 | 4354 | |
23368455 GS |
4355 | 2002-07-31 Graham Stott <grahams@btinternet.com> |
4356 | ||
4357 | * config/rs6000/rs6000.c (spe_init_builtins, | |
4358 | altivec_init_builtins, rs6000_common_init_builtins): | |
905173eb | 4359 | Replace ANSI with K&R function def. |
23368455 | 4360 | |
ad72b533 DE |
4361 | 2002-07-31 David Edelsohn <edelsohn@gnu.org> |
4362 | ||
4363 | * rs6000.c (validate_condition_mode): Test flag_finite_math_only | |
4364 | for CCFPmode. | |
4365 | ||
302359da RS |
4366 | 2002-07-31 Richard Sandiford <rsandifo@redhat.com> |
4367 | ||
4368 | * config/mips/crtn.asm: Don't use __mips16 to determine the | |
4369 | return-address offset. Define RA to a suitable temporary | |
4370 | register for the return address. | |
4371 | ||
ead0c1d5 RS |
4372 | 2002-07-31 Richard Sandiford <rsandifo@redhat.com> |
4373 | ||
4374 | * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change | |
4375 | constraints to 'd'. | |
4376 | ||
3fb9d48a CD |
4377 | 2002-07-30 Chris Demetriou <cgd@broadcom.com> |
4378 | ||
4379 | * config/mips/elf.h (STARTFILE_SPEC): Define differently if | |
4380 | default ABI is MEABI. (Undoes incorrect change in Eric Christopher's | |
4381 | patch on 2002-07-29.) | |
4382 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
4383 | ||
072cdaed KG |
4384 | 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4385 | ||
506a61b1 KG |
4386 | * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h, |
4387 | fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h, | |
4388 | ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h, | |
4389 | openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h, | |
4390 | s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h: | |
4391 | (ASM_GLOBALIZE_LABEL): Delete. | |
4392 | (GLOBAL_ASM_OP): Define. | |
4393 | ||
072cdaed | 4394 | * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete. |
905173eb | 4395 | |
072cdaed KG |
4396 | * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default. |
4397 | * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs. | |
4398 | ||
6fd14075 GK |
4399 | 2002-07-30 Geoffrey Keating <geoffk@redhat.com> |
4400 | ||
4401 | * doc/extend.texi (Hints implementation): Document that GCC | |
4402 | mostly ignores `register'. | |
4403 | ||
2e8f2e8f TM |
4404 | 2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl> |
4405 | ||
4406 | * flags.h: Declare flag_finite_math_only. | |
4407 | Use it in definition of HONOR_NANS and | |
4408 | HONOR_INFINITIES. | |
4409 | * c-common.c (cb_register_builtins): Emit | |
4410 | __FINITE_MATH_ONLY__ when flag_finite_math_only | |
4411 | is set. | |
4412 | * combine.c (simplify_if_then_else): If | |
4413 | flag_finite_math_only is set, a == b has a | |
4414 | definite value. | |
4415 | * toplev.c: Initialize flag_finite_math_only. | |
4416 | (set_flags_fast_math): Set it on -ffast-math. | |
4417 | (flag_fast_math_set_p): Test it. | |
4418 | * doc/invoke.texi: Document -ffinite-math-only. | |
4419 | ||
a538e580 RH |
4420 | 2002-07-30 Richard Henderson <rth@redhat.com> |
4421 | ||
4422 | * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p. | |
4423 | (noce_process_if_block): Likewise. | |
4424 | ||
26e20555 BS |
4425 | 2002-07-30 Bernd Schmidt <bernds@redhat.com> |
4426 | ||
4427 | * ifcvt.c (cond_exec_process_if_block): Fix a merging error. | |
4428 | Bail out early if false_expr is NULL and we'd crash due to this. | |
79cbc1f7 BS |
4429 | * genemit.c (gen_expand): Recognize return insns even if the return |
4430 | appears in a parallel. | |
d8088c6f BS |
4431 | * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined. |
4432 | * config/fp-bit.c: Likewise. | |
4433 | * doc/tm.texi: Document it. | |
905173eb | 4434 | |
0559cc77 DE |
4435 | 2002-07-30 David Edelsohn <edelsohn@gnu.org> |
4436 | Zack Weinberg <zack@codesourcery.com> | |
4437 | ||
4438 | * rs6000.c (rs6000_expand_unop_builtin): Check icode not | |
4439 | CODE_FOR_nothing. Change switch to if. | |
4440 | (rs6000_expand_binop_builtin): Same. | |
4441 | (rs6000_expand_builtin): Expand builtin if target support enabled. | |
4442 | (rs6000_init_builtins): Init builtin if target support enabled. | |
4443 | (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing. | |
4444 | ||
60b8aa94 FS |
4445 | 2002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4446 | ||
4447 | * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101. | |
4448 | ||
714fb710 RS |
4449 | 2002-07-30 Richard Sandiford <rsandifo@redhat.com> |
4450 | ||
4451 | * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo. | |
4452 | ||
c608a684 R |
4453 | Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4454 | ||
4455 | * sh.md (cond_delay_slot): New attribute. | |
4456 | (cbranch delay): Use it for anulled-true case. | |
4457 | (stuff_delay_slot): New pattern. | |
4458 | * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length | |
4459 | delay slot insn. | |
4460 | (gen_far_branch): Emit stuff_delay_slot pattern. | |
4461 | ||
0a756401 R |
4462 | Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4463 | ||
4464 | * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT. | |
4465 | ||
68e82b83 KH |
4466 | 2002-07-30 Kazu Hirata <kazu@cs.umass.edu> |
4467 | ||
4468 | * fold-const.c: Fix comment typos. | |
4469 | * gcse.c: Likewise. | |
4470 | * reload1.c: Likewise. | |
4471 | ||
fe6b547a AH |
4472 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4473 | ||
4474 | * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot | |
4475 | for TARGET_SPE. | |
4476 | ||
7ff4a7ef GDR |
4477 | 2002-07-30 Gabriel Dos Reis <gdr@nerim.net> |
4478 | ||
4479 | * c-pretty-print.h (pp_c_statement): Declare. | |
4480 | * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC. | |
4481 | (pp_c_statement): Define. | |
4482 | ||
4ad5e05d KG |
4483 | 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4484 | ||
4485 | * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h, | |
4486 | darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h, | |
4487 | ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h, | |
4488 | mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h, | |
4489 | rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h, | |
4490 | v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition. | |
4491 | ||
4492 | * defaults.h (ASM_OUTPUT_LABEL): Provide a default. | |
4493 | * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs. | |
4494 | ||
1e6a3e1e GDR |
4495 | 2002-07-30 Gabriel Dos Reis <gdr@nerim.net> |
4496 | ||
4497 | * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR. | |
4498 | (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR, | |
4499 | COMPOUND_LITERAL_EXPR, VA_ARG_EXPR. | |
4500 | (pp_c_expression): Update. | |
4501 | ||
1dcd444b KG |
4502 | 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4503 | ||
4504 | * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or | |
4505 | concat in lieu of xmalloc/strcpy/memcpy/sprintf. | |
4506 | * alpha/vms-ld.c (main): Likewise. | |
4507 | * dsp16xx.c (double_reg_to_memory): Likewise. | |
4508 | * mcore.c (mcore_expand_prolog): Likewise. | |
4509 | * cppfiles.c (read_name_map): Likewise. | |
4510 | * gensupport.c (process_rtx, identify_predicable_attribute, | |
4511 | alter_test_for_insn): Likewise. | |
4512 | * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise. | |
4513 | ||
e62f4abc RS |
4514 | 2002-07-29 Roger Sayle <roger@eyesopen.com> |
4515 | ||
4516 | * builtins.c (expand_builtin): Change the default behavior to | |
905173eb | 4517 | only issue an error if the builtin function doesn't have a |
e62f4abc RS |
4518 | fallback library call. Remove several cases handled by the |
4519 | new default. | |
4520 | ||
0cd2fb44 JDA |
4521 | 2002-07-29 John David Anglin <dave@hiauly1.hia.nrc> |
4522 | ||
4523 | * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the | |
4524 | floating point format of the target is IEEE. | |
4525 | * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point | |
4526 | format of the target is DEC. | |
4527 | ||
b642261e RH |
4528 | 2002-07-29 Richard Henderson <rth@redhat.com> |
4529 | ||
4530 | * unroll.c (verify_addresses): Remove. | |
4531 | (find_splittable_givs): Never split DEST_ADDR givs. | |
4532 | ||
cba57c9d GK |
4533 | 2002-07-29 Geoffrey Keating <geoffk@redhat.com> |
4534 | ||
4535 | * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes | |
4536 | is exhaustive. | |
4537 | (Files): Improve documentation on generated source files. | |
4538 | ||
4539 | * doc/extend.texi (Translation implementation): Document what | |
4540 | diagnostics look like. | |
4541 | (Identifiers implementation): Document that there's normally no | |
4542 | limit on identifier names. | |
4543 | (Integers implementation): Document two's complement. | |
8d9afc4e | 4544 | (Hints implementation): Document that GCC honors 'inline', mostly. |
cba57c9d GK |
4545 | (Preprocessing directives implementation): Document that GCC |
4546 | requires the current time. | |
4547 | ||
76a8ecba GDR |
4548 | 2002-07-30 Gabriel Dos Reis <gdr@nerim.net> |
4549 | ||
4550 | * c-pretty-print.h (struct c_pretty_print_info): Add new member. | |
4551 | (pp_initializer): New macro. | |
4552 | (pp_c_initializer): Declare. | |
4553 | * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR. | |
4554 | (pp_c_initializer): Define. | |
4555 | (pp_c_initializer_list): New function. | |
4556 | (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST, | |
4557 | VECTOR_CST, CONSTRUCTOR. | |
4558 | (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR, | |
905173eb | 4559 | IMAGPART_EXPR. |
76a8ecba GDR |
4560 | (pp_c_cast_expression): Handle FLOAT_EXPR. |
4561 | (pp_c_assignment_expression): Handle INIT_EXPR. | |
4562 | (pp_c_expression): Update. | |
4563 | ||
4307be72 NB |
4564 | 2002-07-30 Neil Booth <neil@daikokuya.co.uk> |
4565 | ||
4566 | * objc/objc-act.c (objc_init): Return immediately if filename | |
4567 | is NULL. | |
4568 | ||
6d439235 EC |
4569 | 2002-07-29 Eric Christopher <echristo@redhat.com> |
4570 | ||
905173eb ZW |
4571 | * config/mips/elf.h: Remove ecoff.h and gofast includes. |
4572 | (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally. | |
4573 | (SDB_DEBUGGING_INFO): Undefine. | |
4574 | (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. | |
6d439235 EC |
4575 | (PUT_SDB_SIZE): Remove. |
4576 | (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine. | |
905173eb ZW |
4577 | (STARTFILE_SPEC): Add isa3264 define. |
4578 | * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here... | |
4579 | * config/mips/ecoff.h: Remove. and here... | |
4580 | * config/mips/iris3.h: and here... | |
4581 | * config/mips/sni-svr4.h: and here... | |
4582 | * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs. | |
6d439235 EC |
4583 | Add assembler -mmdebug options for non-dwarf debugging. |
4584 | * config/mips/r3900.h: Remove debug info defines. | |
905173eb ZW |
4585 | * config/mips/isa32-linux.h: Remove, move functionality to config.gcc. |
4586 | * config/mips/isa3264.h: Ditto. | |
4587 | * config/mips/t-isa3264: Fix up for file removal and gofast configure | |
4588 | change. | |
4589 | * config/mips/t-elf: Ditto. | |
4590 | * config/mips/t-ecoff: Ditto. | |
4591 | * config/mips/t-r3900: Ditto. | |
4592 | * config/mips/t-iris5-6: Ditto. | |
4593 | * config/mips/t-isa3264: Ditto. | |
4594 | * config/mips/t-linux: Remove. | |
4595 | * config/mips/t-netbsd: Remove. | |
4596 | * config/mips/t-mips: New file. | |
4597 | * config/mips/t-gofast: Ditto. | |
4598 | * config/mips/netbsd.h: Remove unnecessary undefines. | |
4599 | * config/mips/linux.h: Remove #include of mips.h. | |
4600 | * config.gcc: Add mips.h include for elf targets. Remove tm_file | |
4601 | for ecoff. Add gofast configure option for mips. | |
6d439235 | 4602 | |
4357a6c3 CD |
4603 | 2002-07-29 Chris Demetriou <cgd@broadcom.com> |
4604 | ||
4605 | * configure.in (mips*-*-*): Add a test to see if MIPS libgloss | |
4606 | linker scripts use STARTUP directives consistently. | |
4607 | * configure: Regenerate. | |
4608 | * config.in: Regenerate. | |
4609 | * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based | |
4610 | on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined. | |
4611 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
4612 | * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if | |
4613 | HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result | |
4614 | will be the same. | |
4615 | ||
9a5cd606 AH |
4616 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4617 | ||
4618 | * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute. | |
4619 | ||
a23acaa6 AH |
4620 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4621 | ||
4622 | * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540. | |
4623 | ||
10ed84db AH |
4624 | 2002-07-29 Aldy Hernandez <aldy@quesejoda.com> |
4625 | ||
4626 | * config/rs6000/rs6000.md: Move altivec patterns from here... | |
4627 | ||
4628 | * config/rs6000/altivec.md: ...to here. | |
4629 | ||
c3021e5d AH |
4630 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4631 | ||
4632 | * config/rs6000/spe.md ("spe_evmra"): Change to unspec. | |
4633 | ||
6f1087be RH |
4634 | 2002-07-29 Richard Henderson <rth@redhat.com> |
4635 | ||
4636 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from | |
4637 | set_mem_attributes and add BITPOS argument. Subtract it from | |
4638 | OFFSET when same is adjusted. | |
4639 | (set_mem_attributes): New wrapper function. | |
4640 | * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos; | |
4641 | remove offset adjustment hack. | |
4642 | * expr.h (set_mem_attributes_minus_bitpos): Declare. | |
4643 | ||
61ccbcfd GDR |
4644 | 2002-07-29 Gabriel Dos Reis <gdr@nerim.net> |
4645 | ||
4646 | * Makefile.in (C_OBJS): Include c-pretty-print.o | |
4647 | (c-pretty-print.o): Add depency rule. | |
4648 | * pretty-print.h: Add more macros. | |
4649 | * c-pretty-print.c: New file. | |
4650 | * c-pretty-print.h: Likewise. | |
4651 | ||
09101f56 AH |
4652 | 2002-07-29 Aldy Hernandez <aldyh@redhat.com> |
4653 | ||
4654 | * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector | |
4655 | constants to __ev64_s32__. | |
4656 | (__internal_ev_mwhgsmian): Same. | |
4657 | (__internal_ev_mwhgsmfan): Same. | |
4658 | (__internal_ev_mwhgssfan): Same. | |
4659 | (__internal_ev_mwhgumiaa): Same. | |
4660 | (__internal_ev_mwhgsmiaa): Same. | |
4661 | (__internal_ev_mwhgsmfaa): Same. | |
4662 | (__internal_ev_mwhgssfaa): Same. | |
4663 | ||
af673a52 DE |
4664 | 2002-07-29 David Edelsohn <edelsohn@gnu.org> |
4665 | ||
4666 | * varasm.c (assemble_variable): Narrow test for uninitialized | |
4667 | without BSS target support. | |
4668 | ||
6c208acd NS |
4669 | 2002-07-29 Nathan Sidwell <nathan@codesourcery.com> |
4670 | ||
4671 | * profile.c: Add file comment describing the overall algorithm and | |
4672 | structures. | |
4673 | (struct edge_info): Add comments. | |
4674 | (struct bb_info): Add comments. | |
4675 | * basic-block.h (EDGE_*): Add comments. | |
4676 | * doc/gcov.texi (Gcov Data Files): Document bit flags. | |
4677 | ||
624f0d60 BW |
4678 | 2002-07-29 Bob Wilson <bob.wilson@acm.org> |
4679 | ||
4680 | * config/xtensa/elf.h, config/xtensa/linux.h | |
4681 | (TARGET_OS_CPP_BUILTINS): Define. | |
4682 | (CPP_PREDEFINES): Remove. | |
4683 | * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define. | |
4684 | (CPP_SPEC): Remove. | |
4685 | ||
2199e5fa ZW |
4686 | 2002-07-29 Zack Weinberg <zack@codesourcery.com> |
4687 | ||
4688 | * gensupport.c: Include hashtab.h. | |
4689 | (insn_elision, condition_table, hash_c_test, cmp_c_test, | |
4690 | maybe_eval_c_test): New routines and data structures to | |
4691 | support insn elision. | |
4692 | (init_md_reader): Read and initialize the condition_table. | |
4693 | (read_md_rtx): Discard insn patterns whose C test is provably | |
4694 | always false. | |
4695 | * gensupport.h: Declare new functions and data structures. | |
4696 | ||
4697 | * genconditions.c, dummy-conditions.c: New files. | |
4698 | * Makefile.in: Build genconditions; run it to construct | |
4699 | insn-conditions.c; build that and link it into most gen* | |
4700 | programs. | |
4701 | (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables. | |
4702 | (GEN): Delete, unused. | |
4703 | (STAGESTUFF): Update. | |
4704 | ||
4705 | * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to | |
4706 | CODE_FOR_nothing for all elided patterns. | |
4707 | (main): Tweaked to support this. | |
4708 | * genflags.c (gen_proto): Emit a static inline generator | |
4709 | function here for all elided patterns, which simply returns | |
4710 | NULL_RTX. | |
4711 | (gen_insn): Do not define HAVE_xxx for elided patterns. | |
4712 | (main): Tweaked to support this. No need to forward-declare | |
4713 | struct rtx_def. | |
4714 | * genrecog.c: Do not bother emitting the C test if it's known | |
4715 | to be true at compile time. | |
4716 | ||
6ab185d6 MS |
4717 | 2002-07-29 Mike Stump <mrs@apple.com> |
4718 | ||
6d439235 | 4719 | * config.gcc (target_gtfiles): Initialize, as otherwise cross |
2199e5fa | 4720 | compilers hosted on powerpc-apple-darwin6.0 won't even build. |
6ab185d6 | 4721 | |
72b075d1 RE |
4722 | 2002-07-29 Richard Earnshaw <rearnsha@arm.com> |
4723 | ||
4724 | * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern, | |
4725 | remove clobber of LR. | |
4726 | (sibcall_insn, sibcall_value_insn): Update accordingly. | |
4727 | (sibcall_epilogue): Remove debugging comment from assembler stream. | |
4728 | ||
f63c45ec GDR |
4729 | 2002-07-29 Gabriel Dos Reis <gdr@nerim.net> |
4730 | ||
4731 | * pretty-print.h: Define more macros. | |
4732 | * diagnostic.h (output_formatted_integer): Moved from... | |
4733 | * diagnostic.c: ... here. | |
4734 | ||
c27c15db KG |
4735 | 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4736 | ||
4737 | * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF. | |
4738 | ||
99086d59 ZW |
4739 | 2002-07-28 Zack Weinberg <zack@codesourcery.com> |
4740 | ||
4741 | * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two | |
4742 | arguments. Always use ".-symbol" as expression argument. | |
4743 | * doc/tm.texi: Update to match. Document requirement for | |
4744 | ".size symbol, .-symbol" to be acceptable to assembler. | |
4745 | ||
4746 | * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, | |
4747 | config/arm/elf.h, config/avr/avr.h, config/cris/aout.h, | |
4748 | config/i386/freebsd-aout.h, config/i386/sco5.h, | |
4749 | config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h, | |
4750 | config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE. | |
4751 | ||
dd86aabf KG |
4752 | 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4753 | ||
6fd327e9 KG |
4754 | * Makefile.in (gengtype-lex.c): Fix error in last change. |
4755 | ||
8155cedd KG |
4756 | * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing |
4757 | backslash. | |
4758 | ||
dd86aabf KG |
4759 | * Makefile.in (vmsdbgout.o): Depend on function.h. |
4760 | ||
4761 | * vmsdbgout.c: Include function.h. | |
4762 | ||
d4348177 AM |
4763 | 2002-07-28 Alan Modra <amodra@bigpond.net.au> |
4764 | ||
4765 | * prefix.c (update_path): Don't strip single `.' path components | |
4766 | unless stripping a later `..' component. Exit loop as soon as | |
4767 | a valid path is found. | |
4768 | ||
c2ef6d34 RS |
4769 | 2002-07-27 Roger Sayle <roger@eyesopen.com> |
4770 | ||
4771 | * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS | |
4772 | argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN, | |
4773 | BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99 | |
4774 | floating point unordered comparisons (e.g. __builtin_isgreater) | |
4775 | as const, and leave the remaining GCC_BUILTINs unchanged. | |
4776 | ||
4777 | * c-decl.c (builtin_function): No need to explicitly mark | |
4778 | BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn. | |
4779 | ||
52bfebf0 RS |
4780 | 2002-07-27 Roger Sayle <roger@eyesopen.com> |
4781 | ||
4782 | * Makefile.in: rtlanal.o now depends upon real.h. | |
4783 | ||
4784 | * flags.h [flag_signaling_nans]: New flag. | |
4785 | [HONOR_SNANS]: New macro. | |
4786 | ||
4787 | * toplev.c [flag_signaling_nans]: Initialize to false. | |
99086d59 | 4788 | (f_options): Add processing for "-fsignaling-nans". |
52bfebf0 RS |
4789 | (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math. |
4790 | (process_options): flag_signaling_nans implies flag_trapping_math. | |
4791 | ||
4792 | * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__ | |
4793 | when -fsignaling-nans. First step to implementing WG14's N965. | |
4794 | ||
4795 | * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming | |
4796 | 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS. | |
4797 | [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS. | |
4798 | ||
4799 | * simplify-rtx.c (simplify_relational_operation): Conditionalize | |
4800 | transforming abs(x) < 0.0 into false on !HONOR_SNANS. | |
4801 | ||
4802 | * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions | |
4803 | required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD, | |
99086d59 ZW |
4804 | UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with |
4805 | -fsignaling_nans. EQ and NE only trap for flag_signaling_nans | |
52bfebf0 RS |
4806 | not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS). |
4807 | ||
4808 | * doc/invoke.texi: Document new -fsignaling-nans compiler option. | |
4809 | ||
e66f55b8 KG |
4810 | 2002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4811 | ||
4812 | * Makefile.in (gengtype-lex.c): Work around a bug in flex. | |
4813 | * gengtype-lex.l (YY_USE_PROTOS): Undef. | |
4814 | (YY_DECL): Define. | |
4815 | ||
a3926fe1 RS |
4816 | 2002-07-27 Roger Sayle <roger@eyesopen.com> |
4817 | ||
4818 | * doc/invoke.texi: Document that both -fno-builtin-foo and | |
4819 | -fno-builtin are supported by the g++ front-end. | |
4820 | ||
ef69da62 SS |
4821 | 2002-07-27 Stan Shebs <shebs@apple.com> |
4822 | ||
4823 | * configure.in: Rename config_gtfiles to target_gtfiles. | |
4824 | * configure: Regenerate. | |
4825 | * doc/gty.texi: Update reference. | |
4826 | * config.gcc (powerpc-*-darwin*): Set target_gtfiles | |
4827 | instead of appending to it. | |
4828 | ||
a4b0320c AH |
4829 | 2002-07-25 Aldy Hernandez <aldyh@redhat.com> |
4830 | ||
4831 | * config/rs6000/rs6000.c (function_arg_advance): SPE vararg | |
4832 | vectors are split into two registers. | |
4833 | (function_arg): Same. | |
4834 | ||
c427db5d R |
4835 | Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4836 | ||
4837 | * pa.md (extv): Check predicates before emitting extv_32. | |
4838 | ||
57ac7be9 AM |
4839 | 2002-07-27 Alan Modra <amodra@bigpond.net.au> |
4840 | ||
4841 | * config/rs6000/rs6000.c (rs6000_traceback_name): New var. | |
4842 | (rs6000_traceback): New var. | |
4843 | (rs6000_override_options): Set rs6000_traceback. | |
4844 | (rs6000_output_function_epilogue): Implement traceback options. | |
4845 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=". | |
4846 | (rs6000_traceback_name): Declare. | |
4847 | ||
4848 | * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile | |
4849 | label reference when NO_PROFILE_COUNTERS. | |
4850 | ||
8e51619a JM |
4851 | 2002-07-26 Jason Merrill <jason@redhat.com> |
4852 | ||
4853 | * function.c (assign_parms): Handle frontend-directed pass by | |
4854 | invisible reference. | |
4855 | ||
b41f25cf NB |
4856 | 2002-07-26 Neil Booth <neil@daikokuya.co.uk> |
4857 | ||
4858 | * doc/cppopts.texi: Update. | |
4859 | ||
c2734e05 NB |
4860 | 2002-07-26 Neil Booth <neil@daikokuya.co.uk> |
4861 | ||
4862 | * cppmacro.c (_cpp_create_definition): Don't attempt redefinition | |
4863 | warnings on assertions. | |
4864 | ||
c372b0fa NB |
4865 | 2002-07-26 Neil Booth <neil@daikokuya.co.uk> |
4866 | ||
4867 | * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ, | |
4868 | RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR, | |
4869 | RID_COMPL): Remove. | |
4870 | * c-parse.in (rid_to_yy): Similarly. | |
4871 | ||
558ee214 JM |
4872 | 2002-07-26 Jason Merrill <jason@redhat.com> |
4873 | ||
4874 | * c-dump.c: Resurrect. | |
4875 | * tree-dump.c: Move C-specific stuff to c-dump.c. | |
4876 | * c-common.h: Declare c_dump_tree. | |
4877 | * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define. | |
4878 | * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. | |
4879 | (c-dump.o): New rule. | |
4880 | ||
ce71f754 AM |
4881 | 2002-07-26 Alan Modra <amodra@bigpond.net.au> |
4882 | ||
4883 | * config/rs6000/rs6000.md: Enable patterns using rlwinm for | |
4884 | PowerPC64. Replace "T" and "S" constraints with "n" when the | |
4885 | predicate will do. Formatting fixes. | |
4886 | (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare" | |
4887 | as for extzvsi_internal1. | |
4888 | ||
e179e7d7 NB |
4889 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4890 | ||
4891 | * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT, | |
4892 | DERIV_END_LABEL_FMT): Remove. | |
4893 | (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move. | |
4894 | ||
a2056183 NB |
4895 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4896 | ||
4897 | * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE): | |
4898 | Remove. | |
4899 | ||
308c142a SS |
4900 | 2002-07-25 Stan Shebs <shebs@apple.com> |
4901 | ||
4902 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused | |
4903 | local var dwarfp. | |
4904 | (output_compiler_stub): Remove unused locals. | |
4905 | (output_call): Always initialize line number. | |
4906 | ||
59324685 R |
4907 | Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4908 | ||
4909 | * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia. | |
4910 | * sh.md (truncdiqi2, movqi_media): Likewise. | |
4911 | ||
77bbd421 NB |
4912 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4913 | ||
4914 | * gcse.c (obstack_chunk_alloc): Remove. | |
4915 | (gcse_alloc): Fix to count allocated bytes. | |
4916 | * collect2.c (SYMBOL__MAIN): Remove. | |
4917 | ||
7bad45b0 NB |
4918 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
4919 | ||
4920 | * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if | |
4921 | HAVE_TARGET_EXECUTABLE_SUFFIX. | |
4922 | ||
184166b5 R |
4923 | Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4924 | ||
4925 | * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN, | |
4926 | SIZE, EXPR and OFFSET. | |
4927 | ||
40cb04f1 RH |
4928 | 2002-07-25 Richard Henderson <rth@redhat.com> |
4929 | ||
4930 | * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos | |
4931 | in ARRAY_REF of DECL_P case. | |
4932 | ||
a27fb29b RS |
4933 | 2002-07-25 Richard Sandiford <rsandifo@redhat.com> |
4934 | ||
4935 | * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI | |
4936 | description. Document -mips32, -mips64, and the associated -march | |
4937 | values. Describe the "mipsN" arguments to -march. Say that the | |
4938 | -mipsN options are equivalent to -march. Reword the description | |
4939 | of default type sizes. | |
4940 | * toplev.h (target_flags_explicit): Declare. | |
4941 | * toplev.c (target_flags_explicit): New var. | |
4942 | (set_target_switch): Update target_flags_explicit. | |
4943 | * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine. | |
4944 | * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine. | |
4945 | * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3. | |
4946 | * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine. | |
4947 | * config/mips/mips.h (mips_cpu_info): New struct. | |
4948 | (mips_cpu_string, mips_explicit_type_size_string): Remove. | |
4949 | (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare. | |
4950 | (MIPS_CPP_SET_PROCESSOR): New macro. | |
4951 | (TARGET_CPP_BUILTINS): Declare a macro for each supported processor. | |
4952 | Define _MIPS_ARCH and _MIPS_TUNE. | |
4953 | (MIPS_ISA_DEFAULT): Don't provide a default value. Instead... | |
4954 | (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor | |
4955 | MIPS_ISA_DEFAULT were already defined. | |
4956 | (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT. | |
4957 | (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size. | |
4958 | (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New. | |
4959 | (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules. | |
4960 | (ABI_GAS_ASM_SPEC): Remove. | |
4961 | (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros. | |
4962 | (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64. | |
4963 | Invoke %(asm_abi_default_spec) if no ABI was specified. | |
4964 | (CC1_SPEC): Remove ISA -> register-size rules. | |
4965 | (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec. | |
4966 | * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars. | |
4967 | (mips_cpu_string, mips_explicit_type_size_string): Remove. | |
4968 | (mips_cpu_info_table): New array. | |
4969 | (mips_set_architecture, mips_set_tune): New fns. | |
4970 | (override_options): Rework to make -mipsN equivalent to -march. | |
4971 | Detect more erroneous cases, including those removed from CC1_SPEC. | |
4972 | Don't change the ABI based on architecture, or vice versa. | |
4973 | Unify logic with GAS. | |
4974 | (mips_asm_file_start): Get architecture name from mips_arch_info. | |
4975 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. | |
4976 | (mips_parse_cpu): Take the name of the option as argument. Handle | |
4977 | 'from-abi'. Raise an error if the option is wrong. | |
4978 | (mips_cpu_info_from_isa): New fn. | |
4979 | ||
6bbdc759 RS |
4980 | 2002-07-25 Richard Sandiford <rsandifo@redhat.com> |
4981 | ||
4982 | * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF. | |
4983 | (tablejump_mips162): Likewise. | |
4984 | ||
80a62484 R |
4985 | Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4986 | ||
4987 | * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to | |
4988 | int_mode_for_mode. | |
4989 | ||
ea793912 GDR |
4990 | 2002-07-25 Gabriel Dos Reis <gdr@nerim.net> |
4991 | ||
4992 | * c-common.c (c_sizeof_or_alignof_type): Take a third argument for | |
99086d59 | 4993 | complaining. |
ea793912 GDR |
4994 | * c-common.h (c_sizeof): Adjust definition. |
4995 | (c_alignof): Likewise. | |
4996 | * c-tree.h (c_sizeof_nowarn): Now macro. | |
4997 | * c-typeck.c (c_sizeof_nowarn): Remove definition. | |
4998 | ||
2d615444 NB |
4999 | 2002-07-25 Neil Booth <neil@daikokuya.co.uk> |
5000 | ||
5001 | * c-decl.c (c_decode_option): No need to handle switches | |
5002 | cpplib handles. | |
5003 | ||
2be2ac70 ZW |
5004 | 2002-07-24 Zack Weinberg <zack@codesourcery.com> |
5005 | ||
5006 | * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE, | |
5007 | ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros. | |
5008 | * doc/tm.texi: Document them. Also document SIZE_ASM_OP, | |
5009 | TYPE_ASM_OP, and TYPE_OPERAND_FMT. | |
5010 | ||
5011 | * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, | |
5012 | config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h, | |
5013 | config/cris/aout.h, config/i386/freebsd-aout.h, | |
5014 | config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h, | |
5015 | config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h, | |
5016 | config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h, | |
5017 | config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h, | |
5018 | config/pa/pa64-hpux.h, config/rs6000/sysv4.h, | |
5019 | config/xtensa/elf.h, config/xtensa/linux.h: | |
5020 | Use the new macros. | |
5021 | Where possible, remove redundant definitions of SIZE_ASM_OP, | |
5022 | TYPE_ASM_OP, and TYPE_OPERAND_FMT. | |
5023 | ||
518878e1 AH |
5024 | 2002-07-24 Aldy Hernandez <aldyh@redhat.com> |
5025 | ||
5026 | * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE, | |
5027 | TARGET_ISEL, and TARGET_FPRS. | |
99086d59 | 5028 | |
518878e1 AH |
5029 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document |
5030 | -mabi=spe, -mabi=no-spe, and -misel=. | |
5031 | ||
5032 | * config/rs6000/rs6000-protos.h: Add output_isel. | |
5033 | Move vrsave_operation prototype here. | |
5034 | ||
5035 | * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL. | |
5036 | (smaxsi3): Same. | |
5037 | (uminsi3): Same. | |
5038 | (umaxsi3): Same. | |
5039 | (abssi2_nopower): Disallow when TARGET_ISEL. | |
5040 | (*ne0): Same. | |
5041 | (negsf2): Change to expand and rename old pattern to *negsf2. | |
5042 | (abssf2): Change to expand and rename old pattern to *abssf2. | |
99086d59 | 5043 | |
518878e1 AH |
5044 | New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2, |
5045 | fixunssfsi2. | |
5046 | ||
5047 | Change patterns that check for TARGET_HARD_FLOAT or | |
5048 | TARGET_SOFT_FLOAT to also check TARGET_FPRS. | |
5049 | ||
5050 | * config/rs6000/rs6000.c: New globals: rs6000_spe_abi, | |
5051 | rs6000_isel, rs6000_fprs, rs6000_isel_string. | |
5052 | (rs6000_override_options): Add 8540 case to | |
5053 | processor_target_table. | |
5054 | Set rs6000_isel for the 8540. | |
5055 | Call rs6000_parse_isel_option. | |
5056 | (enable_mask_for_builtins): New. | |
5057 | (rs6000_parse_isel_option): New. | |
5058 | (rs6000_parse_abi_options): Add spe and no-spe. | |
5059 | (easy_fp_constant): Treat !TARGET_FPRS as soft-float. | |
5060 | (rs6000_legitimize_address): Check for TARGET_FPRS when checking | |
5061 | for TARGET_HARD_FLOAT. | |
5062 | Add case for SPE_VECTOR_MODE. | |
5063 | (rs6000_legitimize_reload_address): Handle SPE vector modes. | |
5064 | (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE | |
5065 | vector modes. | |
5066 | Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT. | |
5067 | (rs6000_emit_move): Check for TARGET_FPRS. | |
5068 | Add cases for SPE vector modes. | |
5069 | (function_arg_boundary): Return 64 for SPE vector modes. | |
5070 | (function_arg_advance): Check for TARGET_FPRS and | |
5071 | Handle SPE vectors. | |
5072 | (function_arg): Same. | |
5073 | (setup_incoming_varargs): Check for TARGET_FPRS. | |
5074 | (rs6000_va_arg): Same. | |
5075 | (struct builtin_description): Un-constify mask field. Move up in | |
5076 | file. | |
5077 | (bdesc_2arg): Un-constify and add SPE builtins. | |
5078 | (bdesc_1arg): Same. | |
5079 | (bdesc_spe_predicates): New. | |
5080 | (bdesc_spe_evsel): New. | |
5081 | (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins. | |
5082 | (rs6000_expand_binop_builtin): Same. | |
5083 | (bdesc_2arg_spe): New. | |
5084 | (spe_expand_builtin): New. | |
5085 | (spe_expand_predicate_builtin): New. | |
5086 | (spe_expand_evsel_builtin): New. | |
5087 | (rs6000_expand_builtin): Call spe_expand_builtin for SPE. | |
5088 | (rs6000_init_builtins): Initialize SPE builtins. Call | |
5089 | rs6000_common_init_builtins. | |
5090 | (altivec_init_builtins): Move all non-altivec builtin code to... | |
5091 | (rs6000_common_init_builtins): ...here. New function. | |
5092 | (branch_positive_comparison_operator): Allow NE code for SPE. | |
5093 | (ccr_bit): Return correct ccr bit for SPE fp. | |
5094 | (print_operand): Emit crnor in 'D' case for SPE. | |
5095 | New case 't'. | |
5096 | Add SPE code for 'y' case. | |
5097 | (rs6000_generate_compare): Generate rtl for SPE fp. | |
5098 | (output_cbranch): Handle SPE hard floats. | |
5099 | (rs6000_emit_cmove): Handle isel. | |
5100 | (rs6000_emit_int_cmove): New. | |
5101 | (output_isel): New. | |
5102 | (rs6000_stack_info): Adjust stack frame so GPRs are saved in | |
5103 | 64-bits for SPE. | |
5104 | (debug_stack_info): Add SPE info. | |
5105 | (gen_frame_mem_offset): New. | |
5106 | (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi. | |
5107 | Change mode of frame pointer, when saving it, to Pmode. | |
5108 | (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi. | |
5109 | Misc cleanups and use gen_frame_mem_offset when appropriate. | |
5110 | ||
5111 | * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540. | |
5112 | (TARGET_SPE_ABI): New. | |
5113 | (TARGET_SPE): New. | |
5114 | (TARGET_ISEL): New. | |
5115 | (TARGET_FPRS): New. | |
5116 | (FIXED_SCRATCH): New. | |
5117 | (RTX_COSTS): Add PROCESSOR_PPC8540. | |
5118 | (ASM_CPU_SPEC): Add case for 8540. | |
5119 | (TARGET_OPTIONS): Add isel= case. | |
5120 | (rs6000_spe_abi): New. | |
5121 | (rs6000_isel): New. | |
5122 | (rs6000_fprs): New. | |
5123 | (rs6000_isel_string): New. | |
5124 | (UNITS_PER_SPE_WORD): New. | |
5125 | (LOCAL_ALIGNMENT): Adjust for SPE. | |
5126 | (HARD_REGNO_MODE_OK): Same. | |
5127 | (DATA_ALIGNMENT): Same. | |
5128 | (MEMBER_TYPE_FORCES_BLK): New. | |
5129 | (FIRST_PSEUDO_REGISTER): Set to 113. | |
5130 | (FIXED_REGISTERS): Add SPE registers. | |
5131 | (reg_class): Same. | |
5132 | (REG_CLASS_NAMES): Same. | |
5133 | (REG_CLASS_CONTENTS): Same. | |
5134 | (REGNO_REG_CLASS): Same. | |
5135 | (REGISTER_NAMES): Same. | |
5136 | (DEBUG_REGISTER_NAMES): Same. | |
5137 | (ADDITIONAL_REGISTER_NAMES): Same. | |
5138 | (CALL_USED_REGISTERS): Same. | |
5139 | (CALL_REALLY_USED_REGISTERS): Same. | |
5140 | (SPE_ACC_REGNO): New. | |
5141 | (SPEFSCR_REGNO): New. | |
5142 | (SPE_SIMD_REGNO_P): New. | |
5143 | (HARD_REGNO_NREGS): Adjust for SPE. | |
5144 | (VECTOR_MODE_SUPPORTED_P): Same. | |
5145 | (REGNO_REG_CLASS): Same. | |
5146 | (FUNCTION_VALUE): Same. | |
5147 | (LIBCALL_VALUE): Same. | |
5148 | (LEGITIMATE_OFFSET_ADDRESS_P): Same. | |
5149 | (SPE_VECTOR_MODE): New. | |
5150 | (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on | |
5151 | the GPRs. Set FIXED_SCRATCH fixed in SPE case. | |
5152 | (rs6000_stack): Add spe_gp_size, spe_padding_size, | |
5153 | spe_gp_save_offset. | |
5154 | (USE_FP_FOR_ARG_P): Check for TARGET_FPRS. | |
5155 | (LEGITIMATE_LO_SUM_ADDRESS_P): Same. | |
5156 | (SPE_CONST_OFFSET_OK): New. | |
5157 | (rs6000_builtins): Add SPE builtins. | |
5158 | ||
5159 | * testsuite/gcc.dg/ppc-spe.c: New. | |
99086d59 | 5160 | |
518878e1 AH |
5161 | * config/rs6000/eabispe.h: New. |
5162 | ||
5163 | * config/rs6000/spe.h: New. | |
5164 | ||
5165 | * config/rs600/spe.md: New. | |
5166 | ||
5167 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
5168 | __SIMD__ for TARGET_SPE. | |
5169 | ||
5170 | * config.gcc: Add powerpc-*-eabispe* case. | |
5171 | Add spe.h to user headers for powerpc. | |
5172 | ||
8d1b7ba1 CD |
5173 | 2002-07-24 Chris Demetriou <cgd@broadcom.com> |
5174 | ||
5175 | * config/mips/elf.h (STARTFILE_SPEC): Undo previous change. | |
5176 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
5177 | * config/mips/isa3264.h (STARTFILE_SPEC): Likewise. | |
5178 | ||
8ad8135a RH |
5179 | 2002-07-24 Richard Henderson <rth@redhat.com> |
5180 | ||
5181 | * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR | |
5182 | form when not optimizing. | |
5183 | ||
dc44a4d8 DM |
5184 | 2002-07-24 David Mosberger <davidm@hpl.hp.com> |
5185 | ||
5186 | * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking | |
5187 | thread_pointer_rtx as unchanging. | |
5188 | ||
c5605318 MM |
5189 | 2002-07-24 Michael Matz <matz@suse.de> |
5190 | ||
5191 | * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro. | |
5192 | (free_reg): Use it. | |
5193 | ||
3ade30ea RE |
5194 | 2002-07-24 Richard Earnshaw <rearnsha@arm.com> |
5195 | ||
5196 | * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output | |
5197 | pattern. | |
5198 | (arm_buneq_reversed, arm_bltgt_reversed): Likewise. | |
5199 | (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT. | |
5200 | ||
8a3ad737 CD |
5201 | 2002-07-24 Chris Demetriou <cgd@broadcom.com> |
5202 | ||
5203 | * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o. | |
5204 | * config/mips/elf64.h (STARTFILE_SPEC): Likewise. | |
5205 | * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine. | |
5206 | ||
7e51e626 JH |
5207 | Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
5208 | ||
5209 | * toplev.c (rest_of_compilation): Dump loops before clobbering | |
5210 | the structure. | |
5211 | ||
5df533b3 JH |
5212 | Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz> |
5213 | ||
5214 | * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs. | |
5215 | ||
79258dce RS |
5216 | 2002-07-24 Frank van der Linden <fvdl@wasabisystems.com> |
5217 | ||
5218 | PR optimization/7291 | |
5219 | * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment | |
5220 | problem on x86_64. | |
5221 | ||
26ff2117 GDR |
5222 | 2002-07-24 Gabriel Dos Reis <gdr@nerim.net> |
5223 | ||
5224 | * pretty-print.h: Add macros from cp/error.c | |
5225 | ||
0ba1b2ff AM |
5226 | 2002-07-24 Alan Modra <amodra@bigpond.net.au> |
5227 | ||
5228 | * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare. | |
5229 | (mask64_2_operand): Declare. | |
5230 | (build_mask64_2_operands): Declare. | |
5231 | (and64_2_operand): Declare. | |
5232 | (extract_MB): Declare. | |
5233 | (extract_ME): Declare. | |
5234 | * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove | |
5235 | CONST_DOUBLE code. | |
5236 | (mask_operand_wrap): New insn predicate. | |
5237 | (mask64_2_operand): Likewise. | |
5238 | (and64_2_operand): Likewise. | |
5239 | (build_mask64_2_operands): New function. | |
5240 | (extract_MB): New function. | |
5241 | (extract_ME): New function. | |
5242 | (print_operand <case m,M>): Use extract_MB and extract_ME. | |
5243 | (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support. | |
5244 | * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'. | |
5245 | (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and | |
5246 | mask64_2_operand. Remove CONST_DOUBLE from mask64_operand. | |
5247 | * config/rs6000/rs6000.md (andsi3_internal3): New | |
5248 | (andsi3_internal3+1): Enable split for powerpc64. | |
5249 | (andsi3_internal3+2): New split. | |
5250 | (andsi3_internal4): Renamed old andsi3_internal3. | |
5251 | (andsi3_internal5): New. | |
5252 | (andsi3_internal5+1): Enable split for powerpc64. | |
5253 | (andsi3_internal5+2): New split. | |
5254 | (andsi3_internal6, andsi3_internal7, andsi3_internal8): New. | |
5255 | (anddi3): Handle 't' constraint. | |
5256 | (anddi3+1): New split. | |
5257 | (anddi3_internal2): Handle 't' constraint. | |
5258 | (anddi3_internal2+1): New split. | |
5259 | (anddi3_internal3): Handle 't' constraint. | |
5260 | (anddi3_internal3+1): New split. | |
5261 | ||
097657c3 AM |
5262 | 2002-07-24 Alan Modra <amodra@bigpond.net.au> |
5263 | ||
5264 | * config/rs6000/rs6000.md: Remove scratch reg on insns using | |
5265 | addze and similar (plus (comparison r1 r2) r3) insns. Add | |
5266 | missing scratch reg in one case. Formatting fixes. | |
5267 | ||
a69cbaac NB |
5268 | 2002-07-24 Neil Booth <neil@daikokuya.co.uk> |
5269 | ||
5270 | * cppexp.c (parse_defined): Mark macro used. | |
5271 | * cpphash.h (struct cpp_macro): New member "used". | |
5272 | (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New. | |
5273 | (struct cpp_reader): New member. | |
5274 | * cppinit.c (cpp_finish_options): Set first_unused_line. | |
5275 | (cpp_finish): Warn of unused macros if requested. | |
5276 | (OPT_TABLE): New switches. | |
5277 | (cpp_handle_option): Handle them. | |
5278 | * cpplib.c (do_undef): Warn if macro unused. | |
5279 | (do_ifdef, do_ifndef): Mark macro used. | |
5280 | * cpplib.h (struct cpp_options): New member. | |
5281 | * cppmacro.c (_cpp_warn_if_unused_macro): New. | |
5282 | (enter_macro_context): Mark macro used. | |
5283 | (_cpp_create_definition): Mark macro unused; warn if unused | |
5284 | when redefined. | |
5285 | * cpptrad.c (scan_out_logcial_line, push_replacement_text): | |
5286 | Mark macros used. | |
5287 | * doc/cppopts.texi: Update. | |
5288 | ||
c0667597 NB |
5289 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5290 | ||
5291 | * dwarf2out.c (SECTION_ASM_OP, | |
5292 | ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. | |
5293 | * system.h (SECTION_ASM_OP): Poison. | |
5294 | * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove. | |
5295 | * config/alpha/alpha-interix.h, config/mips/linux.h | |
5296 | (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. | |
5297 | * config/mmix/mmix-protos.h, config/mmix/mmix.c | |
5298 | (mmix_asm_output_define_label_difference_symbol): Remove. | |
5299 | * config/mmix/mmix.h | |
5300 | (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. | |
b841421a | 5301 | * doc/tm.texi: Remove documentation. |
c0667597 | 5302 | |
bf7cd754 R |
5303 | Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5304 | ||
5305 | * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'. | |
5306 | (constrain_operands): Likewise. | |
5307 | * regclass.c (record_reg_classes): Likewise. | |
5308 | * reload.c (find_reloads): Likewise. | |
5309 | * doc/md.texi: Likewise. | |
451f86fd R |
5310 | |
5311 | * reload.c (find_reloads_toplev): Use simplify_gen_subreg. | |
5312 | * simplify-rtx.c (simplify_subreg): When converting to a non-int | |
5313 | mode, try to convert to an integer mode of matching size first. | |
1d5fa6b4 R |
5314 | |
5315 | * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR | |
5316 | from individual subregs, check that each subreg has been generated | |
5317 | sucessfully. | |
5318 | ||
10d6af32 NB |
5319 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5320 | ||
5321 | * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove. | |
5322 | * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV, | |
5323 | FOR_EACH_BB_IN_SBITMAP): Remove. | |
5324 | * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove. | |
5325 | * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY, | |
5326 | LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove. | |
5327 | * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN, | |
5328 | PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove. | |
5329 | * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove. | |
5330 | ||
6aaae39a GDR |
5331 | 2002-07-23 Gabriel Dos Reis <gdr@nerim.net> |
5332 | ||
5333 | * pretty-print.h: New file. | |
5334 | ||
45e574d0 JDA |
5335 | 2002-07-23 Paul Koning <pkoning@equallogic.com> |
5336 | ||
5337 | * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC. | |
5338 | (LARGEST_EXPONENT_IS_NORMAL): Ditto. | |
5339 | (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise). | |
5340 | (TARGET_G_FLOAT): Default to 0 if not defined. | |
99086d59 | 5341 | (ieeetoe): New, common routine to convert target format floats |
45e574d0 JDA |
5342 | to internal form. |
5343 | (e24toe, e53toe): Change to use ieeetoe, distinguish DEC | |
5344 | vs. others. | |
5345 | (e113toe): Change to use ieeetoe. | |
5346 | ||
5347 | 2002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de> | |
5348 | ||
5349 | * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for | |
5350 | IBM. | |
5351 | (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined. | |
5352 | (e64toe): Remove special cases for DEC and IBM. Remove support for | |
5353 | ARM_EXTENDED_IEEE_FORMAT. | |
5354 | (e24toe): Remove special cases for DEC. | |
5355 | (significand_size): Simplify. Indent. | |
5356 | (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New. | |
5357 | (etoieee, toieee): New. | |
5358 | (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use | |
5359 | etoieee and toieee for IEEE arithmetic. | |
5360 | ||
3764f879 GDR |
5361 | 2002-07-23 Gabriel Dos Reis <gdr@nerim.net> |
5362 | ||
5363 | * doc/extend.texi: Say ISO C90, not ISO C89. | |
5364 | * doc/invoke.texi: Likewise. | |
5365 | * doc/standards.texi: Likewise. | |
5366 | ||
aa0f70e6 SE |
5367 | 2002-07-23 Steve Ellcey <sje@cup.hp.com> |
5368 | ||
5369 | * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs. | |
5370 | Fix permutation of conversion and plus/mult. | |
5371 | * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is | |
5372 | ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined. | |
5373 | (expand_builtin_strncpy) Ditto. | |
5374 | (expand_builtin_memset) Ditto. | |
5375 | ||
fa72b064 GDR |
5376 | 2002-07-23 Gabriel Dos Reis <gdr@nerim.net> |
5377 | ||
5378 | Fix PR/7363: | |
5379 | * c-common.c (c_sizeof_or_alignof_type): New function. | |
5380 | (c_alignof): Remove definition. | |
5381 | * c-common.h (c_sizeof, c_alignof): Define as macros. | |
5382 | (c_sizeof_or_alignof_type): Declare. | |
5383 | (my_friendly_assert): Moved from cp/cp-tree.h | |
5384 | * c-typeck.c (c_sizeof): Remove definition. | |
5385 | ||
2b773ee2 JH |
5386 | 2002-07-23 Jan Hubicka <jh@suse.cz> |
5387 | ||
5388 | * gcse.c (try_replace_reg): Use num_changes_pending. | |
5389 | * recog.c (num_changes_pending): New function. | |
5390 | (validate_replace_src): Use validate_repalce_src_group. | |
5391 | (validate_replace_src_group): New. | |
5392 | * recog.h (validate_repalce_src_group): New. | |
5393 | (num_changes_pending): Likewise. | |
5394 | ||
a0dc500c R |
5395 | Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5396 | ||
5397 | * calls.c (emit_library_call_value_1): If | |
5398 | FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither | |
5399 | libcall, const call nor pure call. | |
5400 | ||
d22eda7b NB |
5401 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5402 | ||
5403 | * config/m88k/m88k.h (SECTION_ASM_OP): Remove. | |
5404 | ||
b5e66e65 NB |
5405 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5406 | ||
5407 | * vmsdbgout.c (SECTION_ASM_OP): Remove. | |
5408 | ||
c3a600c0 NB |
5409 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5410 | ||
5411 | * config/i386/i386.c (AT_BP): Remove. | |
5412 | ||
4fa31c2a NB |
5413 | 2002-07-23 Neil Booth <neil@daikokuya.co.uk> |
5414 | ||
5415 | * defaults.h (obstack_chunk_alloc, obstack_chunk_free): | |
5416 | Default definition. | |
5417 | * gcse.c: Don't define obstack_chunk_free. | |
5418 | * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c, | |
5419 | flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c, | |
5420 | integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c, | |
5421 | reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c: | |
5422 | Don't define obstack macros. | |
5423 | ||
fd576c86 SC |
5424 | 2002-07-22 Stephane Carrez <stcarrez@nerim.fr> |
5425 | ||
5426 | PR target/6744 | |
5427 | * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace | |
5428 | ASM_OPERANDS instructions. | |
5429 | ||
b791ff31 SC |
5430 | 2002-07-22 Stephane Carrez <stcarrez@nerim.fr> |
5431 | ||
5432 | PR target/7361 | |
5433 | * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept | |
5434 | constant addresses only on 68HC12. | |
5435 | ||
4a941115 NB |
5436 | 2002-07-22 Neil Booth <neil@daikokuya.co.uk> |
5437 | ||
5438 | * cppfiles.c (stack_include_file): Correct test of whether | |
5439 | a dependency should be output. | |
5440 | ||
7488cc6d DE |
5441 | 2002-07-22 David Edelsohn <edelsohn@gnu.org> |
5442 | ||
5443 | * collect2.c (is_ctor_dtor): Add other possible JOINER values. | |
5444 | ||
b41caf7c RE |
5445 | 2002-07-22 Richard Earnshaw <rearnsha@arm.com> |
5446 | ||
5447 | * arm.md (movqi): If optimizing and we can create pseudos, use | |
5448 | a ZERO_EXTEND to load from memory, then copy the result into the | |
5449 | target. | |
5450 | (movhi): Likewise, but only for ARMv4. | |
5451 | ||
492e9934 NB |
5452 | 2002-07-22 Neil Booth <neil@daikokuya.co.uk> |
5453 | ||
5454 | * ssa-ccp.c (PHI_PARMS): Remove. | |
5455 | ||
f01f01a6 RS |
5456 | 2002-07-22 Richard Sandiford <rsandifo@redhat.com> |
5457 | ||
5458 | * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS | |
5459 | on big-endian targets. | |
5460 | ||
c2ae8aef KG |
5461 | 2002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5462 | ||
5463 | * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, | |
5464 | HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, | |
5465 | HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE): | |
5466 | New formatting macros. | |
5467 | ||
5468 | * ra-debug.c (dump_static_insn_cost): Avoid string concatenation. | |
5469 | ||
eab2120d R |
5470 | Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5471 | ||
5472 | * rtlanal.c (subreg_regno_offset): Return correct offset for | |
5473 | big endian paradoxical subregs. | |
0d541696 R |
5474 | |
5475 | * optabs.c (expand_vector_unop): Don't expand using sub_optab | |
5476 | if we got the wrong mode. | |
bb9b3805 R |
5477 | |
5478 | * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define. | |
5479 | * genrecog.c (write_switch, write_cond): Use it. | |
5480 | * genemit.c (gen_exp): Likewise. | |
5481 | ||
e96eb215 JJ |
5482 | 2002-07-22 Jakub Jelinek <jakub@redhat.com> |
5483 | ||
5484 | * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE. | |
5485 | ||
cf3c4f56 JJ |
5486 | 2002-07-22 Jakub Jelinek <jakub@redhat.com> |
5487 | ||
5488 | * c-decl.c (build_compound_literal): Defer compound literal decls | |
5489 | until until file end to emit them only if they are actually used. | |
5490 | ||
533c4863 KG |
5491 | 2002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5492 | ||
5493 | * ra-build.c (check_conflict_numbers): Hide unused function. | |
5494 | (livethrough_conflicts_bb): Avoid automatic aggregate | |
5495 | initialization. | |
5496 | (parts_to_webs_1): Avoid `U' integer constant modifier. | |
5497 | (conflicts_between_webs): Wrap a variable in the macro controlling | |
5498 | its usage. | |
5499 | * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE. | |
5500 | (dump_igraph, dump_graph_cost): Avoid string concatenation | |
5501 | (dump_static_insn_cost): Avoid automatic aggregate | |
5502 | initialization. | |
5503 | * ra-rewrite.c (insert_stores): Avoid automatic aggregate | |
5504 | initialization. | |
5505 | (dump_cost): Avoid string concatenation | |
5506 | ||
8943a0b4 RH |
5507 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5508 | ||
5509 | * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use | |
5510 | GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded. | |
5511 | ||
b1aef35b RH |
5512 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5513 | ||
5514 | * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs | |
5515 | that are not unrolled completely. | |
5516 | ||
5e1afb11 RH |
5517 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5518 | ||
5519 | * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS. | |
5520 | * loop.c (strength_reduce): Update. | |
5521 | * toplev.c (rest_of_compilation): Do unrolling in the first | |
5522 | loop pass, not the second. | |
5523 | ||
c67a1cf6 RH |
5524 | 2002-07-21 Richard Henderson <rth@redhat.com> |
5525 | ||
5526 | * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL | |
5527 | when flag_argument_noalias == 2. | |
5528 | * alias.c (nonoverlapping_memrefs_p): Handle that. | |
5529 | * print-rtl.c (print_mem_expr): Likewise. | |
5530 | ||
b68daef4 HS |
5531 | 2002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de> |
5532 | ||
5533 | * libgcc2.c (__divdi3, __moddi3): Use unary minus operator | |
5534 | instead of __negdi2 directly. | |
5535 | ||
060a58c5 NB |
5536 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5537 | ||
5538 | * gengenrtl.c (gencode): Don't define obstack_alloc_rtx. | |
5539 | * function.c (SYMBOL__MAIN): Remove definition. | |
5540 | * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove. | |
99086d59 | 5541 | * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove. |
060a58c5 NB |
5542 | * profile.c (GCOV_INDEX_TO_BB): Remove. |
5543 | * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove. | |
5544 | * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove. | |
5545 | ||
2f8dd115 NB |
5546 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5547 | ||
5548 | * c-lex.c (GET_ENVIRONMENT): Remove. | |
5549 | * collect2.c (GET_ENV_PATH_LIST): Remove. | |
5550 | (prefix_from_env): Use GET_ENVIRONMENT. | |
5551 | * cppinit.c (GET_ENV_PATH_LIST): Remove. | |
5552 | (init_standard_includes): Use GET_ENVIRONMENT. | |
5553 | * defaults.h (GET_ENVIRONMENT): Define here if not already. | |
5554 | * gcc.c (GET_ENV_PATH_LIST): Remove. | |
5555 | (make_relative_prefix, process_command): Update. | |
5556 | * protoize.c (GET_ENV_PATH_LIST): Remove. | |
5557 | (do_processing): Update. | |
5558 | ||
56508306 GDR |
5559 | 2002-07-21 Gabriel Dos Reis <gdr@nerim.net> |
5560 | ||
5561 | * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'. | |
5562 | (grokdeclarator): Likewise. | |
5563 | * c-format.c (C_STD_NAME): Likewise. | |
5564 | * c-lex.c (interpret_integer): Likewise. | |
5565 | * c-typeck.c (build_array_ref): Likewise. | |
5566 | * cpplex.c (_cpp_lex_direct): Likewise. | |
5567 | * toplev.c (documented_lang_options): Likewise. | |
5568 | ||
e2f62855 NB |
5569 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5570 | ||
5571 | * c-format.c (T99_I, T99_UI): Remove. | |
5572 | ||
c89d1dfd NB |
5573 | 2002-07-21 Neil Booth <neil@daikokuya.co.uk> |
5574 | ||
5575 | * c-typeck.c (SAVE_SPELLING_DEPTH): Remove. | |
5576 | ||
46690369 JH |
5577 | Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
5578 | ||
5579 | * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by | |
5580 | do_local_cprop. | |
5581 | ||
60ffc1b8 AJ |
5582 | 2002-07-21 Andreas Jaeger <aj@suse.de> |
5583 | ||
99086d59 | 5584 | * reload1.c (fixup_abnormal_edges): Remove unused variable. |
60ffc1b8 | 5585 | |
c05ffc49 BS |
5586 | 2002-07-21 Bernd Schmidt <bernds@redhat.com> |
5587 | ||
5588 | Improvements for the ifcvt pass from Michael Meissner, with patches | |
5589 | by Richard Sandiford <rsandifo@redhat.com> | |
5590 | * basic-block.h (struct ce_if_block, ce_if_block_t): New types. | |
5591 | * ifcvt.c (cond_exec_changed_p): New static variable. | |
5592 | (last_active_insn): New function, renamed from last_active_insn_p | |
5593 | and changed to return the last active insn in a basic block. All | |
5594 | callers updated. | |
5595 | (block_fallthru): New function. | |
5596 | (cond_exec_process_insns): New argument CE_INFO. Pass it to | |
5597 | IFCVT_MODIFY_INSN. All callers updated. | |
5598 | Return false if START or END are NULL. | |
5599 | Handle case where we're processing an insn that is already | |
5600 | conditional. | |
5601 | ||
5602 | (noce_process_if_block): CE_INFO argument rather than | |
5603 | multiple args containing the involved basic blocks. All callers | |
5604 | changed. | |
5605 | (process_if_block, merge_if_block, find_if_block, | |
5606 | cond_exec_process_if_block): Likewise. | |
5607 | ||
5608 | (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers | |
5609 | changed. | |
5610 | Use new function last_active_insn to simplify some code. | |
5611 | New code to handle multiple tests. | |
5612 | Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set | |
5613 | cond_exec_changed_p to TRUE. | |
5614 | ||
5615 | (process_if_block): New code to handle multiple tests. | |
5616 | (merge_if_block): Likewise. | |
5617 | (find_if_header): New arg PASS. Changed to return the currently | |
5618 | processed basic block or NULL instead of true/false. All callers | |
5619 | changed. | |
5620 | Call IFCVT_INIT_EXTRA_FIELDS. | |
5621 | (block_jumps_and_fallthru_p): New function. | |
5622 | (find_if_block): Discover opportunities to convert multiple tests. | |
5623 | Add additional debugging output. | |
5624 | Update the ce_info structure before returning. | |
5625 | ||
5626 | (if_convert): Run multiple passes of if-conversion. | |
5627 | * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN, | |
5628 | IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS, | |
5629 | IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for | |
5630 | these macros. | |
5631 | ||
ae860ff7 JH |
5632 | Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
5633 | ||
5634 | * gcse.c: Include cselib.h | |
5635 | (constptop_register): Break out from ... | |
5636 | (cprop_insn): ... here; kill basic_block argument. | |
5637 | (do_local_cprop, local_cprop_pass): New functions. | |
5638 | (one_cprop_pass): Call local_cprop_pass. | |
5639 | ||
0da65b89 RS |
5640 | 2002-07-20 Roger Sayle <roger@eyesopen.com> |
5641 | ||
5642 | * simplify-rtx.c (simplify_relational_operation): Optimize | |
5643 | abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math). | |
5644 | ||
47cc673a MM |
5645 | 2002-07-20 Michae Matz <matz@suse.de> |
5646 | ||
5647 | * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS. | |
5648 | ||
68e65275 NB |
5649 | 2002-07-20 Neil Booth <neil@daikokuya.co.uk> |
5650 | ||
5651 | * cppexp.c (struct op): Add token pointer. | |
5652 | (check_promotion, CHECK_PROMOTION): New. | |
5653 | (optab): Update. | |
5654 | (_cpp_parse_expr): Update, use token pointer of struct op. | |
5655 | (reduce): Warn about change of sign owing to promotion. | |
5656 | * cppinit.c (cpp_handle_option): New warning if -Wall. | |
5657 | * cpplib.h (struct cpp_options): New member. | |
5658 | ||
e3485bbc DE |
5659 | 2002-07-19 David Edelsohn <edelsohn@gnu.org> |
5660 | ||
5661 | * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single | |
5662 | fpu list. Separate Power4 compare and delayed_compare. Correct | |
5663 | Power4 fpcompare. | |
5664 | (fix_truncdfsi2_internal): Restore FPR preference. | |
5665 | * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3, | |
5666 | mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc. | |
5667 | ||
449655a6 MV |
5668 | 2002-07-19 Momchil Velikov <velco@fadata.bg> |
5669 | ||
5670 | * reload1.c (reload_as_needed): Duplicate oldpat. | |
5671 | ||
8b583747 AM |
5672 | 2002-07-20 Alan Modra <amodra@bigpond.net.au> |
5673 | ||
5674 | PR optimization/7130 | |
5675 | * loop.h (struct loop_info): Add "preconditioned". | |
5676 | * unroll.c (unroll_loop): Set it. | |
5677 | * doloop.c (doloop_modify_runtime): Correct count for unrolled loops. | |
5678 | ||
0dc36574 ZW |
5679 | 2002-07-19 Zack Weinberg <zack@codesourcery.com> |
5680 | ||
5681 | * rtl.def (CODE_LABEL): Remove slot 8. | |
5682 | * rtl.h (struct rtx_def): Document new uses of jump and call fields. | |
5683 | (LABEL_ALTERNATE_NAME): Delete. | |
5684 | (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New. | |
5685 | * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME. | |
5686 | ||
5687 | * final.c (output_alternate_entry_point): New. | |
5688 | (final_scan_insn): Use it instead of | |
5689 | ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility | |
5690 | of a case label being an alternate entry point. | |
5691 | ||
5692 | * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P. | |
5693 | * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL. | |
5694 | Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME | |
5695 | (field deleted). | |
5696 | * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs. | |
5697 | ||
5698 | * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and | |
5699 | LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME. | |
5700 | * doc/tm.texi: Delete documentation of | |
5701 | ASM_OUTPUT_ALTERNATE_LABEL_NAME. | |
5702 | ||
59267987 RO |
5703 | 2002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5704 | ||
5705 | * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define. | |
5706 | (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG. | |
5707 | (LINK_SPEC): Define. | |
5708 | (STARTFILE_SPEC): Define. | |
5709 | (ENDFILE_SPEC): Define. | |
5710 | ||
5711 | * config/mips/iris6-o32.h (LINK_SPEC): Move ... | |
5712 | * config/mips/iris6-o32-as.h (LINK_SPEC): ... here. | |
5713 | ||
5714 | * config/mips/iris6-o32-gas.h: New file. | |
5715 | * config.gcc (mips-sgi-irix6*o32): Use it. | |
5716 | ||
5717 | * config/mips/t-iris5-gas: New file. | |
5718 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. | |
5719 | ||
75aef48a NB |
5720 | 2002-07-19 Neil Booth <neil@daikokuya.co.uk> |
5721 | ||
5722 | * cppexp.c (ALWAYS_EVAL): Remove. | |
5723 | (optab, reduce): Always evaluate. | |
5724 | (num_unary_op, num_binary_op, num_div_op): Issue diagnostics | |
5725 | only if not skipping evaluation. | |
5726 | ||
72a5503d MM |
5727 | 2002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl> |
5728 | ||
5729 | * config/avr/avr.c (debug_hard_reg_set): Remove. | |
5730 | ||
059ba716 CD |
5731 | 2002-07-19 Chris Demetriou <cgd@broadcom.com> |
5732 | ||
5733 | * gcc.c (cpp_options): Include "%1" (cc1_spec). | |
5734 | ||
544823b6 RH |
5735 | 2002-07-19 Richard Henderson <rth@redhat.com> |
5736 | ||
5737 | * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn. | |
5738 | ||
c35383cb AM |
5739 | 2002-07-19 Alan Modra <amodra@bigpond.net.au> |
5740 | ||
5741 | * prefix.c (update_path): Don't zap single `.' path components | |
5742 | unless followed by another `.' and fix typo last patch. | |
5743 | ||
ad28cff7 NB |
5744 | 2002-07-18 Neil Booth <neil@daikokuya.co.uk> |
5745 | ||
5746 | * cppexp.c (cpp_num_mul): Remove unused parameter. | |
5747 | (UNARY, BINARY, OTHER, binary_handler): Remove. | |
5748 | (ALWAYS_EVAL): New. | |
5749 | (optab): Update. | |
5750 | (reduce): Refactor to a large switch, don't use a function | |
5751 | pointer. | |
5752 | ||
139b7f86 BT |
5753 | 2002-07-18 Bo Thorsen <bo@berlioz.suse.de> |
5754 | ||
5755 | * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always. | |
5756 | ||
e69d1422 R |
5757 | Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5758 | ||
5759 | * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard. | |
5760 | (sh_expand_binop_v2sf): Likewise. | |
5761 | * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA. | |
5762 | (int_gpr_dest, trunc_hi_operand): New functions. | |
5763 | * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and | |
5764 | trunc_hi_operand. | |
5765 | (SPECIAL_MODE_PREDICATES, any_register_operand): Define. | |
5766 | * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about. | |
5767 | (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise. | |
5768 | (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise. | |
5769 | (and_shl_scratch+[12], zero_extendhidi2+1): Likewise. | |
5770 | (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise. | |
5771 | (extendhisi2_media+1, extendqisi2_media+1): Likewise. | |
5772 | (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise. | |
5773 | (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise. | |
5774 | (movsf_ie+1): Likewise. | |
5775 | (loaddi_trunc): Use int_gpr_dest predicate. | |
5776 | (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s). | |
5777 | (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise. | |
5778 | (casesi_worker_0+[12], casesi_worker): Likewise. | |
5779 | (shcompact_preserve_incoming_args): Likewise. | |
5780 | (mov_nop): Use any_register_operand predicate. | |
5781 | (mperm_w0): Use trunc_hi_operand predicate. | |
5782 | ||
47a4976f JDA |
5783 | 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5784 | ||
5785 | * pa-linux.h (DWARF2_UNWIND_INFO): Delete define. | |
5786 | * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct | |
5787 | numbering. | |
5788 | ||
f3a4e54e JDA |
5789 | 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5790 | ||
5791 | * pa.c (output_deferred_plabels): Remove unused millicode enum mulU. | |
5792 | ||
30484ccf RH |
5793 | 2002-07-18 Richard Henderson <rth@redhat.com> |
5794 | ||
5795 | PR optimization/7147 | |
5796 | * ifcvt.c (noce_get_condition): Make certain that the condition | |
5797 | is valid at JUMP. | |
5798 | ||
d042370e R |
5799 | Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5800 | ||
5801 | * sh.c (barrier_align, push): Shut up compiler warnings. | |
5802 | (initial_elimination_offset,sh_media_init_builtins): Likewise. | |
5803 | (reg_no_subreg_operand): Delete. | |
5804 | ||
61fee9b3 BT |
5805 | 2002-07-17 Bo Thorsen <bo@suse.de> |
5806 | ||
5807 | * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option. | |
5808 | (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations. | |
5809 | (STARTFILE_SPEC): Remove hardcoded library paths. | |
5810 | (ENDFILE_SPEC): Likewise. | |
5811 | ||
f305679f JH |
5812 | Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz> |
5813 | ||
5814 | * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached. | |
5815 | ||
5816 | * gcse.c (try_replace_reg): Do not return false positives. | |
5817 | ||
99bcb625 AM |
5818 | 2002-07-18 Alan Modra <amodra@bigpond.net.au> |
5819 | ||
f6f23ad2 AM |
5820 | * prefix.c: (update_path): Strip ".." components when prior dir |
5821 | doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE. | |
5822 | ||
99bcb625 AM |
5823 | * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support. |
5824 | (ASM_OUTPUT_REG_POP): Likewise. | |
5825 | ||
09eeeacb AM |
5826 | 2002-07-18 Alan Modra <amodra@bigpond.net.au> |
5827 | ||
5828 | * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus | |
5829 | adjustments to first_reg for profiling case. | |
5830 | (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC. | |
5831 | Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC. | |
5832 | Save static chain reg to sp + 12 on ABI_AIX_NODESC. | |
5833 | * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define. | |
5834 | (ASM_OUTPUT_REG_POP): Define. | |
5835 | * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef. | |
5836 | (ASM_OUTPUT_REG_POP): Undef. | |
5837 | ||
74d06cf2 NB |
5838 | 2002-07-17 Neil Booth <neil@daikokuya.co.uk> |
5839 | ||
5840 | * cpplib.c (do_sccs): Handle #sccs on all systems. | |
5841 | * system.h (SCCS_DIRECTIVE): Poison. | |
5842 | * config/darwin.h, config/freebsd.h, config/netbsd.h, | |
5843 | config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h, | |
5844 | config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h, | |
5845 | config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h, | |
5846 | config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h, | |
5847 | config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h, | |
5848 | config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h, | |
5849 | config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h: | |
5850 | Remove all references to SCCS_DIRECTIVE. | |
5851 | * doc/cpp.texi, doc/tm.texi: Update. | |
5852 | ||
61dde664 R |
5853 | Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5854 | ||
5855 | * regrename.c (maybe_mode_change): New function. | |
5856 | (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it. | |
5857 | ||
97f51ac4 RB |
5858 | 2002-07-17 Rodney Brown <rbrown64@csc.com.au> |
5859 | ||
5860 | * config/i386/i386.c (ix86_expand_int_movcc): In the general case | |
5861 | suppress addition when either ct or cf are zero. | |
5862 | ||
f1a73cfe | 5863 | 2002-06-17 Eric Botcazou <ebotcazou@multimania.com> |
30484ccf | 5864 | Glen Nakamura <glen@imodulo.com> |
f1a73cfe EB |
5865 | |
5866 | PR optimization/6713 | |
5867 | * loop.c (loop_givs_rescan): Explicitly delete the insn that | |
5868 | sets a non-replaceable giv after issuing the new one. | |
5869 | ||
23ff0223 NB |
5870 | 2002-07-17 Neil Booth <neil@daikokuya.co.uk> |
5871 | ||
5872 | * cppexp.c (cpp_interpret_integer, append_digit, parse_defined, | |
5873 | eval_token): Clarify and correct use of "bool" variables. | |
5874 | * cpplib.h (struct cpp_options): Similarly. | |
5875 | * cppmacro.c (parse_params, _cpp_save_parameter): Ditto. | |
5876 | * cpptrad.c (recursive_macro): Similarly. | |
5877 | ||
ac09192a R |
5878 | Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5879 | ||
d28586ab | 5880 | * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in |
ac09192a | 5881 | SHmedia code. |
68cef009 R |
5882 | |
5883 | * sh.md (cmpgtudi_media): Remove spurious @. | |
701e3726 R |
5884 | |
5885 | * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian. | |
5886 | * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian. | |
ca903bba R |
5887 | |
5888 | * config/sh/lib1funcs.asm (init_trampoline): New entry point. | |
5889 | * sh-protos.h (sh_initialize_trampoline): Declare. | |
5890 | * sh.c (sh_initialize_trampoline): New function. | |
5891 | * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32. | |
5892 | (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA. | |
5893 | (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline. | |
5894 | (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact. | |
5895 | * sh.md (initialize_trampoline, double_shori): New patterns. | |
5896 | (initialize_trampoline_compact): Likewise. | |
5897 | (shmedia32_initialize_trampoline_big): Remove. | |
5898 | (shmedia32_initialize_trampoline_little): Likewise. | |
0ac78517 R |
5899 | |
5900 | * sh-protos.h (binary_float_operator): Remove declaration. | |
5901 | (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare. | |
5902 | * sh.c (print_operand, case 'N'): Check against CONST0_RTX. | |
5903 | (unary_float_operator, sh_expand_unop_v2sf): New functions. | |
5904 | (sh_expand_binop_v2sf): Likewise. | |
5905 | (zero_vec_operand): Delete. | |
5906 | (SH_BLTIN_UDI): New builtin shared signature define. Renumbered | |
5907 | all non-shared ones. | |
5908 | (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI. | |
5909 | Enable nsb and byterev. | |
5910 | * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS. | |
5911 | (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode | |
5912 | in general regs. | |
5913 | (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS. | |
5914 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for | |
5915 | immediate operands. | |
5916 | (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands. | |
5917 | Add DF_HI_REGS. | |
5918 | (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow | |
5919 | lowpart fp regs - only for big endian for now. | |
5920 | (LEGITIMATE_CONSTANT_P): Don't allow non-zero float vectors | |
5921 | when FPU is in use. | |
5922 | (EXTRA_CONTRAINT_U): Check against CONST0_RTX. | |
5923 | (LOAD_EXTEND_OP): NIL for SImode. | |
5924 | (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between | |
5925 | general and fp registers is 4. | |
5926 | PREDICATE_CODES: Amend binary_float_operator entry. | |
5927 | Remove zero_vec_operand. Add unary_float_operator. | |
5928 | * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical | |
5929 | subreg SET_DEST. | |
5930 | (truncdisi2, truncdihi2, movv2sf): Allow memory destinations. | |
5931 | (truncdiqi2): Do sign extension. | |
5932 | (movsi_media, movdi_media): Allow to use r63 to an fp register. | |
5933 | (movdf_media, movsf_media): Likewise. | |
5934 | (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS. | |
5935 | Collapse to one define_insn_and_split. Allow immediate sources. | |
5936 | (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns. | |
5937 | (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg. | |
5938 | (movv4sf): Allow immediate sources. | |
5939 | (movsf_media_nofpu+1): Don't split moves to FP registers. | |
5940 | (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns. | |
5941 | (movv8qi_i+3): Check against CONST0_RTX. | |
5942 | (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode | |
5943 | for input and output operands. Fix argument 3 to gen_mextr_rl. | |
5944 | (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/ | |
5945 | (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise. | |
5946 | (mshf0_w, fipr, ftrv): Likewise. | |
5947 | (mshfhi_l_di): Now insn_and_split. Can handle FP regs. | |
5948 | ||
e9d7b180 JD |
5949 | 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
5950 | ||
5951 | * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from | |
5952 | NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed. | |
5953 | * arm.c: Similarly. | |
5954 | ||
8214bf98 RS |
5955 | 2002-07-17 Richard Sandiford <rsandifo@redhat.com> |
5956 | ||
5957 | * config/mips/mips-protos.h (mips_sign_extend): Declare. | |
5958 | * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove. | |
5959 | (TARGET_SWITCHES): Remove debugh. | |
5960 | (ISA_HAS_TRUNC_W): New macro. | |
5961 | (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64. | |
5962 | (PREDICATE_CODES): Remove se_nonimmediate_operand. | |
5963 | * config/mips/mips.c (movdi_operand): Allow sign-extensions of | |
5964 | any SImode move_operand. | |
5965 | (se_nonimmediate_operand): Remove. | |
5966 | (mips_sign_extend): New. | |
5967 | (mips_move_2words): Use it for sign-extended source operands. | |
5968 | (override_options): Allow integers to be put into single FPRs. | |
5969 | (mips_secondary_reload_class): Handle integers in float registers. | |
5970 | * config/mips/mips.md (extendsidi2): Turn into a define_expand. | |
5971 | (fix_truncsfsi2, fix_truncdfsi2): Likewise. | |
5972 | (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New. | |
5973 | (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New. | |
5974 | (fix_truncdfdi2): Provide only a single alternative, in which the | |
5975 | integer is in a float register. Depend on TARGET_FLOAT64 rather | |
5976 | than TARGET_64BIT. | |
5977 | (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise. | |
5978 | (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency. | |
5979 | (movdi_internal2): Don't allow the source operand to be sign-extended. | |
5980 | Add alternatives for float registers. | |
5981 | (*movdi_internal2_extend): New. Version of movdi_internal2 that | |
5982 | allows sign-extension. | |
5983 | (*movdi_internal2_mips16): Name the existing mips16 movdi pattern. | |
5984 | (movsi_internal2): Rename to movsi_internal. Add alternatives for | |
5985 | float registers. Remove TARGET_DEBUG_H_MODE test. | |
5986 | (movhi_internal1): Rename to movhi_internal. Don't check | |
5987 | TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints. | |
5988 | (movqi_internal1): Rename to movqi_internal and remove | |
5989 | TARGET_DEBUG_H_MODE dependency. | |
5990 | (movsi_internal1, movhi_internal2, movqi_internal2): Remove. | |
5991 | ||
7ab0121e JW |
5992 | 2002-07-16 Jim Wilson <wilson@redhat.com> |
5993 | ||
5994 | * toplev.c (lang_dependent_init): Create function context for | |
5995 | init_expr_once. | |
5996 | ||
349ccf2e HPN |
5997 | 2002-07-16 Hans-Peter Nilsson <hp@axis.com> |
5998 | ||
5999 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't | |
6000 | --gc-sections if -r. | |
6001 | * config/cris/cris.h: Ditto. | |
6002 | ||
06ec023f RB |
6003 | 2002-07-16 Rodney Brown <rbrown64@csc.com.au> |
6004 | ||
6005 | * config/i386/i386.c (ix86_expand_int_movcc): In the case where | |
6006 | the comparison directly gives a mask suppress addition when cf is | |
6007 | zero by complementing the mask. | |
6008 | ||
39cef914 NN |
6009 | 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org> |
6010 | ||
6011 | * Makefile.in: Delete references to enquire. | |
6012 | * enquire.c: Move to contrib. | |
6013 | ||
92c1a778 SS |
6014 | 2002-07-16 Stan Shebs <shebs@apple.com> |
6015 | ||
2aa9948d SS |
6016 | * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from |
6017 | config/rs6000/darwin.h. | |
6018 | (ASM_OUTPUT_SKIP): Ditto. | |
6019 | (TEXT_SECTION_ASM_OP): Ditto. | |
6020 | (DATA_SECTION_ASM_OP): Ditto. | |
6021 | (ASM_APP_ON): Define. | |
6022 | (ASM_APP_OFF): Define. | |
6023 | * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP, | |
6024 | TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove. | |
6025 | ||
6026 | * config/darwin.c (func_name_maybe_scoped): Remove unused decl. | |
92c1a778 SS |
6027 | (machopic_function_base_name): Declare result to be const. |
6028 | (machopic_non_lazy_ptr_name): Ditto. | |
6029 | (machopic_stub_name): Ditto. | |
2aa9948d | 6030 | * config/darwin-protos.h: Ditto for the prototypes. |
92c1a778 | 6031 | |
daaab00a JH |
6032 | Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz> |
6033 | ||
6034 | * m68hc11.c (m68hc11_reorg): Do not rebuild CFG. | |
6035 | ||
63c574cc JH |
6036 | Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz> |
6037 | ||
6038 | * i386.md (prefetch): Fix for 64bit mode. | |
6039 | (prefetch_sse_rex, prefetch_3dnow_rex): New patterns. | |
6040 | ||
2a500b9e JH |
6041 | Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz> |
6042 | ||
6043 | * i386.h (MACHINE_DEPENDENT_REORG): New macro. | |
6044 | * i386.c (x86_machine_dependent_reorg): New function. | |
6045 | * i386-protos.h (x86_machine_dependent_reorg): Declare. | |
6046 | ||
e5faf155 ZW |
6047 | 2002-07-16 Zack Weinberg <zack@codesourcery.com> |
6048 | ||
6049 | * builtins.c (std_expand_builtin_va_start): Remove unused | |
6050 | first argument. | |
6051 | (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and | |
6052 | std_expand_builtin_va_start with just two arguments. | |
6053 | * expr.h: Update prototypes. | |
6054 | ||
6055 | * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h, | |
6056 | arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h, | |
6057 | i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h, | |
6058 | m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h, | |
6059 | mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c, | |
6060 | rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h, | |
6061 | s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h, | |
6062 | sparc.c, stormy16-protos.h, stormy16.h, stormy16.c, | |
6063 | xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first | |
6064 | argument from all implementations of EXPAND_BUILTIN_VA_START | |
6065 | and all uses of std_expand_builtin_va_start. | |
6066 | ||
dbf65c2f R |
6067 | Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6068 | ||
6069 | * regrename.c (copy_value): Don't record high part copies. | |
6070 | ||
6acb6d3e | 6071 | 2002-07-16 Steve Ellcey <sje@cup.hp.com> |
99b823ca | 6072 | |
6acb6d3e SE |
6073 | * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define. |
6074 | (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL. | |
6075 | * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function. | |
6076 | ||
5d7c2819 ID |
6077 | 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
6078 | ||
6079 | * doc/invoke.texi (NS32K Options): Document -mieee-compare option | |
6080 | ||
6081 | * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge | |
6082 | into addsi3 using register class "x" and "y". | |
6083 | ||
6084 | * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf): | |
6085 | "earlyclobber" constraint modifier for some alternative. | |
e5faf155 | 6086 | |
5d7c2819 ID |
6087 | * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble) |
6088 | (*ble, *blt): Flag to indicate bCOND and sCOND should check for | |
6089 | unordered. | |
6090 | config/ns32k/ns32k.h (CC_UNORD): define corresponding mask. | |
6091 | ||
6092 | * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE) | |
6093 | (TARGET_SWITCHES): Add -mieee-compare option. | |
6094 | (OVERRIDE_OPTIONS): 32332 is a subset of | |
6095 | 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations. | |
6096 | (TARGET_SWITCHES): Fix description of bitfield option. | |
6097 | * config/ns32k/netbsd.h (TARGET_DEFAULT): Add | |
6098 | -mieee-compare option. Remove 32332 flag. | |
6099 | ||
5da4f548 | 6100 | 2002-07-16 Steve Ellcey <sje@cup.hp.com> |
5d7c2819 ID |
6101 | |
6102 | * explow.c (convert_memory_address): Remove special handling | |
5da4f548 | 6103 | when POINTERS_EXTEND_UNSIGNED < 0. |
5d7c2819 | 6104 | * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode. |
5da4f548 SE |
6105 | (movedi_symbolic): Fix typo. |
6106 | (load_fptr): Remove mode restriction so it works for SI and DI. | |
6107 | (load_fptr_internal1): Ditto. | |
6108 | (load_gprel): Ditto. | |
6109 | (load_symptr_internal1): Ditto. | |
6110 | (call_pic): Ditto. | |
5d7c2819 | 6111 | * config/ia64.c (call_operand): Modify mode check. |
5da4f548 SE |
6112 | (ia64_expand_load_address): Handle DI and SI addresses and symbols. |
6113 | (ia64_expand_move): Ditto. | |
6114 | (ia64_assemble_integer): Handle SImode function pointers. | |
6115 | (ia64_expand_fetch_and_op): Handle SImode mem addresses. | |
6116 | (ia64_expand_op_and_fetch): Ditto. | |
6117 | (ia64_expand_compare_and_swap): Ditto. | |
6118 | (ia64_expand_lock_test_and_set): Ditto. | |
6119 | (ia64_expand_lock_release): Ditto. | |
6120 | ||
1575c31e JD |
6121 | 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
6122 | ||
6123 | * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF. | |
6124 | ||
6125 | 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
6126 | Richard Earnshaw <rearnsha@arm.com> | |
6127 | ||
e5faf155 | 6128 | * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test |
1575c31e JD |
6129 | CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic. |
6130 | ||
3894f59e RE |
6131 | 2002-07-16 Richard Earnshaw <rearnsha@arm.com> |
6132 | ||
6133 | * arm.md (stack_tie): New insn. Use an idiom that the alias code | |
6134 | understands to be a memory clobber. | |
6135 | * arm.c (arm_expand_prologue): Use it. | |
6136 | ||
e0b89be2 | 6137 | 2002-07-16 Daniel Berlin <dberlin@dberlin.org> |
54b2a7f8 DB |
6138 | |
6139 | * ra-rewrite.c: #include reload.h, insn-config.h | |
6140 | * ra-build.c: #include reload.h | |
6141 | * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to | |
e5faf155 | 6142 | depend on reload.h, insn-config.h. |
54b2a7f8 | 6143 | |
cffa2189 R |
6144 | Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6145 | ||
6146 | * expr.c (emit_move_insn_1): Handle arbitrary moves that are | |
6147 | the same size as a word. | |
6148 | ||
6149 | * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN / | |
6150 | BYTES_BIG_ENDIAN into account. | |
6151 | ||
052c96b1 JH |
6152 | Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz> |
6153 | ||
6154 | * i386.md (prefetch): Fix for 64bit mode. | |
6155 | (prefetch_sse_rex, prefetch_3dnow_rex): New patterns. | |
6156 | ||
6157 | * i386.md (movss, movsd): Use xorps/xorpd for Athlon. | |
6158 | ||
ae32926b MM |
6159 | 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
6160 | ||
6161 | * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set. | |
6162 | ||
6c535c69 ZW |
6163 | 2002-07-15 Zack Weinberg <zack@codesourcery.com> |
6164 | ||
6165 | * ginclude/varargs.h: Replace with stub which issues #error. | |
6166 | * ginclude/stdarg.h: __builtin_stdarg_start is renamed | |
6167 | __builtin_va_start. | |
6168 | ||
6169 | * builtins.def (BUILT_IN_VARARGS_START): Delete. | |
6170 | (BUILT_IN_VA_START): New. | |
6171 | * builtins.c (expand_builtin_va_start): Eliminate first | |
6172 | argument and code to implement pre-ISO varargs. | |
6173 | (std_expand_builtin_va_start): Ignore first argument; it is | |
6174 | always 1. | |
6175 | (expand_builtin): Handle BUILT_IN_VA_START and | |
6176 | BUILT_IN_STDARG_START identically. Delete | |
6177 | BUILT_IN_VARARGS_START case. | |
6178 | ||
6179 | * function.c (assign_parms): Delete hide_last_arg and all | |
6180 | its uses. | |
6181 | (mark_varargs): Delete function. | |
6182 | * function.h (struct function): Delete 'varargs' bit. | |
6183 | (current_function_varargs): Delete macro. | |
6184 | * tree.h: Don't declare mark_varargs. | |
6185 | ||
6186 | * c-decl.c (c_function_varargs, c_mark_varargs): Delete. | |
6187 | (c_expand_body): Don't call mark_varargs. | |
6188 | * c-objc-common.c: Handle BUILT_IN_VA_START and | |
6189 | BUILT_IN_STDARG_START identically. Delete | |
6190 | BUILT_IN_VARARGS_START case. | |
6191 | * c-tree.h: Don't declare c_mark_varargs. | |
6192 | * c-parse.in: Remove grammar rules for '&...' (which has been | |
6193 | commented out since before 2.7.2) and for '...' in K+R | |
6194 | argument declarations. | |
6195 | ||
6196 | * builtins.c, function.c, integrate.c, sibcall.c, | |
6197 | config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, | |
6198 | config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, | |
6199 | config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, | |
6200 | config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, | |
6201 | config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, | |
6202 | config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, | |
6203 | config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, | |
6204 | config/stormy16/stormy16.c: Delete all references to | |
6205 | current_function_varargs, and code predicated on that flag. | |
6206 | ||
6207 | * config/alpha/alpha.c (alpha_va_start), | |
6208 | config/arc/arc.c (arc_va_start), | |
6209 | config/i386/i386.c (ix86_va_start), | |
6210 | config/mips/mips.c (mips_va_start), | |
6211 | config/mn10300/mn10300.c (mn10300_va_start), | |
6212 | config/rs6000/rs6000.c (rs6000_va_start), | |
6213 | config/s390/s390.c (s390_va_start), | |
6214 | config/sh/sh.c (sh_va_start), | |
6215 | Ignore first argument; it is always 1. | |
6216 | ||
6217 | * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. | |
6218 | * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. | |
6219 | * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: | |
6220 | Delete m68hc11_va_start. | |
6221 | * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: | |
6222 | No need to define EXPAND_BUILTIN_VA_START. | |
6223 | ||
6224 | * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, | |
6225 | doc/trouble.texi: Remove references to GCC-provided <varargs.h>. | |
6226 | ||
6d80a854 EB |
6227 | 2002-07-15 Eric Botcazou <ebotcazou@multimania.com> |
6228 | ||
6229 | PR optimization/7153 | |
6230 | * regmove.c (optimize_reg_copy_3): Don't optimize if the register | |
6231 | dies in more than one insn. | |
6232 | ||
043cfcbe JT |
6233 | 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com> |
6234 | ||
6235 | * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove. | |
6236 | ||
ed8d2920 | 6237 | 2002-07-15 Michael Matz <matz@suse.de>, |
6c535c69 | 6238 | Daniel Berlin <dberlin@dberlin.org>, |
ed8d2920 MM |
6239 | Denis Chertykov <denisc@overta.ru> |
6240 | ||
6241 | Add a new register allocator. | |
6242 | ||
6243 | * ra.c: New file. | |
6244 | * ra.h: New file. | |
6245 | * ra-build.c: New file. | |
6246 | * ra-colorize.c: New file. | |
6247 | * ra-debug.c: New file. | |
6248 | * ra-rewrite.c: New file. | |
6249 | ||
6250 | * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o, | |
6251 | (ra-rewrite.o): New .o files for libbackend.a. | |
6252 | (GTFILES): Add basic-block.h. | |
6253 | ||
6254 | * toplev.c (flag_new_regalloc): New. | |
6255 | (f_options): New option "new-ra". | |
6256 | (rest_of_compilation): Call initialize_uninitialized_subregs() | |
6257 | only for the old allocator. If flag_new_regalloc is set, call | |
6258 | new allocator, instead of local_alloc(), global_alloc() and | |
6259 | friends. | |
6260 | ||
6261 | * doc/invoke.texi: Document -fnew-ra. | |
6262 | * basic-block.h (FOR_ALL_BB): New. | |
6263 | * config/rs6000/rs6000.c (print_operand): Write small constants | |
6264 | as @l+80. | |
6265 | ||
6266 | * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg. | |
6267 | (df_reg_table_realloc): Make size at least as large as max_reg_num(). | |
6268 | (df_insn_table_realloc): Size argument now is absolute, not relative. | |
6269 | Changed all callers. | |
6270 | ||
6271 | * gengtype.c (main): Add the pseudo-type "HARD_REG_SET". | |
6272 | * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's. | |
6273 | ||
6274 | 2002-06-20 Michael Matz <matz@suse.de> | |
6275 | ||
6276 | * df.h (struct ref.id): Make unsigned. | |
6277 | * df.c (df_bb_reg_def_chain_create): Remove unsigned cast. | |
6278 | ||
6279 | 2002-06-13 Michael Matz <matz@suse.de> | |
6280 | ||
6281 | * df.h (DF_REF_MODE_CHANGE): New flag. | |
6282 | * df.c (df_def_record_1, df_uses_record): Set this flag for refs | |
6283 | involving subregs with invalid mode changes, when | |
6284 | CLASS_CANNOT_CHANGE_MODE is defined. | |
6285 | ||
6286 | 2002-05-07 Michael Matz <matz@suse.de> | |
6287 | ||
6288 | * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge. | |
6289 | ||
6290 | 2002-05-03 Michael Matz <matz@suse.de> | |
6291 | ||
6292 | * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size. | |
6293 | ||
6294 | Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru> | |
6295 | ||
6296 | * regclass.c (regclass): Work with all regs which have sets or | |
6297 | refs. | |
6298 | (reg_scan_mark_refs): Count regs inside (clobber ...). | |
6299 | ||
6300 | 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de> | |
6301 | ||
6302 | * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs. | |
6303 | (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only | |
6304 | add new refs. | |
6305 | (df_bb_refs_update): Don't clear insns_modified here, ... | |
6306 | (df_analyse): ... but here. | |
6307 | ||
6308 | * sbitmap.c (dump_sbitmap_file): New. | |
6309 | (debug_sbitmap): Use it. | |
6310 | ||
6311 | * sbitmap.h (dump_sbitmap_file): Add prototype. | |
6312 | ||
6313 | 2001-08-07 Daniel Berlin <dan@cgsoftware.com> | |
6314 | ||
6315 | * df.c (df_insn_modify): Grow the UID table if necessary, rather | |
6316 | than assume all emits go through df_insns_modify. | |
6317 | ||
6318 | 2001-07-26 Daniel Berlin <dan@cgsoftware.com> | |
6319 | ||
6320 | * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS, | |
6321 | increase REG_N_REFS (like flow does), so that regclass doesn't | |
6322 | think a reg is useless, and thus, not calculate a class, when it | |
6323 | really should have. | |
6324 | ||
6325 | 2001-01-28 Daniel Berlin <dberlin@redhat.com> | |
6326 | ||
6327 | * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for | |
6328 | dataflow analysis. | |
6329 | ||
794a292d JJ |
6330 | 2002-07-15 Jakub Jelinek <jakub@redhat.com> |
6331 | ||
6332 | PR middle-end/7245 | |
6333 | * config/i386/i386.c (const_int_1_31_operand): New. | |
6334 | * config/i386/i386.h (PREDICATE_CODES): Add it. | |
6335 | * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp, | |
6336 | ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp, | |
6337 | lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it. | |
6338 | ||
05d49501 AM |
6339 | 2002-07-14 Alan Modra <amodra@bigpond.net.au> |
6340 | ||
6341 | PR target/7282 | |
6342 | * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64. | |
6343 | (floatunssidf2): Likewise. | |
6344 | (floatsidf_ppc64): New insn_and_split. | |
6345 | (floatunssidf_ppc64): Likewise. | |
6346 | ||
e89617fe AJ |
6347 | 2002-07-14 Andreas Jaeger <aj@suse.de> |
6348 | ||
6349 | * config.gcc (sh64): Remove unused | |
6350 | target_requires_64bit_host_wide_int. | |
6351 | ||
78762e3b RS |
6352 | 2002-07-12 Roger Sayle <roger@eyesopen.com> |
6353 | ||
6354 | * expr.c [CLEAR_RATIO]: New macro defining the maximum number | |
6355 | of move instructions to use when clearing memory, c.f. MOVE_RATIO. | |
6356 | [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine | |
6357 | whether clear_by_pieces should be used to clear storage. | |
6358 | (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES. | |
6359 | ||
6360 | * doc/tm.texi: Document these two new target macros. | |
6361 | ||
f7a454e9 SC |
6362 | 2002-07-12 Stephane Carrez <stcarrez@nerim.fr> |
6363 | ||
6364 | * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for | |
6365 | the scratch register. | |
6366 | ("*movhi2_push"): Accept Z_REG because a split pattern can make use | |
6367 | of it, forbid reload to use it. | |
6368 | ||
26af4041 MM |
6369 | 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl> |
6370 | ||
6371 | * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT | |
6372 | usage on 64-bit hosts, return value was truncated to 32 bits. | |
6373 | ||
226cfe61 R |
6374 | Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6375 | ||
6376 | * simplify-rtx.c (simplify_subreg): Handle floating point | |
6377 | CONST_DOUBLEs. When an integer subreg of a smaller mode than | |
6378 | the element mode is requested, compute a subreg with an | |
6379 | integer mode of the same size as the element mode first. | |
6380 | ||
25c25947 R |
6381 | Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6382 | ||
6383 | * combine.c (try_combine): When converting a paradoxical subreg | |
6384 | to an extension, take LOAD_EXTEND_OP into account. | |
6385 | ||
789b7de5 RO |
6386 | 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6387 | ||
6388 | * config.gcc (mips-sgi-irix6*o32): New configuration. | |
6389 | ||
6390 | * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32 | |
6391 | configurations. | |
6392 | * configure: Regenerate. | |
6393 | ||
6394 | * config/mips/iris6-o32-as.h: New file. | |
6395 | * config/mips/iris6-o32.h: New file. | |
e89617fe | 6396 | |
789b7de5 RO |
6397 | * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define. |
6398 | (NM_FLAGS): Define. | |
6399 | (HAVE_AS_SHF_MERGE): Undefine. | |
6400 | ||
6401 | * config/mips/t-iris5-as: New file. | |
6402 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. | |
6403 | ||
6404 | * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME, | |
6405 | SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK, | |
6406 | SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT, | |
6407 | dp-bit.c, fp-bit.c): Move ... | |
6408 | * config/mips/t-iris5-6: ... here. | |
6409 | New file, shared by IRIX 5 and IRIX 6. | |
6410 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*, | |
6411 | mips-sgi-irix5*): Use it. | |
6412 | ||
6413 | * config/mips/iris6.h: Remove duplicate comment. | |
6414 | ||
6415 | * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 && | |
6416 | !TARGET_IRIX6]: Define. | |
6417 | (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6. | |
6418 | ||
6419 | * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment. | |
6420 | ||
a18c2c5f JDA |
6421 | 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6422 | ||
6423 | * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand | |
6424 | and delete code to force constant to register. | |
6425 | * pa-protos.h (adddi3_operand): Add prototype. | |
6426 | * pa.c (adddi3_operand): New function. | |
6427 | ||
e65a2d65 RS |
6428 | 2002-07-11 Roger Sayle <roger@eyesopen.com> |
6429 | ||
6430 | * c-decl.c (duplicate_decls): Preserve the noreturn attribute on | |
6431 | non-ANSI builtin functions. | |
6432 | ||
a06e3c40 R |
6433 | Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6434 | ||
6435 | * rtl.h (gen_rtx_CONST_VECTOR): Declare. | |
6436 | * gengenrtl.c (special_rtx): Check for CONST_VECTOR. | |
6437 | * emit-rtl.c (gen_rtx_CONST_VECTOR): New function. | |
6438 | (gen_const_vector_0): Use it. | |
6439 | ||
47abc309 JDA |
6440 | 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6441 | ||
6442 | * pa.md (adddi3): For 32-bit targets, force constants to a register | |
6443 | if they don't fit in an 11-bit immediate. Change insn predicate to | |
6444 | arith11_operand. Remove comment. | |
6445 | * pa.c (cint_ok_for_move): Fix comment. | |
6446 | (emit_move_sequence): Don't directly split DImode constants on 32-bit | |
6447 | targets. | |
6448 | ||
8ac9d31f TJ |
6449 | 2002-07-11 Tim Josling <tej@melbpc.org.au> |
6450 | ||
e89617fe | 6451 | Remove front end hard coding from gengtype.c. |
8ac9d31f TJ |
6452 | |
6453 | * Makefile.in | |
6454 | (STAGESTUFF): add gtyp-gen.h | |
6455 | (GTFILES): Remove front end specific files. | |
6456 | (GTFILES_FILES_LANGS): New, from configure.. | |
6457 | (GTFILES_FILES_FILES): Likewise. | |
6458 | (GTFILES_LANG_DIR_NAMES): Likewise. | |
6459 | (GTFILES_SRCDIR): Likewise. | |
6460 | (gtyp-gen.h): Build from configure information. | |
6461 | (s-gtype): Remove command line parameters from gengtype. | |
6462 | (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h. | |
6463 | (mostlyclean): Delete files generated by and for gengtype. | |
6464 | ||
6465 | * c-config-lang.in: New file. | |
6466 | ||
6467 | * configure.in (all_gtfiles_files_langs): New. Accumulate files | |
6468 | for each language. | |
6469 | (all_gtfiles_files_files): New. Accumulate language for each file | |
6470 | accumulated. | |
6471 | (gtfiles): Pick up value for C. | |
6472 | (srcdir): AC-SUBST this variable. | |
6473 | (all_gtfiles_files_langs): AC-SUBST this variable. | |
6474 | (all_gtfiles_files_files): AC-SUBST this variable. | |
e89617fe | 6475 | |
8ac9d31f | 6476 | * configure: Regenerate. |
e89617fe | 6477 | |
8ac9d31f TJ |
6478 | * gengtype-lex.l (parse_file): Make parameter const. |
6479 | ||
6480 | * gengtype.c (toplevel): include gtyp-gen.h. | |
6481 | (BASE_FILE_<language> unnamed enum): Delete. | |
6482 | (lang_names): Delete (replaced by gtyp-gen.h) | |
6483 | (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed | |
6484 | all references. | |
6485 | (NUM_GT_FILES): New. | |
6486 | (NUM_LANG_FILES): New. | |
6487 | (srcdir_len): New. | |
6488 | (NUM_BASE_FILES): Change calculation. | |
6489 | (open_base_files): Change prototype to avoid warning. | |
6490 | (startswith): Delete. | |
6491 | (get_file_basename): Iterate through generated language list not | |
6492 | hard coded list. | |
6493 | (get_base_file_bitmap): Use generated list of files and languages. | |
6494 | (close_output_files): Add prototype to rmove warning. | |
6495 | (main): Iterate through list of generated files from gtyp-gen.h | |
6496 | rather than command line paramaters. Ignore duplicated file | |
e89617fe | 6497 | names. |
8ac9d31f TJ |
6498 | |
6499 | * gengtype.h (parse_file): Amend prototype for const parameter. | |
e89617fe | 6500 | |
8ac9d31f TJ |
6501 | * doc/sourcebuild.texi: Document gtfiles variable. |
6502 | ||
6503 | * doc/gty.texi: Document changes to gtfiles variable for front | |
6504 | ends. | |
6505 | ||
6506 | * objc/config-lang.in (gtfiles): Add files needed for objc front | |
6507 | end. | |
6508 | ||
0e603223 RS |
6509 | 2002-07-10 Roger Sayle <roger@eyesopen.com> |
6510 | ||
6511 | PR c/2454 | |
6512 | * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply | |
6513 | to SUBREGs of MEMs. (num_sign_bit_copies): Likewise. | |
6514 | ||
c5358a5d RS |
6515 | 2002-07-10 Roger Sayle <roger@eyesopen.com> |
6516 | Zack Weinberg <zack@codesourcery.com> | |
6517 | ||
6518 | * builtins.def: Make the argument types of abort and exit | |
6519 | independent of the front-end. | |
6520 | ||
a35f8b74 AM |
6521 | 2002-07-11 Alan Modra <amodra@bigpond.net.au> |
6522 | ||
6523 | * config/rs6000/linux64.h (ASM_SPEC): Define. | |
6524 | ||
89e7058f AH |
6525 | 2002-07-10 Aldy Hernandez <aldyh@redhat.com> |
6526 | ||
6c535c69 ZW |
6527 | * config/rs6000/rs6000.c (emit_frame_save): New. |
6528 | (rs6000_frame_related): Replace reg2 before reg. | |
6529 | (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs, | |
6530 | and eh_return registers. | |
89e7058f | 6531 | |
086bbd21 TM |
6532 | 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl> |
6533 | ||
6534 | Revert all patches for optimization of Complex .op. Real. | |
6535 | * complex_part_zero_p: Remove | |
6536 | * expand_cmplxdiv_straight: Replace complex_part_zero_p(x) | |
6537 | with x. | |
6538 | * expand_cmplxdiv_wide: Ditto. | |
6539 | * expand_binop: Ditto. | |
6540 | ||
126dbce0 MM |
6541 | 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl> |
6542 | ||
6543 | * config/avr/avr.md: Fix two 0x80000000 constants to make them | |
6544 | negative also on 64-bit hosts. | |
6545 | ||
6546 | Default to -fno-reorder-blocks when optimizing for size. | |
6547 | * config/avr/avr-protos.h (avr_optimization_options): Declare. | |
6548 | * config/avr/avr.c (avr_optimization_options): New function. | |
6549 | * config/avr/avr.h (OPTIMIZATION_OPTIONS): New. | |
6550 | ||
6551 | Optimize returning from simple functions. | |
6552 | * config/avr/avr-protos.h (avr_simple_epilogue): Declare. | |
6553 | * config/avr/avr.c (avr_simple_epilogue): New function. | |
6554 | * config/avr/avr.md (return): New insn. | |
6555 | ||
21c318ba DR |
6556 | 2002-07-10 Douglas B Rupp <rupp@gnat.com> |
6557 | ||
6558 | * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add | |
6559 | HAS_INIT_SECTION to protection. | |
6560 | ||
537834c8 MM |
6561 | 2002-07-10 Mark Mitchell <mark@codesourcery.com> |
6562 | ||
6563 | * doc/invoke.texi (Debugging Options): Mention that -gdwarf is | |
6564 | deprecated. | |
6565 | ||
80ba02b1 R |
6566 | Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6567 | ||
6568 | * combine.c (gen_lowpart_for_combine): Handle vector modes. | |
6569 | Supply non-VOID mode to simplify_gen_subreg. | |
6570 | ||
ae3aa00d JH |
6571 | Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz> |
6572 | ||
6573 | * i386.c (ix86_init_mmx_sse_builtins): Fix thinko. | |
6574 | ||
029f3983 JL |
6575 | 2002-07-10 Jeffrey A Law <law@redhat.com> |
6576 | ||
7a464913 JL |
6577 | * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes |
6578 | as appropriate. | |
6579 | ||
6c535c69 ZW |
6580 | * mn10200.c (expand_epilogue): Fix test to determine which scratch |
6581 | register to use. | |
029f3983 | 6582 | |
ff27a429 R |
6583 | Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6584 | ||
6585 | * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg. | |
6586 | Get mode from dest. | |
6587 | If simplify_gen_subreg fails, try next equivalent. | |
6588 | ||
e6986399 GDR |
6589 | 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com> |
6590 | ||
6591 | * diagnostic.h: #include location.h | |
6592 | (location_t): Move definition to.. | |
6593 | * location.h: ... here. New file. | |
6594 | * tree.h: #include location.h | |
6595 | (DECL_SOURCE_LOCATION): New macro. | |
6596 | (DECL_SOURCE_FILE): Use. | |
6597 | (DECL_SOURCE_LINE): Likewise. | |
6598 | (struct tree_decl): REplace filename and linenum with locus. | |
6599 | * Makefile.in (TREE_H): add location.h | |
6600 | (diagnostic.o): Depends on gt-location.h | |
6601 | (gt-location.h): Depends on s-gtype | |
6602 | ||
7990b46f MK |
6603 | 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu> |
6604 | ||
6605 | * config/rs6000/aix.h: Convert CPP_PREDEFINES to | |
6606 | TARGET_OS_CPP_BUILTINS. | |
6607 | * config/rs6000/aix31.h: Likewise. | |
6608 | * config/rs6000/aix41.h: Likewise. | |
6609 | * config/rs6000/aix43.h: Likewise. | |
6610 | * config/rs6000/aix51.h: Likewise. | |
6611 | * config/rs6000/beos.h: Likewise. | |
6612 | * config/rs6000/darwin.h: Likewise. | |
6613 | * config/rs6000/eabi.h: Likewise. | |
6614 | * config/rs6000/eabisim.h: Likewise. | |
6615 | * config/rs6000/linux.h: Likewise. | |
6616 | * config/rs6000/linux64.h: Likewise. | |
6617 | * config/rs6000/lynx.h: Likewise. | |
6618 | * config/rs6000/mach.h: Likewise. | |
6619 | * config/rs6000/rtems.h: Likewise. | |
6620 | * config/rs6000/sysv4.h: Likewise. | |
6621 | * config/rs6000/vxppc.h: Likewise. | |
efa39e99 DP |
6622 | |
6623 | 2002-07-09 Devang Patel <dpatel@apple.com> | |
6624 | * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch. | |
6625 | Do not allow ObjC objects as a parameter type for Objective-C methods. | |
6626 | My previous patch restricted 'struct' also. | |
e89617fe | 6627 | |
cd98faa1 NB |
6628 | 2002-07-09 Neil Booth <neil@daikokuya.co.uk> |
6629 | ||
6630 | * cpperror.c (cpp_error): Default to directive_line within | |
6631 | directives here. | |
6632 | * cppexp.c (cpp_interpret_integer): Only use traditional | |
6633 | number semantics in directives. | |
6634 | * cpplib.c (prepare_directive_trad): Don't reset pfile->line. | |
6635 | (do_include_common): Similarly. | |
6636 | * cpptrad.c (scan_out_logical_line): Implement accurate | |
6637 | quoting of <> in #include. | |
6638 | * doc/cpp.texi: Update. | |
6639 | ||
2ad65b0e | 6640 | Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com> |
6c535c69 | 6641 | J"orn Rennecke <joern.rennecke@superh.com> |
2ad65b0e SC |
6642 | |
6643 | * sh.c (sh_adjust_cost): Special handling of SHMEDIA code. | |
6644 | * sh.md (attribute issues): Replace with: | |
6645 | (attribute pipe_model). All users changed. | |
6646 | (attribute type): Change pt / ptabs to pt_media / ptabs_media. | |
6647 | All users changed. | |
6648 | (function units sh5issue, sh5fds): New. | |
6649 | (attribute is_mac_media): New. | |
6650 | (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type. | |
6651 | (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise. | |
6652 | (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise. | |
6653 | (movhi_media, shori_media, movv2sf_i, jump_media): Likewise. | |
6654 | (call_media, call_value_media, sibcall_media): Likewise. | |
6655 | (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise. | |
6656 | (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise. | |
6657 | (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise. | |
6658 | (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise. | |
6659 | (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise. | |
6660 | (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise. | |
6661 | (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise. | |
6662 | (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise. | |
6663 | (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise. | |
6664 | (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise. | |
6665 | (truncdfsf2_media): Likewise. | |
6666 | (movsi_media, movsi_media_nofpu, movdi_media): Use new types. | |
6667 | (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise. | |
6668 | ||
b6d33983 R |
6669 | Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6670 | ||
6671 | * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand. | |
6672 | * sh.c (general_extend_operand, inqhi_operand): New functions. | |
6673 | * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse | |
6674 | alternatives using 'N' modifier. Add type. | |
6675 | (adddi3z_media): Likewise. Enable generator function generation. | |
6676 | (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more | |
6677 | exact predicates / constraints. Add type. | |
6678 | (subsi3): Allow 0 for SHMEDIA. | |
6679 | (udivsi3_i4_media): Use match_operand for input values | |
6680 | rather than hard registers. | |
6681 | (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values | |
6682 | unnecessarily through hard registers. Keep copies of pseudo | |
6683 | registers outside of the libcall sequence. | |
6684 | (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type. | |
6685 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise. | |
6686 | (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise. | |
6687 | (extendhidi2, extendqidi2): Likewise. | |
6688 | (andsi3_compact): Name. | |
6689 | (andcdi3): Enable generator function generation. | |
6690 | (zero_extendhisi2, zero_extendqisi2): Rename to | |
6691 | (zero_extendhisi2_compact, zero_extendqisi2_compact). | |
6692 | (extendhisi2, extendqisi2): Rename to | |
6693 | (extendhisi2_compact, extendqisi2_compact). | |
6694 | (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns. | |
6695 | (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise. | |
6696 | (zero_extendhisi2_media+1, zero_extendqisi2): Likewise. | |
6697 | (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise. | |
6698 | (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise. | |
6699 | (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise. | |
6700 | (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise. | |
6701 | (shmedia32_initialize_trampoline_big): Likewise. | |
6702 | (shmedia32_initialize_trampoline_little): Likewise. | |
6703 | (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise. | |
6704 | (negdi2): Remove spurious T clobber. | |
6705 | (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE. | |
6706 | (movsi_media, movsi_media_nofpu): Remove spurious *k after b. | |
6707 | (movdi_media, movdi_media_nofpu, pt, ptb): Likewise. | |
6708 | (movsi_media_nofpu+2, movhi_media+1): Only do split after reload. | |
6709 | (ic_invalidate_line_media): Write back data cache before invalidating | |
6710 | instruction cache. Add type. | |
6711 | (movsf_media): Sign-extend when the destination is a general | |
6712 | purpose register. Add type. | |
6713 | (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0. | |
6714 | (casesi_worker_0+1): Only increment ref count for proper label. | |
6715 | (casesi_worker_0+2): Likewise. | |
6716 | ||
7ca0873c MM |
6717 | 2002-07-09 Mark Mitchell <mark@codesourcery.com> |
6718 | ||
6719 | * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated. | |
6720 | ||
26b10ae0 | 6721 | 2002-07-09 Steve Ellcey <sje@cup.hp.com> |
7ca0873c | 6722 | |
26b10ae0 SE |
6723 | * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer |
6724 | from Pmode to ptr_mode. | |
6725 | (get_exception_pointer): Ditto. | |
6726 | (connect_post_landing_pads): Ditto. | |
6727 | (dw2_build_landing_pads): Ditto. | |
6728 | ||
0c3a2ea0 SE |
6729 | 2002-07-08 Steve Ellcey <sje@cup.hp.com> |
6730 | * gcc/c-pragma.h (add_to_renaming_pragma_list): New function. | |
6731 | * gcc/c-pragma.c (add_to_renaming_pragma_list): New function. | |
6732 | (handle_pragma_redefine_extname): Change to use new function. | |
6733 | ||
26c34780 RS |
6734 | 2002-07-08 Roger Sayle <roger@eyesopen.com> |
6735 | ||
6736 | * combine.c (combine_simplify_rtx): Add an explicit cast | |
6737 | to avoid signed/unsigned comparison warning. | |
6738 | (simplify_if_then_else): Likewise. | |
6739 | (extended_count): Likewise. | |
6740 | (simplify_shift_const): Likewise. | |
6741 | (simplify_comparison): Likewise. | |
6742 | ||
1d4047e0 RS |
6743 | 2002-07-08 Richard Sandiford <rsandifo@redhat.com> |
6744 | ||
6745 | * config/mips/mips.md: Add imadd type. Update scheduler description | |
6746 | to use imadd as well as imul. | |
6747 | (*mul_acc_si, *madsi): Change imul alternatives to imadd. | |
6748 | (*mul_acc_di, *mul_acc_64bit_di): Likewise. | |
6749 | (*mul_sub_si): Likewise for first alternative. Change second | |
6750 | alternative from imul to multi. | |
6751 | ||
5351f1ca NB |
6752 | 2002-07-07 Neil Booth <neil@daikokuya.co.uk> |
6753 | ||
6754 | * c-common.c (c_common_post_options): Update prototype; | |
6755 | don't init backends if preprocessing only. | |
6756 | * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update. | |
6757 | * langhooks.h (struct lang_hooks): Update post_options to | |
6758 | return a boolean. | |
6759 | * toplev.c (parse_options_and_default_flags, do_compile, | |
6760 | lang_independent_init): Update prototypes. Allow the | |
6761 | front end to specify that there is no need to initialize | |
6762 | the back end. | |
6763 | (general_init): Move call to hex_init here... | |
6764 | (toplev_main): ...from here. Pass flag for back end init | |
6765 | suppression. | |
6766 | ||
c8cc4417 R |
6767 | Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6768 | ||
6769 | * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''. | |
6770 | (PREDICATE_CODES): Add entries for equality_comparison_operator, | |
6771 | greater_comparison_operator and less_comparison_operator. | |
6772 | * sh.c (print_operand): Add '\'' code. Make 'o' handle | |
6773 | more operators. | |
6774 | (equality_comparison_operator): New function. | |
6775 | (greater_comparison_operator, less_comparison_operator): Likewise. | |
6776 | * sh.md (beq_media_i): Disable generator function generation. | |
6777 | Use match_operator to handle a whole class of comparisons. Add | |
6778 | modifier in output template to provide branch prediction. Add type. | |
6779 | (bgt_media_i, ble_media_i): Likewise. Allow zero operands. | |
6780 | (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete. | |
6781 | (blt_media_i, bleu_media_i, bltu_media_i): Likewise. | |
6782 | (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands. | |
6783 | ||
957ec0f9 HPN |
6784 | 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com> |
6785 | ||
6786 | Emit MMIX function prologue and epilogue as rtl. | |
6787 | * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val, | |
6788 | not unprototyped get_hard_reg_initial_val. | |
6789 | ("call_value", "nonlocal_goto_receiver"): Ditto. | |
6790 | ("return"): Make define_expand. Move real insn to... | |
6791 | ("*expanded_return"): New pattern. | |
6792 | ("prologue", "epilogue"): New define_expands. | |
6793 | * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro. | |
6794 | (struct machine_function): New member in_prologue. | |
6795 | (FIRST_PSEUDO_REGISTER): Adjust for including rO as register. | |
6796 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto. | |
6797 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto. | |
6798 | (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto. | |
6799 | (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto. | |
6800 | (LOCAL_REGNO): Define. Adjust comment. | |
6801 | * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS): | |
6802 | Consider regs_ever_live[MMIX_rJ_REGNUM], not just | |
6803 | leaf_function_p. | |
6804 | (MMIX_OUTPUT_REGNO): Don't translate registers while outputting | |
6805 | the prologue. | |
6806 | (mmix_target_asm_function_prologue): Make static. Just mark that | |
6807 | the prologue is being emitted. Move guts to... | |
6808 | (mmix_expand_prologue): New function. Adjust for emitting | |
6809 | prologue as rtl. For sizes, use HOST_WIDE_INT only. | |
6810 | (mmix_target_asm_function_epilogue): Make static. Simply emit a | |
6811 | \n. Move guts to... | |
6812 | (mmix_expand_epilogue): New function. Adjust for emitting | |
6813 | epilogue as rtl. For sizes, use HOST_WIDE_INT only. | |
6814 | (mmix_target_asm_function_end_prologue): Mark that the prologue | |
6815 | has ended. | |
6816 | (TARGET_ASM_FUNCTION_END_PROLOGUE): Define. | |
6817 | (mmix_conditional_register_usage): Improve comments. | |
6818 | (mmix_local_regno): New function. | |
6819 | (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto. | |
6820 | * config/mmix/mmix-protos.h (mmix_local_regno): Prototype. | |
6821 | (mmix_expand_prologue, mmix_expand_epilogue): Ditto. | |
6822 | (mmix_get_hard_reg_initial_val): Ditto. | |
6823 | ||
7ab5c789 AJ |
6824 | 2002-07-06 Andreas Jaeger <aj@suse.de> |
6825 | ||
6826 | * toplev.c (set_fast_math_flags): Don't use ISO C style function | |
6827 | definitions. | |
6828 | * gengtype.c (open_base_files): Likewise. | |
6829 | (close_output_files): Likewise. | |
6830 | * tracer.c (find_best_predecessor): Likewise. | |
6831 | (find_best_successor): Likewise. | |
6832 | (ignore_bb_p): Likewise. | |
6833 | ||
df061a43 RS |
6834 | 2002-07-05 Roger Sayle <roger@eyesopen.com> |
6835 | ||
6836 | PR c++/7099 | |
6837 | * builtin-attrs.def: Define new attribute lists for use in | |
6838 | builtins.def. | |
6839 | * builtins.def [DEF_BUILTIN]: Modify to take an additional | |
6840 | ATTRS argument, an enumerated value defined in builtin-attrs.def | |
6841 | that represents the attribute list for the builtins. Modify | |
6842 | all builtin functions to pass an appropriate attribute list. | |
6843 | Specify "abort", "exit", "_exit" and "_Exit" builtins here with | |
6844 | their required noreturn attributes. | |
6845 | * tree.h (enum_builtin_function): Ignore the additional parameter | |
6846 | to DEF_BUILTIN. | |
6847 | * builtins.c (built_in_names): Likewise. | |
6848 | * c-common.c: (builtin_function_2): Replace the "int noreturn_p" | |
6849 | argument with a tree representing the functions attribute list. | |
6850 | Pass this "attrs" argument to builtin_function. No longer handle | |
6851 | the noreturn_p processing manually. | |
6852 | (built_in_attributes): Move the definitions from builtin-attrs.def | |
6853 | before c_common_nodes_and_builtins. | |
6854 | (c_common_nodes_and_builtins): Handle the new ATTRS parameter in | |
6855 | DEF_BUILTIN, passing it to both builtin_function and the changed | |
6856 | builtin_function_2. | |
6857 | ||
6858 | * doc/extend.texi: Document __builtin_abort, __builtin_exit, | |
6859 | __builtin__exit and __builtin__Exit. | |
6860 | ||
e5eb8de8 SC |
6861 | 2002-07-05 Stephane Carrez <stcarrez@nerim.fr> |
6862 | ||
6863 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating | |
6864 | QI mode registers in soft registers. | |
7ab5c789 | 6865 | ("zero_extendqihi2"): Do not take into account soft registers |
e5eb8de8 SC |
6866 | for register allocation (use '*' constraint). |
6867 | ||
4c8aed14 SC |
6868 | 2002-07-05 Stephane Carrez <stcarrez@nerim.fr> |
6869 | ||
6870 | * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know | |
6871 | it is dead. | |
6872 | ("*ashrsi3"): Likewise. | |
6873 | ("*lshrsi3"): Likewise. | |
6874 | ||
99ed68ea VM |
6875 | 2002-07-05 Vladimir Makarov <vmakarov@redhat.com> |
6876 | ||
6877 | * genautomata.c (output_max_insn_queue_index_def): Take latencies | |
6878 | into account. | |
6879 | ||
4c8aed14 | 6880 | 2002-07-05 Stephane Carrez <stcarrez@nerim.fr> |
581fd392 SC |
6881 | |
6882 | * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize | |
6883 | address computation and memory moves. | |
6884 | ||
9833f679 MM |
6885 | 2002-07-03 Mark Mitchell <mark@codesourcery.com> |
6886 | ||
6887 | PR c++/6706 | |
6888 | * dwarfout.c (output_reg_number): Fix warning message. | |
6889 | (output_bound_representation): Check SAVE_EXPR_RTL is not NULL | |
6890 | before using it. | |
7ab5c789 | 6891 | |
81bca2f5 RO |
6892 | 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6893 | ||
6894 | * gcc/gcc.c (asm_debug): Move initialization ... | |
6895 | (init_spec): ... here. | |
6896 | ||
17f44f02 NS |
6897 | 2002-07-05 Nathan Sidwell <nathan@codesourcery.com> |
6898 | ||
6899 | * c-parse.in (extdef): Append ';'. | |
6900 | (old_style_parm_decls): Append ';'. | |
6901 | ||
da77408f DJ |
6902 | 2002-07-04 Daniel Jacobowitz <drow@mvista.com> |
6903 | ||
6904 | * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to | |
6905 | gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag | |
6906 | to gcc_cv_as_gstabs_flag. | |
6907 | * configure: Rebuilt. | |
6908 | ||
ec52b446 GK |
6909 | 2002-07-04 Geoffrey Keating <geoffk@redhat.com> |
6910 | ||
6911 | * ggc.h (ggc_add_root): Document as obsolete. | |
6912 | ||
8721e3df R |
6913 | Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6914 | ||
6915 | * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE. | |
6916 | (mshflo_w): Likewise. | |
6917 | ||
3767c0fd R |
6918 | Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6919 | ||
6920 | * simplify-rtx.c (simplify_subreg): Reduce problem of finding | |
6921 | vector mode subregs of constants to finding integer mode | |
6922 | subregs of constants. | |
6923 | * cse.c (cse_insn): Use simplify_gen_subreg. | |
6924 | * convert.c (convert_to_integer): Don't strip a NOP_EXPR | |
6925 | From a vector mode expression of different size than the | |
6926 | target mode. | |
6927 | ||
4e314d1f EC |
6928 | 2002-07-03 Eric Christopher <echristo@redhat.com> |
6929 | ||
6930 | * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC. | |
6931 | * config/mips/mips.h: Remove deprecated -m<processor> options | |
6932 | and cc1_cpu_spec associated. | |
6933 | (CONSTANT_ADDRESS_P): Fix last patch. | |
6934 | (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment. | |
6935 | * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df, | |
6936 | sunge_sf): Remove. | |
6937 | ||
6f0361e3 SS |
6938 | 2002-07-03 Stan Shebs <shebs@apple.com> |
6939 | ||
6940 | * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC. | |
6941 | (STRINGIFY_THIS, REALLY_STRINGIFY): Remove. | |
6942 | (CPP_SPEC): Remove insertion of APPLE_CC definition. | |
6943 | ||
3129af4c RS |
6944 | 2002-07-03 Roger Sayle <roger@eyesopen.com> |
6945 | ||
6946 | * combine.c (struct_undo): Change types of recorded substitutions | |
6947 | to be either "int" or "rtx", instead of "unsigned int" and "rtx". | |
6948 | (do_SUBST_INT): Change types of the substitution from unsigned int | |
6949 | to int, to avoid compilation warning from SUBST_INT's only caller. | |
6950 | ||
6951 | (make_extraction): Add cast to avoid compilation warning. | |
6952 | (force_to_mode): Remove cast to avoid compilation warning. | |
6953 | ||
c7375e61 EB |
6954 | 2002-07-03 Eric Botcazou <ebotcazou@multimania.com> |
6955 | Jeff Law <law@redhat.com> | |
6956 | ||
6957 | * i386.md (length_immediate attribute): Fix typo. | |
6958 | (length_address attribute): Likewise. | |
6959 | (modrm attribute): Set it to 0 for immediate call instructions. | |
6960 | (jcc_1 pattern): Set modrm attribute to 0. | |
6961 | (jcc_2 pattern ): Likewise. | |
6962 | (jump pattern): Likewise. | |
6963 | (doloop_end_internal pattern): Explicitly set length. | |
6964 | (leave pattern): Fix typo. | |
6965 | (leave_rex64 pattern): Likewise. | |
6966 | ||
61c07d3c DE |
6967 | 2002-07-03 David Edelsohn <edelsohn@gnu.org> |
6968 | ||
6969 | * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode | |
6970 | in FPR as preference. | |
6971 | (fctiwz): Same. | |
6972 | (floatdidf2, fix_truncdfdi2): Same. | |
6973 | (floatdisf2, floatditf2, fix_trunctfdi2): Same. | |
6974 | (floatditf2): Same. | |
6975 | (floatsitf2, fix_trunctfsi2): SImode in GPR. | |
6976 | (ctrdi): Remove FPR alternative and splitter. | |
6977 | ||
6978 | 2002-07-03 Will Cohen <wcohen@redhat.com> | |
77966be3 WC |
6979 | |
6980 | * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro. | |
6981 | ||
34a80643 R |
6982 | Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6983 | ||
6984 | * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller | |
6985 | than UNITS_PER_WORD, unless this is little endian and the first unit | |
6986 | in this word. Let extract_bit_field decide how to load an element. | |
6987 | Force arguments to matching mode. | |
6988 | (expand_vector_unop): Likewise. | |
6989 | ||
6990 | * simplify-rtx.c (simplify_subreg): Don't assume that all vectors | |
6991 | consist of word_mode elements. | |
6992 | * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR, | |
6993 | BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR. | |
6994 | (build_unary_op): Allow vector types for BIT_NOT_EPR. | |
6995 | * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for | |
6996 | CONST_VECTOR. | |
6997 | * optabs.c (expand_vector_binop): Try to perform operation in | |
6998 | smaller vector modes with same inner size. Add handling of AND, IOR | |
6999 | and XOR. Reject expansion to inner-mode sized scalars when using | |
7000 | OPTAB_DIRECT. Use simplify_gen_subreg on constants. | |
7001 | (expand_vector_unop): Try to perform operation in smaller vector | |
7002 | modes with same inner size. Add handling of one's complement. | |
7003 | When there is no vector negate operation, try a vector subtract | |
7004 | operation. Use simplify_gen_subreg on constants. | |
7005 | * simplify-rtx.c (simplify_subreg): Add capability to convert vector | |
7006 | constants into smaller vectors with same inner mode, and to | |
7007 | integer CONST_DOUBLEs. | |
7008 | ||
622d3731 KG |
7009 | 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7010 | ||
7011 | * c-parse.in (parsing_iso_function_signature): New variable. | |
7012 | (extdef_1): New, copied from... | |
7013 | (extdef): ... here. Reset parsing_iso_function_signature. | |
7014 | (old_style_parm_decls): Reset parsing_iso_function_signature. | |
7015 | (old_style_parm_decls_1): New, copied from old_style_parm_decls. | |
7016 | Warn about ISO C style function definitions. | |
7017 | (nested_function, notype_nested_function): Reset | |
7018 | parsing_iso_function_signature. | |
7019 | (parmlist_2): Set parsing_iso_function_signature. | |
7020 | ||
7021 | * doc/invoke.texi (-Wtraditional): Document new behavior. | |
7022 | ||
9bb46191 CD |
7023 | 2002-07-02 Chris Demetriou <cgd@broadcom.com> |
7024 | ||
7025 | * config.gcc (mips*el-*-*): Use tm_defines to set | |
7026 | TARGET_ENDIAN_DEFAULT, rather than including mips/little.h. | |
7027 | * config/mips/little.h: Remove. | |
7028 | ||
e1c2dd26 | 7029 | 2002-07-02 Devang Patel <dpatel@apple.com> |
c40da518 | 7030 | |
c40da518 | 7031 | * objc/objc-act.c (adjust_type_for_id_default): Do not allow an |
31e25abd CD |
7032 | object as parameter. Prevent something like 'NSObject' to be |
7033 | used as the type for a method argument. | |
c40da518 | 7034 | |
0879540b NB |
7035 | 2002-07-03 Neil Booth <neil@daikokuya.co.uk> |
7036 | ||
7037 | * cpptrad.c: Update comment. | |
7038 | ||
b6fb43ab | 7039 | 2002-07-02 Neil Booth <neil@daikokuya.co.uk> |
4e314d1f | 7040 | |
b6fb43ab NB |
7041 | * doc/cpp.texi: Update for traditional preprocessing changes. |
7042 | * goc/cppopts.texi: Similarly. | |
7043 | ||
c1c5187c ZL |
7044 | 2002-07-02 Ziemowit Laski <zlaski@apple.com> |
7045 | ||
7046 | * c-parse.in (designator): Enable designated initializers if ObjC. | |
7047 | (objcmessageexpr): Remove references to objc_receiver_context. | |
7048 | * objc/objc-act.h (objc_receiver_context): Remove decl. | |
7049 | * objc/objc-act.c (objc_receiver_context): Remove. | |
7050 | (lookup_objc_ivar): Test objc_method_context instead of | |
7051 | objc_receiver_context. | |
7052 | ||
52702ae1 R |
7053 | Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7054 | ||
7055 | * sh.c (print_operand, case 'N'): Allow zero vector. | |
7056 | (arith_reg_or_0_operand): Likewise. | |
7057 | (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL. | |
4e314d1f | 7058 | * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for |
52702ae1 R |
7059 | IOR, XOR, PLUS and SET and take their respective constant |
7060 | ranges into account. | |
7061 | (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR. | |
7062 | * sh.md (subdi3, subdi3_media): Allow zero operand. | |
7063 | (movv8qi_i+3): Only vector that is not split is the zero vector. | |
7064 | Fix operand 3 to simplify_subreg. | |
7065 | (movv2si_i): Split alternative 1. | |
7066 | (mshfhi_l_di_rev+1): New splitter. | |
7067 | ||
49e7b251 NB |
7068 | 2002-07-02 Neil Booth <neil@daikokuya.co.uk> |
7069 | ||
ba57a9c0 | 7070 | PR preprocessor/7029 |
49e7b251 NB |
7071 | * cppinit.c (cpp_handle_option): Suppress warnings with an |
7072 | implicit "-w" for "-M" and "-MM". | |
7073 | * doc/cppopts.texi: Update. | |
7074 | ||
a3acdc0c RS |
7075 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
7076 | ||
7077 | * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned | |
7078 | identifier "bzero" to "memset". Pass extra NULL_TREE argument to | |
7079 | builtin_function. | |
7080 | ||
0b558962 AM |
7081 | 2002-07-02 Alan Modra <amodra@bigpond.net.au> |
7082 | ||
7083 | * README.Portability: Fix typos. | |
7084 | ||
9a81c5b7 HPN |
7085 | 2002-07-01 Hans-Peter Nilsson <hp@axis.com> |
7086 | ||
7087 | PR target/7177 | |
7088 | * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number | |
7089 | of indirections for register inside sign-extended mem part. | |
7090 | ||
6a2dd09a RS |
7091 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
7092 | ||
7093 | * tree.h: Modify builtin_function interface to take an extra | |
7094 | argument ATTRS, which is a tree representing an attribute list. | |
7095 | ||
7096 | * c-decl.c (builtin_function): Accept additional parameter. | |
7097 | * objc/objc-act.c (builtin_function): Likewise. | |
7098 | * f/com.c (builtin_function): Likewise. | |
7099 | * java/decl.c (builtin_function): Likewise. | |
7100 | * ada/utils.c (builtin_function): Likewise. | |
7101 | * cp/decl.c (builtin_function): Likewise. | |
7102 | (builtin_function_1): Likewise. | |
7103 | ||
7104 | * c-common.c (c_common_nodes_and_builtins): Pass an additional | |
7105 | NULL_TREE argument to builtin_function. (builtin_function_2): | |
7106 | Likewise. | |
7107 | * cp/call.c (build_java_interface_fn_ref): Likewise. | |
7108 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
7109 | * java/decl.c (java_init_decl_processing): Likewise. | |
7110 | * f/com.c (ffe_com_init_0): Likewise. | |
7111 | ||
7112 | * config/alpha/alpha.c (alpha_init_builtins): Pass an additional | |
7113 | NULL_TREE argument to builtin_function. | |
7114 | * config/arm/arm.c (def_builtin): Likewise. | |
7115 | * config/c4x/c4x.c (c4x_init_builtins): Likewise. | |
7116 | * config/i386/i386.c (def_builtin): Likewise. | |
7117 | * config/ia64/ia64.c (def_builtin): Likewise. | |
7118 | * config/rs6000/rs6000.c (def_builtin): Likewise. | |
7119 | ||
e20569ae ZW |
7120 | 2002-07-01 Zack Weinberg <zack@codesourcery.com> |
7121 | ||
7122 | * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST. | |
7123 | * config/mips/t-isa3264: Likewise. | |
7124 | * config/mmix/t-mmix: Likewise. | |
7125 | ||
f1b690f1 JDA |
7126 | 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7127 | ||
7128 | * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT. | |
7129 | ||
6bfa5aac RS |
7130 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
7131 | ||
7132 | PR opt/4046 | |
7133 | * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A, | |
7134 | A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and | |
7135 | B are truth values. | |
7136 | ||
9a5c1b9d NN |
7137 | 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org> |
7138 | ||
7139 | * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST. | |
7140 | ||
d3fc4dbc MK |
7141 | 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu> |
7142 | ||
3b2124df MK |
7143 | * README.Portability (Function prototypes): Give an example of |
7144 | declaring and defining a function with no arguments. | |
7145 | ||
d3fc4dbc MK |
7146 | * README.Portability (Function prototypes): Document new |
7147 | variable-argument function macros. | |
7148 | ||
c1b92d09 R |
7149 | Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7150 | ||
7151 | * sh.c (langhooks.h): Include. | |
7152 | (sh_init_builtins, sh_media_init_builtins): New functions. | |
7153 | (sh_expand_builtin, arith_reg_dest,and_operand): Likewise. | |
7154 | (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise. | |
7155 | (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise. | |
7156 | (builtin_description): New struct tag. | |
7157 | (signature_args, bdesc): New arrays. | |
7158 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define. | |
7159 | (print_operand): Add 'N' modifier. | |
7160 | * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes. | |
7161 | (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros. | |
7162 | (EXTRA_CONSTRAINT): Add 'U' and 'W' cases. | |
7163 | (CONST_COSTS): Add special case for SHmedia AND. | |
7164 | (PREDICATE_CODES): Add and_operand, arith_reg_dest, | |
7165 | extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset, | |
7166 | sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand. | |
7167 | target_operand can also be const or unspec. | |
7168 | * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants. | |
7169 | (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise. | |
7170 | (attribute type): Add new types. | |
7171 | (anddi3): Add splitter. | |
7172 | (movdi_const_16bit+1): Add code to handle vector constants and | |
7173 | bitmasks efficiently. | |
7174 | (shori_media): Have generator function made. | |
7175 | (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns. | |
7176 | (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise. | |
7177 | (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise. | |
7178 | (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise. | |
7179 | (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise. | |
7180 | (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise. | |
7181 | (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise. | |
7182 | (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise. | |
7183 | (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise. | |
7184 | (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise. | |
7185 | (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise. | |
7186 | (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise. | |
7187 | (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise. | |
7188 | (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie. | |
7189 | (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise. | |
7190 | (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise. | |
7191 | (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise. | |
7192 | (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise. | |
7193 | (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise. | |
7194 | (ftrv): Likewise. | |
7195 | ||
7196 | (fpu_switch+1, fpu_switch+2): Remove constraint. | |
7197 | ||
97ebc06f AH |
7198 | 2002-07-01 Aldy Hernandez <aldyh@redhat.com> |
7199 | ||
6c535c69 ZW |
7200 | * tree.c (build_function_type_list): Update function comment. |
7201 | Rename first argument to return_type. | |
97ebc06f | 7202 | |
353a10d0 NB |
7203 | 2002-07-01 Neil Booth <neil@daikokuya.co.uk> |
7204 | ||
7205 | * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h, | |
7206 | tradcif.y and related files. | |
7207 | ||
e34cabb3 NB |
7208 | 2002-07-01 Neil Booth <neil@daikokuya.co.uk> |
7209 | ||
7210 | * cpptrad.c (skip_whitespace): Pass pointer to prior char. | |
7211 | ||
8bf3ccbb KG |
7212 | 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7213 | ||
7214 | * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. | |
7215 | ||
118f8dc1 DP |
7216 | 2002-06-30 Devang Patel <dpatel@apple.com> |
7217 | ||
7218 | * objc/objc-act.c (finish_file): Avoid finish_objc() if | |
7219 | -fsyntax-only. | |
7220 | ||
e3223ea2 DC |
7221 | Fri Jun 28 17:22:37 2002 Denis Chertykov <denisc@overta.ru> |
7222 | Frank Ch. Eigler <fche@redhat.com> | |
6c535c69 | 7223 | Matthew Green <mrg@redhat.com> |
e3223ea2 DC |
7224 | Richard Henderson <rtl@redhat.com> |
7225 | Dave Hudson <dave.hudson@ubicom.com> | |
7226 | Jeff Johnston <jjohnstn@redhat.com> | |
7227 | Alan Lehotsky <apl@alum.mit.edu> | |
7228 | Bernd Schmidt <bernds@redhat.com> | |
7229 | Graham Stott <grahams@redhat.com> | |
4e314d1f | 7230 | |
e3223ea2 DC |
7231 | * doc/extend.texi: Add ip2k port to description of attribute |
7232 | naked. | |
7233 | * doc/install.texi (Specific): Add ip2k description. | |
7234 | * doc/install-old.texi (Configurations): Add ip2k to possible | |
7235 | cpu types. | |
7236 | * doc/md.texi: Document ip2k constraints. | |
7237 | * config/ip2k/crt0.S: New file. | |
7238 | * config/ip2k/ip2k-protos.h: New file. | |
7239 | * config/ip2k/ip2k.c: New file. | |
7240 | * config/ip2k/ip2k.h: New file. | |
7241 | * config/ip2k/ip2k.md: New file. | |
7242 | * config/ip2k/libgcc.S: New file. | |
7243 | * config/ip2k/t-ip2k: New file. | |
7244 | ||
66b8c57f HPN |
7245 | 2002-06-30 Hans-Peter Nilsson <hp@bitrange.com> |
7246 | ||
7247 | * config/mmix/mmix.md ("return"): New pattern. | |
7248 | * config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN) | |
7249 | (TARGET_USE_RETURN_INSN): New macros. | |
7250 | (TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN. | |
7251 | (TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit. | |
7252 | * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing. | |
7253 | (MMIX_POP_ARGUMENT): New macro. | |
7254 | (mmix_target_asm_function_prologue): When no epilogue is executed, | |
7255 | just emit a blank line. Use MMIX_POP_ARGUMENT with final POP insn. | |
7256 | (mmix_print_operand) <case '.'>: New case. | |
7257 | (mmix_print_operand_punct_valid_p): Match '.'. | |
7258 | (mmix_use_simple_return): New function. | |
7259 | * config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype. | |
7260 | * doc/invoke.texi (Option Summary) <MMIX Summary>: Add | |
7261 | -msingle-exit, -mno-single-exit. | |
7262 | (MMIX Options): Ditto. | |
7263 | ||
e7a60f56 AH |
7264 | 2002-06-30 Aldy Hernandez <aldyh@redhat.com> |
7265 | ||
6c535c69 | 7266 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos. |
e7a60f56 | 7267 | |
1ef7d32b KG |
7268 | 2002-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7269 | ||
7270 | * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses. | |
7271 | ||
c8b64bf2 AM |
7272 | 2002-06-30 Alan Modra <amodra@bigpond.net.au> |
7273 | ||
7274 | * unroll.c (loop_iterations): Handle EQ loops. | |
7275 | ||
35aba846 DE |
7276 | 2002-06-29 David Edelsohn <edelsohn@gnu.org> |
7277 | ||
7278 | * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR | |
7279 | constraint in define_expand, not splitter. | |
7280 | Formatting. | |
7281 | ||
b4de2f7d AH |
7282 | 2002-06-29 Aldy Hernandez <aldyh@redhat.com> |
7283 | ||
6c535c69 ZW |
7284 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use |
7285 | build_function_type_list instead of build_function_type. | |
b4de2f7d | 7286 | |
6c535c69 | 7287 | * config/ia64/ia64.c (ia64_init_builtins): Same. |
b4de2f7d | 7288 | |
6c535c69 | 7289 | * config/alpha/alpha.c (alpha_init_builtins): Same. |
b4de2f7d | 7290 | |
6c535c69 | 7291 | * config/rs6000/rs6000.c (altivec_init_builtins): Same. |
b4de2f7d | 7292 | |
6c535c69 | 7293 | * config/arm/arm.c (arm_init_builtins): Same. |
b4de2f7d | 7294 | |
6c535c69 | 7295 | * tree.h: Add build_function_type_list prototype. |
b4de2f7d | 7296 | |
6c535c69 | 7297 | * tree.c (build_function_type_list): New. |
b4de2f7d | 7298 | |
1691051f KG |
7299 | 2002-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7300 | ||
7301 | * collect2.c (scan_prog_file): Fix typo in message. | |
7302 | ||
7bfb14f1 AL |
7303 | 2002-06-28 Aaron Lehmann <aaronl@vitelus.com> |
7304 | ||
6c535c69 | 7305 | * fold-cont.c: Remove unused CHARMASK. |
7bfb14f1 | 7306 | |
38800fe8 NB |
7307 | 2002-06-29 Neil Booth <neil@daikokuya.co.uk> |
7308 | ||
7309 | PR preprocessor/7150 | |
7310 | * cppmain.c (scan_translation_unit_trad): Simplify. | |
590e1987 | 7311 | * cppmacro.c (cpp_scan_nooutput): Handle traditional case. |
38800fe8 | 7312 | |
f60ed6be NB |
7313 | 2002-06-29 Neil Booth <neil@daikokuya.demon.co.uk> |
7314 | ||
7315 | * config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS. | |
7316 | Don't use CPP_PREDEFINES. | |
7317 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New. | |
7318 | Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES. | |
7319 | * config/i386/djgpp.h, config/i386/i386-coff.h, | |
7320 | config/i386/i386-interix.h, config/i386/i386-interix3.h, | |
7321 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h, | |
7322 | config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h, | |
7323 | config/i386/uwin.h: Similarly. | |
7324 | ||
76118c11 HB |
7325 | 2002-06-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7326 | ||
6c535c69 | 7327 | * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and |
76118c11 HB |
7328 | flag_inline_trees to enable inlining. |
7329 | ||
9137b119 PE |
7330 | 2002-06-28 Phil Edwards <pme@gcc.gnu.org> |
7331 | ||
7332 | * configure.in (gcc_gxx_include_dir): Change to match versioned | |
7333 | C++ headers if --enable-version-specific-runtime-libs is used. | |
7334 | * configure: Regenerate. | |
7335 | ||
6bdb8dd6 JH |
7336 | 2002-06-28 Jan Hubicka <jh@suse.cz> |
7337 | ||
7338 | * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move. | |
7339 | ||
f1b1186f SC |
7340 | 2002-06-28 Stephen Clarke <stephen.clarke@superh.com> |
7341 | ||
7342 | * combine.c (combine_simplify_rtx): Pass the mode of the | |
7343 | shift count, not the shift operation when trying to simplify | |
7344 | a shift on a SHIFT_COUNT_TRUNCATED target. | |
7345 | ||
ae9bd481 SC |
7346 | 2002-06-28 Stephane Carrez <stcarrez@nerim.fr> |
7347 | ||
7348 | * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to | |
7349 | avoid the auto increment addressing modes. | |
7350 | ("*subsi3"): Likewise. | |
4e314d1f | 7351 | (split for add/sub on address): For 68HC12 push the value on |
ae9bd481 SC |
7352 | the stack and do the operation with a pop. |
7353 | ||
1d63a28a NB |
7354 | 2002-06-28 Neil Booth <neil@daikokuya.co.uk> |
7355 | ||
7356 | * cpplib.c (_cpp_handle_directive): Move #define-specific | |
7357 | code to the #define handler... | |
7358 | (do_define): ...here. | |
7359 | (lex_macro_node): No longer a need to check for comments here. | |
7360 | ||
4caff360 SC |
7361 | 2002-06-28 Stephane Carrez <stcarrez@nerim.fr> |
7362 | ||
7363 | * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define. | |
7364 | * config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options): | |
7365 | Declare. | |
7366 | * config/m68hc11/m68hc11.c (m68hc11_optimization_options): New, | |
7367 | do not reorder basic blocks at the end when optimizing for size. | |
7368 | ||
2cc21497 SC |
7369 | 2002-06-28 Stephane Carrez <stcarrez@nerim.fr> |
7370 | ||
7371 | * config/m68hc11/m68hc11.c (autoinc_mode): New function. | |
7372 | (m68hc11_make_autoinc_notes): New function. | |
7373 | (m68hc11_split_move): Be very cautious when spliting a move with | |
7374 | auto increment/decrement modes because this may result in incompatible | |
7375 | directions; add REG_INC notes to the resulting insn for CSE reg. | |
7376 | ||
3cdd2821 SC |
7377 | 2002-06-28 Stephane Carrez <Stephane.Carrez@nerim.fr> |
7378 | ||
7379 | * config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant | |
7380 | can be a valid address. | |
7381 | ||
e6a82e80 AH |
7382 | 2002-06-28 Aldy Hernandez <aldyh@redhat.com> |
7383 | ||
6c535c69 ZW |
7384 | * config/rs6000/rs6000.c: Remove unusued variables from last |
7385 | patch. | |
e6a82e80 | 7386 | |
a7ae18e2 AH |
7387 | 2002-06-27 Aldy Hernandez <aldyh@redhat.com> |
7388 | ||
7389 | Revert: | |
6c535c69 ZW |
7390 | * config/rs6000/rs6000.c (rs6000_override_options): Move |
7391 | *SUBTARGET_OVERRIDE_OPTIONS before the -m options. | |
a7ae18e2 | 7392 | |
3a9b8c7e AH |
7393 | 2002-06-27 Aldy Hernandez <aldyh@redhat.com> |
7394 | ||
6c535c69 ZW |
7395 | * config/rs6000/rs6000.c (altivec_expand_builtin): Move |
7396 | lvx/stv/dst builtins... | |
7397 | (altivec_expand_ld_builtin): ...to here. | |
7398 | (altivec_expand_st_builtin): ...here. | |
7399 | (altivec_expand_dst_builtin): ...and here (respectively). | |
3a9b8c7e | 7400 | |
5f9dc214 BW |
7401 | 2002-06-28 Bob Wilson <bob.wilson@acm.org> |
7402 | ||
7403 | * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment. | |
7404 | ||
53501a19 BS |
7405 | 2001-06-08 Bernd Schmidt <bernds@redhat.com> |
7406 | ||
7407 | * emit-rtl.c (gen_lowpart_common): Don't create paradoxical FLOAT_MODE | |
7408 | subregs. | |
7409 | * recog.c (general_operand, register_operand): Disallow them. | |
7410 | ||
d1a58688 NB |
7411 | 2002-06-28 Neil Booth <neil@daikokuya.co.uk> |
7412 | ||
7413 | PR preprocessor/7138 | |
7414 | * cpplib.c (_cpp_handle_directive): Do traditional | |
7415 | preparation after setting state.angled_headers. | |
7416 | * cpptrad.c (scan_out_logical_line): Fix potential | |
7417 | quote bug. | |
7418 | ||
55c1c60d AH |
7419 | 2002-06-27 Aldy Hernandez <aldyh@redhat.com> |
7420 | ||
6c535c69 ZW |
7421 | * config/rs6000/rs6000.c (rs6000_override_options): Move |
7422 | *SUBTARGET_OVERRIDE_OPTIONS before the -m options. | |
55c1c60d | 7423 | |
3219c65b BW |
7424 | 2002-06-27 Bob Wilson <bob.wilson@acm.org> |
7425 | ||
7426 | * config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's. | |
7427 | (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start, | |
7428 | zero_cost_loop_end): Remove unnecessary "parallel" from insns. | |
7429 | ||
c8f863fc RS |
7430 | 2002-06-27 Roger Sayle <roger@eyesopen.com> |
7431 | ||
7432 | * config/d30v/d30v.h: Remove commented out STACK_REGS #defines. | |
7433 | * config/stormy16/stormy16.h: Likewise. | |
7434 | ||
7435 | * config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef | |
7436 | with #define. | |
7437 | ||
8d5362b7 GP |
7438 | 2002-06-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7439 | ||
7440 | * doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move | |
7441 | Hitachi entry. Make punctuation more consistent. | |
7442 | ||
57694e40 MK |
7443 | 2002-06-27 Matt Kraai <kraai@alumni.cmu.edu> |
7444 | ||
7445 | * doc/install.texi: Change ` bit' to `-bit'. | |
7446 | * doc/md.texi: Change `-bits' to `-bit'. | |
7447 | * doc/tm.texi: Change `-bits' to ` bits'. | |
7448 | ||
c635a1ec DB |
7449 | 2002-06-27 Daniel Berlin <dberlin@dberlin.org> |
7450 | ||
7451 | * gcse.c (hoist_code): Rewrite to only get list of dominated | |
4e314d1f | 7452 | blocks once per BB. Also fix reversed test (by removing need for |
c635a1ec DB |
7453 | the test at all). |
7454 | ||
951a0766 NB |
7455 | 2002-06-27 Neil Booth <neil@daikokuya.co.uk> |
7456 | ||
7457 | * cpphash.h (_cpp_set_trad_context): Remove. | |
7458 | * cpplib.c (prepare_directive_trad): Do nothing for #define. | |
7459 | (cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context. | |
7460 | * cpptrad.c: Update comments. | |
7461 | (_cpp_read_logical_line_trad): Let scan_logical_line handle | |
7462 | updating the current context. | |
7463 | (scan_logical_line): Update the current context. | |
7464 | (_cpp_create_trad_definition): Similarly. | |
7465 | (_cpp_set_trad_context): Remove. | |
7466 | ||
06470238 NB |
7467 | 2002-06-27 Neil Booth <neil@daikokuya.co.uk> |
7468 | ||
7469 | PR preprocessor/7070 | |
7470 | * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF. | |
7471 | ||
0c14a54d BW |
7472 | 2002-06-26 Bob Wilson <bob.wilson@acm.org> |
7473 | ||
7474 | * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare. | |
7475 | config/xtensa/xtensa.c (xtensa_return_addr): New function. | |
7476 | config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr. | |
7477 | config/xtensa/xtensa.md (fix_return_addr): New pattern. | |
7478 | ||
e9873fd5 KG |
7479 | 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7480 | ||
7481 | * mips.c (coprocessor_operand, coprocessor2_operand, | |
7482 | symbolic_operand): Move prototypes from here... | |
7483 | * mips-protos.h (coprocessor_operand, coprocessor2_operand, | |
7484 | symbolic_operand): ...to here. | |
7485 | ||
650e8d05 R |
7486 | Wed Jun 26 16:32:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7487 | ||
7488 | * config/sh/crt1.asm: remove _stack label definition | |
7489 | and sentinel value. | |
7490 | ||
c7836bcd KG |
7491 | 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7492 | ||
7493 | * varasm.c: Include real.h before output.h. | |
7494 | ||
6e1f54e2 AH |
7495 | 2002-06-26 Aldy Hernandez <aldyh@redhat.com> |
7496 | ||
6c535c69 ZW |
7497 | * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to |
7498 | check for TARGET_ALTIVEC. | |
6e1f54e2 | 7499 | |
18fbcbcf NN |
7500 | 2002-06-26 Nathanael Nerode <neroden@gcc.gnu.org> |
7501 | ||
7502 | * config.gcc (vax-*-vms*): Make obselete. | |
7503 | ||
09bed167 KG |
7504 | 2002-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7505 | ||
7506 | * gcc.c (warn_std): Delete. | |
7507 | ||
8254cb45 LR |
7508 | 2002-06-25 Loren J. Rittle <ljrittle@acm.org> |
7509 | ||
7510 | * doc/extend.texi: Fix formatting of last checkin. | |
7511 | ||
f9ee10ab RO |
7512 | 2002-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7513 | ||
7514 | * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading | |
7515 | underscore from __IEEE_FP and __IEEE_FP_INEXACT. | |
7516 | ||
90989b26 AH |
7517 | 2002-06-25 Aldy Hernandez <aldyh@redhat.com> |
7518 | ||
6c535c69 ZW |
7519 | * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document |
7520 | discrepancies from motorola's documentation. | |
90989b26 | 7521 | |
9881adff R |
7522 | Tue Jun 25 21:51:13 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7523 | ||
7524 | * optabs.c (expand_vector_binop, expand_vector_unop): Don't assume | |
7525 | GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD. | |
4de1b7a9 | 7526 | |
4e314d1f | 7527 | * config/sh/lib1funcs.asm (udivdi3): Make first divide step |
4de1b7a9 R |
7528 | produce a 32 bit result before normalization, then normalize with a |
7529 | left shift. Compute approximative error of 2nd reciprocal | |
7530 | approximation in 2's complement. Fix mask generation from upper | |
7531 | longword of second divide stage result. | |
7532 | For large divisor, fix shift count used to truncate first stage | |
7533 | divide result; make decision if to adjust upwards based on comparison | |
7534 | of higher parts of normalized values. | |
7535 | (udivdi): Likewise. Undo normalization of result for large divisor | |
7536 | case. | |
7537 | ||
16b46035 DM |
7538 | 2002-06-25 David S. Miller <davem@redhat.com> |
7539 | ||
7540 | * config/sparc/sparc.md: Change \\{t,n} to \{t,n}. | |
7541 | ||
0c6db544 NB |
7542 | 2002-06-25 Neil Booth <neil@daikokuya.co.uk> |
7543 | ||
7544 | * cpplib.c (do_include_common): Revert to correct line number | |
7545 | if -traditional. | |
7546 | * cpptrad.c (scan_out_logical_line): Treat null directive as | |
7547 | white space. Invlidate MI optimization for non-whitespace | |
7548 | text outside a directive. | |
7549 | ||
eef709c7 KG |
7550 | 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7551 | ||
b41e09a7 KG |
7552 | * Makefile.in (SHELL): Set to @SHELL@. |
7553 | * fixinc/Makefile.in (SHELL): Likewise. | |
7554 | ||
eef709c7 KG |
7555 | * mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2, |
7556 | fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate | |
7557 | initialization. | |
7558 | ||
b0ac73f8 JL |
7559 | 2002-06-24 Jeff Law <law@redhat.com> |
7560 | ||
7561 | * flow.c (propagate_one_insn): When removing an insn | |
7562 | with a REG_LIBCALL note but not the entire libcall sequence, | |
7563 | delete the associated REG_RETVAL note. | |
7564 | ||
9e96203d R |
7565 | Mon Jun 24 21:05:09 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7566 | ||
7567 | * lib1funcs.asm (sdivsi3): Add optimized SH64 implementations. | |
7568 | (udivsi3): Likewise. Rewrite SH1 implementation. | |
7569 | (udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions. | |
7570 | * sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants. | |
7571 | (udivsi3_i1_media, divsi3_i1_media): Fix clobber list. | |
7572 | * config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add. | |
7573 | (_moddi3): Likewise. | |
7574 | ||
7575 | * lib1funcs.asm (ic_invalidate): Add data cache line writeback. | |
87912be7 R |
7576 | |
7577 | * sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK | |
7578 | arguments into account for stack_regs. | |
7579 | ||
0d893a63 MK |
7580 | 2002-06-24 Matt Kraai <kraai@alumni.cmu.edu> |
7581 | ||
7582 | * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' | |
7583 | in examples. | |
4e314d1f | 7584 | |
04a5176a AH |
7585 | 2002-06-24 Art Haas <ahaas@neosoft.com> |
7586 | ||
7587 | * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'. | |
7588 | * doc/tm.texi (Frame Layout): Likewise. | |
7589 | ||
cad61762 | 7590 | 2002-06-20 Steve Ellcey <sje@cup.hp.com> |
ec52b446 | 7591 | |
cad61762 SE |
7592 | * gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no. |
7593 | Set float_format to i128. | |
7594 | ||
556a56ac DM |
7595 | 2002-06-24 David S. Miller <davem@redhat.com> |
7596 | ||
7597 | * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the | |
7598 | 32-bit ABI libfuncs to NULL. | |
7599 | ||
563facba DM |
7600 | * config/sparc/sparc.md: Use define_insn_and_split. Use braced |
7601 | strings instead of quoted strings for code blocks. | |
b776892b | 7602 | |
556a56ac DM |
7603 | * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift |
7604 | optabs if op1 is const0_rtx. | |
7605 | ||
a8106207 DM |
7606 | * Makefile.in (GTFILES): Add basic-block.h |
7607 | * basic-block.h (label_value_list, tail_recursion_label_list): | |
7608 | Mark with GTY. | |
7609 | ||
2c088b53 NB |
7610 | 2002-06-24 Neil Booth <neil@daikokuya.co.uk> |
7611 | ||
7612 | * cpptrad.c (scan_out_logical_line): Check recursing only when | |
7613 | we know we have a macro invocation in the function-like case. | |
7614 | Only call _cpp_handle_directive if we know we have a good | |
7615 | directive, or we want to reject a bad directive. | |
7616 | ||
0228d06b AM |
7617 | 2002-06-24 Alan Modra <amodra@bigpond.net.au> |
7618 | ||
7619 | * doloop.c (doloop_valid_p): Correct comment. | |
7620 | (doloop_modify_runtime <abs_inc != 1>): Simplify. | |
7621 | (doloop_modify_runtime <do-while>): Don't emit code when NE. | |
7622 | ||
2f9021d3 DC |
7623 | Thu Jun 20 00:26:53 2002 Denis Chertykov <denisc@overta.ru> |
7624 | ||
7625 | * config.gcc: Add support for ip2k. | |
7626 | ||
bc9c2952 | 7627 | 2002-06-23 Jan Hubicka <jh@suse.cz> |
f81a79ef JH |
7628 | Jeff Law <law@redhat.com> |
7629 | ||
7630 | * function.h (struct emit_status): Clarify potential contents | |
7631 | of regno_reg_rtx array. | |
7632 | * integrate.c (copy_rtx_and_substitute): Update comments. Make | |
7633 | sure entry in regno_reg_rtx is a REG before checking REG_POINTER. | |
bc9c2952 AJ |
7634 | |
7635 | * reg-stack.c (convert_regs_exit): Push the registers to stack in | |
7636 | proper order. | |
7637 | ||
faa964e5 UW |
7638 | 2002-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
7639 | ||
7640 | PR middle-end/6963 | |
7641 | * function.c (assign_stack_temp_for_type): Do not return | |
7642 | the same MEM rtx for multiple uses of a stack slot. | |
7643 | ||
7ae3e57c DM |
7644 | 2002-06-22 David S. Miller <davem@redhat.com> |
7645 | ||
7646 | PR target/6841 target/6770 target/6719 | |
7647 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return | |
7648 | NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or | |
7649 | GENERAL_OR_EXTRA_FP_REGS. | |
7650 | ||
847c76c8 NB |
7651 | 2002-06-22 Neil Booth <neil@daikokuya.co.uk> |
7652 | ||
7653 | * cpptrad.c (struct fun_macro): Add line number. | |
7654 | (scan_out_logical_line): Set it, and use it to report unterminated | |
7655 | macro invocations. | |
7656 | ||
813674e0 KG |
7657 | 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7658 | ||
7659 | * genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND, | |
7660 | VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD, | |
7661 | DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE, | |
7662 | DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT, | |
7663 | REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF, | |
7664 | REGEXP_ONEOF, check_name): Const-ify. | |
7665 | ||
23361093 MT |
7666 | 2002-06-21 Matt Thomas <matt@3am-software.com> |
7667 | ||
7668 | * config/vax/vax.c (vax_output_function_prologue): Use | |
bc9c2952 | 7669 | REGISTER_PREFIX. Fix some indentation. |
23361093 MT |
7670 | * config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[]. |
7671 | (VAX_ISTREAM_SYNC): Define. | |
7672 | (INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC. Move the | |
bc9c2952 AJ |
7673 | i-stream sync to the end. |
7674 | (REGISTER_PREFIX): Define as "". | |
23361093 MT |
7675 | (ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX. |
7676 | ||
1c655a0d JT |
7677 | 2002-06-21 Jason Thorpe <thorpej@wasabisystems.com> |
7678 | ||
7679 | * config.gcc (ns32k-*-netbsd*): Remove from list of obsolete | |
7680 | configurations. | |
7681 | ||
3e16bfe2 KG |
7682 | 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7683 | ||
7684 | * tree.c (tree_node_kind, tree_node_counts, tree_node_sizes, | |
7685 | tree_node_kind_names): Wrap in GATHER_STATISTICS macro. | |
7686 | ||
6b0760fd MT |
7687 | 2002-06-21 Matt Thomas <matt@3am-software.com> |
7688 | ||
7689 | * config/vax/netbsd.h: Adjust a comment. | |
7690 | (TARGET_DEFAULT): Redefine as 0. | |
7691 | ||
31a78298 RH |
7692 | 2002-06-21 Richard Henderson <rth@redhat.com> |
7693 | ||
7694 | * bb-reorder.c (make_reorder_chain_1): Search harder for the | |
bc9c2952 AJ |
7695 | vax casesi fallthru edge. |
7696 | * cfglayout.c (cleanup_unconditional_jumps): Use | |
31a78298 RH |
7697 | redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead. |
7698 | * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection | |
7699 | block after ADDR_VEC. | |
7700 | ||
d8bf1785 RO |
7701 | 2002-06-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7702 | ||
7703 | * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o. | |
7704 | ||
00b94a44 NB |
7705 | 2002-06-21 Neil Booth <neil@daikokuya.co.uk> |
7706 | ||
7707 | * cpperror.c (cpp_error): For traditional CPP, default to | |
7708 | diagnostics on pfile->line. | |
7709 | * cpplib.c (prepare_directive_trad): Set line number for | |
7710 | diagnostics for #define too. | |
7711 | * cpptrad.c (skip_whitespace): Skip comments properly. | |
7712 | (_cpp_expansions_different_trad): Initialize quote2. | |
7713 | ||
c583c5c3 HPN |
7714 | 2002-06-21 Hans-Peter Nilsson <hp@bitrange.com> |
7715 | ||
7716 | * config/mmix/mmix.md: Change GNU CC to GCC in file header comment. | |
7717 | * config/mmix/mmix.h: Ditto. | |
7718 | * config/mmix/mmix-protos.h: Ditto. | |
7719 | * config/mmix/mmix.c: Ditto. Fix typo in comment. | |
7720 | * config/mmix/mmix-modes.def: Change GNU CC to GCC in file header | |
7721 | comment. Comment extra CC modes. | |
7722 | ||
1292ec0c JH |
7723 | 2002-06-20 Jan Hubicka <jh@suse.cz> |
7724 | ||
7725 | * cfglayout.c (scope_to_insns_initialize): Call set_block_levels. | |
7726 | (scope_to_insns_finalize): Do not call set_block_levels; handle | |
7727 | sequences. | |
7728 | (choose_inner_scope): New. | |
7729 | * rtl.h (choose_inner_scope): Declare. | |
7730 | ||
0f8e3849 JDA |
7731 | 2002-06-20 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7732 | ||
7733 | * pa-protos.h (pa_asm_output_mi_thunk): Change third argument to | |
7734 | HOST_WIDE_INT. | |
7735 | * pa.c (pa_asm_output_mi_thunk): Likewise. | |
7736 | (n_deferred_plabels): Change type to size_t. | |
7737 | (output_deferred_plabels, output_call): Use size_t instead of int. | |
7738 | ||
0655301f RH |
7739 | 2002-06-20 Richard Henderson <rth@redhat.com> |
7740 | ||
7741 | PR target/4041 | |
7742 | * config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate | |
7743 | pattern and adjust constraints for coldfire. | |
7744 | ||
2b3aadfc RH |
7745 | 2002-06-20 Richard Henderson <rth@redhat.com> |
7746 | ||
7747 | * explow.c (probe_stack_range): Use gen_rtx_fmt_ee. | |
7748 | ||
5c44e275 CD |
7749 | 2002-06-20 Chris Demetriou <cgd@broadcom.com> |
7750 | ||
7751 | * config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets. | |
7752 | ||
8fff5435 CD |
7753 | 2002-06-20 Chris Demetriou <cgd@broadcom.com> |
7754 | ||
7755 | * config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use. | |
7756 | ||
8a67e083 SS |
7757 | 2002-06-20 Stan Shebs <shebs@apple.com> |
7758 | ||
7759 | * dominance.c: Include errors.h instead of error.h. | |
7760 | ||
017acb41 NB |
7761 | 2002-06-20 Neil Booth <neil@daikokuya.co.uk> |
7762 | ||
7763 | * cppexp.c (cpp_interpret_integer): Don't force traditional | |
7764 | numbers to be unsigned. | |
7765 | * cpplib.c (prepare_directive_trad): Set line number for | |
7766 | diagnostics. | |
7767 | * cpptrad.c (scan_out_logical_line): Continue scanning out | |
7768 | at start of buffer. | |
7769 | * gcc.c (trad_capable_cpp): Use cc1 always. | |
7770 | ||
0ed4a390 JL |
7771 | 2002-06-20 Jeffrey Law <law@redhat.com> |
7772 | ||
7773 | * i386.h (TARGET_DEFAULT): Do not turn on frame pointer | |
7774 | elimination in leaf functions by default yet. | |
7775 | ||
988ef418 RS |
7776 | 2002-06-20 Richard Sandiford <rsandifo@redhat.com> |
7777 | ||
7778 | * combine.c (make_extraction): Reapply to the argument of an ASHIFT. | |
7779 | ||
0ab2e54b RO |
7780 | 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7781 | ||
7782 | * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for | |
7783 | multilibs. | |
7784 | * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o. | |
d8bf1785 | 7785 | Fixes PR other/6836. |
0ab2e54b | 7786 | |
355be0dc JH |
7787 | Thu Jun 20 19:42:21 CEST 2002 Jan Hubicka <jh@suse.cz> |
7788 | Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> | |
7789 | ||
7790 | Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz> | |
7791 | ||
7792 | * basic-block.h: Do not include et-forest.h | |
7793 | (dominance_info): Declare as struct dominance-info. | |
7794 | * cfglayout.c (cleanup_unconditional_jumps): Remove the edge before | |
7795 | deleting block. | |
7796 | * dominance.c (struct dominance_info): Define. | |
7797 | (BB_NODE, SET_BB_NODE): New macros. | |
7798 | (bb_hash_func, bb_eq_func): Kill. | |
7799 | (calculate_dominace_info, free_dominacne_info, set_immediate_dominator, | |
7800 | nearest_common_dominator, dominated_by_p, recount_dominator, | |
7801 | add_to_dominance_info, delete_from_dominance_info): update for new | |
7802 | representation. | |
7803 | (get_dominated_by, redirect_immediate_dominators): Rewrite using | |
7804 | enumerate_sons. | |
7805 | * ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap, | |
7806 | find_if_case_1, find_if_case_2): Remove killed blocks from dominance | |
7807 | structure. | |
7808 | ||
7809 | * et-forest.h: Update copyright; revamp all function to operate on | |
7810 | nodes | |
7811 | (et_forest_value): Kill. | |
7812 | (et_forest_enumerate_sons, et_forest_node_value): New. | |
7813 | * et-forest.c: Update copyright. | |
7814 | * et-forest.h: Update copyright; revamp all function to operate on | |
7815 | nodes | |
7816 | (et_forest_value): Kill. | |
7817 | (et_forest_enumerate_sons, et_forest_node_value): New. | |
7818 | ||
7819 | Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz> | |
7820 | ||
7821 | * basic-block.h: Inlude et-forest.h | |
7822 | (basic_block_def): Kill dominator. | |
7823 | (dominance_info): New type. | |
7824 | (loops): Use dominace_info. | |
7825 | (dominace handling functions): Take dominace_info as argument | |
7826 | instead of bitmaps. | |
7827 | (create_preheader): Likewise. | |
7828 | * cfg.c (entry_exit_blocks): Kill dominator. | |
7829 | (dump_flow_info): Do not dump dominators. | |
7830 | * cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from | |
7831 | dominators. | |
7832 | * cfgloop.c (flow_pre_header_find): Use dominacne_info. | |
7833 | (flow_loops_pre_header_scan, make_forwarder_block, | |
7834 | canonicale_loop_headers, flow_loops_find): Likewise. | |
7835 | * dominance.c: Include error.h | |
7836 | (idoms_to_doms): Kill. | |
7837 | (bb_hash_func, bb_eq_func): New static functions. | |
7838 | (debug_dominace_info): New global function. | |
7839 | (calculate_dominance_info): Use new et forest structure. | |
7840 | (free_dominace_info, get_immediate_dominator, set_immediate_dominator, | |
7841 | get_dominated_by, redirect_immediate_dominators, | |
7842 | nearest_common_dominator, dominated_by_p, verify_dominators, | |
7843 | recount_dominator, iterate_fix_dominators, add_to_dominace_info, | |
7844 | delete_from_dominance_info): New global functions. | |
7845 | * gcse.c (domnators): CHange to dominance_info. | |
7846 | (alloc_hoist_mem): Do not alloc dominators | |
7847 | (free_code_hoist_mem): Use free_dominance_info. | |
7848 | (compute_code_hoist_data): Use dominance_info. | |
7849 | (hoist_code): Likewise. | |
7850 | * ifcvt.c (post_dominators): Likewise. | |
7851 | (find_if_case_2, if_convert): Likewise. | |
7852 | * predict.c (process_note_predictions, process_note_prediction, | |
7853 | estimate-probability): Likewise. | |
7854 | * sched-rgn.c (find_rgns, init_regions): Likewise. | |
7855 | * ssa-dce.c (find_all_control_dependences, fint_control_depemndence, | |
7856 | find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise. | |
7857 | * ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers, | |
7858 | find_evaluations, convert_to_ssa): Likewise. | |
7859 | * ssa.h (compute_dominance_frontiers): Likewise. | |
7860 | ||
7861 | Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> | |
7862 | ||
7863 | * Makefile.in (et-forest.c): Add. | |
7864 | * et-forest.c: New file. | |
7865 | * at-forest.h: New file. | |
7866 | ||
ef9772c8 KG |
7867 | 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7868 | ||
62c71f4b KG |
7869 | * c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit |
7870 | array size calculation. | |
7871 | * gengtype.c (NUM_BASE_FILES, create_file, write_gc_root): | |
7872 | Likewise. | |
7873 | ||
ef9772c8 KG |
7874 | * diagnostic.c (diagnostic_kind_text): Const-ify. |
7875 | * gengtype.c (lang_names): Likewise. | |
7876 | ||
b0dd4808 JH |
7877 | Thu Jun 20 17:25:29 CEST 2002 JAn HUbicka <jh@suse.cz> |
7878 | ||
7879 | * combine.c (subst): Be prepared for simplify_subreg to return VOIDmode. | |
7880 | ||
8433a25e RO |
7881 | 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7882 | ||
7883 | * config/sol2.h: New file. | |
7884 | * config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h. | |
7885 | (sparc64-wrs-vxworks*): Include it before sparc/sol2.h. | |
7886 | (sparc-*-chorusos*): Likewise. | |
7887 | (sparc-*-elf*): Likewise. | |
7888 | (sparc-*-rtems*, sparc-*-rtemself*): Likewise. | |
7889 | (sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise. | |
7890 | (sparc-hal-solaris2*): Likewise. | |
7891 | (sparc-*-solaris2*): Likewise. | |
7892 | (sparclite-*-elf*): Likewise. | |
7893 | (sparc86x-*-elf*): Likewise. | |
7894 | (sparc64-*-elf*): Likewise. | |
bc9c2952 | 7895 | |
8433a25e RO |
7896 | * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to |
7897 | config/sol2.h. | |
7898 | (ASM_SPEC): Override config/sol2.h version for now. | |
7899 | Removed obsolete GAS_REJECTS_MINUS_S variant. | |
7900 | (WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h. | |
7901 | (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise. | |
7902 | (TARGET_OS_CPP_BUILTINS): Likewise. | |
7903 | Assert system=unix. | |
7904 | (CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC. | |
7905 | (LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to | |
7906 | config/sol2.h. | |
7907 | (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise. | |
7908 | (ASM_CPU_SPEC): Define. | |
7909 | (SUBTARGET_EXTRA_SPECS): Define. | |
bc9c2952 | 7910 | |
8433a25e RO |
7911 | * config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already |
7912 | in config/sparc/sol2.h. | |
7913 | (ASM_SPEC): Moved to config/sol2.h. | |
7914 | (CPP_CPU_SPEC): Simplified. | |
7915 | (STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for | |
7916 | consistency. | |
7917 | (STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC. | |
7918 | (STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC, | |
7919 | STARTFILE_ARCH64_SPEC. | |
7920 | (STARTFILE_SPEC): Moved to config/sol2.h | |
7921 | (SUBTARGET_EXTRA_SPECS): Add startfile_arch. | |
7922 | (LINK_ARCH32_SPEC): Moved to config/sol2.h. | |
7923 | (LINK_ARCH64_SPEC): Simplified. | |
7924 | (LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support. | |
7925 | (LINK_SPEC): Moved to config/sol2.h | |
bc9c2952 | 7926 | |
8433a25e RO |
7927 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to |
7928 | config/sol2.h. | |
7929 | Use BITS_PER_WORD for size. | |
7930 | (WINT_TYPE, WINT_TYPE_SIZE): Likewise. | |
7931 | (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise. | |
7932 | (CPP_PREDEFINES): Removed OS-specific part handled by | |
7933 | TARGET_OS_CPP_BUILTINS. | |
7934 | (CPP_SUBTARGET_SPEC): Moved to config/sol2.h. | |
7935 | (CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS. | |
7936 | (ASM_SPEC): Moved to config/sol2.h. | |
7937 | (PREFERRED_DEBUGGING_TYPE): Likewise. | |
7938 | (STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise. | |
7939 | (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise. | |
7940 | (TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version. | |
7941 | (TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h | |
bc9c2952 | 7942 | |
8433a25e RO |
7943 | * config.gcc (i?86-*-solaris2*): Removed obsolete gas support. |
7944 | * config/i386/sol2gas.h: Removed. | |
7945 | ||
b6bb1d56 JH |
7946 | Thu Jun 20 12:14:01 CEST 2002 Jan Hubicka <jh@suse.cz> |
7947 | ||
7948 | * i386.md (xorqi_1_slp, xorqi_2_slp): New patterns. | |
7949 | ||
e50b19ce | 7950 | 2002-06-16 Aldy Hernandez <aldyh@redhat.com> |
4e314d1f | 7951 | |
e50b19ce AH |
7952 | * gcc.c-torture/execute/simd-1.c: New. |
7953 | ||
7954 | * gcc.dg/simd-1.c: New. | |
7955 | ||
7956 | * doc/extend.texi (Vector Extensions): Document that we can | |
7957 | specify simd types not specifically supported by the hardware. | |
7958 | Document that simd types can be used as function arguments. | |
7959 | Document that signness does make a difference in SIMD types. | |
7960 | Misc cleanups and revisions to the vector extensions section. | |
7961 | ||
7962 | * simplify-rtx.c (simplify_subreg): Simplify subregs of vector | |
7963 | constants. | |
7964 | ||
7965 | * expr.c (vector_mode_valid_p): New. | |
7966 | ||
7967 | * expr.h: Add vector_mode_valid_p. | |
7968 | ||
7969 | * defaults.h (VECTOR_MODE_SUPPORTED_P): Set default. | |
7970 | ||
7971 | * c-common.c (type_for_mode): Always build vector nodes regardless | |
7972 | of VECTOR_MODE_SUPPORTED_P. | |
7973 | (handle_mode_attribute): Error if we can't emulate a nonexisting | |
7974 | vector mode. | |
7975 | (handle_vector_size_attribute): Same. | |
7976 | ||
7977 | * optabs.c (expand_binop): Open-code vector operations. | |
7978 | (expand_unop): Open-code vector unops. | |
7979 | (expand_vector_binop): New. | |
7980 | (expand_vector_unop): New. | |
4e314d1f | 7981 | |
e50b19ce AH |
7982 | * c-typeck.c (build_binary_op): Allow vectors in binops. |
7983 | Allow vectors in conditional operatiors. | |
7984 | (build_unary_op): Allow vectors in unary minus. | |
7985 | ||
7986 | * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on | |
7987 | TARGET_ALTIVEC. | |
7988 | ||
74d86f4f RH |
7989 | 2002-05-20 Richard Henderson <rth@redhat.com> |
7990 | ||
7991 | * c-common.c (c_common_get_alias_set): Correctly handle characters. | |
7992 | Rearrange order of expressions; don't handle vectors here. | |
7993 | * alias.c (get_alias_set): Let vectors match their components. | |
7994 | ||
1867b624 CD |
7995 | 2002-06-19 Chris Demetriou <cgd@broadcom.com> |
7996 | ||
6c535c69 | 7997 | * config/mips/mips.c (mips_emit_prefetch): Use hints which |
1867b624 CD |
7998 | match desired locality. |
7999 | ||
2c1d2fcb DD |
8000 | 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
8001 | ||
8002 | * config/h8300/h8300.c (TARGET_INSERT_ATTRIBUTES): Define. | |
8003 | (h8300_insert_attributes): New. | |
8004 | ||
84d901be AD |
8005 | 2002-06-19 Akim Demaille <akim@epita.fr> |
8006 | ||
8007 | * c-parse.in (initelt: identifier ':' initval): Add an empty | |
8008 | action to fix a type clash. | |
8009 | (aliasdecl, classdef): Add the missing closing `;'. | |
8010 | Whitespace changes. | |
8011 | * gengtype-yacc.y (typedef_struct): Add an empty action to preevnt | |
8012 | $$ = $1 type clashes. | |
8013 | ||
8f2e3902 EC |
8014 | 2002-06-19 Eric Christopher <echristo@redhat.com> |
8015 | ||
8016 | * config/mips/mips.c (symbol_operand): New function. | |
8017 | (mips_emit_prefetch): Ditto. | |
8018 | * config/mips/mips-protos.h: Define. | |
8019 | * config/mips/mips.h (ISA_HAS_PREFETCH): Define. | |
8020 | (CONSTANT_ADDRESS_P): Adjust, use TARGET_GAS. | |
8021 | (LEGITIMIZE_ADDRESS): Ditto. | |
8022 | * config/mips/mips.md (prefetch, prefetch_si_address, | |
8023 | prefetch_si, prefetch_di_address, prefetch_di): New patterns. | |
8024 | ||
c894819c EC |
8025 | 2002-06-19 Eric Christopher <echristo@redhat.com> |
8026 | ||
8027 | * config/fp-bit.h: Add unordered defines for gofast. | |
8028 | ||
4005971c VM |
8029 | 2002-06-19 Vladimir Makarov <vmakarov@redhat.com> |
8030 | ||
8031 | * genautomata.c (DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, | |
8032 | DECL_EXCL, DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV, | |
8033 | DECL_INSN_RESERV, REGEXP_UNIT, REGEXP_RESERV, REGEXP_SEQUENCE, | |
8034 | REGEXP_REPEAT, REGEXP_ALLOF, REGEXP_ONEOF): New macros with | |
8035 | checking and without it. | |
8036 | (decl_name, decl_mode_check_failed, regexp_name, | |
8037 | regexp_mode_check_failed): New functions. | |
8038 | (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set, | |
8039 | gen_presence_set, gen_absence_set, gen_automaton, | |
8040 | gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof, | |
8041 | gen_regexp_sequence, gen_reserv, gen_insn_reserv, | |
8042 | automaton_decl_hash, automaton_decl_eq_p): Use the macros. | |
8043 | (find_automaton_decl): Ditto. Set up mode of work_automaton_decl. | |
8044 | (insn_decl_hash, insn_decl_hash, insn_decl_eq_p): Use the macros. | |
8045 | (find_insn_decl): Ditto. Set up mode of work_insn_decl. | |
8046 | (decl_hash, decl_eq_p): Use the macros. | |
8047 | (find_decl): Ditto. Set up mode of work_decl. | |
8048 | (process_excls, process_presence_absence, process_decls, | |
8049 | check_automaton_usage, process_regexp, process_regexp_decls, | |
8050 | check_usage, loop_in_regexp, check_loops_in_regexps, | |
8051 | process_regexp_cycles, add_advance_cycle_insn_decl, | |
8052 | initiate_states, initiate_excl_sets, | |
8053 | initiate_presence_absence_sets, copy_insn_regexp, transform_1, | |
8054 | transform_2): Use the macros. | |
8055 | (transform_3): Ditto. Check mode before making transformations of | |
8056 | ALLOF. | |
8057 | (regexp_transform_func, transform_insn_regexps, | |
8058 | process_unit_to_form_the_same_automaton_unit_lists, | |
8059 | form_the_same_automaton_unit_lists_from_regexp, | |
8060 | form_the_same_automaton_unit_lists, | |
8061 | process_seq_for_forming_states, process_alts_for_forming_states, | |
8062 | create_alt_states, form_ainsn_with_same_reservs, make_automaton, | |
8063 | form_arcs_marked_by_insn, NDFA_to_DFA, set_new_cycle_flags, | |
8064 | estimate_one_automaton_bound, compare_max_occ_cycle_nums, | |
8065 | units_to_automata_heuristic_distr, create_ainsns, | |
8066 | units_to_automata_distr, create_automata): Use the macros. | |
8067 | (form_regexp): Ditto. Fix typo in access to fields of ALLOF. | |
8068 | (longest_path_length, min_issue_delay_pass_states, | |
8069 | output_dead_lock_vect, output_tables, output_insn_code_cases, | |
8070 | output_internal_insn_latency_func, output_print_reservation_func, | |
8071 | output_description, output_automaton_units, generate): Use the | |
8072 | macros. | |
8073 | (make_insn_alts_attr): Ditto. Check case when there are not | |
8074 | alternatives in the reservation. | |
8075 | (make_internal_dfa_insn_code_attr, make_default_insn_latency_attr, | |
8076 | make_bypass_attr, form_important_insn_automata_lists, | |
8077 | expand_automata): Use the macros. | |
c894819c | 8078 | |
015089dd TJ |
8079 | 2002-06-20 Tim Josling <tej@melbpc.org.au> |
8080 | ||
8081 | * Makefile.in: Clean up code to check for misspecified languages | |
8082 | in enable-languages. | |
8083 | ||
7999462c AP |
8084 | 2002-06-19 Andrew Pinski <pinskia@physics.uc.edu> |
8085 | ||
84d901be | 8086 | * cpptrad.c (_cpp_replacement_text_len): initialize len. |
7999462c | 8087 | |
9c8d079c JM |
8088 | 2002-06-19 Jason Merrill <jason@redhat.com> |
8089 | ||
8090 | * Makefile.in (unstrap, restrap): New targets. | |
8091 | (bootstrap): Mention restrap. | |
8092 | ||
d90a95fb MK |
8093 | 2002-06-19 Matt Kraai <kraai@alumni.cmu.edu> |
8094 | ||
8095 | * except.c (ehl_free): Remove. | |
8096 | ||
8097 | * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Correct misnamings of | |
8098 | builtin_define and builtin_define_std. | |
8099 | ||
f01a0d8d ID |
8100 | 2002-06-19 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
8101 | ||
8102 | * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's. | |
8103 | (sCOND): Restrict operand class so that gcc knows how to reload them. | |
8104 | (bitfield_set): Merge two unnamed insn's using alternatives. | |
8105 | (call_value): Remove constraint on unused uperand. | |
8106 | (udivmodhi4, udivmodsi4, udivmoddihi4_internal): Remove. | |
8107 | (udivmoddiqi4_internal, udivmoddihi4, udivmoddiqi4): Remove. | |
c894819c | 8108 | |
f01a0d8d ID |
8109 | * longlong.h (count_trailing_zeros): Escape newline and beautify. |
8110 | ||
62363d99 MM |
8111 | 2002-06-19 Mark Mitchell <mark@codesourcery.com> |
8112 | ||
8113 | * Makefile.in (QMTEST_DIR): Simplify definition. | |
8114 | ||
099bd656 NC |
8115 | 2002-06-19 Nick Clifton <nickc@cambridge.redhat.com> |
8116 | ||
8117 | * config/d30v/d30v.h (CUMULATIVE_ARGS): Replace typedef with | |
8118 | #define. | |
8119 | ||
278c4662 NB |
8120 | 2002-06-19 Neil Booth <neil@daikokuya.co.uk> |
8121 | ||
8122 | * cpphash.h (struct cpp_reader): Make date and time strings. | |
8123 | (_cpp_builtin_macro_text, _cpp_copy_replacement_text, | |
8124 | _cpp_replacement_text_len): New. | |
8125 | * cppinit.c (cpp_create_reader): Update. | |
8126 | (init_builtins): Register appropriate builtins for -traditional-cpp. | |
8127 | * cppmacro.c (new_number_token): Remove. | |
8128 | (_cpp_builtin_macro_text): New. | |
8129 | (builtin_macro): Use it. | |
8130 | (cpp_macro_definition): Update to handle traditional macros. | |
8131 | * cppmain.c (cb_line_change): Don't do column positioning for | |
8132 | traditional output. | |
8133 | * cpptrad.c (enum ls): Rename ls_fun_macro to ls_fun_open. New | |
8134 | state ls_fun_close. | |
8135 | (skip_whitespace): Fix. | |
8136 | (maybe_start_funlike): Don't set state.parsing_args. | |
8137 | (scan_out_logical_line): Remove duplicate error. Use lex_state | |
8138 | rather than state.parsing_args. | |
8139 | (push_replacement_text): Handle builtins. | |
8140 | (_cpp_replacement_text_len, _cpp_copy_replacement_text): New. | |
8141 | ||
afd1930f | 8142 | 2002-06-18 Hans-Peter Nilsson <hp@axis.com> |
f01a0d8d | 8143 | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
afd1930f HPN |
8144 | |
8145 | * config/fp-bit.c (_fpmul_parts, _fpdiv_parts): Mark with | |
8146 | attribute __always_inline__. | |
8147 | ||
5ee924c2 BW |
8148 | 2002-06-18 Bob Wilson <bob.wilson@acm.org> |
8149 | ||
8150 | * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic | |
8151 | when generating the call to _mcount. | |
8152 | (NO_PROFILE_COUNTERS): Define. | |
8153 | ||
32c36ac8 RH |
8154 | 2002-06-18 Richard Henderson <rth@redhat.com> |
8155 | ||
8156 | * print-rtl.c (print_rtx): Adjust NOTE argument numbers for | |
8157 | 2002-06-02 change. | |
8158 | ||
c985dc5e R |
8159 | Tue Jun 18 20:53:32 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8160 | ||
8161 | * t-sh (MULTILIB_EXCEPTIONS): Set to ml. | |
8162 | config/sh/t-linux (MULTILIB_EXCEPTIONS): Clear. | |
8163 | * config/sh/t-netbsd (MULTILIB_EXCEPTIONS): Likewise. | |
8164 | * config/sh/t-sh64 (MULTILIB_EXCEPTIONS): Likewise. | |
e3ba8d11 R |
8165 | |
8166 | * sh-protos.h (sh_pr_interrupt): Declare. | |
8167 | * sh.c (sh_pr_interrupt): New function. | |
8168 | (print_operand, calc_live_regs, sh_expand_prologue): Use it. | |
8169 | (sh_hard_regno_rename_ok): Likewise. | |
8170 | * sh.h (NORMAL_MODE): FP_MODE_NONE for interupt handlers. | |
8171 | ||
e3c8eb86 VM |
8172 | 2002-06-18 Vladimir Makarov <vmakarov@redhat.com> |
8173 | ||
8174 | * rtl.def (DEFINE_AUTOMATON): Add description of new options | |
8175 | `time' and `v'. Fix incorrect description of option `w'. | |
8176 | ||
8177 | * doc/md.texi: Ditto. | |
8178 | ||
8179 | * genautomata.c (TIME_OPTION, V_OPTION): New macros. | |
8180 | (gen_automata_option): Process the new options. | |
8181 | (transform_2, transform_3): Initialize some variables. | |
8182 | (initiate_automaton_gen): Use the new macros. | |
c894819c | 8183 | |
b2471838 RS |
8184 | 2002-06-18 Richard Sandiford <rsandifo@redhat.com> |
8185 | ||
8186 | * config/mips/mips-protos.h (mips_initial_elimination_offset): Declare. | |
8187 | (mips_set_return_address, mips_restore_gp): Declare. | |
8188 | * config/mips/mips.h (struct mips_frame_info): Move to mips.c | |
8189 | (current_frame_info): Remove. | |
8190 | (INITIAL_ELIMINATION_OFFSET): Use mips_initial_elimination_offset. | |
8191 | * config/mips/mips.c: Remove uses of current_frame_info. | |
8192 | (struct mips_frame_info): Moved from mips.h. Remove 'insns_len'. | |
8193 | (struct machine_function): Add 'frame' and 'insns_len'. | |
8194 | (current_frame_info, zero_frame_info): Remove. | |
8195 | (mips_restore_gp, mips_set_return_address): New. | |
8196 | (mips_initial_elimination_offset): New. | |
8197 | * config/mips/mips.md (exception_receiver): Use mips_restore_gp. | |
8198 | (eh_return define_split): Use mips_set_return_address. | |
8199 | ||
d97371e0 NB |
8200 | 2002-06-18 Neil Booth <neil@daikokuya.demon.co.uk> |
8201 | ||
8202 | * cpplib.c (dtable): Update. | |
8203 | (end_directive): Decrement expansion prevention count. | |
8204 | Clear state.in_expression. | |
8205 | (prepare_directive_trad): Set state.in_expression. | |
8206 | Increment expansion prevention count. | |
8207 | * cpptrad.c (enum ls): New. | |
8208 | (_cpp_overlay_buffer): Set overlaid_buffer. | |
8209 | (_cpp_remove_overlay): Use overlaid_buffer. | |
8210 | (_cpp_read_logcial_line_trad): Update buffer when it might | |
8211 | have changed. | |
8212 | (scan_out_logical_line): Handle state transitions for assertions | |
8213 | and defined() in #if, and for funlike invocations including the | |
8214 | directive case. Handle '<' and '>' as a quote mechanism in | |
8215 | #include. Warn about unterminated macro invocations. | |
8216 | * cpphash.h (struct lexer_state): New member in_expression. | |
8217 | (struct cpp_reader): New member overlaid buffer. | |
8218 | ||
807b20b0 HPN |
8219 | 2002-06-18 Hans-Peter Nilsson <hp@axis.com> |
8220 | ||
8221 | * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype | |
8222 | __always_inline__. | |
8223 | ||
8a09a7e5 AM |
8224 | 2002-06-18 Alan Modra <amodra@bigpond.net.au> |
8225 | ||
147d5f6f AM |
8226 | * config/ia64/ia64.md (doloop_end_internal): Correct rtl. |
8227 | ||
8a09a7e5 AM |
8228 | * doloop.c (doloop_optimize): Extract pattern from insn. |
8229 | ||
390de769 MK |
8230 | 2002-06-17 Matt Kraai <kraai@alumni.cmu.edu> |
8231 | ||
8232 | * doc/extend.texi (Function Attributes): Remove `,...' from @var. | |
8233 | ||
0ed4a390 | 8234 | 2002-06-17 Jeff Law <law@redhat.com> |
912ce297 JL |
8235 | |
8236 | * libgcc2.c: Do not include symcat.h or machmode.h. | |
8237 | ||
5c45425b RH |
8238 | 2002-06-17 Richard Henderson <rth@redhat.com> |
8239 | ||
8240 | PR target/6922 | |
8241 | * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND. | |
8242 | ||
9aa497ae TT |
8243 | 2002-06-17 Tom Tromey <tromey@redhat.com> |
8244 | ||
8245 | * dwarfout.c: Include function.h. | |
8246 | ||
7f11f1f9 AS |
8247 | 2002-06-17 Andreas Schwab <schwab@suse.de> |
8248 | ||
8249 | * print-rtl.c (print_rtx): Print space before vector, not after. | |
8250 | (debug_rtx): Clear sawclose before printing. | |
8251 | (debug_rtx_list): Print newline after each list element. | |
8252 | (debug_rtx_range): Likewise. | |
8253 | ||
df696a75 RH |
8254 | 2002-06-17 Richard Henderson <rth@redhat.com> |
8255 | ||
8256 | * function.h (struct function) [funcdef_no]: Rename profile_label_no. | |
8257 | (current_function_funcdef_no): Similarly. | |
8258 | * function.c (funcdef_no): Similarly. | |
8259 | (prepare_function_start): Set current_function_funcdef_no. | |
8260 | (expand_function_start): Don't set current_function_profile_label_no. | |
8261 | * dwarf2out.h (current_funcdef_number): Remove. | |
8262 | * dwarf2out.c (current_funcdef_number): Remove. Replace with | |
8263 | current_function_funcdef_no throughout. | |
8264 | * dwarfout.c, vmsdbgout.c: Similarly. | |
8265 | * except.c (sjlj_funcdef_number): Remove. | |
8266 | (sjlj_emit_function_enter): Use current_function_funcdef_no instead. | |
8267 | (output_function_exception_table): Likewise. | |
8268 | * final.c (profile_function): Use current_function_funcdef_no | |
8269 | instead of current_function_profile_label_no. | |
8270 | ||
97272202 VM |
8271 | 2002-06-17 Vladimir Makarov <vmakarov@redhat.com> |
8272 | ||
8273 | * sched-ebb.c (init_ready_list): Check INSN_P first. | |
8274 | ||
8bccce2d R |
8275 | Mon Jun 17 17:26:15 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8276 | ||
8277 | * sh.md (divsi3): Update way how to find insns in a sequence. | |
dec0798e R |
8278 | |
8279 | * reload1.c (merge_assigned_reloads): Don't change reloads | |
8280 | other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS | |
8281 | to RELOAD_OTHER when there are conflicting input reloads. | |
8282 | ||
0af5c896 RE |
8283 | 2002-06-17 Richard Earnshaw (rearnsha@arm.com) |
8284 | ||
8285 | * function.c (epilogue_done): Correctly build a sequence of insns for | |
8286 | a sibcall epilogue. | |
8287 | ||
9d0fa9d6 NC |
8288 | 2002-06-17 Nick Clifton <nickc@cambridge.redhat.com> |
8289 | ||
845b1456 NC |
8290 | * config/fr30/fr30.h (CUMULATIVE_ARGS): Replace typedef with |
8291 | #define. | |
8292 | ||
9d0fa9d6 NC |
8293 | * config/m32r/m32r.md: Replace gen_sequence with get_insns. |
8294 | ||
e83f3cff RH |
8295 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8296 | ||
8297 | * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead | |
8298 | of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. | |
8299 | ||
caecc099 RH |
8300 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8301 | ||
8302 | PR opt/6722 | |
8303 | * regclass.c (globalize_reg): Update regs_invalidated_by_call. | |
8304 | ||
3d05b15f NB |
8305 | 2002-06-16 Neil Booth <neil@daikokuya.demon.co.uk> |
8306 | ||
caecc099 RH |
8307 | * config.gcc: Add i386/sysv4-cpp.h; remove i386-aout.h from vxworks. |
8308 | * config/i386/i386-aout.h, config/i386/i386elf.h, | |
8309 | config/i386/sysv4.h: Remove CPP_PREDEFINES. | |
8310 | * config/i386/linux64.h, config/i386/i386elf.h, config/i386/mach.h, | |
8311 | config/i386/netware.h, config/i386/rtemself.h, config/i386/sco5.h, | |
8312 | config/i386/sol2.h, config/i386/vsta.h, config/i386/vxi386.h, | |
8313 | config/i386/win32.h: Use TARGET_OS_CPP_BUILTINS rather than | |
3d05b15f | 8314 | CPP_PREDEFINES and part of CPP_SPEC. |
caecc099 | 8315 | * config/i386/sysv4-cpp.h: New. |
3d05b15f | 8316 | |
8370aa3a RH |
8317 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8318 | ||
65a90f3c | 8319 | PR c/7030 |
8370aa3a RH |
8320 | * dwarf2out.c (modified_type_die): Don't assign the qualified die |
8321 | to the unqualified type. | |
8322 | ||
e932b21b JH |
8323 | Sun Jun 16 22:16:10 CEST 2002 Jan Hubicka <jh@suse.cz> |
8324 | ||
8325 | * i386-protos.h (x86_field_alignment): Declare. | |
8326 | * i386.c (x86_field_alignment): Define. | |
8327 | * i386.h (ADJUST_FIELD_ALIGNMENT): New. | |
8328 | (BIGGEST_FIELD_ALIGNMENT): Kill. | |
8329 | ||
7ee02381 RH |
8330 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8331 | ||
f01a0d8d | 8332 | * vax.md (casesi): Use emit_jump_insn. Tidy expander pattern. |
7ee02381 | 8333 | |
750491fc RH |
8334 | 2002-06-16 Richard Henderson <rth@redhat.com> |
8335 | ||
8336 | * c-common.c (flag_ms_extensions): Move from c++ front end. | |
8337 | * c-common.h (flag_ms_extensions): Declare. | |
8338 | * c-decl.c (c_decode_option): Add -fms-extensions. | |
8339 | (grokfield): Don't accept anonymous structures in ISO C mode; | |
8340 | accept only unnamed anonymous structures in GNU C mode; accept | |
8341 | Plan 9 extensions in MS mode. | |
8342 | * c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from | |
8343 | SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all callers. | |
8344 | (extension): Clear flag_iso. | |
8345 | * doc/invoke.texi (C Dialect Options): Add -fms-extensions. | |
8346 | ||
c134da6b HPN |
8347 | 2002-06-16 Hans-Peter Nilsson <hp@axis.com> |
8348 | ||
8349 | PR target/7042 | |
8350 | * reorg.c (make_return_insns) [DELAY_SLOTS_FOR_EPILOGUE]: Exit | |
8351 | early if current_function_epilogue_delay_list is non-empty. | |
8352 | * config/cris/cris.md ("return"): Add sanity check asserting that | |
8353 | current_function_epilogue_delay_list is empty. | |
8354 | ||
038c7976 JL |
8355 | 2002-06-16 Jeff Law <law@redhat.com> |
8356 | ||
006a94b0 JL |
8357 | * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic |
8358 | sharing of hard registers. | |
8359 | ||
8360 | * toplev.c (rest_of_compilation): Remove redundant conditional. | |
8361 | ||
038c7976 JL |
8362 | * toplev.c (rest_of_compilation): Perform a simpler, less costly |
8363 | cleanup of the CFG when not optimizing. | |
8364 | ||
0797741a AM |
8365 | 2002-06-16 Alan Modra <amodra@bigpond.net.au> |
8366 | ||
8367 | * gcc.c (main): Correct startfile_prefix_spec check. | |
8368 | ||
a6e2e53e GK |
8369 | 2002-06-12 Geoffrey Keating <geoffk@redhat.com> |
8370 | ||
8371 | * config.gcc: Revert rth's patch of 2002-05-18. Instead, | |
8372 | include both darwin.o and rs6000-c.o. | |
8373 | ||
129e0ee8 RS |
8374 | 2002-06-15 Roger Sayle <roger@eyesopen.com> |
8375 | ||
8376 | * expr.c (compare_from_rtx): Call simplify_relational_operation | |
8377 | on all comparisons, not just those between integer constants, | |
8378 | with the correct (possibly unsigned) comparison code. | |
8379 | (do_compare_rtx_and_jump): Likewise. | |
8380 | ||
d5355cb2 JDA |
8381 | 2002-06-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8382 | ||
8383 | * Makefile.in (tm_defines): New configuration variable. | |
8384 | (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES. | |
8385 | Pass tm_defines in TM_DEFINES. | |
8386 | (cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES. | |
8387 | * config.gcc (tm_defines): New configuration variable. | |
8388 | (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and | |
8389 | pa-7100.h headers. Change hppa1* scheduling default to 7100LC. | |
8390 | * configure.in: Substitute tm_defines. | |
8391 | * configure: Rebuilt. | |
8392 | * mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES. | |
8393 | * doc/install.texi: Update. | |
8394 | * pa/pa-700.h: Delete file. | |
8395 | * pa/pa-7100.h: Delete file. | |
8396 | ||
8dcb27ed RS |
8397 | 2002-06-15 Roger Sayle <roger@eyesopen.com> |
8398 | ||
8399 | * fold-const.c (comparison_to_compcode): New function to convert | |
8400 | an comparison TREE CODE into a bit-based representation. | |
8401 | (compcode_to_comparison): New function to convert from this bit | |
8402 | based representation back to a comparison TREE CODE. | |
8403 | (fold_truthop): Simplify (x<y) && (x==y) and related composite | |
8404 | comparisons. | |
8405 | ||
182e515e AH |
8406 | 2002-06-15 Aldy Hernandez <aldyh@redhat.com> |
8407 | ||
f01a0d8d | 8408 | * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument. |
182e515e | 8409 | |
f01a0d8d ID |
8410 | * stor-layout.c (compute_record_mode): Remove check for |
8411 | FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for | |
8412 | MEMBER_TYPE_FORCES_BLK. Pass new mode field to | |
8413 | MEMBER_TYPE_FORCES_BLK. | |
182e515e | 8414 | |
f01a0d8d | 8415 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same. |
182e515e | 8416 | |
f01a0d8d | 8417 | * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same. |
182e515e | 8418 | |
8773135d JS |
8419 | 2002-06-14 Jeff Sturm <jsturm@one-point.com> |
8420 | ||
8421 | * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. | |
8422 | ||
893a047c SE |
8423 | 2002-06-14 Steve Ellcey <sje@cup.hp.com> |
8424 | ||
8425 | * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set | |
8426 | USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set. | |
8427 | * configure, config.in: Regenerate. | |
8428 | ||
045d7161 EB |
8429 | 2002-06-14 Eric Botcazou <ebotcazou@multimania.com> |
8430 | ||
8431 | * loop.c (check_final_value): Use v->always_executed | |
8432 | instead of v->always_computable. | |
8433 | * unroll.c (final_giv_value): Don't calculate the final | |
8434 | value as a function of the biv if the giv is not computed | |
8435 | for every loop iteration. | |
8436 | ||
048c8616 | 8437 | 2002-06-14 Eric Botcazou <ebotcazou@multimania.com> |
c894819c | 8438 | |
048c8616 EB |
8439 | * loop.c (for_each_insn_in_loop): Fix formatting and comments. |
8440 | ||
43e4a9d8 EB |
8441 | 2002-06-14 Eric Botcazou <ebotcazou@multimania.com> |
8442 | ||
52689a98 | 8443 | PR c/6677 |
43e4a9d8 EB |
8444 | * convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass |
8445 | the truncation down when the target type is signed. | |
8446 | [trunc1]: Use unsigned arithmetic for LSHIFT_EXPR. | |
8447 | * fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through | |
8448 | the conversion if the target type is a smaller type. | |
8449 | ||
fa4a5557 RH |
8450 | 2002-06-14 Richard Henderson <rth@redhat.com> |
8451 | ||
8452 | * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation | |
8453 | earlier. Re-factor comparisons vs extrema. | |
8454 | ||
d95eb49f RH |
8455 | 2002-06-14 Richard Henderson <rth@redhat.com> |
8456 | ||
8457 | * config/alpha/alpha.md (builtin_zapnot): Fix op2 mode. | |
8458 | ||
be202ec2 FS |
8459 | 2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
8460 | ||
8461 | * rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE. | |
8462 | * sched-deps.c (add_dependence): Likewise. | |
8463 | (group_leader): Likewise. | |
8464 | * sched-rgn.c (init_ready_list): Likewise. | |
8465 | * doc/rtl.texi: Adjust accordingly. | |
8466 | ||
e56c4463 JL |
8467 | 2002-06-13 Jeffrey Law <law@redhat.com> |
8468 | ||
99a15921 JL |
8469 | * gcse.c (delete_null_pointer_checks_1): Inform caller if any |
8470 | null pointer checks were eliminated. Update prototype. | |
8471 | (delete_null_pointer_checks): Similarly. | |
8472 | * rtl.h (delete_null_pointer_checks): Update prototype. | |
8473 | * toplev.c (rest_of_compilation): Only run cleanup_cfg if | |
8474 | delete_null_pointer_checks deletes one or more null | |
8475 | pointer checks. Do not run cleanup_cfg before gcse, the | |
8476 | CFG is accurate and optimized at that point.. | |
8477 | ||
e56c4463 JL |
8478 | * rs6000.c (rs6000_frame_related): Avoid unwanted sharing |
8479 | of hard registers. | |
8480 | ||
556b821e UW |
8481 | 2002-06-14 Ulrich Weigand <uweigand@de.ibm.com> |
8482 | ||
8483 | * Makefile.in (libgcc.mk): Depend on specs. | |
8484 | ||
fa60f36d R |
8485 | Fri Jun 14 12:15:11 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8486 | ||
8487 | * sh.md (mulsi3): Update way how to find insns in a sequence. | |
8488 | ||
03b8ec29 DD |
8489 | Fri Jun 14 12:04:02 2002 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
8490 | ||
8491 | * sh.h: Define HARD_REGNO_RENAME_OK | |
8492 | * sh.c: sh_hard_regno_rename_ok: New. If current function has | |
8493 | interrupt_handler attribute, only registers saved on stack are OK. | |
8494 | * sh-protos.h: Declare sh_hard_regno_rename_ok. | |
8495 | ||
8e831557 KK |
8496 | 2002-06-14 Kaz Kojima <kkojima@gcc.gnu.org> |
8497 | ||
8498 | * config/sh/sh.md (jump): Emit jump insn. | |
8499 | (call_pcrel): Get pattern of the result of gen_call_site. | |
8500 | (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise. | |
8501 | ||
bf9d5852 NB |
8502 | 2002-06-14 Neil Booth <neil@daikokuya.demon.co.uk> |
8503 | ||
8504 | * cpphash.h (struct cpp_buffer): Remove saved_line_base. | |
8505 | * cpptrad.c: Update comments. | |
8506 | (skip_whitespace, copy_comment): Take a new parameter. | |
8507 | (skip_escaped_newlines): Don't duplicate escaped newline test. | |
8508 | (copy_comment): Different location for CUR, decide here how | |
8509 | to copy / replace the comment. | |
8510 | (skip_whitespace): Copy whitespace. | |
8511 | (_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base. | |
8512 | (scan_out_logical_line): Let copy comment handle keeping or | |
8513 | replacing comments. | |
8514 | (scan_parameters, _cpp_create_trad_definition): Update. | |
8515 | ||
57292ec3 AL |
8516 | 2002-06-13 Alan Lehotsky <apl@alum.mit.edu> |
8517 | ||
8518 | * reload.c (get_secondary_mem,find_reloads_address, | |
8519 | find_reloads_address_1): Pass reference to MEM to find_reloads_address | |
8520 | so that LEGITIMIZE_RELOAD_ADDRESS will be called. | |
c894819c | 8521 | |
a6f5e048 RH |
8522 | 2002-06-13 Jessica Han <jessica@cup.hp.com> |
8523 | ||
8524 | * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New. | |
8525 | (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New. | |
8526 | * doc/tm.texi: Document them. | |
8527 | * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New. | |
8528 | (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New. | |
8529 | (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode. | |
8530 | (ASM_OUTPUT_FDESC): Likewise. | |
8531 | ||
3aafa0bb EC |
8532 | 2002-06-13 Eric Christopher <echristo@redhat.com> |
8533 | ||
8534 | * diagnostic.c (output_format): Fix thinko. | |
8535 | ||
8e581963 R |
8536 | Thu Jun 13 22:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8537 | ||
8538 | * config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define. | |
8539 | (DWARF2_UNWIND_INFO): Define to 0. | |
9d7ed806 R |
8540 | |
8541 | * config/sh/sh.c (calc_live_regs): Don't use initial_value | |
8542 | optimization for PR_MEDIA_REG. | |
8543 | ||
b66377c1 NB |
8544 | 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8545 | ||
8546 | * cpphash.h (_cpp_lex_identifier_trad): Remove. | |
8547 | * cpplib.c (end_directive): Don't skip, always remove overlay | |
8548 | apart from #define. | |
8549 | (prepare_directive_trad): Handle NULL pfile->directive. | |
8550 | (_cpp_handle_directive): Always call prepare_directive_trad | |
8551 | if traditional. | |
8552 | * cppmain.c (check_multiline_token): Rename account_for_newlines, | |
8553 | generalize inputs. | |
8554 | (scan_translation_unit_trad): Use it. | |
8555 | * cpptrad.c (skip_comment): Rename copy_comment, copy comment to | |
8556 | output, get escaped newline in comment close correct. | |
8557 | (check_output_buffer, skip_whitespace): Update. | |
8558 | (_cpp_lex_identifier_trad): Remove. | |
8559 | (scan_out_logical_line): Handle -C and comments in directives | |
8560 | properly. | |
8561 | ||
8bc6e101 R |
8562 | Thu Jun 13 20:18:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
8563 | ||
8564 | * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*. | |
8565 | * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. | |
8566 | * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros. | |
8567 | (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise. | |
8568 | (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise. | |
8569 | (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise. | |
8570 | (SELECT_SH5_COMPACT_NOFPU): Likewise. | |
8571 | (TARGET_SWITCHES): Use them. | |
8572 | (TARGET_CPU_DEFAULT): Define if not already defined. | |
8573 | (TARGET_DEFAULT): Use it. | |
8574 | (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT. | |
8575 | * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN. | |
8576 | * config/sh/t-monolib: New file. | |
8577 | ||
2181005d RS |
8578 | 2002-06-13 Roger Sayle <roger@eyesopen.com> |
8579 | ||
8580 | * toplev.c (rest_of_compilation): Simplify (and correct) the | |
8581 | logic of the first delete-null-pointer-checks pass. | |
8582 | ||
aaae0bb9 JH |
8583 | Thu Jun 13 18:24:17 CEST 2002 Jan Hubicka <jh@suse.cz> |
8584 | ||
8585 | * i386.c (ix86_expand_movstr): Fix pasto. | |
8586 | ||
8587 | Thu Jun 13 18:18:17 CEST 2002 Jan Hubicka <jh@suse.cz> | |
b80cb6e2 JH |
8588 | |
8589 | * reload.c (find_valid_class): Fix thinko in my previous patch. | |
8590 | ||
dd3fbd93 UW |
8591 | 2002-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
8592 | ||
8593 | * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro. | |
8594 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro. | |
8595 | (CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove. | |
8596 | (EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64. | |
8597 | ||
0d0f605c GDR |
8598 | 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com> |
8599 | ||
8600 | * tree-inline.c (expand_call_inline): Don' mess with _DECL | |
3aafa0bb | 8601 | fields. |
0d0f605c | 8602 | |
c92bcccb GDR |
8603 | 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com> |
8604 | ||
8605 | * diagnostic.c (output_format): Recognize "%H" as a format | |
8606 | specifier for a location_t. | |
8607 | (text_specifies_location): New function. | |
8608 | (diagnostic_set_info): Use it. | |
8609 | ||
7f243674 JL |
8610 | 2002-06-13 Jeffrey Law <law@redhat.com> |
8611 | ||
6cde4876 JL |
8612 | * emit-rtl.c (static_regno_reg_rtx): Define. |
8613 | (init_emit_once): Initialize static_regno_reg_rtx. | |
8614 | (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead | |
8615 | of building new hard reg objects once per function. | |
8616 | (gen_rtx_REG): Try to share hard regs. | |
8617 | * regclass.c (init_fake_stack_mems): New function broken out from | |
8618 | init_regs. | |
8619 | * rtl.h (init_fake_stack_mems): Declare. | |
8620 | * toplev.c (lang_independent_init): Call init_regs before | |
8621 | init_emit_once. Call init_fake_stack_mems after init_emit_once. | |
8622 | ||
110b3faa JL |
8623 | * i386.md (extenddfxf2, extenddftf2): Fix typo/thinko. |
8624 | ||
7f243674 JL |
8625 | * alias.c (argument_registers): Remove. |
8626 | (init_alias_once): Initialize static_reg_base_value here. Remove | |
8627 | initialization of argument_registers. | |
8628 | (init_alias_once_per_function): Remove. | |
8629 | (init_alias_analysis): Copy all the entries from static_reg_base_value | |
8630 | into new_reg_base_value all at once. | |
8631 | * rtl.h (init_alias_once_per_function): Remove declaration. | |
8632 | * function.c (prepare_function_start): Do not call | |
8633 | init_alias_once_per_function. | |
8634 | ||
8635 | * caller-save.c (init_caller_save): Use gen_rtx_INSN instead of | |
8636 | starting a sequence and emitting an INSN. | |
8637 | ||
a336f2e5 RS |
8638 | 2002-06-13 Richard Sandiford <rsandifo@redhat.com> |
8639 | ||
8640 | * config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case. | |
8641 | ||
2acf0fa9 DM |
8642 | 2002-06-13 David S. Miller <davem@redhat.com> |
8643 | ||
8644 | * expmed.c (init_expmed): Remove duplicate init of 'reg'. | |
8645 | ||
974c43f1 NB |
8646 | 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8647 | ||
8648 | * cpplib.c (end_directive): Handle line skipping. Only remove | |
8649 | the rest of the line if the directive was valid. | |
8650 | * cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when | |
8651 | expanding a traditional macro. | |
8652 | * cpptrad.c (recursive_macro): New. | |
8653 | (read_logical_line_trad): Handle skipping. | |
8654 | (scan_out_logical_line): Continue after a successful directive. | |
8655 | Don't expand macros whilst skipping, or if recursing. | |
8656 | (_cpp_create_trad_definition): scan_out_logical_line now sets | |
8657 | the output current position. | |
8658 | ||
12bf26b6 EC |
8659 | 2002-06-12 Eric Christopher <echristo@redhat.com> |
8660 | ||
8661 | From Chris Demetriou <cgd@broadcom.com> | |
8662 | * config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix | |
8663 | comment. | |
8664 | (ISA_HAS_MADD_MSUB): Ditto. | |
8665 | (ISA_HAS_NMADD_NMSUB): Ditto. | |
8666 | ||
be95b8a5 EC |
8667 | 2002-06-12 Eric Christopher <echristo@redhat.com> |
8668 | ||
8669 | * config.gcc: Consolidate little endian handling and | |
8670 | little/big endian targets. | |
8671 | * config/mips/elfl.h: Remove file. | |
8672 | * config/mips/elfl64.h: Ditto. | |
8673 | * config/mips/ecoffl.h: Ditto. | |
8674 | * config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove. | |
8675 | ||
e03856fe GK |
8676 | 2002-06-12 Geoffrey Keating <geoffk@redhat.com> |
8677 | ||
8678 | * gengtype.h (xvasprintf): New prototype. | |
8679 | (xasprintf): New prototype. | |
8680 | (struct outf): New. | |
8681 | (get_output_file): Return an outf_p. | |
8682 | (header_file): Is now an outf_p. | |
8683 | (base_files): Now are outf_p. | |
8684 | (oprintf): New. | |
8685 | * gengtype.c: Replace all output FILE * with outf_p; use oprintf | |
8686 | rather than stdio operations. Use xasprintf in a few places, | |
8687 | when appropriate. | |
8688 | (xvasprintf): New. | |
8689 | (xasprintf): New. | |
8690 | (struct filemap): Delete. | |
8691 | (files): Delete. | |
8692 | (output_files): New. | |
8693 | (oprintf): New. | |
8694 | (create_file): Create an outf_p. Add parameter to indicate output | |
8695 | file name, change all callers. | |
8696 | (open_base_files): Create gtype-desc.c here. | |
8697 | (get_output_file_with_visibility): Rewrite. | |
8698 | (get_output_file_name): Just look at 'name' field in struct outf. | |
8699 | (close_output_files): Rewrite. | |
8700 | ||
ec01703c JT |
8701 | 2002-06-12 Jason Thorpe <thorpej@wasabisystems.com> |
8702 | ||
8703 | * config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT) | |
be95b8a5 | 8704 | (MASK_G_FLOAT): Define. |
ec01703c JT |
8705 | (TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them. |
8706 | (TARGET_SWITCHES): Likewise. | |
8707 | (TARGET_DEFAULT): Likewise. | |
8708 | ||
8b0397a6 DJ |
8709 | 2002-06-12 Daniel Jacobowitz <drow@mvista.com> |
8710 | ||
8711 | * config/mips/elf.h (DWARF2_DEBUG_INFO): Define. | |
8712 | * config/mips/mips.c (mips_output_filename): Don't print a | |
8713 | ".file" directive if we are using DWARF-2. | |
8714 | (mips_output_function_prologue): Do not emit source file | |
8715 | name for TARGET_GAS. | |
8716 | ||
495333a6 JH |
8717 | Wed Jun 12 16:45:13 CEST 2002 Jan Hubicka <jh@suse.cz> |
8718 | ||
8719 | * i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to | |
8720 | decide whether emit the short opcode. | |
8721 | * i386.h (x86_shift1): Declare. | |
8722 | (TARGET_SHIFT1): New macro. | |
8723 | * i386.c (x86_shift1): New global variable. | |
8724 | ||
8b0397a6 DJ |
8725 | * toplev.c (rest_of_compilation): Call find_basic_block pre-loop |
8726 | unconditionally; make loop to rebuild CFG; kill unnecesary | |
8727 | find_basic_block calls; kill compute_bb_for_insn call. | |
495333a6 JH |
8728 | * cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call. |
8729 | * haifa-sched.c (sched_init): Likewise. | |
8730 | * ssa-ccp.c (ssa_const_prop): Likewise. | |
8731 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
8732 | ||
d11cea13 DM |
8733 | 2002-06-11 David S. Miller <davem@redhat.com> |
8734 | ||
8735 | * emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if | |
8736 | active_insn_p. | |
8737 | ||
676997cf RH |
8738 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8739 | ||
8740 | * c-common.c (builtin_define_type_max): New. | |
8741 | (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__, | |
8742 | __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__. | |
8743 | ||
8744 | From Joseph S. Myers: | |
8745 | * glimits.h: Rewrite to expect the double underscore definitions | |
8746 | from the compiler. | |
8747 | ||
8748 | * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h, | |
8749 | config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h, | |
8750 | config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h, | |
8751 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
8752 | config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h, | |
8753 | config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h, | |
8754 | config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__, | |
8755 | __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__. | |
8756 | ||
116b7a5e RH |
8757 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8758 | ||
8759 | * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New. | |
8760 | (ALPHA_BUILTIN_SET_THREAD_POINTER): New. | |
8761 | (code_for_builtns): Update. | |
8762 | (alpha_init_builtins): Add __builtin_thread_pointer and | |
8763 | __builtin_set_thread_pointer. | |
8764 | (alpha_expand_builtin): Handle void builtins. | |
8765 | * doc/extend.texi (Alpha Built-in Functions): Update. | |
8766 | ||
0cec6af1 HPN |
8767 | 2002-06-11 Hans-Peter Nilsson <hp@axis.com> |
8768 | ||
8769 | PR target/6997 | |
8770 | * config/cris/cris.md ("sleu"): Set attribute "cc" to "none". | |
8771 | ||
1c0ca89d ZW |
8772 | 2002-06-11 Zack Weinberg <zack@codesourcery.com> |
8773 | ||
8774 | * config.gcc: Make the name of the extra-modes file adjustable | |
8775 | by target stanzas. | |
8776 | (s390x, strongarm, xscale stanzas): Use this facility. | |
8777 | * configure.in: Update to match. | |
8778 | * configure: Regenerate. | |
8779 | ||
5dc8d536 AH |
8780 | 2002-06-11 Aldy Hernandez <aldyh@redhat.com> |
8781 | ||
1c0ca89d ZW |
8782 | * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned |
8783 | max/mins as unsigned GE compares. | |
5dc8d536 | 8784 | |
169274cd JT |
8785 | 2002-06-11 Jason Thorpe <thorpej@wasabisystems.com> |
8786 | ||
1c0ca89d | 8787 | * config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}. |
169274cd JT |
8788 | * config/vax/bsd.h: New file. |
8789 | * config/vax/netbsd.h: Add missing notice. | |
1c0ca89d ZW |
8790 | (CPP_PREDEFINES): Remove. |
8791 | (TARGET_OS_CPP_BUILTINS): Define. | |
8792 | (CPP_SPEC): Use NETBSD_CPP_SPEC. | |
169274cd JT |
8793 | * config/vax/openbsd.h: Update copyright years. |
8794 | (CPP_PREDEFINES): Remove. | |
8795 | (TARGET_OS_CPP_BUILTINS): Define. | |
8796 | * config/vax/ultrix.h: Likewise. | |
8797 | * config/vax/vaxv.h: Likewise. | |
8798 | * config/vax/vms.h: Likewise. | |
8799 | * config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define. | |
8800 | (CPP_PREDEFINES, CPP_SPEC): Remove. | |
8801 | ||
2f41793e JH |
8802 | Wed Jun 12 01:50:28 CEST 2002 Jan Hubicka <jh@suse.cz> |
8803 | ||
8804 | * i386.md (addqi_1_slp, subqi_1_slp | |
8805 | (andqi_ext0, testqi_ext0): Remove unnecesary check. | |
8806 | (addhi*, addqi*): Simplify "dec" condition. | |
8807 | (testsi to testqi splitters): Remove TARGET_PROMOTE_QImode check. | |
8808 | (and, or, xor to QImode splitters): New. | |
8809 | (iorqi_ext*): New. | |
8810 | (xorqi_ext_0): New. | |
8811 | (xorqi_ext_1): Rename to xorqi_ext_2; bring to sync with and versions. | |
8812 | (andqi_ext_1_rex64): New. | |
8813 | (ashrqi*_slp): New. | |
8814 | (ashlqi*_slp): New. | |
8815 | (lshlqi*_slp): New. | |
8816 | (rotrqi3*_slp): New. | |
8817 | (rotlqi3*_slp): New. | |
8818 | ||
fc5c400a GK |
8819 | 2002-06-11 Geoffrey Keating <geoffk@redhat.com> |
8820 | ||
4c4eb375 GK |
8821 | * config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including |
8822 | softfloat.h. | |
8823 | * config/rs6000/vxppc.h (CPP_ENDIAN_BIG_SPEC): Delete. | |
8824 | (CPP_ENDIAN_LITTLE_SPEC): Delete. | |
8825 | * config/rs6000/sysv4le.h (CPP_ENDIAN_DEFAULT_SPEC): Delete. | |
8826 | * config/rs6000/sysv4.h (CPP_SYSV_SPEC): Delete _SOFT_FLOAT setting, | |
8827 | __LONG_DOUBLE_128__ setting, _CALL_* setting. | |
8828 | (CPP_DEFAULT_SPEC): Delete. | |
8829 | (CPP_FLOAT_DEFAULT_SPEC): Delete. | |
8830 | (CPP_LONGDOUBLE_DEFAULT_SPEC): Delete. | |
8831 | (CPP_SYSV_DEFAULT_SPEC): Delete. | |
8832 | (CPP_ENDIAN_BIG_SPEC): Delete. | |
8833 | (CPP_ENDIAN_LITTLE_SPEC): Delete. | |
8834 | (CPP_ENDIAN_SPEC): Delete. | |
8835 | (CPP_SPEC): Don't include cpp_endian, cpp_cpu. | |
8836 | (SUBTARGET_EXTRA_SPECS): Delete cpp_sysv_default, cpp_endian_default, | |
8837 | cpp_endian, cpp_endian_big, cpp_endian_little, cpp_float_default, | |
8838 | cpp_longdouble_default. | |
8839 | * config/rs6000/softfloat.h: Delete. | |
8840 | * config/rs6000/rs6000.h (CPP_CPU_SPEC): Delete. | |
8841 | (EXTRA_SPECS): Delete cpp_cpu. | |
8842 | (TARGET_CPU_CPP_BUILTINS): New. | |
8843 | * config/rs6000/rs6000-protos.h (rs6000_cpu_cpp_builtins): New | |
8844 | prototype. | |
8845 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): New. | |
8846 | * config/rs6000/linux64.h (CPP_PREDEFINES): Remove endianness defines. | |
8847 | (CPP_DEFAULT_SPEC): Delete. | |
8848 | * config/rs6000/eabiaix.h (CPP_SYSV_DEFAULT_SPEC): Delete. | |
8849 | * config/rs6000/darwin.h (CPP_PREDEFINES): Don't define __BIG_ENDIAN__. | |
8850 | * config/rs6000/beos.h (CPP_SPEC): Remove cpp_cpu. | |
8851 | (CPP_DEFAULT_SPEC): Delete. | |
8852 | * config/rs6000/aix51.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC. | |
8853 | (CPLUSPLUS_CPP_SPEC): Likewise. | |
8854 | (CPP_CPU_SPEC): Delete. | |
8855 | (CPP_DEFAULT_SPEC): Delete. | |
8856 | * config/rs6000/aix43.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC. | |
8857 | (CPLUSPLUS_CPP_SPEC): Likewise. | |
8858 | (CPP_CPU_SPEC): Delete. | |
8859 | (CPP_DEFAULT_SPEC): Delete. | |
8860 | * config/rs6000/aix41.h (CPP_SPEC): Remove cpp_cpu. | |
8861 | (CPP_DEFAULT_SPEC): Delete. | |
8862 | * config/rs6000/aix.h (CPP_SPEC): Remove cpp_cpu. | |
8863 | (CPP_DEFAULT_SPEC): Delete. | |
8864 | ||
fc5c400a GK |
8865 | * doc/gty.texi: Small updates. |
8866 | ||
13f0d49c GDR |
8867 | 2002-06-12 Gabriel Dos Reis <gdr@codesourcery.com> |
8868 | ||
8869 | * objc/objc-act.c (warn_with_ivar): Adjust calls to | |
8870 | diagnostic_count_error. | |
8871 | (warn_with_method): Likewise. | |
8872 | ||
8873 | * diagnostic.h (warnings_are_errors_message): New field of | |
8874 | diagnostic_context. | |
8875 | (diagnostic_count_error): Rename to diagnostic_count_diagnostic to | |
8876 | match semantics. | |
8877 | * diagnostic.c: Adjust calls to diagnostic_count_error through out. | |
8878 | (diagnostic_count_diagnostic): Make aware of other kinds of | |
1c0ca89d | 8879 | diagnostics. |
13f0d49c GDR |
8880 | (diagnostic_initialize): Initialize warnings_are_errors_message field. |
8881 | ||
0797e472 TT |
8882 | 2002-06-11 Tom Tromey <tromey@redhat.com> |
8883 | ||
8884 | For PR java/6520: | |
8885 | * fold-const.c (fold_convert): Don't modify existing tree's type. | |
8886 | ||
f288d4aa GK |
8887 | 2002-06-11 Geoffrey Keating <geoffk@redhat.com> |
8888 | ||
8889 | * config/rs6000/ppc-asm.h: Remove some Windows NT leftovers. | |
8890 | ||
d27bab4c RH |
8891 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8892 | ||
8893 | * caller-save.c (init_caller_save): Clear INSN_CODE each iteration. | |
8894 | ||
bc2a8f08 RH |
8895 | 2002-06-11 Richard Henderson <rth@redhat.com> |
8896 | ||
1c0ca89d | 8897 | * defaults.h (EH_FRAME_SECTION_NAME): Don't define if |
bc2a8f08 RH |
8898 | DWARF2_UNWIND_INFO is false. |
8899 | ||
b217ec1b BW |
8900 | 2002-06-11 Bob Wilson <bob.wilson@acm.org> |
8901 | ||
8902 | * config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete. | |
8903 | ||
11819f80 UW |
8904 | * config/s390/s390.c (emit_prologue): gen_store_multiple |
8905 | returns an insn now, not a pattern. | |
8906 | ||
c2727579 RO |
8907 | 2002-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8908 | ||
8909 | * Makefile.in (gccinstall.dvi): Pass absolute pathnames to | |
8910 | $(TEXI2DVI) -o. | |
8911 | ||
285464d0 JH |
8912 | Tue Jun 11 21:53:37 CEST 2002 Jan Hubicka <jh@suse.cz> |
8913 | ||
8914 | * i386.c (x86_promote_QImode): Set for Athlon | |
8915 | (x86_fast_prefix): New global variable. | |
8916 | (x86_arch_always_fancy_math_387): Fix formating. | |
8917 | * i386.h (x86_fast_prefix): Declare | |
8918 | (TARGET_FAST_PREFIX): define. | |
8919 | * i386.md (and to strict_low_part, HI to SI | |
8920 | promoting splitter): Use new macro. | |
8921 | ||
8922 | * i386.h (RTX_COSTS): float_extend is not for free for SSE. | |
8923 | ||
1bb1f121 ZW |
8924 | 2002-06-11 Zack Weinberg <zack@codesourcery.com> |
8925 | ||
8926 | * Makefile.in (distclean): Delete junk left in testsuite | |
8927 | directory, too. | |
8928 | ||
88c65786 JL |
8929 | 2002-06-11 Jeffrey Law <law@redhat.com> |
8930 | ||
c6a3fcf0 JL |
8931 | * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the |
8932 | last insn created by the splitter. | |
8933 | ||
0db79a6b JL |
8934 | * caller-save.c (init_caller_save): Move creation of SAVEINSN |
8935 | and RESTINSN into into the scope of the sequence. | |
8936 | ||
47eb2ca8 JL |
8937 | * mips.c (mips_expand_prologue): Use emit_jump_insn for trivial |
8938 | RETURN insns. | |
8939 | ||
603b4b92 JL |
8940 | * loop.c (loop_regs_scan): Avoid useless generation of REG objects. |
8941 | ||
88c65786 JL |
8942 | * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now, |
8943 | not the pattern. So extract the pattern from the insn. | |
882c7223 JL |
8944 | |
8945 | * mips.c (embedded_pic_fnaddr_reg): Fix typo. | |
8946 | ||
df14489a UW |
8947 | 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com> |
8948 | ||
8949 | * config/s390/s390.md (movsi): Only use floating point | |
8950 | register alternatives when operands are already fprs. | |
8951 | (movdi_31, movdi_64): Likewise. | |
8952 | ||
6f9703af DM |
8953 | 2002-06-11 David S. Miller <davem@redhat.com> |
8954 | ||
8955 | * emit-rtl.c (try_split): Do not abort on non-INSN_P. | |
8956 | Only run RTX equality checks on INSN_P rtl. | |
8957 | ||
b2ccb744 UW |
8958 | 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com> |
8959 | ||
8960 | * config/s390/s390.md (reload_base, ltorg): Remove. | |
1c0ca89d | 8961 | * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool, |
b2ccb744 | 8962 | s390_asm_output_pool_prologue, s390_pool_start_insn): Remove. |
1c0ca89d | 8963 | * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool, |
b2ccb744 UW |
8964 | s390_asm_output_pool_prologue): Likewise. |
8965 | * s390.h (s390_pool_start_insn): Likewise. | |
8966 | ||
1c0ca89d | 8967 | * s390.c (s390_output_symbolic_const): Remove support for |
b2ccb744 UW |
8968 | old-style pool chunks. |
8969 | (s390_function_epilogue): Likewise. | |
1c0ca89d | 8970 | (s390_output_constant_pool): Likewise. Also, fix incorrect |
b2ccb744 UW |
8971 | alignment for 64-bit literal pools. |
8972 | (print_operand_address): Remove 'y' and 'Y' format flags. | |
1c0ca89d | 8973 | * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for |
b2ccb744 UW |
8974 | old-style pool chunks. |
8975 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise. | |
8976 | (ASM_OUTPUT_POOL_EPILOGUE): Remove. | |
8977 | (S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove. | |
8978 | ||
8979 | * s390.c (consttable_operand): New function. | |
8980 | * s390-protos.h (consttable_operand): Declare it. | |
8981 | * s390.h (PREDICATE_CODES): Add consttable_operand. | |
1c0ca89d ZW |
8982 | * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di, |
8983 | consttable_sf, consttable_df, pool_start_31, pool_end_31, | |
b2ccb744 UW |
8984 | pool_start_64, pool_end_64, reload_base, reload_base2): New insns. |
8985 | * s390.c (struct constant, struct constant_pool): New data types. | |
8986 | (constant_modes, gen_consttable): New variables. | |
1c0ca89d | 8987 | (s390_start_pool, s390_end_pool, s390_add_pool, |
b2ccb744 | 8988 | s390_dump_pool, s390_free_pool): New functions. |
1c0ca89d | 8989 | (s390_chunkify_pool): Completely reimplement literal pool |
b2ccb744 UW |
8990 | overflow handling. |
8991 | ||
8992 | * s390.c (s390_pool_overflow): New variable. | |
8993 | * s390.h (s390_pool_overflow): Declare it. | |
1c0ca89d | 8994 | * s390.md (cjump, icjump): Use it to adapt length for out-of-range |
b2ccb744 UW |
8995 | jumps in literal pool overflow situations. |
8996 | ||
8997 | * s390.c (s390_decompose_address): Accept new-style pool chunk offsets. | |
1c0ca89d | 8998 | (s390_frame_info): Account for possible use of RETURN_REGNUM |
b2ccb744 UW |
8999 | by new literal pool overflow code. |
9000 | (s390_emit_prologue): Likewise. | |
9001 | ||
2f937369 DM |
9002 | 2002-06-05 David S. Miller <davem@redhat.com> |
9003 | ||
9004 | Delete SEQUENCE rtl usage outside of reorg and ssa passes. | |
9005 | * rtl.h (gen_sequence, emit_insns, emit_insns_before, | |
9006 | emit_insns_before_scope, emit_insns_after, | |
9007 | emit_insns_after_scope): Delete declaration. | |
9008 | * ada/misc.c (insert_code_for): Use emit_insn* instead of | |
9009 | emit_insns_foo. | |
9010 | * config/alpha/alpha.c (alpha_set_memflags_1): Abort on SEQUENCE. | |
9011 | (alpha_set_memflags): Fix comment. | |
9012 | (set_frame_related_p): Use get_insns instead of gen_sequence. | |
9013 | * config/alpha/alpha.md (setjmp receiver splitter): Avoid | |
9014 | emitting no insns. | |
9015 | * config/arm/arm.c (arm_finalize_pic): Use get_insns instead of | |
9016 | gen_sequence. | |
9017 | (arm_gen_load_multiple, arm_gen_store_multiple): Likewise. | |
9018 | * config/fr30/fr30.c (fr30_move_double): Likewise. | |
9019 | * config/i386/i386.c (ix86_expand_int_movcc, ix86_expand_movstr): | |
9020 | Likewise. | |
9021 | * config/ia64/ia64.c (spill_restore_mem): Likewise. | |
9022 | * config/ia64/ia64.md (conditional move spliiter): Avoid emitting | |
9023 | no insns. | |
9024 | * config/m32r/m32r.c (gen_split_move_double): Use get_insns | |
9025 | instead of gen_sequence. | |
9026 | * config/mips/mips.c (embedded_pic_fnaddr_reg): Likewise. | |
9027 | (mips_expand_prologue, mips16_gp_pseudo_reg): Likewise. | |
9028 | * config/sh/sh.c (sh_need_epilogue): Likewise. | |
9029 | * config/sparc/sparc.md (current_function_calls_alloca, flat): New | |
9030 | attributes. | |
9031 | (setjmp pattern and split): Use them to avoid splitter which emits | |
9032 | no RTL. | |
9033 | * genattrtab.c (main): Emit include of function.h | |
9034 | * config/stormy16/stormy16.c (xstormy16_split_cbranch): Use | |
9035 | get_insns instead of gen_sequence. | |
9036 | * config/cris/cris.c (cris_split_movdx): Likewise. | |
9037 | * emit-rtl.c (emit_insns*): Kill. | |
9038 | (try_split): Expect insn list instead of SEQUENCE. | |
9039 | (make_jump_insn_raw, make_call_insn_raw): Fix comments. | |
9040 | (emit_*insn*): Reimplement to work with INSN lists and PATTERNs. | |
9041 | Make them abort if a SEQUENCE is given and RTL checking is | |
9042 | enabled. | |
9043 | (emit_*_scope): Don't forget to set scope on final insn. | |
9044 | (gen_sequence): Move from here... | |
9045 | * ssa.c (gen_sequence): To here as private function. | |
9046 | * builtins.c (expand_builtin_apply_args): Use emit_insn_foo, fix | |
9047 | comments. | |
9048 | (expand_builtin_return, expand_builtin_mathfn): Likewise. | |
9049 | (expand_builtin_strlen): Use get_insns instead of gen_sequence. | |
9050 | (expand_builtin_saveregs): Use emit_insn_foo, fix comments. | |
9051 | (expand_builtin_expect_jump): Use get_insns and fix comments. | |
9052 | * calls.c (try_to_integrate): Use emit_insn_foo. | |
9053 | (expand_call, emit_library_call_value_1): Likewise. | |
9054 | * expr.c (emit_queue): Handle insn lists instead of SEQUENCE. | |
9055 | (emit_move_insn_1): Use get_insns instead of gen_sequence. | |
9056 | (expand_expr): Use emit_insn_foo. | |
9057 | * cfgrtl.c (commit_one_edge_insertion): Use emit_insn_foo. | |
9058 | * except.c (build_post_landing_pads): Likewise. | |
9059 | * flow.c (attempt_auto_inc): Likewise. | |
9060 | * stmt.c (expand_fixup, fixup_gotos, expand_nl_handler_label, | |
9061 | expand_nl_goto_receivers, expand_decl_cleanup): Likewise. | |
9062 | * function.c (fixup_var_refs_insn): Use get_insns instead of | |
9063 | gen_sequence. | |
9064 | (fixup_var_refs_1): Likewise and expect insn list from gen_foo. | |
9065 | (fixup_memory_subreg): Use get_insns instead of gen_sequence. | |
9066 | (fixup_stack_1, purge_addressof_1, expand_main_function, | |
9067 | get_arg_pointer_save_area): Likewise. | |
9068 | (optimize_bit_field, instantiate_virtual_regs_1, assign_parms, | |
9069 | expand_function_end): Use emit_insn_foo. | |
9070 | (record_insns, keep_stack_depressed): Work with insn list instead | |
9071 | of SEQUENCE, fix comments. | |
9072 | * ifcvt.c (noce_emit_store_flag, noce_try_store_flag, | |
9073 | noce_try_store_flag_constants, noce_try_store_flag_inc, | |
9074 | noce_try_store_flag_mask, noce_emit_cmove, noce_try_cmove_arith, | |
9075 | noce_try_minmax, noce_try_abs): Use emit_insn_foo. | |
9076 | (noce_process_if_block): Use get_insns instead of gen_sequence. | |
9077 | * optabs.c (add_equal_note): Work with insn list, fix comments. | |
9078 | (expand_binop): Expect insn list from GEN_FCN(), use emit_insn_foo. | |
9079 | (expand_unop, expand_complex_abs, expand_unop_insn, | |
9080 | expand_no_conflict_block): Likewise. | |
9081 | (gen_move_insn): Use get_insns instead of gen_sequence. | |
9082 | (gen_cond_trap): Likewise. | |
9083 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
9084 | (emit_initial_value_sets): Use emit_insn_foo. | |
9085 | * reload1.c (emit_output_reload_insns, emit_reload_insns): Likewise. | |
9086 | (fixup_abnormal_edges): Avoid losing REG_NOTES more intelligently | |
9087 | now that RTL generators give insn lists. | |
9088 | * sibcall.c (replace_call_placeholder): Use emit_insn_foo. | |
9089 | * doloop.c (doloop_modify, doloop_modify_runtime): Use get_insns | |
9090 | instead of gen_sequence. | |
9091 | (doloop_optimize): Work with insn lists instead of SEQUENCE rtl. | |
9092 | * explow.c (emit_stack_save, emit_stack_restore): Use get_insns | |
9093 | instead of gen_sequence. | |
9094 | * loop.c (move_movables, emit_prefetch_instructions, | |
9095 | gen_add_mult, check_dbra_loop, gen_load_of_final_value): | |
9096 | Likewise. | |
9097 | (loop_regs_update): Work with insn list instead of SEQUENCE rtl. | |
9098 | (product_cheap_p): Likewise, and add commentary about RTL wastage | |
9099 | here. | |
9100 | * lcm.c (optimize_mode_switching): Use get_insns instead of | |
9101 | gen_sequence. | |
9102 | * profile.c (gen_edge_profiler): Likewise. | |
9103 | * regmove.c (copy_src_to_dest): Likewise. | |
9104 | * reg-stack.c (compensate_edge): Likewise and fix comment. | |
9105 | * gcse.c (process_insert_insn): Likewise. | |
9106 | (insert_insn_end_bb): Work with insn list instead of SEQUENCE rtl. | |
9107 | * jump.c (delete_prior_computation): Update comment. | |
9108 | * genemit.c (gen_expand, gen_split, main): Use get_insns instead | |
9109 | of gen_sequence, update comments to match. | |
9110 | * recog.c (peephole2_optimize): Work with insn lists instead of | |
9111 | SEQUENCE rtl. | |
9112 | * sched-vis.c (print_pattern): Abort on SEQUENCE. | |
9113 | * unroll.c (unroll_loop, find_splittable_givs, final_giv_value): | |
9114 | Use get_insns instead of gen_sequence. | |
9115 | (copy_loop_body): Likewise and don't emit dummy NOTE. | |
9116 | * genrecog.c: Don't mention SEQUENCE rtl in comments. | |
9117 | * combine.c (try_combine): Expect insn lists from split generator. | |
9118 | * reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by | |
9119 | hand. | |
1c0ca89d | 9120 | |
43cf10b5 RS |
9121 | 2002-06-11 Roger Sayle <roger@eyesopen.com> |
9122 | Andreas Jaeger <aj@suse.de> | |
9123 | ||
9124 | * cfgbuild.c: Update copyright years. | |
9125 | ||
1062f15a AS |
9126 | 2002-06-11 Andreas Schwab <schwab@suse.de> |
9127 | ||
1c0ca89d | 9128 | * config/m68k/m68k.h (PREDICATE_CODES): Define. |
1062f15a | 9129 | |
ce3649d2 EC |
9130 | 2002-06-11 Eric Christopher <echristo@redhat.com> |
9131 | ||
9132 | * doc/tm.texi (Run-time Target): Add comment about flag_iso | |
9133 | and strict ANSI. | |
9134 | * config/mips/ecoff.h (CPP_PREDEFINES): Remove. | |
9135 | * config/mips/ecoffl.h: Ditto. | |
9136 | * config/mips/elf64.h (SUBTARGET_CPP_SPEC): Remove. | |
9137 | (CPP_PREDEFINES): Ditto. | |
9138 | * config/mips/elfl64.h: Ditto. | |
9139 | * config/mips/elfl.h: Ditto. | |
9140 | * config/mips/iris3.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): #if 0 | |
9141 | out until irix header consolidation. | |
9142 | * config/mips/iris5.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): Replace | |
9143 | with SUBTARGET_OS_CPP_BUILTINS. | |
9144 | * config/mips/iris6.h: Ditto. | |
9145 | (CPLUSPLUS_CPP_SPEC): Remove. | |
9146 | * config/mips/linux.h: Ditto. | |
9147 | * config/mips/netbsd.h: Ditto. | |
9148 | * config/mips/openbsd.h: Ditto. | |
9149 | * config/mips/rtems.h: Ditto. | |
9150 | * config/mips/rtems64.h: Ditto. | |
9151 | * config/mips/sni-svr4.h: Ditto. | |
9152 | * config/mips/mips.h (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4, | |
9153 | ISA_MIPS32, ISA_MIPS64): New defines. | |
9154 | (GENERATE_MULT3_SI, HAVE_SQRT_P, ISA_HAS_64BIT_REGS, | |
9155 | ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4, | |
9156 | ISA_HAS_COND_TRAP, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
9157 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Use. | |
9158 | (TARGET_CPU_CPP_BUILTINS): Define. | |
9159 | (CPP_PREDEFINES, LONG_MAX_SPEC, CPP_FPR_SPEC, CPP_SPEC): Remove. | |
9160 | * config/mips/mips.md (mulsi3_mult3): Use ISA_MIPS32/64. | |
9161 | (movdicc): Remove check for ISA_MIPS32. | |
9162 | (bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, | |
9163 | sunordered_df, sunordered_sf, sordered_df, sordered_sf, | |
9164 | sunlt_df, sunlt_sf, sungt_df, sungt_sf, suneq_df, suneq_sf, sunge_df, | |
9165 | sunge_sf, sunle_df, sunle_sf): New patterns. | |
9166 | ||
bc3437ba NB |
9167 | 2002-06-11 Neil Booth <neil@daikokuya.demon.co.uk> |
9168 | ||
9169 | * Makefile.in: Update cppmain.o. | |
9170 | * cpphash.h (struct cpp_reader): Move some members to a | |
9171 | nested structure. | |
9172 | (trad_line): Rename saved_line. | |
9173 | (_cpp_read_logical_line_trad): Update. | |
9174 | (_cpp_remove_overlay): New. | |
9175 | * cppinit.c (cpp_create_reader): No need to set saved_line. | |
9176 | (cpp_destroy): Update. | |
9177 | (cpp_read_main_file): Only overlay if compiling. | |
9178 | * cpplex.c (continue_after_nul): Return false if in directive. | |
9179 | * cpplib.c (EXPAND): New. | |
9180 | (directive_table, SEEN_EOL): Update. | |
9181 | (end_directive): Remove overlay if traditional; don't skip | |
9182 | line in traditional #define. | |
9183 | (prepare_directive_trad): New. | |
9184 | (_cpp_handle_directive, run_directive): Update for traditional | |
9185 | directives. | |
9186 | (lex_macro_node): Simplify, don't use lex_identifier_trad. | |
9187 | * cpplib.h (struct options): Add preprocess_only. | |
9188 | * cppmain.c: Don't include intl.h. | |
9189 | (cpp_preprocess_file): Set options->preprocess_only. | |
9190 | (scan_translation_unit_trad): Fix, and print line numbers. | |
9191 | * cpptrad.c (check_output_buffer, lex_identifier, scan_parameters, | |
9192 | maybe_start_funlike, scan_out_logical_line, replace_args_and_push, | |
9193 | save_replacement_text, _cpp_create_trad_definition): Update for | |
9194 | variable renaming. | |
9195 | (_cpp_overlay_buffer): Save line number. | |
9196 | (_cpp_remove_overlay): Rename from restore_buff, restore line. | |
9197 | (_cpp_read_logical_line_trad): Don't handle overlays here. | |
9198 | (scan_out_logical_line): Process directives. | |
9199 | ||
b25bb36a DS |
9200 | 2002-06-11 Danny Smith <dannysmith@users.sourforge.net> |
9201 | ||
9202 | * gthr-win32.h: Wrap functions in extern "C". | |
9203 | (__gthread_key_t): Typedef as unsigned long, | |
9204 | not win32 DWORD. | |
9205 | (__GTHREAD_ONCE_INIT): Use 0, not win32 FALSE. | |
9206 | (__gthread_mutex_t): Typedef as void*, not win32 HANDLE. | |
9207 | (__gthr_win32_once, __gthr_win32_key_create, | |
9208 | __gthr_win32_key_delete, __gthr_win32_getspecific, | |
9209 | __gthr_win32_setspecific, __gthr_win32_mutex_init_function, | |
9210 | __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock, | |
9211 | __gthr_win32_mutex_unlock): Declare. | |
9212 | (__gthread_once,__gthread_key_create, | |
9213 | __gthread_key_delete, __gthread_getspecific, | |
9214 | __gthread_setspecific, __gthread_mutex_init_function, | |
9215 | __gthread_mutex_lock,__gthread_mutex_trylock, | |
9216 | __gthread_mutex_unlock): Call corresponding | |
9217 | __gthr_win32_* extern implementations if #defined | |
9218 | __GTHREAD_HIDE_WIN32API. | |
9219 | * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Set to | |
ce3649d2 | 9220 | $(srcdir)/config/i386/gthr-win32.c |
b25bb36a DS |
9221 | * config/i386/gthr-win32.c: New implementation file. |
9222 | (__gthr_win32_once, __gthr_win32_key_create, | |
9223 | __gthr_win32_key_delete, __gthr_win32_getspecific, | |
9224 | __gthr_win32_setspecific, __gthr_win32_mutex_init_function, | |
9225 | __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock, | |
9226 | __gthr_win32_mutex_unlock): New functions, based on | |
9227 | static inlines in gthr-win32.h. | |
9228 | ||
a69c385e BW |
9229 | 2002-06-10 Bob Wilson <bob.wilson@acm.org> |
9230 | ||
9231 | * config/xtensa/xtensa.c (override_options): Don't warn about | |
9232 | using -fpic or -fPIC when PIC is enabled by default. | |
9233 | ||
e654730d RS |
9234 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9235 | ||
9236 | * toplev.c (rest_of_compilation): Revert flag_if_conversion change. | |
9237 | ||
a5381466 ZW |
9238 | 2002-06-10 Zack Weinberg <zack@codesourcery.com> |
9239 | ||
9240 | * Makefile.in (MACHMODE_H): Add @extra_modes_file@. | |
ce3649d2 | 9241 | * configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def |
a5381466 ZW |
9242 | exists, substitute its pathname as @extra_modes_file@, define |
9243 | EXTRA_MODES_FILE to be an appropriate string to #include it | |
9244 | with, and define EXTRA_CC_MODES to 1. | |
9245 | ||
9246 | * machmode.def: Update comments. Include EXTRA_MODES_FILE if | |
9247 | it's defined. Get rid of redundancy in calling sequence for | |
9248 | CC; don't use it to define CCmode, to avoid a warning. | |
9249 | * libgcc2.c: Include symcat.h for the sake of machmode.def. | |
9250 | ||
9251 | * arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def, | |
9252 | i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def, | |
9253 | pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def: | |
9254 | New files. | |
9255 | * arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h, | |
9256 | pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES. | |
9257 | ||
9258 | * doc/sourcebuild.texi, doc/tm.texi: Document new scheme for | |
9259 | defining extra CC modes. | |
9260 | ||
852c6ec7 RS |
9261 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9262 | Andreas Jaeger <aj@suse.de> | |
9263 | ||
9264 | * cfgrtl.c (create_basic_block_structure): Remove index argument | |
9265 | and use last_basic_block++ instead. (create_basic_block): Update. | |
9266 | * cfgbuild.c (find_basic_blocks_1): Likewise. | |
9267 | ||
9268 | * cfgrtl.c (compute_bb_for_insn): Remove unused "max" argument. | |
9269 | * haifa-sched.c (sched_init): Update compute_bb_for_insn caller. | |
9270 | * sched-ebb.c (schedule_ebbs): Likewise. | |
9271 | * sched-rgn.c (schedule_insns): Likewise. | |
9272 | * ssa-ccp.c (ssa_const_prop): Likewise. | |
9273 | * ssa-dcs.c (ssa_eliminate_dead_code): Likewise. | |
9274 | * toplev.c (rest_of_compilation): Likewise. | |
9275 | * config/ia64/ia64.c (ia64_reorg): Likewise. | |
9276 | ||
60c86d4e RS |
9277 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9278 | ||
9279 | * simplify-rtx.c (simplify_replace_rtx): Allow replacement | |
9280 | of matching registers. | |
9281 | ||
9543a9d2 RS |
9282 | 2002-06-10 Roger Sayle <roger@eyesopen.com> |
9283 | ||
9284 | * toplev.c (rest_of_compilation): Disable early if-conversion pass. | |
9285 | * gcse.c (bypass_conditional_jumps): Fix typo in setcc test. | |
9286 | ||
38e18619 HPN |
9287 | 2002-06-10 Hans-Peter Nilsson <hp@bitrange.com> |
9288 | ||
9289 | * config/mmix/mmix.h: Improve comments. | |
9290 | (CPP_SPEC, CPP_PREDEFINES): Don't define. | |
9291 | (TARGET_CPU_CPP_BUILTINS): Define. | |
9292 | (CANONICALIZE_COMPARISON): Don't define, replace with comment. | |
9293 | (PREDICATE_CODES) <"mmix_reg_or_8bit_or_256_operand">: Remove | |
9294 | unused predicate. | |
9295 | * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Add cast to avoid | |
9296 | compiler warning. | |
9297 | (mmix_constant_address_p): Remove another | |
9298 | redundant test before case. | |
9299 | (mmix_canonicalize_comparison): Remove unused function. | |
9300 | (mmix_print_operand_address): Don't test and adjust for operand in | |
9301 | non-canonical format. | |
9302 | (mmix_reg_or_8bit_or_256_operand): Remove unused predicate. | |
9303 | (mmix_gen_compare_reg): Don't use CANONICALIZE_COMPARISON. | |
9304 | ||
ac17cd8f ZW |
9305 | 2002-06-10 Zack Weinberg <zack@codesourcery.com> |
9306 | ||
9307 | * config/m32r/m32r.h: Don't define SELECT_CC_MODE. | |
9308 | * config/m32r/m32r-protos.h: Don't prototype m32r_select_cc_mode. | |
9309 | * config/m32r/m32r.c: Don't define m32r_select_cc_mode. | |
9310 | (gen_compare): Use CCmode unconditionally. | |
9311 | ||
7b668f9e JJ |
9312 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9313 | ||
9314 | PR optimization/6759 | |
9315 | * cse.c (cse_insn): Fold src_eqv just once, store it folded back into | |
9316 | the REQ_EQUAL note. | |
9317 | ||
85d49058 JJ |
9318 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9319 | ||
9320 | PR c/6660 | |
9321 | * c-decl.c (grokfield): Allow user defined types if they declare | |
9322 | structs or unions for unnamed fields. | |
9323 | ||
50f30e6b JJ |
9324 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9325 | ||
9326 | PR c/6809 | |
9327 | * print-rtl.c (print_mem_expr): Don't crash on unnamed fields. | |
9328 | ||
156755ac JJ |
9329 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9330 | ||
9331 | PR optimization/6842 | |
9332 | * combine.c (combine_simplify_rtx) [SUBREG]: Don't ICE if VOIDmode | |
9333 | operand subreg cannot be simplified. | |
9334 | ||
5d056e9b JJ |
9335 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9336 | ||
9337 | * varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR. | |
9338 | (compare_constant): Likewise. | |
9339 | (output_addressed_constants): Likewise. | |
9340 | ||
2bf87216 JJ |
9341 | 2002-06-10 Jakub Jelinek <jakub@redhat.com> |
9342 | ||
9343 | * cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't | |
9344 | merge bb with itself. | |
9345 | ||
135fd2d8 RH |
9346 | 2002-06-10 Richard Henderson <rth@redhat.com> |
9347 | ||
9348 | * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask. | |
9349 | (builtin_zapnot): Likewise. | |
9350 | ||
9351 | * config/alpha/ev5.md: Don't combine shift and mvi insns in one | |
9352 | reservation. | |
9353 | ||
fce5a9f2 EC |
9354 | 2002-06-10 Eric Christopher <echristo@redhat.com> |
9355 | ||
9356 | * config/i386/i386.c (ix86_osf_output_function_prologue): Remove | |
9357 | prototype and function. | |
9358 | (TARGET_ASM_FUNCTION_PROLOGUE): Remove OSF version. | |
9359 | (call_insn_operand): Remove half pic references. | |
9360 | (legitimate_address_p): Ditto. | |
9361 | * config/i386/i386.h: Remove half pic defines. | |
9362 | ||
95b1627e EC |
9363 | 2002-06-10 Eric Christopher <echristo@redhat.com> |
9364 | ||
9365 | * doc/extend.texi (Return Address): Add note explaining the side- | |
9366 | effects of inlining on __builtin_return_address. | |
9367 | ||
aea185b3 TT |
9368 | 2002-06-10 Tom Tromey <tromey@redhat.com> |
9369 | ||
9370 | * Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h. | |
9371 | (c-common.o): Depend on langhooks.h. | |
9372 | ||
afb03408 NB |
9373 | 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk> |
9374 | ||
9375 | * cpphash.h (_cpp_read_logical_line_trad, | |
9376 | _cpp_expansions_different_trad): Update prototypes. | |
9377 | * cpplex.c (continue_after_nul): New. | |
9378 | * cppmain.c: Include cpphash.h. | |
9379 | (scan_translation_unit_trad): New. | |
9380 | (cpp_preprocess_file): Call it. | |
9381 | * cpptrad.c (_cpp_read_logical_line_trad): Take new parameter | |
9382 | overlay. | |
9383 | (_cpp_expansions_different_trad): Update prototype. | |
9384 | ||
2754d3c5 R |
9385 | Mon Jun 10 18:02:24 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9386 | ||
9387 | Fix cfi generation for SH[1-4]: | |
9388 | ||
9389 | * sh.c (frame_insn): New function. | |
9390 | (output_stack_adjust): Add parameter emit_fn. All callers changed. | |
9391 | (push): Now returns rtx. Use frame_insn. | |
9392 | (sh_expand_prologue): Clear RTX_FRAME_RELATED_P for second push | |
9393 | of a DF register. | |
9394 | * sh.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN): Define. | |
9395 | ||
ad854f24 ZW |
9396 | 2002-06-10 Zack Weinberg <zack@codesourcery.com> |
9397 | ||
9398 | * Makefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h, | |
9399 | and gtype-desc.c. | |
9400 | (mostlyclean): Delete specs.h, options.h, gencheck.h here... | |
9401 | (distclean): ... not here. But do delete all testsuite/*.log, | |
9402 | testsuite/*.sum files here. Delete mkheaders. Delete | |
9403 | po/*.gmo and the testsuite directory in a split tree build. | |
9404 | ||
bf1660a6 JL |
9405 | 2002-06-10 Jeffrey Law <law@redhat.com> |
9406 | ||
9407 | * alias.c (static_reg_base_value): New to hold RTL for | |
9408 | items allocated once per function for the aliasing code. | |
9409 | (init_alias_once_per_function): Initialize static_reg_base_value. | |
9410 | (init_alias_analysis): Avoid throw-away allocations of RTL by | |
9411 | using pre-computed values in static_reg_base_value. | |
9412 | * function.c (prepare_function_start): Call | |
9413 | init_alias_once_per_function appropriately. | |
9414 | * rtl.h (init_alias_once_per_function): Declare. | |
9415 | * caller-save (init_caller_save): Restructure slightly to | |
9416 | avoid lots of silly RTL generation. | |
9417 | * expr.c (init_expr_once): Likewise. | |
9418 | * reload1.c (reload_cse_regs_1): Allocate throw-away register | |
9419 | RTL object here. Pass it into children. | |
9420 | (reload_cse_simplify_operands): Use passed-in register RTL | |
9421 | object. | |
9422 | (reload_cse_simplify): Pass through throw-away register | |
9423 | RTL object. | |
9424 | ||
8dc58484 | 9425 | 2002-06-10 Daniel Berlin <dberlin@dberlin.org> |
ad854f24 | 9426 | |
8dc58484 DB |
9427 | * Makefile.in (ssa.o): Add dependency on $(RTL_H), which was missing. |
9428 | ||
ea16b5ee RS |
9429 | 2002-06-10 Richard Sandiford <rsandifo@redhat.com> |
9430 | ||
9431 | * gcc.c (process_command): Avoid assignment to read-only location. | |
9432 | Fix sizeof calculation. | |
9433 | ||
6618c5d4 NB |
9434 | 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk> |
9435 | ||
9436 | * cpphash.h (struct cpp_macro): Put comments on their own lines. | |
9437 | (_cpp_expansions_different_trad): New. | |
9438 | * cppmacro.c (warn_of_redefinition): Fix for traditional case. | |
9439 | * cpptrad.c (canonicalize_text): New. | |
9440 | (scan_out_logical_line): Handle no arguments correctly. | |
9441 | (save_replacement_text): Commit memory when finished. | |
9442 | (_cpp_expansions_different_trad): New. | |
9443 | ||
96e3ac4f TJ |
9444 | 2002-06-10 Tim Josling <tej@melbpc.org.au> |
9445 | ||
9446 | * gengtype.c (unnamed enum containing BASE_FILE_*): Add languages | |
9447 | TREELANG and COBOL. | |
9448 | (lang_names): Add treelang and cobol. | |
9449 | (get_file_basename): Add code to support treelang and cobol as | |
9450 | 4th and 5th users of c-common.c. | |
9451 | ||
37a4aa31 GK |
9452 | 2002-06-09 Geoffrey Keating <geoffk@redhat.com> |
9453 | ||
9454 | * Makefile.in (install-driver): Install driver as | |
9455 | $(target_alias)-gcc-$(version). | |
9456 | * gcc.c (spec_version): Make const. | |
9457 | (process_command): Handle -V and -b by using exec. | |
9458 | * doc/invoke.texi (Target Options): Restore -V option, | |
9459 | update docs for -b option. | |
9460 | ||
02ef40d9 TJ |
9461 | 2002-06-10 Tim Josling <tej@melbpc.org.au> |
9462 | ||
ad854f24 ZW |
9463 | * configure.in (remaining_languages_check): |
9464 | Added check that all languages specified were found. | |
8d9afc4e | 9465 | Exit if not found. Previous behavior was silent failure. |
02ef40d9 TJ |
9466 | * configure: Regenerated. |
9467 | ||
b38b97c4 | 9468 | 2002-06-10 Tim Josling <tej@melbpc.org.au> |
ad854f24 | 9469 | |
1c0ca89d | 9470 | First steps to making treelang documentation compliant, based on |
b38b97c4 TJ |
9471 | instructions in sourcebuild.texi. Also add to gcc.c list of |
9472 | default languages. | |
ad854f24 | 9473 | |
b38b97c4 TJ |
9474 | * doc/contrib.texi: Add self as contributor of treelang. |
9475 | ||
9476 | * doc/frontends.texi: Add mention of treelang. | |
9477 | ||
9478 | * doc/invoke.texi (Overall Options): Add mention of treelang. | |
9479 | ||
9480 | * doc/standards.texi: Add mention of treelang. | |
9481 | ||
ae9dbf1f HPN |
9482 | 2002-06-09 Hans-Peter Nilsson <hp@axis.com> |
9483 | ||
9484 | * config/cris/cris.c: Include ggc.h | |
9485 | ||
1ce676a0 NB |
9486 | 2002-06-09 Neil Booth <neil@daikokuya.demon.co.uk> |
9487 | ||
9488 | * cpphash.h (_cpp_push_text_context): Update. | |
9489 | (_cpp_arguments_ok): New. | |
9490 | * cppmacro.c (_cpp_arguments_ok): New, split out from... | |
9491 | (collect_args): ...here. | |
9492 | (_cpp_push_text_context): Change inputs. | |
9493 | * cpptrad.c (struct fun_macro, maybe_start_funlike, save_argument, | |
9494 | replace_args_and_push): New. | |
9495 | (lex_identifier, _cpp_lex_identifier_trad, scan_parameters): | |
9496 | Don't use IS macros directly. | |
9497 | (scan_out_logical_line): Handle function-like macro argument | |
9498 | collection. | |
9499 | (push_replacement_text): Update. | |
9500 | (replacement_length): Remove. | |
9501 | (_cpp_create_trad_definition): Don't skip whitespace before | |
9502 | checking for '('. | |
9503 | ||
25f2e176 MM |
9504 | 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl> |
9505 | ||
9506 | * config/avr/avr.c (avr_mcu_types): Update for new devices. | |
9507 | * config/avr/avr.h (TARGET_SWITCHES, AVR_MEGA): Add -mshort-calls. | |
9508 | (LINK_SPEC, CRT_BINUTILS_SPECS): Update for new devices. | |
9509 | * config/avr/avr.md ("type" and "length" attributes): New type | |
9510 | "xcall", length 1 or 2 if AVR_MEGA. Use in all patterns that | |
9511 | output a single "call" or "rcall" insn depending on device size. | |
9512 | * config/avr/t-avr (MULTILIB_MATCHES): Update for new devices. | |
9513 | ||
309323c2 DE |
9514 | 2002-06-09 David Edelsohn <edelsohn@gnu.org> |
9515 | ||
9516 | * config/rs6000/{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3 | |
9517 | synonym for 630. Add power4. Remove embedded processors. Use -m604 | |
9518 | assembler option. | |
9519 | (CPP_CPU_SPEC): Add power3 and power4. | |
9520 | (PROCESSOR_DEFAULT): Change to 604e. | |
9521 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Similar additions. | |
9522 | (CPP_CPU_SPEC): Similar additions. | |
9523 | (enum process_type): Add POWER4. | |
9524 | (RTX_COSTS): Add POWER4. | |
9525 | (CPP_CPU_SPEC): Similar additions. | |
9526 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define. | |
6ef0903d | 9527 | (PROCESSOR_DEFAULT64): Define. |
309323c2 DE |
9528 | * config/rs6000/rs6000.c (rs6000_override_options): Add power4. |
9529 | (rs6000_adjust_cost): Add 603, 604, 604e, 620, 630, Power4 to | |
9530 | branch adjustment. | |
9531 | (rs6000_issue_rate): Add Power4. | |
9532 | * config/rs6000/rs6000.md (cpu attr): Add power4. | |
9533 | (iu compare): Remove 604, 604e, 620, 630. | |
9534 | Add basic Power4 scheduling information. | |
9535 | (mfcr/mtcrf): Change type attribute to cr_logical. | |
9536 | ||
1f8e4682 KG |
9537 | 2002-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9538 | ||
57d80297 KG |
9539 | * gengtype.h (error_at_line): Use PARAMS, not VPARAMS. Add |
9540 | ATTRIBUTE_PRINTF_2. | |
9541 | * gengtype-lex.l: Fix format specifier warning. | |
9542 | ||
1f8e4682 KG |
9543 | * genautomata.c: Don't include ctype.h or limits.h. Use ISSPACE, |
9544 | not isspace. | |
9545 | * gengtype-lex.l: Don't include ctype.h and use ISSPACE/ISIDNUM in | |
9546 | lieu of isspace/IDchar. | |
9547 | * gengtype.c: Likewise for ctype.h and ISALNUM vs isalnum. | |
9548 | * read-rtl.c: Likewise for ctype.h. Don't define ISDIGIT or | |
9549 | ISSPACE. | |
9550 | ||
5a9ee623 ZW |
9551 | 2002-06-08 Zack Weinberg <zack@codesourcery.com> |
9552 | ||
9553 | * Makefile.in (LIBCPP_OBJS): Take out version.o. | |
9554 | * cpphash.h (cpp_reader): Take out print_version member. | |
9555 | * cppinit.c: (cpp_handle_option): Don't do anything with | |
9556 | -version. Just set help_only for --version, --target-help. | |
9557 | Just set verbose option for -v. | |
9558 | (cpp_post_options): Don't print a version string. | |
9559 | ||
c16e5a35 MM |
9560 | 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
9561 | ||
9562 | * config/avr/avr.c (TARGET_SECTION_TYPE_FLAGS): New. | |
9563 | (avr_section_type_flags): New, handle .noinit* sections. | |
9564 | ||
79bc889e JT |
9565 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9566 | ||
9567 | * config/sh/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define | |
9568 | and include netbsd_entry_point. | |
9569 | (SUBTARGET_LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF. | |
9570 | (NETBSD_ENTRY_POINT): Define. | |
9571 | ||
6a79bb0a JT |
9572 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9573 | ||
9574 | * config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty | |
5a9ee623 | 9575 | if not already defined. |
6a79bb0a JT |
9576 | (EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS. |
9577 | ||
e52b6b63 MM |
9578 | 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
9579 | ||
9580 | * config/avr/avr.c (avr_regs_to_save): No need to save any registers | |
9581 | in a noreturn function. | |
9582 | (avr_output_function_prologue, avr_output_function_epilogue): | |
9583 | Correct function size calculation. Do not crash on empty function. | |
9584 | (avr_output_function_epilogue): No need for epilogue after a BARRIER. | |
9585 | ||
1569d670 JT |
9586 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9587 | ||
9588 | * config/mips/netbsd.h (SUBTARGET_EXTRA_SPECS): Add | |
9589 | netbsd_link_spec and netbsd_entry_point. | |
9590 | (LINK_SPEC): Use %(netbsd_link_spec). | |
9591 | (NETBSD_ENTRY_POINT): Define. | |
9592 | ||
cfb06024 JT |
9593 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9594 | ||
9595 | * config/sparc/netbsd-elf.h (LINK_ARCH32_SPEC): Only specify | |
9596 | linker emulation. | |
9597 | (LINK_ARCH64_SPEC): Likewise. | |
9598 | (LINK_SPEC, NETBSD_ENTRY_POINT): Define. | |
9599 | (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point. | |
9600 | ||
5a9ee623 ZW |
9601 | 2002-06-08 Marc Espie <espie@openbsd.org> |
9602 | ||
9603 | * lists.c (free_list): Fix typo in comment. | |
e3623158 | 9604 | |
272cdf58 AJ |
9605 | 2002-06-08 Andreas Jaeger <aj@suse.de> |
9606 | ||
9607 | * lcm.c (optimize_mode_switching): Add unused attribute for | |
9608 | variable. | |
9609 | ||
9610 | * sched-deps.c (sched_analyze): Remove unused variable. | |
9611 | ||
bf3f2a12 GDR |
9612 | 2002-06-08 Gabriel Dos Reis <gdr@codesourcery.com> |
9613 | ||
9614 | * diagnostic.def: Don't capitalize diagnostict descriptors. | |
9615 | ||
523a5f2f JT |
9616 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9617 | ||
9618 | * config/m68k/netbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point. | |
9619 | (LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF. | |
9620 | (NETBSD_ENTRY_POINT): Define. | |
9621 | ||
a3e944f9 JT |
9622 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9623 | ||
9624 | * config/i386/netbsd-elf.h (LINK_SPEC): Define as | |
9625 | NETBSD_LINK_SPEC_ELF. | |
9626 | (SUBTARGET_EXTRA_SPECS): Add netbsd_entry_point. | |
9627 | (NETBSD_ENTRY_POINT): Define. | |
9628 | * config/i386/netbsd64.h (LINK_SPEC): Use %(netbsd_link_spec). | |
9629 | (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and | |
9630 | netbsd_entry_point. | |
9631 | (NETBSD_ENTRY_POINT): Define. | |
9632 | ||
854928a0 JT |
9633 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9634 | ||
9635 | * config/alpha/netbsd.h (SUBTARGET_EXTRA_SPECS): Add | |
9636 | netbsd_link_spec and netbsd_entry_point. | |
9637 | (LINK_SPEC): Use %(netbsd_link_spec). | |
9638 | (NETBSD_ENTRY_POINT): Define. | |
9639 | ||
6bb5d2e7 JT |
9640 | 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
9641 | ||
9642 | * config/netbsd-elf.h (LINK_SPEC): Rename to... | |
9643 | (NETBSD_LINK_SPEC_ELF): ...this. Use %(netbsd_entry_point) | |
9644 | to specify program entry point. | |
9645 | ||
e50126e8 JL |
9646 | 2002-06-07 Jeff Law <law@redhat.com |
9647 | ||
9648 | * emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx. | |
272cdf58 | 9649 | * combine.c (move_deaths): Use regno_reg_rtx for hard regs rather |
e50126e8 JL |
9650 | than creating a new register. |
9651 | (distribute_notes): Likewise. | |
9652 | * df.c (df_reg_use_gen): Likewise. | |
9653 | (df_reg_clobber_gen): Likewise. | |
9654 | (df_ref_record): Likewise. | |
9655 | * expr.c (use_regs): Likewise. | |
9656 | * flow.c (propagate_one_insn): Likewise. | |
9657 | (mark_set_1): Likewise. | |
9658 | (mark_used_reg): Likewise. | |
9659 | * reload.c (emit_reload_insns): Likewise. | |
9660 | ||
bc9c18c3 RS |
9661 | 2002-06-07 Roger Sayle <roger@eyesopen.com> |
9662 | ||
9663 | * simplify-rtx.c (simplify_gen_relational): Simplify RTL of the form | |
9664 | (ne (comp x y) 0) into (comp x y) where comp is a comparison code. | |
9665 | Simplify (eq (comp x y) 0) into (revcomp x y) if the sense of the | |
9666 | comparison code comp can be reversed. | |
9667 | ||
437f1df1 RS |
9668 | 2002-06-07 Roger Sayle <roger@eyesopen.com> |
9669 | ||
9670 | * fold-const.c (fold) [EQ_EXPR]: Place both integer and real | |
9671 | constants last in comparisons. Optimize (x+1.0)>0.0 into the | |
9672 | equivalent x > -1.0 when -ffast-math. | |
9673 | ||
cd24b8a4 JT |
9674 | 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com> |
9675 | ||
9676 | * config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}. | |
9677 | * config/mips/t-netbsd: New file. | |
9678 | ||
09e77dee ZW |
9679 | 2002-06-07 Zack Weinberg <zack@codesourcery.com> |
9680 | ||
9681 | * cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W | |
9682 | options their own entries. | |
9683 | (parse_option): Clarify comment. | |
9684 | (cpp_handle_option): Remove 'ignore' parameter and OPT_W | |
9685 | special case. Replace if/strcmp chain for -W options with | |
9686 | use of new OPT_* entries for them. | |
9687 | (cpp_handle_options): Update to match. | |
9688 | * cpplib.h: Remove last parameter to cpp_handle_option from prototype. | |
9689 | * c-decl.c: Update call to cpp_handle_option. | |
9690 | ||
942030dc AD |
9691 | 2002-06-07 Akim Demaille <akim@epita.fr> |
9692 | ||
9693 | * gengtype-yacc.y (optionseqopt): Add the ending `;' to the action. | |
9694 | Whitespace changes. | |
9695 | ||
f2846820 JL |
9696 | 2002-06-07 Jeffrey Law <law@redhat.com> |
9697 | ||
9698 | * sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list | |
9699 | on empty lists. | |
9700 | ||
4bafaa6f L |
9701 | 2002-06-07 H.J. Lu (hjl@gnu.org) |
9702 | ||
9703 | * configure.in: Add --enable-__cxa_atexit. | |
9704 | * configure: Regenerated. | |
9705 | * config.in: Likewise. | |
9706 | ||
9707 | * defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if | |
9708 | not defined. | |
9709 | ||
caef5b46 GDR |
9710 | 2002-06-07 Gabriel Dos Reis <gdr@merlin.nerim.net> |
9711 | ||
9712 | * diagnostic.c (diagnostic_build_prefix): Fix initialization. | |
9713 | ||
ac64a17c JT |
9714 | 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com> |
9715 | ||
9716 | * config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define. | |
9717 | ||
97459791 JM |
9718 | 2002-06-07 Jason Merrill <jason@redhat.com> |
9719 | ||
9720 | * cppexp.c (num_equality_op): Use a temporary variable to work | |
9721 | around gcc 3.0.4 bug. | |
9722 | ||
4b1d52c7 GDR |
9723 | 2002-06-07 Gabriel Dos Reis <gdr@codesourcery.com> |
9724 | ||
9725 | * diagnostic.c (diagnostic_build_prefix): Tidy. | |
9726 | ||
c70f6ed3 NB |
9727 | 2002-06-07 Neil Booth <neil@daikokuya.demon.co.uk> |
9728 | ||
9729 | * cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN, | |
9730 | scan_parameters, save_replacement_text, replacement_length): New. | |
9731 | (scan_out_logical_line): Take a macro and save parameters if | |
9732 | non-NULL. | |
9733 | (_cpp_logical_line_trad): Update. | |
9734 | (_cpp_create_trad_definition): Update to handle function-like | |
9735 | macros. | |
9736 | * cpplex.c (new_buff): Update. | |
9737 | (struct dummy, DEFAULT_ALIGNMENT, CPP_ALIGN): Move... | |
9738 | * cpphash.h: ...here. | |
9739 | (CPP_ALIGN2, _cpp_save_parameter): New. | |
9740 | * cppmacro.c (save_parameter): Rename, export. | |
9741 | (parse_params): Update. | |
9742 | ||
aec2ac46 AJ |
9743 | 2002-06-07 Andreas Jaeger <aj@suse.de> |
9744 | ||
9745 | * config/mmix/mmix.c: Remove extra broken prototype for | |
9746 | mmix_init_machine_status. | |
9747 | ||
9f313342 GK |
9748 | 2002-06-06 Geoffrey Keating <geoffk@redhat.com> |
9749 | ||
9750 | * gengtype.c: Add comments before all the routines. | |
9751 | ||
3fa1b448 JT |
9752 | 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com> |
9753 | ||
9754 | * config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32 | |
9755 | from and add t-sh64 to ${tmake_file}. | |
9756 | (sh64*-*-netbsd*): Add t-sh64 to ${tmake_file}. | |
9757 | * config/sh/t-netbsd-sh5 (LIB1ASMFUNCS): Remove. | |
9758 | * config/sh/t-netbsd-sh5-32: Remove. | |
9759 | * config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Use | |
9760 | MULTILIB_ENDIAN. | |
9761 | (MULTILIB_DIRNAMES): Define. | |
9762 | ||
0d682900 JH |
9763 | Thu Jun 6 23:14:46 CEST 2002 Jan Hubicka <jh@suse.cz> |
9764 | ||
9765 | * i386.md (and promoting splitters): Disable QI to SImode promoting | |
9766 | when doing so changes immediate to be 32bit. | |
9767 | ||
9768 | * rtl.h (emit_*_scope): Declare. | |
9769 | * emit-rtl.c (emit_*_scope): New global functions. | |
9770 | (try_split): Copy scope. | |
9771 | * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, | |
9772 | noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove, | |
9773 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs, | |
9774 | noce_process_if_block, find_cond_trap): Copy scopes. | |
9775 | * recog.c (peephole2_optimize): likewise. | |
9776 | ||
c991649c JL |
9777 | 2002-06-06 Jeffrey Law <law@redhat.com> |
9778 | ||
9779 | * h8300.h (OK_FOR_U): Fix thinko exposed by flag checking. | |
9780 | ||
8a5d66c4 R |
9781 | Thu Jun 6 21:06:25 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9782 | ||
9783 | * gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'". | |
9784 | ||
d7f8491b RO |
9785 | 2002-06-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9786 | ||
9787 | * Makefile.in (TEXI_GCCINSTALL_FILES): Define. | |
9788 | ($(docdir)/gccinstall.info): New target. | |
9789 | (info): Depend on it. | |
9790 | (gccinstall.dvi): New target. | |
9791 | (dvi): Depend on it. | |
9792 | * doc/.cvsignore: Ignore new info files. | |
9793 | * doc/install.texi (@setfilename): Reflect new info filename. | |
9794 | ||
eaeb7de8 R |
9795 | Thu Jun 6 15:57:23 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9796 | ||
9797 | * sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P | |
9798 | on an UNSPEC. | |
9799 | ||
0c7aeb88 NP |
9800 | Thu Jun 6 07:17:43 2002 Nicola Pero <n.pero@mi.flashnet.it> |
9801 | ||
9802 | PR objc/6834 | |
9803 | * objc/objc-lang.c (LANG_HOOKS_GET_ALIAS_SET): Define to be | |
9804 | c_common_get_alias_set. | |
aec2ac46 | 9805 | (LANG_HOOKS_SAFE_FROM_P): Define to be c_safe_from_p. |
0c7aeb88 | 9806 | |
2a496e8b JDA |
9807 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9808 | ||
9809 | * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): New | |
9810 | functions. | |
9811 | * rtl.h (get_first_nonnote_insn, get_last_nonnote_insn): Declare. | |
9812 | * avr/avr.c (avr_output_function_epilogue): Use above to determine | |
9813 | function size. | |
9814 | * pa/pa.c (pa_output_function_prologue): Likewise. | |
9815 | ||
2ff581c3 DM |
9816 | 2002-06-05 David S. Miller <davem@redhat.com> |
9817 | ||
9818 | * integrate.c (subst_constants): Handle 'B' RTL format. | |
9819 | ||
b2e2d0cc EC |
9820 | 2002-06-05 Eric Christopher <echristo@redhat.com> |
9821 | ||
9822 | * varasm.c (make_decl_rtl): Fix comment for removed | |
9823 | halfpic.c. | |
9824 | ||
0f81faf6 EC |
9825 | 2002-06-05 Eric Christopher <echristo@redhat.com> |
9826 | ||
9827 | * Makefile.in: Remove missed halfpic bits. | |
9828 | ||
33005162 EC |
9829 | 2002-06-05 Eric Christopher <echristo@redhat.com> |
9830 | ||
9831 | * toplev.c: Remove half-pic. | |
9832 | * config/mips/mips.c: Ditto. | |
9833 | * config/mips/mips.h: Ditto. Remove unused defines. | |
9834 | * config/mips/openbsd.h: Update comment to reflect above. | |
9835 | * config/mips/mips.md: Remove half-pic constraints. | |
9836 | * halfpic.h: Delete. | |
9837 | * halfpic.c: Ditto. | |
9838 | ||
80081028 JL |
9839 | 2002-06-05 Jeffrey Law <law@redhat.com> |
9840 | ||
5a9ee623 ZW |
9841 | * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it |
9842 | rejects (mem (lo_sum (reg) (unspec))), but will allow | |
9843 | (mem (lo_sum (reg) (symbol_ref)) for PA2.0. | |
80081028 | 9844 | |
cbc69f84 NB |
9845 | 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk> |
9846 | ||
9847 | * cpphash.h (_cpp_create_definition): Update prototype. | |
9848 | (_cpp_push_text_context, _cpp_create_trad_definition): New. | |
9849 | ( cpp_lex_identifier_trad): New. | |
9850 | (_cpp_set_trad_context): New. | |
9851 | * cppinit.c (cpp_finish_options): Don't conditionalize builtins. | |
9852 | * cpplib.c (SEEN_EOL): Update. | |
9853 | (lex_macro_node): Update for -traditional. | |
9854 | (cpp_push_buffer, _cpp_pop_buffer): Similarly. | |
9855 | * cppmacro.c (_cpp_create_definition): Split into | |
9856 | create_iso_definition() and _cpp_create_trad_definition(). | |
9857 | (warn_of_redefinition): Update prototype; handle traditional | |
9858 | macros. | |
9859 | (_cpp_push_text_context): New. | |
9860 | * cpptrad.c (skip_whitespace, push_replacement_text): New. | |
9861 | (lex_identifier): Call ht_lookup with correct start. | |
9862 | (_cpp_lex_identifier_tradm _cpp_create_trad_definition, | |
9863 | _cpp_set_trad_context): New. | |
9864 | (scan_out_logical_line): Update to handle changing contexts. | |
9865 | ||
dbf87f32 R |
9866 | Wed Jun 5 20:42:31 2002 J"orn Rennecke <joern.rennecke@superh.com> |
9867 | ||
9868 | * config.gcc (sh-*-elf*, sh64*-*-elf*): Unify. | |
9869 | (shl*-*-elf*): Add. | |
9870 | * config/sh/t-be (MULTILIB_ENDIAN): Set. | |
9871 | * config/sh/t-le (MULTILIB_ENDIAN): Likewise. | |
9872 | * t-sh (MULTILIB_ENDIAN): Set. | |
9873 | (MULTILIB_OPTIONS): Use it. | |
9874 | * t-sh64 (MULTILIB_OPTIONS): Likewise. | |
9875 | (MULTILIB_DIRNAMES): Likewise. | |
9876 | ||
47b69537 GDR |
9877 | 2002-06-05 Gabriel Dos Reis <gdr@codesourcery.com> |
9878 | ||
9879 | * toplev.h (report_error_function): Remove. | |
9880 | ||
9881 | * diagnostic.h (location_t): New datatype. | |
9882 | (text_info): Likewise. | |
9883 | (diagnostic_info): Likewise. | |
9884 | (output_prefix): New macro. | |
9885 | (diagnostic_last_function_changed): Likewise. | |
9886 | (diagnostic_set_last_function): Likewise. | |
9887 | (diagnostic_last_module_changed): Likewise. | |
9888 | (diagnostic_set_last_module): Likewise. | |
9889 | (report_diagnostic): Now macro. | |
9890 | (diagnostic_set_info): Declare. | |
9891 | ||
9892 | * diagnostic.c (report_problematic_module): Rename to | |
33005162 | 9893 | diagnostic_repor_current_module. |
47b69537 GDR |
9894 | (set_diagnostic_context): Remove. |
9895 | (count_error): Rename to diagnostic_error_count. | |
9896 | (error_function_changed): Remove. | |
9897 | (record_last_error_function): Likewise. | |
9898 | (error_module_changed): Likewise. | |
9899 | (record_last_error_module): Likewise. | |
9900 | (context_as_prefix): Rename to diagnostic_build_prefix. | |
9901 | (flush_diagnostic_buffer): Rename to diagnostic_flush_buffer. | |
9902 | (diagnostic_set_info): New function. | |
9903 | ||
9904 | * objc/objc-act.c: #include diagnostic.h | |
9905 | (error_with_ivar): Adjust call to count_error. | |
9906 | (warn_with_method): Likewise. | |
9907 | * objc/Make-lang.in (objc-act.o): Depend on diagnostic.h | |
9908 | ||
540eaea8 BW |
9909 | 2002-06-05 Bob Wilson <bob.wilson@acm.org> |
9910 | ||
9911 | * config/xtensa/xtensa.c (xtensa_build_va_list): Use | |
9912 | lang_hooks.types.make_type instead of make_node; set up | |
9913 | __va_list_tag type decl. | |
9914 | (xtensa_builtin_saveregs): Remove broken use of | |
9915 | RTX_UNCHANGING_P and unnecessary use of MEM_IN_STRUCT_P | |
9916 | for saved registers; add varargs alias set. | |
9917 | ||
f23a084d NB |
9918 | 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk> |
9919 | ||
9920 | config: | |
9921 | * alpha/gnu.h: Undef TARGET_OS_CPP_BUILTINS. | |
9922 | * i386/beos-elf.h: Use TARGET_OS_CPP_BUILTINS rather than | |
9923 | CPP_PREDEFINES and part of CPP_SPEC. | |
9924 | i386/freebsd-aout.h, i386/gas.h, i386/gnu.h, i386/linux-aout.h, | |
9925 | i386/linux.h, i386/moss.h, i386/xm-vsta.h: Similarly. | |
9926 | ||
3fe3a596 JH |
9927 | Wed Jun 5 15:20:58 CEST 2002 Jan Hubicka <jh@suse.cz> |
9928 | ||
9929 | * reg-stack.c (reg_to_stack): Do not call find_basic_blocks. | |
9930 | ||
1fd9ba59 AM |
9931 | 2002-06-05 Alan Modra <amodra@bigpond.net.au> |
9932 | ||
9933 | * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define. | |
9934 | ||
cea554e0 ZW |
9935 | 2002-06-04 Zack Weinberg <zack@codesourcery.com> |
9936 | ||
9937 | * gengtype-yacc.y: Make sure all rules end with a semicolon. | |
9938 | ||
07232638 BW |
9939 | 2002-06-04 Bob Wilson <bob.wilson@acm.org> |
9940 | ||
9941 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Fix | |
9942 | typo in function prototype and include "ggc.h" header. | |
9943 | ||
c4b50f1a RH |
9944 | 2002-06-04 Richard Henderson <rth@redhat.com> |
9945 | ||
9946 | * config/alpha/alpha.c (mode_mask_operand): Simplify without ifdefs. | |
9947 | (print_operand) ['U']: Likewise. | |
9948 | (alpha_expand_unaligned_store): Correct constants for 32-bit cross. | |
9949 | (alpha_expand_unaligned_store_words): Likewise. | |
9950 | (alpha_expand_builtin_vector_binop): Fix typo. | |
9951 | (enum alpha_builtin, code_for_builtin): Add remaining ext, ins, msk, | |
9952 | umulh, and cix insns. | |
9953 | (one_arg_builtins): Add cix builtins. | |
9954 | (two_arg_builtins): Add ext, ins, msk, umulh builtins. | |
9955 | (alpha_expand_builtin): Fix typo in arity. | |
9956 | * config/alpha/alpha.md (UNSPEC_CTLZ, UNSPEC_CTPOP): New. | |
9957 | (builtin_extbl, builtin_extwl, builtin_extll, builtin_extwh, | |
9958 | builtin_extlh, builtin_insbl, builtin_inswl, builtin_insll, | |
9959 | builtin_insql, builtin_inswh, builtin_inslh, builtin_insqh, | |
9960 | builtin_mskbl, builtin_mskwl, builtin_mskll, builtin_mskql, | |
9961 | builtin_mskwh, builtin_msklh, builtin_mskqh, builtin_cttz, | |
9962 | builtin_ctlz, builtin_ctpop): New. | |
9963 | * doc/extend.texi (Alpha Built-in Functions): Update. | |
9964 | ||
aaab35ae GK |
9965 | 2002-06-04 Geoffrey Keating <geoffk@redhat.com> |
9966 | ||
afb0f770 GK |
9967 | * gengtype.c (write_gc_root): Don't unnecessarily prevent |
9968 | global variable-length arrays being roots. | |
9969 | ||
aaab35ae GK |
9970 | * config.gcc (powerpc-*-darwin*): Set config_gtfiles. |
9971 | * configure.in (config_gtfiles): New variable. | |
4912a07c | 9972 | (all_gtfiles): Initialize from config_gtfiles. |
aaab35ae GK |
9973 | * configure: Regenerate. |
9974 | ||
1ba7b414 NB |
9975 | 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk> |
9976 | ||
9977 | config/i386: | |
9978 | * beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h, | |
9979 | i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h, | |
9980 | mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h, | |
9981 | sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h, | |
9982 | win32.h (CPP_SPEC): Remove cpp_cpu. | |
9983 | * i386.h (TARGET_CPU_CPP_BUILTINS): Use. | |
9984 | (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die! | |
9985 | ||
135ca7b2 JJ |
9986 | 2002-06-04 Janis Johnson <janis187@us.ibm.com> |
9987 | ||
9988 | * config/ia64/ia64.c (gen_thread_pointer): Fix variable name. | |
9989 | ||
85d69216 | 9990 | 2002-06-04 Jeff Law <law@redhat.com. |
5a9ee623 ZW |
9991 | David Edelsohn <edelsohn@gnu.org> |
9992 | Michael Matz <matz@kde.org> | |
85d69216 JL |
9993 | |
9994 | * sched-int.h (struct deps): New field libcall_block_tail_insn. | |
9995 | * sched_deps.c (init_deps): Initialize libcall_block_tail_insn. | |
9996 | * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn | |
9997 | is set, then mark the current insn as being part of a libcall | |
9998 | scheduling group. | |
9999 | (sched_analyze): Set and clear libcall_block_tail_insn appropriately. | |
10000 | ||
10001 | * haifa-sched.c (schedule_block): Do not count USE or CLOBBER | |
10002 | insns against the issue rate. | |
10003 | ||
63f4a88e JH |
10004 | Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz> |
10005 | ||
10006 | * cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes. | |
10007 | * final.c (final_scan_insn): Likewise. | |
10008 | * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use | |
10009 | NOTE_EXPECTED_VALUE instead of NOTE_RANGE. | |
10010 | * haifa-sched.c (unlink_other_notes): Likeewise. | |
10011 | (reemit_notes): Likewise. | |
10012 | * print-rtl.c (print_rtx): Likewise. | |
10013 | * sched-deps (sched-analyze): Likewise. | |
10014 | * rtl.c (note_insn_name): Likewise. | |
10015 | * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill. | |
10016 | (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE. | |
10017 | (RANGE_*): Kill. | |
10018 | ||
a5d1f75b JT |
10019 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
10020 | ||
10021 | * varasm.c (mark_constants): Handle RTX format 'B'. | |
10022 | ||
82eda77e NB |
10023 | 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk> |
10024 | ||
10025 | * cpphash.h (FIRST, LAST, CUR, RLIMIT): New. | |
10026 | (struct cpp_context): Add traditional fields. | |
10027 | * cppmacro.c (paste_all_tokens, push_ptoken_context, | |
10028 | push_token_context, cpp_get_token, _cpp_backup_tokens): Update. | |
10029 | * cpptrad.c (skip_comment, lex_identifier, | |
10030 | _cpp_read_logical_line_trad, scan_out_logical_line): Update. | |
10031 | ||
589005ff KH |
10032 | 2002-06-04 Kazu Hirata <kazu@cs.umass.edu> |
10033 | ||
10034 | * gbl-ctors.h: Fix formatting. | |
10035 | * gcc.c: Likewise. | |
10036 | * gccspec.c: Likewise. | |
10037 | * gcov.c: Likewise. | |
10038 | * gcov-io.h: Likewise. | |
10039 | * gcse.c: Likewise. | |
10040 | * ggc-common.c: Likewise. | |
10041 | * ggc.h: Likewise. | |
10042 | * ggc-page.c: Likewise. | |
10043 | * ggc-simple.c: Likewise. | |
10044 | * global.c: Likewise. | |
10045 | * graph.h: Likewise. | |
10046 | * gthr-dce.h: Likewise. | |
10047 | * gthr.h: Likewise. | |
10048 | * gthr-posix.h: Likewise. | |
10049 | * gthr-rtems.h: Likewise. | |
10050 | * gthr-solaris.h: Likewise. | |
10051 | * gthr-win32.h: Likewise. | |
10052 | ||
e2500fed GK |
10053 | 2002-06-03 Geoffrey Keating <geoffk@redhat.com> |
10054 | ||
10055 | Merge from pch-branch: | |
33005162 | 10056 | |
e2500fed GK |
10057 | * gengtype.h (UNION_OR_STRUCT_P): New macro. |
10058 | * gengtype.c (write_gc_structure_fields): Use it. | |
10059 | (write_gc_root): Use it here too. | |
10060 | ||
10061 | * gengtype.c (write_gc_structure_fields): Assume that lengths | |
10062 | of typenames fit into an 'int'; don't pass a size_t to "%d" in | |
10063 | printf. | |
10064 | (write_gc_marker_routine_for_structure): Likewise. | |
10065 | (write_gc_types): Likewise. | |
10066 | (write_gc_root): Likewise. | |
10067 | ||
10068 | * varray.h (VARRAY_CLEAR): New. | |
10069 | (varray_clear): Prototype. | |
10070 | * varray.c (varray_clear): New. | |
10071 | * cselib.c (reg_values_old): New. | |
10072 | (used_regs_old): New. | |
10073 | (cselib_init): Use cached varrays if available to avoid | |
10074 | generating large amounts of garbage. | |
10075 | (cselib_finish): Don't throw away old varrays. | |
10076 | ||
10077 | * final.c (insn_addresses_): Move out of ifdef. | |
10078 | ||
10079 | * varray.c (uses_ggc): Make more varray kinds GCable. | |
10080 | * varray.h (union varray_data_tag): Let gengtype see | |
10081 | fields 'generic' and 'te'. | |
10082 | * reg-stack.c: Include gt-reg-stack.h, ggc.h. | |
10083 | (stack_regs_mentioned_data): Move out of ifdef; mark with gengtype. | |
10084 | (reg_to_stack): Don't call VARRAY_FREE. | |
10085 | * insn-addr.h (INSN_ADDRESSES_FREE): Don't use VARRAY_FREE. | |
10086 | (insn_addresses_): Use gengtype to mark. | |
10087 | * gengtype.c (write_gc_structure_fields): Handle arrays of generic | |
10088 | pointers; handle generic pointers in unused union fields. | |
10089 | (get_output_file_with_visibility): Include cselib.h, | |
10090 | insn-addr.h in gtype-desc.c. | |
10091 | * function.c (prologue): Use gengtype to mark. | |
10092 | (epilogue): Likewise. | |
10093 | (sibcall_epilogue): Likewise. | |
10094 | * dependence.c: Include gt-dependence.h, ggc.h. | |
10095 | (struct def_use): Use gengtype to mark. | |
10096 | (struct loop): Likewise. | |
10097 | (struct induction): Likewise. | |
10098 | (struct dependence): Likewise. | |
10099 | (def_use_chain): Likewise. | |
10100 | (dep_chain): Likewise. | |
10101 | (loop_chain): Likewise. | |
10102 | (induction_chain): Likewise. | |
10103 | (init_dependence_analysis): Don't free anything, just clear pointers. | |
10104 | (build_def_use): Use GGC to allocate def_use. | |
10105 | (add_loop): Use GGC to allocate loop. | |
10106 | (find_induction_variable): Use GGC to allocate induction. | |
10107 | (check_node_dependence): Use GGC to allocate induction, dependence. | |
10108 | (dump_node_dependence): Don't free varrays. | |
10109 | (end_dependence_analysis): Likewise. | |
10110 | * cselib.h (struct cselib_val_struct): Use gengtype to mark. | |
10111 | (struct elt_loc_list): Likewise. | |
10112 | (struct elt_list): Likewise. | |
10113 | * cselib.c: Don't include obstack.h. | |
10114 | (hash_table): Use gengtype to mark. | |
10115 | (reg_values): Use gengtype to mark. | |
10116 | (used_regs): Use gengtype to mark. | |
10117 | (cselib_obstack): Delete. | |
10118 | (cselib_startobj): Delete. | |
10119 | (empty_vals): Mark as deletable. | |
10120 | (empty_elt_lists): Mark as deletable. | |
10121 | (empty_elt_loc_lists): Mark as deletable. | |
10122 | (new_elt_list): Use GGC to allocate struct elt_list. | |
10123 | (new_elt_loc_list): Use GGC to allocate struct elt_loc_list. | |
10124 | (clear_table): Don't delete obstack; don't unnecessarily clear | |
10125 | deletable variables. | |
10126 | (new_cselib_val): Use GGC to allocate struct cselib_val. | |
10127 | (cselib_init): Don't set up obstacks. Use GGC to allocate | |
10128 | hash table. | |
10129 | (cselib_finish): Just clear variables, don't free anything. | |
10130 | * Makefile.in (cselib.o): Remove dependency on $(OBSTACK_H). | |
10131 | (reg-stack.o): Add dependency on gt-reg-stack.h, $(GGC_H). | |
10132 | (dependence.o): Add dependency on gt-dependence.h, $(GGC_H). | |
10133 | (GTFILES): Add insn-addr.h, cselib.h, dependence.c, reg-stack.c. | |
10134 | (gt-reg-stack.h): New rule. | |
10135 | (gt-dependence.h): New rule. | |
10136 | (gtype-desc.o): Add cselib.h, insn-addr.h. | |
10137 | ||
10138 | * varray.c: Use only necessary headers. | |
10139 | (element_size): New. | |
10140 | (uses_ggc): New. | |
10141 | (varray_init): Take type, not size. Use GGC if appropriate. | |
10142 | (varray_grow): Update for change to struct varray_head_tag. | |
10143 | Use GGC if appropriate. | |
10144 | * varray.h (struct const_equiv_data): Use gengtype. | |
10145 | (enum varray_data_enum): New. | |
10146 | (union varray_data_tag): Use gengtype. | |
10147 | (struct varray_head_tag): Use gengtype. Replace size field with | |
10148 | enum varray_data_enum. | |
10149 | (varray_init): Update prototype. | |
10150 | (VARRAY_SCHED_INIT): Delete. | |
10151 | (VARRAY_*_INIT): Update for change to varray_init. | |
10152 | (VARRAY_SCHED): Delete. | |
10153 | (VARRAY_PUSH_SCHED): Delete. | |
10154 | (VARRAY_TOP_SCHED): Delete. | |
10155 | * tree.h: Update for change to length specifier. | |
10156 | * tree-inline.c (optimize_inline_calls): Don't use VARRAY_FREE. | |
10157 | (clone_body): Likewise. | |
10158 | * ssa.h (ssa_definition): Use gengtype to mark. | |
10159 | * ssa.c (convert_from_ssa): Don't use VARRAY_FREE. | |
10160 | * ssa-dce.c (ssa_eliminate_dead_code): Don't use VARRAY_FREE. | |
10161 | * rtl.h (struct rtvec_def): Update for change to length specifier. | |
10162 | * integrate.c (expand_inline_function): Don't use VARRAY_FREE. | |
10163 | (struct initial_value_struct): Update for change to length specifier. | |
10164 | * ggc.h (ggc_add_rtx_varray_root): Delete prototype. | |
10165 | (ggc_add_tree_varray_root): Delete prototype. | |
10166 | (ggc_mark_rtx_varray): Delete prototype. | |
10167 | (ggc_mark_tree_varray): Delete prototype. | |
10168 | * ggc-common.c (ggc_add_rtx_varray_root): Delete. | |
10169 | (ggc_add_tree_varray_root): Delete. | |
10170 | (ggc_mark_rtx_varray): Delete. | |
10171 | (ggc_mark_tree_varray): Delete. | |
10172 | (ggc_mark_rtx_varray_ptr): Delete. | |
10173 | (ggc_mark_tree_varray_ptr): Delete. | |
10174 | * gengtype.h (enum typekind): Remove TYPE_VARRAY. | |
10175 | (create_varray): Delete prototype. | |
10176 | * gengtype.c (varrays): Delete. | |
10177 | (create_varray): Delete. | |
10178 | (adjust_field_type): Detect array of string pointers. | |
10179 | (process_gc_options): Remove code to handle varray_type option. | |
10180 | (set_gc_used_type): Remove TYPE_VARRAY case. | |
10181 | (output_escaped_param): New. | |
10182 | (write_gc_structure_fields): Use output_escaped_param on all | |
10183 | parameters. Handle 'skip' with 'use_param' option. Handle | |
10184 | arrays of strings. Remove TYPE_VARRAY handling. | |
10185 | (write_gc_roots): Use boolean to detect 'length' option. | |
10186 | * gengtype-yacc.y (VARRAY_TYPE): Delete token. | |
10187 | (struct_fields): Call adjust_field_type on array fields. | |
10188 | (type): Remove VARRAY_TYPE case. | |
10189 | (type_option): Likewise. | |
10190 | * gengtype-lex.l: Don't consider varray_type a keyword. | |
10191 | * function.h: Update for change to length specifier. | |
10192 | (free_eh_status): Delete prototype. | |
10193 | * function.c (free_after_compilation): Don't call free_eh_status. | |
10194 | (reorder_blocks): Don't use VARRAY_FREE. | |
10195 | * except.c (struct eh_status): Update for change to length specifier. | |
10196 | remove varray_type specifier. | |
10197 | (free_eh_status): Delete. | |
10198 | * dwarf2out.c: Include gt-dwarf2out.h. | |
10199 | (used_rtx_varray): Use gengtype to mark, move | |
10200 | outside ifdefs. | |
10201 | (incomplete_types): Likewise. | |
10202 | (decl_scope_table): Likewise. | |
33005162 | 10203 | (dwarf2out_init): Don't call ggc_add_tree_varray_root. |
e2500fed GK |
10204 | * cfglayout.c (scope_to_insns_finalize): Don't use VARRAY_FREE. |
10205 | * c-tree.h (struct lang_type): Update for change to length specifier. | |
10206 | * c-parse.in (yylexstring): Don't use VARRAY_FREE. | |
10207 | * c-objc-common.c: Include gt-c-objc-common.h. | |
10208 | (deferred_fns): Mark for gengtype. | |
10209 | (c_objc_common_init): Don't call ggc_add_tree_varray_root. | |
10210 | (expand_deferred_fns): Just set deferred_fns to 0 to free it. | |
10211 | * Makefile.in (c-objc-common.o): Add gt-c-objc-common.h. | |
10212 | (gtype-desc.o): Update dependencies. | |
10213 | (dwarf2out.o): Add gt-dwarf2out.h. | |
10214 | (varray.o): Update dependencies. | |
10215 | (GTFILES): Add varray.h, ssa.h, dwarf2out.c, c-objc-common.c. | |
10216 | (gt-c-objc-common.h): New rule. | |
10217 | (gt-dwarf2out.h): New rule. | |
10218 | * objc/objc-act.c (build_objc_string_object): Don't use VARRAY_FREE. | |
10219 | ||
10220 | * doc/gty.texi (GTY Options): Correct spelling. | |
10221 | (GGC Roots): Likewise. | |
10222 | * Makefile.in (TEXI_CPP_FILES): New. | |
10223 | (TEXI_GCC_FILES): New. | |
10224 | (TEXI_GCCINT_FILES): New. | |
10225 | (TEXI_CPPINT_FILES): New. | |
10226 | ($(docdir)/cpp.info): Use new macros. | |
10227 | ($(docdir)/gcc.info): Likewise. | |
10228 | ($(docdir)/gccint.info): Likewise. | |
10229 | ($(docdir)/cppinternals.info): Likewise. | |
10230 | (cpp.dvi): Likewise. | |
10231 | (gcc.dvi): Likewise. | |
10232 | (gccint.dvi): Likewise. | |
10233 | (cppinternals.dvi): Likewise. | |
10234 | ||
10235 | * Makefile.in ($(docdir)/gccint.info): Depend on gty.texi. | |
10236 | * doc/gccint.texi (Top): Include gty.texi. | |
10237 | * doc/gty.texi: New file. | |
10238 | ||
10239 | * bitmap.c: Include ggc.h, gt-bitmap.h. | |
10240 | (bitmap_ggc_free): New. | |
10241 | (bitmap_elem_to_freelist): New. | |
10242 | (bitmap_element_free): Use bitmap_elem_to_freelist. | |
10243 | (bitmap_element_allocate): Allow use of GGC. | |
10244 | (bitmap_clear): Use bitmap_elem_to_freelist. | |
10245 | (bitmap_copy): Update for change to bitmap_element_allocate. | |
10246 | (bitmap_set_bit): Likewise. | |
10247 | (bitmap_operation): Update for changes elsewhere. | |
10248 | (bitmap_initialize): Allow to create bitmaps that will use GGC. | |
10249 | * bitmap.h (struct bitmap_element_def): Use gengtype. | |
10250 | (struct bitmap_head_def): Likewise. Also add 'using_obstack' field. | |
10251 | (bitmap_initialize): Add extra parameter. | |
10252 | (BITMAP_OBSTACK_ALLOC): Update for change to bitmap_initialize. | |
10253 | (BITMAP_ALLOCA): Delete. | |
10254 | (BITMAP_XMALLOC): Update for change to bitmap_initialize. | |
10255 | (BITMAP_GGC_ALLOC): New. | |
10256 | * Makefile.in (gtype-desc.o): Add bitmap.h. | |
10257 | (bitmap.o): Add gt-bitmap.h, $(GGC_H). | |
10258 | (GTFILES): Add bitmap.c. | |
10259 | (gt-bitmap.h): New rule. | |
10260 | ($(HOST_PREFIX_1)bitmap.o): Add gt-bitmap.h. | |
10261 | * basic-block.h: Update for changes to bitmap_initialize. | |
10262 | * except.c (exception_handler_label_map): Move into... | |
10263 | (struct eh_status): Here. | |
10264 | (struct eh_region): Make 'aka' GCable. | |
10265 | (free_eh_status): Don't need to specially handle | |
10266 | exception_handler_label_map. | |
10267 | (add_ehl_entry): Update for changes to exception_handler_label_map. | |
10268 | (find_exception_handler_labels): Likewise. | |
10269 | (remove_exception_handler_label): Likewise. | |
10270 | (maybe_remove_eh_handler): Likewise. | |
10271 | (for_each_eh_label): Likewise. | |
10272 | (remove_eh_handler): Allocate 'aka' using GGC. | |
10273 | * gengtype.c (get_output_file_with_visibility): Add bitmap.h | |
10274 | to list of includes. | |
10275 | ||
10276 | * gengtype.c (write_gc_marker_routine_for_structure): Name | |
33005162 | 10277 | the routines 'gt_ggc_mx_*' instead of 'gt_ggc_m_*'. |
e2500fed GK |
10278 | (write_gc_types): Arrange for the tests with NULL to be inlined. |
10279 | (write_gc_roots): Update uses of procedure pointers. | |
10280 | * ggc-common.c (gt_ggc_mx_rtx_def): Rename from gt_ggc_m_rtx_def. | |
10281 | ||
10282 | * Makefile.in (explow.o): Add dependency on gt-explow.h. | |
10283 | (sdbout.o): Add dependency on gt-sdbout.h. | |
10284 | ||
10285 | * emit-rtl.c (const_int_htab): Use gengtype to clear unused entries. | |
10286 | (mem_attrs_htab): Likewise. | |
10287 | (init_emit_once): Don't call ggc_add_deletable_htab. | |
10288 | * fold-const.c (size_htab): Use gengtype to clear unused entries. | |
10289 | (size_int_type_wide): Don't call ggc_add_deletable_htab. | |
10290 | * gengtype.c (finish_root_table): Add LASTNAME and TNAME | |
10291 | parameters, use them, change callers. | |
10292 | (write_gc_root): Add IF_MARKED parameter, use it, change callers. | |
10293 | (write_gc_roots): Handle 'if_marked' option. | |
10294 | (main): Don't need to call set_gc_used_type any more. | |
10295 | * ggc.h (ggc_htab_marked_p): Delete. | |
10296 | (ggc_htab_mark): Delete. | |
10297 | (struct ggc_cache_tab): New. | |
10298 | (gt_ggc_cache_rtab): New declaration. | |
10299 | * ggc-common.c (struct d_htab_root): Delete. | |
10300 | (d_htab_roots): Delete. | |
10301 | (ggc_add_deletable_htab): Delete. | |
10302 | (ggc_htab_delete): Handle new htab-deleting mechanism. | |
10303 | (ggc_mark_roots): Use new htab-deleting mechanism. | |
10304 | * tree.c (type_hash_table): Use gengtype to clear unused entries. | |
10305 | Make static. | |
10306 | (init_obstacks): Don't call ggc_add_deletable_htab. | |
10307 | ||
10308 | * objc/objc-act.h (struct hashed_attribute): Use gengtype. | |
10309 | (struct hashed_entry): Likewise. | |
10310 | (nst_method_hash_list): Likewise. | |
10311 | (cls_method_hash_list): Likewise. | |
10312 | (HASH_ALLOC_LIST_SIZE): Delete. | |
10313 | (ATTR_ALLOC_LIST_SIZE): Delete. | |
10314 | * objc/objc-act.c (hash_init): Use ggc to allocate | |
10315 | nst_method_hash_list, cls_method_hash_list. | |
10316 | (hash_enter): Use ggc to allocate; allocate one entry at a time. | |
10317 | (hash_add_attr): Likewise. | |
10318 | (ggc_mark_hash_table): Delete. | |
10319 | (objc_act_parse_init): Delete. | |
10320 | (objc_init): Delete reference to objc_act_parse_init. | |
10321 | * tlink.c: Replace hash.h with hashtab.h. Explicitly include | |
10322 | obstack.h. Replace references to 'struct hash_table' with htab_t. | |
10323 | (struct symbol_hash_entry): Replace hash header with key field. | |
10324 | (struct file_hash_entry): Replace hash header with key field. | |
10325 | (struct demangled_hash_entry): Replace hash header with key field. | |
10326 | (hash_string_eq): New. | |
10327 | (hash_string_hash): New. | |
10328 | (symbol_hash_newfunc): Delete. | |
10329 | (symbol_hash_lookup): Modify to use htab_t. | |
10330 | (file_hash_newfunc): Delete. | |
10331 | (file_hash_lookup): Modify to use htab_t. | |
10332 | (demangled_hash_newfunc): Delete. | |
10333 | (demangled_hash_lookup): Modify to use htab_t. | |
10334 | (tlink_init): Modify to use htab_t. | |
10335 | * hash.h: Delete. | |
10336 | * hash.c: Delete. | |
10337 | * ggc.h: Delete forward structure declarations. | |
10338 | Delete prototypes for deleted functions. | |
10339 | * ggc-common.c: Don't include hash.h. | |
10340 | (ggc_add_tree_hash_table_root): Delete. | |
10341 | (ggc_mark_tree_hash_table_entry): Delete. | |
10342 | (ggc_mark_tree_hash_table): Delete. | |
10343 | (ggc_mark_tree_hash_table_ptr): Delete. | |
10344 | * gengtype.c (write_gc_structure_fields): Allow param_is option. | |
10345 | (write_gc_marker_routine_for_structure): Use visibility of | |
10346 | the parameter if there is one. | |
10347 | * function.c: Replace hash.h with hashtab.h. Replace references | |
10348 | to 'struct hash_table *' with htab_t. | |
10349 | (struct insns_for_mem_entry): Include a plain key. | |
10350 | (fixup_var_refs_insns_with_hash): Update to use htab_t. | |
10351 | (insns_for_mem_newfunc): Delete. | |
10352 | (insns_for_mem_hash): Update to use htab_t. | |
10353 | (insns_for_mem_comp): Likewise. | |
10354 | (insns_for_mem_walk): Likewise. | |
10355 | * c-lang.c: Include ggc.h. | |
10356 | * Makefile.in (OBJS): Remove hash.o. | |
10357 | (c-lang.o): Add GGC_H. | |
10358 | (COLLECT2_OBJS): Remove hash.o. | |
10359 | (tlink.o): Remove hash.h, add HASHTAB_H and OBSTACK_H. | |
10360 | (ggc-common.o): Remove hash.h. | |
10361 | (function.o): Remove hash.h, add HASHTAB_H. | |
10362 | (genautomata.o): Remove hash.h, add HASHTAB_H. | |
10363 | ||
10364 | * varasm.c (mark_const_str_htab_1): Delete. | |
10365 | (mark_const_str_htab): Delete. | |
10366 | (const_str_htab_del): Delete. | |
10367 | (const_str_htab): Use gengtype to mark. | |
10368 | (init_varasm_once): Use gengtype to mark hashtables. Use GC to | |
10369 | allocate them. | |
10370 | * tree.c (mark_tree_hashtable_entry): Delete. | |
10371 | (mark_tree_hashtable): Delete. | |
10372 | * tree.h (mark_tree_hashtable): Delete prototype. | |
10373 | * ggc.h (ggc_test_and_set_mark): Treat (void *)1 like NULL. | |
10374 | (ggc_mark): Likewise. | |
10375 | (ggc_calloc): New. | |
10376 | (htab_create_ggc): New. | |
10377 | * ggc-common.c (ggc_calloc): New. | |
10378 | * gengtype.h (enum typekind): Add TYPE_PARAM_STRUCT. | |
10379 | (struct type): Add param_struct structure. | |
10380 | * gengtype.c (param_structs): New. | |
10381 | (adjust_field_type): Handle param_is option. | |
10382 | (set_gc_used_type): Handle TYPE_PARAM_STRUCT. | |
10383 | (get_output_file_with_visibility): Include hashtab.h in gtype-desc.c. | |
10384 | (write_gc_structure_fields): Add new PARAM parameter. Update | |
10385 | callers. Handle use_param option. Handle TYPE_PARAM_STRUCT. | |
10386 | (write_gc_marker_routine_for_structure): Add new PARAM parameter. | |
10387 | Use it to generate function name. Update callers. | |
10388 | (write_gc_types): Add new PARAM_STRUCTS parameter. Update callers. | |
10389 | Process them. | |
10390 | (write_gc_roots): Handle TYPE_PARAM_STRUCT. Allow param_is | |
10391 | option. | |
10392 | (main): Define PTR as pointer-to-scalar. Don't specially | |
10393 | mark deferred_string or ehl_map_entry. | |
10394 | * gengtype-yacc.y (PARAM_IS): Add new token. | |
10395 | (externstatic): Use adjust_field_type. | |
10396 | (type_option): Add PARAM_IS. | |
10397 | * gengtype-lex.l: Add rule for typedef of function pointers. | |
10398 | Add rule for PARAM_IS. | |
10399 | (IWORD): Add size_t. | |
10400 | * except.c (exception_handler_label_map): Use gengtype to mark. | |
10401 | (type_to_runtime_map): Likewise. | |
10402 | (mark_ehl_map_entry): Delete. | |
10403 | (mark_ehl_map): Delete. | |
10404 | (init_eh): Use gengtype for roots; use GC to allocate hash tables. | |
10405 | (t2r_mark_1): Delete. | |
10406 | (t2r_mark): Delete. | |
10407 | * Makefile.in (gtype-desc.o): Correct dependencies. | |
10408 | (GTFILES): Add hashtab.h. | |
10409 | (genautomata.o): Actually uses hashtab.h. | |
10410 | ||
10411 | * Makefile.in (stringpool.o): Add $(GGC_H). | |
10412 | (dwarf2asm.o): Likewise. | |
10413 | (GTFILES): Add hashtable.h. | |
10414 | * c-common.h (struct c_common_identifier): Use gengtype. | |
10415 | * c-decl.h (c_mark_tree): Delete. | |
10416 | * c-lang.c (LANG_HOOKS_MARK_TREE): Delete. | |
10417 | * c-tree.h (struct lang_identifier): Use gengtype. | |
10418 | (union lang_tree_node): New. | |
10419 | (c_mark_tree): Delete prototype. | |
33005162 | 10420 | * dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy |
e2500fed GK |
10421 | dwarf2_debug_hooks. |
10422 | * gengtype-lex.l (IWORD): Allow 'bool'. | |
10423 | (ptr_alias): Match. | |
10424 | * gengtype-yacc.y (ALIAS): New token. | |
10425 | (type_option): New rule. | |
10426 | (option): Use type_option. | |
10427 | * gengtype.c (process_gc_options): New. | |
10428 | (set_gc_used_type): Use it. | |
10429 | (write_gc_structure_fields): Add 'bitmap' parameter, change callers. | |
10430 | Add new variable 't' to hold the type of the field being processed. | |
10431 | Add more error checking. Use UNION_P when looking at 'desc' option. | |
10432 | Handle language-specific structures containing other | |
10433 | language-specific structures. | |
10434 | (write_gc_types): Handle 'ptr_alias' option. | |
10435 | (main): Don't need to specially output lang_type, lang_decl, lang_id2. | |
10436 | * ggc-common.c (ggc_pending_trees): Delete. | |
10437 | (ggc_mark_roots): Don't manipulate ggc_pending_trees. | |
10438 | (ggc_mark_trees): Delete. | |
10439 | (gt_ggc_m_tree_node): Delete. | |
10440 | * ggc.h (ggc_pending_trees): Delete. | |
10441 | (ggc_mark_tree): Make alias of gt_ggc_m_tree_node. | |
10442 | * hashtable.h (ht_identifier): Use gengtype. | |
10443 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): Delete. | |
10444 | * langhooks.h (struct lang_hooks): Delete mark_tree. | |
10445 | * sdbout.c [! SDB_DEBUGGING_INFO]: Define dummy sdb_debug_hooks | |
10446 | anyway. | |
10447 | * system.h: Poison LANG_HOOKS_MARK_TREE. | |
10448 | * tree.c (tree_node_structure): New. | |
10449 | * tree.h (struct tree_common): Use gengtype. | |
10450 | (struct tree_int_cst): Likewise. | |
10451 | (struct tree_real_cst): Likewise. | |
10452 | (struct tree_string): Likewise. | |
10453 | (struct tree_complex): Likewise. | |
10454 | (struct tree_vector): Likewise. | |
10455 | (struct tree_identifier): Likewise. | |
10456 | (struct tree_list): Likewise. | |
10457 | (struct tree_vec): Likewise. | |
10458 | (struct tree_exp): Likewise. | |
10459 | (struct tree_block): Likewise. | |
10460 | (struct tree_type): Likewise. | |
10461 | (struct tree_decl): Likewise. | |
10462 | (enum tree_structure_enum): New. | |
10463 | (union tree_node): Use gengtype, with an alias. | |
10464 | (tree_node_structure): Prototype. | |
10465 | * objc/objc-lang.c (LANG_HOOKS_MARK_TREE): Delete. | |
10466 | ||
10467 | Merge to tag pch-merge-20020430. The LANG_HOOKS_FUNCTION_MARK | |
10468 | macro was deleted. The LANG_HOOKS_FUNCTION_FREE macro was renamed | |
10469 | to LANG_HOOKS_FUNCTION_FINAL. | |
10470 | * Makefile.in (GTFILES): Add bitmap.h. | |
10471 | * except.c (struct eh_region): Mark field 'aka' to be skipped. | |
10472 | ||
10473 | * config/alpha/alpha.c [TARGET_ABI_UNICOSMK] | |
10474 | (alpha_init_machine_status): Give proper type. | |
10475 | * Makefile.in (c-lang.o): Depend on gtype-c.h. | |
10476 | (optabs.o): Depend on gt-optabs.h. | |
10477 | (GTFILES): Add optabs.o. | |
10478 | (gt-optabs.h): Add rule. | |
10479 | * optabs.c: Include gt-optabs.h. | |
10480 | ||
10481 | * gengtype.c (set_gc_used_type): Correct some errors in last change. | |
10482 | (write_gc_structure_fields): If a field which should be NULL is | |
10483 | not, abort. | |
10484 | * c-pragma.c: Move struct align_stack and variable alignment_stack | |
10485 | out from the ifdef. | |
10486 | ||
10487 | * config/xtensa/t-xtensa: Add dependencies for gt-xtensa.h. | |
10488 | * config/xtensa/xtensa.c: Include gt-cris.h. | |
10489 | (struct machine_function): Use gengtype to mark. | |
10490 | * config/mmix/mmix.h (struct machine_function): Use gengtype | |
10491 | to mark. | |
10492 | * config/cris/t-cris: Add dependencies for gt-cris.h. | |
10493 | * config/cris/cris.c: Include gt-cris.h. | |
10494 | (struct machine_function): Use gengtype to mark. | |
10495 | * config/rs6000/rs6000.h (struct machine_function): Use gengtype | |
10496 | to mark. | |
10497 | * doc/tm.texi (Per-Function Data): Delete references to | |
10498 | mark_machine_status. | |
10499 | * config/ia64/ia64.c (ia64_override_options): Don't set | |
10500 | mark_machine_status. | |
10501 | * config/i386/i386.c (override_options): Likewise. | |
10502 | * config/d30v/d30v.c (d30v_init_expanders): Likewise. | |
10503 | * config/arm/arm.c (arm_init_expanders): Likewise. | |
10504 | * config/alpha/alpha.c (override_options): Likewise. | |
33005162 | 10505 | * gengtype.h (enum gc_used_enum): Add GC_MAYBE_POINTED_TO. |
e2500fed GK |
10506 | * gengtype.c (set_gc_used_type): Handle 'maybe_null' option. |
10507 | (write_gc_structure_fields): Don't handle 'really' option. | |
10508 | Handle 'maybe_null' option. | |
10509 | (write_gc_types): Handle 'maybe_null' option. | |
10510 | * function.h (struct function): Don't use "really". | |
10511 | (mark_machine_status): Delete declaration. | |
10512 | (mark_lang_status): Delete declaration. | |
10513 | (gt_ggc_mr_machine_function): Delete prototype. | |
10514 | (gt_ggc_mr_language_function): Delete prototype. | |
10515 | * function.c (mark_machine_status): Delete. | |
10516 | (mark_lang_status): Delete. | |
10517 | (gt_ggc_mr_machine_function): Delete. | |
10518 | (gt_ggc_mr_language_function): Delete. | |
10519 | * c-tree.h (mark_c_function_context): Delete prototype. | |
10520 | * c-objc-common.c (c_objc_common_init): Don't set mark_lang_status. | |
10521 | * c-decl.c (struct language_function): Rename from struct | |
10522 | c_language_function. Update uses. Use gengtype to mark. | |
10523 | (mark_c_function_context): Delete. | |
10524 | * c-common.h (struct c_language_function): Rename from struct | |
10525 | language_function. | |
10526 | (mark_stmt_tree): Delete prototype. | |
10527 | (c_mark_lang_decl): Delete prototype. | |
10528 | (mark_c_language_function): Delete prototype. | |
10529 | * c-common.c (mark_stmt_tree): Delete. | |
10530 | (c_mark_lang_decl): Delete. | |
10531 | (mark_c_language_function): Delete. | |
10532 | ||
10533 | * gengtype.h (enum typekind): Add TYPE_LANG_STRUCT. | |
10534 | (lang_bitmap): New typedef. Use where appropriate. | |
10535 | (struct type): Add gc_used field, lang_struct field. | |
10536 | (UNION_P): New macro. | |
10537 | (new_structure): New prototype. | |
10538 | (find_structure): Remove 'pos' parameter. Change all callers. | |
10539 | * gengtype-lex.l: Update for changes to find_structure. | |
10540 | * gengtype-yacc.y (typedef_struct): Use new_structure. | |
10541 | (yacc_ids): Suppress warning. | |
10542 | (type): Use new_structure. | |
10543 | * gengtype.c (string_type): Update for changes to struct type. | |
10544 | (find_structure): Just find a structure, don't worry about | |
10545 | creating one. | |
10546 | (new_structure): New. | |
10547 | (note_yacc_type): Use new_structure. | |
10548 | (set_gc_used_type): New. | |
10549 | (set_gc_used): New. | |
10550 | (write_gc_structure_fields): Allow for pointers to TYPE_LANG_STRUCT. | |
10551 | (write_gc_types): Handle TYPE_LANG_STRUCT. | |
10552 | (write_gc_marker_routine_for_structure): New. | |
10553 | (main): Call set_gc_used. Add some calls to set_gc_used_type | |
10554 | for places where GCC doesn't use gengtype properly yet. | |
10555 | * ggc.h (gt_ggc_m_rtx_def): Don't prototype. | |
10556 | (gt_ggc_m_tree_node): Likewise. | |
10557 | ||
10558 | * varasm.c (copy_constant): Call expand_constant if we hit | |
05713b80 | 10559 | something we can't recognize. |
e2500fed GK |
10560 | |
10561 | * ggc-common.c (ggc_mark_rtvec_children): Delete. | |
10562 | (ggc_mark_rtx_children): Use generic name for ggc_mark_rtvec. | |
10563 | (lang_mark_false_label_stack): Delete. | |
10564 | * rtl.h (struct rtvec_def): Use gengtype to mark. | |
10565 | * ggc.h (ggc_mark_rtvec): Delete. | |
10566 | (gt_ggc_m_rtvec_def): Delete. | |
10567 | (ggc_mark_nonnull_tree): Delete. | |
10568 | (ggc_mark_rtvec_children): Delete prototype. | |
10569 | (lang_mark_false_label_stack): Delete declaration. | |
10570 | ||
10571 | * gengtype.h (note_yacc_type): Add prototype. | |
10572 | * gengtype.c (note_yacc_type): New function. | |
10573 | * gengtype-lex.l: Add lexer support for yacc files. | |
10574 | * gengtype-yacc.y (start): Extract union from yacc files. | |
10575 | (yacc_union): New rule. | |
10576 | (yacc_typematch): New rule. | |
10577 | (yacc_ids): New rule. | |
10578 | (enum_items): Tweak for efficiency. | |
10579 | (optionseq): Likewise. | |
10580 | ||
10581 | * c-common.h (struct language_function): Use gengtype. | |
10582 | (struct c_lang_decl): Likewise. | |
10583 | * c-tree.h (struct lang_decl): Likewise. | |
10584 | (struct lang_type): Likewise. | |
10585 | * c-decl.c (lang_mark_tree): Use generated marker routines to mark | |
10586 | tree language substructures. | |
10587 | ||
10588 | * stringpool.c (mark_ident): Replace ggc_mark_nonnull_tree with | |
10589 | ggc_mark_tree. | |
10590 | * dwarf2asm.c (mark_indirect_pool_entry): Likewise. | |
10591 | ||
10592 | * varasm.c (struct rtx_const): Remove 'skip' tags for scalar arrays. | |
10593 | ||
10594 | * stmt.c (struct nesting): Add discriminator. Use gengtype to | |
10595 | mark. Remove 'data.block.cleanup_ptr' field. | |
10596 | (struct stmt_status): Use usual technique to mark struct nesting. | |
10597 | (gt_ggc_mr_nesting_cond): Delete. | |
10598 | (gt_ggc_mr_nesting_loop): Delete. | |
10599 | (gt_ggc_mr_nesting_block): Delete. | |
10600 | (gt_ggc_mr_nesting_case_stmt): Delete. | |
10601 | (expand_start_cond): Set discriminator. | |
10602 | (expand_start_loop): Likewise. | |
10603 | (expand_start_null_loop): Likewise. | |
10604 | (expand_start_bindings_and_block): Set discriminator. Don't set | |
10605 | deleted fields. | |
10606 | (expand_decl_cleanup): Replace 'cleanup_ptr' with | |
10607 | &thisblock->data.block.cleanups. | |
10608 | (expand_start_case): Set discriminator. | |
10609 | (expand_start_case_dummy): Set discriminator. | |
10610 | ||
10611 | * ggc-callbacks.c: Remove. | |
10612 | ||
10613 | * gengtype.h (struct type): Add 'u.s.bitmap' field. | |
10614 | (find_structure): Add 'pos' parameter. | |
10615 | * gengtype-lex.l: Update callers to find_structure. | |
10616 | * gengtype-yacc.y: Likewise. | |
10617 | * gengtype.c (find_structure): Allow for structures to be defined | |
10618 | in multiple language backends. | |
10619 | (get_output_file_with_visibility): Include debug.h in gtype-desc.c. | |
10620 | (counter): Rename to gc_counter. | |
10621 | (write_gc_structure_fields): Fail when writing out fields for | |
10622 | an incomplete structure. Ignore arrays of scalars. Handle | |
10623 | 'tree_vec' special. | |
10624 | (write_gc_types): Reset counter for each procedure written. | |
10625 | ||
10626 | * stmt.c (add_case_node): Use GGC to allocate struct case_node. | |
10627 | (free_case_nodes): Delete. | |
10628 | (expand_end_case_type): Delete call to free_case_nodes. | |
10629 | ||
10630 | * Makefile.in (cselib.o): Include gt-<filename>.h. | |
10631 | (gcse.o): Likewise. | |
10632 | (profile.o): Likewise. | |
10633 | (alias.o): Likewise. | |
10634 | (GTFILES): Add alias.c, cselib.c, gcse.c, profile.c, and | |
10635 | alphabetize backend files. | |
10636 | (gt-alias.h, gt-cselib.h, gt-gcse.h, gt-profile.h): New rules. | |
10637 | * alias.c: Use gengtype for roots. | |
10638 | * c-common.h (struct stmt_tree_s): Use gengtype. | |
10639 | * c-decl.c: Use gengtype for roots. | |
10640 | * cselib.c: Use gengtype for roots. | |
10641 | * expr.c: Use gengtype for roots. | |
10642 | * fold-const.c: Use gengtype for roots. | |
10643 | * gcse.c: Use gengtype for roots. | |
10644 | * gengtype-lex.l: Handle typedefs of function types. | |
10645 | Allow for empty array bounds. | |
4912a07c KH |
10646 | Allow processing to stop on initializers. |
10647 | * gengtype-yacc.y (externstatic): Stop processing on initializers. | |
e2500fed GK |
10648 | (semiequal): New rule. |
10649 | * gengtype.c (create_file): Tidy output files. | |
10650 | (get_output_file_with_visibility): Fix paren warning. Fix bug | |
10651 | involving multiple input files mapping to one output file. | |
10652 | (write_gc_structure_fields): Skip arrays of scalars. | |
10653 | (write_gc_types): Tidy output files. | |
10654 | (write_gc_root): New function. | |
10655 | (write_gc_roots): Fix bugs, add support for roots that are | |
10656 | structures. | |
10657 | * ggc-common.c (ggc_mark_rtx_ptr): Delete. | |
10658 | (ggc_mark_tree_ptr): Delete. | |
10659 | (ggc_add_rtx_root): Delete. | |
10660 | (ggc_add_tree_root): Delete. | |
10661 | (ggc_del_root): Delete. | |
10662 | * integrate.c (get_func_hard_reg_initial_val): Use ggc_alloc to | |
10663 | allocate struct initial_value_struct. | |
10664 | * profile.c: Use gengtype for roots. | |
10665 | * sdbout.c: Use gengtype for roots. | |
10666 | * varasm.c (mark_weak_decls): Delete unused prototype. | |
10667 | (mark_const_hash_entry): Delete unused function. | |
10668 | * config/darwin-protos.h: Use gengtype for roots. | |
10669 | (machopic_add_gc_roots): Delete. | |
10670 | * config/arm/arm.c: Use gengtype for roots. | |
10671 | * config/arm/arm.h: Use gengtype for roots. | |
10672 | * config/c4x/c4x-protos.h: Use gengtype for roots. | |
10673 | * config/c4x/c4x.c (c4x_add_gc_roots): Delete. | |
10674 | * config/d30v/d30v-protos.h: Use gengtype for roots. | |
10675 | * config/d30v/d30v.c (d30v_add_gc_roots): Delete. | |
10676 | * config/dsp16xx/dsp16xx.c (override_options): Use gengtype for roots. | |
10677 | * config/dsp16xx/dsp16xx.h: Use gengtype for roots. | |
10678 | * config/ia64/ia64-protos.h: Use gengtype for roots. | |
10679 | * config/ia64/ia64.c (ia64_add_gc_roots): Delete. | |
10680 | * config/m68hc11/m68hc11-protos.h: Use gengtype for roots. | |
10681 | * config/m68hc11/m68hc11.c (z_reg): Make global. | |
10682 | (z_reg_qi): Make global. | |
10683 | (m68hc11_add_gc_roots): Delete. | |
10684 | * config/mcore/mcore-protos.h: Use gengtype for roots. | |
10685 | * config/mcore/mcore.c (mcore_add_gc_roots): Delete. | |
10686 | * config/mips/mips.c (mips_add_gc_roots): Delete. | |
10687 | * config/mips/mips.h: Use gengtype for roots. | |
10688 | * config/mmix/mmix.c (override_options): Use gengtype for roots. | |
10689 | * config/mmix/mmix.h: Use gengtype for roots. | |
10690 | * config/mn10200/mn10200.c (asm_file_start): Use gengtype for roots. | |
10691 | * config/mn10200/mn10200.h: Use gengtype for roots. | |
10692 | * config/pa/pa.c: Use gengtype for roots, marking. | |
10693 | (struct deferred_plabel): Use GGC, gengtype. | |
10694 | (pa_add_gc_roots): Delete. | |
10695 | (mark_deferred_plabels): Delete. | |
10696 | * config/pj/pj-protos.h: Use gengtype for roots. | |
10697 | * config/pj/pj.h (OVERRIDE_OPTIONS): Don't define. | |
10698 | * config/rs6000/rs6000.c: Use gengtype for roots. Don't call | |
10699 | machopic_add_gc_roots. | |
10700 | * config/rs6000/rs6000.h: Use gengtype for roots. | |
10701 | * config/rs6000/t-darwin (darwin.o): Add dependency on gt-darwin.h. | |
10702 | (gt-darwin.h): Add rule. | |
10703 | * config/sh/sh.c: Use gengtype for roots. | |
10704 | * config/sh/t-sh ($(out_object_file)): Add dependency on gt-sh.h. | |
10705 | (gt-sh.h): Add rule. | |
10706 | * config/sparc/sparc.c: Use gengtype for roots. | |
10707 | (sparc_add_gc_roots): Delete. | |
10708 | (struct ultrasparc_pipeline_state): Use GGC, gengtype. | |
10709 | (mark_ultrasparc_pipeline_state): Delete. | |
10710 | * config/sparc/sparc.h: Use gengtype for roots. | |
10711 | ||
10712 | * Makefile.in (c-parse.o): Update dependencies. | |
10713 | (c-common.o): Likewise. | |
10714 | (GTFILES): Add c-common.h, c-tree.h, c-common.c, c-parse.in. | |
10715 | Add dependencies for the files they generate. | |
10716 | * c-common.c: Replace ggc_add_* uses with GTY annotations. | |
10717 | * c-common.h: Likewise. | |
10718 | * c-decl.c: Likewise. | |
10719 | (gt_ggc_mp_binding_level): Delete. | |
10720 | * c-lang.c: Include gtype-c.h. | |
10721 | * c-parse.in: Replace ggc_add_* uses with GTY annotations. Include | |
10722 | gt-c-parse.h. | |
10723 | * c-pragma.h: Replace ggc_add_* uses with GTY annotations. | |
10724 | (gt_ggc_mp_align_stack): Delete. | |
10725 | * c-tree.h: Replace ggc_add_* uses with GTY annotations. | |
10726 | * function.c: Replace ggc_add_* uses with GTY annotations. | |
10727 | (gt_ggc_mp_function): Delete. | |
10728 | * function.h: Replace ggc_add_* uses with GTY annotations. | |
10729 | * gengtype.c (lang_names): New. | |
10730 | (NUM_BASE_FILES): New. | |
10731 | (open_base_files): Create language base files. | |
10732 | (startswith): New. | |
10733 | (get_file_basename): New. | |
10734 | (get_base_file_bitmap): New. | |
10735 | (get_output_file_with_visibility): Rename from get_output_file. | |
10736 | Add more mappings for various C/Objc filenames. | |
10737 | (finish_root_table): New. | |
10738 | (write_gc_roots): Handle dependencies and scoping properly. | |
10739 | * gengtype.h: Add prototypes for new functions. | |
10740 | * ggc-common.c (struct deletable_root): Delete. | |
10741 | (deletables): Delete. | |
10742 | (ggc_add_deletable_root): Delete. | |
10743 | (ggc_mark_roots): No need to deal with deleted functionality. | |
10744 | * ggc.h (ggc_add_deletable_root): Delete prototype. | |
10745 | * objc/Make-lang.in (objc-act.o): Add gtype-objc.h dependency. | |
10746 | (gtype-objc.h): Add rule to create. | |
10747 | * objc/config-lang.in (gtfiles): New. | |
10748 | * objc/objc-act.c: Allocate imp_list using GGC. Replace uses of | |
10749 | ggc_add_* with GTY markers. Include gtype-objc.h. | |
10750 | (ggc_mark_imp_list): Delete. | |
10751 | * objc/objc-act.h: Replace uses of ggc_add_* with GTY markers. | |
10752 | * objc/objc-lang.c: Random Whitespace Change. | |
10753 | ||
10754 | * except.h (exception_handler_labels): Delete. | |
10755 | (get_exception_handler_labels): New. | |
10756 | * except.c (exception_handler_labels): Delete. | |
10757 | (struct eh_status): Add exception_handler_labels field. | |
10758 | (doing_eh): Don't add exception_handler_labels as root. | |
10759 | (free_eh_status): Don't need to free exception_handler_labels. | |
10760 | (get_exception_handler_labels): New. | |
10761 | (find_exception_handler_labels): Update for move of | |
10762 | exception_handler_labels. | |
10763 | (remove_exception_handler_label): Likewise. | |
10764 | * cfgrtl.c (can_delete_label_p): Use get_exception_handler_labels. | |
10765 | * jump.c (rebuild_jump_labels): Likewise. | |
10766 | * loop.c (find_and_verify_loops): Likewise. | |
10767 | * sched-rgn.c (is_cfg_nonregular): Likewise. | |
10768 | ||
10769 | * gengtype.c (write_gc_structure_fields): Handle variable-length | |
10770 | TYPE_ARRAYs. | |
10771 | ||
10772 | * varasm.c (struct weak_syms): Use GGC, gengtype. | |
10773 | (mark_weak_decls): Delete. | |
10774 | (weak_decls): Likewise. | |
10775 | (add_weak): Likewise. | |
10776 | (remove_from_pending_weak_list): Likewise. | |
10777 | (init_varasm_once): Likewise. | |
10778 | ||
10779 | * Makefile.in (gtype-desc.o): Add libfuncs.h dependency. | |
10780 | (GTFILES): Add tree.h, libfuncs.h, emit-rtl.c, explow.c, | |
10781 | stor-layout.c, regclass.c, and lists.c. | |
10782 | Add dependencies of gt-emit-rtl.h gt-explow.h gt-stor-layout.h | |
10783 | gt-regclass.h and gt-lists.h on s-gtype. | |
10784 | * emit-rtl.c: Use gengtype for roots. Include gt-emit-rtl.h. | |
10785 | * except.c: Use gengtype for roots. | |
10786 | * explow.c: Use gengtype for roots. Include gt-explow.h. | |
10787 | * expr.h (init_stor_layout_once): Delete prototype. | |
10788 | * function.c: Use gengtype for roots. | |
10789 | * gengtype-lex.l: Add ENT_EXTERNSTATIC lexing. | |
10790 | * gengtype-yacc.y (start): Can also be an externstatic. | |
10791 | (externstatic): New production. | |
10792 | (struct_fields): Correct array bounds inversion for 2-d arrays. | |
10793 | * gengtype.c (variables): New variable. | |
10794 | (note_variable): New function. | |
10795 | (get_output_file): Include libfuncs.h into gtype-desc.c. | |
10796 | (get_output_file_name): New function. | |
10797 | (write_gc_structure_fields): Suppress warnings. | |
10798 | (write_gc_types): Make static. | |
10799 | (put_mangled_filename): New function. | |
10800 | (write_gc_roots): New function. | |
10801 | (main): Call write_gc_roots. | |
10802 | * gengtype.h (note_variable): Prototype. | |
10803 | (get_output_file_name): Prototype. | |
10804 | (write_gc_types): Delete prototype. | |
10805 | * ggc.h: Clean up unnecessary structure predefinitions. | |
10806 | (struct ggc_root_tab): Define. | |
10807 | (gt_ggc_m_rtx_def): Make function, not macro. | |
10808 | (gt_ggc_m_tree_node): Likewise. | |
10809 | * libfuncs.h: Use gengtype for roots. | |
10810 | * lists.c: Use gengtype for roots. Include gt-lists.h. | |
10811 | (init_EXPR_INSN_LIST_cache): Delete. | |
10812 | * optabs.c: Use gengtype for roots. | |
10813 | (gt_ggc_mp_optab): Delete. | |
10814 | * optabs.h: Use gengtype for roots. | |
10815 | * regclass.c: Use gengtype for roots. Include gt-regclass.h. | |
10816 | * rtl.h: Use gengtype for roots. | |
10817 | (init_EXPR_INSN_LIST_cache): Delete prototype. | |
10818 | * stor-layout.c: Use gengtype for roots. | |
10819 | Include gt-stor-layout.h. | |
10820 | (init_stor_layout_once): Delete. | |
10821 | * toplev.c: Use gengtype for roots. Delete calls to deleted | |
10822 | routines. | |
10823 | * tree.c: Use gengtype for roots. | |
10824 | * tree.h: Use gengtype for roots. | |
10825 | * varasm.c: Use gengtype for roots. | |
33005162 | 10826 | |
e2500fed GK |
10827 | * Makefile.in (GTFILES): Add @all_gtfiles@. |
10828 | * configure: Regenerate. | |
10829 | * configure.in: Construct all_gtfiles from the gtfiles definitions | |
10830 | in config-lang.in. | |
10831 | * gengtype-yacc.y (type): Warn about duplicate structure names. | |
10832 | * gengtype.c (get_output_file): Handle .c files in language | |
10833 | subdirectories. | |
10834 | ||
10835 | * Makefile.in (GTFILES): Run gengtype on all the config files | |
10836 | and on the target .c file. | |
10837 | * except.c (mark_eh_region): Delete. | |
10838 | (init_eh_for_function): Use GGC on struct eh_status. | |
10839 | (mark_eh_status): Delete. | |
10840 | (free_eh_status): Use GGC. | |
10841 | (expand_eh_region_start): Use GGC to | |
10842 | (collect_eh_region_array): Allocate last_region_number using GGC. | |
10843 | (duplicate_eh_region_1): Use GGC to allocate struct eh_region. | |
10844 | (remove_eh_handler): Let GGC free struct eh_region. | |
10845 | (add_call_site): Use GGC to reallocate call_site_record array. | |
10846 | * function.c (init_machine_status): Update calling sequence. | |
10847 | (mark_machine_status): Likewise. | |
10848 | (mark_lang_status): Likewise. | |
10849 | (prepare_function_start): Update init_machine_status call. | |
10850 | (mark_function_status): Delete. | |
10851 | (maybe_mark_struct_function): Delete. | |
10852 | (ggc_mark_struct_function): Delete. | |
10853 | (gt_ggc_mp_function): New. | |
10854 | (gt_ggc_mr_machine_function): New. | |
10855 | (gt_ggc_mr_language_function): New. | |
10856 | (init_function_once): Use canonical names. | |
10857 | * function.h (struct function): Use gengtype. | |
10858 | (init_machine_status): Return the structure. | |
10859 | (mark_machine_status): Take a 'void *'. | |
10860 | (mark_lang_status): Likewise. | |
10861 | * ggc-common.c (ggc_mark_trees): Use canonical name for | |
10862 | ggc_mark_struct_function. | |
10863 | * tree.h (ggc_mark_struct_function): Delete prototype. | |
10864 | * config/alpha/alpha.c (alpha_mark_machine_status): Delete. | |
10865 | (alpha_init_machine_status): Likewise. | |
10866 | (override_options): Use canonical name for alpha_mark_machine_status. | |
10867 | * config/alpha/unicosmk.h (struct machine_function): Use gengtype. | |
10868 | * config/arm/arm.h (struct machine_function): Use gengtype. | |
10869 | * config/arm/arm.c (arm_mark_machine_status): Delete. | |
10870 | (arm_init_machine_status): Update calling sequence. | |
10871 | (arm_init_expanders): Use canonical name for arm_mark_machine_status. | |
33005162 | 10872 | * config/cris/cris.c (cris_init_machine_status): Update |
e2500fed GK |
10873 | calling sequence. |
10874 | * config/d30v/d30v.h (struct machine_function): Use gengtype. | |
33005162 | 10875 | * config/d30v/d30v.c (d30v_init_machine_status): Update |
e2500fed GK |
10876 | calling sequence. |
10877 | (d30v_mark_machine_status): Delete. | |
10878 | * config/i386/i386.c: Include gt-i386.h. | |
10879 | (struct machine_function): Use gengtype. | |
10880 | (ix86_init_machine_status): Update calling sequence. | |
10881 | (ix86_mark_machine_status): Delete. | |
10882 | (override_options): Use canonical namke for ix86_mark_machine_status. | |
10883 | * config/ia64/ia64.h (struct machine_function): Use gengtype. | |
33005162 | 10884 | * config/ia64/ia64.c (ia64_init_machine_status): Update calling |
e2500fed GK |
10885 | sequence. |
10886 | (ia64_mark_machine_status): Delete. | |
33005162 | 10887 | (ia64_override_options): Use canonical name for |
e2500fed | 10888 | ia64_mark_machine_status. |
33005162 | 10889 | * config/mmix/mmix.c (mmix_init_machine_status): Update calling |
e2500fed GK |
10890 | sequence. |
10891 | * config/rs6000/rs6000.c (rs6000_init_machine_status): Likewise. | |
10892 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise. | |
10893 | * gengtype.c (get_output_file): Fix warning. | |
10894 | (main): Add prototype to suppress warning. | |
10895 | * tree.c: Remove tree_hash_mark prototype. | |
10896 | ||
10897 | * tree.h (init_stmt): Delete prototype. | |
10898 | * toplev.c (lang_independent_init): Don't call init_stmt. | |
10899 | * stmt.c (ALLOC_NESTING): Use GGC for 'struct nesting'. | |
10900 | (stmt_obstack): Delete. | |
10901 | (POPSTACK): No need to free 'struct nesting'. | |
10902 | (gt_ggc_mr_nesting_cond): Use canonical names. | |
10903 | (gt_ggc_mr_nesting_loop): Use canonical names. | |
10904 | (gt_ggc_mr_nesting_block): Use canonical names. | |
10905 | (gt_ggc_mr_nesting_case_stmt): Use canonical names. | |
10906 | (mark_stmt_status): Delete. | |
10907 | (init_stmt): Delete. | |
10908 | (clear_last_expr): Clear both last_expr_type and last_expr_value. | |
10909 | Use it everywhere that last_expr_type was cleared. | |
10910 | * lists.c (init_EXPR_INSN_LIST_cache): Use ggc_add_deletable_root. | |
10911 | (zap_lists): Delete. | |
10912 | * ggc.h (ggc_add_deletable_root): Prototype. | |
10913 | (mark_stmt_status): Remove prototype. | |
10914 | * ggc-common.c (ggc_add_deletable_root): New. | |
10915 | (ggc_mark_roots): Handle deletable roots. | |
10916 | * function.c (ggc_mark_struct_function): Use canonical name | |
10917 | for mark_stmt_status. | |
10918 | * emit-rtl.c (free_sequence_stack): New. | |
10919 | (start_sequence): Use a freelist for sequences. | |
10920 | (end_sequence): Likewise. | |
10921 | (init_emit_once): Add free_sequence_stack as a deleteable root. | |
10922 | * c-pragma.c Include gt-c-pragma.h. | |
10923 | (struct align_stack): Use gengtype. | |
10924 | (push_alignment): Use GGC for struct align_stack. | |
10925 | (mark_align_stack): Delete. | |
10926 | (gt_ggc_mp_align_stack): New. | |
10927 | (init_pragma): Use canonical name for mark_align_stack. | |
10928 | * c-decl.c: Include gt-c-decl.h. | |
10929 | (struct binding_level): Use gengtype. | |
10930 | (make_binding_level): Use GGC; handle the freelist here. | |
10931 | (pop_binding_level): New. | |
10932 | (pushlevel): Move code into make_binding_level. | |
10933 | (push_label_level): Likewise. | |
10934 | (poplevel): Move code into pop_binding_level. | |
10935 | (pop_label_level): Likewise. | |
10936 | (mark_binding_level): Delete. | |
10937 | (gt_ggc_mp_binding_level): New. | |
10938 | (c_init_decl_processing): Use canonical name for mark_binding_level. | |
10939 | Add free_binding_level as deletable root. | |
10940 | (mark_c_function_context): Use canonical name for mark_binding_level. | |
10941 | * Makefile.in (c-decl.o): Add gt-c-decl.h. | |
10942 | (c-pragma.o): Add gt-c-pragma.h. | |
10943 | (GTFILES): Add c-decl.c and c-pragma.c. | |
10944 | (gt-c-decl.h, gt-c-pragma.h): Create using gengtype. | |
10945 | ||
10946 | * tree.c (struct type_hash): Use gengtype. | |
10947 | (init_obstacks): Use canonical name for type_hash_mark. | |
10948 | (type_hash_mark): Delete. | |
10949 | Include gt-tree.h. | |
10950 | * rtl.h (struct mem_attrs): Use gengtype. | |
10951 | * optabs.h (struct optab): Use gengtype. | |
10952 | * optabs.c (expand_binop): Squish signed/unsigned warning. | |
10953 | (mark_optab): Make local, use canonical name, use autogenerated | |
10954 | marker procedure. | |
10955 | (init_optabs): Use canonical name for mark_optab. | |
10956 | (new_optab): Use GGC to allocate optabs. | |
10957 | * ggc.h: Delete mark_optab prototype. | |
10958 | * ggc-common.c (ggc_mark_rtx_children): Use canonical name for | |
10959 | mem_attrs marker procedure. | |
10960 | * gengtype.c (get_output_file): Include headers in gtype-desc.c | |
10961 | explicitly rather than deducing them from file names. | |
10962 | (write_gc_structure_fields): Handle arrays of structures. | |
10963 | (main): Return non-zero exit code if errors occur during output. | |
10964 | * emit-rtl.c (mem_attrs_mark): Delete. | |
10965 | (init_emit_once): Use canonical name for mem_attrs marker procedure. | |
10966 | * Makefile.in (gtype-desc.o): Explicitly name dependencies. | |
10967 | (tree.o): Depend on gt-tree.h. | |
10968 | (GTFILES): Add rtl.h, optabs.h, tree.c. | |
10969 | (gt-tree.h): Add it to s-gtype rule. | |
10970 | ||
10971 | * .cvsignore: Ignore gengtype flex/bison generated files. | |
10972 | * Makefile.in (GGC_H): Add gtype-desc.h. | |
10973 | (OBJS): Add gtype-desc.o. | |
10974 | (GEN): Add gengtype. | |
10975 | (STAGESTUFF): Add gengtype. | |
10976 | (varasm.o): Add gt-varasm.h. | |
10977 | (stmt.o): Add gt-stmt.h. | |
10978 | (except.o): Add gt-except.h. | |
10979 | (integrate.o): Add gt-integrate.h. | |
10980 | (GTFILES): New. | |
10981 | Add new rules for new files. | |
10982 | * configure: Regenerate. | |
10983 | * configure.in: Correct defaults.h paths. | |
10984 | * emit-rtl.c (mark_sequence_stack): Delete. | |
10985 | (mark_emit_status): Delete. | |
10986 | (start_sequence): Allocate sequence structures using GGC. | |
10987 | (end_sequence): Allocate sequence structures using GGC. | |
10988 | * except.c: Use gengtype for various structures. Include | |
10989 | gt-except.h. | |
10990 | * expr.c (mark_expr_status): Delete. | |
10991 | * function.c: Use gengtype for various structures. Include | |
10992 | gt-function.h. | |
10993 | (mark_function_status): Use standard gt_ggc names for marker functions. | |
10994 | (ggc_mark_struct_function): Likewise. | |
10995 | * function.h: Use gengtype for various structures. | |
10996 | * gengtype-lex.l: New file. | |
10997 | * gengtype-yacc.y: New file. | |
10998 | * gengtype.c: New file. | |
10999 | * gengtype.h: New file. | |
11000 | * ggc.h: Include gtype-desc.h. Alias some marker procedures to | |
11001 | the standard names. Remove some now-unnecessary prototypes. | |
11002 | * integrate.c: Use gengtype for various structures. Include | |
11003 | gt-integrate.h. | |
11004 | (mark_hard_reg_initial_vals): Delete. | |
11005 | * integrate.h (mark_hard_reg_initial_vals): Delete. | |
11006 | * stmt.c: Use gengtype for various structures. Include | |
11007 | gt-stmt.h. | |
11008 | (mark_case_node): Delete. | |
11009 | (mark_goto_fixup): Delete. | |
11010 | (mark_stmt_status): Use standard gt_ggc names for marker functions. | |
11011 | * system.h: Define GTY to empty. In flex/bison files, | |
11012 | don't poison malloc or realloc, instead just define them to | |
11013 | xmalloc and xrealloc. | |
11014 | * varasm.c: Use gengtype for various structures. Include | |
11015 | gt-varasm.h. Use standard gt_ggc names for marker functions. | |
11016 | (mark_pool_constant): Delete. | |
11017 | (mark_varasm_status): Delete. | |
11018 | (decode_rtx_const): #if 0 out non-typesafe hack. | |
11019 | ||
11020 | * function.h (free_lang_status): Mark as obsolete. | |
11021 | * function.c (free_lang_status): Mark as obsolete. | |
11022 | * c-decl.c (push_c_function_context): Use GC to allocate and free | |
11023 | struct language_function. | |
11024 | (pop_c_function_context): Likewise. | |
11025 | * c-common.c (mark_c_language_function): Mark struct | |
11026 | language_function. | |
11027 | ||
11028 | * doc/tm.texi (Per-Function Data): Don't document free_machine_status. | |
11029 | Document that the machine_function structures must be allocated | |
11030 | using GC. Update mark_machine_status documentation. | |
11031 | * function.h: Don't declare free_machine_status. | |
33005162 | 11032 | * function.c (free_machine_status): Don't define. |
e2500fed GK |
11033 | (free_after_compilation): Don't call free_machine_status. |
11034 | (ggc_mark_struct_function): Mark f->machine. Call | |
11035 | mark_machine_status only on non-NULL pointers. | |
11036 | * system.h: Poison free_machine_status. | |
11037 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Use GC on | |
11038 | struct machine_function. | |
11039 | (xtensa_free_machine_status): Delete. | |
11040 | (override_options): Don't set free_machine_status. | |
11041 | * config/rs6000/rs6000.c (rs6000_override_options): Don't set | |
11042 | free_machine_status. | |
11043 | (rs6000_init_machine_status): Use GC on struct machine_function. | |
11044 | (rs6000_free_machine_status): Delete. | |
11045 | * config/ia64/ia64.c (ia64_init_machine_status): Use GC on struct | |
11046 | machine_function. | |
11047 | (ia64_mark_machine_status): Likewise. | |
11048 | (ia64_free_machine_status): Delete. | |
11049 | (ia64_override_options): Don't set free_machine_status. | |
11050 | * config/i386/i386.c (override_options): Don't set | |
11051 | free_machine_status. | |
11052 | (ix86_init_machine_status): Use GC on struct machine_function. | |
11053 | (ix86_mark_machine_status): Likewise. | |
11054 | (ix86_free_machine_status): Delete. | |
11055 | * config/d30v/d30v.c: (d30v_init_machine_status): Use GC on struct | |
11056 | machine_function. | |
11057 | (d30v_mark_machine_status): Likewise. | |
11058 | (d30v_free_machine_status): Delete. | |
11059 | (d30v_init_expanders): Don't set free_machine_status. | |
11060 | * config/arm/arm.c (arm_mark_machine_status): Use GC on struct | |
11061 | machine_function. | |
11062 | (arm_init_machine_status): Likewise. | |
11063 | (arm_free_machine_status): Delete. | |
11064 | (arm_init_expanders): Don't set free_machine_status. | |
11065 | * config/alpha/alpha.c (override_options): Don't set | |
11066 | free_machine_status. | |
11067 | (alpha_init_machine_status): Use GC on struct machine_function. | |
11068 | (alpha_mark_machine_status): Likewise. | |
11069 | (alpha_free_machine_status): Delete. | |
11070 | ||
11071 | * varasm.c (compare_constant): Fix typo. | |
11072 | ||
11073 | * varasm.c: Don't include obstack.h. | |
11074 | (struct varasm_status): x_const_rtx_hash_table is a hash of rtxes. | |
11075 | (struct rtx_const): Give substructures names, improve formatting. | |
11076 | (struct constant_descriptor): Delete. | |
11077 | (struct constant_descriptor_tree): New, based on constant_descriptor. | |
11078 | (const_hash_table): Is a hash table of trees. | |
11079 | (mark_const_hash_entry): Is used for hashes of trees. Mark | |
11080 | constant_descriptor_tree structure. | |
11081 | (mark_const_str_htab_1): Mark deferred_string structure. | |
11082 | (compare_constant): Rewrite to compare trees. | |
11083 | (compare_constant_1): Delete. | |
11084 | (record_constant): Delete. | |
11085 | (record_constant_1): Delete. | |
11086 | (output_constant_def): Use struct constant_descriptor_tree. | |
11087 | Don't duplicate trees twice. | |
11088 | (struct constant_descriptor_rtx): New. | |
11089 | (struct pool_constant): Used for rtx constants. | |
11090 | (init_varasm_status): Update for change to struct varasm_status. | |
11091 | (mark_varasm_status): Likewise. | |
11092 | (free_varasm_status): Delete. | |
11093 | (compare_constant_rtx): Rewrite to handle constant_descriptor_rtx. | |
11094 | (record_constant_rtx): Likewise. | |
11095 | (mem_for_const_double): Update to use struct constant_descriptor_rtx. | |
11096 | (force_const_mem): Likewise. | |
11097 | * Makefile.in (varasm.o): Doesn't depend on obstack.h. | |
11098 | * function.c (free_after_compilation): Don't use free_varasm_status. | |
11099 | * function.h: Don't prototype free_varasm_status. | |
11100 | ||
11101 | * ggc-common.c (ggc_realloc): Handle X being NULL. | |
11102 | ||
11103 | * ggc-common.c (ggc_realloc): New function. | |
11104 | * ggc.h: Prototype it. | |
11105 | * emit-rtl.c (free_emit_status): Delete. | |
11106 | (init_emit): Allocate emit subarrays using GC. | |
11107 | (gen_reg_rtx): Reallocate subarrays using GC. | |
11108 | (init_emit): Use GC to allocate 'struct emit_status' and its | |
11109 | subarrays. | |
11110 | (mark_emit_status): Mark structure and its subarrays. | |
11111 | * stmt.c (free_stmt_status): Delete. | |
11112 | * expr.c (free_expr_status): Delete. | |
11113 | * function.h: Remove prototypes for deleted functions. | |
11114 | * function.c (free_after_compilation): Don't use deleted functions. | |
11115 | Don't call free() on x_parm_reg_stack_loc. | |
11116 | (free_after_parsing): Don't use free_stmt_status. | |
11117 | (assign_parms): Use GC to allocate and resize x_parm_reg_stack_loc. | |
11118 | (mark_function_status): Mark x_parm_reg_stack_loc. | |
11119 | ||
11120 | * varasm.c (init_varasm_status): Use GC to allocate | |
11121 | 'struct varasm_status' and its fields x_const_rtx_hash_table | |
11122 | and x_const_rtx_sym_hash_table. | |
11123 | (mark_varasm_status): Mark them. | |
11124 | (free_varasm_status): Use GC to free them. | |
11125 | * expr.c (init_expr): Use GC to allocate 'struct expr_status'. | |
11126 | (mark_expr_status): Mark the structure itself. | |
11127 | (free_expr_status): Use GC to free the structure. | |
11128 | * stmt.c (free_stmt_status): Use GC to free 'struct stmt_status'. | |
11129 | (mark_stmt_status): Mark the 'struct stmt_status' itself. | |
11130 | (init_stmt_for_function): Allocate the structure for GC. | |
11131 | ||
11132 | * dwarf2out.c (lookup_type_die): Use TYPE_SYMTAB_DIE. | |
11133 | (equate_type_number_to_die): Likewise. | |
11134 | * tree.h (TYPE_SYMTAB_DIE): New macro. | |
11135 | (struct die_struct): Predeclare. | |
11136 | (struct tree_type): Add field symtab.die. Add a tag | |
11137 | to the union type of field symtab. | |
11138 | ||
11139 | * varray.h (VARRAY_RTVEC_INIT): A varray of rtvec contains | |
11140 | 'struct rtvec_def *', not 'struct rtvec_def'. | |
11141 | ||
11142 | * function.h (original_arg_vector): Make a real rtvec. | |
11143 | * function.c (ggc_mark_struct_function): Adjust. | |
11144 | * integrate.c (expand_inline_function): Adjust. | |
11145 | ||
b655555e JT |
11146 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
11147 | ||
11148 | * config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*) | |
11149 | (sh64-*-netbsd*, sh64l*-*-netbsd*): New targets. | |
11150 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN) | |
11151 | (TARGET_VERSION_CPU): Define according to the | |
11152 | default target. | |
11153 | (TARGET_VERSION): Use TARGET_VERSION_ENDIAN and | |
11154 | TARGET_VERSION_CPU. | |
11155 | (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64 | |
11156 | if TARGET_SHMEDIA64. | |
11157 | (LINK_DEFAULT_CPU_EMUL): Define according to the | |
11158 | default target. | |
11159 | (SUBTARGET_LINK_EMUL_SUFFIX): Define. | |
11160 | (SUBTARGET_LINK_SPEC): Define. | |
11161 | (LINK_SPEC): Use SH_LINK_SPEC. | |
11162 | (ASM_SPEC): Remove. | |
11163 | (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. | |
11164 | (FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32 | |
11165 | and TARGET_SHMEDIA64 which abort, for now. | |
11166 | * config/sh/t-netbsd-sh5: New file. | |
11167 | * config/sh/t-netbsd-sh5-32: New file. | |
11168 | * config/sh/t-netbsd-sh5-64: New file. | |
11169 | ||
6d8fd7bb RH |
11170 | 2002-06-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
11171 | Richard Henderson <rth@redhat.com> | |
11172 | ||
11173 | * config/alpha/alpha.c (reg_or_const_int_operand): New. | |
11174 | (some_operand, input_operand): Accept CONST_VECTOR. | |
11175 | (alpha_extra_constraint): Add 'W'. | |
11176 | (alpha_expand_zap_mask): New. | |
11177 | (alpha_expand_builtin_vector_binop): New. | |
11178 | (enum alpha_builtin): New. | |
11179 | (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New. | |
11180 | (alpha_init_builtins, alpha_expand_builtin): New. | |
11181 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New. | |
11182 | * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New. | |
11183 | (PREDICATE_CODES): Update. | |
11184 | * config/alpha/alpha-protos.h: Update. | |
11185 | * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP, | |
11186 | UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New. | |
11187 | (movv8qi, movv8qi_fix, movv8qi_nofix): New. | |
11188 | (movv4hi, movv4hi_fix, movv4hi_nofix): New. | |
11189 | (movv2si, movv2si_fix, movv2si_nofix): New. | |
11190 | (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New. | |
11191 | (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New. | |
11192 | (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap, | |
11193 | builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask, | |
11194 | builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8, | |
11195 | builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8, | |
11196 | builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb, | |
11197 | pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl, | |
11198 | builtin_unpkbw, unpkbw): New. | |
11199 | * doc/extend.texi (Alpha Built-in Functions): New. | |
11200 | ||
618939de RH |
11201 | 2002-06-03 Richard Henderson <rth@redhat.com> |
11202 | ||
11203 | * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on | |
11204 | USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME. | |
11205 | ||
73db7137 RH |
11206 | 2002-06-03 Richard Henderson <rth@redhat.com> |
11207 | ||
6933647a RH |
11208 | * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs. |
11209 | ||
73db7137 RH |
11210 | * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX. |
11211 | (const0_operand): New. | |
11212 | (reg_or_fp0_operand, fp0_operand): Remove. | |
11213 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
11214 | * config/alpha/alpha-protos.h: Update. | |
11215 | * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand | |
11216 | and fp0_operand with reg_or_0_operand and const0_operand. | |
11217 | ||
a6f7c915 DN |
11218 | 2002-06-03 Dan Nicolaescu <dann@godzilla.ics.uci.edu> |
11219 | ||
11220 | * alias.c (nonoverlapping_memrefs_p): Fix off by one error. | |
11221 | ||
b2f02503 RS |
11222 | 2002-06-03 Roger Sayle <roger@eyesopen.com> |
11223 | ||
11224 | * gcse.c (cprop_jump): Use single_set to get the pattern | |
11225 | from the setcc argument. | |
11226 | ||
4fcc2065 GDR |
11227 | 2002-06-03 Gabriel Dos Reis <gdr@codesourcery.com> |
11228 | ||
33005162 | 11229 | * diagnostic.h (diagnostic_count): Move from output_buffer to |
4fcc2065 GDR |
11230 | diagnostic_context. |
11231 | (diagnostic_kind_count): Adjust definition. | |
11232 | ||
5204d665 JH |
11233 | Mon Jun 3 19:11:53 CEST 2002 Jan Hubicka <jh@suse.cz> |
11234 | ||
11235 | * except.c (except.c): Do not rebuild CFG. | |
11236 | * toplev.c (rest_of_compilation): Recompute CFG after sibcall | |
11237 | optimization. | |
11238 | ||
0478a14c JH |
11239 | Mon Jun 3 11:53:01 CEST 2002 Jan Hubicka <jh@suse.cz> |
11240 | ||
11241 | * integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies. | |
11242 | * toplev.c: Include cfglahout.h | |
11243 | * Makefile.in (toplev.c): Add dependnecy. | |
11244 | ||
30efe578 NB |
11245 | 2002-06-03 Neil Booth <neil@daikokuya.demon.co.uk> |
11246 | ||
11247 | * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New. | |
11248 | (CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill. | |
11249 | (CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC. | |
11250 | ||
a782515b JT |
11251 | 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com> |
11252 | ||
11253 | * config/ns32k/netbsd.h: Update copyright years. | |
11254 | (TARGET_OS_CPP_BUILTINS): Define. | |
11255 | (CPP_PREDEFINES): Remove. | |
11256 | * config/ns32k/ns32k.h (CPP_PREDEFINES): Remove. | |
11257 | (TARGET_CPU_CPP_BUILTINS): Define. | |
11258 | ||
0fb7aeda KH |
11259 | 2002-06-02 Kazu Hirata <kazu@cs.umass.edu> |
11260 | ||
589005ff | 11261 | * emit-rtl.c: Fix formatting. |
0fb7aeda KH |
11262 | * errors.h: Likewise. |
11263 | * except.c: Likewise. | |
11264 | * explow.c: Likewise. | |
11265 | * expmed.c: Likewise. | |
11266 | * expr.c: Likewise. | |
11267 | * expr.h: Likewise. | |
11268 | ||
1c8ec18b KH |
11269 | 2002-06-02 Kazu Hirata <kazu@cs.umass.edu> |
11270 | ||
11271 | * config/h8300/elf.h: Fix formatting. | |
11272 | * config/h8300/rtems.h: Likewise. | |
11273 | ||
86cb04f6 JT |
11274 | 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com> |
11275 | ||
11276 | * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove. | |
11277 | ||
5d83269d TT |
11278 | 2002-06-02 Tom Tromey <tromey@redhat.com> |
11279 | ||
11280 | * fixinc/fixincl.x: Rebuilt. | |
11281 | * fixinc/inclhack.def (thread_keyword): Match `*__thread'. | |
11282 | ||
62f6a494 NB |
11283 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11284 | ||
11285 | config/i370: | |
11286 | * i370.h (TARGET_CPU_CPP_BUILTINS): Use. | |
11287 | * linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES. | |
11288 | * mvs.h: Similarly. | |
11289 | * oe.h: Similarly. | |
11290 | ||
0acb0203 JH |
11291 | Mon Jun 3 00:18:20 CEST 2002 Jan Hubicka <jh@suse.cz> |
11292 | ||
11293 | * final.c (final): Allow notes to not have computed addresses; | |
11294 | kill no longer needed STACK_REGS ifdef. | |
11295 | ||
ada8d98a RH |
11296 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11297 | ||
11298 | * gcse.c (bypass_conditional_jumps): Fix typo last change. | |
11299 | ||
ba4f7968 JH |
11300 | Sun Jun 2 23:02:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
11301 | ||
ada8d98a RH |
11302 | * loop.c (emit_prefetch_instructions): Properly place the address |
11303 | computation. | |
ba4f7968 JH |
11304 | |
11305 | Sun Jun 2 22:56:48 CEST 2002 Jan Hubicka <jh@suse.cz> | |
11306 | ||
11307 | * basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill. | |
11308 | (set_block_for_insn): Turn into macro. | |
11309 | * cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn. | |
11310 | * cfglayout.c (insn_scopes): Kill. | |
11311 | (scope_to_insns_initialize): Do not use insn_scopes. | |
11312 | (scope_to_insns_finalize): Likewise. | |
11313 | (duplicate_insn_chain): Likewise. | |
11314 | (cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes. | |
11315 | * cfgrtl.c (basic_block_for_insn): Kill. | |
11316 | (delete_insn_and_edges, delete_insn_chain_and_edges): Simplify. | |
11317 | (create_basic_block_structure): Use reorder_insns. | |
11318 | (compute_bb_for_insn): Do not use basic_block_for_insn. | |
11319 | (merge_blocks_nomove): Likewise. | |
11320 | (update_bb_for_insn): Likewise. | |
11321 | (verify_flow_info): Likewise. | |
11322 | (set_block_for_insn): Kill. | |
11323 | * combine.c (try_combine): Update gen_rtx_INSN call. | |
11324 | * emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call. | |
11325 | (mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear | |
11326 | scopes and BBs. | |
11327 | (add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify. | |
11328 | (emit_note_before, emit_note_after, emit_line_note_after, emit_note): | |
11329 | Clear BB. | |
11330 | (emit_insns_after): Simplify. | |
11331 | (emit_copy_of_insn_after): Copy scope. | |
11332 | * final.c (final_start_function): Lower scopes. | |
11333 | * flow.c (check_function_return_warnings): Do not rely on deleted insn. | |
11334 | * integrate.c (copy_insn_list): Cope scopes. | |
11335 | * jump.c (duplicate_loop_exit_test): LIkewise; simplify. | |
11336 | * loop.c (loop_optimize): Do not care block notes. | |
11337 | * print-rtl.c (print_rtx): Print BB. | |
11338 | * recog.c (apply_change_group): Simplify. | |
11339 | * rtl.c (copy_rtx): Handle 'B'. | |
11340 | * rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields. | |
11341 | * rtl.h (Field accessors): Update indexes. | |
11342 | * sched-ebb.c (schedule_ebbs): Do not lower notes. | |
11343 | * sched-rgn.c (schedule_insns): Likewise. | |
11344 | * toplev.c (rest_of_compilation): Lower notes. | |
11345 | * unroll.c (unroll_loop): Do not care scoping notes. | |
11346 | (copy_loop_body): Copy scopes. | |
11347 | ||
537fc532 NB |
11348 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11349 | ||
11350 | config/h8300: | |
11351 | * elf.h: Use TARGET_OS_CPP_BUILTINS rather than | |
11352 | SUBTARGET_SPEC. | |
11353 | * rtems.h: Similarly. | |
11354 | * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC, | |
11355 | EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove. | |
11356 | (TARGET_CPU_CPP_BUILTINS): Use. | |
11357 | ||
ab780373 RH |
11358 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11359 | ||
11360 | * alias.c: Include target.h. | |
11361 | (mark_constant_function): Use targetm.binds_local_p instead | |
11362 | of checking TREE_PUBLIC ourselves. | |
11363 | * Makefile.in (alias.o): Add TARGET_H. | |
11364 | ||
b9305c66 NB |
11365 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11366 | ||
11367 | * c-lex.c: Update copyright and file description. | |
11368 | ||
0ac3e0c4 NB |
11369 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11370 | ||
11371 | * config/fr30/fr30.h: Update to new CPP macros. | |
11372 | ||
be3a1d46 NB |
11373 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11374 | ||
11375 | * config/dsp16xx/dsp16xx.h: Update to new CPP macros. | |
11376 | ||
ceeedfc1 | 11377 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
a8fd5963 | 11378 | Zack Weinberg <zack@codesourcery.com> |
ceeedfc1 NB |
11379 | |
11380 | * c-common.c (c_common_init): Override cpplib's default | |
11381 | warn_long_long setting. | |
11382 | * c-lex.c (lex_number): Replace with interpret_integer, | |
11383 | interpret_float, narrowest_unsigned_type and | |
11384 | narrowest_signed_type, taking advantage of the new | |
11385 | cpplib functionality. | |
11386 | * cpperror.c (_cpp_begin_message): If a warning is turned | |
11387 | into an error, avoid printing "warning:". | |
11388 | * cppexp.c (cpp_num_sign_extend): New. | |
11389 | * cppinit.c: Update comment. | |
11390 | * cpplib.h (cpp_num_sign_extend): New. | |
11391 | * tree.h: Update comment. | |
11392 | ||
27e511e0 GDR |
11393 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
11394 | ||
11395 | * diagnostic.h (struct diagnostic_context): Add new member | |
33005162 | 11396 | internal_error. |
27e511e0 GDR |
11397 | (internal_error_function): Remove declaration. |
11398 | * diagnostic.c (internal_error_function): Remove definition.. | |
11399 | (internal_error): Adjust use. | |
11400 | ||
818b6b7f RH |
11401 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11402 | ||
11403 | * rtl.h (CC0_P): New. | |
11404 | * gcse.c (cprop_jump): Use it with single_set. Tweak dump text. | |
11405 | (cprop_insn): Allow any mode register; use CC0_P. CSE out single_set. | |
11406 | (bypass_block): Save old dest block for dump text. | |
11407 | (bypass_conditional_jumps): Allow any mode register; use CC0_P. | |
11408 | Allow only true SET insns, not single_set. | |
11409 | ||
167143a0 GDR |
11410 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
11411 | ||
11412 | * diagnostic.c (diagnostic_finish): Rename to output_flush. | |
11413 | (clear_disgnostic_info): Rename to output_clear_data. Use false | |
11414 | instead of 0 for boolean value. | |
11415 | Adjust function call throughout. | |
11416 | ||
eae4bc56 JH |
11417 | Sun Jun 2 19:15:27 CEST 2002 Jan Hubicka <jh@suse.cz> |
11418 | ||
11419 | * cfgrtl.c (commit_one_edge_insertion): Fix warning. | |
11420 | * gcse.c (bypass_conditional_jumps): CSE out single_set call. | |
11421 | ||
9eb404a0 NB |
11422 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11423 | ||
11424 | * d30v.h (CPP_PREDEFINES): Replace with | |
11425 | (TARGET_CPU_CPP_BUILTINS): New. | |
11426 | ||
53e8b0b8 RS |
11427 | 2002-06-02 Roger Sayle <roger@eyesopen.com> |
11428 | ||
11429 | * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo. | |
11430 | ||
92e34b67 JH |
11431 | Sun Jun 2 12:11:52 CEST 2002 Jan Hubicka <jh@suse.cz> |
11432 | ||
11433 | * gcse.c (bypass_conditional_jumps): Use single set to obtain set. | |
11434 | ||
e7e9d242 RH |
11435 | 2002-06-02 Richard Henderson <rth@redhat.com> |
11436 | ||
11437 | * rtlanal.c (volatile_refs_p): Not automatically true for CALL. | |
11438 | ||
9af145ae MM |
11439 | 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> |
11440 | ||
11441 | Support for C++ constructors/destructors. | |
11442 | * config/avr/avr.c (avr_output_function_epilogue): Jump to exit() | |
11443 | instead of looping if main() returns. | |
11444 | (asm_file_start): Output global symbols that cause .data and .bss | |
11445 | initialization code to be linked in, unconditionally for now. | |
11446 | (avr_asm_out_ctor, avr_asm_out_dtor): New functions. | |
11447 | * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New. | |
11448 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
11449 | (LIBSTDCXX): New. | |
11450 | * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections. | |
11451 | (__tablejump__): New. | |
11452 | (__do_copy_data, __do_clear_bss): New. | |
11453 | (__do_global_ctors, __do_global_dtors): New. | |
11454 | * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss, | |
11455 | _ctors, _dtors. | |
11456 | ||
0d66ad57 NB |
11457 | 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk> |
11458 | ||
11459 | * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New. | |
11460 | (CPP_SPEC, CPP_PREDEFINES): Kill. | |
11461 | * c4x/rtems.h (CPP_PREDEFINES): Kill. | |
11462 | (TARGET_OS_CPP_BUILTINS): New. | |
11463 | ||
5c856b23 JH |
11464 | Sat Jun 1 23:29:51 CEST 2002 Jan Hubicka <jh@suse.cz> |
11465 | ||
11466 | * Makefile.in (tracer.o): New. | |
11467 | * params.def (TRACER_*): New options. | |
11468 | * rtl.h (tracer): Declare. | |
11469 | * timevar.def (TV_TRACER): New. | |
11470 | * toplev.c (dump_file_index): Add DFI_tracer. | |
11471 | (dump_file_info): Add tracer. | |
11472 | (flag_tracer): New. | |
11473 | (lang_indepdenent_options): Add tracer. | |
11474 | (rest_of_compilation): Call tracer. | |
11475 | * tracer.c: New file. | |
11476 | * invoke.texi (-ftracer): Document. | |
11477 | (--param tracer-*): Document. | |
11478 | ||
e2405951 DB |
11479 | 2002-06-01 Daniel Berlin <dberlin@dberlin.org> |
11480 | ||
11481 | * tree-inline.c (expand_call_inline): Make the statement | |
33005162 | 11482 | expression we generate have a COMPOUND_STMT. |
e2405951 | 11483 | |
0e3f0221 RS |
11484 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
11485 | ||
11486 | * gcse.c (cprop_cc0_jump): Function deleted. | |
11487 | (cprop_jump): Take an additional argument which is the possibly | |
11488 | NULL cc setting insn immediately before the conditional jump. | |
11489 | When a MODE_CC set is present, substitute it into the JUMP_INSN | |
11490 | before attempting the constant propagation. | |
11491 | (cprop_insn): Recognize cc setters followed by conditional jumps | |
11492 | as a special case. Use cprop_jump instead of cprop_cc0_jump. | |
11493 | (cprop_one_pass): Call bypass_conditional_jumps if altering jumps. | |
11494 | (find_bypass_set): New function based upon find_avail_set used by | |
11495 | cprop, but finds constant expressions available at the end of | |
11496 | basic blocks. | |
11497 | (bypass_block): New function. Given a basic block that begins | |
11498 | with a conditional jump and multiple incoming edges, perform | |
11499 | the jump bypass optimization. | |
11500 | (bypass_conditional_jumps): New function. Call bypass_block with | |
11501 | each suitable basic block in the CFG using a simple single pass. | |
11502 | ||
378393da RS |
11503 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
11504 | ||
11505 | * tree.c (real_minus_onep): New function to test for -1.0. | |
11506 | * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x. | |
11507 | ||
01c58f26 RS |
11508 | 2002-06-01 Roger Sayle <roger@eyesopen.com> |
11509 | ||
11510 | * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0" | |
11511 | and "!p && !q" into "(p|q) == 0" under suitable conditions. | |
11512 | ||
91b12472 AJ |
11513 | 2002-06-01 Andreas Jaeger <aj@suse.de> |
11514 | ||
11515 | * cppexp.c (cpp_classify_number): Cast precission to int for | |
11516 | correct printf format. | |
11517 | ||
01e9ae86 MM |
11518 | 2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl> |
11519 | ||
11520 | * config/avr/avr.c (avr_mcu_types): Remove devices that were once | |
11521 | expected, but don't really exist: atmega83, atmega85, attiny10. | |
11522 | * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld | |
11523 | emulations for all devices. | |
11524 | (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10. | |
11525 | * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85. | |
11526 | ||
be1e06df KH |
11527 | 2002-06-01 Kazu Hirata <kazu@cs.umass.edu> |
11528 | ||
11529 | * config/h8300/h8300-protos.h: Add a prototype for | |
11530 | h8300_shift_needs_scratch_p. | |
11531 | * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New. | |
11532 | * config/h8300/h8300.h (OK_FOR_R): New. | |
11533 | (OK_FOR_S): Likewise. | |
11534 | (OK_FOR_T): Likewise. | |
11535 | (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T. | |
11536 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
11537 | constraints R, S, and T. | |
11538 | ||
2ecfd709 ZD |
11539 | Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11540 | ||
11541 | * basic-block.h (struct basic_block_def): New field loop_father. | |
11542 | (BB_VISITED): New flag. | |
11543 | (struct loop): New field pred, removed field shared. | |
11544 | (struct loops): New field parray. | |
11545 | (LOOP_EXITS_DOMS): Removed. | |
11546 | (flow_loop_tree_node_add, flow_loop_tree_node_remove, | |
11547 | flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body, | |
11548 | dfs_enumerate_from, loop_preheader_edge, loop_latch_edge, | |
11549 | add_bb_to_loop, remove_bb_from_loops, find_common_loop, | |
11550 | verify_loop_structure): Declare. | |
11551 | * cfg.c (entry_exit_blocks): Initialize loop_father field. | |
11552 | * cfganal.c (dfs_enumerate_from): New function. | |
11553 | * cfgloop.c (HEAVY_EDGE_RATIO): New constant. | |
11554 | (flow_loop_entry_edges_find, flow_loop_exit_edges_find, | |
11555 | flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p, | |
11556 | flow_loop_dump, flow_loops_dump, flow_loops_free, | |
11557 | flow_loop_tree_node_add, flow_loop_level_compute, | |
11558 | flow_loops_level_compute, flow_loop_scan, flow_loops_update, | |
11559 | flow_loop_outside_edge_p): Modified for new infrastructure. | |
11560 | (make_forwarder_block, canonicalize_loop_headers, glb_enum_p, | |
11561 | redirect_edge_with_latch_update, flow_loop_free): New static functions. | |
11562 | (flow_loop_tree_node_remove, flow_bb_inside_loop_p, | |
11563 | get_loop_body, add_bb_to_loop, remove_bb_from_loops, | |
11564 | find_common_loop, verify_loop_structure, loop_latch_edge, | |
11565 | loop_preheader_edge): New functions. | |
11566 | (flow_loops_cfg_dump): Do not show dominators, as this information | |
11567 | does not remain up to date long. | |
11568 | (flow_loops_find): Store results in new format. | |
11569 | * predict.c (propagate_freq, estimate_probability, | |
11570 | estimate_loops_at_level, estimate_bb_frequencies): Use new loop | |
11571 | infrastructure. | |
11572 | ||
d9763749 | 11573 | 2002-06-01 Alan Lehotsky <apl@alum.mit.edu> |
91b12472 | 11574 | |
d9763749 AL |
11575 | * except.c (nothrow_function_p): Walk epilogue delay list |
11576 | checking the insn, not the chain for potential throws. | |
91b12472 | 11577 | |
1e730c5c ZW |
11578 | 2002-05-31 Zack Weinberg <zack@codesourcery.com> |
11579 | ||
11580 | * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove. | |
11581 | (install): Refer to install-cpp directly. | |
11582 | (uninstall-cpp): Folded into uninstall rule. | |
11583 | * configure.in: Delete all code relating to --disable-cpp. | |
11584 | * configure: Regenerate. | |
11585 | * config/t-install-cpp: Delete. | |
11586 | ||
6f9b006d RH |
11587 | 2002-05-31 Richard Henderson <rth@redhat.com> |
11588 | ||
11589 | * configure.in (HAVE_AS_TLS): Add alpha tests. | |
11590 | * configure: Rebuild. | |
11591 | * config/alpha/alpha.c (TARGET_AS_TLS): New. | |
11592 | (alpha_tls_size, alpha_tls_size_string): New. | |
11593 | (overide_options): Set it. Always install machine_status hooks. | |
11594 | (input_operand): Accept got tls predicates. | |
11595 | (local_symbol_p): Merge into ... | |
11596 | (local_symbolic_operand): ... here. Reject tls symbols. | |
11597 | (global_symbolic_operand): Likewise. | |
11598 | (tls_symbolic_operand_1, dtp16_symbolic_operand): New. | |
11599 | (dtp32_symbolic_operand, gotdtp_symbolic_operand): New. | |
11600 | (tp16_symbolic_operand, tp32_symbolic_operand): New. | |
11601 | (gottp_symbolic_operand, tls_symbolic_operand_type): New. | |
11602 | (alpha_encode_section_info): Handle TLS symbols. | |
11603 | (alpha_strip_name_encoding): Likewise. | |
11604 | (alpha_legitimate_address_p): Likewise. | |
11605 | (alpha_legitimize_address): Likewise. | |
11606 | (alpha_expand_mov): Early exit to avoid nop moves. | |
11607 | (struct machine_function): Move from unicosmk.h. Add some_ld_name. | |
11608 | (alpha_init_machine_status, alpha_mark_machine_status, | |
11609 | alpha_free_machine_status): Always define. | |
11610 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. | |
11611 | (print_operand, print_operand_address): Add TLS relocs. | |
11612 | * config/alpha/alpha.h (HAVE_AS_TLS): Default 0. | |
11613 | (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New. | |
11614 | (TARGET_SWITCHES): Add -mtls-kernel. | |
11615 | (alpha_tls_size, alpha_tls_size_string): New. | |
11616 | (TARGET_OPTIONS): Add -mtls-size=. | |
11617 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, | |
11618 | REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG. | |
11619 | (ASM_OUTPUT_LABELREF): Skip %. | |
11620 | (PRINT_OPERAND_PUNCT_VALID_P): Add &. | |
11621 | (PREDICATE_CODES): Update. | |
11622 | * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL, | |
11623 | UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL, | |
11624 | UNSPEC_TP, UNSPECV_SET_TP): New. | |
11625 | (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp, | |
11626 | adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp, | |
11627 | set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp, | |
11628 | movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New. | |
11629 | (call_value_osf_2_er): Accept anything as op4. | |
11630 | * config/alpha/alpha-protos.h: Update. | |
11631 | * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c. | |
11632 | ||
39e5db1a ZW |
11633 | 2002-05-31 Zack Weinberg <zack@codesourcery.com> |
11634 | ||
11635 | * cppinit.c (append_include_chain): Always pay attention to | |
11636 | cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED | |
11637 | marker on argument. | |
11638 | ||
41077ce4 KH |
11639 | 2002-05-31 Kazu Hirata <kazu@cs.umass.edu> |
11640 | ||
11641 | * target.h: Fix formatting. | |
11642 | * timevar.h: Likewise. | |
11643 | * tlink.c: Likewise. | |
11644 | * toplev.c: Likewise. | |
11645 | * toplev.h: Likewise. | |
11646 | * tree.c: Likewise. | |
11647 | * tree-dump.h: Likewise. | |
11648 | * tree.h: Likewise. | |
11649 | * tree-inline.h: Likewise. | |
11650 | * unroll.c: Likewise. | |
11651 | * unwind-dw2.c: Likewise. | |
11652 | * unwind-dw2-fde.c: Likewise. | |
11653 | * unwind-dw2-fde-glibc.c: Likewise. | |
11654 | * unwind-dw2-fde.h: Likewise. | |
11655 | * unwind.h: Likewise. | |
11656 | * unwind-sjlj.c: Likewise. | |
11657 | * varasm.c: Likewise. | |
11658 | * varray.h: Likewise. | |
11659 | * vmsdbg.h: Likewise. | |
11660 | * vmsdbgout.c: Likewise. | |
11661 | * xcoffout.h: Likewise. | |
11662 | ||
b2e426a0 IS |
11663 | 2002-05-31 Igor Shevlyakov <igor@microunity.com> |
11664 | ||
1e730c5c | 11665 | * expr.c (compare_from_rtx): Generate comparison between op0 and op1 |
b2e426a0 IS |
11666 | rather than cc0 and 0 in a case when HAVE_cc0 is not defined. |
11667 | ||
8b968bd1 MW |
11668 | 2002-05-31 Matthew Woodcraft <mattheww@chiark.greenend.org.uk> |
11669 | ||
11670 | * gcc.c (cpp_unique_options): Remove "-d" options. | |
11671 | (cpp_debug_options): New spec string. | |
11672 | (default_compilers): Use it. | |
11673 | * objc/lang-specs.h: Likewise. | |
11674 | ||
5c35940c NN |
11675 | 2002-05-31 Nathanael Nerode <neroden@twcny.rr.com> |
11676 | ||
1e730c5c | 11677 | * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with |
5c35940c NN |
11678 | BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature. |
11679 | * gcc/mklibgcc.in: Likewise. | |
11680 | * gcc/config/arc/t-arc: Likewise. | |
11681 | * gcc/configure.in: Likewise. | |
11682 | * gcc/configure: Regenerate. | |
11683 | ||
8b496ceb SS |
11684 | 2002-05-31 Stan Shebs <shebs@apple.com> |
11685 | Turly O'Connor <turly@apple.com> | |
11686 | ||
11687 | * c-decl.c (struct binding_level): Change int field n_incomplete | |
11688 | to tree list incomplete_list. | |
11689 | (clear_binding_level): Init field with NULL. | |
11690 | (pushdecl): Add incomplete type to list. | |
11691 | (mark_binding_level): Mark the incomplete list. | |
11692 | (finish_struct): Scan the incomplete list for types instead | |
11693 | of all decls in the current binding level. | |
11694 | ||
4722213d JDA |
11695 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11696 | ||
11697 | * pa.c (output_millicode_call): Add missing '%' characters. | |
11698 | (output_call): Likewise. | |
11699 | ||
1086fcb1 DE |
11700 | 2002-05-31 David Edelsohn <edelsohn@gnu.org> |
11701 | ||
11702 | * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define. | |
11703 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. | |
11704 | ||
afdfb380 | 11705 | 2002-05-31 Alan Lehotsky <apl@alum.mit.edu> |
91b12472 | 11706 | |
afdfb380 AL |
11707 | * varasm.c (mark_constant_pool): Walk epilogue delay list |
11708 | checking the insn, not the chain for potential constants. | |
1e730c5c | 11709 | |
f2df45f6 R |
11710 | Fri May 31 12:38:43 2002 J"orn Rennecke <joern.rennecke@superh.com> |
11711 | ||
11712 | * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec. | |
11713 | ||
91ea38f9 JH |
11714 | Fri May 31 13:50:19 CEST 2002 Jan Hubicka <jh@suse.cz> |
11715 | ||
11716 | * i386.c (classify_argument): Properly handle base types. | |
11717 | ||
11718 | * dwarf2out.c (expand_builin_init_dwarf_reg_sizes): | |
11719 | Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo | |
11720 | registers. | |
11721 | ||
10d1bb36 JH |
11722 | Fri May 31 13:37:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
11723 | ||
11724 | * gcse.c (gcse_emit_move_after): New. | |
11725 | (pre_delete, hoist_store): Use it. | |
11726 | ||
11727 | * reload1.c (emit_input_reload_insns): Use constrain_operands | |
11728 | instead of constraint_accepts_reg_p to verify optimization. | |
11729 | (constraint_accepts_reg_p): Kill | |
11730 | ||
11731 | * reload1.c (reload_cse_delete_noop_set): Kill. | |
11732 | (reload_cse_simplify): use delte_insn_and_edges. | |
11733 | ||
8a72fb76 ZD |
11734 | 2002-05-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11735 | ||
11736 | * cfgloop.c (flow_loops_find): Initialize first and last fields | |
11737 | correctly. | |
11738 | ||
a9da2e5b NB |
11739 | 2002-05-31 Neil Booth <neil@daikokuya.demon.co.uk> |
11740 | ||
11741 | * c-common.c (builtin_define_std): Correct logic. | |
11742 | ||
6248c4dd JDA |
11743 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11744 | ||
11745 | * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20. | |
11746 | (output_call): Likewise. | |
11747 | ||
d499455b JDA |
11748 | 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11749 | ||
11750 | * pa.c: Move output.h include after tree.h include. | |
11751 | (pa_asm_output_mi_thunk): Constify identifier lab. | |
11752 | ||
2eb2901a JT |
11753 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
11754 | ||
11755 | * config/ns32k/ns32k.h: Define named constants for the | |
11756 | bits in target_flags and use them. | |
11757 | * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants. | |
11758 | ||
806bf413 JDA |
11759 | 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11760 | ||
11761 | * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0 | |
11762 | architecture and pa/pa-7100.h for PA1.1 architecture, respectively. | |
11763 | * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select | |
11764 | default scheduling model. | |
11765 | * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000". | |
11766 | * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling. | |
11767 | * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling. | |
11768 | * doc/install.texi (hppa*-*-*): Document default scheduling. | |
11769 | ||
6d8d2bbc JDA |
11770 | 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11771 | ||
11772 | * pa.c (following_call): Check TARGET_JUMP_IN_DELAY. | |
11773 | ||
c8eb9785 JT |
11774 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
11775 | ||
11776 | * config.gcc (ns32k-*-netbsd*): Set tm_file to | |
11777 | "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h" | |
11778 | * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h, | |
11779 | netbsd.h, or netbsd-aout.h. | |
11780 | ||
6e2e5b6a JT |
11781 | 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com> |
11782 | ||
11783 | * longlong.h (count_trailing_zeros): Add missing \, and clean up | |
11784 | whitespace in __ns32000__ case. | |
11785 | ||
00182e1e AH |
11786 | 2002-05-31 Aldy Hernandez <aldyh@redhat.com> |
11787 | ||
1e730c5c ZW |
11788 | * expr.c (expand_expr): Output partially zeroed out vectors with |
11789 | output_constant_def. | |
00182e1e | 11790 | |
b4eb03fe JT |
11791 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
11792 | ||
11793 | * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh. | |
11794 | (sh-*-netbsdelf*) | |
11795 | (shl*-*-netbsdelf*): New targets. | |
11796 | * config/sh/netbsd-elf.h: New file. | |
8fd0df91 | 11797 | * config/sh/t-netbsd: New file. |
b4eb03fe | 11798 | |
261376e7 RH |
11799 | 2002-05-30 Richard Henderson <rth@redhat.com> |
11800 | Eric Botcazou <ebotcazou@multimania.com> | |
11801 | ||
11802 | PR optimization/6822 | |
11803 | * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL | |
11804 | to unsigned int for op1 comparisons. Use gen_int_mode. | |
11805 | ||
ce60bf25 EB |
11806 | 2002-05-30 Eric Botcazou <ebotcazou@multimania.com> |
11807 | ||
11808 | * expmed.c (const_mult_add_overflow_p): New. | |
11809 | * expr.h: Declare it. | |
11810 | * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it. | |
11811 | Don't eliminate the biv if the giv has a constant multiplier and | |
11812 | the rhs argument of the comparison does satisfy the predicate. | |
11813 | Use expand_mult_add to compute the replacement constant. | |
11814 | ||
d18b1ed8 OS |
11815 | 2002-05-30 Osku Salerma <osku@iki.fi> |
11816 | ||
11817 | * c-common.c (c_common_attribute_table): Add "may_alias" entry. | |
11818 | (c_common_get_alias_set): Handle it. | |
11819 | * doc/extend.texi: Document it. | |
11820 | ||
a7943381 RH |
11821 | 2002-05-30 Richard Henderson <rth@redhat.com> |
11822 | ||
11823 | * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. | |
11824 | * toplev.c (process_options): Don't check it. | |
11825 | * doc/tm.texi: Don't document it. | |
11826 | * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New. | |
11827 | (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. | |
11828 | * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf | |
11829 | frame pointer optimization if current_function_profile. | |
11830 | ||
e11e816e KH |
11831 | 2002-05-30 Kazu Hirata <kazu@cs.umass.edu> |
11832 | ||
11833 | * langhooks.c: Fix formatting. | |
11834 | * langhooks.h: Likewise. | |
11835 | * lcm.c: Likewise. | |
11836 | * libgcc2.c: Likewise. | |
11837 | * lists.c: Likewise. | |
11838 | * local-alloc.c: Likewise. | |
11839 | * loop.c: Likewise. | |
11840 | * loop.h: Likewise. | |
11841 | ||
11842 | 2002-05-30 Marc Espie <espie@openbsd.org> | |
11843 | ||
11844 | * config.gcc (sparc64-*-openbsd*): New. | |
11845 | * config/sparc/openbsd1-64.h: New. | |
11846 | * config/sparc/openbsd64.h: New. | |
91f0fcee | 11847 | |
d35dfca9 JL |
11848 | 2002-05-30 Jeff Law <law@redhat.com> |
11849 | ||
11850 | * flow.c (propagate_one_insn): Revise yesterday's patch. Delete | |
11851 | a dead insn with a REG_RETVAL note when the entire libcall is not | |
11852 | dead and remove the associated REG_LIBCALL note at the same time. | |
11853 | ||
81b40b72 R |
11854 | Thu May 30 19:54:30 2002 J"orn Rennecke <joern.rennecke@superh.com> |
11855 | ||
11856 | * lcm.c (output.h): #include. | |
11857 | (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK | |
11858 | as an ordinary block. | |
11859 | (optimize_mode_switching): Don't pretend that the exit block is | |
11860 | an ordinary block, or handle sucessors of entry block specially. | |
11861 | Instead, split edges from entry block and to exit block, and | |
11862 | put a computing definition on the thus gained post-entry-block, | |
11863 | and a need on the pre-exit-block. | |
11864 | ||
c8ea9a0f JH |
11865 | Thu May 30 20:28:01 CEST 2002 Jan Hubicka <jh@suse.cz> |
11866 | ||
11867 | * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'. | |
11868 | * rtl.texi: Document 'B' | |
11869 | ||
348f0869 JT |
11870 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
11871 | ||
11872 | * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute | |
11873 | at run-time. | |
11874 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__. | |
11875 | ||
9a171fcd AH |
11876 | 2002-05-30 Aldy Hernandez <aldyh@redhat.com> |
11877 | ||
1e730c5c ZW |
11878 | * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return |
11879 | const0_rtx instead of NULL_RTX when in error. | |
11880 | (altivec_expand_abs_builtin): Same. | |
11881 | (rs6000_expand_binop_builtin): Same. | |
11882 | (altivec_expand_predicate_builtin): Same. | |
11883 | (altivec_expand_stv_builtin): Same. | |
11884 | (rs6000_expand_ternop_builtin): Same. | |
11885 | (altivec_expand_builtin): Same. | |
9a171fcd | 11886 | |
62a35e60 DM |
11887 | 2002-05-29 David S. Miller <davem@redhat.com> |
11888 | ||
11889 | * rtl.h (clear_emit_caches): Delete. | |
11890 | * integrate.c (output_inline_function): Don't call it. | |
11891 | * emit-rtl.c (restore_emit_status, init_emit): Likewise. | |
11892 | (clear_emit_caches): Delete definition. | |
11893 | (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise. | |
11894 | ||
cbc39da8 HPN |
11895 | 2002-05-30 Hans-Peter Nilsson <hp@bitrange.com> |
11896 | ||
11897 | * config/mmix/mmix.c: Include real.h. | |
11898 | (mmix_constant_address_p): Remove redundant test before switch. | |
11899 | ||
50efa737 JT |
11900 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11901 | ||
11902 | * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define | |
11903 | only if not already defined. | |
11904 | ||
2e760b15 KH |
11905 | 2002-05-29 Kazu Hirata <kazu@cs.umass.edu> |
11906 | ||
11907 | * config/h8300/h8300-protos.h: Remove prototypes for | |
11908 | ok_for_bclr and small_power_of_two. | |
11909 | * config/h8300/h8300.c (small_power_of_two): Remove. | |
11910 | (ok_for_blcr): Likewise. | |
11911 | (fix_bit_operand): Make WHAT deal with an integer instead of a | |
11912 | constraint character. | |
11913 | * config/h8300/h8300.h (CONST_OK_FOR_O): Remove. | |
11914 | (CONST_OK_FOR_P): Likewise. | |
11915 | (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or | |
11916 | CONST_OK_FOR_P any more. | |
11917 | * config/h8300/h8300.md (andqi3): Adjust to the new prototype | |
11918 | of fix_bit_operand. | |
11919 | (iorqi3): Likewise. | |
11920 | (xorqi3): Likewise. | |
11921 | ||
e1c293ae JT |
11922 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11923 | ||
11924 | * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
11925 | (CPP_PREDEFINES): Make sure this is undefined. | |
11926 | (CPP_SPEC): Place -D__mips=1 at the beginning of the spec, | |
11927 | since it is no longer in CPP_PREDEFINES. Don't -U__MIPSEL__ | |
11928 | or -U__MIPSEB__ before defining one or the other. Instead, | |
11929 | use %(subtarget_endian_default) if neither -EB nor -EL are | |
11930 | specified. | |
11931 | (SUBTARGET_EXTRA_SPECS): Define. | |
11932 | (SUBTARGET_CPP_SPEC): Remove __LONG64 handling. Use | |
11933 | %(netbsd_cpp_spec). | |
11934 | ||
fde6d81f HPN |
11935 | 2002-05-29 Hans-Peter Nilsson <hp@axis.com> |
11936 | ||
11937 | * doc/md.texi (Patterns): Note pattern condition pitfall | |
11938 | for unnamed insn. | |
11939 | ||
92898235 AH |
11940 | 2002-05-29 Aldy Hernandez <aldyh@redhat.com> |
11941 | ||
1e730c5c ZW |
11942 | * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins |
11943 | when TARGET_ALTIVEC. Move handling of generic unary, binary, and | |
11944 | ternary operations from here... | |
11945 | (rs6000_expand_builtin): ...to here. | |
11946 | New argument expandedp. | |
11947 | Change all instances of altivec_expand_binop_builtin to | |
11948 | rs6000_expand_binop_builtin. | |
11949 | (altivec_expand_unop_builtin): Rename to | |
11950 | rs6000_expand_unop_builtin. | |
11951 | (altivec_expand_binop_builtin): Rename to | |
11952 | rs6000_expand_binop_builtin. | |
11953 | (altivec_expand_ternop_builtin): Rename to | |
11954 | rs6000_expand_ternop_builtin. | |
92898235 | 11955 | |
67adf6a9 RH |
11956 | 2002-05-29 Richard Henderson <rth@redhat.com> |
11957 | ||
11958 | * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value. | |
11959 | (TARGET_BI_ARCH): Likewise. | |
11960 | * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value. | |
11961 | (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT. | |
11962 | (TARGET_64BIT_DEFAULT): Default to 0. | |
11963 | (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER. | |
11964 | ||
145aacc2 RH |
11965 | 2002-05-29 Richard Henderson <rth@redhat.com> |
11966 | ||
11967 | * config/i386/i386.c (USE_HIDDEN_LINKONCE): New. | |
11968 | (get_pc_thunk_name): New. | |
11969 | (output_set_got): Use it. | |
11970 | (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks | |
11971 | into linkonce sections. | |
11972 | ||
a5b49bbc JT |
11973 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
11974 | ||
11975 | * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
11976 | (CPP_PREDEFINES): Make sure this is undefined. | |
11977 | (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove. | |
11978 | (CPP_SUBTARGET_SPEC): Don't provide different versions for | |
11979 | default-32 and default-64. Just always use %(netbsd_cpp_spec). | |
11980 | (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and | |
11981 | cpp_subtarget_spec64. Add netbsd_cpp_spec. | |
11982 | * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
11983 | (CPP_PREDEFINES): Make sure this is undefined. | |
11984 | (SUBTARGET_EXTRA_SPECS): Define. | |
11985 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
11986 | ||
54374491 JL |
11987 | 2002-05-29 Jeff Law <law@redhat.com> |
11988 | ||
ae02eae8 JL |
11989 | * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon. |
11990 | ||
b862c2aa JL |
11991 | * flow.c (propagate_one_insn): Do not remove a dead insn if it |
11992 | contains a REG_RETVAL note. | |
11993 | ||
d10791ba JL |
11994 | * haifa-sched (sched_analyze): Remove another useless clearing |
11995 | of SCHED_GROUP_P I missed yesterday. | |
11996 | ||
54374491 JL |
11997 | * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c. |
11998 | * pa.c (pa_asm_output_mi_thunk): New function. | |
11999 | * pa-protos.h (pa_asm_output_mi_thunk): Declare. | |
12000 | ||
92c392e6 NB |
12001 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
12002 | Marek Michalkiewicz <marekm@amelek.gda.pl> | |
12003 | ||
12004 | * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New. | |
12005 | (avr_asm_only_p): Make non-static. | |
12006 | (enum avr_arch): Remove. | |
12007 | (avr_arch_types): New. | |
12008 | (avr_mcu_types): Update. | |
12009 | (avr_override_options): Use avr_arch_types table instead of switch. | |
12010 | * avr.h (CPP_PREDEFINES): Die. | |
12011 | (avr_base_arch_macro, avr_extra_arch_macro): New. | |
12012 | (TARGET_CPU_CPP_BUILTINS): New. | |
12013 | (CPP_SPEC, EXTRA_SPECS): Simplify. | |
12014 | (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC, | |
12015 | CPP_AVR5_SPEC): Die. | |
12016 | ||
4528173e JT |
12017 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
12018 | ||
12019 | * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use | |
12020 | NETBSD_OS_CPP_BUILTINS_AOUT. | |
12021 | (SUBTARGET_EXTRA_SPECS): Define. | |
12022 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
12023 | ||
bd09bdeb RH |
12024 | 2002-05-29 Richard Henderson <rth@redhat.com> |
12025 | ||
12026 | * config/i386/i386.c (ix86_output_function_epilogue): New. | |
12027 | (TARGET_ASM_FUNCTION_EPILOGUE): New. | |
12028 | (pic_label_name): Remove. | |
12029 | (pic_labels_used): New. | |
12030 | (ix86_asm_file_end): Emit one pc load stub for each register used. | |
12031 | (output_set_got): Generate deep pc load to any register. | |
12032 | (ix86_select_alt_pic_regnum): New. | |
12033 | (ix86_save_reg): Don't save pic register if we can find a valid | |
12034 | call-clobbered replacement. | |
12035 | (ix86_expand_prologue): If we found a valid replacement, renumber | |
12036 | pic_offset_table_rtx. | |
12037 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at | |
12038 | pic_offset_table_rtx after reload. | |
12039 | (REAL_PIC_OFFSET_TABLE_REGNUM): New. | |
12040 | * config/i386/i386.md (set_got): Make insn, not expander. | |
12041 | (set_got_nopic, set_got_deep, set_got_nodeep): Remove. | |
12042 | ||
002ff5bc RH |
12043 | 2002-05-29 Richard Henderson <rth@redhat.com> |
12044 | ||
12045 | * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom | |
12046 | alignment for alloca. | |
12047 | ||
edfe8595 RH |
12048 | 2002-05-29 Richard Henderson <rth@redhat.com> |
12049 | ||
12050 | * config/i386/i386.c (output_pic_addr_const): Lowercase rip. | |
12051 | (print_operand_address): Only add rip for symbolic addresses | |
12052 | for which we do not have another relocation type. | |
12053 | ||
cd7714ee JT |
12054 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
12055 | ||
12056 | * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
12057 | (EXTRA_SPECS): Add netbsd_cpp_spec. | |
12058 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
12059 | (CPP_PREDEFINES): Remove. | |
12060 | * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
12061 | (EXTRA_SPECS): Define. | |
12062 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
12063 | (CPP_PREDEFINES): Remove. | |
12064 | ||
8dc901de NB |
12065 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
12066 | ||
12067 | PR preprocessor/6844 | |
12068 | * cppmacro.c (cpp_macro_definition): Reserve space for terminating | |
12069 | NUL. | |
12070 | ||
2274b31a EC |
12071 | 2002-05-29 Eric Christopher <echristo@redhat.com> |
12072 | ||
12073 | * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for | |
12074 | mips5/mips32/mips64 and _MIPS_ISA_MIPSXX. | |
12075 | ||
5c7666c1 NC |
12076 | 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com> |
12077 | ||
12078 | * config/fr30/fr30.md: Remove previous restriction on splits. | |
12079 | Enforce conformance through gen_lowpart and cont_int_operand. | |
1e730c5c | 12080 | * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss" |
5c7666c1 NC |
12081 | as the assembler does not support ".bss". |
12082 | ||
45beef47 JT |
12083 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
12084 | ||
12085 | * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
12086 | (CPP_PREDEFINES): Remove. | |
12087 | (SUBTARGET_EXTRA_SPECS): Define. | |
12088 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
12089 | * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define. | |
12090 | (CPP_PREDEFINES): Remove. | |
12091 | (SUBTARGET_EXTRA_SPECS): Define. | |
12092 | (CPP_SPEC): Use %(netbsd_cpp_spec). | |
12093 | * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define. | |
12094 | (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove. | |
12095 | (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget. | |
12096 | Add netbsd_cpp_spec. | |
12097 | (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec). | |
12098 | ||
cd7ab83f NB |
12099 | 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk> |
12100 | Zack Weinberg <zack@codesourcery.com> | |
12101 | ||
12102 | * cppexp.c (cpp_num): Move to cpplib.h. | |
12103 | (CPP_ERROR): Remove. | |
12104 | (interpret_float_suffix, interpret_int_suffix): New. | |
12105 | (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove. | |
12106 | (cpp_classify_number, cpp_interpret_integer): New. | |
12107 | (interpret_number): Remove. | |
12108 | (eval_token): Update to use new routines. | |
12109 | * cpphash.h (cpp_num_part): Move to cpplib.h. | |
12110 | * cppinit.c (cpp_post_options): Set warn_long_long. | |
12111 | * cpplib.h (struct cpp_options): Add warn_long_long. | |
12112 | (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID, | |
12113 | CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL, | |
12114 | CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX, | |
12115 | CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number, | |
12116 | cpp_interpret_integer): New. | |
12117 | ||
61a8515c JS |
12118 | 2002-05-29 Joel Sherrill <joel@OARcorp.com> |
12119 | ||
12120 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405. | |
12121 | ||
53a428b5 JT |
12122 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
12123 | ||
12124 | * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use | |
2274b31a EC |
12125 | NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64. |
12126 | (CPP_SUBTARGET_SPEC): Define. | |
12127 | (SUBTARGET_EXTRA_SPECS): Define. | |
53a428b5 JT |
12128 | (CPP_SPEC): Remove. |
12129 | ||
45b1f7c7 CL |
12130 | 2002-05-29 Chris Lattner <sabre@nondot.org> |
12131 | ||
1e730c5c ZW |
12132 | * ssa.c (rename_insn_1): Rename uses of undefined registers to |
12133 | prevent confusion if/when the register is defined. | |
45b1f7c7 | 12134 | |
049746c2 HPN |
12135 | 2002-05-29 Hans-Peter Nilsson <hp@axis.com> |
12136 | ||
12137 | PR target/6838 | |
12138 | * config/cris/cris.md: Fix typos and thinkos in comments. | |
12139 | ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4, | |
12140 | second alternative. | |
12141 | ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto. | |
12142 | ("*mov_sideqi_mem"): Similar, but for operand 3. | |
12143 | ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto. | |
12144 | (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem): | |
12145 | Remove spurious mode specifier on operand 2. | |
12146 | ||
4d4d89e2 KH |
12147 | 2002-05-29 Kazu Hirata <kazu@cs.umass.edu> |
12148 | ||
12149 | * config/h8300/h8300-protos.h: Remove the prototype for | |
12150 | o_operand. | |
12151 | Add prototypes for single_one_operand and single_zero_operand. | |
12152 | * config/h8300/h8300.c (o_operand): Remove. | |
12153 | (single_one_operand): New. | |
12154 | (single_zero_operand): Likewise. | |
12155 | (print_operand): For 'V' operand, and the operand with 0xff. | |
12156 | For 'V' and 'W' operands, do not and the bit position with 7. | |
12157 | * config/h8300/h8300.md (various anonymous patterns): Replace | |
12158 | use of exact_log2 with single_one_operand/single_zero_operand. | |
12159 | ||
abd6ddec UW |
12160 | 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com> |
12161 | ||
12162 | * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. | |
12163 | ||
da06d85a UW |
12164 | 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com> |
12165 | ||
12166 | * config/s390/s390.c (legitimate_pic_operand_p): Do not | |
12167 | accept symbolic LARL operands. | |
2274b31a | 12168 | (s390_emit_epilogue): Do not set FRAME_RELATED_P on |
da06d85a | 12169 | epilogue insns. |
2274b31a | 12170 | |
f8766020 HP |
12171 | 2002-05-29 Hartmut Penner <hpenner@de.ibm.com> |
12172 | ||
12173 | * config/s390/s390.md (cmpstr_64/31): Mark whole | |
2274b31a | 12174 | input registers as used. |
f8766020 | 12175 | |
66edd3b4 RH |
12176 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12177 | ||
12178 | * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live, | |
12179 | not current_function_uses_pic_offset_table and | |
12180 | current_function_uses_const_pool; examine current_function_profile. | |
12181 | (ix86_expand_prologue): Likewise. Add pic_offset_table_rtx as | |
12182 | input to blockage if needed. | |
12183 | (ix86_expand_call): Do not set current_function_uses_pic_offset_table. | |
12184 | (legitimize_pic_address): Likewise. Set regs_ever_live for | |
12185 | pic_offset_table_rtx when invoked during reload. | |
12186 | * config/i386/i386.h (FINALIZE_PIC): Remove. | |
12187 | * config/i386/i386.md (tablejump): Reformat. Do not set | |
12188 | current_function_uses_pic_offset_table. | |
12189 | (tls_global_dynamic, tls_local_dynamic_base): Likewise. | |
12190 | (blockage): Accept anything as operand 0. | |
12191 | ||
52f4fff6 JT |
12192 | 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com> |
12193 | ||
12194 | * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define | |
12195 | common CPP built-ins for all NetBSD a.out targets. | |
12196 | * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define | |
12197 | common CPP built-ins for all NetBSD ELF targets. | |
12198 | * config/netbsd.h: Add missing notice. | |
12199 | (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins | |
12200 | for all NetBSD targets. | |
12201 | (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins | |
12202 | for all NetBSD targets using an LP64 code model. | |
12203 | (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all | |
12204 | NetBSD targets. | |
12205 | ||
e0e577a2 RH |
12206 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12207 | ||
12208 | * flow.c (update_life_info_in_dirty_blocks): Only do a partial | |
12209 | update if UPDATE_LIFE_LOCAL. | |
12210 | ||
12211 | 2002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> | |
62526ec3 TM |
12212 | |
12213 | * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE. | |
12214 | ||
f1a58d92 | 12215 | Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1e730c5c | 12216 | Jason R. Thorpe <thorpej@wasabisystems.com> |
f1a58d92 R |
12217 | |
12218 | config/sh reorganization to factor out endianness and coff: | |
12219 | ||
12220 | * config/sh/little.h: New file. | |
1e730c5c ZW |
12221 | * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already |
12222 | defined, define to 0 to select big-endian. | |
f1a58d92 | 12223 | (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT. |
1e730c5c ZW |
12224 | (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. |
12225 | * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. | |
12226 | * config/sh/t-be: New file. | |
12227 | * config/sh/t-le: New file. | |
f1a58d92 R |
12228 | |
12229 | * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h. | |
12230 | (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise. | |
12231 | (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise. | |
12232 | (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise. | |
12233 | (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
12234 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. | |
12235 | (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted. | |
12236 | (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise. | |
12237 | (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise. | |
12238 | (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and | |
12239 | CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL, | |
12240 | SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC. | |
12241 | (LINK_SPEC): Define to SH_LINK_SPEC. | |
12242 | (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define. | |
12243 | (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise. | |
12244 | (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. | |
12245 | (CPP_SPEC): Reduce to %(subtarget_cpp_spec). | |
12246 | (TARGET_ENDIAN_DEFAULT): Define if not already defined. | |
12247 | * config/sh/coff.h: New file. | |
12248 | (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section | |
12249 | (TARGET_OBJFMT_CPP_BUILTINS): Define. | |
12250 | * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start. | |
12251 | (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise. | |
12252 | (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise. | |
12253 | (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise. | |
12254 | (PTRDIFF_TYPE): Likewise. | |
12255 | ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include. | |
12256 | (CPP_PREDEFINES): Don't define. | |
12257 | (TARGET_OBJFMT_CPP_BUILTINS): Define. | |
12258 | (LINK_SPEC): Define to SH_LINK_SPEC. | |
12259 | (LINK_EMUL_PREFIX): Redefine. | |
12260 | * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases. | |
12261 | (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition. | |
12262 | (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise. | |
12263 | (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise. | |
12264 | (TARGET_OS_CPP_BUILTINS): Define. | |
12265 | (TARGET_DEFAULT): Redefine. | |
12266 | (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. | |
12267 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove. | |
12268 | (LINK_SPEC): Don't redefine. | |
12269 | (LINK_DEFAULT_CPU_EMUL): Redefine. | |
12270 | (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. | |
12271 | * sh.c (sh_asm_named_section): Don't declare / define. | |
12272 | * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option. | |
12273 | * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h. | |
12274 | (sh64-*-elf* tm_file): Likewise. | |
12275 | (sh-*-rtemself* tm_file): Likewise. | |
12276 | (sh-*-linux* tm_file): Likewise. Add sh/little.h. | |
12277 | (sh-*-linux* tmake_file): Add sh/t-le. | |
12278 | (sh-*-rtems* tm_file): Add sh/coff.h | |
12279 | (sh-*-* tm_file): Likewise. | |
12280 | ||
12281 | Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com> | |
12282 | ||
12283 | * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using | |
12284 | CONSTANT_POOL_ADDRESS_P. | |
12285 | ||
12286 | * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define. | |
12287 | ||
d10791ba | 12288 | 2002-05-28 David Edelsohn <edelsohn@gnu.org> |
33a3dfc4 DE |
12289 | Jeff Law <law@redhat.com> |
12290 | ||
64de6c0a DE |
12291 | * optabs.c (expand_binop): Fix nwords sign warnings. |
12292 | generate pseudo for add_optab. | |
12293 | ||
33a3dfc4 DE |
12294 | * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P. |
12295 | * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used. | |
12296 | ||
972957ba | 12297 | 2002-05-28 Marc Espie <espie@openbsd.org> |
33a3dfc4 | 12298 | |
2274b31a | 12299 | * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, |
972957ba ME |
12300 | inherited from gas.h. |
12301 | (ASM_QUAD): Undef. OpenBSD does not support it. | |
12302 | ||
cc92b8ab DS |
12303 | 2002-05-28 Danny Smith <dannysmith@users.sourceforge.net> |
12304 | ||
12305 | * doc/install.texi (binaries): Change mingw binaries | |
12306 | link to www.mingw.org. | |
12307 | ||
f8088d55 ZD |
12308 | 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12309 | ||
12310 | * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i. | |
12311 | ||
0b7ae565 RH |
12312 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12313 | ||
12314 | * config/i386/i386.c (ix86_compute_frame_layout): Do not add | |
12315 | bottom alignment for leaf functions. | |
12316 | ||
16069d69 ZW |
12317 | 2002-05-28 Zack Weinberg <zack@codesourcery.com> |
12318 | ||
12319 | * config/pa/milli32.S, config/pa/lib1funcs.asm, | |
12320 | config/sparc/sol2-g1.asm: Delete unused files. | |
12321 | ||
04653686 RH |
12322 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12323 | ||
12324 | * cfg.c (dump_flow_info): Print bb->index, not i, for block number. | |
12325 | ||
f3ea5f6a RH |
12326 | * flow.c (calculate_global_regs_live): Rename call_used to |
12327 | invalidated_by_call. Initialize from regs_invalidated_by_call | |
12328 | instead of call_used_regs. | |
12329 | ||
923c7cdf RH |
12330 | * varasm.c (default_binds_local_p): Check TREE_PUBLIC before |
12331 | DECL_EXTERNAL. | |
12332 | ||
11ad4784 ZW |
12333 | 2002-05-28 Zack Weinberg <zack@codesourcery.com> |
12334 | ||
8abbd76a ZW |
12335 | * tree.h: Don't include real.h. |
12336 | Forward-declare struct realvaluetype. | |
11ad4784 ZW |
12337 | (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not |
12338 | contain it. | |
12339 | (TREE_REAL_CST_PTR): New accessor. | |
12340 | (TREE_REAL_CST): Update. | |
12341 | * real.h: Include machmode.h. | |
2274b31a | 12342 | (realvaluetype): Make it struct realvaluetype, not a typedef. |
11ad4784 ZW |
12343 | (build_real): Prototype here. |
12344 | ||
12345 | * tree.c: Include real.h. | |
2274b31a EC |
12346 | (build_real): Allocate the REAL_VALUE_TYPE as a separate |
12347 | object in GC memory, set TREE_REAL_CST_PTR to point to it. | |
11ad4784 ZW |
12348 | (build_real_from_int_cst): Use build_real. |
12349 | * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a | |
12350 | REAL_CST. | |
12351 | ||
12352 | * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c, | |
12353 | fold-const.c, print-tree.c, real.c: Include real.h. | |
12354 | * Makefile.in: Update dependency lists. | |
12355 | ||
bf77398c ZD |
12356 | 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12357 | ||
12358 | * basic-block.h (last_basic_block): Declare. | |
12359 | (expunge_block_nocompact): Declaration removed. | |
12360 | (compact_blocks): Declare. | |
12361 | * cfg.c (last_basic_block): New variable. | |
12362 | (expunge_block_nocompact): Removed. | |
12363 | (expunge_block): Do not compact basic blocks. | |
12364 | (compact_blocks): New. | |
12365 | * cfganal.c (flow_call_edges_add): Use the fact that bb indices no | |
12366 | longer change. | |
12367 | * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set | |
12368 | last_basic_block. | |
12369 | * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change | |
12370 | real positions of blocks. | |
12371 | (delete_unreachable_blocks): Simplified -- quadratic behavior now | |
12372 | cannot occur. | |
12373 | (cleanup_cfg): Compact blocks. | |
12374 | * cfgrtl.c (create_basic_block): Insert basic blocks to the end of | |
12375 | basic_block_info varray. | |
12376 | (flow_delete_block): Comment update. | |
12377 | (back_edge_of_syntactic_loop_p): Modify position check code. | |
12378 | (verify_flow_info): Update checking. | |
12379 | * flow.c (calculate_global_regs_live): Use FOR_EACH_BB. | |
12380 | * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed. | |
12381 | (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb | |
12382 | indices no longer change. | |
12383 | * lcm.c (optimize_mode_switching): Replace n_basic_blocks with | |
12384 | last_basic_block. | |
12385 | * predict.c (estimate_bb_frequencies): Remove unneccessary code. | |
12386 | * profile.c (branch_prob): Compact blocks. | |
12387 | * sched-rgn.c (find_rgns): Replace n_basic_blocks with | |
12388 | last_basic_block. | |
12389 | ||
ae12a094 KH |
12390 | 2002-05-28 Kazu Hirata <kazu@cs.umass.edu> |
12391 | ||
12392 | * config/h8300/h8300.md (two anonymous patterns): New. | |
12393 | ||
c6172f14 DM |
12394 | 2002-05-28 David S. Miller <davem@redhat.com> |
12395 | ||
12396 | * config/sparc/sparc.md (cpu): Tidy. | |
12397 | (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and | |
12398 | 'trap'. | |
12399 | (in_call_delay): Delete reference to 'return' type. | |
12400 | (eligible_for_return_delay, in_return_delay, define_delay | |
12401 | referencing those): Delete. | |
12402 | (rest of file): Use new type attributes as appropriate. | |
12403 | * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete. | |
12404 | * config/sparc/sparc.c (eligible_for_return_delay): Likewise. | |
12405 | * config/sparc/ultra1_2.md (us1_single): New reservation. | |
12406 | (us1_ialuX): Likewise. | |
12407 | * config/sparc/ultra3.md (us3_single): Likewise. | |
12408 | (us3_ialuX): Likewise. | |
12409 | (us3_imul, us3_idiv): Tweak. | |
2274b31a | 12410 | |
34a6c2ec RH |
12411 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12412 | ||
12413 | * config/alpha/alpha.c (alpha_in_small_data_p): Return false for | |
12414 | STRING_CST. | |
12415 | ||
9c075570 RH |
12416 | 2002-05-28 Richard Henderson <rth@redhat.com> |
12417 | ||
12418 | * config.gcc: Obsolete mn10200. | |
12419 | ||
359b0bec NB |
12420 | 2002-05-28 Neil Booth <neil@daikokuya.demon.co.uk> |
12421 | ||
12422 | * cppexp.c (interpret_number): Optimize for single-digit | |
12423 | and less-than-half-precision cases. | |
12424 | (num_trim, num_positive, num_div_op): Cast constants. | |
12425 | ||
4075db8f BT |
12426 | 2002-05-27 Bo Thorsen <bo@suse.de> |
12427 | ||
12428 | * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the | |
12429 | 3.1 branch. The file was made by Jakub Jelinek. | |
12430 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386 | |
12431 | support so multilib doesn't break. And don't define this at all | |
12432 | when -Dinhibit_libc is used. | |
12433 | (MULTILIB_DEFAULTS): Always set default to 64 bit compilation. | |
12434 | * config/i386/t-linux64: Implement full multilib support. Patch | |
12435 | originally done by Andreas Jaeger and Jakub Jelinek. | |
12436 | ||
39f2f3c8 RS |
12437 | 2002-05-27 Roger Sayle <roger@eyesopen.com> |
12438 | ||
12439 | * c-common.c: Add support for __attribute__((nothrow)) to specify | |
12440 | that a function cannot throw an exception (using TREE_NOTHROW). | |
12441 | (handle_nothrow_attribute): New function to process this attribute. | |
12442 | ||
12443 | * doc/extend.texi: Document the new nothrow function attribute. | |
12444 | ||
d51b0053 L |
12445 | 2002-05-27 H.J. Lu (hjl@gnu.org) |
12446 | ||
12447 | * cppexp.c (num_trim): Use 1UL instead of 1 for long int. | |
12448 | (num_positive): Likewise. | |
12449 | (num_div_op): Likewise. | |
12450 | ||
630363b4 NB |
12451 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12452 | ||
12453 | * c-common.c (c_common_init): Always use intmax_t. | |
12454 | ||
d94cde01 NB |
12455 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12456 | ||
12457 | * c-common.c (c_common_init): Use intmax_t for now. | |
12458 | ||
57f851a3 AH |
12459 | 2002-05-24 Andrew Haley <aph@redhat.com> |
12460 | ||
12461 | * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c | |
12462 | if T is a boolean type. | |
12463 | ||
d55bc081 ZD |
12464 | 2002-05-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12465 | ||
12466 | * basic-block.h (last_basic_block): Defined as synonym for | |
12467 | n_basic_blocks. | |
12468 | * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute, | |
12469 | flow_depth_first_order_compute, flow_preorder_transversal_compute, | |
12470 | flow_dfs_compute_reverse_init): Replaced relevant occurences of | |
12471 | n_basic_blocks with last_basic_block. | |
12472 | * cfgbuild.c (make_edges): Likewise. | |
12473 | * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise. | |
12474 | * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise. | |
12475 | * combine.c (combine_instructions): Likewise. | |
12476 | * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap, | |
12477 | iterative_dataflow_bitmap): Likewise. | |
12478 | * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree, | |
12479 | calc_idoms, idoms_to_doms): Likewise. | |
12480 | * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars): | |
12481 | Likewise. | |
12482 | * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties, | |
12483 | compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass, | |
12484 | one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p, | |
12485 | one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1, | |
12486 | delete_null_pointer_checks, compute_code_hoist_vbeinout, | |
12487 | hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass, | |
12488 | compute_store_table, build_store_vectors): Likewise. | |
12489 | * haifa-sched.c (sched_init): Likewise. | |
12490 | * ifcvt.c (if_convert): Likewise. | |
12491 | * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete, | |
12492 | pre_edge_lcm, compute_available, compute_nearerout, | |
12493 | compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching): | |
12494 | Likewise. | |
12495 | * predict.c (estimate_probability, process_note_prediction, | |
12496 | note_prediction_to_br_prob): Likewise. | |
12497 | * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise. | |
12498 | * recog.c (split_all_insns, peephole2_optimize): Likewise. | |
12499 | * regrename.c (copyprop_hardreg_forward): Likewise. | |
12500 | * resource.c (init_resource_info): Likewise. | |
12501 | * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info, | |
12502 | init_regions, schedule_insns): Likewise. | |
12503 | * ssa-ccp.c (ssa_const_prop): Likewise. | |
12504 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
12505 | * ssa.c (compute_dominance_frontiers, | |
12506 | compute_iterated_dominance_frontiers, convert_to_ssa): Likewise. | |
12507 | ||
12508 | * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code) | |
12509 | * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector | |
12510 | sizes consistently. | |
12511 | ||
71d2c5bd JH |
12512 | Mon May 27 14:28:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
12513 | ||
12514 | * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge): | |
12515 | new. | |
12516 | * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store, | |
12517 | hoist_insn_after, hoist_insn_to_edge): New. | |
12518 | ||
5149f070 JH |
12519 | Mon May 27 12:14:02 CEST 2002 Jan Hubicka <jh@suse.cz> |
12520 | ||
12521 | * basic-block.h (PEOP_SCAN_DEAD_STORES): New. | |
12522 | (PROP_FINAL): Include. | |
12523 | * flow.c (life_analysis, update_life_info, | |
12524 | init_propagate_block_info, mark_set_1, mark_used_rgs): | |
12525 | Support SCAN_DEAD_STORE. | |
12526 | ||
c9220e3a NB |
12527 | 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12528 | ||
12529 | * c-common.c (c_common_init): Set CPP arithmetic precision. | |
12530 | * cppexp.c (cpp_num_part): Move typedef ... | |
12531 | * cpphash.h: ...here; make unsigned HOST_WIDE_INT. | |
12532 | * cppinit.c (cpp_create_reader): Default to host long arithmetic. | |
12533 | (sanity_checks): Update. | |
12534 | ||
e34a3d31 GK |
12535 | 2002-05-26 Geoffrey Keating <geoffk@redhat.com> |
12536 | ||
12537 | * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'. | |
12538 | (mkheaders): New rule. | |
12539 | (install-mkheaders): New rule. | |
12540 | * configure.in (all_outputs): Add mkheaders. | |
12541 | * configure: Regenerate. | |
12542 | * mkheaders.in: New file. | |
12543 | ||
9059e33c JJ |
12544 | 2002-05-26 Jakub Jelinek <jakub@redhat.com> |
12545 | ||
12546 | * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class. | |
12547 | ||
291cc0fe AJ |
12548 | 2002-05-26 Andreas Jaeger <aj@suse.de> |
12549 | ||
12550 | * cfg.c (dump_flow_info): Remove extra argument to fprintf. | |
12551 | ||
91318908 NB |
12552 | 2002-05-26 Neil Booth <neil@daikokuya.demon.co.uk> |
12553 | ||
12554 | * cppexp.c (possible_sum_sign, integer_overflow, left_shift, | |
12555 | right_shift): Remove. | |
12556 | (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART, | |
12557 | HIGH_PART): New. | |
12558 | (struct op): Use cpp_num. | |
12559 | (num_zerop, num_eq, num_positive, num_greater_freq, num_trim, | |
12560 | num_part_mul, num_unary_op, num_binary_op, num_negate, | |
12561 | num_bitwise_op, num_inequality_op, num_equality_op, num_mul, | |
12562 | num_div_op, num_lshift, num_rshift, append_digit): New. | |
12563 | (interpret_number, parse_defined, eval_token, reduce): Update | |
12564 | for two-integer arithmetic. | |
12565 | (binary_handler): New typedef. | |
12566 | (optab): Update. | |
12567 | (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete. | |
12568 | (_cpp_parse_expr, reduce): Update to handle two-integers. | |
12569 | * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF. | |
12570 | ||
331ca350 MM |
12571 | 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl> |
12572 | ||
12573 | * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare. | |
12574 | * config/avr/avr.c (jump_over_one_insn_p): Take length of the | |
12575 | branch insn into account, do not assume 1. | |
12576 | (avr_out_sbxx_branch): New function. Optimize cases of skipping | |
12577 | over single word insn. Handle upper half of I/O space too. | |
12578 | * config/avr/avr.md (*sbrx_branch): Use it. | |
12579 | (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise. | |
12580 | (*sbix_branch, *sbix_branch_bit7): Likewise. | |
12581 | (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New. | |
12582 | Use RTL peepholes to optimize register operand sign tests. | |
12583 | ||
bcb6a2be MM |
12584 | 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl> |
12585 | ||
12586 | * config/avr/avr.c (avr_asm_only_p): New variable. | |
12587 | (avr_override_options): Set it here if AVR1. | |
12588 | (asm_file_start): Test it here, report an error if set. | |
12589 | ||
ca7fd9cd KH |
12590 | 2002-05-26 Kazu Hirata <kazu@cs.umass.edu> |
12591 | ||
12592 | * alias.c: Fix formatting. | |
12593 | * attribs.c: Likewise. | |
12594 | * bb-reorder.c: Likewise. | |
12595 | * bitmap.c: Likewise. | |
12596 | * bitmap.h: Likewise. | |
12597 | * builtins.c: Likewise. | |
12598 | ||
a65dc37d JH |
12599 | Sun May 26 14:00:44 CEST 2002 Jan Hubicka <jh@suse.cz> |
12600 | ||
12601 | * reload.c (find_valid_class): Accept new argument DEST, | |
12602 | choose class accordingly. | |
12603 | (push_reload): Update callers. | |
12604 | ||
9b89393b AJ |
12605 | 2002-05-26 Andreas Jaeger <aj@suse.de> |
12606 | ||
12607 | * combine.c (combine_instructions): Do not indent #if for | |
12608 | traditional C. | |
12609 | ||
b53bb376 RH |
12610 | 2002-05-25 Richard Henderson <rth@redhat.com> |
12611 | ||
12612 | * c-pragma.c (apply_pragma_weak): Convert value identifier to | |
12613 | string for decl_attributes. | |
12614 | (handle_pragma_weak): Call assemble_alias if we're modifying | |
12615 | an existing decl. | |
12616 | ||
e133041b RH |
12617 | 2002-05-25 Richard Henderson <rth@redhat.com> |
12618 | ||
12619 | PR target/6788 | |
12620 | * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation | |
12621 | using rtl instead of fprintf. | |
12622 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it. | |
12623 | * config/sparc/sparc-protos.h: Update. | |
12624 | ||
81a75f0f NB |
12625 | 2002-05-25 Neil Booth <neil@daikokuya.demon.co.uk> |
12626 | ||
12627 | * Makefile.in (C_COMMON_H): Fix. | |
12628 | Update other targets. | |
12629 | * c-common.c: Don't include c-lex.h. | |
12630 | (builtin_define_with_value): Make static and prototype. | |
12631 | (builtin_define_std): Move from c-lex.h. | |
12632 | * c-common.h (init_c_lex): Move from c-lex.h. | |
12633 | * c-decl.c: Don't include c-lex.h. | |
12634 | (make_pointer_declarator): Move from c-parse.in. | |
12635 | * c-lex.c: Don't include c-lex.h. | |
12636 | * c-lex.h: Remove. | |
12637 | * c-parse.in: Don't include c-lex.h; include c-pragma.h. | |
12638 | (make_pointer_declarator): Move to c-decl.c. | |
12639 | * c-pragma.c: Don't include c-lex.h. | |
12640 | * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h. | |
12641 | * c-tree.h (make_pointer_declarator): New. | |
12642 | doc: | |
12643 | * passes.texi, tm.texi: Update. | |
12644 | objc: | |
12645 | * Make-lang.in: Update and correct. | |
12646 | * objc-act.c: Don't include c-lex.h or cpplib.h. | |
12647 | treelang: | |
12648 | * treetree.c: Don't include c-lex.h. | |
12649 | config: | |
12650 | * darwin-c.c: Don't include c-lex.h. | |
12651 | * c4x/c4x-c.c: Don't include c-lex.h. | |
12652 | * c4x/t-c4x: Update. | |
12653 | * i370/i370-c.c: Don't include c-lex.h. | |
12654 | * i370/t-i370: Update. | |
12655 | * i960/i960-c.c: Don't include c-lex.h. | |
12656 | * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h. | |
12657 | * i960/t-960bare: Update. | |
12658 | * i960/t-vxworks: Update. | |
12659 | * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h. | |
12660 | * rs6000/t-darwin: Update. | |
12661 | * rs6000/t-rs6000-c-rule: Update. | |
12662 | * v850/v850-c.c: Don't include c-lex.h. | |
12663 | * v850/v850.c: Don't include c-lex.h or cpplib.h. | |
12664 | ||
12665 | ||
04d2be8e KH |
12666 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
12667 | ||
12668 | * tree.def: Fix typos. | |
12669 | * doc/install.texi: Likewise. | |
12670 | ||
7b6e506e RH |
12671 | 2002-05-25 Richard Henderson <rth@redhat.com> |
12672 | ||
12673 | * configure.in (HAVE_AS_TLS): Add ia64 test. | |
12674 | * configure: Rebuild. | |
12675 | * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New. | |
12676 | (override_options): Set it. | |
12677 | (TARGET_HAVE_TLS): New. | |
12678 | (sdata_symbolic_operand): Look for 's'. | |
12679 | (tls_symbolic_operand): New. | |
12680 | (ia64_expand_load_address): Abort for tls symbols. | |
12681 | (gen_tls_get_addr): New. | |
12682 | (gen_thread_pointer): New. | |
12683 | (ia64_expand_move): Split out from movdi. Handle tls symbols. | |
12684 | (rtx_needs_barrier): Add new unspecs. | |
12685 | (ia64_encode_section_info): Handle tls symbols. | |
12686 | (ia64_strip_name_encoding): Strip two encoding chars. | |
12687 | * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New. | |
12688 | (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New. | |
12689 | (TARGET_OPTIONS): Add tls-size. | |
12690 | (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR. | |
12691 | * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL, | |
12692 | UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New. | |
12693 | (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move. | |
12694 | (movsf, movdf): Likewise. | |
12695 | (movdi_symbolic): Use match_scratch. Don't split if we won't | |
12696 | have a scratch availiable. | |
12697 | (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22, | |
12698 | add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel, | |
12699 | load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New. | |
12700 | * config/ia64/ia64-protos.h: Update. | |
12701 | * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use | |
12702 | sdata_symbolic_operand. | |
12703 | (ASM_OUTPUT_LABELREF): Strip two characters. | |
12704 | ||
8c1d52a3 KH |
12705 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
12706 | ||
12707 | * combine.c (simplify_set): Remove an unnecessary subreg. | |
12708 | ||
b47cae3d MM |
12709 | 2002-05-25 Marek Michalkiewicz <marekm@amelek.gda.pl> |
12710 | ||
12711 | * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL. | |
12712 | ||
12713 | * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New. | |
12714 | ||
ce9e3a6d GDR |
12715 | 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com> |
12716 | ||
12717 | * toplev.c (output_clean_symbol_name): Fix another thinko. Gosh. | |
12718 | ||
fb2c6841 RS |
12719 | 2002-05-25 Roger Sayle <roger@eyesopen.com> |
12720 | ||
12721 | * simplify-rtx.c (simplify_gen_relational): Simplify the RTX | |
12722 | (cond (compare x y) 0) into the equivalent (cond x y). | |
12723 | ||
da7ac8f1 GDR |
12724 | 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com> |
12725 | ||
12726 | * toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko. | |
12727 | ||
c7bdf0a6 ZW |
12728 | 2002-05-24 Zack Weinberg <zack@codesourcery.com> |
12729 | ||
12730 | * config.gcc: Remove all stanzas for previously obsoleted | |
12731 | systems. Where necessary, add explicit error stanzas to | |
12732 | prevent removed systems from being misidentified as something | |
12733 | else. Begin a fresh obsoletions list, with the systems that | |
12734 | were reprieved last round. | |
12735 | * doc/install.texi: Remove all mention of dead targets. | |
12736 | * fixinc/mkfixinc.sh: Likewise. | |
12737 | ||
12738 | * config/arm/arm.h: Bit 31 of target_flags is no longer | |
12739 | reserved. | |
12740 | ||
12741 | * config/1750a/1750a-protos.h, config/1750a/1750a.c, | |
12742 | config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc, | |
12743 | config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h, | |
12744 | config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare, | |
12745 | config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h, | |
12746 | config/alpha/osf12.h, config/alpha/osf2or3.h, | |
12747 | config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h, | |
12748 | config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix, | |
12749 | config/clipper/clipper-protos.h, config/clipper/clipper.c, | |
12750 | config/clipper/clipper.h, config/clipper/clipper.md, | |
12751 | config/clipper/clix.h, config/convex/convex-protos.h, | |
12752 | config/convex/convex.c, config/convex/convex.h, | |
12753 | config/convex/convex.md, config/convex/fixinc.convex, | |
12754 | config/convex/proto.h, config/elxsi/elxsi-protos.h, | |
12755 | config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md, | |
12756 | config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h, | |
12757 | config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h, | |
12758 | config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h, | |
12759 | config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm, | |
12760 | config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h, | |
12761 | config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h, | |
12762 | config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h, | |
12763 | config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h, | |
12764 | config/i386/t-dgux, config/i386/t-next, config/i386/t-osf, | |
12765 | config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h, | |
12766 | config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c, | |
12767 | config/i860/i860.h, config/i860/i860.md, config/i860/mach.h, | |
12768 | config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h, | |
12769 | config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h, | |
12770 | config/m68k/altos3068.h, config/m68k/apollo68.h, | |
12771 | config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm, | |
12772 | config/m68k/aux-crtn.asm, config/m68k/aux-exit.c, | |
12773 | config/m68k/aux-low.gld, config/m68k/aux-mcount.c, | |
12774 | config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h, | |
12775 | config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h, | |
12776 | config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h, | |
12777 | config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h, | |
12778 | config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h, | |
12779 | config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h, | |
12780 | config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h, | |
12781 | config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next, | |
12782 | config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld, | |
12783 | config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld, | |
12784 | config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h, | |
12785 | config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas, | |
12786 | config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas, | |
12787 | config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld, | |
12788 | config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h, | |
12789 | config/mips/dec-osf1.h, config/mips/elflorion.h, | |
12790 | config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h, | |
12791 | config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h, | |
12792 | config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h, | |
12793 | config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd, | |
12794 | config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas, | |
12795 | config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix, | |
12796 | config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c, | |
12797 | config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h, | |
12798 | config/ns32k/merlin.h, config/ns32k/pc532-mach.h, | |
12799 | config/ns32k/pc532-min.h, config/ns32k/pc532.h, | |
12800 | config/ns32k/sequent.h, config/ns32k/tek6000.h, | |
12801 | config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S, | |
12802 | config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c, | |
12803 | config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj, | |
12804 | config/sparc/rtems.h, config/we32k/we32k-protos.h, | |
12805 | config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md: | |
12806 | Delete file. | |
12807 | ||
755ac5d4 RH |
12808 | 2002-05-24 Richard Henderson <rth@redhat.com> |
12809 | ||
12810 | * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1. | |
12811 | * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC. | |
12812 | * config/i386/i386.c (tls_model_chars): Add leading space. | |
12813 | (tls_symbolic_operand): Don't bias by 1. | |
12814 | (legitimize_address): Don't unbias by 1. | |
12815 | ||
c429f12e TM |
12816 | 2002-05-24 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
12817 | ||
12818 | * lcm.c (optimize_mode_switching): Change bb used as indices | |
12819 | to bb->index. | |
12820 | ||
8beda321 RH |
12821 | 2002-05-24 Richard Henderson <rth@redhat.com> |
12822 | ||
12823 | * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead | |
12824 | of update_life_info_in_dirty_blocks. | |
12825 | ||
90442291 JJ |
12826 | 2002-05-24 Jakub Jelinek <jakub@redhat.com> |
12827 | ||
12828 | PR other/6782 | |
12829 | * final.c (get_mem_expr_from_op): Return 0 if op is NULL. | |
12830 | ||
3620711b NB |
12831 | 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk> |
12832 | ||
12833 | PR preprocessor/6780 | |
12834 | * cppmacro.c (enter_macro_context): Clear state.angled_headers. | |
12835 | ||
2f8d482e JB |
12836 | 2002-05-24 Jim Blandy <jimb@redhat.com> |
12837 | ||
12838 | * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final | |
12839 | entry with a type code of zero, marking the end of the compilation | |
12840 | unit's macro info. | |
12841 | ||
95bfe95f RH |
12842 | 2002-05-24 Richard Henderson <rth@redhat.com> |
12843 | ||
c7bdf0a6 ZW |
12844 | * varasm.c (asm_output_bss): Always output one byte. |
12845 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise. | |
95bfe95f | 12846 | |
7efda054 BM |
12847 | 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
12848 | ||
12849 | * tree.c (decl_type_context): Return NULL_TREE if decl's context is a | |
12850 | namespace. | |
12851 | ||
8a951190 AJ |
12852 | 2002-05-24 Andreas Jaeger <aj@suse.de> |
12853 | ||
12854 | * ggc-page.c (alloc_page): Cast variables of type size_t to | |
12855 | unsigned long, adjust printf format string. | |
12856 | (ggc_alloc): Likewise. | |
12857 | (ggc_print_statistics): Likewise. | |
12858 | (ggc_print_statistics): Correct printf format string for SCALE to | |
12859 | use unsigned long. | |
12860 | ||
f29e2ec0 DS |
12861 | 2002-05-24 Danny Smith <dannysmith@users.sourceforge.net> |
12862 | ||
12863 | * config/i386/mingw32.h (CPP_SPEC): Remove -remap. | |
12864 | ||
211a0cbe | 12865 | 2002-05-23 Gabriel Dos Reis <gdr@codesourcery.com> |
c7bdf0a6 | 12866 | Zack Weinberg <zack@codesourcery.com> |
211a0cbe GDR |
12867 | |
12868 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output | |
12869 | quoted strings. | |
12870 | * dwarf2out.c (lookup_filename): Properly quote filename in .file | |
8a951190 | 12871 | directive in assembly file. |
211a0cbe GDR |
12872 | * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. |
12873 | * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. | |
12874 | * config/pj/pj.h (ASM_FILE_START): Likewise. | |
12875 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. | |
12876 | * config/avr/avr.c (asm_file_end): Likewise. | |
12877 | * toplev.c (output_quoted_string): Handle possibly signed plain | |
8a951190 | 12878 | char. |
211a0cbe GDR |
12879 | * toplev.h (output_clean_symbol_name): Declare |
12880 | * toplev.c (output_clean_symbol_name): Define. | |
12881 | * config/alpha/alpha.c (unicosmk_output_module_name): Use it. | |
12882 | * config/1750a/1750a.h (ASM_FILE_START): Likewise. | |
12883 | ||
2f0552b6 AM |
12884 | 2002-05-24 Alan Modra <amodra@bigpond.net.au> |
12885 | ||
12886 | * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits. | |
12887 | ||
b326b2c1 VM |
12888 | 2002-05-23 Vladimir Makarov <vmakarov@redhat.com> |
12889 | ||
12890 | * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4 | |
12891 | of size of unsigned. | |
12892 | ||
f996902d RH |
12893 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12894 | ||
12895 | * configure.in (HAVE_AS_TLS): New test. | |
12896 | * config.in, configure: Rebuild. | |
12897 | * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS. | |
12898 | (ix86_tls_dialect_string, ix86_tls_dialect): New. | |
12899 | (override_options): Set it. | |
12900 | (tls_model_chars, tls_symbolic_operand): New. | |
12901 | (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New. | |
12902 | (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New. | |
12903 | (local_exec_symbolic_operand): New. | |
12904 | (get_pic_label_name): Merge into output_set_got. | |
12905 | (ix86_asm_file_end): Emit pic_label_name if defined. | |
12906 | (legitimate_constant_p, constant_address_p): New. | |
12907 | (legitimate_pic_operand_p): New. | |
12908 | (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF. | |
12909 | (legitimate_address_p): Likewise. | |
12910 | (ix86_encode_section_info): Rename from i386_; handle tls decls. | |
12911 | (ix86_strip_name_encoding): New. | |
12912 | (get_thread_pointer): New. | |
12913 | (legitimize_address): Handle tls symbols. | |
12914 | (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF. | |
12915 | Remove UNSPEC_PLT. | |
12916 | (struct machine_function): Add some_ld_name. | |
12917 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it. | |
12918 | (print_operand) [&]: Use it. Handle UNSPEC_TP. | |
12919 | (output_addr_const_extra): New. | |
12920 | (maybe_get_pool_constant): New. | |
12921 | (ix86_split_to_parts): Use it. | |
12922 | (ix86_expand_move): Handle tls symbols. | |
12923 | (ix86_tls_get_addr): New. | |
12924 | * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New. | |
12925 | (TARGET_OPTIONS): Add tls-dialect. | |
12926 | (CONSTANT_ADDRESS_P): Use new out-of-line function. | |
12927 | (LEGITIMATE_CONSTANT_P): Likewise. | |
12928 | (LEGITIMATE_PIC_OPERAND_P): Likewise. | |
12929 | (TARGET_STRIP_NAME_ENCODING): New. | |
12930 | (ASM_OUTPUT_LABELREF): New. | |
12931 | (PRINT_OPERAND_PUNCT_VALID_P): Add '&'. | |
12932 | (OUTPUT_ADDR_CONST_EXTRA): New. | |
12933 | (PREDICATE_CODES): Update. | |
12934 | (ix86_tls_dialect, ix86_tls_dialect_string): New. | |
12935 | * config/i386/i386.md: Regroup and renumber unspec constants. | |
12936 | (tls_global_dynamic_gnu, tls_global_dynamic_sun): New. | |
12937 | (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New. | |
12938 | (tls_global_dynamic, tls_local_dynamic_base): New. | |
12939 | (tls_local_dynamic_once): New. | |
12940 | * config/i386/i386-protos.h: Update. | |
12941 | ||
821e35ba RH |
12942 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12943 | ||
12944 | * genemit.c (gen_insn): Print file:lineno comment before function. | |
12945 | (main): likewise. | |
12946 | * gensupport.c (struct queue_elem): Add filename member. | |
12947 | (queue_pattern): Initialize it; update all callers. | |
12948 | (process_include): Don't free filename. | |
12949 | (read_md_rtx): Set read_rtx_filename. | |
12950 | ||
0f1ffa23 | 12951 | 2002-05-23 Hans Boehm <Hans_Boehm@hp.com> |
821e35ba RH |
12952 | |
12953 | * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages. | |
0f1ffa23 | 12954 | |
8e9fadc3 RH |
12955 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12956 | ||
12957 | * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case. | |
12958 | ||
244c2241 RH |
12959 | 2002-05-23 Richard Henderson <rth@redhat.com> |
12960 | ||
12961 | * doc/extend.texi (C++98 Thread-Local Edits): Update with | |
12962 | commentary from Mark. | |
12963 | ||
e0082a72 ZD |
12964 | 2002-05-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12965 | ||
12966 | * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): | |
12967 | Use FOR_EACH_BB macros to iterate over basic block chain. | |
12968 | * cfg.c (clear_edges, clear_bb_flags, dump_flow_info, | |
12969 | alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges): | |
12970 | Likewise. | |
12971 | * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add, | |
12972 | find_unreachable_blocks, create_edge_list, verify_edge_list, | |
12973 | remove_fake_edges, add_noreturn_fake_exit_edges, | |
12974 | flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute): | |
12975 | Likewise. | |
12976 | * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks, | |
12977 | find_sub_basic_blocks): Likewise. | |
12978 | * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks): | |
12979 | Likewise. | |
12980 | * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps): | |
12981 | Likewise. | |
12982 | * cfgloop.c (flow_loops_cfg_dump, flow_loops_find): | |
12983 | Likewise. | |
12984 | * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges, | |
12985 | commit_edge_insertions, commit_edge_insertions_watch_calls, | |
12986 | print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise. | |
12987 | * combine.c (combine_instructions, reg_dead_at_p): Likewise. | |
12988 | * conflict.c (conflict_graph_compute): Likewise. | |
12989 | * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1, | |
12990 | df_modified_p, df_refs_unlink, df_dump): Likewise. | |
12991 | * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise. | |
12992 | * final.c (compute_alignments): Likewise. | |
12993 | * flow.c (update_life_info, update_life_info_in_dirty_blocks, | |
12994 | delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data, | |
12995 | count_or_remove_death_notes): Likewise. | |
12996 | * gcse.c (oprs_unchanged_p, record_last_reg_set_info, | |
12997 | compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill, | |
12998 | classic_gcse, compute_transp, cprop, compute_pre_data, | |
12999 | compute_transpout, invalidate_nonnull_info, | |
13000 | delete_null_pointer_checks_1, delete_null_pointer_checks, | |
13001 | compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems, | |
13002 | compute_store_table, build_store_vectors, store_motion): Likewise. | |
13003 | * global.c (global_conflicts, mark_elimination): Likewise. | |
13004 | * graph.c (print_rtl_graph_with_bb): Likewise. | |
13005 | * haifa-sched.c (sched_init): Likewise. | |
13006 | * ifcvt.c (if_convert): Likewise. | |
13007 | * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete, | |
13008 | compute_available, compute_nearerout, compute_rev_insert_delete, | |
13009 | optimize_mode_switching): Likewise. | |
13010 | * local-alloc.c (local_alloc, update_equiv_regs): Likewise. | |
13011 | * predict.c (estimate_probability, note_prediction_to_br_prob, | |
13012 | propagate_freq, counts_to_freqs, expensive_function_p, | |
13013 | estimate_bb_frequencies): Likewise. | |
13014 | * profile.c (instrument_edges, get_exec_counts, | |
13015 | compute_branch_probabilities, compute_checksum, branch_prob, | |
13016 | find_spanning_tree): Likewise. | |
13017 | * recog.c (split_all_insns, peephole2_optimize): Likewise. | |
13018 | * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs): | |
13019 | Likewise. | |
13020 | * regclass.c (scan_one_insn, regclass): Likewise. | |
13021 | * regmove.c (mark_flags_life_zones, regmove_optimize, | |
13022 | record_stack_memrefs): Likewise. | |
13023 | * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise. | |
13024 | * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise. | |
13025 | * resource.c (find_basic_block): Likewise. | |
13026 | * sched-ebb.c (schedule_ebbs): Likewise. | |
13027 | * sched-rgn.c (is_cfg_nonregular, build_control_flow, | |
13028 | find_single_block_region, find_rgns, schedule_insns) | |
13029 | * sibcall.c (optimize_sibling_and_tail_recursive_call) | |
13030 | * ssa-ccp.c (optimize_unexecutable_edges, | |
13031 | ssa_ccp_df_delete_unreachable_insns): Likewise. | |
13032 | * ssa-dce.c (ssa_eliminate_dead_code): Likewise. | |
13033 | * ssa.c (find_evaluations, compute_dominance_frontiers_1, | |
13034 | rename_block, convert_to_ssa, compute_conservative_reg_partition, | |
13035 | compute_coalesced_reg_partition, rename_equivalent_regs, | |
13036 | convert_from_ssa): Likewise. | |
13037 | * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue, | |
13038 | process_for_unwind_directive): Likewise. | |
13039 | ||
13040 | * df.c (FOR_ALL_BBS): Removed. | |
13041 | * gcse.c (struct null_pointer_info): Type of current_block field | |
13042 | changed. | |
13043 | (struct reg_avail_info): Type of last_bb field changed. | |
13044 | * config/ia64/ia64.c (block_num): Removed. | |
13045 | (need_copy_state): Type changed. | |
13046 | (last_block): New. | |
13047 | ||
17645b15 NB |
13048 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
13049 | ||
13050 | * cppinit.c (mark_named_operators): Split out from init_builtins. | |
13051 | (cpp_finish_options): Call it from here instead. | |
13052 | ||
79ed7328 JT |
13053 | 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com> |
13054 | ||
13055 | * builtin-attrs.def: Update copyright years. | |
13056 | (ATTR_NONNULL): New attribute identifier. | |
13057 | (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New | |
13058 | attribute tree lists. | |
13059 | (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the | |
13060 | format operand. | |
13061 | (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use... | |
13062 | (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg | |
13063 | attribute lists. Chain the appropriate nonnull attribute. | |
13064 | * c-format.c (check_format_arg): Remove null format string | |
13065 | warning. | |
13066 | * testsuite/gcc.dg/format/null-1.c: New test. | |
13067 | ||
7d600178 RO |
13068 | 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
13069 | ||
13070 | * Makefile.in (ADAC): Define. | |
13071 | (SYSLIBS): Define. | |
13072 | (.SUFFIXES): Move before language makefile fragments. | |
13073 | (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC. | |
13074 | ||
5ff225fc MM |
13075 | 2002-05-23 Mark Mitchell <mark@codesourcery.com> |
13076 | ||
13077 | * varasm.c (make_decl_rtl): Don't allow weak variables to be | |
13078 | placed in common. | |
13079 | ||
0f72964f JH |
13080 | Thu May 23 19:43:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
13081 | ||
13082 | * cfg.c (dump_flow_info): Print results of | |
13083 | maybe_hot/probably_never_executed predicates. | |
13084 | * toplev.c (open_dump_file): Print function frequency. | |
13085 | ||
c863f8c2 DM |
13086 | 2002-05-23 David S. Miller <davem@redhat.com> |
13087 | ||
13088 | * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use | |
13089 | regsets. | |
13090 | ||
b34c7881 JT |
13091 | 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com> |
13092 | ||
13093 | * c-common.c (warn_nonnull): Declare. | |
13094 | (c_common_attribute_table): Add "nonnull" attribute. | |
13095 | (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p, | |
13096 | check_nonnull_arg, get_nonnull_operand, check_function_arguments, | |
13097 | check_function_arguments_recurse): New functions. | |
13098 | * c-common.h (warn_nonnull): Declare extern. | |
13099 | (check_function_arguments, check_function_arguments_recurse): New | |
13100 | prototypes. | |
13101 | * c-decl.c (c_decode_option): Add -Wnonnull option. | |
13102 | * c-format.c (set_Wformat): Set warn_nonnull if enabling | |
13103 | format checking. | |
13104 | (format_check_context): New structure. | |
13105 | (check_format_info_recurse): Remove recursion and rename to... | |
13106 | (check_format_arg): ...this. Update comment. | |
13107 | (check_format_info): Use check_function_arguments_recurse. | |
13108 | * c-typeck.c (build_function_call): Call check_function_arguments | |
13109 | instead of check_function_format. | |
13110 | * doc/extend.texi: Document "nonnull" attribute. | |
13111 | * doc/invoke.texi: Docuemnt -Wnonnull option. | |
13112 | * testsuite/gcc.dg/nonnull-1.c: New test. | |
13113 | * testsuite/gcc.dg/nonnull-2.c: New test. | |
13114 | ||
95479831 DM |
13115 | 2002-05-23 David S. Miller <davem@redhat.com> |
13116 | ||
13117 | * basic-block.h (CLEANUP_NO_INSN_DEL): Define it. | |
13118 | * cfgcleanup.c (cleanup_cfg): If it is set do not | |
13119 | attempt to delete trivially dead insns. | |
13120 | * except.c (finish_eh_generation): Pass it to cleanup_cfg. | |
13121 | * toplev.c (rest_of_compilation): Document non-trivial aspect | |
13122 | the RTL before optimize_save_area_alloca is run. | |
13123 | ||
a97d1398 NB |
13124 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
13125 | ||
13126 | * c-lex.c (indent_level): Remove. | |
13127 | (cb_file_change, c_lex): Remove indent level handling. | |
13128 | * c-lex.h (indent_level): Remove. | |
13129 | * input.h (struct file_stack): Remove indent_level. | |
13130 | * toplev.c (push_srcloc): Remove indent_level handling. | |
13131 | ||
66b408f2 JJ |
13132 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
13133 | ||
13134 | PR target/6753 | |
13135 | * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead | |
13136 | of x in constraints for clarity. | |
13137 | (sse_mov?fcc split): abort if op2 == op3. | |
13138 | (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3, | |
13139 | sse_movsfcc_const0_4): Add earlyclobber. | |
13140 | (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3, | |
13141 | sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode. | |
13142 | Use Y instead of x in constraints. | |
13143 | ||
5bf0ebab RH |
13144 | 2002-05-23 Richard Henderson <rth@redhat.com> |
13145 | ||
9217ef40 RH |
13146 | * doc/extend.texi (C99 Thread-Local Edits): New subsection. |
13147 | (C++98 Thread-Local Edits): New subsection. | |
13148 | ||
5bf0ebab RH |
13149 | * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace. |
13150 | (ix86_arch): Set type to enum processor_type. | |
13151 | ||
8a951190 | 13152 | * config/i386/i386.md (movsi_1, movdi_1_rex64): Use |
5bf0ebab RH |
13153 | LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST. |
13154 | ||
4832c9e1 JJ |
13155 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
13156 | ||
13157 | * configure.in: Fix as version test for binutils 2.12.1 releases | |
13158 | (without dates). | |
13159 | * configure: Rebuilt. | |
13160 | ||
c8c03509 RH |
13161 | 2002-05-23 Richard Henderson <rth@redhat.com> |
13162 | ||
13163 | * config/i386/i386.c (get_pic_label_name): New. | |
13164 | (load_pic_register): Remove. | |
13165 | (output_set_got): New. | |
13166 | (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD. | |
13167 | * config/i386/i386.md (UNSPEC_SET_GOT): New. | |
13168 | (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove. | |
13169 | (prologue_set_got, prologue_get_pc): Remove. | |
13170 | (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New. | |
13171 | (builtin_setjmp_receiver): Use gen_set_got. | |
13172 | * config/i386/i386-protos.h: Update. | |
13173 | ||
d51f3632 JH |
13174 | Thu May 23 09:22:23 CEST 2002 Jan Hubicka <jh@suse.cz> |
13175 | ||
13176 | * gcse.c (hash_expr): Do not use alias set for hashing. | |
13177 | ||
b0a93386 KB |
13178 | 2002-05-22 Kevin Buettner <kevinb@redhat.com> |
13179 | ||
13180 | * dbxout.c (dbxout_class_name_qualifiers): New function. | |
13181 | (dbxout_symbol): Output class/struct qualifiers for a .stabs entry. | |
13182 | ||
bdee42b1 NB |
13183 | 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk> |
13184 | ||
13185 | * cpperror.c (_cpp_begin_message): No special casing | |
13186 | of CPP_FATAL_LIMIT. | |
13187 | * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/. | |
13188 | (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR. | |
13189 | * cpplib.c (do_include_common): Use DL_ERROR. | |
13190 | * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove. | |
13191 | (DL_ICE): Renumber. | |
13192 | * fix-header.c (read_scan_file): Update. | |
13193 | ||
0e07aff3 RH |
13194 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13195 | ||
13196 | * config/i386/i386.c (ix86_expand_call): New function, extracted | |
13197 | from md call patterns. Add pic_offset_table_rtx to | |
13198 | CALL_INSN_FUNCTION_USAGE when needed. | |
13199 | * config/i386/i386.md (call_pop, call): Use ix86_expand_call. | |
13200 | (call_value_pop, call_value, untyped_call): Likewise. | |
13201 | (call_exp, call_value_exp): Remove. | |
13202 | * config/i386/i386-protos.h: Update. | |
13203 | ||
6f001fdf RH |
13204 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13205 | ||
13206 | * varasm.c (default_section_type_flags): Check for VAR_DECL | |
13207 | before using DECL_THREAD_LOCAL. | |
13208 | ||
cbaaba19 DE |
13209 | 2002-05-22 David Edelsohn <edelsohn@gnu.org> |
13210 | ||
13211 | * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer. | |
13212 | (STARTFILE_SPEC): Delete PE crt0.o. | |
13213 | * config/rs6000/aix51.h: Same. | |
13214 | * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF. | |
13215 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to | |
13216 | function descriptor symbol. Use RS6000_OUTPUT_BASENAME. | |
13217 | (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME. | |
13218 | * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define. | |
13219 | ||
c711ba8e RH |
13220 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13221 | ||
13222 | * varasm.c (default_section_type_flags): Handle tls data and | |
13223 | default sections. | |
13224 | (default_unique_section): Handle tls sections. | |
13225 | ||
343f59d9 AM |
13226 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
13227 | ||
13228 | * configure.in (CROSS): Define NATIVE_CROSS. | |
13229 | * configure: Regenerate. | |
13230 | * gcc.c (STARTFILE_PREFIX_SPEC): Define. | |
13231 | (startfile_prefix_spec): New var. | |
13232 | (static_specs): Add startfile_prefix_spec. | |
13233 | (do_spec_2): Split out from.. | |
13234 | (do_spec): ..here. | |
13235 | (main): Process startfile_prefix_spec. | |
13236 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of | |
13237 | dynamic linker. | |
13238 | (STARTFILE_PREFIX_SPEC): Define. | |
13239 | (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without | |
c7bdf0a6 | 13240 | absolute paths. |
343f59d9 | 13241 | |
df383483 KH |
13242 | 2002-05-22 Kazu Hirata <kazu@cs.umass.edu> |
13243 | ||
13244 | * cpperror.c: Fix formatting. | |
13245 | * cppexp.c: Likewise. | |
13246 | * cppfiles.c: Likewise. | |
13247 | * cpphash.c: Likewise. | |
13248 | * cpphash.h: Likewise. | |
13249 | * cppinit.c: Likewise. | |
13250 | * cpplex.c: Likewise. | |
13251 | * cpplib.c: Likewise. | |
13252 | * cppmacro.c: Likewise. | |
13253 | * cppmain.c: Likewise. | |
13254 | * cppspec.c: Likewise. | |
13255 | ||
2dd36f90 JJ |
13256 | 2002-05-22 Jakub Jelinek <jakub@redhat.com> |
13257 | ||
13258 | * combine.c (force_to_mode): Use gen_int_mode. | |
13259 | Don't clear CONST_INT bits outside of mode. | |
13260 | ||
8dc02d7f RH |
13261 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13262 | ||
13263 | * fixinc/inclhack.def (thread_keyword): Match __thread as last arg. | |
13264 | * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. | |
13265 | ||
45f79783 JJ |
13266 | 2002-05-22 Jakub Jelinek <jakub@redhat.com> |
13267 | ||
13268 | PR c/6643 | |
13269 | * emit-rtl.c (widen_memory_access): Only call compare_tree_int | |
13270 | if DECL_SIZE_UNIT is INTEGER_CST. | |
13271 | ||
19f71cd7 RH |
13272 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13273 | ||
13274 | * flow.c (life_analysis): Delete broken reg_label check. | |
13275 | ||
d5bcfcce RH |
13276 | 2002-05-22 Richard Henderson <rth@redhat.com> |
13277 | ||
13278 | * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg. | |
13279 | * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. | |
13280 | ||
985d311b | 13281 | Wed May 22 18:39:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
5ff94354 R |
13282 | |
13283 | * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c. | |
13284 | (embed-bb.c): New rule. | |
985d311b | 13285 | * t-sh64 (LIB2FUNCS_EXTRA): Don't change. |
5ff94354 R |
13286 | * config/sh/embed_bb.c: Delete. |
13287 | ||
985d311b R |
13288 | Wed May 22 18:25:29 2002 J"orn Rennecke <joern.rennecke@superh.com> |
13289 | ||
13290 | * c-common.c (cb_register_builtins): Don't indent '#' of #define. | |
13291 | ||
f6d45746 KH |
13292 | 2002-05-22 Kazu Hirata <kazu@cs.umass.edu> |
13293 | ||
13294 | * config/h8300/h8300.md (*andorqi3): New. | |
13295 | ||
e5f3b786 NB |
13296 | 2002-05-22 Neil Booth <neil@daikokuya.demon.co.uk> |
13297 | ||
13298 | PR preprocessor/6517 | |
13299 | * Makefile.in: Update. | |
13300 | * c-common.c (c_common_post_options): Add preprocessor | |
13301 | errors to the error count. | |
13302 | * c-lang.c (c_post_options): Kill. | |
13303 | (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. | |
13304 | * hooks.h: Add header guards. | |
13305 | * langhooks-def.h: Include hooks.h. | |
13306 | (LANG_HOOKS_POST_OPTIONS): Update. | |
13307 | * langhooks.h (struct lang_hooks): Update post_options. | |
13308 | * toplev.c (parse_options_and_default_flags): Update. | |
13309 | objc: | |
13310 | * objc-lang.c (objc_post_options): Kill. | |
13311 | (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. | |
13312 | ||
4c526be3 BK |
13313 | 2002-05-21 Bruce Korb <bkorb@gnu.org> |
13314 | ||
13315 | * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check | |
021c1f34 BK |
13316 | * fixinc/inclhack.def(thread_keyword): use c_fix = format. |
13317 | * fixinc/fixincl.x: regen. | |
4c526be3 | 13318 | |
f87c27b4 KH |
13319 | 2002-05-21 Kazu Hirata <kazu@cs.umass.edu> |
13320 | ||
13321 | * cfgbuild.c: Fix formatting. | |
13322 | * cfg.c: Likewise. | |
13323 | * cfgcleanup.c: Likewise. | |
13324 | * cfglayout.c: Likewise. | |
13325 | * cfgloop.c: Likewise. | |
13326 | * cfgrtl.c: Likewise. | |
13327 | ||
3d78f2e9 RH |
13328 | 2002-05-21 Richard Henderson <rth@redhat.com> |
13329 | ||
13330 | * c-common.h (enum rid): Add RID_THREAD. | |
13331 | * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables. | |
13332 | (grokdeclarator): Grok __thread. | |
13333 | * c-parse.in (reswords): Add __thread. | |
13334 | (rid_to_yy): Add RID_THREAD. | |
13335 | ||
13336 | * tree.h (DECL_THREAD_LOCAL): New. | |
13337 | (struct tree_decl): Add thread_local_flag. | |
13338 | * print-tree.c (print_node): Dump DECL_THREAD_LOCAL. | |
13339 | * tree.c (staticp): TLS variables are not static. | |
13340 | ||
13341 | * target-def.h (TARGET_HAVE_TLS): New. | |
13342 | * target.h (have_tls): New. | |
13343 | * output.h (SECTION_TLS): New. | |
13344 | * varasm.c (assemble_variable): TLS variables can't be common for now. | |
13345 | (default_section_type_flags): Handle .tdata and .tbss. | |
13346 | (default_elf_asm_named_section): Handle SECTION_TLS. | |
13347 | (categorize_decl_for_section): Handle DECL_THREAD_LOCAL. | |
13348 | ||
13349 | * flags.h (flag_tls_default): Declare. | |
13350 | * toplev.c (flag_tls_default): Define. | |
13351 | (display_help): Display help for it. | |
13352 | (decode_f_option): Set it. | |
13353 | ||
13354 | * doc/extend.texi (Thread-Local): New node describing language-level | |
13355 | thread-local storage. | |
13356 | * doc/invoke.texi (-ftls-model): Document. | |
13357 | ||
13358 | * fixinc/inclhack.def (thread_keyword): New. | |
13359 | * fixinc/fixincl.x: Rebuild. | |
13360 | ||
a151daf0 JL |
13361 | 2002-05-21 Jeffrey A Law <law@redhat.com> |
13362 | ||
8a951190 | 13363 | * optabs.c (expand_binop): For double-word integer multiplies, |
c7539aa0 JL |
13364 | do not compute intermediate results into something that is |
13365 | not a register (such as a SUBREG or MEM). | |
13366 | ||
a151daf0 JL |
13367 | * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko. |
13368 | (ix86_sched_reorder): Make sure to initialize scheduling | |
13369 | data even when there's only one insn in the ready queue. | |
13370 | ||
96b1f73b VM |
13371 | 2002-05-21 Vladimir Makarov <vmakarov@redhat.com> |
13372 | ||
13373 | * genautomata.c (reserv_sets_hash_value): Fix a typo. | |
13374 | ||
dceb2b75 VM |
13375 | 2002-05-21 Vladimir Makarov <vmakarov@redhat.com> |
13376 | ||
13377 | * genautomata.c (reserv_sets_hash_value): Define hash_value as | |
13378 | set_el_t. Transform the hash value into unsigned. | |
13379 | (output_cycle_reservs): Fix bug with output of repeated `nothing'. | |
13380 | (transform_3): Add code to process `(A,B)+(D,E)'. | |
13381 | ||
159d5964 NY |
13382 | 2002-05-21 NIIBE Yutaka <gniibe@m17n.org> |
13383 | ||
13384 | * reload1.c (do_output_reload): Run delete_output_reload | |
13385 | only if optimizing. | |
13386 | ||
cf5124f6 RS |
13387 | 2002-05-21 Roger Sayle <roger@eyesopen.com> |
13388 | ||
13389 | PR middle-end/6600 | |
13390 | * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants | |
13391 | larger than INTEGER_CST. (store_by_pieces_1): Use it here... | |
13392 | (can_store_by_pieces): ... and here to limit the largest mode used. | |
13393 | Add a comment to document this function. | |
13394 | ||
380e6ade RH |
13395 | 2002-05-21 Richard Henderson <rth@redhat.com> |
13396 | ||
13397 | * flow.c (life_analysis): Fix test for deleted label. | |
13398 | ||
1f95326c NB |
13399 | 2002-05-21 Neil Booth <neil@daikokuya.demon.co.uk> |
13400 | ||
13401 | * doc/tm.texi: Fix typo. | |
13402 | ||
2a1dc0d8 ZW |
13403 | 2002-05-21 Zack Weinberg <zack@codesourcery.com> |
13404 | ||
13405 | * c-common.c (c_common_init): Set options->unsigned_char from | |
13406 | flag_signed_char. | |
13407 | (cb_register_builtins): Define __STRICT_ANSI__ and | |
13408 | __CHAR_UNSIGNED__ here... | |
13409 | * cppinit.c (init_builtins): Not here. | |
13410 | (cpp_create_reader): unsigned_char option defaults to 0, not | |
13411 | !DEFAULT_SIGNED_CHAR. | |
13412 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char | |
13413 | and -funsigned-char. | |
13414 | ||
13415 | * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__. | |
13416 | * cpphash.c (_cpp_init_hashtable): Don't set it. | |
13417 | * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting | |
13418 | directly. Clarify comment. | |
13419 | ||
d29146f2 | 13420 | 2002-05-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2a1dc0d8 | 13421 | |
f5eb2fc8 | 13422 | * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to |
8d9afc4e | 13423 | neighboring basic blocks. Use ENTRY_BLOCK_PTR->next_bb instead of |
f5eb2fc8 ZD |
13424 | BASIC_BLOCK (0). Use EXIT_BLOCK_PTR->prev_bb instead of |
13425 | BASIC_BLOCK (n_basic_blocks - 1). | |
d29146f2 | 13426 | * cfganal.c (can_fallthru, flow_call_edges_add, |
f5eb2fc8 | 13427 | flow_preorder_transversal_compute): Too. |
d29146f2 | 13428 | * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks, |
f5eb2fc8 ZD |
13429 | find_sub_basic_blocks): Too. |
13430 | * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too. | |
d29146f2 | 13431 | * cfglayout.c (skip_insns_after_block, fixup_reorder_chain, |
f5eb2fc8 ZD |
13432 | fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too. |
13433 | * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too. | |
d29146f2 ZD |
13434 | * combine.c (this_basic_block): Type changed to basic_block. |
13435 | (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine, | |
13436 | nonzero_bits, num_sign_bit_copies, get_last_value_validate, | |
f5eb2fc8 ZD |
13437 | get_last_value, distribute_notes, distribute_links): Too. |
13438 | * final.c (compute_alignments): Too. | |
13439 | * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too. | |
13440 | * function.c (thread_prologue_and_epilogue_insns): Too. | |
13441 | * gcse.c (compute_code_hoist_vbeinout): Too. | |
13442 | * global.c (build_insn_chain): Too. | |
13443 | * ifcvt.c (find_if_block, find_cond_trap): Too. | |
13444 | * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too. | |
13445 | * regmove.c (regmove_optimize): Too. | |
13446 | * resource.c (find_basic_block): Too. | |
13447 | * sched-ebb.c (schedule_ebbs): Too. | |
13448 | * ssa-dce.c (find_control_dependence, find_pdom): Too. | |
d29146f2 | 13449 | |
68bd6dd6 AJ |
13450 | 2002-05-21 Andreas Jaeger <aj@suse.de> |
13451 | ||
13452 | * cppinit.c (sanity_checks): Avoid printf mismatch warnings. | |
13453 | ||
35a76aac RH |
13454 | 2002-05-21 Richard Henderson <rth@redhat.com> |
13455 | ||
13456 | * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use | |
13457 | unspec names, not numbers. | |
13458 | ||
2870428f JM |
13459 | 2002-05-21 Joseph S. Myers <jsm28@cam.ac.uk> |
13460 | ||
13461 | * doc/sourcebuild.texi: Mention snapshot-README and | |
13462 | snapshot-index.html as needing updating for new front ends. | |
13463 | ||
b0ad77d5 KG |
13464 | 2002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
13465 | ||
13466 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when | |
13467 | disabling checking, and avoid multiple evaluation of RTX. | |
13468 | ||
279be7c8 RE |
13469 | 2002-05-21 Richard Earnshaw <rearnsha@arm.com> |
13470 | ||
13471 | * bitmap.c (bitmap_find_bit): Return early if we have the correct | |
13472 | element cached. | |
13473 | ||
193a563a JH |
13474 | Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
13475 | ||
13476 | * profile.c (gen_edge_profiler): Set alias set before the memory is | |
13477 | used. | |
13478 | ||
31825e57 DM |
13479 | 2002-05-20 David S. Miller <davem@redhat.com> |
13480 | ||
13481 | * cselib.c (max_value_regs): New. | |
13482 | (cselib_lookup, cselib_invalidate_regno): Initialize it when | |
13483 | adding new entries to the REG_VALUES table and we are dealing with | |
13484 | a hard register. | |
13485 | (clear_table): Initialize it. | |
13486 | (cselib_invalidate_regno): Use it to determine which hard | |
13487 | registers to scan when mode is not VOIDmode. | |
13488 | ||
68bd6dd6 | 13489 | 2002-05-20 Duraid Madina <duraid@fl.net.au> |
29d83d60 DM |
13490 | |
13491 | * tradcpp.c (fixup_newlines): Use old-style function header. | |
13492 | ||
e0a09fda KW |
13493 | 2002-05-20 Krister Walfridsson <cato@df.lth.se> |
13494 | ||
13495 | * reload1.c (reload_cse_simplify): Fix typo in rtx code check. | |
13496 | ||
e0c13c70 L |
13497 | 2002-05-20 H.J. Lu (hjl@gnu.org) |
13498 | ||
13499 | Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>: | |
13500 | ||
13501 | * config/mips/mips.h (DFMODE_NAN): Defined. | |
13502 | (SFMODE_NAN): Likewise. | |
13503 | ||
4c11675d | 13504 | 2002-05-20 Dale Johannesen <dalej@apple.com> |
e0c13c70 | 13505 | |
2a1dc0d8 ZW |
13506 | * combine.c (cant_combine_insn_p): Back out my |
13507 | previous patch. | |
4c11675d | 13508 | |
6a4d6760 KH |
13509 | 2002-05-20 Kazu Hirata <kazu@cs.umass.edu> |
13510 | ||
13511 | * params.c: Fix formatting. | |
13512 | * params.h: Likewise. | |
13513 | * predict.c: Likewise. | |
13514 | * prefix.c: Likewise. | |
13515 | * print-rtl.c: Likewise. | |
13516 | * print-tree.c: Likewise. | |
13517 | * profile.c: Likewise. | |
13518 | ||
5715ca64 L |
13519 | 2002-05-20 H.J. Lu (hjl@gnu.org) |
13520 | ||
13521 | * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine. | |
13522 | ||
00b89f01 NC |
13523 | 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com> |
13524 | ||
13525 | * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march | |
13526 | switches straight on to the assembler, do not abbreviate them. | |
13527 | * config/arm/elf.h (ASM_SPEC): As above. | |
13528 | * config/arm/semi.h (ASM_SPEC): As above. | |
13529 | * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above. | |
13530 | * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass | |
13531 | -mcpu=xscale on to the assembler by default. | |
13532 | * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above. | |
13533 | ||
1441374b RH |
13534 | 2002-05-20 Richard Henderson <rth@redhat.com> |
13535 | ||
13536 | * cse.c (canon_hash): Reorder do_not_record test. Always | |
13537 | allow pic_offset_table_rtx. | |
13538 | ||
c0fe508e TM |
13539 | 2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl> |
13540 | ||
13541 | * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p. | |
13542 | (expand_binop): Ditto (3 times). | |
13543 | ||
f362c762 MM |
13544 | 2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com> |
13545 | ||
13546 | * Makefile.in (distclean): Remove QMTest stuff. | |
13547 | (QMTEST_PATH): New variable. | |
13548 | (QMTESTFLAGS): Likewise. | |
13549 | (QMTESTRUNFLAGS): Likewise. | |
13550 | (QMTEST): Likewise. | |
13551 | (QMTEST_GPP_TESTS): Likewise. | |
13552 | (QMTEST_DIR): Likewise. | |
13553 | (QMTEST_DIR/context): New target. | |
13554 | (qmtest-g++): Likeise. | |
13555 | (qmtest-gui): Likewise. | |
13556 | (QMTEST_DIR/gpp-expected.qmr): Likewise. | |
13557 | ||
16861f33 AH |
13558 | 2002-05-19 Aldy Hernandez <aldyh@redhat.com> |
13559 | ||
2a1dc0d8 ZW |
13560 | * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in |
13561 | an altivec register if TARGET_ALTIVEC. | |
16861f33 | 13562 | |
2a1dc0d8 ZW |
13563 | * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P |
13564 | to ALTIVEC_VECTOR_MODE. | |
13565 | (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned. | |
13566 | (rs6000_va_arg): Vectors may go in registers if they are not | |
13567 | altivec vectors. | |
16861f33 | 13568 | |
23459e15 KH |
13569 | 2002-05-19 Kazu Hirata <kazu@cs.umass.edu> |
13570 | ||
13571 | * protoize.c: Fix formatting. | |
13572 | ||
174cc7d1 RH |
13573 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13574 | ||
13575 | * gensupport.c (init_include_reader): Merge into ... | |
13576 | (process_include): ... here. Simplify composite path creation. | |
13577 | Plug memory leaks. Fix file/line number tracking. Do not | |
13578 | process_define_cond_exec. Return void. | |
13579 | (process_rtx): Don't check process_include return value. | |
13580 | ||
918ed612 ZD |
13581 | 2002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13582 | ||
13583 | * basic_block.h (struct basic_block_def): Added prev_bb and next_bb | |
13584 | fields. | |
13585 | (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for | |
13586 | traversing basic block chain. | |
13587 | (create_basic_block_structure, create_basic_block): Declaration changed. | |
13588 | (link_block, unlink_block): Declare. | |
13589 | * cfg.c (entry_exit_blocks): Initialize new fields. | |
13590 | (link_block, unlink_block): New. | |
13591 | (expunge_block_nocompact): Unlink basic block. | |
13592 | (dump_flow_info): Print prev_bb/next_bb fields. | |
13593 | * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified. | |
13594 | * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified. | |
13595 | * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified. | |
13596 | * cfgrtl.c (create_basic_block_structure, create_basic_block, | |
13597 | split_block, force_nonfallthru_and_redirect, split_edge): Modified. | |
13598 | (verify_flow_info): Check that list agrees with numbering. | |
13599 | ||
e0322d5c NB |
13600 | 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk> |
13601 | ||
13602 | * c-common.c (preprocessing_asm): New macro. | |
13603 | * c-lex.h (builtin_define, builtin_assert): Use pfile. | |
13604 | doc: | |
13605 | * tm.texi: Update. | |
13606 | config/alpha: | |
13607 | * alpha.h (CPLUSPLUS_CPP_SPEC): Remove. | |
13608 | (CPP_SPEC): Simplify. | |
13609 | (TARGET_CPU_CPP_BUILTINS): Update. | |
13610 | * freebsd.h (TARGET_OS_CPP_BUILTINS): New. | |
13611 | (CPP_SPEC): Simplify. | |
13612 | * linux.h (CPLUSPLUS_CPP_SPEC): Remove. | |
13613 | (TARGET_OS_CPP_BUILTINS): Update. | |
13614 | * osf.h (CPP_XFLOAT_SPEC): Kill. | |
13615 | (TARGET_OS_CPP_BUILTINS): Update. | |
13616 | (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify. | |
13617 | * osf5.h (CPP_XFLOAT_SPEC): Kill. | |
13618 | * vms.h (CPP_SUBTARGET_SPEC): Kill. | |
13619 | (TARGET_OS_CPP_BUILTINS): Update. | |
13620 | ||
121f5c2c RH |
13621 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13622 | ||
13623 | * varasm.c (default_binds_local_p): Fix typo. | |
13624 | ||
651c5ed9 MM |
13625 | 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl> |
13626 | ||
13627 | * config/avr/avr.c (machine_dependent_reorg): Sign extend the | |
13628 | CONST_INT operand to the correct mode after adding 1 to it. | |
13629 | ||
bce0deb2 MM |
13630 | 2002-05-19 Mark Mitchell <mark@codesourcery.com> |
13631 | ||
13632 | * config.gcc (powerpc-wrs-windiss*): New target. | |
13633 | ||
4aa74a4f FS |
13634 | 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
13635 | ||
13636 | * config/rs6000/rs6000.md (ashrdi3_no_power): New. | |
13637 | (ashrdi3): Use it. | |
13638 | ||
a15135c9 MM |
13639 | 2002-05-18 Mark Mitchell <mark@codesourcery.com> |
13640 | ||
13641 | * configure.in (AC_CHECK_FUNCS): Add checks for scandir and | |
13642 | alphasort. | |
13643 | * config.in: Regenerated. | |
13644 | * configure: Regenerated. | |
13645 | ||
47754fd5 RH |
13646 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13647 | ||
13648 | * target-def.h (TARGET_BINDS_LOCAL_P): New. | |
13649 | * target.h (struct gcc_target): Move boolean fields to the end. | |
13650 | Add binds_local_p. | |
13651 | * varasm.c (default_binds_local_p): New. | |
13652 | * output.h: Declare it. | |
13653 | ||
13654 | * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook. | |
13655 | * config/cris/cris.c (cris_encode_section_info): Likewise. | |
13656 | * config/i386/i386.c (i386_encode_section_info): Likewise. | |
13657 | * config/ia64/ia64.c (ia64_encode_section_info): Likewise. | |
13658 | * config/sh/sh.c (sh_encode_section_info): Likewise. | |
13659 | ||
13660 | * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New. | |
13661 | (TARGET_BINDS_LOCAL_P): New. | |
13662 | ||
fc881338 RH |
13663 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13664 | ||
13665 | * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE, | |
13666 | FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT, | |
13667 | MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison. | |
13668 | ||
13669 | * toplev.c (display_help): Kill -a -ax help. | |
13670 | ||
68bd6dd6 | 13671 | * config/1750a/1750a.h, config/alpha/alpha.h, |
fc881338 RH |
13672 | config/clipper/clipper.h, config/dsp16xx/dsp16xx.h, |
13673 | config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h, | |
13674 | config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h: | |
13675 | (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill. | |
13676 | ||
13677 | * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill. | |
13678 | * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill. | |
13679 | ||
13680 | * config/i386/i386-protos.h (ix86_output_block_profiler): Kill. | |
13681 | (ix86_output_function_block_profiler): Kill. | |
13682 | * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill. | |
13683 | (m68hc11_function_block_profiler): Kill. | |
13684 | * config/m68hc11/m68hc11-protos.h: Update. | |
13685 | * config/m88k/m88k.c (output_block_profiler): Kill. | |
13686 | (output_function_block_profiler): Kill. | |
13687 | * config/m88k/m88k-protos.h: Update. | |
13688 | ||
772c5265 RH |
13689 | 2002-05-19 Richard Henderson <rth@redhat.com> |
13690 | ||
13691 | * system.h (STRIP_NAME_ENCODING): Poison it. | |
13692 | * output.h (STRIP_NAME_ENCODING): Remove. | |
13693 | (default_strip_name_encoding): Declare. | |
13694 | * target-def.h (TARGET_STRIP_NAME_ENCODING): New. | |
13695 | * target.h (strip_name_encoding): New. | |
13696 | * varasm.c (default_strip_name_encoding): New. | |
13697 | ||
13698 | * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h, | |
13699 | config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c, | |
13700 | config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c, | |
13701 | config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h, | |
13702 | config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
13703 | config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h, | |
13704 | config/pa/pa.c, config/pa/pa.h, config/pa/som.h, | |
13705 | config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h, | |
13706 | config/v850/v850.h: Use the hook, not the macro. | |
13707 | ||
13708 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
13709 | config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c, | |
13710 | config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h, | |
13711 | config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c, | |
13712 | config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c, | |
13713 | config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
68bd6dd6 | 13714 | config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h, |
772c5265 RH |
13715 | config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h, |
13716 | config/v850/v850.c, config/v850/v850.h: | |
13717 | Move STRIP_NAME_ENCODING to out-of-line function and add | |
13718 | TARGET_STRIP_NAME_ENCODING. | |
13719 | ||
13720 | * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h, | |
13721 | config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING | |
13722 | with TARGET_STRIP_NAME_ENCODING referencing existing function; | |
13723 | make function static. | |
13724 | ||
13725 | * xcoffout.c: Include target.h | |
13726 | * Makefile.in (xcoffout.o): Update. | |
13727 | ||
13728 | * config/avr/avr.c (avr_encode_section_info): Correct prototype. | |
13729 | * config/avr/avr.h (STRIP_NAME_ENCODING): Remove. | |
13730 | * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark | |
13731 | reloc argument unused. | |
13732 | * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New. | |
13733 | ||
13734 | * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous | |
13735 | STRIP_NAME_ENCODING docs. | |
13736 | ||
8f9eb495 AJ |
13737 | 2002-05-19 Andreas Jaeger <aj@suse.de> |
13738 | ||
13739 | * gengenrtl.c: Add prototype for excluded_rtx. | |
13740 | ||
13741 | * real.h: Add prototype for exact_real_truncate. | |
13742 | ||
fb49053f RH |
13743 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13744 | ||
13745 | * system.h (ENCODE_SECTION_INFO): Poison it. | |
13746 | * target-def.h (TARGET_ENCODE_SECTION_INFO): New. | |
13747 | * target.h (encode_section_info): New. | |
13748 | * varasm.c (make_decl_rtl, output_constant_def): Use it. | |
13749 | * hooks.c (hook_tree_int_void): New. | |
13750 | * hooks.h: Declare it. | |
13751 | ||
13752 | * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
13753 | config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h, | |
13754 | config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h, | |
13755 | config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h, | |
13756 | config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h, | |
13757 | config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c, | |
13758 | config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c, | |
13759 | config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h, | |
13760 | config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, | |
13761 | config/mcore/mcore-protos.h, config/mcore/mcore.c, | |
13762 | config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c, | |
13763 | config/mmix/mmix.h, config/rs6000/rs6000-protos.h, | |
13764 | config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h, | |
13765 | config/stormy16/stormy16.c, config/stormy16/stormy16.h: | |
13766 | Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO | |
13767 | referencing existing function. Make function static. | |
13768 | ||
13769 | * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c, | |
8f9eb495 | 13770 | config/arc/arc.h, config/arm/arm.c, config/arm/arm.h, |
fb49053f RH |
13771 | config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c, |
13772 | config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c, | |
13773 | config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c, | |
8f9eb495 | 13774 | config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h, |
fb49053f RH |
13775 | config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c, |
13776 | config/pa/pa.h, config/romp/romp.c, config/romp/romp.h, | |
13777 | config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c, | |
13778 | config/s390/s390.h, config/sh/sh.c, config/sh/sh.h, | |
8f9eb495 | 13779 | config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c, |
fb49053f RH |
13780 | config/v850/v850.h, config/vax/vax.c, config/vax/vms.h, |
13781 | config/xtensa/xtensa.c, config/xtensa/xtensa.h: | |
13782 | Move ENCODE_SECTION_INFO to out-of-line function and add | |
13783 | TARGET_ENCODE_SECTION_INFO. | |
13784 | ||
13785 | * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro. | |
13786 | (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. | |
13787 | ||
13788 | * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename | |
13789 | from SUBTARGET_* | |
13790 | (switch_to_section): Replace in_rdata case with in_readonly_data. | |
13791 | ||
13792 | * config/h8300/h8300.c (h8300_encode_label): Make static. | |
13793 | * config/h8300/h8300-protos.h: Update. | |
13794 | ||
13795 | * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename | |
13796 | from rs6000_encode_section_info; make static. | |
13797 | (rs6000_xcoff_encode_section_info): New. | |
13798 | ||
13799 | * config/v850/v850.c (v850_encode_data_area): Make static. | |
13800 | * config/v850/v850-protos.h: Update. | |
13801 | ||
13802 | * config/vax/vax.c: Include flags.h. | |
13803 | (vms_select_section): Fix typo. | |
13804 | ||
13805 | * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous | |
13806 | ENCODE_SECTION_INFO docs. | |
13807 | ||
9fe08fd0 RH |
13808 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13809 | ||
13810 | * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from | |
13811 | REGISTER_TARGET_PRAGMAS. | |
13812 | * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine. | |
13813 | ||
410b770f RH |
13814 | * config.gcc: Do not use rs6000-c.c on powerpc-darwin. |
13815 | ||
b64a1b53 RH |
13816 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13817 | ||
13818 | * system.h (SELECT_RTX_SECTION): Poison. | |
13819 | * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New. | |
13820 | * target.h (select_rtx_section): New. | |
13821 | * varasm.c (output_constant_pool): Use it. | |
13822 | (default_select_rtx_section, default_elf_select_rtx_section): New. | |
13823 | * output.h: Declare them. | |
13824 | ||
13825 | * config/darwin.h (SELECT_RTX_SECTION): Move ... | |
13826 | * config/darwin.c (machopic_select_rtx_section): ... here. | |
13827 | * config/darwin-protos.h: Update. | |
13828 | ||
13829 | * config/nextstep.h (SELECT_RTX_SECTION): Move ... | |
13830 | * config/nextstep.c (machopic_select_rtx_section): ... here. | |
13831 | (nextstep_select_section): Rename variable to avoid macro clash. | |
13832 | * config/nextstep-protos.h: Update. | |
13833 | ||
13834 | * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h, | |
13835 | config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h, | |
13836 | config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h, | |
8f9eb495 | 13837 | config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h, |
b64a1b53 RH |
13838 | config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h, |
13839 | config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h, | |
8f9eb495 | 13840 | config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h, |
b64a1b53 RH |
13841 | config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h, |
13842 | config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h | |
13843 | (SELECT_RTX_SECTION): Remove. | |
13844 | ||
13845 | * config/darwin.h, config/elfos.h, config/nextstep.h, | |
13846 | config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c, | |
13847 | config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h, | |
13848 | config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h, | |
13849 | config/sparc/lynx.h, config/xtensa/xtensa.c | |
13850 | (TARGET_ASM_SELECT_RTX_SECTION): New. | |
13851 | ||
13852 | * config/alpha/elf.h (SELECT_RTX_SECTION): Move ... | |
13853 | * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here. | |
13854 | * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ... | |
13855 | * config/ia64/ia64.c (ia64_select_rtx_section): ... here. | |
13856 | (ia64_aix_select_rtx_section): New. | |
13857 | * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before | |
13858 | redefining. | |
13859 | * config/mips/mips.c (mips_select_rtx_section): Make static. | |
8f9eb495 | 13860 | Support ELF SHF_MERGE features. |
b64a1b53 RH |
13861 | * config/mips/mips-protos.h: Update. |
13862 | * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ... | |
13863 | * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here. | |
13864 | (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section; | |
13865 | make static, fall back to default_elf_select_rtx_section. | |
13866 | * config/rs6000/rs6000-protos.h: Update. | |
13867 | * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ... | |
13868 | * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here. | |
13869 | * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2. | |
13870 | * config/romp/romp.c (romp_select_rtx_section): New. | |
13871 | * config/s390/s390.c (s390_select_rtx_section): New. | |
13872 | * config/xtensa/xtensa.c: Include output.h. Shuffle local function | |
13873 | declarations before target macro definition. | |
13874 | (xtensa_emit_call): Use static buffer. | |
13875 | (xtensa_select_rtx_section): New. | |
13876 | * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove. | |
13877 | (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove. | |
13878 | (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section. | |
13879 | ||
13880 | * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from | |
13881 | SELECT_RTX_SECTION docs. | |
13882 | ||
13883 | Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz> | |
5f90a099 JH |
13884 | |
13885 | * i386.md (movsi/movdi): Fix template. | |
13886 | (sse2 patterns): Set attributes consistently. | |
13887 | ||
13888 | * i386.md (pushqi2, ashrqi_*): Fix constraint. | |
13889 | ||
6835a09c TM |
13890 | 2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl> |
13891 | ||
13892 | * optabs.c (complex_part_zero_p): New. | |
13893 | * (expand_cmplxdiv_straight): Use it. | |
13894 | * (expand_cmplxdiv_wide): Ditto. | |
13895 | * (expand_binop): Ditto. | |
13896 | ||
d48bc59a RH |
13897 | 2002-05-18 Richard Henderson <rth@redhat.com> |
13898 | ||
13899 | * final.c (HAVE_READONLY_DATA_SECTION): New. | |
13900 | (shorten_branches): Use it instead of ifdefs. | |
13901 | * varasm.c (enum in_section): Add in_readonly_data. | |
13902 | (text_section, data_section): Tidy. | |
13903 | (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present. | |
13904 | ||
13905 | * config/darwin.h, config/nextstep.h, config/h8300/elf.h, | |
13906 | config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h | |
13907 | (READONLY_DATA_SECTION): Don't undef. | |
13908 | ||
13909 | * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h, | |
13910 | config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h, | |
13911 | config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef. | |
13912 | ||
13913 | * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h, | |
13914 | config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h, | |
13915 | config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h, | |
13916 | config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove. | |
13917 | ||
13918 | * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h, | |
13919 | config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h, | |
13920 | config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, | |
13921 | config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h, | |
13922 | config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h, | |
13923 | config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h, | |
13924 | config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h, | |
13925 | config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from | |
13926 | CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP. | |
13927 | ||
13928 | * config/elfos.h, config/netware.h, config/1750a/1750a.h, | |
13929 | config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h, | |
13930 | config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h, | |
13931 | config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h, | |
13932 | config/pa/pa64-hpux.h, config/sparc/litecoff.h | |
13933 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. | |
13934 | ||
13935 | * config/elfos.h, config/netware.h, config/svr3.h, | |
13936 | config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, | |
13937 | config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, | |
13938 | config/h8300/h8300.h, config/i386/i386-interix.h, | |
13939 | config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h, | |
13940 | config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove. | |
13941 | ||
13942 | * config/elfos.h, config/netware.h, config/svr3.h, | |
13943 | config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, | |
13944 | config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h, | |
13945 | config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h, | |
13946 | config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove. | |
13947 | ||
13948 | * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h, | |
13949 | config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h, | |
13950 | config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h, | |
13951 | config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h, | |
13952 | config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h, | |
13953 | config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h, | |
13954 | config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h, | |
13955 | config/rs6000/sysv4.h, config/v850/v850.h | |
13956 | (EXTRA_SECTIONS): Remove in_const/in_rdata. | |
13957 | (EXTRA_SECTION_FUNCTIONS): Remove accompanying function. | |
13958 | ||
13959 | * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h, | |
13960 | config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h, | |
13961 | config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h, | |
13962 | config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section. | |
13963 | * config/alpha/alpha.c (alpha_start_function): Likewise. | |
13964 | (alpha_write_linkage): Likewise. | |
13965 | * config/m32r/m32r.c (m32r_select_section): Likewise. | |
13966 | * config/m88k/m88k.c (m88k_select_section): Likewise. | |
13967 | * config/mips/mips.c (mips_select_rtx_section): Likewise. | |
13968 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise. | |
13969 | (rs6000_elf_select_section): Likewise. | |
13970 | * config/v850/v850.c (v850_select_section): Likewise. | |
13971 | ||
13972 | * config/1750a/1750a.h, config/i860/sysv3.h | |
13973 | (READONLY_DATA_SECTION_ASM_OP): New. | |
13974 | READONLY_DATA_SECTION_ASM_OP. | |
13975 | * config/i386/interix.c, config/i386/winnt.c | |
13976 | (i386_pe_unique_section): Always use .rdata prefix. | |
13977 | * config/pa/som.h (readonly_data): Always switch to read-only section. | |
13978 | (READONLY_DATA_SECTION): Predicate on flag_pic. | |
13979 | * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis. | |
13980 | * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New. | |
13981 | (READONLY_DATA_SECTION): Update. | |
13982 | ||
e964a556 JT |
13983 | 2002-05-18 Jason Thorpe <thorpej@wasabisystems.com> |
13984 | ||
13985 | * c-common.c (c_common_post_options): Warn if -Wformat-zero-length | |
8f9eb495 | 13986 | is used without -Wformat. |
e964a556 JT |
13987 | * c-common.h (warn_format_zero_length): Declare extern. |
13988 | * c-decl.c (warn_options): Add "format-zero-length". | |
13989 | * c-format.c (warn_format_zero_length): Declare. | |
13990 | (set_Wformat): Set warn_format_zero_length for -Wformat. | |
13991 | (check_format_info): Only warn about zero-length formats if | |
13992 | warn_format_zero_length is true. Include the format type | |
13993 | name in the warning message. | |
13994 | * doc/invoke.texi: Document -Wformat-zero-length. | |
13995 | * testsuite/gcc.dg/format/zero-length-1.c: New test. | |
13996 | ||
d92b4486 KH |
13997 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
13998 | ||
13999 | * timevar.c: Fix formatting. | |
14000 | * tlink.c: Likewise. | |
14001 | * toplev.c: Likewise. | |
14002 | * tree-dump.c: Likewise. | |
14003 | * tree-inline.c: Likewise. | |
14004 | ||
43612ffb NB |
14005 | 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk> |
14006 | ||
14007 | * cppinit.c (cpp_post_options): If preprocessed, turn off | |
14008 | traditional. If traditional, turn off column numbers. | |
14009 | * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional. | |
14010 | * cpptrad.c (handle_newline): Update line_base. | |
14011 | (skip_comment): Handle -Wcomment. | |
14012 | ||
f24a153a ZW |
14013 | 2002-05-17 Zack Weinberg <zack@codesourcery.com> |
14014 | ||
14015 | * cppinit.c (struct builtin): Remove unused fields. | |
14016 | (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill. | |
14017 | (operator_array): New - was second half of builtin_array. | |
14018 | (init_builtins): Simplify loop over builtin_array/operator_array. | |
14019 | ||
12403335 NB |
14020 | 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk> |
14021 | ||
14022 | * defaults.h (UNIQUE_SECTION): Remove. | |
14023 | * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison. | |
14024 | ||
1f8c3c5b RH |
14025 | 2002-05-17 Richard Henderson <rth@redhat.com> |
14026 | ||
14027 | * expr.c (init_expr_once): Don't use start/end_sequence. | |
14028 | Use rtx_alloc instead of emit_insn. | |
14029 | * toplev.c (lang_dependent_init): Run init_expr_once here ... | |
14030 | (lang_independent_init): ... not here. | |
14031 | ||
4664f4c4 JT |
14032 | 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com> |
14033 | ||
14034 | * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__. | |
14035 | ||
93febe68 MM |
14036 | 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> |
14037 | ||
14038 | * config/avr/avr.c (avr_regs_to_save): New function. Also check | |
14039 | for fixed registers, possibly used for global register variables. | |
14040 | (initial_elimination_offset, avr_output_function_prologue, | |
14041 | avr_output_function_epilogue): Move common code to avr_regs_to_save. | |
14042 | ||
004cb263 NB |
14043 | 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk> |
14044 | ||
14045 | * Makefile.in: Update for cpptrad.c. | |
14046 | * cpphash.h (struct cpp_buffer): New members for buffer | |
14047 | overlays. | |
14048 | (struct cpp_reader): New members for traditional output. | |
14049 | (_cpp_read_logical_line, _cpp_overlay_buffer): New. | |
14050 | * cppinit.c (cpp_create_reader): Set trad_line. | |
14051 | (cpp_destroy): Free trad_out_base if used. | |
14052 | (cpp_read_main_file): Overlay an empty buffer if traditional. | |
14053 | (cpp_finish_options): Don't do builtins. | |
14054 | (COMMAND_LINE_OPTIONS): Add -traditional-cpp. | |
14055 | (cpp_handle_option): Handle it. | |
14056 | * cpplex.c (continue_after_nul): New. | |
14057 | (_cpp_lex_direct): Use handle_nul. | |
14058 | * cpplib.h (struct cpp_options): New traditional option. | |
14059 | * cpptrad.c: New file. | |
14060 | ||
bdcae02b NB |
14061 | 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk> |
14062 | ||
14063 | * c-common.c (c_common_init_options): Use C89 for Objective-C, | |
14064 | and set the options flag. | |
14065 | * cppinit.c (lang_flags): Remove objc. | |
14066 | (lang_defaults): Remove OBJC and OBJCXX. | |
14067 | (set_lang): Update. | |
14068 | (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++. | |
14069 | (cpp_handle_option): Remove -+ and -lang-objc++. | |
14070 | For ObjC, just set a flag. | |
14071 | (print_help): Update. | |
14072 | * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX. | |
14073 | ||
0fca60ab RO |
14074 | 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14075 | ||
14076 | * doc/install.texi (Specific, mips-sgi-irix6): Document need to | |
14077 | bootstrap with -mips3. | |
14078 | ||
dd3f0101 KH |
14079 | 2002-05-17 Kazu Hirata <kazu@cs.umass.edu> |
14080 | ||
14081 | * final.c: Fix formatting. | |
14082 | * fix-header.c: Likewise. | |
14083 | * flow.c: Likewise. | |
14084 | * fold-const.c: Likewise. | |
14085 | * function.c: Likewise. | |
14086 | ||
5ca9299f DM |
14087 | 2002-05-17 David S. Miller <davem@redhat.com> |
14088 | ||
14089 | PR c/6689, PR optimization/6615 | |
14090 | * local-alloc.c (struct equivalence): Rename 'src' to 'src_p' | |
14091 | and make it a pointer to rtx. Update comments. | |
14092 | (update_equiv_regs): When scanning for equivalences, record | |
14093 | address of SET_SRC (set) in reg_equiv[].src_p. Dereference | |
14094 | it while making the equiv replacements. | |
14095 | ||
508bc172 RO |
14096 | 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14097 | ||
14098 | * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo. | |
14099 | ||
5cd983a6 KK |
14100 | 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp> |
14101 | ||
14102 | * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P | |
14103 | when encoding visibility into SYMBOL_REF_FLAG. | |
14104 | ||
ce0f3925 RS |
14105 | 2002-05-17 Richard Sandiford <rsandifo@redhat.com> |
14106 | ||
14107 | * expr.c (force_operand): Fix reversed move. | |
14108 | ||
06809951 GP |
14109 | 2002-05-17 Kurt Wall <kwall@kurtwerks.com> |
14110 | ||
14111 | * doc/install.texi (Testing): Mention two common DejaGnu warnings | |
14112 | that can be ignored. | |
14113 | ||
14114 | 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
14115 | ||
14116 | * doc/install.texi (Final install): Recommend to install into a | |
14117 | "clean" target directory. | |
14118 | ||
1d5d7a21 RH |
14119 | 2002-05-17 Richard Henderson <rth@redhat.com> |
14120 | ||
14121 | * config/ia64/ia64.md: Use braced strings instead of quoted strings | |
14122 | for code blocks. Tidy whitespace. | |
14123 | ||
ae46c4e0 RH |
14124 | 2002-05-17 Richard Henderson <rth@redhat.com> |
14125 | ||
14126 | * hooks.c (hook_tree_bool_false): New. | |
14127 | * hooks.h: Declare it. | |
14128 | * target-def.h (TARGET_ASM_SELECT_SECTION): New. | |
14129 | (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New. | |
14130 | * target.h (select_section, unique_section): New. | |
14131 | (in_small_data_p): New. | |
14132 | * varasm.c (resolve_unique_section): Use hooks instead of macros. | |
14133 | (variable_section, output_constant_def_contents): Likewise. | |
14134 | (default_select_section, default_unique_section): New. | |
14135 | (categorize_decl_for_section, default_elf_select_section): New. | |
14136 | * output.h: Declare them. | |
14137 | ||
14138 | * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove. | |
14139 | (TARGET_ASM_SELECT_SECTION): New. | |
14140 | (SELECT_SECTION): Move ... | |
14141 | * config/darwin.c (machopic_select_section): ... here. | |
14142 | * config/darwin-protos.h: Update. | |
14143 | ||
14144 | * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New. | |
14145 | (SELECT_SECTION): Move ... | |
14146 | * config/nextstep.c (nextstep_select_section): ... here. | |
14147 | * config/nextstep-protos.h: Update. | |
14148 | ||
14149 | * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove. | |
14150 | (TARGET_ASM_SELECT_SECTION): New. | |
14151 | * config/svr3.h (SELECT_SECTION): Remove. | |
14152 | ||
14153 | * config/alpha/alpha.c (unicosmk_unique_section): Make static. | |
14154 | (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New. | |
14155 | (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New. | |
14156 | (alpha_encode_section_info): Use it. | |
14157 | * config/alpha/alpha-protos.h: Update. | |
14158 | * config/alpha/elf.h (DO_SELECT_SECTION): Remove. | |
14159 | (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14160 | (TARGET_ASM_SELECT_SECTION): New. | |
14161 | * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove. | |
14162 | ||
14163 | * config/arm/pe.h (UNIQUE_SECTION): Remove. | |
14164 | (TARGET_ASM_UNIQUE_SECTION): New. | |
14165 | ||
14166 | * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New. | |
14167 | (avr_unique_section): Rename from unique_section; make static. | |
14168 | * config/avr/avr-protos.h: Update. | |
14169 | * config/avr/avr.h (UNIQUE_SECTION): Remove. | |
14170 | ||
14171 | * config/c4x/c4x.h (SELECT_SECTION): Remove. | |
14172 | ||
14173 | * config/i386/cygwin.h (UNIQUE_SECTION): Remove. | |
14174 | (TARGET_ASM_UNIQUE_SECTION): New. | |
14175 | * config/i386/i386-interix.h: Likewise. | |
14176 | * config/i386/win32.h: Likewise. | |
14177 | * config/i386/djgpp.h (UNIQUE_SECTION): Remove. | |
14178 | * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro. | |
14179 | * config/i386/sco5.h (SELECT_SECTION): Remove. | |
14180 | (TARGET_ASM_SELECT_SECTION): New. | |
14181 | * config/i386/svr3gas.h (SELECT_SECTION): Remove. | |
14182 | ||
14183 | * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION | |
14184 | instead of SELECT_SECTION. | |
14185 | * config/m68k/dpx2.h: Likewise. | |
14186 | * config/rs6000/lynx.h: Likewise. | |
14187 | ||
14188 | * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14189 | (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. | |
14190 | * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New. | |
14191 | (ia64_in_small_data_p): New. | |
14192 | (ia64_encode_section_info): Use it. Reorganize overlarge conditional. | |
14193 | (ia64_aix_select_section, ia64_aix_unique_section): New. | |
14194 | * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove. | |
14195 | (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14196 | ||
14197 | * config/m32r/m32r.h (SELECT_SECTION): Remove. | |
14198 | (TARGET_ASM_SELECT_SECTION): New. | |
14199 | * config/m32r/m32r.c (m32r_select_section): Take align argument. | |
14200 | * config/m32r/m32r-protos.h: Update. | |
14201 | ||
14202 | * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New. | |
14203 | (SELECT_SECTION): Move ... | |
14204 | * config/m88k/m88k.c (m88k_select_section): ... here. | |
14205 | ||
14206 | * config/mcore/mcore-pe.h (SELECT_SECTION): Remove. | |
14207 | * config/mcore/mcore.h (UNIQUE_SECTION): Remove. | |
14208 | * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New. | |
14209 | (mcore_unique_section): Make static. | |
14210 | * config/mcore/mcore-protos.h: Update. | |
14211 | ||
14212 | * config/mips/elf.h (UNIQUE_SECTION): Remove. | |
14213 | (TARGET_ASM_UNIQUE_SECTION): New. | |
14214 | * config/mips/elf64.h: Likewise. | |
14215 | * config/mips/iris6gld.h: Likewise. | |
14216 | * config/mips/linux.h: Likewise. | |
14217 | * config/mips/mips-protos.h: Update. | |
14218 | * config/mips/mips.c (mips_select_section): Add align argument. | |
14219 | * config/mips/mips.h (SELECT_SECTION): Remove. | |
14220 | (TARGET_ASM_SELECT_SECTION): New. | |
14221 | ||
14222 | * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14223 | * config/mmix/mmix.c (mmix_select_section): Remove. | |
14224 | (mmix_unique_section): Remove. | |
14225 | * config/mmix/mmix-protos.h: Update. | |
14226 | ||
14227 | * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New. | |
14228 | (SELECT_SECTION): Move ... | |
14229 | * config/pa/pa.c (pa_select_section): ... here. | |
14230 | * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove. | |
14231 | ||
14232 | * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename | |
14233 | from rs6000_select_section and make static. | |
14234 | (rs6000_elf_unique_section): Similarly. | |
14235 | (rs6000_xcoff_select_section): From xcoff.h. | |
14236 | (rs6000_xcoff_unique_section): Likewise. | |
14237 | * config/rs6000/rs6000-protos.h: Update. | |
14238 | * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove. | |
14239 | (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. | |
14240 | * config/rs6000/xcoff.h: Likewise. | |
14241 | ||
14242 | * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New. | |
14243 | (SELECT_SECTION): Move ... | |
14244 | * config/sparc/sparc.c (sparc_aout_select_section): ... here. | |
14245 | ||
14246 | * config/v850/v850.h (SELECT_SECTION): Move ... | |
14247 | * config/v850/v850.c (v850_select_section): ... here. | |
14248 | (TARGET_ASM_SELECT_SECTION): New. | |
14249 | ||
14250 | * config/vax/vms.h (SELECT_SECTION): Move ... | |
14251 | * config/vax/vax.c (vms_select_section): ... here. | |
14252 | (TARGET_ASM_SELECT_SECTION): New. | |
14253 | ||
14254 | * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs | |
14255 | for the target hooks. | |
14256 | ||
eaeb23a7 NC |
14257 | 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com> |
14258 | ||
14259 | * config/arm/arm.c (emit_multi_reg_push): Do not set | |
14260 | RTX_FRAME_RELATED_P on the SEQUENCE. | |
14261 | ||
a00fe19f RH |
14262 | 2002-05-16 Richard Henderson <rth@redhat.com> |
14263 | ||
14264 | * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before | |
14265 | splitting. Use split_all_insns; update_life_info_in_dirty_blocks. | |
14266 | ||
5ccff482 RH |
14267 | 2002-05-16 Richard Henderson <rth@redhat.com> |
14268 | ||
14269 | * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo. | |
14270 | ||
068d7739 RH |
14271 | * config/ia64/ia64.c (saveable_obstack): Do not declare. |
14272 | ||
0b17ab2f RH |
14273 | 2002-05-16 Richard Henderson <rth@redhat.com> |
14274 | ||
14275 | * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c, | |
14276 | cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c, | |
14277 | conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c, | |
14278 | gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c, | |
14279 | local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c, | |
14280 | recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c, | |
14281 | reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c, | |
14282 | sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c: | |
14283 | Revert "Basic block renumbering removal", and two followup patches. | |
14284 | ||
8ae86b3c JT |
14285 | 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com> |
14286 | ||
14287 | * lcm.c (optimize_mode_switching): Revert previous change. | |
14288 | ||
4e9f27af ZD |
14289 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14290 | ||
14291 | * sched-rgn.c (schedule_insns): Initialize large_region_blocks | |
14292 | with only extant block numbers. | |
14293 | ||
3cdc1dbc JT |
14294 | 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com> |
14295 | ||
14296 | * lcm.c (optimize_mode_switching): Fix typo. | |
14297 | ||
fbfb3b09 ZD |
14298 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14299 | ||
14300 | * flow.c (calculate_global_regs_live): Queue blocks in program order. | |
14301 | ||
b4b0fb02 RO |
14302 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14303 | ||
14304 | * doc/install.texi (Configuration): Document PWDCMD. | |
14305 | ||
63b827c5 DJ |
14306 | 2002-05-16 Dale Johannesen <dalej@apple.com> |
14307 | ||
14308 | * combine.c (cant_combine_insn_p): Reenable combinations | |
14309 | involving hard regs unless CLASS_LIKELY_SPILLED_P. | |
14310 | ||
748d29c1 NB |
14311 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
14312 | ||
14313 | * c-common.c (cb_register_builtins): Handle more built-ins | |
14314 | here rather than in gcc.c specs. | |
14315 | * gcc.c (cpp_unique_options): Move many built-ins to c-common.c. | |
14316 | (cpp_options): Pass -O flags even when only preprocessing. | |
14317 | * toplev.c (set_fast_math_flags): New prototype. | |
14318 | (fast_math_flags_set_p): New. | |
14319 | (set_no_fast_math_flags): Remove. | |
14320 | (decode_f_option): Update. | |
14321 | * toplev.h (set_fast_math_flags): Update. | |
14322 | (fast_math_flags_set_p): New. | |
14323 | (set_no_fast_math_flags): Remove. | |
14324 | config: | |
14325 | * c4x/c4x.c (c4x_override_options): Update. | |
14326 | ||
5279d739 ZW |
14327 | 2002-05-16 Zack Weinberg <zack@codesourcery.com> |
14328 | ||
14329 | * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX): | |
14330 | Default-define here. | |
14331 | (builtin_define_with_value): Can now wrap the expansion in | |
14332 | quotation marks if such is wanted. | |
a00fe19f | 14333 | (cb_register_builtins): Update calls to builtin_define_with_value. |
5279d739 ZW |
14334 | Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__ |
14335 | here. | |
14336 | (c_common_init): Set options->stdc_0_in_system_headers. | |
14337 | * c-lex.h: Update prototype of builtin_define_with_value. | |
14338 | * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX | |
14339 | and REGISTER_PREFIX. | |
14340 | ||
14341 | * cppinit.c (VERS, ULP, C, X): Kill. | |
14342 | (builtin_array): Remove entries for __VERSION__, | |
14343 | __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and | |
14344 | __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not | |
14345 | a constant. | |
14346 | (init_builtins): Kill off a bunch of now-dead code. | |
14347 | (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and | |
14348 | -fno-leading-underscore. | |
14349 | (cpp_handle_option): Remove code to set user_label_prefix. | |
14350 | (cpp_post_options): Likewise. | |
14351 | ||
14352 | * cpplib.h (struct cpp_options): Remove user_label_prefix. | |
14353 | (stdc_0_in_system_headers): New. | |
14354 | * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile, | |
14355 | stdc_0_in_system_headers) too to decide the value of __STDC__. | |
14356 | ||
14357 | * tradcpp.c (user_label_prefix): Kill. | |
a00fe19f | 14358 | (main): Remove code handling -f(no-)leading-underscore. |
5279d739 ZW |
14359 | (initialize_builtins): Don't define __REGISTER_PREFIX__ |
14360 | or __USER_LABEL_PREFIX__. | |
14361 | (install_value): Wrap compound statement in dummy loop so the | |
14362 | macro works properly in an if statement. | |
14363 | ||
14364 | ||
62e6ca55 JJ |
14365 | 2002-05-16 Janis Johnson <janis187@us.ibm.com> |
14366 | ||
14367 | * loop.h (struct loop_info): Add member has_prefetch. | |
14368 | * loop.c (PREFETCH_CONDITIONAL): Change default to 1. | |
14369 | (prescan_loop): Initialize has_prefetch. | |
14370 | (struct prefetch_info): Change prefetch_in_loop and | |
14371 | prefetch_before_loop from bit fields to ints. | |
14372 | (emit_prefetch_instructions): Several small fixes. | |
14373 | (check_dbra_loop): Don't reverse loop that uses prefetch. | |
14374 | ||
1e6347d8 RO |
14375 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14376 | ||
14377 | * Makefile.in: Allow for PWDCMD to override hardcoded pwd. | |
14378 | * configure.in: Likewise. | |
14379 | * fixinc/check.tpl: Likewise. | |
14380 | * fixinc/fixinc.dgux: Likewise. | |
14381 | * fixinc/fixinc.svr4: Likewise. | |
14382 | * fixinc/fixinc.winnt: Likewise. | |
14383 | * fixinc/fixincl.sh: Likewise. | |
14384 | * fixproto: Likewise. | |
14385 | * configure: Regenerate. | |
14386 | ||
355e4ec4 ZD |
14387 | 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14388 | ||
14389 | Basic block renumbering removal: | |
14390 | * basic_block.h (struct basic_block_def): Renamed index to sindex, | |
14391 | added prev_bb and next_bb fields. | |
14392 | (n_basic_blocks): Renamed to num_basic_blocks. | |
14393 | (last_basic_block): New, index of last basic block. | |
14394 | (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for | |
14395 | traversing basic block chain. | |
14396 | (BLOCK_NUM): index -> sindex. | |
14397 | (create_basic_block_structure, create_basic_block): Declaration changed. | |
14398 | (debug_num2bb): Declare. | |
14399 | (expunge_block_nocompact): Declaration removed. | |
14400 | (link_block, unlink_block, compact_blocks): Declare. | |
14401 | * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified. | |
14402 | * cfg.c (entry_exit_blocks): Initialize new fields. | |
14403 | (clear_edges, alloc_block, expunge_block, cached_make_edge, | |
14404 | redirect_edge_pred, dump_flow_info, dump_edge_info, | |
14405 | alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges, | |
14406 | free_aux_for_edges): Modified. | |
14407 | (link_block, unlink_block, compact_blocks, debug_num2bb): New. | |
14408 | (expunge_block_nocompact): Removed. | |
14409 | * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add, | |
14410 | find_unreachable_blocks, create_edge_list, print_edge_list, | |
14411 | verify_edge_list, flow_edge_list_print, remove_fake_successors, | |
14412 | remove_fake_edges, flow_reverse_top_sort_order_compute, | |
14413 | flow_depth_first_order_compute, flow_preorder_transversal_compute, | |
14414 | flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb, | |
14415 | flow_dfs_compute_reverse_execute): Modified. | |
14416 | * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1, | |
14417 | find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks): | |
14418 | Modified. | |
14419 | * cfgcleanup.c (try_simplify_condjump, try_forward_edges, | |
14420 | merge_blocks_move_predecessor_nojumps, | |
14421 | merge_blocks_move_successor_nojumps, merge_blocks, | |
14422 | outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb, | |
14423 | try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified. | |
14424 | * cfglayout.c (skip_insns_after_block, label_for_bb, | |
14425 | record_effective_endpoints, scope_to_insns_finalize, | |
14426 | fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps, | |
14427 | fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge, | |
14428 | cfg_layout_duplicate_bb): Modified. | |
14429 | * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump, | |
14430 | flow_loop_entry_edges_find, flow_loop_exit_edges_find, | |
14431 | flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan, | |
14432 | flow_loops_find, flow_loop_outside_edge_p): Modified. | |
14433 | * cfgrtl.c (create_basic_block_structure, create_basic_block, | |
14434 | flow_delete_block, compute_bb_for_insn, split_block, | |
14435 | try_redirect_by_replacing_jump, redirect_edge_and_branch, | |
14436 | force_nonfallthru_and_redirect, tidy_fallthru_edge, | |
14437 | back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion, | |
14438 | commit_edge_insertions, commit_edge_insertions_watch_calls, | |
14439 | dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges, | |
14440 | purge_all_dead_edges): Modified. | |
14441 | * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies, | |
14442 | try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate, | |
14443 | get_last_value, reg_dead_at_p, distribute_notes, distribute_links): | |
14444 | Modified. | |
14445 | * conflict.c (conflict_graph_compute): Modified. | |
14446 | * df.c (FOR_ALL_BBS): Removed. | |
14447 | (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1, | |
14448 | df_modified_p, df_analyse, df_refs_unlink, df_insn_modify, | |
14449 | df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified. | |
14450 | * df.h (DF_BB_INFO, DF_REF_BBNO): Modified. | |
14451 | * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree, | |
14452 | calc_idoms, idoms_to_doms, calculate_dominance_info): Modified. | |
14453 | * final.c (compute_alignments, final_scan_insn): Modified. | |
14454 | * flow.c (verify_local_live_at_start, update_life_info, | |
14455 | update_life_info_in_dirty_blocks, free_basic_block_vars, | |
14456 | delete_noop_moves, calculate_global_regs_live, | |
14457 | initialize_uninitialized_subregs, allocate_bb_life_data, | |
14458 | regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1, | |
14459 | mark_used_reg, count_or_remove_death_notes): Modified. | |
14460 | * function.c (thread_prologue_and_epilogue_insns): Modified. | |
14461 | * gcse.c (struct null_pointer_info): Change typo of current_block | |
14462 | to basic_block. | |
14463 | (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets, | |
14464 | oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info, | |
14465 | compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd, | |
14466 | alloc_avail_expr_mem, expr_killed_p, compute_ae_kill, | |
14467 | expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr, | |
14468 | classic_gcse, one_classic_gcse_pass, compute_transp, cprop, | |
14469 | one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work, | |
14470 | pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert, | |
14471 | pre_delete, one_pre_gcse_pass, compute_transpout, | |
14472 | invalidate_nonnull_info, delete_null_pointer_checks_1, | |
14473 | free_code_hoist_mem, compute_code_hoist_vbeinout, | |
14474 | hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass, | |
14475 | compute_ld_motion_mems, store_ops_ok, find_moveable_store, | |
14476 | compute_store_table, build_store_vectors, insert_insn_start_bb, | |
14477 | insert_store, replace_store_insn, free_store_memory, store_motion): | |
14478 | Modified. | |
14479 | * global.c (global_alloc, global_conflicts, mark_elimination, | |
14480 | build_insn_chain): Modified. | |
14481 | * graph.c (print_rtl_graph_with_bb): Modified. | |
14482 | * haifa-sched.c (sched_init): Modified. | |
14483 | * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed. | |
14484 | (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2, | |
14485 | if_convert): Modified. | |
14486 | * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin, | |
14487 | compute_insert_delete, pre_edge_lcm, compute_available, | |
14488 | compute_farthest, compute_nearerout, compute_rev_insert_delete, | |
14489 | pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching): | |
14490 | Modified. | |
14491 | * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified. | |
14492 | * loop.c (loop_dump_aux): Modified. | |
14493 | * predict.c (combine_predictions_for_insn, estimate_probability, | |
14494 | last_basic_block_p, process_note_prediction, process_note_predictions, | |
14495 | note_prediction_to_br_prob, propagate_freq, counts_to_freqs, | |
14496 | expensive_function_p, estimate_bb_frequencies, | |
14497 | compute_function_frequency): Modified. | |
14498 | * print-rtl.c (print_rtx): Modified. | |
14499 | * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges, | |
14500 | get_exec_counts, compute_branch_probabilities, compute_checksum, | |
14501 | branch_prob, find_spanning_tree): Modified. | |
14502 | * recog.c (split_all_insns, peephole2_optimize): Modified. | |
14503 | * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge, | |
14504 | convert_regs_1, convert_regs_2, convert_regs): Modified. | |
14505 | * regclass.c (scan_one_insn, regclass): Modified. | |
14506 | * regmove.c (mark_flags_life_zones, regmove_optimize, | |
14507 | combine_stack_adjustments): Modified. | |
14508 | * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified. | |
14509 | * reload1.c (reload, reload_combine, copy_eh_notes): Modified. | |
14510 | * reorg.c (dbr_schedule): Modified. | |
14511 | * resource.c (find_basic_block, init_resource_info): Modified. | |
14512 | * sbitmap.c (sbitmap_intersection_of_succs, | |
14513 | sbitmap_intersection_of_preds, sbitmap_union_of_succs, | |
14514 | sbitmap_union_of_preds): Modified. | |
14515 | * sched-deps.c (init_dependency_caches): Modified. | |
14516 | * sched-ebb.c (schedule_ebbs): Modified. | |
14517 | * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions, | |
14518 | find_rgns, compute_trg_info, init_regions, schedule_insns): Modified. | |
14519 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified. | |
14520 | * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges, | |
14521 | ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns, | |
14522 | ssa_const_prop): Modified. | |
14523 | * ssa-dce.c (set_control_dependent_block_to_edge_map_, | |
14524 | find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified. | |
14525 | * ssa.c (remove_phi_alternative, find_evaluations, | |
14526 | compute_dominance_frontiers_1, compute_iterated_dominance_frontiers, | |
14527 | insert_phi_node, rename_block, convert_to_ssa, eliminate_phi, | |
14528 | make_regs_equivalent_over_bad_edges, | |
14529 | make_equivalent_phi_alternatives_equival, | |
14530 | compute_conservative_reg_partition, | |
14531 | coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition, | |
14532 | rename_equivalent_regs, convert_from_ssa, for_each_successor_phi): | |
14533 | Modified. | |
14534 | ||
5a566bed MM |
14535 | 2002-05-16 Mark Mitchell <mark@codesourcery.com> |
14536 | ||
14537 | * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH. | |
14538 | ||
48f6efae NC |
14539 | 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com> |
14540 | ||
14541 | * config/arm/arm.c (arm_rtx_costs): Check for RTX being a | |
14542 | SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. | |
14543 | (arm_adjust_cost): Check for RTX being a SYMBOL_REF before | |
14544 | calling CONSTANT_POOL_ADDRESS_P. | |
14545 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code | |
14546 | to decide whether to define __arm__ or __thumb. | |
355e4ec4 | 14547 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a |
48f6efae NC |
14548 | SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. |
14549 | ||
b166fadd NB |
14550 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
14551 | ||
14552 | * config/arc/arc.h (CPP_PREDEFINES): Remove. | |
14553 | (CPP_SPEC): Update. | |
14554 | (TARGET_CPU_CPP_BUILTINS): New. | |
14555 | ||
601328bb NB |
14556 | 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk> |
14557 | ||
14558 | * cpphash.h (cpp_macro): Move here, and make expansion a union. | |
14559 | * cppmacro.c (cpp_macro): Remove. | |
14560 | (enter_macro_context, replace_args, warn_of_redefinition, | |
14561 | _cpp_create_definition, cpp_macro_definition): Update. | |
14562 | ||
ff48be5c JM |
14563 | 2002-05-16 Jason Merrill <jason@redhat.com> |
14564 | ||
14565 | * config/mips/mips.c (mips_output_external): Don't do sdata | |
14566 | optimization for a variable with DECL_COMDAT set. | |
14567 | ||
805c42ba AH |
14568 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
14569 | ||
355e4ec4 ZD |
14570 | * config/rs6000/altivec.h: Cleanups for tighter typechecking. |
14571 | Cleanups for accepting modifiers on pointers. | |
14572 | Fix predicate typos. | |
14573 | Allow long pointers as well as int pointers. | |
805c42ba | 14574 | |
34fb9ba5 RH |
14575 | 2002-05-15 Richard Henderson <rth@redhat.com> |
14576 | ||
14577 | * varasm.c (merge_weak): Remove special case for extern and common. | |
14578 | ||
62e118f5 MH |
14579 | 2002-05-15 Matt Hiller <hiller@redhat.com> |
14580 | ||
14581 | * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if | |
355e4ec4 | 14582 | XFAILing. |
62e118f5 MH |
14583 | * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto. |
14584 | * testsuite/gcc.c-torture/compile/920520-1.x: Ditto. | |
14585 | * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now. | |
14586 | * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto. | |
14587 | * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto. | |
14588 | * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto. | |
14589 | ||
fefac463 AH |
14590 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
14591 | ||
355e4ec4 | 14592 | * reload1.c (forget_old_reloads_1): Do not use subreg offset. |
fefac463 | 14593 | |
5f004351 AH |
14594 | 2002-05-15 Aldy Hernandez <aldyh@redhat.com> |
14595 | ||
355e4ec4 ZD |
14596 | * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register. |
14597 | ("altivec_mfvscr"): Read from VSCR. | |
14598 | ||
14599 | Add vscr sets for the following insns: altivec_vctuxs, | |
14600 | altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs, | |
14601 | altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs, | |
14602 | altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs, | |
14603 | altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss, | |
14604 | altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus, | |
14605 | altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus, | |
14606 | altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs, | |
14607 | altivec_vsubshs, altivec_vsubuws, altivec_vsubsws, | |
14608 | altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs, | |
14609 | altivec_vsum2sws, altivec_vsumsws. | |
14610 | ||
14611 | * config/rs6000/rs6000.h: Add VSCR fixed register. | |
14612 | (CALL_REALLY_USED_REGISTERS): Add vscr. | |
14613 | (CALL_USED_REGISTERS): Same. | |
14614 | (FIXED_REGISTERS): Same. | |
14615 | (REG_ALLOC_ORDER): Same. | |
14616 | (reg_class): Add VSCR_REGS. | |
14617 | (REG_CLASS_NAMES): Same. | |
14618 | (REG_CLASS_CONTENTS): Same. | |
14619 | (VSCR_REGNO): New. | |
14620 | (REGISTER_NAMES): Add vscr. | |
14621 | (DEBUG_REGISTER_NAMES): Same. | |
14622 | (ADDITIONAL_REGISTER_NAMES): Same. | |
14623 | (FIRST_PSEUDO_REGISTER): Increment. | |
14624 | (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register. | |
5f004351 | 14625 | |
033afd11 RH |
14626 | 2002-05-15 Jakub Jelinek <jakub@redhat.com> |
14627 | ||
14628 | * fold-const.c (fold): Fix a typo. | |
14629 | ||
14630 | 2002-05-15 Eric Botcazou <ebotcazou@multimania.com> | |
14631 | ||
14632 | * fold-const.c (fold) [LT_EXPR]: Move the transformation of a | |
14633 | comparison against the highest or lowest integer value before | |
14634 | the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)' | |
14635 | transformation and that of an unsigned comparison against 0 | |
14636 | right after. | |
14637 | ||
14285ace RH |
14638 | 2002-05-15 Richard Henderson <rth@redhat.com> |
14639 | ||
14640 | * varasm.c (merge_weak): Error for any weakening after definition. | |
14641 | Adjust weakening after use warning to catch more cases. | |
14642 | (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently. | |
14643 | * config/alpha/alpha.c (alpha_encode_section_info): Do not abort. | |
14644 | ||
194734e9 JH |
14645 | Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz> |
14646 | ||
14647 | * invoke.texi (-malign-double): Re-add lost warning. | |
14648 | ||
14649 | * i386-protos.h (x86_output_mi_thunk): Declare. | |
14650 | * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ... | |
14651 | * i386.c (x86_output_mi_thunk): ... here; handle 64bits. | |
14652 | ||
14653 | * dwarf2out.c (output_call_frame_info): Do not skip unwind info | |
14654 | when flag_asynchronous_unwind_tables is set. | |
14655 | ||
14656 | * flags.h (flag_reorder_functions): Declare. | |
14657 | * function.c (prepare_function_start): Initialize frequnecy. | |
14285ace | 14658 | * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New. |
194734e9 JH |
14659 | * Makefile.in (predict.o): Add dependency on target.h and params.h |
14660 | * defaults.h (HOT_TEXT_SECTION_NAME, | |
14661 | UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros. | |
14662 | * predict.c (choose_function_section): New function. | |
14663 | (estimate_bb_frequencies): Use it. | |
14664 | * toplev.c (flag_reorder_functions): New global variable. | |
14665 | (lang_independent_options): New. | |
14666 | (parse_options_and_default_flags): Set. | |
14667 | * varasm.c (assemble_start_function): Bypass functdion alignment | |
14668 | for never executed functions. | |
14669 | * invoke.texi (-freorder-blocks, -freorder-functions): Document. | |
14670 | (param hot-bb-count-fraction, hot-bb-frequency-fraction): New. | |
14671 | * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME): | |
14672 | Document. | |
14673 | ||
14674 | Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz> | |
14675 | ||
14676 | * predict.c: Inlude profile.h | |
14677 | (MIN_COUNT): Rename to MIN_COUNT_FRACTION | |
14678 | (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p): | |
14679 | Use the information about maximal counter in the program. | |
14680 | ||
14681 | Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz> | |
14682 | ||
14683 | * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p, | |
14684 | probably_never_executed_bb_p): New functions. | |
14685 | * cfgcleanup.c (outgoing_edges_match): Use them. | |
14686 | * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros. | |
14687 | (maybe_hot_bb_p, probably_cold_bb_p, | |
14688 | probably_never_executed_bb_p): New functions. | |
14689 | ||
14690 | * function.h (function): Add new field function_frequency. | |
14691 | * predict.c (compute_function_frequency): New function. | |
14692 | (estimate_probability): Call it. | |
14693 | ||
61ad9a34 JJ |
14694 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
14695 | ||
14696 | PR optimization/5172, optimization/5200 | |
14697 | * gcse.c (gcse_main): Disable store_motion. | |
14698 | ||
a11eba95 ZW |
14699 | 2002-05-14 Zack Weinberg <zack@codesourcery.com> |
14700 | ||
14701 | * c-parse.in (MODIFIED_WCHAR_TYPE): New macro. | |
14702 | (c_common_nodes_and_builtins): Use it. | |
14703 | (builtin_define_with_value): New function. | |
14704 | (cb_register_builtins): Define __SIZE_TYPE__, | |
14705 | __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here, | |
14706 | using builtin_define_with_value. Use consistent notation when | |
14707 | defining __GXX_WEAK__. | |
14708 | (WCHAR_TYPE_SIZE): Don't redefine. | |
14709 | (combine_strings): Don't use WCHAR_TYPE_SIZE. | |
14710 | ||
14711 | * cppdefault.h: Don't provide defaults for SIZE_TYPE, | |
14712 | PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE. | |
14713 | * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc. | |
14714 | * tradcpp.c (initialize_builtins): Likewise. | |
14715 | * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__. | |
14716 | ||
14717 | * c-lex.h (builtin_define_with_value): Prototype. | |
14718 | * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE, | |
14719 | NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE. | |
14720 | * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc. | |
14721 | ||
14722 | * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, | |
14723 | config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h, | |
14724 | config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h, | |
14725 | config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h, | |
14726 | config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h, | |
14727 | config/sparc/linux64.h, config/sparc/netbsd-elf.h, | |
14728 | config/sparc/sol2-bi.h, config/sparc/sparc.h: | |
14729 | Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references | |
14730 | to __SIZE_TYPE__ etc from all spec strings. When this makes | |
14731 | extra specs empty, delete them. | |
14732 | ||
1c31ecf6 JDA |
14733 | 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14734 | ||
14735 | * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling | |
14736 | for PA8000 or generating dwarf2 call frame information. | |
14737 | (output_call): Remove DO_FRAME_NOTES check from return pointer | |
14738 | optimization. | |
14739 | (following_call): Return 0 when scheduling for PA8000 or generating | |
14740 | dwarf2 call frame information. Revise comment. | |
14741 | ||
ac9cfada NB |
14742 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
14743 | ||
14744 | config/alpha: | |
14745 | * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP | |
14746 | and __IEEE_FP_INEXACT as appropriate. | |
14747 | (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus. | |
14748 | (CPP_SPEC): Remove ieee defines. | |
14749 | * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu. | |
14750 | ||
9b690711 RH |
14751 | 2002-05-14 Richard Henderson <rth@redhat.com> |
14752 | ||
14753 | * config/i386/i386.c (ix86_save_reg): Make regno unsigned. | |
14754 | (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill. | |
14755 | ||
e6471be6 NB |
14756 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
14757 | ||
e6471be6 NB |
14758 | * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define. |
14759 | (CPP_SPEC): Update. | |
14760 | (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC, | |
14761 | CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC, | |
14762 | CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC, | |
14763 | CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove. | |
14764 | (EXTRA_SPECS): Update. | |
14765 | * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h, | |
14766 | arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h, | |
14767 | arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and | |
14768 | define TARGET_OS_CPP_BUILTINS if necessary. | |
14769 | ||
e5f5feea NB |
14770 | 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk> |
14771 | ||
14772 | * gcc.c (cpp_options): Must pass -m* and -f* options | |
14773 | to the front end even when only preprocessing. | |
14774 | (cc1_options): Remove redundant -lang-c. | |
14775 | * tradcpp.c (main): Ignore -m options. | |
14776 | objc: | |
14777 | * lang-specs.h: Similarly. | |
14778 | ||
317638a8 VM |
14779 | 2002-05-14 Vladimir Makarov <vmakarov@redhat.com> |
14780 | ||
14781 | * genautomata.c (transform_3): Add code for transformation | |
14782 | `(A,B,...)+C -> A+C,B,...'. | |
14783 | ||
4d604303 JH |
14784 | Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz> |
14785 | ||
14786 | * final.c (end_final): Do not output profile_arcs constructor, when | |
14787 | no functions are instrumented. | |
14788 | ||
b18b06ed JH |
14789 | Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz> |
14790 | ||
14791 | * i386.md (testsi to testqi_zext_1 splitter): Fix typo. | |
14792 | ||
a12f97f0 GP |
14793 | 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
14794 | ||
14795 | * doc/install.texi: Remove special markup originally required for | |
14796 | HTML generation with texi2html. | |
14797 | ||
c1ae3eb4 AS |
14798 | 2002-05-14 Andreas Schwab <schwab@suse.de> |
14799 | ||
14800 | * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of | |
14801 | SELECT_SECTION. | |
14802 | (UNIQUE_SECTION): Define to get small data correctly. | |
1b18fc2c AS |
14803 | |
14804 | * varasm.c (resolve_unique_section): Add third parameter | |
14805 | flag_function_or_data_sections and use it instead of | |
14806 | flag_function_sections. | |
14807 | (assemble_start_function): Pass flag_function_sections. | |
14808 | (asm_emit_uninitialised): Pass flag_data_sections. | |
14809 | (assemble_variable): Likewise. | |
14810 | ||
8ee41eaf RH |
14811 | 2002-05-14 Richard Henderson <rth@redhat.com> |
14812 | ||
14813 | * config/i386/i386.md: Use define_constants for unspec numbers. | |
14814 | * config/i386/i386.c: Likewise. | |
14815 | ||
e6471be6 NB |
14816 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
14817 | ||
14818 | * doc/contrib.texi: Update my entry. | |
14819 | ||
c297b764 MM |
14820 | 2002-05-13 Mark Mitchell <mark@codesourcery.com> |
14821 | ||
14822 | * fixinc/inclhack.def (winidss_valist): Limit applicability. | |
14823 | * fixinc/fixincl.x: Regenerated. | |
14824 | * fixinc/tests/base/math.h: Update. | |
14825 | * fixinc/tests/base/testing.h: Likewise. | |
14826 | ||
0b42c8f8 ZW |
14827 | 2002-05-13 Zack Weinberg <zack@codesourcery.com> |
14828 | ||
14829 | * genattr.c (gen_attr): Don't emit a comma after the last | |
14830 | enumerator. | |
14831 | ||
546c093e RH |
14832 | 2002-05-13 Richard Henderson <rth@redhat.com> |
14833 | ||
14834 | * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created | |
14835 | by non-local gotos. | |
14836 | * recog.c (peephole2_optimize): Likewise. | |
14837 | ||
85be8c2d AP |
14838 | 2002-05-13 Andris Pavenis <pavenis@lanet.lv> |
14839 | ||
14840 | * cppfiles.c (open_file): Change mode (DJGPP only) of redirected | |
14841 | input to O_BINARY. | |
14842 | ||
765b8f90 JL |
14843 | 2002-05-13 Jeffrey A Law (law@redhat.com) |
14844 | ||
fe4b3c79 JL |
14845 | * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx. |
14846 | Update prototype and callers. | |
14847 | (propagate_one_insn): Stack pointer adjustments kill MEMs on | |
14848 | the mem_set_list which reference the stack pointer, as do | |
14849 | calls to constant functions as they may clobber outgoing | |
14850 | argument space. | |
14851 | ||
16133d00 JL |
14852 | * i386.c (ia32_multipass_dfa_lookahead): Prototype. |
14853 | ||
765b8f90 JL |
14854 | * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define. |
14855 | (ia32_multipass_dfa_lookahead): New function. | |
14856 | ||
63826d5b NB |
14857 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
14858 | ||
14859 | * gcc.c (SWITCH_TAKES_ARG): Remove 'V'. | |
14860 | (translate_options): Remove 'V'. | |
14861 | (process_command): Similarly. | |
14862 | doc: | |
14863 | * invoke.texi: Remove documentation of 'V'. | |
14864 | ||
dcb41ced UW |
14865 | 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
14866 | ||
14867 | * config/s390/linux.h: Revert 2002-04-22 changes. | |
14868 | ||
8dfea428 SM |
14869 | 2002-05-13 Scott Marks <SMarks@mobile-mind.com> |
14870 | ||
14871 | * config/fr30/fr30.md: Only allow splits of immediate loads | |
14872 | if the destination is a register. | |
14873 | ||
12a41c22 NB |
14874 | 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> |
14875 | ||
14876 | * Makefile.in (c-common.o, cppinit.o): Update. | |
14877 | * c-common.c: Include except.h. | |
14878 | (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__. | |
14879 | Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS. | |
14880 | * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here. | |
14881 | * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS, | |
14882 | CPP_PREDEFINES): Handle here. | |
14883 | config: | |
14884 | * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h, | |
14885 | alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h, | |
14886 | alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define | |
14887 | TARGET_OS_CPP_BUILTINS. | |
14888 | * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define. | |
14889 | (CPP_SPEC, EXTRA_SPECS): Update. | |
14890 | (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC, | |
14891 | CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC, | |
14892 | CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC, | |
14893 | CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC, | |
14894 | CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove. | |
14895 | doc: | |
14896 | * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove. | |
14897 | (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define. | |
14898 | ||
5692c7bc ZW |
14899 | 2002-05-12 Zack Weinberg <zack@codesourcery.com> |
14900 | ||
14901 | * emit-rtl.c (global_rtl): Update comment. | |
14902 | (const_double_htab, const_double_htab_hash, | |
14903 | const_double_htab_hash, lookup_const_double): New. | |
14904 | (const_int_htab_hash, const_int_htab_eq): Remove const | |
14905 | qualifiers, which cause tons of warnings with RTL checking on. | |
14906 | (gen_rtx_CONST_DOUBLE): Deleted. | |
14907 | (const_double_from_real_value): New function - bears some | |
14908 | resemblance to the former immed_real_const_1. | |
14909 | (immed_double_const): Moved here from varasm.c and | |
14910 | simplified. | |
14911 | (gen_rtx_REG): Make REGNO unsigned to squelch warnings. | |
14912 | (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG. | |
14913 | (gen_rtx): Use immed_double_const. | |
14914 | (init_emit_once): Initialize the const_double_htab. Use | |
14915 | REAL_VALUE_FROM_INT where possible. Can now use | |
14916 | CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx. | |
14917 | * varasm.c (struct varasm_status): Remove x_const_double_chain. | |
14918 | (const_double_chain, immed_real_const, clear_const_double_mem): Delete. | |
14919 | (immed_double_const, immed_real_const_1): Moved to emit-rtl.c. | |
14920 | (init_varasm_status, mark_varasm_status): Don't touch | |
14921 | x_const_double_chain. | |
14922 | ||
14923 | * output.h: Delete prototype for clear_const_double_mem. | |
14924 | * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading | |
14925 | '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype | |
14926 | const_double_from_real_value, not immed_real_const_1, and use | |
14927 | it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro | |
14928 | CONST_DOUBLE_ATOF. | |
14929 | * rtl.h (CONST_DOUBLE_CHAIN): Kill. | |
14930 | (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust. | |
14931 | (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes. | |
14932 | (gen_rtx_REG): Second arg is unsigned. | |
14933 | ||
14934 | * gengenrtl.c (special_rtx): Take out CONST_DOUBLE. | |
14935 | (excluded_rtx): New, return true for CONST_DOUBLE. | |
14936 | (genmacro): Write nothing for excluded codes. | |
14937 | * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE. | |
14938 | * expr.c (expand_expr): Likewise. | |
14939 | * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the | |
14940 | CONST_DOUBLE_CHAIN. | |
14941 | * toplev.c (rest_of_compilation): Don't call | |
14942 | clear_const_double_mem. | |
14943 | ||
14944 | * config/rs6000/rs6000.c (rs6000_float_const): Delete. | |
14945 | (rs6000_hash_constant): Remove CONST_DOUBLE special case. | |
14946 | (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases. | |
14947 | * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const. | |
14948 | * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF. | |
14949 | * config/dsp16xx/dsp16xx.md, config/mips/mips.md, | |
14950 | config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE. | |
14951 | * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const. | |
14952 | ||
31397a7b KG |
14953 | 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14954 | ||
14955 | * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define. | |
14956 | ||
1b70d38a TT |
14957 | 2002-05-12 Tom Tromey <tromey@redhat.com> |
14958 | ||
14959 | * tree.h (copy_node): Don't mention TREE_PERMANENT. | |
14960 | ||
9a5834ae ZW |
14961 | 2002-05-12 Zack Weinberg <zack@codesourcery.com> |
14962 | ||
14963 | * gensupport.c (n_comma_elts): Moved here from genattrtab.c. | |
14964 | (scan_comma_elt): New function. Accepts whitespace in comma lists. | |
14965 | * gensupport.h: Prototype new routines. | |
14966 | * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary | |
14967 | use of printf. | |
14968 | * genattrtab.c (n_comma_elts): Moved to gensupport.c. | |
14969 | (next_comma_elt): Use scan_comma_elt. | |
14970 | ||
14971 | * config/i386/i386.md: Use new attribute notation to break up | |
14972 | long lines in define_attr forms. | |
14973 | ||
51286de6 RH |
14974 | 2002-05-12 Richard Henderson <rth@redhat.com> |
14975 | ||
14976 | * expr.c (compress_float_constant): New. | |
14977 | (emit_move_insn): Use it. | |
14978 | (float_extend_from_mem): New. | |
14979 | (init_expr_once): Initialize it. | |
14980 | * real.c (exact_real_truncate): New. | |
14981 | ||
14982 | * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets | |
14983 | dropped into memory; penalize for size. | |
14984 | (RTX_COSTS): FLOAT_EXTEND is free. | |
14985 | * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2, | |
14986 | extenddfxf2, extenddftf2): Accept constants and drop them to memory. | |
14987 | ||
6412341e RH |
14988 | 2002-05-12 Richard Henderson <rth@redhat.com> |
14989 | ||
14990 | * profile.h (profile_info): Add missing extern to declaration. | |
14991 | * profile.c (profile_info): Define it. | |
14992 | ||
12877f09 JDA |
14993 | 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
14994 | ||
14995 | * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers | |
14996 | used for DImode and TImode. | |
14997 | ||
387f9e32 NB |
14998 | 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk> |
14999 | ||
15000 | * cpplex.c (_cpp_lex_direct): When in a directive at EOF | |
15001 | fake a newline. | |
15002 | ||
e1a0f69c ZW |
15003 | 2002-05-11 Zack Weinberg <zack@codesourcery.com> |
15004 | ||
15005 | * config/rs6000/rs6000.c (rs6000_default_long_calls, | |
15006 | rs6000_longcall_switch, rs6000_set_default_type_attributes): New. | |
15007 | (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it. | |
15008 | (rs6000_override_options): Handle -m(no-)longcall. | |
15009 | (init_cumulative_args, output_mi_thunk): Check for both | |
15010 | longcall and shortcall attributes on the function. | |
15011 | (rs6000_attribute_table): Add "shortcall". | |
15012 | (rs6000_handle_longcall_attribute): Update comment. | |
15013 | (altivec_expand_unop_builtin, altivec_expand_binop_builtin, | |
15014 | altivec_expand_ternop_builtin): Add default clauses to switches | |
15015 | to silence warnings. | |
15016 | ||
15017 | * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and | |
15018 | rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS. | |
15019 | (TARGET_OPTIONS): Add longcall and no-longcall. | |
15020 | ||
15021 | * config/rs6000/rs6000.md (call_nonlocal_sysv, | |
15022 | call_value_nonlocal_sysv): Split by alternatives. One pair | |
15023 | accepts only SYMBOL_REFs and rejects if CALL_LONG is set in | |
15024 | the call cookie. The other pair accepts only LR/CTR and has | |
15025 | no restriction. | |
15026 | ||
15027 | * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza): | |
15028 | Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to | |
15029 | tmake_file. | |
15030 | * config/rs6000/rs6000-c.c: New file. | |
15031 | * config/rs6000/t-rs6000-c-rule: New file. | |
15032 | * config/rs6000/rs6000-protos.c: Add multiple-include guard. | |
15033 | Prototype rs6000_pragma_longcall. | |
15034 | ||
15035 | * doc/extend.texi: Document shortcall attribute. | |
15036 | * doc/invoke.texi: Document -mlongcall, -mno-longcall. | |
15037 | ||
9c64026d JDA |
15038 | 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15039 | ||
15040 | * reorg.c (dbr_schedule): Remove unnecessary test. | |
15041 | ||
6c81a490 JH |
15042 | Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz> |
15043 | ||
15044 | * i386.md (testsi to testqi spliters): New. | |
15045 | ||
15046 | 2002-01-14 Josef Zlomek <zlomek@matfyz.cz> | |
15047 | ||
15048 | cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU. | |
15049 | ||
15050 | Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> | |
15051 | ||
15052 | * basic-block.h: New flag EDGE_CAN_FALLTHRU | |
15053 | * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges | |
15054 | that can be made fallthru. | |
15055 | ||
15056 | Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz> | |
15057 | ||
15058 | * cfglayout.c (cleanup_unconditional_jumps): New static function. | |
15059 | (cfg_layout_initialize): Use it. | |
4c476cf3 | 15060 | |
e4447d94 MM |
15061 | 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl> |
15062 | ||
15063 | * config/avr/avr.c (avr_mcu_types): Update supported devices. | |
15064 | * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. | |
15065 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
15066 | ||
3a538a66 KH |
15067 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
15068 | ||
15069 | * dbxout.c: Fix formatting. | |
15070 | * dependence.c: Likewise. | |
15071 | * df.c: Likewise. | |
15072 | * diagnostic.c: Likewise. | |
15073 | * doloop.c: Likewise. | |
15074 | * dominance.c: Likewise. | |
15075 | * doschk.c: Likewise. | |
15076 | * dwarf2asm.c: Likewise. | |
15077 | * dwarf2out.c: Likewise. | |
15078 | * dwarfout.c: Likewise. | |
15079 | ||
2292e8fc RH |
15080 | 2002-05-10 Richard Henderson <rth@redhat.com> |
15081 | ||
15082 | * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct. | |
15083 | Convert integers constants as needed. Replace "nwords" field with | |
15084 | "sizeof_bb". | |
15085 | (final): Save profile data if cfun->arc_profile, not profile_arc_flag. | |
15086 | * function.h: Fix typo in comment. | |
15087 | * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb". | |
15088 | ||
dbfb1116 RS |
15089 | 2002-05-10 Roger Sayle <roger@eyesopen.com> |
15090 | ||
15091 | * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127) | |
15092 | into the equivalent (signed char)c > 0. | |
15093 | ||
79a497cd JJ |
15094 | 2002-05-10 Janis Johnson <janis187@us.ibm.com> |
15095 | ||
15096 | * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New. | |
15097 | (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS. | |
15098 | (struct prefetch_info): Fix spelling of member bytes_accessed. | |
15099 | (emit_prefetch_instructions): Make dump messages more regular; | |
15100 | restructure code to add more dump messages; use new macros for | |
15101 | heuristics. (There are no code generation changes in any of this). | |
15102 | ||
6c45cb0d DM |
15103 | 2002-05-10 David S. Miller <davem@redhat.com> |
15104 | ||
7440af14 DM |
15105 | * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment. |
15106 | (struct rtx_def): Update unchanging flag comment. | |
15107 | * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description. | |
15108 | * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs | |
15109 | to be handled to INSN too. | |
15110 | (dbr_schedule): Likewise. | |
15111 | * resource.c (next_insn_no_annul): Likewise. | |
15112 | ||
6c45cb0d DM |
15113 | * cse.c (rtx_cost): Remove multiplication by power of 2 special |
15114 | casing. | |
15115 | ||
29f21e4f GP |
15116 | 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
15117 | ||
15118 | * doc/install.texi (Specific, *-*-solaris2*): Update passus on | |
15119 | setting CONFIG_SHELL to /bin/ksh and remove alternate trick to | |
15120 | (possibly) work around broken /bin/sh. | |
15121 | ||
e4ba88da RO |
15122 | 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15123 | ||
15124 | * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and | |
15125 | . as N64/N32 libgcc_s.so subdirs. | |
15126 | ||
4f4778ee DM |
15127 | 2002-05-10 David S. Miller <davem@redhat.com> |
15128 | ||
15129 | * config/sparc/sparc.md: Use define_constants for unspec numbers. | |
cf40ea15 DM |
15130 | |
15131 | * rtl.h (struct rtx_def): Document unchanging and in_struct flags | |
15132 | more accurately. | |
15133 | (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix | |
15134 | comment. | |
15135 | (INSN_FROM_TARGET_P): Valid also for CALL_INSN. | |
15136 | * doc/rtl.texi: Document these macros more accurately. | |
15137 | * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for | |
15138 | JUMP_INSNs and CALL_INSNs. | |
15139 | * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P | |
15140 | or INSN_FROM_TARGET_P if the code is appropriate. | |
15141 | ||
1a499b92 MM |
15142 | 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl> |
15143 | ||
15144 | * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF | |
15145 | before using SYMBOL_REF_FLAG (addr). | |
15146 | ||
15147 | * config/avr/avr-protos.h (avr_io_address_p): Declare. | |
15148 | * config/avr/avr.c (io_address_p): Rename to avr_io_address_p. | |
15149 | Make non-static. Update all callers. | |
15150 | * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7): | |
15151 | New insns to clear/set/test a single bit in I/O address space. | |
15152 | ||
65212b66 KG |
15153 | 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
15154 | ||
15155 | * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7. | |
15156 | ||
3df89291 NB |
15157 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15158 | ||
15159 | * Makefile.in: Update. | |
15160 | * c-common.c (flag_iso, flag_undef, cb_register_builtins, | |
15161 | builtin_define_std): New. | |
15162 | (c_common_init): Register CPP builtins callback. | |
15163 | * c-common.h (flag_iso, flag_undef): New. | |
15164 | * c-decl.c (c_decode_option): Set flag_iso and flag_undef. | |
15165 | * c-lex.c: Don't include target.h. | |
15166 | (cb_register_builtins): Move to c-common.c. | |
15167 | (init_c_lex): Don't register hook here. | |
15168 | * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New. | |
15169 | (cpp_define, cpp_assert): Remove. | |
15170 | * gcc.c (cc1_options): Pass -undef to front end. | |
15171 | * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove. | |
15172 | (TARGET_INITIALIZER): Update. | |
15173 | * target.h (struct cpp_reader): Don't predeclare. | |
15174 | (struct gcc_target): Remove cpp builtin hook. | |
15175 | * tree.c (default_register_cpp_builtins): Remove. | |
15176 | doc: | |
15177 | * tm.texi: Update. | |
15178 | ||
32fa4565 NB |
15179 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15180 | ||
15181 | * cppexp.c (_cpp_expand_op_stack): Set op_limit. | |
15182 | ||
23357c55 RO |
15183 | 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15184 | ||
15185 | * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
15186 | (SHLIB_LINK, SHLIB_INSTALL): Adjust. | |
15187 | ||
5aa26af0 JJ |
15188 | 2002-05-09 Jakub Jelinek <jakub@redhat.com> |
15189 | ||
15190 | * config/sparc/t-linux64 (SHLIB_MAPFILES): Set. | |
15191 | * config/sparc/libgcc-sparc-glibc.ver: New file. | |
15192 | * config/cris/t-linux (SHLIB_MAPFILES): Remove. | |
15193 | * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags. | |
15194 | ||
2937267b JJ |
15195 | 2002-05-09 Jakub Jelinek <jakub@redhat.com> |
15196 | ||
15197 | PR target/6429 | |
15198 | * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc. | |
15199 | * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s | |
15200 | shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for | |
15201 | base multilibs. | |
15202 | * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above. | |
15203 | * config/t-slibgcc-sld (SHLIB_LINK): Likewise. | |
15204 | * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
15205 | * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define. | |
15206 | ||
086c0f96 RH |
15207 | 2002-05-09 Richard Henderson <rth@redhat.com> |
15208 | ||
15209 | * config/ia64/ia64.md: Use define_constants for unspec numbers. | |
15210 | * config/ia64/ia64.c: Likewise. | |
15211 | ||
a8b4881f RS |
15212 | 2002-05-09 Richard Sandiford <rsandifo@redhat.com> |
15213 | ||
15214 | * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg. | |
15215 | (save_restore_insns): Likewise. | |
15216 | (mips_expand_prologue, mips_expand_epilogue): Update callers. | |
15217 | (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument. | |
15218 | ||
243e5500 | 15219 | Thu May 9 11:50:09 2002 Jeffrey A Law (law@redhat.com) |
890d52e8 | 15220 | |
af2728a4 JL |
15221 | * athlon.md, k6.md, pentium.md, ppro.md): New files. |
15222 | * i386.md: Move scheduling information into new files. | |
15223 | ||
890d52e8 JL |
15224 | * i386.md (type attribute): Add "rotate" for rotate insns. |
15225 | (rotate insns): Set type to "rotate". | |
15226 | (various attributes and function units): Treat rotate like shift. | |
15227 | (pent_pair attribute): Only rotates by one bit position are | |
15228 | pairable. | |
15229 | (sbb insns): Explicitly set pent_pair attribute on a couple | |
15230 | that were missing it. | |
15231 | ||
f78ec36a R |
15232 | Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com> |
15233 | ||
15234 | * sh.c (sh_builtin_saveregs): If starting with an odd fp register, | |
15235 | make sure that buffer starts on odd word address. | |
15236 | (sh_va_arg): Skip odd fp registers when reading a double precision | |
15237 | value. | |
15238 | ||
ff431459 NB |
15239 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15240 | ||
15241 | * tree.h (preserve_data, object_permanent_p, type_precision): | |
15242 | Remove. | |
15243 | ||
c3bf3e6e NB |
15244 | 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk> |
15245 | ||
15246 | * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison. | |
15247 | * cppmacro.c (paste_all_tokens): Bad pastes are a hard error. | |
15248 | doc: | |
15249 | * cpp.texi: Update for removal of obsolete features. | |
15250 | ||
02263a8a JH |
15251 | Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz> |
15252 | Jeffrey A Law (law@redhat.com) | |
15253 | ||
15254 | * i386.c (ia32_use_dfa_pipeline_interface): New function. Use | |
15255 | the DFA interface for Pentium processors. | |
15256 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE. | |
15257 | (attr_pent_pair, ix86_pent_find_pair): Remove. | |
15258 | (ix86_sched_reorder_pentium): Remove. | |
15259 | (ix86_sched_reorder): Remove reordering for Pentium. | |
15260 | * i386.md (Pentium scheduling): Rewrite using DFA description. | |
15261 | ||
3e638a90 JH |
15262 | Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz> |
15263 | ||
15264 | * cfganal.c (can_fallthru): Fix fast path. | |
15265 | * cfgrtl.c (verify_flow_info): Avoid crash on conditionals | |
15266 | with edges to the next block. | |
15267 | ||
b7c9bf28 JH |
15268 | Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz> |
15269 | Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> | |
15270 | ||
15271 | * final.c (end_final): Use C trees to output data structures for profiling. | |
15272 | ||
15273 | * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h | |
5692c7bc ZW |
15274 | (profile.o): New dependency profile.h |
15275 | (final.o): New dependency profile.h | |
15276 | * profile.h: New file. New global structure profile_info. | |
15277 | * final.h (count_edges_instrumented_now): Declare. | |
15278 | (current_function_cfg_checksum): Declare. | |
15279 | (function_list): New structure. | |
15280 | (functions_head, functions_tail): New static variables. | |
15281 | (end_final): Emits more data, removed some -ax stuff. | |
15282 | (final): Stores function names and chcksums. | |
15283 | * gcov-io.h (__write_gcov_string): New function. | |
15284 | (__read_gcov_string): New function. | |
15285 | * gcov.c (read_profile): New function. | |
15286 | (create_program_flow_graph): Uses read_profile instead of reading | |
b7c9bf28 | 15287 | da_file. |
5692c7bc ZW |
15288 | (read_files): Removed da_file checking, it's done by read_profile now. |
15289 | * libgcc2.c (bb_function_info): New structure. | |
15290 | (bb): New field in structure, removed some -ax stuff. | |
15291 | (__bb_exit_func): Changed structure of da_file. | |
15292 | * profile.c (count_edges_instrumented_now): New global variable. | |
15293 | (current_function_cfg_checksum): New global variable. | |
15294 | (max_counter_in_program): New global variable. | |
15295 | (get_exec_counts): New function. | |
15296 | (compute_checksum): New function. | |
15297 | (instrument_edges): Sets count_edges_instrumented_now. | |
15298 | (compute_branch_probabilities): Uses get_exec_counts instead of | |
b7c9bf28 | 15299 | reading da_file. |
5692c7bc ZW |
15300 | (branch_prob): Calls compute_checksum and writes extra data to bbg_file. |
15301 | (init_branch_prob): Removed da_file checking, done in get_exec_counts | |
b7c9bf28 | 15302 | now. |
5692c7bc | 15303 | (end_branch_prob): Removed da_file checking, done in get_exec_counts |
b7c9bf28 | 15304 | now. |
5692c7bc | 15305 | * gcov.texi: Updated information about gcov file format. |
b7c9bf28 | 15306 | |
786de7eb KH |
15307 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
15308 | ||
15309 | * sbitmap.c: Fix formatting. | |
15310 | * scan.c: Likewise. | |
15311 | * scan-decls.c: Likewise. | |
15312 | * sched-deps.c: Likewise. | |
15313 | * sched-ebb.c: Likewise. | |
15314 | * sched-rgn.c: Likewise. | |
15315 | * sched-vis.c: Likewise. | |
15316 | * sdbout.c: Likewise. | |
15317 | * sibcall.c: Likewise. | |
15318 | * simplify-rtx.c: Likewise. | |
15319 | * ssa.c: Likewise. | |
15320 | * ssa-ccp.c: Likewise. | |
15321 | * ssa-dce.c: Likewise. | |
15322 | * stmt.c: Likewise. | |
15323 | * stor-layout.c: Likewise. | |
15324 | * stringpool.c: Likewise. | |
15325 | ||
b7764693 DM |
15326 | 2002-05-09 David S. Miller <davem@redhat.com> |
15327 | ||
15328 | * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9. | |
15329 | ||
4e7d5d27 DM |
15330 | 2002-05-07 David S. Miller <davem@redhat.com> |
15331 | ||
15332 | * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero. | |
15333 | * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one. | |
15334 | * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp | |
15335 | library implementation clobbers the output before the inputs | |
15336 | are fully consumed, use stack temporary for the output. | |
15337 | ||
f979570e JT |
15338 | 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com> |
15339 | ||
15340 | * config/netbsd.h (CPP_SPEC): Remove. | |
15341 | * config/i386/netbsd-elf.h (CPP_SPEC): Define. | |
15342 | * config/i386/netbsd.h (CPP_SPEC): Define. | |
15343 | * config/ns32k/netbsd.h (CPP_SPEC): Define. | |
15344 | * config/sparc/netbsd-elf.h (CPP_SPEC): Remove. | |
15345 | * config/sparc/netbsd.h (CPP_SPEC): Define. | |
15346 | * config/vax/netbsd.h (CPP_SPEC): Define. | |
15347 | ||
a6a2274a KH |
15348 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
15349 | ||
15350 | * read-rtl.c: Fix formatting. | |
15351 | * real.c: Likewise. | |
15352 | * recog.c: Likewise. | |
15353 | * regclass.c: Likewise. | |
15354 | * regmove.c: Likewise. | |
15355 | * reg-stack.c: Likewise. | |
15356 | * reload1.c: Likewise. | |
15357 | * reload.c: Likewise. | |
15358 | * resource.c: Likewise. | |
15359 | * rtlanal.c: Likewise. | |
15360 | * rtl.c: Likewise. | |
15361 | * rtl-error.c: Likewise. | |
15362 | ||
461b48d5 JDA |
15363 | 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
15364 | ||
15365 | * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete. | |
15366 | * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete. | |
15367 | ||
95d075ff BS |
15368 | 2002-05-08 Bernd Schmidt <bernds@redhat.com> |
15369 | ||
15370 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to | |
15371 | use __SSE2__ macro instead. | |
15372 | * config/i386/xmmintrin.h: Likewise. | |
15373 | ||
2d4cc6a7 JJ |
15374 | 2002-05-08 Janis Johnson <janis187@us.ibm.com> |
15375 | ||
15376 | * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, | |
15377 | and use it in all invocations of these macros. Clean up comments. | |
15378 | * rtl.c (rtl_check_failed_flag): Add an argument for the name | |
15379 | of the flag access macro whose check failed. | |
15380 | * doc/rtl.texi (Flags): Document additional flag uses. | |
15381 | ||
3f8ffc7c RS |
15382 | 2002-05-08 Robert Spier <rspier@pobox.com> |
15383 | Neil Booth <neil@daikokuya.demon.co.uk> | |
15384 | ||
15385 | PR preprocessor/6521 | |
15386 | * cppfiles.c (handle_missing_header): Don't do anything | |
15387 | different for <> includes. | |
15388 | doc: | |
15389 | * cppopts.texi: Update documentation for -MG. | |
15390 | ||
b9e2d17b NB |
15391 | 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk> |
15392 | ||
15393 | * cpplex.c (cpp_interpret_charconst): Truncate as well as | |
15394 | sign-extend. | |
15395 | doc: | |
15396 | * cpp.texi: Clarify multichar charconst valuation. | |
15397 | ||
8d8269fa MM |
15398 | 2002-05-08 Mark Mitchell <mark@codesourcery.com> |
15399 | ||
15400 | * doc/invoke.texi: Document -mwindiss option. | |
15401 | ||
29b91443 JM |
15402 | 2002-05-08 Jason Merrill <jason@redhat.com> |
15403 | ||
15404 | * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs. | |
15405 | ||
15406 | * dwarf2out.c (gen_type_die): Abort on broken recursion. | |
15407 | ||
15408 | PR c++/6381 | |
15409 | * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and | |
15410 | REAL_CST. | |
15411 | ||
6c76b950 NC |
15412 | 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com> |
15413 | ||
15414 | * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/ | |
15415 | little-endian multilibs to override arm/thumb multilibs. | |
a5c76ee6 | 15416 | Do not build hardware floating point multilibs, nor apcs-26 |
6c76b950 NC |
15417 | multilibs for the Thumb. |
15418 | ||
f90bf7ca MM |
15419 | 2002-05-08 Mark Mitchell <mark@codesourcery.com> |
15420 | ||
15421 | PR c/6569. | |
15422 | * varasm.c (mark_weak): New function. | |
15423 | (merge_weak): Use it. Do not call declare_weak. | |
15424 | (declare_weak): Use merge_weak. | |
15425 | ||
1e150f2c JH |
15426 | Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
15427 | ||
15428 | * cse.c (dead_libcall_p): Update counts. | |
15429 | (delete_trivially_dead_insns): Update call of dead_libcall_p. | |
15430 | ||
969d70ca JH |
15431 | Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz> |
15432 | ||
15433 | * cfglayout.c (function_tail_eff_head): Rename to ... | |
15434 | (function_footer): ... this one. | |
15435 | (unlink_insn_chain): New functions. | |
15436 | (label_for_bb): Only call block_label and emit debug message. | |
15437 | (record_effective_endpoints): Actually unlink the headers and footers. | |
15438 | (fixup_reorder_cahin): Re-insert the unlinked sequences. | |
15439 | (cfg_layout_duplicate_bb): Use duplicate_insn_chain. | |
15440 | * cfglayout.h (struct reorder_block_def): New fields footer/header; | |
15441 | remove eff_head/eff_end. | |
15442 | * rtl.h (set_first_insn): Declare. | |
15443 | * emit-rtl.c (set_first_insn): New function. | |
15444 | ||
15445 | * cfglayout.c (fixup_reorder_chain): Dump duplicated | |
15446 | (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge, | |
15447 | cfg_layout_duplicate_bb): New global function. | |
15448 | (duplicate_insn_chain): New static function. | |
15449 | * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge, | |
15450 | cfg_layout_duplicate_bb): Declare. | |
15451 | (struct reorder_block_def): Add "original" field. | |
15452 | * emit-rtl.c (emit_copy_of_insn_after): New function. | |
15453 | * rtl.h (emit_copy_of_insn_after): Declare. | |
15454 | ||
15455 | * cfglayout.c (fixup_fallthru_exit_predecessor): Kill. | |
15456 | (fixup_reorder_chain): properly handle edges to exit block. | |
15457 | ||
15458 | Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
15459 | Jan Hubicka <jh@suse.cz> | |
15460 | ||
15461 | * basic-block.h (note_prediction_to_br_prob): declare. | |
15462 | * c-semantics.c: Inlucde predit.h | |
15463 | (expand_stmt): predict GOTO_STMT as not taken. | |
15464 | * cfgcleanup.c: (delete_unreachable_blocks): Make global. | |
15465 | (cleanup_cfg): Do not free tail_recursion_list. | |
15466 | * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION. | |
15467 | (flow_delete_block): Kill predictions past end of basic block. | |
15468 | * output.h (delete_unreachable_blocks): Declare. | |
15469 | * predict.c (predicted_by_p, process_note_predictions, | |
15470 | process_note_prediction, last_block_p): New function. | |
15471 | (estimate_probability): Bypass loop on PRED_CONTINUE; | |
15472 | do not handle noreturn heuristics; kill PRED_RETURN; add | |
15473 | PRED_EARLY_RETURN. | |
15474 | * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO, | |
15475 | PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New. | |
15476 | * predict.h (IS_TAKEN): New constant. | |
15477 | * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION. | |
15478 | * rtl.c (NOTE_INSN_PREDICTION): New. | |
15479 | * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS): | |
15480 | New macro. | |
15481 | (insn_note): add NOTE_INSN_PREDICTION. | |
15482 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build | |
15483 | CFG; free tail_recursion_label_list. | |
15484 | * stmt.c: Include predict.h; | |
15485 | (return_prediction): New. | |
15486 | (expand_value_return): Use it. | |
15487 | * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall. | |
15488 | ||
41f8d041 RS |
15489 | 2002-05-08 Richard Sandiford <rsandifo@redhat.com> |
15490 | ||
15491 | * config/mips/mips.md: Name the unspecs with define_constant. | |
15492 | (*HILO_delay): Rename to 'hilo_delay' (no star). | |
15493 | (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay. | |
15494 | (reload_outdi, reload_outsi): Likewise. | |
15495 | ||
9cabb1d8 KH |
15496 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
15497 | ||
15498 | * toplev.c: Fix formatting. | |
15499 | ||
4c76f856 JJ |
15500 | 2002-05-07 Janis Johnson <janis187@us.ibm.com> |
15501 | ||
15502 | * config.in (ENABLE_RTL_FLAG_CHECKING): New. | |
15503 | * configure.in (ac_rtlflag_checking): New. | |
15504 | * doc/install.texi (--enable-checking): Document RTL flag checking. | |
15505 | ||
44a147ad NB |
15506 | 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk> |
15507 | ||
15508 | * c-common.c (c_common_init): Set options->unsigned_wchar. | |
15509 | * cppinit.c (cpp_create_reader): Default unsigned_wchar, | |
15510 | group target dependencies. | |
15511 | (init_builtins, cpp_handle_option): Update. | |
15512 | * cpplex.c (cpp_interpret_charconst): Update. | |
15513 | * cpplib.h (struct cpp_options): Add unsigned_wchar, rename | |
15514 | signed_char to unsigned_char, group target dependencies. | |
15515 | * defaults.h (WCHAR_UNSIGNED): Remove. | |
15516 | * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison. | |
15517 | config: | |
15518 | * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h, | |
15519 | i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h, | |
15520 | i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h, | |
15521 | i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h, | |
15522 | sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED. | |
15523 | doc: | |
15524 | * tm.texi: Remove MAX_CHAR_TYPE_SIZE. | |
15525 | ||
cace4f93 MM |
15526 | 2002-05-07 Mark Mitchell <mark@codesourcery.com> |
15527 | ||
15528 | * fixinc/inclhack.def (windiss_math1): New fix. | |
15529 | (windiss_math2): Likewise. | |
15530 | (windiss_valist): Likewise. | |
15531 | * fixinc/fixincl.x: Regenerated. | |
15532 | ||
e2ff6cee AJ |
15533 | 2002-05-07 Andreas Jaeger <aj@suse.de> |
15534 | ||
15535 | * genautomata.c (output_internal_min_issue_delay_func): Add | |
15536 | ATTRIBUTE_UNUSED to avoid warning with empty dfa. | |
15537 | (output_internal_trans_func): Likewise. | |
15538 | ||
bdad4be5 JL |
15539 | Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com) |
15540 | ||
15541 | * pa.c (hppa_profile_hook): Use force_reg to get the address | |
15542 | of the profile hook into an appropriate pseudo register. | |
15543 | ||
a1ffecd9 MM |
15544 | 2002-05-07 Mark Mitchell <mark@codesourcery.com> |
15545 | ||
15546 | * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss. | |
15547 | (LINK_START_SPEC): Handle it. | |
15548 | (LINK_OS_SPEC): Likewise. | |
15549 | (CPP_SPEC): Likewise. | |
15550 | (STARTFILE_SPEC): Likewise. | |
15551 | (LIB_SPEC): Likewise. | |
15552 | (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on | |
15553 | all platforms. | |
15554 | (CRTSAVRES_DEFAULT_SPEC): New macro. | |
15555 | (LIB_WINDISS_SPEC): New macro. | |
15556 | (CPP_OS_WINDISS_SPEC): Likewise. | |
15557 | (STARTFILE_WINDISS_SPEC): Likewise. | |
15558 | (ENDFILE_WINDISS_SPEC): Likewise. | |
15559 | (LINK_START_WINDISS_SPEC): Likewise. | |
15560 | (LINK_OS_WINDISS_SPEC): Likewise. | |
15561 | * config/rs6000/windiss.h: New file. | |
e2ff6cee | 15562 | |
df966bff AH |
15563 | 2002-05-07 Aldy Hernandez <aldyh@redhat.com> |
15564 | ||
a5c76ee6 | 15565 | * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos. |
df966bff | 15566 | |
db84f1bd DM |
15567 | 2002-05-06 David S. Miller <davem@redhat.com> |
15568 | ||
15569 | * config/sparc/sparc.md (shift insns): Do not mask off | |
15570 | second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED | |
15571 | take care of it. | |
15572 | ||
818c0c94 RH |
15573 | 2002-05-06 Richard Henderson <rth@redhat.com> |
15574 | ||
15575 | PR c++/6212 | |
15576 | * expr.c (highest_pow2_factor_for_type): New. | |
15577 | (expand_assignment): Use it. | |
15578 | ||
61e0b50f AH |
15579 | 2002-05-06 Aldy Hernandez <aldyh@redhat.com> |
15580 | ||
818c0c94 RH |
15581 | * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to |
15582 | unspec_volatile. | |
15583 | ("altivec_mfvscr"): Same. | |
61e0b50f | 15584 | |
5a63e069 JJ |
15585 | 2002-05-06 Janis Johnson <janis187@us.ibm.com> |
15586 | ||
15587 | * rtl.h (struct rtx_def): Update comments. | |
15588 | (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare. | |
15589 | (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use | |
15590 | RTL_FLAG_CHECK macros with list of expected RTL codes. | |
15591 | * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro. | |
15592 | (rtl_check_failed_flag): New. | |
15593 | * reload1.c (reload): Use REG macro before changing rtx to MEM. | |
15594 | (reload_cse_noop_set_p): Check rtx code before using access macro. | |
15595 | * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code | |
15596 | before using access macro. | |
15597 | ||
4afe3952 JJ |
15598 | 2002-05-06 Janis Johnson <janis187@us.ibm.com> |
15599 | ||
15600 | * doc/rtl.texi (Flags): Update to reflect current usage. | |
15601 | ||
1f77b5da RS |
15602 | 2002-05-06 Roger Sayle <roger@eyesopen.com> |
15603 | ||
15604 | PR opt/3995 | |
15605 | * fold-const.c (sign_bit_p): New function. | |
15606 | (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and | |
818c0c94 | 15607 | (A & C) != 0 into A < 0, when constant C is the sign bit of A's type. |
1f77b5da RS |
15608 | Reapply fold when converting (A & C) == C into (A & C) != 0. |
15609 | (fold_binary_op_with_conditional_arg): Fix typo in comment. | |
15610 | ||
a5a49440 NB |
15611 | 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk> |
15612 | ||
15613 | * c-common.c (warn_multichar): New. | |
15614 | (c_common_init): Set CPP's warn_multichar. | |
15615 | * c-common.h (warn_multichar): New. | |
15616 | * c-decl.c (warn_multichar): Remove. | |
15617 | * c-lex.c (lex_charconst): Update. | |
15618 | * c-tree.h (warn_multichar): Remove. | |
15619 | * cppexp.c (eval_token): Sign-extend charconst value. | |
15620 | * cppinit.c (cpp_create_reader): Set warn_multichar. | |
15621 | * cpplex.c (cpp_interpret_charconst): Don't sign-extend | |
15622 | each character. Update prototype. Sign-extend the result. | |
15623 | * cpplib.h: Fix conditions. | |
15624 | (struct cpp_options): Add new warning flag. | |
15625 | (cpp_interpret_charconst): Update prototype. | |
15626 | doc: | |
15627 | * cpp.texi: Update documentation. | |
15628 | ||
83e0be55 VM |
15629 | 2002-05-06 Vladimir Makarov <vmakarov@redhat.com> |
15630 | ||
15631 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp): | |
15632 | Fix typo in usage of allof instead of unit. | |
15633 | ||
688ec718 RH |
15634 | 2002-05-06 Richard Henderson <rth@redhat.com> |
15635 | ||
15636 | * recog.c (if_test_bypass_p): Accept multiple set insns for OUT, | |
15637 | and any jump or call for IN. | |
15638 | ||
f6536266 BS |
15639 | 2002-05-06 Bernd Schmidt <bernds@redhat.com> |
15640 | ||
e2ff6cee | 15641 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if |
f6536266 BS |
15642 | -msse2. |
15643 | * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support. | |
e2ff6cee | 15644 | |
0316d49b RS |
15645 | 2002-05-06 Roger Sayle <roger@eyesopen.com> |
15646 | ||
15647 | * fold-const.c (lshift-double): Cast the high word to an unsigned | |
15648 | HOST_WIDE_INT when extracting sign bit to avoid compiler warning. | |
15649 | (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to | |
15650 | avoid compiler warning. (fold): Remove redundant code from | |
15651 | BIT_AND_EXPR as integer operands are canonicalized to be arg1. | |
15652 | ||
5d50fab3 JL |
15653 | 2002-05-06 Jeff Law <law@redhat.com> |
15654 | ||
15655 | * pa-protos.h (hppa_fpstore_bypass_p): Declare. | |
15656 | * pa.c (pa_adjust_cost): Remove all true dependency cost | |
15657 | adjustments. Also remove support for non-DFA scheduling. | |
15658 | * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism | |
15659 | to adjust true dependency costs. Update various comments. | |
15660 | (7100lc, 7200, 7300 scheduling): Simplify by combining the | |
15661 | FP ALU & MPY units into a single unit. | |
15662 | ||
a17a104c CM |
15663 | 2002-05-06 Catherine Moore <clm@redhat.com> |
15664 | ||
15665 | * config/v850/v850.c (compute_register_save_size): Make sure | |
818c0c94 | 15666 | to count all of the registers that will be saved. |
a17a104c | 15667 | |
7799175f JH |
15668 | Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz> |
15669 | ||
15670 | * i386.c (q_regs_operand): Use ANY_QI_REGS_P. | |
15671 | ||
0ac941a0 DM |
15672 | 2002-05-06 David S. Miller <davem@redhat.com> |
15673 | ||
15674 | * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not | |
15675 | allow result to overlap input operands in memory. | |
15676 | ||
95ff5d3f NB |
15677 | 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk> |
15678 | ||
15679 | doc: | |
15680 | * cpp.texi: Update multichar charconst docs. | |
15681 | ||
639e8b0c NB |
15682 | 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk> |
15683 | ||
15684 | * cpplex.c (cpp_interpret_charconst): Sign-extend each | |
15685 | character. Don't ignore excess characters. Treat | |
15686 | multicharacter character constants as signed. | |
15687 | (cpp_parse_escape): Clarify diagnostic. | |
15688 | ||
84ea5bc1 JJ |
15689 | 2002-05-05 Jakub Jelinek <jakub@redhat.com> |
15690 | ||
15691 | * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx, | |
15692 | use add instead of shift. | |
15693 | (ashldi3_sp64): Likewise. | |
15694 | (ashlsi3_const1, ashldi3_const1): Remove. | |
15695 | * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand. | |
15696 | * config/sparc/sparc.c (const1_operand): New. | |
15697 | ||
40cd22f2 JT |
15698 | 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com> |
15699 | ||
15700 | * config.gcc (alpha*-*-netbsd*): Don't use crtstuff. | |
15701 | ||
cac01076 JJ |
15702 | 2002-05-05 Jakub Jelinek <jakub@redhat.com> |
15703 | ||
15704 | PR target/6561 | |
15705 | * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2. | |
15706 | ||
98791e3a RH |
15707 | 2002-05-05 Richard Henderson <rth@redhat.com> |
15708 | ||
15709 | * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but | |
15710 | memory latency adjustments. | |
15711 | (alpha_variable_issue): Remove. | |
15712 | (alpha_use_dfa_pipeline_interface): New. | |
15713 | (alpha_multipass_dfa_lookahead): New. | |
15714 | * config/alpha/alpha.md: Remove define_function_unit scheduling; | |
15715 | include new dfa scheduling. | |
15716 | (attr type): Add none. | |
15717 | (blockage): Use it. | |
15718 | * config/alpha/ev4.md: New. | |
15719 | * config/alpha/ev5.md: New. | |
15720 | * config/alpha/ev6.md: New. | |
15721 | ||
309527ce DM |
15722 | 2002-05-05 David S. Miller <davem@redhat.com> |
15723 | ||
15724 | * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL. | |
15725 | ||
68252e27 KH |
15726 | 2002-05-05 Kazu Hirata <kazu@cs.umass.edu> |
15727 | ||
15728 | * cse.c: Fix formatting. | |
15729 | * emit-rtl.c: Likewise. | |
15730 | ||
30cc9d00 VM |
15731 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
15732 | ||
15733 | * genautomata.c (initiate_states): Add additional guard to | |
15734 | initialize `units_array'. | |
15735 | ||
deb09eff VM |
15736 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
15737 | ||
15738 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp, | |
15739 | process_unit_to_form_the_same_automaton_unit_lists, | |
15740 | form_the_same_automaton_unit_lists | |
15741 | check_unit_distributions_to_automata): New prototypes and | |
15742 | functions. | |
15743 | (check_automata): Rename it into `check_automata_insn_issues'. | |
15744 | (unit_decl): New fields `the_same_automaton_unit' and | |
15745 | `the_same_automaton_message_reported_p'. | |
15746 | (unit_decl_t): New typedef. | |
15747 | (the_same_automaton_lists): New gloval variable. | |
15748 | (unit_regexp, unit_set_el, units_array, units_cmp, | |
15749 | output_get_cpu_unit_code_func): Use the typedef. | |
15750 | (evaluate_max_reserv_cycles): Increment | |
15751 | `description->max_insn_reserv_cycles'. | |
15752 | (initiate_states): Don't increment `max_cycles_num'. | |
15753 | (transform_insn_regexps): Move code around transformation of | |
15754 | regexps from `generate'. | |
15755 | (generate): Remove call of `transform_insn_regexps'. | |
15756 | (expand_automata): Call `transform_insn_regexps' and | |
15757 | `check_unit_distributions_to_automata'. Check errors before | |
15758 | `generate'. | |
15759 | ||
15760 | * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into | |
15761 | automaton `ultrasparc3_1'. | |
e2ff6cee | 15762 | |
2443d4e1 NB |
15763 | 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk> |
15764 | ||
15765 | * c-common.c (c_common_init): Set up CPP arithmetic. | |
15766 | * cppinit.c (cpp_create_reader): Default CPP arithmetic to | |
15767 | something reasonable for the host. | |
15768 | (sanity_checks): Add checks. | |
15769 | (cpp_read_main_file): Call sanity_checks() from here... | |
15770 | (cpp_post_options): ... not here. | |
15771 | * cpplex.c (cpp_interpret_charconst): Get max_chars right. | |
15772 | * cpplib.h (struct cpp_options): New member int_precision. | |
15773 | ||
791a949f FS |
15774 | 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
15775 | ||
15776 | * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements. | |
15777 | ||
091fb516 DM |
15778 | 2002-05-04 David S. Miller <davem@redhat.com> |
15779 | ||
f60ebeb7 DM |
15780 | * config/sparc/linux.h, config/sparc/linux64.h |
15781 | (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice. | |
15782 | ||
214c6394 DM |
15783 | * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of |
15784 | more RTX codes. | |
15785 | * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes. | |
15786 | ||
091fb516 DM |
15787 | * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL |
15788 | of SETs. | |
15789 | ||
f2fdc802 TJ |
15790 | 2002-05-05 Tim Josling <tej@melbpc.org.au> |
15791 | ||
e2ff6cee | 15792 | * treelang; New directory for new sample language treelang. |
f2fdc802 | 15793 | |
3d90d290 NB |
15794 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
15795 | ||
15796 | * Makefile.in (c-lex.o): Update. | |
15797 | * c-lex.c: Include target.h. | |
15798 | (cb_register_builtins): New. | |
15799 | (init_c_lex): Set builtins callback. | |
15800 | * c-lex.h (cpp_define, cpp_assert): New prototypes. | |
15801 | * cppinit.c (init_builtins): Use callback, including for | |
15802 | GXX_WEAK. | |
15803 | * cpplib.h (struct cpp_callbacks): New member. | |
15804 | * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New. | |
15805 | (TARGET_INITIALIZER): Update. | |
15806 | * target.h (struct gcc_target): New hook. | |
15807 | * tree.c (default_register_cpp_builtins): New. | |
15808 | * tree.h (default_register_cpp_builtins): New. | |
15809 | doc: | |
15810 | * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document. | |
15811 | ||
625458d0 NB |
15812 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
15813 | ||
15814 | * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h | |
15815 | (cpp_post_options): Move sanity checks to... | |
15816 | (sanity_checks): New. | |
15817 | * cpplex.c (maybe_read_ucs): Fix prototype. | |
15818 | (parse_string, cpp_parse_escape): Cast for %c format specifier. | |
15819 | * cpplib.h (cppchar_t): Use unsigned long or unsigned long long | |
15820 | if necessary. | |
15821 | ||
916b60b7 BS |
15822 | 2002-05-04 Bernd Schmidt <bernds@redhat.com> |
15823 | ||
15824 | * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2 | |
15825 | builtins. Use V2DI patterns instead of TI for logical operations. | |
15826 | (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins. | |
15827 | Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps. | |
15828 | (ix86_expand_builtins): Change the pattern used for movntdq. | |
15829 | * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3, | |
15830 | sse2_nandv2di3): New patterns. | |
15831 | (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes | |
15832 | on operands. | |
15833 | (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted. | |
15834 | (cvtdq2pd): Correct mode on operand 1. | |
15835 | (sse2_umulsidi3): Describe without unspec. | |
15836 | (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate | |
15837 | machine modes. | |
15838 | (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec. | |
15839 | (ashlv2di3): Likewise, from sse2_ashlv2di3. | |
15840 | (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3, | |
15841 | ashlv4si3, ashlv2di3): Use SImode for shift count. | |
15842 | (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti, | |
15843 | lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti): | |
15844 | New patterns. | |
15845 | * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi): | |
15846 | New typedefs. | |
15847 | (__m128i, __m128d): New macros. | |
15848 | (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd, | |
15849 | _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd, | |
15850 | _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd, | |
15851 | _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd, | |
15852 | _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd, | |
e2ff6cee | 15853 | _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd, |
916b60b7 BS |
15854 | _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd, |
15855 | _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd, | |
e2ff6cee | 15856 | _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd, |
916b60b7 BS |
15857 | _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd, |
15858 | _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd, | |
15859 | _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd, | |
15860 | _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd, | |
15861 | _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps, | |
15862 | _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32, | |
15863 | _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32, | |
15864 | _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd, | |
15865 | _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd, | |
15866 | _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16, | |
15867 | _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32, | |
15868 | _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32, | |
15869 | _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64, | |
15870 | _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16, | |
15871 | _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64, | |
15872 | _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16, | |
15873 | _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16, | |
15874 | _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, | |
15875 | _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, | |
15876 | _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64, | |
15877 | _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32, | |
15878 | _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128, | |
15879 | _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32, | |
15880 | _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16, | |
15881 | _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8, | |
15882 | _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16, | |
15883 | _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd, | |
15884 | _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New | |
15885 | functions. | |
e2ff6cee | 15886 | (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32, |
916b60b7 BS |
15887 | _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros. |
15888 | ||
c26fbbca KH |
15889 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
15890 | ||
15891 | * dwarf2out.c: Fix formatting. | |
15892 | * varasm.c: Likewise. | |
15893 | ||
0387639b DE |
15894 | 2002-05-04 David Edelsohn <edelsohn@gnu.org> |
15895 | ||
15896 | PR c/6543 | |
15897 | * config/rs6000/rs6000.md (sCC pattern and splitter): Remove | |
15898 | clobber and use result as temporary value. | |
15899 | ||
8a28dbcc JH |
15900 | Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
15901 | ||
15902 | * expr.c (force_operand): Use expand_simple_* to handle more | |
15903 | cases. | |
15904 | ||
4268e8bb NB |
15905 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
15906 | ||
15907 | * c-lex.c (lex_string): Let cpp_parse_escape handles truncation | |
15908 | and sign-extension. | |
15909 | (lex_charconst): Update for change in prototype of | |
15910 | cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT | |
15911 | appropriately. | |
15912 | * cpphash.h (BITS_PER_CPPCHAR_T): New. | |
15913 | * cppinit.c (cpp_create_reader): Initialize them for no | |
15914 | change in semantics. | |
15915 | (cpp_post_options): Add sanity checks. | |
15916 | * cpplex.c (cpp_parse_escape): Handle precision, sign-extension | |
15917 | and truncation issues. Calculate in type cppchar_t. | |
15918 | (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove. | |
15919 | (cpp_interpret_charconst): Calculate in type cppchar_t. Handle | |
15920 | run-time dependent precision correctly. Return whether the | |
15921 | result is signed or not. | |
15922 | * cpplib.c (dequote_string): Use cppchar_t; update. | |
15923 | * cpplib.h (cppchar_signed_t): New. | |
15924 | struct cpp_options): New precision members. | |
15925 | (cpp_interpret_charconst, cpp_parse_escape): Update prototypes. | |
ae1a07e0 | 15926 | * cppexp.c (eval_token): Update. |
4268e8bb | 15927 | |
af54350e DM |
15928 | 2002-05-03 David S. Miller <davem@redhat.com> |
15929 | ||
2ce04b6b DM |
15930 | * config/sparc/sparc-protos.h (sparc_rtx_costs): New. |
15931 | * config/sparc/sparc.c (sparc_rtx_costs): New function | |
15932 | implementing RTX_COSTS and CONST_COSTS. | |
15933 | * config/sparc/sparc.h (CONST_COSTS): Delete. | |
15934 | (RTX_COSTS_CASES): Define. | |
15935 | (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do | |
15936 | the work. | |
15937 | ||
a1d9bd0c DM |
15938 | * config/sparc/sparc.md (DFA schedulers): Split out... |
15939 | * config/sparc/cypress.md, config/sparc/hypersparc.md, | |
15940 | config/sparc/sparclet.md, config/sparc/supersparc.md, | |
15941 | config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here. | |
15942 | ||
e87bb82e | 15943 | * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef |
981f6289 | 15944 | checks on it, always defined for SPARC. |
e87bb82e | 15945 | |
af54350e DM |
15946 | * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): |
15947 | Tweak, and add more detailed comments. | |
15948 | ||
935bfb44 ZW |
15949 | 2002-05-03 Zack Weinberg <zack@codesourcery.com> |
15950 | ||
15951 | * Re-apply patch accidentally reverted with | |
15952 | DFA scheduler merge: remove all rules and variables to slurp | |
15953 | source files out of libiberty and rebuild them with HOST_CC. | |
15954 | ($(HOST_PREFIX_1)varray.o): New rule. | |
15955 | (genattrtab rule): Word wrap. | |
15956 | ||
fa7a0712 JT |
15957 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
15958 | ||
15959 | * config/i386/netbsd64.h (CPP_LP64_SPEC): Define. | |
15960 | (CPP_SUBTARGET_SPEC): Define. | |
15961 | (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and | |
15962 | cpp_subtarget specs. | |
15963 | (CPP_SPEC): Redefine to include %(cpp_subtarget). | |
15964 | ||
14c93978 DM |
15965 | 2002-05-03 David S. Miller <davem@redhat.com> |
15966 | ||
15967 | * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
15968 | * target.h (struct gcc_target): Delete cycle_display member. | |
15969 | ||
14d118d6 DM |
15970 | * config/ia64/ia64.c (ia64_emit_insn_before): Put it back. |
15971 | (rtx_needs_barrier): Delete reference to cycle_display unspec. | |
15972 | (ia64_sched_reorder2): Mention need for cycle display handling | |
15973 | once such notes exist. | |
935bfb44 | 15974 | |
b3ae1ccd RH |
15975 | 2002-05-03 Richard Henderson <rth@redhat.com> |
15976 | ||
15977 | * real.c (etoasc): Strip most trailing zeros for clarity. | |
15978 | * sched-vis.c: Include real.h. | |
15979 | (print_value): Use REAL_VALUE_TO_DECIMAL as needed. | |
15980 | * Makefile.in (sched-vis.o): Add real.h. | |
15981 | ||
8f39865a DM |
15982 | 2002-05-03 David S. Miller <davem@redhat.com> |
15983 | ||
15984 | * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, | |
15985 | no longer needed. | |
15986 | ||
b44140e7 AH |
15987 | 2002-05-03 Aldy Hernandez <aldyh@redhat.com> |
15988 | ||
935bfb44 ZW |
15989 | * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out |
15990 | when we get an out of range literal. | |
15991 | (altivec_expand_ternop_builtin): Same. | |
15992 | (altivec_expand_unop_builtin): Same. | |
15993 | (altivec_expand_builtin): Same, for dss. | |
15994 | (altivec_expand_builtin): Use trees instead of rtl when | |
15995 | determining literal argument validity. | |
b44140e7 | 15996 | |
aaaed752 DM |
15997 | 2002-05-03 David S. Miller <davem@redhat.com> |
15998 | ||
15999 | Delete cycle display scheduling hook. | |
16000 | * config/ia64/ia64.c (ia64_cycle_display, | |
16001 | TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete. | |
16002 | (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display | |
16003 | and use emit_insn_before instead of ia64_emit_insn_before. | |
16004 | * config/ia64/ia64.md (unspec usage): Delete cycle display. | |
16005 | (cycle_display): Delete insn pattern. | |
16006 | * config/sparc/sparc.md (unspec usage): Delete cycle display. | |
16007 | (cycle_display): Delete insn pattern. | |
16008 | * config/sparc/sparc.c (sparc_cycle_display, | |
16009 | TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
16010 | * doc/md.texi (cycle_display): Don't mention. | |
16011 | * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise. | |
935bfb44 | 16012 | |
b37c2614 RH |
16013 | 2002-05-03 Richard Henderson <rth@redhat.com> |
16014 | ||
16015 | * recog.c (store_data_bypass_p, if_test_bypass_p): New. | |
16016 | * recog.h: Declare them. | |
16017 | ||
16018 | * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove. | |
16019 | * config/sparc/sparc.md: Use store_data_bypass_p instead. | |
16020 | * config/sparc/sparc-protos.h: Update. | |
935bfb44 | 16021 | |
e1c1132e JT |
16022 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
16023 | ||
16024 | * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove | |
16025 | -D__arch64__. Add -D_LP64. | |
16026 | (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version | |
16027 | from sparc.h. | |
16028 | (CPP_ARCH64_SPEC): Likewise. | |
16029 | (NO_BUILTIN_PTRDIFF_TYPE): Undef. | |
16030 | (NO_BUILTIN_SIZE_TYPE): Undef. | |
16031 | ||
0b2fb0d7 VM |
16032 | 2002-05-03 Vladimir Makarov <vmakarov@redhat.com> |
16033 | ||
16034 | * genautomata.c (min_issue_delay_pass_states): Change return type | |
16035 | in the prototype. | |
16036 | (min_issue_delay_pass_states): Change the algorithm. | |
16037 | (min_issue_delay): Set up min_insn_issue_delay for the state. | |
16038 | (output_min_issue_delay_table): Interchange the nested loops and | |
16039 | and initiate min_insn_issue_delay for states. | |
935bfb44 | 16040 | |
3d4ce12a JH |
16041 | Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz> |
16042 | ||
16043 | * cfgcleanup.c (try_optimize_cfg): Call merge_block only when | |
16044 | jump is simplejump. | |
16045 | ||
16046 | Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz> | |
37ad04a5 JH |
16047 | |
16048 | * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops | |
16049 | sequence. | |
16050 | ||
b5482208 RH |
16051 | 2002-05-03 Richard Henderson <rth@redhat.com> |
16052 | ||
16053 | PR opt/6534 | |
16054 | * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, | |
16055 | noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove, | |
16056 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new | |
16057 | code before JUMP, not EARLIEST. | |
16058 | ||
5a3085c5 JM |
16059 | 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk> |
16060 | ||
16061 | * c-format.c (check_format_info_main): Don't check for presence of | |
16062 | parameter for * width until after operand number has been read, | |
16063 | and only check for it if format parameters are available. | |
16064 | Fixes PR c/6547. | |
16065 | ||
40039424 JT |
16066 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
16067 | ||
16068 | * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64. | |
16069 | (LINK_SPEC): Undef before defining. | |
16070 | ||
8157303b JJ |
16071 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
16072 | ||
16073 | PR preprocessor/6489 | |
16074 | * tradcpp.c (fixup_newlines): New. | |
16075 | (main, finclude): Use it. | |
16076 | ||
66319f5c RS |
16077 | 2002-05-03 Richard Sandiford <rsandifo@redhat.com> |
16078 | ||
16079 | * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section. | |
16080 | * config/mips/mips.c (mips_unique_section): Strip encoding from | |
16081 | decl name. | |
16082 | ||
ce8076ad JJ |
16083 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
16084 | ||
16085 | * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper | |
16086 | mode. | |
16087 | ||
975c6e4e RO |
16088 | 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
16089 | ||
16090 | * doc/install.texi (Installing): Mention GCC 3.1 buildstats. | |
16091 | (Specific): Removed buildstats references. | |
16092 | (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0. | |
16093 | (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1. | |
16094 | Accomodate Solaris versions beyond 8. | |
16095 | (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1. | |
16096 | (Specific, *-*-solaris2.8): Removed, obsolete. | |
16097 | ||
d70e94ec JJ |
16098 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
16099 | ||
16100 | PR target/6542 | |
16101 | * config/sparc/sparc.h (leaf_reg_remap): Remove const. | |
16102 | (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make | |
16103 | fill leaf_reg_remap with identity. | |
16104 | * config/sparc/sparc.c (leaf_reg_remap): Remove const. | |
16105 | ||
6b148bd9 KH |
16106 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
16107 | ||
16108 | * config/h8300/crti.asm: Remove trailing spaces. | |
16109 | * config/h8300/h8300.c: Likewise. | |
16110 | * config/h8300/lib1funcs.asm: Likewise. | |
16111 | ||
609688f3 JM |
16112 | 2002-05-02 Jason Merrill <jason@redhat.com> |
16113 | ||
16114 | * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c. | |
16115 | * c-decl.c (c_init_decl_processing): Use it. | |
16116 | * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE. | |
16117 | * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define. | |
16118 | * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define. | |
16119 | ||
3b03c671 KH |
16120 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
16121 | ||
16122 | * regrename.c: Fix formatting. | |
16123 | * tree.c: Likewise. | |
16124 | ||
3b4961bd JH |
16125 | Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz> |
16126 | ||
16127 | * i386.md (attribute memory): Handle compares properly. | |
16128 | ||
19cba4a0 JH |
16129 | Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz> |
16130 | ||
3b4961bd | 16131 | * i386.md (sse_clrsf, sse_clrsi): Set memory attribute |
19cba4a0 JH |
16132 | to none. |
16133 | ||
797a6ac1 KH |
16134 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
16135 | ||
16136 | * function.c: Fix formatting. | |
16137 | ||
6d0de005 JH |
16138 | 2002-05-02 Jan Hubicka <jh@suse.cz> |
16139 | ||
16140 | * haifa-sched.c (schedule_insn): Print table of instructions and | |
16141 | reservations. | |
16142 | (sched_block): Do not print ready list at verbosity level 1. | |
16143 | * sched-vis.c (print_insn): Make global. | |
16144 | * sched-ebb.c (ebb_print_insn): Rename from... | |
16145 | (print_insn): ... this one. | |
16146 | * sched-int.h (print_insn): Declare | |
16147 | ||
0bfb9a69 RH |
16148 | 2002-05-02 Richard Henderson <rth@redhat.com> |
16149 | ||
16150 | * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn | |
16151 | emitted by cycle_display. | |
16152 | ||
6b976d99 LR |
16153 | 2002-05-02 Loren J. Rittle <ljrittle@acm.org> |
16154 | ||
16155 | * doc/install.texi (*-*-freebsd*): Update to latest status. | |
16156 | ||
0a295052 JJ |
16157 | 2002-05-02 Jakub Jelinek <jakub@redhat.com> |
16158 | ||
16159 | PR target/6540 | |
16160 | * config.gcc (sparc*-*-solaris2*): Set float_format to i128. | |
16161 | * config/float-sparc.h: Assume 128-bit long double if | |
16162 | __LONG_DOUBLE_128__ is defined. | |
16163 | ||
842d5d6c VM |
16164 | 2002-05-02 Vladimir Makarov <vmakarov@redhat.com> |
16165 | ||
16166 | * genattrtab.c (write_function_unit_info): Add a dummy element | |
16167 | when num_units == 0. | |
16168 | ||
3d7a6309 HB |
16169 | 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
16170 | ||
16171 | * predict.c: (propagate_freq, estimate_bb_frequencies): Use | |
16172 | TYPE_MODE (double_type_node) instead of DFmode. | |
16173 | ||
1b6763cf JH |
16174 | Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz> |
16175 | ||
16176 | * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed | |
16177 | jumps post reload. | |
16178 | * toplev.c (rest_of_compilation): Revert Richard's patch. | |
16179 | ||
b303008e JDA |
16180 | 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16181 | ||
16182 | * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS. | |
16183 | ||
6ed7412a CM |
16184 | 2002-05-02 Catherine Moore <clm@redhat.com> |
16185 | ||
16186 | * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20. | |
16187 | ||
e0a2f705 KH |
16188 | 2002-05-02 Kazu Hirata <kazu@hxi.com> |
16189 | ||
b32d6163 | 16190 | * combine.c: Fix comment typos. |
e0a2f705 KH |
16191 | * expr.c: Likewise. |
16192 | * genautomata.c: Likewise. | |
16193 | * stmt.c: Likewise. | |
16194 | * tree.h: Likewise. | |
16195 | ||
38e23049 JM |
16196 | 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk> |
16197 | ||
16198 | * doc/install.texi: State GNAT version requirements. | |
16199 | ||
40f4a97d NC |
16200 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
16201 | ||
16202 | * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form | |
16203 | of the frame pointer or arg pointer register which strict register | |
16204 | checking is not enabled. | |
16205 | ||
0d6d6892 AH |
16206 | 2002-05-02 Aldy Hernandez <aldyh@redhat.com> |
16207 | ||
b5482208 | 16208 | * gcc.dg/altivec-8.c: New. |
0d6d6892 | 16209 | |
b5482208 RH |
16210 | * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow |
16211 | PRE_INC and PRE_DEC for altivec modes. | |
0d6d6892 | 16212 | |
abaa8559 BK |
16213 | 2002-05-01 Bruce Korb <bkorb@gnu.org> |
16214 | ||
16215 | * fixinc/check.tpl(set-writable): make sure the function exists first | |
16216 | * fixinc/inclhack.def(alpha_assert): fix test_text | |
16217 | * fixinc/tests/base/assert.h: add in missing result | |
16218 | ||
ecab2143 JL |
16219 | 2002-05-01 Jeff Law <law@redhat.com> |
16220 | ||
16221 | * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the | |
16222 | 'T' constraint. | |
16223 | ||
ea619b46 JB |
16224 | 2002-05-01 Joel Brobecker <brobecker@gnat.com> |
16225 | ||
16226 | * dbxout.c (dbxout_type): Emit size information for range types, | |
16227 | as well, but only when using GDB extensions. | |
16228 | ||
c72931a6 RH |
16229 | 2002-05-01 Richard Henderson <rth@redhat.com> |
16230 | ||
16231 | * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with | |
16232 | target-independent gnu binutils date test. | |
16233 | ||
2150ad33 RH |
16234 | 2002-05-01 Richard Henderson <rth@redhat.com> |
16235 | ||
16236 | * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump | |
16237 | info before expunging the block. | |
16238 | ||
1651cc96 JJ |
16239 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
16240 | ||
16241 | * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here... | |
16242 | (cpp_post_options): ...but here. Disable -dD, -dN and -dI when | |
16243 | -M -or -MM is in effect. | |
16244 | ||
8998d5bf ZW |
16245 | 2002-05-01 Zack Weinberg <zack@codesourcery.com> |
16246 | ||
16247 | * config.gcc: Correct test of --enable-obsolete. Obsolete all | |
16248 | A29k configurations. | |
16249 | * doc/install.texi: Update to match. | |
16250 | ||
a81eed10 FS |
16251 | 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
16252 | ||
16253 | PR bootstrap/6514 | |
16254 | * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check | |
16255 | for duplicates. Always loop over whole list. | |
16256 | ||
8d53318f RK |
16257 | Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
16258 | ||
16259 | * reload.c (find_reloads, case 'p'): Set BADOP to 0. | |
16260 | ||
4109b118 JS |
16261 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
16262 | ||
16263 | * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly | |
16264 | support routines. | |
16265 | ||
c4a9c570 JS |
16266 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
16267 | ||
16268 | * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning. | |
16269 | ||
ea112fc4 DE |
16270 | 2002-05-01 David Edelsohn <edelsohn@gnu.org> |
16271 | ||
16272 | * rs6000.md (abssi2_nopower): Convert to define_insn_and_split. | |
16273 | (nabs_nopower): Same. | |
16274 | (floatdisf2): New pattern. | |
16275 | (absdi2): Convert to define_insn_and_split. | |
16276 | (nabsdi2): Same. | |
16277 | (trunctfsf2): Same. | |
16278 | (floatditf2): Same. | |
16279 | (floatsitf2): Same. | |
16280 | (fix_trunctfdi2): Same. | |
16281 | (fix_trunctfsi2): Same. | |
16282 | ||
dda78254 JM |
16283 | 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk> |
16284 | ||
16285 | * doc/install.texi: Update Texinfo version requirement | |
16286 | documentation. | |
16287 | ||
26aeede4 JJ |
16288 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
16289 | ||
16290 | PR target/6512, PR target/5628 | |
16291 | * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32 | |
16292 | when memory is not aligned. | |
16293 | (movdf_insn_v9only_vis): Likewise. | |
16294 | * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS | |
16295 | temporary for EXTRA_FP_REGS DFmode load from unaligned memory. | |
16296 | (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly. | |
16297 | ||
9b7bc465 AH |
16298 | 2002-05-01 Aldy Hernandez <aldyh@redhat.com> |
16299 | ||
8998d5bf | 16300 | * gcc.dg/altivec-7.c: New. |
9b7bc465 | 16301 | |
8998d5bf | 16302 | * config/rs6000/altivec.h: Cleanup. |
9b7bc465 | 16303 | |
08b57fb3 AH |
16304 | 2002-04-30 Aldy Hernandez <aldyh@redhat.com> |
16305 | ||
8998d5bf ZW |
16306 | * doc/invoke.texi (Option Summary): Add -mvrsave=. |
16307 | (RS/6000 and PowerPC Options): Document -mvrsave=. | |
08b57fb3 | 16308 | |
8998d5bf ZW |
16309 | * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global. |
16310 | (rs6000_altivec_vrsave_string): Same. | |
16311 | (rs6000_override_options): Call rs6000_parse_vrsave_option. | |
16312 | (rs6000_parse_vrsave_option): New. | |
16313 | (rs6000_stack_info): Only generate vrsave instructions when | |
16314 | TARGET_ALTIVEC_VRSAVE. | |
08b57fb3 | 16315 | |
8998d5bf ZW |
16316 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option. |
16317 | (rs6000_altivec_vrsave_string): Define extern. | |
16318 | (rs6000_altivec_vrsave): Same. | |
16319 | (TARGET_ALTIVEC_VRSAVE): New. | |
08b57fb3 | 16320 | |
8e8c38cd RH |
16321 | 2002-04-30 Richard Henderson <rth@redhat.com> |
16322 | ||
16323 | PR opt/6516 | |
16324 | * toplev.c (rest_of_compilation): Don't run cross-jump before | |
16325 | bb-reorder. | |
16326 | ||
4be9e9cb TR |
16327 | 2002-04-30 Tom Rix <trix@redhat.com> |
16328 | ||
8998d5bf | 16329 | * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity |
4be9e9cb TR |
16330 | check which_alternative. |
16331 | ||
1eeeb6a4 KH |
16332 | 2002-04-30 Kazu Hirata <kazu@hxi.com> |
16333 | ||
16334 | * cpplex.c: Fix comment formatting. | |
16335 | * function.c: Likewise. | |
16336 | * integrate.c: Likewise. | |
16337 | * regrename.c: Likewise. | |
16338 | * sibcall.c: Likewise. | |
16339 | * simplify-rtx.c: Likewise. | |
16340 | * tree-inline.c: Likewise. | |
16341 | ||
ed9d6ff9 JDA |
16342 | 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
16343 | ||
16344 | * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*, | |
16345 | hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*, | |
16346 | hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*, | |
16347 | hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file. | |
16348 | * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete. | |
16349 | * pa/x-ada: New file. Define ADA_CFLAGS. | |
16350 | ||
1f2641b6 HPN |
16351 | 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com> |
16352 | ||
16353 | * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed | |
16354 | from MMIX_LAST_REGISTER_FILE_REGNUM. | |
16355 | (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment. | |
16356 | (struct machine_function): New member highest_saved_stack_register | |
16357 | previously static variable in mmix.c. | |
16358 | (MACHINE_DEPENDENT_REORG): Define. | |
16359 | * config/mmix/mmix.c (highest_saved_stack_register): Deleted. | |
16360 | (MMIX_OUTPUT_REGNO): New. | |
16361 | (mmix_target_asm_function_prologue): Move calculation of last used | |
16362 | saved-stack-register into... | |
16363 | (mmix_machine_dependent_reorg): New function. Update to also handle | |
16364 | !TARGET_ABI_GNU. | |
16365 | (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting | |
16366 | register names, simplify somewhat by new variable regno. | |
16367 | <case 'p'>: Remove fixed FIXME. Always emit highest used saved | |
16368 | register. | |
16369 | (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when | |
16370 | emitting register names. | |
16371 | (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto. | |
16372 | (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too. | |
16373 | Remove fixed FIXME. | |
16374 | * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): | |
16375 | Declare. | |
16376 | ||
16377 | * config/mmix/mmix.md ("divmoddi4"): Update head comment. | |
16378 | ||
73985940 RH |
16379 | 2002-04-30 Richard Henderson <rth@redhat.com> |
16380 | ||
16381 | * config/sparc/sparc.c (emit_soft_tfmode_libcall, | |
16382 | emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt, | |
16383 | emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop, | |
16384 | emit_tfmode_cvt): New. | |
16385 | * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2, | |
16386 | trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2, | |
16387 | fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2, | |
16388 | addtf3, subtf3, multf3, divtf3, sqrttf2): Use them. | |
16389 | * config/sparc/sparc-protos.h: Update. | |
16390 | ||
2b46bc67 JJ |
16391 | 2002-04-30 Janis Johnson <janis187@us.ibm.com> |
16392 | ||
16393 | * install.texi (Final install): Add to the list of info to include | |
16394 | in a report of a successful bootstrap, and add link to 3.1 list. | |
16395 | ||
3d34cd91 JH |
16396 | Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz> |
16397 | ||
16398 | * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1. | |
16399 | (mode): Add vector modes | |
16400 | (i387): Kill attribute. | |
16401 | (unit): New attribute. | |
16402 | (length_immediate): Grok new types. | |
16403 | (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX. | |
16404 | (modrm): Use "unit". | |
16405 | (memory): Handle MMX/SSE properly. | |
16406 | (scheduling descriptions): Kill uses of fop1. | |
16407 | (sse, mmx, fp patterns): Set type and mode properly. | |
16408 | ||
243e5500 | 16409 | Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@redhat.com) |
3193c415 | 16410 | |
30482eb0 JL |
16411 | * pa.c (override_options): Default to PA8000 scheduling. |
16412 | * doc/invoke.texi (HP-PA options): Mention newly added 7300 | |
16413 | scheduling parameter. | |
16414 | ||
3193c415 JL |
16415 | * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine |
16416 | handling of double precision multiplies. | |
16417 | ||
16418 | * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of | |
16419 | fpdiv and fpsqrt instructions. | |
16420 | (7200 & 7300 scheduling): Fix typo in handling of | |
16421 | store-load and store-store penalties. | |
16422 | ||
c0a34cb7 GP |
16423 | 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
16424 | ||
16425 | * doc/contrib.texi (Contributors): Use MIPS instead of Mips and | |
16426 | mips. Add two missing commas. | |
16427 | ||
8bce0628 PC |
16428 | 2002-04-30 Paolo Carlini <pcarlini@unitus.it> |
16429 | ||
16430 | * doc/contrib.texi (Contributors): Update Paolo Carlini's | |
16431 | and Benjamin Kosnik's entries. | |
16432 | ||
84643cbf DM |
16433 | 2002-04-29 David S. Miller <davem@redhat.com> |
16434 | ||
16435 | * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK, | |
16436 | SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III. | |
16437 | * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise. | |
16438 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
16439 | ||
da6886f6 FS |
16440 | 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
16441 | ||
16442 | * combine.c (find_split_point): Use gen_int_mode. | |
16443 | ||
fae15c93 VM |
16444 | 2002-04-29 Vladimir Makarov <vmakarov@redhat.com> |
16445 | ||
16446 | Merging code from dfa-branch: | |
8998d5bf | 16447 | |
fae15c93 VM |
16448 | 2002-04-24 Vladimir Makarov <vmakarov@redhat.com> |
16449 | ||
16450 | * genautomata.c (output_reserv_sets): Fix typo. | |
16451 | ||
16452 | 2002-04-23 Vladimir Makarov <vmakarov@redhat.com> | |
16453 | ||
16454 | * genautomata.c (output_reserv_sets): Remove | |
16455 | next_cycle_output_flag. | |
16456 | ||
16457 | Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com) | |
16458 | ||
8998d5bf ZW |
16459 | * sched-rgn.c (init_ready_list): Make the DFA code handle |
16460 | USE/CLOBBER insns in the same way as the traditional | |
16461 | scheduler. | |
16462 | (new_ready): Similarly.. | |
fae15c93 VM |
16463 | |
16464 | 2002-04-17 Vladimir Makarov <vmakarov@redhat.com> | |
16465 | ||
16466 | * haifa-sched.c (schedule_block): Change the DFA state only after | |
16467 | issuing insn. | |
16468 | ||
16469 | Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com) | |
16470 | ||
16471 | * pa.c (hppa_use_dfa_pipeline_interface): New function. | |
16472 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define. | |
16473 | (override_options): Add PA7300 scheduling support. | |
16474 | (pa_adjust_cost): Update various comments. Properly | |
16475 | handle anti and output dependencies when using the | |
16476 | DFA scheduler. | |
16477 | (pa_issue_rate): Add PA7300 scheduling support. | |
16478 | (pa_can_combine_p): Call extract_insn before calling | |
16479 | constrain_operands (taken from mainline tree). | |
16480 | * pa.h (enum processor_type): Add PROCESSOR_PA7300. | |
16481 | * pa.md (cpu attr): Add 7300. Rewrite pipeline | |
16482 | descriptions using DFA descriptions. Add PA7300 | |
16483 | scheduling support. | |
16484 | ||
16485 | 2002-03-30 David S. Miller <davem@redhat.com> | |
16486 | ||
16487 | Add UltraSPARC-III DFA scheduling support. | |
16488 | * config/sparc/sparc.md (define_attr type): Add fpcrmove. | |
16489 | Update FP conditional move on register insn patterns to use it, as | |
16490 | appropriate. | |
16491 | (define_attr cpu): Add ultrasparc3. | |
16492 | (define_attr us3load_type): New, update integer load patterns to | |
16493 | set it, as appropriate. | |
16494 | (define_automaton): Add ultrasparc3_0 and ultrasparc3_1. | |
16495 | (rest): Add UltraSPARC3 scheduling description. | |
16496 | * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New. | |
16497 | (PROCESSOR_ULTRASPARC3): New. | |
16498 | ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3. | |
16499 | ({ASM,CPP}_CPU_SPEC): Likewise. | |
16500 | (REGISTER_MOVE_COST): Likewise. | |
16501 | (RTX_COSTS): Likewise. | |
16502 | * config/sparc/sparc.c (sparc_override_options, | |
16503 | sparc_initialize_trampoline, sparc64_initialize_trampoline, | |
16504 | sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
16505 | sparc_issue_rate): Likewise. | |
16506 | * config/sparc/sol2.h: Likewise. | |
16507 | * config/sparc/sol2-sld-64.h: Likewise. | |
16508 | * config/sparc/linux64.h: Likewise. | |
8998d5bf | 16509 | |
fae15c93 VM |
16510 | 2002-03-22 Vladimir Makarov <vmakarov@redhat.com> |
16511 | ||
16512 | * doc/md.texi: Add comments about usage the latency time for the | |
16513 | different dependencies and about case when two or more conditions | |
16514 | in different define_insn_reservations returns TRUE for an insn. | |
16515 | ||
16516 | * doc/md.texi: Add reference for automaton based pipeline | |
16517 | description. | |
8998d5bf | 16518 | |
fae15c93 VM |
16519 | 2002-03-04 Vladimir Makarov <vmakarov@redhat.com> |
16520 | ||
16521 | * doc/passes.texi: Add missed information about genattrtab. | |
16522 | ||
16523 | 2002-03-01 Vladimir Makarov <vmakarov@redhat.com> | |
16524 | ||
16525 | * genautomata.c (output_automata_list_transition_code): Check | |
16526 | automata_list on NULL. | |
16527 | ||
16528 | 2002-02-28 Vladimir Makarov <vmakarov@redhat.com> | |
16529 | ||
16530 | * genautomata.c (output_insn_code_cases, | |
16531 | output_automata_list_min_issue_delay_code, | |
16532 | output_automata_list_transition_code, | |
16533 | output_automata_list_state_alts_code): Comment the functions. | |
16534 | ||
16535 | 2002-02-22 Vladimir Makarov <vmakarov@redhat.com> | |
16536 | ||
16537 | * genautomata.c (automata_list_el_t): New typedef. | |
16538 | (get_free_automata_list_el,free_automata_list_el, | |
16539 | free_automata_list, automata_list_hash, automata_list_eq_p, | |
16540 | initiate_automata_lists, automata_list_start, automata_list_add, | |
16541 | automata_list_finish, finish_automata_lists, | |
16542 | output_insn_code_cases, output_automata_list_min_issue_delay_code, | |
16543 | output_automata_list_transition_code, | |
16544 | output_automata_list_state_alts_code, add_automaton_state, | |
16545 | form_important_insn_automata_lists): New functions and prototypes. | |
16546 | (insn_reserv_decl): Add members important_automata_list and | |
16547 | processed_p. | |
16548 | (ainsn): Add members important_p. | |
16549 | (automata_list_el): New structure. | |
16550 | (first_free_automata_list_el, current_automata_list, | |
16551 | automata_list_table): New global variables. | |
16552 | (create_ainsns): Initiate member important_p. | |
16553 | (output_internal_min_issue_delay_func): Generate the switch and | |
16554 | call output_insn_code_cases. | |
16555 | (output_internal_trans_func, output_internal_state_alts_func): | |
16556 | Ditto. | |
16557 | (generate): Call initiate_automata_lists. | |
16558 | (automaton_states): New global variable. | |
16559 | (expand_automata): Call form_important_insn_automata_lists. | |
16560 | (write_automata): Call finish_automata_lists. | |
8998d5bf | 16561 | |
fae15c93 VM |
16562 | 2002-02-21 Vladimir Makarov <vmakarov@redhat.com> |
16563 | ||
16564 | * genautomata.c (add_excls, add_presence_absence): Check that | |
8998d5bf | 16565 | cpu units in the sets belong the same automaton. |
fae15c93 VM |
16566 | |
16567 | * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment | |
16568 | about that cpu units in the sets belong the same automaton. | |
16569 | ||
16570 | * doc/md.texi: Ditto. | |
8998d5bf | 16571 | |
2799d721 VM |
16572 | 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com> |
16573 | Nitin Gupta <niting@noida.hcltech.com> | |
8998d5bf | 16574 | |
fae15c93 VM |
16575 | * config/sh/sh.c (sh_use_dfa_interface): New function. |
16576 | ||
16577 | (sh_issue_rate): New Function. | |
16578 | TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define. | |
16579 | TARGET_SCHED_ISSUE_RATE: define. | |
16580 | ||
16581 | * config/sh/sh.md: Add DFA based pipeline description for SH4. | |
16582 | ||
8998d5bf ZW |
16583 | (define_attr insn_class): New attribute used for DFA |
16584 | scheduling. | |
fae15c93 VM |
16585 | (define_insn cmpgtsi_t): Set attribute insn_class mt_group. |
16586 | (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t, | |
16587 | cmpeqdi_t): Likewise. | |
16588 | ||
16589 | (add,addc1,addsi3,subc,subc1,*subsi3_internal, | |
8998d5bf | 16590 | negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class |
fae15c93 VM |
16591 | ex_group. |
16592 | (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise. | |
8998d5bf | 16593 | |
fae15c93 VM |
16594 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> |
16595 | ||
16596 | * haifa-sched.c (queue_to_ready): Remove unnecessary condition for | |
16597 | break. | |
16598 | ||
16599 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> | |
16600 | ||
16601 | * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro. | |
16602 | (output_dfa_insn_code_func): Expand dfa_insn_codes if it is | |
16603 | necessary. | |
16604 | (output_dfa_start_func): Initiate new variable insn_codes_length, | |
16605 | (write_automata): Output definition of the new variable. | |
8998d5bf | 16606 | |
fae15c93 VM |
16607 | 2001-10-02 David S. Miller <davem@redhat.com> |
16608 | ||
16609 | * haifa-sched.c (advance_one_cycle): New function. | |
16610 | (schedule_block): Use it. | |
16611 | (queue_to_ready): Use it, and also make sure to advance the DFA | |
16612 | state on all stall cycles, not just those where insn_queue links | |
16613 | are found. | |
16614 | ||
16615 | 2001-10-02 Richard Sandiford <rsandifo@redhat.com> | |
16616 | ||
16617 | * haifa-sched.c (max_issue): Remove last_p argument. Only return | |
16618 | non-zero if the highest-priority instruction could be scheduled. | |
16619 | (choose_ready): Remove last argument from max_issue call. | |
16620 | ||
16621 | 2001-09-28 David S. Miller <davem@redhat.com> | |
16622 | ||
16623 | * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for | |
16624 | ultrasparc and 3 for other multi-issue sparcs. | |
16625 | ||
16626 | 2001-09-27 David S. Miller <davem@redhat.com> | |
16627 | ||
16628 | * config/sparc/sparc.md (cycle_display): New pattern. | |
16629 | * config/sparc/sparc.c (sparc_cycle_display): New. | |
16630 | (TARGET_SCHED_CYCLE_DISPLAY): Set it. | |
16631 | ||
16632 | 2001-09-25 David S. Miller <davem@redhat.com> | |
16633 | ||
981f6289 | 16634 | Convert all of SPARC scheduling to DFA |
fae15c93 VM |
16635 | * config/sparc/sparc.md: Kill all define_function_unit |
16636 | directives and replace with DFA equivalent. | |
16637 | * config/sparc/sparc.c (ultrasparc_adjust_cost, | |
16638 | mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p, | |
16639 | ultra_fpmode_conflict_exists, ultra_find_type, | |
16640 | ultra_build_types_avail, ultra_flush_pipeline, | |
16641 | ultra_rescan_pipeline_state, ultrasparc_sched_reorder, | |
16642 | ultrasparc_variable_issue, ultrasparc_sched_init, | |
16643 | sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask, | |
16644 | ultra_schedule_insn, ultra_code_names, ultra_pipe_hist, | |
16645 | ultra_cur_hist, ultra_cycles_elapsed): Kill. | |
16646 | (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
16647 | ultrasparc_store_bypass_p): New. | |
16648 | * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p): | |
16649 | Declare. | |
16650 | ||
16651 | 2001-09-24 David S. Miller <davem@redhat.com> | |
16652 | ||
16653 | * haifa-sched.c (ready_remove): Fix thinko, we want to copy around | |
16654 | ready->vec[foo] not ready[foo]. | |
16655 | ||
16656 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
16657 | ||
16658 | * doc/md.texi: Correct examples for define_insn_reservations | |
16659 | `mult' and `div'. | |
16660 | ||
16661 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
16662 | ||
16663 | * genautomata.c (create_automata): Print message about creation of | |
16664 | each automaton. | |
16665 | (generate): Remove printing meease about creation of | |
16666 | automata. | |
16667 | ||
16668 | 2001-09-05 David S. Miller <davem@redhat.com> | |
16669 | ||
16670 | * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC. | |
16671 | * config/sparc/linux64.h: Likewise. | |
16672 | ||
16673 | 2001-08-31 Vladimir Makarov <vmakarov@redhat.com> | |
16674 | ||
16675 | * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready, | |
16676 | schedule_block, sched_init, sched_finish): Add missed calls of | |
16677 | use_dfa_pipeline_interface. | |
16678 | ||
16679 | * sched-rgn.c (init_ready_list, new_ready, debug_dependencies): | |
16680 | Ditto. | |
16681 | ||
16682 | * sched-vis.c (get_visual_tbl_length): Ditto. | |
8998d5bf | 16683 | |
fae15c93 VM |
16684 | 2001-08-27 Richard Henderson <rth@redhat.com> |
16685 | ||
16686 | * genattr.c (main): Emit state_t even when not doing scheduling. | |
16687 | ||
16688 | 2001-08-27 Richard Henderson <rth@redhat.com> | |
16689 | ||
16690 | * genautomata.c (expand_automata): Always create a description. | |
16691 | ||
16692 | 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> | |
16693 | ||
8998d5bf | 16694 | * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET, |
fae15c93 VM |
16695 | PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON, |
16696 | AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New | |
16697 | RTL constructions. | |
16698 | ||
16699 | * genattr.c (main): New variable num_insn_reservations. Increase | |
16700 | it if there is DEFINE_INSN_RESERVATION. Output automaton based | |
16701 | pipeline hazard recognizer interface. | |
16702 | ||
16703 | * genattrtab.h: New file. | |
16704 | ||
16705 | * genattrtab.c: Include genattrtab.h. | |
16706 | (attr_printf, check_attr_test, make_internal_attr, | |
16707 | make_numeric_value): Move protypes into genattrtab.h. Define them | |
16708 | as external. | |
16709 | (num_dfa_decls): New global variable. | |
16710 | (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, | |
16711 | DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET, | |
16712 | DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION, | |
16713 | DEFINE_INSN_RESERVATION. Call expand_automata and write_automata. | |
16714 | ||
16715 | * genautomata.c: New file. | |
16716 | ||
16717 | * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them. | |
16718 | ||
8998d5bf | 16719 | * sched-int.h: (curr_state): Add the external definition for |
fae15c93 VM |
16720 | automaton pipeline interface. |
16721 | (haifa_insn_data): Add comments for members blockage and units. | |
16722 | ||
16723 | * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
16724 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
16725 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
16726 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
16727 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
16728 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
16729 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New | |
16730 | macros. | |
16731 | (TARGET_SCHED): Use the new macros. | |
16732 | ||
16733 | * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn, | |
16734 | dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn, | |
16735 | first_cycle_multipass_dfa_lookahead, init_dfa_bubbles, | |
16736 | dfa_bubble): New members in gcc_target.sched. | |
16737 | ||
8998d5bf | 16738 | * haifa-sched.c (insert_schedule_bubbles_p): New variable. |
fae15c93 VM |
16739 | (MAX_INSN_QUEUE_INDEX): New macro for automaton interface. |
16740 | (insn_queue): Redefine it as pointer to array. | |
16741 | (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of | |
16742 | INSN_QUEUE_SIZE. | |
16743 | (max_insn_queue_index_macro_value): New variable. | |
16744 | (curr_state, dfa_state_size, ready_try): New varaibles for | |
16745 | automaton interface. | |
16746 | (ready_element, ready_remove, max_issue): New function prototypes | |
16747 | for automaton interface. | |
16748 | (choose_ready): New function prototype. | |
16749 | (insn_unit, blockage_range): Add comments. | |
16750 | (unit_last_insn, unit_tick, unit_n_insns): Define them for case | |
16751 | FUNCTION_UNITS_SIZE == 0. | |
16752 | (insn_issue_delay, actual_hazard_this_instance, schedule_unit, | |
16753 | actual_hazard, potential_hazard): Add comments. | |
16754 | (insn_cost): Use cost -1 as undefined value. Remove | |
16755 | LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton | |
16756 | pipeline interface. | |
16757 | (ready_element, ready_remove): New functions for automaton | |
16758 | interface. | |
16759 | (schedule_insn): Add new code for automaton pipeline interface. | |
16760 | (queue_to_ready): Add new code for automaton pipeline interface. | |
16761 | Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE. | |
16762 | (debug_ready_list): Print newline when the queue is empty. | |
16763 | (max_issue): New function for automaton pipeline interface. | |
16764 | (choose_ready): New function. | |
16765 | (schedule_block): Add new code for automaton pipeline interface. | |
16766 | Print ready list before scheduling each insn. | |
16767 | (sched_init): Add new code for automaton pipeline interface. | |
16768 | Initiate insn cost by -1. | |
16769 | (sched_finish): Free the current automaton state and finalize | |
16770 | automaton pipeline interface. | |
16771 | ||
16772 | * sched-rgn.c: Include target.h. | |
16773 | (init_ready_list, new_ready, debug_dependencies): Add new code for | |
16774 | automaton pipeline interface. | |
16775 | ||
16776 | * sched-vis.c: Include target.h. | |
16777 | (get_visual_tbl_length): Add code for automaton interface. | |
16778 | (target_units, print_block_visualization): Add comments. | |
16779 | ||
8998d5bf | 16780 | * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB, |
fae15c93 VM |
16781 | USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables. |
16782 | (sched-rgn.o, sched-vis.o): Add new dependency file target.h. | |
16783 | (getruntime.o, genautomata.o): New entries. | |
16784 | (genattrtab.o): Add new dependency file genattrtab.h. | |
16785 | (genattrtab): Add new dependencies. Link it with `libm.a'. | |
16786 | (getruntime.o, hashtab.o): New entries for canadian cross. | |
16787 | ||
16788 | * doc/md.texi: Description of automaton based model. | |
16789 | ||
16790 | * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST): | |
16791 | Add comments. | |
16792 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
16793 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
16794 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
16795 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
16796 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
16797 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
16798 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new | |
16799 | hook descriptions. | |
16800 | (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE, | |
16801 | MAX_DFA_ISSUE_RATE): New macro descriptions. | |
16802 | ||
16803 | * doc/contrib.texi: Add dfa based scheduler contribution. | |
16804 | ||
16805 | * doc/gcc.texi: Add more information about genattrtab. | |
16806 | ||
a2ff290c RK |
16807 | Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
16808 | ||
16809 | * reload1.c (eliminate_regs, case SUBREG): Fix typo in | |
16810 | adjust_address_nv call. | |
16811 | ||
f97903cc JJ |
16812 | 2002-04-29 Janis Johnson <janis187@us.ibm.com> |
16813 | ||
16814 | * doc/install.texi (Testing): Provide additional information, and | |
16815 | a stronger encouragement, for running the testsuites. | |
16816 | ||
f41a6bf1 DD |
16817 | 2002-04-29 DJ Delorie <dj@redhat.com> |
16818 | ||
16819 | * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is | |
16820 | given in upper case. | |
16821 | ||
d8af0868 RO |
16822 | 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
16823 | ||
16824 | * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in | |
16825 | Solaris 2 <widec.h> if missing. | |
16826 | * fixinc/fixincl.x: Regenerate. | |
16827 | * fixinc/tests/base/widec.h: New file. | |
16828 | ||
1034407f NC |
16829 | 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com> |
16830 | ||
16831 | * toplev.c (f_options): Add "profile" switch so that | |
16832 | -fno-profile can be used to disable -p. | |
16833 | ||
fbe5eb6d BS |
16834 | 2002-04-29 Bernd Schmidt <bernds@redhat.com> |
16835 | ||
16836 | * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode, | |
16837 | UV2DImode. | |
16838 | * tree.c (build_common_tree_nodes_2): Likewise. | |
16839 | * tree.h (enum tree_index): Likewise. | |
16840 | (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define. | |
16841 | ||
16842 | * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2 | |
16843 | entries. | |
16844 | (init_mmx_sse_builtins): Initialize SSE2 builtins. | |
16845 | (ix86_expand_builtin): Add support for SSE2 builtins. | |
16846 | * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro. | |
16847 | (VALID_SSE_REG_MODE): Use it. | |
16848 | (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well. | |
16849 | (enum ix86_builtins): Add SSE2 builtins. | |
16850 | * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal, | |
16851 | movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi, | |
16852 | addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3, | |
16853 | divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3, | |
16854 | sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2, | |
16855 | vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3, | |
16856 | vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb, | |
16857 | sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps, | |
16858 | cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi, | |
16859 | cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss, | |
16860 | cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3, | |
16861 | ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3, | |
16862 | subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3, | |
16863 | mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3, | |
16864 | sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3, | |
16865 | sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd, | |
16866 | sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3, | |
16867 | gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3, | |
16868 | ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3, | |
16869 | ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3, | |
16870 | sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw, | |
16871 | sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq, | |
16872 | sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd, | |
16873 | sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq, | |
16874 | sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd, | |
16875 | sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence, | |
16876 | lfence_insn): New patterns. | |
16877 | (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from | |
16878 | sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2. | |
16879 | ||
44aefada JH |
16880 | Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz> |
16881 | ||
16882 | * i386.md (sse_mov?fcc*): Revert patch of Mar 14th. | |
16883 | ||
d5482cdc GP |
16884 | 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
16885 | ||
16886 | * doc/contrib.texi (Contributors): Add Paolo Carlini and | |
16887 | Janis Johnson. | |
16888 | Update Richard Henderson, Jakub Jelinek, and Mark Mitchell. | |
16889 | Refer to Objective-C instead of ObjC, SPARC instead of sparc, | |
16890 | and CPU instead of cpu. | |
16891 | ||
2c4b77f3 JH |
16892 | Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
16893 | ||
16894 | * toplev.c (flag_if_conversion, flag_if_conversion2): New static | |
16895 | variables. | |
16896 | (lang_independent_options): Add -fif-conversion, -fif-conversion2 | |
16897 | (rest_of_compilation): Do if conversion only when asked for. | |
16898 | (parse_options_and_default_flags): Set new variables to 1 for -O1 | |
16899 | * invoke.texi (-fif-conversion, -fif-conversion2): Document. | |
16900 | ||
3de72741 JH |
16901 | Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz> |
16902 | ||
16903 | * i386.c (dbx64_register_map): Fix typo. | |
16904 | ||
8aa18a7d JH |
16905 | Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz> |
16906 | ||
16907 | * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base, | |
16908 | real_one_half, real_bb_freq_max): New static variables. | |
16909 | (debug_profile_bbauxs): Kill. | |
16910 | (process_note_predictions): Kill unused variable. | |
16911 | (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of | |
16912 | volatile double. | |
16913 | (propagate_freq): Use REAL_ARITHMETICS. | |
16914 | (estimate_bb_frequencies): Likevise; init new static variables. | |
16915 | * Makefile.in (predict.o): Add dependency on real.h | |
16916 | ||
1bbad4c6 DM |
16917 | 2002-04-28 David S. Miller <davem@redhat.com> |
16918 | ||
16919 | PR target/6500 | |
16920 | * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs. | |
16921 | 64-bit TARGET_V9. Do not use prefetch page, use prefetch for | |
16922 | several {reads,writes} instead. | |
16923 | * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): | |
16924 | Define. | |
16925 | ||
3ef3f384 DM |
16926 | 2002-04-27 David S. Miller <davem@redhat.com> |
16927 | ||
16928 | PR target/6494 | |
16929 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful | |
16930 | of the stack bias. | |
16931 | ||
16932 | * config/sparc/linux.h, config/sparc/linux64.h: Don't bother | |
16933 | including signal.h and sys/ucontext.h, not needed. | |
16934 | ||
ec493bcb HPN |
16935 | 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com> |
16936 | ||
16937 | * varasm.c (output_constant_def): Correct test for not calling | |
16938 | ENCODE_SECTION_INFO for INTEGER_CST. | |
16939 | ||
60284a59 NB |
16940 | 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk> |
16941 | ||
16942 | * cppexp.c (lex): Move some code to _cpp_parse_expr, but | |
16943 | keep most cases as function eval_token. | |
16944 | (eval_token): New function. | |
16945 | (_cpp_parse_expr): Read token here for improved diagnostics. | |
16946 | Don't use op_as_text. Detect bad ':' here. | |
16947 | (reduce): Don't detect bad ':' here. | |
16948 | (op_as_text): Remove. | |
16949 | * cpphash.h (_cpp_test_assertion): Change prototype. | |
16950 | * cpplib.c (_cpp_test_assertion): Change prototype. | |
16951 | ||
349a4b40 RH |
16952 | 2002-04-28 Richard Henderson <rth@redhat.com> |
16953 | ||
16954 | PR c/5154 | |
8998d5bf | 16955 | * ggc-common.c (ggc_mark_rtx_children_1): Rename from... |
349a4b40 RH |
16956 | (ggc_mark_rtx_children): New. |
16957 | ||
7a03f82f JJ |
16958 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
16959 | ||
16960 | PR target/6496 | |
16961 | * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump | |
16962 | after call peepholes for UltraSPARC. | |
16963 | (call + jump 64-bit peepholes): Remove. | |
16964 | ||
80103f96 FS |
16965 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
16966 | ||
16967 | PR c/6497 | |
16968 | * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use | |
16969 | result as temporary value. | |
16970 | ||
06990986 JJ |
16971 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
16972 | ||
16973 | PR c++/6396 | |
16974 | * toplev.c (rest_of_compilation): Only run regrename and copy | |
16975 | propagation if optimizing. | |
16976 | ||
a20fd5ac JJ |
16977 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
16978 | ||
16979 | PR optimization/6475 | |
16980 | * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo | |
16981 | register of REGNO_DECL (i). | |
16982 | * Makefile.in (reload1.o): Add $(TREE_H). | |
16983 | ||
87ed109f NB |
16984 | 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk> |
16985 | ||
16986 | * cppexp.c (lex): Update to use state.skip_eval. | |
16987 | (struct op): Remove prio and flags members. | |
16988 | (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS, | |
16989 | SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove. | |
16990 | (LEFT_ASSOC): New macro. | |
16991 | (optab): New table of operator priorities and flags. | |
16992 | (SHIFT): Update. | |
16993 | (_cpp_parse_expr): Clean up logic. Return bool. Use a | |
16994 | malloc-ed parser stack. | |
16995 | (reduce): New; reduce the operator stack. | |
16996 | (_cpp_expand_op_stack): Expand the operator stack as necessary. | |
16997 | * cpphash.h (struct op): Predeclare. | |
16998 | (struct cpp_reader): New members op_stack, op_limit. | |
16999 | (struct lexer_state): New member skip_eval. | |
17000 | (_cpp_parse_expr): Update. | |
17001 | (_cpp_expand_op_stack): New. | |
17002 | * cpplib.c (do_if): Update. | |
17003 | * cppinit.c (cpp_create_reader): Create op stack. | |
17004 | (cpp_destroy): And destroy it. | |
17005 | * cpplib.h (CPP_LAST_CPP_OP): Correct. | |
17006 | (TTYPE_TABLE): Correct. | |
17007 | ||
45806a3f FS |
17008 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
17009 | ||
17010 | PR c/6343 | |
17011 | * c-decl.c (duplicate_decls): Call merge_weak. | |
17012 | * c-pragma.c (apply_pragma_weak): Warn about misuse. | |
17013 | * output.h (merge_weak): Prototype merge_weak. | |
17014 | * varasm.c (merge_weak): New function. | |
17015 | (declare_weak): Make sure we don't give an error on VAR_DECLs. | |
17016 | Mark RTL with SYMBOL_REF_WEAK. | |
17017 | ||
a6227154 KG |
17018 | 2002-04-27 Kurt Garloff <garloff@suse.de> |
17019 | ||
17020 | * tree-inline.c (inlinable_function_p): Improve heuristics | |
17021 | by using a smoother function to cut down allowable inlinable size. | |
17022 | * param.def: Add parameters max-inline-insns-single, | |
17023 | max-inline-slope, min-inline-insns that determine the exact | |
17024 | shape of the above function. | |
17025 | * param.h: Likewise. | |
17026 | ||
94a50397 RH |
17027 | 2002-04-26 Richard Henderson <rth@redhat.com> |
17028 | ||
17029 | * c-parse.in (malloced_yyss, malloced_yyvs): New. | |
17030 | (yyoverflow): Re-add. Set them. | |
17031 | (free_parser_stacks): New. | |
17032 | * c-common.h: Declare it. | |
17033 | * c-lex.c (c_common_parse_file): Call it. | |
17034 | ||
9c0a0632 RH |
17035 | 2002-04-26 Richard Henderson <rth@redhat.com> |
17036 | ||
17037 | * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn | |
17038 | for fallthru search. | |
17039 | ||
b875d2ee EC |
17040 | 2002-04-26 Eric Christopher <echristo@redhat.com> |
17041 | ||
17042 | PR optimization/3700 | |
17043 | * config/mips/mips.c (mips_issue_rate): Define. New function. | |
17044 | (TARGET_SCHED_ISSUE_RATE): Use. | |
17045 | ||
1db828df DM |
17046 | 2002-04-25 David S. Miller <davem@redhat.com> |
17047 | ||
17048 | PR target/6422 | |
17049 | * reorg.c (optimize_skip): Do not allow exception causing | |
17050 | instructions to be considered for delay slots. | |
17051 | (fill_simply_delay_slots, fill_slots_from_thread): Likewise. | |
17052 | (relax_delay_slots): Do not try to consider exception causing | |
17053 | instructions as redundant. | |
17054 | ||
ae5d234e RH |
17055 | 2002-04-26 Richard Henderson <rth@redhat.com> |
17056 | ||
17057 | PR c/5225 | |
17058 | * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue. | |
17059 | ||
7d793e9b MM |
17060 | 2002-04-26 Mark Mitchell <mark@codesourcery.com> |
17061 | ||
17062 | PR bootstrap/6445 | |
17063 | * config/i386/i386.md (untyped_call): Return the value in a float | |
17064 | register if TARGET_FLOAT_RETURNS_IN_80387, not just if | |
17065 | TARGET_80387. | |
17066 | ||
b13ab42c AO |
17067 | 2002-04-26 Alexandre Oliva <aoliva@redhat.com> |
17068 | ||
17069 | * tree.c (tree_int_cst_lt): Compare constants whose types differ | |
17070 | in unsigned-ness correctly. | |
17071 | ||
5e56f909 JDA |
17072 | 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
17073 | ||
17074 | * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the | |
17075 | portable runtime model. | |
17076 | ||
bde3c0c0 RH |
17077 | 2002-04-26 Richard Henderson <rth@redhat.com> |
17078 | ||
a6227154 | 17079 | * c-parse.in (yyoverflow): Revert. |
bde3c0c0 | 17080 | |
5276df18 DE |
17081 | 2002-04-26 David Edelsohn <edelsohn@gnu.org> |
17082 | Richard Henderson <rth@redhat.com> | |
17083 | ||
17084 | * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use | |
17085 | result as temporary value. | |
17086 | ||
b84a3874 RH |
17087 | 2002-04-26 Richard Henderson <rth@redhat.com> |
17088 | ||
17089 | PR c/3581 | |
17090 | * c-common.c (fix_string_type): Split out of ... | |
17091 | (combine_strings): ... here. Take a varray, not a tree list. | |
17092 | (c_expand_builtin_printf): Use fix_string_type. | |
17093 | * c-common.h: Update decls. | |
17094 | * c-parse.in (string): Remove. Update all uses to use STRING | |
17095 | instead, and not call combine_strings. | |
17096 | (yylexstring): New. | |
17097 | (_yylex): Use it. | |
17098 | * c-typeck.c (simple_asm_stmt): Don't call combine_strings. | |
17099 | (build_asm_stmt): Likewise. | |
17100 | * objc/objc-act.c (my_build_string): Use fix_string_type. | |
17101 | (build_objc_string_object): Build varray for combine_strings. | |
17102 | ||
d8ae8cd4 BT |
17103 | 2002-04-26 Bo Thorsen <bo@suse.co.uk> |
17104 | ||
17105 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for | |
17106 | x86-64. | |
17107 | ||
f8b954fc NB |
17108 | 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk> |
17109 | ||
17110 | * cppexp.c (CPP_UMINUS, CPP_UPLUS): New. | |
17111 | (HAVE_NO_R_OPERAND): Remove. | |
17112 | (HAVE_VALUE): Remove. | |
17113 | (op_to_prio): Update. | |
17114 | (UNARY): Don't alter flags. | |
17115 | (_cpp_parse_expr): want_value used to indicate whether | |
17116 | a number or unary operator is expected next. Distinguish | |
17117 | unary and binary +/-. | |
17118 | (op_as_text): Update for unary operators. | |
17119 | ||
6052bef0 RH |
17120 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17121 | ||
17122 | PR c/2161 | |
17123 | * c-parse.in (yyoverflow): New. | |
17124 | ||
5c5b2283 RH |
17125 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17126 | ||
17127 | PR c/2098 | |
17128 | * c-common.c (shorten_compare): Simplfy conditions leading to | |
17129 | the generation of a warning. | |
17130 | ||
28ce94d4 RH |
17131 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17132 | ||
17133 | PR c/2035 | |
17134 | * expmed.c (extract_bit_field): Fall through to generic code rather | |
17135 | than aborting on subreg special case. | |
17136 | ||
6bfd0c63 DM |
17137 | 2002-04-25 David S. Miller <davem@redhat.com> |
17138 | ||
17139 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check | |
17140 | for DECL being NULL. | |
17141 | ||
7a430e3b SC |
17142 | 2002-04-25 Steve Christiansen <smc@us.ibm.com> |
17143 | ||
17144 | * doc/md.texi (Machine Constraints): Add IA-64 constraints. | |
17145 | ||
45c42d7d EB |
17146 | 2002-04-25 Eric Botcazou <ebotcazou@multimania.com> |
17147 | ||
17148 | * c-decl.c (grokdeclarator): Remove outdated ??? note | |
17149 | on invalid declaration of flexible array members. | |
17150 | ||
eb7715a4 RH |
17151 | 2002-04-25 Richard Henderson <rth@redhat.com> |
17152 | ||
17153 | * doc/invoke.texi: Document -gdwarf{,-2} vs debug level. | |
17154 | ||
cf5ee720 UW |
17155 | 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
17156 | ||
17157 | * config/s390/s390.c (s390_emit_epilogue): Always restore registers | |
17158 | needed by the compiler, even if they are used as global regs. | |
17159 | ||
d604bca3 MH |
17160 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
17161 | ||
17162 | * mips.c (mips_class_max_nregs, mips_register_move_cost): New | |
17163 | functions. | |
17164 | * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls | |
17165 | of the corresponding functions. | |
17166 | * mips-protos.h (mips_class_max_nregs, mips_register_move_cost): | |
17167 | New prototypes. | |
b875d2ee | 17168 | |
d604bca3 MH |
17169 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
17170 | ||
17171 | * config/mips/mips.h (mips_sw_reg_names): Declare as extern. | |
17172 | ||
17173 | (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro. | |
17174 | (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor | |
17175 | registers, adjust comment accordingly. | |
17176 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, | |
17177 | reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES, | |
17178 | DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries | |
17179 | for coprocessor registers. | |
17180 | (ADDITIONAL_REGISTER_NAMES): Include | |
17181 | ALL_COP_ADDITIONAL_REGISTER_NAMES. | |
b875d2ee | 17182 | |
d604bca3 MH |
17183 | (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM, |
17184 | COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM, | |
17185 | COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM, | |
17186 | COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P, | |
17187 | COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros. | |
17188 | ||
17189 | (mips_char_to_class): Adjust comment to include coprocessor | |
17190 | constraint letters. | |
17191 | ||
17192 | * config/mips/mips.c (coprocessor_operand, coprocessor2_operand): | |
17193 | New functions. | |
17194 | (mips_reg_names, mips_regno_to_class): Include coprocessor | |
17195 | information. | |
17196 | (mips_sw_reg_names): Ditto, make non-static. | |
17197 | (mips_move_1word): Handle moves to and from coprocessor registers. | |
17198 | (mips_move_2words): Handle moves to and from coprocessor | |
17199 | registers. | |
17200 | (mips_class_max_nregs, mips_register_move_cost): Handle | |
17201 | coprocessor register classes. | |
17202 | (override_options): Initialize mips_char_to_class and | |
17203 | mips_hard_regno_mode_ok properly for coprocessor registers. | |
17204 | ||
17205 | * config/mips/mips.md (movdi_internal, movdi_internal2, | |
17206 | movsi_internal1, movsi_internal2): Add constraint-sets for | |
17207 | coprocessor registers. | |
17208 | * testsuite/gcc.c-torture/mipscop-1.c: New testcase. | |
17209 | * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target | |
17210 | isn't mips. | |
17211 | * testsuite/gcc.c-torture/mipscop-2.c: New testcase. | |
17212 | * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target | |
17213 | isn't mips. | |
17214 | * testsuite/gcc.c-torture/mipscop-3.c: New testcase. | |
17215 | * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target | |
17216 | isn't mips. | |
17217 | * testsuite/gcc.c-torture/mipscop-4.c: New testcase. | |
17218 | * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target | |
17219 | isn't mips. | |
b875d2ee | 17220 | |
d604bca3 MH |
17221 | * doc/tm.texi: Document feature. |
17222 | ||
b9a26d09 NB |
17223 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
17224 | ||
17225 | * integrate.c (function_attribute_inlinable_p): Simplify. | |
17226 | Check the table pointer is not NULL. | |
17227 | ||
ab5973b7 SB |
17228 | 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl> |
17229 | ||
17230 | * doc/c-tree.texi: Fix typo in introduction. | |
17231 | ||
ff45c01e NB |
17232 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
17233 | ||
17234 | * c-common.h (c_common_parse_file): Update. | |
17235 | * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
17236 | * c-lex.c (YYDEBUG): Get from c-lex.h. | |
17237 | (c_common_parse_file): Update. | |
17238 | * c-lex.h (YYDEBUG, yydebug): New. | |
17239 | * c-parse.in (YYDEBUG): Get from c-lex.h. | |
17240 | (c_set_yydebug): Remove. | |
17241 | * c-tree.h (c_set_yydebug): Remove. | |
17242 | * langhooks-def.h (lhd_do_nothing_i): New. | |
17243 | (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove. | |
17244 | (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update. | |
17245 | * langhooks.c (lhd_do_nothing_i): New. | |
17246 | (lhd_set_yydebug): Remove. | |
17247 | * langhooks.h (struct lang_hooks): Update. | |
17248 | * toplev.c (set_yydebug): New. | |
17249 | (compile_file): Update call to parse_file hook. | |
17250 | (decode_d_option): Update. | |
17251 | objc: | |
17252 | * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
17253 | ||
fcae219a R |
17254 | Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com> |
17255 | ||
17256 | * loop.c (load_mems): Don't change the interface of called functions. | |
17257 | ||
17258 | * calls.c (expand_call): Take current_function_pretend_args_size | |
17259 | into account when setting argblock for sibcalls. | |
17260 | ||
d0fea45a MH |
17261 | 2002-04-24 Matt Hiller <hiller@redhat.com> |
17262 | ||
17263 | * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS. | |
17264 | * c-lex.c: Ditto. | |
17265 | ||
17266 | * cpplex.c (skip_line_comment): Process comment one multibyte | |
17267 | character at a time rather than one char at a time, if | |
17268 | appropriate. | |
17269 | (parse_string): Process string one multibyte character at a time | |
17270 | rather than one char at a time, if appropriate. | |
17271 | * c-lex.c (lex_string): Lex and copy multibyte strings | |
17272 | appropriately. | |
17273 | * cpplib.h (cppchar_t): Change to unsigned. | |
17274 | ||
2d1b5436 RH |
17275 | 2002-04-24 Richard Henderson <rth@redhat.com> |
17276 | ||
17277 | PR c/3467 | |
17278 | * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays | |
17279 | for c99. | |
17280 | ||
5e039e6b R |
17281 | Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com> |
17282 | ||
17283 | * sh.c (sh_va_arg): If argument was passed by reference, | |
17284 | dereference the pointer. | |
309d8365 R |
17285 | |
17286 | * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
51214775 R |
17287 | |
17288 | * sh.md (divsi3_i4_media): Use match_operand for input values | |
17289 | rather than hard registers. | |
17290 | (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values | |
17291 | unnecessarily through hard registers. Keep copies of pseudo | |
17292 | registers outside of the libcall sequence. | |
17293 | ||
17294 | * sh.md (casesi_shift_media): Add modes. | |
b700634a R |
17295 | |
17296 | * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode | |
17297 | values in memory. | |
17298 | ||
349ae713 NB |
17299 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
17300 | ||
17301 | * attribs.c (c_common_attribute_table): Move table and handlers | |
17302 | to c-common.c. | |
17303 | (format_attribute_table, lang_attribute_table, | |
17304 | lang_attribute_common): Remove. | |
17305 | (init_attributes): Replace NULL pointers with pointers to the | |
17306 | empty table. | |
17307 | (handle_packed_attribute, handle_nocommon_attribute, | |
17308 | handle_common_attribute, handle_noreturn_attribute, | |
17309 | handle_noinline_attribute, handle_always_inline_attribute, | |
17310 | handle_used_attribute, handle_unused_attribute, | |
17311 | handle_const_attribute, handle_transparent_union_attribute, | |
17312 | handle_constructor_attribute, handle_destructor_attribute, | |
17313 | handle_mode_attribute, handle_section_attribute, | |
17314 | handle_aligned_attribute, handle_weak_attribute, | |
17315 | handle_alias_attribute, handle_visibility_attribute, | |
17316 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
17317 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
17318 | handle_deprecated_attribute, handle_vector_size_attribute, | |
17319 | vector_size_helper): Move to c-common.c. | |
17320 | * c-common.c (c_common_attribute_table, | |
17321 | handle_packed_attribute, handle_nocommon_attribute, | |
17322 | handle_common_attribute, handle_noreturn_attribute, | |
17323 | handle_noinline_attribute, handle_always_inline_attribute, | |
17324 | handle_used_attribute, handle_unused_attribute, | |
17325 | handle_const_attribute, handle_transparent_union_attribute, | |
17326 | handle_constructor_attribute, handle_destructor_attribute, | |
17327 | handle_mode_attribute, handle_section_attribute, | |
17328 | handle_aligned_attribute, handle_weak_attribute, | |
17329 | handle_alias_attribute, handle_visibility_attribute, | |
17330 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
17331 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
17332 | handle_deprecated_attribute, handle_vector_size_attribute, | |
17333 | vector_size_helper): Move from attribs.c. | |
17334 | * c-common.h (c_common_attribute_table, | |
17335 | c_common_format_attribute_table): New. | |
17336 | * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
17337 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
17338 | * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, | |
17339 | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New. | |
17340 | (LANG_HOOKS_INITIALIZER): Update. | |
17341 | * langhooks.h (struct lang_hooks): 3 new attribute hooks. | |
17342 | * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL. | |
17343 | * target.h: Update comment. | |
17344 | * tree.c (default_target_attribute_table): Remove. | |
17345 | * tree.h (default_target_attribute_table, format_attribute_table, | |
17346 | lang_attribute_table, lang_attribute_common): Remove. | |
17347 | objc: | |
17348 | * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
17349 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
17350 | ||
84f0ace0 JM |
17351 | 2002-04-24 Jason Merrill <jason@redhat.com> |
17352 | ||
17353 | * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector. | |
17354 | * dwarf2out.c (dwarf_attr_name): Support it. | |
17355 | (gen_array_type_die): Emit it. | |
17356 | (lookup_type_die): No special handling for VECTOR_TYPE. | |
17357 | (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die. | |
17358 | ||
120eaf28 RH |
17359 | 2002-04-24 Richard Henderson <rth@redhat.com> |
17360 | ||
17361 | * config/mips/mips.md (movdi_usd): Renumber. | |
17362 | ||
e732178c DM |
17363 | 2002-04-24 David S. Miller <davem@redhat.com> |
17364 | ||
17365 | PR target/6420 | |
17366 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if | |
981f6289 | 17367 | 32-bit SPARC and current_function_returns_struct is true. |
e732178c | 17368 | |
e879eb2f JH |
17369 | Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
17370 | ||
17371 | * loop.c (canonicalize_condition): Use gen_int_mode. | |
17372 | ||
4287a893 AH |
17373 | 2002-04-24 Aldy Hernandez <aldyh@redhat.com> |
17374 | ||
17375 | * config/rs6000/altivec.h: Cleanup file. Add non individual | |
17376 | variants. | |
17377 | (vec_vaddubm): New. | |
17378 | (vec_vadduhm): New. | |
17379 | (vec_vadduwm): New. | |
17380 | (vec_vaddfp): New. | |
17381 | (vec_vaddcuw): New. | |
17382 | (vec_vaddubs): New. | |
17383 | (vec_vaddsbs): New. | |
17384 | (vec_vadduhs): New. | |
17385 | (vec_vadduws): New. | |
17386 | (vec_vaddsws): New. | |
17387 | (vec_vand): New. | |
17388 | (vec_vandc): New. | |
17389 | (vec_vavgub): New. | |
17390 | (vec_vavgsb): New. | |
17391 | (vec_vavguh): New. | |
17392 | (vec_vavgsh): New. | |
17393 | (vec_vavguw): New. | |
17394 | (vec_vavgsw): New. | |
17395 | (vec_vrfip): New. | |
17396 | (vec_vcmpbfp): New. | |
17397 | (vec_vcmpequb): New. | |
17398 | (vec_vcmpequh): New. | |
17399 | (vec_vcmpequw): New. | |
17400 | (vec_vcmpeqfp): New. | |
17401 | (vec_vcmpgefp): New. | |
17402 | (vec_vcmpgtub): New. | |
17403 | (vec_vcmpgtsb): New. | |
17404 | (vec_vcmpgtuh): New. | |
17405 | (vec_vcmpgtsh): New. | |
17406 | (vec_vcmpgtuw): New. | |
17407 | (vec_vcmpgtsw): New. | |
17408 | (vec_vcmpgtfp): New. | |
17409 | (vec_vcmpgefp): New. | |
17410 | (vec_vcfux): New. | |
17411 | (vec_vcfsx): New. | |
17412 | (vec_vctsxs): New. | |
17413 | (vec_vctuxs): New. | |
17414 | (vec_vexptefp): New. | |
17415 | (vec_vrfim): New. | |
17416 | (vec_lvx): New. | |
17417 | (vec_lvebx): New. | |
17418 | (vec_lvehx): New. | |
17419 | (vec_lde): Add vector float variant. | |
17420 | (vec_lvewx): New. | |
17421 | (vec_lvxl): New. | |
17422 | (vec_vlogefp): New. | |
17423 | (vec_vmaddfp): New. | |
17424 | (vec_vmhaddshs): New. | |
17425 | (vec_vmaxub): New. | |
17426 | (vec_vmaxsb): New. | |
17427 | (vec_vmaxuh): New. | |
17428 | (vec_vmaxsh): New. | |
17429 | (vec_vmaxuw): New. | |
17430 | (vec_vmaxsw): New. | |
17431 | (vec_vmaxsw): New. | |
17432 | (vec_vmaxfp): New. | |
17433 | (vec_vmrghb): New. | |
17434 | (vec_vmrghh): New. | |
17435 | (vec_vmrghw): New. | |
17436 | (vec_vmrglb): New. | |
17437 | (vec_vmrglh): New. | |
17438 | (vec_vmrglw): New. | |
17439 | (vec_vminub): New. | |
17440 | (vec_vminsb): New. | |
17441 | (vec_vminuh): New. | |
17442 | (vec_vminsh): New. | |
17443 | (vec_vminuw): New. | |
17444 | (vec_vminsw): New. | |
17445 | (vec_vminfp): New. | |
17446 | (vec_vmladduhm): New. | |
17447 | (vec_vmhraddshs): New. | |
17448 | (vec_msumubm): New. | |
17449 | (vec_vmsummbm): New. | |
17450 | (vec_vmsumuhm): New. | |
17451 | (vec_vmsumshm): New. | |
17452 | (vec_vmsumuhs): New. | |
17453 | (vec_vmsumshs): New. | |
17454 | (vec_vmuleub): New. | |
17455 | (vec_vmulesb): New. | |
17456 | (vec_vmuleuh): New. | |
17457 | (vec_vmulesh): New. | |
17458 | (vec_vmuloub): New. | |
17459 | (vec_mulosb): New. | |
17460 | (vec_vmulouh): New. | |
17461 | (vec_vmulosh): New. | |
17462 | (vec_vnmsubfp): New. | |
17463 | (vec_vnor): New. | |
17464 | (vec_vor): New. | |
17465 | (vec_vpkuhum): New. | |
17466 | (vec_vpkuwum): New. | |
17467 | (vec_vpkpx): New. | |
17468 | (vec_vpkuhus): New. | |
17469 | (vec_vpkshss): New. | |
17470 | (vec_vpkuwus): New. | |
17471 | (vec_vpkswss): New. | |
17472 | (vec_vpkshus): New. | |
17473 | (vec_vpkswus): New. | |
17474 | (vec_vperm): New. | |
17475 | (vec_vrefp): New. | |
17476 | (vec_vrlb): New. | |
17477 | (vec_vrlh): New. | |
17478 | (vec_vrlw): New. | |
17479 | (vec_vrfin): New. | |
17480 | (vec_vrsqrtefp): New. | |
17481 | (vec_vsel): New. | |
17482 | (vec_vslb): New. | |
17483 | (vec_vslh): New. | |
17484 | (vec_vslw): New. | |
17485 | (vec_vsldoi): New. | |
17486 | (vec_vsl): New. | |
17487 | (vec_vslo): New. | |
17488 | (vec_vspltb): New. | |
17489 | (vec_vsplth): New. | |
17490 | (vec_vspltw): New. | |
17491 | (vec_vspltisb): New. | |
17492 | (vec_vspltish): New. | |
17493 | (vec_vspltisw): New. | |
17494 | (vec_vsrb): New. | |
17495 | (vec_vsrh): New. | |
17496 | (vec_vsrw): New. | |
17497 | (vec_vsrab): New. | |
17498 | (vec_vsrah): New. | |
17499 | (vec_vsraw): New. | |
17500 | (vec_vsr): New. | |
17501 | (vec_vsro): New. | |
17502 | (vec_stvx): New. | |
17503 | (vec_stvebx): New. | |
17504 | (vec_stvehx): New. | |
17505 | (vec_stvewx): New. | |
17506 | (vec_stvxl): New. | |
17507 | (vec_vsububm): New. | |
17508 | (vec_vsubuhm): New. | |
17509 | (vec_vsubuwm): New. | |
17510 | (vec_vsubfp): New. | |
17511 | (vec_vsubcuw): New. | |
17512 | (vec_vsububs): New. | |
17513 | (vec_vsubsbs): New. | |
17514 | (vec_vsubuhs): New. | |
17515 | (vec_vsubshs): New. | |
17516 | (vec_vsubuws): New. | |
17517 | (vec_vsubsws): New. | |
17518 | (vec_vsum4ubs): New. | |
17519 | (vec_vsum4sbs): New. | |
17520 | (vec_vsum4shs): New. | |
17521 | (vec_vsum2sws): New. | |
17522 | (vec_vsumsws): New. | |
17523 | (vec_vrfiz): New. | |
17524 | (vec_vupkhsb): New. | |
17525 | (vec_vupkhpx): New. | |
17526 | (vec_vupkhsh): New. | |
17527 | (vec_vupklsb): New. | |
17528 | (vec_vupklpx): New. | |
17529 | (vec_vupklsh): New. | |
17530 | (vec_vxor): New. | |
17531 | ||
cff27795 EB |
17532 | 2002-04-23 Eric Botcazou <ebotcazou@multimania.com> |
17533 | ||
17534 | PR c/5430 | |
17535 | * fold-const.c (split_tree): Add MINUS_LITP parameter; separate | |
17536 | added literals from substracted literals. | |
17537 | (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR. | |
17538 | (fold) [associate]: Preserve MINUS_EXPR if needed. | |
17539 | ||
952bca84 ZW |
17540 | 2002-04-23 Zack Weinberg <zack@codesourcery.com> |
17541 | ||
17542 | * doc/install.texi: Clarify which versions of alpha*-dec-osf* | |
17543 | are obsoleted. | |
17544 | ||
50cb2154 TT |
17545 | 2002-04-23 Tom Tromey <tromey@redhat.com> |
17546 | ||
17547 | * gcc.c: Added --resource. For PR java/6314. | |
17548 | ||
271f61fb DB |
17549 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
17550 | ||
9566d1e9 | 17551 | * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg. |
271f61fb DB |
17552 | * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of |
17553 | these libraries. | |
17554 | ||
bdabbc80 DB |
17555 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
17556 | ||
17557 | * config/freebsd.h(OBJECT_FORMAT_ELF): Define. | |
17558 | ||
74411039 JH |
17559 | Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
17560 | ||
17561 | * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug | |
17562 | workaround. | |
17563 | (ix86_expand_int_movcc): Avoid x86_64 compilation chrash. | |
17564 | (ix86_expand_clrstr): Fix typo. | |
17565 | * loop.c (gen_load_of_final_value): New. | |
17566 | (loop_givs_rescan, strength_reduce, check_dbra_loop): | |
17567 | Use it. | |
17568 | ||
1a887f86 RS |
17569 | 2002-04-23 Roger Sayle <roger@eyesopen.com> |
17570 | ||
17571 | * builtins.c (builtin_memset_gen_str): New function. | |
17572 | (expand_builtin_memset): Optimize the case of constant length, but | |
17573 | unknown value. | |
17574 | ||
8d3441e0 AH |
17575 | 2002-04-23 Aldy Hernandez <aldyh@redhat.com> |
17576 | ||
cff27795 EB |
17577 | * config/rs6000/altivec.h (vec_step): Remove extraneous |
17578 | parentheses. | |
17579 | (vec_ctu): Cast return. | |
8d3441e0 | 17580 | |
f6f315fe AM |
17581 | 2002-04-23 Alan Modra <amodra@bigpond.net.au> |
17582 | ||
17583 | PR target/6413 | |
17584 | * function.h: (struct function): Add profile_label_no field. | |
17585 | (current_function_profile_label_no): Define. | |
17586 | * function.c: (profile_label_no): New static var. | |
17587 | (expand_function_start): Increment it, and copy to | |
17588 | current_function_profile_label_no. | |
17589 | * output.h (profile_label_no): Delete. | |
17590 | * final.c (profile_label_no): Delete. | |
17591 | (profile_function): Use current_function_profile_label_no. | |
17592 | (final_end_function): Don't increment profile_label_no here. | |
17593 | * config/i386/i386.c (ix86_osf_output_function_prologue): Replace | |
17594 | profile_label_no with current_function_profile_label_no. | |
17595 | * config/pa/pa.c (current_function_number): Delete. | |
17596 | (pa_output_function_prologue): Don't output profile label here. | |
17597 | (hppa_profile_hook): Use label_no param rather than | |
17598 | current_function_number. | |
17599 | (FUNC_BEGIN_PROLOG_LABEL): Move to .. | |
17600 | * config/pa/pa.h: .. here. | |
17601 | (FUNCTION_PROFILER): Output profile label here. | |
17602 | ||
d239cdc0 EC |
17603 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
17604 | ||
17605 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert | |
17606 | patch of 2002-04-09 due to binutils issues. | |
17607 | (FUNCTION_ARG_REGNO_P): Ensure even numbered float register. | |
17608 | ||
04428ad4 AH |
17609 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
17610 | ||
cff27795 EB |
17611 | * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm' |
17612 | constraint to 'o' for m=r and r=m alternatives. | |
17613 | ("*movv8hi_internal1"): Same. | |
17614 | ("*movv16qi_internal1"): Same. | |
17615 | ("*movv4sf_internal1"): Same. | |
04428ad4 | 17616 | |
2adc7f12 JJ |
17617 | 2002-04-22 Janis Johnson <janis187@us.ibm.com> |
17618 | ||
17619 | * rtl.h (RTX_FLAG): New macro. | |
17620 | * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags. | |
17621 | * final.c (alter_subreg): Use macro to access rtx flag. | |
17622 | * integrate.c (copy_rtx_and_substitute): Use new access macro. | |
17623 | * print-rtl.c (print_rtx): Use new access macro. | |
17624 | ||
17625 | * cse.c (insert): Check rtx code before accessing flag. | |
17626 | ||
17627 | * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P, | |
17628 | ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New. | |
17629 | (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test, | |
17630 | convert_const_symbol_ref, make_canonical, make_alternative_compare, | |
17631 | evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp, | |
17632 | simplify_test_exp, optimize_attrs, simplify_by_exploding, | |
17633 | find_and_mark_used_attributes, unmark_used_attributes, | |
17634 | add_values_to_cover, simplify_with_current_value, | |
17635 | simplify_with_current_value_aux, clear_struct_flag, walk_attr_value, | |
17636 | copy_rtx_unchanging, main): Use new access macros. | |
17637 | ||
b7c89afe TR |
17638 | 2002-04-22 Tom Rix <trix@redhat.com> |
17639 | ||
17640 | * expmed.c (init_expmed): Generate shifted constant once. | |
17641 | ||
9340544b ZW |
17642 | 2002-04-22 Zack Weinberg <zack@codesourcery.com> |
17643 | ||
17644 | * c-lex.c (lex_charconst): Call convert to get constant in | |
17645 | proper type; don't just smash the type field. | |
17646 | Fixes PR c/6300. | |
17647 | ||
17648 | * config.gcc: Add list of obsolete configurations. Disallow | |
17649 | building these without --enable-obsolete. | |
17650 | * doc/install.texi: Document --enable-obsolete and obsoletion | |
17651 | policy. Mention obsoletion of individual targets in | |
17652 | appropriate places. | |
17653 | ||
f942d7a5 RH |
17654 | 2002-04-22 Richard Henderson <rth@redhat.com> |
17655 | ||
17656 | * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New. | |
17657 | ||
17658 | 2002-04-22 Mark Mitchell <mark@codesourcery.com> | |
8ed8f731 MM |
17659 | |
17660 | PR f/6138. | |
17661 | * function.c (fixup_memory_subreg): Add promoted_mode parameter. | |
17662 | (walk_fixup_memory_subreg): Likewise. | |
17663 | (fixup_var_refs_insn): Adjust accordingly. | |
17664 | (fixup_var_refs_1): Likewise. | |
17665 | ||
232b0b45 UW |
17666 | 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com> |
17667 | ||
17668 | * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, | |
17669 | LIBPATH_ARCH64_SPEC): Define. | |
17670 | (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64. | |
17671 | (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath. | |
17672 | (LINK_ARCH31_SPEC): Add libpath_arch31 to search path. | |
17673 | (LINK_ARCH64_SPEC): Add libpath_arch64 to search path. | |
17674 | ||
1b61552b JS |
17675 | 2002-04-22 Joel Sherrill <joel@OARcorp.com> |
17676 | ||
17677 | * gthr-rtems.h: Correct prototypes to remove warnings. | |
17678 | ||
0fe854a7 RH |
17679 | 2002-04-22 Richard Henderson <rth@redhat.com> |
17680 | ||
17681 | PR c/6344 | |
17682 | * alias.c (canon_true_dependence): Special case (mem:blk (scratch)). | |
17683 | ||
17684 | * gcse.c (free_insn_expr_list_list): New. | |
17685 | (clear_modify_mem_tables): Use it. Fix bit set usage. | |
17686 | (canon_list_insert): Use EXPR_LISTs for expressions. | |
17687 | (record_last_mem_set_info): Factor BLOCK_NUM (insn). | |
17688 | ||
af0d16cd NB |
17689 | 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk> |
17690 | ||
17691 | * cppfiles.c (_cpp_pop_file_buffer): Return void. Move | |
17692 | file change and include code to _cpp_pop_buffer. | |
17693 | * cpphash.h (struct pending_option): Predeclare. | |
17694 | (struct cpp_reader): New member next_include_file. | |
17695 | (_cpp_pop_file_buffer): Update. | |
17696 | (_cpp_push_next_buffer): Update, rename. | |
17697 | * cppinit.c (cpp_destroy): Free include chain and pending here. | |
17698 | (cpp_finish_options): Simplify. | |
17699 | (_cpp_push_next_buffer): Rename and clean up. | |
17700 | * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer. | |
17701 | Clarify. | |
17702 | * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here. | |
17703 | ||
0d918572 AH |
17704 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
17705 | ||
0fe854a7 RH |
17706 | * config/rs6000/altivec.h (vec_xor): Add variant for both args |
17707 | being vector signed int. | |
17708 | (vec_andc): Same. | |
17709 | (vec_xor): Add variant for both args being vector signed char. | |
17710 | Remove redundant variant. | |
17711 | (vec_andc): Same. | |
0d918572 | 17712 | |
77e2c290 DM |
17713 | 2002-04-21 David S. Miller <davem@redhat.com> |
17714 | ||
17715 | * config/sparc/sparc.md (set then compare DI mode peephole2): Fix | |
17716 | compare mode in output RTL. | |
17717 | ||
ee2ca2a2 DE |
17718 | 2002-04-22 David Edelsohn <edelsohn@gnu.org> |
17719 | ||
17720 | * config/rs6000/rs6000.c (rs6000_override_options): Correct | |
17721 | style and formatting of previous patch. | |
17722 | ||
894bdff6 AM |
17723 | 2002-04-22 Alan Modra <amodra@bigpond.net.au> |
17724 | ||
17725 | * config/rs6000/rs6000.c (rs6000_override_options): Always clear | |
17726 | flag_pic for ABI_AIX. | |
17727 | ||
562a5c27 NB |
17728 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
17729 | ||
17730 | * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. | |
17731 | * cppfiles.c (read_include_file): Similarly. | |
17732 | * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, | |
17733 | uxstrdup ustrchr, ufputs): Similarly. | |
17734 | * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. | |
17735 | * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, | |
17736 | cpp_ideq, parse_identifier, parse_number): Similarly. | |
17737 | * cpplib.c (struct directive, dequote_string, D, run_directive, | |
17738 | cpp_push_buffer): Similarly. | |
17739 | * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, | |
17740 | _cpp_create_definition, check_trad_stringification, | |
17741 | cpp_macro_definition): Similarly. | |
17742 | ||
9ac3b1be NB |
17743 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
17744 | ||
17745 | * cppmacro.c (funlike_invocation_p): Don't step back | |
17746 | over CPP_EOF. | |
17747 | ||
9dda4cc8 DE |
17748 | 2002-04-21 David Edelsohn <edelsohn@gnu.org> |
17749 | ||
17750 | * config/rs6000/rs6000.c (output_profile_hook): Do not increment | |
17751 | labelno. | |
17752 | ||
20764052 JM |
17753 | 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk> |
17754 | ||
17755 | * doc/invoke.texi: Remove Chill references. | |
17756 | * doc/gcc.texi: Update last modified date. | |
17757 | ||
26b29884 KH |
17758 | 2002-04-20 Kazu Hirata <kazu@hxi.com> |
17759 | ||
17760 | * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary | |
17761 | push and pop. Replace add.l with add.w. | |
17762 | ||
59184677 TM |
17763 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
17764 | ||
17765 | * config/h8300/lib1funcs.asm (___mulsi3): Use hardware | |
17766 | multiply instructions for H8/300H case. | |
17767 | ||
b1113e0a TM |
17768 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
17769 | ||
17770 | * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): | |
17771 | Bum three instructions from each routine. | |
17772 | ||
b03e38e1 NB |
17773 | 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk> |
17774 | ||
17775 | * Makefile.in: Update. | |
17776 | * decl.c (push_c_function_context, pop_c_function_context, | |
17777 | mark_c_function_context): Rename for consistency. | |
17778 | * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere. | |
17779 | * c-tree.h (push_c_function_context, pop_c_function_context, | |
17780 | mark_c_function_context): Rename for consistency. | |
17781 | * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
17782 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
17783 | * function.c (init_lang_status, save_lang_status, | |
17784 | restore_lang_status, mark_lang_status, free_lang_status): | |
17785 | Move to langhooks.h. | |
17786 | (push_function_context_to, pop_function_context_from, | |
17787 | free_after_parsing, prepare_function_start, ggc_mark_struct_function): | |
17788 | Update. | |
17789 | * function.h (init_lang_status, save_lang_status, | |
17790 | restore_lang_status, mark_lang_status, free_lang_status): | |
17791 | Move to langhooks.h. | |
17792 | * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT, | |
17793 | LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
17794 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK, | |
17795 | LANG_HOOKS_FUNCTION_INITIALIZER): New. | |
17796 | (LANG_HOOKS_INITIALIZER): Update. | |
17797 | (lhd_do_nothing_f): New. | |
17798 | * langhooks.h (struct lang_hooks_for_functions): New. | |
17799 | (struct lang_hooks): New hooks. | |
17800 | * langhooks.c (lhd_do_nothing_f): New. | |
17801 | objc: | |
17802 | * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
17803 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
17804 | ||
db430d26 DM |
17805 | 2002-04-19 David S. Miller <davem@redhat.com> |
17806 | ||
17807 | * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. | |
17808 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise. | |
17809 | ||
0f2a3457 JJ |
17810 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
17811 | ||
17812 | PR optimization/3756 | |
17813 | * config/i386/i386.c (ix86_expand_int_movcc): Optimize | |
17814 | x = ((int) y < 0) ? cst1 : cst2. | |
17815 | ||
ce5e43d0 JJ |
17816 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
17817 | ||
17818 | PR c/6358 | |
17819 | * function.c: Reapply patch for c/6358. | |
17820 | (expand_function_end): Copy decl_rtl's mode, not | |
17821 | current_function_return_rtx mode. | |
17822 | ||
17823 | 2002-04-19 Joel Sherrill <joel@OARcorp.com> | |
9eb83f6c JS |
17824 | |
17825 | * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF | |
17826 | targets. | |
17827 | ||
40e7f8ea TT |
17828 | 2002-04-19 Tom Tromey <tromey@redhat.com> |
17829 | ||
17830 | * doc/install.texi (Specific): Update status of Solaris 2.8. | |
17831 | For PR libgcj/6158. | |
17832 | ||
62a12b27 AS |
17833 | 2002-04-19 Andreas Schwab <schwab@suse.de> |
17834 | ||
17835 | * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE. | |
17836 | (PUT_REAL): Restore old definition. | |
17837 | ||
1405141b DN |
17838 | 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu> |
17839 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
17840 | ||
17841 | * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that | |
17842 | binutils 2.11.2 and higher generate smaller binaries than Sun's | |
17843 | native tools. | |
17844 | ||
303a3927 MM |
17845 | 2002-04-19 Mark Mitchell <mark@codesourcery.com> |
17846 | ||
17847 | PR c++/6352 | |
17848 | * toplev.c (rest_of_compilation): Do not defer functions for which | |
17849 | TREE_SYMBOL_REFERENCED has already been set. | |
17850 | ||
de80110b JH |
17851 | Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz> |
17852 | ||
17853 | * i386.md (movsi_1, movhi_1): Force reload to use more flexible | |
17854 | alternative. | |
17855 | ||
ab393bf1 NB |
17856 | 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk> |
17857 | ||
17858 | * builtins.c: Include langhooks.h. | |
17859 | (lang_type_promotes_to): Remove. | |
17860 | (expand_builtin_va_arg): Use new hook. | |
17861 | * c-common.c (c_common_nodes_and_builtins): Don't set hook. | |
17862 | (simple_type_promotes_to): Move to c-typeck.c. | |
17863 | * c-common.h (simple_type_promotes_to): Remove. | |
17864 | * c-decl.c (duplicate_decls, grokdeclarator): Update. | |
17865 | * c-format.c: Include langhooks.h. | |
17866 | (check_format_types): Update. | |
17867 | * c-tree.h (c_type_promotes_to): New. | |
17868 | * c-typeck.c (c_type_promotes_to): Move from c-common.c. | |
17869 | (type_lists_compatible_p): Update. | |
17870 | * langhooks-def.h (lhd_type_promotes_to): New. | |
17871 | (LANG_HOOKS_TYPE_PROMOTES_TO): New. | |
17872 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
17873 | * langhooks.c (lhd_type_promotes_to): New. | |
17874 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
17875 | * tree.h (lang_type_promotes_to): Remove. | |
17876 | objc: | |
17877 | * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine. | |
17878 | ||
0cd3301b RH |
17879 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17880 | ||
58533fa2 | 17881 | * function.c: Revert patch for c/6358. |
0cd3301b RH |
17882 | |
17883 | 2002-04-18 Richard Henderson <rth@redhat.com> | |
17884 | ||
58533fa2 RH |
17885 | * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN |
17886 | blocks. Handle multiple references to the TRAP block. Handle | |
17887 | non-adjacent THEN and OTHER blocks. | |
0cd3301b | 17888 | |
58533fa2 RH |
17889 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17890 | ||
17891 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't | |
17892 | crash with no type for by-mode libcalls. | |
17893 | ||
17894 | * config/ia64/ia64.md (conditional_trap): Fix predicate polarity. | |
0cd3301b | 17895 | |
57174693 BW |
17896 | 2002-04-18 Bob Wilson <bob.wilson@acm.org> |
17897 | ||
17898 | * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill, | |
17899 | __xtensa_nonlocal_goto): Use a syscall instructions to flush | |
17900 | the register windows. | |
17901 | ||
46468cd9 ZW |
17902 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
17903 | ||
17904 | * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as | |
17905 | appropriate. Document need for extended precision even when | |
17906 | MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here, | |
17907 | based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size | |
17908 | REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error | |
17909 | instead of relying on later syntax error when REAL_WIDTH > 5. | |
17910 | * real.c: Define NE based only on whether or not we have a | |
17911 | full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT). | |
17912 | Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally | |
17913 | define GET_REAL and PUT_REAL as simple memcpy operations; no | |
17914 | need to byteswap or round. | |
17915 | Use #error instead of #ifdef-ing out the entire file, for | |
17916 | prompt error detection. | |
17917 | ||
17918 | * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here. | |
17919 | ||
2f82dbf8 DM |
17920 | 2002-04-18 David S. Miller <davem@redhat.com> |
17921 | ||
17922 | * config/sparc/sparc.h (BRANCH_COST): Define. | |
17923 | ||
17924 | * fold-const.c (BRANCH_COST): Don't provide default here, expr.h | |
17925 | does it. | |
17926 | ||
566576e7 HPN |
17927 | 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com> |
17928 | ||
17929 | * flow.c (update_life_info): Ignore return value of cleanup_cfg. | |
17930 | Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in | |
17931 | propagate_block calls after relaxation loop using new variable | |
17932 | stabilized_prop_flags. | |
17933 | ||
51dcde6f RH |
17934 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17935 | ||
17936 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New. | |
17937 | (ia64_va_arg): Expect variable sized types by reference. | |
17938 | * config/ia64/ia64-protos.h: Update. | |
46468cd9 | 17939 | * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use |
51dcde6f RH |
17940 | ia64_function_arg_pass_by_reference. |
17941 | ||
26406018 RH |
17942 | 2002-04-18 Richard Henderson <rth@redhat.com> |
17943 | ||
46468cd9 ZW |
17944 | * ifcvt.c: Include except.h. |
17945 | (block_has_only_trap): Break out from find_cond_trap. | |
17946 | (find_cond_trap): Use it. Always delete the trap block. | |
17947 | (merge_if_block): Allow then block null. Be less simplistic about | |
17948 | what insns can end a block. | |
17949 | * Makefile.in (ifcvt.o): Depend on except.h. | |
96b453dc | 17950 | |
26406018 RH |
17951 | * config/ia64/ia64.md (trap, conditional_trap): New. |
17952 | ||
a3acf46d JJ |
17953 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
17954 | ||
17955 | PR c/6358 | |
17956 | * function.c (assign_parms): Assign hard current_function_return_rtx | |
17957 | register here... | |
17958 | (expand_function_end): ...not here. | |
17959 | ||
7a228918 NB |
17960 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
17961 | ||
17962 | * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
17963 | * c-tree.h (c_incomplete_type_error): New. | |
17964 | * c-typeck.c (require_complete_type, build_component_ref): Update. | |
17965 | (incomplete_type_error): Rename. | |
17966 | * langhooks-def.h (lhd_incomplete_type_error): New. | |
17967 | (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New. | |
17968 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
17969 | * langhooks.c (lhd_incomplete_type_error): New. | |
17970 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
17971 | * tree.c (size_in_bytes): Use new hook. | |
17972 | * tree.h (incomplete_type_error): Remove. | |
17973 | objc: | |
17974 | * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
17975 | ||
f18664c1 ZW |
17976 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
17977 | ||
17978 | * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT != | |
17979 | TARGET_FLOAT_FORMAT blocks. | |
17980 | ||
8ecab453 GP |
17981 | 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
17982 | ||
17983 | * doc/install.texi (Downloading the source): Do not mention Chill | |
17984 | any longer, but mention Ada. | |
17985 | (Configuration): Do not mention Chill any longer. | |
17986 | ||
528d8489 HPN |
17987 | 2002-04-18 Hans-Peter Nilsson <hp@axis.com> |
17988 | ||
17989 | * config/cris/cris.h (TARGET_VERSION): Remove local version number. | |
17990 | ||
91da27c5 JH |
17991 | Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz> |
17992 | ||
17993 | * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution | |
17994 | in last patch. | |
17995 | ||
a32db605 JJ |
17996 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
17997 | ||
17998 | * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) | |
17999 | instead of unsigned_type. | |
18000 | ||
5a28d8cc JH |
18001 | Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
18002 | ||
18003 | * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check. | |
18004 | * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped | |
18005 | later. | |
18006 | ||
3d980b9f BS |
18007 | 2002-04-18 Bernd Schmidt <bernds@redhat.com> |
18008 | ||
18009 | * attribs.c (vector_type_node_list): New static variable. | |
18010 | (handle_vector_size_attribute): Use it to avoid generating a | |
18011 | new type node each time we are called. | |
18012 | ||
2e676d78 BS |
18013 | * combine.c (subst): Avoid trying to make a vector mode subreg of |
18014 | an integer constant. | |
18015 | (gen_lowpart_for_combine): Likewise. | |
46468cd9 | 18016 | |
58c2956c RS |
18017 | 2002-04-18 Roger Sayle <roger@eyesopen.com> |
18018 | Jakub Jelinek <jakub@redhat.com> | |
18019 | ||
18020 | * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c) | |
18021 | for integer constant c (if x has unsigned type or sign bit is not | |
18022 | set in c). This folds the zero/sign extension into the bit-wise and | |
18023 | operation. | |
18024 | ||
692efa8e JJ |
18025 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
18026 | ||
18027 | PR middle-end/6205 | |
18028 | * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2, | |
18029 | otherwise xorps. | |
18030 | ||
1372d4ce NY |
18031 | 2002-04-17 NIIBE Yutaka <gniibe@m17n.org> |
18032 | ||
18033 | * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL. | |
18034 | ||
169ce44d NC |
18035 | 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com> |
18036 | ||
18037 | * gcc.c (read_specs): Detect and fail if an attempt is made to | |
18038 | rename a spec string to an already existing string. | |
18039 | ||
b30d2115 UW |
18040 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
18041 | ||
18042 | * config/s390/s390.c (legitimize_pic_address): Do not generate | |
18043 | illegal address constant without CONST. | |
18044 | ||
d6964c30 KG |
18045 | 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18046 | ||
18047 | * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64. | |
18048 | * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
18049 | ||
7c82a1ed UW |
18050 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
18051 | ||
18052 | PR optimization/6305 | |
18053 | * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement | |
18054 | to make sure previous reloads are taken into account. Generate | |
18055 | better code if one operand is an in-range immediate constant. | |
18056 | ||
58db9d1a AH |
18057 | 2002-04-16 Andrew Haley <aph@cambridge.redhat.com> |
18058 | ||
18059 | * doc/install.texi (Building): libgcj requires GNU make. | |
18060 | ||
2a732575 JJ |
18061 | 2002-04-17 Jakub Jelinek <jakub@redhat.com> |
18062 | ||
18063 | PR bootstrap/6315 | |
18064 | * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting | |
18065 | even if hard quad and register is not floating. | |
18066 | (movtf reg<-mem split): Disallow splitting if hard quad and | |
18067 | register is floating. | |
18068 | (movtf mem<-reg split): Likewise. | |
18069 | * config/sparc/sparc.c (fp_register_operand): New predicate. | |
18070 | * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand. | |
18071 | ||
75a65e46 ZW |
18072 | 2002-04-17 Zack Weinberg <zack@codesourcery.com> |
18073 | ||
18074 | * Makefile.in (PROTO_OBJS): Add cppdefault.o. | |
18075 | (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line. | |
18076 | (unprotoize.o): Ditto. Build from protoize.c. Define | |
18077 | UNPROTOIZE on command line. | |
18078 | * protoize.c: Include cppdefault.h. Delete include_defaults. | |
18079 | (in_system_include_dir): Use cpp_include_defaults (defined in | |
18080 | cppdefault.o). | |
18081 | * unprotoize.c: Delete file. | |
18082 | ||
650f0e97 AH |
18083 | 2002-04-17 Aldy Hernandez <aldyh@redhat.com> |
18084 | ||
46468cd9 ZW |
18085 | * config/rs6000/altivec.h (vec_ld): Add array variants. |
18086 | (vec_lde): Same. | |
18087 | (vec_ldl): Same. | |
650f0e97 | 18088 | |
71a0ab0c | 18089 | 2002-04-17 Alan Matsuoka <alanm@redhat.com> |
46468cd9 | 18090 | Aldy Hernandez <aldyh@redhat.com> |
71a0ab0c | 18091 | |
46468cd9 ZW |
18092 | * config/rs6000/altivec.h: Define __ALTIVEC__. |
18093 | (bool): New. | |
18094 | (__pixel): New. | |
18095 | (pixel): New. | |
18096 | (vec_cfux): New. | |
18097 | (vec_vmaddfp): New. | |
18098 | (vec_vsldoi): New. | |
18099 | Add parentheses to all macro arguments. | |
71a0ab0c | 18100 | |
ff2c46ac RH |
18101 | 2002-04-16 Richard Henderson <rth@redhat.com> |
18102 | ||
18103 | PR c++/6320 | |
18104 | * except.c (remove_eh_handler): Insert inner regions at beginning | |
18105 | of sibling chain. Refactor expressions. | |
18106 | ||
f1ba94dd RH |
18107 | 2002-04-16 Richard Henderson <rth@redhat.com> |
18108 | ||
f0871dfe RH |
18109 | * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New. |
18110 | * config/sparc/sol2-gas-bi.h: New file. | |
18111 | * config.gcc (sparc*-solaris): Add it as needed. | |
18112 | * configure.in (AS_SPARC64_FLAG): Remove check. | |
18113 | * config.in, configure: Regenerate. | |
18114 | ||
18115 | * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64. | |
18116 | ||
18117 | 2002-04-16 Richard Henderson <rth@redhat.com> | |
18118 | ||
18119 | * config/mips/mips.c (override_options): Don't override N32 for | |
18120 | a 64-bit ISA. | |
409d3c60 | 18121 | |
f1ba94dd RH |
18122 | PR 6202 |
18123 | * config/mips/mips.md (can_delay): Split out of existing define_delays. | |
18124 | (HILO_delay): Set can_delay false. | |
18125 | ||
178c3eff DJ |
18126 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
18127 | ||
18128 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute | |
18129 | instruction addresses. | |
18130 | (rs6000_output_function_epilogue): Likewise. | |
18131 | ||
7d6f6369 PC |
18132 | 2002-04-16 Paolo Carlini <pcarlini@unitus.it> |
18133 | ||
18134 | * c-parse.in (poplevel, compstmt_start, | |
18135 | compstmt_primary_start): Add ending ';', in accordance | |
18136 | with POSIX. | |
18137 | ||
8947df0c RH |
18138 | 2002-04-16 Richard Henderson <rth@redhat.com> |
18139 | ||
18140 | * config.gcc (sparcv9-solaris): Configure for 64-bit default. | |
18141 | Adjust tm_file order to get TARGET_DEFAULT set properly. | |
18142 | (sparc-solaris): Configure 2.[78] for 64-bit multilibs. | |
18143 | * doc/install.texi (sparc-solaris): Update. | |
18144 | ||
3148ad6d DJ |
18145 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
18146 | ||
18147 | * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of | |
18148 | comparison operands do not match each other or if modes of | |
18149 | conditions do not match result. | |
18150 | ||
014cb9b6 | 18151 | 2002-04-16 Hartmut Penner <hpenner@de.ibm.com> |
562a69be | 18152 | |
014cb9b6 HP |
18153 | PR target/6305 |
18154 | * config/s390/s390.md (mulsidi3): Set both subregs of the | |
46468cd9 | 18155 | multiword register. |
562a69be | 18156 | |
014cb9b6 | 18157 | 2002-04-16 Aldy Hernandez <aldyh@redhat.com> |
4c8c0dec | 18158 | |
8947df0c | 18159 | * config/rs6000/altivec.h (vec_addc): Type check. |
4c8c0dec | 18160 | |
a9772b60 JJ |
18161 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
18162 | ||
18163 | PR middle-end/6279 | |
18164 | * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target. | |
18165 | ||
18166 | * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET. | |
18167 | ||
861829ed RH |
18168 | 2002-04-15 Richard Henderson <rth@redhat.com> |
18169 | ||
18170 | * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set | |
18171 | call_really_used_regs too. | |
18172 | ||
bcf2fe9c RH |
18173 | 2002-04-15 Richard Henderson <rth@redhat.com> |
18174 | ||
18175 | * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd. | |
18176 | ||
629111c7 DM |
18177 | 2002-04-15 David S. Miller <davem@redhat.com> |
18178 | ||
18179 | * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs | |
18180 | as being CLOBBERed. | |
18181 | ||
98ef3137 JJ |
18182 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
18183 | ||
18184 | PR c/6290 | |
18185 | * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the | |
18186 | CONST_VECTOR is { 0, ... 0 }. | |
18187 | ||
0aa911c5 LR |
18188 | 2002-04-15 Loren J. Rittle <ljrittle@acm.org> |
18189 | ||
18190 | * doc/install.texi (Installing GCC: Configuration): Clarify | |
18191 | the only supported ways to configure gcc. | |
18192 | ||
83248d49 | 18193 | 2002-04-15 Roland McGrath <roland@frob.com> |
46468cd9 | 18194 | |
83248d49 RM |
18195 | * config.gcc (alpha*-*-gnu*): New target configuration. |
18196 | * config/alpha/gnu.h: New file for it. | |
18197 | * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define. | |
18198 | ||
b2123dc0 MM |
18199 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
18200 | ||
18201 | * c-common.h (STMT_EXPR_NO_SCOPE): New macro. | |
18202 | * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE. | |
18203 | * tree.h (expand_start_stmt_expr): Update prototype. | |
18204 | * stmt.c (expand_start_stmt_expr): Add has_scope parameter. | |
18205 | * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE | |
18206 | on the STMT_EXPR created for the inline function. | |
46468cd9 | 18207 | |
8fe2d853 RH |
18208 | 2002-04-15 Richard Henderson <rth@redhat.com> |
18209 | ||
18210 | * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h, | |
18211 | config/i386/linux-aout.h, config/i386/linux-oldld.h, | |
18212 | config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, | |
18213 | config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h, | |
18214 | config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h, | |
18215 | config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h, | |
18216 | config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES): | |
18217 | Define __gnu_linux__, not gnu_linux. | |
18218 | * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd. | |
18219 | ||
07cdae91 MM |
18220 | 2002-04-15 Mark Mitchell <mark@codesourcery.com> |
18221 | ||
18222 | Remove Chill front end. | |
18223 | * gcc.c (default_compilers): Remove Chill entries. | |
18224 | * ch: Remove directory. | |
18225 | * doc/frontends.texi: Remove information about Chill. | |
18226 | * doc/sourcebuild.texi: Likewise. | |
18227 | * doc/standards.texi: Likewise. | |
18228 | ||
41823c5e DR |
18229 | 2002-04-15 Douglas B Rupp <rupp@gnat.com> |
18230 | ||
18231 | * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include. | |
18232 | (LONGLONG_STANDALONE): Define. | |
18233 | ||
eb29ddb6 DM |
18234 | 2002-04-15 David S. Miller <davem@redhat.com> |
18235 | ||
18236 | * config/sparc/sparc.c (sparc_emit_float_lib_cmp): | |
18237 | Call emit_library_call with LCT_NORMAL. | |
18238 | (sparc_initialize_trampoline): Use LCT_foo instead of | |
18239 | magic constant in emit_library_call invocations. | |
18240 | (sparc64_initialize_trampoline): Likewise. | |
18241 | (sparc_profile_hook): Likewise. | |
18242 | * config/sparc/sparc.md: Likewise. | |
18243 | ||
18244 | * config/sparc/sparc.c (sparc_extra_constraint_check): | |
18245 | Fix type of argument 'c'. | |
18246 | * config/sparc/sparc-protos.h (sparc_extra_constraint_check): | |
18247 | Likewise. | |
18248 | ||
bd6bec6b GDR |
18249 | 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
18250 | ||
18251 | * diagnostic.h (output_buffer_state): Redefine. | |
18252 | (output_format_decoder): New macro. | |
18253 | (output_prefixing_rule): Likewise. | |
18254 | (output_line_cutoff): Likewise. | |
18255 | (diagnostic_format_decoder): Adjust. | |
18256 | (diagnostic_prefixing_rule): Likewise. | |
18257 | (diagnostic_line_cutoff): Likewise. | |
18258 | (diagnostic_state): Likewise. | |
18259 | (diagnostic_kind_count): Likewise. | |
18260 | (diagnostic_buffer): Now a macro. | |
18261 | ||
18262 | * diagnostic.c (diagnostic_buffer): Remove definition. | |
18263 | (output_is_line_wrapping): Adjust. | |
18264 | (set_real_maximum_length): Likewise. | |
18265 | (output_set_maximum_length): Likewise. | |
18266 | (init_output_buffer): Likewise. | |
18267 | (lhd_print_error_function): Likewise. | |
18268 | (output_do_verbatim): Likewise. | |
18269 | ||
ebef4e8c NB |
18270 | 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk> |
18271 | ||
18272 | * cpperror.c (print_location): Don't print include chain | |
18273 | if line == 0. | |
18274 | (cpp_begin_message): Update to use DL_ macros. | |
18275 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
18276 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
18277 | cpp_notice, cpp_notice_from_errno): Remove. | |
18278 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
18279 | level. | |
18280 | (cpp_errno): New. | |
18281 | * cppexp.c (CPP_ICE): Remove. | |
18282 | (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined, | |
18283 | lex, integer_overflow, _cpp_parse_expr): Update. | |
18284 | * cppfiles.c (read_include_file, find_include_file, | |
18285 | handle_missing_header, _cpp_read_file, remap_filename): Update. | |
18286 | * cpphash.h (enum error_type): Remove. | |
18287 | (_cpp_begin_message): Update. | |
18288 | * cppinit.c (append_include_chain, remove_dup_dirs, output_deps, | |
18289 | cpp_handle_option, cpp_post_options): Update. | |
18290 | * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment, | |
18291 | skip_whitespace, parse_identifier, parse_slow, parse_string, | |
18292 | _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape, | |
18293 | cpp_interpret_charconst): Update. | |
18294 | * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive, | |
18295 | lex_macro_node, do_undef, glue_header_name, parse_include, | |
18296 | do_include_common, read_flag, do_line, do_linemarker, do_ident, | |
18297 | cpp_register_pragma, do_pragma_once, do_pragma_system_header, | |
18298 | do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else, | |
18299 | do_elif, do_endif, parse_answer, parse_assertion, do_assert, | |
18300 | _cpp_pop_buffer, do_diagnostic): Update. | |
18301 | * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR, | |
18302 | DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New. | |
18303 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
18304 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
18305 | cpp_notice, cpp_notice_from_errno): Remove. | |
18306 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
18307 | level. | |
18308 | (cpp_errno): New. | |
18309 | * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens, | |
18310 | collect_args, enter_macro_context, save_parameter, parse_params, | |
18311 | _cpp_create_definition, check_trad_stringification, | |
18312 | cpp_macro_definition): Update. | |
18313 | * cppmain.c (cpp_preprocess_file): Update. | |
18314 | * fix-header.c (read_scan_file): Update. | |
18315 | ||
c19a3859 AS |
18316 | 2002-04-14 Andreas Schwab <schwab@suse.de> |
18317 | ||
18318 | * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash. | |
18319 | ||
10fdbed6 JD |
18320 | 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
18321 | ||
18322 | * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. | |
18323 | ||
77660a9a MM |
18324 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
18325 | ||
18326 | * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, | |
18327 | not gnu_hurd. | |
18328 | ||
e0ff1ded HPN |
18329 | 2002-04-13 Hans-Peter Nilsson <hp@axis.com> |
18330 | ||
18331 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo. | |
18332 | ||
2341c7ea JS |
18333 | 2002-04-13 Joel Sherrill <joel@OARcorp.com> |
18334 | ||
18335 | * config/sparc/t-elf: Enable v8 multilibs. Impacts | |
18336 | sparc-elf and sparc-rtems targets. | |
18337 | ||
d29350c0 MM |
18338 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
18339 | ||
18340 | * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is | |
18341 | defined, and __gnu_hurd__ wherever __GNU__ is defined. | |
18342 | * arm/linux-elf.h: Likewise. | |
18343 | * cris/aout.h: Likewise. | |
18344 | * cris/linux.h: Likewise. | |
18345 | * i370/linux.h: Likewise. | |
18346 | * i386/gnu.h: Likewise. | |
18347 | * i386/linux-aout.h: Likewise. | |
18348 | * i386/linux-oldld.h: Likewise. | |
18349 | * i386/linux.h: Likewise. | |
18350 | * i386/linux64.h: Likewise. | |
18351 | * ia64/linux.h: Likewise. | |
18352 | * m68k/linux-aout.h: Likewise. | |
18353 | * m68k/linux.h: Likewise. | |
18354 | * mips/linux.h: Likewise. | |
18355 | * pa/pa-linux.h: Likewise. | |
18356 | * pj/linux.h: Likewise. | |
18357 | * rs6000/sysv4.h: Likewise. | |
18358 | * s390/linux.h: Likewise. | |
18359 | * sh/linux.h: Likewise. | |
18360 | * sparc/linux-aout.h: Likewise. | |
18361 | * sparc/linux.h: Likewise. | |
18362 | * sparc/linux64.h: Likewise. | |
18363 | * xtensa/linux.h: Likewise. | |
18364 | ||
fc552851 RS |
18365 | 2002-04-13 Richard Sandiford <rsandifo@redhat.com> |
18366 | ||
18367 | * stmt.c (check_unique_operand_names): Expect operand names to | |
18368 | be strings rather than identifiers. Use simple_cst_equal to | |
18369 | compare them. | |
18370 | (resolve_operand_name_1): Make same identifier to string change here. | |
18371 | * c-parse.in (asm_operand): Convert a named operand into a string. | |
18372 | * cp/parse.y (asm_operand): Likewise. | |
18373 | ||
1d405c5e AS |
18374 | 2002-04-13 Andreas Schwab <schwab@suse.de> |
18375 | ||
18376 | * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu). | |
18377 | ||
c740732f MM |
18378 | 2002-04-12 Mark Mitchell <mark@codesourcery.com> |
18379 | ||
18380 | Revert these changes: | |
18381 | ||
18382 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> | |
18383 | ||
18384 | PR c++/5571 | |
18385 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
18386 | ||
3fc602a0 RH |
18387 | 2002-04-12 Richard Henderson <rth@redhat.com> |
18388 | ||
18389 | * config.gcc (sparcv9-*-solaris2): Default to 32-bit code. | |
18390 | (sparc*-*-solaris): Clean up header files. | |
18391 | * configure.in (AS_SPARC64_FLAG): Error out if can't find it | |
18392 | and plan on generating 64-bit code. | |
18393 | * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. | |
18394 | * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. | |
18395 | * config/sparc/sol2-sld-64.h: Rename ... | |
18396 | * config/sparc/sol2-bi.h: ... here. Remove the bits that checked | |
18397 | for AS_SPARC64_FLAG not defined. | |
18398 | * config/sparc/sol2-gld-bi.h: New. | |
18399 | * config/sparc/sol2-sld.h: Remove. | |
18400 | * config/sparc/sol26-sld.h: New. | |
18401 | * config/sparc/sol2.h: Tidy comments. | |
18402 | * doc/install.texi: Document sparc-solaris configury changes. | |
18403 | ||
2f15e255 RH |
18404 | 2002-04-12 Richard Henderson <rth@redhat.com> |
18405 | ||
18406 | * recog.c (offsettable_address_p): Match the logic in adjust_address. | |
18407 | ||
18408 | * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode | |
18409 | in 64-bit mode only. Use only for 32-bit or MEDLOW. | |
18410 | ||
cc8475cb RO |
18411 | 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
18412 | ||
18413 | * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings. | |
18414 | ||
6f133a4a JL |
18415 | Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com) |
18416 | ||
ef1b8858 | 18417 | * pa.c (pa_can_combine_p): Call extract_insn before calling |
6f133a4a JL |
18418 | constrain_operands. |
18419 | ||
1329e600 DR |
18420 | 2002-04-12 Douglas B Rupp <rupp@gnat.com> |
18421 | ||
18422 | * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. | |
18423 | (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. | |
18424 | (DEFAULT_PCC_STRUCT_RETURN): Define as 0. | |
2d424b9f | 18425 | (CPP_PREDEFINES): Handle __declspec. |
1329e600 DR |
18426 | * config/i386/t-interix (USER_H): Remove. |
18427 | ||
0339d239 DD |
18428 | 2002-04-12 DJ Delorie <dj@redhat.com> |
18429 | ||
18430 | * integrate.c (compare_blocks): Make comparisons safe for when | |
18431 | sizeof(int) < sizeof(char *). | |
18432 | (find_block): Likewise. | |
18433 | ||
cc4d5fec JH |
18434 | 2002-04-12 Jan Hubicka <jh@suse.cz> |
18435 | David Edelsohn <edelsohn@gnu.org> | |
18436 | ||
18437 | * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT | |
18438 | registers. | |
18439 | (symbol_ref_operand): New. | |
18440 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand. | |
18441 | * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand. | |
18442 | ||
93215a1b AS |
18443 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
18444 | ||
18445 | * config/ia64/ia64.h (ASM_SPEC): Moved from here ... | |
18446 | * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it | |
18447 | overrides the definition in config/svr4.h. | |
46468cd9 | 18448 | |
1d80248e EN |
18449 | 2002-04-12 Eric Norum <eric.norum@usask.ca> |
18450 | ||
18451 | * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
18452 | config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h, | |
18453 | config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h, | |
18454 | config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h, | |
18455 | config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h, | |
18456 | config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h, | |
18457 | config/v850/rtems.h (*-rtems*): Cleanup pass to move common | |
18458 | definitions to config/rtems.h and make the targets more similar. | |
18459 | ||
fa1591cb RK |
18460 | Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
18461 | ||
fa06ab5c RK |
18462 | * expr.c (expand_assigment): Remove duplicate conversions #ifdef |
18463 | POINTERS_EXTEND_UNSIGNED. | |
18464 | (store_constructor, expand_expr, case COMPONENT_REF): Likewise. | |
18465 | (store_expr): Use TYPE_MODE (sizetype), not ptr_mode. | |
18466 | ||
fa1591cb RK |
18467 | * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET |
18468 | not specified. | |
18469 | ||
12e85a0e R |
18470 | Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com> |
18471 | ||
18472 | * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG | |
18473 | depends on TARGET_SHMEDIA, not TARGET_SH5. | |
18474 | ||
1ab3e58a HPN |
18475 | 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com> |
18476 | ||
18477 | * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>: | |
18478 | For paradoxical (subreg VAR), replace VAR, don't try the subreg. | |
18479 | ||
18778292 R |
18480 | Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
18481 | ||
18482 | * sh.c (broken_move): Constant 0. / 1. load is OK if there is | |
18483 | no r0 clobber. | |
18484 | ||
9002507c AS |
18485 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
18486 | ||
18487 | * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash. | |
18488 | ||
9be40833 RH |
18489 | 2002-04-12 Richard Henderson <rth@redhat.com> |
18490 | ||
18491 | PR bootstrap/4191 | |
18492 | * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef. | |
18493 | ||
18494 | * flow.c (mark_used_reg): Manage reg_cond_dead properly for | |
18495 | modes spanning multiple hard regs. | |
46468cd9 | 18496 | |
9be40833 RH |
18497 | * recog.c (peephole2_optimize): Rebuild jump labels as needed. |
18498 | ||
3d9268b6 JDA |
18499 | 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18500 | ||
18501 | * pa.c (pa_output_function_prologue): Don't accumulate the total | |
18502 | number of code bytes when using TARGET_64BIT, or gas, SOM and not | |
18503 | the portable runtime. | |
18504 | (output_deferred_plabels): Handle 64bit plabels. | |
18505 | (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when | |
18506 | generating pic code using the GAS assembler for object formats that | |
18507 | are not SOM (ie., ELF32 and ELF64). | |
18508 | (output_millicode_call): Check attribute type if attribute length is 28. | |
18509 | Likewise use $PIC_pcrel$0. Only call get_attr_length and | |
18510 | dbr_sequence_length once. | |
18511 | (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and | |
18512 | dbr_sequence_length once. | |
18513 | * pa.h (TARGET_SOM): Define if not defined. | |
18514 | * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0 | |
18515 | with GAS and not SOM. | |
18516 | (jump, call_internal_reg, call_value_internal_reg): Likewise. | |
18517 | * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining. | |
18518 | ||
d360fd18 DB |
18519 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18520 | ||
18521 | * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value. | |
18522 | (DEFAULT_PCC_STRUCT_RETURN) Do not redefine. | |
18523 | (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP, | |
18524 | DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): | |
18525 | elfos.h and dbxelf.h values are fine now. | |
18526 | * config/i386/freebsd.h, config/alpha/freebsd.h | |
18527 | (DEFAULT_PCC_STRUCT_RETURN): Define to 0. | |
18528 | ||
5b8fcab6 DB |
18529 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18530 | ||
18531 | * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ | |
18532 | or set Acpu or Amachine. Reformat. | |
18533 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
18534 | define. | |
18535 | (LINK_SPEC): Do not need to undef. | |
18536 | * config/ia64/elf.h (ASM_EXTRA_SPEC): Define. | |
18537 | * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef. | |
18538 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
18539 | define. | |
18540 | * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define. | |
18541 | (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead. | |
18542 | (LINK_SPEC): Do not need to undef. | |
18543 | (DONT_USE_BUILTIN_SETJMP): Do not define. | |
18544 | * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add. | |
18545 | (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64. | |
18546 | (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define. | |
18547 | Remove trailing spaces. | |
18548 | * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__, | |
18549 | __ELF__, or set Acpu or Amachine. Reformat. | |
18550 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
18551 | define. | |
18552 | ||
fee42cc1 DB |
18553 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18554 | ||
18555 | * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match | |
18556 | all other *-*-freebsd* targets. | |
18557 | ||
77a403e4 RH |
18558 | 2002-04-11 Richard Henderson <rth@redhat.com> |
18559 | ||
18560 | * config.gcc (alpha*-*-linux*ecoff): Detect and reject. | |
18561 | ||
cf0005c6 DB |
18562 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
18563 | ||
18564 | * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms): | |
18565 | Include {cpu}/{cpu}.h thru tm_file. | |
18566 | (alpha*-*-linux*ecoff): Remove target. | |
18567 | * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__. | |
18568 | (LINK_SPEC): Remove, is not OS independent. | |
18569 | * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__. | |
18570 | (LINK_SPEC): Do not need to #undef any longer. | |
18571 | * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef | |
18572 | any longer. | |
18573 | * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define | |
18574 | __ELF__. | |
18575 | (LINK_SPEC): Moved here from alpha/elf.h. | |
18576 | * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of | |
18577 | SUB_CPP_PREDEFINES. | |
18578 | * config/alpha/linux-ecoff.h: Remove. | |
18579 | * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__. | |
18580 | (CPP_SPEC): Define _POSIX_SOURCE as needed. | |
18581 | (CPP_SUBTARGET_SPEC): Do not define. | |
18582 | (LINK_SPEC): Do not need to #undef any longer. | |
18583 | * config/alpha/openbsd.h: Do not directly include alpha/alpha.h. | |
18584 | * config/alpha/vms.h: Likewise. | |
18585 | ||
9be40833 | 18586 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
7825d1cf RS |
18587 | |
18588 | * doc/extend.texi: Remove old claim that typedefs cannot have | |
18589 | an alignment attribute. | |
18590 | ||
010f87c4 JJ |
18591 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
18592 | ||
18593 | PR optimization/6177 | |
18594 | * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if | |
18595 | bitpos is 0 and bitsize CONCAT size. | |
18596 | ||
578fc63d JJ |
18597 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
18598 | ||
18599 | PR c/6223 | |
18600 | * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz. | |
18601 | ||
bf9b85ce DB |
18602 | 2002-04-10 David O'Brien <obrien@FreeBSD.org> |
18603 | ||
18604 | * config/alpha/freebsd.h: Minor reformatting. | |
18605 | (CPP_SPEC): Define ELF and add cpp_subtarget. | |
18606 | (ASM_SPEC): No longer needed. | |
18607 | ||
7425707d RH |
18608 | 2002-04-11 Richard Henderson <rth@redhat.com> |
18609 | ||
18610 | * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative. | |
18611 | (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory. | |
18612 | (dimode mem/zero splitter): New. | |
18613 | ||
1a05e874 HPN |
18614 | 2002-04-11 Hans-Peter Nilsson <hp@axis.com> |
18615 | ||
18616 | * config/cris/cris.c (cris_override_options): Tweak error message | |
18617 | for PIC not implemented. | |
18618 | ||
18619 | * config/cris/cris.h: Tweak comments related to parameter-passing. | |
18620 | ||
18621 | * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here. | |
18622 | ||
6f3d0447 RH |
18623 | 2002-04-10 Richard Henderson <rth@redhat.com> |
18624 | ||
18625 | * except.c (add_ehl_entry): Allow duplicates after landing pad | |
18626 | creation. | |
18627 | ||
174bf2b1 DE |
18628 | 2002-04-10 David Edelsohn <edelsohn@gnu.org> |
18629 | ||
18630 | * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64. | |
18631 | ||
03f10472 TM |
18632 | 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl> |
18633 | ||
18634 | * c-decl.c (c_init_decl_processing): Move generation of | |
18635 | decls for g77_integer_type_node and friends from here ... | |
18636 | * c-common.c (c_common_nodes_and_builtins): ... to here. | |
18637 | ||
2f460a0a UW |
18638 | 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com> |
18639 | ||
18640 | * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM | |
18641 | is only used as frame pointer when frame_pointer_needed is true. | |
18642 | ||
0be5cf85 RE |
18643 | 2002-04-10 Richard Earnshaw <rearnsha@arm.com> |
18644 | ||
18645 | PR target/817 | |
18646 | * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow | |
18647 | for the fact that the pool entry uses two words. | |
18648 | (movdf_hard_insn): Similarly. Also, ADR instruction can span | |
18649 | 1k bytes. | |
18650 | (movdf_soft_insn): Similarly. | |
18651 | (movxf_hard_insn): Adjust neg_pool_range attribute to allow | |
18652 | for the fact that the pool entry uses three words. | |
18653 | ||
bf6d4777 RS |
18654 | 2002-04-10 Richard Sandiford <rsandifo@redhat.com> |
18655 | ||
18656 | * config/mips/mips.c (mips_va_arg): When using the struct version | |
18657 | of the EABI va_list, allow arguments in the register save area to | |
18658 | take up less room than a stack argument. | |
18659 | ||
c2e9dc85 RH |
18660 | 2002-04-10 Richard Henderson <rth@redhat.com> |
18661 | ||
18662 | * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers | |
18663 | if EXPAND_INITIALIZER. | |
18664 | ||
bc8e8e97 RH |
18665 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18666 | ||
18667 | * config/alpha/alpha.md (movdi_er_maybe_g): New. | |
18668 | * config/alpha/alpha.c (alpha_expand_mov): Use it. | |
18669 | ||
a6a063b8 AM |
18670 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
18671 | ||
18672 | PR optimization/6233 | |
18673 | * rtlanal.c (pure_call_p): New function. | |
18674 | * rtl.h (pure_call_p): Declare. | |
18675 | * loop.c (prescan_loop): Use it to set has_nonconst_call. | |
18676 | * gcse.c (store_killed_in_insn): Use pure_call_p here too. | |
18677 | ||
7b2e1077 EC |
18678 | 2002-04-09 Eric Christopher <echristo@redhat.com> |
18679 | ||
18680 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional | |
18681 | information to .comm directive. | |
18682 | ||
d8a50944 RH |
18683 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18684 | ||
18685 | PR c/5078 | |
18686 | * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers. | |
18687 | ||
6a58eee9 RH |
18688 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18689 | ||
18690 | * basic-block.h (flow_delete_block_noexpunge): Declare. | |
18691 | (expunge_block_nocompact): Declare. | |
18692 | * cfg.c (expunge_block_nocompact): Split out from ... | |
18693 | (expunge_block): ... here. | |
18694 | * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels. | |
18695 | (flow_delete_block_noexpunge): Split out from ... | |
18696 | (flow_delete_block): ... here. | |
18697 | * cfgcleanup.c (delete_unreachable_blocks): Compact while | |
18698 | removing dead blocks. | |
18699 | * except.c (exception_handler_labels): Remove. | |
18700 | (exception_handler_label_map): New. | |
18701 | (struct eh_region): Add aka member. | |
18702 | (mark_ehl_map_entry, mark_ehl_map, free_region): New. | |
18703 | (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New. | |
18704 | (for_each_eh_label, for_each_eh_label_1): New. | |
18705 | (init_eh): Register exception_handler_label_map. | |
18706 | (free_eh_status): Use free_region. | |
18707 | (find_exception_handler_labels): Use the map, not the list. | |
18708 | (remove_exception_handler_label): Likewise. | |
18709 | (maybe_remove_eh_handler): Likewise. | |
18710 | (remove_eh_handler): Use the region aka bitmap. | |
18711 | * except.h (exception_handler_labels): Remove. | |
18712 | (for_each_eh_label): Declare. | |
18713 | * jump.c (rebuild_jump_labels): Don't check exception_handler_labels. | |
18714 | * loop.c (invalidate_loops_containing_label): New. | |
18715 | (find_and_verify_loops): Use it. Use for_each_eh_label. | |
18716 | * sched-rgn.c (is_cfg_nonregular): Use | |
18717 | current_function_has_exception_handlers. | |
18718 | ||
b47374fa RH |
18719 | 2002-04-09 Richard Henderson <rth@redhat.com> |
18720 | ||
18721 | * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b, | |
18722 | sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c): | |
18723 | Do not return changed status. | |
18724 | (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg, | |
18725 | sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg): | |
18726 | New functions that do return changed status. | |
18727 | * sbitmap.h: Update decls. | |
18728 | * gcse.c, lcm.c: Use _cg functions as needed. | |
18729 | ||
1951818c R |
18730 | Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
18731 | ||
18732 | * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h. | |
18733 | (sh64-*-elf*, sh-*-rtemself*): Likewise. | |
18734 | * config/sh/embed_bb.c: New file. | |
18735 | * config/sh/embed-elf.h: New file. | |
18736 | * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__ | |
18737 | if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec. | |
18738 | (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
18739 | __PTRDIFF_TYPE__ . | |
18740 | (SUBTARGET_CPP_PTR_SPEC): Don't define. | |
18741 | (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec. | |
18742 | Add subtarget_asm_endian_spec. | |
18743 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
18744 | (SUBTARGET_ASM_ENDIAN_SPEC): Define. | |
18745 | (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5. | |
18746 | (WCHAR_UNSIGNED): Define. | |
18747 | (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define. | |
18748 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
18749 | (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5. | |
18750 | Fix value. | |
18751 | * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5. | |
18752 | (sh_adjust_cost): Likewise. | |
18753 | sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
18754 | __PTRDIFF_TYPE__ . | |
18755 | (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define. | |
18756 | (WCHAR_TYPE_SIZE): Likewise. | |
18757 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
18758 | (SH_ELF_WCHAR_TYPE): #undef/ #define. | |
18759 | (MAX_WCHAR_TYPE_SIZE): Don't #undef. | |
18760 | * config/sh/elf.h (WCHAR_UNSIGNED): #undef . | |
18761 | (MAX_WCHAR_TYPE_SIZE): Don't #define . | |
18762 | (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define . | |
18763 | (USER_LABEL_PREFIX): Don't #undef /#define . | |
18764 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
18765 | * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define . | |
18766 | (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise. | |
18767 | (ASM_SPEC): Likewise. | |
18768 | (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define . | |
18769 | (CC1_SPEC): don't supply -m3 for -m4*, -m5*. | |
18770 | * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE. | |
18771 | (LIB2FUNCS_EXTRA): Define. | |
18772 | * t-sh64 (LIB2FUNCS_EXTRA): Define. | |
18773 | * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine. | |
18774 | (LIB1ASMFUNCS_CACHE): Define. | |
18775 | (LIB2FUNCS_EXTRA): Redefine empty. | |
18776 | ||
34295799 RH |
18777 | 2002-04-08 Richard Henderson <rth@redhat.com> |
18778 | ||
18779 | * reorg.c (get_branch_condition): Use reversed_comparison_code. | |
18780 | ||
e8766a39 SC |
18781 | 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
18782 | ||
18783 | * config/m68hc11/larith.asm (__map_data_section): Fix condition | |
18784 | and optimize for size. | |
18785 | (__do_global_ctors): Fix pointer comparison. | |
18786 | (__do_global_dtors): Likewise. | |
18787 | ||
f451b552 DM |
18788 | 2002-04-09 David S. Miller <davem@redhat.com> |
18789 | ||
18790 | * config/sparc/sparc.c (sparc_extra_constraint_check): New | |
18791 | function, implementing EXTRA_CONSTRAINTS. For memory constraints, | |
18792 | allow reloading pseudos. | |
18793 | * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it. | |
18794 | * config/sparc/sparc-protos.h: Declare it. | |
18795 | ||
18796 | * config/sparc/sparc.c (const64_is_2insns): Kill signed vs. | |
18797 | unsigned comparison warning. | |
18798 | (output_restore_regs): Mark leaf_function as unused. | |
18799 | ||
1ce7f3c2 RK |
18800 | Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
18801 | ||
18802 | * expr.c (is_aligning_offset): New function. | |
18803 | (expand_expr, case COMPONENT_EXPR): Call it. | |
18804 | ||
7a31a340 DM |
18805 | 2002-04-08 David S. Miller <davem@redhat.com> |
18806 | ||
18807 | PR target/6082 | |
18808 | * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW | |
18809 | ||
981f6289 | 18810 | Make init_priority work on SPARC when using GNU ld. |
7a31a340 DM |
18811 | * config/sparc/linux.h, config/sparc/linux64.h, |
18812 | config/sparc/netbsd-elf.h, config/sparc/freebsd.h | |
18813 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. | |
18814 | * config/sparc/sol2-gld.h: New file to do the same. | |
18815 | * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add | |
18816 | sparc/sol2-gld.h to tm_file. | |
18817 | ||
18818 | PR optimization/4328 | |
18819 | * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. | |
18820 | * doc/md.texi: Document it. | |
18821 | * config/sparc/sparc.md (movdi_insn_sp64_novis, | |
18822 | movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, | |
18823 | movdf_insn_v9only_vis, movdf_insn_sp64_novis, | |
18824 | movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. | |
18825 | * config/sparc/sparc.c (mem_min_alignment): Fix comment. | |
18826 | ||
11579f33 AJ |
18827 | 2002-04-08 Andreas Jaeger <aj@suse.de> |
18828 | ||
18829 | * stmt.c (expand_asm_operands): Revert last patch from Richard | |
18830 | Henderson. | |
18831 | ||
b57215d9 GP |
18832 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
18833 | ||
18834 | * doc/contrib.texi (Contributors): Add John David Anglin and Loren | |
18835 | J. Rittle (the latter also to Testers). Update David O'Brien's entry. | |
18836 | ||
18837 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
18838 | ||
18839 | * doc/contrib.texi (Contributors): Add David O'Brien. | |
18840 | ||
534d0cc0 AM |
18841 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
18842 | ||
18843 | * configure.in (auto-build.h): Use target_alias and build_alias | |
18844 | when running configure. | |
18845 | (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too. | |
18846 | (gcc_cv_nm, gcc_cv_objdump): Set for build != host too. | |
18847 | * configure: Regenerate. | |
18848 | ||
19fe522a DM |
18849 | 2002-04-07 David S. Miller <davem@redhat.com> |
18850 | ||
18851 | * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file. | |
18852 | ||
bf2d0b8e JDA |
18853 | 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18854 | ||
18855 | PR 5933 | |
18856 | * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when | |
18857 | generating 32-bit pic code. | |
18858 | ||
477cdac7 JT |
18859 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
18860 | ||
18861 | * cppinit.c (cpp_create_reader): Initialize | |
18862 | discard_comments_in_macro_exp. | |
18863 | (COMMAND_LINE_OPTIONS): Add "-CC" option. | |
18864 | (cpp_handle_option): Handle "-CC" option. | |
18865 | * cpplex.c (save_comment): If saving a C++ comment in | |
18866 | a directive, convert it to a C comment. | |
18867 | (_cpp_lex_direct): Pass second comment start character to | |
18868 | save_comment to indicate comment type. | |
18869 | * cpplib.c (_cpp_handle_directive): If processing | |
18870 | a "#define" directive and discard_comments_in_macro_exp | |
18871 | is false, re-enable saving of comments. | |
18872 | (lex_macro_node): If discard_comments_in_macro_exp is false, | |
18873 | discard any comments before the macro identifier. | |
18874 | * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp | |
18875 | member. | |
18876 | * cppmacro.c (cpp_get_token): If expanding a macro while | |
18877 | processing a directive, discard any comments we might encounter. | |
18878 | (parse_params): If discard_comments_in_macro_exp is false, | |
18879 | ignore comments in the macro parameter list. | |
18880 | * gcc.c (cpp_unique_options): Add "-CC" option. | |
18881 | (option_map): Map "--comments-in-macros" to "-CC". | |
18882 | * doc/cppopts.texi: Document "-CC" option. | |
18883 | * f/lang-specs.h: Add "-CC" option. | |
18884 | * testsuite/gcc.dg/cpp/maccom1.c: New test. | |
18885 | * testsuite/gcc.dg/cpp/maccom2.c: New test. | |
18886 | * testsuite/gcc.dg/cpp/maccom3.c: New test. | |
18887 | * testsuite/gcc.dg/cpp/maccom4.c: New test. | |
18888 | * testsuite/gcc.dg/cpp/maccom5.c: New test. | |
18889 | * testsuite/gcc.dg/cpp/maccom6.c: New test. | |
18890 | ||
f1526122 JDA |
18891 | 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18892 | ||
18893 | PR middle-end/6180 | |
18894 | * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes. | |
18895 | ||
b1896e61 MM |
18896 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> |
18897 | ||
0154eaa8 MM |
18898 | PR c++/5571 |
18899 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
18900 | ||
b1896e61 MM |
18901 | PR opt/5120 |
18902 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear | |
18903 | RTX_UNCHANGING_P for the functions arguments when a tail call | |
18904 | is made. | |
18905 | ||
b0148884 JM |
18906 | 2002-04-06 Jason Merrill <jason@redhat.com> |
18907 | ||
18908 | * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2. | |
18909 | (parse_options_and_default_flags): Set them appropriately. | |
18910 | * c-common.c (c_common_post_options): Don't set flag_really_no_inline. | |
18911 | ||
392fc5b0 HPN |
18912 | 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com> |
18913 | ||
18914 | * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc | |
18915 | here. | |
18916 | ||
18917 | * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious | |
18918 | semicolon. | |
18919 | ||
18920 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size | |
18921 | types come in by-reference. Fix typo in comment. | |
18922 | ||
2d69e3cb DM |
18923 | 2002-04-05 David S. Miller <davem@redhat.com> |
18924 | ||
18925 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits. | |
18926 | * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos, | |
18927 | sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*, | |
18928 | {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file. | |
18929 | ||
18930 | 2002-04-05 David S. Miller <davem@redhat.com> | |
18931 | ||
18932 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we | |
18933 | are not going to emit return instructions, emit at least a nop | |
18934 | for the sake of sane backtraces. | |
18935 | ||
5f9fb0e3 RH |
18936 | 2002-04-05 Richard Henderson <rth@redhat.com> |
18937 | ||
18938 | * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)). | |
18939 | ||
49f37a0d JJ |
18940 | 2002-04-05 Jakub Jeilnek <jakub@redhat.com> |
18941 | ||
18942 | * mklibgcc.in: Use $tmpmapfile, not tmp-$@. | |
18943 | ||
974a3101 AO |
18944 | 2002-04-05 Alexandre Oliva <aoliva@redhat.com> |
18945 | ||
18946 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, | |
18947 | ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
18948 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16. | |
18949 | ||
2e04a694 AS |
18950 | 2002-04-05 Andreas Schwab <schwab@suse.de> |
18951 | ||
a40179bd | 18952 | * c-convert.c: Include c-common.h. |
2e04a694 AS |
18953 | * Makefile.in (c-convert.o): Updated. |
18954 | ||
1f785b7c JJ |
18955 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
18956 | ||
18957 | * mklibgcc.in: Use separate libgcc.map for each multilib. | |
18958 | * Makefile.in (distclean): Don't remove libgcc.map here. | |
18959 | ||
4d2fb38b JJ |
18960 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
18961 | ||
18962 | * Makefile.in (s-mlib): Handle --disable-multilib by separate | |
18963 | genmultilib invocation. | |
18964 | ||
bb63e5a0 RS |
18965 | 2002-04-04 Richard Sandiford <rsandifo@redhat.com> |
18966 | ||
18967 | * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs | |
18968 | to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs | |
18969 | to num_gprs for symmetry. | |
18970 | * config/mips/mips.c: Adjust accordingly. | |
18971 | ||
8ab80eaa NB |
18972 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
18973 | ||
18974 | * c-common.c (truthvalue_conversion): Rename, update. | |
18975 | * c-common.h (c_common_truthvalue_conversion): New. | |
18976 | * c-convert.c (convert): Update. | |
18977 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
18978 | * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update. | |
18979 | * c-typeck.c (build_binary_op, build_unary_op, | |
18980 | build_conditional_expr): Update. | |
18981 | * fold-const.c (constant_boolean_node, fold): Use langhook. | |
18982 | * langhooks-def.h (LANGHOOK_INITIALIZER): Update. | |
18983 | * langhooks.h (struct lang_hooks): New hook. | |
18984 | * stmt.c (expand_decl_cleanup): Use langhook. | |
18985 | * tree.h (truthvalue_conversion): Remove. | |
18986 | objc: | |
18987 | * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
18988 | ||
a2e9374a AM |
18989 | 2002-04-05 Alan Modra <amodra@bigpond.net.au> |
18990 | ||
18991 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o | |
18992 | Add rules to make null object file. | |
18993 | ||
64d08263 JB |
18994 | 2002-04-04 Jim Blandy <jimb@redhat.com> |
18995 | ||
18996 | * cppmacro.c (cpp_macro_definition): Do not emit spaces after | |
18997 | macro formal parameter names. | |
18998 | ||
aa7634dd DM |
18999 | 2002-04-04 David S. Miller <davem@redhat.com> |
19000 | ||
19001 | * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg. | |
19002 | ||
ecc114f7 RH |
19003 | 2002-04-04 Richard Henderson <rth@redhat.com> |
19004 | ||
19005 | PR middle-end/5099 | |
19006 | * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok. | |
19007 | Support copies into and out of memory. Don't accept allows_reg | |
19008 | and allows_mem as gospel. | |
19009 | ||
c4484b8f RH |
19010 | 2002-04-04 Richard Henderson <rth@redhat.com> |
19011 | ||
19012 | PR opt/6165 | |
19013 | * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict. | |
19014 | (write_dependence_p): Likewise. | |
19015 | ||
39002160 RH |
19016 | 2002-04-04 Richard Henderson <rth@redhat.com> |
19017 | ||
19018 | * predict.c (estimate_bb_frequencies): Do frequency calculation | |
19019 | with a volatile temporary. | |
19020 | ||
f53ebe71 UW |
19021 | 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com> |
19022 | ||
19023 | * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define. | |
19024 | ||
15e0ecab JJ |
19025 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
19026 | ||
19027 | PR c++/6119 | |
19028 | * final.c (final_start_function): Don't bump profile_label_no here... | |
19029 | (final_end_function): ...but here. | |
19030 | ||
ffd386b0 JJ |
19031 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
19032 | ||
19033 | * config/sparc/sparc.md (pic): New attribute. | |
19034 | (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9 | |
19035 | into stack slots. | |
19036 | (split after do_builtin_setjmp_setup): New. | |
19037 | ||
8b156b3e JJ |
19038 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
19039 | ||
19040 | PR fortran/6106 | |
19041 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 | |
19042 | change. | |
19043 | ||
014c0998 JJ |
19044 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
19045 | ||
19046 | * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by | |
19047 | UNITS_PER_WORD for zero sized aggregates. | |
19048 | ||
4d8611d9 DM |
19049 | 2002-04-03 David S. Miller <davem@redhat.com> |
19050 | ||
19051 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new | |
19052 | one-character spec for this, just use %(link_gcc_c_sequence). | |
19053 | ||
b03ad99d DM |
19054 | 2002-04-03 David S. Miller <davem@redhat.com> |
19055 | ||
19056 | * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian | |
19057 | handling. | |
19058 | ||
823fbbce JDA |
19059 | 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
19060 | ||
19061 | * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. | |
19062 | (DWARF_FRAME_RETURN_COLUMN): Move. | |
19063 | (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
19064 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define. | |
19065 | * pa.c (except.h, predict.h): Include. | |
19066 | (FRP): Delete. | |
19067 | (store_reg_modify, set_reg_plus_d): Revise prototypes. | |
19068 | (output_ascii): Add cast. | |
19069 | (store_reg_modify): Revise to add frame notes. | |
19070 | (set_reg_plus_d): Likewise. | |
19071 | (compute_frame_size): Include space for eh data registers in frame if | |
19072 | the current function calls eh_return. | |
19073 | (hppa_expand_prologue): Ensure register %r2 is saved if the current | |
19074 | function calls eh_return. Save eh data registers if the current | |
19075 | function calls eh_return. Fix code to add frame notes. Emit | |
19076 | blockage to prevent insns with frame notes being scheduled in the | |
19077 | delay slot of calls. | |
19078 | (hppa_expand_epilogue): Restore eh data registers and do final stack | |
19079 | adjustment if the current function calls eh_return. Don't add frame | |
19080 | notes. | |
19081 | (output_call): Revise for change in length of call insn. Don't do | |
19082 | return pointer adjustment for an unconditional jump in the delay slot | |
19083 | of a call when using frame notes. | |
19084 | * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility. | |
19085 | (EH_RETURN_HANDLER_RTX): Use saved value on stack. | |
19086 | (ARG_POINTER_CFA_OFFSET): Define. | |
19087 | * pa.md (return_external_pic): New pattern. | |
19088 | (prologue): Correct formatting. Use return_external_pic if current | |
19089 | function calls eh_return. | |
19090 | (call_internal_symref, call_value_internal_symref, | |
19091 | sibcall_internal_symref, sibcall_value_internal_symref): Change default | |
19092 | lengths of short, long non-pic, and long pic calls to 8, 68, and 84, | |
19093 | respectively. | |
19094 | (exception_receiver): Use hppa_pic_save_rtx () to restore pic register. | |
19095 | ||
19096 | * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to | |
19097 | list of targets to check using "nop" insn. | |
19098 | * configure: Rebuilt. | |
19099 | ||
4078e224 AM |
19100 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
19101 | ||
19102 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define. | |
19103 | ||
bbd7687d DM |
19104 | 2002-04-03 David S. Miller <davem@redhat.com> |
19105 | ||
19106 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c | |
19107 | library sequence passed to the linker. | |
19108 | (LINK_COMMAND_SPEC): Use it. | |
19109 | * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as | |
19110 | a macro a target can use to avoid overriding LINK_COMMAND_SPEC. | |
19111 | * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
19112 | ||
659e5a7a JM |
19113 | 2002-04-03 Jason Merrill <jason@redhat.com> |
19114 | ||
19115 | * except.c (struct eh_status): Remove protect_list. | |
19116 | (begin_protect_partials, end_protect_partials): Remove. | |
19117 | (add_partial_entry): Remove. | |
19118 | * except.h: Remove prototypes. | |
19119 | ||
19120 | * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use | |
19121 | expand_decl_cleanup_eh. | |
19122 | ||
19123 | PR c++/5636 | |
19124 | * tree.h (CLEANUP_EH_ONLY): New macro. | |
19125 | * stmt.c (expand_decl_cleanup_eh): New fn. | |
19126 | (expand_cleanups): Check CLEANUP_EH_ONLY. | |
19127 | * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT. | |
19128 | Use expand_decl_cleanup_eh. | |
19129 | (expand_stmt): Adjust. | |
19130 | * c-common.h: Adjust prototype. | |
19131 | ||
053d3344 HPN |
19132 | 2002-04-04 Hans-Peter Nilsson <hp@axis.com> |
19133 | ||
19134 | * config/cris/cris.c (cris_target_asm_function_prologue): Cast | |
19135 | uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. | |
19136 | (cris_target_asm_function_epilogue): Ditto. | |
19137 | (cris_initial_frame_pointer_offset): Ditto. | |
19138 | (cris_simple_epilogue): Ditto. | |
19139 | (cris_expand_builtin_va_arg): Variable-size types come in | |
19140 | by-reference. | |
19141 | ||
61ab5260 DM |
19142 | 2002-04-03 David S. Miller <davem@redhat.com> |
19143 | ||
19144 | * config/sparc/crtfastmath.c (FPRS_NS): Get it right for | |
19145 | little-endian. | |
19146 | (set_fast_math): Correct 'fsr' type. | |
19147 | ||
ef4f94ac RH |
19148 | 2002-04-03 Richard Henderson <rth@redhat.com> |
19149 | ||
36c2272c | 19150 | PR opt/3569 |
ef4f94ac RH |
19151 | * langhooks.h (lang_hooks.decls.warn_unused_global): New. |
19152 | * toplev.c (check_global_declarations): Use it. | |
19153 | * langhooks-def.h (lhd_warn_unused_global_decl): Declare. | |
19154 | (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
19155 | (LANG_HOOKS_DECLS): Add it. | |
19156 | * langhooks.c (lhd_warn_unused_global_decl): New. | |
19157 | * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
19158 | * c-objc-common.c (c_warn_unused_global_decl): New. | |
19159 | * c-tree.h (c_warn_unused_global_decl): Declare. | |
19160 | * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
19161 | ||
599bba86 NB |
19162 | 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk> |
19163 | ||
19164 | * langhooks-def.h (lhd_set_decl_assembler_name, | |
19165 | LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New. | |
19166 | (LANG_HOOKS_INITIALIZER): Update. | |
19167 | * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c | |
19168 | * langhooks.h (struct lang_hooks): New hook. | |
19169 | * tree.c (set_decl_assembler_name): Move to langhooks.c. | |
19170 | (lang_set_decl_assembler_name): Remove. | |
19171 | (init_obstacks): Don't set hook. | |
19172 | (decl_assembler_name): New function. | |
19173 | * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call. | |
19174 | (decl_assembler_name): New. | |
19175 | (lang_set_decl_assembler_name): Remove. | |
19176 | ||
cf7b8b0d JJ |
19177 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
19178 | ||
19179 | * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() | |
19180 | works properly with .hidden symbols. | |
19181 | * configure: Rebuilt. | |
19182 | * config.in: Rebuilt. | |
19183 | * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
19184 | DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work | |
19185 | properly with .hidden symbols. | |
19186 | ||
faf6db38 JJ |
19187 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
19188 | ||
19189 | PR middle-end/6102 | |
19190 | * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access | |
19191 | USE argument. | |
19192 | ||
68c17f30 RH |
19193 | 2002-04-03 Richard Henderson <rth@redhat.com> |
19194 | ||
19195 | PR opt/4120 | |
19196 | * sched-rgn.c (sets_likely_spilled): New. | |
19197 | (sets_likely_spilled_1): New. | |
19198 | (add_branch_dependences): Use it. | |
19199 | ||
6584b4aa RH |
19200 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19201 | ||
19202 | PR opt/4311 | |
19203 | * loop.h (LOOP_FIRST_PASS): New. | |
19204 | * loop.c (strength_reduce): Mind it when deciding to unroll. | |
19205 | * toplev.c (rest_of_compilation): Set it. | |
19206 | ||
0acf409f DM |
19207 | 2002-04-02 David S. Miller <davem@redhat.com> |
19208 | ||
19209 | * config/sparc/sparc.md (ldd peephole2s): Fix final arg to | |
19210 | mems_ok_for_ldd_peep when the order of the loads being examined | |
19211 | is reversed. | |
19212 | * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon | |
19213 | existing comment to increase comprehension of this situation. | |
19214 | ||
85654444 ZW |
19215 | 2002-04-02 Zack Weinberg <zack@codesourcery.com> |
19216 | ||
19217 | * config/sh/sh.md: Don't use union real_extract. | |
19218 | ||
543828ca RH |
19219 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19220 | ||
19221 | * libgcc2.c (__bb_exit_func): Revert 03-31 change. | |
19222 | ||
39ed301b DB |
19223 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
19224 | ||
19225 | * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems, | |
19226 | i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-, | |
19227 | i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1, | |
19228 | i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos, | |
19229 | i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd, | |
19230 | i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf, | |
19231 | i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix, | |
19232 | i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout, | |
19233 | i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32, | |
19234 | i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd, | |
19235 | i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems, | |
19236 | i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv, | |
19237 | i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta, | |
19238 | i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd): | |
19239 | Include as many configury headers via tm_file as possible. This | |
19240 | includes among others i386/unix.h, i386/bsd.h, i386/gas.h. | |
19241 | * config/openbsd-oldgas.h: New file. | |
19242 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h, | |
19243 | config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h, | |
19244 | config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h, | |
19245 | config/i386/i386-coff.h, config/i386/i386-interix.h, | |
19246 | config/i386/iscdbx.h, config/i386/linux-aout.h, | |
19247 | config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h, | |
19248 | config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h, | |
19249 | config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h, | |
19250 | config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h, | |
19251 | config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h, | |
19252 | config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h, | |
19253 | config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h, | |
19254 | config/i386/vxi386.h: Do not directly include configury headers. | |
19255 | * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h: | |
19256 | Directly include configury headers that are no longer automatically | |
19257 | included by the above headers. | |
19258 | * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define. | |
19259 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h, | |
19260 | config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h, | |
19261 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h, | |
19262 | config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h, | |
19263 | config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h, | |
19264 | config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h | |
19265 | (TARGET_VERSION): Define. | |
19266 | * config/i386/beos-elf.h, config/i386/freebsd.h, | |
19267 | config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, | |
19268 | config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, | |
19269 | config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h, | |
19270 | config/i386/sco5.h, config/i386/sysv4.h | |
19271 | (TARGET_VERSION): Do not need to protect. | |
19272 | * config/i386/freebsd64.h (TARGET_VERSION): Fix style. | |
19273 | * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h, | |
19274 | config/i386/freebsd-aout.h, config/i386/i386-aout.h, | |
19275 | config/i386/i386-interix.h, config/i386/linux-aout.h, | |
19276 | config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h, | |
19277 | config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h | |
19278 | (YES_UNDERSCORES): Do not define - not needed. | |
19279 | * config/i386/bsd.h, config/i386/gas.h (LPREFIX, | |
19280 | ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
19281 | USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case. | |
19282 | * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h | |
19283 | (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
19284 | USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case) | |
19285 | * config/i386/isc.h: Preserve comment from config/i386/isccoff.h. | |
19286 | * config/i386/isccoff.h, config/i386/v3gas.h: Remove. | |
19287 | ||
9432c136 EB |
19288 | 2002-04-02 Eric Botcazou <ebotcazou@multimania.com> |
19289 | Richard Henderson <rth@redhat.com> | |
19290 | ||
19291 | PR c/5484 | |
19292 | * function.c (assign_temp): Accept either type or decl argument. | |
19293 | Detect variables whose size is too large to fit into an integer. | |
19294 | * stmt.c (expand_decl): Pass the decl, not the type. | |
19295 | ||
058b1275 DB |
19296 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
19297 | ||
19298 | * protoize.c: Match include directory usage with cppdefault.c. | |
19299 | ||
5add6d1a | 19300 | 2002-04-03 Jeffrey A Law (law@redhat.com) |
9be40833 | 19301 | Hans-Peter Nilsson <hp@bitrange.com> |
5add6d1a JL |
19302 | |
19303 | * combine.c (simplify_comparison): Avoid narrowing a comparison | |
19304 | with a paradoxical subreg when doing so would drop signficant bits. | |
19305 | ||
1e533e4b SE |
19306 | 2002-04-02 Steve Ellcey <sje@cup.hp.com> |
19307 | ||
19308 | * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode | |
19309 | if POINTERS_EXTEND_UNSIGNED is defined. | |
19310 | ||
7a145e92 RH |
19311 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19312 | ||
19313 | PR opt/3967 | |
19314 | * local-alloc.c (contains_replace_regs): LO_SUM may contain | |
19315 | replace regs. | |
19316 | ||
3a079822 RH |
19317 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19318 | ||
19319 | * doc/standards.texi: Document required freestanding libc entry points. | |
19320 | ||
c94ccb87 AM |
19321 | 2002-04-02 Alan Modra <amodra@bigpond.net.au> |
19322 | ||
19323 | * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and | |
19324 | associated splitter. Remove MQ constraint. | |
19325 | (ctrdi_internal4): Correct CCmode clobber. | |
19326 | ||
fe660a1a JDA |
19327 | 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
19328 | ||
19329 | * milli64.S ($$dyncall): New function. | |
19330 | * t-linux (LIB1ASMFUNCS): Revise module list. | |
19331 | (LIB1ASMSRC): Use pa/milli64.S. | |
19332 | ||
eadc0202 RH |
19333 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19334 | ||
19335 | * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and | |
19336 | rename solaris_sys_varargs_h. | |
19337 | ||
a1471322 RK |
19338 | Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
19339 | ||
19340 | * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array | |
19341 | the same mode as its component. | |
19342 | ||
c8b94768 RH |
19343 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19344 | ||
19345 | PR opt/190 | |
19346 | * final.c (this_is_asm_operands): Export. | |
19347 | * output.h (this_is_asm_operands): Declare. | |
19348 | * config/i386/i386.c (print_operand): Error odd asm operands. | |
19349 | ||
161eb4fc RH |
19350 | 2002-04-02 Richard Henderson <rth@redhat.com> |
19351 | ||
19352 | PR opt/420 | |
19353 | * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra. | |
19354 | ||
b88a94c6 RH |
19355 | 2002-04-01 Richard Henderson <rth@redhat.com> |
19356 | ||
19357 | PR target/1538 | |
19358 | * fixinc/inclhack.def (solaris_sys_varargs_h): New. | |
19359 | * fixinc/fixincl.x: Rebuild. | |
19360 | ||
72e32876 RH |
19361 | 2002-04-01 Richard Henderson <rth@redhat.com> |
19362 | ||
19363 | * config/ia64/unwind-ia64.c: Include ia64intrin.h. | |
19364 | (atomic_alloc, atomic_free): New. | |
19365 | (SIZE, MASK_FOR, PTR_IN): New. | |
19366 | (emergency_reg_state, emergency_reg_state_free): New. | |
19367 | (emergency_labeled_state, emergency_labeled_state_free): New. | |
19368 | (reg_state_alloced, labeled_state_alloced): New. | |
19369 | (alloc_reg_state, free_reg_state): New. | |
19370 | (alloc_label_state, free_label_state, free_label_states): New. | |
19371 | (push, pop, dup_state_stack, free_state_stack): Use them. | |
19372 | (desc_label_state): Likewise. | |
19373 | (uw_frame_state_for): Free label states and state stack. | |
19374 | (uw_update_reg_address): Eliminate warnings. | |
19375 | ||
84d76074 VM |
19376 | 2002-04-01 Vladimir Makarov <vmakarov@redhat.com> |
19377 | ||
19378 | * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, | |
9be40833 | 19379 | ASM_OUTPUT_ALIGNED_LOCAL): Redefine them. |
84d76074 | 19380 | |
dffd7eb6 NB |
19381 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
19382 | ||
19383 | * c-decl.c (grokdeclarator): Update. | |
19384 | * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
19385 | * c-tree.h (c_mark_addressable): New. | |
19386 | * c-typeck.c (default_function_array_conversion, build_unary_op, | |
19387 | build_array_ref, convert_for_assignment): Update. | |
19388 | (mark_addressable): Rename. | |
19389 | * calls.c (try_to_integrate, expand_call): Use langhook. | |
19390 | * expr.c (expand_expr): Use langhook. | |
19391 | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update. | |
19392 | * langhooks.h (struct lang_hooks): New hook. | |
19393 | * stmt.c (expand_asm_operands): Use langhook. | |
19394 | * tree.h (mark_addressable): Remove. | |
19395 | objc: | |
19396 | * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
19397 | ||
544ef5b5 BW |
19398 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
19399 | ||
9be40833 RH |
19400 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning |
19401 | in previous change. | |
544ef5b5 | 19402 | |
bcf88f9b BW |
19403 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
19404 | ||
19405 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments | |
19406 | for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). | |
19407 | ||
ceef8ce4 NB |
19408 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
19409 | ||
19410 | * c-common.c (unsigned_conversion_warning, convert_and_check, | |
19411 | unsigned_type, signed_type, shorten_compare, | |
19412 | c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks. | |
19413 | (unsigned_type, signed_type, signed_or_unsigned_type): Rename. | |
19414 | * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
19415 | New. | |
19416 | * c-decl.c (grokdeclarator): Update. | |
19417 | * c-format.c (check_format_types): Update. | |
19418 | * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
19419 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
19420 | * c-typeck.c (build_binary_op, convert_for_assignment): Update. | |
19421 | * convert.c (convert_to_integer): Use new hooks. | |
19422 | * expmed.c (make_tree): Use new hooks. | |
19423 | * expr.c (store_expr): Use new hooks. | |
19424 | * fold-const.c (operand_equal_for_comparison_p, build_range_check, | |
19425 | all_ones_mask_p, unextend, fold): Use new hooks. | |
19426 | * langhooks.h (struct lang_hooks_for_types): New hooks. | |
19427 | * tree.h (signed_or_unsigned_type, signed_type, | |
19428 | unsigned_type): Remove. | |
19429 | objc: | |
19430 | * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
19431 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
19432 | ||
1d9ad0e0 RH |
19433 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19434 | ||
19435 | * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset. | |
19436 | (desc_frgr_mem): Fix reference to f16-f31. | |
19437 | ||
d544bc39 KG |
19438 | 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19439 | ||
19440 | * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, | |
19441 | RTVEC_ELT): Const-ify. | |
d8750784 KG |
19442 | * varray.h (VARRAY_CHECK): Const-ify. |
19443 | * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree, | |
19444 | ggc_mark_rtvec, ggc_mark): Const-ify. | |
d544bc39 | 19445 | |
b18101c7 NB |
19446 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
19447 | ||
19448 | * diagnostic.c: Include langhooks-def.h. | |
19449 | * Makefile.in (diagnostic.o): Update. | |
19450 | ||
48a7a235 NB |
19451 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
19452 | ||
19453 | * c-common.c (c_unsafe_for_reeval): Rename. | |
19454 | * c-common.h (c_unsafe_for_reeval): Rename. | |
19455 | * c-decl.c (finish_incomplete_decl): Rename. | |
19456 | (c_init_decl_processing): Don't set langhook. | |
19457 | * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
19458 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
19459 | * c-objc-common.c (c_objc_common_init): Don't set langhook. | |
19460 | * c-tree.h (finish_incomplete_decl): Rename. | |
19461 | * langhooks-def.h (lhd_unsafe_for_reeval): New. | |
19462 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New. | |
19463 | (LANG_HOOKS_INITIALIZER): Update. | |
19464 | * langhooks.c (lhd_unsafe_For_reeval): New. | |
19465 | * langhooks.h (struct langhooks): New hooks. | |
19466 | * toplev.c (incomplete_decl_finalize_hook): Remove. | |
19467 | (wrapup_global_declarations): Update. | |
19468 | * tree.c (lang_unsafe_for_reeval): Remove. | |
19469 | (unsafe_for_reeval): Update. | |
19470 | * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook): | |
19471 | Remove. | |
19472 | objc: | |
19473 | * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
19474 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
19475 | ||
7cb32822 NB |
19476 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
19477 | ||
19478 | * diagnostic.c (print_error_function): Remove. | |
19479 | (default_print_error_function): Rename. | |
19480 | (report_error_function): Update. | |
19481 | * diagnostic.h (print_error_function): Remove. | |
19482 | (default_print_error_function): Remove. | |
19483 | * langhooks-def.h (struct diagnostic_context): Predeclare. | |
19484 | (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New. | |
19485 | (LANG_HOOKS_INITIALIZER): Update. | |
19486 | * langhooks.h (struct diagnostic context): Predeclare. | |
19487 | (struct lang_hooks): New hook. | |
19488 | ||
1db02437 FS |
19489 | 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
19490 | ||
19491 | * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New. | |
19492 | (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if | |
19493 | !flag_pic. | |
19494 | (CONDITIONAL_REGISTER_USAGE): Adjust accordingly. | |
19495 | * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead | |
19496 | of PIC_OFFSET_TABLE_REGNUM thruout. | |
19497 | * config/rs6000/rs6000.md: Likewise. | |
19498 | * config/rs6000/darwin.h: Likewise. | |
19499 | ||
3bf1e984 RK |
19500 | Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
19501 | ||
19502 | * emit-rtl.c (adjust_address_1, offset_address): Cast value to | |
19503 | unsigned HOST_WIDE_INT, not unsigned int. | |
19504 | ||
0864c526 JJ |
19505 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
19506 | ||
19507 | PR middle-end/6096, middle-end/6098, middle-end/6099 | |
19508 | * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for | |
19509 | CODE_LABELs. | |
19510 | (fill_slots_from_thread): Likewise. | |
19511 | ||
105b2084 JJ |
19512 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
19513 | ||
19514 | * config/sparc/sparc.c (function_arg_record_value_1): Pass complex | |
19515 | floating fields in float regs. | |
19516 | (function_arg_record_value_2): Likewise. | |
19517 | ||
db08fddf HPN |
19518 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
19519 | ||
19520 | * config/mmix/mmix.md (define_constants): Remove misleading | |
19521 | FIXME. Add MMIX_fp_rO_OFFSET. | |
19522 | ("nonlocal_goto_receiver"): Don't have stack-frame address of | |
19523 | saved rO as part of the pattern. Remove FIXME. | |
19524 | ("*nonlocal_goto_receiver_expanded"): Similar. Generate address | |
19525 | here, at output-time. | |
19526 | ||
4f31cce8 JJ |
19527 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
19528 | ||
19529 | PR middle-end/6100 | |
19530 | * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not | |
19531 | REG_BR_PRED. | |
19532 | (output_v9branch): Likewise. | |
19533 | ||
ba2b7435 AO |
19534 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
19535 | ||
19536 | * gcc.c: Revert previous patch for now. | |
19537 | * config/i386/djgpp.h: Likewise. | |
19538 | ||
aa66aa5f | 19539 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
8f840f57 HPN |
19540 | |
19541 | * config/mmix/crti.asm (_init): Register _fini with atexit. | |
19542 | * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0". | |
19543 | ||
41ba8a20 RH |
19544 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19545 | ||
19546 | PR target/3997 | |
19547 | * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy. | |
19548 | (ASM_OUTPUT_DEF_FROM_DECLS): New. | |
19549 | ||
adc186ef RH |
19550 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19551 | ||
19552 | * libgcc2.c (__bb_exit_func): Make static. | |
19553 | ||
9be40833 | 19554 | * config/alpha/alpha.md (trap): New. |
a7648399 | 19555 | |
9602f5a0 RH |
19556 | 2002-03-31 Richard Henderson <rth@redhat.com> |
19557 | ||
19558 | * builtins.c (expand_builtin_va_arg): Give warnings not errors for | |
19559 | promoted argument types; build trap. | |
19560 | (expand_builtin_trap): New. | |
19561 | (expand_builtin): Use it. | |
19562 | * stmt.c (expand_nl_goto_receivers): Likewise. | |
19563 | * expr.h (expand_builtin_trap): Declare. | |
19564 | * libfuncs.h (LTI_abort, abort_libfunc): New. | |
19565 | * optabs.c (init_optabs): Init abort_libfunc. | |
19566 | ||
1a0a7539 AO |
19567 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
19568 | ||
19569 | * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here... | |
19570 | (LINK_COMMAND_SPEC): ... from here. | |
7b2e1077 | 19571 | (init_gcc_specs): Duplicate it here too, omitting |
1a0a7539 AO |
19572 | shared_name in the second copy. |
19573 | (init_spec): Test for duplicate | |
19574 | * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'. | |
19575 | ||
b5de1a27 DM |
19576 | 2002-03-30 David S. Miller <davem@redhat.com> |
19577 | ||
19578 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
19579 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise. | |
19580 | ||
78414d74 | 19581 | 2002-03-30 Roger Sayle <roger@eyesopen.com> |
9be40833 | 19582 | Richard Henderson <rth@redhat.com> |
78414d74 | 19583 | |
9be40833 RH |
19584 | * regmove.c (combine_stack_adjustments_for_block): Avoid |
19585 | emitting a stack adjustment of zero bytes. Let delete_insn | |
19586 | update bb->head. | |
78414d74 | 19587 | |
33074e5f RH |
19588 | 2002-03-30 Richard Henderson <rth@redhat.com> |
19589 | ||
19590 | * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. | |
19591 | (sparc_emitting_epilogue): New. | |
19592 | (leaf_label, output_return, sparc_return_peephole_ok): Remove. | |
19593 | * config/sparc/sparc-protos.h: Update. | |
19594 | * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. | |
19595 | (TARGET_SWITCHES): Update. | |
19596 | * config/sparc/sparc.md (return): Remove. | |
19597 | (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. | |
19598 | * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, | |
19599 | config/sparc/liteelf.h, config/sparc/netbsd-elf.h, | |
19600 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
19601 | config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, | |
19602 | config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, | |
19603 | config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): | |
19604 | Remove MASK_EPILOGUE. | |
19605 | * doc/invoke.texi: Update. | |
19606 | ||
606cc056 DB |
19607 | 2002-03-30 Daniel Berlin <dan@dberlin.org> |
19608 | ||
19609 | * dwarf2out.c (dwarf2out_define): Remove start_source_file call, | |
19610 | CPP will start the file for us. | |
7b2e1077 | 19611 | |
bdbe5b8d RH |
19612 | 2002-03-30 Richard Henderson <rth@redhat.com> |
19613 | ||
19614 | PR target/5446 | |
19615 | * config/ia64/ia64.c (group_barrier_needed_p): Special case | |
19616 | prologue_allocate_stack. | |
19617 | (ia64_single_set): Use insn codes for recognition of special | |
19618 | cases, not rtl matching. | |
19619 | * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out. | |
19620 | ||
4ab95d82 JH |
19621 | Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz> |
19622 | ||
19623 | * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks. | |
19624 | ||
89a8b315 RH |
19625 | 2002-03-30 Richard Henderson <rth@redhat.com> |
19626 | ||
19627 | PR target/6032 | |
19628 | * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic | |
19629 | or -fomit-frame-pointer with profiling. | |
19630 | (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
19631 | (FUNCTION_PROFILER): Do nothing. | |
19632 | (PROFILE_HOOK): New. | |
19633 | * config/sparc/sparc.c (sparc_override_options): Don't check | |
19634 | code models for profiling. | |
19635 | (sparc_function_profiler): Remove. | |
19636 | (sparc_profile_hook): New. | |
19637 | * config/sparc/sparc-protos.h: Update. | |
19638 | ||
30984c57 JJ |
19639 | 2002-03-30 Jakub Jelinek <jakub@redhat.com> |
19640 | ||
19641 | PR optimization/6086 | |
19642 | * combine.c (combine_simplify_rtx): If simplify_rtx failed because | |
19643 | of SUBREG of volatile MEM or because the MEM was mode dependent, | |
19644 | return CLOBBER instead of unmodified SUBREG. | |
19645 | ||
1540f9eb JH |
19646 | Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> |
19647 | ||
89a8b315 RH |
19648 | * local-alloc.c (local_alloc): Avoid call of update_equiv_regs |
19649 | when not optimizing. | |
1540f9eb JH |
19650 | |
19651 | * toplev.c (rest_of_compilation): Cann mark_constant_function | |
19652 | only when optimizing. | |
19653 | ||
89a8b315 RH |
19654 | * flow.c (calculate_global_regs_live): Ensure that all AUX fields |
19655 | are NULL. | |
1540f9eb JH |
19656 | |
19657 | * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. | |
19658 | (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. | |
19659 | (try_optimize_cfg): clear all AUX fields. | |
19660 | ||
19661 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. | |
19662 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
19663 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
19664 | (legitimate_address_p): Accept SUBREGed registers. | |
19665 | ||
70d95bac RH |
19666 | 2002-03-29 Richard Henderson <rth@redhat.com> |
19667 | ||
19668 | PR target/5672 | |
19669 | * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place. | |
19670 | ||
d3294cd9 FS |
19671 | 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
19672 | ||
19673 | * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count | |
19674 | for aggregate and TFmode types. | |
19675 | ||
a106c875 HPN |
19676 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
19677 | ||
19678 | * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i]. | |
19679 | ||
7d7a5d6f RH |
19680 | 2002-03-29 Richard Henderson <rth@redhat.com> |
19681 | ||
6e2d670b | 19682 | PR target/5886 |
7d7a5d6f RH |
19683 | * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. |
19684 | * config/ia64/hpux.h, config/ia64/linux.h: Likewise. | |
19685 | ||
30c99a84 RH |
19686 | 2002-03-29 Richard Henderson <rth@redhat.com> |
19687 | ||
6e2d670b | 19688 | PR target/6041 |
30c99a84 RH |
19689 | * config/i386/i386.c (x86_arch_always_fancy_math_387): New. |
19690 | (override_options): Disable NO_FANCY_MATH_387 if the arch allows. | |
19691 | * config/i386/i386.h (x86_arch_always_fancy_math_387): New. | |
19692 | * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix | |
19693 | conditional. | |
19694 | * docs/invoke.texi: Update -mno-fancy-math-387 docs. | |
19695 | ||
02a566dc DJ |
19696 | 2002-03-29 Dale Johannesen <dalej@apple.com> |
19697 | ||
19698 | * loop.c (combine_movables): Do allow combination of pseudos. | |
19699 | ||
bc3a44db LR |
19700 | 2002-03-29 Loren J. Rittle <ljrittle@acm.org> |
19701 | ||
19702 | * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. | |
19703 | * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. | |
19704 | No functional change except ... | |
19705 | * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. | |
19706 | * doc/install.texi (*-*-freebsd*): Document port configuration. | |
19707 | ||
b0c48229 NB |
19708 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
19709 | ||
19710 | * Makefile.in (convert.o, calls.o, expmed.o): Update. | |
19711 | * attribs.c (handle_mode_attribute, handle_vector_size_attribute): | |
19712 | Use new hooks. | |
19713 | * builtin-types.def (BT_PTRMODE): Update. | |
19714 | * c-common.c (type_for_size): Rename c_common_type_for_size. | |
19715 | (type_for_mode): Similarly. | |
19716 | (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins): | |
19717 | Use new hook. | |
19718 | * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New. | |
19719 | * c-decl.c (finish_enum, build_enumerator): Use new hooks. | |
19720 | * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE): | |
19721 | Redefine. | |
19722 | * c-typeck.c (common_type, comptypes, default_conversion): | |
19723 | Use new hooks. | |
19724 | * calls.c: Include langhooks.h. | |
19725 | (emit_library_call_value_1): Use new hooks. Avoid redundant | |
19726 | calls. | |
19727 | * convert.c: Include langhooks.h | |
19728 | (convert_to_pointer, convert_to_integer): Use new hooks. | |
19729 | * except.c (init_eh): Similarly. | |
19730 | * expmed.c: Include langhooks.h. | |
19731 | (expand_mult_add): Use new hooks. | |
19732 | * expr.c (store_expr, store_constructor, expand_expr, do_jump, | |
19733 | try_casesi): Similarly. | |
19734 | * fold-const.c (optimize_bit_field_compare, make_range, | |
19735 | decode_field_reference, fold_truthop, fold): Similarly. | |
19736 | * function.c (assign_stack_local_1, assign_stack_temp_for_type, | |
19737 | put_var_into_stack): Similarly. | |
19738 | * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE, | |
19739 | LANG_HOOKS_TYPE_FOR_SIZE): New. | |
19740 | (LANG_HOOKS_TYPES_INITIALIZER): Update. | |
19741 | * langhooks.h (lang_hooks_for_types): New hooks. | |
19742 | * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks. | |
19743 | * tree.c (get_unwidened, get_narrower): Similarly. | |
19744 | * tree.h (type_for_mode, type_for_size): Remove. | |
19745 | * varasm.c (force_const_mem): Use new hooks. | |
19746 | * utils2.c (nonbinary_modular_operation): Update. | |
19747 | objc: | |
19748 | * objc-act.c (handle_impent): Update. | |
19749 | * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE): | |
19750 | Redefine. | |
19751 | ||
e206a74f SE |
19752 | 2002-03-29 Steve Ellcey <sje@cup.hp.com> |
19753 | ||
19754 | * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. | |
19755 | * config/ia64/ia64.c (basereg_operand): New. | |
19756 | * config/ia64/ia64-protos.h (basereg_operand): Declare. | |
19757 | * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand. | |
19758 | ||
7d9b6378 HPN |
19759 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
19760 | ||
19761 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct | |
19762 | unwind information when frame_pointer_needed. | |
19763 | (mmix_assemble_integer): Tweak wording in comment. | |
19764 | ||
f1e639b1 NB |
19765 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
19766 | ||
19767 | * Makefile.in (except.o): Update. | |
19768 | * except.c: Include langhooks.h. | |
19769 | (init_eh): Use langhook. | |
19770 | * langhooks-def.h (LANG_HOOKS_MAKE_TYPE, | |
19771 | LANG_HOOKS_FOR_TYPES_INITIALIZER): New. | |
19772 | (LANG_HOOKS_INITIALIZER): Update. | |
19773 | * langhooks.h (lang_hooks_for_types): New. | |
19774 | (struct lang_hooks): Add it. | |
19775 | * tree.c (make_lang_type_fn, make_lang_type): Remove. | |
19776 | * tree.h (make_lang_type_fn, make_lang_type): Remove. | |
19777 | config: | |
19778 | * alpha/alpha.c: Include langhooks.h. | |
19779 | (alpha_build_va_list): Use langhook. | |
19780 | * d30v/d30v.c: Include langhooks.h. | |
19781 | (d30v_build_va_list): Use langhook. | |
19782 | * i386/i386.c: Include langhooks.h. | |
19783 | (ix86_build_va_list): Use langhook. | |
19784 | * rs6000/rs6000.c (rs6000_build_va_list): Use langhook. | |
19785 | * s390/s390.c: Include langhooks.h. | |
19786 | (s390_build_va_list): Use langhook. | |
19787 | * stormy16/stormy16.c: Include langhooks.h. | |
19788 | (stormy16_build_va_list): Use langhook. | |
19789 | ||
f17f9332 JJ |
19790 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
19791 | ||
19792 | PR c++/5964 | |
19793 | * config/sparc/sparc.md (empty_delay_slot, branch_type): New | |
19794 | attributes. | |
19795 | (length): Compute variable length for branches/calls/jumps here. | |
19796 | (branch, inverted_branch, normal_fp_branch, inverted_fp_branch, | |
19797 | normal_fpe_branch, inverted_fpe_branch): Remove length attribute, | |
19798 | define branch_type attribute. | |
19799 | (divsi3_sp32): Maximum length is 6 not 7. | |
19800 | (call_address_struct_value_sp32, call_symbolic_struct_value_sp32, | |
19801 | call_address_untyped_struct_value_sp32, | |
19802 | call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2. | |
19803 | * config/sparc/sparc.c (empty_delay_slot): New function. | |
19804 | * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove. | |
19805 | * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype. | |
19806 | ||
0a0440c9 JJ |
19807 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
19808 | ||
19809 | * combine.c (set_nonzero_bits_and_sign_copies): Don't call | |
19810 | nonzero_bits if not needed. | |
19811 | (nonzero_bits) [XOR]: Likewise. | |
19812 | (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if | |
19813 | reg_last_set_mode and mode are both MODE_INT, but not equal. | |
19814 | (record_value_for_reg): Compute reg_last_set_nonzero_bits | |
19815 | in nonzero_bits_mode for MODE_INT modes. | |
19816 | ||
c9045f47 RH |
19817 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19818 | ||
19819 | PR target/5715 | |
19820 | * config/alpha/osf.h (ASM_SPEC): Don't pass any special options | |
19821 | to GAS. Correct drift between alternatives. | |
19822 | ||
f8ed1958 RH |
19823 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19824 | ||
19825 | PR target/6087 | |
19826 | * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. | |
19827 | ||
54e20385 LR |
19828 | 2002-03-28 Alexandre Oliva <aoliva@redhat.com> |
19829 | ||
19830 | * config/i386/freebsd.h (LINK_SPEC): Don't pass default | |
19831 | emulation to the linker. | |
19832 | ||
19833 | 2002-03-28 Loren J. Rittle <ljrittle@acm.org> | |
19834 | ||
19835 | * config/alpha/freebsd.h (LINK_SPEC): Likewise. | |
19836 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
19837 | ||
8bc52806 JL |
19838 | Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) |
19839 | ||
19840 | * combine.c (simplify_and_const_int): Make sure to apply mask | |
19841 | when force_to_mode returns a constant integer. PR3311. | |
19842 | ||
279dccc5 JDA |
19843 | 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
19844 | ||
19845 | * pa-linux.h (LOCAL_LABEL_PREFIX): Define. | |
19846 | ||
62aaa62c GP |
19847 | 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
19848 | ||
19849 | * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options | |
19850 | and Objective-C Dialect Options. | |
19851 | ||
b8de5050 RH |
19852 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19853 | ||
19854 | * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE | |
19855 | comparison should be done vs !=0 not >0 return code. Tidy cases. | |
19856 | ||
619708cc RH |
19857 | 2002-03-28 Richard Henderson <rth@redhat.com> |
19858 | ||
19859 | * c-decl.c (finish_function): New arg can_defer_p. Pass it | |
19860 | on to c_expand_body. | |
19861 | * c-tree.h (finish_function): Update decl. | |
19862 | * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. | |
19863 | ||
b1d874d7 JH |
19864 | Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz> |
19865 | ||
19866 | * ifcvt.c (if_convert): Clear aux_for_blocks early enought. | |
19867 | ||
f5eb5fd0 JH |
19868 | Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz> |
19869 | ||
19870 | * rtlanal.c: Include flags.h | |
19871 | (may_trap_p): Do not mark FP operations if trapping | |
19872 | if !flag_trapping_math | |
19873 | * Makefile.in (rtlanal.o): Add dependency on flag.h | |
19874 | * ifcvt.c (noce_operand_ok): Avoid the lameness. | |
19875 | ||
81b4c798 ZW |
19876 | 2002-03-27 Zack Weinberg <zack@codesourcery.com> |
19877 | ||
19878 | * mips.md: Use dconst1, not 1.0, as first argument of | |
19879 | REAL_VALUE_LDEXP. Don't use union real_extract. | |
19880 | ||
55a2ea2a AM |
19881 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
19882 | ||
19883 | * configure.in (gcc_cv_as): Use $target_alias in directory searchs | |
19884 | rather than $target. Heed program_prefix and | |
19885 | program_transform_name. Search for gas in cross-compiler case too. | |
19886 | "test -x" rather than "test -f". | |
19887 | (gcc_cv_ld): Likewise. | |
19888 | (gcc_cv_nm): Heed program_prefix and program_transform_name. | |
19889 | (gcc_cv_objdump): Likewise. | |
19890 | * configure: Regenerate. | |
19891 | ||
7ffb4fd2 NB |
19892 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
19893 | ||
19894 | * Makefile.in (attribs.o): Update. | |
19895 | * attribs.c: Include langhooks.h. | |
19896 | (decl_attributes): Use langhook. | |
19897 | * c-decl.c (insert_default_attributes): Rename. | |
19898 | * c-tree.h (c_insert_default_attributes): New. | |
19899 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. | |
19900 | (LANG_HOOKS_INITIALIZER): Update. | |
19901 | * langhooks.h (struct lang_hooks): New hook. | |
19902 | * tree.h (insert_default_attributes): Remove. | |
19903 | objc: | |
19904 | * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. | |
19905 | ||
e4dbaed5 AS |
19906 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
19907 | ||
19908 | * config/i386/i386.c (classify_argument): Also check for | |
19909 | QUAL_UNION_TYPE. | |
19910 | ||
18b467f1 RO |
19911 | 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
19912 | ||
19913 | * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj | |
19914 | any more. | |
19915 | ||
d337d653 JH |
19916 | Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz> |
19917 | ||
19918 | * i960.md (ret): Set PC. | |
19919 | (nonlocal_goto): Fix expander. | |
19920 | * builtins.c (epxand_builin_longjmp): Check that we've emitted | |
19921 | some jump or call. | |
19922 | ||
218aa620 JH |
19923 | Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz> |
19924 | ||
19925 | * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting | |
19926 | of libcall regions. | |
19927 | ||
e27a4eaf ZD |
19928 | Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
19929 | ||
19930 | * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of | |
19931 | assigning to BLOCK_FOR_INSN directly. | |
19932 | ||
8a12f34c JH |
19933 | Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz> |
19934 | ||
19935 | * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. | |
19936 | ||
c9d892a8 NB |
19937 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
19938 | ||
19939 | * c-common.c (c_expand_expr): Fix prototype. | |
19940 | * c-common.h (c_expand_expr): Always declare, update. | |
19941 | * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
19942 | * c-objc-common.c (c_objc_common_init): No global hook. | |
19943 | * expr.c (expand_expr): Use langhook. | |
19944 | * expr.h (enum expand_modifier): Conditionally declare. | |
19945 | * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. | |
19946 | (LANG_HOOKS_INITIALIZER): Update. | |
19947 | * langhooks.c (lhd_expand_expr): New. | |
19948 | * langhooks.h (struct lang_hooks): New hook. | |
19949 | * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. | |
19950 | (lang_independent_init): Don't default hook. | |
19951 | objc: | |
19952 | * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
19953 | ||
6dad5a56 RH |
19954 | 2002-03-27 Richard Henderson <rth@redhat.com> |
19955 | ||
19956 | PR target/6054 | |
19957 | * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for | |
19958 | TARGET_CONST_GP. Simplify conditions. | |
19959 | ||
59f96879 RH |
19960 | 2002-03-27 Richard Henderson <rth@redhat.com> |
19961 | ||
19962 | * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
19963 | config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, | |
19964 | config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. | |
19965 | ||
f3f1190d DS |
19966 | 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net> |
19967 | ||
19968 | * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, | |
19969 | TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. | |
19970 | (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): | |
19971 | Remove unnecessary masks. | |
19972 | (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. | |
19973 | (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, | |
19974 | -mwindows, -mdll switches and their negations. | |
19975 | ||
31c816cf NB |
19976 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
19977 | ||
19978 | * gcc-common.c (lang_mark_false_label_stack): Remove. | |
19979 | * ggc.h (lang_mark_false_label_stack): Similarly. | |
19980 | ||
7b2e1077 | 19981 | 2002-03-26 Vladimir Makarov <vmakarov@redhat.com> |
aee8f532 VM |
19982 | |
19983 | * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__. | |
19984 | ||
19985 | * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__ | |
19986 | or __rtems_ is defined. | |
19987 | ||
1ef9531b RH |
19988 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19989 | ||
19990 | * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note | |
19991 | if a non-trivial load was emitted. | |
19992 | (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko | |
19993 | in high+extra+low case. | |
19994 | ||
300d4093 RH |
19995 | 2002-03-26 Richard Henderson <rth@redhat.com> |
19996 | ||
19997 | * config.gcc (sparc*-solaris): Use float_format=sparc. | |
19998 | ||
b3689904 RH |
19999 | 2002-03-26 Richard Henderson <rth@redhat.com> |
20000 | ||
20001 | * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
20002 | * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. | |
20003 | * config/sparc/linux.h, config/sparc/linux64.h: Likewise. | |
20004 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. | |
20005 | (WINT_TYPE_SIZE): Fix at 32. | |
20006 | ||
1eefb6c1 RH |
20007 | 2002-03-26 Richard Henderson <rth@redhat.com> |
20008 | ||
20009 | * toplev.c (rest_of_compilation): Delay emit_initial_value_sets | |
20010 | until after eh landing pad generation. | |
20011 | * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. | |
20012 | * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. | |
20013 | ||
361ea006 RH |
20014 | 2002-03-26 Richard Henderson <rth@redhat.com> |
20015 | ||
20016 | * expr.h (ADD_PARM_SIZE): One more convert for INC. | |
20017 | ||
1de38a88 PE |
20018 | 2002-03-26 Phil Edwards <pme@gcc.gnu.org> |
20019 | ||
20020 | * gcc.c (cpp_options): Preserve relative ordering of -pedantic | |
20021 | and warning switches. | |
20022 | (cc1_options): Likewise. | |
20023 | ||
d7e60e95 | 20024 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
361ea006 | 20025 | |
d7e60e95 HB |
20026 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): |
20027 | Restore more of the signal context. Set no_reg_stack_frame. | |
20028 | * config/ia64/unwind-ia64.c (unw_state_record): | |
20029 | Add no_reg_stack_frame, comments. | |
20030 | (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. | |
20031 | (uw_update_context): Adjust bsp when unwinding from leaf, | |
20032 | but not signal frame. | |
20033 | ||
7032923b DE |
20034 | 2002-03-26 David Edelsohn <edelsohn@gnu.org> |
20035 | ||
20036 | * config/rs6000/aix51.h (WCHAR_TYPE): Define. | |
20037 | ||
8be56275 BW |
20038 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
20039 | ||
20040 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types. | |
20041 | ||
56fbb855 RE |
20042 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
20043 | ||
20044 | PR target/5621 | |
20045 | * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999: | |
20046 | "Add a pool_range attribute", which was lost during the ARM/Thumb | |
20047 | merge. | |
20048 | ||
3437320b BW |
20049 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
20050 | ||
20051 | * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from | |
20052 | a register into the MAC16 accumulator. | |
20053 | ||
173028e5 AC |
20054 | 2002-03-26 Andrew Cagney <ac131313@redhat.com> |
20055 | ||
20056 | * doc/invoke.texi (Option Summary): Mention -Wswitch-enum. | |
20057 | (Warning Options): Document -Wswitch-enum. | |
20058 | * toplev.c (W_options): Add -Wswitch-enum. Update comment on | |
20059 | -Wswitch. | |
20060 | (warn_switch_enum): Define variables. | |
20061 | * flags.h (warn_switch_enum): Declare variables. | |
20062 | * stmt.c (expand_end_case_type): When warn_switch_enum / | |
20063 | -Wswitch-enum, perform switch checks. | |
20064 | Fix PR c/5044. | |
7b2e1077 | 20065 | |
e14365a7 RE |
20066 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
20067 | ||
20068 | * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi) | |
20069 | (reload_mulsi_compare0_scratch, reload_muladdsi_compare0) | |
20070 | (reload_muladdsi_compare0_scratch): Delete. | |
20071 | ||
46fc709d LR |
20072 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
20073 | ||
20074 | * doc/install.texi (*-*-freebsd*): Update. | |
20075 | ||
f36dea3c RH |
20076 | 2002-03-26 Richard Henderson <rth@redhat.com> |
20077 | ||
8e5fe23f RH |
20078 | * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype. |
20079 | (SUB_PARM_SIZE): Cast DEC to ssizetype. | |
20080 | ||
20081 | * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK | |
20082 | types from the normal argument frame. | |
20083 | ||
f36dea3c RH |
20084 | * config/sparc/sparc.c (function_arg_pass_by_reference): Pass |
20085 | variable sized objects by reference. | |
20086 | (sparc_va_arg): Receive them by reference too. | |
20087 | ||
1447dc69 HP |
20088 | 2002-03-26 Hartmut Penner <hpenner@de.ibm.com> |
20089 | ||
20090 | * config/s390/s390.c (s390_emit_epilogue): Change epilogue | |
7b2e1077 | 20091 | code to not restoring global registers. |
1447dc69 | 20092 | |
4f0ade92 NB |
20093 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
20094 | ||
20095 | * Makefile.in (ggc-common.o): Update. | |
20096 | * c-decl.c (lang_mark_tree): Rename c_mark_tree. | |
20097 | * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
20098 | * c-tree.h (c_mark_tree): New. | |
20099 | * ggc-common.c: Include langhooks.h. | |
20100 | (gcc_mark_trees): Use new langhook. | |
20101 | * ggc-callbacks.c: Delete file. | |
20102 | * ggc.h (lang_mark_tree): Remove. | |
20103 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. | |
20104 | (LANG_HOOKS_INITIALIZER): Update. | |
20105 | * langhooks.h (struct lang_hooks): New hook. | |
20106 | objc: | |
20107 | * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
20108 | ||
caba570b ZW |
20109 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
20110 | ||
20111 | * doc/cpp.texi: Exclude entire Top node from printed manual. | |
20112 | Move option index after directive index. Insert page breaks | |
20113 | before GFDL and concept index. Index environment variables | |
20114 | with command line options. | |
20115 | * doc/cppenv.texi: Use @vtable for environment variable list. | |
20116 | Add paragraph explaining semantics of empty elements in path | |
20117 | variables. Exclude a cross-reference to Fishkill from the | |
20118 | manpage. Remove an unnecessary cross-reference of the entry | |
20119 | right above the referer. Don't use @anchor in text that goes | |
20120 | into manpage. | |
20121 | * doc/cppopts.texi: Cross-reference the environment variables | |
20122 | section, not the specific environment variable, for consistency. | |
20123 | ||
6b2e80b7 RH |
20124 | 2002-03-25 Richard Henderson <rth@redhat.com> |
20125 | ||
20126 | * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes | |
20127 | anywhere in the block. Don't refer to insns that have been | |
20128 | removed from the chain. Iterate backward through the new insns. | |
20129 | Don't refer to edges that have been removed. | |
20130 | ||
67e469d7 AM |
20131 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
20132 | ||
20133 | * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct | |
20134 | test for overflow of constant. | |
20135 | ||
f2356393 RE |
20136 | 2002-03-25 Richard Earnshaw <rearnsha@arm.com> |
20137 | ||
20138 | PR target/2623 | |
20139 | * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc) | |
20140 | (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use | |
20141 | these patterns on arm_archv4. | |
20142 | ||
355426ab DS |
20143 | 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net> |
20144 | ||
20145 | * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned | |
20146 | int". | |
20147 | ||
15e5ad76 ZW |
20148 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
20149 | ||
20150 | * toplev.c: Don't include setjmp.h. Kill float_handler_set, | |
20151 | float_handled, float_handler, float_signal, set_float_handler, | |
20152 | and do_float_handler. Set handler for SIGFPE to crash_signal. | |
20153 | * toplev.h: Don't prototype do_float_handler. | |
20154 | ||
20155 | * c-lex.c: Fold parse_float into lex_number. Make warning | |
20156 | about portability of hex float constants more informative, and | |
20157 | don't issue it on top of a syntax error. | |
20158 | * fold-const.c: Fold const_binop_1 and fold_convert_1 into | |
20159 | their callers. | |
20160 | * real.h: Define REAL_VALUE_ABS here... | |
20161 | * simplify-rtx.c: ... not here. Fold check_fold_consts, | |
20162 | simplify_unary_real, simplify_binary_real, and | |
20163 | simplify_binary_is2orm1 into their callers. | |
20164 | * tree.c: Fold build_real_from_int_cst_1 into caller. | |
20165 | ||
20166 | * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. | |
20167 | ||
20168 | * tsystem.h: Include float.h here... | |
20169 | * libgcc2.c: ... not here. | |
20170 | ||
56ae9405 NC |
20171 | 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com> |
20172 | ||
20173 | Fixes for: PR bootstrap/3591, target/5676 | |
20174 | * config/mcore/mcore.h (CC1_SPEC): Define only if not already | |
20175 | defined. Do not disable exceptions or rtti. | |
20176 | * config/mcore/mcore-pe.h (CC1_SPEC): Define before including | |
20177 | mcore.h. Disable exceptions and rtti, since they are not | |
20178 | supported by EPOC. | |
20179 | ||
c88770e9 NB |
20180 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
20181 | ||
20182 | * c-decl.c (maybe_build_cleanup): Remove. | |
20183 | * expr.c (expand_expr): Use langhook. | |
20184 | * langhooks-def.h (lhd_return_null_tree, | |
20185 | LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. | |
20186 | (LANGHOOKS_INITIALIZER): Update. | |
20187 | * langhooks.c (lhd_return_null_tree): New. | |
20188 | * langhooks.h (struct lang_hooks): New hook. | |
20189 | * tree-inline.c (initialize_inlined_parameters): Use langhook. | |
20190 | * tree.h (maybe_build_cleanup): Remove. | |
20191 | ||
2ed1f154 JJ |
20192 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
20193 | ||
20194 | * regrename.c (build_def_use): Move recog_memoized | |
20195 | before extract_insn. | |
20196 | ||
6ddae612 JJ |
20197 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
20198 | ||
20199 | PR target/6043 | |
20200 | * expr.c (emit_group_store): Handle storing into CONCAT. | |
20201 | ||
ea475b23 JJ |
20202 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
20203 | ||
20204 | * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and | |
20205 | corresponding MATCH_DUP. | |
20206 | ||
e7d482b9 RH |
20207 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20208 | ||
cd39fc13 RH |
20209 | * unroll.c (unroll_loop): Zero label_map. |
20210 | ||
e7d482b9 RH |
20211 | * gcse.c: Include except.h. |
20212 | * Makefile.in (gcse.o): Update. | |
20213 | ||
1bd6476f RH |
20214 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20215 | ||
20216 | * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change. | |
20217 | Do resolve_unique_section before shared data clause. | |
20218 | ||
2e6c150a RH |
20219 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20220 | ||
20221 | * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static. | |
20222 | ||
b29afcf8 RH |
20223 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20224 | ||
15e5ad76 | 20225 | * recog.c (peephole2_optimize): Split blocks when EH insns are |
b29afcf8 RH |
20226 | generated in the middle of a block. Do global life update if |
20227 | zapped EH edges. | |
20228 | ||
05ed1296 RH |
20229 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20230 | ||
20231 | * mips.c (mips_function_value): Only promote_mode for non-libcalls. | |
20232 | ||
3ddbb8a9 NB |
20233 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
20234 | ||
20235 | preprocessor/3951 | |
15e5ad76 | 20236 | * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. |
3ddbb8a9 NB |
20237 | * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. |
20238 | (init_dependency_output): Don't make no_output decision here. | |
20239 | ||
740b77b6 AC |
20240 | 2002-03-24 Andrew Cagney <ac131313@redhat.com> |
20241 | ||
20242 | * stmt.c (check_for_full_enumeration_handling): Remove tests of | |
20243 | warn_switch. Update description. | |
20244 | (expand_end_case_type): Call check_for_full_enumeration_handling | |
20245 | when warn_switch. | |
20246 | ||
7590cfd0 SC |
20247 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
20248 | ||
20249 | * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function. | |
20250 | (m68hc11_split_move): Call it to see if the source and destination | |
20251 | operands use the same direction auto inc/dec mode, otherwise make the | |
c61f581f | 20252 | source an offsetable memory operand and generate an add. |
7590cfd0 | 20253 | |
2e3d3481 SC |
20254 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
20255 | ||
20256 | * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address | |
20257 | register for operand 2. | |
20258 | ("*subsi3_zero_extendqi"): Likewise. | |
20259 | ("*iorhi3_gen"): Do the operation on the upper bits and then lower | |
20260 | bits so that it is compatible with a pop. | |
20261 | ("*andhi3_gen"): Likewise. | |
20262 | ("xorhi3"): Likewise. | |
20263 | ||
2784528c NB |
20264 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
20265 | ||
20266 | * cppinit.c (cpp_handle_option): Set warn_endif_labels if | |
20267 | -pedantic here... | |
20268 | (cpp_post_options): ... not here. | |
20269 | ||
aaf93206 NB |
20270 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
20271 | Aldy Hernandez <aldyh@redhat.com> | |
20272 | ||
20273 | Removal of separate preprocessor cpp0. | |
20274 | ||
20275 | * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS, | |
20276 | cpp0, install-common): Update. | |
20277 | * c-common.c (flag_preprocess_only): New. | |
20278 | (c_common_init): Preprocess for -E. | |
20279 | * c-common.h (flag_preprocess_only): New. | |
20280 | * c-decl.c (c_decode_option): Handle -E and -std=c++98. | |
20281 | * c-objc-common.c (c_init_decl_processing): Exit quickly | |
20282 | for NULL return from c_common_init. | |
20283 | * cpplib.h (cpp_preprocess_file): New. | |
20284 | * cppmain.c (main, general_init, pfile, progname): Remove. | |
20285 | (do_preprocessing): Rename cpp_preprocess_file, don't call | |
20286 | cpp_finish. Don't close stdout here. | |
20287 | (setup_callbacks): Update prototype. | |
20288 | * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers): | |
20289 | Update. | |
20290 | * tradcpp.c (main): Ignore -quiet. | |
20291 | objc: | |
20292 | * lang-specs.h (default_compilers): Preprocess with cc1obj. | |
20293 | ||
c6e6f5c1 RH |
20294 | 2002-03-24 Richard Henderson <rth@redhat.com> |
20295 | ||
20296 | PR optimization/5742 | |
20297 | * machmode.def: Add inner mode field to complex modes. | |
20298 | * config/mips/mips.c (mips_function_value): Always define. Add | |
20299 | new argument to handle libcalls. | |
20300 | * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value. | |
20301 | (FUNCTION_VALUE): Likewise. | |
20302 | * config/mips/abi64.h (FUNCTION_VALUE): Remove. | |
20303 | * config/mips/mips-protos.h: Update. | |
20304 | ||
d88e57d1 RH |
20305 | 2002-03-23 Richard Henderson <rth@redhat.com> |
20306 | ||
20307 | * config/sparc/sparc.c (sparc_emit_floatunsdi): New. | |
20308 | * config/sparc/sparc-protos.h: Update. | |
20309 | * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New. | |
20310 | ||
6dfaf9ba RH |
20311 | 2002-03-23 Richard Henderson <rth@redhat.com> |
20312 | ||
20313 | * config/sparc/gmon-sol2.c (internal_mcount): Assume either | |
20314 | _start or _init begins the text segment. | |
20315 | ||
0c769cf8 DE |
20316 | 2002-03-23 David Edelsohn <edelsohn@gnu.org> |
20317 | ||
20318 | * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT | |
20319 | not HOST_WIDEST_INT. | |
20320 | (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes. | |
20321 | ||
64e92a26 RE |
20322 | 2002-03-23 Richard Earnshaw <rearnsha@arm.com> |
20323 | ||
20324 | PR java/5489 | |
20325 | * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the | |
20326 | operand argument to output_return_instruction. | |
15e5ad76 | 20327 | * arm.c (arm_print_operand, case 'd'): If the operand is |
64e92a26 RE |
20328 | const_true_rtx then just return. |
20329 | (arm_print_operand, case 'D'): If the operand is const_true_rtx | |
20330 | then abort. | |
20331 | ||
d6961341 AC |
20332 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
20333 | ||
20334 | * doc/invoke.texi (Option Summary): Mention -Wswitch-default. | |
20335 | (Warning Options): Document -Wswitch-default. | |
20336 | * toplev.c (W_options): Add -Wswitch-default. Update comment on | |
20337 | -Wswitch. | |
20338 | (warn_switch_default): Define variable. | |
20339 | (warn_switch): Update comment. | |
20340 | * flags.h (warn_switch_default): Declare variable. | |
20341 | (warn_switch): Update comment. | |
20342 | * stmt.c (expand_end_case): Check for and, when | |
20343 | warn_switch_no_default, warn of a missing default case. | |
15e5ad76 | 20344 | |
d4c5ac1f AM |
20345 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
20346 | ||
bbaa9790 AM |
20347 | * real.h (N): Special case 128 bit doubles. |
20348 | ||
d4c5ac1f AM |
20349 | * combine.c (simplify_comparison): When widening modes, ignore |
20350 | sign extension on CONST_INTs. | |
20351 | ||
84bf8c2c BW |
20352 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
20353 | ||
20354 | * config/xtensa/xtensa.c (print_operand): Fix incorrect mode | |
20355 | passed to adjust_address. Fix comment formatting. | |
20356 | ||
20357 | ||
b216cd4a ZW |
20358 | 2002-03-22 Zack Weinberg <zack@codesourcery.com> |
20359 | ||
20360 | * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. | |
20361 | Always make REAL_VALUE_TYPE a struct containing an array of | |
20362 | HOST_WIDE_INT, not a double. Tidy up the code deciding how | |
20363 | big it is. Don't declare or use union real_extract. | |
20364 | ||
20365 | * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, | |
20366 | decode_rtx_const, output_constant_pool), config/a29k/a29k.c | |
20367 | (print_operand), config/arm/arm.c (output_move_double), | |
20368 | config/arm/arm.md (consttable_4, consttable_8), | |
20369 | config/romp/romp.c (output_fpops), config/s390/s390.h | |
20370 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c | |
20371 | (xtensa_output_literal): Don't use union real_extract. | |
20372 | ||
20373 | * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c | |
20374 | (sfmode_constant_to_ulong), config/ns32k/merlin.h | |
20375 | (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), | |
20376 | config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h | |
20377 | (PRINT_OPERAND): Don't use local version of union | |
20378 | real_extract. | |
20379 | ||
20380 | * config/convex/convex.c (check_float_value), config/vax/vax.c | |
20381 | (vax_float_literal), config/m88k/m88k.md (divdf3), | |
20382 | config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), | |
20383 | config/pdp11/pdp11.c (output_move_quad): Don't do host | |
20384 | arithmetic on target floating point quantities. | |
20385 | ||
20386 | * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c | |
20387 | (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. | |
20388 | ||
20389 | * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): | |
20390 | Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. | |
20391 | ||
20392 | * real.c (earith): Test INFINITY rather than REAL_INFINITY; | |
20393 | NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef | |
20394 | INFINITY. | |
20395 | * print-rtl.c (print_rtx): Disable code which needs | |
20396 | floating-point emulator. | |
20397 | * libgcc2.c: Include float.h and use DBL_MANT_DIG, | |
20398 | FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than | |
20399 | depending on HOST_FLOAT_FORMAT to be defined properly. | |
20400 | ||
20401 | * config/1750a/1750a.c (get_double, float_label): Delete. | |
20402 | (print_operand): Delete huge commented-out chunk. Use | |
20403 | REAL_VALUE_TO_DECIMAL. | |
20404 | * config/1750a/1750a-protos.h: Delete prototypes of deleted | |
20405 | functions. | |
20406 | * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to | |
20407 | IEEE_FLOAT_FORMAT. | |
20408 | * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): | |
20409 | Use REAL_VALUE_TO_DECIMAL as ELF version does. | |
20410 | * config/m88k/m88k.c (real_power_of_2_operand, | |
20411 | legitimize_operand): Take the REAL_VALUE_TYPE and/or union | |
20412 | real_extract out of the union; run the input through | |
20413 | REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords | |
20414 | from that into the union. | |
20415 | * config/pdp11/pdp11.c (output_move_double): Rearrange | |
20416 | parentheses to make automatic indenter happy. | |
20417 | ||
20418 | * doc/tm.texi (Cross-compilation): Rename node to "Floating | |
20419 | Point" and rewrite to describe current situation. Also adjust | |
20420 | documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to | |
20421 | match code. | |
20422 | * doc/rtl.texi: Adjust cross reference. | |
20423 | ||
a8cacfd2 BW |
20424 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
20425 | ||
20426 | * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove. | |
20427 | (xtensa_valid_move, xtensa_preferred_reload_class): Define. | |
20428 | * config/xtensa/xtensa.c (non_acc_reg_operand): Remove. | |
20429 | (xtensa_valid_move, xtensa_preferred_reload_class): Define to | |
20430 | prevent use of sp as a reload register. | |
20431 | (xtensa_emit_move_sequence): Use xtensa_valid_move instead of | |
20432 | non_acc_reg_operand. | |
20433 | * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand. | |
20434 | (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class. | |
20435 | * config/xtensa/xtensa.md (movsi_internal, movhi_internal, | |
20436 | movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand. | |
20437 | ||
d4e6133f NB |
20438 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
20439 | ||
b216cd4a ZW |
20440 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. |
20441 | * cpplex.c (unterminated): Delete. | |
20442 | (parse_string): No string literal may extend over multiple | |
20443 | lines. Suppress the error when preprocessing assembly. | |
d4e6133f NB |
20444 | * cppmain.c (scan_translation_unit): Strings are single-line. |
20445 | ||
b216cd4a | 20446 | * doc/cpp.texi: Update to match. |
d4e6133f | 20447 | |
65e6c005 JJ |
20448 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
20449 | ||
20450 | PR optimization/5854 | |
20451 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
20452 | Shut up warnings. | |
20453 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
20454 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
20455 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
20456 | const0 if scratch register was not allocated. | |
20457 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
20458 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
20459 | with GEN_INT (...). | |
20460 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
20461 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
20462 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
20463 | patterns. | |
20464 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
20465 | require scratch register for setting 0 into regs/non-pushable memory. | |
20466 | ||
7f48c9e1 AO |
20467 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
20468 | ||
20469 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
20470 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
20471 | ||
909de5da PE |
20472 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
20473 | ||
20474 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
20475 | * cppinit.c (cpp_create_reader): On by default. | |
20476 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
20477 | (cpp_post_options): Also enable if -pedantic. | |
20478 | * cpplib.c (do_else): Use it. | |
20479 | (do_endif): Likewise. | |
20480 | * doc/cppopts.texi: Document new option. | |
20481 | * doc/invoke.texi: Document new option. | |
20482 | ||
d8bf17f9 LB |
20483 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
20484 | ||
20485 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
20486 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
20487 | ||
70e0ccd0 AO |
20488 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
20489 | ||
20490 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
20491 | ENTRY and EXIT. | |
20492 | ||
68882f0f JJ |
20493 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
20494 | ||
20495 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
20496 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
20497 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
20498 | rtx * instead of rtx to alter_subreg. | |
20499 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
20500 | * config/pj/pj.c (pj_output_rval): Likewise. | |
20501 | ||
648fe28b RH |
20502 | 2002-03-22 Richard Henderson <rth@redhat.com> |
20503 | ||
20504 | PR target/3177 | |
20505 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
20506 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
20507 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
20508 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
20509 | of incomming int regs. | |
20510 | ||
e8dcd824 AM |
20511 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
20512 | ||
20513 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
20514 | ||
96327cdc JH |
20515 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
20516 | ||
20517 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
20518 | New static variables. | |
20519 | (rest_of_compilation): Conditionalize crossjumping and | |
20520 | loop optimizer. | |
20521 | (parse_options_and_default_flags): Default loop_optimize and | |
20522 | crossjumping. | |
20523 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
20524 | * invoke.texi (crossjumping, loop-optimize): Document. | |
20525 | ||
bc185257 RS |
20526 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
20527 | ||
20528 | * real.c (eiisneg): Move outside #ifdef NANS. | |
20529 | ||
0a2ed1f1 JH |
20530 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
20531 | ||
20532 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
20533 | frequencies match; avoid match on different loop depths. | |
20534 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
20535 | savings. | |
20536 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
20537 | updating code. | |
20538 | (split_edge): Likewise. | |
20539 | ||
20540 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
20541 | variable. | |
20542 | ||
20543 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
20544 | * cfgrtl.c: Include insn-config.h | |
20545 | (split_block) Dirtify block in presence of conditional execution | |
20546 | ||
4d72536e RS |
20547 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
20548 | ||
20549 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
20550 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
20551 | (function_arg): Constify CUMULATIVE_ARGS. | |
20552 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
20553 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
20554 | (UNITS_PER_DOUBLE): New macro. | |
20555 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
20556 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
20557 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
20558 | fp_regs and stack_words. | |
20559 | (EABI_FLOAT_VARARGS_P): New macro. | |
20560 | * config/mips/mips.c (struct mips_arg_info): New. | |
20561 | (mips_arg_info): New function. | |
20562 | (function_arg_advance): Use it. Add adjustment instructions here | |
20563 | rather than in function_arg. | |
20564 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
20565 | for VOIDmode at the beginning of the function. | |
20566 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
20567 | (function_arg_pass_by_reference): Likewise. | |
20568 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
20569 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
20570 | (mips_va_start): Likewise. Use the new stack_words field of | |
20571 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
20572 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
20573 | doubles and other types, aligning the overflow pointer for non-doubles | |
20574 | too. Remove some code duplication. Replace hard-coded constants. | |
20575 | ||
e6f884cd RS |
20576 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
20577 | ||
20578 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
20579 | (CLASS_UNITS): Undefine. | |
20580 | (CLASS_MAX_NREGS): Use FP_INC. | |
20581 | * config/mips/mips.c (compute_frame_size): Likewise. | |
20582 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
20583 | ||
10cf9bde NB |
20584 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
20585 | ||
20586 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
20587 | prototype, and handle lexing numbers and identifiers. | |
20588 | (parse_identifier): Update to new form of parse_slow. | |
20589 | (parse_number): Fast path only, use parse_slow otherwise. | |
20590 | (_cpp_lex_direct): Update calls to parse_number. | |
20591 | ||
fbc2782e DD |
20592 | 2002-03-21 DJ Delorie <dj@redhat.com> |
20593 | ||
20594 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
20595 | when redundant edges are omitted. | |
20596 | * predict.c (dump_prediction): Likewise. | |
20597 | ||
fba39eaf RH |
20598 | 2002-03-21 Richard Henderson <rth@redhat.com> |
20599 | ||
20600 | PR target/5996 | |
20601 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
20602 | * fixinc/fixincl.x: Regenerate. | |
20603 | ||
eba80994 EB |
20604 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
20605 | ||
20606 | PR c/5597 | |
20607 | * c-typeck.c (process_init_element): Flag non-static | |
20608 | initialization of a flexible array member as illegal. | |
20609 | ||
2a78758b AM |
20610 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
20611 | ||
20612 | * config/rs6000/t-linux64: New. | |
20613 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
20614 | t-ppccomm. Use t-rs6000 and t-linux64. | |
20615 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
bac015e7 AM |
20616 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
20617 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
20618 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
2a78758b | 20619 | |
2cb921f4 AH |
20620 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
20621 | ||
eba80994 EB |
20622 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
20623 | flag_really_no_inline instead of optimize == 0. | |
2cb921f4 | 20624 | |
eba80994 | 20625 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
2cb921f4 | 20626 | |
eba80994 | 20627 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
2cb921f4 | 20628 | |
eba80994 | 20629 | * flags.h (flag_really_no_inline): New. |
2cb921f4 | 20630 | |
659e5a7a | 20631 | * c-common.c (c_common_post_options): Initialize |
eba80994 | 20632 | flag_really_no_inline. |
2cb921f4 | 20633 | |
eba80994 | 20634 | * toplev.c (flag_really_no_inline): New. |
2cb921f4 | 20635 | |
239b8b9d JJ |
20636 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
20637 | ||
20638 | * config/avr/avr.md (length): Fix length computation for | |
20639 | conditional branches. | |
20640 | ||
43577e6b NB |
20641 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
20642 | ||
20643 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
20644 | sdbout.o, profile.o): Update. | |
20645 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
20646 | langhook. | |
20647 | * c-common.h (gettags): Move here from tree.h. | |
20648 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
20649 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
20650 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
20651 | * expr.c (expand_expr): Use insert_block langhook. | |
20652 | * fold-const.c: Include langhooks.h. | |
20653 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
20654 | fold): Use global_bindings_p langhook. | |
20655 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
20656 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
20657 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
20658 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
20659 | LANG_HOOKS_GETDECLS): New. | |
20660 | (LANG_HOOKS_INITIALIZER): Update. | |
20661 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
20662 | langhook. | |
20663 | * langhooks.h (struct lang_hooks_for_decls): New. | |
20664 | (struct lang_hooks): Update. | |
20665 | * profile.c: Include langhooks.h. | |
20666 | (output_func_start_profiler): Use new langhooks. | |
20667 | * sdbout.c: Include langhooks.h. | |
20668 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
20669 | * stmt.c: Include langhooks.h. | |
20670 | (expand_fixup, fixup_gotos): Use new langhooks. | |
20671 | * stor-layout.c: Include langhooks.h. | |
20672 | (variable_size): Use global_bindings_p langhook. | |
20673 | * toplev.c (compile_file): Use getdecls langhook. | |
20674 | * tree-inline.c (remap_block): Use insert_block langhook. | |
20675 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
20676 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
20677 | ||
5b19b10c RH |
20678 | 2002-03-21 Richard Henderson <rth@redhat.com> |
20679 | ||
20680 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
20681 | constants in .data when -fpic. | |
20682 | ||
e05af335 GP |
20683 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
20684 | ||
20685 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
20686 | where appropriate. | |
20687 | ||
60ffc997 TT |
20688 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
20689 | ||
20690 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
20691 | ||
75897075 RK |
20692 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
20693 | ||
a73afd69 | 20694 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
46399021 | 20695 | |
75897075 RK |
20696 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
20697 | ||
312687cf EB |
20698 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
20699 | Richard Henderson <rth@redhat.com> | |
20700 | ||
20701 | PR c/5354 | |
20702 | * c-common.c (c_expand_expr): Preserve result of a statement | |
20703 | expression if needed. | |
20704 | ||
f0e1f482 JJ |
20705 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
20706 | ||
20707 | PR bootstrap/4195 | |
20708 | * genrecog.c (maybe_both_true_mode): Remove. | |
20709 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
20710 | * machmode.def (Pmode): Likewise. | |
20711 | ||
c14b9960 JW |
20712 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
20713 | ||
20714 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
20715 | (nonlocal_mentioned_p_1): New function. | |
20716 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
20717 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
20718 | (mark_constant_function): Recognize pure functions. | |
20719 | * rtl.h (global_reg_mentioned_p): New prototype. | |
20720 | * rtlanal.c (global_reg_mentioned_p, | |
20721 | global_reg_mentioned_p_1): New function. | |
20722 | ||
aaa4d130 RO |
20723 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
20724 | ||
20725 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
20726 | UNIX assert.h. | |
20727 | * fixinc/fixincl.x: Regenerate. | |
20728 | ||
e5c4bd1b JM |
20729 | 2002-03-20 Jason Merrill <jason@redhat.com> |
20730 | ||
20731 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
20732 | ||
852b81bb MM |
20733 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
20734 | ||
20735 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
20736 | -fstrict-aliasing. | |
20737 | ||
86d8c251 BW |
20738 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
20739 | ||
20740 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
20741 | ".literal_position" directive before the constant pool. | |
20742 | ||
0a39c350 GP |
20743 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
20744 | ||
20745 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
20746 | Add Craig Rodrigues. | |
20747 | Add Brad Lucier to testers. | |
20748 | ||
71a83373 JJ |
20749 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
20750 | ||
20751 | PR target/4792 | |
20752 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
20753 | to if_then_else. | |
20754 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
20755 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
20756 | instead of insn_extract. | |
20757 | ||
a29b099d JJ |
20758 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
20759 | ||
20760 | PR bootstrap/4192 | |
71a83373 | 20761 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
a29b099d JJ |
20762 | |
20763 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
20764 | stmt if some case has been output. | |
20765 | ||
048b1c95 JJ |
20766 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
20767 | ||
20768 | PR c/5972 | |
20769 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
20770 | movsfcc_1, movdfcc_1): Add %O2. | |
20771 | * config/i386/i386.c (print_operand): Handle %ON. | |
20772 | Print . before float condition codes in Sun as cmov syntax. | |
20773 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
20774 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
20775 | no longer true. | |
20776 | ||
f4864588 PB |
20777 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
20778 | ||
20779 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
20780 | return instruction if PC was popped. | |
20781 | ||
3a307de4 BW |
20782 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
20783 | ||
20784 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
20785 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
20786 | ||
048b1c95 | 20787 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
ed7d44bc DJ |
20788 | |
20789 | PR optimization/5999, middle-end/5731 | |
20790 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
20791 | multiplications by reciprocals. | |
20792 | ||
7afff7cf NB |
20793 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
20794 | ||
20795 | * Makefile.in: Update. | |
20796 | * c-common.c: Include langhooks.h. | |
20797 | (inline_forbidden_p): Use new hook. | |
20798 | * diagnostic.c: Include langhooks.h. | |
20799 | (format_with_decl, announce_function, | |
20800 | default_print_error_function): Use new hook. | |
20801 | * dwarf2out.c (dwarf2_name): Use new hook. | |
20802 | * function.c: Include langhooks.h. | |
20803 | (init_function_start): Use new hook. | |
20804 | * langhooks-def.h (lhd_decl_printable_name): New. | |
20805 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
20806 | (LANGHOOKS_INITIALIZER): Update. | |
20807 | * langhooks.c (lhd_decl_printable_name): New. | |
20808 | * langhooks.h (struct lang_hooks): New hook. | |
20809 | * toplev.c (decl_name, decl_printable_name): Remove. | |
20810 | (open_dump_file): Use new hook. | |
20811 | (process_options): Remove old hook. | |
20812 | * tree.h (decl_printable_name): Remove. | |
20813 | objc: | |
20814 | * objc-act.c (objc_init): Remove old hook. | |
20815 | (objc_printable_name): Export. | |
20816 | * objc-act.h (objc_printable_name): New. | |
20817 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
20818 | ||
f78ce0b7 JB |
20819 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
20820 | ||
20821 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
20822 | the start_source_file debug hook, not the current line number. | |
20823 | ||
15b5aef3 RH |
20824 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20825 | ||
20826 | * flow.c (EH_USES): Provide default. | |
20827 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
20828 | * doc/tm.texi (EH_USES): New. | |
20829 | ||
20830 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
20831 | * config/ia64/ia64-protos.h: Update. | |
20832 | * config/ia64/ia64.h (EH_USES): New. | |
20833 | ||
02a7a3fd RH |
20834 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20835 | ||
20836 | * varasm.c (output_constant_def): Fix stupid typo. | |
20837 | ||
93f82d60 RH |
20838 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20839 | ||
2842be05 | 20840 | PR 5879 |
93f82d60 RH |
20841 | * except.c (current_function_has_exception_handlers): New. |
20842 | * except.h: Declare it. | |
20843 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
20844 | Combine tests that disable all sibcalls for the function. | |
20845 | ||
ed4fbfa0 OH |
20846 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
20847 | ||
20848 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
20849 | for INTEGER_CST. | |
20850 | ||
ebf0e888 RH |
20851 | 2002-03-19 Richard Henderson <rth@redhat.com> |
20852 | ||
1e82682b | 20853 | PR 5977, 5991 |
ebf0e888 RH |
20854 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
20855 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
20856 | ||
e37b38d7 JB |
20857 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
20858 | ||
20859 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
20860 | name, even if the replacement list contains no tokens, as required | |
20861 | by Dwarf. | |
20862 | ||
2a4ea326 JM |
20863 | 2002-03-19 Jason Merrill <jason@redhat.com> |
20864 | ||
f9d09ae5 JM |
20865 | * varasm.c (globalize_decl): Get the name from the RTL, not |
20866 | DECL_ASSEMBLER_NAME. | |
20867 | ||
2a4ea326 JM |
20868 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
20869 | ||
99b96edb BW |
20870 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
20871 | ||
20872 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
20873 | subdi_carry): Define. | |
20874 | ||
3774b567 DE |
20875 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
20876 | ||
20877 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
20878 | about -fpic/-fPIC if extra_warnings set. | |
20879 | ||
21ef78aa DE |
20880 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
20881 | ||
20882 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
20883 | TREE_STRING_POINTER. | |
0c2fdcdf | 20884 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
21ef78aa | 20885 | |
91d4b3fd RK |
20886 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
20887 | ||
20888 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
20889 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
20890 | ||
2496c7bd LB |
20891 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
20892 | ||
20893 | * emit-rtl.c (gen_int_mode): New function. | |
20894 | * rtl.h: Prototype for it. | |
20895 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
20896 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
20897 | (convert_modes, store_field), optabs.c (expand_fix), | |
20898 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
20899 | ||
20900 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
20901 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
20902 | ||
f735a153 JJ |
20903 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
20904 | ||
20905 | PR c/5656 | |
20906 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
20907 | convert_parm_for_inlining. | |
20908 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
20909 | Define. | |
20910 | * langhooks-def.h: Likewise. | |
20911 | * objc/objc-lang.c: Likewise. | |
20912 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
20913 | function. | |
20914 | * tree-inline.c (initialize_inlined_parameters): | |
20915 | Call convert_parm_for_inlining lang hook if needed. | |
20916 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
20917 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
20918 | ||
1929c971 MM |
20919 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
20920 | ||
b216cd4a | 20921 | * calls.c (precompute_arguments): Do not assume that temporaries |
1929c971 MM |
20922 | can be destroyed after expanding the argument. |
20923 | (expand_call): Likewise. | |
20924 | ||
c79ca0ac EC |
20925 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
20926 | ||
20927 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
20928 | Fix register preference on last change. | |
20929 | * config/mips/mips.c (mips_return_in_memory): New function. | |
20930 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
20931 | * config/mips/mips-protos.h: Declare. | |
20932 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
20933 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
20934 | ||
07e2e444 AO |
20935 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
20936 | ||
1bfbbbcf AO |
20937 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
20938 | a register too. | |
20939 | (anddi3, iorsi3): Likewise. | |
20940 | ||
c066429e AO |
20941 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
20942 | use %gprel for symbols that are going to be placed in linkonce | |
20943 | sections. | |
20944 | ||
07e2e444 AO |
20945 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
20946 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
20947 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
20948 | not needed. Disregard leaf_function_p(). | |
20949 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
20950 | mips16 frame pointer. | |
20951 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
20952 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
20953 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
20954 | return a REG rtx for the return address register. | |
20955 | ||
eb8e00ea BW |
20956 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
20957 | ||
20958 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
20959 | constant-pool addresses as "mode-dependent". | |
20960 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
20961 | ||
cbb92744 JJ |
20962 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
20963 | ||
20964 | PR target/5740 | |
20965 | * expr.c (emit_group_load): Use extract_bit_field if | |
20966 | needed for CONCAT arguments. | |
20967 | ||
657d9449 RE |
20968 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
20969 | ||
91f3a802 | 20970 | PR target/4863 |
657d9449 RE |
20971 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
20972 | offset to the base of the table. | |
20973 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
20974 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
20975 | as the difference of two labels. | |
20976 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
20977 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
20978 | tables in the code. | |
20979 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
20980 | * arm.c (get_jump_table_size): If the table is not in the text | |
20981 | section, return zero. | |
c79ca0ac | 20982 | |
5d5603e2 BS |
20983 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
20984 | ||
20985 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
20986 | of gen_rtx_SUBREG. | |
20987 | (arm_reload_out_hi): Use gen_lowpart instead of | |
20988 | gen_rtx_SUBREG to access QImode components. | |
20989 | * config/arm/arm.md: Disable zero_extend split for QImode | |
20990 | subregs in BIG_ENDIAN mode. | |
20991 | (storehi_bigend): Match use of least significant byte. | |
20992 | (storeinthi): Remove extraneous SUBREG. | |
66c17b64 | 20993 | Add missing construction of operands[2]. |
5d5603e2 BS |
20994 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
20995 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
20996 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
20997 | ||
df15fbc7 AH |
20998 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
20999 | ||
2496c7bd LB |
21000 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
21001 | any_operand. | |
df15fbc7 | 21002 | |
b83b7fa3 RH |
21003 | 2002-03-17 Richard Henderson <rth@redhat.com> |
21004 | ||
21005 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
21006 | explicitly. | |
21007 | ||
6f7c00fe HPN |
21008 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
21009 | ||
21010 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
21011 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
21012 | ||
155038f2 KG |
21013 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21014 | ||
720d42fa KG |
21015 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
21016 | ||
155038f2 KG |
21017 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
21018 | ||
e6542f4e RH |
21019 | 2002-03-17 Richard Henderson <rth@redhat.com> |
21020 | ||
21021 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
21022 | targetm definition. Make static. | |
21023 | ||
52dabb6c NB |
21024 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
21025 | ||
21026 | * c-common.h (yyparse, c_common_parse_file): New. | |
21027 | * c-lang.c: Include c-common.h. | |
21028 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
21029 | * c-lex.c: Include c-common.h. | |
21030 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
21031 | * c-parse.in (yyparse): Remove macro. | |
21032 | * c-tree.h (yyparse_1): Remove. | |
21033 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
21034 | (LANG_HOOKS_INITIALIZER): Update. | |
21035 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
21036 | * toplev.c (compile_file): Use parse_file hook. | |
21037 | * tree.h (yyparse): Remove. | |
e6542f4e | 21038 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
52dabb6c | 21039 | |
b5ffe606 HPN |
21040 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
21041 | ||
ba82f58b HPN |
21042 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
21043 | float_truncate, not fix. | |
21044 | ("*truncdfsf2_real"): Ditto. | |
21045 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
21046 | ||
b5ffe606 HPN |
21047 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
21048 | ||
c8d1b2b7 AO |
21049 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
21050 | ||
cfb773f9 AO |
21051 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
21052 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
21053 | where appropriate. Make the second reference to | |
21054 | leaf_function_p a function call, as intended. Reindented. | |
21055 | ||
4dffef52 AO |
21056 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
21057 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
21058 | ||
4f5bd6d7 AO |
21059 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
21060 | add register to non-constant into sp. | |
21061 | ||
c8d1b2b7 AO |
21062 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
21063 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
21064 | (mips16_gp_pseudo_rtx): Lose. | |
21065 | (INIT_EXPANDERS): Deleted. | |
21066 | * config/mips/mips.c (mips_init_machine_status): New. | |
21067 | (mips_free_machine_status): New. | |
21068 | (mips_mark_machine_status): New. | |
21069 | (override_options): Set them. | |
21070 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
21071 | (struct machine_function): ... new. Replaced all references. | |
21072 | (mips_add_gc_roots): Don't mark them. | |
21073 | (embedded_pic_fnaddr_reg): New, extracted from... | |
21074 | (embedded_pic_offset): ... here. | |
21075 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
21076 | (movsi): Likewise. | |
21077 | ||
b3124fac NB |
21078 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
21079 | ||
21080 | * cppinit.c: Revert -MD removal. | |
21081 | ||
121449b6 SC |
21082 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21083 | ||
21084 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
21085 | soft registers by default for 68HC12. | |
21086 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
21087 | when compiling with -fomit-frame-pointer. | |
21088 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
21089 | (expand_epilogue): Likewise. | |
21090 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
21091 | ||
840e2ff1 SC |
21092 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21093 | ||
21094 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
21095 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
21096 | (splits): Remove unused add splits. | |
21097 | ("*addhi3_68hc12"): Tune constraints. | |
21098 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
21099 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
21100 | ("*addhi3"): Remove extern declaration of ix_reg. | |
21101 | ("*subsi3"): Optimize and provide new split. | |
21102 | ("subhi3"): Cleanup. | |
21103 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
21104 | (arith splits): For 68hc12 save the address register on the stack | |
21105 | and do the arithmetic operation with a pop. | |
21106 | ||
3c9a5efe SC |
21107 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21108 | ||
21109 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
21110 | allocating QImode in address registers. | |
21111 | ("*movqi_m68hc11"): Likewise. | |
21112 | ||
e41f3392 JH |
21113 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
21114 | ||
21115 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
21116 | ||
576786b0 NB |
21117 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
21118 | ||
21119 | * cppinit.c (print_help): Display -MD and -MMD. | |
21120 | Don't display usage string. Update assertion syntax and | |
21121 | typo. | |
21122 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
21123 | (cpp_handle_option): Update. | |
21124 | ||
1ac458d4 CD |
21125 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
21126 | ||
21127 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
21128 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
21129 | and define it so that regardless of target CPU size, | |
21130 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
21131 | of "int" rather than "long." | |
21132 | ||
1fcd592b RH |
21133 | 2002-03-15 Richard Henderson <rth@redhat.com> |
21134 | ||
21135 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
21136 | size as a tree. | |
21137 | ||
a0df6910 SC |
21138 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21139 | ||
21140 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
21141 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
21142 | (splits): Remove constraints. | |
21143 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
21144 | ("cmpdf", "cmpsf"): Remove since not used. | |
21145 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
21146 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
21147 | ||
015a2e59 SC |
21148 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21149 | ||
21150 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
21151 | ("neghi2"): Tighten constraints. | |
21152 | ("one_cmplsi2"): Optimize and simplify split. | |
21153 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
21154 | ||
cd28557c SC |
21155 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21156 | ||
21157 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
21158 | and split of AND operation to clear the upper bits. | |
21159 | ("*logicalsi3_zextqi"): Likewise. | |
21160 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
21161 | ("*logicalsi3_silshr16"): Likewise. | |
21162 | ("logicalsi3_silshl16"): Likewise. | |
21163 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
21164 | ||
932657df SC |
21165 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21166 | ||
21167 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
21168 | (m68hc11_indirect_p): New function. | |
21169 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
21170 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
21171 | TARGET_M6812. | |
21172 | (asm_print_register): Likewise. | |
21173 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
21174 | (m68hc11_indirect_p): Declare. | |
21175 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
21176 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
21177 | (TARGET_SWITCHES): New option -mrelax. | |
21178 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
21179 | destination. | |
21180 | ("iorsi3", "xorsi3"): Likewise. | |
21181 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
21182 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
21183 | and a scratch register. | |
21184 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
21185 | ("*andhi3_const"): New when operand2 is constant. | |
21186 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
21187 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
21188 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
21189 | ("xorqi3"): Update constraints. | |
21190 | ||
fdffea1a SC |
21191 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21192 | ||
21193 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
21194 | for reg_equiv_memory_loc when the operand is a register that does | |
21195 | not get a hard register (stack location). | |
21196 | (tst_operand): After reload, accept all memory operand. | |
21197 | (symbolic_memory_operand): Fix detection of symbolic references. | |
21198 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
21199 | accept symbols and any constant. | |
21200 | ||
6272bc68 SC |
21201 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21202 | ||
21203 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
21204 | note on the insn that sets the soft frame register. | |
21205 | (must_parenthesize): ix and iy are also reserved names. | |
21206 | (print_operand_address): One more place where parenthesis are required | |
21207 | to avoid confusion with register names. | |
21208 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
21209 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
21210 | clobber. | |
21211 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
21212 | the replacement register is. | |
21213 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
21214 | and D8_REGS classes. | |
21215 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
21216 | ||
1d2d9def SC |
21217 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21218 | ||
21219 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
21220 | (___subdi3): Likewise. | |
21221 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
21222 | (__map_data_section): Optimize 68hc11 case. | |
21223 | ||
a0ccf503 SC |
21224 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
21225 | ||
21226 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
21227 | than a shift to avoid adding a register with itself. | |
21228 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
21229 | (m68hc11_register_move_cost): Update and use memory move cost | |
21230 | for soft registers. | |
21231 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
21232 | it gives more opportunities to cse to optimize. | |
21233 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
21234 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
21235 | ||
6e4ae815 MM |
21236 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
21237 | ||
21238 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
21239 | * c-common.def (CLEANUP_STMT): New tree node. | |
21240 | * c-common.h (CLEANUP_DECL): New macro. | |
21241 | (CLEANUP_EXPR): Likewise. | |
21242 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
21243 | * expr.c (expand_expr): Tidy. | |
21244 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
21245 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
21246 | new local variables. | |
21247 | ||
a42519be JJ |
21248 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
21249 | ||
21250 | PR bootstrap/4128 | |
21251 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
21252 | before movrXX only, use reg_overlap_mentioned_p. | |
21253 | Only special case NE if just one insn can be generated. | |
21254 | ||
15409448 JM |
21255 | 2002-03-15 Jason Merrill <jason@redhat.com> |
21256 | ||
21257 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
21258 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
21259 | of error_mark_node. | |
21260 | ||
3a4edb44 RE |
21261 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
21262 | ||
21263 | PR target/5170 | |
21264 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
21265 | explaining non-obvious test. | |
21266 | ||
32defa36 RE |
21267 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
21268 | ||
21269 | PR target/5712 | |
21270 | * arm.md (movaddr, movaddr_insn): Delete. | |
21271 | ||
5cc90635 JM |
21272 | 2002-03-15 Jason Merrill <jason@redhat.com> |
21273 | ||
21274 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
21275 | -fkeep-static-consts doesn't apply to comdats. | |
21276 | ||
ecb0eece RH |
21277 | 2002-03-14 Richard Henderson <rth@redhat.com> |
21278 | ||
21279 | * c-decl.c: Include c-pragma.h. | |
21280 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
21281 | (finish_function): Tidy. | |
21282 | * c-pragma.c: Include c-common.h. | |
21283 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
21284 | (handle_pragma_weak): Use them. | |
21285 | (init_pragma): Register pending_weaks. | |
21286 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
21287 | * print-tree.c (print_node): Print DECL_WEAK. | |
21288 | * varasm.c (mark_weak_decls): Remove. | |
21289 | (remove_from_pending_weak_list): Remove. | |
21290 | (add_weak): Remove. | |
21291 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
21292 | (weak_decls): Make a tree_list. | |
21293 | (declare_weak): Cons weak_decls directly. | |
21294 | (globalize_decl): Remove weak_decls elements directly. | |
21295 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
21296 | symbols. Don't pretend to handle aliases. | |
21297 | (init_varasm_once): Update weak_decls registry. | |
21298 | * Makefile.in: Update dependencies. | |
21299 | ||
98d2b17e RH |
21300 | 2002-03-14 Richard Henderson <rth@redhat.com> |
21301 | ||
21302 | PR target/5312 | |
21303 | * config/ia64/ia64.c: Include tm_p.h last. | |
21304 | (gen_nop_type): Remove duplicate definition. | |
21305 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
21306 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
21307 | (nop_cycles_until): Fix typos. | |
21308 | ||
f2f4927e JJ |
21309 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
21310 | ||
21311 | PR optimization/5891 | |
21312 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
21313 | ||
5025a549 DM |
21314 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
21315 | ||
21316 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
21317 | descriptors correctly. | |
21318 | ||
03e9dbc9 MM |
21319 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
21320 | ||
21321 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
21322 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
21323 | ||
21324 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
21325 | --param. | |
21326 | ||
21327 | * unroll.c (params.h): Include. | |
21328 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
21329 | ||
21330 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
21331 | ||
21332 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
21333 | ||
12249385 RE |
21334 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
21335 | ||
21336 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
21337 | ||
f0cce04a ZW |
21338 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
21339 | ||
21340 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
21341 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
21342 | (linemarker_dir): New data object. | |
21343 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
21344 | preprocessed source. Delete obsolete comment about return | |
21345 | values of handlers. | |
21346 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
21347 | Don't muck with line_extension. | |
21348 | (directive_diagnostics): No need to issue warnings for | |
21349 | linemarkers here. | |
21350 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
21351 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
21352 | do_line. | |
21353 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
21354 | Convert escape sequences in filename argument, both places. | |
21355 | ||
21356 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
21357 | export. All callers changed. | |
21358 | * cpplib.h (cpp_quote_string): Prototype. | |
21359 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
21360 | before printing it. | |
21361 | ||
21362 | * doc/cpp.texi: Document that escapes are now interpreted in | |
21363 | #line and in linemarkers, and that non-printing characters are | |
21364 | converted to octal escapes when linemarkers are generated. | |
21365 | ||
21366 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
83a49407 JH |
21367 | |
21368 | * emit-rtl.c (try_split): Use delete_insns. | |
21369 | * recog.c (split_all_insns): Fix terminating condition. | |
21370 | ||
c882c7ac RE |
21371 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
21372 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
21373 | ||
21374 | PR target/5828 | |
21375 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
21376 | adjustment when using a frame pointer. | |
21377 | ||
3f26edaa RS |
21378 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
21379 | ||
21380 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
21381 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
21382 | (save_restore_insns, mips_expand_epilogue): And here. | |
21383 | (build_mips16_call_stub): And here. | |
21384 | (mips_function_value): Use the new macros to decide whether a single | |
21385 | or complex float can be returned in floating-point registers. Return | |
21386 | a parallel rtx in the complex case. | |
21387 | ||
1e3881c2 JH |
21388 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
21389 | ||
21390 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
21391 | call after liveness analysis. | |
21392 | ||
21393 | * recog.c (split_insn): Use delete_insn_and_edges. | |
21394 | ||
21395 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
21396 | instructions to have branch prediction notes. | |
21397 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
21398 | ||
200ef634 GK |
21399 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
21400 | ||
21401 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
21402 | that doesn't support it. | |
21403 | * configure: Regenerate. | |
21404 | ||
0b82d204 JJ |
21405 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
21406 | ||
21407 | PR target/5626 | |
21408 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
21409 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
21410 | inverted_fp_branch): Adjust calls to output_cbranch. | |
21411 | Set length attribute. | |
21412 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
21413 | output_v9branch. Set length attribute. | |
21414 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
21415 | predicates. | |
21416 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
21417 | (output_cbranch): Likewise. Handle far branches. | |
21418 | (output_v9branch): Handle far branches. | |
21419 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
21420 | Adjust prototypes. | |
21421 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
21422 | noov_compare64_op predicates. | |
21423 | ||
7a8de19b JM |
21424 | 2002-03-13 Jason Merrill <jason@redhat.com> |
21425 | ||
21426 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
21427 | into the function and constify it. | |
21428 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
21429 | ||
2a55fd42 DE |
21430 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
21431 | ||
21432 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
21433 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
21434 | std_expand_builtin_va_arg if not ABI_V4. | |
21435 | ||
19c5b1cf JM |
21436 | 2002-03-13 Jason Merrill <jason@redhat.com> |
21437 | ||
21438 | * varasm.c (globalize_decl): New fn. | |
21439 | (assemble_start_function): Use it. | |
21440 | (asm_emit_uninitialized): Use it. | |
21441 | (assemble_alias): Use it. | |
21442 | (assemble_variable): Use it. | |
21443 | ||
2a15f5e1 HPN |
21444 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
21445 | ||
21446 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
f0cce04a | 21447 | 2002-03-12 internal visibility change. |
2a15f5e1 HPN |
21448 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
21449 | visibility into SYMBOL_REF_FLAG. | |
21450 | ||
c0a3eeac UW |
21451 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
21452 | ||
21453 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
21454 | VOIDmode operand. Add compile-time optimization for constant results. | |
21455 | ||
a1652cee JM |
21456 | 2002-03-12 Jason Merrill <jason@redhat.com> |
21457 | ||
21458 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
21459 | between pointers and references. Only allow lvalues to convert to | |
21460 | reference. | |
21461 | ||
c52a375d HP |
21462 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
21463 | ||
f0cce04a ZW |
21464 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
21465 | before prologue, to avoid scheduling problems. | |
c52a375d | 21466 | |
e387e99b JJ |
21467 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
21468 | ||
21469 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
21470 | (ELIMINABLE_REGS): Add sfp->sp. | |
21471 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
21472 | ||
21473 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
09948ece JJ |
21474 | |
21475 | PR optimization/5892 | |
21476 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
21477 | ||
4061c1a3 JJ |
21478 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
21479 | ||
21480 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
21481 | classes are different. | |
21482 | ||
5b43fed1 RH |
21483 | 2002-03-12 Richard Henderson <rth@redhat.com> |
21484 | ||
9f53e965 RH |
21485 | PR optimization/5901 |
21486 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
21487 | the markers after/before the last/first insn not deleted. | |
21488 | ||
21489 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
21490 | ||
21491 | PR optimization/5878 | |
5b43fed1 RH |
21492 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
21493 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
21494 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
21495 | ||
21496 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
21497 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
21498 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
21499 | ||
21500 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
21501 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
21502 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
21503 | also. Don't set it if not flag_pic. | |
21504 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
21505 | to be INVALID_REGNUM when not used. | |
21506 | ||
4e9bb42b AH |
21507 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
21508 | ||
5b43fed1 RH |
21509 | * expmed.c (store_bit_field): Reset alias set for memory. |
21510 | (extract_bit_field): Same. | |
4e9bb42b | 21511 | |
2f9834e8 KG |
21512 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21513 | ||
21514 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
21515 | c_tree_code_name, add_c_tree_codes): Delete. | |
21516 | * c-common.h (add_c_tree_codes): Delete. | |
21517 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
21518 | Define. | |
21519 | * c-objc-common.c (c_objc_common_init): Don't call | |
21520 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
21521 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
21522 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
21523 | (objc_init): Don't call add_objc_tree_codes. | |
21524 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
21525 | tree_code_name): Define. | |
21526 | * toplev.c (lang_independent_init): Don't set | |
21527 | tree_code_length[IDENTIFIER_NODE]. | |
21528 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
21529 | Delete definitions, moved to language front-ends. | |
21530 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
21531 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
21532 | Const-ify. | |
21533 | (tree_code_length): Change type to unsigned char. | |
21534 | ||
36ad2436 RH |
21535 | 2002-03-12 Richard Henderson <rth@redhat.com> |
21536 | ||
21537 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
21538 | internal visibility change. | |
21539 | ||
0ae02efa BW |
21540 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21541 | ||
21542 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
21543 | validize_mem() instead of change_address to avoid clobbering | |
21544 | memory attributes. | |
21545 | ||
35bb2bee NB |
21546 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
21547 | ||
21548 | * c-lex.h (position_after_whitespace): Remove. | |
21549 | ||
62ae2529 JJ |
21550 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
21551 | ||
21552 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
21553 | (lex_string): Use unsigned char pointers. | |
21554 | ||
6a45951f UW |
21555 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
21556 | ||
21557 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
21558 | is not a valid memory_operand. | |
21559 | ||
e2fb85da BW |
21560 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21561 | ||
21562 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
21563 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
21564 | special case for libgcc files. | |
21565 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
21566 | (__divsi3): Likewise. | |
21567 | (__umodsi3): Likewise. | |
21568 | (__modsi3): Likewise. | |
21569 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
21570 | special case for libgcc files. | |
21571 | ||
5b8619f8 TR |
21572 | 2002-03-12 Tom Rix <trix@redhat.com> |
21573 | ||
21574 | * collect2.c (resolve_lib_name): Move outside of | |
f0cce04a | 21575 | OBJECT_FORMAT_COFF ifdef. |
5b8619f8 TR |
21576 | (ignore_library): Same. |
21577 | ||
089c8f97 BW |
21578 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21579 | ||
21580 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
21581 | ||
958c70ff BW |
21582 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
21583 | ||
21584 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
21585 | to function_section before writing out the constant pool. | |
21586 | ||
a65c591c DE |
21587 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
21588 | ||
21589 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
21590 | zero_constant. | |
21591 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
21592 | ||
21593 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
21594 | ||
21595 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
21596 | (adddi3): Likewise. | |
21597 | (movdf): Likewise. | |
21598 | (movdi): Likewise. | |
21599 | (cmpsi splitter): Likewise. | |
21600 | (modsi3): Fail if <= 0. | |
21601 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
21602 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
21603 | (reg_or_sub_cint64_operand): Likewise. | |
21604 | (num_insns_constant_wide): Optimize sign extension. | |
21605 | (rs6000_legitimize_address): Likewise. | |
21606 | ||
17720332 AM |
21607 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
21608 | ||
21609 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
21610 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
21611 | ||
cd49f073 AM |
21612 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
21613 | ||
21614 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
21615 | address calculation. | |
21616 | ||
6a4e49c1 UW |
21617 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
21618 | ||
21619 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
21620 | scratch register to DImode / TImode. | |
21621 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
21622 | register used does not overlap the target. | |
21623 | ||
54b6670a KG |
21624 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21625 | ||
21626 | * Makefile.in (debug.o): Depend on debug.h. | |
21627 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
21628 | * debug.c (do_nothing_debug_hooks): Likewise. | |
21629 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
21630 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
21631 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
21632 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
21633 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
21634 | * integrate.c (output_inline_function): Likewise. | |
21635 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
21636 | * sdbout.c (sdb_debug_hooks): Likewise. | |
21637 | * toplev.c (debug_hooks): Likewise. | |
21638 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
21639 | ||
2465bf76 KG |
21640 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21641 | ||
21642 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
21643 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
21644 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
21645 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
21646 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
21647 | * defaults.h (POINTER_SIZE): Define. | |
21648 | * doc/tm.texi (POINTER_SIZE): Document default. | |
21649 | ||
53f3e9ca KG |
21650 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21651 | ||
21652 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
21653 | ||
44d3eb5b RH |
21654 | 2002-03-11 Richard Henderson <rth@redhat.com> |
21655 | ||
21656 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
21657 | if rebuild_label_notes_after_reload. | |
21658 | ||
4a085d2e HPN |
21659 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
21660 | ||
21661 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
21662 | emit pic register load if "internal" visibility. | |
21663 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
21664 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
21665 | ||
bc204393 RH |
21666 | 2002-03-11 Richard Henderson <rth@redhat.com> |
21667 | ||
21668 | * rtlanal.c: Include recog.h. | |
21669 | (keep_with_call_p): Fix thinko. | |
21670 | * Makefile.in (rtlanal.o): Update dependencies. | |
21671 | ||
6b8b9d7b CM |
21672 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
21673 | ||
21674 | * genflags.c (gen_insn): Use IS_VSPACE. | |
21675 | * genoutput.c (output_insn_data): Likewise. | |
21676 | (process_template): Likewise. | |
21677 | ||
6c40858f RH |
21678 | 2002-03-11 Richard Henderson <rth@redhat.com> |
21679 | ||
21680 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
21681 | ||
40adaa27 NB |
21682 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
21683 | ||
21684 | * Makefile.in: Update. | |
6c40858f | 21685 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
40adaa27 | 21686 | Update documentation. |
6c40858f RH |
21687 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
21688 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
40adaa27 | 21689 | |
049b03f4 ZW |
21690 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
21691 | ||
21692 | * Makefile.in: Give texi2pod its input file as a command line | |
21693 | argument, not on stdin. | |
21694 | ||
61eece67 DN |
21695 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
21696 | Daniel Berlin <dan@dberlin.org> | |
21697 | ||
21698 | C++ alias analysis improvement. | |
f0cce04a | 21699 | * alias.c (record_component_aliases): Record aliases for base |
61eece67 DN |
21700 | classes too. |
21701 | ||
a65c591c DE |
21702 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
21703 | ||
ff080aba UW |
21704 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
21705 | ||
1682dbb1 DR |
21706 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
21707 | ||
fa2d765a DR |
21708 | * toplev.c (vms_fopen): Remove, not needed. |
21709 | ||
6f1fd286 DR |
21710 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
21711 | ||
b230e057 DR |
21712 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
21713 | ||
cb9a8e97 DR |
21714 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
21715 | for FP, already done later. | |
21716 | ||
1682dbb1 DR |
21717 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
21718 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
21719 | ||
3fcaac1d RS |
21720 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
21721 | ||
21722 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
21723 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
21724 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
21725 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
21726 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
21727 | (ediv, emul, eldexp, esqrt): Likewise. | |
21728 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
21729 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
21730 | (saturate): New function. | |
21731 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
21732 | (make_nan): Use a saturation value instead of a NaN if | |
21733 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
21734 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
21735 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
21736 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
21737 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
21738 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
21739 | !ROUND_TOWARDS_ZERO. | |
21740 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
21741 | (ROUND_TOWARDS_ZERO): Document. | |
21742 | ||
d25558be AJ |
21743 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
21744 | ||
21745 | * cfg.c (dump_flow_info): Remove unused variable. | |
21746 | ||
c71f9ae7 HPN |
21747 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
21748 | ||
21749 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
21750 | computations on trees. | |
21751 | ||
561c9153 RH |
21752 | 2002-03-10 Richard Henderson <rth@redhat.com> |
21753 | ||
932b4e3e | 21754 | PR 5693: |
561c9153 RH |
21755 | * reload.c (copy_replacements_1): New. |
21756 | (copy_replacements): Use it to recurse through the rtx. | |
21757 | ||
26b738be RH |
21758 | 2002-03-10 Richard Henderson <rth@redhat.com> |
21759 | ||
21760 | * loop.c (strength_reduce): Compute number of iterations as | |
21761 | unsigned HOST_WIDE_INT. | |
21762 | ||
8d8a083e RH |
21763 | 2002-03-10 Richard Henderson <rth@redhat.com> |
21764 | ||
21765 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
21766 | to move away from the end of the block. | |
21767 | ||
32810ba3 NB |
21768 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
21769 | ||
21770 | PR preprocessor/5899 | |
21771 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
d25558be | 21772 | |
2b03d201 KG |
21773 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21774 | ||
f90c544c KG |
21775 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
21776 | ||
2b03d201 KG |
21777 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
21778 | ||
3ec1b4cb HPN |
21779 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
21780 | ||
21781 | * config/mmix/mmix.c: Improve comments. | |
21782 | (mmix_target_asm_function_prologue): Drop variable | |
21783 | empty_stack_frame. Don't allocate unused slot above fp. | |
21784 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
21785 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
21786 | brace in first column. | |
21787 | (enum reg_class): Ditto. | |
21788 | (FIRST_PARM_OFFSET): Now 0. | |
21789 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
21790 | ||
27e486c5 KG |
21791 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21792 | ||
21793 | * combine.c (make_extraction): Fix error in last change. | |
21794 | ||
0139adca KG |
21795 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21796 | ||
21797 | * c4x.c (c4x_fp_reglist): Const-ify. | |
21798 | * cris.c (cris_print_operand): Likewise. | |
21799 | * i386.c (ix86_va_arg): Likewise. | |
21800 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
21801 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
21802 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
21803 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
21804 | * mcore.h (regno_reg_class): Likewise. | |
21805 | * mips.c (gen_int_relational): Likewise. | |
21806 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
21807 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
a4334c36 | 21808 | * pdp11.c (move_costs): Likewise. |
0139adca KG |
21809 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
21810 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
21811 | Likewise. | |
21812 | * s390.h (regclass_map): Likewise. | |
21813 | * sh.c (shift_amounts): Likewise. | |
a4334c36 | 21814 | * sh.md (rotlsi3): Likewise. |
0139adca | 21815 | |
889b90a1 GK |
21816 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
21817 | ||
21818 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
21819 | (ne0+5): Use new clobber to generate proper shift pattern. | |
21820 | Patch by Michael Matz <matz@kde.org>. | |
21821 | ||
2877e0ae AS |
21822 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
21823 | ||
21824 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
21825 | ||
79b51cd7 GK |
21826 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
21827 | ||
21828 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
21829 | ||
e0f1be5c JJ |
21830 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
21831 | ||
21832 | PR middle-end/5877 | |
21833 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
21834 | even for non-representable constants. | |
21835 | ||
0a7ec763 RK |
21836 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
21837 | ||
93fe8e92 RK |
21838 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
21839 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
21840 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
21841 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
21842 | (pop_function_context): Compute MAY_SHARE parameter for | |
21843 | fixup_var_refs. | |
21844 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
21845 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
21846 | ||
0a7ec763 RK |
21847 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
21848 | ||
a85cd407 AO |
21849 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
21850 | ||
9445b814 AO |
21851 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
21852 | in o32 and o64 ABIs. | |
21853 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
21854 | but getting fixed-size structs passed in registers regardless of | |
21855 | padding in o32 and o64 ABIs. | |
21856 | ||
a85cd407 AO |
21857 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
21858 | offset before loading address of argument passed by transparent | |
21859 | reference. | |
21860 | ||
c51fbe40 JDA |
21861 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
21862 | ||
21863 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
21864 | ||
918e70dd AO |
21865 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
21866 | ||
21867 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
21868 | marker such that registers after it are saved. | |
21869 | ||
3070dd00 KG |
21870 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21871 | ||
21872 | * sparc.c (arith_4096_operand): Fix error in last change. | |
21873 | ||
e25d11b0 AO |
21874 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
21875 | ||
21876 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
21877 | defaults for MEABI. | |
21878 | ||
41daaf0e AH |
21879 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
21880 | ||
5b43fed1 RH |
21881 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
21882 | vectors. | |
41daaf0e | 21883 | |
fa139b00 AH |
21884 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
21885 | ||
5b43fed1 | 21886 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
fa139b00 | 21887 | |
c51d95ec JH |
21888 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
21889 | ||
21890 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
21891 | removed; fix return value. | |
21892 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
21893 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
21894 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
21895 | ||
3b25fbfe KG |
21896 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
21897 | ||
21898 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
21899 | ||
189ae0f4 JH |
21900 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
21901 | ||
21902 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
21903 | ||
24965e7a NB |
21904 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
21905 | ||
21906 | * expr.c (expand_expr): Use unsave lang hook. | |
21907 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
21908 | (LANG_HOOKS_INITIALIZER): Update. | |
21909 | * langhooks.h (struct lang_hooks): New hook unsave. | |
21910 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
21911 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
21912 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
21913 | (unsave_expr_now): Remove. | |
21914 | * tree.h (unsave_expr_now, lang_unsave, | |
21915 | lang_unsave_expr_now): Remove. | |
21916 | (lhd_unsave): New. | |
21917 | ||
1e4e95d6 AJ |
21918 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
21919 | ||
21920 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
21921 | ||
054ef905 KH |
21922 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
21923 | ||
21924 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
21925 | insn length for memory load/store. | |
21926 | ||
5304400d | 21927 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1e4e95d6 | 21928 | |
5304400d CR |
21929 | * doc/install.texi (--with-libiconv-prefix): Document. |
21930 | ||
81034129 MB |
21931 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
21932 | ||
21933 | * doc/sourcebuild.texi: Fix typo. | |
21934 | ||
71db7d03 JJ |
21935 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
21936 | ||
21937 | PR c/3711 | |
21938 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
21939 | trees. | |
21940 | ||
127c1ba5 RK |
21941 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
21942 | ||
21943 | * rtl.c (copy_most_rtx): Move from here ... | |
21944 | * emit-rtl.c (copy_most_rtx): ... to here. | |
21945 | ||
8a13c092 AO |
21946 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
21947 | ||
5faae4f7 AO |
21948 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
21949 | SUBTARGET_CPP_SIZE_SPEC. | |
21950 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
21951 | ||
8a13c092 AO |
21952 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
21953 | ||
4ec59de2 MH |
21954 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
21955 | ||
21956 | * gensupport.c (first_dir_md_include): Renamed from include; | |
21957 | change all references. | |
21958 | (last_dir_md_include): Renamed from last_include; change all | |
21959 | references. | |
21960 | (init_md_reader): Unconditionally initialize base_dir whether or | |
21961 | not filename is a relative path. | |
21962 | ||
12f61e77 AO |
21963 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
21964 | ||
95356058 AO |
21965 | * config/fp-bit.c (_unord_f2): Compile it in even if |
21966 | US_SOFTWARE_GOFAST is enabled. | |
21967 | ||
12f61e77 AO |
21968 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
21969 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
21970 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
21971 | NULL_RTX, try reversing the comparison and the operands. | |
21972 | ||
6d7a1c4c UW |
21973 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
21974 | ||
21975 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
21976 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
21977 | and MATCH_OP_DUP. | |
21978 | ||
66d54344 JH |
21979 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
21980 | ||
21981 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
21982 | ||
068473ec JH |
21983 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
21984 | ||
21985 | * basic-block.h (fixup_abnormal_edges): Declare. | |
21986 | * reload1.c (fixup_abnormal_edges): New function. | |
21987 | * reg-stack.c (convert_regs): Use it. | |
21988 | ||
21989 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
21990 | ||
21991 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
21992 | ||
71925bc0 RS |
21993 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
21994 | ||
21995 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
21996 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
21997 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
21998 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
21999 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
22000 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
22001 | unless x and y could be infinite. | |
22002 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
22003 | Check that the common type of both arguments is a real, even for | |
22004 | targets without unordered comparisons. Allow an integer argument | |
22005 | to be compared against a real. | |
22006 | (expand_tree_builtin): Use expand_unordered_cmp. | |
22007 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
22008 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
22009 | * fold-const.c (fold_real_zero_addition_p): New. | |
22010 | (fold): Use it, and the new HONOR_... macros. | |
22011 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
22012 | * jump.c (reversed_comparison_code_parts): After searching for | |
22013 | the true comparison mode, use HONOR_NANS to decide whether it | |
22014 | can be safely reversed. | |
22015 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
22016 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
22017 | to decide which simplifications are valid. Allow the following | |
22018 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
22019 | and (a - -b) to (a + b). | |
22020 | (simplify_relational_operation): Use HONOR_NANS. | |
22021 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
22022 | ||
145d3bf2 RE |
22023 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
22024 | ||
22025 | * combine.c (simplify_comparison): If simplifying a logical shift | |
22026 | right and compare with constant, force the comparison to unsigned. | |
22027 | ||
76a773f3 AH |
22028 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
22029 | ||
5b43fed1 | 22030 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
76a773f3 | 22031 | |
5b43fed1 RH |
22032 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
22033 | -mabi=no-altivec | |
22034 | (alt_reg_names): Remove % for vrsave. | |
76a773f3 | 22035 | |
ab55f58c RH |
22036 | 2002-03-06 Richard Henderson <rth@redhat.com> |
22037 | ||
5ddec02e | 22038 | PR optimization/5844 |
ab55f58c RH |
22039 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
22040 | if used indicates we've already emitted one copy of an operand. | |
22041 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
22042 | (gen_split): Supply a non-null used. | |
22043 | ||
e16e3291 UW |
22044 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
22045 | ||
5b43fed1 | 22046 | * reload1.c (reload): Unshare all rtl after reload is done. |
e16e3291 | 22047 | |
1e4e95d6 | 22048 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
e16e3291 UW |
22049 | but simply fail if the expression is too complex to simplify. |
22050 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
22051 | ||
2ca6672b JH |
22052 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
22053 | ||
22054 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
22055 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
22056 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
22057 | after liveness2; update comment in last crossjumping. | |
22058 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
22059 | ||
31d0dd4f JL |
22060 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
22061 | ||
d094b0b3 JL |
22062 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
22063 | after completing fast dead code elimination. | |
22064 | ||
31d0dd4f JL |
22065 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
22066 | COMPARE operator. | |
1e4e95d6 | 22067 | |
f2b958b1 PE |
22068 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
22069 | ||
22070 | * version.c: Fix misplaced leading blanks on first line. | |
22071 | ||
a2877a09 JH |
22072 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
22073 | ||
22074 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
22075 | ||
fe477d8b JH |
22076 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
22077 | ||
22078 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
22079 | (thread_jump): Use it. | |
22080 | * toplev.c (rest_of_compilation): Run jump threading after | |
22081 | liveness. | |
22082 | ||
2041cde4 JJ |
22083 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
22084 | ||
22085 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
22086 | patch. | |
22087 | ||
82d68d46 JH |
22088 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
22089 | ||
22090 | * predict.c (estimate_bb_frequencies): Do not reload the | |
22091 | frequencies from notes. | |
22092 | ||
3dec4024 JH |
22093 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
22094 | ||
22095 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
22096 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
22097 | ||
22098 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
22099 | delete_noop_moves): Return indeger. | |
22100 | * flow.c (ndead): New variable. | |
22101 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
22102 | BB argument; update callers. | |
22103 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
22104 | (life_analysis): Do not call purge_all_dead_edges. | |
22105 | (update_life_info): Return number of deleted insns; print statistics. | |
22106 | (update_life_info_in_dirty_blocks): likewise. | |
22107 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
22108 | return number of insns deleted. | |
22109 | ||
22110 | * cse.c: Include timevar.h | |
22111 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
22112 | iterate until stabilizes; print statistics; return number of killed | |
22113 | insns. | |
22114 | * Makefile.in: (cse.o): Add timevar.h dependency | |
22115 | * rtl.h (delete_trivially_dead_insns): New. | |
22116 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
22117 | * toplev.c (rest_of_compilation): Update callers. | |
22118 | ||
22119 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
22120 | (try_optimize_cfg): Do not update liveness. | |
22121 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
22122 | removal stabilizes; use delete_trivially_dead_insns. | |
22123 | ||
22124 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
22125 | ||
c7544dd8 ZW |
22126 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
22127 | ||
22128 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
22129 | callbacks when processing assembly language. | |
22130 | ||
50b424a9 JDA |
22131 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
22132 | ||
22133 | * pa.h (ASM_FILE_END): Define. | |
22134 | * som.h (ASM_FILE_END): Delete. | |
22135 | ||
22136 | * pa.c (function_arg): Don't pass floats in general registers in | |
22137 | indirect calls if TARGET_ELF32. | |
22138 | ||
6185f217 RH |
22139 | 2002-03-05 Richard Henderson <rth@redhat.com> |
22140 | ||
22141 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
22142 | ||
3020a4b2 DS |
22143 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
22144 | ||
22145 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
22146 | ||
65649daa JJ |
22147 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
22148 | ||
22149 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
22150 | -r command line. Don't hide any symbols if not building | |
22151 | shared libgcc. | |
22152 | ||
5a1a3e5e JH |
22153 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
22154 | ||
22155 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
22156 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
22157 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
22158 | ||
170c56da JJ |
22159 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
22160 | ||
22161 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
22162 | wide volatile memory by parts. | |
22163 | ||
6d051694 JJ |
22164 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
22165 | ||
22166 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
22167 | is NULL. | |
22168 | ||
28bcfd4d RH |
22169 | 2002-03-05 Richard Henderson <rth@redhat.com> |
22170 | ||
5b43fed1 | 22171 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
28bcfd4d | 22172 | |
75227a33 GK |
22173 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
22174 | ||
22175 | * toplev.c (documented_lang_options): Document more | |
22176 | language-specific options. | |
22177 | * doc/invoke.texi (Warning Options): Correct documentation for | |
22178 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
22179 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
22180 | ||
4f1aac42 HPN |
22181 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
22182 | ||
22183 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
22184 | parameter to mmix_encode_section_info. | |
22185 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
22186 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
22187 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
22188 | first is non-zero, don't add symbol prefix. | |
22189 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
22190 | prototype accordingly. | |
22191 | ||
12345543 KW |
22192 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
22193 | ||
22194 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
22195 | ||
8e97db8f JM |
22196 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
22197 | ||
22198 | * configure.in: Increase required makeinfo version to 4.1. | |
22199 | * configure: Regenerate. | |
22200 | ||
06487868 GK |
22201 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
22202 | ||
22203 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
22204 | elsewhere now. | |
22205 | ||
cff42170 JM |
22206 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
22207 | ||
22208 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
22209 | * doc/invoke.texi: Fix @math uses. | |
22210 | ||
974a7f56 JH |
22211 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
22212 | ||
22213 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
22214 | removal | |
22215 | ||
3b7d0e98 AH |
22216 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
22217 | ||
5b43fed1 RH |
22218 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
22219 | (powerpc-*-eabisimaltivec*): Same. | |
3b7d0e98 | 22220 | |
5b43fed1 | 22221 | * config/rs6000/t-ppcendian: New. |
3b7d0e98 | 22222 | |
65f2f288 HB |
22223 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
22224 | ||
22225 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
22226 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
22227 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
22228 | ||
8ce0a8a5 RH |
22229 | 2002-03-03 Richard Henderson <rth@redhat.com> |
22230 | ||
22231 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
22232 | ||
ba31d94e ZW |
22233 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
22234 | ||
22235 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
22236 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
22237 | tree.c, config/m68k/m68k.c: | |
22238 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
22239 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
22240 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
22241 | * flags.h, toplev.c: Delete remaining references to | |
22242 | flag_pretend_float. | |
22243 | ||
22244 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
22245 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
22246 | real.h, not by the target configuration files. | |
22247 | ||
22248 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
22249 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
22250 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
22251 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
22252 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
22253 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
22254 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
22255 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
22256 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
22257 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
22258 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
22259 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
22260 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
22261 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
22262 | config/xtensa/xtensa.h: | |
22263 | Do not define, undefine, or mention in comments any of | |
22264 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
22265 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
22266 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
22267 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
22268 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
22269 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
22270 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
22271 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
22272 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
22273 | ||
9a571cfd KG |
22274 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22275 | ||
e81dd381 KG |
22276 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
22277 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
22278 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
22279 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
22280 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
22281 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
22282 | Delete. | |
22283 | * defaults.h (BITS_PER_WORD): Define. | |
ba31d94e | 22284 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
e81dd381 | 22285 | |
9a571cfd KG |
22286 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
22287 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
22288 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
22289 | ||
ca7558fc KG |
22290 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22291 | ||
22292 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
22293 | lieu of explicit sizeof/sizeof. | |
22294 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
22295 | ix86_expand_builtin): Likewise. | |
22296 | * mips.c (mips_add_gc_roots): Likewise. | |
22297 | * mmix.c (mmix_output_condition): Likewise. | |
22298 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
22299 | altivec_init_builtins): Likewise. | |
22300 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
22301 | * cppexp.c (Nsuff, parse_number): Likewise. | |
22302 | * cppinit.c (builtin_array_end): Likewise. | |
22303 | * gcc.c (n_default_compilers, process_command): Likewise. | |
22304 | * genpreds.c (output_predicate_decls): Likewise. | |
22305 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
22306 | * lcm.c (N_ENTITIES): Likewise. | |
22307 | * stor-layout.c (set_sizetype): Likewise. | |
ba31d94e | 22308 | |
41c78c88 RH |
22309 | 2002-03-03 Richard Henderson <rth@redhat.com> |
22310 | ||
22311 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
22312 | for types or labels. | |
22313 | ||
9e9b71e6 RH |
22314 | 2002-03-03 Richard Henderson <rth@redhat.com> |
22315 | ||
22316 | * c-decl.c (start_decl): Initialized variables are not common. | |
22317 | ||
c26a6db8 PB |
22318 | 2002-03-02 Per Bothner <per@bothner.com> |
22319 | ||
22320 | * gcc.c (option_map): Suport new --bootclasspath option. | |
22321 | --CLASSPATH is now just an alias for --classpath. | |
22322 | ||
9e8aab55 RH |
22323 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22324 | ||
22325 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
22326 | load if "internal" visibility. | |
22327 | * doc/extend.texi: Document visibility meanings. | |
22328 | ||
b3bbd220 RH |
22329 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22330 | ||
22331 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
22332 | to functions as well. | |
22333 | ||
b14707c3 RH |
22334 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22335 | ||
22336 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
22337 | (handle_visibility_attribute): Don't call assemble_visibility. | |
22338 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
22339 | without asmspec. Invoke assemble_alias when needed. | |
22340 | * varasm.c (maybe_assemble_visibility): New. | |
22341 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
22342 | ||
b2003250 RH |
22343 | 2002-03-02 Richard Henderson <rth@redhat.com> |
22344 | ||
22345 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
22346 | invoke ENCODE_SECTION_INFO with first call flag. | |
22347 | ||
22348 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
22349 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
ba31d94e | 22350 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
b2003250 RH |
22351 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
22352 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
22353 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
22354 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
22355 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
22356 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
22357 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
22358 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
22359 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
ba31d94e ZW |
22360 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
22361 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
b2003250 RH |
22362 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
22363 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
22364 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
ba31d94e | 22365 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
b2003250 RH |
22366 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
22367 | config/sh/sh.h, config/sparc/sparc.h, | |
22368 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
22369 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
22370 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
22371 | FIRST argument. As needed, examine it and do nothing. | |
22372 | ||
ba31d94e | 22373 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
b2003250 RH |
22374 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
22375 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
22376 | ||
22377 | * config/arm/t-pe (pe.o): Add dependencies. | |
22378 | ||
5c60f03d KG |
22379 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22380 | ||
22381 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
22382 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
22383 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
22384 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
22385 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
22386 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
22387 | * defaults.h (BITS_PER_UNIT): Define. | |
22388 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
22389 | ||
86855e8c KH |
22390 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
22391 | ||
22392 | * config/h8300/h8300-protos.h: Add a prototype for | |
22393 | compute_a_shift_length. | |
22394 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
22395 | (compute_a_shift_length): Likewise. | |
22396 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
22397 | insns. | |
22398 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
22399 | compute_a_shift_length. | |
22400 | ||
f6041ed8 RK |
22401 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22402 | ||
35aa3c1c RK |
22403 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
22404 | trunc_int_for_mode. | |
22405 | ||
f6041ed8 RK |
22406 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
22407 | ||
27b41650 KG |
22408 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
22409 | ||
22410 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
22411 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
22412 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
22413 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
22414 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
22415 | * tree.c (initializer_zerop): New function. | |
22416 | * tree.h (initializer_zerop): Declare. | |
22417 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
22418 | initializers in the bss section. | |
22419 | ||
ca734b39 AM |
22420 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
22421 | ||
22422 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
22423 | like more than one symbol per .weak directive. | |
22424 | ||
49b72306 RH |
22425 | 2002-03-01 Richard Henderson <rth@redhat.com> |
22426 | ||
22427 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
22428 | adjust argument_pointer by pretend_args_size. | |
22429 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
22430 | ||
fbf0fe41 KH |
22431 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
22432 | ||
22433 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
22434 | ||
0010687d JH |
22435 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
22436 | ||
22437 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
22438 | loop. | |
22439 | * flow.c (delete_dead_jumptables): Make global. | |
22440 | * rtl.h (delete_dead_jumptables): Declare. | |
22441 | ||
9429c84c DE |
22442 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
22443 | ||
22444 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
22445 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
0c2fdcdf | 22446 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
9429c84c | 22447 | |
f0b6f9a6 KH |
22448 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
22449 | ||
22450 | * config/h8300/h8300-protos.h: Fix formatting. | |
22451 | * config/h8300/h8300.c: Likewise. | |
22452 | * config/h8300/h8300.h: Likewise. | |
22453 | ||
bc8db8a1 KH |
22454 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
22455 | ||
22456 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
22457 | constant addresses. | |
22458 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
22459 | ||
32b069d3 RH |
22460 | 2002-02-28 Richard Henderson <rth@redhat.com> |
22461 | ||
22462 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
22463 | pun complex values as integers; use gen_lowpart instead of | |
22464 | gen_rtx_SUBREG. | |
22465 | (extract_bit_field): Likewise. | |
22466 | ||
79c4e63f AM |
22467 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
22468 | David Edelsohn <edelsohn@gnu.org> | |
22469 | ||
22470 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
22471 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
22472 | (SUPPORTS_WEAK): Likewise. | |
22473 | * output.h (add_weak): Add tree param. | |
22474 | * varasm.c (add_weak): Likewise. Save decl. | |
22475 | (struct weak_syms): Add decl field. | |
22476 | (mark_weak_decls): New function. | |
22477 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
22478 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
22479 | (assemble_variable): Likewise. | |
22480 | (assemble_alias): Likewise. | |
22481 | (declare_weak): Pass decl to add_weak. | |
22482 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
22483 | (remove_from_pending_weak_list): Declare and define for | |
22484 | ASM_WEAKEN_DECL. | |
22485 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
22486 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
22487 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
22488 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
22489 | .weak for code sym. Do emit .size for descriptor sym. | |
22490 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
22491 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
22492 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
22493 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
22494 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
22495 | .weak for code sym. | |
22496 | (HANDLE_PRAGMA_WEAK): Remove. | |
22497 | (ASM_WEAKEN_LABEL): Remove. | |
22498 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
22499 | ||
6f30f1f1 JM |
22500 | 2002-03-01 Jason Merrill <jason@redhat.com> |
22501 | ||
22502 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
22503 | (TARGET_EXPR_CLEANUP): New macro. | |
22504 | ||
7879b81e SE |
22505 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
22506 | ||
22507 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
22508 | to take ptr_extend into account as third type of extension. | |
22509 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
22510 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
22511 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
22512 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
22513 | * calls.c (precompute_arguments): Use new macro. | |
22514 | (expand_call): Ditto. | |
22515 | * combine.c (nonzero_bits): Ditto. | |
22516 | (record_promoted_value): Ditto. | |
22517 | * expr.c (store_expr): Ditto. | |
22518 | (expand_expr): Ditto. | |
22519 | * function.c (assign_parms): Ditto. | |
22520 | ||
42d579d8 AO |
22521 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
22522 | ||
22523 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
22524 | override -shared and -shared-libgcc. | |
22525 | ||
e0054185 DB |
22526 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
22527 | ||
22528 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
22529 | of "ultrasparc". | |
22530 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
22531 | to be broken. | |
22532 | ||
abda4f1c RH |
22533 | 2002-02-28 Richard Henderson <rth@redhat.com> |
22534 | ||
22535 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
22536 | 4 cycle latency from MM producers. | |
22537 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
22538 | ||
c0f08649 JJ |
22539 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
22540 | ||
22541 | * mklibgcc.in: Don't use GNU make extension. | |
22542 | ||
f79f2651 NB |
22543 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
22544 | ||
22545 | * c-parse.in (STATIC): New terminal. | |
22546 | (scspec): New non-terminal. Update productions accordingly. | |
22547 | (program): Remove bogus ifc / end ifc. | |
22548 | (array_declarator): Simplify production using STATIC. | |
22549 | ||
001e3fee JM |
22550 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
22551 | ||
22552 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
22553 | \a still means TARGET_BELL. | |
22554 | ||
89076bb3 RH |
22555 | 2002-02-28 Richard Henderson <rth@redhat.com> |
22556 | ||
22557 | * haifa-sched.c (sched_emit_insn): New. | |
22558 | (schedule_block): Use last_scheduled_insn to track last insn. | |
22559 | * sched-int.h (sched_emit_insn): Prototype. | |
22560 | * config/ia64/ia64.c (last_issued): Remove. | |
22561 | (ia64_variable_issue): Don't set it. | |
22562 | (nop_cycles_until): Use sched_emit_insn. | |
22563 | ||
e3aaacf4 AM |
22564 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
22565 | ||
22566 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
22567 | extended constants. | |
22568 | ||
7f473594 KH |
22569 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
22570 | ||
22571 | * config/h8300/h8300.c: Fix formatting. | |
22572 | * config/h8300/h8300.h: Likewise. | |
22573 | ||
b96c434c MM |
22574 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
22575 | ||
22576 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
22577 | which may overwrite the high byte of the frame pointer. | |
22578 | ||
9b420a6a BT |
22579 | 2002-02-28 Bo Thorsen <bo@suse.de> |
22580 | ||
22581 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
22582 | (STARTFILE_SPEC): Add 64 bit files. | |
22583 | (ENDFILE_SPEC): Likewise. | |
22584 | ||
6f30f1f1 | 22585 | 2002-02-28 Jason Merrill <jason@redhat.com> |
46cfb101 JM |
22586 | |
22587 | * c-decl.c (finish_function): Only warn about missing return | |
22588 | statement with -Wreturn-type. | |
22589 | ||
70da1d03 JH |
22590 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
22591 | ||
22592 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
22593 | ||
22594 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
22595 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
22596 | ||
38c1593d JH |
22597 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
22598 | ||
22599 | * basic-block.h (BB_REACHABLE): Renumber. | |
22600 | (BB_DIRTY, BB_NEW): New flags. | |
22601 | (clear_bb_flags): Declare. | |
22602 | (update_life_info_in_dirty_blocks): Declare. | |
22603 | * cfg.c (clear_bb_flags): New function. | |
22604 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
22605 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
22606 | reorder_insns, emit_insn_after): Mark block as dirty. | |
22607 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
22608 | (update_life_info_in_dirty_blocks): New function. | |
22609 | * recog.c (apply_change_group): Dirtify block. | |
22610 | ||
22611 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
22612 | cfg consistent. | |
22613 | * gcse.c (delete_null_pointer_checks): Likewise. | |
22614 | ||
22615 | * toplev.c (dump_file_index): Move cse2 after bp, | |
22616 | add DFI_null | |
22617 | (dump_file_info): Similary. | |
22618 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
22619 | do first if converision after null pointer checks, do cse2 | |
22620 | after branch prediction; avoid full liveness rebuild after | |
22621 | initializing subregs. | |
22622 | * invoke.texi (-d options): Document -du, renumber. | |
22623 | ||
22624 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
22625 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
22626 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
22627 | merge_blocks_move_successor_nojumps, merge_blocks, | |
22628 | try_crossjump_to_edge): Likewise. | |
22629 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
22630 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
22631 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
22632 | (merge_of_block): Do not use life_data_ok. | |
22633 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
22634 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
22635 | * lcm.c (optimize_mode_switching): Update | |
22636 | update_life_info_in_dirty_blocks | |
22637 | ||
63e1b1c4 NB |
22638 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
22639 | ||
22640 | * Makefile.in (integrate.o): Update. | |
22641 | * c-decl.c (copy_lang_decl): Rename. | |
22642 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
22643 | * integrate.c: Include langhooks.h. | |
22644 | (copy_decl_for_inlining): Update to use langhook. | |
22645 | * langhooks-def.h (lhd_do_nothing_t, | |
22646 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
22647 | (LANG_HOOKS_INITIALIZER): Update. | |
22648 | * langhooks.c (lhd_do_nothing_t): New. | |
22649 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
22650 | * tree.h (copy_lang_decl): Remove. | |
22651 | objc: | |
22652 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
22653 | ||
f472fa29 AM |
22654 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
22655 | ||
ba31d94e | 22656 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
f472fa29 AM |
22657 | POST_DEC, and POST_MODIFY. |
22658 | ||
273cf2e4 ZW |
22659 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
22660 | ||
22661 | * c-typeck.c (digest_init): Remove unused parameter; all | |
22662 | callers changed. | |
22663 | ||
4e07d762 GK |
22664 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
22665 | ||
22666 | * expmed.c (expand_shift): Correctly test for low part of a | |
22667 | subreg. | |
22668 | ||
6bc627b3 UW |
22669 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
22670 | ||
22671 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
22672 | insn UIDs with insn addresses. | |
22673 | ||
f458d1d5 ZW |
22674 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
22675 | ||
22676 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
22677 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
22678 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
22679 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
22680 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
22681 | ||
22682 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
22683 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
22684 | Document removal of -traditional mode for compilation, and | |
22685 | remove documentation only relevant to that mode. | |
22686 | ||
22687 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
22688 | config/convex/convex.h, config/d30v/d30v.h, | |
22689 | config/i386/dgux.h, config/i386/osf1elf.h, | |
22690 | config/i386/osfelf.h, config/i386/osfrose.h, | |
22691 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
22692 | config/m68k/hp310.h, config/m88k/dgux.h, | |
22693 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
22694 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
22695 | config/mips/abi64.h, config/mips/osfrose.h, | |
22696 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
22697 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
22698 | config/stormy16/stormy16.h: Remove all references to | |
22699 | -traditional from target specs. Delete all mention of the | |
22700 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
22701 | delete a couple of commented-out definitions of | |
22702 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
22703 | to -traditional. | |
22704 | ||
22705 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
22706 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
22707 | ||
e0b3a8ff ZW |
22708 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
22709 | ||
22710 | * mklibgcc.in: Don't use \n in a line subject to | |
22711 | interpretation by echo. | |
22712 | ||
5c6a85b7 GS |
22713 | 2002-02-27 Graham Stott <grahams@redhat.com> |
22714 | ||
72b05af1 GS |
22715 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
22716 | Constify NAME. | |
22717 | ||
7d104885 GS |
22718 | * loop.c (prescan_loop): Handle PARALLEL. |
22719 | ||
8ed805d2 GS |
22720 | * unroll.c (loop_iterations): Return 0 if the add_val for |
22721 | a BIV is REG. | |
22722 | ||
fd478a0a GS |
22723 | * final.c (output_operand_lossage): Constify PFX_STR. |
22724 | ||
5c6a85b7 GS |
22725 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
22726 | ||
cd98ad03 JH |
22727 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
22728 | ||
22729 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
22730 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
22731 | ||
639ae55b JH |
22732 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
22733 | ||
22734 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
22735 | ||
e808ec9c NB |
22736 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
22737 | ||
22738 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
22739 | arguments. | |
22740 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
22741 | if parsing macro args when entering a directive. | |
22742 | * cppmacro.c (collect_args): No need to handle directives | |
22743 | in macro arguments. | |
22744 | (enter_macro_context, replace_args): Use the original macro | |
22745 | definition in case it was redefined whilst collecting arguments. | |
22746 | doc: | |
22747 | * cpp.texi: Update. | |
22748 | ||
f585a356 DE |
22749 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
22750 | ||
22751 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
22752 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
22753 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
22754 | method on AIX. | |
22755 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
22756 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
22757 | (load_toc_v4_PIC_2): Same. | |
22758 | ||
22759 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
22760 | ||
22761 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
22762 | ||
d699058e RH |
22763 | 2002-02-26 Richard Henderson <rth@redhat.com> |
22764 | ||
22765 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
22766 | ||
eadccfbb RH |
22767 | 2002-02-26 Richard Henderson <rth@redhat.com> |
22768 | ||
22769 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
22770 | MODULE_LOCAL_P; improve commentary. | |
22771 | ||
7080ada1 ZW |
22772 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
22773 | ||
22774 | * doc/cpp.texi: Clarify documentation of relationship between | |
22775 | #line and #include. | |
22776 | ||
b42cff6b KH |
22777 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
22778 | ||
22779 | * config/h8300/h8300-protos.h: Update the prototype for | |
22780 | compute_logical_op_length. Add the prototype for | |
22781 | compute_logical_op_cc. | |
22782 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
22783 | code from operands. | |
22784 | (compute_logical_op_cc): New. | |
22785 | * config/h8300/h8300.md: Combine all the logical op patterns | |
22786 | in HImode and SImode. Use compute_logical_op_cc. | |
22787 | ||
831c4e87 KC |
22788 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
22789 | ||
22790 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
22791 | length suffixs to x87 opcodes when in Intel mode. | |
22792 | ||
ff88fe10 RS |
22793 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
22794 | ||
22795 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
22796 | (init_emit_once): Update calls. | |
22797 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
22798 | (init_syntax_once): Prototype. | |
22799 | ||
d4108589 JDA |
22800 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
22801 | ||
22802 | * pa-linux.h (LIB_SPEC): Update definition. | |
22803 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
22804 | ||
e013f3c7 RH |
22805 | 2002-02-26 Richard Henderson <rth@redhat.com> |
22806 | ||
22807 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
22808 | if we emitted a stop bit. | |
22809 | ||
9e944a16 JJ |
22810 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
22811 | ||
22812 | * configure.in (libgcc_visibility): Substitute. | |
22813 | * configure: Rebuilt. | |
22814 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
22815 | defined symbols .hidden. | |
22816 | ||
47bd70b5 JJ |
22817 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
22818 | ||
22819 | * attribs.c (c_common_attribute_table): Add visibility. | |
22820 | (handle_visibility_attribute): New function. | |
22821 | * varasm.c (assemble_visibility): New function. | |
22822 | * output.h (assemble_visibility): Add prototype. | |
22823 | * tree.h (MODULE_LOCAL_P): Define. | |
22824 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
22825 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
22826 | for MODULE_LOCAL_P symbols too. | |
22827 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
22828 | MODULE_LOCAL_P symbols the same way as local symbols. | |
22829 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
22830 | into .sdata/.sbss by the user. | |
22831 | * doc/extend.texi (Function Attributes): Document visibility | |
22832 | attribute. | |
22833 | ||
6d73371a JJ |
22834 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
22835 | ||
22836 | PR debug/5770 | |
22837 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
22838 | STRING_CST initializer spanning the whole variable without | |
22839 | embedded zeros. | |
22840 | If expand_expr returned MEM, don't use it. | |
22841 | ||
06e224f7 AO |
22842 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
22843 | ||
22844 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
22845 | generate a die for the lexical block. | |
22846 | ||
40367e2d KH |
22847 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
22848 | ||
22849 | * config/h8300/h8300-protos.h: Add a prototype for | |
22850 | compute_logical_op_length. | |
22851 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
22852 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
22853 | compute_logical_op_length for length. | |
22854 | ||
0e98f924 AH |
22855 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
22856 | ||
831c4e87 KC |
22857 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
22858 | for vectors. | |
22859 | (gen_type_die): Same. | |
0e98f924 | 22860 | |
831c4e87 | 22861 | * attribs.c (handle_vector_size_attribute): Set debug information. |
0e98f924 | 22862 | |
a50cfd52 DE |
22863 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
22864 | ||
831c4e87 KC |
22865 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
22866 | fix incorrect generation of merge high instructions instead | |
22867 | of merge low. | |
a50cfd52 | 22868 | |
b7997284 AH |
22869 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
22870 | ||
831c4e87 KC |
22871 | * c-typeck.c (really_start_incremental_init): Use |
22872 | bitsize_zero_node for vectors. | |
b7997284 | 22873 | |
376aec5d AH |
22874 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
22875 | ||
831c4e87 KC |
22876 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
22877 | ("*set_vrsave_internal"): Same. | |
376aec5d | 22878 | |
3b40e71b RH |
22879 | 2002-02-25 Richard Henderson <rth@redhat.com> |
22880 | ||
22881 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
22882 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
22883 | ||
232b8f52 JJ |
22884 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
22885 | ||
22886 | PR target/5755 | |
22887 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
22888 | fake structure return argument if it was passed on the stack. | |
22889 | ||
67282790 JM |
22890 | 2002-02-25 Jason Merrill <jason@redhat.com> |
22891 | ||
22892 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
22893 | RESULT_DECL. | |
22894 | ||
5c181756 AO |
22895 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
22896 | ||
22897 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
22898 | link with shared_name only. | |
22899 | * doc/invoke.texi (Link Options): Document new behavior. | |
22900 | ||
6786d201 AH |
22901 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
22902 | ||
831c4e87 | 22903 | * c-typeck.c (push_init_level): Handle vectors. |
6786d201 | 22904 | |
7d6040e8 AO |
22905 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
22906 | ||
22907 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
22908 | operands of SPARC_SETHI_P. | |
22909 | (input_operand): Likewise. | |
22910 | (sparc_emit_set_const32): Likewise. | |
22911 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
22912 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
22913 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
22914 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
22915 | (movdi_insn_sp64_vis): Likewise. | |
22916 | (movdi split, movdf split): Use SETHI32. | |
22917 | * doc/md.texi: Document SPARC constraints L, M and N. | |
22918 | ||
b188f760 AH |
22919 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
22920 | ||
831c4e87 KC |
22921 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
22922 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
b188f760 | 22923 | |
831c4e87 KC |
22924 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
22925 | gen_get_vrsave_internal. | |
b188f760 | 22926 | |
8041889f RK |
22927 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22928 | ||
22929 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
22930 | ||
a47ed310 NB |
22931 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
22932 | ||
22933 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
22934 | otherwise of wide character constants correct. | |
22935 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
22936 | ||
cb8f73be RK |
22937 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22938 | ||
22939 | * optabs.c (widen_operand): Only call convert_modes for | |
22940 | promoted SUBREG if signedness matches. | |
22941 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
22942 | ||
2450e0b8 NB |
22943 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
22944 | ||
22945 | * cpplib.c (glue_header_name): Use local buffer to build up | |
22946 | header name. | |
22947 | ||
70b6aaed NB |
22948 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
22949 | ||
22950 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
22951 | ||
6be580c7 KH |
22952 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
22953 | ||
22954 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
22955 | H8/300[HS] separately. | |
22956 | * config/h8300/h8300.md: Remove the early clobber constraint | |
22957 | from bit field patterns. | |
22958 | ||
35dad9f1 KH |
22959 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
22960 | ||
22961 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
22962 | register_operand. | |
22963 | (mulhisi3): Likewise. | |
22964 | (umulqisi3): Likewise. | |
22965 | (umulhisi3): Likewise. | |
22966 | ||
ab8e2228 NB |
22967 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
22968 | ||
22969 | * cppinit.c (output_deps): Correct test for stdout output. | |
22970 | (init_dependency_output): Cure warning. | |
22971 | ||
ac6f8a15 RK |
22972 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
22973 | ||
22974 | * expr.c (store_expr): When converting expression to promoted | |
22975 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
22976 | of the expansion of EXP. | |
22977 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
22978 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
22979 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
22980 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
22981 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
22982 | ||
f282ffb3 JM |
22983 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
22984 | ||
22985 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
22986 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
22987 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
22988 | ||
44c5edc0 JJ |
22989 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
22990 | ||
22991 | PR optimization/5747 | |
22992 | * loop.c (scan_loop): Update reg info if move_movables created new | |
22993 | pseudos. | |
22994 | ||
f98e43c0 DE |
22995 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
22996 | ||
22997 | * gcc.c (init_gcc_spec): Revert last change. | |
22998 | ||
e72247f4 DE |
22999 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
23000 | ||
23001 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
23002 | gpc_reg_operand constraint. | |
23003 | ||
23004 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
23005 | ||
23006 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
23007 | Simplify comparison of `low'. | |
23008 | (add_operand): Fix formatting. | |
23009 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
57deb3a1 | 23010 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
e72247f4 DE |
23011 | (rs6000_stack_info): Remove redundant test setting push_p. |
23012 | (output_toc): Fix formatting. | |
23013 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
23014 | cc_reg_not_cr0_operand constraint. | |
23015 | (booldi3, boolcdi3 splitters): Same. | |
23016 | ||
a5c30531 AH |
23017 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
23018 | ||
831c4e87 | 23019 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
a5c30531 | 23020 | |
43710f9f DE |
23021 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
23022 | ||
23023 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
23024 | gcc invoked with -shared-libgcc. | |
23025 | ||
3256b817 JJ |
23026 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
23027 | ||
23028 | PR c++/5748 | |
23029 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
23030 | decl if any of elements was TREE_USED. | |
23031 | ||
9e0625a3 AO |
23032 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
23033 | ||
23034 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
23035 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
23036 | (arith_4096_operand): Don't throw high bits away. | |
23037 | (const64_operand): Take sign extension of CONST_INTs into account. | |
23038 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
23039 | (GEN_HIGHINT64): Likewise. | |
23040 | (sparc_emit_set_const64_quick1): Likewise. | |
23041 | (const64_is_2insns): Likewise. | |
23042 | (print_operand): Use trunc_int_for_mode for sign extension. | |
23043 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
23044 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
23045 | chars. Assume CONST_INT is already properly sign-extended. | |
23046 | (movdi split): Sign-extend each SImode part. | |
23047 | (andsi3 split): Don't mask high bits off, so that result | |
23048 | remains properly sign-extend. | |
23049 | (iorsi3 split): Likewise. | |
23050 | (xorsi3 split): Likewise. | |
23051 | ||
54fec3d5 RS |
23052 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
23053 | ||
23054 | * fold-const.c (fold): Fix typo in comments. | |
23055 | ||
667ada9b DN |
23056 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
23057 | ||
23058 | * Makefile.in (langhooks.o): Update dependencies. | |
23059 | ||
29ac78d5 DN |
23060 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
23061 | ||
23062 | * langhooks.c: Include flags.h. | |
23063 | ||
6aa77e6c AH |
23064 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
23065 | ||
23066 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
23067 | ||
23068 | * c-common.c (c_common_post_options): Set inline trees by | |
23069 | default. | |
23070 | ||
23071 | * doc/extend.texi (Function Attributes): Document always_inline | |
23072 | attribute. | |
23073 | Update documentation about inlining when not optimizing. | |
23074 | ||
23075 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
23076 | ||
23077 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
23078 | unless DECL_ALWAYS_INLINE. | |
23079 | ||
23080 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
23081 | unless DECL_ALWAYS_INLINE. | |
23082 | (c_disregard_inline_limits): Disregard if always_inline set. | |
23083 | ||
23084 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
23085 | Disregard if always_inline set. | |
23086 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
23087 | unless DECL_ALWAYS_INLINE. | |
23088 | ||
23089 | * attribs.c (handle_always_inline_attribute): New. | |
23090 | (c_common_attribute_table): Add always_inline. | |
23091 | ||
23092 | * config/rs6000/altivec.h: Add prototypes for builtins | |
23093 | requiring the always_inline attribute. | |
23094 | ||
c410d49e EC |
23095 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
23096 | ||
23097 | * expmed.c (store_bit_field): Try to simplify the subreg | |
23098 | before generating a new one when when the mode size of | |
23099 | value is less than maxmode. | |
23100 | ||
e3c8ea67 RH |
23101 | 2002-02-21 Richard Henderson <rth@redhat.com> |
23102 | ||
23103 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
23104 | than gen_rtx_PLUS to form the sum. | |
23105 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
23106 | when force_operand returns a register. | |
23107 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
23108 | return a sum. Do not force addresses into registers. | |
23109 | (expand_expr): Likewise. | |
23110 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
23111 | to canonicalize arithmetic that didn't simpify. | |
23112 | (simplify_plus_minus): New argument force; update | |
23113 | all callers. Don't split CONST unless we can do something with it, | |
23114 | and wouldn't lose the constness of the operands. | |
23115 | ||
23116 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
23117 | that we generated earlier. | |
23118 | ||
c1a046e5 TT |
23119 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
23120 | ||
23121 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23122 | (output_line_info): Use constant `1', with a long explanatory | |
23123 | comment. | |
23124 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
23125 | ||
31fbaad4 R |
23126 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
23127 | ||
23128 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
23129 | delete it. | |
23130 | ||
a7f52356 R |
23131 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
23132 | ||
23133 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
23134 | If input is constant, do shifts at compile time. | |
23135 | ||
924fcc4e JM |
23136 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
23137 | ||
23138 | * doc/extend.texi: Fix some more overfull hboxes. | |
23139 | ||
e5a20888 JJ |
23140 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
23141 | ||
23142 | PR optimization/4994 | |
23143 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
23144 | register moves. | |
23145 | ||
23146 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
22273300 JJ |
23147 | |
23148 | PR c++/4574 | |
23149 | * expr.h (expand_and): Add mode argument. | |
23150 | * expmed.c (expand_and): Add mode argument. | |
23151 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
23152 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
23153 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
23154 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
23155 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
23156 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
23157 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
23158 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
23159 | gen_rtx (CONST_INT, VOIDmode, x). | |
23160 | ||
7133e992 JJ |
23161 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
23162 | ||
23163 | PR c/4697: | |
23164 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
23165 | ||
e2ec05a6 TG |
23166 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
23167 | ||
23168 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
831c4e87 | 23169 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
e2ec05a6 | 23170 | |
9dd791c8 AO |
23171 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
23172 | ||
23173 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
23174 | SUBREG or ZERO_EXTEND. | |
23175 | ||
7ab56274 R |
23176 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
23177 | ||
23178 | * sh.h (current_function_anonymous_args): Remove. | |
23179 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
23180 | of current_function_varargs and current_function_stdarg is set. | |
23181 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
23182 | current_function_stdarg / TARGET_SH5 instead of | |
23183 | current_function_anonymous_args. | |
23184 | ||
23185 | * sh64.h (TARGET_VERSION): Define. | |
23186 | ||
b1765bde DE |
23187 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
23188 | ||
23189 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
23190 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
23191 | ||
23192 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
23193 | ||
23194 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
23195 | bits of SImode const_int. | |
23196 | (includes_rshift_p): Likewise. | |
23197 | (print_operand): Call mask_operand and mask64_operand with correct | |
c410d49e | 23198 | mode. |
b1765bde DE |
23199 | (rs6000_output_function_epilogue): Pad traceback table to word. |
23200 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
23201 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
23202 | mask64_operand with correct mode. | |
b1765bde DE |
23203 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
23204 | ||
149d6f9e JJ |
23205 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
23206 | ||
23207 | PR debug/4461 | |
23208 | * varasm.c (get_pool_constant_mark): New. | |
23209 | * rtl.h (get_pool_constant_mark): Add prototype. | |
23210 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
23211 | be represented if it has not been output. | |
23212 | ||
4161da12 AO |
23213 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
23214 | ||
23215 | * combine.c (do_SUBST): Sanity check substitutions of | |
23216 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
23217 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
23218 | CONST_INT into its operand. | |
23219 | (known_cond): Likewise, for ZERO_EXTEND. | |
23220 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
23221 | allow for simplification of wide modes. Reject CONST_INTs in | |
23222 | ZERO_EXTEND when their actual mode is not given. | |
23223 | ||
3704ef74 AO |
23224 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
23225 | ||
23226 | * c-decl.c (pushdecl): If no global declaration is found for an | |
23227 | extern declaration in block scope, try a limbo one. | |
23228 | ||
7552da58 JJ |
23229 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
23230 | ||
23231 | PR c++/4401 | |
23232 | * c-common.c (pointer_int_sum): Moved from... | |
23233 | * c-typeck.c (pointer_int_sum): ...here. | |
23234 | * c-common.h (pointer_int_sum): Add prototype. | |
23235 | ||
00fae85d JJ |
23236 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
23237 | ||
23238 | PR c++/5713 | |
23239 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
23240 | redeclaration. | |
23241 | ||
4636c87e JJ |
23242 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
23243 | Jakub Jelinek <jakub@redhat.com> | |
23244 | ||
23245 | PR c/4389 | |
23246 | * tree.c (host_integerp): Ensure that the constant integer is | |
23247 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
23248 | when pos is zero or non-zero respectively. Clarify comment. | |
23249 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
23250 | usage; the pos argument should be zero when assigning to a | |
23251 | signed HOST_WIDE_INT. | |
23252 | ||
59bef189 RH |
23253 | 2002-02-20 Richard Henderson <rth@redhat.com> |
23254 | ||
23255 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
23256 | of the operand, rather than assuming TImode. | |
23257 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
23258 | using nonimmediate_operand for both operands. | |
23259 | (ix86_expand_timode_binop_builtin): Likewise. | |
23260 | (ix86_expand_store_builtin): Validate operand 1. | |
23261 | (ix86_expand_unop1_builtin): Likewise. | |
23262 | ||
9338ffe6 | 23263 | 2002-02-20 Philip Blundell <philb@gnu.org> |
c410d49e | 23264 | |
9338ffe6 PB |
23265 | PR 5705 |
23266 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
23267 | ||
f322b423 RH |
23268 | 2002-02-20 Richard Henderson <rth@redhat.com> |
23269 | ||
23270 | PR c/5615 | |
23271 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
23272 | ||
d94084f7 TT |
23273 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
23274 | ||
23275 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23276 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23277 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23278 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
23279 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
23280 | unconditionally. | |
23281 | ||
37fa124a AM |
23282 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
23283 | ||
23284 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
23285 | for (const_int 0) in X not just INTVAL. | |
23286 | ||
6e5bb5ad JM |
23287 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
23288 | ||
23289 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
23290 | ||
420e7dfa DN |
23291 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
23292 | ||
23293 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
23294 | operations if the field does not start at a mode boundary. | |
23295 | ||
1b7a2af6 JS |
23296 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
23297 | ||
23298 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
23299 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
23300 | Also done for -Acpu and -Amachine. | |
23301 | ||
56cd5b95 NB |
23302 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
23303 | ||
23304 | * cppinit.c (init_dependency_output): Take deps output file | |
23305 | from -o if none given with -MF. Suppress normal output. | |
c410d49e | 23306 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
56cd5b95 NB |
23307 | * doc/cpp.texi, doc/invoke.texi: Update. |
23308 | ||
042cdf71 ZW |
23309 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
23310 | ||
23311 | * toplev.c (output_quoted_string): Write unprintable | |
23312 | characters with octal escapes. | |
23313 | ||
c1f11548 DE |
23314 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
23315 | ||
23316 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
23317 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
23318 | ||
23319 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
c410d49e | 23320 | |
c1f11548 DE |
23321 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
23322 | MODE_MASK. | |
23323 | (constant_pool_expr_1): Fix formatting. | |
23324 | (rs6000_legitimize_reload_address): Likewise. | |
23325 | ||
c964d90e RK |
23326 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23327 | ||
23328 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
23329 | now that we have one. | |
23330 | ||
ae34ac46 ZW |
23331 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
23332 | ||
23333 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
23334 | end of first block of bitfields (which was only seven bits); | |
23335 | rename dummy to unused_1; remove comment which is no longer true. | |
23336 | ||
293c28ee GS |
23337 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
23338 | ||
23339 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
23340 | ||
7b8781c8 PB |
23341 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
23342 | ||
0cb6c58d | 23343 | PR 5399 |
7b8781c8 PB |
23344 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
23345 | if generating PIC. | |
23346 | ||
23347 | PR 5054 | |
23348 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
23349 | arm_is_longcall_p rather than inspecting call-type cookie | |
23350 | directly. | |
23351 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
23352 | ||
5c464583 GS |
23353 | 2002-02-19 Graham Stott <grahams@redhat.com> |
23354 | ||
23355 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
23356 | ||
71c061e6 DE |
23357 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
23358 | ||
23359 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
23360 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
6d1def5c | 23361 | (FP_SAVE_INLINE): Delete. |
71c061e6 DE |
23362 | |
23363 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
23364 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
23365 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
23366 | * config/rs6000/crtsavres.asm: New file. | |
23367 | ||
3a7731fd PB |
23368 | 2002-02-19 Philip Blundell <philb@gnu.org> |
23369 | ||
23370 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
23371 | functions. | |
23372 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
23373 | (output_return_instruction): Allow interrupt functions to return with | |
23374 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
23375 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
23376 | interrupt function. | |
23377 | ||
14f583b8 PB |
23378 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
23379 | ||
23380 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
23381 | decl, not just FUNCTION_DECL. | |
23382 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
23383 | (arm_assemble_integer): Likewise. | |
23384 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
23385 | marked local. | |
c410d49e | 23386 | |
4cb7482c MG |
23387 | 2002-02-19 matthew green <mrg@eterna.com.au> |
23388 | ||
23389 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
23390 | (sparc64-*-netbsd*): New target. | |
23391 | * config/sparc/netbsd-elf.h: New file. | |
23392 | * config/sparc/t-netbsd64: New file. | |
23393 | ||
2df3a718 GS |
23394 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
23395 | ||
23396 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
23397 | ||
77f6c1eb RS |
23398 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
23399 | ||
23400 | * doc/invoke.texi: explicitly list the style guidelines that | |
23401 | -Weffc++ checks for. | |
23402 | ||
fd973d56 JH |
23403 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
23404 | ||
23405 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
23406 | ||
30518e45 NB |
23407 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
23408 | ||
23409 | PR other/5718 | |
23410 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
23411 | only if not -E. If -E, pass -o through to the preprocessor. | |
23412 | ||
39ea5704 KH |
23413 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
23414 | ||
23415 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
23416 | register number with an appropriate macro. | |
23417 | ||
7355dba7 BM |
23418 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
23419 | ||
23420 | * doc/rtl.texi (Constants): Close @code tag. | |
23421 | ||
91c8aa9e AH |
23422 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
23423 | ||
23424 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
23425 | ("mmx_uavgv4hi3"): Same. | |
23426 | ("pmulhrwv4hi3"): Same. | |
23427 | ||
23428 | * tree-inline.c (walk_tree): Handle vectors. | |
23429 | ||
23430 | * c-common.c (constant_expression_warning): Handle vectors. | |
23431 | (overflow_warning): Same. | |
23432 | ||
23433 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
23434 | ||
23435 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
23436 | (rtx_varies_p): Same. | |
23437 | (count_occurrences): Same. | |
23438 | (regs_set_between_p): Same. | |
23439 | (modified_between_p): Same. | |
23440 | (modified_in_p): Same. | |
23441 | (volatile_insn_p): Same. | |
23442 | (volatile_refs_p): Same. | |
23443 | (side_effects_p): Same. | |
23444 | (may_trap_p): Same. | |
23445 | (inequality_comparisons_p): Same. | |
23446 | (replace_regs): Same. | |
23447 | (computed_jump_p_1): Same. | |
23448 | ||
23449 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
23450 | argument. | |
23451 | (inner_mode_array): New. | |
23452 | (copy_rtx): Handle vectors. | |
23453 | (copy_most_rtx): Same. | |
23454 | (rtx_equal_p): Same. | |
23455 | (get_mode_alignment): Adjust for vectors. | |
23456 | ||
23457 | * resource.c (mark_referenced_resources): Handle vectors. | |
23458 | (mark_set_resources): Same. | |
23459 | ||
23460 | * reload1.c (eliminate_regs): Handle vectors. | |
23461 | (elimination_effects): Same. | |
23462 | (scan_paradoxical_subregs): Same. | |
23463 | ||
23464 | * reload.c (subst_reg_equivs): Handle vectors. | |
23465 | ||
23466 | * regrename.c (scan_rtx): Handle vectors. | |
23467 | ||
23468 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
23469 | ||
23470 | * recog.c (find_single_use_1): Handle vectors. | |
23471 | ||
23472 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
23473 | (contains_replace_regs): Same. | |
23474 | (memref_referenced_p): Same. | |
23475 | ||
23476 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
23477 | (subst_constants): Same. | |
23478 | ||
23479 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
23480 | (encode_units_mask): Same. | |
23481 | (clear_struct_flag): Same. | |
23482 | (count_sub_rtxs): Same. | |
23483 | ||
23484 | * gcse.c (want_to_gcse_p): Handle vectors. | |
23485 | (oprs_unchanged_p): Same. | |
23486 | (hash_expr_1): Same. | |
23487 | (oprs_not_set_p): Same. | |
23488 | (expr_killed_p): Same. | |
23489 | (compute_transp): Same. | |
23490 | (store_ops_ok): Same. | |
23491 | ||
23492 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
23493 | of vectors. | |
23494 | (fixup_var_refs_1): Same. | |
23495 | (instantiate_virtual_regs_1): Same. | |
23496 | ||
23497 | * fold-const.c (operand_equal_p): Handle vectors. | |
23498 | (fold): Same. | |
23499 | (rtl_expr_nonnegative_p): Same. | |
23500 | ||
23501 | * flow.c (mark_used_regs): Handle vectors. | |
23502 | ||
23503 | * df.c (df_uses_record): Handle vectors. | |
23504 | ||
23505 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
23506 | (cselib_mem_conflict_p): Same. | |
23507 | (hash_rtx): Same. | |
23508 | ||
23509 | * cse.c (canon_reg): Handle vectors. | |
23510 | (fold_rt): Same. | |
23511 | (cse_process_notes): Same. | |
23512 | (count_reg_usage): Same. | |
23513 | (canon_hash): Same. | |
23514 | ||
23515 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
23516 | ||
23517 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
23518 | ||
23519 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
23520 | (gen_rtx): Handle CONST_VECTOR. | |
23521 | (gen_const_vector_0): New. | |
23522 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
23523 | (reset_used_flags): Same. | |
23524 | (copy_insn_1): Same. | |
23525 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
23526 | ||
23527 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
23528 | ||
23529 | * doc/rtl.texi (Constants): Document const_vector. | |
23530 | (CONST0_RTX): Update for vectors. | |
23531 | (RTL sharing): Same. | |
23532 | ||
23533 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
23534 | ||
23535 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
23536 | (struct tree_vector): New. | |
23537 | (union tree_node): Add vector node. | |
23538 | (build_vector): Add prototype. | |
23539 | ||
23540 | * tree.def (VECTOR_CST): New. | |
23541 | ||
23542 | * tree.c (build_vector): New. | |
23543 | ||
23544 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
23545 | ||
23546 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
23547 | (CONST_VECTOR_ELT): New. | |
23548 | (CONST_VECTOR_NUNITS): New. | |
23549 | ||
23550 | * machmode.h (GET_MODE_INNER): New. | |
23551 | (DEF_MACHMODE): Accept 8th arg. | |
23552 | ||
23553 | * machmode.def: Add 8th argument for vector inner mode. | |
23554 | Add inner vector modes for vectors. | |
23555 | ||
23556 | * rtl.def (VEC_CONST): Remove. | |
23557 | (CONST_VECTOR): New. | |
23558 | ||
23559 | * expr.c (clear_storage): Allow vectors. | |
23560 | (is_zeros_p): Handle VECTOR_CST. | |
23561 | ||
23562 | * varasm.c (output_constant_pool): Handle vectors. | |
23563 | (rtx_const): Add veclo and vechi fields. | |
23564 | (kind): Add RTX_VECTOR. | |
23565 | (decode_rtx_const): Add case for vector. | |
23566 | ||
23567 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
c410d49e | 23568 | |
91c8aa9e AH |
23569 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
23570 | constants. Force easy vector constants into memory. | |
23571 | (easy_vector_constant): New. | |
23572 | (emit_easy_vector_constant): New. | |
23573 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
23574 | darwin. | |
23575 | ||
23576 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
23577 | instruction does. | |
23578 | ("altivec_lvxl"): Same. | |
23579 | (altivec_lvebx): Same. | |
23580 | (altivec_lvehx): Same. | |
23581 | (altivec_lvewx): Same. | |
23582 | ("*movv4si_const0"): New. | |
23583 | ("*movv4sf_const0"): New. | |
23584 | ("*movv8hi_const0"): New. | |
23585 | ("*movv16qi_const0"): New. | |
23586 | ||
d4d6d0ce KH |
23587 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
23588 | ||
23589 | * config/h8300/h8300.c (notice_update_cc): Use | |
23590 | cc_status.value2. | |
23591 | ||
4915d3aa KH |
23592 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
23593 | ||
23594 | * config/h8300/h8300.md (divmod patterns): Change the | |
23595 | constraints for operands[1] to register_operand. | |
23596 | ||
82be00ee KH |
23597 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
23598 | ||
23599 | * config/h8300/h8300-protos.h: Remove the prototype for | |
23600 | p_operand. | |
23601 | * config/h8300/h8300.c (p_operand): Remove. | |
23602 | * config/h8300/h8300.md: Replace p_operand with | |
23603 | const_int_operand. | |
23604 | ||
1768c26f PB |
23605 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
23606 | ||
23607 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
23608 | comment. | |
23609 | (output_return_instruction): Allow use of LDR to unstack | |
23610 | return addresss even for interrupt handlers or when | |
23611 | interworking. If compiling for ARMv5, use interworking-safe | |
23612 | return instructions by default. Remove duplicated code and | |
23613 | lengthy "strcat" sequences. | |
23614 | ||
ccd84f51 FS |
23615 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
23616 | ||
23617 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
23618 | (LINK_EH_SPEC): Define. | |
23619 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
23620 | ||
2c153108 UW |
23621 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
23622 | ||
23623 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
23624 | frame_related flag for call-clobbered registers. | |
23625 | ||
e95d6b23 JH |
23626 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
23627 | ||
23628 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
23629 | (construct_container): Fix handling of SSE operands. | |
23630 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
23631 | (mmx_maskmovq_rex): New pattern. | |
23632 | ||
c43a12b5 JH |
23633 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
23634 | ||
23635 | * regrename.c (kill_set_value): Handle subregs properly. | |
23636 | ||
aeb85a15 DB |
23637 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
23638 | ||
23639 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
c410d49e | 23640 | from objc_class_name. |
aeb85a15 | 23641 | |
a615ca3e RH |
23642 | 2002-02-17 Richard Henderson <rth@redhat.com> |
23643 | ||
23644 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
23645 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
23646 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
23647 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
23648 | * config/alpha/alpha-protos.h: Update. | |
23649 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
23650 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
23651 | ||
ddb28441 RM |
23652 | 2002-02-17 Roland McGrath <roland@frob.com> |
23653 | ||
23654 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
23655 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
23656 | * config/rs6000/gnu.h: New file. | |
23657 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
23658 | Grok "gnu" in rs6000_abi_name. | |
23659 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
23660 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
23661 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
23662 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
23663 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
23664 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
23665 | ||
f6f8ada3 JJ |
23666 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
23667 | ||
23668 | PR c/3444: | |
23669 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
23670 | shortening. | |
23671 | ||
e16b32fc PT |
23672 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23673 | ||
23674 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
23675 | ENDFILE_SPEC before (re)defining them. | |
23676 | ||
f9477efd KH |
23677 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
23678 | ||
23679 | * config/h8300/h8300.c: Fix formatting. | |
23680 | * config/h8300/h8300.h: Likewise. | |
23681 | ||
404ae494 PT |
23682 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23683 | ||
23684 | * doc/tm.texi: Explain why empty strings should not be | |
23685 | marked for translation. | |
23686 | ||
a52453cc PT |
23687 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23688 | ||
23689 | * final.c (output_operand_lossage): Changed to accept | |
23690 | printf style arguments. Change calls where necessary. | |
23691 | * output.h (output_operand_lossage): Change declaration | |
23692 | accordingly. Update copyright. | |
23693 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
23694 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
23695 | Update copyright date where necessary. | |
c410d49e | 23696 | |
a52453cc PT |
23697 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
23698 | sprintf. | |
23699 | ||
23700 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
23701 | Rename parameter so that exgettext recognizes it as | |
23702 | translatable message. | |
23703 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
23704 | ||
1c11abc4 KH |
23705 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
23706 | ||
23707 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
23708 | hard coded register number with an appropriate macro. | |
23709 | (HARD_REGNO_MODE_OK): Likewise. | |
23710 | (ARG_POINTER_REGNUM): Likewise. | |
23711 | (STATIC_CHAIN_REGNUM): Likewise. | |
23712 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
23713 | * config/h8300/h8300.md (define_constants): Define more | |
23714 | register numbers. | |
23715 | ||
a5d17ff3 PT |
23716 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
23717 | ||
23718 | * config/i386/i386.h: Don't mark empty strings for translation. | |
23719 | ||
1a7289c4 L |
23720 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
23721 | ||
23722 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
23723 | ||
afb58288 ZW |
23724 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
23725 | ||
23726 | * cppinit.c (merge_include_chains): Check for brack being | |
23727 | NULL before attempting to merge it with qtail. | |
23728 | ||
d2af4dbd AC |
23729 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
23730 | ||
23731 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
23732 | DBX_DEBUG. | |
23733 | ||
2e1ed1e3 JDA |
23734 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
23735 | ||
23736 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
23737 | ||
604c75b2 JDA |
23738 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
23739 | ||
23740 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
23741 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
23742 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
23743 | ||
1a42b072 RK |
23744 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23745 | ||
7303604f | 23746 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
1a42b072 RK |
23747 | now only if !TARGET_FIX. |
23748 | (*movsi_nt_vms_fix): New pattern. | |
23749 | ||
c2ea1ac6 DR |
23750 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
23751 | ||
23752 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
23753 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
23754 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
23755 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
23756 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
23757 | (unicosmk_gen_dsib): Likewise. | |
23758 | ||
725e58b1 RK |
23759 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23760 | ||
23761 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
23762 | ||
13e58269 UW |
23763 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
23764 | ||
c410d49e | 23765 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
13e58269 UW |
23766 | check_and_change_labels, s390_final_chunkify): Delete. |
23767 | (s390_split_branches, s390_chunkify_pool): New functions. | |
23768 | (s390_function_prologue): Call them. | |
c410d49e | 23769 | |
13e58269 UW |
23770 | * config/s390/s390.h (S390_REL_MAX): Delete. |
23771 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
23772 | ||
c410d49e | 23773 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
13e58269 UW |
23774 | attribute calculation. |
23775 | ||
23776 | ||
34d1b01d DE |
23777 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
23778 | ||
23779 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
23780 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
23781 | ||
be5cc51a JDA |
23782 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
23783 | ||
23784 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
23785 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
23786 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
23787 | ||
ee96ce90 RS |
23788 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
23789 | ||
23790 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
23791 | ||
05fa709d RS |
23792 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
23793 | ||
23794 | * reload.c (find_dummy_reload): Check that an output register | |
23795 | is valid for its mode. | |
23796 | ||
4606272b AO |
23797 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
23798 | ||
9a360704 AO |
23799 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
23800 | to simplify it. | |
23801 | ||
4606272b AO |
23802 | * function.c (assign_parms): Demote promoted argument passed by |
23803 | transparent reference. | |
23804 | ||
e62d89a1 JS |
23805 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
23806 | ||
23807 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
23808 | -Acpu() and -Amachine() to eliminate warnings. | |
23809 | ||
6c4cf695 UW |
23810 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
23811 | ||
23812 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
23813 | ||
037f11ef KH |
23814 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
23815 | ||
23816 | * config/h8300/h8300-protos.h: Update the prototype for | |
23817 | const_costs. | |
23818 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
23819 | more expensive operation. | |
23820 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
23821 | reference to const_costs. | |
23822 | ||
fdc76b09 HPN |
23823 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
23824 | ||
23825 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
23826 | ||
d76e6800 JJ |
23827 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
23828 | ||
23829 | PR c/5503: | |
23830 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
23831 | use arguments from newtype. | |
23832 | ||
5ae590d7 EC |
23833 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
23834 | ||
23835 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
23836 | on the same command line. Fix error message in cpu processing. | |
23837 | Remove architecture and ISA checks. | |
23838 | ||
b8513691 AH |
23839 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
23840 | ||
831c4e87 | 23841 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
b8513691 | 23842 | |
831c4e87 | 23843 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
b8513691 | 23844 | |
78c875e8 AH |
23845 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
23846 | ||
831c4e87 KC |
23847 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
23848 | alternatives. | |
23849 | ("*movv8hi_internal1"): Same. | |
23850 | ("*movv16qi_internal1"): Same. | |
23851 | ("*movv4sf_internal1"): Same. | |
78c875e8 | 23852 | |
831c4e87 KC |
23853 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
23854 | not push_reload for altivec modes. | |
78c875e8 | 23855 | |
d76e6800 | 23856 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
f22b4bc4 JS |
23857 | |
23858 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
23859 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
23860 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
23861 | many targets. | |
23862 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
23863 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
23864 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
23865 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
23866 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
23867 | config/m68k/rtemself.h: Ditto. | |
23868 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
23869 | config/mips/rtems64.h: Ditto. | |
23870 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
23871 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
23872 | Ditto. | |
23873 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
23874 | config/sparc/rtemself.h: Ditto. | |
23875 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
23876 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
23877 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
23878 | more like arm-elf. | |
23879 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
23880 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
23881 | target made more similar to i386-elf. | |
23882 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
23883 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
23884 | be similar to config/m68k/t-m68kelf. | |
23885 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
23886 | ||
8686336f JH |
23887 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
23888 | ||
23889 | * regmove.c (kill_value): Handle subregs. | |
23890 | ||
558740bf JH |
23891 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
23892 | ||
23893 | * i386.md (mul patterns): Allow memory operand to be first; | |
23894 | add expanders where needed; fix constraints. | |
23895 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
23896 | Allow memory operand to be the first. | |
23897 | ||
23898 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
23899 | operands. | |
23900 | ||
21117a17 JJ |
23901 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
23902 | ||
23903 | PR c/5681: | |
23904 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
23905 | GET_MODE (x). | |
23906 | ||
ec65b2e3 JJ |
23907 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
23908 | ||
23909 | PR optimization/5547: | |
23910 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
23911 | all valid IA-32 address modes involving non-scaled %ebx and | |
23912 | GOT/GOTOFF as displacement. | |
23913 | ||
ce50cae8 UW |
23914 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
23915 | ||
23916 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
23917 | after emitting ltorg insns. | |
23918 | ||
23919 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
23920 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
23921 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
23922 | *abssf2): Fix "op_type" attribute. | |
23923 | ||
09eb789b DR |
23924 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
23925 | ||
2dbe67bb DR |
23926 | * mkconfig.sh: Avoid using a subshell redirect. |
23927 | ($output.T): Change to $(output)T. | |
23928 | (ENABLE_NLS): Remove unneeded undef. | |
23929 | ||
ea5b9a1f DR |
23930 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
23931 | * config/alpha/x-vms (libsubdir): Define. | |
23932 | ||
3deb00ce DR |
23933 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
23934 | register frame procedures. Optimize retrieving context. | |
23935 | ||
09eb789b DR |
23936 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
23937 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
23938 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
23939 | ||
1abade85 RK |
23940 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
23941 | ||
23942 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
23943 | Make same change as for find_base_value. | |
23944 | ||
c283e63f KH |
23945 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
23946 | ||
23947 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
23948 | of QImode and SImode. | |
23949 | ||
86039100 KH |
23950 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
23951 | ||
23952 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
23953 | length computation of movsi. | |
23954 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
23955 | ||
e1429da0 KH |
23956 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
23957 | ||
23958 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
23959 | operands[2] to register_operand. | |
23960 | ||
aebfea10 JH |
23961 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
23962 | ||
23963 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
23964 | ||
0ec4e2a8 AH |
23965 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
23966 | ||
831c4e87 KC |
23967 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
23968 | for altivec_lvx* and altivec_stvx*. | |
23969 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
23970 | ("*movv8hi_internal1"): Same. | |
23971 | ("*movv16qi_internal1"): Same. | |
23972 | ("*movv4sf_internal1"): Same. | |
0ec4e2a8 | 23973 | |
831c4e87 | 23974 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
0ec4e2a8 | 23975 | |
831c4e87 KC |
23976 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
23977 | altivec_register_operand. | |
0ec4e2a8 | 23978 | |
b007569d HPN |
23979 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
23980 | ||
23981 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
23982 | handle SYMBOL_REF. | |
23983 | ||
e6834654 SS |
23984 | 2002-02-13 Stan Shebs <shebs@apple.com> |
23985 | ||
831c4e87 KC |
23986 | * c-typeck.c (digest_init): Handle vectors. |
23987 | (really_start_incremental_init): Same. | |
23988 | (pop_init_level): Same. | |
23989 | (process_init_element): Same. | |
e6834654 | 23990 | |
831c4e87 | 23991 | * varasm.c (output_constant): Same. |
e6834654 | 23992 | |
831c4e87 KC |
23993 | * expr.c (clear_storage): Same. |
23994 | (store_constructor): Same. | |
e6834654 | 23995 | |
d9b3eb63 EC |
23996 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
23997 | ||
23998 | * explow.c (hard_function_value): Add comment explaining | |
23999 | signed/unsigned comparison. | |
24000 | ||
56d44285 JJ |
24001 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
24002 | ||
24003 | * jump.c (never_reached_warning): Add finish argument. | |
24004 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
24005 | real insn after end. | |
24006 | * rtl.h (never_reached_warning): Adjust prototype. | |
24007 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
24008 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
24009 | never_reached_warning. | |
24010 | ||
fc209487 GS |
24011 | 2002-02-12 Graham Stott <grahams@redhat.com> |
24012 | ||
24013 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
24014 | ||
1e41e866 KH |
24015 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
24016 | ||
24017 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
24018 | logical shifts on H8/300. | |
24019 | (shift_alg_si): Improve several shifts on H8/300. | |
24020 | (get_shift_alg): Likewise. | |
24021 | ||
a36a47ad GS |
24022 | 2002-02-12 Graham Stott <grahams@redhat.com> |
24023 | ||
24024 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
24025 | ||
0aacc8ed RK |
24026 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
24027 | ||
24028 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
24029 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
24030 | ||
a02ac966 HPN |
24031 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
24032 | ||
24033 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
24034 | non-CONST_INT through default_assemble_integer. | |
24035 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
24036 | <case 8>: Abort for CONST_DOUBLE. | |
24037 | ||
d6e06ddc JDA |
24038 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
24039 | ||
24040 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
24041 | is specified. | |
24042 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
24043 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
24044 | ||
515342a8 AH |
24045 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
24046 | ||
24047 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
24048 | ||
cddd8b72 AO |
24049 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
24050 | ||
66df7a98 AO |
24051 | * regrename.c (regrename_optimize): Don't accept a |
24052 | part-clobbered register if the replaced register is not part | |
24053 | clobbered. | |
24054 | ||
841404cd AO |
24055 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
24056 | take padding into account when computing the argument value. | |
24057 | ||
1d1ade42 AO |
24058 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
24059 | ||
cddd8b72 AO |
24060 | * combine.c (try_combine): Apply substitutions in |
24061 | CALL_INSN_FUNCTION_USAGE too. | |
24062 | ||
5c665b88 AH |
24063 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
24064 | ||
77f6c1eb RS |
24065 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
24066 | __builtin_altivec_abs*. | |
24067 | (bdesc_abs): New. | |
5c665b88 | 24068 | |
77f6c1eb RS |
24069 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
24070 | ALTIVEC_BUILTIN_ABS*. | |
5c665b88 | 24071 | |
77f6c1eb RS |
24072 | * config/rs6000/altivec.h: Use const char for builtins expecting |
24073 | literals. | |
24074 | (vec_abs): New versions for C and C++. | |
24075 | (vec_abss): Same. | |
5c665b88 | 24076 | |
3494f1b4 KH |
24077 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
24078 | ||
24079 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
24080 | using Pmode. | |
24081 | ||
72431aef KH |
24082 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
24083 | ||
24084 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
24085 | constant definition from h8300.md. | |
24086 | (FRAME_POINTER_REGNUM): Likewise. | |
24087 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
24088 | ||
87e4ee91 KH |
24089 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
24090 | ||
24091 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
24092 | ||
9c188705 KH |
24093 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
24094 | ||
24095 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
24096 | * config/h8300/h8300.c (byte_reg): Make it static. | |
24097 | ||
fba78abb RH |
24098 | 2002-02-10 Richard Henderson <rth@redhat.com> |
24099 | ||
24100 | PR c/5623 | |
24101 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
24102 | ||
65739e62 RH |
24103 | 2002-02-10 Richard Henderson <rth@redhat.com> |
24104 | ||
24105 | PR c++/5624 | |
24106 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
24107 | does not exist. | |
24108 | ||
247cb9df HPN |
24109 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
24110 | ||
24111 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
24112 | ||
232bd029 KH |
24113 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
24114 | ||
65739e62 | 24115 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
232bd029 KH |
24116 | (pushhi1): Likewise. |
24117 | ||
276ef573 JDA |
24118 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
24119 | ||
24120 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
24121 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
24122 | ||
617e9ee5 DB |
24123 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
24124 | ||
24125 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
24126 | remove MASK_VIS. | |
24127 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
24128 | ||
6dfa4005 KH |
24129 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24130 | ||
24131 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
24132 | a half of an SImode register on H8/300. | |
24133 | ||
749e7b80 JH |
24134 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
24135 | ||
24136 | * i386.md (movdi_2): Add missing '!'. | |
24137 | ||
ca77d87c KH |
24138 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24139 | ||
24140 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
24141 | definitions. | |
24142 | ||
16c96304 KH |
24143 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24144 | ||
24145 | * config/h8300/h8300.md (length): Correct the distance valid | |
24146 | for the short branch. | |
24147 | ||
a364bc90 KH |
24148 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
24149 | ||
24150 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
24151 | ||
e4ec2cac AO |
24152 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
24153 | ||
a138247b AO |
24154 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
24155 | registers in SImode. | |
24156 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
24157 | part-clobbered. | |
24158 | ||
2b1fd83f AO |
24159 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
24160 | patch. | |
d9b3eb63 | 24161 | |
fa5322fa AO |
24162 | Contribute sh64-elf. |
24163 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
24164 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
24165 | (sh_cannot_modify_jumps_p): New function. | |
24166 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
24167 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
24168 | (sh_ms_bitfield_layout_p): New function. | |
24169 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
24170 | Zack Weinberg <zack@codesourcery.com> | |
24171 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
24172 | expand_simple_binop instead of expand_binop. | |
24173 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
24174 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
24175 | use of .quad and .uaquad. | |
24176 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
24177 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
24178 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
24179 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
24180 | movdi_const_16bit): Make sure all CONSTs have modes. | |
24181 | (sym2PIC): Ditto, but by adjusting all callers. | |
24182 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
24183 | if the prologue calls the SHmedia argument decoder or register | |
24184 | saver. | |
24185 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
24186 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
24187 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
24188 | (sh_expand_epilogue): Don't emit USE of return target register. | |
24189 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
24190 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
24191 | PIC register. | |
24192 | (sh_expand_prologue): Remove explicit USE of return register. | |
24193 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
24194 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
24195 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
24196 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
24197 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
24198 | EXTRA_CONSTRAINT_T. | |
24199 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
24200 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
24201 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
24202 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
24203 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
24204 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
24205 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
24206 | alternatives supporting TARGET_REGS. | |
24207 | (UNSPEC_GOTPLT): New constant. | |
24208 | (movdi split): Move incrementing of LABEL_NUSES... | |
24209 | (movdi_const, movdi_const_32bit): Here. Use | |
24210 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
24211 | (movdi_const_16bit): New. | |
24212 | (call, call_value) [flag_pic]: Use GOTPLT. | |
24213 | (call_pop, call_value_pop): New expands. | |
24214 | (call_pop_compact, call_pop_rettramp): New insns. | |
24215 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
24216 | (sibcall) [flag_pic]: Use GOT. | |
24217 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
24218 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
24219 | (*pt, *ptb, ptrel): New insns. | |
24220 | (sym2GOT): Handle DImode GOT. | |
24221 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
24222 | (sym2PIC): New expand. | |
24223 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
24224 | (shcompact_return_tramp_i): Use return register explicitly. | |
24225 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
24226 | disable flag_reorder_blocks. | |
24227 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
24228 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
24229 | clobbers, for clarity. | |
24230 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
24231 | restoring of r0 in macl as MAYBE_DEAD. | |
24232 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
24233 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
24234 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
24235 | alter_subreg all over. | |
24236 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
24237 | reload, instead of emitting instructions that would require | |
24238 | reloading. | |
24239 | (casesi_load_media): Add missing modes. | |
24240 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
24241 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
24242 | as used if the argument decoder is called. | |
24243 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
24244 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
24245 | Pmode, then extend it to DImode if necessary. | |
24246 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
24247 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
24248 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
24249 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
24250 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
24251 | Adjust whitespace in assembly output templates. | |
24252 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
24253 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
24254 | mode of if_then_else. | |
24255 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
24256 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
24257 | sh.h. | |
24258 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
24259 | Joern Rennecke <amylaar@redhat.com> | |
24260 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
24261 | (SUBTARGET_CPP_PTR_SPEC): New. | |
24262 | (SUBTARGET_CPP_SPEC): Remove. | |
24263 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
24264 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
24265 | Fix typo in previous checkin. | |
24266 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
24267 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
24268 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
24269 | Alexandre Oliva <aoliva@redhat.com> | |
24270 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
24271 | what single FP register can hold for SHmedia target. | |
24272 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
24273 | Alexandre Oliva <aoliva@redhat.com> | |
24274 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
24275 | Do not split into SUBREG. | |
24276 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
24277 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
24278 | and added new functions as specified in SH5 ABI r9. | |
24279 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
24280 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
24281 | 8-byte boundary. | |
24282 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
24283 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
24284 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
24285 | and consttable_window_ends. | |
24286 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
24287 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
24288 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
24289 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
24290 | vector and matrix registers. | |
24291 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
24292 | vector modes into account. | |
24293 | * config/sh/sh.md (movv2sf): Split move between registers into | |
24294 | movdf. | |
24295 | (movv4sf, movv16sf): Introduce insns that get split only after | |
24296 | reload. | |
24297 | * config/sh/shmedia.h: Fix Copyright dates. | |
24298 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
24299 | declarations into conditionals that uses them. | |
24300 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
24301 | loop boundary. | |
24302 | * config/sh/sshmedia.h: Fix Copyright dates. | |
24303 | (sh_media_PUTCFG): Fix constraints. | |
24304 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
24305 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
24306 | ptrmemfunc_vbit_in_delta for SH5. | |
24307 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
24308 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
24309 | * invoke.texi: Likewise. | |
24310 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
24311 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
24312 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
24313 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
24314 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
24315 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
24316 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
24317 | compact function with nonlocal labels. | |
24318 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
24319 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
24320 | (initial_elimination_offset): Account for their stack space. | |
24321 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
24322 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
24323 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
24324 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
24325 | least one of the operands to be a register. | |
24326 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
24327 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
24328 | prepare_move_operands() before emitting SHmedia insns. | |
24329 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
24330 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
24331 | Don't save nor initialize r12. Don't mis-align the stack. | |
24332 | Pad the code with a nop. | |
24333 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
24334 | stack. | |
24335 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
24336 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
24337 | [__SHMEDIA__]: Implement. | |
24338 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
24339 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
24340 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
24341 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
24342 | Set move, load and store type attributes. | |
24343 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
24344 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
24345 | profiling. | |
24346 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
24347 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
24348 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
24349 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
24350 | branch-target register. | |
24351 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
24352 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
24353 | branch-target register. | |
24354 | (return_media): If r18 wasn't copied in the prologue, copy it | |
24355 | here. | |
24356 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
24357 | Clear class FP0_REGS. | |
24358 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
24359 | from elf.h. | |
24360 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
24361 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
24362 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
24363 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
24364 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
24365 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
24366 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
24367 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
24368 | return value correctly for call_cookie. | |
24369 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
24370 | * config/sh/crt1.asm (start): Modified so as to call | |
24371 | ___setup_argv_and_call_main. | |
24372 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
24373 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
24374 | SHmedia mode. | |
24375 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
24376 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
24377 | (STRIP_NAME_ENCODING): Use it. | |
24378 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
24379 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
24380 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
24381 | prepare_scc_operands(). | |
24382 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
24383 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
24384 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
24385 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
24386 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
24387 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
24388 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
24389 | used in shcompact_incoming_args. | |
24390 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
24391 | change. | |
24392 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
24393 | mode. | |
24394 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
24395 | Adjust accordingly. | |
24396 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
24397 | Simplify. Adjust. Add sanity check. | |
24398 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
24399 | FPU_SINGLE_BIT. | |
24400 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
24401 | TARGET_SHCOMPACT. | |
24402 | (udivsi3, divsi3): Use them. | |
24403 | (force_mode_for_call): New insn. | |
24404 | (call, call_value, sibcall_value): Emit it before SHcompact | |
24405 | calls. | |
24406 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
24407 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
24408 | call cookie is non-NULL before taking its value. | |
24409 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
24410 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
24411 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
24412 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
24413 | block. | |
24414 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
24415 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
24416 | temporary for stack adjusts. Use MACL and MACH to pass | |
24417 | arguments to shcompact_incoming_args. | |
24418 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
24419 | clobber r1. | |
24420 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
24421 | (nested_trampoline): Load static chain address into r1. | |
24422 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
24423 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
24424 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
24425 | fp_arith_reg_operand(). | |
24426 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
24427 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
24428 | and use signed compares for them. | |
24429 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
24430 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
24431 | ones properly aligned. | |
24432 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
24433 | constants. | |
24434 | (machine_dependent_reorg): Require a label for the second 4-byte | |
24435 | constant after an 8-byte one. | |
24436 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
24437 | change. | |
24438 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
24439 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
24440 | last_float when switching float modes. | |
24441 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
24442 | auto-increment for general-purpose registers. | |
24443 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
24444 | result. | |
24445 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
24446 | for stack adjust. | |
24447 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
24448 | registers for varargs. | |
24449 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
24450 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
24451 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
24452 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
24453 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
24454 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
24455 | call_cookie accordingly. | |
24456 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
24457 | (SHCOMPACT_BYREF): Likewise. | |
24458 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
24459 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
24460 | (sh_builtin_saveregs): Likewise. | |
24461 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
24462 | shcompact_incoming_args): Use new shift values. Support | |
24463 | sequences of consecutive and non-consecutive pushes/pops. | |
24464 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
24465 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
24466 | * config/sh/sh.h (TEXT_SECTION): Define. | |
24467 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
24468 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
24469 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
24470 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
24471 | return values on FPU-enabled SHmedia. | |
24472 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
24473 | FPU-enabled SHmedia. | |
24474 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
24475 | value is returned in a non-FP reg and is not returned by | |
24476 | reference. | |
24477 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
24478 | jump_ind. | |
24479 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
24480 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
24481 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
24482 | quad-aligned to be passed by callee-copy reference. | |
24483 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
24484 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
24485 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
24486 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
24487 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
24488 | copying low-numbered FP regs to r7 and r8. | |
24489 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
24490 | FP regs to general-purpose regs only if the copy was passed on the | |
24491 | stack. | |
24492 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
24493 | copying FP reg to r9. | |
24494 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
24495 | copy FP regs to general-purpose regs only in outgoing calls. | |
24496 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
1e4e95d6 | 24497 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
fa5322fa AO |
24498 | HOST_WIDE_INT. |
24499 | * config/sh/sh.h (struct sh_args): Document all fields. | |
24500 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
24501 | passed partially on the stack should not consider making | |
24502 | sibcalls. | |
24503 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
24504 | stack_regs only for incoming calls. When passing FP args, | |
24505 | make sure there are FP regs available before modifying | |
24506 | call_cookie. | |
24507 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
24508 | registers by reference. | |
24509 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
24510 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
24511 | attempt to generate sibcalls if the caller got any arguments | |
24512 | by reference. | |
24513 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
24514 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
24515 | to 8-byte boundaries. | |
24516 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
24517 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
24518 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
24519 | stored in the stack. | |
24520 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
24521 | for the offsets to have the ISA bit set. | |
24522 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
24523 | invocation. Use beq instead of bgt to mark end of sequence of | |
24524 | loads. | |
24525 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
24526 | bgt to mark end of sequence of stores. | |
24527 | * config/sh/sh.c (arith_operand): Don't check whether | |
24528 | CONST_OK_FOR_J for now. | |
24529 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
24530 | instead of long for conversion. | |
24531 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
24532 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
24533 | before passing it to fprintf. | |
24534 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
24535 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
24536 | Call set_fpscr before reading/writing SR. | |
24537 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
24538 | Call set_fpscr. | |
24539 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
24540 | SHmedia code. | |
24541 | (FMOVD_WORKS): Define on SH5 with FPU. | |
24542 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
24543 | setting. | |
24544 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
24545 | _fpscr_values. | |
24546 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
24547 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
24548 | address. | |
24549 | (ia_main_table): Ditto. | |
24550 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
24551 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
24552 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
24553 | the definitions from sh.h. | |
24554 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
24555 | TARGET_SH5. | |
24556 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
24557 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
24558 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
24559 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
24560 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
24561 | Increment LABEL_NUSES. | |
d9b3eb63 | 24562 | |
fa5322fa AO |
24563 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
24564 | TARGET_SH5. | |
24565 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
24566 | defined. | |
24567 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
24568 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
24569 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
24570 | shcompact_incoming_args): Load switch table addresses using | |
24571 | datalabel. | |
24572 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
24573 | (NO_BUILTIN_SIZE_TYPE): Define. | |
24574 | (SIZE_TYPE): Don't define. | |
24575 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
24576 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
24577 | definition of __SH5__=32 for -m5-compact-nofpu. | |
24578 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
24579 | ADDR_DIFF_VEC. | |
24580 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
24581 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
24582 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
24583 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
24584 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
24585 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
24586 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
24587 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
24588 | copying of non-branch-target register. | |
24589 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
1e4e95d6 | 24590 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
fa5322fa AO |
24591 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
24592 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
24593 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
24594 | floating-point values as structs. | |
24595 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
24596 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
24597 | general-purpose register. | |
24598 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
24599 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
24600 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
24601 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
24602 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
24603 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
24604 | DATALABEL unspecs. | |
24605 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
24606 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
24607 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
24608 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
24609 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
24610 | SH_DATALABEL_ENCODING to the symbol name. | |
24611 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
24612 | convert_mode(). | |
24613 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
24614 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
24615 | UNSPEC_DATALABEL. | |
24616 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
24617 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
24618 | (DATALABEL_REF_P): Don't require CONST. | |
24619 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
24620 | REL label. | |
24621 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
24622 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
24623 | right. | |
24624 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
24625 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
24626 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
24627 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
24628 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
24629 | on SHmedia using GENERAL_REGs. | |
24630 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
24631 | bltu_media_i): Fix reversion of conditions. | |
24632 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
24633 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
24634 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
24635 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
24636 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
24637 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
24638 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
24639 | (GCC_nested_trampoline): Likewise. | |
24640 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
24641 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
24642 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
24643 | (INITIALIZE_TRAMPOLINE): Likewise. | |
24644 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
24645 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
24646 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
24647 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
24648 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
24649 | (ic_invalidate): Adjust for SH5. | |
24650 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
24651 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
24652 | _nested_trampoline. | |
24653 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
24654 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
24655 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
24656 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
24657 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
24658 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
24659 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
24660 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
24661 | registers and pseudos that aren't virtual registers. | |
24662 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
24663 | Copy operands that don't match target_reg_operand to pseudos. | |
24664 | (call_media, call_value_media, sibcall_media): Use | |
24665 | target_reg_operand instead of target_operand. | |
24666 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
d9b3eb63 | 24667 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
fa5322fa AO |
24668 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
24669 | other than branch-target registers. | |
24670 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
24671 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
24672 | (fpscr_values) [SH5 == 32]: Define. | |
24673 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
24674 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
24675 | Handle function addresses coming in SUBREGs. | |
24676 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
24677 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
24678 | shcompact_return_trampoline): Use datalabel where appropriate. | |
24679 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
24680 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
24681 | general-purpose register to copy one branch-target register to | |
24682 | another. | |
24683 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
24684 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
24685 | SYMBOL_REFs with VOIDmode. | |
24686 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
24687 | bltu_media_i): New insns. | |
24688 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
24689 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
24690 | (INIT_CUMULATIVE_ARGS): Likewise. | |
24691 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
24692 | * machmode.def (V16SFmode): New mode. | |
24693 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
24694 | * tree.c (build_common_tree_nodes_2): Likewise. | |
24695 | * tree.h (tree_index): Likewise. | |
24696 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
24697 | callers. Introduce CALL_POPS_ARGS. | |
24698 | * tm.texi (CALL_POPS_ARGS): Document. | |
24699 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
24700 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
24701 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
24702 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
24703 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
24704 | Implement divsi and udivsi in SHmedia mode. Introduce | |
24705 | SHcompact trampolines. | |
24706 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
24707 | only in SHmedia64. | |
24708 | (regno_reg_class): Rewrite. | |
24709 | (fp_reg_names): Remove. | |
24710 | (sh_register_names, sh_additional_register_names): New. | |
24711 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
24712 | Add parentheses around shifted CONSTs. | |
24713 | (output_file_start): Output .mode and .abi directives. | |
24714 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
24715 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
24716 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
24717 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
24718 | bytes, not registers. Take into account the need for the | |
24719 | SHcompact incoming args trampoline. Adjust all callers. | |
24720 | (sh_expand_prologue): Take stack_regs into account. Call | |
24721 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
24722 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
24723 | stack aligned as per SH5 ABI. | |
24724 | (sh_builtin_saveregs): Support SH5 ABI. | |
24725 | (sh_build_va_list, sh_va_start): Likewise. | |
24726 | (initial_elimination_offset): Take alignment into account. | |
24727 | Compute location of PR according to the SH5 stack frame. | |
24728 | (arith_reg_operand): Reject branch-target registers. | |
24729 | (shmedia_6bit_operand): New. | |
24730 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
24731 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
24732 | (target_operand): New. | |
24733 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
24734 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
24735 | SIBCALL_REGS for SHmedia. | |
24736 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
24737 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
24738 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
24739 | (TARGET_SWITCHES): New SH5 flags. | |
24740 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
24741 | VALID_REGISTER_P to disable unsupported registers. | |
24742 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
24743 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
24744 | (FUNCTION_ARG_PADDING): Define. | |
24745 | (FASTEST_ALIGNMENT): Adjust. | |
24746 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
24747 | (sh_register_names): Declare. | |
24748 | (DEBUG_REGISTER_NAMES): Define. | |
24749 | (REGISTER_NAMES): Define based on sh_register_names. | |
24750 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
24751 | (sh_additional_register_names): Declare. | |
24752 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
24753 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
24754 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
24755 | (REGISTER_NATURAL_MODE): Define. | |
24756 | (FIRST_PSEUDO_REGISTER): Adjust. | |
24757 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
24758 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
24759 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
24760 | (VECTOR_MODE_SUPPORTED_P): Define. | |
24761 | (REG_CLASS_CONTENTS): Adjust. | |
24762 | (SMALL_REGISTER_CLASSES): Adjust. | |
24763 | (REG_ALLOC_ORDER): Adjust. | |
24764 | (INDEX_REG_CLASS): Adjust. | |
24765 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
24766 | (CONST_OK_FOR_LETTER_P): Adjust. | |
24767 | (PREFERRED_RELOAD_CLASS): Adjust. | |
24768 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
24769 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
24770 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
24771 | (FIRST_FP_PARM_REG): Adjust. | |
24772 | (CALL_POPS_ARGS): Define. | |
24773 | (FUNCTION_ARG_REGNO_P): Adjust. | |
24774 | (struct sh_args): New fields. | |
24775 | (GET_SH_ARG_CLASS): Adjust. | |
24776 | (INIT_CUMULATIVE_ARGS): Adjust. | |
24777 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
24778 | (FUNCTION_ARG_ADVANCE): Adjust. | |
24779 | (FUNCTION_ARG): Adjust. | |
24780 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
24781 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
24782 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
24783 | (STRICT_ARGUMENT_NAMING): Define. | |
24784 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
24785 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
24786 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
24787 | (SETUP_INCOMING_VARARGS): Adjust. | |
24788 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
24789 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
24790 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
24791 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
24792 | (EXTRA_CONSTRAINT_S): Update. | |
24793 | (EXTRA_CONSTRAINT_T): New. | |
24794 | (EXTRA_CONSTRAINT): Adjust. | |
24795 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
24796 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
24797 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
24798 | (MOVE_MAX): Adjust. | |
24799 | (MAX_MOVE_MAX): Define. | |
24800 | (Pmode): Adjust. | |
24801 | (CONST_COSTS): Adjust. | |
24802 | (REGISTER_MOVE_COST): Adjust. | |
24803 | (BRANCH_COST): Adjust. | |
24804 | (TEXT_SECTION_ASM_OP): Adjust. | |
24805 | (DBX_REGISTER_NUMBER): Adjust. | |
24806 | (ASM_OUTPUT_DOUBLE_INT): New. | |
24807 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
24808 | (PREDICATE_CODES): Adjust. | |
24809 | (PROMOTE_MODE): Adjust. | |
24810 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
24811 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
24812 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
24813 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
24814 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
24815 | (TR0_REG, TR1_REG, TR2_REG): New. | |
24816 | (XD0_REG): Renumber. | |
24817 | (UNSPEC_COMPACT_ARGS): New. | |
24818 | (type): Added pt and ptabs. | |
24819 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
1e4e95d6 | 24820 | and 20 on SHmedia32 and SHmedia64, respectively. |
fa5322fa AO |
24821 | (pt): New function unit. |
24822 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
24823 | Add whitespace between operands of SHmedia instructions. | |
24824 | (movdicc): Fix. | |
24825 | (adddi3_media, addsi3_media): Adjust constraints. | |
24826 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
24827 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
24828 | (udivsi3): Support SHmedia. | |
24829 | (divsi3_i1_media, divsi3_i4_media): New. | |
24830 | (divsi3): Support SHmedia. | |
24831 | (anddi3, iordi3, xordi3): Adjust constraints. | |
24832 | (zero_extendhidi2, zero_extendqidi2): New. | |
24833 | (extendsidi2, extendhidi2, extendqidi2): New. | |
24834 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
24835 | (pop_e, pop_fpul, pop_4): Likewise. | |
24836 | (movsi_media): Support FP and BT registers. | |
24837 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
24838 | (lduw, ldub): Renamed to zero_extend* above. | |
24839 | (movqi_media): Fix typo. | |
24840 | (movdi_media): Support FP and BT registers. | |
24841 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
24842 | (movdi_const_32bit): New. | |
24843 | (shori_media): Require immediate operand. Use `u' for output. | |
24844 | (movdf_media, movsf_media): Simplified. | |
24845 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
24846 | (movdf, movsf): Adjust | |
24847 | (movv2sf, movv2sf, movv16sf): New. | |
24848 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
24849 | scratch BT register. | |
24850 | (bne_media, bne_media_i): Likewise. | |
24851 | (bgt_media, bgt_media_i): Likewise. | |
24852 | (bge_media, bge_media_i): Likewise. | |
24853 | (bgtu_media, bgtu_media_i): Likewise. | |
24854 | (bgeu_media, bgeu_media_i): Likewise. | |
24855 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
24856 | bunordered): Emit jump insn. Force operands to registers when | |
24857 | needed. | |
24858 | (jump_media, jump): Simplify. | |
24859 | (call_compact, call_compact_rettramp): New. | |
24860 | (call_value_compact, call_value_compact_rettramp): New. | |
24861 | (call_media, call_value_media): Simplify. | |
24862 | (sibcall_compact, sibcall_media): New. | |
24863 | (call, call_value): Adjust for SHmedia and SHcompact. | |
24864 | (sibcall, sibcall_value, untyped_call): Likewise. | |
24865 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
24866 | (indirect_jump): Adjust for SHmedia. | |
24867 | (casesi_jump_media): New. | |
24868 | (nop): Re-enable for SHmedia. | |
24869 | (call_site): Restrict to SH1. | |
24870 | (casesi): Adjust for SHmedia. | |
24871 | (casesi_shift_media, casesi_load_media): New. | |
24872 | (return): Explicitly use PR register. Call return trampoline | |
24873 | on SHcompact. | |
24874 | (return_i): Explicitly use PR register. | |
24875 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
24876 | (return_media): Adjust. | |
24877 | (shcompact_incoming_args): New. | |
24878 | (epilogue): Adjust. | |
24879 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
24880 | (movstrsi): Disable on SH5. | |
24881 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
24882 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
24883 | (subsf3, subsf3_media): Likewise. | |
24884 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
24885 | (divsf3, divsf3_media): Likewise. | |
24886 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
24887 | (floatsisf2, fux_truncsfsi2): Likewise. | |
24888 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
24889 | constraints. | |
24890 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
24891 | (cmpunsf_media, cmpsf): Likewise. | |
24892 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
24893 | (abssf2, abssf2_media): Likewise. | |
24894 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
24895 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
24896 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
24897 | (floatsidf2, fix_truncdfsi2): Likewise. | |
24898 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
24899 | constraints. | |
24900 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
24901 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
24902 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
24903 | (absdf2, absdf2_media): Likewise. | |
24904 | (extendsfdf2, extendsfdf2_media): Likewise. | |
24905 | (truncsfdf2, truncsfdf2_media): Likewise. | |
24906 | * config/sh/sh64.h: New file. | |
24907 | * config/sh/t-sh64: New file. | |
24908 | * config/sh/shmedia.h: New file. | |
24909 | * config/sh/ushmedia.h: New file. | |
24910 | * config/sh/sshmedia.h: New file. | |
24911 | * configure.in: Added sh64-*-elf. | |
24912 | * configure: Rebuilt. | |
24913 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
24914 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
24915 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
24916 | (print_operand): Support `%M', `%m', `AND' and | |
24917 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
24918 | (andcosts): Adjust for SHmedia. | |
24919 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
24920 | Likewise. | |
24921 | (target_reg_operand): New function. | |
24922 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
24923 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
24924 | FP registers on SH5. | |
24925 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
24926 | on SH4. | |
24927 | (TARGET_REGISTER_P): New macro. | |
24928 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
24929 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
24930 | (EXTRA_CONSTRAINT_S): New macro. | |
24931 | (EXTRA_CONSTRAINT): Adjust. | |
24932 | (FLOAT_TYPE_SIZE): Define to 32. | |
24933 | (Pmode): DImode on SHmedia. | |
24934 | (CONST_COSTS): Adjust for SHmedia literals. | |
24935 | (PREDICATE_CODES): Added target_reg_operand. | |
24936 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
24937 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
24938 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
24939 | (cmpdi): Accept SHmedia. | |
24940 | (movdicc_false, movdicc_true): New insns. | |
24941 | (movdicc): New expand. | |
24942 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
24943 | no_new_pseudos. | |
24944 | (addsi3_media): Match `S' constraint. | |
24945 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
24946 | (negdi2): Expand for SHmedia. | |
24947 | (one_cmpldi2): New expand. | |
24948 | (zero_extendsidi2): Change from expand to insn. | |
24949 | (extendsidi2): Add constraints. | |
24950 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
24951 | LD/ST address. Fix SI immediate loading split. | |
24952 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
24953 | (movhi, movqi): Accept SHmedia. | |
24954 | (shori_media, movdi_media): Relax input constraints. Split | |
24955 | symbolic constants. | |
24956 | (movdf_media, movsf_media): New insn. New split to movdi. | |
24957 | (movdf, movsf): Match on SHmedia. | |
24958 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
24959 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
24960 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
24961 | (bunordered): New expand. | |
24962 | (jump_compact): Renamed from `jump'. | |
24963 | (jump_media): New insn. | |
24964 | (jump): New expand. | |
24965 | (call_media, call_value_media): New insns. | |
24966 | (call, call_value): Adjust. | |
24967 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
24968 | (indirect_jump_media): New insn. | |
24969 | (indirect_jump): New expand. | |
24970 | (untyped_call, return): Accept SHmedia. | |
24971 | (return_media): New insn. | |
24972 | (prologue, epilogue, blockage): Accept SHmedia. | |
24973 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
24974 | (sunordered): New expand. | |
24975 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
24976 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
24977 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
24978 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
24979 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
24980 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
24981 | abssf2_media): New insns. | |
24982 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
24983 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
24984 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
24985 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
24986 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
24987 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
24988 | absdf2_media): New insns. | |
24989 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
24990 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
24991 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
24992 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
24993 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
24994 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
24995 | * config/sh/sh.md (adddi3): New expand. | |
24996 | (adddi3_media, adddi3z_media): New insns. | |
24997 | (adddi3_compact): Renamed from adddi3. | |
24998 | (addsi3_media): Use add.l r63 to add constant zero. | |
24999 | (subdi3): New expand. | |
25000 | (subdi3_media): New insn. | |
25001 | (subdi3_compact): Renamed from subdi3. | |
25002 | (mulsidi3): New expand. | |
25003 | (mulsidi3_media): New insn. | |
25004 | (mulsidi3_compact): Renamed from mulsidi3. | |
25005 | (umulsidi3): New expand. | |
25006 | (umulsidi3_media): New insn. | |
25007 | (umulsidi3_compact): Renamed from umulsidi3. | |
25008 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
25009 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
25010 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
25011 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
25012 | (zero_extendsidi2): New expand. | |
25013 | (extendsidi2): New insn. | |
25014 | (movsi_media): New insn. Split to movdi to load constants. | |
25015 | (movsi): Enable for shmedia. | |
25016 | (movdi_media): New insn. Use shori_media to load wide constants. | |
25017 | (short_media): New insn. | |
25018 | (movdi): Enable for shmedia. | |
25019 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
25020 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
25021 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
25022 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
25023 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
25024 | to all other SH variants. | |
25025 | (TARGET_DEFAULT): Set to SH1_BIT. | |
25026 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
25027 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
25028 | (MAX_BITS_PER_WORD): Change to 64. | |
25029 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
25030 | (INT_TYPE_SIZE): Keep as 32. | |
25031 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
25032 | (MIN_UNITS_PER_WORD): Keep as 4. | |
25033 | (POINTER_SIZE): Raise to 64 on shmedia. | |
25034 | (CONST_OK_FOR_J): New macro. | |
25035 | (CONST_OK_FOR_LETTER_P): Use it. | |
25036 | (processor_type): Add PROCESSOR_SH5. | |
25037 | * config/sh/sh.md: Conditionalize all expands, insns and | |
25038 | splits to TARGET_SH1. | |
25039 | (cpu): Added sh5. | |
25040 | (addsi3_compact): Renamed from... | |
25041 | (addsi3): Now an expand. | |
25042 | (addsi3_media, subsi3_media): New insns. | |
25043 | (subsi3): Don't negate constants with SHmedia. | |
25044 | ||
e4ec2cac AO |
25045 | * hooks.c: New file. |
25046 | * hooks.h: New file. | |
25047 | * Makefile.in (HOOKS_H): New. | |
25048 | (TARGET_DEF_H): Added $(HOOKS_H). | |
25049 | (OBJS): Added hooks.o. | |
25050 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
25051 | (hooks.o): Added dependencies. | |
25052 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
25053 | (TARGET_INITIALIZER): this. | |
25054 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
25055 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
25056 | * bb-reorder.c: Include target.h. | |
25057 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
25058 | * cfgcleanup.c: Include target.h. | |
25059 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
25060 | ||
246a46e0 CD |
25061 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
25062 | ||
831c4e87 KC |
25063 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
25064 | Protect jump delay slot instructions with .set noreorder and | |
25065 | .set nomacro. | |
246a46e0 CD |
25066 | |
25067 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
6a5ea3f4 CD |
25068 | |
25069 | * config/mips/mips.md (casesi_internal_di): Calculate | |
25070 | the index into the target offset table correctly. | |
25071 | ||
fdf473ae RH |
25072 | 2002-02-08 Richard Henderson <rth@redhat.com> |
25073 | ||
25074 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
25075 | * final.c (output_addr_const): Accept and discard SUBREG. | |
25076 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
25077 | mark them unknown instead. | |
25078 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
25079 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
25080 | ||
c50503ac DE |
25081 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
25082 | ||
25083 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
25084 | ||
3660d217 RH |
25085 | 2002-02-08 Richard Henderson <rth@redhat.com> |
25086 | ||
25087 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
25088 | ||
56547299 AJ |
25089 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
25090 | ||
25091 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
25092 | * config/i386/t-linux64: New file. | |
25093 | ||
1cf537c5 JJ |
25094 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
25095 | ||
25096 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
25097 | * c-parse.in (compstmt): Clear last_expr_type. | |
25098 | ||
5c7f5a5f RH |
25099 | 2002-02-07 Richard Henderson <rth@redhat.com> |
25100 | ||
25101 | * loop.c (strength_reduce): Sink final_value when not | |
25102 | eliminating a biv. | |
25103 | ||
b1138bf3 DB |
25104 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
25105 | ||
25106 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
25107 | ||
b6878a45 RH |
25108 | 2002-02-07 Richard Henderson <rth@redhat.com> |
25109 | ||
25110 | * cfgrtl.c: Include recog.h and insn-config.h. | |
25111 | (keep_with_call_p): Fix general_operand invocation. | |
25112 | * Makefile.in (cfgrtl.o): Update dependencies. | |
25113 | ||
ae19f5ef KH |
25114 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
25115 | ||
25116 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
25117 | comment. Accept HImode only if TARGET_H8300. | |
25118 | ||
b137f9fc EC |
25119 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
25120 | ||
25121 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
25122 | ||
25123 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
25124 | ||
25125 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
25126 | register 7 as RA instead of $31. | |
25127 | * config/mips/crtn.asm: Ditto. | |
25128 | * config/mips/mips.c (mips_move_2words): Add case for | |
25129 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
25130 | (compute_frame_size): Fix typo. | |
25131 | (save_restore_insns): Ditto. Make documentation about using | |
25132 | register $7 as return register more precise. | |
25133 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
25134 | being able to add to the stack pointer directly. | |
25135 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
25136 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
25137 | epilogue. | |
25138 | ||
768070a0 TR |
25139 | 2002-02-07 Tom Rix <trix@redhat.com> |
25140 | ||
b137f9fc | 25141 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
768070a0 TR |
25142 | immediates in ldu and stdu DS opcode field. |
25143 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
25144 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
25145 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
25146 | ||
225909c3 JS |
25147 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
25148 | ||
25149 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
25150 | offset for stack bias. | |
25151 | ||
15fae023 L |
25152 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
25153 | ||
25154 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
25155 | ||
fde5badd UW |
25156 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
25157 | ||
25158 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
25159 | ||
162f023b JH |
25160 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
25161 | ||
25162 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
25163 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
25164 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
25165 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
25166 | ||
9b462c42 RH |
25167 | 2002-02-07 Richard Henderson <rth@redhat.com> |
25168 | ||
85aa876c | 25169 | PR optimization/2463 |
9b462c42 RH |
25170 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
25171 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
25172 | ||
06e455a9 AO |
25173 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
25174 | ||
25175 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
25176 | length. | |
25177 | ||
edd1967d RH |
25178 | 2002-02-06 Richard Henderson <rth@redhat.com> |
25179 | ||
25180 | PR c/5609 | |
25181 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
25182 | named and unnamed operands. | |
25183 | ||
a2cd028f JJ |
25184 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
25185 | Jan Hubicka <jh@suse.cz> | |
25186 | ||
25187 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
25188 | CONST expression. | |
25189 | ||
e8487c04 UW |
25190 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
25191 | ||
25192 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
25193 | * config/s390/t-linux64: New file. | |
25194 | * config/s390/libgcc-glibc.ver: New file. | |
25195 | ||
58d10f89 UW |
25196 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
25197 | ||
25198 | * config/s390/linux64.h: Delete file. | |
25199 | * config/s390/s390x.h: New file. | |
25200 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
25201 | as target header file. | |
25202 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
25203 | DEFAULT_TARGET_64BIT. | |
25204 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
25205 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
25206 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
25207 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
25208 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
25209 | (EXTRA_SPEC): New define. | |
25210 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
25211 | DEFAULT_TARGET_64BIT. | |
25212 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
25213 | ||
5ce89b2e JM |
25214 | 2002-02-06 Jason Merrill <jason@redhat.com> |
25215 | ||
25216 | * c-decl.c (finish_function): Warn about a non-void function with | |
25217 | no return statement and no abnormal exit. | |
25218 | (current_function_returns_abnormally): New variable. | |
25219 | (start_function): Clear it. | |
25220 | (struct c_language_function): Add returns_abnormally. | |
25221 | (push_c_function_context): Save it. | |
25222 | (pop_c_function_context): Restore it. | |
25223 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
25224 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
25225 | an explicit return type. | |
25226 | * c-tree.h: Declare current_function_returns_abnormally. | |
25227 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
25228 | * c-typeck.c (build_function_call): Set it. | |
25229 | (c_expand_return): Set current_function_returns_value even if the | |
25230 | value is erroneous. | |
25231 | ||
caaf2272 JJ |
25232 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
25233 | ||
25234 | PR c/5420: | |
25235 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
25236 | unsafe for reevaluation. | |
25237 | ||
d5129288 JJ |
25238 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
25239 | ||
25240 | PR c/5482: | |
25241 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
25242 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
25243 | ||
7fb75099 RH |
25244 | 2002-02-06 Richard Henderson <rth@redhat.com> |
25245 | ||
25246 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
25247 | be a general_operand. Dest for function value must be a pseudo. | |
25248 | ||
d3a8b6a6 NC |
25249 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
25250 | ||
25251 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
25252 | as SYMBOL_REFs from the constant pool. | |
25253 | ||
3c1299c5 AO |
25254 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
25255 | ||
25256 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
25257 | passed by invisible reference. | |
25258 | ||
c2c9f6c9 RH |
25259 | 2002-02-05 Richard Henderson <rth@redhat.com> |
25260 | ||
25261 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
25262 | ||
a824924d HPN |
25263 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
25264 | ||
25265 | Implement using "base addresses" in insn operands as default. | |
25266 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
25267 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
25268 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
25269 | used to read the rtx value. | |
25270 | (mmix_target_asm_function_epilogue): Fix spacing. | |
25271 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
25272 | (mmix_legitimate_address): Ditto. | |
25273 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
25274 | should be loaded with a GETA insn. Don't allocate needless extra | |
25275 | char for nul termination and fix misleading comment. | |
25276 | (mmix_print_operand_address): Handle constants if | |
25277 | TARGET_BASE_ADDRESSES. | |
25278 | (mmix_output_register_setting): Use base addressing if | |
25279 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
25280 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
25281 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
25282 | to use R as constraint, add LDA to match s. | |
25283 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
25284 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
25285 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
25286 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
25287 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
25288 | order with other fixed registers. | |
25289 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
25290 | other parameter/call-clobbered registers. | |
25291 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
25292 | -mbase-addresses, -mno-base-addresses. | |
25293 | (MMIX Options): Ditto. | |
25294 | ||
73c342b9 JDA |
25295 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25296 | ||
25297 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
25298 | ||
ef238c58 AH |
25299 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
25300 | ||
831c4e87 | 25301 | * config/rs6000/altivec.h: Change elem to _S_elem. |
ef238c58 | 25302 | |
ad08e60e JT |
25303 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
25304 | ||
25305 | * config/netbsd.h (WCHAR_TYPE): Define. | |
25306 | (WCHAR_TYPE_SIZE): Ditto. | |
25307 | (WINT_TYPE): Ditto. | |
25308 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
25309 | (WCHAR_UNSIGNED): Ditto. | |
25310 | (WCHAR_TYPE_SIZE): Ditto. | |
25311 | (WINT_TYPE): Ditto. | |
25312 | * config/arm/netbsd.h: Likewise. | |
25313 | * config/i386/netbsd-elf.h: Likewise. | |
25314 | * config/i386/netbsd.h: Likewise. | |
25315 | * config/m68k/netbsd-elf.h: Likewise. | |
25316 | * config/m68k/netbsd.h: Likewise. | |
25317 | * config/ns32k/netbsd.h: Likewise. | |
25318 | * config/sparc/netbsd.h: Likewise. | |
25319 | * config/vax/netbsd.: Likewise. | |
25320 | ||
f913c102 AO |
25321 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
25322 | ||
25323 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
25324 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
25325 | (TARGET_INITIALIZER): this. | |
25326 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
25327 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
25328 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
25329 | (record_layout_info): Added prev_field. | |
25330 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
25331 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
25332 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
25333 | * stor-layout.c: Include target.h. | |
25334 | (start_record_layout): Initialize prev_field. | |
25335 | (place_field): Handle MS bit-field layout, and disregard | |
25336 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
25337 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
25338 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
25339 | ||
c13db5d1 JM |
25340 | 2002-02-05 Jason Merrill <jason@redhat.com> |
25341 | ||
c13db5d1 JM |
25342 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
25343 | ||
4505024e AJ |
25344 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
25345 | ||
25346 | * crtstuff.c: Fix comments. | |
25347 | ||
794ad79d RH |
25348 | 2002-02-05 Richard Henderson <rth@redhat.com> |
25349 | ||
2e279a9b RH |
25350 | PR fortran/3393 |
25351 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
25352 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
25353 | ||
794ad79d RH |
25354 | PR fortran/3392 |
25355 | * config/mips/mips.c (function_arg): Handle TImode. | |
25356 | (function_arg_advance): Likewise. | |
25357 | ||
8f909017 AH |
25358 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25359 | ||
c13db5d1 JM |
25360 | * config/rs6000/altivec.h (vec_step_help): Rename to |
25361 | __vec_step_help. | |
8f909017 | 25362 | |
66daa9e3 AH |
25363 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25364 | ||
c13db5d1 | 25365 | * config/rs6000/altivec.h: Fix typos. |
66daa9e3 | 25366 | |
2696e97b JT |
25367 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
25368 | ||
25369 | * config/arm/netbsd.h: Correct a comment. | |
25370 | ||
3deb2758 AH |
25371 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25372 | ||
c13db5d1 JM |
25373 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
25374 | building void typed builtins. | |
3deb2758 | 25375 | |
c13db5d1 JM |
25376 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
25377 | (vec_step): Implement for C++. | |
3deb2758 | 25378 | |
c13db5d1 | 25379 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2c79137a RK |
25380 | |
25381 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
25382 | ||
ebbb0a63 RH |
25383 | 2002-02-04 Richard Henderson <rth@redhat.com> |
25384 | ||
25385 | * combine.c (nonzero_bits): Re-introduce special case for | |
25386 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
25387 | ||
ae4b4a02 AH |
25388 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
25389 | ||
c13db5d1 JM |
25390 | * doc/extend.texi: Warn about unsupported usage of altivec |
25391 | builtins. | |
ae4b4a02 | 25392 | |
c13db5d1 JM |
25393 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
25394 | (altivec_predicate_*): New. | |
ae4b4a02 | 25395 | |
c13db5d1 JM |
25396 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
25397 | Add C++ version of vec_*() functions. | |
ae4b4a02 | 25398 | |
c13db5d1 JM |
25399 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
25400 | (bdesc_2arg): Remove altivec predicates. | |
25401 | (altivec_expand_builtin): Handle predicates. | |
25402 | (altivec_init_builtins): Handle predicates. | |
25403 | (altivec_expand_predicate_builtin): New. | |
ae4b4a02 | 25404 | |
f6bcf44c JDA |
25405 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25406 | ||
25407 | * pa.c (DO_FRAME_NOTES): Move forward. | |
25408 | (store_reg): Revise handling of frame notes. | |
25409 | (load_reg): Likewise. | |
25410 | (set_reg_plus_d): Likewise. | |
25411 | (hppa_expand_prologue): Likewise. | |
25412 | (hppa_expand_epilogue): Likewise. | |
b137f9fc | 25413 | |
703b0080 JDA |
25414 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25415 | ||
25416 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
25417 | ||
6f9fdf4d JJ |
25418 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
25419 | ||
25420 | PR c/4475, c++/3780: | |
25421 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
25422 | * c-common.h (SWITCH_TYPE): Define. | |
25423 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
25424 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
25425 | Rename spareness variable to sparseness. | |
25426 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
25427 | if non-NULL instead of TREE_TYPE (orig_index). | |
25428 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
25429 | (expand_end_case): Define using expand_end_case_type. | |
25430 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
25431 | to expand_end_case_type. | |
25432 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
25433 | ||
79109502 JDA |
25434 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25435 | ||
25436 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
25437 | (BIGGEST_ALIGNMENT): Change to 128. | |
25438 | ||
e62a5987 JDA |
25439 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25440 | ||
25441 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
25442 | ||
219f24a4 JDA |
25443 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25444 | ||
25445 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
25446 | ||
3cb66fd7 NC |
25447 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
25448 | ||
25449 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
25450 | field. | |
831c4e87 | 25451 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
3cb66fd7 | 25452 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
831c4e87 KC |
25453 | replace uses with cfun->machine->uses_anonymous_args. |
25454 | (arm_reorg): Do not reset uses_anonymous_args. | |
3cb66fd7 NC |
25455 | |
25456 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
25457 | any geenral register. | |
b137f9fc | 25458 | |
5d5603e2 | 25459 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
24c545ff BS |
25460 | |
25461 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
25462 | the entry block. | |
25463 | ||
563c12b0 RH |
25464 | 2002-02-04 Richard Henderson <rth@redhat.com> |
25465 | ||
25466 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
25467 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
25468 | REGNO_POINTER_ALIGN. | |
25469 | ||
25470 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
25471 | (HARD_FRAME_POINTER_REGNUM): New. | |
25472 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
25473 | (FIXED_REGS, CALL_USED_REGS): Update. | |
25474 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
25475 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
25476 | (HARD_REGNO_NREGS): Update for SFP. | |
25477 | (STACK_POINTER_OFFSET): Include bias here ... | |
25478 | (FIRST_PARM_OFFSET): ... not here. | |
25479 | (STACK_BIAS): Remove. | |
25480 | (INIT_EXPANDERS): New. | |
25481 | (STARTING_FRAME_OFFSET): Do not include bias. | |
25482 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
25483 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
25484 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
25485 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
25486 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
25487 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
25488 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
25489 | (MUST_SAVE_REGISTER): Likewise. | |
25490 | (sparc_flat_function_prologue): Likewise. | |
25491 | (sparc_flat_function_epilogue): Likewise. | |
25492 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
25493 | (sparc_init_modes): SFP is GENERAL_REGS. | |
25494 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
25495 | ||
14691f8d RH |
25496 | 2002-02-04 Richard Henderson <rth@redhat.com> |
25497 | ||
25498 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
25499 | current_function_is_thunk. | |
25500 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
25501 | called from ASM_OUTPUT_MI_THUNK and not. | |
25502 | (alpha_does_function_need_gp): Thunks always need gp. | |
25503 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
25504 | (alpha_output_mi_thunk_osf): New. | |
25505 | * config/alpha/alpha-protos.h: Update. | |
25506 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
25507 | ||
af702de8 RS |
25508 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
25509 | ||
25510 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
25511 | function types, not when they're taken away. | |
25512 | ||
5b1cacd8 JL |
25513 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
25514 | ||
25515 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
25516 | CODE_LABEL and jump table when replacing a table jump with a | |
25517 | simple jump. | |
25518 | ||
f3e9edff UW |
25519 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
25520 | ||
25521 | * config/s390/s390-protos.h (legitimize_la_operand, | |
25522 | s390_secondary_input_reload_class, s390_plus_operand, | |
25523 | s390_expand_plus_operand): Add prototypes. | |
25524 | ||
25525 | config/s390/s390.c (s390_secondary_input_reload_class, | |
25526 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
25527 | ||
25528 | (struct s390_address): New member 'pointer'. | |
25529 | (s390_decompose_address): Compute it. | |
25530 | (legitimate_la_operand_p): Use it. | |
25531 | (legitimize_la_operand): New function. | |
25532 | (movti, movdi, movdf splitters): Call it. | |
25533 | ||
25534 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
25535 | (PREDICATE_CODES): Add s390_plus_operand. | |
25536 | ||
25537 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
25538 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
25539 | ||
25540 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
25541 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
25542 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
25543 | ||
3c9a08ec UW |
25544 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
25545 | ||
25546 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
25547 | register names for regular asm () construct. | |
25548 | ||
ac300a45 JJ |
25549 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
25550 | ||
25551 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
25552 | registers. | |
25553 | ||
fa852403 JJ |
25554 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
25555 | ||
25556 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
25557 | pat for recog. | |
25558 | ||
fecaac37 HP |
25559 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
25560 | ||
831c4e87 KC |
25561 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
25562 | constant pool to be identical by string address and index. | |
fecaac37 | 25563 | |
10c45943 AG |
25564 | 2002-02-04 Anthony Green <green@redhat.com> |
25565 | ||
25566 | * output.h (SECTION_OVERRIDE): Define. | |
25567 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
25568 | ||
69474c3c JT |
25569 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
25570 | ||
25571 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
25572 | by existing arm*-*-netbsd* (a.out) target. | |
25573 | (ns32k-*-netbsdelf*): Likewise. | |
25574 | (sparc-*-netbsdelf*): Likewise. | |
25575 | (vax-*-netbsdelf*): Likewise. | |
25576 | ||
939a46f6 | 25577 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
3b56934f CF |
25578 | |
25579 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
25580 | headers and libobjc headers. | |
25581 | ||
25582 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
25583 | ||
25584 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
25585 | (_mingw.h): Remove duplicate include. | |
25586 | ||
2fd95d71 JT |
25587 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
25588 | ||
25589 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
25590 | (m68010-*-netbsdelf*): New... | |
25591 | (m68k*-*-netbsdelf*): ...targets. | |
25592 | * config/m68k/netbsd-elf.h: New file. | |
25593 | ||
0ea6f6a0 KH |
25594 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25595 | ||
25596 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
25597 | ||
cbf1b2da KH |
25598 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25599 | ||
25600 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
25601 | h8300_init_once. | |
25602 | (h8_pop_ops): Likewise. | |
25603 | (h8_move_ops): Likewise. | |
25604 | ||
0869f126 KH |
25605 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25606 | ||
25607 | * config/h8300/h8300.c (os_task): Make it static. | |
25608 | (monitor): Likewise. | |
25609 | (pragma_saveall): Likewise. | |
25610 | ||
90e65b70 AO |
25611 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
25612 | ||
25613 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
25614 | constant is a valid sign-extension for Pmode. | |
25615 | ||
9cbcd983 KH |
25616 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25617 | ||
25618 | * config/h8300/h8300.c: Fix formatting. | |
25619 | ||
7a27efc4 KH |
25620 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25621 | ||
25622 | * config/h8300/h8300.md: Fix formatting. | |
25623 | ||
54175a44 KH |
25624 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25625 | ||
25626 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
25627 | predicates of operands[1]. Split the patterns for each | |
25628 | processor variant. | |
25629 | ||
eceb1755 KH |
25630 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
25631 | ||
25632 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
25633 | of operands[1] to register_operand. | |
25634 | ||
0fef3fd0 NB |
25635 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
25636 | ||
25637 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
25638 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
25639 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
25640 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
05713b80 | 25641 | (COMMAND_LINE_OPTIONS): Recognize -f{un,}signed-char. |
0fef3fd0 NB |
25642 | (cpp_handle_option): Handle the new options. |
25643 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
25644 | * cpplib.h (struct cpp_options): New member signed_char. | |
25645 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
25646 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
25647 | (static_specs): Remove signed_char_spec. | |
25648 | (do_spec1): Don't handle %c. | |
25649 | * system.h: Poison SIGNED_CHAR_SPEC. | |
25650 | * tradcif.y (yylex): Use flag_signed_char. | |
25651 | * tradcpp.h (flag_signed_char): New. | |
25652 | * tradcpp.c (flag_signed_char): New. | |
25653 | (main): Handle new command-line options. | |
25654 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
25655 | config: | |
25656 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
25657 | * avr/avr.h: Remove old comments. | |
25658 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
25659 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
25660 | (SIGNED_CHAR_SPEC): Remove. | |
25661 | doc: | |
25662 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
25663 | ||
0617ed52 EC |
25664 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
25665 | ||
25666 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
25667 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
25668 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
25669 | (ASM_OUTPUT_REG_POP): Ditto. | |
25670 | ||
dfd48d76 NB |
25671 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
25672 | ||
25673 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
25674 | patch. | |
25675 | ||
4a23409e JJ |
25676 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
25677 | ||
25678 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
25679 | ||
d3c52658 JJ |
25680 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
25681 | ||
25682 | PR c/5304: | |
25683 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
25684 | unconditionally. | |
25685 | ||
02c5a3bd JJ |
25686 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
25687 | ||
25688 | * cfganal.c: Include tm_p.h. | |
25689 | (keep_with_call_p): Fix the test that determines if a register holds | |
25690 | the return value of a call. | |
25691 | ||
3968de80 DD |
25692 | 2002-02-01 DJ Delorie <dj@redhat.com> |
25693 | ||
25694 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
25695 | we are given conflicting registers, switch to the other one we | |
25696 | had allocated for us. | |
25697 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
25698 | as TImode so we know when the "other" register is available. | |
25699 | ||
1338ea6c DB |
25700 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
25701 | ||
25702 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
25703 | sparc/sparc_bi.h. | |
25704 | ||
f015be23 JJ |
25705 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
25706 | ||
25707 | * cfganal.c (keep_with_call_p): New function. | |
25708 | (flow_call_edges_add): Prevent splitting a block between a call and | |
25709 | a single-set instruction that should be kept in the same block. | |
25710 | ||
63708ffc CR |
25711 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
25712 | ||
25713 | * doc/install.texi (avr): Update outdated URL. | |
25714 | ||
5ee4950e AH |
25715 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
25716 | ||
831c4e87 KC |
25717 | * config/stormy16/stormy16.md (pushqi): New. |
25718 | (popqi): New. | |
25719 | (pushhi): New. | |
25720 | (pophi): New. | |
25721 | (movhi): Remove stack operands. | |
25722 | (movqi): Likewise. | |
25723 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
25724 | nonimmediate_nonstack_operand. | |
25725 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
25726 | New. | |
25727 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
25728 | New. | |
5ee4950e | 25729 | |
b88c0704 JM |
25730 | 2002-01-31 Jason Merrill <jason@redhat.com> |
25731 | ||
25732 | * Makefile.in (c-parse.c): Handle .output file. | |
25733 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
25734 | ||
ac282977 AO |
25735 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
25736 | ||
25737 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
25738 | the -me[lb] option is given. Don't output the default flag | |
25739 | twice. | |
25740 | ||
bebc7e8b ZW |
25741 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
25742 | ||
25743 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
25744 | the primary source file; this has not been done yet. | |
25745 | * c-decl.c (c_expand_body): Reset input_filename from | |
25746 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
25747 | ||
5809eb5f KH |
25748 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
25749 | ||
25750 | * rtlanal.c (subreg_regno_offset): Do not use | |
25751 | SUBREG_REGNO_OFFSET. | |
25752 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
25753 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
25754 | ||
8512bbd7 JM |
25755 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
25756 | ||
25757 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
25758 | version rather than GNATS version in --version output. | |
25759 | ||
74cb3cc8 RS |
25760 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
25761 | ||
25762 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
25763 | when copying back from a temporary. | |
25764 | ||
874b5b14 RH |
25765 | 2002-01-30 Richard Henderson <rth@redhat.com> |
25766 | ||
25767 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
25768 | and new_dest are the same. | |
25769 | ||
e803a64b RH |
25770 | 2002-01-30 Richard Henderson <rth@redhat.com> |
25771 | ||
89cf7be5 | 25772 | PR opt/5076 |
e803a64b RH |
25773 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
25774 | * rtl.c (note_insn_name): Update. | |
25775 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
25776 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
25777 | to perform loop rotation. | |
25778 | (expand_exit_loop_top_cond): New. | |
25779 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
25780 | * c-semantics.c (genrtl_while_stmt): Use it. | |
25781 | (genrtl_for_stmt): Likewise. | |
25782 | ||
0b51254d AO |
25783 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
25784 | ||
25785 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
25786 | arguments to 64-bit boundaries on 64-bit ABIs. | |
25787 | ||
71cef493 SE |
25788 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
25789 | ||
25790 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
25791 | ||
6169e5fd JM |
25792 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
25793 | ||
25794 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
25795 | invalid type. | |
25796 | ||
86f808dc DB |
25797 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
25798 | ||
25799 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
25800 | * config/sparc/sparc_bi.h: Remove file. | |
25801 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
25802 | ||
5748ebeb RH |
25803 | 2002-01-30 Richard Henderson <rth@redhat.com> |
25804 | ||
25805 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
25806 | ||
20d32cc2 ZW |
25807 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
25808 | ||
25809 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
25810 | ||
b88c0704 | 25811 | 2002-01-30 Jason Merrill <jason@redhat.com> |
6bb28965 JM |
25812 | |
25813 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
25814 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
25815 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
25816 | ||
25817 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
25818 | ||
37060e78 JJ |
25819 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
25820 | ||
25821 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
25822 | in cselib_lookup. | |
25823 | ||
d18dba68 AH |
25824 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
25825 | ||
bebc7e8b ZW |
25826 | * rs6000.md ("*call_value_local32"): Remove constraints. |
25827 | ("*call_value_local64"): Same. | |
25828 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
25829 | ("*call_value_nonlocal_aix32"): Same. | |
25830 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
25831 | ("*call_value_nonlocal_aix64"): Same. | |
25832 | ("*call_value_nonlocal_sysv"): Same. | |
d18dba68 | 25833 | |
80a8aac6 RH |
25834 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25835 | ||
25836 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
25837 | ||
12beba6f RH |
25838 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25839 | ||
25840 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
25841 | address loads. | |
25842 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
25843 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
25844 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
25845 | instead of open-coded loop. | |
25846 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
25847 | be fixed when in use. | |
25848 | ||
2583081e RH |
25849 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25850 | ||
25851 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
25852 | * sched-rgn.c (propagate_deps): Update them. | |
25853 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
25854 | clobbers list when either gets too long. | |
25855 | ||
3b8d200e JJ |
25856 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
25857 | ||
25858 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
25859 | and INDEX_REGS the same as GENERAL_REGS. | |
25860 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
25861 | ||
2d3115eb NB |
25862 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
25863 | ||
bebc7e8b | 25864 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
2d3115eb | 25865 | |
ecbe845e UW |
25866 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
25867 | ||
bebc7e8b | 25868 | * config/s390/s390.md (movstrsico, movstrdix_64, |
ecbe845e | 25869 | movstrsix_31): Remove, replace by ... |
bebc7e8b | 25870 | (movstrdi_short, movstrsi_short, movstrdi_long, |
ecbe845e UW |
25871 | movstrsi_long): ... these. New. |
25872 | (movstrdi, movstrsi): Adapt. | |
25873 | ||
25874 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
bebc7e8b | 25875 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
ecbe845e UW |
25876 | Remove unnecessary CC clobber. |
25877 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
25878 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
25879 | ||
25880 | (divmoddi4): Don't partially initialize TImode register. | |
25881 | ||
0b32fca5 GK |
25882 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
25883 | ||
25884 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
25885 | ||
08ef5437 RH |
25886 | 2002-01-29 Richard Henderson <rth@redhat.com> |
25887 | ||
25888 | * flow.c (print_rtl_and_abort): Remove. | |
25889 | (print_rtl_and_abort_fcn): Remove. | |
25890 | (verify_local_live_at_start): Use dump_bb instead. | |
25891 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
25892 | (verify_wide_reg_1): Return 2 on mode test failure. | |
25893 | ||
8469e54e NB |
25894 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
25895 | ||
25896 | PR c/3325, c/3326, c/2511, c/3347 | |
25897 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
25898 | (grokdeclarator): Take bitfield width as an input. | |
25899 | Ensure bitfields are given the correct type. Perform | |
25900 | bitfield width validation with build_bitfield_integer_type | |
25901 | rather than waiting for finish_struct. | |
25902 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
25903 | push_parmdecl, grokfield, start_function): Update calls to | |
25904 | grokdeclarator. | |
25905 | (build_bitfield_integer_type): New function. | |
25906 | (finish_struct): Move bitfield validation to grokdeclarator | |
bebc7e8b | 25907 | and build_bitfield_integer_type. |
8469e54e NB |
25908 | * tree.c (build_nonstandard_integer_type): New function. |
25909 | * tree.h (build_nonstandard_integer_type): New prototype. | |
25910 | objc: | |
25911 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
25912 | ||
ffdeea47 JJ |
25913 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
25914 | ||
25915 | PR other/1502: | |
25916 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
25917 | don't ignore unrecognized -W* options. | |
25918 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
25919 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
25920 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
25921 | cpp_handle_option. | |
25922 | ||
25923 | PR c/2896: | |
25924 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
25925 | (cpp_options): Source cpp_unique_options. | |
25926 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
25927 | when used together with cc1_options. | |
25928 | (static_specs): Add cpp_unique_options. | |
25929 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
25930 | when used together with cc1_options. | |
25931 | ||
1a275226 KH |
25932 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
25933 | ||
25934 | * config/h8300/h8300-protos.h: Update the prototype of | |
25935 | output_a_shift. | |
25936 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
25937 | argument 'insn'. Remove redundant code. | |
25938 | * config/h8300/h8300.md: Adust to the new prototype of | |
25939 | output_a_shift. | |
25940 | ||
a11d9dfc KH |
25941 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
25942 | ||
25943 | * config/h8300/h8300-protos.h: Update the prototypes of | |
25944 | emit_a_rotate and expand_a_rotate. | |
25945 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
25946 | first argument to 'enum rtx_code'. | |
25947 | (expand_a_rotate): Likewise. | |
25948 | ||
871f73e3 KH |
25949 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
25950 | ||
25951 | * config/h8300/h8300-protos.h: Update the prototype of | |
25952 | output_simode_bld. | |
25953 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
25954 | 'log2'. | |
25955 | * config/h8300/h8300.md: Adjust to the new prototype. | |
25956 | ||
5fc4b751 KH |
25957 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
25958 | ||
25959 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
25960 | redundant code. | |
25961 | ||
2d67bd7b JDA |
25962 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
25963 | ||
25964 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
25965 | is a fixed register before returning pic_offset_table_rtx. | |
25966 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
25967 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
25968 | ||
5a852b3e JM |
25969 | 2002-01-28 Jason Merrill <jason@redhat.com> |
25970 | ||
6bb28965 | 25971 | * dwarf2.h: Sync with src version. |
5a852b3e | 25972 | |
3bca17dd PK |
25973 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
25974 | ||
25975 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
25976 | BT_FN_VOID_PTR_VAR. | |
25977 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
25978 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
25979 | first argument is now const void ptr. | |
25980 | ||
7dc3f8c0 KH |
25981 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
25982 | ||
25983 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
25984 | ||
e83cb5f0 RZ |
25985 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
25986 | ||
25987 | * toplev.c (lang_independent_init): Round up identifier size. | |
25988 | ||
5721cd84 RE |
25989 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
25990 | ||
25991 | * config.gcc: Revert previous change. | |
25992 | ||
d534119e AP |
25993 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
25994 | ||
25995 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
25996 | ||
5a721dab RE |
25997 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
25998 | ||
25999 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
26000 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
26001 | other non-elf netbsd config frags. | |
26002 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
26003 | collect2 will does that. | |
26004 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
26005 | shared-lib frobbing will work. | |
26006 | ||
da1775d6 KH |
26007 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
26008 | ||
26009 | * config/h8300/h8300.h: Fix formatting. | |
26010 | * config/h8300/h8300.md: Likewise. | |
26011 | ||
8f2e963b LR |
26012 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
26013 | ||
26014 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
26015 | the old, removed AAA_standards fix. | |
26016 | * fixinc/fixincl.x: Rebuilt. | |
26017 | ||
fdae5767 HPN |
26018 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
26019 | ||
26020 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
26021 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
26022 | register EH before registering __fini__start. | |
26023 | ||
2a2ecb63 AH |
26024 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
26025 | ||
26026 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
26027 | ||
8ed43adf KH |
26028 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
26029 | ||
26030 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
26031 | with ones that work. | |
26032 | ||
917afb0c RK |
26033 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26034 | ||
26035 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
26036 | if not STRICT_ALIGNMENT. | |
26037 | * rtl.h (MEM_ALIGN): Likewise. | |
26038 | ||
f70a54cb CR |
26039 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26040 | ||
26041 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
26042 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
26043 | ||
d8fd4914 KH |
26044 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
26045 | ||
26046 | * config/h8300/h8300.md (define_constants): New. | |
26047 | (anonymous patterns) Use defined constants appropriately. | |
26048 | ||
15e0e275 KH |
26049 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
26050 | ||
26051 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
26052 | ||
37a0f8a5 RH |
26053 | 2002-01-26 Richard Henderson <rth@redhat.com> |
26054 | ||
26055 | * sched-deps.c (reg_pending_uses_head): New. | |
26056 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
26057 | (find_insn_list): Don't mark inline. | |
26058 | (find_insn_mem_list): Remove. | |
26059 | (add_dependence_list, add_dependence_list_and_free): New. | |
26060 | (flush_pending_lists): Replace only_write param with separate | |
26061 | for_read and for_write parameters. Update all callers. Use | |
26062 | add_dependence_list_and_free. | |
26063 | (sched_analyze_1): Do not add reg dependencies here; just set | |
26064 | the pending bits. Use add_dependence_list. | |
26065 | (sched_analyze_2): Likewise. | |
26066 | (sched_analyze_insn): Replace schedule_barrier_found with | |
26067 | reg_pending_barrier. Add all dependencies for pending reg | |
26068 | uses, sets, and clobbers. | |
26069 | (sched_analyze): Don't add reg dependencies for calls, just | |
26070 | set pending bits. Use regs_invalidated_by_call. Treat | |
26071 | sched_before_next_call as a normal list, not a fake insn. | |
26072 | (init_deps): No funny init for sched_before_next_call. | |
26073 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
26074 | (init_deps_global): Init reg_pending_uses. | |
26075 | (finish_deps_global): Free it. | |
26076 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
26077 | (find_insn_mem_list): Remove. | |
26078 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
26079 | (propagate_deps): Use them. Zero temp mem lists. | |
26080 | ||
cea3bd3e RH |
26081 | 2002-01-26 Richard Henderson <rth@redhat.com> |
26082 | ||
26083 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
26084 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
26085 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
26086 | crtstuff.c instead of alpha assembly version. | |
26087 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
26088 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
26089 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
26090 | (__do_global_dtors_aux): Mark used. | |
26091 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
26092 | (fini_dummy, init_dummy): Remove. | |
26093 | ||
26094 | * config/alpha/crtbegin.asm: Remove file. | |
26095 | * config/alpha/crtend.asm: Remove file. | |
26096 | * config/alpha/t-crtbe: Remove file. | |
26097 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
26098 | (LINK_EH_SPEC): New. | |
26099 | ||
26100 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
26101 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
26102 | calling constructors. | |
26103 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
26104 | ||
26105 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
26106 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
26107 | CRT_END_INIT_DUMMY hack. | |
26108 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
26109 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
26110 | ||
26111 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
26112 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
26113 | ||
26114 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
26115 | invocation sequence. | |
26116 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
26117 | ||
26118 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
26119 | (FORCE_CODE_SECTION_ALIGN): New. | |
26120 | ||
60ffa0e5 RH |
26121 | 2002-01-26 Richard Henderson <rth@redhat.com> |
26122 | ||
26123 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
26124 | ||
61334ebe RH |
26125 | 2002-01-26 Richard Henderson <rth@redhat.com> |
26126 | ||
26127 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
26128 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
26129 | ||
1d788fb6 KH |
26130 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
26131 | ||
26132 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
26133 | cannot be triggered. | |
26134 | Restrict each bit extraction pattern to a variant on which the | |
26135 | pattern is tested. | |
26136 | ||
87611f88 JM |
26137 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
26138 | ||
26139 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
26140 | ||
cd74ec59 KH |
26141 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
26142 | ||
26143 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
26144 | be triggered. | |
26145 | Restrict each bit test pattern to a variant on which the | |
26146 | pattern is tested. | |
26147 | ||
93051e0f KG |
26148 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
26149 | ||
26150 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
26151 | INTEGER_CST. | |
26152 | ||
216c995f DB |
26153 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
26154 | ||
26155 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
26156 | default setting. | |
26157 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
26158 | existing setting. | |
26159 | ||
33c7f925 GK |
26160 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
26161 | ||
26162 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
26163 | stripping off the first character. | |
26164 | (dbxout_source_file): Likewise. | |
26165 | ||
6cd444b4 DD |
26166 | 2002-01-25 DJ Delorie <dj@redhat.com> |
26167 | ||
26168 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
26169 | using rtx_equal_p, not by comparing pointers. | |
26170 | ||
751551d5 SE |
26171 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
26172 | ||
26173 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
26174 | for PIC_OFFSET_TABLE_REGNUM. | |
26175 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
26176 | ||
e564e618 DB |
26177 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
26178 | ||
26179 | * config.gcc (x86_64-*-freebsd*): New target. | |
26180 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
26181 | value. | |
26182 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
26183 | * config/i386/freebsd64.h: New file. | |
26184 | ||
ff3aaf17 DR |
26185 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
26186 | ||
4857d29d DR |
26187 | * config/alpha/x-vms (version): Make static. |
26188 | ||
26189 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
26190 | in previous checkin. | |
26191 | ||
ff3aaf17 DR |
26192 | * Makefile.in (install-headers-cp): New target. |
26193 | * config.gcc (alpha-dec-*vms*): Install headers with | |
26194 | install-headers-cp | |
26195 | ||
48d79c43 JH |
26196 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
26197 | ||
26198 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
26199 | avoid it's copies. | |
26200 | ||
995b5904 RK |
26201 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26202 | ||
26203 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
26204 | of compare_tree_int. | |
26205 | (expand_builtin_strncat): Likewise. | |
26206 | * c-decl.c (finish_struct): Use tree_low_cst. | |
26207 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
26208 | * tree.c (compare_tree_int): Likewise. | |
26209 | ||
75eefe3f UW |
26210 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
26211 | ||
26212 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
26213 | adjustments even if they are implemented by more than two insns. | |
26214 | ||
5a133afd JH |
26215 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
26216 | ||
995b5904 | 26217 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
5a133afd JH |
26218 | * df.h (struct ref): Kill B. |
26219 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
26220 | ||
26221 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
26222 | * flow.c (propagate_one_insn): Use it. | |
26223 | (mark_used_regs): Handle NIL. | |
26224 | ||
ead39bdf | 26225 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
3d8dd3c0 GK |
26226 | |
26227 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
26228 | to help folding. | |
26229 | ||
01a2ccd0 DE |
26230 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
26231 | ||
26232 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
26233 | is restricted to legitimate form for instruction. | |
26234 | ||
fd29f6ea BW |
26235 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
26236 | ||
26237 | * doc/install.texi (xtensa-*-elf): New target. | |
26238 | (xtensa-*-linux*): New target. | |
26239 | * doc/contrib.texi: Add myself. | |
26240 | ||
55492b32 NC |
26241 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
26242 | ||
26243 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
26244 | purpose register to hold an SImode (or smaller) value. | |
26245 | ||
72c7c913 JJ |
26246 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
26247 | ||
26248 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
26249 | registry only. | |
26250 | * crtstuff.c: Likewise. | |
26251 | ||
c4df4ceb KH |
26252 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
26253 | ||
26254 | * config/h8300/h8300.md (negation patterns): Tighten | |
26255 | predicates to register_operand. | |
26256 | ||
70e531f5 AH |
26257 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
26258 | ||
3bca17dd PK |
26259 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
26260 | mode, not Pmode. | |
70e531f5 | 26261 | |
3bca17dd | 26262 | * builtins.c (expand_builtin_prefetch): Same. |
70e531f5 | 26263 | |
a4f76ef9 AO |
26264 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
26265 | ||
26266 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
26267 | modes. | |
26268 | ||
9bf25b09 KH |
26269 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
26270 | ||
26271 | * config/h8300/h8300.c (print_operand): Remove support for | |
26272 | operand character 'A'. | |
26273 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
26274 | operand character 'A' with either 'T' or 'S'. | |
26275 | ||
974af6a5 KH |
26276 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
26277 | ||
26278 | * config/h8300/h8300.c (print_operand): Remove support for | |
26279 | operand character 'U'. | |
26280 | ||
7a5bb7b8 AP |
26281 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
26282 | ||
3bca17dd | 26283 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
7a5bb7b8 | 26284 | |
92a4639e NC |
26285 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
26286 | ||
26287 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
26288 | values to be assigned to the stack pointer. | |
26289 | ||
467cb2da HP |
26290 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
26291 | ||
bebc7e8b | 26292 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
467cb2da HP |
26293 | to const_double needs to be done right for big-endian systems. |
26294 | ||
3b6cb920 JM |
26295 | 2002-01-24 Jason Merrill <jason@redhat.com> |
26296 | ||
b08dd119 | 26297 | PR c++/2432 |
3b6cb920 JM |
26298 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
26299 | to can_throw_internal. | |
26300 | ||
f3077311 RH |
26301 | 2002-01-23 Richard Henderson <rth@redhat.com> |
26302 | ||
26303 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
26304 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
26305 | ||
e1d71275 AO |
26306 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
26307 | ||
26308 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
26309 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
26310 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
26311 | as a temporary, if possible. | |
26312 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
26313 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
26314 | ||
dc271dbe KH |
26315 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
26316 | ||
26317 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
26318 | accept to accept 0x80 as operands[2]. | |
26319 | ||
1a9017f9 AO |
26320 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
26321 | ||
26322 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
26323 | ||
6932f033 RH |
26324 | 2002-01-23 Richard Henderson <rth@redhat.com> |
26325 | ||
26326 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
26327 | ||
709619d9 AH |
26328 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
26329 | ||
3bca17dd PK |
26330 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
26331 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
26332 | an attribute. | |
709619d9 | 26333 | |
3d709fd3 RH |
26334 | 2002-01-23 Richard Henderson <rth@redhat.com> |
26335 | ||
26336 | * expr.c (move_by_pieces_1): Extend size before negation. | |
26337 | ||
88a446c0 RH |
26338 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
26339 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
26340 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
26341 | * config/m68k/t-m68kelf: Likewise. | |
26342 | ||
03984308 BW |
26343 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
26344 | ||
26345 | * config/xtensa/elf.h: New file. | |
26346 | * config/xtensa/lib1funcs.asm: New file. | |
26347 | * config/xtensa/lib2funcs.S: New file. | |
26348 | * config/xtensa/linux.h: New file. | |
26349 | * config/xtensa/t-xtensa: New file. | |
26350 | * config/xtensa/xtensa-config.h: New file. | |
26351 | * config/xtensa/xtensa-protos.h: New file. | |
26352 | * config/xtensa/xtensa.c: New file. | |
26353 | * config/xtensa/xtensa.h: New file. | |
26354 | * config/xtensa/xtensa.md: New file. | |
26355 | * config.gcc (xtensa-*-elf*): New target. | |
26356 | (xtensa-*-linux*): New target. | |
26357 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
26358 | numbers. This is required for the Xtensa port. | |
26359 | * integrate.c (copy_insn_list): Handle case where the static | |
26360 | chain is in memory and the memory address has to be copied to | |
26361 | a register. | |
26362 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
26363 | (Xtensa Options): New node. | |
26364 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
26365 | ||
c3d5c3fa ZW |
26366 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
26367 | ||
a63bea75 ZW |
26368 | * diagnostic.c (internal_error): Do ICE suppression only |
26369 | when ENABLE_CHECKING is not defined. | |
26370 | ||
c3d5c3fa ZW |
26371 | * c-typeck.c (require_complete_type): Return error_mark_node |
26372 | if type is error_mark_node. | |
26373 | ||
1398974c JJ |
26374 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
26375 | ||
26376 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
26377 | -Os and issue a warning. | |
26378 | ||
807633e5 ZW |
26379 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
26380 | ||
26381 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
26382 | current (lack of) need for host configuration by hand. | |
26383 | ||
26384 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
26385 | references. Documentation of some target macros moved from | |
26386 | hostconfig.texi to tm.texi. | |
26387 | ||
cf8002d0 WC |
26388 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
26389 | ||
26390 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
26391 | defined. | |
26392 | ||
d1e76310 KH |
26393 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
26394 | ||
26395 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
26396 | operand[3]. | |
26397 | ||
b2115575 JM |
26398 | 2002-01-23 Jason Merrill <jason@redhat.com> |
26399 | ||
f893c16e JM |
26400 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
26401 | ||
b2115575 JM |
26402 | * function.c (assign_parms): Don't put args of inline functions |
26403 | into registers when not optimizing. | |
26404 | ||
6bacc7b0 NC |
26405 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
26406 | ||
26407 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
26408 | (prologue_use): New pattern. | |
26409 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
26410 | preference to gen_rtx_USE. | |
26411 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
26412 | gen_rtx_USE. | |
26413 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
26414 | gen_rtx_USE. | |
26415 | ||
a415f7bc HPN |
26416 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
26417 | ||
26418 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
26419 | ||
5372b3fb NB |
26420 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
26421 | ||
26422 | PR c/3504 | |
26423 | * doc/extend.texi: Correct documentation of __alignof__. | |
26424 | ||
bd571ffc ZW |
26425 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
26426 | ||
26427 | * params.h: Rename arguments of DEFPARAM so that it will be | |
26428 | recognized as a translation keyword. | |
26429 | ||
333c8841 AH |
26430 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
26431 | ||
bd571ffc ZW |
26432 | * extend.texi: Document altivec functions. |
26433 | Fix N-bit adjectives in X86 builtin documentation. | |
333c8841 | 26434 | |
38979c65 AO |
26435 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
26436 | ||
26437 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
26438 | auto_inc_dec values. | |
26439 | ||
7458a9f0 RE |
26440 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
26441 | ||
26442 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
26443 | after backslash. | |
26444 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
26445 | ||
129bd0c4 AO |
26446 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
26447 | ||
26448 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
26449 | ||
8b9b74a9 RH |
26450 | 2002-01-22 Richard Henderson <rth@redhat.com> |
26451 | ||
26452 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
26453 | copy_insn not copy_rtx. | |
26454 | ||
d0c9db30 AM |
26455 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
26456 | ||
26457 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
26458 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
26459 | properly sign extened. | |
26460 | (force_to_mode): Tweak for sign extended constop. | |
26461 | ||
1e7e480e RH |
26462 | 2002-01-22 Richard Henderson <rth@redhat.com> |
26463 | ||
26464 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
26465 | for_each_rtx instead of assuming we're already looking at the MEM. | |
26466 | (split_small_symbolic_mem_operand): Likewise. | |
26467 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
26468 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
26469 | ||
26470 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
2e271932 RH |
26471 | |
26472 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
26473 | sequence number for the literal. | |
26474 | (divmoddi_internal_er): Likewise. | |
26475 | ||
b7f2fb96 CR |
26476 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26477 | ||
26478 | PR java/4972 | |
26479 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
26480 | in LIBICONV variable. | |
26481 | * configure: Regenerated. | |
26482 | ||
f66a0046 KW |
26483 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
26484 | ||
26485 | * dependence.c (build_def_use): Remove array_idx. | |
26486 | ||
e3b0efd1 KW |
26487 | * dwarfout.c (last_filename): Remove. |
26488 | (output_compile_unit_die): Remove last_filename. | |
26489 | ||
d8086cbb RS |
26490 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
26491 | Richard Henderson <rth@redhat.com> | |
26492 | ||
26493 | PR opt/3640 | |
26494 | * fold-const.c (fold): Optimize unsigned comparisons against | |
26495 | UINT_MAX (and similar unsigned constants). | |
26496 | ||
e8d52ba0 JJ |
26497 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
26498 | ||
d8086cbb | 26499 | * Makefile.in (loop.o): Depend on OPTABS_H. |
1398974c | 26500 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
d8086cbb | 26501 | against the predicate. |
11303d15 | 26502 | |
e8d52ba0 JJ |
26503 | PR target/5379 |
26504 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
26505 | for the address operand. | |
26506 | ||
cc7b420e RH |
26507 | 2002-01-22 Richard Henderson <rth@redhat.com> |
26508 | ||
26509 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
26510 | ||
816e265a CR |
26511 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26512 | ||
26513 | PR other/5450 | |
cc7b420e RH |
26514 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
26515 | preprocessor flags. | |
816e265a | 26516 | |
7c884404 JT |
26517 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
26518 | ||
26519 | * config.gcc (x86_64-*-netbsd*): New target. | |
26520 | * config/i386/netbsd64.h: New file. | |
26521 | ||
2b672c08 AH |
26522 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
26523 | ||
d8086cbb | 26524 | * regrename.c (kill_value): Fix typo. |
2b672c08 AH |
26525 | |
26526 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
26527 | ||
d8086cbb | 26528 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
2b672c08 | 26529 | |
d8086cbb | 26530 | * config/rs6000/rs6000.h: Same. |
2b672c08 | 26531 | |
d8086cbb RS |
26532 | * function.c (instantiate_virtual_regs): Remove |
26533 | STARTING_FRAME_PHASE. | |
26534 | (assign_stack_local_1): Same. | |
26535 | Calculate frame phase. | |
2b672c08 | 26536 | |
4b02997f NC |
26537 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
26538 | ||
26539 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
26540 | variable declaration to outer scope in order to simplify | |
26541 | future extensions. | |
26542 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
26543 | arm_hard_regno_mode_ok. | |
26544 | * config/arm/arm-protos.h: Add a prototype for | |
26545 | arm_hard_regno_mode_ok. | |
26546 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
26547 | check for DImode values using IP_REGNUM. | |
26548 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
26549 | DImode values using IP_REGNUM. | |
26550 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
26551 | that DImode values are not stored in IP_REGNUM. | |
c14a3a45 NC |
26552 | |
26553 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
26554 | note with a USE. | |
26555 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
26556 | ||
8a827ab2 JM |
26557 | 2002-01-22 Jason Merrill <jason@redhat.com> |
26558 | ||
26559 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
26560 | consistency if this COMPOUND_STMT is scoped. | |
26561 | ||
cf403648 KH |
26562 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
26563 | ||
26564 | * predict.c: Fix formatting. | |
26565 | * print-tree.c: Likewise. | |
26566 | * protoize.c: Likewise. | |
26567 | * real.h: Likewise. | |
26568 | * rtl.h: Likewise. | |
26569 | * sbitmap.h: Likewise. | |
26570 | * scan.c: Likewise. | |
26571 | * sched-deps.c: Likewise. | |
26572 | * sched-vis.c: Likewise. | |
26573 | * sdbout.c: Likewise. | |
26574 | * sibcall.c: Likewise. | |
26575 | * ssa.c: Likewise. | |
26576 | * ssa-ccp.c: Likewise. | |
26577 | * ssa-dce.c: Likewise. | |
26578 | * stmt.c: Likewise. | |
26579 | * stor-layout.c: Likewise. | |
26580 | * system.h: Likewise. | |
26581 | ||
aea9695c RK |
26582 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26583 | ||
a8765ae7 RK |
26584 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
26585 | if fits in bounds of base type. | |
26586 | ||
aea9695c RK |
26587 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
26588 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
26589 | (add_bound_info, default): If can't find a context, make a | |
26590 | SAVE_EXPR. | |
26591 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
26592 | ||
58bf601b HPN |
26593 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
26594 | ||
26595 | * c-typeck.c (parser_build_binary_op): If result from | |
26596 | build_binary_op is ERROR_MARK just return error_mark_node without | |
26597 | further processing. | |
26598 | ||
f982f805 JT |
26599 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
26600 | ||
26601 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
26602 | Split a.out-specific bits into... | |
26603 | * config/netbsd-aout.h: ...this. | |
26604 | * config/netbsd-elf.h: New file. | |
26605 | * config/alpha/netbsd-elf.h: Remove. | |
26606 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
26607 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
bd571ffc | 26608 | (STARTFILE_SPEC): Remove redundant definition. |
f982f805 JT |
26609 | (ENDFILE_SPEC): Likewise. |
26610 | (LINK_SPEC): Likewise. | |
26611 | (CPP_SPEC): Likewise. | |
26612 | (ASM_SPEC): Likewise. | |
26613 | (LIB_SPEC): Likewise. | |
26614 | (SWITCH_TAKES_ARG): Likewise. | |
26615 | (TARGET_MEM_FUNCTIONS): Likewise. | |
26616 | (CPP_PREDEFINES): Redefine. | |
26617 | (ASM_FINAL_SPEC): Remove redefinition. | |
26618 | (ASM_COMMENT_START): Redefine. | |
26619 | (FUNCTION_PROFILER): Define. | |
26620 | (TARGET_VERSION): Redefine. | |
26621 | Comment and formatting cleanup. | |
26622 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
26623 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
26624 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
26625 | big- or little-endian. | |
26626 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
26627 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
26628 | NetBSD configs. | |
26629 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
26630 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
26631 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
26632 | tmake_file, and don't lose previous tmake_file contents. | |
26633 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
26634 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
26635 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
26636 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
26637 | (mipsel-*-netbsd*): Rename this to... | |
26638 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
26639 | mips/little.h to tm_file for mips*el-*. | |
26640 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
26641 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
26642 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
26643 | ||
2e396476 JDA |
26644 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
26645 | ||
26646 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
26647 | * pa.c (reg_before_reload_operand): New function implementation. | |
26648 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
26649 | contraints to "*m". | |
26650 | ||
3b5708e7 FS |
26651 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
26652 | ||
26653 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
26654 | ||
85e79f96 JDA |
26655 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
26656 | ||
26657 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
26658 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
26659 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
26660 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
26661 | (ENDFILE_SPEC): Undefine. | |
26662 | (STARTFILE_SPEC): Redefine for PA. | |
26663 | ||
38abadee FS |
26664 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
26665 | ||
26666 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
26667 | ||
94f1d97c DJ |
26668 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
26669 | ||
26670 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
26671 | types. | |
26672 | ||
0333394e JJ |
26673 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
26674 | ||
26675 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
26676 | true for 64-bit mode only SSE registers in 32-bit mode. | |
26677 | ||
e9d1b155 KH |
26678 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
26679 | ||
26680 | * unwind-dw2.c: Fix formatting. | |
26681 | * unwind-dw2-fde.c: Likewise. | |
26682 | * unwind-dw2-fde.h: Likewise. | |
26683 | * unwind-pe.h: Likewise. | |
26684 | * varasm.c: Likewise. | |
26685 | * varray.h: Likewise. | |
26686 | ||
07338cf8 HPN |
26687 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
26688 | ||
26689 | Remove workaround for register stack overwrite bug in mmix. | |
26690 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
26691 | support for TARGET_REG_STACK_FILL_BUG. | |
26692 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
26693 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
26694 | Delete. | |
26695 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
26696 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
26697 | -mno-reg-stack-fill-bug-workaround. | |
26698 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
26699 | machine member has_call_without_parameters. | |
26700 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
26701 | -mreg-stack-fill-bug-workaround and | |
26702 | -mno-reg-stack-fill-bug-workaround. | |
26703 | (MMIX Options): Ditto. | |
26704 | ||
7192cbf1 KH |
26705 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
26706 | ||
26707 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
26708 | as appropriate. | |
26709 | Remove redundant code. | |
26710 | ||
d1552d7b JM |
26711 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
26712 | ||
26713 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
26714 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
26715 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
26716 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
26717 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
26718 | out target macro definitions and non-target-specific comments | |
26719 | mostly taken from old versions of the manual. | |
26720 | ||
ed168e45 KH |
26721 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26722 | ||
26723 | * config/h8300/h8300.h: Fix comment formatting. | |
26724 | * config/ia64/aix.h: Likewise. | |
26725 | * config/ia64/ia64-protos.h: Likewise. | |
26726 | * config/ia64/ia64.c: Likewise. | |
26727 | * config/ia64/ia64.h: Likewise. | |
26728 | * config/ia64/ia64intrin.h: Likewise. | |
26729 | * config/ia64/linux.h: Likewise. | |
26730 | * config/ia64/unwind-aix.c: Likewise. | |
26731 | * config/ia64/unwind-ia64.c: Likewise. | |
26732 | ||
005e3e05 KH |
26733 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26734 | ||
26735 | * config/h8300/h8300.c: Revise comments about shift code. | |
26736 | ||
64bead4c KH |
26737 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26738 | ||
26739 | * config/h8300/h8300.c (function_arg): Update a comment. | |
26740 | ||
ed863595 KH |
26741 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26742 | ||
26743 | * config/h8300/h8300.md: Update the comments at the beginning | |
26744 | of the file. | |
26745 | ||
5904dc87 KH |
26746 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
26747 | ||
26748 | * config/i370/i370.c: Fix comment formatting. | |
26749 | * config/i370/i370.h: Likewise. | |
26750 | * config/i370/i370.md: Likewise. | |
26751 | * config/i370/linux.h: Likewise. | |
26752 | ||
9702143f RK |
26753 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26754 | ||
cbafacd1 RK |
26755 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
26756 | ||
9702143f RK |
26757 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
26758 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
26759 | in incomplete case. | |
26760 | ||
6b6996b8 GS |
26761 | 2002-01-20 Graham Stott <grahams@redhat.com> |
26762 | ||
26763 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
26764 | ||
eab854f6 JDA |
26765 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
26766 | ||
26767 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
26768 | ||
5b029315 TR |
26769 | 2002-01-19 Tom Rix <trix@redhat.com> |
26770 | ||
26771 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
26772 | ||
1d690052 AH |
26773 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
26774 | ||
d8086cbb | 26775 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
1d690052 | 26776 | |
d8086cbb RS |
26777 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
26778 | STARTING_FRAME_PHASE. | |
26779 | (STARTING_FRAME_PHASE): New. | |
26780 | (instantiate_virtual_regs): Check saneness of | |
26781 | STARTING_FRAME_PHASE. | |
1d690052 | 26782 | |
d8086cbb | 26783 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
1d690052 | 26784 | |
4dd8c093 AO |
26785 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
26786 | ||
26787 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
26788 | ||
6f2a28d7 CR |
26789 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
26790 | ||
26791 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
26792 | be used for bootstrapping GCC 3.0. | |
26793 | ||
8763a465 KH |
26794 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
26795 | ||
26796 | * config/h8300/h8300.md: Fix an insn length. | |
26797 | ||
3ef42a0c KH |
26798 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
26799 | ||
26800 | * bitmap.h: Fix comment formatting. | |
26801 | * combine.c: Likewise. | |
26802 | * cppfiles.c: Likewise. | |
26803 | * c-pragma.h: Likewise. | |
26804 | * c-typeck.c: Likewise. | |
26805 | * df.c: Likewise. | |
26806 | * dwarf2out.c: Likewise. | |
26807 | * function.c: Likewise. | |
26808 | * gcc.c: Likewise. | |
26809 | * genattrtab.c: Likewise. | |
26810 | * gthr-win32.h: Likewise. | |
26811 | * haifa-sched.c: Likewise. | |
26812 | * predict.c: Likewise. | |
26813 | * rtlanal.c: Likewise. | |
26814 | * rtl.h: Likewise. | |
26815 | * unwind-dw2-fde.h: Likewise. | |
26816 | * unwind-pe.h: Likewise. | |
26817 | * vmsdbgout.c: Likewise. | |
26818 | ||
dd4dc3cd RK |
26819 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
26820 | ||
26821 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
26822 | if type_required and passed decl. | |
26823 | ||
5fb4cf24 AH |
26824 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
26825 | ||
d8086cbb RS |
26826 | * config.gcc (cpu_type): Include altivec.h in powerpc |
26827 | extra_headers. | |
26828 | Same for darwin. | |
5fb4cf24 | 26829 | |
d8086cbb | 26830 | * config/rs6000/altivec.h: New. |
5fb4cf24 | 26831 | |
2705baf5 DE |
26832 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
26833 | ||
26834 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
26835 | handling information. | |
26836 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
26837 | for AIX. | |
26838 | (Misunderstandings): Add template instantiation and static template | |
26839 | member information for AIX. | |
26840 | ||
dbd680e1 JM |
26841 | 2002-01-17 Jason Merrill <jason@redhat.com> |
26842 | ||
821adc5e JM |
26843 | * dbxout.c (dbxout_type): Support const and volatile. |
26844 | ||
dbd680e1 JM |
26845 | * except.c (add_partial_entry): Remove backwards compatibility code. |
26846 | (end_protect_partials): Likewise. | |
26847 | ||
d0e82870 JJ |
26848 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
26849 | ||
26850 | * config/ia64/ia64.md (prologue_use): New. | |
26851 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
26852 | gen_prologue_use instead of gen_rtx_USE. | |
26853 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
26854 | as CODE_FOR_pred_rel_mutex. | |
26855 | (ia64_sched_reorder2): Likewise. | |
26856 | ||
f9f45c65 EC |
26857 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
26858 | ||
26859 | * config/mips/r3900.h: Reformat. | |
26860 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
26861 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
26862 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
26863 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
26864 | * config/mips/t-elf: Remove mips3 multilib. | |
26865 | ||
c66c8b0e L |
26866 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
26867 | ||
26868 | * config/mips/linux.h: Include "mips/abi64.h". | |
26869 | ||
5f083b72 L |
26870 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
26871 | ||
26872 | * config/mips/t-linux: New. | |
26873 | ||
26874 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
26875 | ||
26876 | * config/mips/linux.h: Don't include "gofast.h". | |
26877 | (INIT_SUBTARGET_OPTABS): Removed. | |
26878 | ||
af3c90a6 KH |
26879 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26880 | ||
26881 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
26882 | output_a_shift. | |
26883 | * config/h8300/h8300.c: Likewise. | |
26884 | * config/h8300/h8300.md: Likewise. | |
26885 | ||
a1bf0a16 KH |
26886 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26887 | ||
26888 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
26889 | spaces after an opcode name. | |
26890 | (pushqi1_h8300hs): Likewise. | |
26891 | (pushhi1_h8300hs): Likewise. | |
26892 | ||
88ab0d1c KH |
26893 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26894 | ||
26895 | * doc/extend.texi: Replace "option" with "attribute" | |
26896 | appropriately. | |
26897 | ||
51c561e3 JJ |
26898 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
26899 | ||
26900 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
26901 | (and:DI () (const_int -8)). | |
26902 | (split_small_symbolic_mem_operand): Split | |
26903 | (mem (and:DI () (const_int -8)). | |
26904 | ||
b8c1a6b8 JJ |
26905 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
26906 | ||
26907 | PR target/5309: | |
d8086cbb | 26908 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
b8c1a6b8 JJ |
26909 | same way as TYPE_IMUL. |
26910 | (ultrasparc_sched_reorder): Likewise. | |
26911 | * config/sparc/sparc.md (type): Add comment to update | |
26912 | ultrasparc_sched_reorder when making changes. | |
26913 | ||
1e4e4df2 KH |
26914 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
26915 | ||
26916 | * doc/invoke.texi: Change the dump file name of block | |
26917 | reordering pass from 28.bbro to 29.bbro. | |
26918 | Mention -dk option. | |
26919 | ||
14d920c0 JH |
26920 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
26921 | ||
26922 | * i386.md (minsf splitter): Fix pasto. | |
26923 | ||
2e99323f NC |
26924 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
26925 | ||
26926 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
26927 | to frame pointer initialisation instruction. | |
26928 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
26929 | initialisation instruction. | |
ab8081c1 NC |
26930 | (soft_df_operand): Do not accept the IP register. |
26931 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
2e99323f | 26932 | |
c4031a04 JJ |
26933 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
26934 | ||
26935 | PR target/5357: | |
26936 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
26937 | MASK_V8 being both set. | |
26938 | ||
44b8152b UW |
26939 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
26940 | ||
26941 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
26942 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
26943 | config/s390/s390.md (call, call_value): Add GOT register to | |
26944 | CALL_INSN_FUNCTION_USAGE where needed. | |
26945 | (call_exp, call_value_exp): New. | |
26946 | ||
1d6e90ac NC |
26947 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
26948 | ||
26949 | * config/arm/arm.c: General formatting tidy up. | |
26950 | ||
26951 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
60e8b9f0 GS |
26952 | |
26953 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
26954 | cast and when casting an integer literal to "rtx" pointer. | |
26955 | (expand_call): Likewise. | |
26956 | * flow.c (try_pre_increment): Likewise. | |
26957 | (find_use_as_address): Likewise. | |
26958 | * integrate.c (expand_iline_function): Likewise. | |
26959 | * regmove.c (try_auto_increment): Likewise. | |
26960 | ||
1d6e90ac | 26961 | 2002-01-16 Graham Stott <grahams@redhat.com> |
7b25b076 GS |
26962 | |
26963 | * sched-rgn.c (passed): Use sbitmap_free. | |
26964 | (header): Likewise. | |
26965 | (inner): Likewise. | |
26966 | (in_queue): Likewise. | |
26967 | (in_stack): Likewise. | |
26968 | ||
31fce3c4 EC |
26969 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
26970 | ||
26971 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
26972 | ||
c99d986a KH |
26973 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
26974 | ||
26975 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
26976 | * system.h: Poison SLOW_ZERO_EXTEND. | |
26977 | * doc/tm.texi: Remove. | |
26978 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
26979 | * config/arm/arm.h: Likewise. | |
26980 | * config/avr/avr.h: Likewise. | |
26981 | * config/clipper/clipper.h: Likewise. | |
26982 | * config/convex/convex.h: Likewise. | |
26983 | * config/d30v/d30v.h: Likewise. | |
26984 | * config/dsp16xx/dsp16xx.h: Likewise. | |
26985 | * config/elxsi/elxsi.h: Likewise. | |
26986 | * config/fr30/fr30.h: Likewise. | |
26987 | * config/h8300/h8300.h: Likewise. | |
26988 | * config/i370/i370.h: Likewise. | |
26989 | * config/i386/i386.h: Likewise. | |
26990 | * config/m68k/m68k.h: Likewise. | |
26991 | * config/mips/mips.h: Likewise. | |
26992 | * config/ns32k/ns32k.h: Likewise. | |
26993 | * config/pdp11/pdp11.h: Likewise. | |
26994 | * config/pj/pj.h: Likewise. | |
26995 | * config/s390/s390.h: Likewise. | |
26996 | * config/sh/sh.h: Likewise. | |
26997 | * config/stormy16/stormy16.h: Likewise. | |
26998 | * config/v850/v850.h: Likewise. | |
26999 | * config/vax/vax.h: Likewise. | |
27000 | * config/we32k/we32k.h: Likewise. | |
27001 | ||
acfab996 AH |
27002 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
27003 | ||
d8086cbb RS |
27004 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
27005 | (altivec_lvsl): Change constraint to b. | |
27006 | (altivec_lvsr): Same. | |
27007 | (altivec_lvebx): Same. | |
27008 | (altivec_lvehx): Same. | |
27009 | (altivec_lvewx): Same. | |
27010 | (altivec_lvxl): Same. | |
27011 | (altivec_lvx): Same. | |
27012 | (altivec_stvx): Add parallel. | |
27013 | (altivec_stvxl): Same. | |
27014 | (altivec_stvehx): Same. | |
27015 | (altivec_stvebx): Same. | |
27016 | (altivec_stvebx): Same. | |
acfab996 | 27017 | |
5e505bc9 AH |
27018 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
27019 | ||
d8086cbb | 27020 | * config.gcc: Change altivec.h to altivec-defs.h. |
5e505bc9 | 27021 | |
d8086cbb | 27022 | * config/rs6000/altivec.h: Delete. |
5e505bc9 | 27023 | |
d8086cbb | 27024 | * config/rs6000/altivec-defs.h: Add. |
5e505bc9 | 27025 | |
5c41fdfb JDA |
27026 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
27027 | ||
27028 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
27029 | and UMOD modes. | |
27030 | ||
27031 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
27032 | less than or equal to eight bytes. | |
27033 | ||
27034 | * vax.md (andsi3): Remove constraints and change SET destination | |
27035 | operand type to nonimmediate_operand. | |
27036 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
27037 | when it is a CONST_INT. | |
27038 | ||
de097a2d JM |
27039 | 2002-01-15 Jason Merrill <jason@redhat.com> |
27040 | ||
27041 | * c-common.def (FILE_STMT): New code. | |
27042 | * c-common.c (statement_code_p): It's a statement. | |
27043 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
27044 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
27045 | (last_expr_filename): New macro. | |
27046 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
27047 | (add_stmt): If the filename changed, also insert a | |
27048 | FILE_STMT. | |
27049 | (expand_stmt): Handle seeing one. | |
27050 | ||
4a913dd6 EC |
27051 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
27052 | ||
27053 | * flow.c (propagate_one_insn): Add error message and print out | |
27054 | insn for debugging. | |
27055 | ||
006946e4 JM |
27056 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
27057 | ||
27058 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
27059 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
27060 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
27061 | TRAMPOLINE_ALIGNMENT. | |
27062 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
27063 | to be in bits. | |
27064 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
27065 | PCC_BITFIELD_TYPE_MATTERS. | |
27066 | * config/interix.h (STDC_VALUE): Remove. Use | |
27067 | STDC_0_IN_SYSTEM_HEADERS. | |
27068 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
27069 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
27070 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
27071 | ||
751a1458 CR |
27072 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
27073 | ||
27074 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
27075 | not work on this platform currently. | |
27076 | ||
57771fe8 JM |
27077 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
27078 | ||
27079 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
27080 | readonly_warning in _(). | |
27081 | ||
0e83ceb1 | 27082 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
9a52433e | 27083 | |
0e83ceb1 | 27084 | * gcc.c (delete_if_ordinary): Backout previous change. |
9a52433e | 27085 | |
8e2e89f7 KH |
27086 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
27087 | ||
0e83ceb1 DR |
27088 | * config/h8300/h8300.c (print_operand): Remove support for |
27089 | unused operand characters. | |
27090 | ||
8e2e89f7 KH |
27091 | * read-rtl.c: Fix formatting. |
27092 | * real.c: Likewise. | |
27093 | * recog.c: Likewise. | |
27094 | * regclass.c: Likewise. | |
27095 | * regmove.c: Likewise. | |
27096 | * reg-stack.c: Likewise. | |
27097 | * reload1.c: Likewise. | |
27098 | * rtlanal.c: Likewise. | |
27099 | ||
b531087a KH |
27100 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
27101 | ||
27102 | * config/i386/i386.c: Fix formatting. | |
27103 | ||
7c94ce7f JJ |
27104 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
27105 | ||
27106 | * c-typeck.c (process_init_element): Don't save_expr | |
27107 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
27108 | ||
6041bf2f DE |
27109 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
27110 | ||
27111 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
27112 | emit optional traceback table if optimize_size or TARGET_ELF. | |
27113 | * config/rs6000/rs6000.md (prefetch): New. | |
27114 | ||
8559c8c0 AJ |
27115 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
27116 | ||
27117 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
27118 | ||
70f122f2 KH |
27119 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
27120 | ||
27121 | * mips-tfile.c: Fix formatting. | |
27122 | ||
6a7b4ca6 JH |
27123 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
27124 | ||
27125 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
27126 | ||
e7afe229 KH |
27127 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
27128 | ||
27129 | * config/h8300/h8300-protos.h: Remove the prototype for | |
27130 | eq_operator. | |
27131 | * config/h8300/h8300.c (eq_operator): Remove. | |
27132 | ||
7d378549 RH |
27133 | 2002-01-14 Richard Henderson <rth@redhat.com> |
27134 | ||
27135 | * config/i386/i386.md (prefetch): Tidy. | |
27136 | (prefetch_3dnow): Fix locality operand. | |
27137 | ||
ab093b81 RH |
27138 | 2002-01-14 Richard Henderson <rth@redhat.com> |
27139 | ||
27140 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
27141 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
27142 | ||
d300f51f HPN |
27143 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
27144 | ||
27145 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
27146 | copy_rtx in loop performing multiple changes. | |
27147 | ||
655dd289 JJ |
27148 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
27149 | ||
27150 | * except.c (remove_unreachable_regions): New. | |
27151 | (free_eh_status): Clear exception_handler_labels. | |
27152 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
27153 | (find_exception_handler_labels): Don't add the same label more than | |
27154 | once. | |
27155 | (remove_exception_handler_label): Don't die if | |
27156 | find_exception_handler_labels hasn't been called for the current | |
27157 | function yet. | |
27158 | ||
1fba46a7 JH |
27159 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
27160 | ||
27161 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
27162 | gcse. | |
27163 | ||
0975678f JM |
27164 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
27165 | ||
27166 | * doc/extend.texi: Move documentation of X86 built-in functions | |
27167 | here. | |
27168 | * doc/invoke.texi: From here. | |
27169 | * doc/sourcebuild.texi: Document location of documentation for | |
27170 | machine built-in functions. | |
27171 | ||
969815c7 CF |
27172 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
27173 | ||
27174 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
27175 | (SHOULD_MMAP): Ditto. | |
27176 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
27177 | be used. | |
27178 | ||
494c950b JH |
27179 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
27180 | ||
27181 | * unroll.c (final_reg_note_copy): Properly handle | |
27182 | REG_LABEL | |
27183 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
27184 | ||
69a0611f GK |
27185 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
27186 | ||
27187 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
27188 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
27189 | ||
b90e45ae JH |
27190 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
27191 | ||
27192 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
27193 | threaded loop. | |
27194 | ||
8377288b TR |
27195 | 2002-01-14 Tom Rix <trix@redhat.com> |
27196 | ||
27197 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
27198 | ||
9f37ccb1 UW |
27199 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
27200 | ||
27201 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
27202 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
27203 | (clrstrdi, clrstrsi): Adapt callers. | |
27204 | ||
27205 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
27206 | ||
8559c8c0 | 27207 | (movti splitter): Never use register 0 as base register. |
9f37ccb1 | 27208 | |
6c2d03d0 HP |
27209 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
27210 | ||
8559c8c0 AJ |
27211 | * combine.c (simplify_shift_const): Always generate new rtx |
27212 | for shift expression instead of reusing given expression. | |
6c2d03d0 | 27213 | |
d3e98208 RK |
27214 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
27215 | ||
27216 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
27217 | alpha_legitimize_address unless mode is Pmode. | |
27218 | ||
9f339dde GK |
27219 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
27220 | ||
27221 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
27222 | user. | |
27223 | ||
27224 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
27225 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
27226 | for xstormy16 too. | |
27227 | ||
02a10130 RH |
27228 | 2002-01-13 Richard Henderson <rth@redhat.com> |
27229 | ||
27230 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
27231 | for an input reload of the source. | |
27232 | ||
61d47787 GP |
27233 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
27234 | ||
27235 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
27236 | more generic. | |
27237 | ||
f0df8029 DR |
27238 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
27239 | ||
27240 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
27241 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
27242 | ||
d2a37256 DR |
27243 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
27244 | ||
a9e8a5ee RK |
27245 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
27246 | ||
27247 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
27248 | ||
bc06712d TR |
27249 | 2002-01-12 Tom Rix <trix@redhat.com> |
27250 | ||
8559c8c0 | 27251 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
bc06712d TR |
27252 | TARGET_POWERPC64. |
27253 | ||
7cbe9bb7 RH |
27254 | 2002-01-12 Richard Henderson <rth@redhat.com> |
27255 | ||
38b29e64 RH |
27256 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
27257 | ||
58605ba0 RH |
27258 | * doc/invoke.texi: Update Alpha options. |
27259 | ||
7cbe9bb7 RH |
27260 | * doc/invoke.texi: Update i386 built-in function lists. |
27261 | ||
9d560860 JH |
27262 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
27263 | ||
27264 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
27265 | referencing outside. | |
27266 | ||
bb93b973 RK |
27267 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
27268 | ||
27269 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
27270 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
27271 | offsets, and change line folding. | |
27272 | * optabs.c (expand_binop): Remove warnings. | |
27273 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
8559c8c0 | 27274 | |
f9f6b7df GS |
27275 | 2002-01-12 Graham Stott <grahams@redhat.com> |
27276 | ||
27277 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
27278 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
27279 | dangling else warning and constify WHAT. | |
27280 | * except.h (struct function, struct inline_remap): Move | |
27281 | struct tag forward defs before all prototypes. | |
27282 | (duplicate_eh_regions): Whitespace. | |
27283 | ||
4a692617 NC |
27284 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
27285 | ||
27286 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
27287 | MODE_BASE_REG_CLASS. | |
27288 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
27289 | ||
e37af218 RH |
27290 | 2002-01-12 Richard Henderson <rth@redhat.com> |
27291 | ||
27292 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
27293 | (ix86_expand_vector_move): New. | |
27294 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
27295 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
27296 | Remove old prefetch builtins. Special case the logicals removed above. | |
27297 | (ix86_expand_builtin): Likewise. | |
27298 | (safe_vector_operand): Use V4SFmode, not TImode. | |
27299 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
27300 | (ix86_expand_timode_binop_builtin): New. | |
27301 | * config/i386/i386-protos.h: Update. | |
27302 | * config/i386/i386.h (enum ix86_builtins): Update. | |
27303 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
27304 | Use ix86_expand_vector_move in vector move expanders. | |
27305 | (movti_internal, movti_rex64): Add xorps alternative. | |
27306 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
27307 | (prefetch): Don't work so hard. | |
27308 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
27309 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
27310 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
27311 | ||
6f1a6c5b RH |
27312 | 2002-01-11 Richard Henderson <rth@redhat.com> |
27313 | ||
27314 | * config/i386/mmintrin.h: New file. | |
27315 | * config/i386/xmmintrin.h: New file. | |
27316 | * config.gcc (i?86-*-*): Add extra_headers. | |
27317 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
27318 | truncation codes. | |
27319 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
27320 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
27321 | not the lowpart subreg. | |
27322 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
27323 | on error. | |
27324 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
27325 | ||
cdb574d3 MH |
27326 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
27327 | ||
27328 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
27329 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
8559c8c0 | 27330 | |
cf11ac55 HB |
27331 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
27332 | ||
27333 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
27334 | every where we allocate a register. | |
27335 | ||
76ac938b MH |
27336 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
27337 | ||
27338 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
27339 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
27340 | ||
a84b4898 JJ |
27341 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
27342 | ||
27343 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
27344 | ||
aaef1c12 JJ |
27345 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
27346 | ||
27347 | * doc/rtl.texi (Insns): Fix 2 typos. | |
27348 | ||
5d22c1a5 JM |
27349 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
27350 | ||
27351 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
27352 | options. Use @table @gcctabopt for MMIX options. Add index | |
27353 | entries for MMIX options. Start new paragraph with first | |
27354 | heading of the machine-dependent options. | |
27355 | ||
3e92902c CR |
27356 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
27357 | ||
27358 | PR other/5299 | |
27359 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
27360 | * combine.c (force_to_mode): Same. | |
27361 | * reload1.c (clear_reload_reg_in_use): Same. | |
27362 | ||
96ae8197 NC |
27363 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
27364 | ||
27365 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
27366 | and 'subtargets'. | |
27367 | ||
9b780582 AJ |
27368 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
27369 | Brad Lucier <lucier@math.purdue.edu> | |
27370 | ||
27371 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
27372 | mcpu. | |
27373 | ||
12300dad DR |
27374 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
27375 | ||
27376 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
27377 | Protect with IN_LIBGCC. | |
27378 | (LINK_EH_SPEC): Add required trailing space. | |
27379 | ||
27511a9a NP |
27380 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
27381 | ||
9b780582 | 27382 | * c-tree.h: Move function declarations so that they are listed |
27511a9a NP |
27383 | under the filename which contains them. |
27384 | (check_identifier, finish_decl_top_level, | |
27385 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
27386 | ||
4daeab16 AJ |
27387 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
27388 | ||
27389 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
27390 | march. | |
27391 | ||
40571d67 RH |
27392 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27393 | ||
27394 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
27395 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
27396 | new operand with the sequence number for the lituse. When splitting | |
27397 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
27398 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
27399 | ||
6525c0e7 AH |
27400 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
27401 | ||
d8086cbb RS |
27402 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
27403 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
27404 | stvxl. | |
27405 | (altivec_expand_builtin): Same. | |
27406 | (altivec_expand_stv_builtin): New. | |
27407 | ||
27408 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
27409 | ||
27410 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
27411 | ("altivec_lvehx"): New. | |
27412 | ("altivec_lvewx"): New. | |
27413 | ("altivec_lvxl"): New. | |
27414 | ("altivec_lvx"): New. | |
27415 | ("altivec_stvx"): New. | |
27416 | ("altivec_stvebx"): New. | |
27417 | ("altivec_stvehx"): New. | |
27418 | ("altivec_stvewx"): New. | |
27419 | ("altivec_stvxl"): New. | |
6525c0e7 | 27420 | |
cda94cbb RH |
27421 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27422 | ||
27423 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
27424 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
27425 | care not to delete instructions twice. | |
27426 | ||
df2c9a44 ZW |
27427 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
27428 | ||
27429 | * toplev.c: Don't declare environ (it's not used anywhere). | |
27430 | * configure.in: Don't check for declaration of environ. | |
27431 | * config/i386/xm-mingw32.h: Don't #define environ. | |
27432 | * config.in, configure: Regenerate. | |
27433 | ||
5dd8a9b1 ZW |
27434 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
27435 | ||
27436 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
27437 | * configure: Regenerate. | |
27438 | ||
27439 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
27440 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
27441 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
27442 | alpha/xm-vms.h. | |
27443 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
27444 | LIMITS_H_TEST here, not in m68k/x-next. | |
27445 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
27446 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
27447 | ||
27448 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
27449 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
27450 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
27451 | ||
27452 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
27453 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
27454 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
27455 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
27456 | replacement of quadlib.asm with quadlib.c. | |
27457 | ||
27458 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
27459 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
27460 | config/rs6000/xm-beos.h: Delete file. | |
27461 | ||
27462 | * config.gcc: Update to match above changes. | |
27463 | ||
d10dd44c KH |
27464 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27465 | ||
27466 | * config/h8300/h8300.h: Fix comment typos. | |
27467 | * config/h8300/h8300.md: Likewise. | |
27468 | * config/h8300/lib1funcs.asm: Likewise. | |
27469 | ||
04894c5a DJ |
27470 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
27471 | ||
27472 | PR optimization/5269 | |
27473 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
27474 | sign when n_iterations known, to avoid confusing caller. | |
27475 | ||
adc9fe67 KH |
27476 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27477 | ||
27478 | * doc/extend.texi (deprecated): Fix a typo. | |
27479 | ||
b446e5a2 JH |
27480 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
27481 | ||
27482 | * basic-block.h (update_br_prob_note): Declare. | |
27483 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
27484 | (try_forward_edges): Care negative frequencies and update note. | |
27485 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
27486 | (try_crossjump_to_edge): use update_br_prob_note. | |
27487 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
27488 | * cfrtl.c (update_br_prob_note): New. | |
27489 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
27490 | ||
27491 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
27492 | shift. | |
27493 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
27494 | ||
27495 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
27496 | (cprop_insn): Likewise. | |
27497 | ||
a01da83b KH |
27498 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27499 | ||
27500 | * toplev.c: Fix formatting. | |
27501 | * tree.c: Likewise. | |
27502 | * tree-dump.c: Likewise. | |
27503 | * unroll.c: Likewise. | |
27504 | * unwind-dw2.c: Likewise. | |
27505 | * unwind-dw2-fde.c: Likewise. | |
27506 | * unwind-dw2-fde-glibc.c: Likewise. | |
27507 | * unwind-sjlj.c: Likewise. | |
27508 | ||
9f85bca7 JM |
27509 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
27510 | ||
27511 | * doc/invoke.texi: Document PDP-11 options. | |
27512 | ||
f48f56b1 KH |
27513 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27514 | ||
27515 | * config/h8300/h8300.h: Fix formatting. | |
27516 | ||
ead39bdf | 27517 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
27518 | |
27519 | Add __attribute__ ((deprecated)). | |
27520 | * extend.texi: Document __attribute__ ((deprecated)). | |
27521 | * invoke.texi: Document -Wno-deprecated-declarations. | |
27522 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
27523 | * testsuite/gcc.dg/deprecated.c: New C test. | |
27524 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
27525 | (c_common_attribute_table): Add "deprecated" entry. | |
27526 | (handle_deprecated_attribute): New function. | |
27527 | * c-decl.c (deprecated_states): New enum. | |
27528 | deprecated_state: State of "deprecated" handling. | |
27529 | (start_decl): Set deprecated_state based on attributes. | |
27530 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
27531 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
27532 | (build_external_ref): Test for deprecated primaries. | |
27533 | * diagnostic.c (warn_deprecated_use) New function to issue | |
27534 | warnings about __attribute__ ((depricated)) references. | |
27535 | * flags.h (warn_deprecated_decl): Extern declared for | |
27536 | -W[no-]deprecated-declarations option. | |
27537 | * print-tree.c (print_node): Show deprecated flag status. | |
27538 | * toplev.c (warn_deprecated_decl): Defined. | |
27539 | (W_options): Added "deprecated-declaration". | |
27540 | * toplev.h (warn_deprecated_use): Extern declared. | |
27541 | * tree.h (struct tree_common): Define deprecated_flag. | |
27542 | (TREE_DEPRECATED): New macro to access flag. | |
27543 | * cp/call.c (build_call): Test for deprecated calls. | |
27544 | * cp/class.c (add_implicitly_declared_members): Set global | |
27545 | flag to tell grokdeclarator to not issue deprecated warnings. | |
27546 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
27547 | * cp/decl.c (deprecated_states): New enum. | |
27548 | (start_decl): Set deprecated_state based on attributes. | |
27549 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
27550 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
27551 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
27552 | ||
ead39bdf | 27553 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
27554 | |
27555 | Fix to assign attributes to inline member functions. | |
27556 | * cp/decl.c (start_method): Handle attrlist. | |
27557 | ||
47073a38 KH |
27558 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27559 | ||
27560 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
27561 | ||
d288e53d DE |
27562 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
27563 | ||
27564 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
27565 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
27566 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
27567 | Recurse for any operand of AND as long as constant is non-zero. | |
27568 | ||
08a02ffa KH |
27569 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27570 | ||
27571 | * config/h8300/h8300.md: Remove constraints from expanders. | |
27572 | ||
c203e7fe KH |
27573 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27574 | ||
27575 | * varasm.c: Fix formatting. | |
27576 | * varray.c: Likewise. | |
27577 | * vmsdbgout.c: Likewise. | |
27578 | * xcoffout.c: Likewise. | |
27579 | ||
bcb3bc6d JH |
27580 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
27581 | ||
27582 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
cda94cbb | 27583 | update edge probabilities to match. |
bcb3bc6d | 27584 | |
0a553c7e JM |
27585 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
27586 | ||
27587 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
27588 | dependencies. | |
27589 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
27590 | * doc/configfiles.texi: Make a subsubsection. Update. | |
27591 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
27592 | instructions for building GCC. | |
27593 | * doc/makefile.texi: Make a subsection. | |
27594 | * doc/gccint.texi: Update. | |
27595 | ||
adc7fcb8 JH |
27596 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
27597 | ||
27598 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
27599 | ||
5a4dd0b3 NP |
27600 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
27601 | ||
27602 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
27603 | ||
3987b9db JH |
27604 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
27605 | ||
27606 | * optabs.c (expand_fix): Look for wider integer modes first. | |
27607 | ||
27608 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
27609 | memory model. | |
27610 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
27611 | (fop_df_4): Disable for SSE compilation. | |
27612 | ||
ceb15948 | 27613 | 2002-01-10 Graham Stott <grahams@redhat.com> |
117f9d28 GS |
27614 | |
27615 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
cda94cbb | 27616 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
117f9d28 | 27617 | |
e1623399 RH |
27618 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27619 | ||
27620 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
27621 | ||
c4abb293 RH |
27622 | 2002-01-10 Richard Henderson <rth@redhat.com> |
27623 | ||
27624 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
27625 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
27626 | ||
d2604ae9 KH |
27627 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
27628 | ||
27629 | * combine.c (can_combine_p): Fix a comment typo. | |
27630 | ||
766c7ad1 ZW |
27631 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
27632 | ||
27633 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
27634 | empty list correctly. Change loop index $t to $f for | |
27635 | consistency with rest of Makefile. | |
27636 | ||
95385cbb AH |
27637 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
27638 | ||
27639 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
27640 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
27641 | ||
27642 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
27643 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
27644 | (altivec_init_builtins): Same. | |
27645 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
27646 | (altivec_expand_binop_builtin): Same. | |
27647 | (altivec_expand_ternop_builtin): Same. | |
27648 | (bdesc_dst): New. | |
27649 | ||
27650 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
27651 | ("altivec_vctuxs"): Fix typo. | |
27652 | ("altivec_vnmsubfp"): Same. | |
27653 | ("altivec_dssall"): New. | |
27654 | ("altivec_mfvscr"): New. | |
27655 | ("altivec_dss"): New. | |
27656 | ("altivec_lvsl"): New. | |
27657 | ("altivec_lvsr"): New. | |
27658 | ("altivec_dstt"): New. | |
27659 | ("altivec_dstst"): New. | |
27660 | ("altivec_dststt"): New. | |
27661 | ("altivec_dst"): New. | |
27662 | ||
27663 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
27664 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
27665 | ||
e4ac76b4 RH |
27666 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27667 | ||
27668 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
27669 | ||
c893e4a4 HPN |
27670 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
27671 | ||
27672 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
27673 | function. | |
27674 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
27675 | prototype. | |
7387c700 | 27676 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
c893e4a4 | 27677 | |
f4f4d0f8 KH |
27678 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
27679 | ||
27680 | * read-rtl.c: Fix formatting. | |
27681 | * real.c: Likewise. | |
27682 | * regclass.c: Likewise. | |
27683 | * regrename.c: Likewise. | |
27684 | * reg-stack.c: Likewise. | |
27685 | * reload1.c: Likewise. | |
27686 | * reload.c: Likewise. | |
27687 | * rtl.c: Likewise. | |
27688 | ||
cc863bea KH |
27689 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
27690 | ||
27691 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
27692 | to extract items in the expr_list chain. | |
27693 | ||
7b4dfe3d RH |
27694 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27695 | ||
27696 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
27697 | ||
1d969638 RH |
27698 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
27699 | ||
7d5ab30e JH |
27700 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
27701 | ||
27702 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
27703 | ||
9503f3d1 RH |
27704 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27705 | ||
27706 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
27707 | Unify code from various alternatives. | |
27708 | ||
42bd17b7 RH |
27709 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27710 | ||
27711 | * regrename.c (copy_value): Ignore the copy if the source register | |
27712 | is present in the value chain with a narrower mode. | |
27713 | ||
bdca3c33 HB |
27714 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
27715 | ||
cda94cbb RH |
27716 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
27717 | for the c4x target. Also improve layout. | |
bdca3c33 | 27718 | |
c73a5e94 RH |
27719 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27720 | ||
27721 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
27722 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
27723 | to match insn patterns. | |
27724 | ||
dd0a18c0 RH |
27725 | 2002-01-09 Richard Henderson <rth@redhat.com> |
27726 | ||
27727 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
27728 | (copyprop_hardreg_forward_1): Likewise. | |
27729 | ||
1fd9ac1e JDA |
27730 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
27731 | ||
27732 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
27733 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
27734 | ||
5cb265ec BM |
27735 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
27736 | ||
27737 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
27738 | gets undefined. For Darwin. | |
27739 | ||
fcd8fa8b HB |
27740 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
27741 | ||
27742 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
27743 | ||
bd3ab23a MH |
27744 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
27745 | ||
27746 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
27747 | ||
21e16bd6 RH |
27748 | 2002-01-08 Richard Henderson <rth@redhat.com> |
27749 | ||
27750 | * regrename.c (copy_value): Ignore overlapping copies. | |
27751 | ||
a5376276 RH |
27752 | 2002-01-08 Richard Henderson <rth@redhat.com> |
27753 | ||
27754 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
27755 | as needed to avoid shared structure. | |
27756 | ||
18cf8dda KH |
27757 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
27758 | ||
27759 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
8d9afc4e | 27760 | H8/300H and H8S. |
18cf8dda | 27761 | |
16c484c7 JM |
27762 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
27763 | ||
27764 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
27765 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
27766 | documentation of obsolete macros. | |
27767 | * system.h: Poison these macros. | |
27768 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
27769 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
27770 | config/c4x/c4x.h, config/clipper/clipper.h, | |
27771 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
27772 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
27773 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
27774 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
27775 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
27776 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
27777 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
27778 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
27779 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
27780 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
27781 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
27782 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
27783 | definitions and commented out definitions of obsolete macros. | |
27784 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
27785 | of MAX_INT_TYPE_SIZE. | |
27786 | ||
14b3e8ef UW |
27787 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
27788 | ||
27789 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
27790 | return ADDR_REGS if it isn't a subset of the given class. | |
27791 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
27792 | FP_REGS, but all superclasses as well. | |
27793 | ||
27794 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
27795 | ||
27796 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
27797 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
27798 | must not be a const_int. | |
27799 | ||
a693284d RH |
27800 | 2002-01-08 Richard Henderson <rth@redhat.com> |
27801 | ||
27802 | * Makefile.in (toplev.o): Depend on options.h. | |
27803 | (gcc.o): Depend on specs.h. | |
27804 | ||
b3ca30df JJ |
27805 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
27806 | ||
27807 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
27808 | mode. | |
27809 | ||
24dbb440 GP |
27810 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
27811 | ||
27812 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
27813 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
27814 | of http://gcc.gnu.org/thanks.html. | |
27815 | ||
234e114c DJ |
27816 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
27817 | ||
27818 | * config/rs6000/rs6000.md: Add missing int register | |
27819 | target case to movdf_low. | |
27820 | ||
0d24f4d1 ZW |
27821 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
27822 | ||
27823 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
27824 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
27825 | (cppinit.o): Depend on except.h. | |
27826 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
27827 | s-specs): New rules. | |
27828 | ||
27829 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
27830 | Don't create specs.h/options.h/gencheck.h here. Remove | |
27831 | unnecessary variable settings from last argument of AC_OUTPUT. | |
27832 | * config.in, configure: Regenerate. | |
27833 | * intl.c: Hardcode package name as "gcc". | |
27834 | ||
27835 | * cppinit.c: Include except.h. | |
27836 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
27837 | appropriate. | |
27838 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
27839 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
27840 | (!)USING_SJLJ_EXCEPTIONS. | |
27841 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
27842 | ||
ed722f66 JM |
27843 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
27844 | ||
27845 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
27846 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
27847 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
27848 | documentation of obsolete macros. | |
27849 | * system.h: Poison these macros. | |
27850 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
27851 | config/stormy16/stormy16.h: Remove definitions and commented out | |
27852 | definitions of obsolete macros. | |
27853 | ||
31e5e29a NP |
27854 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
27855 | ||
27856 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
27857 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
27858 | warnings. | |
27859 | ||
bc1fa59c UW |
27860 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
27861 | ||
27862 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
27863 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
27864 | to insn adjusting stack/frame pointer. | |
0d24f4d1 | 27865 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
bc1fa59c UW |
27866 | accept operands that cause the insn to be non-splittable. |
27867 | ||
a8086abf GS |
27868 | 2002-01-08 Graham Stott <grahams@redhat.com> |
27869 | ||
27870 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
27871 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
27872 | (C_TYPE_BEING_DEFINED): Likewise. | |
27873 | (C_IS_RESERVED_WORD): Likewise. | |
27874 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
27875 | (C_DECL_VARIABLE_SIZE): Likewise. | |
27876 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
27877 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
27878 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
27879 | parenthesis. | |
27880 | (C_DECL_ANTICIPATED): Likewise. | |
27881 | (c_build_type_variant): Add parenthesis. | |
27882 | ||
3f595aa1 JM |
27883 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
27884 | ||
27885 | * gcc.c (option_map): Remove --version. | |
27886 | (process_command): Handle -fversion following the GNU Coding | |
27887 | Standards. Partially addresses PR other/704. | |
27888 | ||
5bc5a8f9 GS |
27889 | 2002-01-08 Graham Stott <grahams@redhat.com> |
27890 | ||
27891 | * combine.c (combine_instructions): Fix typo. | |
27892 | ||
16ec4ebf GS |
27893 | 2002-01-08 Graham Stott <grahams@redhat.com> |
27894 | ||
27895 | * debug.h: Use "tree" and "rtx" throughout. | |
27896 | ||
27897 | * debug.c: Likewise. | |
27898 | ||
4b69f385 NC |
27899 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
27900 | ||
27901 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
27902 | constant pool, use the pool's version of the symbol instead. | |
27903 | ||
57d1019b RH |
27904 | 2002-01-07 Richard Henderson <rth@redhat.com> |
27905 | ||
27906 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
27907 | the original register was copied in a mode with a fewer number of | |
27908 | hard registers than the desired mode. | |
27909 | (copyprop_hardreg_forward_1): Likewise. | |
27910 | (debug_value_data): Fix loop test. | |
27911 | * toplev.c (parse_options_and_default_flags): Reenable | |
27912 | -fcprop-registers at -O1. | |
27913 | ||
27914 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
fa066a23 | 27915 | |
0d24f4d1 ZW |
27916 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
27917 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
fa066a23 | 27918 | |
0d24f4d1 ZW |
27919 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
27920 | predicates. | |
fa066a23 | 27921 | |
0d24f4d1 | 27922 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
fa066a23 | 27923 | |
8f949e7e JDA |
27924 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
27925 | ||
27926 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
27927 | (pa_output_function_prologue): Output local label at the beginning of | |
27928 | the prologue when profiling. | |
27929 | (hppa_profile_hook): Use the local label rather than the function label. | |
27930 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
27931 | ||
c62f2db5 AH |
27932 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
27933 | ||
0d24f4d1 ZW |
27934 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
27935 | (altivec_expand_unop_builtin): Fix thinko. | |
27936 | (altivec_expand_binop_builtin): Same. | |
27937 | (altivec_expand_ternop_builtin): Same. | |
27938 | (altivec_expand_builtin): Same. | |
c62f2db5 | 27939 | |
b5235ba7 RH |
27940 | 2002-01-07 Richard Henderson <rth@redhat.com> |
27941 | ||
27942 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
27943 | ||
7d8ac293 JM |
27944 | 2002-01-07 Jason Merrill <jason@redhat.com> |
27945 | ||
27946 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
27947 | ||
571a03b8 JJ |
27948 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
27949 | ||
27950 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
27951 | ||
2e951384 JJ |
27952 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
27953 | ||
27954 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
27955 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
27956 | ||
20e26713 AH |
27957 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
27958 | ||
0d24f4d1 ZW |
27959 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
27960 | arguments. | |
27961 | (altivec_expand_binop_builtin): Same. | |
27962 | (altivec_expand_unop_builtin): Same. | |
27963 | (print_operand): Fix typo. | |
27964 | (bdesc_1arg): Add vupk* variants. | |
20e26713 | 27965 | |
0d24f4d1 | 27966 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
20e26713 | 27967 | |
0d24f4d1 | 27968 | * rs6000.md: Add altivec_vupk* variants. |
20e26713 | 27969 | |
4dd57c18 JM |
27970 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
27971 | ||
27972 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
27973 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
27974 | and last update dates. | |
27975 | ||
0341c5d2 JJ |
27976 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
27977 | ||
27978 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
27979 | ||
c7f3e0b0 MM |
27980 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
27981 | ||
27982 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
27983 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
27984 | (LINK_SPEC): Likewise. | |
27985 | (CRT_BINUTILS_SPECS): Likewise. | |
27986 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
27987 | * doc/invoke.texi (AVR Options): Document them. | |
27988 | ||
6ba4d630 JH |
27989 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
27990 | ||
27991 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
27992 | LABEL_NUSES. | |
27993 | ||
6253d571 GS |
27994 | 2002-01-07 Graham Stott <grahams@redhat.com> |
27995 | ||
0d24f4d1 ZW |
27996 | * config/i386/i386.h: Update copyright date. |
27997 | (HALF_PIC_PTR): Add parenthesis. | |
27998 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
27999 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
28000 | (DATA_ALIGNMENT): Likewise. | |
28001 | (LOCAL_ALIGNMENT): Likewise. | |
28002 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
28003 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
28004 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
28005 | (HARD_REGNO_NREGS): Add paranethesis. | |
28006 | (VALID_SSE_REG_MODE): Whitespace. | |
28007 | (VALID_MMX_REG_MODE): Whitespace. | |
28008 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
28009 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
28010 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
28011 | (RETURN_IN_MEMORY): Whitespace. | |
28012 | (N_REG_CLASSES): Add parenthesis. | |
28013 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
28014 | (FLOAT_CLASS_P): Likewise. | |
28015 | (SSE_CLASS_P): Likewise. | |
28016 | (MMX_CLASS_P): Likewise. | |
28017 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
28018 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
28019 | (MAYBE_SSE_CLASS_P): Likewise. | |
28020 | (MAYBE_MMX_CLASS_P): Likewise. | |
28021 | (Q_CLASS_P): Likewise. | |
28022 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
28023 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
28024 | (FP_REGNO_P): Likewise. | |
28025 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
28026 | (SSE_REGNO_P): Likewise. | |
28027 | (SSE_REGNO): Likewise. | |
28028 | (SSE_REG_P): Likewise. | |
28029 | (SSE_FLOAT_MODE_P): Likewise. | |
28030 | (MMX_REGNO_P): Likewise. | |
28031 | (MMX_REG_P):Likewise. | |
28032 | (STACK_REG_P): Likewise. | |
28033 | (NON_STACK_REG_P): Likewise. | |
28034 | (STACK_TOP_P): Likewise. | |
28035 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
28036 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
28037 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
28038 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
28039 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
28040 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
28041 | (RETURN_POPS_ARGS): Add parenthesis. | |
28042 | (INIT_CUMULATIVE_ARGS): Likewise. | |
28043 | (FUNCTION_ARG): Likewise. | |
28044 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
28045 | (SETUP_INCOMING_VARARGS): Likewise. | |
28046 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
28047 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
28048 | parenthsis. | |
28049 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
28050 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
28051 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
28052 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
28053 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
28054 | (REGNO_OK_FOR_BASE_P): Likewise. | |
28055 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
28056 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
28057 | (REG_OK_FOR_INDEX_P): Whitespace. | |
28058 | (REG_OK_FOR_BASE_P): Whitespace. | |
28059 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
28060 | parenthesis. | |
28061 | (FIND_BASE_TERM): Fix typo. | |
28062 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
28063 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
28064 | (SYMBOLIC_CONST; Whitespace. | |
28065 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
28066 | (ENCODE_SECTION_INFO): Whitespace. | |
28067 | (FINALIZE_PIC): Remove do { ... } while (0). | |
28068 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
28069 | (CONST_COSTS): Whitespace. | |
28070 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
28071 | (REGISTER_MOVE_COST): Add parenthesis. | |
28072 | (MEMORY_MOVE_COST): Likewise. | |
28073 | (EXTRA_CC_MODES): Whitespace. | |
28074 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
28075 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
28076 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
28077 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
28078 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
28079 | (ASM_OUTPUT_REG_POP): Likewise. | |
28080 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
28081 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
d9a5f180 | 28082 | |
07933f72 GS |
28083 | * config/i386/i386.c: Update copyright. |
28084 | (CHECK_STACK_LIMIT): Add parenthesis. | |
28085 | (AT_BP): Uppercase macro parameter. | |
28086 | (x86_64_int_parameter_registers): Constify. | |
28087 | (x86_64_int_return_registers): Likewise. | |
28088 | (ix86_compare_op0): Use rtx. | |
28089 | (construct_container): Constify INTREG parameter. | |
28090 | (function_arg): Use rtx. | |
28091 | ||
0b4d32c9 GS |
28092 | * diagnostic.h: Update copyright date. |
28093 | (output_buffer_state): Add parenthesis. | |
28094 | (output_buffer_format_args): Likewise. | |
28095 | ||
6253d571 GS |
28096 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
28097 | with link. | |
28098 | ||
68f3f6f1 L |
28099 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
28100 | ||
28101 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
28102 | ||
28103 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
480f7f3a | 28104 | |
0d24f4d1 | 28105 | * config.gcc: Add support for --enable-altivec. |
480f7f3a | 28106 | |
13b8c631 CR |
28107 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
28108 | ||
28109 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
28110 | ||
58ad89b1 JJ |
28111 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
28112 | ||
28113 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
28114 | __objc_class_name_*. | |
28115 | ||
e403b4bc CR |
28116 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
28117 | ||
28118 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
28119 | ||
e41c7831 RH |
28120 | 2002-01-06 Richard Henderson <rth@redhat.com> |
28121 | ||
28122 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
28123 | nop them out. Increment label reference count for REG_LABEL. | |
28124 | (fill_slots_from_thread): Frob label reference count around | |
28125 | delete_related_insns. | |
28126 | ||
3b3b1e32 RH |
28127 | 2002-01-05 Richard Henderson <rth@redhat.com> |
28128 | ||
28129 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
28130 | jump threading. | |
28131 | ||
c28abdf0 RH |
28132 | 2002-01-05 Richard Henderson <rth@redhat.com> |
28133 | ||
28134 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
28135 | * integrate.c (output_inline_function): Likewise. | |
28136 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
28137 | to remove_unnecessary_notes after emitting abstract instance. | |
28138 | Force an emitted nested function to have its parent emited as well. | |
28139 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
28140 | for null. | |
28141 | (rtl_for_decl_location): Do not look at reload data structures | |
28142 | before reload has run. | |
28143 | ||
c4f2c499 KH |
28144 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
28145 | ||
28146 | * cse.c: Fix formatting. | |
28147 | * dwarf2asm.c: Likewise. | |
28148 | * dwarf2out.c: Likewise. | |
28149 | * explow.c: Likewise. | |
28150 | * expmed.c: Likewise. | |
28151 | * function.c: Likewise. | |
28152 | * gcov.c: Likewise. | |
28153 | * gencheck.c: Likewise. | |
28154 | * genrecog.c: Likewise. | |
28155 | * ggc-common.c: Likewise. | |
28156 | * ggc-page.c: Likewise. | |
28157 | * global.c: Likewise. | |
28158 | ||
cf0d9408 KH |
28159 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
28160 | ||
28161 | * combine.c: Fix formatting. | |
28162 | ||
bedca03a CR |
28163 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
28164 | ||
28165 | PR middle-end/1557 | |
28166 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
28167 | ||
0134bf2d DE |
28168 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
28169 | ||
28170 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
28171 | as 1 for __powerpc64__ as well. | |
28172 | ||
28173 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
28174 | ||
28175 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
28176 | return it. | |
28177 | ||
9ca88d5a DB |
28178 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
28179 | ||
28180 | * lcm.c: Revert change, due to performance regression it causes on | |
28181 | SPEC because it's slightly more conservative (sigh, I hate | |
28182 | edge-based LCM). | |
0d24f4d1 | 28183 | |
1c570418 JH |
28184 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
28185 | ||
28186 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
28187 | ||
d83bb9f7 NB |
28188 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
28189 | ||
28190 | * doc/cppinternals.texi: Update. | |
28191 | ||
3e0f61ac HPN |
28192 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
28193 | ||
28194 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
28195 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
28196 | negatives. | |
28197 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
28198 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
28199 | kludge for pre-october-14th mmix versions to handle new-found bug | |
28200 | with PUSHJ/PUSHGO and the register stack. | |
28201 | * config/mmix/mmix.h (struct machine_function): Rename member | |
28202 | has_call_value_without_parameters to has_call_without_parameters. | |
28203 | All referers changed. | |
28204 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
28205 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
28206 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
28207 | -mno-reg-stack-fill-bug-workaround. | |
28208 | * config/mmix/mmix.md ("call"): Set struct machine member | |
28209 | has_call_without_parameters. | |
28210 | ||
4deaa2f8 JH |
28211 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
28212 | ||
28213 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
28214 | ||
9f16e871 JH |
28215 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
28216 | ||
28217 | * cfgcleanup.c: Include tm_p.h | |
28218 | (mark_effect): Fix handling of hard register; fix handling of SET | |
28219 | ||
96eb1157 KH |
28220 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
28221 | ||
28222 | * config/h8300/h8300.md (anonymous patterns): Check that | |
28223 | operands are registers before using REGNO on them. | |
28224 | ||
48180d68 RM |
28225 | 2002-01-03 Roland McGrath <roland@frob.com> |
28226 | ||
28227 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
28228 | ||
b0832fe1 JJ |
28229 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
28230 | ||
28231 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
28232 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
28233 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
28234 | (expand_expr_stmt_value): Add maybe_last argument. | |
28235 | Don't warn about statement with no effect if it is the last statement | |
28236 | in expression statement. | |
28237 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
28238 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
28239 | expand_expr_stmt_value. | |
28240 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
28241 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
28242 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
28243 | as maybe_last to expand_expr_stmt_value. | |
28244 | ||
c1e14513 JL |
28245 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
28246 | ||
0d24f4d1 ZW |
28247 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
28248 | be passed in, do not build it. | |
28249 | (c_begin_if_stmt): New function. | |
28250 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
28251 | * c-common.h (c_expand_start_cond): Update prototype. | |
28252 | (c_begin_if_stmt): Prototype new function. | |
28253 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
28254 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
28255 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
c1e14513 | 28256 | |
b6ec437a WC |
28257 | 2002-01-04 William Cohen <wcohen@redhat.com> |
28258 | ||
28259 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
28260 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
28261 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
28262 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
28263 | ||
ead39bdf | 28264 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
517b711f DB |
28265 | |
28266 | * lcm.c: Include df.h. | |
28267 | Add available_transfer_function prototype. | |
28268 | (compute_available): Rework to use iterative dataflow framework. | |
28269 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
28270 | with bb_info in df.h | |
28271 | (available_transfer_function): New function. | |
28272 | ||
28273 | * Makefile.in (lcm.o): add df.h to dependencies. | |
28274 | ||
551cc6fd RH |
28275 | 2002-01-04 Richard Henderson <rth@redhat.com> |
28276 | ||
28277 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
28278 | (input_operand): Likewise; accept simple references to globals. | |
28279 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
28280 | (alpha_const_double_ok_for_letter_p): Likewise. | |
28281 | (alpha_extra_constraint): Likewise. | |
28282 | (alpha_preferred_reload_class): Likewise. Do not force | |
28283 | symbolic constants to memory. | |
28284 | (alpha_legitimate_address_p): Accept simple references | |
28285 | to small_symbolic_operand. | |
28286 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
28287 | called when no_new_pseudos. Emit simple symbolic references. | |
28288 | Split integers into low, high, and rest. | |
28289 | (alpha_expand_mov): Use alpha_legitimize_address. | |
28290 | (some_small_symbolic_mem_operand): New. | |
28291 | (split_small_symbolic_mem_operand): New. | |
28292 | * config/alpha/alpha-protos.h: Update. | |
28293 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
28294 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
28295 | (EXTRA_CONSTRAINT): Likewise. | |
28296 | (PREFERRED_RELOAD_CLASS): Likewise. | |
28297 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
28298 | (PREDICATE_CODES): Update. | |
28299 | * config/alpha/alpha.md: New post-reload splitters to convert | |
28300 | simplfied symbolic operands to the form that references $29. | |
28301 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
28302 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
28303 | ||
1eaea054 RH |
28304 | 2002-01-03 Richard Henderson <rth@redhat.com> |
28305 | ||
28306 | * local-alloc.c (function_invariant_p): Update commentary. | |
28307 | ||
c4cc12b7 L |
28308 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
28309 | ||
28310 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
28311 | cleanup_cfg. | |
28312 | ||
173bf5be KH |
28313 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28314 | ||
28315 | * c-common.c: Fix formatting. | |
28316 | * diagnostic.c: Likewise. | |
28317 | * doloop.c: Likewise. | |
28318 | * dwarf2out.c: Likewise. | |
28319 | ||
187462ac KH |
28320 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28321 | ||
28322 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
28323 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
28324 | ||
5d8ebbd8 NB |
28325 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
28326 | ||
28327 | * cpperror.c: Update comments and copyright. | |
28328 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
28329 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
28330 | ||
518c1311 JDA |
28331 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
28332 | ||
28333 | * collect2.c (main): Use strcmp when testing for "-shared". | |
28334 | ||
d15a58c0 NB |
28335 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
28336 | ||
28337 | * cppmacro.c: Don't include intl.h. Update comments. | |
28338 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
28339 | integers; update prototype. | |
28340 | * cppmain.c: Update comments. | |
28341 | ||
70f4f91c WC |
28342 | 2002-01-03 William Cohen <wcohen@redhat.com> |
28343 | ||
28344 | * function.h (struct function): Add profile. | |
28345 | (current_function_profile): New. | |
28346 | doc/extend.texi: Update documentation. | |
28347 | * final.c (final_start_function): Use current_function_profile | |
28348 | instead of profile_flag. | |
28349 | (profile_after_prologue): Likewise. | |
28350 | * function.c (expand_function_start): Likewise. | |
28351 | (expand_function_start): Likewise. | |
c4cc12b7 | 28352 | * config/alpha/alpha.c (direct_call_operand): |
70f4f91c WC |
28353 | (alpha_does_function_need_gp): Likewise. |
28354 | (alpha_expand_prologue): Likewise. | |
28355 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
28356 | thumb_expand_prologue: Likewise. | |
28357 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
28358 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
28359 | (fr30_expand_prologue): Likewise. | |
28360 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
28361 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
28362 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
28363 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
28364 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
28365 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
28366 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
28367 | (m32r_expand_prologue): Likewise. | |
28368 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
28369 | (m88k_expand_prologue): Likewise. | |
28370 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
28371 | * config/mips/mips.c (compute_frame_size): Likewise. | |
28372 | (mips_expand_prologue): Likewise. | |
28373 | (mips_can_use_return_insn): Likewise. | |
28374 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
28375 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
28376 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
28377 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
28378 | * config/romp/romp.c (romp_using_r14): Likewise. | |
28379 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
28380 | (rs6000_stack_info): Likewise. | |
28381 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2fd17409 | 28382 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
70f4f91c WC |
28383 | * config/v850/v850.c (compute_register_save_size): Likewise. |
28384 | ||
cb1ac742 JJ |
28385 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
28386 | ||
28387 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
28388 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
28389 | ||
61d951df | 28390 | 2002-01-03 Turly O'Connor <turly@apple.com> |
cb1ac742 | 28391 | |
61d951df TC |
28392 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
28393 | stub routines for pseudo-stubs which we've just defined. | |
28394 | ||
505ddab6 KH |
28395 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28396 | ||
28397 | * builtins.c: Fix formatting. | |
28398 | * c-typeck.c: Likewise. | |
28399 | * combine.c: Likewise. | |
28400 | * expr.c: Likewise. | |
28401 | * loop.c: Likewise. | |
28402 | ||
b7e30d8a AS |
28403 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
28404 | ||
28405 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
28406 | and return true if _cpp_push_next_buffer pushed a new include | |
28407 | file. | |
28408 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
28409 | _cpp_pop_file_buffer did not push a new file. | |
28410 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
28411 | ||
ff81832f EC |
28412 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
28413 | ||
28414 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
28415 | FIND_REG_INC_NOTE call. Update copyright. | |
28416 | * loop.c (canonicalize_condition): Ditto. | |
28417 | * reorg.c (delete_scheduled_jump): Ditto. | |
28418 | ||
8e42ace1 KH |
28419 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28420 | ||
28421 | * gcse.c: Fix formatting. | |
28422 | ||
fb2bf631 GS |
28423 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28424 | ||
28425 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
28426 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
6253d571 | 28427 | also output corresponding typedefs for rtx, tree, and rtvec. |
fb2bf631 GS |
28428 | |
28429 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
28430 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
6253d571 | 28431 | rtvec to config.h, hconfig.h, tconfig.h. |
fb2bf631 GS |
28432 | |
28433 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
b9daac31 GS |
28434 | |
28435 | * tree.h: Update copyright date. | |
28436 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
28437 | (TREE_SET_CODE): Add whitespace. | |
28438 | (TREE_CHECK): Add parenthesis. | |
28439 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
28440 | (CST_OR_CONSTRUCTOR_CHECK): | |
28441 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
28442 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
28443 | (INT_CST_LT): Likewise. | |
28444 | (INT_CST_LT_UNSIGNED): Likewise. | |
28445 | (tree_real_cst): Unwrap comment. | |
28446 | (tree_string): Likewise. | |
28447 | (tree_complex): Likewise. | |
28448 | (IDENTIFIER_POINTER): correct cast. | |
28449 | (SAVE_EXPR_CONTEXT): Whitespace. | |
28450 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
28451 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
28452 | (DECL_ORIGIN): Add parenthesis. | |
28453 | (DECL_FROM_INLINE): Use NULL_TREE. | |
28454 | (build_int_2): Whitespace. | |
28455 | (build_type_variant): Add parenthesis. | |
28456 | ||
28457 | * gcc/jcf-parse.c: Update copyright date. | |
28458 | (yyparse): Constify resource_filename. | |
28459 | ||
f52eda29 GS |
28460 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28461 | ||
28462 | * rtl.h: Update copyright date. | |
28463 | (RTL_CHECK1): Wrap long line. | |
28464 | (RTL_CHECK2): Likewise. | |
28465 | (RTL_CHECKC1): Wrap long line and whitespace. | |
28466 | (RTL_CHECKC2): Likewise. | |
28467 | (XWINT): Whitespace. | |
28468 | (XINT): Likewise. | |
28469 | (XSTR): Likewise. | |
28470 | (XEXP): Likewise. | |
28471 | (XVEC): Likewise. | |
28472 | (XMODE): Likewise. | |
28473 | (XBITMAP): Likewise. | |
28474 | (XTREE): Likewise. | |
28475 | (XBBDEF): Likewise. | |
28476 | (XTMPL): Likewise. | |
28477 | (X0WINT): Likewise. | |
28478 | (X0INT):Likewise. | |
28479 | (X0UINT): Likewise. | |
28480 | (X0STR): Likewise. | |
28481 | (X0EXP): Likewise. | |
28482 | (X0VEC): Likewise. | |
28483 | (X0MODE): Likewise. | |
28484 | (X0BITMAP): Likewise. | |
28485 | (X0TREE): Likewise. | |
28486 | (X0BBDEF): Likewise. | |
28487 | (X0ADVFLAGS): Likewise. | |
28488 | (X0CSELIB): Likewise. | |
28489 | (X0MEMATTR): Likewise. | |
28490 | (XCWINT): Likewise. | |
28491 | (XCINT): Likewise. | |
28492 | (XCUINT): Likewise. | |
28493 | (XCSTR): Likewise. | |
28494 | (XCEXP): Likewise. | |
28495 | (XCVEC): Likewise. | |
28496 | (XCMODE): Likewise. | |
28497 | (XCBITMAP): Likewise. | |
28498 | (XCTREE): Likewise. | |
28499 | (XCBBDEF): Likewise. | |
28500 | (XCADVFLAGS): Likewise. | |
28501 | (XCCSELIB): Likewise. | |
28502 | (XC2EXP): Likewise. | |
28503 | (INSN_UID): Likewise. | |
28504 | (PREV_INSN): Likewise. | |
28505 | (PATTERN): Likewise. | |
28506 | (INSN_CODE): Likewise. | |
28507 | (PUT_REG_NOTE_KIND): Likewise. | |
28508 | (CODE_LABEL_NUMBER): Likewise. | |
28509 | (NOTE_SOURCE_FILE): Likewise. | |
28510 | (NOTE_BLOCK): Likewise. | |
28511 | (NOTE_EH_HANDLER): Likewise. | |
28512 | (NOTE_RANGE_INFO): Likewise. | |
28513 | (NOTE_LIVE_INFO): Likewise. | |
28514 | (NOTE_BASIC_BLOCK): Likewise. | |
28515 | (NOTE_EXPECTED_VALUE): Likewise. | |
28516 | (NOTE_LINE_NUMBER): Likewise. | |
28517 | (LABEL_NAME): Likewise. | |
28518 | (LABEL_NUSES): Likewise. | |
28519 | (LABEL_ALTERNATE_NAME): Likewise. | |
28520 | (ADDRESSOF_DECL): Likewise. | |
28521 | (JUMP_LABEL): Likewise. | |
28522 | (LABEL_NEXTREF): Likewise. | |
28523 | (REGNO): Likewise. | |
28524 | (ORIGINAL_REGNO: Likewise. | |
28525 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
28526 | (SUBREG_REG): Whitespace. | |
28527 | (SUBREG_BYTE): Likewise. | |
28528 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
28529 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
28530 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
28531 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
28532 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
28533 | (ASM_OPERANDS_INPUT): Likewise. | |
28534 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
28535 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
28536 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
28537 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
28538 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
28539 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
28540 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
28541 | (TRAP_CONDITION): Whitespace. | |
28542 | (TRAP_CODE): Likewise. | |
28543 | (COND_EXEC_TEST): Likewise. | |
28544 | (COND_EXEC_CODE): Likewise. | |
28545 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
28546 | (PHI_NODE_P): Add parenthesis. | |
28547 | (plus_constant): Whitespace and add parenthesis. | |
28548 | ||
e03f5d43 KH |
28549 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
28550 | ||
28551 | * config/avr/avr.c: Fix comment typos. | |
28552 | * config/c4x/c4x.md: Likewise. | |
28553 | * config/dsp16xx/dsp16xx.h: Likewise. | |
28554 | * config/dsp16xx/dsp16xx.md: Likewise. | |
28555 | * config/i386/i386.md: Likewise. | |
28556 | * config/ia64/ia64.c: Likewise. | |
28557 | * config/m32r/m32r.h: Likewise. | |
28558 | * config/m68hc11/m68hc11.md: Likewise. | |
28559 | * config/mmix/mmix.c: Likewise. | |
28560 | * config/mn10200/mn10200.c: Likewise. | |
28561 | * config/romp/romp.c: Likewise. | |
28562 | * config/sh/sh.c: Likewise. | |
28563 | * config/stormy16/stormy16.c: Likewise. | |
28564 | * config/stormy16/stormy16.h: Likewise. | |
28565 | * config/stormy16/stormy16.md: Likewise. | |
28566 | ||
97e300e9 GS |
28567 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28568 | ||
28569 | * loop.h: Update copyright date. | |
0d24f4d1 ZW |
28570 | (LOOP_MOVABLES): Fix typo. |
28571 | (LOOP_REGS): Likewise. | |
28572 | (LOOP_IVS): Likewise. | |
ff81832f | 28573 | |
745b26b3 GS |
28574 | 2002-01-03 Graham Stott <grahams@redhat.com> |
28575 | ||
28576 | * cppinit.c: Update copyright date. | |
28577 | Don't include output.h | |
28578 | * Makefile.in: Update copyright date. | |
28579 | Update dependency. | |
28580 | ||
0a379b7a CR |
28581 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
28582 | ||
28583 | PR c/5226 | |
28584 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
28585 | (-pthread) Add to RS/6000 options. | |
28586 | ||
a8154559 KH |
28587 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
28588 | ||
28589 | * except.c: Fix comment typos. | |
28590 | * loop.c: Likewise. | |
28591 | * varasm.c: Likewise. | |
28592 | * doc/tm.texi: Fix a typo. | |
28593 | ||
e6ecc89b JJ |
28594 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
28595 | ||
28596 | * c-typeck.c (output_init_element): Allow initializing static storage | |
28597 | duration objects with compound literals. | |
28598 | ||
d1094b40 RH |
28599 | 2002-01-02 Richard Henderson <rth@redhat.com> |
28600 | ||
28601 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
28602 | after abusing it. | |
28603 | ||
0c5d8c82 KG |
28604 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
28605 | ||
5e65297b KG |
28606 | * gcc.c (default_compilers): Const-ify. |
28607 | * mips-tdump.c (stab_names): Likewise. | |
28608 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
28609 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
28610 | pseudo_ops_t, pseudo_ops): Likewise. | |
28611 | * protoize.c (default_include): Likewise | |
28612 | ||
0c5d8c82 KG |
28613 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
28614 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
28615 | Add array size in declaration. | |
28616 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
28617 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
28618 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
28619 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
28620 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
28621 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
28622 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
28623 | emtens, make_nan): Const-ify. | |
28624 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
28625 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
28626 | ||
817e13c4 JM |
28627 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
28628 | ||
28629 | * config.gcc (ia64-*-*): Set extra_headers. | |
28630 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
28631 | * config/alpha/t-osf: Remove. | |
28632 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
28633 | ||
98095e2b DE |
28634 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
28635 | ||
28636 | * config/rs6000/t-aix43: Revert previous change. | |
28637 | ||
a4200657 JM |
28638 | 2002-01-02 Jason Merrill <jason@redhat.com> |
28639 | ||
28640 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
28641 | emitting an inline function out of line. | |
28642 | ||
54ba1f0d RH |
28643 | 2002-01-02 Richard Henderson <rth@redhat.com> |
28644 | ||
28645 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
28646 | (new_die): New argument created_for. Update all callers. | |
28647 | (mark_limbo_die_list): New. | |
28648 | (dwarf2out_init): Register limbo_die_list as a root. | |
28649 | (dwarf2out_finish): Force insert limbo dies into their function | |
28650 | context. | |
28651 | ||
323728aa NS |
28652 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
28653 | ||
28654 | PR c++/5089 | |
28655 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
28656 | ||
aefc5826 KH |
28657 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
28658 | ||
28659 | * config/h8300/fixunssfsi.c: Update copyright. | |
28660 | Fix comment typos. | |
28661 | Fix formatting. | |
28662 | * config/h8300/h8300.c: Update copyright. | |
28663 | Eliminate warnings. | |
28664 | ||
b1c9bc51 KH |
28665 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
28666 | ||
28667 | * config/romp/romp.c: Fix comment formatting. | |
28668 | * config/romp/romp.h: Likewise. | |
28669 | * config/romp/romp.md: Likewise. | |
28670 | * config/s390/s390.c: Likewise. | |
28671 | * config/stormy16/stormy16.c: Likewise. | |
28672 | * config/stormy16/stormy16.h: Likewise. | |
28673 | ||
1574ef13 AO |
28674 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
28675 | ||
28676 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
28677 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
28678 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
28679 | argument down to expand_expr_stmt_value, taking | |
28680 | TREE_ADDRESSABLE into account. | |
28681 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
28682 | STMT_EXPR as addressable, i.e., one whose result we want. | |
28683 | * expr.c (expand_expr): Don't save expression statement value | |
28684 | of labeled_blocks or loop_exprs. | |
28685 | * stmt.c (expand_expr_stmt): Redirect to... | |
28686 | (expand_expr_stmt_value): ... this new function. Use new | |
28687 | argument to tell whether to save expression value. | |
28688 | (expand_end_stmt_expr): Reset last_expr_type and | |
28689 | last_expr_value if we don't have either. | |
28690 | * tree-inline.c (declare_return_variable): Mark its use | |
28691 | statement as addressable. | |
28692 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
28693 | (expand_expr_stmt_value): Declare. | |
28694 | ||
252b88f7 TR |
28695 | 2002-01-01 Tom Rix <trix@redhat.com> |
28696 | ||
28697 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
28698 | rs6000_emit_allocate_stack. | |
28699 | ||
29f7a208 JM |
28700 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
28701 | ||
28702 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
28703 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
28704 | * configure: Regenerate. | |
28705 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
28706 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
28707 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
28708 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
28709 | ||
2cc2d4bb RK |
28710 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
28711 | ||
28712 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
28713 | and tree_int_cst; remove warnings. | |
28714 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
28715 | (insert_save): Likewise. | |
28716 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
28717 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
28718 | ||
f01c9bcd DR |
28719 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
28720 | ||
16b61764 DR |
28721 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
28722 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
28723 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
28724 | (vms-dwarf2eh.o): Add Makefile rule. | |
28725 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
28726 | * config/alpha/vms-dwarf2eh.asm: New file. | |
28727 | ||
f01c9bcd DR |
28728 | * gcc.c (delete_if_ordinary): Delete all versions. |
28729 | ||
91312b81 HPN |
28730 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
28731 | ||
28732 | * config/mmix/mmix.md: Update FIXME to not mention | |
28733 | define_constants. | |
28734 | (MMIX_rJ_REGNUM): New define_constants constant. | |
28735 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
28736 | "*movdicc_real"): Adjust contraints formatting. | |
28737 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
28738 | for branch prediction. | |
28739 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
28740 | output template. | |
28741 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
28742 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
28743 | number. Delete related FIXMEs. | |
28744 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
28745 | from number to MMIX_rJ_REGNUM. | |
28746 | (TARGET_MASK_BRANCH_PREDICT): New. | |
28747 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
28748 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
28749 | value. Add -mbranch-predict and -mno-branch-predict. | |
28750 | (TARGET_VERSION): Drop date. | |
28751 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
28752 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
28753 | for finding out global symbols. | |
28754 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
28755 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
28756 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
28757 | ||
619acae7 | 28758 | See ChangeLog.6 for earlier changes. |