]>
Commit | Line | Data |
---|---|---|
070236f0 | 1 | 2002-04-26 Richard Henderson <rth@redhat.com> |
2 | ||
3 | PR c/3581 | |
4 | * c-common.c (fix_string_type): Split out of ... | |
5 | (combine_strings): ... here. Take a varray, not a tree list. | |
6 | (c_expand_builtin_printf): Use fix_string_type. | |
7 | * c-common.h: Update decls. | |
8 | * c-parse.in (string): Remove. Update all uses to use STRING | |
9 | instead, and not call combine_strings. | |
10 | (yylexstring): New. | |
11 | (_yylex): Use it. | |
12 | * c-typeck.c (simple_asm_stmt): Don't call combine_strings. | |
13 | (build_asm_stmt): Likewise. | |
14 | * objc/objc-act.c (my_build_string): Use fix_string_type. | |
15 | (build_objc_string_object): Build varray for combine_strings. | |
16 | ||
0e73d519 | 17 | 2002-04-26 Bo Thorsen <bo@suse.co.uk> |
18 | ||
19 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for | |
20 | x86-64. | |
21 | ||
87215b90 | 22 | 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk> |
23 | ||
24 | * cppexp.c (CPP_UMINUS, CPP_UPLUS): New. | |
25 | (HAVE_NO_R_OPERAND): Remove. | |
26 | (HAVE_VALUE): Remove. | |
27 | (op_to_prio): Update. | |
28 | (UNARY): Don't alter flags. | |
29 | (_cpp_parse_expr): want_value used to indicate whether | |
30 | a number or unary operator is expected next. Distinguish | |
31 | unary and binary +/-. | |
32 | (op_as_text): Update for unary operators. | |
33 | ||
deae487a | 34 | 2002-04-25 Richard Henderson <rth@redhat.com> |
35 | ||
36 | PR c/2161 | |
37 | * c-parse.in (yyoverflow): New. | |
38 | ||
fe5f2366 | 39 | 2002-04-25 Richard Henderson <rth@redhat.com> |
40 | ||
41 | PR c/2098 | |
42 | * c-common.c (shorten_compare): Simplfy conditions leading to | |
43 | the generation of a warning. | |
44 | ||
c601dd7d | 45 | 2002-04-25 Richard Henderson <rth@redhat.com> |
46 | ||
47 | PR c/2035 | |
48 | * expmed.c (extract_bit_field): Fall through to generic code rather | |
49 | than aborting on subreg special case. | |
50 | ||
a9f2a3a0 | 51 | 2002-04-25 David S. Miller <davem@redhat.com> |
52 | ||
53 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check | |
54 | for DECL being NULL. | |
55 | ||
8390a674 | 56 | 2002-04-25 Steve Christiansen <smc@us.ibm.com> |
57 | ||
58 | * doc/md.texi (Machine Constraints): Add IA-64 constraints. | |
59 | ||
600d7693 | 60 | 2002-04-25 Eric Botcazou <ebotcazou@multimania.com> |
61 | ||
62 | * c-decl.c (grokdeclarator): Remove outdated ??? note | |
63 | on invalid declaration of flexible array members. | |
64 | ||
905a1b56 | 65 | 2002-04-25 Richard Henderson <rth@redhat.com> |
66 | ||
67 | * doc/invoke.texi: Document -gdwarf{,-2} vs debug level. | |
68 | ||
ab60b1c9 | 69 | 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
70 | ||
71 | * config/s390/s390.c (s390_emit_epilogue): Always restore registers | |
72 | needed by the compiler, even if they are used as global regs. | |
73 | ||
8d85666f | 74 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
75 | ||
76 | * mips.c (mips_class_max_nregs, mips_register_move_cost): New | |
77 | functions. | |
78 | * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls | |
79 | of the corresponding functions. | |
80 | * mips-protos.h (mips_class_max_nregs, mips_register_move_cost): | |
81 | New prototypes. | |
82 | ||
83 | 2002-04-25 Matt Hiller <hiller@redhat.com> | |
84 | ||
85 | * config/mips/mips.h (mips_sw_reg_names): Declare as extern. | |
86 | ||
87 | (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro. | |
88 | (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor | |
89 | registers, adjust comment accordingly. | |
90 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, | |
91 | reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES, | |
92 | DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries | |
93 | for coprocessor registers. | |
94 | (ADDITIONAL_REGISTER_NAMES): Include | |
95 | ALL_COP_ADDITIONAL_REGISTER_NAMES. | |
96 | ||
97 | (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM, | |
98 | COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM, | |
99 | COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM, | |
100 | COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P, | |
101 | COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros. | |
102 | ||
103 | (mips_char_to_class): Adjust comment to include coprocessor | |
104 | constraint letters. | |
105 | ||
106 | * config/mips/mips.c (coprocessor_operand, coprocessor2_operand): | |
107 | New functions. | |
108 | (mips_reg_names, mips_regno_to_class): Include coprocessor | |
109 | information. | |
110 | (mips_sw_reg_names): Ditto, make non-static. | |
111 | (mips_move_1word): Handle moves to and from coprocessor registers. | |
112 | (mips_move_2words): Handle moves to and from coprocessor | |
113 | registers. | |
114 | (mips_class_max_nregs, mips_register_move_cost): Handle | |
115 | coprocessor register classes. | |
116 | (override_options): Initialize mips_char_to_class and | |
117 | mips_hard_regno_mode_ok properly for coprocessor registers. | |
118 | ||
119 | * config/mips/mips.md (movdi_internal, movdi_internal2, | |
120 | movsi_internal1, movsi_internal2): Add constraint-sets for | |
121 | coprocessor registers. | |
122 | * testsuite/gcc.c-torture/mipscop-1.c: New testcase. | |
123 | * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target | |
124 | isn't mips. | |
125 | * testsuite/gcc.c-torture/mipscop-2.c: New testcase. | |
126 | * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target | |
127 | isn't mips. | |
128 | * testsuite/gcc.c-torture/mipscop-3.c: New testcase. | |
129 | * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target | |
130 | isn't mips. | |
131 | * testsuite/gcc.c-torture/mipscop-4.c: New testcase. | |
132 | * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target | |
133 | isn't mips. | |
134 | ||
135 | * doc/tm.texi: Document feature. | |
136 | ||
dc600c9e | 137 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
138 | ||
139 | * integrate.c (function_attribute_inlinable_p): Simplify. | |
140 | Check the table pointer is not NULL. | |
141 | ||
49e6cbf7 | 142 | 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl> |
143 | ||
144 | * doc/c-tree.texi: Fix typo in introduction. | |
145 | ||
1c542e4c | 146 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
147 | ||
148 | * c-common.h (c_common_parse_file): Update. | |
149 | * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
150 | * c-lex.c (YYDEBUG): Get from c-lex.h. | |
151 | (c_common_parse_file): Update. | |
152 | * c-lex.h (YYDEBUG, yydebug): New. | |
153 | * c-parse.in (YYDEBUG): Get from c-lex.h. | |
154 | (c_set_yydebug): Remove. | |
155 | * c-tree.h (c_set_yydebug): Remove. | |
156 | * langhooks-def.h (lhd_do_nothing_i): New. | |
157 | (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove. | |
158 | (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update. | |
159 | * langhooks.c (lhd_do_nothing_i): New. | |
160 | (lhd_set_yydebug): Remove. | |
161 | * langhooks.h (struct lang_hooks): Update. | |
162 | * toplev.c (set_yydebug): New. | |
163 | (compile_file): Update call to parse_file hook. | |
164 | (decode_d_option): Update. | |
165 | objc: | |
166 | * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
167 | ||
bd54bbc6 | 168 | Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com> |
169 | ||
170 | * loop.c (load_mems): Don't change the interface of called functions. | |
171 | ||
172 | * calls.c (expand_call): Take current_function_pretend_args_size | |
173 | into account when setting argblock for sibcalls. | |
174 | ||
31215a6e | 175 | 2002-04-24 Matt Hiller <hiller@redhat.com> |
176 | ||
177 | * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS. | |
178 | * c-lex.c: Ditto. | |
179 | ||
180 | * cpplex.c (skip_line_comment): Process comment one multibyte | |
181 | character at a time rather than one char at a time, if | |
182 | appropriate. | |
183 | (parse_string): Process string one multibyte character at a time | |
184 | rather than one char at a time, if appropriate. | |
185 | * c-lex.c (lex_string): Lex and copy multibyte strings | |
186 | appropriately. | |
187 | * cpplib.h (cppchar_t): Change to unsigned. | |
188 | ||
db40a834 | 189 | 2002-04-24 Richard Henderson <rth@redhat.com> |
190 | ||
191 | PR c/3467 | |
192 | * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays | |
193 | for c99. | |
194 | ||
a3e17e8c | 195 | Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com> |
196 | ||
197 | * sh.c (sh_va_arg): If argument was passed by reference, | |
198 | dereference the pointer. | |
575fdeec | 199 | |
200 | * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
54f76e52 | 201 | |
202 | * sh.md (divsi3_i4_media): Use match_operand for input values | |
203 | rather than hard registers. | |
204 | (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values | |
205 | unnecessarily through hard registers. Keep copies of pseudo | |
206 | registers outside of the libcall sequence. | |
207 | ||
208 | * sh.md (casesi_shift_media): Add modes. | |
44b4015a | 209 | |
210 | * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode | |
211 | values in memory. | |
212 | ||
f8e93a2e | 213 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
214 | ||
215 | * attribs.c (c_common_attribute_table): Move table and handlers | |
216 | to c-common.c. | |
217 | (format_attribute_table, lang_attribute_table, | |
218 | lang_attribute_common): Remove. | |
219 | (init_attributes): Replace NULL pointers with pointers to the | |
220 | empty table. | |
221 | (handle_packed_attribute, handle_nocommon_attribute, | |
222 | handle_common_attribute, handle_noreturn_attribute, | |
223 | handle_noinline_attribute, handle_always_inline_attribute, | |
224 | handle_used_attribute, handle_unused_attribute, | |
225 | handle_const_attribute, handle_transparent_union_attribute, | |
226 | handle_constructor_attribute, handle_destructor_attribute, | |
227 | handle_mode_attribute, handle_section_attribute, | |
228 | handle_aligned_attribute, handle_weak_attribute, | |
229 | handle_alias_attribute, handle_visibility_attribute, | |
230 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
231 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
232 | handle_deprecated_attribute, handle_vector_size_attribute, | |
233 | vector_size_helper): Move to c-common.c. | |
234 | * c-common.c (c_common_attribute_table, | |
235 | handle_packed_attribute, handle_nocommon_attribute, | |
236 | handle_common_attribute, handle_noreturn_attribute, | |
237 | handle_noinline_attribute, handle_always_inline_attribute, | |
238 | handle_used_attribute, handle_unused_attribute, | |
239 | handle_const_attribute, handle_transparent_union_attribute, | |
240 | handle_constructor_attribute, handle_destructor_attribute, | |
241 | handle_mode_attribute, handle_section_attribute, | |
242 | handle_aligned_attribute, handle_weak_attribute, | |
243 | handle_alias_attribute, handle_visibility_attribute, | |
244 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
245 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
246 | handle_deprecated_attribute, handle_vector_size_attribute, | |
247 | vector_size_helper): Move from attribs.c. | |
248 | * c-common.h (c_common_attribute_table, | |
249 | c_common_format_attribute_table): New. | |
250 | * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
251 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
252 | * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, | |
253 | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New. | |
254 | (LANG_HOOKS_INITIALIZER): Update. | |
255 | * langhooks.h (struct lang_hooks): 3 new attribute hooks. | |
256 | * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL. | |
257 | * target.h: Update comment. | |
258 | * tree.c (default_target_attribute_table): Remove. | |
259 | * tree.h (default_target_attribute_table, format_attribute_table, | |
260 | lang_attribute_table, lang_attribute_common): Remove. | |
261 | objc: | |
262 | * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
263 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
264 | ||
634906d6 | 265 | 2002-04-24 Jason Merrill <jason@redhat.com> |
266 | ||
267 | * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector. | |
268 | * dwarf2out.c (dwarf_attr_name): Support it. | |
269 | (gen_array_type_die): Emit it. | |
270 | (lookup_type_die): No special handling for VECTOR_TYPE. | |
271 | (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die. | |
272 | ||
a78c0709 | 273 | 2002-04-24 Richard Henderson <rth@redhat.com> |
274 | ||
275 | * config/mips/mips.md (movdi_usd): Renumber. | |
276 | ||
9981aaeb | 277 | 2002-04-24 David S. Miller <davem@redhat.com> |
278 | ||
279 | PR target/6420 | |
280 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if | |
281 | 32-bit Sparc and current_function_returns_struct is true. | |
282 | ||
b4ddc721 | 283 | Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
284 | ||
285 | * loop.c (canonicalize_condition): Use gen_int_mode. | |
286 | ||
a73cb8ec | 287 | 2002-04-24 Aldy Hernandez <aldyh@redhat.com> |
288 | ||
289 | * config/rs6000/altivec.h: Cleanup file. Add non individual | |
290 | variants. | |
291 | (vec_vaddubm): New. | |
292 | (vec_vadduhm): New. | |
293 | (vec_vadduwm): New. | |
294 | (vec_vaddfp): New. | |
295 | (vec_vaddcuw): New. | |
296 | (vec_vaddubs): New. | |
297 | (vec_vaddsbs): New. | |
298 | (vec_vadduhs): New. | |
299 | (vec_vadduws): New. | |
300 | (vec_vaddsws): New. | |
301 | (vec_vand): New. | |
302 | (vec_vandc): New. | |
303 | (vec_vavgub): New. | |
304 | (vec_vavgsb): New. | |
305 | (vec_vavguh): New. | |
306 | (vec_vavgsh): New. | |
307 | (vec_vavguw): New. | |
308 | (vec_vavgsw): New. | |
309 | (vec_vrfip): New. | |
310 | (vec_vcmpbfp): New. | |
311 | (vec_vcmpequb): New. | |
312 | (vec_vcmpequh): New. | |
313 | (vec_vcmpequw): New. | |
314 | (vec_vcmpeqfp): New. | |
315 | (vec_vcmpgefp): New. | |
316 | (vec_vcmpgtub): New. | |
317 | (vec_vcmpgtsb): New. | |
318 | (vec_vcmpgtuh): New. | |
319 | (vec_vcmpgtsh): New. | |
320 | (vec_vcmpgtuw): New. | |
321 | (vec_vcmpgtsw): New. | |
322 | (vec_vcmpgtfp): New. | |
323 | (vec_vcmpgefp): New. | |
324 | (vec_vcfux): New. | |
325 | (vec_vcfsx): New. | |
326 | (vec_vctsxs): New. | |
327 | (vec_vctuxs): New. | |
328 | (vec_vexptefp): New. | |
329 | (vec_vrfim): New. | |
330 | (vec_lvx): New. | |
331 | (vec_lvebx): New. | |
332 | (vec_lvehx): New. | |
333 | (vec_lde): Add vector float variant. | |
334 | (vec_lvewx): New. | |
335 | (vec_lvxl): New. | |
336 | (vec_vlogefp): New. | |
337 | (vec_vmaddfp): New. | |
338 | (vec_vmhaddshs): New. | |
339 | (vec_vmaxub): New. | |
340 | (vec_vmaxsb): New. | |
341 | (vec_vmaxuh): New. | |
342 | (vec_vmaxsh): New. | |
343 | (vec_vmaxuw): New. | |
344 | (vec_vmaxsw): New. | |
345 | (vec_vmaxsw): New. | |
346 | (vec_vmaxfp): New. | |
347 | (vec_vmrghb): New. | |
348 | (vec_vmrghh): New. | |
349 | (vec_vmrghw): New. | |
350 | (vec_vmrglb): New. | |
351 | (vec_vmrglh): New. | |
352 | (vec_vmrglw): New. | |
353 | (vec_vminub): New. | |
354 | (vec_vminsb): New. | |
355 | (vec_vminuh): New. | |
356 | (vec_vminsh): New. | |
357 | (vec_vminuw): New. | |
358 | (vec_vminsw): New. | |
359 | (vec_vminfp): New. | |
360 | (vec_vmladduhm): New. | |
361 | (vec_vmhraddshs): New. | |
362 | (vec_msumubm): New. | |
363 | (vec_vmsummbm): New. | |
364 | (vec_vmsumuhm): New. | |
365 | (vec_vmsumshm): New. | |
366 | (vec_vmsumuhs): New. | |
367 | (vec_vmsumshs): New. | |
368 | (vec_vmuleub): New. | |
369 | (vec_vmulesb): New. | |
370 | (vec_vmuleuh): New. | |
371 | (vec_vmulesh): New. | |
372 | (vec_vmuloub): New. | |
373 | (vec_mulosb): New. | |
374 | (vec_vmulouh): New. | |
375 | (vec_vmulosh): New. | |
376 | (vec_vnmsubfp): New. | |
377 | (vec_vnor): New. | |
378 | (vec_vor): New. | |
379 | (vec_vpkuhum): New. | |
380 | (vec_vpkuwum): New. | |
381 | (vec_vpkpx): New. | |
382 | (vec_vpkuhus): New. | |
383 | (vec_vpkshss): New. | |
384 | (vec_vpkuwus): New. | |
385 | (vec_vpkswss): New. | |
386 | (vec_vpkshus): New. | |
387 | (vec_vpkswus): New. | |
388 | (vec_vperm): New. | |
389 | (vec_vrefp): New. | |
390 | (vec_vrlb): New. | |
391 | (vec_vrlh): New. | |
392 | (vec_vrlw): New. | |
393 | (vec_vrfin): New. | |
394 | (vec_vrsqrtefp): New. | |
395 | (vec_vsel): New. | |
396 | (vec_vslb): New. | |
397 | (vec_vslh): New. | |
398 | (vec_vslw): New. | |
399 | (vec_vsldoi): New. | |
400 | (vec_vsl): New. | |
401 | (vec_vslo): New. | |
402 | (vec_vspltb): New. | |
403 | (vec_vsplth): New. | |
404 | (vec_vspltw): New. | |
405 | (vec_vspltisb): New. | |
406 | (vec_vspltish): New. | |
407 | (vec_vspltisw): New. | |
408 | (vec_vsrb): New. | |
409 | (vec_vsrh): New. | |
410 | (vec_vsrw): New. | |
411 | (vec_vsrab): New. | |
412 | (vec_vsrah): New. | |
413 | (vec_vsraw): New. | |
414 | (vec_vsr): New. | |
415 | (vec_vsro): New. | |
416 | (vec_stvx): New. | |
417 | (vec_stvebx): New. | |
418 | (vec_stvehx): New. | |
419 | (vec_stvewx): New. | |
420 | (vec_stvxl): New. | |
421 | (vec_vsububm): New. | |
422 | (vec_vsubuhm): New. | |
423 | (vec_vsubuwm): New. | |
424 | (vec_vsubfp): New. | |
425 | (vec_vsubcuw): New. | |
426 | (vec_vsububs): New. | |
427 | (vec_vsubsbs): New. | |
428 | (vec_vsubuhs): New. | |
429 | (vec_vsubshs): New. | |
430 | (vec_vsubuws): New. | |
431 | (vec_vsubsws): New. | |
432 | (vec_vsum4ubs): New. | |
433 | (vec_vsum4sbs): New. | |
434 | (vec_vsum4shs): New. | |
435 | (vec_vsum2sws): New. | |
436 | (vec_vsumsws): New. | |
437 | (vec_vrfiz): New. | |
438 | (vec_vupkhsb): New. | |
439 | (vec_vupkhpx): New. | |
440 | (vec_vupkhsh): New. | |
441 | (vec_vupklsb): New. | |
442 | (vec_vupklpx): New. | |
443 | (vec_vupklsh): New. | |
444 | (vec_vxor): New. | |
445 | ||
b07ba9ff | 446 | 2002-04-23 Eric Botcazou <ebotcazou@multimania.com> |
447 | ||
448 | PR c/5430 | |
449 | * fold-const.c (split_tree): Add MINUS_LITP parameter; separate | |
450 | added literals from substracted literals. | |
451 | (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR. | |
452 | (fold) [associate]: Preserve MINUS_EXPR if needed. | |
453 | ||
448aaa46 | 454 | 2002-04-23 Zack Weinberg <zack@codesourcery.com> |
455 | ||
456 | * doc/install.texi: Clarify which versions of alpha*-dec-osf* | |
457 | are obsoleted. | |
458 | ||
39471a6e | 459 | 2002-04-23 Tom Tromey <tromey@redhat.com> |
460 | ||
461 | * gcc.c: Added --resource. For PR java/6314. | |
462 | ||
6ce8155a | 463 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
464 | ||
bba8b950 | 465 | * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg. |
6ce8155a | 466 | * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of |
467 | these libraries. | |
468 | ||
60b39823 | 469 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
470 | ||
471 | * config/freebsd.h(OBJECT_FORMAT_ELF): Define. | |
472 | ||
2ecaad6d | 473 | Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
474 | ||
475 | * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug | |
476 | workaround. | |
477 | (ix86_expand_int_movcc): Avoid x86_64 compilation chrash. | |
478 | (ix86_expand_clrstr): Fix typo. | |
479 | * loop.c (gen_load_of_final_value): New. | |
480 | (loop_givs_rescan, strength_reduce, check_dbra_loop): | |
481 | Use it. | |
482 | ||
a7ec6974 | 483 | 2002-04-23 Roger Sayle <roger@eyesopen.com> |
484 | ||
485 | * builtins.c (builtin_memset_gen_str): New function. | |
486 | (expand_builtin_memset): Optimize the case of constant length, but | |
487 | unknown value. | |
488 | ||
24ff0b02 | 489 | 2002-04-23 Aldy Hernandez <aldyh@redhat.com> |
490 | ||
b07ba9ff | 491 | * config/rs6000/altivec.h (vec_step): Remove extraneous |
492 | parentheses. | |
493 | (vec_ctu): Cast return. | |
24ff0b02 | 494 | |
b8a21949 | 495 | 2002-04-23 Alan Modra <amodra@bigpond.net.au> |
496 | ||
497 | PR target/6413 | |
498 | * function.h: (struct function): Add profile_label_no field. | |
499 | (current_function_profile_label_no): Define. | |
500 | * function.c: (profile_label_no): New static var. | |
501 | (expand_function_start): Increment it, and copy to | |
502 | current_function_profile_label_no. | |
503 | * output.h (profile_label_no): Delete. | |
504 | * final.c (profile_label_no): Delete. | |
505 | (profile_function): Use current_function_profile_label_no. | |
506 | (final_end_function): Don't increment profile_label_no here. | |
507 | * config/i386/i386.c (ix86_osf_output_function_prologue): Replace | |
508 | profile_label_no with current_function_profile_label_no. | |
509 | * config/pa/pa.c (current_function_number): Delete. | |
510 | (pa_output_function_prologue): Don't output profile label here. | |
511 | (hppa_profile_hook): Use label_no param rather than | |
512 | current_function_number. | |
513 | (FUNC_BEGIN_PROLOG_LABEL): Move to .. | |
514 | * config/pa/pa.h: .. here. | |
515 | (FUNCTION_PROFILER): Output profile label here. | |
516 | ||
57477e83 | 517 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
518 | ||
519 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert | |
520 | patch of 2002-04-09 due to binutils issues. | |
521 | (FUNCTION_ARG_REGNO_P): Ensure even numbered float register. | |
522 | ||
dcea1976 | 523 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
524 | ||
b07ba9ff | 525 | * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm' |
526 | constraint to 'o' for m=r and r=m alternatives. | |
527 | ("*movv8hi_internal1"): Same. | |
528 | ("*movv16qi_internal1"): Same. | |
529 | ("*movv4sf_internal1"): Same. | |
dcea1976 | 530 | |
7c25cb91 | 531 | 2002-04-22 Janis Johnson <janis187@us.ibm.com> |
532 | ||
533 | * rtl.h (RTX_FLAG): New macro. | |
534 | * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags. | |
535 | * final.c (alter_subreg): Use macro to access rtx flag. | |
536 | * integrate.c (copy_rtx_and_substitute): Use new access macro. | |
537 | * print-rtl.c (print_rtx): Use new access macro. | |
538 | ||
539 | * cse.c (insert): Check rtx code before accessing flag. | |
540 | ||
541 | * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P, | |
542 | ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New. | |
543 | (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test, | |
544 | convert_const_symbol_ref, make_canonical, make_alternative_compare, | |
545 | evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp, | |
546 | simplify_test_exp, optimize_attrs, simplify_by_exploding, | |
547 | find_and_mark_used_attributes, unmark_used_attributes, | |
548 | add_values_to_cover, simplify_with_current_value, | |
549 | simplify_with_current_value_aux, clear_struct_flag, walk_attr_value, | |
550 | copy_rtx_unchanging, main): Use new access macros. | |
551 | ||
1f31d3a6 | 552 | 2002-04-22 Tom Rix <trix@redhat.com> |
553 | ||
554 | * expmed.c (init_expmed): Generate shifted constant once. | |
555 | ||
c2527f80 | 556 | 2002-04-22 Zack Weinberg <zack@codesourcery.com> |
557 | ||
558 | * c-lex.c (lex_charconst): Call convert to get constant in | |
559 | proper type; don't just smash the type field. | |
560 | Fixes PR c/6300. | |
561 | ||
562 | * config.gcc: Add list of obsolete configurations. Disallow | |
563 | building these without --enable-obsolete. | |
564 | * doc/install.texi: Document --enable-obsolete and obsoletion | |
565 | policy. Mention obsoletion of individual targets in | |
566 | appropriate places. | |
567 | ||
27cd3daa | 568 | 2002-04-22 Richard Henderson <rth@redhat.com> |
569 | ||
570 | * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New. | |
571 | ||
572 | 2002-04-22 Mark Mitchell <mark@codesourcery.com> | |
dcdb0eed | 573 | |
574 | PR f/6138. | |
575 | * function.c (fixup_memory_subreg): Add promoted_mode parameter. | |
576 | (walk_fixup_memory_subreg): Likewise. | |
577 | (fixup_var_refs_insn): Adjust accordingly. | |
578 | (fixup_var_refs_1): Likewise. | |
579 | ||
2dd48db5 | 580 | 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com> |
581 | ||
582 | * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, | |
583 | LIBPATH_ARCH64_SPEC): Define. | |
584 | (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64. | |
585 | (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath. | |
586 | (LINK_ARCH31_SPEC): Add libpath_arch31 to search path. | |
587 | (LINK_ARCH64_SPEC): Add libpath_arch64 to search path. | |
588 | ||
98b0c990 | 589 | 2002-04-22 Joel Sherrill <joel@OARcorp.com> |
590 | ||
591 | * gthr-rtems.h: Correct prototypes to remove warnings. | |
592 | ||
d7b592b0 | 593 | 2002-04-22 Richard Henderson <rth@redhat.com> |
594 | ||
595 | PR c/6344 | |
596 | * alias.c (canon_true_dependence): Special case (mem:blk (scratch)). | |
597 | ||
598 | * gcse.c (free_insn_expr_list_list): New. | |
599 | (clear_modify_mem_tables): Use it. Fix bit set usage. | |
600 | (canon_list_insert): Use EXPR_LISTs for expressions. | |
601 | (record_last_mem_set_info): Factor BLOCK_NUM (insn). | |
602 | ||
02516fb9 | 603 | 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk> |
604 | ||
605 | * cppfiles.c (_cpp_pop_file_buffer): Return void. Move | |
606 | file change and include code to _cpp_pop_buffer. | |
607 | * cpphash.h (struct pending_option): Predeclare. | |
608 | (struct cpp_reader): New member next_include_file. | |
609 | (_cpp_pop_file_buffer): Update. | |
610 | (_cpp_push_next_buffer): Update, rename. | |
611 | * cppinit.c (cpp_destroy): Free include chain and pending here. | |
612 | (cpp_finish_options): Simplify. | |
613 | (_cpp_push_next_buffer): Rename and clean up. | |
614 | * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer. | |
615 | Clarify. | |
616 | * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here. | |
617 | ||
f5a309ff | 618 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
619 | ||
d7b592b0 | 620 | * config/rs6000/altivec.h (vec_xor): Add variant for both args |
621 | being vector signed int. | |
622 | (vec_andc): Same. | |
623 | (vec_xor): Add variant for both args being vector signed char. | |
624 | Remove redundant variant. | |
625 | (vec_andc): Same. | |
f5a309ff | 626 | |
1c7ebefd | 627 | 2002-04-21 David S. Miller <davem@redhat.com> |
628 | ||
629 | * config/sparc/sparc.md (set then compare DI mode peephole2): Fix | |
630 | compare mode in output RTL. | |
631 | ||
dcc77132 | 632 | 2002-04-22 David Edelsohn <edelsohn@gnu.org> |
633 | ||
634 | * config/rs6000/rs6000.c (rs6000_override_options): Correct | |
635 | style and formatting of previous patch. | |
636 | ||
6205aa68 | 637 | 2002-04-22 Alan Modra <amodra@bigpond.net.au> |
638 | ||
639 | * config/rs6000/rs6000.c (rs6000_override_options): Always clear | |
640 | flag_pic for ABI_AIX. | |
641 | ||
b6d18b0a | 642 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
643 | ||
644 | * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. | |
645 | * cppfiles.c (read_include_file): Similarly. | |
646 | * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, | |
647 | uxstrdup ustrchr, ufputs): Similarly. | |
648 | * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. | |
649 | * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, | |
650 | cpp_ideq, parse_identifier, parse_number): Similarly. | |
651 | * cpplib.c (struct directive, dequote_string, D, run_directive, | |
652 | cpp_push_buffer): Similarly. | |
653 | * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, | |
654 | _cpp_create_definition, check_trad_stringification, | |
655 | cpp_macro_definition): Similarly. | |
656 | ||
7e2fc40e | 657 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
658 | ||
659 | * cppmacro.c (funlike_invocation_p): Don't step back | |
660 | over CPP_EOF. | |
661 | ||
02c2c577 | 662 | 2002-04-21 David Edelsohn <edelsohn@gnu.org> |
663 | ||
664 | * config/rs6000/rs6000.c (output_profile_hook): Do not increment | |
665 | labelno. | |
666 | ||
16cf5b3d | 667 | 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk> |
668 | ||
669 | * doc/invoke.texi: Remove Chill references. | |
670 | * doc/gcc.texi: Update last modified date. | |
671 | ||
a37ad228 | 672 | 2002-04-20 Kazu Hirata <kazu@hxi.com> |
673 | ||
674 | * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary | |
675 | push and pop. Replace add.l with add.w. | |
676 | ||
ca92c69c | 677 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
678 | ||
679 | * config/h8300/lib1funcs.asm (___mulsi3): Use hardware | |
680 | multiply instructions for H8/300H case. | |
681 | ||
1b19d1e8 | 682 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
683 | ||
684 | * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): | |
685 | Bum three instructions from each routine. | |
686 | ||
c80c4f22 | 687 | 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk> |
688 | ||
689 | * Makefile.in: Update. | |
690 | * decl.c (push_c_function_context, pop_c_function_context, | |
691 | mark_c_function_context): Rename for consistency. | |
692 | * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere. | |
693 | * c-tree.h (push_c_function_context, pop_c_function_context, | |
694 | mark_c_function_context): Rename for consistency. | |
695 | * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
696 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
697 | * function.c (init_lang_status, save_lang_status, | |
698 | restore_lang_status, mark_lang_status, free_lang_status): | |
699 | Move to langhooks.h. | |
700 | (push_function_context_to, pop_function_context_from, | |
701 | free_after_parsing, prepare_function_start, ggc_mark_struct_function): | |
702 | Update. | |
703 | * function.h (init_lang_status, save_lang_status, | |
704 | restore_lang_status, mark_lang_status, free_lang_status): | |
705 | Move to langhooks.h. | |
706 | * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT, | |
707 | LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
708 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK, | |
709 | LANG_HOOKS_FUNCTION_INITIALIZER): New. | |
710 | (LANG_HOOKS_INITIALIZER): Update. | |
711 | (lhd_do_nothing_f): New. | |
712 | * langhooks.h (struct lang_hooks_for_functions): New. | |
713 | (struct lang_hooks): New hooks. | |
714 | * langhooks.c (lhd_do_nothing_f): New. | |
715 | objc: | |
716 | * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
717 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
718 | ||
694a2388 | 719 | 2002-04-19 David S. Miller <davem@redhat.com> |
720 | ||
721 | * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. | |
722 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise. | |
723 | ||
a559788c | 724 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
725 | ||
726 | PR optimization/3756 | |
727 | * config/i386/i386.c (ix86_expand_int_movcc): Optimize | |
728 | x = ((int) y < 0) ? cst1 : cst2. | |
729 | ||
8839b7f1 | 730 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
731 | ||
732 | PR c/6358 | |
733 | * function.c: Reapply patch for c/6358. | |
734 | (expand_function_end): Copy decl_rtl's mode, not | |
735 | current_function_return_rtx mode. | |
736 | ||
737 | 2002-04-19 Joel Sherrill <joel@OARcorp.com> | |
d08a20ae | 738 | |
739 | * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF | |
740 | targets. | |
741 | ||
e70cfab5 | 742 | 2002-04-19 Tom Tromey <tromey@redhat.com> |
743 | ||
744 | * doc/install.texi (Specific): Update status of Solaris 2.8. | |
745 | For PR libgcj/6158. | |
746 | ||
04621255 | 747 | 2002-04-19 Andreas Schwab <schwab@suse.de> |
748 | ||
749 | * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE. | |
750 | (PUT_REAL): Restore old definition. | |
751 | ||
0b98ad8c | 752 | 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu> |
753 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
754 | ||
755 | * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that | |
756 | binutils 2.11.2 and higher generate smaller binaries than Sun's | |
757 | native tools. | |
758 | ||
3d54653f | 759 | 2002-04-19 Mark Mitchell <mark@codesourcery.com> |
760 | ||
761 | PR c++/6352 | |
762 | * toplev.c (rest_of_compilation): Do not defer functions for which | |
763 | TREE_SYMBOL_REFERENCED has already been set. | |
764 | ||
d7d85b75 | 765 | Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz> |
766 | ||
767 | * i386.md (movsi_1, movhi_1): Force reload to use more flexible | |
768 | alternative. | |
769 | ||
63c62881 | 770 | 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk> |
771 | ||
772 | * builtins.c: Include langhooks.h. | |
773 | (lang_type_promotes_to): Remove. | |
774 | (expand_builtin_va_arg): Use new hook. | |
775 | * c-common.c (c_common_nodes_and_builtins): Don't set hook. | |
776 | (simple_type_promotes_to): Move to c-typeck.c. | |
777 | * c-common.h (simple_type_promotes_to): Remove. | |
778 | * c-decl.c (duplicate_decls, grokdeclarator): Update. | |
779 | * c-format.c: Include langhooks.h. | |
780 | (check_format_types): Update. | |
781 | * c-tree.h (c_type_promotes_to): New. | |
782 | * c-typeck.c (c_type_promotes_to): Move from c-common.c. | |
783 | (type_lists_compatible_p): Update. | |
784 | * langhooks-def.h (lhd_type_promotes_to): New. | |
785 | (LANG_HOOKS_TYPE_PROMOTES_TO): New. | |
786 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
787 | * langhooks.c (lhd_type_promotes_to): New. | |
788 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
789 | * tree.h (lang_type_promotes_to): Remove. | |
790 | objc: | |
791 | * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine. | |
792 | ||
5410141b | 793 | 2002-04-18 Richard Henderson <rth@redhat.com> |
794 | ||
7b185825 | 795 | * function.c: Revert patch for c/6358. |
5410141b | 796 | |
797 | 2002-04-18 Richard Henderson <rth@redhat.com> | |
798 | ||
7b185825 | 799 | * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN |
800 | blocks. Handle multiple references to the TRAP block. Handle | |
801 | non-adjacent THEN and OTHER blocks. | |
5410141b | 802 | |
7b185825 | 803 | 2002-04-18 Richard Henderson <rth@redhat.com> |
804 | ||
805 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't | |
806 | crash with no type for by-mode libcalls. | |
807 | ||
808 | * config/ia64/ia64.md (conditional_trap): Fix predicate polarity. | |
5410141b | 809 | |
e17ee7e6 | 810 | 2002-04-18 Bob Wilson <bob.wilson@acm.org> |
811 | ||
812 | * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill, | |
813 | __xtensa_nonlocal_goto): Use a syscall instructions to flush | |
814 | the register windows. | |
815 | ||
71a524be | 816 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
817 | ||
818 | * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as | |
819 | appropriate. Document need for extended precision even when | |
820 | MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here, | |
821 | based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size | |
822 | REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error | |
823 | instead of relying on later syntax error when REAL_WIDTH > 5. | |
824 | * real.c: Define NE based only on whether or not we have a | |
825 | full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT). | |
826 | Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally | |
827 | define GET_REAL and PUT_REAL as simple memcpy operations; no | |
828 | need to byteswap or round. | |
829 | Use #error instead of #ifdef-ing out the entire file, for | |
830 | prompt error detection. | |
831 | ||
832 | * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here. | |
833 | ||
d4f13d24 | 834 | 2002-04-18 David S. Miller <davem@redhat.com> |
835 | ||
836 | * config/sparc/sparc.h (BRANCH_COST): Define. | |
837 | ||
838 | * fold-const.c (BRANCH_COST): Don't provide default here, expr.h | |
839 | does it. | |
840 | ||
4ed2a48b | 841 | 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com> |
842 | ||
843 | * flow.c (update_life_info): Ignore return value of cleanup_cfg. | |
844 | Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in | |
845 | propagate_block calls after relaxation loop using new variable | |
846 | stabilized_prop_flags. | |
847 | ||
468c465f | 848 | 2002-04-18 Richard Henderson <rth@redhat.com> |
849 | ||
850 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New. | |
851 | (ia64_va_arg): Expect variable sized types by reference. | |
852 | * config/ia64/ia64-protos.h: Update. | |
71a524be | 853 | * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use |
468c465f | 854 | ia64_function_arg_pass_by_reference. |
855 | ||
0b126525 | 856 | 2002-04-18 Richard Henderson <rth@redhat.com> |
857 | ||
71a524be | 858 | * ifcvt.c: Include except.h. |
859 | (block_has_only_trap): Break out from find_cond_trap. | |
860 | (find_cond_trap): Use it. Always delete the trap block. | |
861 | (merge_if_block): Allow then block null. Be less simplistic about | |
862 | what insns can end a block. | |
863 | * Makefile.in (ifcvt.o): Depend on except.h. | |
fe70d0e3 | 864 | |
0b126525 | 865 | * config/ia64/ia64.md (trap, conditional_trap): New. |
866 | ||
3bfb563a | 867 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
868 | ||
869 | PR c/6358 | |
870 | * function.c (assign_parms): Assign hard current_function_return_rtx | |
871 | register here... | |
872 | (expand_function_end): ...not here. | |
873 | ||
1dd25100 | 874 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
875 | ||
876 | * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
877 | * c-tree.h (c_incomplete_type_error): New. | |
878 | * c-typeck.c (require_complete_type, build_component_ref): Update. | |
879 | (incomplete_type_error): Rename. | |
880 | * langhooks-def.h (lhd_incomplete_type_error): New. | |
881 | (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New. | |
882 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
883 | * langhooks.c (lhd_incomplete_type_error): New. | |
884 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
885 | * tree.c (size_in_bytes): Use new hook. | |
886 | * tree.h (incomplete_type_error): Remove. | |
887 | objc: | |
888 | * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
889 | ||
1b2c7c71 | 890 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
891 | ||
892 | * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT != | |
893 | TARGET_FLOAT_FORMAT blocks. | |
894 | ||
25a08c38 | 895 | 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
896 | ||
897 | * doc/install.texi (Downloading the source): Do not mention Chill | |
898 | any longer, but mention Ada. | |
899 | (Configuration): Do not mention Chill any longer. | |
900 | ||
5977cfc6 | 901 | 2002-04-18 Hans-Peter Nilsson <hp@axis.com> |
902 | ||
903 | * config/cris/cris.h (TARGET_VERSION): Remove local version number. | |
904 | ||
780f86b7 | 905 | Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz> |
906 | ||
907 | * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution | |
908 | in last patch. | |
909 | ||
6a7078b0 | 910 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
911 | ||
912 | * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) | |
913 | instead of unsigned_type. | |
914 | ||
b48f6143 | 915 | Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
916 | ||
917 | * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check. | |
918 | * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped | |
919 | later. | |
920 | ||
2505aad4 | 921 | 2002-04-18 Bernd Schmidt <bernds@redhat.com> |
922 | ||
923 | * attribs.c (vector_type_node_list): New static variable. | |
924 | (handle_vector_size_attribute): Use it to avoid generating a | |
925 | new type node each time we are called. | |
926 | ||
ba06212f | 927 | * combine.c (subst): Avoid trying to make a vector mode subreg of |
928 | an integer constant. | |
929 | (gen_lowpart_for_combine): Likewise. | |
71a524be | 930 | |
4c342eac | 931 | 2002-04-18 Roger Sayle <roger@eyesopen.com> |
932 | Jakub Jelinek <jakub@redhat.com> | |
933 | ||
934 | * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c) | |
935 | for integer constant c (if x has unsigned type or sign bit is not | |
936 | set in c). This folds the zero/sign extension into the bit-wise and | |
937 | operation. | |
938 | ||
1adabeec | 939 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
940 | ||
941 | PR middle-end/6205 | |
942 | * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2, | |
943 | otherwise xorps. | |
944 | ||
a0c3b6d9 | 945 | 2002-04-17 NIIBE Yutaka <gniibe@m17n.org> |
946 | ||
947 | * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL. | |
948 | ||
1686d9b4 | 949 | 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com> |
950 | ||
951 | * gcc.c (read_specs): Detect and fail if an attempt is made to | |
952 | rename a spec string to an already existing string. | |
953 | ||
800949fb | 954 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
955 | ||
956 | * config/s390/s390.c (legitimize_pic_address): Do not generate | |
957 | illegal address constant without CONST. | |
958 | ||
a0a7d900 | 959 | 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
960 | ||
961 | * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64. | |
962 | * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
963 | ||
c10847b9 | 964 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
965 | ||
966 | PR optimization/6305 | |
967 | * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement | |
968 | to make sure previous reloads are taken into account. Generate | |
969 | better code if one operand is an in-range immediate constant. | |
970 | ||
b84b037b | 971 | 2002-04-16 Andrew Haley <aph@cambridge.redhat.com> |
972 | ||
973 | * doc/install.texi (Building): libgcj requires GNU make. | |
974 | ||
fbeafc33 | 975 | 2002-04-17 Jakub Jelinek <jakub@redhat.com> |
976 | ||
977 | PR bootstrap/6315 | |
978 | * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting | |
979 | even if hard quad and register is not floating. | |
980 | (movtf reg<-mem split): Disallow splitting if hard quad and | |
981 | register is floating. | |
982 | (movtf mem<-reg split): Likewise. | |
983 | * config/sparc/sparc.c (fp_register_operand): New predicate. | |
984 | * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand. | |
985 | ||
931c9c00 | 986 | 2002-04-17 Zack Weinberg <zack@codesourcery.com> |
987 | ||
988 | * Makefile.in (PROTO_OBJS): Add cppdefault.o. | |
989 | (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line. | |
990 | (unprotoize.o): Ditto. Build from protoize.c. Define | |
991 | UNPROTOIZE on command line. | |
992 | * protoize.c: Include cppdefault.h. Delete include_defaults. | |
993 | (in_system_include_dir): Use cpp_include_defaults (defined in | |
994 | cppdefault.o). | |
995 | * unprotoize.c: Delete file. | |
996 | ||
79fdb20a | 997 | 2002-04-17 Aldy Hernandez <aldyh@redhat.com> |
998 | ||
71a524be | 999 | * config/rs6000/altivec.h (vec_ld): Add array variants. |
1000 | (vec_lde): Same. | |
1001 | (vec_ldl): Same. | |
79fdb20a | 1002 | |
ee736e8c | 1003 | 2002-04-17 Alan Matsuoka <alanm@redhat.com> |
71a524be | 1004 | Aldy Hernandez <aldyh@redhat.com> |
ee736e8c | 1005 | |
71a524be | 1006 | * config/rs6000/altivec.h: Define __ALTIVEC__. |
1007 | (bool): New. | |
1008 | (__pixel): New. | |
1009 | (pixel): New. | |
1010 | (vec_cfux): New. | |
1011 | (vec_vmaddfp): New. | |
1012 | (vec_vsldoi): New. | |
1013 | Add parentheses to all macro arguments. | |
ee736e8c | 1014 | |
cd7e4c20 | 1015 | 2002-04-16 Richard Henderson <rth@redhat.com> |
1016 | ||
1017 | PR c++/6320 | |
1018 | * except.c (remove_eh_handler): Insert inner regions at beginning | |
1019 | of sibling chain. Refactor expressions. | |
1020 | ||
547381c0 | 1021 | 2002-04-16 Richard Henderson <rth@redhat.com> |
1022 | ||
b25d9808 | 1023 | * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New. |
1024 | * config/sparc/sol2-gas-bi.h: New file. | |
1025 | * config.gcc (sparc*-solaris): Add it as needed. | |
1026 | * configure.in (AS_SPARC64_FLAG): Remove check. | |
1027 | * config.in, configure: Regenerate. | |
1028 | ||
1029 | * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64. | |
1030 | ||
1031 | 2002-04-16 Richard Henderson <rth@redhat.com> | |
1032 | ||
1033 | * config/mips/mips.c (override_options): Don't override N32 for | |
1034 | a 64-bit ISA. | |
b6e62914 | 1035 | |
547381c0 | 1036 | PR 6202 |
1037 | * config/mips/mips.md (can_delay): Split out of existing define_delays. | |
1038 | (HILO_delay): Set can_delay false. | |
1039 | ||
9f781781 | 1040 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
1041 | ||
1042 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute | |
1043 | instruction addresses. | |
1044 | (rs6000_output_function_epilogue): Likewise. | |
1045 | ||
f69ec2f4 | 1046 | 2002-04-16 Paolo Carlini <pcarlini@unitus.it> |
1047 | ||
1048 | * c-parse.in (poplevel, compstmt_start, | |
1049 | compstmt_primary_start): Add ending ';', in accordance | |
1050 | with POSIX. | |
1051 | ||
8ed09732 | 1052 | 2002-04-16 Richard Henderson <rth@redhat.com> |
1053 | ||
1054 | * config.gcc (sparcv9-solaris): Configure for 64-bit default. | |
1055 | Adjust tm_file order to get TARGET_DEFAULT set properly. | |
1056 | (sparc-solaris): Configure 2.[78] for 64-bit multilibs. | |
1057 | * doc/install.texi (sparc-solaris): Update. | |
1058 | ||
3d0385fb | 1059 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
1060 | ||
1061 | * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of | |
1062 | comparison operands do not match each other or if modes of | |
1063 | conditions do not match result. | |
1064 | ||
ee85965c | 1065 | 2002-04-16 Hartmut Penner <hpenner@de.ibm.com> |
ffa5c9bc | 1066 | |
ee85965c | 1067 | PR target/6305 |
1068 | * config/s390/s390.md (mulsidi3): Set both subregs of the | |
71a524be | 1069 | multiword register. |
ffa5c9bc | 1070 | |
ee85965c | 1071 | 2002-04-16 Aldy Hernandez <aldyh@redhat.com> |
e93986bb | 1072 | |
8ed09732 | 1073 | * config/rs6000/altivec.h (vec_addc): Type check. |
e93986bb | 1074 | |
6db2b7ab | 1075 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
1076 | ||
1077 | PR middle-end/6279 | |
1078 | * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target. | |
1079 | ||
1080 | * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET. | |
1081 | ||
4d93ed30 | 1082 | 2002-04-15 Richard Henderson <rth@redhat.com> |
1083 | ||
1084 | * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set | |
1085 | call_really_used_regs too. | |
1086 | ||
35815f41 | 1087 | 2002-04-15 Richard Henderson <rth@redhat.com> |
1088 | ||
1089 | * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd. | |
1090 | ||
9a3d0fc8 | 1091 | 2002-04-15 David S. Miller <davem@redhat.com> |
1092 | ||
1093 | * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs | |
1094 | as being CLOBBERed. | |
1095 | ||
0ccb2687 | 1096 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
1097 | ||
1098 | PR c/6290 | |
1099 | * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the | |
1100 | CONST_VECTOR is { 0, ... 0 }. | |
1101 | ||
448ee58a | 1102 | 2002-04-15 Loren J. Rittle <ljrittle@acm.org> |
1103 | ||
1104 | * doc/install.texi (Installing GCC: Configuration): Clarify | |
1105 | the only supported ways to configure gcc. | |
1106 | ||
7698a084 | 1107 | 2002-04-15 Roland McGrath <roland@frob.com> |
71a524be | 1108 | |
7698a084 | 1109 | * config.gcc (alpha*-*-gnu*): New target configuration. |
1110 | * config/alpha/gnu.h: New file for it. | |
1111 | * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define. | |
1112 | ||
7e83d989 | 1113 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
1114 | ||
1115 | * c-common.h (STMT_EXPR_NO_SCOPE): New macro. | |
1116 | * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE. | |
1117 | * tree.h (expand_start_stmt_expr): Update prototype. | |
1118 | * stmt.c (expand_start_stmt_expr): Add has_scope parameter. | |
1119 | * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE | |
1120 | on the STMT_EXPR created for the inline function. | |
71a524be | 1121 | |
407f0434 | 1122 | 2002-04-15 Richard Henderson <rth@redhat.com> |
1123 | ||
1124 | * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h, | |
1125 | config/i386/linux-aout.h, config/i386/linux-oldld.h, | |
1126 | config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, | |
1127 | config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h, | |
1128 | config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h, | |
1129 | config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h, | |
1130 | config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES): | |
1131 | Define __gnu_linux__, not gnu_linux. | |
1132 | * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd. | |
1133 | ||
5e311636 | 1134 | 2002-04-15 Mark Mitchell <mark@codesourcery.com> |
1135 | ||
1136 | Remove Chill front end. | |
1137 | * gcc.c (default_compilers): Remove Chill entries. | |
1138 | * ch: Remove directory. | |
1139 | * doc/frontends.texi: Remove information about Chill. | |
1140 | * doc/sourcebuild.texi: Likewise. | |
1141 | * doc/standards.texi: Likewise. | |
1142 | ||
5b7ad4b3 | 1143 | 2002-04-15 Douglas B Rupp <rupp@gnat.com> |
1144 | ||
1145 | * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include. | |
1146 | (LONGLONG_STANDALONE): Define. | |
1147 | ||
61f83895 | 1148 | 2002-04-15 David S. Miller <davem@redhat.com> |
1149 | ||
1150 | * config/sparc/sparc.c (sparc_emit_float_lib_cmp): | |
1151 | Call emit_library_call with LCT_NORMAL. | |
1152 | (sparc_initialize_trampoline): Use LCT_foo instead of | |
1153 | magic constant in emit_library_call invocations. | |
1154 | (sparc64_initialize_trampoline): Likewise. | |
1155 | (sparc_profile_hook): Likewise. | |
1156 | * config/sparc/sparc.md: Likewise. | |
1157 | ||
1158 | * config/sparc/sparc.c (sparc_extra_constraint_check): | |
1159 | Fix type of argument 'c'. | |
1160 | * config/sparc/sparc-protos.h (sparc_extra_constraint_check): | |
1161 | Likewise. | |
1162 | ||
06c7407c | 1163 | 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
1164 | ||
1165 | * diagnostic.h (output_buffer_state): Redefine. | |
1166 | (output_format_decoder): New macro. | |
1167 | (output_prefixing_rule): Likewise. | |
1168 | (output_line_cutoff): Likewise. | |
1169 | (diagnostic_format_decoder): Adjust. | |
1170 | (diagnostic_prefixing_rule): Likewise. | |
1171 | (diagnostic_line_cutoff): Likewise. | |
1172 | (diagnostic_state): Likewise. | |
1173 | (diagnostic_kind_count): Likewise. | |
1174 | (diagnostic_buffer): Now a macro. | |
1175 | ||
1176 | * diagnostic.c (diagnostic_buffer): Remove definition. | |
1177 | (output_is_line_wrapping): Adjust. | |
1178 | (set_real_maximum_length): Likewise. | |
1179 | (output_set_maximum_length): Likewise. | |
1180 | (init_output_buffer): Likewise. | |
1181 | (lhd_print_error_function): Likewise. | |
1182 | (output_do_verbatim): Likewise. | |
1183 | ||
73328dce | 1184 | 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk> |
1185 | ||
1186 | * cpperror.c (print_location): Don't print include chain | |
1187 | if line == 0. | |
1188 | (cpp_begin_message): Update to use DL_ macros. | |
1189 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
1190 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
1191 | cpp_notice, cpp_notice_from_errno): Remove. | |
1192 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
1193 | level. | |
1194 | (cpp_errno): New. | |
1195 | * cppexp.c (CPP_ICE): Remove. | |
1196 | (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined, | |
1197 | lex, integer_overflow, _cpp_parse_expr): Update. | |
1198 | * cppfiles.c (read_include_file, find_include_file, | |
1199 | handle_missing_header, _cpp_read_file, remap_filename): Update. | |
1200 | * cpphash.h (enum error_type): Remove. | |
1201 | (_cpp_begin_message): Update. | |
1202 | * cppinit.c (append_include_chain, remove_dup_dirs, output_deps, | |
1203 | cpp_handle_option, cpp_post_options): Update. | |
1204 | * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment, | |
1205 | skip_whitespace, parse_identifier, parse_slow, parse_string, | |
1206 | _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape, | |
1207 | cpp_interpret_charconst): Update. | |
1208 | * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive, | |
1209 | lex_macro_node, do_undef, glue_header_name, parse_include, | |
1210 | do_include_common, read_flag, do_line, do_linemarker, do_ident, | |
1211 | cpp_register_pragma, do_pragma_once, do_pragma_system_header, | |
1212 | do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else, | |
1213 | do_elif, do_endif, parse_answer, parse_assertion, do_assert, | |
1214 | _cpp_pop_buffer, do_diagnostic): Update. | |
1215 | * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR, | |
1216 | DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New. | |
1217 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
1218 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
1219 | cpp_notice, cpp_notice_from_errno): Remove. | |
1220 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
1221 | level. | |
1222 | (cpp_errno): New. | |
1223 | * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens, | |
1224 | collect_args, enter_macro_context, save_parameter, parse_params, | |
1225 | _cpp_create_definition, check_trad_stringification, | |
1226 | cpp_macro_definition): Update. | |
1227 | * cppmain.c (cpp_preprocess_file): Update. | |
1228 | * fix-header.c (read_scan_file): Update. | |
1229 | ||
b11856ef | 1230 | 2002-04-14 Andreas Schwab <schwab@suse.de> |
1231 | ||
1232 | * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash. | |
1233 | ||
ad8eb5c5 | 1234 | 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
1235 | ||
1236 | * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. | |
1237 | ||
1d1deae5 | 1238 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
1239 | ||
1240 | * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, | |
1241 | not gnu_hurd. | |
1242 | ||
bab60030 | 1243 | 2002-04-13 Hans-Peter Nilsson <hp@axis.com> |
1244 | ||
1245 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo. | |
1246 | ||
d3fedea9 | 1247 | 2002-04-13 Joel Sherrill <joel@OARcorp.com> |
1248 | ||
1249 | * config/sparc/t-elf: Enable v8 multilibs. Impacts | |
1250 | sparc-elf and sparc-rtems targets. | |
1251 | ||
99e04ac4 | 1252 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
1253 | ||
1254 | * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is | |
1255 | defined, and __gnu_hurd__ wherever __GNU__ is defined. | |
1256 | * arm/linux-elf.h: Likewise. | |
1257 | * cris/aout.h: Likewise. | |
1258 | * cris/linux.h: Likewise. | |
1259 | * i370/linux.h: Likewise. | |
1260 | * i386/gnu.h: Likewise. | |
1261 | * i386/linux-aout.h: Likewise. | |
1262 | * i386/linux-oldld.h: Likewise. | |
1263 | * i386/linux.h: Likewise. | |
1264 | * i386/linux64.h: Likewise. | |
1265 | * ia64/linux.h: Likewise. | |
1266 | * m68k/linux-aout.h: Likewise. | |
1267 | * m68k/linux.h: Likewise. | |
1268 | * mips/linux.h: Likewise. | |
1269 | * pa/pa-linux.h: Likewise. | |
1270 | * pj/linux.h: Likewise. | |
1271 | * rs6000/sysv4.h: Likewise. | |
1272 | * s390/linux.h: Likewise. | |
1273 | * sh/linux.h: Likewise. | |
1274 | * sparc/linux-aout.h: Likewise. | |
1275 | * sparc/linux.h: Likewise. | |
1276 | * sparc/linux64.h: Likewise. | |
1277 | * xtensa/linux.h: Likewise. | |
1278 | ||
e3189f72 | 1279 | 2002-04-13 Richard Sandiford <rsandifo@redhat.com> |
1280 | ||
1281 | * stmt.c (check_unique_operand_names): Expect operand names to | |
1282 | be strings rather than identifiers. Use simple_cst_equal to | |
1283 | compare them. | |
1284 | (resolve_operand_name_1): Make same identifier to string change here. | |
1285 | * c-parse.in (asm_operand): Convert a named operand into a string. | |
1286 | * cp/parse.y (asm_operand): Likewise. | |
1287 | ||
8b0eba67 | 1288 | 2002-04-13 Andreas Schwab <schwab@suse.de> |
1289 | ||
1290 | * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu). | |
1291 | ||
b3609646 | 1292 | 2002-04-12 Mark Mitchell <mark@codesourcery.com> |
1293 | ||
1294 | Revert these changes: | |
1295 | ||
1296 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> | |
1297 | ||
1298 | PR c++/5571 | |
1299 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
1300 | ||
d5a614bc | 1301 | 2002-04-12 Richard Henderson <rth@redhat.com> |
1302 | ||
1303 | * config.gcc (sparcv9-*-solaris2): Default to 32-bit code. | |
1304 | (sparc*-*-solaris): Clean up header files. | |
1305 | * configure.in (AS_SPARC64_FLAG): Error out if can't find it | |
1306 | and plan on generating 64-bit code. | |
1307 | * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. | |
1308 | * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. | |
1309 | * config/sparc/sol2-sld-64.h: Rename ... | |
1310 | * config/sparc/sol2-bi.h: ... here. Remove the bits that checked | |
1311 | for AS_SPARC64_FLAG not defined. | |
1312 | * config/sparc/sol2-gld-bi.h: New. | |
1313 | * config/sparc/sol2-sld.h: Remove. | |
1314 | * config/sparc/sol26-sld.h: New. | |
1315 | * config/sparc/sol2.h: Tidy comments. | |
1316 | * doc/install.texi: Document sparc-solaris configury changes. | |
1317 | ||
03035422 | 1318 | 2002-04-12 Richard Henderson <rth@redhat.com> |
1319 | ||
1320 | * recog.c (offsettable_address_p): Match the logic in adjust_address. | |
1321 | ||
1322 | * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode | |
1323 | in 64-bit mode only. Use only for 32-bit or MEDLOW. | |
1324 | ||
f700d497 | 1325 | 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1326 | ||
1327 | * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings. | |
1328 | ||
bf9fd117 | 1329 | Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com) |
1330 | ||
a943e059 | 1331 | * pa.c (pa_can_combine_p): Call extract_insn before calling |
bf9fd117 | 1332 | constrain_operands. |
1333 | ||
f4518eb4 | 1334 | 2002-04-12 Douglas B Rupp <rupp@gnat.com> |
1335 | ||
1336 | * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. | |
1337 | (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. | |
1338 | (DEFAULT_PCC_STRUCT_RETURN): Define as 0. | |
4eba9e43 | 1339 | (CPP_PREDEFINES): Handle __declspec. |
f4518eb4 | 1340 | * config/i386/t-interix (USER_H): Remove. |
1341 | ||
bc641a6c | 1342 | 2002-04-12 DJ Delorie <dj@redhat.com> |
1343 | ||
1344 | * integrate.c (compare_blocks): Make comparisons safe for when | |
1345 | sizeof(int) < sizeof(char *). | |
1346 | (find_block): Likewise. | |
1347 | ||
2c290e47 | 1348 | 2002-04-12 Jan Hubicka <jh@suse.cz> |
1349 | David Edelsohn <edelsohn@gnu.org> | |
1350 | ||
1351 | * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT | |
1352 | registers. | |
1353 | (symbol_ref_operand): New. | |
1354 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand. | |
1355 | * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand. | |
1356 | ||
f287f030 | 1357 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
1358 | ||
1359 | * config/ia64/ia64.h (ASM_SPEC): Moved from here ... | |
1360 | * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it | |
1361 | overrides the definition in config/svr4.h. | |
71a524be | 1362 | |
fbeb7d1a | 1363 | 2002-04-12 Eric Norum <eric.norum@usask.ca> |
1364 | ||
1365 | * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
1366 | config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h, | |
1367 | config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h, | |
1368 | config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h, | |
1369 | config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h, | |
1370 | config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h, | |
1371 | config/v850/rtems.h (*-rtems*): Cleanup pass to move common | |
1372 | definitions to config/rtems.h and make the targets more similar. | |
1373 | ||
22ee087b | 1374 | Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1375 | ||
4a836698 | 1376 | * expr.c (expand_assigment): Remove duplicate conversions #ifdef |
1377 | POINTERS_EXTEND_UNSIGNED. | |
1378 | (store_constructor, expand_expr, case COMPONENT_REF): Likewise. | |
1379 | (store_expr): Use TYPE_MODE (sizetype), not ptr_mode. | |
1380 | ||
22ee087b | 1381 | * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET |
1382 | not specified. | |
1383 | ||
4a1a3f67 | 1384 | Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1385 | ||
1386 | * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG | |
1387 | depends on TARGET_SHMEDIA, not TARGET_SH5. | |
1388 | ||
42299343 | 1389 | 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com> |
1390 | ||
1391 | * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>: | |
1392 | For paradoxical (subreg VAR), replace VAR, don't try the subreg. | |
1393 | ||
4ea39690 | 1394 | Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1395 | ||
1396 | * sh.c (broken_move): Constant 0. / 1. load is OK if there is | |
1397 | no r0 clobber. | |
1398 | ||
be6c399c | 1399 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
1400 | ||
1401 | * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash. | |
1402 | ||
f3cb52fc | 1403 | 2002-04-12 Richard Henderson <rth@redhat.com> |
1404 | ||
1405 | PR bootstrap/4191 | |
1406 | * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef. | |
1407 | ||
1408 | * flow.c (mark_used_reg): Manage reg_cond_dead properly for | |
1409 | modes spanning multiple hard regs. | |
71a524be | 1410 | |
f3cb52fc | 1411 | * recog.c (peephole2_optimize): Rebuild jump labels as needed. |
1412 | ||
b70ea764 | 1413 | 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1414 | ||
1415 | * pa.c (pa_output_function_prologue): Don't accumulate the total | |
1416 | number of code bytes when using TARGET_64BIT, or gas, SOM and not | |
1417 | the portable runtime. | |
1418 | (output_deferred_plabels): Handle 64bit plabels. | |
1419 | (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when | |
1420 | generating pic code using the GAS assembler for object formats that | |
1421 | are not SOM (ie., ELF32 and ELF64). | |
1422 | (output_millicode_call): Check attribute type if attribute length is 28. | |
1423 | Likewise use $PIC_pcrel$0. Only call get_attr_length and | |
1424 | dbr_sequence_length once. | |
1425 | (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and | |
1426 | dbr_sequence_length once. | |
1427 | * pa.h (TARGET_SOM): Define if not defined. | |
1428 | * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0 | |
1429 | with GAS and not SOM. | |
1430 | (jump, call_internal_reg, call_value_internal_reg): Likewise. | |
1431 | * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining. | |
1432 | ||
5c50685b | 1433 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
1434 | ||
1435 | * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value. | |
1436 | (DEFAULT_PCC_STRUCT_RETURN) Do not redefine. | |
1437 | (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP, | |
1438 | DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): | |
1439 | elfos.h and dbxelf.h values are fine now. | |
1440 | * config/i386/freebsd.h, config/alpha/freebsd.h | |
1441 | (DEFAULT_PCC_STRUCT_RETURN): Define to 0. | |
1442 | ||
463e830e | 1443 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
1444 | ||
1445 | * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ | |
1446 | or set Acpu or Amachine. Reformat. | |
1447 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
1448 | define. | |
1449 | (LINK_SPEC): Do not need to undef. | |
1450 | * config/ia64/elf.h (ASM_EXTRA_SPEC): Define. | |
1451 | * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef. | |
1452 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
1453 | define. | |
1454 | * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define. | |
1455 | (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead. | |
1456 | (LINK_SPEC): Do not need to undef. | |
1457 | (DONT_USE_BUILTIN_SETJMP): Do not define. | |
1458 | * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add. | |
1459 | (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64. | |
1460 | (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define. | |
1461 | Remove trailing spaces. | |
1462 | * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__, | |
1463 | __ELF__, or set Acpu or Amachine. Reformat. | |
1464 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
1465 | define. | |
1466 | ||
0670e09b | 1467 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
1468 | ||
1469 | * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match | |
1470 | all other *-*-freebsd* targets. | |
1471 | ||
2640e80a | 1472 | 2002-04-11 Richard Henderson <rth@redhat.com> |
1473 | ||
1474 | * config.gcc (alpha*-*-linux*ecoff): Detect and reject. | |
1475 | ||
f75effa0 | 1476 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
1477 | ||
1478 | * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms): | |
1479 | Include {cpu}/{cpu}.h thru tm_file. | |
1480 | (alpha*-*-linux*ecoff): Remove target. | |
1481 | * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__. | |
1482 | (LINK_SPEC): Remove, is not OS independent. | |
1483 | * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__. | |
1484 | (LINK_SPEC): Do not need to #undef any longer. | |
1485 | * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef | |
1486 | any longer. | |
1487 | * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define | |
1488 | __ELF__. | |
1489 | (LINK_SPEC): Moved here from alpha/elf.h. | |
1490 | * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of | |
1491 | SUB_CPP_PREDEFINES. | |
1492 | * config/alpha/linux-ecoff.h: Remove. | |
1493 | * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__. | |
1494 | (CPP_SPEC): Define _POSIX_SOURCE as needed. | |
1495 | (CPP_SUBTARGET_SPEC): Do not define. | |
1496 | (LINK_SPEC): Do not need to #undef any longer. | |
1497 | * config/alpha/openbsd.h: Do not directly include alpha/alpha.h. | |
1498 | * config/alpha/vms.h: Likewise. | |
1499 | ||
f3cb52fc | 1500 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
34ce6f4d | 1501 | |
1502 | * doc/extend.texi: Remove old claim that typedefs cannot have | |
1503 | an alignment attribute. | |
1504 | ||
963043a6 | 1505 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
1506 | ||
1507 | PR optimization/6177 | |
1508 | * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if | |
1509 | bitpos is 0 and bitsize CONCAT size. | |
1510 | ||
886bca0a | 1511 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
1512 | ||
1513 | PR c/6223 | |
1514 | * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz. | |
1515 | ||
931d8bb3 | 1516 | 2002-04-10 David O'Brien <obrien@FreeBSD.org> |
1517 | ||
1518 | * config/alpha/freebsd.h: Minor reformatting. | |
1519 | (CPP_SPEC): Define ELF and add cpp_subtarget. | |
1520 | (ASM_SPEC): No longer needed. | |
1521 | ||
5fd280eb | 1522 | 2002-04-11 Richard Henderson <rth@redhat.com> |
1523 | ||
1524 | * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative. | |
1525 | (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory. | |
1526 | (dimode mem/zero splitter): New. | |
1527 | ||
0fb176ea | 1528 | 2002-04-11 Hans-Peter Nilsson <hp@axis.com> |
1529 | ||
1530 | * config/cris/cris.c (cris_override_options): Tweak error message | |
1531 | for PIC not implemented. | |
1532 | ||
1533 | * config/cris/cris.h: Tweak comments related to parameter-passing. | |
1534 | ||
1535 | * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here. | |
1536 | ||
017cb544 | 1537 | 2002-04-10 Richard Henderson <rth@redhat.com> |
1538 | ||
1539 | * except.c (add_ehl_entry): Allow duplicates after landing pad | |
1540 | creation. | |
1541 | ||
c0211d6b | 1542 | 2002-04-10 David Edelsohn <edelsohn@gnu.org> |
1543 | ||
1544 | * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64. | |
1545 | ||
175f3f99 | 1546 | 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl> |
1547 | ||
1548 | * c-decl.c (c_init_decl_processing): Move generation of | |
1549 | decls for g77_integer_type_node and friends from here ... | |
1550 | * c-common.c (c_common_nodes_and_builtins): ... to here. | |
1551 | ||
6f813137 | 1552 | 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com> |
1553 | ||
1554 | * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM | |
1555 | is only used as frame pointer when frame_pointer_needed is true. | |
1556 | ||
dd080cc9 | 1557 | 2002-04-10 Richard Earnshaw <rearnsha@arm.com> |
1558 | ||
1559 | PR target/817 | |
1560 | * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow | |
1561 | for the fact that the pool entry uses two words. | |
1562 | (movdf_hard_insn): Similarly. Also, ADR instruction can span | |
1563 | 1k bytes. | |
1564 | (movdf_soft_insn): Similarly. | |
1565 | (movxf_hard_insn): Adjust neg_pool_range attribute to allow | |
1566 | for the fact that the pool entry uses three words. | |
1567 | ||
6e45d906 | 1568 | 2002-04-10 Richard Sandiford <rsandifo@redhat.com> |
1569 | ||
1570 | * config/mips/mips.c (mips_va_arg): When using the struct version | |
1571 | of the EABI va_list, allow arguments in the register save area to | |
1572 | take up less room than a stack argument. | |
1573 | ||
f64482cc | 1574 | 2002-04-10 Richard Henderson <rth@redhat.com> |
1575 | ||
1576 | * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers | |
1577 | if EXPAND_INITIALIZER. | |
1578 | ||
05b07808 | 1579 | 2002-04-09 Richard Henderson <rth@redhat.com> |
1580 | ||
1581 | * config/alpha/alpha.md (movdi_er_maybe_g): New. | |
1582 | * config/alpha/alpha.c (alpha_expand_mov): Use it. | |
1583 | ||
ef15379a | 1584 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
1585 | ||
1586 | PR optimization/6233 | |
1587 | * rtlanal.c (pure_call_p): New function. | |
1588 | * rtl.h (pure_call_p): Declare. | |
1589 | * loop.c (prescan_loop): Use it to set has_nonconst_call. | |
1590 | * gcse.c (store_killed_in_insn): Use pure_call_p here too. | |
1591 | ||
a87d8cb5 | 1592 | 2002-04-09 Eric Christopher <echristo@redhat.com> |
1593 | ||
1594 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional | |
1595 | information to .comm directive. | |
1596 | ||
9998b6a9 | 1597 | 2002-04-09 Richard Henderson <rth@redhat.com> |
1598 | ||
1599 | PR c/5078 | |
1600 | * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers. | |
1601 | ||
8f8dcce4 | 1602 | 2002-04-09 Richard Henderson <rth@redhat.com> |
1603 | ||
1604 | * basic-block.h (flow_delete_block_noexpunge): Declare. | |
1605 | (expunge_block_nocompact): Declare. | |
1606 | * cfg.c (expunge_block_nocompact): Split out from ... | |
1607 | (expunge_block): ... here. | |
1608 | * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels. | |
1609 | (flow_delete_block_noexpunge): Split out from ... | |
1610 | (flow_delete_block): ... here. | |
1611 | * cfgcleanup.c (delete_unreachable_blocks): Compact while | |
1612 | removing dead blocks. | |
1613 | * except.c (exception_handler_labels): Remove. | |
1614 | (exception_handler_label_map): New. | |
1615 | (struct eh_region): Add aka member. | |
1616 | (mark_ehl_map_entry, mark_ehl_map, free_region): New. | |
1617 | (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New. | |
1618 | (for_each_eh_label, for_each_eh_label_1): New. | |
1619 | (init_eh): Register exception_handler_label_map. | |
1620 | (free_eh_status): Use free_region. | |
1621 | (find_exception_handler_labels): Use the map, not the list. | |
1622 | (remove_exception_handler_label): Likewise. | |
1623 | (maybe_remove_eh_handler): Likewise. | |
1624 | (remove_eh_handler): Use the region aka bitmap. | |
1625 | * except.h (exception_handler_labels): Remove. | |
1626 | (for_each_eh_label): Declare. | |
1627 | * jump.c (rebuild_jump_labels): Don't check exception_handler_labels. | |
1628 | * loop.c (invalidate_loops_containing_label): New. | |
1629 | (find_and_verify_loops): Use it. Use for_each_eh_label. | |
1630 | * sched-rgn.c (is_cfg_nonregular): Use | |
1631 | current_function_has_exception_handlers. | |
1632 | ||
739c050b | 1633 | 2002-04-09 Richard Henderson <rth@redhat.com> |
1634 | ||
1635 | * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b, | |
1636 | sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c): | |
1637 | Do not return changed status. | |
1638 | (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg, | |
1639 | sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg): | |
1640 | New functions that do return changed status. | |
1641 | * sbitmap.h: Update decls. | |
1642 | * gcse.c, lcm.c: Use _cg functions as needed. | |
1643 | ||
3f67d569 | 1644 | Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1645 | ||
1646 | * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h. | |
1647 | (sh64-*-elf*, sh-*-rtemself*): Likewise. | |
1648 | * config/sh/embed_bb.c: New file. | |
1649 | * config/sh/embed-elf.h: New file. | |
1650 | * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__ | |
1651 | if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec. | |
1652 | (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
1653 | __PTRDIFF_TYPE__ . | |
1654 | (SUBTARGET_CPP_PTR_SPEC): Don't define. | |
1655 | (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec. | |
1656 | Add subtarget_asm_endian_spec. | |
1657 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
1658 | (SUBTARGET_ASM_ENDIAN_SPEC): Define. | |
1659 | (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5. | |
1660 | (WCHAR_UNSIGNED): Define. | |
1661 | (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define. | |
1662 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
1663 | (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5. | |
1664 | Fix value. | |
1665 | * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5. | |
1666 | (sh_adjust_cost): Likewise. | |
1667 | sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
1668 | __PTRDIFF_TYPE__ . | |
1669 | (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define. | |
1670 | (WCHAR_TYPE_SIZE): Likewise. | |
1671 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
1672 | (SH_ELF_WCHAR_TYPE): #undef/ #define. | |
1673 | (MAX_WCHAR_TYPE_SIZE): Don't #undef. | |
1674 | * config/sh/elf.h (WCHAR_UNSIGNED): #undef . | |
1675 | (MAX_WCHAR_TYPE_SIZE): Don't #define . | |
1676 | (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define . | |
1677 | (USER_LABEL_PREFIX): Don't #undef /#define . | |
1678 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
1679 | * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define . | |
1680 | (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise. | |
1681 | (ASM_SPEC): Likewise. | |
1682 | (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define . | |
1683 | (CC1_SPEC): don't supply -m3 for -m4*, -m5*. | |
1684 | * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE. | |
1685 | (LIB2FUNCS_EXTRA): Define. | |
1686 | * t-sh64 (LIB2FUNCS_EXTRA): Define. | |
1687 | * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine. | |
1688 | (LIB1ASMFUNCS_CACHE): Define. | |
1689 | (LIB2FUNCS_EXTRA): Redefine empty. | |
1690 | ||
045a0eef | 1691 | 2002-04-08 Richard Henderson <rth@redhat.com> |
1692 | ||
1693 | * reorg.c (get_branch_condition): Use reversed_comparison_code. | |
1694 | ||
105e74c2 | 1695 | 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1696 | ||
1697 | * config/m68hc11/larith.asm (__map_data_section): Fix condition | |
1698 | and optimize for size. | |
1699 | (__do_global_ctors): Fix pointer comparison. | |
1700 | (__do_global_dtors): Likewise. | |
1701 | ||
3dcaebeb | 1702 | 2002-04-09 David S. Miller <davem@redhat.com> |
1703 | ||
1704 | * config/sparc/sparc.c (sparc_extra_constraint_check): New | |
1705 | function, implementing EXTRA_CONSTRAINTS. For memory constraints, | |
1706 | allow reloading pseudos. | |
1707 | * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it. | |
1708 | * config/sparc/sparc-protos.h: Declare it. | |
1709 | ||
1710 | * config/sparc/sparc.c (const64_is_2insns): Kill signed vs. | |
1711 | unsigned comparison warning. | |
1712 | (output_restore_regs): Mark leaf_function as unused. | |
1713 | ||
67c68e45 | 1714 | Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1715 | ||
1716 | * expr.c (is_aligning_offset): New function. | |
1717 | (expand_expr, case COMPONENT_EXPR): Call it. | |
1718 | ||
87515218 | 1719 | 2002-04-08 David S. Miller <davem@redhat.com> |
1720 | ||
1721 | PR target/6082 | |
1722 | * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW | |
1723 | ||
1724 | Make init_priority work on Sparc when using GNU ld. | |
1725 | * config/sparc/linux.h, config/sparc/linux64.h, | |
1726 | config/sparc/netbsd-elf.h, config/sparc/freebsd.h | |
1727 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. | |
1728 | * config/sparc/sol2-gld.h: New file to do the same. | |
1729 | * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add | |
1730 | sparc/sol2-gld.h to tm_file. | |
1731 | ||
1732 | PR optimization/4328 | |
1733 | * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. | |
1734 | * doc/md.texi: Document it. | |
1735 | * config/sparc/sparc.md (movdi_insn_sp64_novis, | |
1736 | movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, | |
1737 | movdf_insn_v9only_vis, movdf_insn_sp64_novis, | |
1738 | movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. | |
1739 | * config/sparc/sparc.c (mem_min_alignment): Fix comment. | |
1740 | ||
9e03c9f8 | 1741 | 2002-04-08 Andreas Jaeger <aj@suse.de> |
1742 | ||
1743 | * stmt.c (expand_asm_operands): Revert last patch from Richard | |
1744 | Henderson. | |
1745 | ||
6b129de1 | 1746 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1747 | ||
1748 | * doc/contrib.texi (Contributors): Add John David Anglin and Loren | |
1749 | J. Rittle (the latter also to Testers). Update David O'Brien's entry. | |
1750 | ||
1751 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
1752 | ||
1753 | * doc/contrib.texi (Contributors): Add David O'Brien. | |
1754 | ||
ab3470ec | 1755 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
1756 | ||
1757 | * configure.in (auto-build.h): Use target_alias and build_alias | |
1758 | when running configure. | |
1759 | (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too. | |
1760 | (gcc_cv_nm, gcc_cv_objdump): Set for build != host too. | |
1761 | * configure: Regenerate. | |
1762 | ||
0b8c20bf | 1763 | 2002-04-07 David S. Miller <davem@redhat.com> |
1764 | ||
1765 | * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file. | |
1766 | ||
a6bf437a | 1767 | 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1768 | ||
1769 | PR 5933 | |
1770 | * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when | |
1771 | generating 32-bit pic code. | |
1772 | ||
d3f7919d | 1773 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
1774 | ||
1775 | * cppinit.c (cpp_create_reader): Initialize | |
1776 | discard_comments_in_macro_exp. | |
1777 | (COMMAND_LINE_OPTIONS): Add "-CC" option. | |
1778 | (cpp_handle_option): Handle "-CC" option. | |
1779 | * cpplex.c (save_comment): If saving a C++ comment in | |
1780 | a directive, convert it to a C comment. | |
1781 | (_cpp_lex_direct): Pass second comment start character to | |
1782 | save_comment to indicate comment type. | |
1783 | * cpplib.c (_cpp_handle_directive): If processing | |
1784 | a "#define" directive and discard_comments_in_macro_exp | |
1785 | is false, re-enable saving of comments. | |
1786 | (lex_macro_node): If discard_comments_in_macro_exp is false, | |
1787 | discard any comments before the macro identifier. | |
1788 | * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp | |
1789 | member. | |
1790 | * cppmacro.c (cpp_get_token): If expanding a macro while | |
1791 | processing a directive, discard any comments we might encounter. | |
1792 | (parse_params): If discard_comments_in_macro_exp is false, | |
1793 | ignore comments in the macro parameter list. | |
1794 | * gcc.c (cpp_unique_options): Add "-CC" option. | |
1795 | (option_map): Map "--comments-in-macros" to "-CC". | |
1796 | * doc/cppopts.texi: Document "-CC" option. | |
1797 | * f/lang-specs.h: Add "-CC" option. | |
1798 | * testsuite/gcc.dg/cpp/maccom1.c: New test. | |
1799 | * testsuite/gcc.dg/cpp/maccom2.c: New test. | |
1800 | * testsuite/gcc.dg/cpp/maccom3.c: New test. | |
1801 | * testsuite/gcc.dg/cpp/maccom4.c: New test. | |
1802 | * testsuite/gcc.dg/cpp/maccom5.c: New test. | |
1803 | * testsuite/gcc.dg/cpp/maccom6.c: New test. | |
1804 | ||
d872fdb9 | 1805 | 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1806 | ||
1807 | PR middle-end/6180 | |
1808 | * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes. | |
1809 | ||
99b12e3f | 1810 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> |
1811 | ||
242fc35c | 1812 | PR c++/5571 |
1813 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
1814 | ||
99b12e3f | 1815 | PR opt/5120 |
1816 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear | |
1817 | RTX_UNCHANGING_P for the functions arguments when a tail call | |
1818 | is made. | |
1819 | ||
a14bc987 | 1820 | 2002-04-06 Jason Merrill <jason@redhat.com> |
1821 | ||
1822 | * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2. | |
1823 | (parse_options_and_default_flags): Set them appropriately. | |
1824 | * c-common.c (c_common_post_options): Don't set flag_really_no_inline. | |
1825 | ||
adcdc3d7 | 1826 | 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com> |
1827 | ||
1828 | * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc | |
1829 | here. | |
1830 | ||
1831 | * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious | |
1832 | semicolon. | |
1833 | ||
1834 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size | |
1835 | types come in by-reference. Fix typo in comment. | |
1836 | ||
8c9facdb | 1837 | 2002-04-05 David S. Miller <davem@redhat.com> |
1838 | ||
1839 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits. | |
1840 | * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos, | |
1841 | sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*, | |
1842 | {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file. | |
1843 | ||
1844 | 2002-04-05 David S. Miller <davem@redhat.com> | |
1845 | ||
1846 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we | |
1847 | are not going to emit return instructions, emit at least a nop | |
1848 | for the sake of sane backtraces. | |
1849 | ||
3986e66f | 1850 | 2002-04-05 Richard Henderson <rth@redhat.com> |
1851 | ||
1852 | * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)). | |
1853 | ||
940383f5 | 1854 | 2002-04-05 Jakub Jeilnek <jakub@redhat.com> |
1855 | ||
1856 | * mklibgcc.in: Use $tmpmapfile, not tmp-$@. | |
1857 | ||
7dd3befd | 1858 | 2002-04-05 Alexandre Oliva <aoliva@redhat.com> |
1859 | ||
1860 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, | |
1861 | ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
1862 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16. | |
1863 | ||
a69f4a27 | 1864 | 2002-04-05 Andreas Schwab <schwab@suse.de> |
1865 | ||
a23487e4 | 1866 | * c-convert.c: Include c-common.h. |
a69f4a27 | 1867 | * Makefile.in (c-convert.o): Updated. |
1868 | ||
48b37790 | 1869 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
1870 | ||
1871 | * mklibgcc.in: Use separate libgcc.map for each multilib. | |
1872 | * Makefile.in (distclean): Don't remove libgcc.map here. | |
1873 | ||
7a94134d | 1874 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
1875 | ||
1876 | * Makefile.in (s-mlib): Handle --disable-multilib by separate | |
1877 | genmultilib invocation. | |
1878 | ||
e87dac45 | 1879 | 2002-04-04 Richard Sandiford <rsandifo@redhat.com> |
1880 | ||
1881 | * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs | |
1882 | to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs | |
1883 | to num_gprs for symmetry. | |
1884 | * config/mips/mips.c: Adjust accordingly. | |
1885 | ||
24ade6d8 | 1886 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
1887 | ||
1888 | * c-common.c (truthvalue_conversion): Rename, update. | |
1889 | * c-common.h (c_common_truthvalue_conversion): New. | |
1890 | * c-convert.c (convert): Update. | |
1891 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
1892 | * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update. | |
1893 | * c-typeck.c (build_binary_op, build_unary_op, | |
1894 | build_conditional_expr): Update. | |
1895 | * fold-const.c (constant_boolean_node, fold): Use langhook. | |
1896 | * langhooks-def.h (LANGHOOK_INITIALIZER): Update. | |
1897 | * langhooks.h (struct lang_hooks): New hook. | |
1898 | * stmt.c (expand_decl_cleanup): Use langhook. | |
1899 | * tree.h (truthvalue_conversion): Remove. | |
1900 | objc: | |
1901 | * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
1902 | ||
88a4e075 | 1903 | 2002-04-05 Alan Modra <amodra@bigpond.net.au> |
1904 | ||
1905 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o | |
1906 | Add rules to make null object file. | |
1907 | ||
3a68fd94 | 1908 | 2002-04-04 Jim Blandy <jimb@redhat.com> |
1909 | ||
1910 | * cppmacro.c (cpp_macro_definition): Do not emit spaces after | |
1911 | macro formal parameter names. | |
1912 | ||
04d6fcf8 | 1913 | 2002-04-04 David S. Miller <davem@redhat.com> |
1914 | ||
1915 | * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg. | |
1916 | ||
cf9d8568 | 1917 | 2002-04-04 Richard Henderson <rth@redhat.com> |
1918 | ||
1919 | PR middle-end/5099 | |
1920 | * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok. | |
1921 | Support copies into and out of memory. Don't accept allows_reg | |
1922 | and allows_mem as gospel. | |
1923 | ||
a57f4c4d | 1924 | 2002-04-04 Richard Henderson <rth@redhat.com> |
1925 | ||
1926 | PR opt/6165 | |
1927 | * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict. | |
1928 | (write_dependence_p): Likewise. | |
1929 | ||
322fc845 | 1930 | 2002-04-04 Richard Henderson <rth@redhat.com> |
1931 | ||
1932 | * predict.c (estimate_bb_frequencies): Do frequency calculation | |
1933 | with a volatile temporary. | |
1934 | ||
7065cca2 | 1935 | 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com> |
1936 | ||
1937 | * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define. | |
1938 | ||
2627f83a | 1939 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
1940 | ||
1941 | PR c++/6119 | |
1942 | * final.c (final_start_function): Don't bump profile_label_no here... | |
1943 | (final_end_function): ...but here. | |
1944 | ||
02b9b9f1 | 1945 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
1946 | ||
1947 | * config/sparc/sparc.md (pic): New attribute. | |
1948 | (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9 | |
1949 | into stack slots. | |
1950 | (split after do_builtin_setjmp_setup): New. | |
1951 | ||
7551ff59 | 1952 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
1953 | ||
1954 | PR fortran/6106 | |
1955 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 | |
1956 | change. | |
1957 | ||
992443f3 | 1958 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
1959 | ||
1960 | * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by | |
1961 | UNITS_PER_WORD for zero sized aggregates. | |
1962 | ||
06449996 | 1963 | 2002-04-03 David S. Miller <davem@redhat.com> |
1964 | ||
1965 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new | |
1966 | one-character spec for this, just use %(link_gcc_c_sequence). | |
1967 | ||
b60608ad | 1968 | 2002-04-03 David S. Miller <davem@redhat.com> |
1969 | ||
1970 | * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian | |
1971 | handling. | |
1972 | ||
a584fe8a | 1973 | 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1974 | ||
1975 | * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. | |
1976 | (DWARF_FRAME_RETURN_COLUMN): Move. | |
1977 | (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
1978 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define. | |
1979 | * pa.c (except.h, predict.h): Include. | |
1980 | (FRP): Delete. | |
1981 | (store_reg_modify, set_reg_plus_d): Revise prototypes. | |
1982 | (output_ascii): Add cast. | |
1983 | (store_reg_modify): Revise to add frame notes. | |
1984 | (set_reg_plus_d): Likewise. | |
1985 | (compute_frame_size): Include space for eh data registers in frame if | |
1986 | the current function calls eh_return. | |
1987 | (hppa_expand_prologue): Ensure register %r2 is saved if the current | |
1988 | function calls eh_return. Save eh data registers if the current | |
1989 | function calls eh_return. Fix code to add frame notes. Emit | |
1990 | blockage to prevent insns with frame notes being scheduled in the | |
1991 | delay slot of calls. | |
1992 | (hppa_expand_epilogue): Restore eh data registers and do final stack | |
1993 | adjustment if the current function calls eh_return. Don't add frame | |
1994 | notes. | |
1995 | (output_call): Revise for change in length of call insn. Don't do | |
1996 | return pointer adjustment for an unconditional jump in the delay slot | |
1997 | of a call when using frame notes. | |
1998 | * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility. | |
1999 | (EH_RETURN_HANDLER_RTX): Use saved value on stack. | |
2000 | (ARG_POINTER_CFA_OFFSET): Define. | |
2001 | * pa.md (return_external_pic): New pattern. | |
2002 | (prologue): Correct formatting. Use return_external_pic if current | |
2003 | function calls eh_return. | |
2004 | (call_internal_symref, call_value_internal_symref, | |
2005 | sibcall_internal_symref, sibcall_value_internal_symref): Change default | |
2006 | lengths of short, long non-pic, and long pic calls to 8, 68, and 84, | |
2007 | respectively. | |
2008 | (exception_receiver): Use hppa_pic_save_rtx () to restore pic register. | |
2009 | ||
2010 | * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to | |
2011 | list of targets to check using "nop" insn. | |
2012 | * configure: Rebuilt. | |
2013 | ||
9ff1ea9a | 2014 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
2015 | ||
2016 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define. | |
2017 | ||
da98d114 | 2018 | 2002-04-03 David S. Miller <davem@redhat.com> |
2019 | ||
2020 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c | |
2021 | library sequence passed to the linker. | |
2022 | (LINK_COMMAND_SPEC): Use it. | |
2023 | * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as | |
2024 | a macro a target can use to avoid overriding LINK_COMMAND_SPEC. | |
2025 | * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
2026 | ||
a9bc793b | 2027 | 2002-04-03 Jason Merrill <jason@redhat.com> |
2028 | ||
2029 | * except.c (struct eh_status): Remove protect_list. | |
2030 | (begin_protect_partials, end_protect_partials): Remove. | |
2031 | (add_partial_entry): Remove. | |
2032 | * except.h: Remove prototypes. | |
2033 | ||
2034 | * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use | |
2035 | expand_decl_cleanup_eh. | |
2036 | ||
2037 | PR c++/5636 | |
2038 | * tree.h (CLEANUP_EH_ONLY): New macro. | |
2039 | * stmt.c (expand_decl_cleanup_eh): New fn. | |
2040 | (expand_cleanups): Check CLEANUP_EH_ONLY. | |
2041 | * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT. | |
2042 | Use expand_decl_cleanup_eh. | |
2043 | (expand_stmt): Adjust. | |
2044 | * c-common.h: Adjust prototype. | |
2045 | ||
edce0255 | 2046 | 2002-04-04 Hans-Peter Nilsson <hp@axis.com> |
2047 | ||
2048 | * config/cris/cris.c (cris_target_asm_function_prologue): Cast | |
2049 | uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. | |
2050 | (cris_target_asm_function_epilogue): Ditto. | |
2051 | (cris_initial_frame_pointer_offset): Ditto. | |
2052 | (cris_simple_epilogue): Ditto. | |
2053 | (cris_expand_builtin_va_arg): Variable-size types come in | |
2054 | by-reference. | |
2055 | ||
21612212 | 2056 | 2002-04-03 David S. Miller <davem@redhat.com> |
2057 | ||
2058 | * config/sparc/crtfastmath.c (FPRS_NS): Get it right for | |
2059 | little-endian. | |
2060 | (set_fast_math): Correct 'fsr' type. | |
2061 | ||
8d58a5a7 | 2062 | 2002-04-03 Richard Henderson <rth@redhat.com> |
2063 | ||
f99eba19 | 2064 | PR opt/3569 |
8d58a5a7 | 2065 | * langhooks.h (lang_hooks.decls.warn_unused_global): New. |
2066 | * toplev.c (check_global_declarations): Use it. | |
2067 | * langhooks-def.h (lhd_warn_unused_global_decl): Declare. | |
2068 | (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
2069 | (LANG_HOOKS_DECLS): Add it. | |
2070 | * langhooks.c (lhd_warn_unused_global_decl): New. | |
2071 | * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
2072 | * c-objc-common.c (c_warn_unused_global_decl): New. | |
2073 | * c-tree.h (c_warn_unused_global_decl): Declare. | |
2074 | * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
2075 | ||
d1f6c8f2 | 2076 | 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk> |
2077 | ||
2078 | * langhooks-def.h (lhd_set_decl_assembler_name, | |
2079 | LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New. | |
2080 | (LANG_HOOKS_INITIALIZER): Update. | |
2081 | * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c | |
2082 | * langhooks.h (struct lang_hooks): New hook. | |
2083 | * tree.c (set_decl_assembler_name): Move to langhooks.c. | |
2084 | (lang_set_decl_assembler_name): Remove. | |
2085 | (init_obstacks): Don't set hook. | |
2086 | (decl_assembler_name): New function. | |
2087 | * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call. | |
2088 | (decl_assembler_name): New. | |
2089 | (lang_set_decl_assembler_name): Remove. | |
2090 | ||
e715c863 | 2091 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
2092 | ||
2093 | * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() | |
2094 | works properly with .hidden symbols. | |
2095 | * configure: Rebuilt. | |
2096 | * config.in: Rebuilt. | |
2097 | * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
2098 | DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work | |
2099 | properly with .hidden symbols. | |
2100 | ||
2d04533c | 2101 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
2102 | ||
2103 | PR middle-end/6102 | |
2104 | * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access | |
2105 | USE argument. | |
2106 | ||
cbf780cc | 2107 | 2002-04-03 Richard Henderson <rth@redhat.com> |
2108 | ||
2109 | PR opt/4120 | |
2110 | * sched-rgn.c (sets_likely_spilled): New. | |
2111 | (sets_likely_spilled_1): New. | |
2112 | (add_branch_dependences): Use it. | |
2113 | ||
893ff8a6 | 2114 | 2002-04-02 Richard Henderson <rth@redhat.com> |
2115 | ||
2116 | PR opt/4311 | |
2117 | * loop.h (LOOP_FIRST_PASS): New. | |
2118 | * loop.c (strength_reduce): Mind it when deciding to unroll. | |
2119 | * toplev.c (rest_of_compilation): Set it. | |
2120 | ||
a3c7ab5f | 2121 | 2002-04-02 David S. Miller <davem@redhat.com> |
2122 | ||
2123 | * config/sparc/sparc.md (ldd peephole2s): Fix final arg to | |
2124 | mems_ok_for_ldd_peep when the order of the loads being examined | |
2125 | is reversed. | |
2126 | * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon | |
2127 | existing comment to increase comprehension of this situation. | |
2128 | ||
9b1d697e | 2129 | 2002-04-02 Zack Weinberg <zack@codesourcery.com> |
2130 | ||
2131 | * config/sh/sh.md: Don't use union real_extract. | |
2132 | ||
adeae8b0 | 2133 | 2002-04-02 Richard Henderson <rth@redhat.com> |
2134 | ||
2135 | * libgcc2.c (__bb_exit_func): Revert 03-31 change. | |
2136 | ||
d2307a72 | 2137 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
2138 | ||
2139 | * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems, | |
2140 | i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-, | |
2141 | i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1, | |
2142 | i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos, | |
2143 | i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd, | |
2144 | i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf, | |
2145 | i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix, | |
2146 | i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout, | |
2147 | i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32, | |
2148 | i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd, | |
2149 | i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems, | |
2150 | i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv, | |
2151 | i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta, | |
2152 | i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd): | |
2153 | Include as many configury headers via tm_file as possible. This | |
2154 | includes among others i386/unix.h, i386/bsd.h, i386/gas.h. | |
2155 | * config/openbsd-oldgas.h: New file. | |
2156 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h, | |
2157 | config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h, | |
2158 | config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h, | |
2159 | config/i386/i386-coff.h, config/i386/i386-interix.h, | |
2160 | config/i386/iscdbx.h, config/i386/linux-aout.h, | |
2161 | config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h, | |
2162 | config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h, | |
2163 | config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h, | |
2164 | config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h, | |
2165 | config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h, | |
2166 | config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h, | |
2167 | config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h, | |
2168 | config/i386/vxi386.h: Do not directly include configury headers. | |
2169 | * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h: | |
2170 | Directly include configury headers that are no longer automatically | |
2171 | included by the above headers. | |
2172 | * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define. | |
2173 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h, | |
2174 | config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h, | |
2175 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h, | |
2176 | config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h, | |
2177 | config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h, | |
2178 | config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h | |
2179 | (TARGET_VERSION): Define. | |
2180 | * config/i386/beos-elf.h, config/i386/freebsd.h, | |
2181 | config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, | |
2182 | config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, | |
2183 | config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h, | |
2184 | config/i386/sco5.h, config/i386/sysv4.h | |
2185 | (TARGET_VERSION): Do not need to protect. | |
2186 | * config/i386/freebsd64.h (TARGET_VERSION): Fix style. | |
2187 | * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h, | |
2188 | config/i386/freebsd-aout.h, config/i386/i386-aout.h, | |
2189 | config/i386/i386-interix.h, config/i386/linux-aout.h, | |
2190 | config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h, | |
2191 | config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h | |
2192 | (YES_UNDERSCORES): Do not define - not needed. | |
2193 | * config/i386/bsd.h, config/i386/gas.h (LPREFIX, | |
2194 | ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
2195 | USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case. | |
2196 | * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h | |
2197 | (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
2198 | USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case) | |
2199 | * config/i386/isc.h: Preserve comment from config/i386/isccoff.h. | |
2200 | * config/i386/isccoff.h, config/i386/v3gas.h: Remove. | |
2201 | ||
567c22a9 | 2202 | 2002-04-02 Eric Botcazou <ebotcazou@multimania.com> |
2203 | Richard Henderson <rth@redhat.com> | |
2204 | ||
2205 | PR c/5484 | |
2206 | * function.c (assign_temp): Accept either type or decl argument. | |
2207 | Detect variables whose size is too large to fit into an integer. | |
2208 | * stmt.c (expand_decl): Pass the decl, not the type. | |
2209 | ||
ffbee6f8 | 2210 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
2211 | ||
2212 | * protoize.c: Match include directory usage with cppdefault.c. | |
2213 | ||
295f9df5 | 2214 | 2002-04-03 Jeffrey A Law (law@redhat.com) |
f3cb52fc | 2215 | Hans-Peter Nilsson <hp@bitrange.com> |
295f9df5 | 2216 | |
2217 | * combine.c (simplify_comparison): Avoid narrowing a comparison | |
2218 | with a paradoxical subreg when doing so would drop signficant bits. | |
2219 | ||
4cd21437 | 2220 | 2002-04-02 Steve Ellcey <sje@cup.hp.com> |
2221 | ||
2222 | * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode | |
2223 | if POINTERS_EXTEND_UNSIGNED is defined. | |
2224 | ||
d46792c2 | 2225 | 2002-04-02 Richard Henderson <rth@redhat.com> |
2226 | ||
2227 | PR opt/3967 | |
2228 | * local-alloc.c (contains_replace_regs): LO_SUM may contain | |
2229 | replace regs. | |
2230 | ||
d5fdb6fc | 2231 | 2002-04-02 Richard Henderson <rth@redhat.com> |
2232 | ||
2233 | * doc/standards.texi: Document required freestanding libc entry points. | |
2234 | ||
f1dffec8 | 2235 | 2002-04-02 Alan Modra <amodra@bigpond.net.au> |
2236 | ||
2237 | * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and | |
2238 | associated splitter. Remove MQ constraint. | |
2239 | (ctrdi_internal4): Correct CCmode clobber. | |
2240 | ||
f288a74f | 2241 | 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2242 | ||
2243 | * milli64.S ($$dyncall): New function. | |
2244 | * t-linux (LIB1ASMFUNCS): Revise module list. | |
2245 | (LIB1ASMSRC): Use pa/milli64.S. | |
2246 | ||
bffe0cfe | 2247 | 2002-04-02 Richard Henderson <rth@redhat.com> |
2248 | ||
2249 | * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and | |
2250 | rename solaris_sys_varargs_h. | |
2251 | ||
b0cfa32c | 2252 | Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2253 | ||
2254 | * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array | |
2255 | the same mode as its component. | |
2256 | ||
a8fb9348 | 2257 | 2002-04-02 Richard Henderson <rth@redhat.com> |
2258 | ||
2259 | PR opt/190 | |
2260 | * final.c (this_is_asm_operands): Export. | |
2261 | * output.h (this_is_asm_operands): Declare. | |
2262 | * config/i386/i386.c (print_operand): Error odd asm operands. | |
2263 | ||
1ee5bf27 | 2264 | 2002-04-02 Richard Henderson <rth@redhat.com> |
2265 | ||
2266 | PR opt/420 | |
2267 | * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra. | |
2268 | ||
28bac34e | 2269 | 2002-04-01 Richard Henderson <rth@redhat.com> |
2270 | ||
2271 | PR target/1538 | |
2272 | * fixinc/inclhack.def (solaris_sys_varargs_h): New. | |
2273 | * fixinc/fixincl.x: Rebuild. | |
2274 | ||
d20514a0 | 2275 | 2002-04-01 Richard Henderson <rth@redhat.com> |
2276 | ||
2277 | * config/ia64/unwind-ia64.c: Include ia64intrin.h. | |
2278 | (atomic_alloc, atomic_free): New. | |
2279 | (SIZE, MASK_FOR, PTR_IN): New. | |
2280 | (emergency_reg_state, emergency_reg_state_free): New. | |
2281 | (emergency_labeled_state, emergency_labeled_state_free): New. | |
2282 | (reg_state_alloced, labeled_state_alloced): New. | |
2283 | (alloc_reg_state, free_reg_state): New. | |
2284 | (alloc_label_state, free_label_state, free_label_states): New. | |
2285 | (push, pop, dup_state_stack, free_state_stack): Use them. | |
2286 | (desc_label_state): Likewise. | |
2287 | (uw_frame_state_for): Free label states and state stack. | |
2288 | (uw_update_reg_address): Eliminate warnings. | |
2289 | ||
399bdaf0 | 2290 | 2002-04-01 Vladimir Makarov <vmakarov@redhat.com> |
2291 | ||
2292 | * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, | |
f3cb52fc | 2293 | ASM_OUTPUT_ALIGNED_LOCAL): Redefine them. |
399bdaf0 | 2294 | |
9b86eec0 | 2295 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
2296 | ||
2297 | * c-decl.c (grokdeclarator): Update. | |
2298 | * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
2299 | * c-tree.h (c_mark_addressable): New. | |
2300 | * c-typeck.c (default_function_array_conversion, build_unary_op, | |
2301 | build_array_ref, convert_for_assignment): Update. | |
2302 | (mark_addressable): Rename. | |
2303 | * calls.c (try_to_integrate, expand_call): Use langhook. | |
2304 | * expr.c (expand_expr): Use langhook. | |
2305 | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update. | |
2306 | * langhooks.h (struct lang_hooks): New hook. | |
2307 | * stmt.c (expand_asm_operands): Use langhook. | |
2308 | * tree.h (mark_addressable): Remove. | |
2309 | objc: | |
2310 | * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
2311 | ||
4588bbd8 | 2312 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
2313 | ||
f3cb52fc | 2314 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning |
2315 | in previous change. | |
4588bbd8 | 2316 | |
89d4bc5e | 2317 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
2318 | ||
2319 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments | |
2320 | for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). | |
2321 | ||
4070745f | 2322 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
2323 | ||
2324 | * c-common.c (unsigned_conversion_warning, convert_and_check, | |
2325 | unsigned_type, signed_type, shorten_compare, | |
2326 | c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks. | |
2327 | (unsigned_type, signed_type, signed_or_unsigned_type): Rename. | |
2328 | * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
2329 | New. | |
2330 | * c-decl.c (grokdeclarator): Update. | |
2331 | * c-format.c (check_format_types): Update. | |
2332 | * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
2333 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
2334 | * c-typeck.c (build_binary_op, convert_for_assignment): Update. | |
2335 | * convert.c (convert_to_integer): Use new hooks. | |
2336 | * expmed.c (make_tree): Use new hooks. | |
2337 | * expr.c (store_expr): Use new hooks. | |
2338 | * fold-const.c (operand_equal_for_comparison_p, build_range_check, | |
2339 | all_ones_mask_p, unextend, fold): Use new hooks. | |
2340 | * langhooks.h (struct lang_hooks_for_types): New hooks. | |
2341 | * tree.h (signed_or_unsigned_type, signed_type, | |
2342 | unsigned_type): Remove. | |
2343 | objc: | |
2344 | * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
2345 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
2346 | ||
2898f3a4 | 2347 | 2002-03-31 Richard Henderson <rth@redhat.com> |
2348 | ||
2349 | * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset. | |
2350 | (desc_frgr_mem): Fix reference to f16-f31. | |
2351 | ||
861589fe | 2352 | 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2353 | ||
2354 | * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, | |
2355 | RTVEC_ELT): Const-ify. | |
182b8a5c | 2356 | * varray.h (VARRAY_CHECK): Const-ify. |
2357 | * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree, | |
2358 | ggc_mark_rtvec, ggc_mark): Const-ify. | |
861589fe | 2359 | |
98b07039 | 2360 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
2361 | ||
2362 | * diagnostic.c: Include langhooks-def.h. | |
2363 | * Makefile.in (diagnostic.o): Update. | |
2364 | ||
ee23fd7b | 2365 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
2366 | ||
2367 | * c-common.c (c_unsafe_for_reeval): Rename. | |
2368 | * c-common.h (c_unsafe_for_reeval): Rename. | |
2369 | * c-decl.c (finish_incomplete_decl): Rename. | |
2370 | (c_init_decl_processing): Don't set langhook. | |
2371 | * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
2372 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
2373 | * c-objc-common.c (c_objc_common_init): Don't set langhook. | |
2374 | * c-tree.h (finish_incomplete_decl): Rename. | |
2375 | * langhooks-def.h (lhd_unsafe_for_reeval): New. | |
2376 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New. | |
2377 | (LANG_HOOKS_INITIALIZER): Update. | |
2378 | * langhooks.c (lhd_unsafe_For_reeval): New. | |
2379 | * langhooks.h (struct langhooks): New hooks. | |
2380 | * toplev.c (incomplete_decl_finalize_hook): Remove. | |
2381 | (wrapup_global_declarations): Update. | |
2382 | * tree.c (lang_unsafe_for_reeval): Remove. | |
2383 | (unsafe_for_reeval): Update. | |
2384 | * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook): | |
2385 | Remove. | |
2386 | objc: | |
2387 | * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
2388 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
2389 | ||
6c7ff025 | 2390 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
2391 | ||
2392 | * diagnostic.c (print_error_function): Remove. | |
2393 | (default_print_error_function): Rename. | |
2394 | (report_error_function): Update. | |
2395 | * diagnostic.h (print_error_function): Remove. | |
2396 | (default_print_error_function): Remove. | |
2397 | * langhooks-def.h (struct diagnostic_context): Predeclare. | |
2398 | (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New. | |
2399 | (LANG_HOOKS_INITIALIZER): Update. | |
2400 | * langhooks.h (struct diagnostic context): Predeclare. | |
2401 | (struct lang_hooks): New hook. | |
2402 | ||
479d644a | 2403 | 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2404 | ||
2405 | * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New. | |
2406 | (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if | |
2407 | !flag_pic. | |
2408 | (CONDITIONAL_REGISTER_USAGE): Adjust accordingly. | |
2409 | * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead | |
2410 | of PIC_OFFSET_TABLE_REGNUM thruout. | |
2411 | * config/rs6000/rs6000.md: Likewise. | |
2412 | * config/rs6000/darwin.h: Likewise. | |
2413 | ||
f4aee538 | 2414 | Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2415 | ||
2416 | * emit-rtl.c (adjust_address_1, offset_address): Cast value to | |
2417 | unsigned HOST_WIDE_INT, not unsigned int. | |
2418 | ||
80563b56 | 2419 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
2420 | ||
2421 | PR middle-end/6096, middle-end/6098, middle-end/6099 | |
2422 | * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for | |
2423 | CODE_LABELs. | |
2424 | (fill_slots_from_thread): Likewise. | |
2425 | ||
d85b9058 | 2426 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
2427 | ||
2428 | * config/sparc/sparc.c (function_arg_record_value_1): Pass complex | |
2429 | floating fields in float regs. | |
2430 | (function_arg_record_value_2): Likewise. | |
2431 | ||
edf97d06 | 2432 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
2433 | ||
2434 | * config/mmix/mmix.md (define_constants): Remove misleading | |
2435 | FIXME. Add MMIX_fp_rO_OFFSET. | |
2436 | ("nonlocal_goto_receiver"): Don't have stack-frame address of | |
2437 | saved rO as part of the pattern. Remove FIXME. | |
2438 | ("*nonlocal_goto_receiver_expanded"): Similar. Generate address | |
2439 | here, at output-time. | |
2440 | ||
c3037f18 | 2441 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
2442 | ||
2443 | PR middle-end/6100 | |
2444 | * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not | |
2445 | REG_BR_PRED. | |
2446 | (output_v9branch): Likewise. | |
2447 | ||
21eaebc3 | 2448 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
2449 | ||
2450 | * gcc.c: Revert previous patch for now. | |
2451 | * config/i386/djgpp.h: Likewise. | |
2452 | ||
d0a422dd | 2453 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
a01c9af7 | 2454 | |
2455 | * config/mmix/crti.asm (_init): Register _fini with atexit. | |
2456 | * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0". | |
2457 | ||
e7669934 | 2458 | 2002-03-31 Richard Henderson <rth@redhat.com> |
2459 | ||
2460 | PR target/3997 | |
2461 | * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy. | |
2462 | (ASM_OUTPUT_DEF_FROM_DECLS): New. | |
2463 | ||
5fd3940f | 2464 | 2002-03-31 Richard Henderson <rth@redhat.com> |
2465 | ||
2466 | * libgcc2.c (__bb_exit_func): Make static. | |
2467 | ||
f3cb52fc | 2468 | * config/alpha/alpha.md (trap): New. |
d9fe31ee | 2469 | |
a0ef1725 | 2470 | 2002-03-31 Richard Henderson <rth@redhat.com> |
2471 | ||
2472 | * builtins.c (expand_builtin_va_arg): Give warnings not errors for | |
2473 | promoted argument types; build trap. | |
2474 | (expand_builtin_trap): New. | |
2475 | (expand_builtin): Use it. | |
2476 | * stmt.c (expand_nl_goto_receivers): Likewise. | |
2477 | * expr.h (expand_builtin_trap): Declare. | |
2478 | * libfuncs.h (LTI_abort, abort_libfunc): New. | |
2479 | * optabs.c (init_optabs): Init abort_libfunc. | |
2480 | ||
72db4d53 | 2481 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
2482 | ||
2483 | * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here... | |
2484 | (LINK_COMMAND_SPEC): ... from here. | |
a87d8cb5 | 2485 | (init_gcc_specs): Duplicate it here too, omitting |
72db4d53 | 2486 | shared_name in the second copy. |
2487 | (init_spec): Test for duplicate | |
2488 | * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'. | |
2489 | ||
a7414e44 | 2490 | 2002-03-30 David S. Miller <davem@redhat.com> |
2491 | ||
2492 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
2493 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise. | |
2494 | ||
d9246aca | 2495 | 2002-03-30 Roger Sayle <roger@eyesopen.com> |
f3cb52fc | 2496 | Richard Henderson <rth@redhat.com> |
d9246aca | 2497 | |
f3cb52fc | 2498 | * regmove.c (combine_stack_adjustments_for_block): Avoid |
2499 | emitting a stack adjustment of zero bytes. Let delete_insn | |
2500 | update bb->head. | |
d9246aca | 2501 | |
8b7a298d | 2502 | 2002-03-30 Richard Henderson <rth@redhat.com> |
2503 | ||
2504 | * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. | |
2505 | (sparc_emitting_epilogue): New. | |
2506 | (leaf_label, output_return, sparc_return_peephole_ok): Remove. | |
2507 | * config/sparc/sparc-protos.h: Update. | |
2508 | * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. | |
2509 | (TARGET_SWITCHES): Update. | |
2510 | * config/sparc/sparc.md (return): Remove. | |
2511 | (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. | |
2512 | * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, | |
2513 | config/sparc/liteelf.h, config/sparc/netbsd-elf.h, | |
2514 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
2515 | config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, | |
2516 | config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, | |
2517 | config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): | |
2518 | Remove MASK_EPILOGUE. | |
2519 | * doc/invoke.texi: Update. | |
2520 | ||
0aa31c95 | 2521 | 2002-03-30 Daniel Berlin <dan@dberlin.org> |
2522 | ||
2523 | * dwarf2out.c (dwarf2out_define): Remove start_source_file call, | |
2524 | CPP will start the file for us. | |
a87d8cb5 | 2525 | |
b8536bfb | 2526 | 2002-03-30 Richard Henderson <rth@redhat.com> |
2527 | ||
2528 | PR target/5446 | |
2529 | * config/ia64/ia64.c (group_barrier_needed_p): Special case | |
2530 | prologue_allocate_stack. | |
2531 | (ia64_single_set): Use insn codes for recognition of special | |
2532 | cases, not rtl matching. | |
2533 | * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out. | |
2534 | ||
c025b1a6 | 2535 | Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz> |
2536 | ||
2537 | * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks. | |
2538 | ||
06ac282f | 2539 | 2002-03-30 Richard Henderson <rth@redhat.com> |
2540 | ||
2541 | PR target/6032 | |
2542 | * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic | |
2543 | or -fomit-frame-pointer with profiling. | |
2544 | (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
2545 | (FUNCTION_PROFILER): Do nothing. | |
2546 | (PROFILE_HOOK): New. | |
2547 | * config/sparc/sparc.c (sparc_override_options): Don't check | |
2548 | code models for profiling. | |
2549 | (sparc_function_profiler): Remove. | |
2550 | (sparc_profile_hook): New. | |
2551 | * config/sparc/sparc-protos.h: Update. | |
2552 | ||
8fb100fd | 2553 | 2002-03-30 Jakub Jelinek <jakub@redhat.com> |
2554 | ||
2555 | PR optimization/6086 | |
2556 | * combine.c (combine_simplify_rtx): If simplify_rtx failed because | |
2557 | of SUBREG of volatile MEM or because the MEM was mode dependent, | |
2558 | return CLOBBER instead of unmodified SUBREG. | |
2559 | ||
73e2b81c | 2560 | Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> |
2561 | ||
06ac282f | 2562 | * local-alloc.c (local_alloc): Avoid call of update_equiv_regs |
2563 | when not optimizing. | |
73e2b81c | 2564 | |
2565 | * toplev.c (rest_of_compilation): Cann mark_constant_function | |
2566 | only when optimizing. | |
2567 | ||
06ac282f | 2568 | * flow.c (calculate_global_regs_live): Ensure that all AUX fields |
2569 | are NULL. | |
73e2b81c | 2570 | |
2571 | * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. | |
2572 | (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. | |
2573 | (try_optimize_cfg): clear all AUX fields. | |
2574 | ||
2575 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. | |
2576 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
2577 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
2578 | (legitimate_address_p): Accept SUBREGed registers. | |
2579 | ||
00e465b1 | 2580 | 2002-03-29 Richard Henderson <rth@redhat.com> |
2581 | ||
2582 | PR target/5672 | |
2583 | * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place. | |
2584 | ||
72c94675 | 2585 | 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2586 | ||
2587 | * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count | |
2588 | for aggregate and TFmode types. | |
2589 | ||
9ff774e6 | 2590 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
2591 | ||
2592 | * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i]. | |
2593 | ||
93bec868 | 2594 | 2002-03-29 Richard Henderson <rth@redhat.com> |
2595 | ||
11e7c681 | 2596 | PR target/5886 |
93bec868 | 2597 | * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. |
2598 | * config/ia64/hpux.h, config/ia64/linux.h: Likewise. | |
2599 | ||
2ae5c77d | 2600 | 2002-03-29 Richard Henderson <rth@redhat.com> |
2601 | ||
11e7c681 | 2602 | PR target/6041 |
2ae5c77d | 2603 | * config/i386/i386.c (x86_arch_always_fancy_math_387): New. |
2604 | (override_options): Disable NO_FANCY_MATH_387 if the arch allows. | |
2605 | * config/i386/i386.h (x86_arch_always_fancy_math_387): New. | |
2606 | * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix | |
2607 | conditional. | |
2608 | * docs/invoke.texi: Update -mno-fancy-math-387 docs. | |
2609 | ||
0e6137dd | 2610 | 2002-03-29 Dale Johannesen <dalej@apple.com> |
2611 | ||
2612 | * loop.c (combine_movables): Do allow combination of pseudos. | |
2613 | ||
bf13a391 | 2614 | 2002-03-29 Loren J. Rittle <ljrittle@acm.org> |
2615 | ||
2616 | * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. | |
2617 | * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. | |
2618 | No functional change except ... | |
2619 | * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. | |
2620 | * doc/install.texi (*-*-freebsd*): Document port configuration. | |
2621 | ||
771d21fa | 2622 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
2623 | ||
2624 | * Makefile.in (convert.o, calls.o, expmed.o): Update. | |
2625 | * attribs.c (handle_mode_attribute, handle_vector_size_attribute): | |
2626 | Use new hooks. | |
2627 | * builtin-types.def (BT_PTRMODE): Update. | |
2628 | * c-common.c (type_for_size): Rename c_common_type_for_size. | |
2629 | (type_for_mode): Similarly. | |
2630 | (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins): | |
2631 | Use new hook. | |
2632 | * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New. | |
2633 | * c-decl.c (finish_enum, build_enumerator): Use new hooks. | |
2634 | * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE): | |
2635 | Redefine. | |
2636 | * c-typeck.c (common_type, comptypes, default_conversion): | |
2637 | Use new hooks. | |
2638 | * calls.c: Include langhooks.h. | |
2639 | (emit_library_call_value_1): Use new hooks. Avoid redundant | |
2640 | calls. | |
2641 | * convert.c: Include langhooks.h | |
2642 | (convert_to_pointer, convert_to_integer): Use new hooks. | |
2643 | * except.c (init_eh): Similarly. | |
2644 | * expmed.c: Include langhooks.h. | |
2645 | (expand_mult_add): Use new hooks. | |
2646 | * expr.c (store_expr, store_constructor, expand_expr, do_jump, | |
2647 | try_casesi): Similarly. | |
2648 | * fold-const.c (optimize_bit_field_compare, make_range, | |
2649 | decode_field_reference, fold_truthop, fold): Similarly. | |
2650 | * function.c (assign_stack_local_1, assign_stack_temp_for_type, | |
2651 | put_var_into_stack): Similarly. | |
2652 | * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE, | |
2653 | LANG_HOOKS_TYPE_FOR_SIZE): New. | |
2654 | (LANG_HOOKS_TYPES_INITIALIZER): Update. | |
2655 | * langhooks.h (lang_hooks_for_types): New hooks. | |
2656 | * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks. | |
2657 | * tree.c (get_unwidened, get_narrower): Similarly. | |
2658 | * tree.h (type_for_mode, type_for_size): Remove. | |
2659 | * varasm.c (force_const_mem): Use new hooks. | |
2660 | * utils2.c (nonbinary_modular_operation): Update. | |
2661 | objc: | |
2662 | * objc-act.c (handle_impent): Update. | |
2663 | * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE): | |
2664 | Redefine. | |
2665 | ||
736414ab | 2666 | 2002-03-29 Steve Ellcey <sje@cup.hp.com> |
2667 | ||
2668 | * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. | |
2669 | * config/ia64/ia64.c (basereg_operand): New. | |
2670 | * config/ia64/ia64-protos.h (basereg_operand): Declare. | |
2671 | * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand. | |
2672 | ||
5c3d1711 | 2673 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
2674 | ||
2675 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct | |
2676 | unwind information when frame_pointer_needed. | |
2677 | (mmix_assemble_integer): Tweak wording in comment. | |
2678 | ||
a1f71e15 | 2679 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
2680 | ||
2681 | * Makefile.in (except.o): Update. | |
2682 | * except.c: Include langhooks.h. | |
2683 | (init_eh): Use langhook. | |
2684 | * langhooks-def.h (LANG_HOOKS_MAKE_TYPE, | |
2685 | LANG_HOOKS_FOR_TYPES_INITIALIZER): New. | |
2686 | (LANG_HOOKS_INITIALIZER): Update. | |
2687 | * langhooks.h (lang_hooks_for_types): New. | |
2688 | (struct lang_hooks): Add it. | |
2689 | * tree.c (make_lang_type_fn, make_lang_type): Remove. | |
2690 | * tree.h (make_lang_type_fn, make_lang_type): Remove. | |
2691 | config: | |
2692 | * alpha/alpha.c: Include langhooks.h. | |
2693 | (alpha_build_va_list): Use langhook. | |
2694 | * d30v/d30v.c: Include langhooks.h. | |
2695 | (d30v_build_va_list): Use langhook. | |
2696 | * i386/i386.c: Include langhooks.h. | |
2697 | (ix86_build_va_list): Use langhook. | |
2698 | * rs6000/rs6000.c (rs6000_build_va_list): Use langhook. | |
2699 | * s390/s390.c: Include langhooks.h. | |
2700 | (s390_build_va_list): Use langhook. | |
2701 | * stormy16/stormy16.c: Include langhooks.h. | |
2702 | (stormy16_build_va_list): Use langhook. | |
2703 | ||
258103e3 | 2704 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
2705 | ||
2706 | PR c++/5964 | |
2707 | * config/sparc/sparc.md (empty_delay_slot, branch_type): New | |
2708 | attributes. | |
2709 | (length): Compute variable length for branches/calls/jumps here. | |
2710 | (branch, inverted_branch, normal_fp_branch, inverted_fp_branch, | |
2711 | normal_fpe_branch, inverted_fpe_branch): Remove length attribute, | |
2712 | define branch_type attribute. | |
2713 | (divsi3_sp32): Maximum length is 6 not 7. | |
2714 | (call_address_struct_value_sp32, call_symbolic_struct_value_sp32, | |
2715 | call_address_untyped_struct_value_sp32, | |
2716 | call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2. | |
2717 | * config/sparc/sparc.c (empty_delay_slot): New function. | |
2718 | * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove. | |
2719 | * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype. | |
2720 | ||
faecad48 | 2721 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
2722 | ||
2723 | * combine.c (set_nonzero_bits_and_sign_copies): Don't call | |
2724 | nonzero_bits if not needed. | |
2725 | (nonzero_bits) [XOR]: Likewise. | |
2726 | (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if | |
2727 | reg_last_set_mode and mode are both MODE_INT, but not equal. | |
2728 | (record_value_for_reg): Compute reg_last_set_nonzero_bits | |
2729 | in nonzero_bits_mode for MODE_INT modes. | |
2730 | ||
94dc5941 | 2731 | 2002-03-28 Richard Henderson <rth@redhat.com> |
2732 | ||
2733 | PR target/5715 | |
2734 | * config/alpha/osf.h (ASM_SPEC): Don't pass any special options | |
2735 | to GAS. Correct drift between alternatives. | |
2736 | ||
5fad51c9 | 2737 | 2002-03-28 Richard Henderson <rth@redhat.com> |
2738 | ||
2739 | PR target/6087 | |
2740 | * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. | |
2741 | ||
db3a628d | 2742 | 2002-03-28 Alexandre Oliva <aoliva@redhat.com> |
2743 | ||
2744 | * config/i386/freebsd.h (LINK_SPEC): Don't pass default | |
2745 | emulation to the linker. | |
2746 | ||
2747 | 2002-03-28 Loren J. Rittle <ljrittle@acm.org> | |
2748 | ||
2749 | * config/alpha/freebsd.h (LINK_SPEC): Likewise. | |
2750 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
2751 | ||
6ee1791f | 2752 | Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) |
2753 | ||
2754 | * combine.c (simplify_and_const_int): Make sure to apply mask | |
2755 | when force_to_mode returns a constant integer. PR3311. | |
2756 | ||
0a78afa6 | 2757 | 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2758 | ||
2759 | * pa-linux.h (LOCAL_LABEL_PREFIX): Define. | |
2760 | ||
74443372 | 2761 | 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2762 | ||
2763 | * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options | |
2764 | and Objective-C Dialect Options. | |
2765 | ||
a92123e9 | 2766 | 2002-03-28 Richard Henderson <rth@redhat.com> |
2767 | ||
2768 | * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE | |
2769 | comparison should be done vs !=0 not >0 return code. Tidy cases. | |
2770 | ||
b3f7c02f | 2771 | 2002-03-28 Richard Henderson <rth@redhat.com> |
2772 | ||
2773 | * c-decl.c (finish_function): New arg can_defer_p. Pass it | |
2774 | on to c_expand_body. | |
2775 | * c-tree.h (finish_function): Update decl. | |
2776 | * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. | |
2777 | ||
099a9fb1 | 2778 | Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz> |
2779 | ||
2780 | * ifcvt.c (if_convert): Clear aux_for_blocks early enought. | |
2781 | ||
350b17ef | 2782 | Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz> |
2783 | ||
2784 | * rtlanal.c: Include flags.h | |
2785 | (may_trap_p): Do not mark FP operations if trapping | |
2786 | if !flag_trapping_math | |
2787 | * Makefile.in (rtlanal.o): Add dependency on flag.h | |
2788 | * ifcvt.c (noce_operand_ok): Avoid the lameness. | |
2789 | ||
ddd1d5b8 | 2790 | 2002-03-27 Zack Weinberg <zack@codesourcery.com> |
2791 | ||
2792 | * mips.md: Use dconst1, not 1.0, as first argument of | |
2793 | REAL_VALUE_LDEXP. Don't use union real_extract. | |
2794 | ||
3290bc33 | 2795 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
2796 | ||
2797 | * configure.in (gcc_cv_as): Use $target_alias in directory searchs | |
2798 | rather than $target. Heed program_prefix and | |
2799 | program_transform_name. Search for gas in cross-compiler case too. | |
2800 | "test -x" rather than "test -f". | |
2801 | (gcc_cv_ld): Likewise. | |
2802 | (gcc_cv_nm): Heed program_prefix and program_transform_name. | |
2803 | (gcc_cv_objdump): Likewise. | |
2804 | * configure: Regenerate. | |
2805 | ||
26ca6c20 | 2806 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
2807 | ||
2808 | * Makefile.in (attribs.o): Update. | |
2809 | * attribs.c: Include langhooks.h. | |
2810 | (decl_attributes): Use langhook. | |
2811 | * c-decl.c (insert_default_attributes): Rename. | |
2812 | * c-tree.h (c_insert_default_attributes): New. | |
2813 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. | |
2814 | (LANG_HOOKS_INITIALIZER): Update. | |
2815 | * langhooks.h (struct lang_hooks): New hook. | |
2816 | * tree.h (insert_default_attributes): Remove. | |
2817 | objc: | |
2818 | * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. | |
2819 | ||
550db37c | 2820 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
2821 | ||
2822 | * config/i386/i386.c (classify_argument): Also check for | |
2823 | QUAL_UNION_TYPE. | |
2824 | ||
dd96b1d1 | 2825 | 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2826 | ||
2827 | * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj | |
2828 | any more. | |
2829 | ||
4712c7d6 | 2830 | Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz> |
2831 | ||
2832 | * i960.md (ret): Set PC. | |
2833 | (nonlocal_goto): Fix expander. | |
2834 | * builtins.c (epxand_builin_longjmp): Check that we've emitted | |
2835 | some jump or call. | |
2836 | ||
0814fb51 | 2837 | Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz> |
2838 | ||
2839 | * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting | |
2840 | of libcall regions. | |
2841 | ||
06f08bd2 | 2842 | Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2843 | ||
2844 | * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of | |
2845 | assigning to BLOCK_FOR_INSN directly. | |
2846 | ||
474f6c19 | 2847 | Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz> |
2848 | ||
2849 | * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. | |
2850 | ||
b467ecc1 | 2851 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
2852 | ||
2853 | * c-common.c (c_expand_expr): Fix prototype. | |
2854 | * c-common.h (c_expand_expr): Always declare, update. | |
2855 | * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
2856 | * c-objc-common.c (c_objc_common_init): No global hook. | |
2857 | * expr.c (expand_expr): Use langhook. | |
2858 | * expr.h (enum expand_modifier): Conditionally declare. | |
2859 | * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. | |
2860 | (LANG_HOOKS_INITIALIZER): Update. | |
2861 | * langhooks.c (lhd_expand_expr): New. | |
2862 | * langhooks.h (struct lang_hooks): New hook. | |
2863 | * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. | |
2864 | (lang_independent_init): Don't default hook. | |
2865 | objc: | |
2866 | * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
2867 | ||
1c8a3b46 | 2868 | 2002-03-27 Richard Henderson <rth@redhat.com> |
2869 | ||
2870 | PR target/6054 | |
2871 | * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for | |
2872 | TARGET_CONST_GP. Simplify conditions. | |
2873 | ||
ea81ed57 | 2874 | 2002-03-27 Richard Henderson <rth@redhat.com> |
2875 | ||
2876 | * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
2877 | config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, | |
2878 | config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. | |
2879 | ||
543b8b44 | 2880 | 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net> |
2881 | ||
2882 | * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, | |
2883 | TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. | |
2884 | (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): | |
2885 | Remove unnecessary masks. | |
2886 | (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. | |
2887 | (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, | |
2888 | -mwindows, -mdll switches and their negations. | |
2889 | ||
914e1fee | 2890 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
2891 | ||
2892 | * gcc-common.c (lang_mark_false_label_stack): Remove. | |
2893 | * ggc.h (lang_mark_false_label_stack): Similarly. | |
2894 | ||
a87d8cb5 | 2895 | 2002-03-26 Vladimir Makarov <vmakarov@redhat.com> |
8ae6d183 | 2896 | |
2897 | * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__. | |
2898 | ||
2899 | * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__ | |
2900 | or __rtems_ is defined. | |
2901 | ||
b8585446 | 2902 | 2002-03-26 Richard Henderson <rth@redhat.com> |
2903 | ||
2904 | * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note | |
2905 | if a non-trivial load was emitted. | |
2906 | (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko | |
2907 | in high+extra+low case. | |
2908 | ||
3ea738fb | 2909 | 2002-03-26 Richard Henderson <rth@redhat.com> |
2910 | ||
2911 | * config.gcc (sparc*-solaris): Use float_format=sparc. | |
2912 | ||
7b42580a | 2913 | 2002-03-26 Richard Henderson <rth@redhat.com> |
2914 | ||
2915 | * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
2916 | * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. | |
2917 | * config/sparc/linux.h, config/sparc/linux64.h: Likewise. | |
2918 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. | |
2919 | (WINT_TYPE_SIZE): Fix at 32. | |
2920 | ||
09a6a91b | 2921 | 2002-03-26 Richard Henderson <rth@redhat.com> |
2922 | ||
2923 | * toplev.c (rest_of_compilation): Delay emit_initial_value_sets | |
2924 | until after eh landing pad generation. | |
2925 | * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. | |
2926 | * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. | |
2927 | ||
4de3dc32 | 2928 | 2002-03-26 Richard Henderson <rth@redhat.com> |
2929 | ||
2930 | * expr.h (ADD_PARM_SIZE): One more convert for INC. | |
2931 | ||
2d9c8715 | 2932 | 2002-03-26 Phil Edwards <pme@gcc.gnu.org> |
2933 | ||
2934 | * gcc.c (cpp_options): Preserve relative ordering of -pedantic | |
2935 | and warning switches. | |
2936 | (cc1_options): Likewise. | |
2937 | ||
8546dce9 | 2938 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
4de3dc32 | 2939 | |
8546dce9 | 2940 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): |
2941 | Restore more of the signal context. Set no_reg_stack_frame. | |
2942 | * config/ia64/unwind-ia64.c (unw_state_record): | |
2943 | Add no_reg_stack_frame, comments. | |
2944 | (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. | |
2945 | (uw_update_context): Adjust bsp when unwinding from leaf, | |
2946 | but not signal frame. | |
2947 | ||
c7d62300 | 2948 | 2002-03-26 David Edelsohn <edelsohn@gnu.org> |
2949 | ||
2950 | * config/rs6000/aix51.h (WCHAR_TYPE): Define. | |
2951 | ||
dd52a190 | 2952 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
2953 | ||
2954 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types. | |
2955 | ||
4d7a8451 | 2956 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
2957 | ||
2958 | PR target/5621 | |
2959 | * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999: | |
2960 | "Add a pool_range attribute", which was lost during the ARM/Thumb | |
2961 | merge. | |
2962 | ||
141e2ef6 | 2963 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
2964 | ||
2965 | * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from | |
2966 | a register into the MAC16 accumulator. | |
2967 | ||
7dc61659 | 2968 | 2002-03-26 Andrew Cagney <ac131313@redhat.com> |
2969 | ||
2970 | * doc/invoke.texi (Option Summary): Mention -Wswitch-enum. | |
2971 | (Warning Options): Document -Wswitch-enum. | |
2972 | * toplev.c (W_options): Add -Wswitch-enum. Update comment on | |
2973 | -Wswitch. | |
2974 | (warn_switch_enum): Define variables. | |
2975 | * flags.h (warn_switch_enum): Declare variables. | |
2976 | * stmt.c (expand_end_case_type): When warn_switch_enum / | |
2977 | -Wswitch-enum, perform switch checks. | |
2978 | Fix PR c/5044. | |
a87d8cb5 | 2979 | |
03db811c | 2980 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
2981 | ||
2982 | * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi) | |
2983 | (reload_mulsi_compare0_scratch, reload_muladdsi_compare0) | |
2984 | (reload_muladdsi_compare0_scratch): Delete. | |
2985 | ||
1db16875 | 2986 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
2987 | ||
2988 | * doc/install.texi (*-*-freebsd*): Update. | |
2989 | ||
a719ae01 | 2990 | 2002-03-26 Richard Henderson <rth@redhat.com> |
2991 | ||
714b4dd3 | 2992 | * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype. |
2993 | (SUB_PARM_SIZE): Cast DEC to ssizetype. | |
2994 | ||
2995 | * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK | |
2996 | types from the normal argument frame. | |
2997 | ||
a719ae01 | 2998 | * config/sparc/sparc.c (function_arg_pass_by_reference): Pass |
2999 | variable sized objects by reference. | |
3000 | (sparc_va_arg): Receive them by reference too. | |
3001 | ||
43935856 | 3002 | 2002-03-26 Hartmut Penner <hpenner@de.ibm.com> |
3003 | ||
3004 | * config/s390/s390.c (s390_emit_epilogue): Change epilogue | |
a87d8cb5 | 3005 | code to not restoring global registers. |
43935856 | 3006 | |
6d26a3ee | 3007 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
3008 | ||
3009 | * Makefile.in (ggc-common.o): Update. | |
3010 | * c-decl.c (lang_mark_tree): Rename c_mark_tree. | |
3011 | * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
3012 | * c-tree.h (c_mark_tree): New. | |
3013 | * ggc-common.c: Include langhooks.h. | |
3014 | (gcc_mark_trees): Use new langhook. | |
3015 | * ggc-callbacks.c: Delete file. | |
3016 | * ggc.h (lang_mark_tree): Remove. | |
3017 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. | |
3018 | (LANG_HOOKS_INITIALIZER): Update. | |
3019 | * langhooks.h (struct lang_hooks): New hook. | |
3020 | objc: | |
3021 | * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
3022 | ||
4f111a84 | 3023 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
3024 | ||
3025 | * doc/cpp.texi: Exclude entire Top node from printed manual. | |
3026 | Move option index after directive index. Insert page breaks | |
3027 | before GFDL and concept index. Index environment variables | |
3028 | with command line options. | |
3029 | * doc/cppenv.texi: Use @vtable for environment variable list. | |
3030 | Add paragraph explaining semantics of empty elements in path | |
3031 | variables. Exclude a cross-reference to Fishkill from the | |
3032 | manpage. Remove an unnecessary cross-reference of the entry | |
3033 | right above the referer. Don't use @anchor in text that goes | |
3034 | into manpage. | |
3035 | * doc/cppopts.texi: Cross-reference the environment variables | |
3036 | section, not the specific environment variable, for consistency. | |
3037 | ||
4a65aac4 | 3038 | 2002-03-25 Richard Henderson <rth@redhat.com> |
3039 | ||
3040 | * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes | |
3041 | anywhere in the block. Don't refer to insns that have been | |
3042 | removed from the chain. Iterate backward through the new insns. | |
3043 | Don't refer to edges that have been removed. | |
3044 | ||
c0fe441c | 3045 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
3046 | ||
3047 | * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct | |
3048 | test for overflow of constant. | |
3049 | ||
0a666055 | 3050 | 2002-03-25 Richard Earnshaw <rearnsha@arm.com> |
3051 | ||
3052 | PR target/2623 | |
3053 | * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc) | |
3054 | (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use | |
3055 | these patterns on arm_archv4. | |
3056 | ||
2a966961 | 3057 | 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net> |
3058 | ||
3059 | * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned | |
3060 | int". | |
3061 | ||
536f5fb1 | 3062 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
3063 | ||
3064 | * toplev.c: Don't include setjmp.h. Kill float_handler_set, | |
3065 | float_handled, float_handler, float_signal, set_float_handler, | |
3066 | and do_float_handler. Set handler for SIGFPE to crash_signal. | |
3067 | * toplev.h: Don't prototype do_float_handler. | |
3068 | ||
3069 | * c-lex.c: Fold parse_float into lex_number. Make warning | |
3070 | about portability of hex float constants more informative, and | |
3071 | don't issue it on top of a syntax error. | |
3072 | * fold-const.c: Fold const_binop_1 and fold_convert_1 into | |
3073 | their callers. | |
3074 | * real.h: Define REAL_VALUE_ABS here... | |
3075 | * simplify-rtx.c: ... not here. Fold check_fold_consts, | |
3076 | simplify_unary_real, simplify_binary_real, and | |
3077 | simplify_binary_is2orm1 into their callers. | |
3078 | * tree.c: Fold build_real_from_int_cst_1 into caller. | |
3079 | ||
3080 | * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. | |
3081 | ||
3082 | * tsystem.h: Include float.h here... | |
3083 | * libgcc2.c: ... not here. | |
3084 | ||
52fdc102 | 3085 | 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com> |
3086 | ||
3087 | Fixes for: PR bootstrap/3591, target/5676 | |
3088 | * config/mcore/mcore.h (CC1_SPEC): Define only if not already | |
3089 | defined. Do not disable exceptions or rtti. | |
3090 | * config/mcore/mcore-pe.h (CC1_SPEC): Define before including | |
3091 | mcore.h. Disable exceptions and rtti, since they are not | |
3092 | supported by EPOC. | |
3093 | ||
04745efb | 3094 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
3095 | ||
3096 | * c-decl.c (maybe_build_cleanup): Remove. | |
3097 | * expr.c (expand_expr): Use langhook. | |
3098 | * langhooks-def.h (lhd_return_null_tree, | |
3099 | LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. | |
3100 | (LANGHOOKS_INITIALIZER): Update. | |
3101 | * langhooks.c (lhd_return_null_tree): New. | |
3102 | * langhooks.h (struct lang_hooks): New hook. | |
3103 | * tree-inline.c (initialize_inlined_parameters): Use langhook. | |
3104 | * tree.h (maybe_build_cleanup): Remove. | |
3105 | ||
1172d780 | 3106 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
3107 | ||
3108 | * regrename.c (build_def_use): Move recog_memoized | |
3109 | before extract_insn. | |
3110 | ||
463e3bf7 | 3111 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
3112 | ||
3113 | PR target/6043 | |
3114 | * expr.c (emit_group_store): Handle storing into CONCAT. | |
3115 | ||
eff62531 | 3116 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
3117 | ||
3118 | * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and | |
3119 | corresponding MATCH_DUP. | |
3120 | ||
a17466fa | 3121 | 2002-03-24 Richard Henderson <rth@redhat.com> |
3122 | ||
0458bddc | 3123 | * unroll.c (unroll_loop): Zero label_map. |
3124 | ||
a17466fa | 3125 | * gcse.c: Include except.h. |
3126 | * Makefile.in (gcse.o): Update. | |
3127 | ||
14eefc17 | 3128 | 2002-03-24 Richard Henderson <rth@redhat.com> |
3129 | ||
3130 | * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change. | |
3131 | Do resolve_unique_section before shared data clause. | |
3132 | ||
ee6b11b0 | 3133 | 2002-03-24 Richard Henderson <rth@redhat.com> |
3134 | ||
3135 | * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static. | |
3136 | ||
029de010 | 3137 | 2002-03-24 Richard Henderson <rth@redhat.com> |
3138 | ||
536f5fb1 | 3139 | * recog.c (peephole2_optimize): Split blocks when EH insns are |
029de010 | 3140 | generated in the middle of a block. Do global life update if |
3141 | zapped EH edges. | |
3142 | ||
9bb22e77 | 3143 | 2002-03-24 Richard Henderson <rth@redhat.com> |
3144 | ||
3145 | * mips.c (mips_function_value): Only promote_mode for non-libcalls. | |
3146 | ||
d8dd302a | 3147 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
3148 | ||
3149 | preprocessor/3951 | |
536f5fb1 | 3150 | * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. |
d8dd302a | 3151 | * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. |
3152 | (init_dependency_output): Don't make no_output decision here. | |
3153 | ||
29800930 | 3154 | 2002-03-24 Andrew Cagney <ac131313@redhat.com> |
3155 | ||
3156 | * stmt.c (check_for_full_enumeration_handling): Remove tests of | |
3157 | warn_switch. Update description. | |
3158 | (expand_end_case_type): Call check_for_full_enumeration_handling | |
3159 | when warn_switch. | |
3160 | ||
b26aafcd | 3161 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3162 | ||
3163 | * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function. | |
3164 | (m68hc11_split_move): Call it to see if the source and destination | |
3165 | operands use the same direction auto inc/dec mode, otherwise make the | |
4f54fd09 | 3166 | source an offsetable memory operand and generate an add. |
b26aafcd | 3167 | |
38735756 | 3168 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3169 | ||
3170 | * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address | |
3171 | register for operand 2. | |
3172 | ("*subsi3_zero_extendqi"): Likewise. | |
3173 | ("*iorhi3_gen"): Do the operation on the upper bits and then lower | |
3174 | bits so that it is compatible with a pop. | |
3175 | ("*andhi3_gen"): Likewise. | |
3176 | ("xorhi3"): Likewise. | |
3177 | ||
e85db6f8 | 3178 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
3179 | ||
3180 | * cppinit.c (cpp_handle_option): Set warn_endif_labels if | |
3181 | -pedantic here... | |
3182 | (cpp_post_options): ... not here. | |
3183 | ||
ffd56b21 | 3184 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
3185 | Aldy Hernandez <aldyh@redhat.com> | |
3186 | ||
3187 | Removal of separate preprocessor cpp0. | |
3188 | ||
3189 | * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS, | |
3190 | cpp0, install-common): Update. | |
3191 | * c-common.c (flag_preprocess_only): New. | |
3192 | (c_common_init): Preprocess for -E. | |
3193 | * c-common.h (flag_preprocess_only): New. | |
3194 | * c-decl.c (c_decode_option): Handle -E and -std=c++98. | |
3195 | * c-objc-common.c (c_init_decl_processing): Exit quickly | |
3196 | for NULL return from c_common_init. | |
3197 | * cpplib.h (cpp_preprocess_file): New. | |
3198 | * cppmain.c (main, general_init, pfile, progname): Remove. | |
3199 | (do_preprocessing): Rename cpp_preprocess_file, don't call | |
3200 | cpp_finish. Don't close stdout here. | |
3201 | (setup_callbacks): Update prototype. | |
3202 | * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers): | |
3203 | Update. | |
3204 | * tradcpp.c (main): Ignore -quiet. | |
3205 | objc: | |
3206 | * lang-specs.h (default_compilers): Preprocess with cc1obj. | |
3207 | ||
881ac6b8 | 3208 | 2002-03-24 Richard Henderson <rth@redhat.com> |
3209 | ||
3210 | PR optimization/5742 | |
3211 | * machmode.def: Add inner mode field to complex modes. | |
3212 | * config/mips/mips.c (mips_function_value): Always define. Add | |
3213 | new argument to handle libcalls. | |
3214 | * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value. | |
3215 | (FUNCTION_VALUE): Likewise. | |
3216 | * config/mips/abi64.h (FUNCTION_VALUE): Remove. | |
3217 | * config/mips/mips-protos.h: Update. | |
3218 | ||
eef858ab | 3219 | 2002-03-23 Richard Henderson <rth@redhat.com> |
3220 | ||
3221 | * config/sparc/sparc.c (sparc_emit_floatunsdi): New. | |
3222 | * config/sparc/sparc-protos.h: Update. | |
3223 | * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New. | |
3224 | ||
5783534d | 3225 | 2002-03-23 Richard Henderson <rth@redhat.com> |
3226 | ||
3227 | * config/sparc/gmon-sol2.c (internal_mcount): Assume either | |
3228 | _start or _init begins the text segment. | |
3229 | ||
83cd69b0 | 3230 | 2002-03-23 David Edelsohn <edelsohn@gnu.org> |
3231 | ||
3232 | * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT | |
3233 | not HOST_WIDEST_INT. | |
3234 | (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes. | |
3235 | ||
5db468b7 | 3236 | 2002-03-23 Richard Earnshaw <rearnsha@arm.com> |
3237 | ||
3238 | PR java/5489 | |
3239 | * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the | |
3240 | operand argument to output_return_instruction. | |
536f5fb1 | 3241 | * arm.c (arm_print_operand, case 'd'): If the operand is |
5db468b7 | 3242 | const_true_rtx then just return. |
3243 | (arm_print_operand, case 'D'): If the operand is const_true_rtx | |
3244 | then abort. | |
3245 | ||
91b18148 | 3246 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
3247 | ||
3248 | * doc/invoke.texi (Option Summary): Mention -Wswitch-default. | |
3249 | (Warning Options): Document -Wswitch-default. | |
3250 | * toplev.c (W_options): Add -Wswitch-default. Update comment on | |
3251 | -Wswitch. | |
3252 | (warn_switch_default): Define variable. | |
3253 | (warn_switch): Update comment. | |
3254 | * flags.h (warn_switch_default): Declare variable. | |
3255 | (warn_switch): Update comment. | |
3256 | * stmt.c (expand_end_case): Check for and, when | |
3257 | warn_switch_no_default, warn of a missing default case. | |
536f5fb1 | 3258 | |
786f554f | 3259 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
3260 | ||
749feb5e | 3261 | * real.h (N): Special case 128 bit doubles. |
3262 | ||
786f554f | 3263 | * combine.c (simplify_comparison): When widening modes, ignore |
3264 | sign extension on CONST_INTs. | |
3265 | ||
aac632cd | 3266 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
3267 | ||
3268 | * config/xtensa/xtensa.c (print_operand): Fix incorrect mode | |
3269 | passed to adjust_address. Fix comment formatting. | |
3270 | ||
3271 | ||
badfe841 | 3272 | 2002-03-22 Zack Weinberg <zack@codesourcery.com> |
3273 | ||
3274 | * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. | |
3275 | Always make REAL_VALUE_TYPE a struct containing an array of | |
3276 | HOST_WIDE_INT, not a double. Tidy up the code deciding how | |
3277 | big it is. Don't declare or use union real_extract. | |
3278 | ||
3279 | * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, | |
3280 | decode_rtx_const, output_constant_pool), config/a29k/a29k.c | |
3281 | (print_operand), config/arm/arm.c (output_move_double), | |
3282 | config/arm/arm.md (consttable_4, consttable_8), | |
3283 | config/romp/romp.c (output_fpops), config/s390/s390.h | |
3284 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c | |
3285 | (xtensa_output_literal): Don't use union real_extract. | |
3286 | ||
3287 | * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c | |
3288 | (sfmode_constant_to_ulong), config/ns32k/merlin.h | |
3289 | (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), | |
3290 | config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h | |
3291 | (PRINT_OPERAND): Don't use local version of union | |
3292 | real_extract. | |
3293 | ||
3294 | * config/convex/convex.c (check_float_value), config/vax/vax.c | |
3295 | (vax_float_literal), config/m88k/m88k.md (divdf3), | |
3296 | config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), | |
3297 | config/pdp11/pdp11.c (output_move_quad): Don't do host | |
3298 | arithmetic on target floating point quantities. | |
3299 | ||
3300 | * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c | |
3301 | (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. | |
3302 | ||
3303 | * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): | |
3304 | Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. | |
3305 | ||
3306 | * real.c (earith): Test INFINITY rather than REAL_INFINITY; | |
3307 | NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef | |
3308 | INFINITY. | |
3309 | * print-rtl.c (print_rtx): Disable code which needs | |
3310 | floating-point emulator. | |
3311 | * libgcc2.c: Include float.h and use DBL_MANT_DIG, | |
3312 | FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than | |
3313 | depending on HOST_FLOAT_FORMAT to be defined properly. | |
3314 | ||
3315 | * config/1750a/1750a.c (get_double, float_label): Delete. | |
3316 | (print_operand): Delete huge commented-out chunk. Use | |
3317 | REAL_VALUE_TO_DECIMAL. | |
3318 | * config/1750a/1750a-protos.h: Delete prototypes of deleted | |
3319 | functions. | |
3320 | * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to | |
3321 | IEEE_FLOAT_FORMAT. | |
3322 | * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): | |
3323 | Use REAL_VALUE_TO_DECIMAL as ELF version does. | |
3324 | * config/m88k/m88k.c (real_power_of_2_operand, | |
3325 | legitimize_operand): Take the REAL_VALUE_TYPE and/or union | |
3326 | real_extract out of the union; run the input through | |
3327 | REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords | |
3328 | from that into the union. | |
3329 | * config/pdp11/pdp11.c (output_move_double): Rearrange | |
3330 | parentheses to make automatic indenter happy. | |
3331 | ||
3332 | * doc/tm.texi (Cross-compilation): Rename node to "Floating | |
3333 | Point" and rewrite to describe current situation. Also adjust | |
3334 | documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to | |
3335 | match code. | |
3336 | * doc/rtl.texi: Adjust cross reference. | |
3337 | ||
fc12fa10 | 3338 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
3339 | ||
3340 | * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove. | |
3341 | (xtensa_valid_move, xtensa_preferred_reload_class): Define. | |
3342 | * config/xtensa/xtensa.c (non_acc_reg_operand): Remove. | |
3343 | (xtensa_valid_move, xtensa_preferred_reload_class): Define to | |
3344 | prevent use of sp as a reload register. | |
3345 | (xtensa_emit_move_sequence): Use xtensa_valid_move instead of | |
3346 | non_acc_reg_operand. | |
3347 | * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand. | |
3348 | (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class. | |
3349 | * config/xtensa/xtensa.md (movsi_internal, movhi_internal, | |
3350 | movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand. | |
3351 | ||
34cf330f | 3352 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
3353 | ||
badfe841 | 3354 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. |
3355 | * cpplex.c (unterminated): Delete. | |
3356 | (parse_string): No string literal may extend over multiple | |
3357 | lines. Suppress the error when preprocessing assembly. | |
34cf330f | 3358 | * cppmain.c (scan_translation_unit): Strings are single-line. |
3359 | ||
badfe841 | 3360 | * doc/cpp.texi: Update to match. |
34cf330f | 3361 | |
0837bbb7 | 3362 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
3363 | ||
3364 | PR optimization/5854 | |
3365 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
3366 | Shut up warnings. | |
3367 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
3368 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
3369 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
3370 | const0 if scratch register was not allocated. | |
3371 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
3372 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
3373 | with GEN_INT (...). | |
3374 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
3375 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
3376 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
3377 | patterns. | |
3378 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
3379 | require scratch register for setting 0 into regs/non-pushable memory. | |
3380 | ||
1a6a6dab | 3381 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
3382 | ||
3383 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
3384 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
3385 | ||
923acdd5 | 3386 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
3387 | ||
3388 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
3389 | * cppinit.c (cpp_create_reader): On by default. | |
3390 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
3391 | (cpp_post_options): Also enable if -pedantic. | |
3392 | * cpplib.c (do_else): Use it. | |
3393 | (do_endif): Likewise. | |
3394 | * doc/cppopts.texi: Document new option. | |
3395 | * doc/invoke.texi: Document new option. | |
3396 | ||
51b76077 | 3397 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
3398 | ||
3399 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
3400 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
3401 | ||
1707315d | 3402 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
3403 | ||
3404 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
3405 | ENTRY and EXIT. | |
3406 | ||
e2c2ccf6 | 3407 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
3408 | ||
3409 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
3410 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
3411 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
3412 | rtx * instead of rtx to alter_subreg. | |
3413 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
3414 | * config/pj/pj.c (pj_output_rval): Likewise. | |
3415 | ||
3a7c3680 | 3416 | 2002-03-22 Richard Henderson <rth@redhat.com> |
3417 | ||
3418 | PR target/3177 | |
3419 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
3420 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
3421 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
3422 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
3423 | of incomming int regs. | |
3424 | ||
d20c8e15 | 3425 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
3426 | ||
3427 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
3428 | ||
598a47d6 | 3429 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
3430 | ||
3431 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
3432 | New static variables. | |
3433 | (rest_of_compilation): Conditionalize crossjumping and | |
3434 | loop optimizer. | |
3435 | (parse_options_and_default_flags): Default loop_optimize and | |
3436 | crossjumping. | |
3437 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
3438 | * invoke.texi (crossjumping, loop-optimize): Document. | |
3439 | ||
a360050d | 3440 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
3441 | ||
3442 | * real.c (eiisneg): Move outside #ifdef NANS. | |
3443 | ||
26fb1781 | 3444 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
3445 | ||
3446 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
3447 | frequencies match; avoid match on different loop depths. | |
3448 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
3449 | savings. | |
3450 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
3451 | updating code. | |
3452 | (split_edge): Likewise. | |
3453 | ||
3454 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
3455 | variable. | |
3456 | ||
3457 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
3458 | * cfgrtl.c: Include insn-config.h | |
3459 | (split_block) Dirtify block in presence of conditional execution | |
3460 | ||
09a41b31 | 3461 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
3462 | ||
3463 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
3464 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
3465 | (function_arg): Constify CUMULATIVE_ARGS. | |
3466 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
3467 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
3468 | (UNITS_PER_DOUBLE): New macro. | |
3469 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
3470 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
3471 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
3472 | fp_regs and stack_words. | |
3473 | (EABI_FLOAT_VARARGS_P): New macro. | |
3474 | * config/mips/mips.c (struct mips_arg_info): New. | |
3475 | (mips_arg_info): New function. | |
3476 | (function_arg_advance): Use it. Add adjustment instructions here | |
3477 | rather than in function_arg. | |
3478 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
3479 | for VOIDmode at the beginning of the function. | |
3480 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
3481 | (function_arg_pass_by_reference): Likewise. | |
3482 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
3483 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
3484 | (mips_va_start): Likewise. Use the new stack_words field of | |
3485 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
3486 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
3487 | doubles and other types, aligning the overflow pointer for non-doubles | |
3488 | too. Remove some code duplication. Replace hard-coded constants. | |
3489 | ||
f1b1bcc4 | 3490 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
3491 | ||
3492 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
3493 | (CLASS_UNITS): Undefine. | |
3494 | (CLASS_MAX_NREGS): Use FP_INC. | |
3495 | * config/mips/mips.c (compute_frame_size): Likewise. | |
3496 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
3497 | ||
78a11351 | 3498 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
3499 | ||
3500 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
3501 | prototype, and handle lexing numbers and identifiers. | |
3502 | (parse_identifier): Update to new form of parse_slow. | |
3503 | (parse_number): Fast path only, use parse_slow otherwise. | |
3504 | (_cpp_lex_direct): Update calls to parse_number. | |
3505 | ||
12c94d25 | 3506 | 2002-03-21 DJ Delorie <dj@redhat.com> |
3507 | ||
3508 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
3509 | when redundant edges are omitted. | |
3510 | * predict.c (dump_prediction): Likewise. | |
3511 | ||
91eb7bbc | 3512 | 2002-03-21 Richard Henderson <rth@redhat.com> |
3513 | ||
3514 | PR target/5996 | |
3515 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
3516 | * fixinc/fixincl.x: Regenerate. | |
3517 | ||
cad0b4b0 | 3518 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
3519 | ||
3520 | PR c/5597 | |
3521 | * c-typeck.c (process_init_element): Flag non-static | |
3522 | initialization of a flexible array member as illegal. | |
3523 | ||
c4f7b734 | 3524 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
3525 | ||
3526 | * config/rs6000/t-linux64: New. | |
3527 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
3528 | t-ppccomm. Use t-rs6000 and t-linux64. | |
3529 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
1a17e78f | 3530 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
3531 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
3532 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
c4f7b734 | 3533 | |
c31da6e7 | 3534 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
3535 | ||
cad0b4b0 | 3536 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
3537 | flag_really_no_inline instead of optimize == 0. | |
c31da6e7 | 3538 | |
cad0b4b0 | 3539 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
c31da6e7 | 3540 | |
cad0b4b0 | 3541 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
c31da6e7 | 3542 | |
cad0b4b0 | 3543 | * flags.h (flag_really_no_inline): New. |
c31da6e7 | 3544 | |
a9bc793b | 3545 | * c-common.c (c_common_post_options): Initialize |
cad0b4b0 | 3546 | flag_really_no_inline. |
c31da6e7 | 3547 | |
cad0b4b0 | 3548 | * toplev.c (flag_really_no_inline): New. |
c31da6e7 | 3549 | |
5bcbe7f8 | 3550 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
3551 | ||
3552 | * config/avr/avr.md (length): Fix length computation for | |
3553 | conditional branches. | |
3554 | ||
20325f61 | 3555 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
3556 | ||
3557 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
3558 | sdbout.o, profile.o): Update. | |
3559 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
3560 | langhook. | |
3561 | * c-common.h (gettags): Move here from tree.h. | |
3562 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
3563 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
3564 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
3565 | * expr.c (expand_expr): Use insert_block langhook. | |
3566 | * fold-const.c: Include langhooks.h. | |
3567 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
3568 | fold): Use global_bindings_p langhook. | |
3569 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
3570 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
3571 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
3572 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
3573 | LANG_HOOKS_GETDECLS): New. | |
3574 | (LANG_HOOKS_INITIALIZER): Update. | |
3575 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
3576 | langhook. | |
3577 | * langhooks.h (struct lang_hooks_for_decls): New. | |
3578 | (struct lang_hooks): Update. | |
3579 | * profile.c: Include langhooks.h. | |
3580 | (output_func_start_profiler): Use new langhooks. | |
3581 | * sdbout.c: Include langhooks.h. | |
3582 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
3583 | * stmt.c: Include langhooks.h. | |
3584 | (expand_fixup, fixup_gotos): Use new langhooks. | |
3585 | * stor-layout.c: Include langhooks.h. | |
3586 | (variable_size): Use global_bindings_p langhook. | |
3587 | * toplev.c (compile_file): Use getdecls langhook. | |
3588 | * tree-inline.c (remap_block): Use insert_block langhook. | |
3589 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
3590 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
3591 | ||
12f6b618 | 3592 | 2002-03-21 Richard Henderson <rth@redhat.com> |
3593 | ||
3594 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
3595 | constants in .data when -fpic. | |
3596 | ||
f35b9ec5 | 3597 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3598 | ||
3599 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
3600 | where appropriate. | |
3601 | ||
e47a07bc | 3602 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
3603 | ||
3604 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
3605 | ||
98f4973a | 3606 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3607 | ||
f42870f5 | 3608 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
0beeb343 | 3609 | |
98f4973a | 3610 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
3611 | ||
da3ac634 | 3612 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
3613 | Richard Henderson <rth@redhat.com> | |
3614 | ||
3615 | PR c/5354 | |
3616 | * c-common.c (c_expand_expr): Preserve result of a statement | |
3617 | expression if needed. | |
3618 | ||
e4e139d3 | 3619 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
3620 | ||
3621 | PR bootstrap/4195 | |
3622 | * genrecog.c (maybe_both_true_mode): Remove. | |
3623 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
3624 | * machmode.def (Pmode): Likewise. | |
3625 | ||
c352cbc7 | 3626 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
3627 | ||
3628 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
3629 | (nonlocal_mentioned_p_1): New function. | |
3630 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
3631 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
3632 | (mark_constant_function): Recognize pure functions. | |
3633 | * rtl.h (global_reg_mentioned_p): New prototype. | |
3634 | * rtlanal.c (global_reg_mentioned_p, | |
3635 | global_reg_mentioned_p_1): New function. | |
3636 | ||
03112946 | 3637 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3638 | ||
3639 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
3640 | UNIX assert.h. | |
3641 | * fixinc/fixincl.x: Regenerate. | |
3642 | ||
9f61d572 | 3643 | 2002-03-20 Jason Merrill <jason@redhat.com> |
3644 | ||
3645 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
3646 | ||
d345230a | 3647 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
3648 | ||
3649 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
3650 | -fstrict-aliasing. | |
3651 | ||
efa381d9 | 3652 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
3653 | ||
3654 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
3655 | ".literal_position" directive before the constant pool. | |
3656 | ||
b4260534 | 3657 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3658 | ||
3659 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
3660 | Add Craig Rodrigues. | |
3661 | Add Brad Lucier to testers. | |
3662 | ||
c00688b9 | 3663 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
3664 | ||
3665 | PR target/4792 | |
3666 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
3667 | to if_then_else. | |
3668 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
3669 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
3670 | instead of insn_extract. | |
3671 | ||
c1caaef5 | 3672 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
3673 | ||
3674 | PR bootstrap/4192 | |
c00688b9 | 3675 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
c1caaef5 | 3676 | |
3677 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
3678 | stmt if some case has been output. | |
3679 | ||
ed16175e | 3680 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
3681 | ||
3682 | PR c/5972 | |
3683 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
3684 | movsfcc_1, movdfcc_1): Add %O2. | |
3685 | * config/i386/i386.c (print_operand): Handle %ON. | |
3686 | Print . before float condition codes in Sun as cmov syntax. | |
3687 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
3688 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
3689 | no longer true. | |
3690 | ||
5023f286 | 3691 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
3692 | ||
3693 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
3694 | return instruction if PC was popped. | |
3695 | ||
42a92fdf | 3696 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
3697 | ||
3698 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
3699 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
3700 | ||
ed16175e | 3701 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
fe1b1167 | 3702 | |
3703 | PR optimization/5999, middle-end/5731 | |
3704 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
3705 | multiplications by reciprocals. | |
3706 | ||
96554925 | 3707 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
3708 | ||
3709 | * Makefile.in: Update. | |
3710 | * c-common.c: Include langhooks.h. | |
3711 | (inline_forbidden_p): Use new hook. | |
3712 | * diagnostic.c: Include langhooks.h. | |
3713 | (format_with_decl, announce_function, | |
3714 | default_print_error_function): Use new hook. | |
3715 | * dwarf2out.c (dwarf2_name): Use new hook. | |
3716 | * function.c: Include langhooks.h. | |
3717 | (init_function_start): Use new hook. | |
3718 | * langhooks-def.h (lhd_decl_printable_name): New. | |
3719 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
3720 | (LANGHOOKS_INITIALIZER): Update. | |
3721 | * langhooks.c (lhd_decl_printable_name): New. | |
3722 | * langhooks.h (struct lang_hooks): New hook. | |
3723 | * toplev.c (decl_name, decl_printable_name): Remove. | |
3724 | (open_dump_file): Use new hook. | |
3725 | (process_options): Remove old hook. | |
3726 | * tree.h (decl_printable_name): Remove. | |
3727 | objc: | |
3728 | * objc-act.c (objc_init): Remove old hook. | |
3729 | (objc_printable_name): Export. | |
3730 | * objc-act.h (objc_printable_name): New. | |
3731 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
3732 | ||
d645d87a | 3733 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
3734 | ||
3735 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
3736 | the start_source_file debug hook, not the current line number. | |
3737 | ||
1c6bdf07 | 3738 | 2002-03-19 Richard Henderson <rth@redhat.com> |
3739 | ||
3740 | * flow.c (EH_USES): Provide default. | |
3741 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
3742 | * doc/tm.texi (EH_USES): New. | |
3743 | ||
3744 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
3745 | * config/ia64/ia64-protos.h: Update. | |
3746 | * config/ia64/ia64.h (EH_USES): New. | |
3747 | ||
23e7e0fe | 3748 | 2002-03-19 Richard Henderson <rth@redhat.com> |
3749 | ||
3750 | * varasm.c (output_constant_def): Fix stupid typo. | |
3751 | ||
7cb6ef9c | 3752 | 2002-03-19 Richard Henderson <rth@redhat.com> |
3753 | ||
447fd9a6 | 3754 | PR 5879 |
7cb6ef9c | 3755 | * except.c (current_function_has_exception_handlers): New. |
3756 | * except.h: Declare it. | |
3757 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
3758 | Combine tests that disable all sibcalls for the function. | |
3759 | ||
0b5e8ccd | 3760 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
3761 | ||
3762 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
3763 | for INTEGER_CST. | |
3764 | ||
5b2a5245 | 3765 | 2002-03-19 Richard Henderson <rth@redhat.com> |
3766 | ||
341e9754 | 3767 | PR 5977, 5991 |
5b2a5245 | 3768 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
3769 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
3770 | ||
920e5093 | 3771 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
3772 | ||
3773 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
3774 | name, even if the replacement list contains no tokens, as required | |
3775 | by Dwarf. | |
3776 | ||
007bab64 | 3777 | 2002-03-19 Jason Merrill <jason@redhat.com> |
3778 | ||
2a9997f3 | 3779 | * varasm.c (globalize_decl): Get the name from the RTL, not |
3780 | DECL_ASSEMBLER_NAME. | |
3781 | ||
007bab64 | 3782 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
3783 | ||
e52ea370 | 3784 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
3785 | ||
3786 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
3787 | subdi_carry): Define. | |
3788 | ||
8abd1171 | 3789 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
3790 | ||
3791 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
3792 | about -fpic/-fPIC if extra_warnings set. | |
3793 | ||
506664d9 | 3794 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
3795 | ||
3796 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
3797 | TREE_STRING_POINTER. | |
cb19c5ed | 3798 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
506664d9 | 3799 | |
1508f037 | 3800 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3801 | ||
3802 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
3803 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
3804 | ||
2d232d05 | 3805 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
3806 | ||
3807 | * emit-rtl.c (gen_int_mode): New function. | |
3808 | * rtl.h: Prototype for it. | |
3809 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
3810 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
3811 | (convert_modes, store_field), optabs.c (expand_fix), | |
3812 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
3813 | ||
3814 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
3815 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
3816 | ||
78b80426 | 3817 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
3818 | ||
3819 | PR c/5656 | |
3820 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
3821 | convert_parm_for_inlining. | |
3822 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
3823 | Define. | |
3824 | * langhooks-def.h: Likewise. | |
3825 | * objc/objc-lang.c: Likewise. | |
3826 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
3827 | function. | |
3828 | * tree-inline.c (initialize_inlined_parameters): | |
3829 | Call convert_parm_for_inlining lang hook if needed. | |
3830 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
3831 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
3832 | ||
10ab549e | 3833 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
3834 | ||
badfe841 | 3835 | * calls.c (precompute_arguments): Do not assume that temporaries |
10ab549e | 3836 | can be destroyed after expanding the argument. |
3837 | (expand_call): Likewise. | |
3838 | ||
534bddd8 | 3839 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
3840 | ||
3841 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
3842 | Fix register preference on last change. | |
3843 | * config/mips/mips.c (mips_return_in_memory): New function. | |
3844 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
3845 | * config/mips/mips-protos.h: Declare. | |
3846 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
3847 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
3848 | ||
d04e6ab6 | 3849 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
3850 | ||
e7f722c0 | 3851 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
3852 | a register too. | |
3853 | (anddi3, iorsi3): Likewise. | |
3854 | ||
8b1f17c6 | 3855 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
3856 | use %gprel for symbols that are going to be placed in linkonce | |
3857 | sections. | |
3858 | ||
d04e6ab6 | 3859 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
3860 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
3861 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
3862 | not needed. Disregard leaf_function_p(). | |
3863 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
3864 | mips16 frame pointer. | |
3865 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
3866 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
3867 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
3868 | return a REG rtx for the return address register. | |
3869 | ||
7ad1c420 | 3870 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
3871 | ||
3872 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
3873 | constant-pool addresses as "mode-dependent". | |
3874 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
3875 | ||
4c183732 | 3876 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
3877 | ||
3878 | PR target/5740 | |
3879 | * expr.c (emit_group_load): Use extract_bit_field if | |
3880 | needed for CONCAT arguments. | |
3881 | ||
fd957ef3 | 3882 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
3883 | ||
5c29d853 | 3884 | PR target/4863 |
fd957ef3 | 3885 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
3886 | offset to the base of the table. | |
3887 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
3888 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
3889 | as the difference of two labels. | |
3890 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
3891 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
3892 | tables in the code. | |
3893 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
3894 | * arm.c (get_jump_table_size): If the table is not in the text | |
3895 | section, return zero. | |
534bddd8 | 3896 | |
9e8503e6 | 3897 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
3898 | ||
3899 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
3900 | of gen_rtx_SUBREG. | |
3901 | (arm_reload_out_hi): Use gen_lowpart instead of | |
3902 | gen_rtx_SUBREG to access QImode components. | |
3903 | * config/arm/arm.md: Disable zero_extend split for QImode | |
3904 | subregs in BIG_ENDIAN mode. | |
3905 | (storehi_bigend): Match use of least significant byte. | |
3906 | (storeinthi): Remove extraneous SUBREG. | |
5606b4a6 | 3907 | Add missing construction of operands[2]. |
9e8503e6 | 3908 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
3909 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
3910 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
3911 | ||
44c08f4f | 3912 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
3913 | ||
2d232d05 | 3914 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
3915 | any_operand. | |
44c08f4f | 3916 | |
301416af | 3917 | 2002-03-17 Richard Henderson <rth@redhat.com> |
3918 | ||
3919 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
3920 | explicitly. | |
3921 | ||
00e2a1ff | 3922 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
3923 | ||
3924 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
3925 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
3926 | ||
81ee4ed6 | 3927 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3928 | ||
d980ce5a | 3929 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
3930 | ||
81ee4ed6 | 3931 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
3932 | ||
59ec9229 | 3933 | 2002-03-17 Richard Henderson <rth@redhat.com> |
3934 | ||
3935 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
3936 | targetm definition. Make static. | |
3937 | ||
b78207a0 | 3938 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
3939 | ||
3940 | * c-common.h (yyparse, c_common_parse_file): New. | |
3941 | * c-lang.c: Include c-common.h. | |
3942 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
3943 | * c-lex.c: Include c-common.h. | |
3944 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
3945 | * c-parse.in (yyparse): Remove macro. | |
3946 | * c-tree.h (yyparse_1): Remove. | |
3947 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
3948 | (LANG_HOOKS_INITIALIZER): Update. | |
3949 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
3950 | * toplev.c (compile_file): Use parse_file hook. | |
3951 | * tree.h (yyparse): Remove. | |
59ec9229 | 3952 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
b78207a0 | 3953 | |
d3988102 | 3954 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
3955 | ||
a96d9926 | 3956 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
3957 | float_truncate, not fix. | |
3958 | ("*truncdfsf2_real"): Ditto. | |
3959 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
3960 | ||
d3988102 | 3961 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
3962 | ||
b83113dd | 3963 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
3964 | ||
c7a20c1f | 3965 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
3966 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
3967 | where appropriate. Make the second reference to | |
3968 | leaf_function_p a function call, as intended. Reindented. | |
3969 | ||
daef6af6 | 3970 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
3971 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
3972 | ||
7505da85 | 3973 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
3974 | add register to non-constant into sp. | |
3975 | ||
b83113dd | 3976 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
3977 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
3978 | (mips16_gp_pseudo_rtx): Lose. | |
3979 | (INIT_EXPANDERS): Deleted. | |
3980 | * config/mips/mips.c (mips_init_machine_status): New. | |
3981 | (mips_free_machine_status): New. | |
3982 | (mips_mark_machine_status): New. | |
3983 | (override_options): Set them. | |
3984 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
3985 | (struct machine_function): ... new. Replaced all references. | |
3986 | (mips_add_gc_roots): Don't mark them. | |
3987 | (embedded_pic_fnaddr_reg): New, extracted from... | |
3988 | (embedded_pic_offset): ... here. | |
3989 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
3990 | (movsi): Likewise. | |
3991 | ||
9ec9f6b6 | 3992 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
3993 | ||
3994 | * cppinit.c: Revert -MD removal. | |
3995 | ||
d781471b | 3996 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3997 | ||
3998 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
3999 | soft registers by default for 68HC12. | |
4000 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
4001 | when compiling with -fomit-frame-pointer. | |
4002 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
4003 | (expand_epilogue): Likewise. | |
4004 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
4005 | ||
b8168c4c | 4006 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4007 | ||
4008 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
4009 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
4010 | (splits): Remove unused add splits. | |
4011 | ("*addhi3_68hc12"): Tune constraints. | |
4012 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
4013 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
4014 | ("*addhi3"): Remove extern declaration of ix_reg. | |
4015 | ("*subsi3"): Optimize and provide new split. | |
4016 | ("subhi3"): Cleanup. | |
4017 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
4018 | (arith splits): For 68hc12 save the address register on the stack | |
4019 | and do the arithmetic operation with a pop. | |
4020 | ||
af03ef00 | 4021 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4022 | ||
4023 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
4024 | allocating QImode in address registers. | |
4025 | ("*movqi_m68hc11"): Likewise. | |
4026 | ||
5b9c5bf5 | 4027 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
4028 | ||
4029 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
4030 | ||
779370e8 | 4031 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
4032 | ||
4033 | * cppinit.c (print_help): Display -MD and -MMD. | |
4034 | Don't display usage string. Update assertion syntax and | |
4035 | typo. | |
4036 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
4037 | (cpp_handle_option): Update. | |
4038 | ||
8a48b8c8 | 4039 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
4040 | ||
4041 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
4042 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
4043 | and define it so that regardless of target CPU size, | |
4044 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
4045 | of "int" rather than "long." | |
4046 | ||
0514cfdc | 4047 | 2002-03-15 Richard Henderson <rth@redhat.com> |
4048 | ||
4049 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
4050 | size as a tree. | |
4051 | ||
8ffe78c7 | 4052 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4053 | ||
4054 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
4055 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
4056 | (splits): Remove constraints. | |
4057 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
4058 | ("cmpdf", "cmpsf"): Remove since not used. | |
4059 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
4060 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
4061 | ||
0bae8829 | 4062 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4063 | ||
4064 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
4065 | ("neghi2"): Tighten constraints. | |
4066 | ("one_cmplsi2"): Optimize and simplify split. | |
4067 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
4068 | ||
cae3e7b9 | 4069 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4070 | ||
4071 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
4072 | and split of AND operation to clear the upper bits. | |
4073 | ("*logicalsi3_zextqi"): Likewise. | |
4074 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
4075 | ("*logicalsi3_silshr16"): Likewise. | |
4076 | ("logicalsi3_silshl16"): Likewise. | |
4077 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
4078 | ||
690a8e84 | 4079 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4080 | ||
4081 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
4082 | (m68hc11_indirect_p): New function. | |
4083 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
4084 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
4085 | TARGET_M6812. | |
4086 | (asm_print_register): Likewise. | |
4087 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
4088 | (m68hc11_indirect_p): Declare. | |
4089 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
4090 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
4091 | (TARGET_SWITCHES): New option -mrelax. | |
4092 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
4093 | destination. | |
4094 | ("iorsi3", "xorsi3"): Likewise. | |
4095 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
4096 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
4097 | and a scratch register. | |
4098 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
4099 | ("*andhi3_const"): New when operand2 is constant. | |
4100 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
4101 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
4102 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
4103 | ("xorqi3"): Update constraints. | |
4104 | ||
1a5f82e2 | 4105 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4106 | ||
4107 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
4108 | for reg_equiv_memory_loc when the operand is a register that does | |
4109 | not get a hard register (stack location). | |
4110 | (tst_operand): After reload, accept all memory operand. | |
4111 | (symbolic_memory_operand): Fix detection of symbolic references. | |
4112 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
4113 | accept symbols and any constant. | |
4114 | ||
ea1cd8de | 4115 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4116 | ||
4117 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
4118 | note on the insn that sets the soft frame register. | |
4119 | (must_parenthesize): ix and iy are also reserved names. | |
4120 | (print_operand_address): One more place where parenthesis are required | |
4121 | to avoid confusion with register names. | |
4122 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
4123 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
4124 | clobber. | |
4125 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
4126 | the replacement register is. | |
4127 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
4128 | and D8_REGS classes. | |
4129 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
4130 | ||
3f340f35 | 4131 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4132 | ||
4133 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
4134 | (___subdi3): Likewise. | |
4135 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
4136 | (__map_data_section): Optimize 68hc11 case. | |
4137 | ||
f836d492 | 4138 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4139 | ||
4140 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
4141 | than a shift to avoid adding a register with itself. | |
4142 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
4143 | (m68hc11_register_move_cost): Update and use memory move cost | |
4144 | for soft registers. | |
4145 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
4146 | it gives more opportunities to cse to optimize. | |
4147 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
4148 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
4149 | ||
7b6facbf | 4150 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
4151 | ||
4152 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
4153 | * c-common.def (CLEANUP_STMT): New tree node. | |
4154 | * c-common.h (CLEANUP_DECL): New macro. | |
4155 | (CLEANUP_EXPR): Likewise. | |
4156 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
4157 | * expr.c (expand_expr): Tidy. | |
4158 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
4159 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
4160 | new local variables. | |
4161 | ||
075f5855 | 4162 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
4163 | ||
4164 | PR bootstrap/4128 | |
4165 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
4166 | before movrXX only, use reg_overlap_mentioned_p. | |
4167 | Only special case NE if just one insn can be generated. | |
4168 | ||
6959d2c2 | 4169 | 2002-03-15 Jason Merrill <jason@redhat.com> |
4170 | ||
4171 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
4172 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
4173 | of error_mark_node. | |
4174 | ||
f5b3169c | 4175 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
4176 | ||
4177 | PR target/5170 | |
4178 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
4179 | explaining non-obvious test. | |
4180 | ||
9aec9406 | 4181 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
4182 | ||
4183 | PR target/5712 | |
4184 | * arm.md (movaddr, movaddr_insn): Delete. | |
4185 | ||
c4c3877b | 4186 | 2002-03-15 Jason Merrill <jason@redhat.com> |
4187 | ||
4188 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
4189 | -fkeep-static-consts doesn't apply to comdats. | |
4190 | ||
5626f4cd | 4191 | 2002-03-14 Richard Henderson <rth@redhat.com> |
4192 | ||
4193 | * c-decl.c: Include c-pragma.h. | |
4194 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
4195 | (finish_function): Tidy. | |
4196 | * c-pragma.c: Include c-common.h. | |
4197 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
4198 | (handle_pragma_weak): Use them. | |
4199 | (init_pragma): Register pending_weaks. | |
4200 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
4201 | * print-tree.c (print_node): Print DECL_WEAK. | |
4202 | * varasm.c (mark_weak_decls): Remove. | |
4203 | (remove_from_pending_weak_list): Remove. | |
4204 | (add_weak): Remove. | |
4205 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
4206 | (weak_decls): Make a tree_list. | |
4207 | (declare_weak): Cons weak_decls directly. | |
4208 | (globalize_decl): Remove weak_decls elements directly. | |
4209 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
4210 | symbols. Don't pretend to handle aliases. | |
4211 | (init_varasm_once): Update weak_decls registry. | |
4212 | * Makefile.in: Update dependencies. | |
4213 | ||
60e8331c | 4214 | 2002-03-14 Richard Henderson <rth@redhat.com> |
4215 | ||
4216 | PR target/5312 | |
4217 | * config/ia64/ia64.c: Include tm_p.h last. | |
4218 | (gen_nop_type): Remove duplicate definition. | |
4219 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
4220 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
4221 | (nop_cycles_until): Fix typos. | |
4222 | ||
f456a8bd | 4223 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
4224 | ||
4225 | PR optimization/5891 | |
4226 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
4227 | ||
a3a14c95 | 4228 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
4229 | ||
4230 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
4231 | descriptors correctly. | |
4232 | ||
0b11ae2e | 4233 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
4234 | ||
4235 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
4236 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
4237 | ||
4238 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
4239 | --param. | |
4240 | ||
4241 | * unroll.c (params.h): Include. | |
4242 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
4243 | ||
4244 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
4245 | ||
4246 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
4247 | ||
a058e94a | 4248 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
4249 | ||
4250 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
4251 | ||
604b7b22 | 4252 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
4253 | ||
4254 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
4255 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
4256 | (linemarker_dir): New data object. | |
4257 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
4258 | preprocessed source. Delete obsolete comment about return | |
4259 | values of handlers. | |
4260 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
4261 | Don't muck with line_extension. | |
4262 | (directive_diagnostics): No need to issue warnings for | |
4263 | linemarkers here. | |
4264 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
4265 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
4266 | do_line. | |
4267 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
4268 | Convert escape sequences in filename argument, both places. | |
4269 | ||
4270 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
4271 | export. All callers changed. | |
4272 | * cpplib.h (cpp_quote_string): Prototype. | |
4273 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
4274 | before printing it. | |
4275 | ||
4276 | * doc/cpp.texi: Document that escapes are now interpreted in | |
4277 | #line and in linemarkers, and that non-printing characters are | |
4278 | converted to octal escapes when linemarkers are generated. | |
4279 | ||
4280 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
0f43048e | 4281 | |
4282 | * emit-rtl.c (try_split): Use delete_insns. | |
4283 | * recog.c (split_all_insns): Fix terminating condition. | |
4284 | ||
73dd1c00 | 4285 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
4286 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
4287 | ||
4288 | PR target/5828 | |
4289 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
4290 | adjustment when using a frame pointer. | |
4291 | ||
8c9bf23a | 4292 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
4293 | ||
4294 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
4295 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
4296 | (save_restore_insns, mips_expand_epilogue): And here. | |
4297 | (build_mips16_call_stub): And here. | |
4298 | (mips_function_value): Use the new macros to decide whether a single | |
4299 | or complex float can be returned in floating-point registers. Return | |
4300 | a parallel rtx in the complex case. | |
4301 | ||
b65ae28b | 4302 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
4303 | ||
4304 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
4305 | call after liveness analysis. | |
4306 | ||
4307 | * recog.c (split_insn): Use delete_insn_and_edges. | |
4308 | ||
4309 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
4310 | instructions to have branch prediction notes. | |
4311 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
4312 | ||
89d762ad | 4313 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
4314 | ||
4315 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
4316 | that doesn't support it. | |
4317 | * configure: Regenerate. | |
4318 | ||
ebd2c2bf | 4319 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
4320 | ||
4321 | PR target/5626 | |
4322 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
4323 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
4324 | inverted_fp_branch): Adjust calls to output_cbranch. | |
4325 | Set length attribute. | |
4326 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
4327 | output_v9branch. Set length attribute. | |
4328 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
4329 | predicates. | |
4330 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
4331 | (output_cbranch): Likewise. Handle far branches. | |
4332 | (output_v9branch): Handle far branches. | |
4333 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
4334 | Adjust prototypes. | |
4335 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
4336 | noov_compare64_op predicates. | |
4337 | ||
cee68eb1 | 4338 | 2002-03-13 Jason Merrill <jason@redhat.com> |
4339 | ||
4340 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
4341 | into the function and constify it. | |
4342 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
4343 | ||
04c6ce8b | 4344 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
4345 | ||
4346 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
4347 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
4348 | std_expand_builtin_va_arg if not ABI_V4. | |
4349 | ||
1fbd58a2 | 4350 | 2002-03-13 Jason Merrill <jason@redhat.com> |
4351 | ||
4352 | * varasm.c (globalize_decl): New fn. | |
4353 | (assemble_start_function): Use it. | |
4354 | (asm_emit_uninitialized): Use it. | |
4355 | (assemble_alias): Use it. | |
4356 | (assemble_variable): Use it. | |
4357 | ||
082203db | 4358 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
4359 | ||
4360 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
604b7b22 | 4361 | 2002-03-12 internal visibility change. |
082203db | 4362 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
4363 | visibility into SYMBOL_REF_FLAG. | |
4364 | ||
701cbdec | 4365 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
4366 | ||
4367 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
4368 | VOIDmode operand. Add compile-time optimization for constant results. | |
4369 | ||
3ecb65ec | 4370 | 2002-03-12 Jason Merrill <jason@redhat.com> |
4371 | ||
4372 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
4373 | between pointers and references. Only allow lvalues to convert to | |
4374 | reference. | |
4375 | ||
ecfe03ce | 4376 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
4377 | ||
604b7b22 | 4378 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
4379 | before prologue, to avoid scheduling problems. | |
ecfe03ce | 4380 | |
937b2058 | 4381 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
4382 | ||
4383 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
4384 | (ELIMINABLE_REGS): Add sfp->sp. | |
4385 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
4386 | ||
4387 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
5e60cbe4 | 4388 | |
4389 | PR optimization/5892 | |
4390 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
4391 | ||
73b69176 | 4392 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
4393 | ||
4394 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
4395 | classes are different. | |
4396 | ||
df9f5cf8 | 4397 | 2002-03-12 Richard Henderson <rth@redhat.com> |
4398 | ||
5c0913b4 | 4399 | PR optimization/5901 |
4400 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
4401 | the markers after/before the last/first insn not deleted. | |
4402 | ||
4403 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
4404 | ||
4405 | PR optimization/5878 | |
df9f5cf8 | 4406 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
4407 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
4408 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
4409 | ||
4410 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
4411 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
4412 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
4413 | ||
4414 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
4415 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
4416 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
4417 | also. Don't set it if not flag_pic. | |
4418 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
4419 | to be INVALID_REGNUM when not used. | |
4420 | ||
edc4f1e8 | 4421 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
4422 | ||
df9f5cf8 | 4423 | * expmed.c (store_bit_field): Reset alias set for memory. |
4424 | (extract_bit_field): Same. | |
edc4f1e8 | 4425 | |
ab1a776d | 4426 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4427 | ||
4428 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
4429 | c_tree_code_name, add_c_tree_codes): Delete. | |
4430 | * c-common.h (add_c_tree_codes): Delete. | |
4431 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
4432 | Define. | |
4433 | * c-objc-common.c (c_objc_common_init): Don't call | |
4434 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
4435 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
4436 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
4437 | (objc_init): Don't call add_objc_tree_codes. | |
4438 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
4439 | tree_code_name): Define. | |
4440 | * toplev.c (lang_independent_init): Don't set | |
4441 | tree_code_length[IDENTIFIER_NODE]. | |
4442 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
4443 | Delete definitions, moved to language front-ends. | |
4444 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
4445 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
4446 | Const-ify. | |
4447 | (tree_code_length): Change type to unsigned char. | |
4448 | ||
387fa9f2 | 4449 | 2002-03-12 Richard Henderson <rth@redhat.com> |
4450 | ||
4451 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
4452 | internal visibility change. | |
4453 | ||
9c56a8c5 | 4454 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
4455 | ||
4456 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
4457 | validize_mem() instead of change_address to avoid clobbering | |
4458 | memory attributes. | |
4459 | ||
3d196c8b | 4460 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
4461 | ||
4462 | * c-lex.h (position_after_whitespace): Remove. | |
4463 | ||
2f6ec5fe | 4464 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
4465 | ||
4466 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
4467 | (lex_string): Use unsigned char pointers. | |
4468 | ||
295a8b81 | 4469 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
4470 | ||
4471 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
4472 | is not a valid memory_operand. | |
4473 | ||
9c45dd90 | 4474 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
4475 | ||
4476 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
4477 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
4478 | special case for libgcc files. | |
4479 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
4480 | (__divsi3): Likewise. | |
4481 | (__umodsi3): Likewise. | |
4482 | (__modsi3): Likewise. | |
4483 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
4484 | special case for libgcc files. | |
4485 | ||
02159c3f | 4486 | 2002-03-12 Tom Rix <trix@redhat.com> |
4487 | ||
4488 | * collect2.c (resolve_lib_name): Move outside of | |
604b7b22 | 4489 | OBJECT_FORMAT_COFF ifdef. |
02159c3f | 4490 | (ignore_library): Same. |
4491 | ||
9f58be3b | 4492 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
4493 | ||
4494 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
4495 | ||
9703ff3b | 4496 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
4497 | ||
4498 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
4499 | to function_section before writing out the constant pool. | |
4500 | ||
77638b48 | 4501 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
4502 | ||
4503 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
4504 | zero_constant. | |
4505 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
4506 | ||
4507 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
4508 | ||
4509 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
4510 | (adddi3): Likewise. | |
4511 | (movdf): Likewise. | |
4512 | (movdi): Likewise. | |
4513 | (cmpsi splitter): Likewise. | |
4514 | (modsi3): Fail if <= 0. | |
4515 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
4516 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
4517 | (reg_or_sub_cint64_operand): Likewise. | |
4518 | (num_insns_constant_wide): Optimize sign extension. | |
4519 | (rs6000_legitimize_address): Likewise. | |
4520 | ||
a204a355 | 4521 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
4522 | ||
4523 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
4524 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
4525 | ||
a32f0634 | 4526 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
4527 | ||
4528 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
4529 | address calculation. | |
4530 | ||
dc4951d9 | 4531 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
4532 | ||
4533 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
4534 | scratch register to DImode / TImode. | |
4535 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
4536 | register used does not overlap the target. | |
4537 | ||
e42f6423 | 4538 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4539 | ||
4540 | * Makefile.in (debug.o): Depend on debug.h. | |
4541 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
4542 | * debug.c (do_nothing_debug_hooks): Likewise. | |
4543 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
4544 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
4545 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
4546 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
4547 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
4548 | * integrate.c (output_inline_function): Likewise. | |
4549 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
4550 | * sdbout.c (sdb_debug_hooks): Likewise. | |
4551 | * toplev.c (debug_hooks): Likewise. | |
4552 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
4553 | ||
3cf24182 | 4554 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4555 | ||
4556 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
4557 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
4558 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
4559 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
4560 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
4561 | * defaults.h (POINTER_SIZE): Define. | |
4562 | * doc/tm.texi (POINTER_SIZE): Document default. | |
4563 | ||
d7f9cd15 | 4564 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4565 | ||
4566 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
4567 | ||
c8003097 | 4568 | 2002-03-11 Richard Henderson <rth@redhat.com> |
4569 | ||
4570 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
4571 | if rebuild_label_notes_after_reload. | |
4572 | ||
3dfc21d3 | 4573 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
4574 | ||
4575 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
4576 | emit pic register load if "internal" visibility. | |
4577 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
4578 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
4579 | ||
aee989f5 | 4580 | 2002-03-11 Richard Henderson <rth@redhat.com> |
4581 | ||
4582 | * rtlanal.c: Include recog.h. | |
4583 | (keep_with_call_p): Fix thinko. | |
4584 | * Makefile.in (rtlanal.o): Update dependencies. | |
4585 | ||
337057dd | 4586 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
4587 | ||
4588 | * genflags.c (gen_insn): Use IS_VSPACE. | |
4589 | * genoutput.c (output_insn_data): Likewise. | |
4590 | (process_template): Likewise. | |
4591 | ||
c013f26c | 4592 | 2002-03-11 Richard Henderson <rth@redhat.com> |
4593 | ||
4594 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
4595 | ||
deb88e7d | 4596 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
4597 | ||
4598 | * Makefile.in: Update. | |
c013f26c | 4599 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
deb88e7d | 4600 | Update documentation. |
c013f26c | 4601 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
4602 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
deb88e7d | 4603 | |
278d27f5 | 4604 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
4605 | ||
4606 | * Makefile.in: Give texi2pod its input file as a command line | |
4607 | argument, not on stdin. | |
4608 | ||
c5d44e2f | 4609 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
4610 | Daniel Berlin <dan@dberlin.org> | |
4611 | ||
4612 | C++ alias analysis improvement. | |
604b7b22 | 4613 | * alias.c (record_component_aliases): Record aliases for base |
c5d44e2f | 4614 | classes too. |
4615 | ||
77638b48 | 4616 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
4617 | ||
6adfb8f8 | 4618 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
4619 | ||
3ce510d2 | 4620 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
4621 | ||
d0307f64 | 4622 | * toplev.c (vms_fopen): Remove, not needed. |
4623 | ||
a69c2678 | 4624 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
4625 | ||
67ced5ab | 4626 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
4627 | ||
2ab60bb1 | 4628 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
4629 | for FP, already done later. | |
4630 | ||
3ce510d2 | 4631 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
4632 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
4633 | ||
68d65858 | 4634 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
4635 | ||
4636 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
4637 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
4638 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
4639 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
4640 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
4641 | (ediv, emul, eldexp, esqrt): Likewise. | |
4642 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
4643 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
4644 | (saturate): New function. | |
4645 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
4646 | (make_nan): Use a saturation value instead of a NaN if | |
4647 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
4648 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
4649 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
4650 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
4651 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
4652 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
4653 | !ROUND_TOWARDS_ZERO. | |
4654 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
4655 | (ROUND_TOWARDS_ZERO): Document. | |
4656 | ||
7d3bbd11 | 4657 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
4658 | ||
4659 | * cfg.c (dump_flow_info): Remove unused variable. | |
4660 | ||
39e4b33f | 4661 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
4662 | ||
4663 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
4664 | computations on trees. | |
4665 | ||
8e2f6d6b | 4666 | 2002-03-10 Richard Henderson <rth@redhat.com> |
4667 | ||
1fcf59fa | 4668 | PR 5693: |
8e2f6d6b | 4669 | * reload.c (copy_replacements_1): New. |
4670 | (copy_replacements): Use it to recurse through the rtx. | |
4671 | ||
3864028d | 4672 | 2002-03-10 Richard Henderson <rth@redhat.com> |
4673 | ||
4674 | * loop.c (strength_reduce): Compute number of iterations as | |
4675 | unsigned HOST_WIDE_INT. | |
4676 | ||
cbaab9a3 | 4677 | 2002-03-10 Richard Henderson <rth@redhat.com> |
4678 | ||
4679 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
4680 | to move away from the end of the block. | |
4681 | ||
49eb929e | 4682 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
4683 | ||
4684 | PR preprocessor/5899 | |
4685 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
7d3bbd11 | 4686 | |
40265b77 | 4687 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4688 | ||
ed156d8b | 4689 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
4690 | ||
40265b77 | 4691 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
4692 | ||
af08e904 | 4693 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
4694 | ||
4695 | * config/mmix/mmix.c: Improve comments. | |
4696 | (mmix_target_asm_function_prologue): Drop variable | |
4697 | empty_stack_frame. Don't allocate unused slot above fp. | |
4698 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
4699 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
4700 | brace in first column. | |
4701 | (enum reg_class): Ditto. | |
4702 | (FIRST_PARM_OFFSET): Now 0. | |
4703 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
4704 | ||
a0cbb03c | 4705 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4706 | ||
4707 | * combine.c (make_extraction): Fix error in last change. | |
4708 | ||
c8834c5f | 4709 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4710 | ||
4711 | * c4x.c (c4x_fp_reglist): Const-ify. | |
4712 | * cris.c (cris_print_operand): Likewise. | |
4713 | * i386.c (ix86_va_arg): Likewise. | |
4714 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
4715 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
4716 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
4717 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
4718 | * mcore.h (regno_reg_class): Likewise. | |
4719 | * mips.c (gen_int_relational): Likewise. | |
4720 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
4721 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
2fdc3887 | 4722 | * pdp11.c (move_costs): Likewise. |
c8834c5f | 4723 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
4724 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
4725 | Likewise. | |
4726 | * s390.h (regclass_map): Likewise. | |
4727 | * sh.c (shift_amounts): Likewise. | |
2fdc3887 | 4728 | * sh.md (rotlsi3): Likewise. |
c8834c5f | 4729 | |
1b6747c3 | 4730 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
4731 | ||
4732 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
4733 | (ne0+5): Use new clobber to generate proper shift pattern. | |
4734 | Patch by Michael Matz <matz@kde.org>. | |
4735 | ||
c2a9dd1b | 4736 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
4737 | ||
4738 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
4739 | ||
f18ce937 | 4740 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
4741 | ||
4742 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
4743 | ||
fe93cfe6 | 4744 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
4745 | ||
4746 | PR middle-end/5877 | |
4747 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
4748 | even for non-representable constants. | |
4749 | ||
dbd8525d | 4750 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4751 | ||
dd367d39 | 4752 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
4753 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
4754 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
4755 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
4756 | (pop_function_context): Compute MAY_SHARE parameter for | |
4757 | fixup_var_refs. | |
4758 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
4759 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
4760 | ||
dbd8525d | 4761 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
4762 | ||
bfe3e4b4 | 4763 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
4764 | ||
aeaa7ebf | 4765 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
4766 | in o32 and o64 ABIs. | |
4767 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
4768 | but getting fixed-size structs passed in registers regardless of | |
4769 | padding in o32 and o64 ABIs. | |
4770 | ||
bfe3e4b4 | 4771 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
4772 | offset before loading address of argument passed by transparent | |
4773 | reference. | |
4774 | ||
f636c6f8 | 4775 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4776 | ||
4777 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
4778 | ||
8be74258 | 4779 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
4780 | ||
4781 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
4782 | marker such that registers after it are saved. | |
4783 | ||
56c1f669 | 4784 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4785 | ||
4786 | * sparc.c (arith_4096_operand): Fix error in last change. | |
4787 | ||
e02a1a96 | 4788 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
4789 | ||
4790 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
4791 | defaults for MEABI. | |
4792 | ||
ceed8fc4 | 4793 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
4794 | ||
df9f5cf8 | 4795 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
4796 | vectors. | |
ceed8fc4 | 4797 | |
23d90bc4 | 4798 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
4799 | ||
df9f5cf8 | 4800 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
23d90bc4 | 4801 | |
461eeb14 | 4802 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
4803 | ||
4804 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
4805 | removed; fix return value. | |
4806 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
4807 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
4808 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
4809 | ||
e9f3819b | 4810 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4811 | ||
4812 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
4813 | ||
fbf81687 | 4814 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
4815 | ||
4816 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
4817 | ||
1d347c23 | 4818 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
4819 | ||
4820 | * expr.c (expand_expr): Use unsave lang hook. | |
4821 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
4822 | (LANG_HOOKS_INITIALIZER): Update. | |
4823 | * langhooks.h (struct lang_hooks): New hook unsave. | |
4824 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
4825 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
4826 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
4827 | (unsave_expr_now): Remove. | |
4828 | * tree.h (unsave_expr_now, lang_unsave, | |
4829 | lang_unsave_expr_now): Remove. | |
4830 | (lhd_unsave): New. | |
4831 | ||
77353e4f | 4832 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
4833 | ||
4834 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
4835 | ||
320e354f | 4836 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
4837 | ||
4838 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
4839 | insn length for memory load/store. | |
4840 | ||
e9cf3fd5 | 4841 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
77353e4f | 4842 | |
e9cf3fd5 | 4843 | * doc/install.texi (--with-libiconv-prefix): Document. |
4844 | ||
10f0cf8a | 4845 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
4846 | ||
4847 | * doc/sourcebuild.texi: Fix typo. | |
4848 | ||
91f95e00 | 4849 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
4850 | ||
4851 | PR c/3711 | |
4852 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
4853 | trees. | |
4854 | ||
c15aa775 | 4855 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4856 | ||
4857 | * rtl.c (copy_most_rtx): Move from here ... | |
4858 | * emit-rtl.c (copy_most_rtx): ... to here. | |
4859 | ||
0f86aaad | 4860 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
4861 | ||
565fd2f8 | 4862 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
4863 | SUBTARGET_CPP_SIZE_SPEC. | |
4864 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
4865 | ||
0f86aaad | 4866 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
4867 | ||
6a81282b | 4868 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
4869 | ||
4870 | * gensupport.c (first_dir_md_include): Renamed from include; | |
4871 | change all references. | |
4872 | (last_dir_md_include): Renamed from last_include; change all | |
4873 | references. | |
4874 | (init_md_reader): Unconditionally initialize base_dir whether or | |
4875 | not filename is a relative path. | |
4876 | ||
c81364d2 | 4877 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
4878 | ||
f4a030ba | 4879 | * config/fp-bit.c (_unord_f2): Compile it in even if |
4880 | US_SOFTWARE_GOFAST is enabled. | |
4881 | ||
c81364d2 | 4882 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
4883 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
4884 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
4885 | NULL_RTX, try reversing the comparison and the operands. | |
4886 | ||
0605fce2 | 4887 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
4888 | ||
4889 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
4890 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
4891 | and MATCH_OP_DUP. | |
4892 | ||
fee25a27 | 4893 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
4894 | ||
4895 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
4896 | ||
17a54dac | 4897 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
4898 | ||
4899 | * basic-block.h (fixup_abnormal_edges): Declare. | |
4900 | * reload1.c (fixup_abnormal_edges): New function. | |
4901 | * reg-stack.c (convert_regs): Use it. | |
4902 | ||
4903 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
4904 | ||
4905 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
4906 | ||
920d0fb5 | 4907 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
4908 | ||
4909 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
4910 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
4911 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
4912 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
4913 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
4914 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
4915 | unless x and y could be infinite. | |
4916 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
4917 | Check that the common type of both arguments is a real, even for | |
4918 | targets without unordered comparisons. Allow an integer argument | |
4919 | to be compared against a real. | |
4920 | (expand_tree_builtin): Use expand_unordered_cmp. | |
4921 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
4922 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
4923 | * fold-const.c (fold_real_zero_addition_p): New. | |
4924 | (fold): Use it, and the new HONOR_... macros. | |
4925 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
4926 | * jump.c (reversed_comparison_code_parts): After searching for | |
4927 | the true comparison mode, use HONOR_NANS to decide whether it | |
4928 | can be safely reversed. | |
4929 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
4930 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
4931 | to decide which simplifications are valid. Allow the following | |
4932 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
4933 | and (a - -b) to (a + b). | |
4934 | (simplify_relational_operation): Use HONOR_NANS. | |
4935 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
4936 | ||
b77df330 | 4937 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
4938 | ||
4939 | * combine.c (simplify_comparison): If simplifying a logical shift | |
4940 | right and compare with constant, force the comparison to unsigned. | |
4941 | ||
04b78509 | 4942 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
4943 | ||
df9f5cf8 | 4944 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
04b78509 | 4945 | |
df9f5cf8 | 4946 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
4947 | -mabi=no-altivec | |
4948 | (alt_reg_names): Remove % for vrsave. | |
04b78509 | 4949 | |
eeddd58f | 4950 | 2002-03-06 Richard Henderson <rth@redhat.com> |
4951 | ||
a195030a | 4952 | PR optimization/5844 |
eeddd58f | 4953 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
4954 | if used indicates we've already emitted one copy of an operand. | |
4955 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
4956 | (gen_split): Supply a non-null used. | |
4957 | ||
907bb1cf | 4958 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
4959 | ||
df9f5cf8 | 4960 | * reload1.c (reload): Unshare all rtl after reload is done. |
907bb1cf | 4961 | |
77353e4f | 4962 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
907bb1cf | 4963 | but simply fail if the expression is too complex to simplify. |
4964 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
4965 | ||
f760eb7d | 4966 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
4967 | ||
4968 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
4969 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
4970 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
4971 | after liveness2; update comment in last crossjumping. | |
4972 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
4973 | ||
34f7b915 | 4974 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
4975 | ||
1a7cfed3 | 4976 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
4977 | after completing fast dead code elimination. | |
4978 | ||
34f7b915 | 4979 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
4980 | COMPARE operator. | |
77353e4f | 4981 | |
f479a6f2 | 4982 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
4983 | ||
4984 | * version.c: Fix misplaced leading blanks on first line. | |
4985 | ||
7440f6f4 | 4986 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
4987 | ||
4988 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
4989 | ||
4ccdad8e | 4990 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
4991 | ||
4992 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
4993 | (thread_jump): Use it. | |
4994 | * toplev.c (rest_of_compilation): Run jump threading after | |
4995 | liveness. | |
4996 | ||
0aba1273 | 4997 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
4998 | ||
4999 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
5000 | patch. | |
5001 | ||
7a569e8f | 5002 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
5003 | ||
5004 | * predict.c (estimate_bb_frequencies): Do not reload the | |
5005 | frequencies from notes. | |
5006 | ||
fb20d6fa | 5007 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
5008 | ||
5009 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
5010 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
5011 | ||
5012 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
5013 | delete_noop_moves): Return indeger. | |
5014 | * flow.c (ndead): New variable. | |
5015 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
5016 | BB argument; update callers. | |
5017 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
5018 | (life_analysis): Do not call purge_all_dead_edges. | |
5019 | (update_life_info): Return number of deleted insns; print statistics. | |
5020 | (update_life_info_in_dirty_blocks): likewise. | |
5021 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
5022 | return number of insns deleted. | |
5023 | ||
5024 | * cse.c: Include timevar.h | |
5025 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
5026 | iterate until stabilizes; print statistics; return number of killed | |
5027 | insns. | |
5028 | * Makefile.in: (cse.o): Add timevar.h dependency | |
5029 | * rtl.h (delete_trivially_dead_insns): New. | |
5030 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
5031 | * toplev.c (rest_of_compilation): Update callers. | |
5032 | ||
5033 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
5034 | (try_optimize_cfg): Do not update liveness. | |
5035 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
5036 | removal stabilizes; use delete_trivially_dead_insns. | |
5037 | ||
5038 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
5039 | ||
3c40011e | 5040 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
5041 | ||
5042 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
5043 | callbacks when processing assembly language. | |
5044 | ||
a052da6f | 5045 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5046 | ||
5047 | * pa.h (ASM_FILE_END): Define. | |
5048 | * som.h (ASM_FILE_END): Delete. | |
5049 | ||
5050 | * pa.c (function_arg): Don't pass floats in general registers in | |
5051 | indirect calls if TARGET_ELF32. | |
5052 | ||
7a1463d6 | 5053 | 2002-03-05 Richard Henderson <rth@redhat.com> |
5054 | ||
5055 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
5056 | ||
b8dd27f3 | 5057 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
5058 | ||
5059 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
5060 | ||
a826398d | 5061 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
5062 | ||
5063 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
5064 | -r command line. Don't hide any symbols if not building | |
5065 | shared libgcc. | |
5066 | ||
a2e42321 | 5067 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
5068 | ||
5069 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
5070 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
5071 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
5072 | ||
de2dd2b0 | 5073 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
5074 | ||
5075 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
5076 | wide volatile memory by parts. | |
5077 | ||
301d4551 | 5078 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
5079 | ||
5080 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
5081 | is NULL. | |
5082 | ||
1daf4caa | 5083 | 2002-03-05 Richard Henderson <rth@redhat.com> |
5084 | ||
df9f5cf8 | 5085 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
1daf4caa | 5086 | |
a39bc6f7 | 5087 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
5088 | ||
5089 | * toplev.c (documented_lang_options): Document more | |
5090 | language-specific options. | |
5091 | * doc/invoke.texi (Warning Options): Correct documentation for | |
5092 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
5093 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
5094 | ||
ae484cc8 | 5095 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
5096 | ||
5097 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
5098 | parameter to mmix_encode_section_info. | |
5099 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
5100 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
5101 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
5102 | first is non-zero, don't add symbol prefix. | |
5103 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
5104 | prototype accordingly. | |
5105 | ||
7eab7b2a | 5106 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
5107 | ||
5108 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
5109 | ||
62357fc7 | 5110 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
5111 | ||
5112 | * configure.in: Increase required makeinfo version to 4.1. | |
5113 | * configure: Regenerate. | |
5114 | ||
1f347f18 | 5115 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
5116 | ||
5117 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
5118 | elsewhere now. | |
5119 | ||
a06a3d20 | 5120 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
5121 | ||
5122 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
5123 | * doc/invoke.texi: Fix @math uses. | |
5124 | ||
8325b48b | 5125 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
5126 | ||
5127 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
5128 | removal | |
5129 | ||
5d916180 | 5130 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
5131 | ||
df9f5cf8 | 5132 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
5133 | (powerpc-*-eabisimaltivec*): Same. | |
5d916180 | 5134 | |
df9f5cf8 | 5135 | * config/rs6000/t-ppcendian: New. |
5d916180 | 5136 | |
ffb0737e | 5137 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
5138 | ||
5139 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
5140 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
5141 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
5142 | ||
7bc16a7d | 5143 | 2002-03-03 Richard Henderson <rth@redhat.com> |
5144 | ||
5145 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
5146 | ||
4268f174 | 5147 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
5148 | ||
5149 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
5150 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
5151 | tree.c, config/m68k/m68k.c: | |
5152 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
5153 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
5154 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
5155 | * flags.h, toplev.c: Delete remaining references to | |
5156 | flag_pretend_float. | |
5157 | ||
5158 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
5159 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
5160 | real.h, not by the target configuration files. | |
5161 | ||
5162 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
5163 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
5164 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
5165 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
5166 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
5167 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
5168 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
5169 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
5170 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
5171 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
5172 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
5173 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
5174 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
5175 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
5176 | config/xtensa/xtensa.h: | |
5177 | Do not define, undefine, or mention in comments any of | |
5178 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
5179 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
5180 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
5181 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
5182 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
5183 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
5184 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
5185 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
5186 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
5187 | ||
6c11cad6 | 5188 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5189 | ||
6852ad78 | 5190 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
5191 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
5192 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
5193 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
5194 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
5195 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
5196 | Delete. | |
5197 | * defaults.h (BITS_PER_WORD): Define. | |
4268f174 | 5198 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
6852ad78 | 5199 | |
6c11cad6 | 5200 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
5201 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
5202 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
5203 | ||
3585dac7 | 5204 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5205 | ||
5206 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
5207 | lieu of explicit sizeof/sizeof. | |
5208 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
5209 | ix86_expand_builtin): Likewise. | |
5210 | * mips.c (mips_add_gc_roots): Likewise. | |
5211 | * mmix.c (mmix_output_condition): Likewise. | |
5212 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
5213 | altivec_init_builtins): Likewise. | |
5214 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
5215 | * cppexp.c (Nsuff, parse_number): Likewise. | |
5216 | * cppinit.c (builtin_array_end): Likewise. | |
5217 | * gcc.c (n_default_compilers, process_command): Likewise. | |
5218 | * genpreds.c (output_predicate_decls): Likewise. | |
5219 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
5220 | * lcm.c (N_ENTITIES): Likewise. | |
5221 | * stor-layout.c (set_sizetype): Likewise. | |
4268f174 | 5222 | |
822729d2 | 5223 | 2002-03-03 Richard Henderson <rth@redhat.com> |
5224 | ||
5225 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
5226 | for types or labels. | |
5227 | ||
64fe11e2 | 5228 | 2002-03-03 Richard Henderson <rth@redhat.com> |
5229 | ||
5230 | * c-decl.c (start_decl): Initialized variables are not common. | |
5231 | ||
5609b23b | 5232 | 2002-03-02 Per Bothner <per@bothner.com> |
5233 | ||
5234 | * gcc.c (option_map): Suport new --bootclasspath option. | |
5235 | --CLASSPATH is now just an alias for --classpath. | |
5236 | ||
21a24508 | 5237 | 2002-03-02 Richard Henderson <rth@redhat.com> |
5238 | ||
5239 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
5240 | load if "internal" visibility. | |
5241 | * doc/extend.texi: Document visibility meanings. | |
5242 | ||
73d953ec | 5243 | 2002-03-02 Richard Henderson <rth@redhat.com> |
5244 | ||
5245 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
5246 | to functions as well. | |
5247 | ||
01694f08 | 5248 | 2002-03-02 Richard Henderson <rth@redhat.com> |
5249 | ||
5250 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
5251 | (handle_visibility_attribute): Don't call assemble_visibility. | |
5252 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
5253 | without asmspec. Invoke assemble_alias when needed. | |
5254 | * varasm.c (maybe_assemble_visibility): New. | |
5255 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
5256 | ||
41eb471c | 5257 | 2002-03-02 Richard Henderson <rth@redhat.com> |
5258 | ||
5259 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
5260 | invoke ENCODE_SECTION_INFO with first call flag. | |
5261 | ||
5262 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
5263 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
4268f174 | 5264 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
41eb471c | 5265 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
5266 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
5267 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
5268 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
5269 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
5270 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
5271 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
5272 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
5273 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
4268f174 | 5274 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
5275 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
41eb471c | 5276 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
5277 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
5278 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
4268f174 | 5279 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
41eb471c | 5280 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
5281 | config/sh/sh.h, config/sparc/sparc.h, | |
5282 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
5283 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
5284 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
5285 | FIRST argument. As needed, examine it and do nothing. | |
5286 | ||
4268f174 | 5287 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
41eb471c | 5288 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
5289 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
5290 | ||
5291 | * config/arm/t-pe (pe.o): Add dependencies. | |
5292 | ||
adb7ce73 | 5293 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5294 | ||
5295 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
5296 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
5297 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
5298 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
5299 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
5300 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
5301 | * defaults.h (BITS_PER_UNIT): Define. | |
5302 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
5303 | ||
484c1e8d | 5304 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
5305 | ||
5306 | * config/h8300/h8300-protos.h: Add a prototype for | |
5307 | compute_a_shift_length. | |
5308 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
5309 | (compute_a_shift_length): Likewise. | |
5310 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
5311 | insns. | |
5312 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
5313 | compute_a_shift_length. | |
5314 | ||
430816ab | 5315 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5316 | ||
a262ec1f | 5317 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
5318 | trunc_int_for_mode. | |
5319 | ||
430816ab | 5320 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
5321 | ||
e19896a4 | 5322 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5323 | ||
5324 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
5325 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
5326 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
5327 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
5328 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
5329 | * tree.c (initializer_zerop): New function. | |
5330 | * tree.h (initializer_zerop): Declare. | |
5331 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
5332 | initializers in the bss section. | |
5333 | ||
88aaa055 | 5334 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
5335 | ||
5336 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
5337 | like more than one symbol per .weak directive. | |
5338 | ||
26ddabcd | 5339 | 2002-03-01 Richard Henderson <rth@redhat.com> |
5340 | ||
5341 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
5342 | adjust argument_pointer by pretend_args_size. | |
5343 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
5344 | ||
21c71966 | 5345 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
5346 | ||
5347 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
5348 | ||
2c3b2bf1 | 5349 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
5350 | ||
5351 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
5352 | loop. | |
5353 | * flow.c (delete_dead_jumptables): Make global. | |
5354 | * rtl.h (delete_dead_jumptables): Declare. | |
5355 | ||
2740149d | 5356 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
5357 | ||
5358 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
5359 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
cb19c5ed | 5360 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
2740149d | 5361 | |
f2702e8a | 5362 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
5363 | ||
5364 | * config/h8300/h8300-protos.h: Fix formatting. | |
5365 | * config/h8300/h8300.c: Likewise. | |
5366 | * config/h8300/h8300.h: Likewise. | |
5367 | ||
58b67d36 | 5368 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
5369 | ||
5370 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
5371 | constant addresses. | |
5372 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
5373 | ||
ead227c9 | 5374 | 2002-02-28 Richard Henderson <rth@redhat.com> |
5375 | ||
5376 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
5377 | pun complex values as integers; use gen_lowpart instead of | |
5378 | gen_rtx_SUBREG. | |
5379 | (extract_bit_field): Likewise. | |
5380 | ||
ee0125fb | 5381 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
5382 | David Edelsohn <edelsohn@gnu.org> | |
5383 | ||
5384 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
5385 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
5386 | (SUPPORTS_WEAK): Likewise. | |
5387 | * output.h (add_weak): Add tree param. | |
5388 | * varasm.c (add_weak): Likewise. Save decl. | |
5389 | (struct weak_syms): Add decl field. | |
5390 | (mark_weak_decls): New function. | |
5391 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
5392 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
5393 | (assemble_variable): Likewise. | |
5394 | (assemble_alias): Likewise. | |
5395 | (declare_weak): Pass decl to add_weak. | |
5396 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
5397 | (remove_from_pending_weak_list): Declare and define for | |
5398 | ASM_WEAKEN_DECL. | |
5399 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
5400 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
5401 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
5402 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
5403 | .weak for code sym. Do emit .size for descriptor sym. | |
5404 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
5405 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
5406 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
5407 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
5408 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
5409 | .weak for code sym. | |
5410 | (HANDLE_PRAGMA_WEAK): Remove. | |
5411 | (ASM_WEAKEN_LABEL): Remove. | |
5412 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
5413 | ||
7ebc28e0 | 5414 | 2002-03-01 Jason Merrill <jason@redhat.com> |
5415 | ||
5416 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
5417 | (TARGET_EXPR_CLEANUP): New macro. | |
5418 | ||
bfd242e8 | 5419 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
5420 | ||
5421 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
5422 | to take ptr_extend into account as third type of extension. | |
5423 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
5424 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
5425 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
5426 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
5427 | * calls.c (precompute_arguments): Use new macro. | |
5428 | (expand_call): Ditto. | |
5429 | * combine.c (nonzero_bits): Ditto. | |
5430 | (record_promoted_value): Ditto. | |
5431 | * expr.c (store_expr): Ditto. | |
5432 | (expand_expr): Ditto. | |
5433 | * function.c (assign_parms): Ditto. | |
5434 | ||
7e96c74a | 5435 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
5436 | ||
5437 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
5438 | override -shared and -shared-libgcc. | |
5439 | ||
68345096 | 5440 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
5441 | ||
5442 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
5443 | of "ultrasparc". | |
5444 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
5445 | to be broken. | |
5446 | ||
ea90c459 | 5447 | 2002-02-28 Richard Henderson <rth@redhat.com> |
5448 | ||
5449 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
5450 | 4 cycle latency from MM producers. | |
5451 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
5452 | ||
5fb1cdaf | 5453 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
5454 | ||
5455 | * mklibgcc.in: Don't use GNU make extension. | |
5456 | ||
d799a7a0 | 5457 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
5458 | ||
5459 | * c-parse.in (STATIC): New terminal. | |
5460 | (scspec): New non-terminal. Update productions accordingly. | |
5461 | (program): Remove bogus ifc / end ifc. | |
5462 | (array_declarator): Simplify production using STATIC. | |
5463 | ||
0b3481a4 | 5464 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
5465 | ||
5466 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
5467 | \a still means TARGET_BELL. | |
5468 | ||
0b923690 | 5469 | 2002-02-28 Richard Henderson <rth@redhat.com> |
5470 | ||
5471 | * haifa-sched.c (sched_emit_insn): New. | |
5472 | (schedule_block): Use last_scheduled_insn to track last insn. | |
5473 | * sched-int.h (sched_emit_insn): Prototype. | |
5474 | * config/ia64/ia64.c (last_issued): Remove. | |
5475 | (ia64_variable_issue): Don't set it. | |
5476 | (nop_cycles_until): Use sched_emit_insn. | |
5477 | ||
d5819eb8 | 5478 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
5479 | ||
5480 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
5481 | extended constants. | |
5482 | ||
b44470aa | 5483 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
5484 | ||
5485 | * config/h8300/h8300.c: Fix formatting. | |
5486 | * config/h8300/h8300.h: Likewise. | |
5487 | ||
fdd6a205 | 5488 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
5489 | ||
5490 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
5491 | which may overwrite the high byte of the frame pointer. | |
5492 | ||
e9390a94 | 5493 | 2002-02-28 Bo Thorsen <bo@suse.de> |
5494 | ||
5495 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
5496 | (STARTFILE_SPEC): Add 64 bit files. | |
5497 | (ENDFILE_SPEC): Likewise. | |
5498 | ||
7ebc28e0 | 5499 | 2002-02-28 Jason Merrill <jason@redhat.com> |
4edb3605 | 5500 | |
5501 | * c-decl.c (finish_function): Only warn about missing return | |
5502 | statement with -Wreturn-type. | |
5503 | ||
11808932 | 5504 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
5505 | ||
5506 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
5507 | ||
5508 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
5509 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
5510 | ||
308f9b79 | 5511 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
5512 | ||
5513 | * basic-block.h (BB_REACHABLE): Renumber. | |
5514 | (BB_DIRTY, BB_NEW): New flags. | |
5515 | (clear_bb_flags): Declare. | |
5516 | (update_life_info_in_dirty_blocks): Declare. | |
5517 | * cfg.c (clear_bb_flags): New function. | |
5518 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
5519 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
5520 | reorder_insns, emit_insn_after): Mark block as dirty. | |
5521 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
5522 | (update_life_info_in_dirty_blocks): New function. | |
5523 | * recog.c (apply_change_group): Dirtify block. | |
5524 | ||
5525 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
5526 | cfg consistent. | |
5527 | * gcse.c (delete_null_pointer_checks): Likewise. | |
5528 | ||
5529 | * toplev.c (dump_file_index): Move cse2 after bp, | |
5530 | add DFI_null | |
5531 | (dump_file_info): Similary. | |
5532 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
5533 | do first if converision after null pointer checks, do cse2 | |
5534 | after branch prediction; avoid full liveness rebuild after | |
5535 | initializing subregs. | |
5536 | * invoke.texi (-d options): Document -du, renumber. | |
5537 | ||
5538 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
5539 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
5540 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
5541 | merge_blocks_move_successor_nojumps, merge_blocks, | |
5542 | try_crossjump_to_edge): Likewise. | |
5543 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
5544 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
5545 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
5546 | (merge_of_block): Do not use life_data_ok. | |
5547 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
5548 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
5549 | * lcm.c (optimize_mode_switching): Update | |
5550 | update_life_info_in_dirty_blocks | |
5551 | ||
dbc42b78 | 5552 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
5553 | ||
5554 | * Makefile.in (integrate.o): Update. | |
5555 | * c-decl.c (copy_lang_decl): Rename. | |
5556 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
5557 | * integrate.c: Include langhooks.h. | |
5558 | (copy_decl_for_inlining): Update to use langhook. | |
5559 | * langhooks-def.h (lhd_do_nothing_t, | |
5560 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
5561 | (LANG_HOOKS_INITIALIZER): Update. | |
5562 | * langhooks.c (lhd_do_nothing_t): New. | |
5563 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
5564 | * tree.h (copy_lang_decl): Remove. | |
5565 | objc: | |
5566 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
5567 | ||
052c7a5c | 5568 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
5569 | ||
4268f174 | 5570 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
052c7a5c | 5571 | POST_DEC, and POST_MODIFY. |
5572 | ||
3496a6b8 | 5573 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
5574 | ||
5575 | * c-typeck.c (digest_init): Remove unused parameter; all | |
5576 | callers changed. | |
5577 | ||
80cf4c75 | 5578 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
5579 | ||
5580 | * expmed.c (expand_shift): Correctly test for low part of a | |
5581 | subreg. | |
5582 | ||
a8ef833a | 5583 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
5584 | ||
5585 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
5586 | insn UIDs with insn addresses. | |
5587 | ||
455730ef | 5588 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
5589 | ||
5590 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
5591 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
5592 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
5593 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
5594 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
5595 | ||
5596 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
5597 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
5598 | Document removal of -traditional mode for compilation, and | |
5599 | remove documentation only relevant to that mode. | |
5600 | ||
5601 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
5602 | config/convex/convex.h, config/d30v/d30v.h, | |
5603 | config/i386/dgux.h, config/i386/osf1elf.h, | |
5604 | config/i386/osfelf.h, config/i386/osfrose.h, | |
5605 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
5606 | config/m68k/hp310.h, config/m88k/dgux.h, | |
5607 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
5608 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
5609 | config/mips/abi64.h, config/mips/osfrose.h, | |
5610 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
5611 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
5612 | config/stormy16/stormy16.h: Remove all references to | |
5613 | -traditional from target specs. Delete all mention of the | |
5614 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
5615 | delete a couple of commented-out definitions of | |
5616 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
5617 | to -traditional. | |
5618 | ||
5619 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
5620 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
5621 | ||
4c19a415 | 5622 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
5623 | ||
5624 | * mklibgcc.in: Don't use \n in a line subject to | |
5625 | interpretation by echo. | |
5626 | ||
c0924abf | 5627 | 2002-02-27 Graham Stott <grahams@redhat.com> |
5628 | ||
43422803 | 5629 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
5630 | Constify NAME. | |
5631 | ||
dfb8ebb3 | 5632 | * loop.c (prescan_loop): Handle PARALLEL. |
5633 | ||
3a64bedc | 5634 | * unroll.c (loop_iterations): Return 0 if the add_val for |
5635 | a BIV is REG. | |
5636 | ||
0d8434b0 | 5637 | * final.c (output_operand_lossage): Constify PFX_STR. |
5638 | ||
c0924abf | 5639 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
5640 | ||
2e97c9b7 | 5641 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
5642 | ||
5643 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
5644 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
5645 | ||
7fedc09d | 5646 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
5647 | ||
5648 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
5649 | ||
d6af0368 | 5650 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
5651 | ||
5652 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
5653 | arguments. | |
5654 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
5655 | if parsing macro args when entering a directive. | |
5656 | * cppmacro.c (collect_args): No need to handle directives | |
5657 | in macro arguments. | |
5658 | (enter_macro_context, replace_args): Use the original macro | |
5659 | definition in case it was redefined whilst collecting arguments. | |
5660 | doc: | |
5661 | * cpp.texi: Update. | |
5662 | ||
fc54b737 | 5663 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
5664 | ||
5665 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
5666 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
5667 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
5668 | method on AIX. | |
5669 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
5670 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
5671 | (load_toc_v4_PIC_2): Same. | |
5672 | ||
5673 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
5674 | ||
5675 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
5676 | ||
eb415e91 | 5677 | 2002-02-26 Richard Henderson <rth@redhat.com> |
5678 | ||
5679 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
5680 | ||
c67ce487 | 5681 | 2002-02-26 Richard Henderson <rth@redhat.com> |
5682 | ||
5683 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
5684 | MODULE_LOCAL_P; improve commentary. | |
5685 | ||
e22e0554 | 5686 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
5687 | ||
5688 | * doc/cpp.texi: Clarify documentation of relationship between | |
5689 | #line and #include. | |
5690 | ||
6ad7df02 | 5691 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
5692 | ||
5693 | * config/h8300/h8300-protos.h: Update the prototype for | |
5694 | compute_logical_op_length. Add the prototype for | |
5695 | compute_logical_op_cc. | |
5696 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
5697 | code from operands. | |
5698 | (compute_logical_op_cc): New. | |
5699 | * config/h8300/h8300.md: Combine all the logical op patterns | |
5700 | in HImode and SImode. Use compute_logical_op_cc. | |
5701 | ||
4fc5f895 | 5702 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
5703 | ||
5704 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
5705 | length suffixs to x87 opcodes when in Intel mode. | |
5706 | ||
89dd3424 | 5707 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
5708 | ||
5709 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
5710 | (init_emit_once): Update calls. | |
5711 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
5712 | (init_syntax_once): Prototype. | |
5713 | ||
57985e3a | 5714 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5715 | ||
5716 | * pa-linux.h (LIB_SPEC): Update definition. | |
5717 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
5718 | ||
2e2347b5 | 5719 | 2002-02-26 Richard Henderson <rth@redhat.com> |
5720 | ||
5721 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
5722 | if we emitted a stop bit. | |
5723 | ||
e8c2499b | 5724 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
5725 | ||
5726 | * configure.in (libgcc_visibility): Substitute. | |
5727 | * configure: Rebuilt. | |
5728 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
5729 | defined symbols .hidden. | |
5730 | ||
b4cf9ec1 | 5731 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
5732 | ||
5733 | * attribs.c (c_common_attribute_table): Add visibility. | |
5734 | (handle_visibility_attribute): New function. | |
5735 | * varasm.c (assemble_visibility): New function. | |
5736 | * output.h (assemble_visibility): Add prototype. | |
5737 | * tree.h (MODULE_LOCAL_P): Define. | |
5738 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
5739 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
5740 | for MODULE_LOCAL_P symbols too. | |
5741 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
5742 | MODULE_LOCAL_P symbols the same way as local symbols. | |
5743 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
5744 | into .sdata/.sbss by the user. | |
5745 | * doc/extend.texi (Function Attributes): Document visibility | |
5746 | attribute. | |
5747 | ||
7e032860 | 5748 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
5749 | ||
5750 | PR debug/5770 | |
5751 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
5752 | STRING_CST initializer spanning the whole variable without | |
5753 | embedded zeros. | |
5754 | If expand_expr returned MEM, don't use it. | |
5755 | ||
6e1e0aa6 | 5756 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
5757 | ||
5758 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
5759 | generate a die for the lexical block. | |
5760 | ||
359e4f59 | 5761 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
5762 | ||
5763 | * config/h8300/h8300-protos.h: Add a prototype for | |
5764 | compute_logical_op_length. | |
5765 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
5766 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
5767 | compute_logical_op_length for length. | |
5768 | ||
d5b04d83 | 5769 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
5770 | ||
4fc5f895 | 5771 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
5772 | for vectors. | |
5773 | (gen_type_die): Same. | |
d5b04d83 | 5774 | |
4fc5f895 | 5775 | * attribs.c (handle_vector_size_attribute): Set debug information. |
d5b04d83 | 5776 | |
019f2e94 | 5777 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
5778 | ||
4fc5f895 | 5779 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
5780 | fix incorrect generation of merge high instructions instead | |
5781 | of merge low. | |
019f2e94 | 5782 | |
e4cd04dc | 5783 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
5784 | ||
4fc5f895 | 5785 | * c-typeck.c (really_start_incremental_init): Use |
5786 | bitsize_zero_node for vectors. | |
e4cd04dc | 5787 | |
d0100867 | 5788 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
5789 | ||
4fc5f895 | 5790 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
5791 | ("*set_vrsave_internal"): Same. | |
d0100867 | 5792 | |
78e5555a | 5793 | 2002-02-25 Richard Henderson <rth@redhat.com> |
5794 | ||
5795 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
5796 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
5797 | ||
ab5922bb | 5798 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
5799 | ||
5800 | PR target/5755 | |
5801 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
5802 | fake structure return argument if it was passed on the stack. | |
5803 | ||
e56de52f | 5804 | 2002-02-25 Jason Merrill <jason@redhat.com> |
5805 | ||
5806 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
5807 | RESULT_DECL. | |
5808 | ||
48285a3c | 5809 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
5810 | ||
5811 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
5812 | link with shared_name only. | |
5813 | * doc/invoke.texi (Link Options): Document new behavior. | |
5814 | ||
b345b1ff | 5815 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
5816 | ||
4fc5f895 | 5817 | * c-typeck.c (push_init_level): Handle vectors. |
b345b1ff | 5818 | |
73e0f929 | 5819 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
5820 | ||
5821 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
5822 | operands of SPARC_SETHI_P. | |
5823 | (input_operand): Likewise. | |
5824 | (sparc_emit_set_const32): Likewise. | |
5825 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
5826 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
5827 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
5828 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
5829 | (movdi_insn_sp64_vis): Likewise. | |
5830 | (movdi split, movdf split): Use SETHI32. | |
5831 | * doc/md.texi: Document SPARC constraints L, M and N. | |
5832 | ||
894a5e3b | 5833 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
5834 | ||
4fc5f895 | 5835 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
5836 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
894a5e3b | 5837 | |
4fc5f895 | 5838 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
5839 | gen_get_vrsave_internal. | |
894a5e3b | 5840 | |
8b315642 | 5841 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5842 | ||
5843 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
5844 | ||
b3a9482f | 5845 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
5846 | ||
5847 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
5848 | otherwise of wide character constants correct. | |
5849 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
5850 | ||
e99172f2 | 5851 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5852 | ||
5853 | * optabs.c (widen_operand): Only call convert_modes for | |
5854 | promoted SUBREG if signedness matches. | |
5855 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
5856 | ||
92b1c81a | 5857 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
5858 | ||
5859 | * cpplib.c (glue_header_name): Use local buffer to build up | |
5860 | header name. | |
5861 | ||
809ec257 | 5862 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
5863 | ||
5864 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
5865 | ||
7ef78393 | 5866 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
5867 | ||
5868 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
5869 | H8/300[HS] separately. | |
5870 | * config/h8300/h8300.md: Remove the early clobber constraint | |
5871 | from bit field patterns. | |
5872 | ||
4a1ea6f4 | 5873 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
5874 | ||
5875 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
5876 | register_operand. | |
5877 | (mulhisi3): Likewise. | |
5878 | (umulqisi3): Likewise. | |
5879 | (umulhisi3): Likewise. | |
5880 | ||
9d4c611a | 5881 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
5882 | ||
5883 | * cppinit.c (output_deps): Correct test for stdout output. | |
5884 | (init_dependency_output): Cure warning. | |
5885 | ||
8ffee379 | 5886 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5887 | ||
5888 | * expr.c (store_expr): When converting expression to promoted | |
5889 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
5890 | of the expansion of EXP. | |
5891 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
5892 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
5893 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
5894 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
5895 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
5896 | ||
228c5b30 | 5897 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
5898 | ||
5899 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
5900 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
5901 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
5902 | ||
5f2a9f4c | 5903 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
5904 | ||
5905 | PR optimization/5747 | |
5906 | * loop.c (scan_loop): Update reg info if move_movables created new | |
5907 | pseudos. | |
5908 | ||
4a7d68d1 | 5909 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
5910 | ||
5911 | * gcc.c (init_gcc_spec): Revert last change. | |
5912 | ||
3bc7190a | 5913 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
5914 | ||
5915 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
5916 | gpc_reg_operand constraint. | |
5917 | ||
5918 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
5919 | ||
5920 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
5921 | Simplify comparison of `low'. | |
5922 | (add_operand): Fix formatting. | |
5923 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
56f833c0 | 5924 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
3bc7190a | 5925 | (rs6000_stack_info): Remove redundant test setting push_p. |
5926 | (output_toc): Fix formatting. | |
5927 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
5928 | cc_reg_not_cr0_operand constraint. | |
5929 | (booldi3, boolcdi3 splitters): Same. | |
5930 | ||
60385b36 | 5931 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
5932 | ||
4fc5f895 | 5933 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
60385b36 | 5934 | |
e0d9f0c0 | 5935 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
5936 | ||
5937 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
5938 | gcc invoked with -shared-libgcc. | |
5939 | ||
2ed38b79 | 5940 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
5941 | ||
5942 | PR c++/5748 | |
5943 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
5944 | decl if any of elements was TREE_USED. | |
5945 | ||
fb124916 | 5946 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
5947 | ||
5948 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
5949 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
5950 | (arith_4096_operand): Don't throw high bits away. | |
5951 | (const64_operand): Take sign extension of CONST_INTs into account. | |
5952 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
5953 | (GEN_HIGHINT64): Likewise. | |
5954 | (sparc_emit_set_const64_quick1): Likewise. | |
5955 | (const64_is_2insns): Likewise. | |
5956 | (print_operand): Use trunc_int_for_mode for sign extension. | |
5957 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
5958 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
5959 | chars. Assume CONST_INT is already properly sign-extended. | |
5960 | (movdi split): Sign-extend each SImode part. | |
5961 | (andsi3 split): Don't mask high bits off, so that result | |
5962 | remains properly sign-extend. | |
5963 | (iorsi3 split): Likewise. | |
5964 | (xorsi3 split): Likewise. | |
5965 | ||
857e6cf0 | 5966 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
5967 | ||
5968 | * fold-const.c (fold): Fix typo in comments. | |
5969 | ||
688a134e | 5970 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
5971 | ||
5972 | * Makefile.in (langhooks.o): Update dependencies. | |
5973 | ||
341c61b7 | 5974 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
5975 | ||
5976 | * langhooks.c: Include flags.h. | |
5977 | ||
af87ad83 | 5978 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
5979 | ||
5980 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
5981 | ||
5982 | * c-common.c (c_common_post_options): Set inline trees by | |
5983 | default. | |
5984 | ||
5985 | * doc/extend.texi (Function Attributes): Document always_inline | |
5986 | attribute. | |
5987 | Update documentation about inlining when not optimizing. | |
5988 | ||
5989 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
5990 | ||
5991 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
5992 | unless DECL_ALWAYS_INLINE. | |
5993 | ||
5994 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
5995 | unless DECL_ALWAYS_INLINE. | |
5996 | (c_disregard_inline_limits): Disregard if always_inline set. | |
5997 | ||
5998 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
5999 | Disregard if always_inline set. | |
6000 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
6001 | unless DECL_ALWAYS_INLINE. | |
6002 | ||
6003 | * attribs.c (handle_always_inline_attribute): New. | |
6004 | (c_common_attribute_table): Add always_inline. | |
6005 | ||
6006 | * config/rs6000/altivec.h: Add prototypes for builtins | |
6007 | requiring the always_inline attribute. | |
6008 | ||
a4194ff7 | 6009 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
6010 | ||
6011 | * expmed.c (store_bit_field): Try to simplify the subreg | |
6012 | before generating a new one when when the mode size of | |
6013 | value is less than maxmode. | |
6014 | ||
fac6aae6 | 6015 | 2002-02-21 Richard Henderson <rth@redhat.com> |
6016 | ||
6017 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
6018 | than gen_rtx_PLUS to form the sum. | |
6019 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
6020 | when force_operand returns a register. | |
6021 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
6022 | return a sum. Do not force addresses into registers. | |
6023 | (expand_expr): Likewise. | |
6024 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
6025 | to canonicalize arithmetic that didn't simpify. | |
6026 | (simplify_plus_minus): New argument force; update | |
6027 | all callers. Don't split CONST unless we can do something with it, | |
6028 | and wouldn't lose the constness of the operands. | |
6029 | ||
6030 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
6031 | that we generated earlier. | |
6032 | ||
bfba49c6 | 6033 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
6034 | ||
6035 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
6036 | (output_line_info): Use constant `1', with a long explanatory | |
6037 | comment. | |
6038 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
6039 | ||
7f8c3466 | 6040 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6041 | ||
6042 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
6043 | delete it. | |
6044 | ||
b06aca5f | 6045 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6046 | ||
6047 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
6048 | If input is constant, do shifts at compile time. | |
6049 | ||
8bdbaccf | 6050 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
6051 | ||
6052 | * doc/extend.texi: Fix some more overfull hboxes. | |
6053 | ||
cf3dc086 | 6054 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
6055 | ||
6056 | PR optimization/4994 | |
6057 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
6058 | register moves. | |
6059 | ||
6060 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
6de9716c | 6061 | |
6062 | PR c++/4574 | |
6063 | * expr.h (expand_and): Add mode argument. | |
6064 | * expmed.c (expand_and): Add mode argument. | |
6065 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
6066 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
6067 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
6068 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
6069 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
6070 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
6071 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
6072 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
6073 | gen_rtx (CONST_INT, VOIDmode, x). | |
6074 | ||
47ed174f | 6075 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
6076 | ||
6077 | PR c/4697: | |
6078 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
6079 | ||
78498602 | 6080 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
6081 | ||
6082 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
4fc5f895 | 6083 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
78498602 | 6084 | |
11896b36 | 6085 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
6086 | ||
6087 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
6088 | SUBREG or ZERO_EXTEND. | |
6089 | ||
bf622d7d | 6090 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
6091 | ||
6092 | * sh.h (current_function_anonymous_args): Remove. | |
6093 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
6094 | of current_function_varargs and current_function_stdarg is set. | |
6095 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
6096 | current_function_stdarg / TARGET_SH5 instead of | |
6097 | current_function_anonymous_args. | |
6098 | ||
6099 | * sh64.h (TARGET_VERSION): Define. | |
6100 | ||
6007cde0 | 6101 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
6102 | ||
6103 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
6104 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
6105 | ||
6106 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
6107 | ||
6108 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
6109 | bits of SImode const_int. | |
6110 | (includes_rshift_p): Likewise. | |
6111 | (print_operand): Call mask_operand and mask64_operand with correct | |
a4194ff7 | 6112 | mode. |
6007cde0 | 6113 | (rs6000_output_function_epilogue): Pad traceback table to word. |
6114 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
6115 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
6116 | mask64_operand with correct mode. | |
6007cde0 | 6117 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
6118 | ||
7ad1c520 | 6119 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
6120 | ||
6121 | PR debug/4461 | |
6122 | * varasm.c (get_pool_constant_mark): New. | |
6123 | * rtl.h (get_pool_constant_mark): Add prototype. | |
6124 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
6125 | be represented if it has not been output. | |
6126 | ||
bd72d0ee | 6127 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
6128 | ||
6129 | * combine.c (do_SUBST): Sanity check substitutions of | |
6130 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
6131 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
6132 | CONST_INT into its operand. | |
6133 | (known_cond): Likewise, for ZERO_EXTEND. | |
6134 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
6135 | allow for simplification of wide modes. Reject CONST_INTs in | |
6136 | ZERO_EXTEND when their actual mode is not given. | |
6137 | ||
e3a2e745 | 6138 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
6139 | ||
6140 | * c-decl.c (pushdecl): If no global declaration is found for an | |
6141 | extern declaration in block scope, try a limbo one. | |
6142 | ||
1c26100f | 6143 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
6144 | ||
6145 | PR c++/4401 | |
6146 | * c-common.c (pointer_int_sum): Moved from... | |
6147 | * c-typeck.c (pointer_int_sum): ...here. | |
6148 | * c-common.h (pointer_int_sum): Add prototype. | |
6149 | ||
9accf3d9 | 6150 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
6151 | ||
6152 | PR c++/5713 | |
6153 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
6154 | redeclaration. | |
6155 | ||
c53485bb | 6156 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
6157 | Jakub Jelinek <jakub@redhat.com> | |
6158 | ||
6159 | PR c/4389 | |
6160 | * tree.c (host_integerp): Ensure that the constant integer is | |
6161 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
6162 | when pos is zero or non-zero respectively. Clarify comment. | |
6163 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
6164 | usage; the pos argument should be zero when assigning to a | |
6165 | signed HOST_WIDE_INT. | |
6166 | ||
36747d13 | 6167 | 2002-02-20 Richard Henderson <rth@redhat.com> |
6168 | ||
6169 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
6170 | of the operand, rather than assuming TImode. | |
6171 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
6172 | using nonimmediate_operand for both operands. | |
6173 | (ix86_expand_timode_binop_builtin): Likewise. | |
6174 | (ix86_expand_store_builtin): Validate operand 1. | |
6175 | (ix86_expand_unop1_builtin): Likewise. | |
6176 | ||
1012b320 | 6177 | 2002-02-20 Philip Blundell <philb@gnu.org> |
a4194ff7 | 6178 | |
1012b320 | 6179 | PR 5705 |
6180 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
6181 | ||
4f520835 | 6182 | 2002-02-20 Richard Henderson <rth@redhat.com> |
6183 | ||
6184 | PR c/5615 | |
6185 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
6186 | ||
f21ce30d | 6187 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
6188 | ||
6189 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
6190 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
6191 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
6192 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
6193 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
6194 | unconditionally. | |
6195 | ||
2784c617 | 6196 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
6197 | ||
6198 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
6199 | for (const_int 0) in X not just INTVAL. | |
6200 | ||
8e1103d3 | 6201 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
6202 | ||
6203 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
6204 | ||
5e862a70 | 6205 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
6206 | ||
6207 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
6208 | operations if the field does not start at a mode boundary. | |
6209 | ||
6cedc59a | 6210 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
6211 | ||
6212 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
6213 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
6214 | Also done for -Acpu and -Amachine. | |
6215 | ||
5ca8af9f | 6216 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
6217 | ||
6218 | * cppinit.c (init_dependency_output): Take deps output file | |
6219 | from -o if none given with -MF. Suppress normal output. | |
a4194ff7 | 6220 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
5ca8af9f | 6221 | * doc/cpp.texi, doc/invoke.texi: Update. |
6222 | ||
686ddf2e | 6223 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
6224 | ||
6225 | * toplev.c (output_quoted_string): Write unprintable | |
6226 | characters with octal escapes. | |
6227 | ||
5785723a | 6228 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
6229 | ||
6230 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
6231 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
6232 | ||
6233 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
a4194ff7 | 6234 | |
5785723a | 6235 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
6236 | MODE_MASK. | |
6237 | (constant_pool_expr_1): Fix formatting. | |
6238 | (rs6000_legitimize_reload_address): Likewise. | |
6239 | ||
93b33a73 | 6240 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6241 | ||
6242 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
6243 | now that we have one. | |
6244 | ||
20f2763e | 6245 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
6246 | ||
6247 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
6248 | end of first block of bitfields (which was only seven bits); | |
6249 | rename dummy to unused_1; remove comment which is no longer true. | |
6250 | ||
b523e5a0 | 6251 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
6252 | ||
6253 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
6254 | ||
1675c6e9 | 6255 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
6256 | ||
0ea7b219 | 6257 | PR 5399 |
1675c6e9 | 6258 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
6259 | if generating PIC. | |
6260 | ||
6261 | PR 5054 | |
6262 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
6263 | arm_is_longcall_p rather than inspecting call-type cookie | |
6264 | directly. | |
6265 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
6266 | ||
78a23ef4 | 6267 | 2002-02-19 Graham Stott <grahams@redhat.com> |
6268 | ||
6269 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
6270 | ||
3c6e13d9 | 6271 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
6272 | ||
6273 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
6274 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
268ae5e9 | 6275 | (FP_SAVE_INLINE): Delete. |
3c6e13d9 | 6276 | |
6277 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
6278 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
6279 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
6280 | * config/rs6000/crtsavres.asm: New file. | |
6281 | ||
4a5f62e2 | 6282 | 2002-02-19 Philip Blundell <philb@gnu.org> |
6283 | ||
6284 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
6285 | functions. | |
6286 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
6287 | (output_return_instruction): Allow interrupt functions to return with | |
6288 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
6289 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
6290 | interrupt function. | |
6291 | ||
77744024 | 6292 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
6293 | ||
6294 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
6295 | decl, not just FUNCTION_DECL. | |
6296 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
6297 | (arm_assemble_integer): Likewise. | |
6298 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
6299 | marked local. | |
a4194ff7 | 6300 | |
1897a3df | 6301 | 2002-02-19 matthew green <mrg@eterna.com.au> |
6302 | ||
6303 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
6304 | (sparc64-*-netbsd*): New target. | |
6305 | * config/sparc/netbsd-elf.h: New file. | |
6306 | * config/sparc/t-netbsd64: New file. | |
6307 | ||
77f0d102 | 6308 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
6309 | ||
6310 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
6311 | ||
6c311a26 | 6312 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
6313 | ||
6314 | * doc/invoke.texi: explicitly list the style guidelines that | |
6315 | -Weffc++ checks for. | |
6316 | ||
33bb1b3f | 6317 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
6318 | ||
6319 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
6320 | ||
f89781d7 | 6321 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
6322 | ||
6323 | PR other/5718 | |
6324 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
6325 | only if not -E. If -E, pass -o through to the preprocessor. | |
6326 | ||
fc78530c | 6327 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
6328 | ||
6329 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
6330 | register number with an appropriate macro. | |
6331 | ||
e981b81b | 6332 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
6333 | ||
6334 | * doc/rtl.texi (Constants): Close @code tag. | |
6335 | ||
e4757a47 | 6336 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
6337 | ||
6338 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
6339 | ("mmx_uavgv4hi3"): Same. | |
6340 | ("pmulhrwv4hi3"): Same. | |
6341 | ||
6342 | * tree-inline.c (walk_tree): Handle vectors. | |
6343 | ||
6344 | * c-common.c (constant_expression_warning): Handle vectors. | |
6345 | (overflow_warning): Same. | |
6346 | ||
6347 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
6348 | ||
6349 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
6350 | (rtx_varies_p): Same. | |
6351 | (count_occurrences): Same. | |
6352 | (regs_set_between_p): Same. | |
6353 | (modified_between_p): Same. | |
6354 | (modified_in_p): Same. | |
6355 | (volatile_insn_p): Same. | |
6356 | (volatile_refs_p): Same. | |
6357 | (side_effects_p): Same. | |
6358 | (may_trap_p): Same. | |
6359 | (inequality_comparisons_p): Same. | |
6360 | (replace_regs): Same. | |
6361 | (computed_jump_p_1): Same. | |
6362 | ||
6363 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
6364 | argument. | |
6365 | (inner_mode_array): New. | |
6366 | (copy_rtx): Handle vectors. | |
6367 | (copy_most_rtx): Same. | |
6368 | (rtx_equal_p): Same. | |
6369 | (get_mode_alignment): Adjust for vectors. | |
6370 | ||
6371 | * resource.c (mark_referenced_resources): Handle vectors. | |
6372 | (mark_set_resources): Same. | |
6373 | ||
6374 | * reload1.c (eliminate_regs): Handle vectors. | |
6375 | (elimination_effects): Same. | |
6376 | (scan_paradoxical_subregs): Same. | |
6377 | ||
6378 | * reload.c (subst_reg_equivs): Handle vectors. | |
6379 | ||
6380 | * regrename.c (scan_rtx): Handle vectors. | |
6381 | ||
6382 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
6383 | ||
6384 | * recog.c (find_single_use_1): Handle vectors. | |
6385 | ||
6386 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
6387 | (contains_replace_regs): Same. | |
6388 | (memref_referenced_p): Same. | |
6389 | ||
6390 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
6391 | (subst_constants): Same. | |
6392 | ||
6393 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
6394 | (encode_units_mask): Same. | |
6395 | (clear_struct_flag): Same. | |
6396 | (count_sub_rtxs): Same. | |
6397 | ||
6398 | * gcse.c (want_to_gcse_p): Handle vectors. | |
6399 | (oprs_unchanged_p): Same. | |
6400 | (hash_expr_1): Same. | |
6401 | (oprs_not_set_p): Same. | |
6402 | (expr_killed_p): Same. | |
6403 | (compute_transp): Same. | |
6404 | (store_ops_ok): Same. | |
6405 | ||
6406 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
6407 | of vectors. | |
6408 | (fixup_var_refs_1): Same. | |
6409 | (instantiate_virtual_regs_1): Same. | |
6410 | ||
6411 | * fold-const.c (operand_equal_p): Handle vectors. | |
6412 | (fold): Same. | |
6413 | (rtl_expr_nonnegative_p): Same. | |
6414 | ||
6415 | * flow.c (mark_used_regs): Handle vectors. | |
6416 | ||
6417 | * df.c (df_uses_record): Handle vectors. | |
6418 | ||
6419 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
6420 | (cselib_mem_conflict_p): Same. | |
6421 | (hash_rtx): Same. | |
6422 | ||
6423 | * cse.c (canon_reg): Handle vectors. | |
6424 | (fold_rt): Same. | |
6425 | (cse_process_notes): Same. | |
6426 | (count_reg_usage): Same. | |
6427 | (canon_hash): Same. | |
6428 | ||
6429 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
6430 | ||
6431 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
6432 | ||
6433 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
6434 | (gen_rtx): Handle CONST_VECTOR. | |
6435 | (gen_const_vector_0): New. | |
6436 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
6437 | (reset_used_flags): Same. | |
6438 | (copy_insn_1): Same. | |
6439 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
6440 | ||
6441 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
6442 | ||
6443 | * doc/rtl.texi (Constants): Document const_vector. | |
6444 | (CONST0_RTX): Update for vectors. | |
6445 | (RTL sharing): Same. | |
6446 | ||
6447 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
6448 | ||
6449 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
6450 | (struct tree_vector): New. | |
6451 | (union tree_node): Add vector node. | |
6452 | (build_vector): Add prototype. | |
6453 | ||
6454 | * tree.def (VECTOR_CST): New. | |
6455 | ||
6456 | * tree.c (build_vector): New. | |
6457 | ||
6458 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
6459 | ||
6460 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
6461 | (CONST_VECTOR_ELT): New. | |
6462 | (CONST_VECTOR_NUNITS): New. | |
6463 | ||
6464 | * machmode.h (GET_MODE_INNER): New. | |
6465 | (DEF_MACHMODE): Accept 8th arg. | |
6466 | ||
6467 | * machmode.def: Add 8th argument for vector inner mode. | |
6468 | Add inner vector modes for vectors. | |
6469 | ||
6470 | * rtl.def (VEC_CONST): Remove. | |
6471 | (CONST_VECTOR): New. | |
6472 | ||
6473 | * expr.c (clear_storage): Allow vectors. | |
6474 | (is_zeros_p): Handle VECTOR_CST. | |
6475 | ||
6476 | * varasm.c (output_constant_pool): Handle vectors. | |
6477 | (rtx_const): Add veclo and vechi fields. | |
6478 | (kind): Add RTX_VECTOR. | |
6479 | (decode_rtx_const): Add case for vector. | |
6480 | ||
6481 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
a4194ff7 | 6482 | |
e4757a47 | 6483 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
6484 | constants. Force easy vector constants into memory. | |
6485 | (easy_vector_constant): New. | |
6486 | (emit_easy_vector_constant): New. | |
6487 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
6488 | darwin. | |
6489 | ||
6490 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
6491 | instruction does. | |
6492 | ("altivec_lvxl"): Same. | |
6493 | (altivec_lvebx): Same. | |
6494 | (altivec_lvehx): Same. | |
6495 | (altivec_lvewx): Same. | |
6496 | ("*movv4si_const0"): New. | |
6497 | ("*movv4sf_const0"): New. | |
6498 | ("*movv8hi_const0"): New. | |
6499 | ("*movv16qi_const0"): New. | |
6500 | ||
ad992f91 | 6501 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
6502 | ||
6503 | * config/h8300/h8300.c (notice_update_cc): Use | |
6504 | cc_status.value2. | |
6505 | ||
ec708c23 | 6506 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
6507 | ||
6508 | * config/h8300/h8300.md (divmod patterns): Change the | |
6509 | constraints for operands[1] to register_operand. | |
6510 | ||
a7b07d19 | 6511 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
6512 | ||
6513 | * config/h8300/h8300-protos.h: Remove the prototype for | |
6514 | p_operand. | |
6515 | * config/h8300/h8300.c (p_operand): Remove. | |
6516 | * config/h8300/h8300.md: Replace p_operand with | |
6517 | const_int_operand. | |
6518 | ||
71d934e9 | 6519 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
6520 | ||
6521 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
6522 | comment. | |
6523 | (output_return_instruction): Allow use of LDR to unstack | |
6524 | return addresss even for interrupt handlers or when | |
6525 | interworking. If compiling for ARMv5, use interworking-safe | |
6526 | return instructions by default. Remove duplicated code and | |
6527 | lengthy "strcat" sequences. | |
6528 | ||
079c4432 | 6529 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6530 | ||
6531 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
6532 | (LINK_EH_SPEC): Define. | |
6533 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
6534 | ||
7bbebc45 | 6535 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
6536 | ||
6537 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
6538 | frame_related flag for call-clobbered registers. | |
6539 | ||
484e4581 | 6540 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
6541 | ||
6542 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
6543 | (construct_container): Fix handling of SSE operands. | |
6544 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
6545 | (mmx_maskmovq_rex): New pattern. | |
6546 | ||
00e8d5e7 | 6547 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
6548 | ||
6549 | * regrename.c (kill_set_value): Handle subregs properly. | |
6550 | ||
15f81125 | 6551 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
6552 | ||
6553 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
a4194ff7 | 6554 | from objc_class_name. |
15f81125 | 6555 | |
792433e3 | 6556 | 2002-02-17 Richard Henderson <rth@redhat.com> |
6557 | ||
6558 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
6559 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
6560 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
6561 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
6562 | * config/alpha/alpha-protos.h: Update. | |
6563 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
6564 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
6565 | ||
fca26bb8 | 6566 | 2002-02-17 Roland McGrath <roland@frob.com> |
6567 | ||
6568 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
6569 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
6570 | * config/rs6000/gnu.h: New file. | |
6571 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
6572 | Grok "gnu" in rs6000_abi_name. | |
6573 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
6574 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
6575 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
6576 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
6577 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
6578 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
6579 | ||
ca982002 | 6580 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
6581 | ||
6582 | PR c/3444: | |
6583 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
6584 | shortening. | |
6585 | ||
a3b8e004 | 6586 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
6587 | ||
6588 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
6589 | ENDFILE_SPEC before (re)defining them. | |
6590 | ||
81c3eb11 | 6591 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
6592 | ||
6593 | * config/h8300/h8300.c: Fix formatting. | |
6594 | * config/h8300/h8300.h: Likewise. | |
6595 | ||
516726bd | 6596 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
6597 | ||
6598 | * doc/tm.texi: Explain why empty strings should not be | |
6599 | marked for translation. | |
6600 | ||
a1657b95 | 6601 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
6602 | ||
6603 | * final.c (output_operand_lossage): Changed to accept | |
6604 | printf style arguments. Change calls where necessary. | |
6605 | * output.h (output_operand_lossage): Change declaration | |
6606 | accordingly. Update copyright. | |
6607 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
6608 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
6609 | Update copyright date where necessary. | |
a4194ff7 | 6610 | |
a1657b95 | 6611 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
6612 | sprintf. | |
6613 | ||
6614 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
6615 | Rename parameter so that exgettext recognizes it as | |
6616 | translatable message. | |
6617 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
6618 | ||
914c4f2c | 6619 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
6620 | ||
6621 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
6622 | hard coded register number with an appropriate macro. | |
6623 | (HARD_REGNO_MODE_OK): Likewise. | |
6624 | (ARG_POINTER_REGNUM): Likewise. | |
6625 | (STATIC_CHAIN_REGNUM): Likewise. | |
6626 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
6627 | * config/h8300/h8300.md (define_constants): Define more | |
6628 | register numbers. | |
6629 | ||
959b27f3 | 6630 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
6631 | ||
6632 | * config/i386/i386.h: Don't mark empty strings for translation. | |
6633 | ||
32702958 | 6634 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
6635 | ||
6636 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
6637 | ||
f7ee0e54 | 6638 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
6639 | ||
6640 | * cppinit.c (merge_include_chains): Check for brack being | |
6641 | NULL before attempting to merge it with qtail. | |
6642 | ||
4a19b412 | 6643 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
6644 | ||
6645 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
6646 | DBX_DEBUG. | |
6647 | ||
f2e37906 | 6648 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6649 | ||
6650 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
6651 | ||
cd98951e | 6652 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6653 | ||
6654 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
6655 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
6656 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
6657 | ||
9ba94287 | 6658 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6659 | ||
b26f60fe | 6660 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
9ba94287 | 6661 | now only if !TARGET_FIX. |
6662 | (*movsi_nt_vms_fix): New pattern. | |
6663 | ||
b19d7ab1 | 6664 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
6665 | ||
6666 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
6667 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
6668 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
6669 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
6670 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
6671 | (unicosmk_gen_dsib): Likewise. | |
6672 | ||
cbbc8e6a | 6673 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6674 | ||
6675 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
6676 | ||
479ca6e8 | 6677 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
6678 | ||
a4194ff7 | 6679 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
479ca6e8 | 6680 | check_and_change_labels, s390_final_chunkify): Delete. |
6681 | (s390_split_branches, s390_chunkify_pool): New functions. | |
6682 | (s390_function_prologue): Call them. | |
a4194ff7 | 6683 | |
479ca6e8 | 6684 | * config/s390/s390.h (S390_REL_MAX): Delete. |
6685 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
6686 | ||
a4194ff7 | 6687 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
479ca6e8 | 6688 | attribute calculation. |
6689 | ||
6690 | ||
19d4f8a9 | 6691 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
6692 | ||
6693 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
6694 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
6695 | ||
78e01a1f | 6696 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6697 | ||
6698 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
6699 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
6700 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
6701 | ||
aeb814bb | 6702 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
6703 | ||
6704 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
6705 | ||
b2656069 | 6706 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
6707 | ||
6708 | * reload.c (find_dummy_reload): Check that an output register | |
6709 | is valid for its mode. | |
6710 | ||
2aa75f60 | 6711 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
6712 | ||
826402d7 | 6713 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
6714 | to simplify it. | |
6715 | ||
2aa75f60 | 6716 | * function.c (assign_parms): Demote promoted argument passed by |
6717 | transparent reference. | |
6718 | ||
cb753661 | 6719 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
6720 | ||
6721 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
6722 | -Acpu() and -Amachine() to eliminate warnings. | |
6723 | ||
d1e8a831 | 6724 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
6725 | ||
6726 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
6727 | ||
e8d82641 | 6728 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
6729 | ||
6730 | * config/h8300/h8300-protos.h: Update the prototype for | |
6731 | const_costs. | |
6732 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
6733 | more expensive operation. | |
6734 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
6735 | reference to const_costs. | |
6736 | ||
dfaadc1e | 6737 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
6738 | ||
6739 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
6740 | ||
7a6b670a | 6741 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
6742 | ||
6743 | PR c/5503: | |
6744 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
6745 | use arguments from newtype. | |
6746 | ||
e2534d93 | 6747 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
6748 | ||
6749 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
6750 | on the same command line. Fix error message in cpu processing. | |
6751 | Remove architecture and ISA checks. | |
6752 | ||
1daca59d | 6753 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
6754 | ||
4fc5f895 | 6755 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
1daca59d | 6756 | |
4fc5f895 | 6757 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
1daca59d | 6758 | |
a0222b01 | 6759 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
6760 | ||
4fc5f895 | 6761 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
6762 | alternatives. | |
6763 | ("*movv8hi_internal1"): Same. | |
6764 | ("*movv16qi_internal1"): Same. | |
6765 | ("*movv4sf_internal1"): Same. | |
a0222b01 | 6766 | |
4fc5f895 | 6767 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
6768 | not push_reload for altivec modes. | |
a0222b01 | 6769 | |
7a6b670a | 6770 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
214507b9 | 6771 | |
6772 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
6773 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
6774 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
6775 | many targets. | |
6776 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
6777 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
6778 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
6779 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
6780 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
6781 | config/m68k/rtemself.h: Ditto. | |
6782 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
6783 | config/mips/rtems64.h: Ditto. | |
6784 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
6785 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
6786 | Ditto. | |
6787 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
6788 | config/sparc/rtemself.h: Ditto. | |
6789 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
6790 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
6791 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
6792 | more like arm-elf. | |
6793 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
6794 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
6795 | target made more similar to i386-elf. | |
6796 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
6797 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
6798 | be similar to config/m68k/t-m68kelf. | |
6799 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
6800 | ||
bd6bc33d | 6801 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
6802 | ||
6803 | * regmove.c (kill_value): Handle subregs. | |
6804 | ||
5edf31bc | 6805 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
6806 | ||
6807 | * i386.md (mul patterns): Allow memory operand to be first; | |
6808 | add expanders where needed; fix constraints. | |
6809 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
6810 | Allow memory operand to be the first. | |
6811 | ||
6812 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
6813 | operands. | |
6814 | ||
c5e81ca5 | 6815 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
6816 | ||
6817 | PR c/5681: | |
6818 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
6819 | GET_MODE (x). | |
6820 | ||
3c6ed5ba | 6821 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
6822 | ||
6823 | PR optimization/5547: | |
6824 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
6825 | all valid IA-32 address modes involving non-scaled %ebx and | |
6826 | GOT/GOTOFF as displacement. | |
6827 | ||
9fa6d5d9 | 6828 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
6829 | ||
6830 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
6831 | after emitting ltorg insns. | |
6832 | ||
6833 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
6834 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
6835 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
6836 | *abssf2): Fix "op_type" attribute. | |
6837 | ||
e7d5cd82 | 6838 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
6839 | ||
568b9110 | 6840 | * mkconfig.sh: Avoid using a subshell redirect. |
6841 | ($output.T): Change to $(output)T. | |
6842 | (ENABLE_NLS): Remove unneeded undef. | |
6843 | ||
3536e14d | 6844 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
6845 | * config/alpha/x-vms (libsubdir): Define. | |
6846 | ||
3eaf7912 | 6847 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
6848 | register frame procedures. Optimize retrieving context. | |
6849 | ||
e7d5cd82 | 6850 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
6851 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
6852 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
6853 | ||
5104ef69 | 6854 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6855 | ||
6856 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
6857 | Make same change as for find_base_value. | |
6858 | ||
7953f686 | 6859 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
6860 | ||
6861 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
6862 | of QImode and SImode. | |
6863 | ||
16ff02f6 | 6864 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
6865 | ||
6866 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
6867 | length computation of movsi. | |
6868 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
6869 | ||
7be90177 | 6870 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
6871 | ||
6872 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
6873 | operands[2] to register_operand. | |
6874 | ||
0f0f0d50 | 6875 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
6876 | ||
6877 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
6878 | ||
4625cc70 | 6879 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
6880 | ||
4fc5f895 | 6881 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
6882 | for altivec_lvx* and altivec_stvx*. | |
6883 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
6884 | ("*movv8hi_internal1"): Same. | |
6885 | ("*movv16qi_internal1"): Same. | |
6886 | ("*movv4sf_internal1"): Same. | |
4625cc70 | 6887 | |
4fc5f895 | 6888 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
4625cc70 | 6889 | |
4fc5f895 | 6890 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
6891 | altivec_register_operand. | |
4625cc70 | 6892 | |
60bb373d | 6893 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
6894 | ||
6895 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
6896 | handle SYMBOL_REF. | |
6897 | ||
0ad236c2 | 6898 | 2002-02-13 Stan Shebs <shebs@apple.com> |
6899 | ||
4fc5f895 | 6900 | * c-typeck.c (digest_init): Handle vectors. |
6901 | (really_start_incremental_init): Same. | |
6902 | (pop_init_level): Same. | |
6903 | (process_init_element): Same. | |
0ad236c2 | 6904 | |
4fc5f895 | 6905 | * varasm.c (output_constant): Same. |
0ad236c2 | 6906 | |
4fc5f895 | 6907 | * expr.c (clear_storage): Same. |
6908 | (store_constructor): Same. | |
0ad236c2 | 6909 | |
6be48139 | 6910 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
6911 | ||
6912 | * explow.c (hard_function_value): Add comment explaining | |
6913 | signed/unsigned comparison. | |
6914 | ||
5b154f04 | 6915 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
6916 | ||
6917 | * jump.c (never_reached_warning): Add finish argument. | |
6918 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
6919 | real insn after end. | |
6920 | * rtl.h (never_reached_warning): Adjust prototype. | |
6921 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
6922 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
6923 | never_reached_warning. | |
6924 | ||
18434c1e | 6925 | 2002-02-12 Graham Stott <grahams@redhat.com> |
6926 | ||
6927 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
6928 | ||
f76e2664 | 6929 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
6930 | ||
6931 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
6932 | logical shifts on H8/300. | |
6933 | (shift_alg_si): Improve several shifts on H8/300. | |
6934 | (get_shift_alg): Likewise. | |
6935 | ||
fc1fb057 | 6936 | 2002-02-12 Graham Stott <grahams@redhat.com> |
6937 | ||
6938 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
6939 | ||
d01410d3 | 6940 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6941 | ||
6942 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
6943 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
6944 | ||
4f4e478d | 6945 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
6946 | ||
6947 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
6948 | non-CONST_INT through default_assemble_integer. | |
6949 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
6950 | <case 8>: Abort for CONST_DOUBLE. | |
6951 | ||
4515af0b | 6952 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6953 | ||
6954 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
6955 | is specified. | |
6956 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
6957 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
6958 | ||
690d3235 | 6959 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
6960 | ||
6961 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
6962 | ||
de79a9e1 | 6963 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
6964 | ||
5ee24cd9 | 6965 | * regrename.c (regrename_optimize): Don't accept a |
6966 | part-clobbered register if the replaced register is not part | |
6967 | clobbered. | |
6968 | ||
d5c9a99f | 6969 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
6970 | take padding into account when computing the argument value. | |
6971 | ||
56fbb2d4 | 6972 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
6973 | ||
de79a9e1 | 6974 | * combine.c (try_combine): Apply substitutions in |
6975 | CALL_INSN_FUNCTION_USAGE too. | |
6976 | ||
d688971e | 6977 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
6978 | ||
6c311a26 | 6979 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
6980 | __builtin_altivec_abs*. | |
6981 | (bdesc_abs): New. | |
d688971e | 6982 | |
6c311a26 | 6983 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
6984 | ALTIVEC_BUILTIN_ABS*. | |
d688971e | 6985 | |
6c311a26 | 6986 | * config/rs6000/altivec.h: Use const char for builtins expecting |
6987 | literals. | |
6988 | (vec_abs): New versions for C and C++. | |
6989 | (vec_abss): Same. | |
d688971e | 6990 | |
80f7466f | 6991 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
6992 | ||
6993 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
6994 | using Pmode. | |
6995 | ||
2e9dc773 | 6996 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
6997 | ||
6998 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
6999 | constant definition from h8300.md. | |
7000 | (FRAME_POINTER_REGNUM): Likewise. | |
7001 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
7002 | ||
b99f3ebb | 7003 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
7004 | ||
7005 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
7006 | ||
7198848c | 7007 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
7008 | ||
7009 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
7010 | * config/h8300/h8300.c (byte_reg): Make it static. | |
7011 | ||
e40a1d5c | 7012 | 2002-02-10 Richard Henderson <rth@redhat.com> |
7013 | ||
7014 | PR c/5623 | |
7015 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
7016 | ||
4b186f02 | 7017 | 2002-02-10 Richard Henderson <rth@redhat.com> |
7018 | ||
7019 | PR c++/5624 | |
7020 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
7021 | does not exist. | |
7022 | ||
a5b59592 | 7023 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
7024 | ||
7025 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
7026 | ||
47ec1949 | 7027 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
7028 | ||
4b186f02 | 7029 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
47ec1949 | 7030 | (pushhi1): Likewise. |
7031 | ||
6df54749 | 7032 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7033 | ||
7034 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
7035 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
7036 | ||
bed0172c | 7037 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
7038 | ||
7039 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
7040 | remove MASK_VIS. | |
7041 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
7042 | ||
a9d986d9 | 7043 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
7044 | ||
7045 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
7046 | a half of an SImode register on H8/300. | |
7047 | ||
f46279ed | 7048 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
7049 | ||
7050 | * i386.md (movdi_2): Add missing '!'. | |
7051 | ||
24efb2a8 | 7052 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
7053 | ||
7054 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
7055 | definitions. | |
7056 | ||
a625f574 | 7057 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
7058 | ||
7059 | * config/h8300/h8300.md (length): Correct the distance valid | |
7060 | for the short branch. | |
7061 | ||
93028baa | 7062 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
7063 | ||
7064 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
7065 | ||
e27e52e0 | 7066 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
7067 | ||
fcd4cb57 | 7068 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
7069 | registers in SImode. | |
7070 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
7071 | part-clobbered. | |
7072 | ||
87708ea5 | 7073 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
7074 | patch. | |
6be48139 | 7075 | |
87e19636 | 7076 | Contribute sh64-elf. |
7077 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
7078 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
7079 | (sh_cannot_modify_jumps_p): New function. | |
7080 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
7081 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
7082 | (sh_ms_bitfield_layout_p): New function. | |
7083 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
7084 | Zack Weinberg <zack@codesourcery.com> | |
7085 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
7086 | expand_simple_binop instead of expand_binop. | |
7087 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
7088 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
7089 | use of .quad and .uaquad. | |
7090 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
7091 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
7092 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
7093 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
7094 | movdi_const_16bit): Make sure all CONSTs have modes. | |
7095 | (sym2PIC): Ditto, but by adjusting all callers. | |
7096 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
7097 | if the prologue calls the SHmedia argument decoder or register | |
7098 | saver. | |
7099 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
7100 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
7101 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
7102 | (sh_expand_epilogue): Don't emit USE of return target register. | |
7103 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
7104 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
7105 | PIC register. | |
7106 | (sh_expand_prologue): Remove explicit USE of return register. | |
7107 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
7108 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
7109 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
7110 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
7111 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
7112 | EXTRA_CONSTRAINT_T. | |
7113 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
7114 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
7115 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
7116 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
7117 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
7118 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
7119 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
7120 | alternatives supporting TARGET_REGS. | |
7121 | (UNSPEC_GOTPLT): New constant. | |
7122 | (movdi split): Move incrementing of LABEL_NUSES... | |
7123 | (movdi_const, movdi_const_32bit): Here. Use | |
7124 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
7125 | (movdi_const_16bit): New. | |
7126 | (call, call_value) [flag_pic]: Use GOTPLT. | |
7127 | (call_pop, call_value_pop): New expands. | |
7128 | (call_pop_compact, call_pop_rettramp): New insns. | |
7129 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
7130 | (sibcall) [flag_pic]: Use GOT. | |
7131 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
7132 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
7133 | (*pt, *ptb, ptrel): New insns. | |
7134 | (sym2GOT): Handle DImode GOT. | |
7135 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
7136 | (sym2PIC): New expand. | |
7137 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
7138 | (shcompact_return_tramp_i): Use return register explicitly. | |
7139 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
7140 | disable flag_reorder_blocks. | |
7141 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
7142 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
7143 | clobbers, for clarity. | |
7144 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
7145 | restoring of r0 in macl as MAYBE_DEAD. | |
7146 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
7147 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
7148 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
7149 | alter_subreg all over. | |
7150 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
7151 | reload, instead of emitting instructions that would require | |
7152 | reloading. | |
7153 | (casesi_load_media): Add missing modes. | |
7154 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
7155 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
7156 | as used if the argument decoder is called. | |
7157 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
7158 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
7159 | Pmode, then extend it to DImode if necessary. | |
7160 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
7161 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
7162 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
7163 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
7164 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
7165 | Adjust whitespace in assembly output templates. | |
7166 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
7167 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
7168 | mode of if_then_else. | |
7169 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
7170 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
7171 | sh.h. | |
7172 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
7173 | Joern Rennecke <amylaar@redhat.com> | |
7174 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
7175 | (SUBTARGET_CPP_PTR_SPEC): New. | |
7176 | (SUBTARGET_CPP_SPEC): Remove. | |
7177 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
7178 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
7179 | Fix typo in previous checkin. | |
7180 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
7181 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
7182 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
7183 | Alexandre Oliva <aoliva@redhat.com> | |
7184 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
7185 | what single FP register can hold for SHmedia target. | |
7186 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
7187 | Alexandre Oliva <aoliva@redhat.com> | |
7188 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
7189 | Do not split into SUBREG. | |
7190 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
7191 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
7192 | and added new functions as specified in SH5 ABI r9. | |
7193 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
7194 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
7195 | 8-byte boundary. | |
7196 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
7197 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
7198 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
7199 | and consttable_window_ends. | |
7200 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
7201 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
7202 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
7203 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
7204 | vector and matrix registers. | |
7205 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
7206 | vector modes into account. | |
7207 | * config/sh/sh.md (movv2sf): Split move between registers into | |
7208 | movdf. | |
7209 | (movv4sf, movv16sf): Introduce insns that get split only after | |
7210 | reload. | |
7211 | * config/sh/shmedia.h: Fix Copyright dates. | |
7212 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
7213 | declarations into conditionals that uses them. | |
7214 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
7215 | loop boundary. | |
7216 | * config/sh/sshmedia.h: Fix Copyright dates. | |
7217 | (sh_media_PUTCFG): Fix constraints. | |
7218 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
7219 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
7220 | ptrmemfunc_vbit_in_delta for SH5. | |
7221 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
7222 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
7223 | * invoke.texi: Likewise. | |
7224 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
7225 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
7226 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
7227 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
7228 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
7229 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
7230 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
7231 | compact function with nonlocal labels. | |
7232 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
7233 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
7234 | (initial_elimination_offset): Account for their stack space. | |
7235 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
7236 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
7237 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
7238 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
7239 | least one of the operands to be a register. | |
7240 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
7241 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
7242 | prepare_move_operands() before emitting SHmedia insns. | |
7243 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
7244 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
7245 | Don't save nor initialize r12. Don't mis-align the stack. | |
7246 | Pad the code with a nop. | |
7247 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
7248 | stack. | |
7249 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
7250 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
7251 | [__SHMEDIA__]: Implement. | |
7252 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
7253 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
7254 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
7255 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
7256 | Set move, load and store type attributes. | |
7257 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
7258 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
7259 | profiling. | |
7260 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
7261 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
7262 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
7263 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
7264 | branch-target register. | |
7265 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
7266 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
7267 | branch-target register. | |
7268 | (return_media): If r18 wasn't copied in the prologue, copy it | |
7269 | here. | |
7270 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
7271 | Clear class FP0_REGS. | |
7272 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
7273 | from elf.h. | |
7274 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
7275 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
7276 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
7277 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
7278 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
7279 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
7280 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
7281 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
7282 | return value correctly for call_cookie. | |
7283 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
7284 | * config/sh/crt1.asm (start): Modified so as to call | |
7285 | ___setup_argv_and_call_main. | |
7286 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
7287 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
7288 | SHmedia mode. | |
7289 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
7290 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
7291 | (STRIP_NAME_ENCODING): Use it. | |
7292 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
7293 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
7294 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
7295 | prepare_scc_operands(). | |
7296 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
7297 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
7298 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
7299 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
7300 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
7301 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
7302 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
7303 | used in shcompact_incoming_args. | |
7304 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
7305 | change. | |
7306 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
7307 | mode. | |
7308 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
7309 | Adjust accordingly. | |
7310 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
7311 | Simplify. Adjust. Add sanity check. | |
7312 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
7313 | FPU_SINGLE_BIT. | |
7314 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
7315 | TARGET_SHCOMPACT. | |
7316 | (udivsi3, divsi3): Use them. | |
7317 | (force_mode_for_call): New insn. | |
7318 | (call, call_value, sibcall_value): Emit it before SHcompact | |
7319 | calls. | |
7320 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
7321 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
7322 | call cookie is non-NULL before taking its value. | |
7323 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
7324 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
7325 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
7326 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
7327 | block. | |
7328 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
7329 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
7330 | temporary for stack adjusts. Use MACL and MACH to pass | |
7331 | arguments to shcompact_incoming_args. | |
7332 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
7333 | clobber r1. | |
7334 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
7335 | (nested_trampoline): Load static chain address into r1. | |
7336 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
7337 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
7338 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
7339 | fp_arith_reg_operand(). | |
7340 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
7341 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
7342 | and use signed compares for them. | |
7343 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
7344 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
7345 | ones properly aligned. | |
7346 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
7347 | constants. | |
7348 | (machine_dependent_reorg): Require a label for the second 4-byte | |
7349 | constant after an 8-byte one. | |
7350 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
7351 | change. | |
7352 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
7353 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
7354 | last_float when switching float modes. | |
7355 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
7356 | auto-increment for general-purpose registers. | |
7357 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
7358 | result. | |
7359 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
7360 | for stack adjust. | |
7361 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
7362 | registers for varargs. | |
7363 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
7364 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
7365 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
7366 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
7367 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
7368 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
7369 | call_cookie accordingly. | |
7370 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
7371 | (SHCOMPACT_BYREF): Likewise. | |
7372 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
7373 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
7374 | (sh_builtin_saveregs): Likewise. | |
7375 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
7376 | shcompact_incoming_args): Use new shift values. Support | |
7377 | sequences of consecutive and non-consecutive pushes/pops. | |
7378 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
7379 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
7380 | * config/sh/sh.h (TEXT_SECTION): Define. | |
7381 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
7382 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
7383 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
7384 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
7385 | return values on FPU-enabled SHmedia. | |
7386 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
7387 | FPU-enabled SHmedia. | |
7388 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
7389 | value is returned in a non-FP reg and is not returned by | |
7390 | reference. | |
7391 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
7392 | jump_ind. | |
7393 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
7394 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
7395 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
7396 | quad-aligned to be passed by callee-copy reference. | |
7397 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
7398 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
7399 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
7400 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
7401 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
7402 | copying low-numbered FP regs to r7 and r8. | |
7403 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
7404 | FP regs to general-purpose regs only if the copy was passed on the | |
7405 | stack. | |
7406 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
7407 | copying FP reg to r9. | |
7408 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
7409 | copy FP regs to general-purpose regs only in outgoing calls. | |
7410 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
77353e4f | 7411 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
87e19636 | 7412 | HOST_WIDE_INT. |
7413 | * config/sh/sh.h (struct sh_args): Document all fields. | |
7414 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
7415 | passed partially on the stack should not consider making | |
7416 | sibcalls. | |
7417 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
7418 | stack_regs only for incoming calls. When passing FP args, | |
7419 | make sure there are FP regs available before modifying | |
7420 | call_cookie. | |
7421 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
7422 | registers by reference. | |
7423 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
7424 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
7425 | attempt to generate sibcalls if the caller got any arguments | |
7426 | by reference. | |
7427 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
7428 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
7429 | to 8-byte boundaries. | |
7430 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
7431 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
7432 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
7433 | stored in the stack. | |
7434 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
7435 | for the offsets to have the ISA bit set. | |
7436 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
7437 | invocation. Use beq instead of bgt to mark end of sequence of | |
7438 | loads. | |
7439 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
7440 | bgt to mark end of sequence of stores. | |
7441 | * config/sh/sh.c (arith_operand): Don't check whether | |
7442 | CONST_OK_FOR_J for now. | |
7443 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
7444 | instead of long for conversion. | |
7445 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
7446 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
7447 | before passing it to fprintf. | |
7448 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
7449 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
7450 | Call set_fpscr before reading/writing SR. | |
7451 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
7452 | Call set_fpscr. | |
7453 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
7454 | SHmedia code. | |
7455 | (FMOVD_WORKS): Define on SH5 with FPU. | |
7456 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
7457 | setting. | |
7458 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
7459 | _fpscr_values. | |
7460 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
7461 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
7462 | address. | |
7463 | (ia_main_table): Ditto. | |
7464 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
7465 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
7466 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
7467 | the definitions from sh.h. | |
7468 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
7469 | TARGET_SH5. | |
7470 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
7471 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
7472 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
7473 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
7474 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
7475 | Increment LABEL_NUSES. | |
6be48139 | 7476 | |
87e19636 | 7477 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
7478 | TARGET_SH5. | |
7479 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
7480 | defined. | |
7481 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
7482 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
7483 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
7484 | shcompact_incoming_args): Load switch table addresses using | |
7485 | datalabel. | |
7486 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
7487 | (NO_BUILTIN_SIZE_TYPE): Define. | |
7488 | (SIZE_TYPE): Don't define. | |
7489 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
7490 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
7491 | definition of __SH5__=32 for -m5-compact-nofpu. | |
7492 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
7493 | ADDR_DIFF_VEC. | |
7494 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
7495 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
7496 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
7497 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
7498 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
7499 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
7500 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
7501 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
7502 | copying of non-branch-target register. | |
7503 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
77353e4f | 7504 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
87e19636 | 7505 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
7506 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
7507 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
7508 | floating-point values as structs. | |
7509 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
7510 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
7511 | general-purpose register. | |
7512 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
7513 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
7514 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
7515 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
7516 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
7517 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
7518 | DATALABEL unspecs. | |
7519 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
7520 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
7521 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
7522 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
7523 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
7524 | SH_DATALABEL_ENCODING to the symbol name. | |
7525 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
7526 | convert_mode(). | |
7527 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
7528 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
7529 | UNSPEC_DATALABEL. | |
7530 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
7531 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
7532 | (DATALABEL_REF_P): Don't require CONST. | |
7533 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
7534 | REL label. | |
7535 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
7536 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
7537 | right. | |
7538 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
7539 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
7540 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
7541 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
7542 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
7543 | on SHmedia using GENERAL_REGs. | |
7544 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
7545 | bltu_media_i): Fix reversion of conditions. | |
7546 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
7547 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
7548 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
7549 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
7550 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
7551 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
7552 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
7553 | (GCC_nested_trampoline): Likewise. | |
7554 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
7555 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
7556 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
7557 | (INITIALIZE_TRAMPOLINE): Likewise. | |
7558 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
7559 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
7560 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
7561 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
7562 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
7563 | (ic_invalidate): Adjust for SH5. | |
7564 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
7565 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
7566 | _nested_trampoline. | |
7567 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
7568 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
7569 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
7570 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
7571 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
7572 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
7573 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
7574 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
7575 | registers and pseudos that aren't virtual registers. | |
7576 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
7577 | Copy operands that don't match target_reg_operand to pseudos. | |
7578 | (call_media, call_value_media, sibcall_media): Use | |
7579 | target_reg_operand instead of target_operand. | |
7580 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
6be48139 | 7581 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
87e19636 | 7582 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
7583 | other than branch-target registers. | |
7584 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
7585 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
7586 | (fpscr_values) [SH5 == 32]: Define. | |
7587 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
7588 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
7589 | Handle function addresses coming in SUBREGs. | |
7590 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
7591 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
7592 | shcompact_return_trampoline): Use datalabel where appropriate. | |
7593 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
7594 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
7595 | general-purpose register to copy one branch-target register to | |
7596 | another. | |
7597 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
7598 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
7599 | SYMBOL_REFs with VOIDmode. | |
7600 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
7601 | bltu_media_i): New insns. | |
7602 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
7603 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
7604 | (INIT_CUMULATIVE_ARGS): Likewise. | |
7605 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
7606 | * machmode.def (V16SFmode): New mode. | |
7607 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
7608 | * tree.c (build_common_tree_nodes_2): Likewise. | |
7609 | * tree.h (tree_index): Likewise. | |
7610 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
7611 | callers. Introduce CALL_POPS_ARGS. | |
7612 | * tm.texi (CALL_POPS_ARGS): Document. | |
7613 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
7614 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
7615 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
7616 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
7617 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
7618 | Implement divsi and udivsi in SHmedia mode. Introduce | |
7619 | SHcompact trampolines. | |
7620 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
7621 | only in SHmedia64. | |
7622 | (regno_reg_class): Rewrite. | |
7623 | (fp_reg_names): Remove. | |
7624 | (sh_register_names, sh_additional_register_names): New. | |
7625 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
7626 | Add parentheses around shifted CONSTs. | |
7627 | (output_file_start): Output .mode and .abi directives. | |
7628 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
7629 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
7630 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
7631 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
7632 | bytes, not registers. Take into account the need for the | |
7633 | SHcompact incoming args trampoline. Adjust all callers. | |
7634 | (sh_expand_prologue): Take stack_regs into account. Call | |
7635 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
7636 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
7637 | stack aligned as per SH5 ABI. | |
7638 | (sh_builtin_saveregs): Support SH5 ABI. | |
7639 | (sh_build_va_list, sh_va_start): Likewise. | |
7640 | (initial_elimination_offset): Take alignment into account. | |
7641 | Compute location of PR according to the SH5 stack frame. | |
7642 | (arith_reg_operand): Reject branch-target registers. | |
7643 | (shmedia_6bit_operand): New. | |
7644 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
7645 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
7646 | (target_operand): New. | |
7647 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
7648 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
7649 | SIBCALL_REGS for SHmedia. | |
7650 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
7651 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
7652 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
7653 | (TARGET_SWITCHES): New SH5 flags. | |
7654 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
7655 | VALID_REGISTER_P to disable unsupported registers. | |
7656 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
7657 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
7658 | (FUNCTION_ARG_PADDING): Define. | |
7659 | (FASTEST_ALIGNMENT): Adjust. | |
7660 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
7661 | (sh_register_names): Declare. | |
7662 | (DEBUG_REGISTER_NAMES): Define. | |
7663 | (REGISTER_NAMES): Define based on sh_register_names. | |
7664 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
7665 | (sh_additional_register_names): Declare. | |
7666 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
7667 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
7668 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
7669 | (REGISTER_NATURAL_MODE): Define. | |
7670 | (FIRST_PSEUDO_REGISTER): Adjust. | |
7671 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
7672 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
7673 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
7674 | (VECTOR_MODE_SUPPORTED_P): Define. | |
7675 | (REG_CLASS_CONTENTS): Adjust. | |
7676 | (SMALL_REGISTER_CLASSES): Adjust. | |
7677 | (REG_ALLOC_ORDER): Adjust. | |
7678 | (INDEX_REG_CLASS): Adjust. | |
7679 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
7680 | (CONST_OK_FOR_LETTER_P): Adjust. | |
7681 | (PREFERRED_RELOAD_CLASS): Adjust. | |
7682 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
7683 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
7684 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
7685 | (FIRST_FP_PARM_REG): Adjust. | |
7686 | (CALL_POPS_ARGS): Define. | |
7687 | (FUNCTION_ARG_REGNO_P): Adjust. | |
7688 | (struct sh_args): New fields. | |
7689 | (GET_SH_ARG_CLASS): Adjust. | |
7690 | (INIT_CUMULATIVE_ARGS): Adjust. | |
7691 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
7692 | (FUNCTION_ARG_ADVANCE): Adjust. | |
7693 | (FUNCTION_ARG): Adjust. | |
7694 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
7695 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
7696 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
7697 | (STRICT_ARGUMENT_NAMING): Define. | |
7698 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
7699 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
7700 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
7701 | (SETUP_INCOMING_VARARGS): Adjust. | |
7702 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
7703 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
7704 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
7705 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
7706 | (EXTRA_CONSTRAINT_S): Update. | |
7707 | (EXTRA_CONSTRAINT_T): New. | |
7708 | (EXTRA_CONSTRAINT): Adjust. | |
7709 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
7710 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
7711 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
7712 | (MOVE_MAX): Adjust. | |
7713 | (MAX_MOVE_MAX): Define. | |
7714 | (Pmode): Adjust. | |
7715 | (CONST_COSTS): Adjust. | |
7716 | (REGISTER_MOVE_COST): Adjust. | |
7717 | (BRANCH_COST): Adjust. | |
7718 | (TEXT_SECTION_ASM_OP): Adjust. | |
7719 | (DBX_REGISTER_NUMBER): Adjust. | |
7720 | (ASM_OUTPUT_DOUBLE_INT): New. | |
7721 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
7722 | (PREDICATE_CODES): Adjust. | |
7723 | (PROMOTE_MODE): Adjust. | |
7724 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
7725 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
7726 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
7727 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
7728 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
7729 | (TR0_REG, TR1_REG, TR2_REG): New. | |
7730 | (XD0_REG): Renumber. | |
7731 | (UNSPEC_COMPACT_ARGS): New. | |
7732 | (type): Added pt and ptabs. | |
7733 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
77353e4f | 7734 | and 20 on SHmedia32 and SHmedia64, respectively. |
87e19636 | 7735 | (pt): New function unit. |
7736 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
7737 | Add whitespace between operands of SHmedia instructions. | |
7738 | (movdicc): Fix. | |
7739 | (adddi3_media, addsi3_media): Adjust constraints. | |
7740 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
7741 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
7742 | (udivsi3): Support SHmedia. | |
7743 | (divsi3_i1_media, divsi3_i4_media): New. | |
7744 | (divsi3): Support SHmedia. | |
7745 | (anddi3, iordi3, xordi3): Adjust constraints. | |
7746 | (zero_extendhidi2, zero_extendqidi2): New. | |
7747 | (extendsidi2, extendhidi2, extendqidi2): New. | |
7748 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
7749 | (pop_e, pop_fpul, pop_4): Likewise. | |
7750 | (movsi_media): Support FP and BT registers. | |
7751 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
7752 | (lduw, ldub): Renamed to zero_extend* above. | |
7753 | (movqi_media): Fix typo. | |
7754 | (movdi_media): Support FP and BT registers. | |
7755 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
7756 | (movdi_const_32bit): New. | |
7757 | (shori_media): Require immediate operand. Use `u' for output. | |
7758 | (movdf_media, movsf_media): Simplified. | |
7759 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
7760 | (movdf, movsf): Adjust | |
7761 | (movv2sf, movv2sf, movv16sf): New. | |
7762 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
7763 | scratch BT register. | |
7764 | (bne_media, bne_media_i): Likewise. | |
7765 | (bgt_media, bgt_media_i): Likewise. | |
7766 | (bge_media, bge_media_i): Likewise. | |
7767 | (bgtu_media, bgtu_media_i): Likewise. | |
7768 | (bgeu_media, bgeu_media_i): Likewise. | |
7769 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
7770 | bunordered): Emit jump insn. Force operands to registers when | |
7771 | needed. | |
7772 | (jump_media, jump): Simplify. | |
7773 | (call_compact, call_compact_rettramp): New. | |
7774 | (call_value_compact, call_value_compact_rettramp): New. | |
7775 | (call_media, call_value_media): Simplify. | |
7776 | (sibcall_compact, sibcall_media): New. | |
7777 | (call, call_value): Adjust for SHmedia and SHcompact. | |
7778 | (sibcall, sibcall_value, untyped_call): Likewise. | |
7779 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
7780 | (indirect_jump): Adjust for SHmedia. | |
7781 | (casesi_jump_media): New. | |
7782 | (nop): Re-enable for SHmedia. | |
7783 | (call_site): Restrict to SH1. | |
7784 | (casesi): Adjust for SHmedia. | |
7785 | (casesi_shift_media, casesi_load_media): New. | |
7786 | (return): Explicitly use PR register. Call return trampoline | |
7787 | on SHcompact. | |
7788 | (return_i): Explicitly use PR register. | |
7789 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
7790 | (return_media): Adjust. | |
7791 | (shcompact_incoming_args): New. | |
7792 | (epilogue): Adjust. | |
7793 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
7794 | (movstrsi): Disable on SH5. | |
7795 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
7796 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
7797 | (subsf3, subsf3_media): Likewise. | |
7798 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
7799 | (divsf3, divsf3_media): Likewise. | |
7800 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
7801 | (floatsisf2, fux_truncsfsi2): Likewise. | |
7802 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
7803 | constraints. | |
7804 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
7805 | (cmpunsf_media, cmpsf): Likewise. | |
7806 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
7807 | (abssf2, abssf2_media): Likewise. | |
7808 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
7809 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
7810 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
7811 | (floatsidf2, fix_truncdfsi2): Likewise. | |
7812 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
7813 | constraints. | |
7814 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
7815 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
7816 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
7817 | (absdf2, absdf2_media): Likewise. | |
7818 | (extendsfdf2, extendsfdf2_media): Likewise. | |
7819 | (truncsfdf2, truncsfdf2_media): Likewise. | |
7820 | * config/sh/sh64.h: New file. | |
7821 | * config/sh/t-sh64: New file. | |
7822 | * config/sh/shmedia.h: New file. | |
7823 | * config/sh/ushmedia.h: New file. | |
7824 | * config/sh/sshmedia.h: New file. | |
7825 | * configure.in: Added sh64-*-elf. | |
7826 | * configure: Rebuilt. | |
7827 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
7828 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
7829 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
7830 | (print_operand): Support `%M', `%m', `AND' and | |
7831 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
7832 | (andcosts): Adjust for SHmedia. | |
7833 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
7834 | Likewise. | |
7835 | (target_reg_operand): New function. | |
7836 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
7837 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
7838 | FP registers on SH5. | |
7839 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
7840 | on SH4. | |
7841 | (TARGET_REGISTER_P): New macro. | |
7842 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
7843 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
7844 | (EXTRA_CONSTRAINT_S): New macro. | |
7845 | (EXTRA_CONSTRAINT): Adjust. | |
7846 | (FLOAT_TYPE_SIZE): Define to 32. | |
7847 | (Pmode): DImode on SHmedia. | |
7848 | (CONST_COSTS): Adjust for SHmedia literals. | |
7849 | (PREDICATE_CODES): Added target_reg_operand. | |
7850 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
7851 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
7852 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
7853 | (cmpdi): Accept SHmedia. | |
7854 | (movdicc_false, movdicc_true): New insns. | |
7855 | (movdicc): New expand. | |
7856 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
7857 | no_new_pseudos. | |
7858 | (addsi3_media): Match `S' constraint. | |
7859 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
7860 | (negdi2): Expand for SHmedia. | |
7861 | (one_cmpldi2): New expand. | |
7862 | (zero_extendsidi2): Change from expand to insn. | |
7863 | (extendsidi2): Add constraints. | |
7864 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
7865 | LD/ST address. Fix SI immediate loading split. | |
7866 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
7867 | (movhi, movqi): Accept SHmedia. | |
7868 | (shori_media, movdi_media): Relax input constraints. Split | |
7869 | symbolic constants. | |
7870 | (movdf_media, movsf_media): New insn. New split to movdi. | |
7871 | (movdf, movsf): Match on SHmedia. | |
7872 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
7873 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
7874 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
7875 | (bunordered): New expand. | |
7876 | (jump_compact): Renamed from `jump'. | |
7877 | (jump_media): New insn. | |
7878 | (jump): New expand. | |
7879 | (call_media, call_value_media): New insns. | |
7880 | (call, call_value): Adjust. | |
7881 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
7882 | (indirect_jump_media): New insn. | |
7883 | (indirect_jump): New expand. | |
7884 | (untyped_call, return): Accept SHmedia. | |
7885 | (return_media): New insn. | |
7886 | (prologue, epilogue, blockage): Accept SHmedia. | |
7887 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
7888 | (sunordered): New expand. | |
7889 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
7890 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
7891 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
7892 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
7893 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
7894 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
7895 | abssf2_media): New insns. | |
7896 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
7897 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
7898 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
7899 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
7900 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
7901 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
7902 | absdf2_media): New insns. | |
7903 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
7904 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
7905 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
7906 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
7907 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
7908 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
7909 | * config/sh/sh.md (adddi3): New expand. | |
7910 | (adddi3_media, adddi3z_media): New insns. | |
7911 | (adddi3_compact): Renamed from adddi3. | |
7912 | (addsi3_media): Use add.l r63 to add constant zero. | |
7913 | (subdi3): New expand. | |
7914 | (subdi3_media): New insn. | |
7915 | (subdi3_compact): Renamed from subdi3. | |
7916 | (mulsidi3): New expand. | |
7917 | (mulsidi3_media): New insn. | |
7918 | (mulsidi3_compact): Renamed from mulsidi3. | |
7919 | (umulsidi3): New expand. | |
7920 | (umulsidi3_media): New insn. | |
7921 | (umulsidi3_compact): Renamed from umulsidi3. | |
7922 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
7923 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
7924 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
7925 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
7926 | (zero_extendsidi2): New expand. | |
7927 | (extendsidi2): New insn. | |
7928 | (movsi_media): New insn. Split to movdi to load constants. | |
7929 | (movsi): Enable for shmedia. | |
7930 | (movdi_media): New insn. Use shori_media to load wide constants. | |
7931 | (short_media): New insn. | |
7932 | (movdi): Enable for shmedia. | |
7933 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
7934 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
7935 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
7936 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
7937 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
7938 | to all other SH variants. | |
7939 | (TARGET_DEFAULT): Set to SH1_BIT. | |
7940 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
7941 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
7942 | (MAX_BITS_PER_WORD): Change to 64. | |
7943 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
7944 | (INT_TYPE_SIZE): Keep as 32. | |
7945 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
7946 | (MIN_UNITS_PER_WORD): Keep as 4. | |
7947 | (POINTER_SIZE): Raise to 64 on shmedia. | |
7948 | (CONST_OK_FOR_J): New macro. | |
7949 | (CONST_OK_FOR_LETTER_P): Use it. | |
7950 | (processor_type): Add PROCESSOR_SH5. | |
7951 | * config/sh/sh.md: Conditionalize all expands, insns and | |
7952 | splits to TARGET_SH1. | |
7953 | (cpu): Added sh5. | |
7954 | (addsi3_compact): Renamed from... | |
7955 | (addsi3): Now an expand. | |
7956 | (addsi3_media, subsi3_media): New insns. | |
7957 | (subsi3): Don't negate constants with SHmedia. | |
7958 | ||
e27e52e0 | 7959 | * hooks.c: New file. |
7960 | * hooks.h: New file. | |
7961 | * Makefile.in (HOOKS_H): New. | |
7962 | (TARGET_DEF_H): Added $(HOOKS_H). | |
7963 | (OBJS): Added hooks.o. | |
7964 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
7965 | (hooks.o): Added dependencies. | |
7966 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
7967 | (TARGET_INITIALIZER): this. | |
7968 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
7969 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
7970 | * bb-reorder.c: Include target.h. | |
7971 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
7972 | * cfgcleanup.c: Include target.h. | |
7973 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
7974 | ||
edef0027 | 7975 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
7976 | ||
4fc5f895 | 7977 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
7978 | Protect jump delay slot instructions with .set noreorder and | |
7979 | .set nomacro. | |
edef0027 | 7980 | |
7981 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
47ea8fe4 | 7982 | |
7983 | * config/mips/mips.md (casesi_internal_di): Calculate | |
7984 | the index into the target offset table correctly. | |
7985 | ||
5b1bb114 | 7986 | 2002-02-08 Richard Henderson <rth@redhat.com> |
7987 | ||
7988 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
7989 | * final.c (output_addr_const): Accept and discard SUBREG. | |
7990 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
7991 | mark them unknown instead. | |
7992 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
7993 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
7994 | ||
668e259a | 7995 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
7996 | ||
7997 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
7998 | ||
cd0751f1 | 7999 | 2002-02-08 Richard Henderson <rth@redhat.com> |
8000 | ||
8001 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
8002 | ||
f600b94d | 8003 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
8004 | ||
8005 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
8006 | * config/i386/t-linux64: New file. | |
8007 | ||
64fbdcbf | 8008 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
8009 | ||
8010 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
8011 | * c-parse.in (compstmt): Clear last_expr_type. | |
8012 | ||
d2aa2d17 | 8013 | 2002-02-07 Richard Henderson <rth@redhat.com> |
8014 | ||
8015 | * loop.c (strength_reduce): Sink final_value when not | |
8016 | eliminating a biv. | |
8017 | ||
ea809976 | 8018 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
8019 | ||
8020 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
8021 | ||
088f179c | 8022 | 2002-02-07 Richard Henderson <rth@redhat.com> |
8023 | ||
8024 | * cfgrtl.c: Include recog.h and insn-config.h. | |
8025 | (keep_with_call_p): Fix general_operand invocation. | |
8026 | * Makefile.in (cfgrtl.o): Update dependencies. | |
8027 | ||
c5599633 | 8028 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
8029 | ||
8030 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
8031 | comment. Accept HImode only if TARGET_H8300. | |
8032 | ||
dae05141 | 8033 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
8034 | ||
8035 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
8036 | ||
8037 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
8038 | ||
8039 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
8040 | register 7 as RA instead of $31. | |
8041 | * config/mips/crtn.asm: Ditto. | |
8042 | * config/mips/mips.c (mips_move_2words): Add case for | |
8043 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
8044 | (compute_frame_size): Fix typo. | |
8045 | (save_restore_insns): Ditto. Make documentation about using | |
8046 | register $7 as return register more precise. | |
8047 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
8048 | being able to add to the stack pointer directly. | |
8049 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
8050 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
8051 | epilogue. | |
8052 | ||
f86ef5aa | 8053 | 2002-02-07 Tom Rix <trix@redhat.com> |
8054 | ||
dae05141 | 8055 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
f86ef5aa | 8056 | immediates in ldu and stdu DS opcode field. |
8057 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
8058 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
8059 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
8060 | ||
9b2e8d38 | 8061 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
8062 | ||
8063 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
8064 | offset for stack bias. | |
8065 | ||
bc18a051 | 8066 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
8067 | ||
8068 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
8069 | ||
59a893a8 | 8070 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
8071 | ||
8072 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
8073 | ||
717db2f5 | 8074 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
8075 | ||
8076 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
8077 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
8078 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
8079 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
8080 | ||
9464d436 | 8081 | 2002-02-07 Richard Henderson <rth@redhat.com> |
8082 | ||
303f86ec | 8083 | PR optimization/2463 |
9464d436 | 8084 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
8085 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
8086 | ||
f8a0c1f2 | 8087 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
8088 | ||
8089 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
8090 | length. | |
8091 | ||
db4c0bc2 | 8092 | 2002-02-06 Richard Henderson <rth@redhat.com> |
8093 | ||
8094 | PR c/5609 | |
8095 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
8096 | named and unnamed operands. | |
8097 | ||
56b6134d | 8098 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
8099 | Jan Hubicka <jh@suse.cz> | |
8100 | ||
8101 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
8102 | CONST expression. | |
8103 | ||
8994bd9e | 8104 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
8105 | ||
8106 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
8107 | * config/s390/t-linux64: New file. | |
8108 | * config/s390/libgcc-glibc.ver: New file. | |
8109 | ||
d50213e6 | 8110 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
8111 | ||
8112 | * config/s390/linux64.h: Delete file. | |
8113 | * config/s390/s390x.h: New file. | |
8114 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
8115 | as target header file. | |
8116 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
8117 | DEFAULT_TARGET_64BIT. | |
8118 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
8119 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
8120 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
8121 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
8122 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
8123 | (EXTRA_SPEC): New define. | |
8124 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
8125 | DEFAULT_TARGET_64BIT. | |
8126 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
8127 | ||
af857942 | 8128 | 2002-02-06 Jason Merrill <jason@redhat.com> |
8129 | ||
8130 | * c-decl.c (finish_function): Warn about a non-void function with | |
8131 | no return statement and no abnormal exit. | |
8132 | (current_function_returns_abnormally): New variable. | |
8133 | (start_function): Clear it. | |
8134 | (struct c_language_function): Add returns_abnormally. | |
8135 | (push_c_function_context): Save it. | |
8136 | (pop_c_function_context): Restore it. | |
8137 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
8138 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
8139 | an explicit return type. | |
8140 | * c-tree.h: Declare current_function_returns_abnormally. | |
8141 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
8142 | * c-typeck.c (build_function_call): Set it. | |
8143 | (c_expand_return): Set current_function_returns_value even if the | |
8144 | value is erroneous. | |
8145 | ||
0e62d8da | 8146 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
8147 | ||
8148 | PR c/5420: | |
8149 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
8150 | unsafe for reevaluation. | |
8151 | ||
5fc77c6c | 8152 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
8153 | ||
8154 | PR c/5482: | |
8155 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
8156 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
8157 | ||
9ddc1858 | 8158 | 2002-02-06 Richard Henderson <rth@redhat.com> |
8159 | ||
8160 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
8161 | be a general_operand. Dest for function value must be a pseudo. | |
8162 | ||
a96a05e6 | 8163 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
8164 | ||
8165 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
8166 | as SYMBOL_REFs from the constant pool. | |
8167 | ||
08ba4893 | 8168 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
8169 | ||
8170 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
8171 | passed by invisible reference. | |
8172 | ||
394e2618 | 8173 | 2002-02-05 Richard Henderson <rth@redhat.com> |
8174 | ||
8175 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
8176 | ||
f0b228a5 | 8177 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
8178 | ||
8179 | Implement using "base addresses" in insn operands as default. | |
8180 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
8181 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
8182 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
8183 | used to read the rtx value. | |
8184 | (mmix_target_asm_function_epilogue): Fix spacing. | |
8185 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
8186 | (mmix_legitimate_address): Ditto. | |
8187 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
8188 | should be loaded with a GETA insn. Don't allocate needless extra | |
8189 | char for nul termination and fix misleading comment. | |
8190 | (mmix_print_operand_address): Handle constants if | |
8191 | TARGET_BASE_ADDRESSES. | |
8192 | (mmix_output_register_setting): Use base addressing if | |
8193 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
8194 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
8195 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
8196 | to use R as constraint, add LDA to match s. | |
8197 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
8198 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
8199 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
8200 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
8201 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
8202 | order with other fixed registers. | |
8203 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
8204 | other parameter/call-clobbered registers. | |
8205 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
8206 | -mbase-addresses, -mno-base-addresses. | |
8207 | (MMIX Options): Ditto. | |
8208 | ||
55bfeac3 | 8209 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8210 | ||
8211 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
8212 | ||
aac0536f | 8213 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
8214 | ||
4fc5f895 | 8215 | * config/rs6000/altivec.h: Change elem to _S_elem. |
aac0536f | 8216 | |
788aa53e | 8217 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
8218 | ||
8219 | * config/netbsd.h (WCHAR_TYPE): Define. | |
8220 | (WCHAR_TYPE_SIZE): Ditto. | |
8221 | (WINT_TYPE): Ditto. | |
8222 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
8223 | (WCHAR_UNSIGNED): Ditto. | |
8224 | (WCHAR_TYPE_SIZE): Ditto. | |
8225 | (WINT_TYPE): Ditto. | |
8226 | * config/arm/netbsd.h: Likewise. | |
8227 | * config/i386/netbsd-elf.h: Likewise. | |
8228 | * config/i386/netbsd.h: Likewise. | |
8229 | * config/m68k/netbsd-elf.h: Likewise. | |
8230 | * config/m68k/netbsd.h: Likewise. | |
8231 | * config/ns32k/netbsd.h: Likewise. | |
8232 | * config/sparc/netbsd.h: Likewise. | |
8233 | * config/vax/netbsd.: Likewise. | |
8234 | ||
f04f096b | 8235 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
8236 | ||
8237 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
8238 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
8239 | (TARGET_INITIALIZER): this. | |
8240 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
8241 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
8242 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
8243 | (record_layout_info): Added prev_field. | |
8244 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
8245 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
8246 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
8247 | * stor-layout.c: Include target.h. | |
8248 | (start_record_layout): Initialize prev_field. | |
8249 | (place_field): Handle MS bit-field layout, and disregard | |
8250 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
8251 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
8252 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
8253 | ||
c6d86b63 | 8254 | 2002-02-05 Jason Merrill <jason@redhat.com> |
8255 | ||
c6d86b63 | 8256 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
8257 | ||
71fcebb2 | 8258 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
8259 | ||
8260 | * crtstuff.c: Fix comments. | |
8261 | ||
0a8301be | 8262 | 2002-02-05 Richard Henderson <rth@redhat.com> |
8263 | ||
115bceb9 | 8264 | PR fortran/3393 |
8265 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
8266 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
8267 | ||
0a8301be | 8268 | PR fortran/3392 |
8269 | * config/mips/mips.c (function_arg): Handle TImode. | |
8270 | (function_arg_advance): Likewise. | |
8271 | ||
6ec6ead4 | 8272 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
8273 | ||
c6d86b63 | 8274 | * config/rs6000/altivec.h (vec_step_help): Rename to |
8275 | __vec_step_help. | |
6ec6ead4 | 8276 | |
78bab5bb | 8277 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
8278 | ||
c6d86b63 | 8279 | * config/rs6000/altivec.h: Fix typos. |
78bab5bb | 8280 | |
7c9e4aae | 8281 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
8282 | ||
8283 | * config/arm/netbsd.h: Correct a comment. | |
8284 | ||
391c48ec | 8285 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
8286 | ||
c6d86b63 | 8287 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
8288 | building void typed builtins. | |
391c48ec | 8289 | |
c6d86b63 | 8290 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
8291 | (vec_step): Implement for C++. | |
391c48ec | 8292 | |
c6d86b63 | 8293 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
0d3c91d4 | 8294 | |
8295 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
8296 | ||
842e01df | 8297 | 2002-02-04 Richard Henderson <rth@redhat.com> |
8298 | ||
8299 | * combine.c (nonzero_bits): Re-introduce special case for | |
8300 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
8301 | ||
15e5a1c8 | 8302 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
8303 | ||
c6d86b63 | 8304 | * doc/extend.texi: Warn about unsupported usage of altivec |
8305 | builtins. | |
15e5a1c8 | 8306 | |
c6d86b63 | 8307 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
8308 | (altivec_predicate_*): New. | |
15e5a1c8 | 8309 | |
c6d86b63 | 8310 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
8311 | Add C++ version of vec_*() functions. | |
15e5a1c8 | 8312 | |
c6d86b63 | 8313 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
8314 | (bdesc_2arg): Remove altivec predicates. | |
8315 | (altivec_expand_builtin): Handle predicates. | |
8316 | (altivec_init_builtins): Handle predicates. | |
8317 | (altivec_expand_predicate_builtin): New. | |
15e5a1c8 | 8318 | |
6a2c16d6 | 8319 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8320 | ||
8321 | * pa.c (DO_FRAME_NOTES): Move forward. | |
8322 | (store_reg): Revise handling of frame notes. | |
8323 | (load_reg): Likewise. | |
8324 | (set_reg_plus_d): Likewise. | |
8325 | (hppa_expand_prologue): Likewise. | |
8326 | (hppa_expand_epilogue): Likewise. | |
dae05141 | 8327 | |
8f248ced | 8328 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8329 | ||
8330 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
8331 | ||
79dc3b8e | 8332 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
8333 | ||
8334 | PR c/4475, c++/3780: | |
8335 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
8336 | * c-common.h (SWITCH_TYPE): Define. | |
8337 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
8338 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
8339 | Rename spareness variable to sparseness. | |
8340 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
8341 | if non-NULL instead of TREE_TYPE (orig_index). | |
8342 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
8343 | (expand_end_case): Define using expand_end_case_type. | |
8344 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
8345 | to expand_end_case_type. | |
8346 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
8347 | ||
5c56a3a9 | 8348 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8349 | ||
8350 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
8351 | (BIGGEST_ALIGNMENT): Change to 128. | |
8352 | ||
ac5c955b | 8353 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8354 | ||
8355 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
8356 | ||
39bf1bf0 | 8357 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8358 | ||
8359 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
8360 | ||
71904594 | 8361 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
8362 | ||
8363 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
8364 | field. | |
4fc5f895 | 8365 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
71904594 | 8366 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
4fc5f895 | 8367 | replace uses with cfun->machine->uses_anonymous_args. |
8368 | (arm_reorg): Do not reset uses_anonymous_args. | |
71904594 | 8369 | |
8370 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
8371 | any geenral register. | |
dae05141 | 8372 | |
9e8503e6 | 8373 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
76cc9616 | 8374 | |
8375 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
8376 | the entry block. | |
8377 | ||
04a917bf | 8378 | 2002-02-04 Richard Henderson <rth@redhat.com> |
8379 | ||
8380 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
8381 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
8382 | REGNO_POINTER_ALIGN. | |
8383 | ||
8384 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
8385 | (HARD_FRAME_POINTER_REGNUM): New. | |
8386 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
8387 | (FIXED_REGS, CALL_USED_REGS): Update. | |
8388 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
8389 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
8390 | (HARD_REGNO_NREGS): Update for SFP. | |
8391 | (STACK_POINTER_OFFSET): Include bias here ... | |
8392 | (FIRST_PARM_OFFSET): ... not here. | |
8393 | (STACK_BIAS): Remove. | |
8394 | (INIT_EXPANDERS): New. | |
8395 | (STARTING_FRAME_OFFSET): Do not include bias. | |
8396 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
8397 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
8398 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
8399 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
8400 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
8401 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
8402 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
8403 | (MUST_SAVE_REGISTER): Likewise. | |
8404 | (sparc_flat_function_prologue): Likewise. | |
8405 | (sparc_flat_function_epilogue): Likewise. | |
8406 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
8407 | (sparc_init_modes): SFP is GENERAL_REGS. | |
8408 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
8409 | ||
961d6ddd | 8410 | 2002-02-04 Richard Henderson <rth@redhat.com> |
8411 | ||
8412 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
8413 | current_function_is_thunk. | |
8414 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
8415 | called from ASM_OUTPUT_MI_THUNK and not. | |
8416 | (alpha_does_function_need_gp): Thunks always need gp. | |
8417 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
8418 | (alpha_output_mi_thunk_osf): New. | |
8419 | * config/alpha/alpha-protos.h: Update. | |
8420 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
8421 | ||
43674c99 | 8422 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
8423 | ||
8424 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
8425 | function types, not when they're taken away. | |
8426 | ||
869fe49e | 8427 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
8428 | ||
8429 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
8430 | CODE_LABEL and jump table when replacing a table jump with a | |
8431 | simple jump. | |
8432 | ||
64f977d6 | 8433 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8434 | ||
8435 | * config/s390/s390-protos.h (legitimize_la_operand, | |
8436 | s390_secondary_input_reload_class, s390_plus_operand, | |
8437 | s390_expand_plus_operand): Add prototypes. | |
8438 | ||
8439 | config/s390/s390.c (s390_secondary_input_reload_class, | |
8440 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
8441 | ||
8442 | (struct s390_address): New member 'pointer'. | |
8443 | (s390_decompose_address): Compute it. | |
8444 | (legitimate_la_operand_p): Use it. | |
8445 | (legitimize_la_operand): New function. | |
8446 | (movti, movdi, movdf splitters): Call it. | |
8447 | ||
8448 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
8449 | (PREDICATE_CODES): Add s390_plus_operand. | |
8450 | ||
8451 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
8452 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
8453 | ||
8454 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
8455 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
8456 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
8457 | ||
b442c5a9 | 8458 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8459 | ||
8460 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
8461 | register names for regular asm () construct. | |
8462 | ||
03ce3f23 | 8463 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
8464 | ||
8465 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
8466 | registers. | |
8467 | ||
c679a3d3 | 8468 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
8469 | ||
8470 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
8471 | pat for recog. | |
8472 | ||
5d9a3aea | 8473 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
8474 | ||
4fc5f895 | 8475 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
8476 | constant pool to be identical by string address and index. | |
5d9a3aea | 8477 | |
2ab08d57 | 8478 | 2002-02-04 Anthony Green <green@redhat.com> |
8479 | ||
8480 | * output.h (SECTION_OVERRIDE): Define. | |
8481 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
8482 | ||
f470dade | 8483 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
8484 | ||
8485 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
8486 | by existing arm*-*-netbsd* (a.out) target. | |
8487 | (ns32k-*-netbsdelf*): Likewise. | |
8488 | (sparc-*-netbsdelf*): Likewise. | |
8489 | (vax-*-netbsdelf*): Likewise. | |
8490 | ||
5a1890fd | 8491 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
61dcce9c | 8492 | |
8493 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
8494 | headers and libobjc headers. | |
8495 | ||
8496 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
8497 | ||
8498 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
8499 | (_mingw.h): Remove duplicate include. | |
8500 | ||
124c3198 | 8501 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
8502 | ||
8503 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
8504 | (m68010-*-netbsdelf*): New... | |
8505 | (m68k*-*-netbsdelf*): ...targets. | |
8506 | * config/m68k/netbsd-elf.h: New file. | |
8507 | ||
70a21926 | 8508 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
8509 | ||
8510 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
8511 | ||
1592a00c | 8512 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
8513 | ||
8514 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
8515 | h8300_init_once. | |
8516 | (h8_pop_ops): Likewise. | |
8517 | (h8_move_ops): Likewise. | |
8518 | ||
8ba450ad | 8519 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
8520 | ||
8521 | * config/h8300/h8300.c (os_task): Make it static. | |
8522 | (monitor): Likewise. | |
8523 | (pragma_saveall): Likewise. | |
8524 | ||
78464229 | 8525 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
8526 | ||
8527 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
8528 | constant is a valid sign-extension for Pmode. | |
8529 | ||
ded3e58c | 8530 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
8531 | ||
8532 | * config/h8300/h8300.c: Fix formatting. | |
8533 | ||
5eb937e3 | 8534 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
8535 | ||
8536 | * config/h8300/h8300.md: Fix formatting. | |
8537 | ||
d43b4593 | 8538 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
8539 | ||
8540 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
8541 | predicates of operands[1]. Split the patterns for each | |
8542 | processor variant. | |
8543 | ||
1177de69 | 8544 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
8545 | ||
8546 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
8547 | of operands[1] to register_operand. | |
8548 | ||
537c4bc6 | 8549 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
8550 | ||
8551 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
8552 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
8553 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
8554 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
8555 | (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. | |
8556 | (cpp_handle_option): Handle the new options. | |
8557 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
8558 | * cpplib.h (struct cpp_options): New member signed_char. | |
8559 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
8560 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
8561 | (static_specs): Remove signed_char_spec. | |
8562 | (do_spec1): Don't handle %c. | |
8563 | * system.h: Poison SIGNED_CHAR_SPEC. | |
8564 | * tradcif.y (yylex): Use flag_signed_char. | |
8565 | * tradcpp.h (flag_signed_char): New. | |
8566 | * tradcpp.c (flag_signed_char): New. | |
8567 | (main): Handle new command-line options. | |
8568 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
8569 | config: | |
8570 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
8571 | * avr/avr.h: Remove old comments. | |
8572 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
8573 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
8574 | (SIGNED_CHAR_SPEC): Remove. | |
8575 | doc: | |
8576 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
8577 | ||
a4b726cb | 8578 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
8579 | ||
8580 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
8581 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
8582 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
8583 | (ASM_OUTPUT_REG_POP): Ditto. | |
8584 | ||
b9d8dcc9 | 8585 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
8586 | ||
8587 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
8588 | patch. | |
8589 | ||
ca29ad57 | 8590 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
8591 | ||
8592 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
8593 | ||
4d6ffac5 | 8594 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
8595 | ||
8596 | PR c/5304: | |
8597 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
8598 | unconditionally. | |
8599 | ||
6f14033a | 8600 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
8601 | ||
8602 | * cfganal.c: Include tm_p.h. | |
8603 | (keep_with_call_p): Fix the test that determines if a register holds | |
8604 | the return value of a call. | |
8605 | ||
c3479b10 | 8606 | 2002-02-01 DJ Delorie <dj@redhat.com> |
8607 | ||
8608 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
8609 | we are given conflicting registers, switch to the other one we | |
8610 | had allocated for us. | |
8611 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
8612 | as TImode so we know when the "other" register is available. | |
8613 | ||
11ce0f1a | 8614 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
8615 | ||
8616 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
8617 | sparc/sparc_bi.h. | |
8618 | ||
e3e0e46a | 8619 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
8620 | ||
8621 | * cfganal.c (keep_with_call_p): New function. | |
8622 | (flow_call_edges_add): Prevent splitting a block between a call and | |
8623 | a single-set instruction that should be kept in the same block. | |
8624 | ||
f86664e6 | 8625 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8626 | ||
8627 | * doc/install.texi (avr): Update outdated URL. | |
8628 | ||
00d49f5c | 8629 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
8630 | ||
4fc5f895 | 8631 | * config/stormy16/stormy16.md (pushqi): New. |
8632 | (popqi): New. | |
8633 | (pushhi): New. | |
8634 | (pophi): New. | |
8635 | (movhi): Remove stack operands. | |
8636 | (movqi): Likewise. | |
8637 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
8638 | nonimmediate_nonstack_operand. | |
8639 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
8640 | New. | |
8641 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
8642 | New. | |
00d49f5c | 8643 | |
86172eb0 | 8644 | 2002-01-31 Jason Merrill <jason@redhat.com> |
8645 | ||
8646 | * Makefile.in (c-parse.c): Handle .output file. | |
8647 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
8648 | ||
557acce7 | 8649 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
8650 | ||
8651 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
8652 | the -me[lb] option is given. Don't output the default flag | |
8653 | twice. | |
8654 | ||
e62fd7d5 | 8655 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
8656 | ||
8657 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
8658 | the primary source file; this has not been done yet. | |
8659 | * c-decl.c (c_expand_body): Reset input_filename from | |
8660 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
8661 | ||
ebcd99ea | 8662 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
8663 | ||
8664 | * rtlanal.c (subreg_regno_offset): Do not use | |
8665 | SUBREG_REGNO_OFFSET. | |
8666 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
8667 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
8668 | ||
4fbea729 | 8669 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
8670 | ||
8671 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
8672 | version rather than GNATS version in --version output. | |
8673 | ||
a186b63f | 8674 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
8675 | ||
8676 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
8677 | when copying back from a temporary. | |
8678 | ||
13b07dab | 8679 | 2002-01-30 Richard Henderson <rth@redhat.com> |
8680 | ||
8681 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
8682 | and new_dest are the same. | |
8683 | ||
cab14df7 | 8684 | 2002-01-30 Richard Henderson <rth@redhat.com> |
8685 | ||
610cfb01 | 8686 | PR opt/5076 |
cab14df7 | 8687 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
8688 | * rtl.c (note_insn_name): Update. | |
8689 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
8690 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
8691 | to perform loop rotation. | |
8692 | (expand_exit_loop_top_cond): New. | |
8693 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
8694 | * c-semantics.c (genrtl_while_stmt): Use it. | |
8695 | (genrtl_for_stmt): Likewise. | |
8696 | ||
fe701bb3 | 8697 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
8698 | ||
8699 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
8700 | arguments to 64-bit boundaries on 64-bit ABIs. | |
8701 | ||
930cea6a | 8702 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
8703 | ||
8704 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
8705 | ||
b36e470a | 8706 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
8707 | ||
8708 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
8709 | invalid type. | |
8710 | ||
74b68692 | 8711 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
8712 | ||
8713 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
8714 | * config/sparc/sparc_bi.h: Remove file. | |
8715 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
8716 | ||
501793e3 | 8717 | 2002-01-30 Richard Henderson <rth@redhat.com> |
8718 | ||
8719 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
8720 | ||
deab2811 | 8721 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
8722 | ||
8723 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
8724 | ||
86172eb0 | 8725 | 2002-01-30 Jason Merrill <jason@redhat.com> |
15a56411 | 8726 | |
8727 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
8728 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
8729 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
8730 | ||
8731 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
8732 | ||
d0bfd0b5 | 8733 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
8734 | ||
8735 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
8736 | in cselib_lookup. | |
8737 | ||
7ab8705d | 8738 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
8739 | ||
e62fd7d5 | 8740 | * rs6000.md ("*call_value_local32"): Remove constraints. |
8741 | ("*call_value_local64"): Same. | |
8742 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
8743 | ("*call_value_nonlocal_aix32"): Same. | |
8744 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
8745 | ("*call_value_nonlocal_aix64"): Same. | |
8746 | ("*call_value_nonlocal_sysv"): Same. | |
7ab8705d | 8747 | |
d392c121 | 8748 | 2002-01-29 Richard Henderson <rth@redhat.com> |
8749 | ||
8750 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
8751 | ||
41828ba0 | 8752 | 2002-01-29 Richard Henderson <rth@redhat.com> |
8753 | ||
8754 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
8755 | address loads. | |
8756 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
8757 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
8758 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
8759 | instead of open-coded loop. | |
8760 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
8761 | be fixed when in use. | |
8762 | ||
d922644a | 8763 | 2002-01-29 Richard Henderson <rth@redhat.com> |
8764 | ||
8765 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
8766 | * sched-rgn.c (propagate_deps): Update them. | |
8767 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
8768 | clobbers list when either gets too long. | |
8769 | ||
c0a5a33a | 8770 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
8771 | ||
8772 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
8773 | and INDEX_REGS the same as GENERAL_REGS. | |
8774 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
8775 | ||
c74ee641 | 8776 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
8777 | ||
e62fd7d5 | 8778 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
c74ee641 | 8779 | |
66a63c5b | 8780 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
8781 | ||
e62fd7d5 | 8782 | * config/s390/s390.md (movstrsico, movstrdix_64, |
66a63c5b | 8783 | movstrsix_31): Remove, replace by ... |
e62fd7d5 | 8784 | (movstrdi_short, movstrsi_short, movstrdi_long, |
66a63c5b | 8785 | movstrsi_long): ... these. New. |
8786 | (movstrdi, movstrsi): Adapt. | |
8787 | ||
8788 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
e62fd7d5 | 8789 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
66a63c5b | 8790 | Remove unnecessary CC clobber. |
8791 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
8792 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
8793 | ||
8794 | (divmoddi4): Don't partially initialize TImode register. | |
8795 | ||
4433ec51 | 8796 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
8797 | ||
8798 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
8799 | ||
a9d18fe1 | 8800 | 2002-01-29 Richard Henderson <rth@redhat.com> |
8801 | ||
8802 | * flow.c (print_rtl_and_abort): Remove. | |
8803 | (print_rtl_and_abort_fcn): Remove. | |
8804 | (verify_local_live_at_start): Use dump_bb instead. | |
8805 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
8806 | (verify_wide_reg_1): Return 2 on mode test failure. | |
8807 | ||
c0d30539 | 8808 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
8809 | ||
8810 | PR c/3325, c/3326, c/2511, c/3347 | |
8811 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
8812 | (grokdeclarator): Take bitfield width as an input. | |
8813 | Ensure bitfields are given the correct type. Perform | |
8814 | bitfield width validation with build_bitfield_integer_type | |
8815 | rather than waiting for finish_struct. | |
8816 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
8817 | push_parmdecl, grokfield, start_function): Update calls to | |
8818 | grokdeclarator. | |
8819 | (build_bitfield_integer_type): New function. | |
8820 | (finish_struct): Move bitfield validation to grokdeclarator | |
e62fd7d5 | 8821 | and build_bitfield_integer_type. |
c0d30539 | 8822 | * tree.c (build_nonstandard_integer_type): New function. |
8823 | * tree.h (build_nonstandard_integer_type): New prototype. | |
8824 | objc: | |
8825 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
8826 | ||
a182c763 | 8827 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
8828 | ||
8829 | PR other/1502: | |
8830 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
8831 | don't ignore unrecognized -W* options. | |
8832 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
8833 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
8834 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
8835 | cpp_handle_option. | |
8836 | ||
8837 | PR c/2896: | |
8838 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
8839 | (cpp_options): Source cpp_unique_options. | |
8840 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
8841 | when used together with cc1_options. | |
8842 | (static_specs): Add cpp_unique_options. | |
8843 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
8844 | when used together with cc1_options. | |
8845 | ||
8aaeb4a6 | 8846 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
8847 | ||
8848 | * config/h8300/h8300-protos.h: Update the prototype of | |
8849 | output_a_shift. | |
8850 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
8851 | argument 'insn'. Remove redundant code. | |
8852 | * config/h8300/h8300.md: Adust to the new prototype of | |
8853 | output_a_shift. | |
8854 | ||
efb83474 | 8855 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
8856 | ||
8857 | * config/h8300/h8300-protos.h: Update the prototypes of | |
8858 | emit_a_rotate and expand_a_rotate. | |
8859 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
8860 | first argument to 'enum rtx_code'. | |
8861 | (expand_a_rotate): Likewise. | |
8862 | ||
909c9c5c | 8863 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
8864 | ||
8865 | * config/h8300/h8300-protos.h: Update the prototype of | |
8866 | output_simode_bld. | |
8867 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
8868 | 'log2'. | |
8869 | * config/h8300/h8300.md: Adjust to the new prototype. | |
8870 | ||
6f04daec | 8871 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
8872 | ||
8873 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
8874 | redundant code. | |
8875 | ||
6ea47475 | 8876 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8877 | ||
8878 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
8879 | is a fixed register before returning pic_offset_table_rtx. | |
8880 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
8881 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
8882 | ||
6bb7c2f2 | 8883 | 2002-01-28 Jason Merrill <jason@redhat.com> |
8884 | ||
15a56411 | 8885 | * dwarf2.h: Sync with src version. |
6bb7c2f2 | 8886 | |
82086392 | 8887 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
8888 | ||
8889 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
8890 | BT_FN_VOID_PTR_VAR. | |
8891 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
8892 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
8893 | first argument is now const void ptr. | |
8894 | ||
f60573c8 | 8895 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
8896 | ||
8897 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
8898 | ||
4d859885 | 8899 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
8900 | ||
8901 | * toplev.c (lang_independent_init): Round up identifier size. | |
8902 | ||
87a1ff8e | 8903 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
8904 | ||
8905 | * config.gcc: Revert previous change. | |
8906 | ||
061404a6 | 8907 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
8908 | ||
8909 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
8910 | ||
d02da15e | 8911 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
8912 | ||
8913 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
8914 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
8915 | other non-elf netbsd config frags. | |
8916 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
8917 | collect2 will does that. | |
8918 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
8919 | shared-lib frobbing will work. | |
8920 | ||
70a7518f | 8921 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
8922 | ||
8923 | * config/h8300/h8300.h: Fix formatting. | |
8924 | * config/h8300/h8300.md: Likewise. | |
8925 | ||
68d0517a | 8926 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
8927 | ||
8928 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
8929 | the old, removed AAA_standards fix. | |
8930 | * fixinc/fixincl.x: Rebuilt. | |
8931 | ||
25fe8b9e | 8932 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
8933 | ||
8934 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
8935 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
8936 | register EH before registering __fini__start. | |
8937 | ||
abaff6c6 | 8938 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
8939 | ||
8940 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
8941 | ||
dc0fa99c | 8942 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
8943 | ||
8944 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
8945 | with ones that work. | |
8946 | ||
981336a3 | 8947 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8948 | ||
8949 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
8950 | if not STRICT_ALIGNMENT. | |
8951 | * rtl.h (MEM_ALIGN): Likewise. | |
8952 | ||
9e1e55c2 | 8953 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8954 | ||
8955 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
8956 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
8957 | ||
478a0ee2 | 8958 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
8959 | ||
8960 | * config/h8300/h8300.md (define_constants): New. | |
8961 | (anonymous patterns) Use defined constants appropriately. | |
8962 | ||
60ff2ea8 | 8963 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
8964 | ||
8965 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
8966 | ||
5deaeb50 | 8967 | 2002-01-26 Richard Henderson <rth@redhat.com> |
8968 | ||
8969 | * sched-deps.c (reg_pending_uses_head): New. | |
8970 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
8971 | (find_insn_list): Don't mark inline. | |
8972 | (find_insn_mem_list): Remove. | |
8973 | (add_dependence_list, add_dependence_list_and_free): New. | |
8974 | (flush_pending_lists): Replace only_write param with separate | |
8975 | for_read and for_write parameters. Update all callers. Use | |
8976 | add_dependence_list_and_free. | |
8977 | (sched_analyze_1): Do not add reg dependencies here; just set | |
8978 | the pending bits. Use add_dependence_list. | |
8979 | (sched_analyze_2): Likewise. | |
8980 | (sched_analyze_insn): Replace schedule_barrier_found with | |
8981 | reg_pending_barrier. Add all dependencies for pending reg | |
8982 | uses, sets, and clobbers. | |
8983 | (sched_analyze): Don't add reg dependencies for calls, just | |
8984 | set pending bits. Use regs_invalidated_by_call. Treat | |
8985 | sched_before_next_call as a normal list, not a fake insn. | |
8986 | (init_deps): No funny init for sched_before_next_call. | |
8987 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
8988 | (init_deps_global): Init reg_pending_uses. | |
8989 | (finish_deps_global): Free it. | |
8990 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
8991 | (find_insn_mem_list): Remove. | |
8992 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
8993 | (propagate_deps): Use them. Zero temp mem lists. | |
8994 | ||
e1ff7102 | 8995 | 2002-01-26 Richard Henderson <rth@redhat.com> |
8996 | ||
8997 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
8998 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
8999 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
9000 | crtstuff.c instead of alpha assembly version. | |
9001 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
9002 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
9003 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
9004 | (__do_global_dtors_aux): Mark used. | |
9005 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
9006 | (fini_dummy, init_dummy): Remove. | |
9007 | ||
9008 | * config/alpha/crtbegin.asm: Remove file. | |
9009 | * config/alpha/crtend.asm: Remove file. | |
9010 | * config/alpha/t-crtbe: Remove file. | |
9011 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
9012 | (LINK_EH_SPEC): New. | |
9013 | ||
9014 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
9015 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
9016 | calling constructors. | |
9017 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
9018 | ||
9019 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
9020 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
9021 | CRT_END_INIT_DUMMY hack. | |
9022 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
9023 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
9024 | ||
9025 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
9026 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
9027 | ||
9028 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
9029 | invocation sequence. | |
9030 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
9031 | ||
9032 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
9033 | (FORCE_CODE_SECTION_ALIGN): New. | |
9034 | ||
82d8cc5a | 9035 | 2002-01-26 Richard Henderson <rth@redhat.com> |
9036 | ||
9037 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
9038 | ||
5aae9d06 | 9039 | 2002-01-26 Richard Henderson <rth@redhat.com> |
9040 | ||
9041 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
9042 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
9043 | ||
4de8ccba | 9044 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
9045 | ||
9046 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
9047 | cannot be triggered. | |
9048 | Restrict each bit extraction pattern to a variant on which the | |
9049 | pattern is tested. | |
9050 | ||
dc64c56d | 9051 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
9052 | ||
9053 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
9054 | ||
6e548a60 | 9055 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
9056 | ||
9057 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
9058 | be triggered. | |
9059 | Restrict each bit test pattern to a variant on which the | |
9060 | pattern is tested. | |
9061 | ||
b527e67e | 9062 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9063 | ||
9064 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
9065 | INTEGER_CST. | |
9066 | ||
cbe0a0fe | 9067 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
9068 | ||
9069 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
9070 | default setting. | |
9071 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
9072 | existing setting. | |
9073 | ||
aae061fd | 9074 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
9075 | ||
9076 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
9077 | stripping off the first character. | |
9078 | (dbxout_source_file): Likewise. | |
9079 | ||
7f63e91b | 9080 | 2002-01-25 DJ Delorie <dj@redhat.com> |
9081 | ||
9082 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
9083 | using rtx_equal_p, not by comparing pointers. | |
9084 | ||
52bcea50 | 9085 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
9086 | ||
9087 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
9088 | for PIC_OFFSET_TABLE_REGNUM. | |
9089 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
9090 | ||
a8456aba | 9091 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
9092 | ||
9093 | * config.gcc (x86_64-*-freebsd*): New target. | |
9094 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
9095 | value. | |
9096 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
9097 | * config/i386/freebsd64.h: New file. | |
9098 | ||
ffe38693 | 9099 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
9100 | ||
7531c549 | 9101 | * config/alpha/x-vms (version): Make static. |
9102 | ||
9103 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
9104 | in previous checkin. | |
9105 | ||
ffe38693 | 9106 | * Makefile.in (install-headers-cp): New target. |
9107 | * config.gcc (alpha-dec-*vms*): Install headers with | |
9108 | install-headers-cp | |
9109 | ||
4aa863f8 | 9110 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
9111 | ||
9112 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
9113 | avoid it's copies. | |
9114 | ||
df5c389e | 9115 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9116 | ||
9117 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
9118 | of compare_tree_int. | |
9119 | (expand_builtin_strncat): Likewise. | |
9120 | * c-decl.c (finish_struct): Use tree_low_cst. | |
9121 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
9122 | * tree.c (compare_tree_int): Likewise. | |
9123 | ||
79ed0259 | 9124 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
9125 | ||
9126 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
9127 | adjustments even if they are implemented by more than two insns. | |
9128 | ||
992c7138 | 9129 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
9130 | ||
df5c389e | 9131 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
992c7138 | 9132 | * df.h (struct ref): Kill B. |
9133 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
9134 | ||
9135 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
9136 | * flow.c (propagate_one_insn): Use it. | |
9137 | (mark_used_regs): Handle NIL. | |
9138 | ||
b193f2d5 | 9139 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
ed0da988 | 9140 | |
9141 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
9142 | to help folding. | |
9143 | ||
85f6e5ea | 9144 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
9145 | ||
9146 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
9147 | is restricted to legitimate form for instruction. | |
9148 | ||
6b989ab5 | 9149 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
9150 | ||
9151 | * doc/install.texi (xtensa-*-elf): New target. | |
9152 | (xtensa-*-linux*): New target. | |
9153 | * doc/contrib.texi: Add myself. | |
9154 | ||
26edf9fb | 9155 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
9156 | ||
9157 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
9158 | purpose register to hold an SImode (or smaller) value. | |
9159 | ||
3cfa3aba | 9160 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
9161 | ||
9162 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
9163 | registry only. | |
9164 | * crtstuff.c: Likewise. | |
9165 | ||
8250ae22 | 9166 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
9167 | ||
9168 | * config/h8300/h8300.md (negation patterns): Tighten | |
9169 | predicates to register_operand. | |
9170 | ||
ad12b905 | 9171 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
9172 | ||
82086392 | 9173 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
9174 | mode, not Pmode. | |
ad12b905 | 9175 | |
82086392 | 9176 | * builtins.c (expand_builtin_prefetch): Same. |
ad12b905 | 9177 | |
a50d3fba | 9178 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
9179 | ||
9180 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
9181 | modes. | |
9182 | ||
ecaf06e1 | 9183 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
9184 | ||
9185 | * config/h8300/h8300.c (print_operand): Remove support for | |
9186 | operand character 'A'. | |
9187 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
9188 | operand character 'A' with either 'T' or 'S'. | |
9189 | ||
1cb1d235 | 9190 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
9191 | ||
9192 | * config/h8300/h8300.c (print_operand): Remove support for | |
9193 | operand character 'U'. | |
9194 | ||
2160b914 | 9195 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
9196 | ||
82086392 | 9197 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
2160b914 | 9198 | |
6105c88b | 9199 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
9200 | ||
9201 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
9202 | values to be assigned to the stack pointer. | |
9203 | ||
06ca573a | 9204 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
9205 | ||
e62fd7d5 | 9206 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
06ca573a | 9207 | to const_double needs to be done right for big-endian systems. |
9208 | ||
330fd4e6 | 9209 | 2002-01-24 Jason Merrill <jason@redhat.com> |
9210 | ||
a38bc69a | 9211 | PR c++/2432 |
330fd4e6 | 9212 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
9213 | to can_throw_internal. | |
9214 | ||
9fb436bb | 9215 | 2002-01-23 Richard Henderson <rth@redhat.com> |
9216 | ||
9217 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
9218 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
9219 | ||
2810aad4 | 9220 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
9221 | ||
9222 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
9223 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
9224 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
9225 | as a temporary, if possible. | |
9226 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
9227 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
9228 | ||
8d2755f8 | 9229 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
9230 | ||
9231 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
9232 | accept to accept 0x80 as operands[2]. | |
9233 | ||
c3b0d92f | 9234 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
9235 | ||
9236 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
9237 | ||
20044aeb | 9238 | 2002-01-23 Richard Henderson <rth@redhat.com> |
9239 | ||
9240 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
9241 | ||
bc3195ce | 9242 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
9243 | ||
82086392 | 9244 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
9245 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
9246 | an attribute. | |
bc3195ce | 9247 | |
e1855348 | 9248 | 2002-01-23 Richard Henderson <rth@redhat.com> |
9249 | ||
9250 | * expr.c (move_by_pieces_1): Extend size before negation. | |
9251 | ||
a9ef3391 | 9252 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
9253 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
9254 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
9255 | * config/m68k/t-m68kelf: Likewise. | |
9256 | ||
f6b7ba2b | 9257 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
9258 | ||
9259 | * config/xtensa/elf.h: New file. | |
9260 | * config/xtensa/lib1funcs.asm: New file. | |
9261 | * config/xtensa/lib2funcs.S: New file. | |
9262 | * config/xtensa/linux.h: New file. | |
9263 | * config/xtensa/t-xtensa: New file. | |
9264 | * config/xtensa/xtensa-config.h: New file. | |
9265 | * config/xtensa/xtensa-protos.h: New file. | |
9266 | * config/xtensa/xtensa.c: New file. | |
9267 | * config/xtensa/xtensa.h: New file. | |
9268 | * config/xtensa/xtensa.md: New file. | |
9269 | * config.gcc (xtensa-*-elf*): New target. | |
9270 | (xtensa-*-linux*): New target. | |
9271 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
9272 | numbers. This is required for the Xtensa port. | |
9273 | * integrate.c (copy_insn_list): Handle case where the static | |
9274 | chain is in memory and the memory address has to be copied to | |
9275 | a register. | |
9276 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
9277 | (Xtensa Options): New node. | |
9278 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
9279 | ||
5601fc98 | 9280 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
9281 | ||
fab1c3fb | 9282 | * diagnostic.c (internal_error): Do ICE suppression only |
9283 | when ENABLE_CHECKING is not defined. | |
9284 | ||
5601fc98 | 9285 | * c-typeck.c (require_complete_type): Return error_mark_node |
9286 | if type is error_mark_node. | |
9287 | ||
9544445b | 9288 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
9289 | ||
9290 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
9291 | -Os and issue a warning. | |
9292 | ||
531d4872 | 9293 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
9294 | ||
9295 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
9296 | current (lack of) need for host configuration by hand. | |
9297 | ||
9298 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
9299 | references. Documentation of some target macros moved from | |
9300 | hostconfig.texi to tm.texi. | |
9301 | ||
f4b2cef9 | 9302 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
9303 | ||
9304 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
9305 | defined. | |
9306 | ||
1deb4c04 | 9307 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
9308 | ||
9309 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
9310 | operand[3]. | |
9311 | ||
b3f516cb | 9312 | 2002-01-23 Jason Merrill <jason@redhat.com> |
9313 | ||
d965574e | 9314 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
9315 | ||
b3f516cb | 9316 | * function.c (assign_parms): Don't put args of inline functions |
9317 | into registers when not optimizing. | |
9318 | ||
063a05c7 | 9319 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
9320 | ||
9321 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
9322 | (prologue_use): New pattern. | |
9323 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
9324 | preference to gen_rtx_USE. | |
9325 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
9326 | gen_rtx_USE. | |
9327 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
9328 | gen_rtx_USE. | |
9329 | ||
71fe72ed | 9330 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
9331 | ||
9332 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
9333 | ||
d3200805 | 9334 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
9335 | ||
9336 | PR c/3504 | |
9337 | * doc/extend.texi: Correct documentation of __alignof__. | |
9338 | ||
25afff2f | 9339 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
9340 | ||
9341 | * params.h: Rename arguments of DEFPARAM so that it will be | |
9342 | recognized as a translation keyword. | |
9343 | ||
0ae4308e | 9344 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
9345 | ||
25afff2f | 9346 | * extend.texi: Document altivec functions. |
9347 | Fix N-bit adjectives in X86 builtin documentation. | |
0ae4308e | 9348 | |
57148e48 | 9349 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
9350 | ||
9351 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
9352 | auto_inc_dec values. | |
9353 | ||
112e1627 | 9354 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
9355 | ||
9356 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
9357 | after backslash. | |
9358 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
9359 | ||
04130762 | 9360 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
9361 | ||
9362 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
9363 | ||
455b78a0 | 9364 | 2002-01-22 Richard Henderson <rth@redhat.com> |
9365 | ||
9366 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
9367 | copy_insn not copy_rtx. | |
9368 | ||
ec00a5f6 | 9369 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
9370 | ||
9371 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
9372 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
9373 | properly sign extened. | |
9374 | (force_to_mode): Tweak for sign extended constop. | |
9375 | ||
367e2ab3 | 9376 | 2002-01-22 Richard Henderson <rth@redhat.com> |
9377 | ||
9378 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
9379 | for_each_rtx instead of assuming we're already looking at the MEM. | |
9380 | (split_small_symbolic_mem_operand): Likewise. | |
9381 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
9382 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
9383 | ||
9384 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
203b9630 | 9385 | |
9386 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
9387 | sequence number for the literal. | |
9388 | (divmoddi_internal_er): Likewise. | |
9389 | ||
a63f7018 | 9390 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
9391 | ||
9392 | PR java/4972 | |
9393 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
9394 | in LIBICONV variable. | |
9395 | * configure: Regenerated. | |
9396 | ||
2026f127 | 9397 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
9398 | ||
9399 | * dependence.c (build_def_use): Remove array_idx. | |
9400 | ||
bd861789 | 9401 | * dwarfout.c (last_filename): Remove. |
9402 | (output_compile_unit_die): Remove last_filename. | |
9403 | ||
a3f632bd | 9404 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
9405 | Richard Henderson <rth@redhat.com> | |
9406 | ||
9407 | PR opt/3640 | |
9408 | * fold-const.c (fold): Optimize unsigned comparisons against | |
9409 | UINT_MAX (and similar unsigned constants). | |
9410 | ||
e57e6445 | 9411 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
9412 | ||
a3f632bd | 9413 | * Makefile.in (loop.o): Depend on OPTABS_H. |
9544445b | 9414 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
a3f632bd | 9415 | against the predicate. |
3d941517 | 9416 | |
e57e6445 | 9417 | PR target/5379 |
9418 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
9419 | for the address operand. | |
9420 | ||
f5a287da | 9421 | 2002-01-22 Richard Henderson <rth@redhat.com> |
9422 | ||
9423 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
9424 | ||
9ac60e09 | 9425 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
9426 | ||
9427 | PR other/5450 | |
f5a287da | 9428 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
9429 | preprocessor flags. | |
9ac60e09 | 9430 | |
8bc47d57 | 9431 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
9432 | ||
9433 | * config.gcc (x86_64-*-netbsd*): New target. | |
9434 | * config/i386/netbsd64.h: New file. | |
9435 | ||
99f5f7d8 | 9436 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
9437 | ||
a3f632bd | 9438 | * regrename.c (kill_value): Fix typo. |
99f5f7d8 | 9439 | |
9440 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
9441 | ||
a3f632bd | 9442 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
99f5f7d8 | 9443 | |
a3f632bd | 9444 | * config/rs6000/rs6000.h: Same. |
99f5f7d8 | 9445 | |
a3f632bd | 9446 | * function.c (instantiate_virtual_regs): Remove |
9447 | STARTING_FRAME_PHASE. | |
9448 | (assign_stack_local_1): Same. | |
9449 | Calculate frame phase. | |
99f5f7d8 | 9450 | |
d19ef66f | 9451 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
9452 | ||
9453 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
9454 | variable declaration to outer scope in order to simplify | |
9455 | future extensions. | |
9456 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
9457 | arm_hard_regno_mode_ok. | |
9458 | * config/arm/arm-protos.h: Add a prototype for | |
9459 | arm_hard_regno_mode_ok. | |
9460 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
9461 | check for DImode values using IP_REGNUM. | |
9462 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
9463 | DImode values using IP_REGNUM. | |
9464 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
9465 | that DImode values are not stored in IP_REGNUM. | |
bf82d677 | 9466 | |
9467 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
9468 | note with a USE. | |
9469 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
9470 | ||
b3959812 | 9471 | 2002-01-22 Jason Merrill <jason@redhat.com> |
9472 | ||
9473 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
9474 | consistency if this COMPOUND_STMT is scoped. | |
9475 | ||
47c251e5 | 9476 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
9477 | ||
9478 | * predict.c: Fix formatting. | |
9479 | * print-tree.c: Likewise. | |
9480 | * protoize.c: Likewise. | |
9481 | * real.h: Likewise. | |
9482 | * rtl.h: Likewise. | |
9483 | * sbitmap.h: Likewise. | |
9484 | * scan.c: Likewise. | |
9485 | * sched-deps.c: Likewise. | |
9486 | * sched-vis.c: Likewise. | |
9487 | * sdbout.c: Likewise. | |
9488 | * sibcall.c: Likewise. | |
9489 | * ssa.c: Likewise. | |
9490 | * ssa-ccp.c: Likewise. | |
9491 | * ssa-dce.c: Likewise. | |
9492 | * stmt.c: Likewise. | |
9493 | * stor-layout.c: Likewise. | |
9494 | * system.h: Likewise. | |
9495 | ||
dff29840 | 9496 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9497 | ||
9b388aca | 9498 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
9499 | if fits in bounds of base type. | |
9500 | ||
dff29840 | 9501 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
9502 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
9503 | (add_bound_info, default): If can't find a context, make a | |
9504 | SAVE_EXPR. | |
9505 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
9506 | ||
5eaf60b3 | 9507 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
9508 | ||
9509 | * c-typeck.c (parser_build_binary_op): If result from | |
9510 | build_binary_op is ERROR_MARK just return error_mark_node without | |
9511 | further processing. | |
9512 | ||
4ace673e | 9513 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
9514 | ||
9515 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
9516 | Split a.out-specific bits into... | |
9517 | * config/netbsd-aout.h: ...this. | |
9518 | * config/netbsd-elf.h: New file. | |
9519 | * config/alpha/netbsd-elf.h: Remove. | |
9520 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
9521 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
25afff2f | 9522 | (STARTFILE_SPEC): Remove redundant definition. |
4ace673e | 9523 | (ENDFILE_SPEC): Likewise. |
9524 | (LINK_SPEC): Likewise. | |
9525 | (CPP_SPEC): Likewise. | |
9526 | (ASM_SPEC): Likewise. | |
9527 | (LIB_SPEC): Likewise. | |
9528 | (SWITCH_TAKES_ARG): Likewise. | |
9529 | (TARGET_MEM_FUNCTIONS): Likewise. | |
9530 | (CPP_PREDEFINES): Redefine. | |
9531 | (ASM_FINAL_SPEC): Remove redefinition. | |
9532 | (ASM_COMMENT_START): Redefine. | |
9533 | (FUNCTION_PROFILER): Define. | |
9534 | (TARGET_VERSION): Redefine. | |
9535 | Comment and formatting cleanup. | |
9536 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
9537 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
9538 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
9539 | big- or little-endian. | |
9540 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
9541 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
9542 | NetBSD configs. | |
9543 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
9544 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
9545 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
9546 | tmake_file, and don't lose previous tmake_file contents. | |
9547 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
9548 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
9549 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
9550 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
9551 | (mipsel-*-netbsd*): Rename this to... | |
9552 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
9553 | mips/little.h to tm_file for mips*el-*. | |
9554 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
9555 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
9556 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
9557 | ||
d3138877 | 9558 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9559 | ||
9560 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
9561 | * pa.c (reg_before_reload_operand): New function implementation. | |
9562 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
9563 | contraints to "*m". | |
9564 | ||
e45d8203 | 9565 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
9566 | ||
9567 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
9568 | ||
29192431 | 9569 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9570 | ||
9571 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
9572 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
9573 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
9574 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
9575 | (ENDFILE_SPEC): Undefine. | |
9576 | (STARTFILE_SPEC): Redefine for PA. | |
9577 | ||
7f498748 | 9578 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
9579 | ||
9580 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
9581 | ||
554b40d5 | 9582 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
9583 | ||
9584 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
9585 | types. | |
9586 | ||
25dd0f29 | 9587 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
9588 | ||
9589 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
9590 | true for 64-bit mode only SSE registers in 32-bit mode. | |
9591 | ||
188879e7 | 9592 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
9593 | ||
9594 | * unwind-dw2.c: Fix formatting. | |
9595 | * unwind-dw2-fde.c: Likewise. | |
9596 | * unwind-dw2-fde.h: Likewise. | |
9597 | * unwind-pe.h: Likewise. | |
9598 | * varasm.c: Likewise. | |
9599 | * varray.h: Likewise. | |
9600 | ||
c0475536 | 9601 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
9602 | ||
9603 | Remove workaround for register stack overwrite bug in mmix. | |
9604 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
9605 | support for TARGET_REG_STACK_FILL_BUG. | |
9606 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
9607 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
9608 | Delete. | |
9609 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
9610 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
9611 | -mno-reg-stack-fill-bug-workaround. | |
9612 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
9613 | machine member has_call_without_parameters. | |
9614 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
9615 | -mreg-stack-fill-bug-workaround and | |
9616 | -mno-reg-stack-fill-bug-workaround. | |
9617 | (MMIX Options): Ditto. | |
9618 | ||
6996dd46 | 9619 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
9620 | ||
9621 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
9622 | as appropriate. | |
9623 | Remove redundant code. | |
9624 | ||
3b2aec94 | 9625 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
9626 | ||
9627 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
9628 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
9629 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
9630 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
9631 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
9632 | out target macro definitions and non-target-specific comments | |
9633 | mostly taken from old versions of the manual. | |
9634 | ||
87d3145e | 9635 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
9636 | ||
9637 | * config/h8300/h8300.h: Fix comment formatting. | |
9638 | * config/ia64/aix.h: Likewise. | |
9639 | * config/ia64/ia64-protos.h: Likewise. | |
9640 | * config/ia64/ia64.c: Likewise. | |
9641 | * config/ia64/ia64.h: Likewise. | |
9642 | * config/ia64/ia64intrin.h: Likewise. | |
9643 | * config/ia64/linux.h: Likewise. | |
9644 | * config/ia64/unwind-aix.c: Likewise. | |
9645 | * config/ia64/unwind-ia64.c: Likewise. | |
9646 | ||
f465f633 | 9647 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
9648 | ||
9649 | * config/h8300/h8300.c: Revise comments about shift code. | |
9650 | ||
c738c371 | 9651 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
9652 | ||
9653 | * config/h8300/h8300.c (function_arg): Update a comment. | |
9654 | ||
ec8f1737 | 9655 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
9656 | ||
9657 | * config/h8300/h8300.md: Update the comments at the beginning | |
9658 | of the file. | |
9659 | ||
1d7ac33a | 9660 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
9661 | ||
9662 | * config/i370/i370.c: Fix comment formatting. | |
9663 | * config/i370/i370.h: Likewise. | |
9664 | * config/i370/i370.md: Likewise. | |
9665 | * config/i370/linux.h: Likewise. | |
9666 | ||
cfd66c04 | 9667 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9668 | ||
5192f3ed | 9669 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
9670 | ||
cfd66c04 | 9671 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
9672 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
9673 | in incomplete case. | |
9674 | ||
2360d7e0 | 9675 | 2002-01-20 Graham Stott <grahams@redhat.com> |
9676 | ||
9677 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
9678 | ||
3c066828 | 9679 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9680 | ||
9681 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
9682 | ||
33707510 | 9683 | 2002-01-19 Tom Rix <trix@redhat.com> |
9684 | ||
9685 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
9686 | ||
0d83ba3e | 9687 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
9688 | ||
a3f632bd | 9689 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
0d83ba3e | 9690 | |
a3f632bd | 9691 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
9692 | STARTING_FRAME_PHASE. | |
9693 | (STARTING_FRAME_PHASE): New. | |
9694 | (instantiate_virtual_regs): Check saneness of | |
9695 | STARTING_FRAME_PHASE. | |
0d83ba3e | 9696 | |
a3f632bd | 9697 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
0d83ba3e | 9698 | |
e53d227a | 9699 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
9700 | ||
9701 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
9702 | ||
508308cc | 9703 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
9704 | ||
9705 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
9706 | be used for bootstrapping GCC 3.0. | |
9707 | ||
08426512 | 9708 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
9709 | ||
9710 | * config/h8300/h8300.md: Fix an insn length. | |
9711 | ||
04641143 | 9712 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
9713 | ||
9714 | * bitmap.h: Fix comment formatting. | |
9715 | * combine.c: Likewise. | |
9716 | * cppfiles.c: Likewise. | |
9717 | * c-pragma.h: Likewise. | |
9718 | * c-typeck.c: Likewise. | |
9719 | * df.c: Likewise. | |
9720 | * dwarf2out.c: Likewise. | |
9721 | * function.c: Likewise. | |
9722 | * gcc.c: Likewise. | |
9723 | * genattrtab.c: Likewise. | |
9724 | * gthr-win32.h: Likewise. | |
9725 | * haifa-sched.c: Likewise. | |
9726 | * predict.c: Likewise. | |
9727 | * rtlanal.c: Likewise. | |
9728 | * rtl.h: Likewise. | |
9729 | * unwind-dw2-fde.h: Likewise. | |
9730 | * unwind-pe.h: Likewise. | |
9731 | * vmsdbgout.c: Likewise. | |
9732 | ||
aa9c60c1 | 9733 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9734 | ||
9735 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
9736 | if type_required and passed decl. | |
9737 | ||
25b7153e | 9738 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
9739 | ||
a3f632bd | 9740 | * config.gcc (cpu_type): Include altivec.h in powerpc |
9741 | extra_headers. | |
9742 | Same for darwin. | |
25b7153e | 9743 | |
a3f632bd | 9744 | * config/rs6000/altivec.h: New. |
25b7153e | 9745 | |
4699ada1 | 9746 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
9747 | ||
9748 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
9749 | handling information. | |
9750 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
9751 | for AIX. | |
9752 | (Misunderstandings): Add template instantiation and static template | |
9753 | member information for AIX. | |
9754 | ||
425f2cac | 9755 | 2002-01-17 Jason Merrill <jason@redhat.com> |
9756 | ||
1d971bfd | 9757 | * dbxout.c (dbxout_type): Support const and volatile. |
9758 | ||
425f2cac | 9759 | * except.c (add_partial_entry): Remove backwards compatibility code. |
9760 | (end_protect_partials): Likewise. | |
9761 | ||
8ced207e | 9762 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
9763 | ||
9764 | * config/ia64/ia64.md (prologue_use): New. | |
9765 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
9766 | gen_prologue_use instead of gen_rtx_USE. | |
9767 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
9768 | as CODE_FOR_pred_rel_mutex. | |
9769 | (ia64_sched_reorder2): Likewise. | |
9770 | ||
dd93d2ce | 9771 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
9772 | ||
9773 | * config/mips/r3900.h: Reformat. | |
9774 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
9775 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
9776 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
9777 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
9778 | * config/mips/t-elf: Remove mips3 multilib. | |
9779 | ||
3cbae491 | 9780 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
9781 | ||
9782 | * config/mips/linux.h: Include "mips/abi64.h". | |
9783 | ||
a5159deb | 9784 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
9785 | ||
9786 | * config/mips/t-linux: New. | |
9787 | ||
9788 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
9789 | ||
9790 | * config/mips/linux.h: Don't include "gofast.h". | |
9791 | (INIT_SUBTARGET_OPTABS): Removed. | |
9792 | ||
3f2833fd | 9793 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
9794 | ||
9795 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
9796 | output_a_shift. | |
9797 | * config/h8300/h8300.c: Likewise. | |
9798 | * config/h8300/h8300.md: Likewise. | |
9799 | ||
86af1182 | 9800 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
9801 | ||
9802 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
9803 | spaces after an opcode name. | |
9804 | (pushqi1_h8300hs): Likewise. | |
9805 | (pushhi1_h8300hs): Likewise. | |
9806 | ||
eafbc061 | 9807 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
9808 | ||
9809 | * doc/extend.texi: Replace "option" with "attribute" | |
9810 | appropriately. | |
9811 | ||
443bb1a6 | 9812 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
9813 | ||
9814 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
9815 | (and:DI () (const_int -8)). | |
9816 | (split_small_symbolic_mem_operand): Split | |
9817 | (mem (and:DI () (const_int -8)). | |
9818 | ||
e2294eb4 | 9819 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
9820 | ||
9821 | PR target/5309: | |
a3f632bd | 9822 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
e2294eb4 | 9823 | same way as TYPE_IMUL. |
9824 | (ultrasparc_sched_reorder): Likewise. | |
9825 | * config/sparc/sparc.md (type): Add comment to update | |
9826 | ultrasparc_sched_reorder when making changes. | |
9827 | ||
fe07365c | 9828 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
9829 | ||
9830 | * doc/invoke.texi: Change the dump file name of block | |
9831 | reordering pass from 28.bbro to 29.bbro. | |
9832 | Mention -dk option. | |
9833 | ||
73b87fe4 | 9834 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
9835 | ||
9836 | * i386.md (minsf splitter): Fix pasto. | |
9837 | ||
a150f9e1 | 9838 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
9839 | ||
9840 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
9841 | to frame pointer initialisation instruction. | |
9842 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
9843 | initialisation instruction. | |
277f24de | 9844 | (soft_df_operand): Do not accept the IP register. |
9845 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
a150f9e1 | 9846 | |
13153281 | 9847 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
9848 | ||
9849 | PR target/5357: | |
9850 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
9851 | MASK_V8 being both set. | |
9852 | ||
c89f9ed7 | 9853 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
9854 | ||
9855 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
9856 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
9857 | config/s390/s390.md (call, call_value): Add GOT register to | |
9858 | CALL_INSN_FUNCTION_USAGE where needed. | |
9859 | (call_exp, call_value_exp): New. | |
9860 | ||
a12be13c | 9861 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
9862 | ||
9863 | * config/arm/arm.c: General formatting tidy up. | |
9864 | ||
9865 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
be051fd5 | 9866 | |
9867 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
9868 | cast and when casting an integer literal to "rtx" pointer. | |
9869 | (expand_call): Likewise. | |
9870 | * flow.c (try_pre_increment): Likewise. | |
9871 | (find_use_as_address): Likewise. | |
9872 | * integrate.c (expand_iline_function): Likewise. | |
9873 | * regmove.c (try_auto_increment): Likewise. | |
9874 | ||
a12be13c | 9875 | 2002-01-16 Graham Stott <grahams@redhat.com> |
265a9759 | 9876 | |
9877 | * sched-rgn.c (passed): Use sbitmap_free. | |
9878 | (header): Likewise. | |
9879 | (inner): Likewise. | |
9880 | (in_queue): Likewise. | |
9881 | (in_stack): Likewise. | |
9882 | ||
816c4c4b | 9883 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
9884 | ||
9885 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
9886 | ||
ab89ec1b | 9887 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
9888 | ||
9889 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
9890 | * system.h: Poison SLOW_ZERO_EXTEND. | |
9891 | * doc/tm.texi: Remove. | |
9892 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
9893 | * config/arm/arm.h: Likewise. | |
9894 | * config/avr/avr.h: Likewise. | |
9895 | * config/clipper/clipper.h: Likewise. | |
9896 | * config/convex/convex.h: Likewise. | |
9897 | * config/d30v/d30v.h: Likewise. | |
9898 | * config/dsp16xx/dsp16xx.h: Likewise. | |
9899 | * config/elxsi/elxsi.h: Likewise. | |
9900 | * config/fr30/fr30.h: Likewise. | |
9901 | * config/h8300/h8300.h: Likewise. | |
9902 | * config/i370/i370.h: Likewise. | |
9903 | * config/i386/i386.h: Likewise. | |
9904 | * config/m68k/m68k.h: Likewise. | |
9905 | * config/mips/mips.h: Likewise. | |
9906 | * config/ns32k/ns32k.h: Likewise. | |
9907 | * config/pdp11/pdp11.h: Likewise. | |
9908 | * config/pj/pj.h: Likewise. | |
9909 | * config/s390/s390.h: Likewise. | |
9910 | * config/sh/sh.h: Likewise. | |
9911 | * config/stormy16/stormy16.h: Likewise. | |
9912 | * config/v850/v850.h: Likewise. | |
9913 | * config/vax/vax.h: Likewise. | |
9914 | * config/we32k/we32k.h: Likewise. | |
9915 | ||
4ab64e50 | 9916 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
9917 | ||
a3f632bd | 9918 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
9919 | (altivec_lvsl): Change constraint to b. | |
9920 | (altivec_lvsr): Same. | |
9921 | (altivec_lvebx): Same. | |
9922 | (altivec_lvehx): Same. | |
9923 | (altivec_lvewx): Same. | |
9924 | (altivec_lvxl): Same. | |
9925 | (altivec_lvx): Same. | |
9926 | (altivec_stvx): Add parallel. | |
9927 | (altivec_stvxl): Same. | |
9928 | (altivec_stvehx): Same. | |
9929 | (altivec_stvebx): Same. | |
9930 | (altivec_stvebx): Same. | |
4ab64e50 | 9931 | |
0679bf07 | 9932 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
9933 | ||
a3f632bd | 9934 | * config.gcc: Change altivec.h to altivec-defs.h. |
0679bf07 | 9935 | |
a3f632bd | 9936 | * config/rs6000/altivec.h: Delete. |
0679bf07 | 9937 | |
a3f632bd | 9938 | * config/rs6000/altivec-defs.h: Add. |
0679bf07 | 9939 | |
10d15e22 | 9940 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9941 | ||
9942 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
9943 | and UMOD modes. | |
9944 | ||
9945 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
9946 | less than or equal to eight bytes. | |
9947 | ||
9948 | * vax.md (andsi3): Remove constraints and change SET destination | |
9949 | operand type to nonimmediate_operand. | |
9950 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
9951 | when it is a CONST_INT. | |
9952 | ||
204ca66e | 9953 | 2002-01-15 Jason Merrill <jason@redhat.com> |
9954 | ||
9955 | * c-common.def (FILE_STMT): New code. | |
9956 | * c-common.c (statement_code_p): It's a statement. | |
9957 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
9958 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
9959 | (last_expr_filename): New macro. | |
9960 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
9961 | (add_stmt): If the filename changed, also insert a | |
9962 | FILE_STMT. | |
9963 | (expand_stmt): Handle seeing one. | |
9964 | ||
031ed459 | 9965 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
9966 | ||
9967 | * flow.c (propagate_one_insn): Add error message and print out | |
9968 | insn for debugging. | |
9969 | ||
c98efb56 | 9970 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
9971 | ||
9972 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
9973 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
9974 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
9975 | TRAMPOLINE_ALIGNMENT. | |
9976 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
9977 | to be in bits. | |
9978 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
9979 | PCC_BITFIELD_TYPE_MATTERS. | |
9980 | * config/interix.h (STDC_VALUE): Remove. Use | |
9981 | STDC_0_IN_SYSTEM_HEADERS. | |
9982 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
9983 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
9984 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
9985 | ||
f7249309 | 9986 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
9987 | ||
9988 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
9989 | not work on this platform currently. | |
9990 | ||
34b637b1 | 9991 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
9992 | ||
9993 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
9994 | readonly_warning in _(). | |
9995 | ||
b4eac72f | 9996 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
080a7bc9 | 9997 | |
b4eac72f | 9998 | * gcc.c (delete_if_ordinary): Backout previous change. |
080a7bc9 | 9999 | |
337d789b | 10000 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
10001 | ||
b4eac72f | 10002 | * config/h8300/h8300.c (print_operand): Remove support for |
10003 | unused operand characters. | |
10004 | ||
337d789b | 10005 | * read-rtl.c: Fix formatting. |
10006 | * real.c: Likewise. | |
10007 | * recog.c: Likewise. | |
10008 | * regclass.c: Likewise. | |
10009 | * regmove.c: Likewise. | |
10010 | * reg-stack.c: Likewise. | |
10011 | * reload1.c: Likewise. | |
10012 | * rtlanal.c: Likewise. | |
10013 | ||
039c27d6 | 10014 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
10015 | ||
10016 | * config/i386/i386.c: Fix formatting. | |
10017 | ||
a54f5de8 | 10018 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
10019 | ||
10020 | * c-typeck.c (process_init_element): Don't save_expr | |
10021 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
10022 | ||
c0efea40 | 10023 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
10024 | ||
10025 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
10026 | emit optional traceback table if optimize_size or TARGET_ELF. | |
10027 | * config/rs6000/rs6000.md (prefetch): New. | |
10028 | ||
d2f37b7f | 10029 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
10030 | ||
10031 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
10032 | ||
102202a9 | 10033 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
10034 | ||
10035 | * mips-tfile.c: Fix formatting. | |
10036 | ||
d1d13567 | 10037 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
10038 | ||
10039 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
10040 | ||
651673c2 | 10041 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
10042 | ||
10043 | * config/h8300/h8300-protos.h: Remove the prototype for | |
10044 | eq_operator. | |
10045 | * config/h8300/h8300.c (eq_operator): Remove. | |
10046 | ||
345b3c98 | 10047 | 2002-01-14 Richard Henderson <rth@redhat.com> |
10048 | ||
10049 | * config/i386/i386.md (prefetch): Tidy. | |
10050 | (prefetch_3dnow): Fix locality operand. | |
10051 | ||
52703946 | 10052 | 2002-01-14 Richard Henderson <rth@redhat.com> |
10053 | ||
10054 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
10055 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
10056 | ||
7f758d0b | 10057 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
10058 | ||
10059 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
10060 | copy_rtx in loop performing multiple changes. | |
10061 | ||
f491db07 | 10062 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
10063 | ||
10064 | * except.c (remove_unreachable_regions): New. | |
10065 | (free_eh_status): Clear exception_handler_labels. | |
10066 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
10067 | (find_exception_handler_labels): Don't add the same label more than | |
10068 | once. | |
10069 | (remove_exception_handler_label): Don't die if | |
10070 | find_exception_handler_labels hasn't been called for the current | |
10071 | function yet. | |
10072 | ||
f0d72396 | 10073 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
10074 | ||
10075 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
10076 | gcse. | |
10077 | ||
ca5827cf | 10078 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
10079 | ||
10080 | * doc/extend.texi: Move documentation of X86 built-in functions | |
10081 | here. | |
10082 | * doc/invoke.texi: From here. | |
10083 | * doc/sourcebuild.texi: Document location of documentation for | |
10084 | machine built-in functions. | |
10085 | ||
c21f4dc1 | 10086 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
10087 | ||
10088 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
10089 | (SHOULD_MMAP): Ditto. | |
10090 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
10091 | be used. | |
10092 | ||
45c2115a | 10093 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
10094 | ||
10095 | * unroll.c (final_reg_note_copy): Properly handle | |
10096 | REG_LABEL | |
10097 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
10098 | ||
455123cf | 10099 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
10100 | ||
10101 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
10102 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
10103 | ||
e9bc5a2d | 10104 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
10105 | ||
10106 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
10107 | threaded loop. | |
10108 | ||
b8dbae25 | 10109 | 2002-01-14 Tom Rix <trix@redhat.com> |
10110 | ||
10111 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
10112 | ||
9f4d041d | 10113 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
10114 | ||
10115 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
10116 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
10117 | (clrstrdi, clrstrsi): Adapt callers. | |
10118 | ||
10119 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
10120 | ||
d2f37b7f | 10121 | (movti splitter): Never use register 0 as base register. |
9f4d041d | 10122 | |
b9a4ce44 | 10123 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
10124 | ||
d2f37b7f | 10125 | * combine.c (simplify_shift_const): Always generate new rtx |
10126 | for shift expression instead of reusing given expression. | |
b9a4ce44 | 10127 | |
62e050c6 | 10128 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10129 | ||
10130 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
10131 | alpha_legitimize_address unless mode is Pmode. | |
10132 | ||
565d3099 | 10133 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
10134 | ||
10135 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
10136 | user. | |
10137 | ||
10138 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
10139 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
10140 | for xstormy16 too. | |
10141 | ||
483fd82f | 10142 | 2002-01-13 Richard Henderson <rth@redhat.com> |
10143 | ||
10144 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
10145 | for an input reload of the source. | |
10146 | ||
c7443793 | 10147 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
10148 | ||
10149 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
10150 | more generic. | |
10151 | ||
df4f5ffb | 10152 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
10153 | ||
10154 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
10155 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
10156 | ||
5db879bc | 10157 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
10158 | ||
52fa404f | 10159 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10160 | ||
10161 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
10162 | ||
f5fe5de2 | 10163 | 2002-01-12 Tom Rix <trix@redhat.com> |
10164 | ||
d2f37b7f | 10165 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
f5fe5de2 | 10166 | TARGET_POWERPC64. |
10167 | ||
bbc97097 | 10168 | 2002-01-12 Richard Henderson <rth@redhat.com> |
10169 | ||
1da4678b | 10170 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
10171 | ||
2d27b714 | 10172 | * doc/invoke.texi: Update Alpha options. |
10173 | ||
bbc97097 | 10174 | * doc/invoke.texi: Update i386 built-in function lists. |
10175 | ||
985689b5 | 10176 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
10177 | ||
10178 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
10179 | referencing outside. | |
10180 | ||
76ab50f8 | 10181 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10182 | ||
10183 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
10184 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
10185 | offsets, and change line folding. | |
10186 | * optabs.c (expand_binop): Remove warnings. | |
10187 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
d2f37b7f | 10188 | |
7f54eb35 | 10189 | 2002-01-12 Graham Stott <grahams@redhat.com> |
10190 | ||
10191 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
10192 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
10193 | dangling else warning and constify WHAT. | |
10194 | * except.h (struct function, struct inline_remap): Move | |
10195 | struct tag forward defs before all prototypes. | |
10196 | (duplicate_eh_regions): Whitespace. | |
10197 | ||
5887eb0d | 10198 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
10199 | ||
10200 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
10201 | MODE_BASE_REG_CLASS. | |
10202 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
10203 | ||
3381a03a | 10204 | 2002-01-12 Richard Henderson <rth@redhat.com> |
10205 | ||
10206 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
10207 | (ix86_expand_vector_move): New. | |
10208 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
10209 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
10210 | Remove old prefetch builtins. Special case the logicals removed above. | |
10211 | (ix86_expand_builtin): Likewise. | |
10212 | (safe_vector_operand): Use V4SFmode, not TImode. | |
10213 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
10214 | (ix86_expand_timode_binop_builtin): New. | |
10215 | * config/i386/i386-protos.h: Update. | |
10216 | * config/i386/i386.h (enum ix86_builtins): Update. | |
10217 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
10218 | Use ix86_expand_vector_move in vector move expanders. | |
10219 | (movti_internal, movti_rex64): Add xorps alternative. | |
10220 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
10221 | (prefetch): Don't work so hard. | |
10222 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
10223 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
10224 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
10225 | ||
d65bfb46 | 10226 | 2002-01-11 Richard Henderson <rth@redhat.com> |
10227 | ||
10228 | * config/i386/mmintrin.h: New file. | |
10229 | * config/i386/xmmintrin.h: New file. | |
10230 | * config.gcc (i?86-*-*): Add extra_headers. | |
10231 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
10232 | truncation codes. | |
10233 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
10234 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
10235 | not the lowpart subreg. | |
10236 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
10237 | on error. | |
10238 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
10239 | ||
43db9003 | 10240 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
10241 | ||
10242 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
10243 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
d2f37b7f | 10244 | |
ddaaa5fd | 10245 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
10246 | ||
10247 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
10248 | every where we allocate a register. | |
10249 | ||
f5123ed5 | 10250 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
10251 | ||
10252 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
10253 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
10254 | ||
666954ce | 10255 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
10256 | ||
10257 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
10258 | ||
f8c5d98c | 10259 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
10260 | ||
10261 | * doc/rtl.texi (Insns): Fix 2 typos. | |
10262 | ||
e71655b9 | 10263 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
10264 | ||
10265 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
10266 | options. Use @table @gcctabopt for MMIX options. Add index | |
10267 | entries for MMIX options. Start new paragraph with first | |
10268 | heading of the machine-dependent options. | |
10269 | ||
78eda270 | 10270 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
10271 | ||
10272 | PR other/5299 | |
10273 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
10274 | * combine.c (force_to_mode): Same. | |
10275 | * reload1.c (clear_reload_reg_in_use): Same. | |
10276 | ||
b6557085 | 10277 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
10278 | ||
10279 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
10280 | and 'subtargets'. | |
10281 | ||
0295b9c1 | 10282 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
10283 | Brad Lucier <lucier@math.purdue.edu> | |
10284 | ||
10285 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
10286 | mcpu. | |
10287 | ||
e6c74fc0 | 10288 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
10289 | ||
10290 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
10291 | Protect with IN_LIBGCC. | |
10292 | (LINK_EH_SPEC): Add required trailing space. | |
10293 | ||
e387c238 | 10294 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
10295 | ||
0295b9c1 | 10296 | * c-tree.h: Move function declarations so that they are listed |
e387c238 | 10297 | under the filename which contains them. |
10298 | (check_identifier, finish_decl_top_level, | |
10299 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
10300 | ||
caeca07f | 10301 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
10302 | ||
10303 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
10304 | march. | |
10305 | ||
ad2ed779 | 10306 | 2002-01-10 Richard Henderson <rth@redhat.com> |
10307 | ||
10308 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
10309 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
10310 | new operand with the sequence number for the lituse. When splitting | |
10311 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
10312 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
10313 | ||
9f710c67 | 10314 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
10315 | ||
a3f632bd | 10316 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
10317 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
10318 | stvxl. | |
10319 | (altivec_expand_builtin): Same. | |
10320 | (altivec_expand_stv_builtin): New. | |
10321 | ||
10322 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
10323 | ||
10324 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
10325 | ("altivec_lvehx"): New. | |
10326 | ("altivec_lvewx"): New. | |
10327 | ("altivec_lvxl"): New. | |
10328 | ("altivec_lvx"): New. | |
10329 | ("altivec_stvx"): New. | |
10330 | ("altivec_stvebx"): New. | |
10331 | ("altivec_stvehx"): New. | |
10332 | ("altivec_stvewx"): New. | |
10333 | ("altivec_stvxl"): New. | |
9f710c67 | 10334 | |
e172357f | 10335 | 2002-01-10 Richard Henderson <rth@redhat.com> |
10336 | ||
10337 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
10338 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
10339 | care not to delete instructions twice. | |
10340 | ||
b0624149 | 10341 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
10342 | ||
10343 | * toplev.c: Don't declare environ (it's not used anywhere). | |
10344 | * configure.in: Don't check for declaration of environ. | |
10345 | * config/i386/xm-mingw32.h: Don't #define environ. | |
10346 | * config.in, configure: Regenerate. | |
10347 | ||
c070948e | 10348 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
10349 | ||
10350 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
10351 | * configure: Regenerate. | |
10352 | ||
10353 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
10354 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
10355 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
10356 | alpha/xm-vms.h. | |
10357 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
10358 | LIMITS_H_TEST here, not in m68k/x-next. | |
10359 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
10360 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
10361 | ||
10362 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
10363 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
10364 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
10365 | ||
10366 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
10367 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
10368 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
10369 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
10370 | replacement of quadlib.asm with quadlib.c. | |
10371 | ||
10372 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
10373 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
10374 | config/rs6000/xm-beos.h: Delete file. | |
10375 | ||
10376 | * config.gcc: Update to match above changes. | |
10377 | ||
a53c9f03 | 10378 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10379 | ||
10380 | * config/h8300/h8300.h: Fix comment typos. | |
10381 | * config/h8300/h8300.md: Likewise. | |
10382 | * config/h8300/lib1funcs.asm: Likewise. | |
10383 | ||
ba26e2a7 | 10384 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
10385 | ||
10386 | PR optimization/5269 | |
10387 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
10388 | sign when n_iterations known, to avoid confusing caller. | |
10389 | ||
6831447b | 10390 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10391 | ||
10392 | * doc/extend.texi (deprecated): Fix a typo. | |
10393 | ||
f884e43f | 10394 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
10395 | ||
10396 | * basic-block.h (update_br_prob_note): Declare. | |
10397 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
10398 | (try_forward_edges): Care negative frequencies and update note. | |
10399 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
10400 | (try_crossjump_to_edge): use update_br_prob_note. | |
10401 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
10402 | * cfrtl.c (update_br_prob_note): New. | |
10403 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
10404 | ||
10405 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
10406 | shift. | |
10407 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
10408 | ||
10409 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
10410 | (cprop_insn): Likewise. | |
10411 | ||
ac0c7fb1 | 10412 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10413 | ||
10414 | * toplev.c: Fix formatting. | |
10415 | * tree.c: Likewise. | |
10416 | * tree-dump.c: Likewise. | |
10417 | * unroll.c: Likewise. | |
10418 | * unwind-dw2.c: Likewise. | |
10419 | * unwind-dw2-fde.c: Likewise. | |
10420 | * unwind-dw2-fde-glibc.c: Likewise. | |
10421 | * unwind-sjlj.c: Likewise. | |
10422 | ||
29468146 | 10423 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
10424 | ||
10425 | * doc/invoke.texi: Document PDP-11 options. | |
10426 | ||
7baf3cdd | 10427 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10428 | ||
10429 | * config/h8300/h8300.h: Fix formatting. | |
10430 | ||
b193f2d5 | 10431 | 2002-01-10 Ira Ruben <ira@apple.com> |
227b24ac | 10432 | |
10433 | Add __attribute__ ((deprecated)). | |
10434 | * extend.texi: Document __attribute__ ((deprecated)). | |
10435 | * invoke.texi: Document -Wno-deprecated-declarations. | |
10436 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
10437 | * testsuite/gcc.dg/deprecated.c: New C test. | |
10438 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
10439 | (c_common_attribute_table): Add "deprecated" entry. | |
10440 | (handle_deprecated_attribute): New function. | |
10441 | * c-decl.c (deprecated_states): New enum. | |
10442 | deprecated_state: State of "deprecated" handling. | |
10443 | (start_decl): Set deprecated_state based on attributes. | |
10444 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
10445 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
10446 | (build_external_ref): Test for deprecated primaries. | |
10447 | * diagnostic.c (warn_deprecated_use) New function to issue | |
10448 | warnings about __attribute__ ((depricated)) references. | |
10449 | * flags.h (warn_deprecated_decl): Extern declared for | |
10450 | -W[no-]deprecated-declarations option. | |
10451 | * print-tree.c (print_node): Show deprecated flag status. | |
10452 | * toplev.c (warn_deprecated_decl): Defined. | |
10453 | (W_options): Added "deprecated-declaration". | |
10454 | * toplev.h (warn_deprecated_use): Extern declared. | |
10455 | * tree.h (struct tree_common): Define deprecated_flag. | |
10456 | (TREE_DEPRECATED): New macro to access flag. | |
10457 | * cp/call.c (build_call): Test for deprecated calls. | |
10458 | * cp/class.c (add_implicitly_declared_members): Set global | |
10459 | flag to tell grokdeclarator to not issue deprecated warnings. | |
10460 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
10461 | * cp/decl.c (deprecated_states): New enum. | |
10462 | (start_decl): Set deprecated_state based on attributes. | |
10463 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
10464 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
10465 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
10466 | ||
b193f2d5 | 10467 | 2002-01-10 Ira Ruben <ira@apple.com> |
227b24ac | 10468 | |
10469 | Fix to assign attributes to inline member functions. | |
10470 | * cp/decl.c (start_method): Handle attrlist. | |
10471 | ||
b3a976d8 | 10472 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10473 | ||
10474 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
10475 | ||
2be64ef0 | 10476 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
10477 | ||
10478 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
10479 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
10480 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
10481 | Recurse for any operand of AND as long as constant is non-zero. | |
10482 | ||
27bb18bd | 10483 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10484 | ||
10485 | * config/h8300/h8300.md: Remove constraints from expanders. | |
10486 | ||
85db5591 | 10487 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10488 | ||
10489 | * varasm.c: Fix formatting. | |
10490 | * varray.c: Likewise. | |
10491 | * vmsdbgout.c: Likewise. | |
10492 | * xcoffout.c: Likewise. | |
10493 | ||
d2855ea6 | 10494 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
10495 | ||
10496 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
e172357f | 10497 | update edge probabilities to match. |
d2855ea6 | 10498 | |
a2e68e6d | 10499 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
10500 | ||
10501 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
10502 | dependencies. | |
10503 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
10504 | * doc/configfiles.texi: Make a subsubsection. Update. | |
10505 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
10506 | instructions for building GCC. | |
10507 | * doc/makefile.texi: Make a subsection. | |
10508 | * doc/gccint.texi: Update. | |
10509 | ||
6ac8fc24 | 10510 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
10511 | ||
10512 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
10513 | ||
d426ca3f | 10514 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
10515 | ||
10516 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
10517 | ||
98431bf3 | 10518 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
10519 | ||
10520 | * optabs.c (expand_fix): Look for wider integer modes first. | |
10521 | ||
10522 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
10523 | memory model. | |
10524 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
10525 | (fop_df_4): Disable for SSE compilation. | |
10526 | ||
93f388f5 | 10527 | 2002-01-10 Graham Stott <grahams@redhat.com> |
c366eeee | 10528 | |
10529 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
e172357f | 10530 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
c366eeee | 10531 | |
73ce892a | 10532 | 2002-01-10 Richard Henderson <rth@redhat.com> |
10533 | ||
10534 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
10535 | ||
f3ae2bae | 10536 | 2002-01-10 Richard Henderson <rth@redhat.com> |
10537 | ||
10538 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
10539 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
10540 | ||
fd9d9afc | 10541 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
10542 | ||
10543 | * combine.c (can_combine_p): Fix a comment typo. | |
10544 | ||
108251d9 | 10545 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
10546 | ||
10547 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
10548 | empty list correctly. Change loop index $t to $f for | |
10549 | consistency with rest of Makefile. | |
10550 | ||
87ebe3d2 | 10551 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
10552 | ||
10553 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
10554 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
10555 | ||
10556 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
10557 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
10558 | (altivec_init_builtins): Same. | |
10559 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
10560 | (altivec_expand_binop_builtin): Same. | |
10561 | (altivec_expand_ternop_builtin): Same. | |
10562 | (bdesc_dst): New. | |
10563 | ||
10564 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
10565 | ("altivec_vctuxs"): Fix typo. | |
10566 | ("altivec_vnmsubfp"): Same. | |
10567 | ("altivec_dssall"): New. | |
10568 | ("altivec_mfvscr"): New. | |
10569 | ("altivec_dss"): New. | |
10570 | ("altivec_lvsl"): New. | |
10571 | ("altivec_lvsr"): New. | |
10572 | ("altivec_dstt"): New. | |
10573 | ("altivec_dstst"): New. | |
10574 | ("altivec_dststt"): New. | |
10575 | ("altivec_dst"): New. | |
10576 | ||
10577 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
10578 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
10579 | ||
12f1cd0c | 10580 | 2002-01-09 Richard Henderson <rth@redhat.com> |
10581 | ||
10582 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
10583 | ||
e133eb4b | 10584 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
10585 | ||
10586 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
10587 | function. | |
10588 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
10589 | prototype. | |
0f788811 | 10590 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
e133eb4b | 10591 | |
33181afc | 10592 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
10593 | ||
10594 | * read-rtl.c: Fix formatting. | |
10595 | * real.c: Likewise. | |
10596 | * regclass.c: Likewise. | |
10597 | * regrename.c: Likewise. | |
10598 | * reg-stack.c: Likewise. | |
10599 | * reload1.c: Likewise. | |
10600 | * reload.c: Likewise. | |
10601 | * rtl.c: Likewise. | |
10602 | ||
ff90a874 | 10603 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
10604 | ||
10605 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
10606 | to extract items in the expr_list chain. | |
10607 | ||
8aca3147 | 10608 | 2002-01-09 Richard Henderson <rth@redhat.com> |
10609 | ||
10610 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
10611 | ||
b93f38e1 | 10612 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
10613 | ||
27465d7d | 10614 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
10615 | ||
10616 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
10617 | ||
6382d316 | 10618 | 2002-01-09 Richard Henderson <rth@redhat.com> |
10619 | ||
10620 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
10621 | Unify code from various alternatives. | |
10622 | ||
8a1ef47a | 10623 | 2002-01-09 Richard Henderson <rth@redhat.com> |
10624 | ||
10625 | * regrename.c (copy_value): Ignore the copy if the source register | |
10626 | is present in the value chain with a narrower mode. | |
10627 | ||
ddde6553 | 10628 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
10629 | ||
e172357f | 10630 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
10631 | for the c4x target. Also improve layout. | |
ddde6553 | 10632 | |
ccd9e27d | 10633 | 2002-01-09 Richard Henderson <rth@redhat.com> |
10634 | ||
10635 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
10636 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
10637 | to match insn patterns. | |
10638 | ||
c5a695f4 | 10639 | 2002-01-09 Richard Henderson <rth@redhat.com> |
10640 | ||
10641 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
10642 | (copyprop_hardreg_forward_1): Likewise. | |
10643 | ||
a518236d | 10644 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10645 | ||
10646 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
10647 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
10648 | ||
158da7c0 | 10649 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
10650 | ||
10651 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
10652 | gets undefined. For Darwin. | |
10653 | ||
29496e41 | 10654 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
10655 | ||
10656 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
10657 | ||
358330c5 | 10658 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
10659 | ||
10660 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
10661 | ||
e932080c | 10662 | 2002-01-08 Richard Henderson <rth@redhat.com> |
10663 | ||
10664 | * regrename.c (copy_value): Ignore overlapping copies. | |
10665 | ||
64656695 | 10666 | 2002-01-08 Richard Henderson <rth@redhat.com> |
10667 | ||
10668 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
10669 | as needed to avoid shared structure. | |
10670 | ||
d2079f6d | 10671 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
10672 | ||
10673 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
10674 | H8/300H and H8/S. | |
10675 | ||
dcbec77e | 10676 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
10677 | ||
10678 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
10679 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
10680 | documentation of obsolete macros. | |
10681 | * system.h: Poison these macros. | |
10682 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
10683 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
10684 | config/c4x/c4x.h, config/clipper/clipper.h, | |
10685 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
10686 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
10687 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
10688 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
10689 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
10690 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
10691 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
10692 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
10693 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
10694 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
10695 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
10696 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
10697 | definitions and commented out definitions of obsolete macros. | |
10698 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
10699 | of MAX_INT_TYPE_SIZE. | |
10700 | ||
0b300c86 | 10701 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
10702 | ||
10703 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
10704 | return ADDR_REGS if it isn't a subset of the given class. | |
10705 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
10706 | FP_REGS, but all superclasses as well. | |
10707 | ||
10708 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
10709 | ||
10710 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
10711 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
10712 | must not be a const_int. | |
10713 | ||
e800ce79 | 10714 | 2002-01-08 Richard Henderson <rth@redhat.com> |
10715 | ||
10716 | * Makefile.in (toplev.o): Depend on options.h. | |
10717 | (gcc.o): Depend on specs.h. | |
10718 | ||
f06d0bb1 | 10719 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
10720 | ||
10721 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
10722 | mode. | |
10723 | ||
a88a58d6 | 10724 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
10725 | ||
10726 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
10727 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
10728 | of http://gcc.gnu.org/thanks.html. | |
10729 | ||
76e1c88e | 10730 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
10731 | ||
10732 | * config/rs6000/rs6000.md: Add missing int register | |
10733 | target case to movdf_low. | |
10734 | ||
a1a7e9d5 | 10735 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
10736 | ||
10737 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
10738 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
10739 | (cppinit.o): Depend on except.h. | |
10740 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
10741 | s-specs): New rules. | |
10742 | ||
10743 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
10744 | Don't create specs.h/options.h/gencheck.h here. Remove | |
10745 | unnecessary variable settings from last argument of AC_OUTPUT. | |
10746 | * config.in, configure: Regenerate. | |
10747 | * intl.c: Hardcode package name as "gcc". | |
10748 | ||
10749 | * cppinit.c: Include except.h. | |
10750 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
10751 | appropriate. | |
10752 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
10753 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
10754 | (!)USING_SJLJ_EXCEPTIONS. | |
10755 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
10756 | ||
eee3a990 | 10757 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
10758 | ||
10759 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
10760 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
10761 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
10762 | documentation of obsolete macros. | |
10763 | * system.h: Poison these macros. | |
10764 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
10765 | config/stormy16/stormy16.h: Remove definitions and commented out | |
10766 | definitions of obsolete macros. | |
10767 | ||
6cf86ac6 | 10768 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
10769 | ||
10770 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
10771 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
10772 | warnings. | |
10773 | ||
f3fd783b | 10774 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
10775 | ||
10776 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
10777 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
10778 | to insn adjusting stack/frame pointer. | |
a1a7e9d5 | 10779 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
f3fd783b | 10780 | accept operands that cause the insn to be non-splittable. |
10781 | ||
163d43d8 | 10782 | 2002-01-08 Graham Stott <grahams@redhat.com> |
10783 | ||
10784 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
10785 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
10786 | (C_TYPE_BEING_DEFINED): Likewise. | |
10787 | (C_IS_RESERVED_WORD): Likewise. | |
10788 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
10789 | (C_DECL_VARIABLE_SIZE): Likewise. | |
10790 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
10791 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
10792 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
10793 | parenthesis. | |
10794 | (C_DECL_ANTICIPATED): Likewise. | |
10795 | (c_build_type_variant): Add parenthesis. | |
10796 | ||
6e50451f | 10797 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
10798 | ||
10799 | * gcc.c (option_map): Remove --version. | |
10800 | (process_command): Handle -fversion following the GNU Coding | |
10801 | Standards. Partially addresses PR other/704. | |
10802 | ||
e7ab03b3 | 10803 | 2002-01-08 Graham Stott <grahams@redhat.com> |
10804 | ||
10805 | * combine.c (combine_instructions): Fix typo. | |
10806 | ||
4615afcc | 10807 | 2002-01-08 Graham Stott <grahams@redhat.com> |
10808 | ||
10809 | * debug.h: Use "tree" and "rtx" throughout. | |
10810 | ||
10811 | * debug.c: Likewise. | |
10812 | ||
58f036fc | 10813 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
10814 | ||
10815 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
10816 | constant pool, use the pool's version of the symbol instead. | |
10817 | ||
6ec4bb60 | 10818 | 2002-01-07 Richard Henderson <rth@redhat.com> |
10819 | ||
10820 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
10821 | the original register was copied in a mode with a fewer number of | |
10822 | hard registers than the desired mode. | |
10823 | (copyprop_hardreg_forward_1): Likewise. | |
10824 | (debug_value_data): Fix loop test. | |
10825 | * toplev.c (parse_options_and_default_flags): Reenable | |
10826 | -fcprop-registers at -O1. | |
10827 | ||
10828 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
41b843a7 | 10829 | |
a1a7e9d5 | 10830 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
10831 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
41b843a7 | 10832 | |
a1a7e9d5 | 10833 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
10834 | predicates. | |
41b843a7 | 10835 | |
a1a7e9d5 | 10836 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
41b843a7 | 10837 | |
a9ac13e4 | 10838 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10839 | ||
10840 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
10841 | (pa_output_function_prologue): Output local label at the beginning of | |
10842 | the prologue when profiling. | |
10843 | (hppa_profile_hook): Use the local label rather than the function label. | |
10844 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
10845 | ||
965c179a | 10846 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
10847 | ||
a1a7e9d5 | 10848 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
10849 | (altivec_expand_unop_builtin): Fix thinko. | |
10850 | (altivec_expand_binop_builtin): Same. | |
10851 | (altivec_expand_ternop_builtin): Same. | |
10852 | (altivec_expand_builtin): Same. | |
965c179a | 10853 | |
3cd13a0a | 10854 | 2002-01-07 Richard Henderson <rth@redhat.com> |
10855 | ||
10856 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
10857 | ||
f2c8b8e7 | 10858 | 2002-01-07 Jason Merrill <jason@redhat.com> |
10859 | ||
10860 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
10861 | ||
c4a616f2 | 10862 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
10863 | ||
10864 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
10865 | ||
d2100772 | 10866 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
10867 | ||
10868 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
10869 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
10870 | ||
e931e2d9 | 10871 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
10872 | ||
a1a7e9d5 | 10873 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
10874 | arguments. | |
10875 | (altivec_expand_binop_builtin): Same. | |
10876 | (altivec_expand_unop_builtin): Same. | |
10877 | (print_operand): Fix typo. | |
10878 | (bdesc_1arg): Add vupk* variants. | |
e931e2d9 | 10879 | |
a1a7e9d5 | 10880 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
e931e2d9 | 10881 | |
a1a7e9d5 | 10882 | * rs6000.md: Add altivec_vupk* variants. |
e931e2d9 | 10883 | |
d2d8531d | 10884 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
10885 | ||
10886 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
10887 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
10888 | and last update dates. | |
10889 | ||
4ae38af9 | 10890 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
10891 | ||
10892 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
10893 | ||
0d4cf8f2 | 10894 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
10895 | ||
10896 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
10897 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
10898 | (LINK_SPEC): Likewise. | |
10899 | (CRT_BINUTILS_SPECS): Likewise. | |
10900 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
10901 | * doc/invoke.texi (AVR Options): Document them. | |
10902 | ||
111f982d | 10903 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
10904 | ||
10905 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
10906 | LABEL_NUSES. | |
10907 | ||
3395ab5f | 10908 | 2002-01-07 Graham Stott <grahams@redhat.com> |
10909 | ||
a1a7e9d5 | 10910 | * config/i386/i386.h: Update copyright date. |
10911 | (HALF_PIC_PTR): Add parenthesis. | |
10912 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
10913 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
10914 | (DATA_ALIGNMENT): Likewise. | |
10915 | (LOCAL_ALIGNMENT): Likewise. | |
10916 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
10917 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
10918 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
10919 | (HARD_REGNO_NREGS): Add paranethesis. | |
10920 | (VALID_SSE_REG_MODE): Whitespace. | |
10921 | (VALID_MMX_REG_MODE): Whitespace. | |
10922 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
10923 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
10924 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
10925 | (RETURN_IN_MEMORY): Whitespace. | |
10926 | (N_REG_CLASSES): Add parenthesis. | |
10927 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
10928 | (FLOAT_CLASS_P): Likewise. | |
10929 | (SSE_CLASS_P): Likewise. | |
10930 | (MMX_CLASS_P): Likewise. | |
10931 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
10932 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
10933 | (MAYBE_SSE_CLASS_P): Likewise. | |
10934 | (MAYBE_MMX_CLASS_P): Likewise. | |
10935 | (Q_CLASS_P): Likewise. | |
10936 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
10937 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
10938 | (FP_REGNO_P): Likewise. | |
10939 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
10940 | (SSE_REGNO_P): Likewise. | |
10941 | (SSE_REGNO): Likewise. | |
10942 | (SSE_REG_P): Likewise. | |
10943 | (SSE_FLOAT_MODE_P): Likewise. | |
10944 | (MMX_REGNO_P): Likewise. | |
10945 | (MMX_REG_P):Likewise. | |
10946 | (STACK_REG_P): Likewise. | |
10947 | (NON_STACK_REG_P): Likewise. | |
10948 | (STACK_TOP_P): Likewise. | |
10949 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
10950 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
10951 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
10952 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
10953 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
10954 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
10955 | (RETURN_POPS_ARGS): Add parenthesis. | |
10956 | (INIT_CUMULATIVE_ARGS): Likewise. | |
10957 | (FUNCTION_ARG): Likewise. | |
10958 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
10959 | (SETUP_INCOMING_VARARGS): Likewise. | |
10960 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
10961 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
10962 | parenthsis. | |
10963 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
10964 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
10965 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
10966 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
10967 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
10968 | (REGNO_OK_FOR_BASE_P): Likewise. | |
10969 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
10970 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
10971 | (REG_OK_FOR_INDEX_P): Whitespace. | |
10972 | (REG_OK_FOR_BASE_P): Whitespace. | |
10973 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
10974 | parenthesis. | |
10975 | (FIND_BASE_TERM): Fix typo. | |
10976 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
10977 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
10978 | (SYMBOLIC_CONST; Whitespace. | |
10979 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
10980 | (ENCODE_SECTION_INFO): Whitespace. | |
10981 | (FINALIZE_PIC): Remove do { ... } while (0). | |
10982 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
10983 | (CONST_COSTS): Whitespace. | |
10984 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
10985 | (REGISTER_MOVE_COST): Add parenthesis. | |
10986 | (MEMORY_MOVE_COST): Likewise. | |
10987 | (EXTRA_CC_MODES): Whitespace. | |
10988 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
10989 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
10990 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
10991 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
10992 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
10993 | (ASM_OUTPUT_REG_POP): Likewise. | |
10994 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
10995 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
1b12cfd7 | 10996 | |
173f37f4 | 10997 | * config/i386/i386.c: Update copyright. |
10998 | (CHECK_STACK_LIMIT): Add parenthesis. | |
10999 | (AT_BP): Uppercase macro parameter. | |
11000 | (x86_64_int_parameter_registers): Constify. | |
11001 | (x86_64_int_return_registers): Likewise. | |
11002 | (ix86_compare_op0): Use rtx. | |
11003 | (construct_container): Constify INTREG parameter. | |
11004 | (function_arg): Use rtx. | |
11005 | ||
e718c89f | 11006 | * diagnostic.h: Update copyright date. |
11007 | (output_buffer_state): Add parenthesis. | |
11008 | (output_buffer_format_args): Likewise. | |
11009 | ||
3395ab5f | 11010 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
11011 | with link. | |
11012 | ||
dd782271 | 11013 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
11014 | ||
11015 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
11016 | ||
11017 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
3898b44a | 11018 | |
a1a7e9d5 | 11019 | * config.gcc: Add support for --enable-altivec. |
3898b44a | 11020 | |
81d5334a | 11021 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
11022 | ||
11023 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
11024 | ||
2fa8311b | 11025 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
11026 | ||
11027 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
11028 | __objc_class_name_*. | |
11029 | ||
f617d398 | 11030 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
11031 | ||
11032 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
11033 | ||
9b7d4a8f | 11034 | 2002-01-06 Richard Henderson <rth@redhat.com> |
11035 | ||
11036 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
11037 | nop them out. Increment label reference count for REG_LABEL. | |
11038 | (fill_slots_from_thread): Frob label reference count around | |
11039 | delete_related_insns. | |
11040 | ||
acf4e6a8 | 11041 | 2002-01-05 Richard Henderson <rth@redhat.com> |
11042 | ||
11043 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
11044 | jump threading. | |
11045 | ||
f3546830 | 11046 | 2002-01-05 Richard Henderson <rth@redhat.com> |
11047 | ||
11048 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
11049 | * integrate.c (output_inline_function): Likewise. | |
11050 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
11051 | to remove_unnecessary_notes after emitting abstract instance. | |
11052 | Force an emitted nested function to have its parent emited as well. | |
11053 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
11054 | for null. | |
11055 | (rtl_for_decl_location): Do not look at reload data structures | |
11056 | before reload has run. | |
11057 | ||
dfe09cce | 11058 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
11059 | ||
11060 | * cse.c: Fix formatting. | |
11061 | * dwarf2asm.c: Likewise. | |
11062 | * dwarf2out.c: Likewise. | |
11063 | * explow.c: Likewise. | |
11064 | * expmed.c: Likewise. | |
11065 | * function.c: Likewise. | |
11066 | * gcov.c: Likewise. | |
11067 | * gencheck.c: Likewise. | |
11068 | * genrecog.c: Likewise. | |
11069 | * ggc-common.c: Likewise. | |
11070 | * ggc-page.c: Likewise. | |
11071 | * global.c: Likewise. | |
11072 | ||
ea913091 | 11073 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
11074 | ||
11075 | * combine.c: Fix formatting. | |
11076 | ||
ea3f1ac0 | 11077 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
11078 | ||
11079 | PR middle-end/1557 | |
11080 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
11081 | ||
560de2f8 | 11082 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
11083 | ||
11084 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
11085 | as 1 for __powerpc64__ as well. | |
11086 | ||
11087 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
11088 | ||
11089 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
11090 | return it. | |
11091 | ||
3b7e1f27 | 11092 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
11093 | ||
11094 | * lcm.c: Revert change, due to performance regression it causes on | |
11095 | SPEC because it's slightly more conservative (sigh, I hate | |
11096 | edge-based LCM). | |
a1a7e9d5 | 11097 | |
309306ce | 11098 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
11099 | ||
11100 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
11101 | ||
58f79589 | 11102 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
11103 | ||
11104 | * doc/cppinternals.texi: Update. | |
11105 | ||
5bd2c01e | 11106 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
11107 | ||
11108 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
11109 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
11110 | negatives. | |
11111 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
11112 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
11113 | kludge for pre-october-14th mmix versions to handle new-found bug | |
11114 | with PUSHJ/PUSHGO and the register stack. | |
11115 | * config/mmix/mmix.h (struct machine_function): Rename member | |
11116 | has_call_value_without_parameters to has_call_without_parameters. | |
11117 | All referers changed. | |
11118 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
11119 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
11120 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
11121 | -mno-reg-stack-fill-bug-workaround. | |
11122 | * config/mmix/mmix.md ("call"): Set struct machine member | |
11123 | has_call_without_parameters. | |
11124 | ||
148444fb | 11125 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
11126 | ||
11127 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
11128 | ||
20eee3f6 | 11129 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
11130 | ||
11131 | * cfgcleanup.c: Include tm_p.h | |
11132 | (mark_effect): Fix handling of hard register; fix handling of SET | |
11133 | ||
5bfbffbe | 11134 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
11135 | ||
11136 | * config/h8300/h8300.md (anonymous patterns): Check that | |
11137 | operands are registers before using REGNO on them. | |
11138 | ||
b41d83cb | 11139 | 2002-01-03 Roland McGrath <roland@frob.com> |
11140 | ||
11141 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
11142 | ||
4e3da239 | 11143 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
11144 | ||
11145 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
11146 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
11147 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
11148 | (expand_expr_stmt_value): Add maybe_last argument. | |
11149 | Don't warn about statement with no effect if it is the last statement | |
11150 | in expression statement. | |
11151 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
11152 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
11153 | expand_expr_stmt_value. | |
11154 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
11155 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
11156 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
11157 | as maybe_last to expand_expr_stmt_value. | |
11158 | ||
e87da6ae | 11159 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
11160 | ||
a1a7e9d5 | 11161 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
11162 | be passed in, do not build it. | |
11163 | (c_begin_if_stmt): New function. | |
11164 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
11165 | * c-common.h (c_expand_start_cond): Update prototype. | |
11166 | (c_begin_if_stmt): Prototype new function. | |
11167 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
11168 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
11169 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
e87da6ae | 11170 | |
c6c95491 | 11171 | 2002-01-04 William Cohen <wcohen@redhat.com> |
11172 | ||
11173 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
11174 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
11175 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
11176 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
11177 | ||
b193f2d5 | 11178 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
5fe7bfff | 11179 | |
11180 | * lcm.c: Include df.h. | |
11181 | Add available_transfer_function prototype. | |
11182 | (compute_available): Rework to use iterative dataflow framework. | |
11183 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
11184 | with bb_info in df.h | |
11185 | (available_transfer_function): New function. | |
11186 | ||
11187 | * Makefile.in (lcm.o): add df.h to dependencies. | |
11188 | ||
f5a60074 | 11189 | 2002-01-04 Richard Henderson <rth@redhat.com> |
11190 | ||
11191 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
11192 | (input_operand): Likewise; accept simple references to globals. | |
11193 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
11194 | (alpha_const_double_ok_for_letter_p): Likewise. | |
11195 | (alpha_extra_constraint): Likewise. | |
11196 | (alpha_preferred_reload_class): Likewise. Do not force | |
11197 | symbolic constants to memory. | |
11198 | (alpha_legitimate_address_p): Accept simple references | |
11199 | to small_symbolic_operand. | |
11200 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
11201 | called when no_new_pseudos. Emit simple symbolic references. | |
11202 | Split integers into low, high, and rest. | |
11203 | (alpha_expand_mov): Use alpha_legitimize_address. | |
11204 | (some_small_symbolic_mem_operand): New. | |
11205 | (split_small_symbolic_mem_operand): New. | |
11206 | * config/alpha/alpha-protos.h: Update. | |
11207 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
11208 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
11209 | (EXTRA_CONSTRAINT): Likewise. | |
11210 | (PREFERRED_RELOAD_CLASS): Likewise. | |
11211 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
11212 | (PREDICATE_CODES): Update. | |
11213 | * config/alpha/alpha.md: New post-reload splitters to convert | |
11214 | simplfied symbolic operands to the form that references $29. | |
11215 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
11216 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
11217 | ||
6773ca2d | 11218 | 2002-01-03 Richard Henderson <rth@redhat.com> |
11219 | ||
11220 | * local-alloc.c (function_invariant_p): Update commentary. | |
11221 | ||
2ea2aed0 | 11222 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
11223 | ||
11224 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
11225 | cleanup_cfg. | |
11226 | ||
7cc7e163 | 11227 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
11228 | ||
11229 | * c-common.c: Fix formatting. | |
11230 | * diagnostic.c: Likewise. | |
11231 | * doloop.c: Likewise. | |
11232 | * dwarf2out.c: Likewise. | |
11233 | ||
b0422000 | 11234 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
11235 | ||
11236 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
11237 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
11238 | ||
e484a1cc | 11239 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
11240 | ||
11241 | * cpperror.c: Update comments and copyright. | |
11242 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
11243 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
11244 | ||
625bfde6 | 11245 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11246 | ||
11247 | * collect2.c (main): Use strcmp when testing for "-shared". | |
11248 | ||
88cf66fa | 11249 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
11250 | ||
11251 | * cppmacro.c: Don't include intl.h. Update comments. | |
11252 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
11253 | integers; update prototype. | |
11254 | * cppmain.c: Update comments. | |
11255 | ||
7811c823 | 11256 | 2002-01-03 William Cohen <wcohen@redhat.com> |
11257 | ||
11258 | * function.h (struct function): Add profile. | |
11259 | (current_function_profile): New. | |
11260 | doc/extend.texi: Update documentation. | |
11261 | * final.c (final_start_function): Use current_function_profile | |
11262 | instead of profile_flag. | |
11263 | (profile_after_prologue): Likewise. | |
11264 | * function.c (expand_function_start): Likewise. | |
11265 | (expand_function_start): Likewise. | |
2ea2aed0 | 11266 | * config/alpha/alpha.c (direct_call_operand): |
7811c823 | 11267 | (alpha_does_function_need_gp): Likewise. |
11268 | (alpha_expand_prologue): Likewise. | |
11269 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
11270 | thumb_expand_prologue: Likewise. | |
11271 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
11272 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
11273 | (fr30_expand_prologue): Likewise. | |
11274 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
11275 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
11276 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
11277 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
11278 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
11279 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
11280 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
11281 | (m32r_expand_prologue): Likewise. | |
11282 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
11283 | (m88k_expand_prologue): Likewise. | |
11284 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
11285 | * config/mips/mips.c (compute_frame_size): Likewise. | |
11286 | (mips_expand_prologue): Likewise. | |
11287 | (mips_can_use_return_insn): Likewise. | |
11288 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
11289 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
11290 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
11291 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
11292 | * config/romp/romp.c (romp_using_r14): Likewise. | |
11293 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
11294 | (rs6000_stack_info): Likewise. | |
11295 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
6cec026c | 11296 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
7811c823 | 11297 | * config/v850/v850.c (compute_register_save_size): Likewise. |
11298 | ||
89558e88 | 11299 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
11300 | ||
11301 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
11302 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
11303 | ||
f24da1e1 | 11304 | 2002-01-03 Turly O'Connor <turly@apple.com> |
89558e88 | 11305 | |
f24da1e1 | 11306 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
11307 | stub routines for pseudo-stubs which we've just defined. | |
11308 | ||
e17f5b23 | 11309 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
11310 | ||
11311 | * builtins.c: Fix formatting. | |
11312 | * c-typeck.c: Likewise. | |
11313 | * combine.c: Likewise. | |
11314 | * expr.c: Likewise. | |
11315 | * loop.c: Likewise. | |
11316 | ||
54915428 | 11317 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
11318 | ||
11319 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
11320 | and return true if _cpp_push_next_buffer pushed a new include | |
11321 | file. | |
11322 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
11323 | _cpp_pop_file_buffer did not push a new file. | |
11324 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
11325 | ||
ed1e5d40 | 11326 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
11327 | ||
11328 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
11329 | FIND_REG_INC_NOTE call. Update copyright. | |
11330 | * loop.c (canonicalize_condition): Ditto. | |
11331 | * reorg.c (delete_scheduled_jump): Ditto. | |
11332 | ||
387732c1 | 11333 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
11334 | ||
11335 | * gcse.c: Fix formatting. | |
11336 | ||
f9c31076 | 11337 | 2002-01-03 Graham Stott <grahams@redhat.com> |
11338 | ||
11339 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
11340 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
3395ab5f | 11341 | also output corresponding typedefs for rtx, tree, and rtvec. |
f9c31076 | 11342 | |
11343 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
11344 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
3395ab5f | 11345 | rtvec to config.h, hconfig.h, tconfig.h. |
f9c31076 | 11346 | |
11347 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
76c6f48d | 11348 | |
11349 | * tree.h: Update copyright date. | |
11350 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
11351 | (TREE_SET_CODE): Add whitespace. | |
11352 | (TREE_CHECK): Add parenthesis. | |
11353 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
11354 | (CST_OR_CONSTRUCTOR_CHECK): | |
11355 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
11356 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
11357 | (INT_CST_LT): Likewise. | |
11358 | (INT_CST_LT_UNSIGNED): Likewise. | |
11359 | (tree_real_cst): Unwrap comment. | |
11360 | (tree_string): Likewise. | |
11361 | (tree_complex): Likewise. | |
11362 | (IDENTIFIER_POINTER): correct cast. | |
11363 | (SAVE_EXPR_CONTEXT): Whitespace. | |
11364 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
11365 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
11366 | (DECL_ORIGIN): Add parenthesis. | |
11367 | (DECL_FROM_INLINE): Use NULL_TREE. | |
11368 | (build_int_2): Whitespace. | |
11369 | (build_type_variant): Add parenthesis. | |
11370 | ||
11371 | * gcc/jcf-parse.c: Update copyright date. | |
11372 | (yyparse): Constify resource_filename. | |
11373 | ||
017c31d6 | 11374 | 2002-01-03 Graham Stott <grahams@redhat.com> |
11375 | ||
11376 | * rtl.h: Update copyright date. | |
11377 | (RTL_CHECK1): Wrap long line. | |
11378 | (RTL_CHECK2): Likewise. | |
11379 | (RTL_CHECKC1): Wrap long line and whitespace. | |
11380 | (RTL_CHECKC2): Likewise. | |
11381 | (XWINT): Whitespace. | |
11382 | (XINT): Likewise. | |
11383 | (XSTR): Likewise. | |
11384 | (XEXP): Likewise. | |
11385 | (XVEC): Likewise. | |
11386 | (XMODE): Likewise. | |
11387 | (XBITMAP): Likewise. | |
11388 | (XTREE): Likewise. | |
11389 | (XBBDEF): Likewise. | |
11390 | (XTMPL): Likewise. | |
11391 | (X0WINT): Likewise. | |
11392 | (X0INT):Likewise. | |
11393 | (X0UINT): Likewise. | |
11394 | (X0STR): Likewise. | |
11395 | (X0EXP): Likewise. | |
11396 | (X0VEC): Likewise. | |
11397 | (X0MODE): Likewise. | |
11398 | (X0BITMAP): Likewise. | |
11399 | (X0TREE): Likewise. | |
11400 | (X0BBDEF): Likewise. | |
11401 | (X0ADVFLAGS): Likewise. | |
11402 | (X0CSELIB): Likewise. | |
11403 | (X0MEMATTR): Likewise. | |
11404 | (XCWINT): Likewise. | |
11405 | (XCINT): Likewise. | |
11406 | (XCUINT): Likewise. | |
11407 | (XCSTR): Likewise. | |
11408 | (XCEXP): Likewise. | |
11409 | (XCVEC): Likewise. | |
11410 | (XCMODE): Likewise. | |
11411 | (XCBITMAP): Likewise. | |
11412 | (XCTREE): Likewise. | |
11413 | (XCBBDEF): Likewise. | |
11414 | (XCADVFLAGS): Likewise. | |
11415 | (XCCSELIB): Likewise. | |
11416 | (XC2EXP): Likewise. | |
11417 | (INSN_UID): Likewise. | |
11418 | (PREV_INSN): Likewise. | |
11419 | (PATTERN): Likewise. | |
11420 | (INSN_CODE): Likewise. | |
11421 | (PUT_REG_NOTE_KIND): Likewise. | |
11422 | (CODE_LABEL_NUMBER): Likewise. | |
11423 | (NOTE_SOURCE_FILE): Likewise. | |
11424 | (NOTE_BLOCK): Likewise. | |
11425 | (NOTE_EH_HANDLER): Likewise. | |
11426 | (NOTE_RANGE_INFO): Likewise. | |
11427 | (NOTE_LIVE_INFO): Likewise. | |
11428 | (NOTE_BASIC_BLOCK): Likewise. | |
11429 | (NOTE_EXPECTED_VALUE): Likewise. | |
11430 | (NOTE_LINE_NUMBER): Likewise. | |
11431 | (LABEL_NAME): Likewise. | |
11432 | (LABEL_NUSES): Likewise. | |
11433 | (LABEL_ALTERNATE_NAME): Likewise. | |
11434 | (ADDRESSOF_DECL): Likewise. | |
11435 | (JUMP_LABEL): Likewise. | |
11436 | (LABEL_NEXTREF): Likewise. | |
11437 | (REGNO): Likewise. | |
11438 | (ORIGINAL_REGNO: Likewise. | |
11439 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
11440 | (SUBREG_REG): Whitespace. | |
11441 | (SUBREG_BYTE): Likewise. | |
11442 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
11443 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
11444 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
11445 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
11446 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
11447 | (ASM_OPERANDS_INPUT): Likewise. | |
11448 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
11449 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
11450 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
11451 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
11452 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
11453 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
11454 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
11455 | (TRAP_CONDITION): Whitespace. | |
11456 | (TRAP_CODE): Likewise. | |
11457 | (COND_EXEC_TEST): Likewise. | |
11458 | (COND_EXEC_CODE): Likewise. | |
11459 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
11460 | (PHI_NODE_P): Add parenthesis. | |
11461 | (plus_constant): Whitespace and add parenthesis. | |
11462 | ||
ebb11c7b | 11463 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
11464 | ||
11465 | * config/avr/avr.c: Fix comment typos. | |
11466 | * config/c4x/c4x.md: Likewise. | |
11467 | * config/dsp16xx/dsp16xx.h: Likewise. | |
11468 | * config/dsp16xx/dsp16xx.md: Likewise. | |
11469 | * config/i386/i386.md: Likewise. | |
11470 | * config/ia64/ia64.c: Likewise. | |
11471 | * config/m32r/m32r.h: Likewise. | |
11472 | * config/m68hc11/m68hc11.md: Likewise. | |
11473 | * config/mmix/mmix.c: Likewise. | |
11474 | * config/mn10200/mn10200.c: Likewise. | |
11475 | * config/romp/romp.c: Likewise. | |
11476 | * config/sh/sh.c: Likewise. | |
11477 | * config/stormy16/stormy16.c: Likewise. | |
11478 | * config/stormy16/stormy16.h: Likewise. | |
11479 | * config/stormy16/stormy16.md: Likewise. | |
11480 | ||
b9c9ea70 | 11481 | 2002-01-03 Graham Stott <grahams@redhat.com> |
11482 | ||
11483 | * loop.h: Update copyright date. | |
a1a7e9d5 | 11484 | (LOOP_MOVABLES): Fix typo. |
11485 | (LOOP_REGS): Likewise. | |
11486 | (LOOP_IVS): Likewise. | |
ed1e5d40 | 11487 | |
355a19c4 | 11488 | 2002-01-03 Graham Stott <grahams@redhat.com> |
11489 | ||
11490 | * cppinit.c: Update copyright date. | |
11491 | Don't include output.h | |
11492 | * Makefile.in: Update copyright date. | |
11493 | Update dependency. | |
11494 | ||
67613903 | 11495 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
11496 | ||
11497 | PR c/5226 | |
11498 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
11499 | (-pthread) Add to RS/6000 options. | |
11500 | ||
5d4f270c | 11501 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
11502 | ||
11503 | * except.c: Fix comment typos. | |
11504 | * loop.c: Likewise. | |
11505 | * varasm.c: Likewise. | |
11506 | * doc/tm.texi: Fix a typo. | |
11507 | ||
80dd10f3 | 11508 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
11509 | ||
11510 | * c-typeck.c (output_init_element): Allow initializing static storage | |
11511 | duration objects with compound literals. | |
11512 | ||
42f030bd | 11513 | 2002-01-02 Richard Henderson <rth@redhat.com> |
11514 | ||
11515 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
11516 | after abusing it. | |
11517 | ||
507293ca | 11518 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11519 | ||
c077395f | 11520 | * gcc.c (default_compilers): Const-ify. |
11521 | * mips-tdump.c (stab_names): Likewise. | |
11522 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
11523 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
11524 | pseudo_ops_t, pseudo_ops): Likewise. | |
11525 | * protoize.c (default_include): Likewise | |
11526 | ||
507293ca | 11527 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
11528 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
11529 | Add array size in declaration. | |
11530 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
11531 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
11532 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
11533 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
11534 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
11535 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
11536 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
11537 | emtens, make_nan): Const-ify. | |
11538 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
11539 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
11540 | ||
b965afcd | 11541 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
11542 | ||
11543 | * config.gcc (ia64-*-*): Set extra_headers. | |
11544 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
11545 | * config/alpha/t-osf: Remove. | |
11546 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
11547 | ||
5c2d7eb1 | 11548 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
11549 | ||
11550 | * config/rs6000/t-aix43: Revert previous change. | |
11551 | ||
ca33c4d0 | 11552 | 2002-01-02 Jason Merrill <jason@redhat.com> |
11553 | ||
11554 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
11555 | emitting an inline function out of line. | |
11556 | ||
15cfae4e | 11557 | 2002-01-02 Richard Henderson <rth@redhat.com> |
11558 | ||
11559 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
11560 | (new_die): New argument created_for. Update all callers. | |
11561 | (mark_limbo_die_list): New. | |
11562 | (dwarf2out_init): Register limbo_die_list as a root. | |
11563 | (dwarf2out_finish): Force insert limbo dies into their function | |
11564 | context. | |
11565 | ||
d066d787 | 11566 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
11567 | ||
11568 | PR c++/5089 | |
11569 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
11570 | ||
7913b5f4 | 11571 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
11572 | ||
11573 | * config/h8300/fixunssfsi.c: Update copyright. | |
11574 | Fix comment typos. | |
11575 | Fix formatting. | |
11576 | * config/h8300/h8300.c: Update copyright. | |
11577 | Eliminate warnings. | |
11578 | ||
d2833c15 | 11579 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
11580 | ||
11581 | * config/romp/romp.c: Fix comment formatting. | |
11582 | * config/romp/romp.h: Likewise. | |
11583 | * config/romp/romp.md: Likewise. | |
11584 | * config/s390/s390.c: Likewise. | |
11585 | * config/stormy16/stormy16.c: Likewise. | |
11586 | * config/stormy16/stormy16.h: Likewise. | |
11587 | ||
d513ec2f | 11588 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
11589 | ||
11590 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
11591 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
11592 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
11593 | argument down to expand_expr_stmt_value, taking | |
11594 | TREE_ADDRESSABLE into account. | |
11595 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
11596 | STMT_EXPR as addressable, i.e., one whose result we want. | |
11597 | * expr.c (expand_expr): Don't save expression statement value | |
11598 | of labeled_blocks or loop_exprs. | |
11599 | * stmt.c (expand_expr_stmt): Redirect to... | |
11600 | (expand_expr_stmt_value): ... this new function. Use new | |
11601 | argument to tell whether to save expression value. | |
11602 | (expand_end_stmt_expr): Reset last_expr_type and | |
11603 | last_expr_value if we don't have either. | |
11604 | * tree-inline.c (declare_return_variable): Mark its use | |
11605 | statement as addressable. | |
11606 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
11607 | (expand_expr_stmt_value): Declare. | |
11608 | ||
60d2983e | 11609 | 2002-01-01 Tom Rix <trix@redhat.com> |
11610 | ||
11611 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
11612 | rs6000_emit_allocate_stack. | |
11613 | ||
f448dfd0 | 11614 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
11615 | ||
11616 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
11617 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
11618 | * configure: Regenerate. | |
11619 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
11620 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
11621 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
11622 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
11623 | ||
80fabb90 | 11624 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11625 | ||
11626 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
11627 | and tree_int_cst; remove warnings. | |
11628 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
11629 | (insert_save): Likewise. | |
11630 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
11631 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
11632 | ||
338f13ca | 11633 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
11634 | ||
ffa4ba83 | 11635 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
11636 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
11637 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
11638 | (vms-dwarf2eh.o): Add Makefile rule. | |
11639 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
11640 | * config/alpha/vms-dwarf2eh.asm: New file. | |
11641 | ||
338f13ca | 11642 | * gcc.c (delete_if_ordinary): Delete all versions. |
11643 | ||
91009d64 | 11644 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
11645 | ||
11646 | * config/mmix/mmix.md: Update FIXME to not mention | |
11647 | define_constants. | |
11648 | (MMIX_rJ_REGNUM): New define_constants constant. | |
11649 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
11650 | "*movdicc_real"): Adjust contraints formatting. | |
11651 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
11652 | for branch prediction. | |
11653 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
11654 | output template. | |
11655 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
11656 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
11657 | number. Delete related FIXMEs. | |
11658 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
11659 | from number to MMIX_rJ_REGNUM. | |
11660 | (TARGET_MASK_BRANCH_PREDICT): New. | |
11661 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
11662 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
11663 | value. Add -mbranch-predict and -mno-branch-predict. | |
11664 | (TARGET_VERSION): Drop date. | |
11665 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
11666 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
11667 | for finding out global symbols. | |
11668 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
11669 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
11670 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
11671 | ||
e9006a91 | 11672 | See ChangeLog.6 for earlier changes. |