]>
Commit | Line | Data |
---|---|---|
d3294cd9 FS |
1 | 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2 | ||
3 | * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count | |
4 | for aggregate and TFmode types. | |
5 | ||
a106c875 HPN |
6 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
7 | ||
8 | * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i]. | |
9 | ||
7d7a5d6f RH |
10 | 2002-03-29 Richard Henderson <rth@redhat.com> |
11 | ||
6e2d670b | 12 | PR target/5886 |
7d7a5d6f RH |
13 | * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. |
14 | * config/ia64/hpux.h, config/ia64/linux.h: Likewise. | |
15 | ||
30c99a84 RH |
16 | 2002-03-29 Richard Henderson <rth@redhat.com> |
17 | ||
6e2d670b | 18 | PR target/6041 |
30c99a84 RH |
19 | * config/i386/i386.c (x86_arch_always_fancy_math_387): New. |
20 | (override_options): Disable NO_FANCY_MATH_387 if the arch allows. | |
21 | * config/i386/i386.h (x86_arch_always_fancy_math_387): New. | |
22 | * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix | |
23 | conditional. | |
24 | * docs/invoke.texi: Update -mno-fancy-math-387 docs. | |
25 | ||
02a566dc DJ |
26 | 2002-03-29 Dale Johannesen <dalej@apple.com> |
27 | ||
28 | * loop.c (combine_movables): Do allow combination of pseudos. | |
29 | ||
bc3a44db LR |
30 | 2002-03-29 Loren J. Rittle <ljrittle@acm.org> |
31 | ||
32 | * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. | |
33 | * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. | |
34 | No functional change except ... | |
35 | * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. | |
36 | * doc/install.texi (*-*-freebsd*): Document port configuration. | |
37 | ||
b0c48229 NB |
38 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
39 | ||
40 | * Makefile.in (convert.o, calls.o, expmed.o): Update. | |
41 | * attribs.c (handle_mode_attribute, handle_vector_size_attribute): | |
42 | Use new hooks. | |
43 | * builtin-types.def (BT_PTRMODE): Update. | |
44 | * c-common.c (type_for_size): Rename c_common_type_for_size. | |
45 | (type_for_mode): Similarly. | |
46 | (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins): | |
47 | Use new hook. | |
48 | * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New. | |
49 | * c-decl.c (finish_enum, build_enumerator): Use new hooks. | |
50 | * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE): | |
51 | Redefine. | |
52 | * c-typeck.c (common_type, comptypes, default_conversion): | |
53 | Use new hooks. | |
54 | * calls.c: Include langhooks.h. | |
55 | (emit_library_call_value_1): Use new hooks. Avoid redundant | |
56 | calls. | |
57 | * convert.c: Include langhooks.h | |
58 | (convert_to_pointer, convert_to_integer): Use new hooks. | |
59 | * except.c (init_eh): Similarly. | |
60 | * expmed.c: Include langhooks.h. | |
61 | (expand_mult_add): Use new hooks. | |
62 | * expr.c (store_expr, store_constructor, expand_expr, do_jump, | |
63 | try_casesi): Similarly. | |
64 | * fold-const.c (optimize_bit_field_compare, make_range, | |
65 | decode_field_reference, fold_truthop, fold): Similarly. | |
66 | * function.c (assign_stack_local_1, assign_stack_temp_for_type, | |
67 | put_var_into_stack): Similarly. | |
68 | * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE, | |
69 | LANG_HOOKS_TYPE_FOR_SIZE): New. | |
70 | (LANG_HOOKS_TYPES_INITIALIZER): Update. | |
71 | * langhooks.h (lang_hooks_for_types): New hooks. | |
72 | * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks. | |
73 | * tree.c (get_unwidened, get_narrower): Similarly. | |
74 | * tree.h (type_for_mode, type_for_size): Remove. | |
75 | * varasm.c (force_const_mem): Use new hooks. | |
76 | * utils2.c (nonbinary_modular_operation): Update. | |
77 | objc: | |
78 | * objc-act.c (handle_impent): Update. | |
79 | * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE): | |
80 | Redefine. | |
81 | ||
e206a74f SE |
82 | 2002-03-29 Steve Ellcey <sje@cup.hp.com> |
83 | ||
84 | * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. | |
85 | * config/ia64/ia64.c (basereg_operand): New. | |
86 | * config/ia64/ia64-protos.h (basereg_operand): Declare. | |
87 | * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand. | |
88 | ||
7d9b6378 HPN |
89 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
90 | ||
91 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct | |
92 | unwind information when frame_pointer_needed. | |
93 | (mmix_assemble_integer): Tweak wording in comment. | |
94 | ||
f1e639b1 NB |
95 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
96 | ||
97 | * Makefile.in (except.o): Update. | |
98 | * except.c: Include langhooks.h. | |
99 | (init_eh): Use langhook. | |
100 | * langhooks-def.h (LANG_HOOKS_MAKE_TYPE, | |
101 | LANG_HOOKS_FOR_TYPES_INITIALIZER): New. | |
102 | (LANG_HOOKS_INITIALIZER): Update. | |
103 | * langhooks.h (lang_hooks_for_types): New. | |
104 | (struct lang_hooks): Add it. | |
105 | * tree.c (make_lang_type_fn, make_lang_type): Remove. | |
106 | * tree.h (make_lang_type_fn, make_lang_type): Remove. | |
107 | config: | |
108 | * alpha/alpha.c: Include langhooks.h. | |
109 | (alpha_build_va_list): Use langhook. | |
110 | * d30v/d30v.c: Include langhooks.h. | |
111 | (d30v_build_va_list): Use langhook. | |
112 | * i386/i386.c: Include langhooks.h. | |
113 | (ix86_build_va_list): Use langhook. | |
114 | * rs6000/rs6000.c (rs6000_build_va_list): Use langhook. | |
115 | * s390/s390.c: Include langhooks.h. | |
116 | (s390_build_va_list): Use langhook. | |
117 | * stormy16/stormy16.c: Include langhooks.h. | |
118 | (stormy16_build_va_list): Use langhook. | |
119 | ||
f17f9332 JJ |
120 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
121 | ||
122 | PR c++/5964 | |
123 | * config/sparc/sparc.md (empty_delay_slot, branch_type): New | |
124 | attributes. | |
125 | (length): Compute variable length for branches/calls/jumps here. | |
126 | (branch, inverted_branch, normal_fp_branch, inverted_fp_branch, | |
127 | normal_fpe_branch, inverted_fpe_branch): Remove length attribute, | |
128 | define branch_type attribute. | |
129 | (divsi3_sp32): Maximum length is 6 not 7. | |
130 | (call_address_struct_value_sp32, call_symbolic_struct_value_sp32, | |
131 | call_address_untyped_struct_value_sp32, | |
132 | call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2. | |
133 | * config/sparc/sparc.c (empty_delay_slot): New function. | |
134 | * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove. | |
135 | * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype. | |
136 | ||
0a0440c9 JJ |
137 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
138 | ||
139 | * combine.c (set_nonzero_bits_and_sign_copies): Don't call | |
140 | nonzero_bits if not needed. | |
141 | (nonzero_bits) [XOR]: Likewise. | |
142 | (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if | |
143 | reg_last_set_mode and mode are both MODE_INT, but not equal. | |
144 | (record_value_for_reg): Compute reg_last_set_nonzero_bits | |
145 | in nonzero_bits_mode for MODE_INT modes. | |
146 | ||
c9045f47 RH |
147 | 2002-03-28 Richard Henderson <rth@redhat.com> |
148 | ||
149 | PR target/5715 | |
150 | * config/alpha/osf.h (ASM_SPEC): Don't pass any special options | |
151 | to GAS. Correct drift between alternatives. | |
152 | ||
f8ed1958 RH |
153 | 2002-03-28 Richard Henderson <rth@redhat.com> |
154 | ||
155 | PR target/6087 | |
156 | * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. | |
157 | ||
54e20385 LR |
158 | 2002-03-28 Alexandre Oliva <aoliva@redhat.com> |
159 | ||
160 | * config/i386/freebsd.h (LINK_SPEC): Don't pass default | |
161 | emulation to the linker. | |
162 | ||
163 | 2002-03-28 Loren J. Rittle <ljrittle@acm.org> | |
164 | ||
165 | * config/alpha/freebsd.h (LINK_SPEC): Likewise. | |
166 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
167 | ||
8bc52806 JL |
168 | Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) |
169 | ||
170 | * combine.c (simplify_and_const_int): Make sure to apply mask | |
171 | when force_to_mode returns a constant integer. PR3311. | |
172 | ||
279dccc5 JDA |
173 | 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
174 | ||
175 | * pa-linux.h (LOCAL_LABEL_PREFIX): Define. | |
176 | ||
62aaa62c GP |
177 | 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
178 | ||
179 | * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options | |
180 | and Objective-C Dialect Options. | |
181 | ||
b8de5050 RH |
182 | 2002-03-28 Richard Henderson <rth@redhat.com> |
183 | ||
184 | * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE | |
185 | comparison should be done vs !=0 not >0 return code. Tidy cases. | |
186 | ||
619708cc RH |
187 | 2002-03-28 Richard Henderson <rth@redhat.com> |
188 | ||
189 | * c-decl.c (finish_function): New arg can_defer_p. Pass it | |
190 | on to c_expand_body. | |
191 | * c-tree.h (finish_function): Update decl. | |
192 | * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. | |
193 | ||
b1d874d7 JH |
194 | Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz> |
195 | ||
196 | * ifcvt.c (if_convert): Clear aux_for_blocks early enought. | |
197 | ||
f5eb5fd0 JH |
198 | Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz> |
199 | ||
200 | * rtlanal.c: Include flags.h | |
201 | (may_trap_p): Do not mark FP operations if trapping | |
202 | if !flag_trapping_math | |
203 | * Makefile.in (rtlanal.o): Add dependency on flag.h | |
204 | * ifcvt.c (noce_operand_ok): Avoid the lameness. | |
205 | ||
81b4c798 ZW |
206 | 2002-03-27 Zack Weinberg <zack@codesourcery.com> |
207 | ||
208 | * mips.md: Use dconst1, not 1.0, as first argument of | |
209 | REAL_VALUE_LDEXP. Don't use union real_extract. | |
210 | ||
55a2ea2a AM |
211 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
212 | ||
213 | * configure.in (gcc_cv_as): Use $target_alias in directory searchs | |
214 | rather than $target. Heed program_prefix and | |
215 | program_transform_name. Search for gas in cross-compiler case too. | |
216 | "test -x" rather than "test -f". | |
217 | (gcc_cv_ld): Likewise. | |
218 | (gcc_cv_nm): Heed program_prefix and program_transform_name. | |
219 | (gcc_cv_objdump): Likewise. | |
220 | * configure: Regenerate. | |
221 | ||
7ffb4fd2 NB |
222 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
223 | ||
224 | * Makefile.in (attribs.o): Update. | |
225 | * attribs.c: Include langhooks.h. | |
226 | (decl_attributes): Use langhook. | |
227 | * c-decl.c (insert_default_attributes): Rename. | |
228 | * c-tree.h (c_insert_default_attributes): New. | |
229 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. | |
230 | (LANG_HOOKS_INITIALIZER): Update. | |
231 | * langhooks.h (struct lang_hooks): New hook. | |
232 | * tree.h (insert_default_attributes): Remove. | |
233 | objc: | |
234 | * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. | |
235 | ||
e4dbaed5 AS |
236 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
237 | ||
238 | * config/i386/i386.c (classify_argument): Also check for | |
239 | QUAL_UNION_TYPE. | |
240 | ||
18b467f1 RO |
241 | 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
242 | ||
243 | * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj | |
244 | any more. | |
245 | ||
d337d653 JH |
246 | Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz> |
247 | ||
248 | * i960.md (ret): Set PC. | |
249 | (nonlocal_goto): Fix expander. | |
250 | * builtins.c (epxand_builin_longjmp): Check that we've emitted | |
251 | some jump or call. | |
252 | ||
218aa620 JH |
253 | Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz> |
254 | ||
255 | * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting | |
256 | of libcall regions. | |
257 | ||
e27a4eaf ZD |
258 | Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
259 | ||
260 | * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of | |
261 | assigning to BLOCK_FOR_INSN directly. | |
262 | ||
8a12f34c JH |
263 | Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz> |
264 | ||
265 | * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. | |
266 | ||
c9d892a8 NB |
267 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
268 | ||
269 | * c-common.c (c_expand_expr): Fix prototype. | |
270 | * c-common.h (c_expand_expr): Always declare, update. | |
271 | * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
272 | * c-objc-common.c (c_objc_common_init): No global hook. | |
273 | * expr.c (expand_expr): Use langhook. | |
274 | * expr.h (enum expand_modifier): Conditionally declare. | |
275 | * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. | |
276 | (LANG_HOOKS_INITIALIZER): Update. | |
277 | * langhooks.c (lhd_expand_expr): New. | |
278 | * langhooks.h (struct lang_hooks): New hook. | |
279 | * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. | |
280 | (lang_independent_init): Don't default hook. | |
281 | objc: | |
282 | * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
283 | ||
6dad5a56 RH |
284 | 2002-03-27 Richard Henderson <rth@redhat.com> |
285 | ||
286 | PR target/6054 | |
287 | * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for | |
288 | TARGET_CONST_GP. Simplify conditions. | |
289 | ||
59f96879 RH |
290 | 2002-03-27 Richard Henderson <rth@redhat.com> |
291 | ||
292 | * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
293 | config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, | |
294 | config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. | |
295 | ||
f3f1190d DS |
296 | 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net> |
297 | ||
298 | * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, | |
299 | TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. | |
300 | (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): | |
301 | Remove unnecessary masks. | |
302 | (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. | |
303 | (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, | |
304 | -mwindows, -mdll switches and their negations. | |
305 | ||
31c816cf NB |
306 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
307 | ||
308 | * gcc-common.c (lang_mark_false_label_stack): Remove. | |
309 | * ggc.h (lang_mark_false_label_stack): Similarly. | |
310 | ||
aee8f532 VM |
311 | 2002-03-26 Vladimir Makarov <vmakarov@redhat.com> |
312 | ||
313 | * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__. | |
314 | ||
315 | * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__ | |
316 | or __rtems_ is defined. | |
317 | ||
1ef9531b RH |
318 | 2002-03-26 Richard Henderson <rth@redhat.com> |
319 | ||
320 | * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note | |
321 | if a non-trivial load was emitted. | |
322 | (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko | |
323 | in high+extra+low case. | |
324 | ||
300d4093 RH |
325 | 2002-03-26 Richard Henderson <rth@redhat.com> |
326 | ||
327 | * config.gcc (sparc*-solaris): Use float_format=sparc. | |
328 | ||
b3689904 RH |
329 | 2002-03-26 Richard Henderson <rth@redhat.com> |
330 | ||
331 | * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
332 | * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. | |
333 | * config/sparc/linux.h, config/sparc/linux64.h: Likewise. | |
334 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. | |
335 | (WINT_TYPE_SIZE): Fix at 32. | |
336 | ||
1eefb6c1 RH |
337 | 2002-03-26 Richard Henderson <rth@redhat.com> |
338 | ||
339 | * toplev.c (rest_of_compilation): Delay emit_initial_value_sets | |
340 | until after eh landing pad generation. | |
341 | * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. | |
342 | * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. | |
343 | ||
361ea006 RH |
344 | 2002-03-26 Richard Henderson <rth@redhat.com> |
345 | ||
346 | * expr.h (ADD_PARM_SIZE): One more convert for INC. | |
347 | ||
1de38a88 PE |
348 | 2002-03-26 Phil Edwards <pme@gcc.gnu.org> |
349 | ||
350 | * gcc.c (cpp_options): Preserve relative ordering of -pedantic | |
351 | and warning switches. | |
352 | (cc1_options): Likewise. | |
353 | ||
d7e60e95 | 354 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
361ea006 | 355 | |
d7e60e95 HB |
356 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): |
357 | Restore more of the signal context. Set no_reg_stack_frame. | |
358 | * config/ia64/unwind-ia64.c (unw_state_record): | |
359 | Add no_reg_stack_frame, comments. | |
360 | (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. | |
361 | (uw_update_context): Adjust bsp when unwinding from leaf, | |
362 | but not signal frame. | |
363 | ||
7032923b DE |
364 | 2002-03-26 David Edelsohn <edelsohn@gnu.org> |
365 | ||
366 | * config/rs6000/aix51.h (WCHAR_TYPE): Define. | |
367 | ||
8be56275 BW |
368 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
369 | ||
370 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types. | |
371 | ||
56fbb855 RE |
372 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
373 | ||
374 | PR target/5621 | |
375 | * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999: | |
376 | "Add a pool_range attribute", which was lost during the ARM/Thumb | |
377 | merge. | |
378 | ||
3437320b BW |
379 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
380 | ||
381 | * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from | |
382 | a register into the MAC16 accumulator. | |
383 | ||
173028e5 AC |
384 | 2002-03-26 Andrew Cagney <ac131313@redhat.com> |
385 | ||
386 | * doc/invoke.texi (Option Summary): Mention -Wswitch-enum. | |
387 | (Warning Options): Document -Wswitch-enum. | |
388 | * toplev.c (W_options): Add -Wswitch-enum. Update comment on | |
389 | -Wswitch. | |
390 | (warn_switch_enum): Define variables. | |
391 | * flags.h (warn_switch_enum): Declare variables. | |
392 | * stmt.c (expand_end_case_type): When warn_switch_enum / | |
393 | -Wswitch-enum, perform switch checks. | |
394 | Fix PR c/5044. | |
395 | ||
e14365a7 RE |
396 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
397 | ||
398 | * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi) | |
399 | (reload_mulsi_compare0_scratch, reload_muladdsi_compare0) | |
400 | (reload_muladdsi_compare0_scratch): Delete. | |
401 | ||
46fc709d LR |
402 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
403 | ||
404 | * doc/install.texi (*-*-freebsd*): Update. | |
405 | ||
f36dea3c RH |
406 | 2002-03-26 Richard Henderson <rth@redhat.com> |
407 | ||
8e5fe23f RH |
408 | * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype. |
409 | (SUB_PARM_SIZE): Cast DEC to ssizetype. | |
410 | ||
411 | * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK | |
412 | types from the normal argument frame. | |
413 | ||
f36dea3c RH |
414 | * config/sparc/sparc.c (function_arg_pass_by_reference): Pass |
415 | variable sized objects by reference. | |
416 | (sparc_va_arg): Receive them by reference too. | |
417 | ||
1447dc69 HP |
418 | 2002-03-26 Hartmut Penner <hpenner@de.ibm.com> |
419 | ||
420 | * config/s390/s390.c (s390_emit_epilogue): Change epilogue | |
421 | code to not restoring global registers. | |
422 | ||
4f0ade92 NB |
423 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
424 | ||
425 | * Makefile.in (ggc-common.o): Update. | |
426 | * c-decl.c (lang_mark_tree): Rename c_mark_tree. | |
427 | * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
428 | * c-tree.h (c_mark_tree): New. | |
429 | * ggc-common.c: Include langhooks.h. | |
430 | (gcc_mark_trees): Use new langhook. | |
431 | * ggc-callbacks.c: Delete file. | |
432 | * ggc.h (lang_mark_tree): Remove. | |
433 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. | |
434 | (LANG_HOOKS_INITIALIZER): Update. | |
435 | * langhooks.h (struct lang_hooks): New hook. | |
436 | objc: | |
437 | * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
438 | ||
caba570b ZW |
439 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
440 | ||
441 | * doc/cpp.texi: Exclude entire Top node from printed manual. | |
442 | Move option index after directive index. Insert page breaks | |
443 | before GFDL and concept index. Index environment variables | |
444 | with command line options. | |
445 | * doc/cppenv.texi: Use @vtable for environment variable list. | |
446 | Add paragraph explaining semantics of empty elements in path | |
447 | variables. Exclude a cross-reference to Fishkill from the | |
448 | manpage. Remove an unnecessary cross-reference of the entry | |
449 | right above the referer. Don't use @anchor in text that goes | |
450 | into manpage. | |
451 | * doc/cppopts.texi: Cross-reference the environment variables | |
452 | section, not the specific environment variable, for consistency. | |
453 | ||
6b2e80b7 RH |
454 | 2002-03-25 Richard Henderson <rth@redhat.com> |
455 | ||
456 | * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes | |
457 | anywhere in the block. Don't refer to insns that have been | |
458 | removed from the chain. Iterate backward through the new insns. | |
459 | Don't refer to edges that have been removed. | |
460 | ||
67e469d7 AM |
461 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
462 | ||
463 | * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct | |
464 | test for overflow of constant. | |
465 | ||
f2356393 RE |
466 | 2002-03-25 Richard Earnshaw <rearnsha@arm.com> |
467 | ||
468 | PR target/2623 | |
469 | * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc) | |
470 | (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use | |
471 | these patterns on arm_archv4. | |
472 | ||
355426ab DS |
473 | 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net> |
474 | ||
475 | * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned | |
476 | int". | |
477 | ||
15e5ad76 ZW |
478 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
479 | ||
480 | * toplev.c: Don't include setjmp.h. Kill float_handler_set, | |
481 | float_handled, float_handler, float_signal, set_float_handler, | |
482 | and do_float_handler. Set handler for SIGFPE to crash_signal. | |
483 | * toplev.h: Don't prototype do_float_handler. | |
484 | ||
485 | * c-lex.c: Fold parse_float into lex_number. Make warning | |
486 | about portability of hex float constants more informative, and | |
487 | don't issue it on top of a syntax error. | |
488 | * fold-const.c: Fold const_binop_1 and fold_convert_1 into | |
489 | their callers. | |
490 | * real.h: Define REAL_VALUE_ABS here... | |
491 | * simplify-rtx.c: ... not here. Fold check_fold_consts, | |
492 | simplify_unary_real, simplify_binary_real, and | |
493 | simplify_binary_is2orm1 into their callers. | |
494 | * tree.c: Fold build_real_from_int_cst_1 into caller. | |
495 | ||
496 | * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. | |
497 | ||
498 | * tsystem.h: Include float.h here... | |
499 | * libgcc2.c: ... not here. | |
500 | ||
56ae9405 NC |
501 | 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com> |
502 | ||
503 | Fixes for: PR bootstrap/3591, target/5676 | |
504 | * config/mcore/mcore.h (CC1_SPEC): Define only if not already | |
505 | defined. Do not disable exceptions or rtti. | |
506 | * config/mcore/mcore-pe.h (CC1_SPEC): Define before including | |
507 | mcore.h. Disable exceptions and rtti, since they are not | |
508 | supported by EPOC. | |
509 | ||
c88770e9 NB |
510 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
511 | ||
512 | * c-decl.c (maybe_build_cleanup): Remove. | |
513 | * expr.c (expand_expr): Use langhook. | |
514 | * langhooks-def.h (lhd_return_null_tree, | |
515 | LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. | |
516 | (LANGHOOKS_INITIALIZER): Update. | |
517 | * langhooks.c (lhd_return_null_tree): New. | |
518 | * langhooks.h (struct lang_hooks): New hook. | |
519 | * tree-inline.c (initialize_inlined_parameters): Use langhook. | |
520 | * tree.h (maybe_build_cleanup): Remove. | |
521 | ||
2ed1f154 JJ |
522 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
523 | ||
524 | * regrename.c (build_def_use): Move recog_memoized | |
525 | before extract_insn. | |
526 | ||
6ddae612 JJ |
527 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
528 | ||
529 | PR target/6043 | |
530 | * expr.c (emit_group_store): Handle storing into CONCAT. | |
531 | ||
ea475b23 JJ |
532 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
533 | ||
534 | * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and | |
535 | corresponding MATCH_DUP. | |
536 | ||
e7d482b9 RH |
537 | 2002-03-24 Richard Henderson <rth@redhat.com> |
538 | ||
cd39fc13 RH |
539 | * unroll.c (unroll_loop): Zero label_map. |
540 | ||
e7d482b9 RH |
541 | * gcse.c: Include except.h. |
542 | * Makefile.in (gcse.o): Update. | |
543 | ||
1bd6476f RH |
544 | 2002-03-24 Richard Henderson <rth@redhat.com> |
545 | ||
546 | * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change. | |
547 | Do resolve_unique_section before shared data clause. | |
548 | ||
2e6c150a RH |
549 | 2002-03-24 Richard Henderson <rth@redhat.com> |
550 | ||
551 | * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static. | |
552 | ||
b29afcf8 RH |
553 | 2002-03-24 Richard Henderson <rth@redhat.com> |
554 | ||
15e5ad76 | 555 | * recog.c (peephole2_optimize): Split blocks when EH insns are |
b29afcf8 RH |
556 | generated in the middle of a block. Do global life update if |
557 | zapped EH edges. | |
558 | ||
05ed1296 RH |
559 | 2002-03-24 Richard Henderson <rth@redhat.com> |
560 | ||
561 | * mips.c (mips_function_value): Only promote_mode for non-libcalls. | |
562 | ||
3ddbb8a9 NB |
563 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
564 | ||
565 | preprocessor/3951 | |
15e5ad76 | 566 | * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. |
3ddbb8a9 NB |
567 | * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. |
568 | (init_dependency_output): Don't make no_output decision here. | |
569 | ||
740b77b6 AC |
570 | 2002-03-24 Andrew Cagney <ac131313@redhat.com> |
571 | ||
572 | * stmt.c (check_for_full_enumeration_handling): Remove tests of | |
573 | warn_switch. Update description. | |
574 | (expand_end_case_type): Call check_for_full_enumeration_handling | |
575 | when warn_switch. | |
576 | ||
7590cfd0 SC |
577 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
578 | ||
579 | * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function. | |
580 | (m68hc11_split_move): Call it to see if the source and destination | |
581 | operands use the same direction auto inc/dec mode, otherwise make the | |
c61f581f | 582 | source an offsetable memory operand and generate an add. |
7590cfd0 | 583 | |
2e3d3481 SC |
584 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
585 | ||
586 | * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address | |
587 | register for operand 2. | |
588 | ("*subsi3_zero_extendqi"): Likewise. | |
589 | ("*iorhi3_gen"): Do the operation on the upper bits and then lower | |
590 | bits so that it is compatible with a pop. | |
591 | ("*andhi3_gen"): Likewise. | |
592 | ("xorhi3"): Likewise. | |
593 | ||
2784528c NB |
594 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
595 | ||
596 | * cppinit.c (cpp_handle_option): Set warn_endif_labels if | |
597 | -pedantic here... | |
598 | (cpp_post_options): ... not here. | |
599 | ||
aaf93206 NB |
600 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
601 | Aldy Hernandez <aldyh@redhat.com> | |
602 | ||
603 | Removal of separate preprocessor cpp0. | |
604 | ||
605 | * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS, | |
606 | cpp0, install-common): Update. | |
607 | * c-common.c (flag_preprocess_only): New. | |
608 | (c_common_init): Preprocess for -E. | |
609 | * c-common.h (flag_preprocess_only): New. | |
610 | * c-decl.c (c_decode_option): Handle -E and -std=c++98. | |
611 | * c-objc-common.c (c_init_decl_processing): Exit quickly | |
612 | for NULL return from c_common_init. | |
613 | * cpplib.h (cpp_preprocess_file): New. | |
614 | * cppmain.c (main, general_init, pfile, progname): Remove. | |
615 | (do_preprocessing): Rename cpp_preprocess_file, don't call | |
616 | cpp_finish. Don't close stdout here. | |
617 | (setup_callbacks): Update prototype. | |
618 | * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers): | |
619 | Update. | |
620 | * tradcpp.c (main): Ignore -quiet. | |
621 | objc: | |
622 | * lang-specs.h (default_compilers): Preprocess with cc1obj. | |
623 | ||
c6e6f5c1 RH |
624 | 2002-03-24 Richard Henderson <rth@redhat.com> |
625 | ||
626 | PR optimization/5742 | |
627 | * machmode.def: Add inner mode field to complex modes. | |
628 | * config/mips/mips.c (mips_function_value): Always define. Add | |
629 | new argument to handle libcalls. | |
630 | * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value. | |
631 | (FUNCTION_VALUE): Likewise. | |
632 | * config/mips/abi64.h (FUNCTION_VALUE): Remove. | |
633 | * config/mips/mips-protos.h: Update. | |
634 | ||
d88e57d1 RH |
635 | 2002-03-23 Richard Henderson <rth@redhat.com> |
636 | ||
637 | * config/sparc/sparc.c (sparc_emit_floatunsdi): New. | |
638 | * config/sparc/sparc-protos.h: Update. | |
639 | * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New. | |
640 | ||
6dfaf9ba RH |
641 | 2002-03-23 Richard Henderson <rth@redhat.com> |
642 | ||
643 | * config/sparc/gmon-sol2.c (internal_mcount): Assume either | |
644 | _start or _init begins the text segment. | |
645 | ||
0c769cf8 DE |
646 | 2002-03-23 David Edelsohn <edelsohn@gnu.org> |
647 | ||
648 | * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT | |
649 | not HOST_WIDEST_INT. | |
650 | (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes. | |
651 | ||
64e92a26 RE |
652 | 2002-03-23 Richard Earnshaw <rearnsha@arm.com> |
653 | ||
654 | PR java/5489 | |
655 | * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the | |
656 | operand argument to output_return_instruction. | |
15e5ad76 | 657 | * arm.c (arm_print_operand, case 'd'): If the operand is |
64e92a26 RE |
658 | const_true_rtx then just return. |
659 | (arm_print_operand, case 'D'): If the operand is const_true_rtx | |
660 | then abort. | |
661 | ||
d6961341 AC |
662 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
663 | ||
664 | * doc/invoke.texi (Option Summary): Mention -Wswitch-default. | |
665 | (Warning Options): Document -Wswitch-default. | |
666 | * toplev.c (W_options): Add -Wswitch-default. Update comment on | |
667 | -Wswitch. | |
668 | (warn_switch_default): Define variable. | |
669 | (warn_switch): Update comment. | |
670 | * flags.h (warn_switch_default): Declare variable. | |
671 | (warn_switch): Update comment. | |
672 | * stmt.c (expand_end_case): Check for and, when | |
673 | warn_switch_no_default, warn of a missing default case. | |
15e5ad76 | 674 | |
d4c5ac1f AM |
675 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
676 | ||
bbaa9790 AM |
677 | * real.h (N): Special case 128 bit doubles. |
678 | ||
d4c5ac1f AM |
679 | * combine.c (simplify_comparison): When widening modes, ignore |
680 | sign extension on CONST_INTs. | |
681 | ||
84bf8c2c BW |
682 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
683 | ||
684 | * config/xtensa/xtensa.c (print_operand): Fix incorrect mode | |
685 | passed to adjust_address. Fix comment formatting. | |
686 | ||
687 | ||
b216cd4a ZW |
688 | 2002-03-22 Zack Weinberg <zack@codesourcery.com> |
689 | ||
690 | * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. | |
691 | Always make REAL_VALUE_TYPE a struct containing an array of | |
692 | HOST_WIDE_INT, not a double. Tidy up the code deciding how | |
693 | big it is. Don't declare or use union real_extract. | |
694 | ||
695 | * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, | |
696 | decode_rtx_const, output_constant_pool), config/a29k/a29k.c | |
697 | (print_operand), config/arm/arm.c (output_move_double), | |
698 | config/arm/arm.md (consttable_4, consttable_8), | |
699 | config/romp/romp.c (output_fpops), config/s390/s390.h | |
700 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c | |
701 | (xtensa_output_literal): Don't use union real_extract. | |
702 | ||
703 | * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c | |
704 | (sfmode_constant_to_ulong), config/ns32k/merlin.h | |
705 | (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), | |
706 | config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h | |
707 | (PRINT_OPERAND): Don't use local version of union | |
708 | real_extract. | |
709 | ||
710 | * config/convex/convex.c (check_float_value), config/vax/vax.c | |
711 | (vax_float_literal), config/m88k/m88k.md (divdf3), | |
712 | config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), | |
713 | config/pdp11/pdp11.c (output_move_quad): Don't do host | |
714 | arithmetic on target floating point quantities. | |
715 | ||
716 | * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c | |
717 | (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. | |
718 | ||
719 | * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): | |
720 | Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. | |
721 | ||
722 | * real.c (earith): Test INFINITY rather than REAL_INFINITY; | |
723 | NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef | |
724 | INFINITY. | |
725 | * print-rtl.c (print_rtx): Disable code which needs | |
726 | floating-point emulator. | |
727 | * libgcc2.c: Include float.h and use DBL_MANT_DIG, | |
728 | FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than | |
729 | depending on HOST_FLOAT_FORMAT to be defined properly. | |
730 | ||
731 | * config/1750a/1750a.c (get_double, float_label): Delete. | |
732 | (print_operand): Delete huge commented-out chunk. Use | |
733 | REAL_VALUE_TO_DECIMAL. | |
734 | * config/1750a/1750a-protos.h: Delete prototypes of deleted | |
735 | functions. | |
736 | * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to | |
737 | IEEE_FLOAT_FORMAT. | |
738 | * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): | |
739 | Use REAL_VALUE_TO_DECIMAL as ELF version does. | |
740 | * config/m88k/m88k.c (real_power_of_2_operand, | |
741 | legitimize_operand): Take the REAL_VALUE_TYPE and/or union | |
742 | real_extract out of the union; run the input through | |
743 | REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords | |
744 | from that into the union. | |
745 | * config/pdp11/pdp11.c (output_move_double): Rearrange | |
746 | parentheses to make automatic indenter happy. | |
747 | ||
748 | * doc/tm.texi (Cross-compilation): Rename node to "Floating | |
749 | Point" and rewrite to describe current situation. Also adjust | |
750 | documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to | |
751 | match code. | |
752 | * doc/rtl.texi: Adjust cross reference. | |
753 | ||
a8cacfd2 BW |
754 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
755 | ||
756 | * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove. | |
757 | (xtensa_valid_move, xtensa_preferred_reload_class): Define. | |
758 | * config/xtensa/xtensa.c (non_acc_reg_operand): Remove. | |
759 | (xtensa_valid_move, xtensa_preferred_reload_class): Define to | |
760 | prevent use of sp as a reload register. | |
761 | (xtensa_emit_move_sequence): Use xtensa_valid_move instead of | |
762 | non_acc_reg_operand. | |
763 | * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand. | |
764 | (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class. | |
765 | * config/xtensa/xtensa.md (movsi_internal, movhi_internal, | |
766 | movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand. | |
767 | ||
d4e6133f NB |
768 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
769 | ||
b216cd4a ZW |
770 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. |
771 | * cpplex.c (unterminated): Delete. | |
772 | (parse_string): No string literal may extend over multiple | |
773 | lines. Suppress the error when preprocessing assembly. | |
d4e6133f NB |
774 | * cppmain.c (scan_translation_unit): Strings are single-line. |
775 | ||
b216cd4a | 776 | * doc/cpp.texi: Update to match. |
d4e6133f | 777 | |
65e6c005 JJ |
778 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
779 | ||
780 | PR optimization/5854 | |
781 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
782 | Shut up warnings. | |
783 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
784 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
785 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
786 | const0 if scratch register was not allocated. | |
787 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
788 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
789 | with GEN_INT (...). | |
790 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
791 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
792 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
793 | patterns. | |
794 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
795 | require scratch register for setting 0 into regs/non-pushable memory. | |
796 | ||
7f48c9e1 AO |
797 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
798 | ||
799 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
800 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
801 | ||
909de5da PE |
802 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
803 | ||
804 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
805 | * cppinit.c (cpp_create_reader): On by default. | |
806 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
807 | (cpp_post_options): Also enable if -pedantic. | |
808 | * cpplib.c (do_else): Use it. | |
809 | (do_endif): Likewise. | |
810 | * doc/cppopts.texi: Document new option. | |
811 | * doc/invoke.texi: Document new option. | |
812 | ||
d8bf17f9 LB |
813 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
814 | ||
815 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
816 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
817 | ||
70e0ccd0 AO |
818 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
819 | ||
820 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
821 | ENTRY and EXIT. | |
822 | ||
68882f0f JJ |
823 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
824 | ||
825 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
826 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
827 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
828 | rtx * instead of rtx to alter_subreg. | |
829 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
830 | * config/pj/pj.c (pj_output_rval): Likewise. | |
831 | ||
648fe28b RH |
832 | 2002-03-22 Richard Henderson <rth@redhat.com> |
833 | ||
834 | PR target/3177 | |
835 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
836 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
837 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
838 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
839 | of incomming int regs. | |
840 | ||
e8dcd824 AM |
841 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
842 | ||
843 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
844 | ||
96327cdc JH |
845 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
846 | ||
847 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
848 | New static variables. | |
849 | (rest_of_compilation): Conditionalize crossjumping and | |
850 | loop optimizer. | |
851 | (parse_options_and_default_flags): Default loop_optimize and | |
852 | crossjumping. | |
853 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
854 | * invoke.texi (crossjumping, loop-optimize): Document. | |
855 | ||
bc185257 RS |
856 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
857 | ||
858 | * real.c (eiisneg): Move outside #ifdef NANS. | |
859 | ||
0a2ed1f1 JH |
860 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
861 | ||
862 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
863 | frequencies match; avoid match on different loop depths. | |
864 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
865 | savings. | |
866 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
867 | updating code. | |
868 | (split_edge): Likewise. | |
869 | ||
870 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
871 | variable. | |
872 | ||
873 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
874 | * cfgrtl.c: Include insn-config.h | |
875 | (split_block) Dirtify block in presence of conditional execution | |
876 | ||
4d72536e RS |
877 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
878 | ||
879 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
880 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
881 | (function_arg): Constify CUMULATIVE_ARGS. | |
882 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
883 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
884 | (UNITS_PER_DOUBLE): New macro. | |
885 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
886 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
887 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
888 | fp_regs and stack_words. | |
889 | (EABI_FLOAT_VARARGS_P): New macro. | |
890 | * config/mips/mips.c (struct mips_arg_info): New. | |
891 | (mips_arg_info): New function. | |
892 | (function_arg_advance): Use it. Add adjustment instructions here | |
893 | rather than in function_arg. | |
894 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
895 | for VOIDmode at the beginning of the function. | |
896 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
897 | (function_arg_pass_by_reference): Likewise. | |
898 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
899 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
900 | (mips_va_start): Likewise. Use the new stack_words field of | |
901 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
902 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
903 | doubles and other types, aligning the overflow pointer for non-doubles | |
904 | too. Remove some code duplication. Replace hard-coded constants. | |
905 | ||
e6f884cd RS |
906 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
907 | ||
908 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
909 | (CLASS_UNITS): Undefine. | |
910 | (CLASS_MAX_NREGS): Use FP_INC. | |
911 | * config/mips/mips.c (compute_frame_size): Likewise. | |
912 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
913 | ||
10cf9bde NB |
914 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
915 | ||
916 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
917 | prototype, and handle lexing numbers and identifiers. | |
918 | (parse_identifier): Update to new form of parse_slow. | |
919 | (parse_number): Fast path only, use parse_slow otherwise. | |
920 | (_cpp_lex_direct): Update calls to parse_number. | |
921 | ||
fbc2782e DD |
922 | 2002-03-21 DJ Delorie <dj@redhat.com> |
923 | ||
924 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
925 | when redundant edges are omitted. | |
926 | * predict.c (dump_prediction): Likewise. | |
927 | ||
fba39eaf RH |
928 | 2002-03-21 Richard Henderson <rth@redhat.com> |
929 | ||
930 | PR target/5996 | |
931 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
932 | * fixinc/fixincl.x: Regenerate. | |
933 | ||
eba80994 EB |
934 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
935 | ||
936 | PR c/5597 | |
937 | * c-typeck.c (process_init_element): Flag non-static | |
938 | initialization of a flexible array member as illegal. | |
939 | ||
2a78758b AM |
940 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
941 | ||
942 | * config/rs6000/t-linux64: New. | |
943 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
944 | t-ppccomm. Use t-rs6000 and t-linux64. | |
945 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
bac015e7 AM |
946 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
947 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
948 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
2a78758b | 949 | |
2cb921f4 AH |
950 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
951 | ||
eba80994 EB |
952 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
953 | flag_really_no_inline instead of optimize == 0. | |
2cb921f4 | 954 | |
eba80994 | 955 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
2cb921f4 | 956 | |
eba80994 | 957 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
2cb921f4 | 958 | |
eba80994 | 959 | * flags.h (flag_really_no_inline): New. |
2cb921f4 | 960 | |
eba80994 EB |
961 | * c-common.c (c_common_post_options): Initialzie |
962 | flag_really_no_inline. | |
2cb921f4 | 963 | |
eba80994 | 964 | * toplev.c (flag_really_no_inline): New. |
2cb921f4 | 965 | |
239b8b9d JJ |
966 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
967 | ||
968 | * config/avr/avr.md (length): Fix length computation for | |
969 | conditional branches. | |
970 | ||
43577e6b NB |
971 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
972 | ||
973 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
974 | sdbout.o, profile.o): Update. | |
975 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
976 | langhook. | |
977 | * c-common.h (gettags): Move here from tree.h. | |
978 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
979 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
980 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
981 | * expr.c (expand_expr): Use insert_block langhook. | |
982 | * fold-const.c: Include langhooks.h. | |
983 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
984 | fold): Use global_bindings_p langhook. | |
985 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
986 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
987 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
988 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
989 | LANG_HOOKS_GETDECLS): New. | |
990 | (LANG_HOOKS_INITIALIZER): Update. | |
991 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
992 | langhook. | |
993 | * langhooks.h (struct lang_hooks_for_decls): New. | |
994 | (struct lang_hooks): Update. | |
995 | * profile.c: Include langhooks.h. | |
996 | (output_func_start_profiler): Use new langhooks. | |
997 | * sdbout.c: Include langhooks.h. | |
998 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
999 | * stmt.c: Include langhooks.h. | |
1000 | (expand_fixup, fixup_gotos): Use new langhooks. | |
1001 | * stor-layout.c: Include langhooks.h. | |
1002 | (variable_size): Use global_bindings_p langhook. | |
1003 | * toplev.c (compile_file): Use getdecls langhook. | |
1004 | * tree-inline.c (remap_block): Use insert_block langhook. | |
1005 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
1006 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
1007 | ||
5b19b10c RH |
1008 | 2002-03-21 Richard Henderson <rth@redhat.com> |
1009 | ||
1010 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
1011 | constants in .data when -fpic. | |
1012 | ||
e05af335 GP |
1013 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1014 | ||
1015 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
1016 | where appropriate. | |
1017 | ||
60ffc997 TT |
1018 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
1019 | ||
1020 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
1021 | ||
75897075 RK |
1022 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1023 | ||
a73afd69 | 1024 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
46399021 | 1025 | |
75897075 RK |
1026 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
1027 | ||
312687cf EB |
1028 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
1029 | Richard Henderson <rth@redhat.com> | |
1030 | ||
1031 | PR c/5354 | |
1032 | * c-common.c (c_expand_expr): Preserve result of a statement | |
1033 | expression if needed. | |
1034 | ||
f0e1f482 JJ |
1035 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
1036 | ||
1037 | PR bootstrap/4195 | |
1038 | * genrecog.c (maybe_both_true_mode): Remove. | |
1039 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
1040 | * machmode.def (Pmode): Likewise. | |
1041 | ||
c14b9960 JW |
1042 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
1043 | ||
1044 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
1045 | (nonlocal_mentioned_p_1): New function. | |
1046 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
1047 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
1048 | (mark_constant_function): Recognize pure functions. | |
1049 | * rtl.h (global_reg_mentioned_p): New prototype. | |
1050 | * rtlanal.c (global_reg_mentioned_p, | |
1051 | global_reg_mentioned_p_1): New function. | |
1052 | ||
aaa4d130 RO |
1053 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1054 | ||
1055 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
1056 | UNIX assert.h. | |
1057 | * fixinc/fixincl.x: Regenerate. | |
1058 | ||
e5c4bd1b JM |
1059 | 2002-03-20 Jason Merrill <jason@redhat.com> |
1060 | ||
1061 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
1062 | ||
852b81bb MM |
1063 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
1064 | ||
1065 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
1066 | -fstrict-aliasing. | |
1067 | ||
86d8c251 BW |
1068 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
1069 | ||
1070 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
1071 | ".literal_position" directive before the constant pool. | |
1072 | ||
0a39c350 GP |
1073 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1074 | ||
1075 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
1076 | Add Craig Rodrigues. | |
1077 | Add Brad Lucier to testers. | |
1078 | ||
71a83373 JJ |
1079 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
1080 | ||
1081 | PR target/4792 | |
1082 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
1083 | to if_then_else. | |
1084 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
1085 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
1086 | instead of insn_extract. | |
1087 | ||
a29b099d JJ |
1088 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
1089 | ||
1090 | PR bootstrap/4192 | |
71a83373 | 1091 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
a29b099d JJ |
1092 | |
1093 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
1094 | stmt if some case has been output. | |
1095 | ||
048b1c95 JJ |
1096 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
1097 | ||
1098 | PR c/5972 | |
1099 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
1100 | movsfcc_1, movdfcc_1): Add %O2. | |
1101 | * config/i386/i386.c (print_operand): Handle %ON. | |
1102 | Print . before float condition codes in Sun as cmov syntax. | |
1103 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
1104 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
1105 | no longer true. | |
1106 | ||
f4864588 PB |
1107 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
1108 | ||
1109 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
1110 | return instruction if PC was popped. | |
1111 | ||
3a307de4 BW |
1112 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
1113 | ||
1114 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
1115 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
1116 | ||
048b1c95 | 1117 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
ed7d44bc DJ |
1118 | |
1119 | PR optimization/5999, middle-end/5731 | |
1120 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
1121 | multiplications by reciprocals. | |
1122 | ||
7afff7cf NB |
1123 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
1124 | ||
1125 | * Makefile.in: Update. | |
1126 | * c-common.c: Include langhooks.h. | |
1127 | (inline_forbidden_p): Use new hook. | |
1128 | * diagnostic.c: Include langhooks.h. | |
1129 | (format_with_decl, announce_function, | |
1130 | default_print_error_function): Use new hook. | |
1131 | * dwarf2out.c (dwarf2_name): Use new hook. | |
1132 | * function.c: Include langhooks.h. | |
1133 | (init_function_start): Use new hook. | |
1134 | * langhooks-def.h (lhd_decl_printable_name): New. | |
1135 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
1136 | (LANGHOOKS_INITIALIZER): Update. | |
1137 | * langhooks.c (lhd_decl_printable_name): New. | |
1138 | * langhooks.h (struct lang_hooks): New hook. | |
1139 | * toplev.c (decl_name, decl_printable_name): Remove. | |
1140 | (open_dump_file): Use new hook. | |
1141 | (process_options): Remove old hook. | |
1142 | * tree.h (decl_printable_name): Remove. | |
1143 | objc: | |
1144 | * objc-act.c (objc_init): Remove old hook. | |
1145 | (objc_printable_name): Export. | |
1146 | * objc-act.h (objc_printable_name): New. | |
1147 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
1148 | ||
f78ce0b7 JB |
1149 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
1150 | ||
1151 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
1152 | the start_source_file debug hook, not the current line number. | |
1153 | ||
15b5aef3 RH |
1154 | 2002-03-19 Richard Henderson <rth@redhat.com> |
1155 | ||
1156 | * flow.c (EH_USES): Provide default. | |
1157 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
1158 | * doc/tm.texi (EH_USES): New. | |
1159 | ||
1160 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
1161 | * config/ia64/ia64-protos.h: Update. | |
1162 | * config/ia64/ia64.h (EH_USES): New. | |
1163 | ||
02a7a3fd RH |
1164 | 2002-03-19 Richard Henderson <rth@redhat.com> |
1165 | ||
1166 | * varasm.c (output_constant_def): Fix stupid typo. | |
1167 | ||
93f82d60 RH |
1168 | 2002-03-19 Richard Henderson <rth@redhat.com> |
1169 | ||
2842be05 | 1170 | PR 5879 |
93f82d60 RH |
1171 | * except.c (current_function_has_exception_handlers): New. |
1172 | * except.h: Declare it. | |
1173 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
1174 | Combine tests that disable all sibcalls for the function. | |
1175 | ||
ed4fbfa0 OH |
1176 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
1177 | ||
1178 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
1179 | for INTEGER_CST. | |
1180 | ||
ebf0e888 RH |
1181 | 2002-03-19 Richard Henderson <rth@redhat.com> |
1182 | ||
1e82682b | 1183 | PR 5977, 5991 |
ebf0e888 RH |
1184 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
1185 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
1186 | ||
e37b38d7 JB |
1187 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
1188 | ||
1189 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
1190 | name, even if the replacement list contains no tokens, as required | |
1191 | by Dwarf. | |
1192 | ||
2a4ea326 JM |
1193 | 2002-03-19 Jason Merrill <jason@redhat.com> |
1194 | ||
f9d09ae5 JM |
1195 | * varasm.c (globalize_decl): Get the name from the RTL, not |
1196 | DECL_ASSEMBLER_NAME. | |
1197 | ||
2a4ea326 JM |
1198 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
1199 | ||
99b96edb BW |
1200 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
1201 | ||
1202 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
1203 | subdi_carry): Define. | |
1204 | ||
3774b567 DE |
1205 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
1206 | ||
1207 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
1208 | about -fpic/-fPIC if extra_warnings set. | |
1209 | ||
21ef78aa DE |
1210 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
1211 | ||
1212 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
1213 | TREE_STRING_POINTER. | |
0c2fdcdf | 1214 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
21ef78aa | 1215 | |
91d4b3fd RK |
1216 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1217 | ||
1218 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
1219 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
1220 | ||
2496c7bd LB |
1221 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
1222 | ||
1223 | * emit-rtl.c (gen_int_mode): New function. | |
1224 | * rtl.h: Prototype for it. | |
1225 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
1226 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
1227 | (convert_modes, store_field), optabs.c (expand_fix), | |
1228 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
1229 | ||
1230 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
1231 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
1232 | ||
f735a153 JJ |
1233 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
1234 | ||
1235 | PR c/5656 | |
1236 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
1237 | convert_parm_for_inlining. | |
1238 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
1239 | Define. | |
1240 | * langhooks-def.h: Likewise. | |
1241 | * objc/objc-lang.c: Likewise. | |
1242 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
1243 | function. | |
1244 | * tree-inline.c (initialize_inlined_parameters): | |
1245 | Call convert_parm_for_inlining lang hook if needed. | |
1246 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
1247 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
1248 | ||
1929c971 MM |
1249 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
1250 | ||
b216cd4a | 1251 | * calls.c (precompute_arguments): Do not assume that temporaries |
1929c971 MM |
1252 | can be destroyed after expanding the argument. |
1253 | (expand_call): Likewise. | |
1254 | ||
c79ca0ac EC |
1255 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
1256 | ||
1257 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
1258 | Fix register preference on last change. | |
1259 | * config/mips/mips.c (mips_return_in_memory): New function. | |
1260 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
1261 | * config/mips/mips-protos.h: Declare. | |
1262 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
1263 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
1264 | ||
07e2e444 AO |
1265 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
1266 | ||
1bfbbbcf AO |
1267 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
1268 | a register too. | |
1269 | (anddi3, iorsi3): Likewise. | |
1270 | ||
c066429e AO |
1271 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
1272 | use %gprel for symbols that are going to be placed in linkonce | |
1273 | sections. | |
1274 | ||
07e2e444 AO |
1275 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
1276 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
1277 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
1278 | not needed. Disregard leaf_function_p(). | |
1279 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
1280 | mips16 frame pointer. | |
1281 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
1282 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
1283 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
1284 | return a REG rtx for the return address register. | |
1285 | ||
eb8e00ea BW |
1286 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
1287 | ||
1288 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
1289 | constant-pool addresses as "mode-dependent". | |
1290 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
1291 | ||
cbb92744 JJ |
1292 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
1293 | ||
1294 | PR target/5740 | |
1295 | * expr.c (emit_group_load): Use extract_bit_field if | |
1296 | needed for CONCAT arguments. | |
1297 | ||
657d9449 RE |
1298 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
1299 | ||
91f3a802 | 1300 | PR target/4863 |
657d9449 RE |
1301 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
1302 | offset to the base of the table. | |
1303 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
1304 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
1305 | as the difference of two labels. | |
1306 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
1307 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
1308 | tables in the code. | |
1309 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
1310 | * arm.c (get_jump_table_size): If the table is not in the text | |
1311 | section, return zero. | |
c79ca0ac | 1312 | |
5d5603e2 BS |
1313 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
1314 | ||
1315 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
1316 | of gen_rtx_SUBREG. | |
1317 | (arm_reload_out_hi): Use gen_lowpart instead of | |
1318 | gen_rtx_SUBREG to access QImode components. | |
1319 | * config/arm/arm.md: Disable zero_extend split for QImode | |
1320 | subregs in BIG_ENDIAN mode. | |
1321 | (storehi_bigend): Match use of least significant byte. | |
1322 | (storeinthi): Remove extraneous SUBREG. | |
66c17b64 | 1323 | Add missing construction of operands[2]. |
5d5603e2 BS |
1324 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
1325 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
1326 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
1327 | ||
df15fbc7 AH |
1328 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
1329 | ||
2496c7bd LB |
1330 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
1331 | any_operand. | |
df15fbc7 | 1332 | |
b83b7fa3 RH |
1333 | 2002-03-17 Richard Henderson <rth@redhat.com> |
1334 | ||
1335 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
1336 | explicitly. | |
1337 | ||
6f7c00fe HPN |
1338 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
1339 | ||
1340 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
1341 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
1342 | ||
155038f2 KG |
1343 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1344 | ||
720d42fa KG |
1345 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
1346 | ||
155038f2 KG |
1347 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
1348 | ||
e6542f4e RH |
1349 | 2002-03-17 Richard Henderson <rth@redhat.com> |
1350 | ||
1351 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
1352 | targetm definition. Make static. | |
1353 | ||
52dabb6c NB |
1354 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
1355 | ||
1356 | * c-common.h (yyparse, c_common_parse_file): New. | |
1357 | * c-lang.c: Include c-common.h. | |
1358 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
1359 | * c-lex.c: Include c-common.h. | |
1360 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
1361 | * c-parse.in (yyparse): Remove macro. | |
1362 | * c-tree.h (yyparse_1): Remove. | |
1363 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
1364 | (LANG_HOOKS_INITIALIZER): Update. | |
1365 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
1366 | * toplev.c (compile_file): Use parse_file hook. | |
1367 | * tree.h (yyparse): Remove. | |
e6542f4e | 1368 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
52dabb6c | 1369 | |
b5ffe606 HPN |
1370 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
1371 | ||
ba82f58b HPN |
1372 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
1373 | float_truncate, not fix. | |
1374 | ("*truncdfsf2_real"): Ditto. | |
1375 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
1376 | ||
b5ffe606 HPN |
1377 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
1378 | ||
c8d1b2b7 AO |
1379 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
1380 | ||
cfb773f9 AO |
1381 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
1382 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
1383 | where appropriate. Make the second reference to | |
1384 | leaf_function_p a function call, as intended. Reindented. | |
1385 | ||
4dffef52 AO |
1386 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
1387 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
1388 | ||
4f5bd6d7 AO |
1389 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
1390 | add register to non-constant into sp. | |
1391 | ||
c8d1b2b7 AO |
1392 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
1393 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
1394 | (mips16_gp_pseudo_rtx): Lose. | |
1395 | (INIT_EXPANDERS): Deleted. | |
1396 | * config/mips/mips.c (mips_init_machine_status): New. | |
1397 | (mips_free_machine_status): New. | |
1398 | (mips_mark_machine_status): New. | |
1399 | (override_options): Set them. | |
1400 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
1401 | (struct machine_function): ... new. Replaced all references. | |
1402 | (mips_add_gc_roots): Don't mark them. | |
1403 | (embedded_pic_fnaddr_reg): New, extracted from... | |
1404 | (embedded_pic_offset): ... here. | |
1405 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
1406 | (movsi): Likewise. | |
1407 | ||
b3124fac NB |
1408 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
1409 | ||
1410 | * cppinit.c: Revert -MD removal. | |
1411 | ||
121449b6 SC |
1412 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1413 | ||
1414 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
1415 | soft registers by default for 68HC12. | |
1416 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
1417 | when compiling with -fomit-frame-pointer. | |
1418 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
1419 | (expand_epilogue): Likewise. | |
1420 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
1421 | ||
840e2ff1 SC |
1422 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1423 | ||
1424 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
1425 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
1426 | (splits): Remove unused add splits. | |
1427 | ("*addhi3_68hc12"): Tune constraints. | |
1428 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
1429 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
1430 | ("*addhi3"): Remove extern declaration of ix_reg. | |
1431 | ("*subsi3"): Optimize and provide new split. | |
1432 | ("subhi3"): Cleanup. | |
1433 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
1434 | (arith splits): For 68hc12 save the address register on the stack | |
1435 | and do the arithmetic operation with a pop. | |
1436 | ||
3c9a5efe SC |
1437 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1438 | ||
1439 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
1440 | allocating QImode in address registers. | |
1441 | ("*movqi_m68hc11"): Likewise. | |
1442 | ||
e41f3392 JH |
1443 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
1444 | ||
1445 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
1446 | ||
576786b0 NB |
1447 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
1448 | ||
1449 | * cppinit.c (print_help): Display -MD and -MMD. | |
1450 | Don't display usage string. Update assertion syntax and | |
1451 | typo. | |
1452 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
1453 | (cpp_handle_option): Update. | |
1454 | ||
1ac458d4 CD |
1455 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
1456 | ||
1457 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
1458 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
1459 | and define it so that regardless of target CPU size, | |
1460 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
1461 | of "int" rather than "long." | |
1462 | ||
1fcd592b RH |
1463 | 2002-03-15 Richard Henderson <rth@redhat.com> |
1464 | ||
1465 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
1466 | size as a tree. | |
1467 | ||
a0df6910 SC |
1468 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1469 | ||
1470 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
1471 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
1472 | (splits): Remove constraints. | |
1473 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
1474 | ("cmpdf", "cmpsf"): Remove since not used. | |
1475 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
1476 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
1477 | ||
015a2e59 SC |
1478 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1479 | ||
1480 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
1481 | ("neghi2"): Tighten constraints. | |
1482 | ("one_cmplsi2"): Optimize and simplify split. | |
1483 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
1484 | ||
cd28557c SC |
1485 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1486 | ||
1487 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
1488 | and split of AND operation to clear the upper bits. | |
1489 | ("*logicalsi3_zextqi"): Likewise. | |
1490 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
1491 | ("*logicalsi3_silshr16"): Likewise. | |
1492 | ("logicalsi3_silshl16"): Likewise. | |
1493 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
1494 | ||
932657df SC |
1495 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1496 | ||
1497 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
1498 | (m68hc11_indirect_p): New function. | |
1499 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
1500 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
1501 | TARGET_M6812. | |
1502 | (asm_print_register): Likewise. | |
1503 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
1504 | (m68hc11_indirect_p): Declare. | |
1505 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
1506 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
1507 | (TARGET_SWITCHES): New option -mrelax. | |
1508 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
1509 | destination. | |
1510 | ("iorsi3", "xorsi3"): Likewise. | |
1511 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
1512 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
1513 | and a scratch register. | |
1514 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
1515 | ("*andhi3_const"): New when operand2 is constant. | |
1516 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
1517 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
1518 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
1519 | ("xorqi3"): Update constraints. | |
1520 | ||
fdffea1a SC |
1521 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1522 | ||
1523 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
1524 | for reg_equiv_memory_loc when the operand is a register that does | |
1525 | not get a hard register (stack location). | |
1526 | (tst_operand): After reload, accept all memory operand. | |
1527 | (symbolic_memory_operand): Fix detection of symbolic references. | |
1528 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
1529 | accept symbols and any constant. | |
1530 | ||
6272bc68 SC |
1531 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1532 | ||
1533 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
1534 | note on the insn that sets the soft frame register. | |
1535 | (must_parenthesize): ix and iy are also reserved names. | |
1536 | (print_operand_address): One more place where parenthesis are required | |
1537 | to avoid confusion with register names. | |
1538 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
1539 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
1540 | clobber. | |
1541 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
1542 | the replacement register is. | |
1543 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
1544 | and D8_REGS classes. | |
1545 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
1546 | ||
1d2d9def SC |
1547 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1548 | ||
1549 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
1550 | (___subdi3): Likewise. | |
1551 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
1552 | (__map_data_section): Optimize 68hc11 case. | |
1553 | ||
a0ccf503 SC |
1554 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1555 | ||
1556 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
1557 | than a shift to avoid adding a register with itself. | |
1558 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
1559 | (m68hc11_register_move_cost): Update and use memory move cost | |
1560 | for soft registers. | |
1561 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
1562 | it gives more opportunities to cse to optimize. | |
1563 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
1564 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
1565 | ||
6e4ae815 MM |
1566 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
1567 | ||
1568 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
1569 | * c-common.def (CLEANUP_STMT): New tree node. | |
1570 | * c-common.h (CLEANUP_DECL): New macro. | |
1571 | (CLEANUP_EXPR): Likewise. | |
1572 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
1573 | * expr.c (expand_expr): Tidy. | |
1574 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
1575 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
1576 | new local variables. | |
1577 | ||
a42519be JJ |
1578 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
1579 | ||
1580 | PR bootstrap/4128 | |
1581 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
1582 | before movrXX only, use reg_overlap_mentioned_p. | |
1583 | Only special case NE if just one insn can be generated. | |
1584 | ||
15409448 JM |
1585 | 2002-03-15 Jason Merrill <jason@redhat.com> |
1586 | ||
1587 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
1588 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
1589 | of error_mark_node. | |
1590 | ||
3a4edb44 RE |
1591 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
1592 | ||
1593 | PR target/5170 | |
1594 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
1595 | explaining non-obvious test. | |
1596 | ||
32defa36 RE |
1597 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
1598 | ||
1599 | PR target/5712 | |
1600 | * arm.md (movaddr, movaddr_insn): Delete. | |
1601 | ||
5cc90635 JM |
1602 | 2002-03-15 Jason Merrill <jason@redhat.com> |
1603 | ||
1604 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
1605 | -fkeep-static-consts doesn't apply to comdats. | |
1606 | ||
ecb0eece RH |
1607 | 2002-03-14 Richard Henderson <rth@redhat.com> |
1608 | ||
1609 | * c-decl.c: Include c-pragma.h. | |
1610 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
1611 | (finish_function): Tidy. | |
1612 | * c-pragma.c: Include c-common.h. | |
1613 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
1614 | (handle_pragma_weak): Use them. | |
1615 | (init_pragma): Register pending_weaks. | |
1616 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
1617 | * print-tree.c (print_node): Print DECL_WEAK. | |
1618 | * varasm.c (mark_weak_decls): Remove. | |
1619 | (remove_from_pending_weak_list): Remove. | |
1620 | (add_weak): Remove. | |
1621 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
1622 | (weak_decls): Make a tree_list. | |
1623 | (declare_weak): Cons weak_decls directly. | |
1624 | (globalize_decl): Remove weak_decls elements directly. | |
1625 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
1626 | symbols. Don't pretend to handle aliases. | |
1627 | (init_varasm_once): Update weak_decls registry. | |
1628 | * Makefile.in: Update dependencies. | |
1629 | ||
98d2b17e RH |
1630 | 2002-03-14 Richard Henderson <rth@redhat.com> |
1631 | ||
1632 | PR target/5312 | |
1633 | * config/ia64/ia64.c: Include tm_p.h last. | |
1634 | (gen_nop_type): Remove duplicate definition. | |
1635 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
1636 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
1637 | (nop_cycles_until): Fix typos. | |
1638 | ||
f2f4927e JJ |
1639 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
1640 | ||
1641 | PR optimization/5891 | |
1642 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
1643 | ||
5025a549 DM |
1644 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
1645 | ||
1646 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
1647 | descriptors correctly. | |
1648 | ||
03e9dbc9 MM |
1649 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
1650 | ||
1651 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
1652 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
1653 | ||
1654 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
1655 | --param. | |
1656 | ||
1657 | * unroll.c (params.h): Include. | |
1658 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
1659 | ||
1660 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
1661 | ||
1662 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
1663 | ||
12249385 RE |
1664 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
1665 | ||
1666 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
1667 | ||
f0cce04a ZW |
1668 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
1669 | ||
1670 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
1671 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
1672 | (linemarker_dir): New data object. | |
1673 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
1674 | preprocessed source. Delete obsolete comment about return | |
1675 | values of handlers. | |
1676 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
1677 | Don't muck with line_extension. | |
1678 | (directive_diagnostics): No need to issue warnings for | |
1679 | linemarkers here. | |
1680 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
1681 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
1682 | do_line. | |
1683 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
1684 | Convert escape sequences in filename argument, both places. | |
1685 | ||
1686 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
1687 | export. All callers changed. | |
1688 | * cpplib.h (cpp_quote_string): Prototype. | |
1689 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
1690 | before printing it. | |
1691 | ||
1692 | * doc/cpp.texi: Document that escapes are now interpreted in | |
1693 | #line and in linemarkers, and that non-printing characters are | |
1694 | converted to octal escapes when linemarkers are generated. | |
1695 | ||
1696 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
83a49407 JH |
1697 | |
1698 | * emit-rtl.c (try_split): Use delete_insns. | |
1699 | * recog.c (split_all_insns): Fix terminating condition. | |
1700 | ||
c882c7ac RE |
1701 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
1702 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
1703 | ||
1704 | PR target/5828 | |
1705 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
1706 | adjustment when using a frame pointer. | |
1707 | ||
3f26edaa RS |
1708 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
1709 | ||
1710 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
1711 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
1712 | (save_restore_insns, mips_expand_epilogue): And here. | |
1713 | (build_mips16_call_stub): And here. | |
1714 | (mips_function_value): Use the new macros to decide whether a single | |
1715 | or complex float can be returned in floating-point registers. Return | |
1716 | a parallel rtx in the complex case. | |
1717 | ||
1e3881c2 JH |
1718 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
1719 | ||
1720 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
1721 | call after liveness analysis. | |
1722 | ||
1723 | * recog.c (split_insn): Use delete_insn_and_edges. | |
1724 | ||
1725 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
1726 | instructions to have branch prediction notes. | |
1727 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
1728 | ||
200ef634 GK |
1729 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
1730 | ||
1731 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
1732 | that doesn't support it. | |
1733 | * configure: Regenerate. | |
1734 | ||
0b82d204 JJ |
1735 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
1736 | ||
1737 | PR target/5626 | |
1738 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
1739 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
1740 | inverted_fp_branch): Adjust calls to output_cbranch. | |
1741 | Set length attribute. | |
1742 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
1743 | output_v9branch. Set length attribute. | |
1744 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
1745 | predicates. | |
1746 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
1747 | (output_cbranch): Likewise. Handle far branches. | |
1748 | (output_v9branch): Handle far branches. | |
1749 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
1750 | Adjust prototypes. | |
1751 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
1752 | noov_compare64_op predicates. | |
1753 | ||
7a8de19b JM |
1754 | 2002-03-13 Jason Merrill <jason@redhat.com> |
1755 | ||
1756 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
1757 | into the function and constify it. | |
1758 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
1759 | ||
2a55fd42 DE |
1760 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
1761 | ||
1762 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
1763 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
1764 | std_expand_builtin_va_arg if not ABI_V4. | |
1765 | ||
19c5b1cf JM |
1766 | 2002-03-13 Jason Merrill <jason@redhat.com> |
1767 | ||
1768 | * varasm.c (globalize_decl): New fn. | |
1769 | (assemble_start_function): Use it. | |
1770 | (asm_emit_uninitialized): Use it. | |
1771 | (assemble_alias): Use it. | |
1772 | (assemble_variable): Use it. | |
1773 | ||
2a15f5e1 HPN |
1774 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
1775 | ||
1776 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
f0cce04a | 1777 | 2002-03-12 internal visibility change. |
2a15f5e1 HPN |
1778 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
1779 | visibility into SYMBOL_REF_FLAG. | |
1780 | ||
c0a3eeac UW |
1781 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
1782 | ||
1783 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
1784 | VOIDmode operand. Add compile-time optimization for constant results. | |
1785 | ||
a1652cee JM |
1786 | 2002-03-12 Jason Merrill <jason@redhat.com> |
1787 | ||
1788 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
1789 | between pointers and references. Only allow lvalues to convert to | |
1790 | reference. | |
1791 | ||
c52a375d HP |
1792 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
1793 | ||
f0cce04a ZW |
1794 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
1795 | before prologue, to avoid scheduling problems. | |
c52a375d | 1796 | |
e387e99b JJ |
1797 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
1798 | ||
1799 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
1800 | (ELIMINABLE_REGS): Add sfp->sp. | |
1801 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
1802 | ||
1803 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
09948ece JJ |
1804 | |
1805 | PR optimization/5892 | |
1806 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
1807 | ||
4061c1a3 JJ |
1808 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
1809 | ||
1810 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
1811 | classes are different. | |
1812 | ||
5b43fed1 RH |
1813 | 2002-03-12 Richard Henderson <rth@redhat.com> |
1814 | ||
9f53e965 RH |
1815 | PR optimization/5901 |
1816 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
1817 | the markers after/before the last/first insn not deleted. | |
1818 | ||
1819 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
1820 | ||
1821 | PR optimization/5878 | |
5b43fed1 RH |
1822 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
1823 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
1824 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
1825 | ||
1826 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
1827 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
1828 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
1829 | ||
1830 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
1831 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
1832 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
1833 | also. Don't set it if not flag_pic. | |
1834 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
1835 | to be INVALID_REGNUM when not used. | |
1836 | ||
4e9bb42b AH |
1837 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
1838 | ||
5b43fed1 RH |
1839 | * expmed.c (store_bit_field): Reset alias set for memory. |
1840 | (extract_bit_field): Same. | |
4e9bb42b | 1841 | |
2f9834e8 KG |
1842 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1843 | ||
1844 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
1845 | c_tree_code_name, add_c_tree_codes): Delete. | |
1846 | * c-common.h (add_c_tree_codes): Delete. | |
1847 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
1848 | Define. | |
1849 | * c-objc-common.c (c_objc_common_init): Don't call | |
1850 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
1851 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
1852 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
1853 | (objc_init): Don't call add_objc_tree_codes. | |
1854 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
1855 | tree_code_name): Define. | |
1856 | * toplev.c (lang_independent_init): Don't set | |
1857 | tree_code_length[IDENTIFIER_NODE]. | |
1858 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
1859 | Delete definitions, moved to language front-ends. | |
1860 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
1861 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
1862 | Const-ify. | |
1863 | (tree_code_length): Change type to unsigned char. | |
1864 | ||
36ad2436 RH |
1865 | 2002-03-12 Richard Henderson <rth@redhat.com> |
1866 | ||
1867 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
1868 | internal visibility change. | |
1869 | ||
0ae02efa BW |
1870 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1871 | ||
1872 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
1873 | validize_mem() instead of change_address to avoid clobbering | |
1874 | memory attributes. | |
1875 | ||
35bb2bee NB |
1876 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
1877 | ||
1878 | * c-lex.h (position_after_whitespace): Remove. | |
1879 | ||
62ae2529 JJ |
1880 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
1881 | ||
1882 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
1883 | (lex_string): Use unsigned char pointers. | |
1884 | ||
6a45951f UW |
1885 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
1886 | ||
1887 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
1888 | is not a valid memory_operand. | |
1889 | ||
e2fb85da BW |
1890 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1891 | ||
1892 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
1893 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
1894 | special case for libgcc files. | |
1895 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
1896 | (__divsi3): Likewise. | |
1897 | (__umodsi3): Likewise. | |
1898 | (__modsi3): Likewise. | |
1899 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
1900 | special case for libgcc files. | |
1901 | ||
5b8619f8 TR |
1902 | 2002-03-12 Tom Rix <trix@redhat.com> |
1903 | ||
1904 | * collect2.c (resolve_lib_name): Move outside of | |
f0cce04a | 1905 | OBJECT_FORMAT_COFF ifdef. |
5b8619f8 TR |
1906 | (ignore_library): Same. |
1907 | ||
089c8f97 BW |
1908 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1909 | ||
1910 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
1911 | ||
958c70ff BW |
1912 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1913 | ||
1914 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
1915 | to function_section before writing out the constant pool. | |
1916 | ||
a65c591c DE |
1917 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
1918 | ||
1919 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
1920 | zero_constant. | |
1921 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
1922 | ||
1923 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
1924 | ||
1925 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
1926 | (adddi3): Likewise. | |
1927 | (movdf): Likewise. | |
1928 | (movdi): Likewise. | |
1929 | (cmpsi splitter): Likewise. | |
1930 | (modsi3): Fail if <= 0. | |
1931 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
1932 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
1933 | (reg_or_sub_cint64_operand): Likewise. | |
1934 | (num_insns_constant_wide): Optimize sign extension. | |
1935 | (rs6000_legitimize_address): Likewise. | |
1936 | ||
17720332 AM |
1937 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
1938 | ||
1939 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
1940 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
1941 | ||
cd49f073 AM |
1942 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
1943 | ||
1944 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
1945 | address calculation. | |
1946 | ||
6a4e49c1 UW |
1947 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
1948 | ||
1949 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
1950 | scratch register to DImode / TImode. | |
1951 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
1952 | register used does not overlap the target. | |
1953 | ||
54b6670a KG |
1954 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1955 | ||
1956 | * Makefile.in (debug.o): Depend on debug.h. | |
1957 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
1958 | * debug.c (do_nothing_debug_hooks): Likewise. | |
1959 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
1960 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
1961 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
1962 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
1963 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
1964 | * integrate.c (output_inline_function): Likewise. | |
1965 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
1966 | * sdbout.c (sdb_debug_hooks): Likewise. | |
1967 | * toplev.c (debug_hooks): Likewise. | |
1968 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
1969 | ||
2465bf76 KG |
1970 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1971 | ||
1972 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
1973 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
1974 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
1975 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
1976 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
1977 | * defaults.h (POINTER_SIZE): Define. | |
1978 | * doc/tm.texi (POINTER_SIZE): Document default. | |
1979 | ||
53f3e9ca KG |
1980 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1981 | ||
1982 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
1983 | ||
44d3eb5b RH |
1984 | 2002-03-11 Richard Henderson <rth@redhat.com> |
1985 | ||
1986 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
1987 | if rebuild_label_notes_after_reload. | |
1988 | ||
4a085d2e HPN |
1989 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
1990 | ||
1991 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
1992 | emit pic register load if "internal" visibility. | |
1993 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
1994 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
1995 | ||
bc204393 RH |
1996 | 2002-03-11 Richard Henderson <rth@redhat.com> |
1997 | ||
1998 | * rtlanal.c: Include recog.h. | |
1999 | (keep_with_call_p): Fix thinko. | |
2000 | * Makefile.in (rtlanal.o): Update dependencies. | |
2001 | ||
6b8b9d7b CM |
2002 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
2003 | ||
2004 | * genflags.c (gen_insn): Use IS_VSPACE. | |
2005 | * genoutput.c (output_insn_data): Likewise. | |
2006 | (process_template): Likewise. | |
2007 | ||
6c40858f RH |
2008 | 2002-03-11 Richard Henderson <rth@redhat.com> |
2009 | ||
2010 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
2011 | ||
40adaa27 NB |
2012 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
2013 | ||
2014 | * Makefile.in: Update. | |
6c40858f | 2015 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
40adaa27 | 2016 | Update documentation. |
6c40858f RH |
2017 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
2018 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
40adaa27 | 2019 | |
049b03f4 ZW |
2020 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
2021 | ||
2022 | * Makefile.in: Give texi2pod its input file as a command line | |
2023 | argument, not on stdin. | |
2024 | ||
61eece67 DN |
2025 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
2026 | Daniel Berlin <dan@dberlin.org> | |
2027 | ||
2028 | C++ alias analysis improvement. | |
f0cce04a | 2029 | * alias.c (record_component_aliases): Record aliases for base |
61eece67 DN |
2030 | classes too. |
2031 | ||
a65c591c DE |
2032 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
2033 | ||
ff080aba UW |
2034 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
2035 | ||
1682dbb1 DR |
2036 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
2037 | ||
fa2d765a DR |
2038 | * toplev.c (vms_fopen): Remove, not needed. |
2039 | ||
6f1fd286 DR |
2040 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
2041 | ||
b230e057 DR |
2042 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
2043 | ||
cb9a8e97 DR |
2044 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
2045 | for FP, already done later. | |
2046 | ||
1682dbb1 DR |
2047 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
2048 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
2049 | ||
3fcaac1d RS |
2050 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
2051 | ||
2052 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
2053 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
2054 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
2055 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
2056 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
2057 | (ediv, emul, eldexp, esqrt): Likewise. | |
2058 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
2059 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
2060 | (saturate): New function. | |
2061 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
2062 | (make_nan): Use a saturation value instead of a NaN if | |
2063 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
2064 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
2065 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
2066 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
2067 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
2068 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
2069 | !ROUND_TOWARDS_ZERO. | |
2070 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
2071 | (ROUND_TOWARDS_ZERO): Document. | |
2072 | ||
d25558be AJ |
2073 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
2074 | ||
2075 | * cfg.c (dump_flow_info): Remove unused variable. | |
2076 | ||
c71f9ae7 HPN |
2077 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
2078 | ||
2079 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
2080 | computations on trees. | |
2081 | ||
561c9153 RH |
2082 | 2002-03-10 Richard Henderson <rth@redhat.com> |
2083 | ||
932b4e3e | 2084 | PR 5693: |
561c9153 RH |
2085 | * reload.c (copy_replacements_1): New. |
2086 | (copy_replacements): Use it to recurse through the rtx. | |
2087 | ||
26b738be RH |
2088 | 2002-03-10 Richard Henderson <rth@redhat.com> |
2089 | ||
2090 | * loop.c (strength_reduce): Compute number of iterations as | |
2091 | unsigned HOST_WIDE_INT. | |
2092 | ||
8d8a083e RH |
2093 | 2002-03-10 Richard Henderson <rth@redhat.com> |
2094 | ||
2095 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
2096 | to move away from the end of the block. | |
2097 | ||
32810ba3 NB |
2098 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
2099 | ||
2100 | PR preprocessor/5899 | |
2101 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
d25558be | 2102 | |
2b03d201 KG |
2103 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2104 | ||
f90c544c KG |
2105 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
2106 | ||
2b03d201 KG |
2107 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
2108 | ||
3ec1b4cb HPN |
2109 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
2110 | ||
2111 | * config/mmix/mmix.c: Improve comments. | |
2112 | (mmix_target_asm_function_prologue): Drop variable | |
2113 | empty_stack_frame. Don't allocate unused slot above fp. | |
2114 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
2115 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
2116 | brace in first column. | |
2117 | (enum reg_class): Ditto. | |
2118 | (FIRST_PARM_OFFSET): Now 0. | |
2119 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
2120 | ||
27e486c5 KG |
2121 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2122 | ||
2123 | * combine.c (make_extraction): Fix error in last change. | |
2124 | ||
0139adca KG |
2125 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2126 | ||
2127 | * c4x.c (c4x_fp_reglist): Const-ify. | |
2128 | * cris.c (cris_print_operand): Likewise. | |
2129 | * i386.c (ix86_va_arg): Likewise. | |
2130 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
2131 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
2132 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
2133 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
2134 | * mcore.h (regno_reg_class): Likewise. | |
2135 | * mips.c (gen_int_relational): Likewise. | |
2136 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
2137 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
a4334c36 | 2138 | * pdp11.c (move_costs): Likewise. |
0139adca KG |
2139 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
2140 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
2141 | Likewise. | |
2142 | * s390.h (regclass_map): Likewise. | |
2143 | * sh.c (shift_amounts): Likewise. | |
a4334c36 | 2144 | * sh.md (rotlsi3): Likewise. |
0139adca | 2145 | |
889b90a1 GK |
2146 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
2147 | ||
2148 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
2149 | (ne0+5): Use new clobber to generate proper shift pattern. | |
2150 | Patch by Michael Matz <matz@kde.org>. | |
2151 | ||
2877e0ae AS |
2152 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
2153 | ||
2154 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
2155 | ||
79b51cd7 GK |
2156 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
2157 | ||
2158 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
2159 | ||
e0f1be5c JJ |
2160 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
2161 | ||
2162 | PR middle-end/5877 | |
2163 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
2164 | even for non-representable constants. | |
2165 | ||
0a7ec763 RK |
2166 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2167 | ||
93fe8e92 RK |
2168 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
2169 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
2170 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
2171 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
2172 | (pop_function_context): Compute MAY_SHARE parameter for | |
2173 | fixup_var_refs. | |
2174 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
2175 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
2176 | ||
0a7ec763 RK |
2177 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
2178 | ||
a85cd407 AO |
2179 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
2180 | ||
9445b814 AO |
2181 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
2182 | in o32 and o64 ABIs. | |
2183 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
2184 | but getting fixed-size structs passed in registers regardless of | |
2185 | padding in o32 and o64 ABIs. | |
2186 | ||
a85cd407 AO |
2187 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
2188 | offset before loading address of argument passed by transparent | |
2189 | reference. | |
2190 | ||
c51fbe40 JDA |
2191 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2192 | ||
2193 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
2194 | ||
918e70dd AO |
2195 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
2196 | ||
2197 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
2198 | marker such that registers after it are saved. | |
2199 | ||
3070dd00 KG |
2200 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2201 | ||
2202 | * sparc.c (arith_4096_operand): Fix error in last change. | |
2203 | ||
e25d11b0 AO |
2204 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
2205 | ||
2206 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
2207 | defaults for MEABI. | |
2208 | ||
41daaf0e AH |
2209 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
2210 | ||
5b43fed1 RH |
2211 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
2212 | vectors. | |
41daaf0e | 2213 | |
fa139b00 AH |
2214 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
2215 | ||
5b43fed1 | 2216 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
fa139b00 | 2217 | |
c51d95ec JH |
2218 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
2219 | ||
2220 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
2221 | removed; fix return value. | |
2222 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
2223 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
2224 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
2225 | ||
3b25fbfe KG |
2226 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2227 | ||
2228 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
2229 | ||
189ae0f4 JH |
2230 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
2231 | ||
2232 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
2233 | ||
24965e7a NB |
2234 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
2235 | ||
2236 | * expr.c (expand_expr): Use unsave lang hook. | |
2237 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
2238 | (LANG_HOOKS_INITIALIZER): Update. | |
2239 | * langhooks.h (struct lang_hooks): New hook unsave. | |
2240 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
2241 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
2242 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
2243 | (unsave_expr_now): Remove. | |
2244 | * tree.h (unsave_expr_now, lang_unsave, | |
2245 | lang_unsave_expr_now): Remove. | |
2246 | (lhd_unsave): New. | |
2247 | ||
1e4e95d6 AJ |
2248 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
2249 | ||
2250 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
2251 | ||
054ef905 KH |
2252 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
2253 | ||
2254 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
2255 | insn length for memory load/store. | |
2256 | ||
5304400d | 2257 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1e4e95d6 | 2258 | |
5304400d CR |
2259 | * doc/install.texi (--with-libiconv-prefix): Document. |
2260 | ||
81034129 MB |
2261 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
2262 | ||
2263 | * doc/sourcebuild.texi: Fix typo. | |
2264 | ||
71db7d03 JJ |
2265 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
2266 | ||
2267 | PR c/3711 | |
2268 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
2269 | trees. | |
2270 | ||
127c1ba5 RK |
2271 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2272 | ||
2273 | * rtl.c (copy_most_rtx): Move from here ... | |
2274 | * emit-rtl.c (copy_most_rtx): ... to here. | |
2275 | ||
8a13c092 AO |
2276 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
2277 | ||
5faae4f7 AO |
2278 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
2279 | SUBTARGET_CPP_SIZE_SPEC. | |
2280 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
2281 | ||
8a13c092 AO |
2282 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
2283 | ||
4ec59de2 MH |
2284 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
2285 | ||
2286 | * gensupport.c (first_dir_md_include): Renamed from include; | |
2287 | change all references. | |
2288 | (last_dir_md_include): Renamed from last_include; change all | |
2289 | references. | |
2290 | (init_md_reader): Unconditionally initialize base_dir whether or | |
2291 | not filename is a relative path. | |
2292 | ||
12f61e77 AO |
2293 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
2294 | ||
95356058 AO |
2295 | * config/fp-bit.c (_unord_f2): Compile it in even if |
2296 | US_SOFTWARE_GOFAST is enabled. | |
2297 | ||
12f61e77 AO |
2298 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
2299 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
2300 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
2301 | NULL_RTX, try reversing the comparison and the operands. | |
2302 | ||
6d7a1c4c UW |
2303 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
2304 | ||
2305 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
2306 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
2307 | and MATCH_OP_DUP. | |
2308 | ||
66d54344 JH |
2309 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
2310 | ||
2311 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
2312 | ||
068473ec JH |
2313 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
2314 | ||
2315 | * basic-block.h (fixup_abnormal_edges): Declare. | |
2316 | * reload1.c (fixup_abnormal_edges): New function. | |
2317 | * reg-stack.c (convert_regs): Use it. | |
2318 | ||
2319 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
2320 | ||
2321 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
2322 | ||
71925bc0 RS |
2323 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
2324 | ||
2325 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
2326 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
2327 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
2328 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
2329 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
2330 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
2331 | unless x and y could be infinite. | |
2332 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
2333 | Check that the common type of both arguments is a real, even for | |
2334 | targets without unordered comparisons. Allow an integer argument | |
2335 | to be compared against a real. | |
2336 | (expand_tree_builtin): Use expand_unordered_cmp. | |
2337 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
2338 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
2339 | * fold-const.c (fold_real_zero_addition_p): New. | |
2340 | (fold): Use it, and the new HONOR_... macros. | |
2341 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
2342 | * jump.c (reversed_comparison_code_parts): After searching for | |
2343 | the true comparison mode, use HONOR_NANS to decide whether it | |
2344 | can be safely reversed. | |
2345 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
2346 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
2347 | to decide which simplifications are valid. Allow the following | |
2348 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
2349 | and (a - -b) to (a + b). | |
2350 | (simplify_relational_operation): Use HONOR_NANS. | |
2351 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
2352 | ||
145d3bf2 RE |
2353 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
2354 | ||
2355 | * combine.c (simplify_comparison): If simplifying a logical shift | |
2356 | right and compare with constant, force the comparison to unsigned. | |
2357 | ||
76a773f3 AH |
2358 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
2359 | ||
5b43fed1 | 2360 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
76a773f3 | 2361 | |
5b43fed1 RH |
2362 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
2363 | -mabi=no-altivec | |
2364 | (alt_reg_names): Remove % for vrsave. | |
76a773f3 | 2365 | |
ab55f58c RH |
2366 | 2002-03-06 Richard Henderson <rth@redhat.com> |
2367 | ||
5ddec02e | 2368 | PR optimization/5844 |
ab55f58c RH |
2369 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
2370 | if used indicates we've already emitted one copy of an operand. | |
2371 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
2372 | (gen_split): Supply a non-null used. | |
2373 | ||
e16e3291 UW |
2374 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
2375 | ||
5b43fed1 | 2376 | * reload1.c (reload): Unshare all rtl after reload is done. |
e16e3291 | 2377 | |
1e4e95d6 | 2378 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
e16e3291 UW |
2379 | but simply fail if the expression is too complex to simplify. |
2380 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
2381 | ||
2ca6672b JH |
2382 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
2383 | ||
2384 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
2385 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
2386 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
2387 | after liveness2; update comment in last crossjumping. | |
2388 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
2389 | ||
31d0dd4f JL |
2390 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
2391 | ||
d094b0b3 JL |
2392 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
2393 | after completing fast dead code elimination. | |
2394 | ||
31d0dd4f JL |
2395 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
2396 | COMPARE operator. | |
1e4e95d6 | 2397 | |
f2b958b1 PE |
2398 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
2399 | ||
2400 | * version.c: Fix misplaced leading blanks on first line. | |
2401 | ||
a2877a09 JH |
2402 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
2403 | ||
2404 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
2405 | ||
fe477d8b JH |
2406 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
2407 | ||
2408 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
2409 | (thread_jump): Use it. | |
2410 | * toplev.c (rest_of_compilation): Run jump threading after | |
2411 | liveness. | |
2412 | ||
2041cde4 JJ |
2413 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
2414 | ||
2415 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
2416 | patch. | |
2417 | ||
82d68d46 JH |
2418 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
2419 | ||
2420 | * predict.c (estimate_bb_frequencies): Do not reload the | |
2421 | frequencies from notes. | |
2422 | ||
3dec4024 JH |
2423 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
2424 | ||
2425 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
2426 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
2427 | ||
2428 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
2429 | delete_noop_moves): Return indeger. | |
2430 | * flow.c (ndead): New variable. | |
2431 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
2432 | BB argument; update callers. | |
2433 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
2434 | (life_analysis): Do not call purge_all_dead_edges. | |
2435 | (update_life_info): Return number of deleted insns; print statistics. | |
2436 | (update_life_info_in_dirty_blocks): likewise. | |
2437 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
2438 | return number of insns deleted. | |
2439 | ||
2440 | * cse.c: Include timevar.h | |
2441 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
2442 | iterate until stabilizes; print statistics; return number of killed | |
2443 | insns. | |
2444 | * Makefile.in: (cse.o): Add timevar.h dependency | |
2445 | * rtl.h (delete_trivially_dead_insns): New. | |
2446 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
2447 | * toplev.c (rest_of_compilation): Update callers. | |
2448 | ||
2449 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
2450 | (try_optimize_cfg): Do not update liveness. | |
2451 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
2452 | removal stabilizes; use delete_trivially_dead_insns. | |
2453 | ||
2454 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
2455 | ||
c7544dd8 ZW |
2456 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
2457 | ||
2458 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
2459 | callbacks when processing assembly language. | |
2460 | ||
50b424a9 JDA |
2461 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2462 | ||
2463 | * pa.h (ASM_FILE_END): Define. | |
2464 | * som.h (ASM_FILE_END): Delete. | |
2465 | ||
2466 | * pa.c (function_arg): Don't pass floats in general registers in | |
2467 | indirect calls if TARGET_ELF32. | |
2468 | ||
6185f217 RH |
2469 | 2002-03-05 Richard Henderson <rth@redhat.com> |
2470 | ||
2471 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
2472 | ||
3020a4b2 DS |
2473 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
2474 | ||
2475 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
2476 | ||
65649daa JJ |
2477 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
2478 | ||
2479 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
2480 | -r command line. Don't hide any symbols if not building | |
2481 | shared libgcc. | |
2482 | ||
5a1a3e5e JH |
2483 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
2484 | ||
2485 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
2486 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
2487 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
2488 | ||
170c56da JJ |
2489 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
2490 | ||
2491 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
2492 | wide volatile memory by parts. | |
2493 | ||
6d051694 JJ |
2494 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
2495 | ||
2496 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
2497 | is NULL. | |
2498 | ||
28bcfd4d RH |
2499 | 2002-03-05 Richard Henderson <rth@redhat.com> |
2500 | ||
5b43fed1 | 2501 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
28bcfd4d | 2502 | |
75227a33 GK |
2503 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
2504 | ||
2505 | * toplev.c (documented_lang_options): Document more | |
2506 | language-specific options. | |
2507 | * doc/invoke.texi (Warning Options): Correct documentation for | |
2508 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
2509 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
2510 | ||
4f1aac42 HPN |
2511 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
2512 | ||
2513 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
2514 | parameter to mmix_encode_section_info. | |
2515 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
2516 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
2517 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
2518 | first is non-zero, don't add symbol prefix. | |
2519 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
2520 | prototype accordingly. | |
2521 | ||
12345543 KW |
2522 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
2523 | ||
2524 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
2525 | ||
8e97db8f JM |
2526 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
2527 | ||
2528 | * configure.in: Increase required makeinfo version to 4.1. | |
2529 | * configure: Regenerate. | |
2530 | ||
06487868 GK |
2531 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
2532 | ||
2533 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
2534 | elsewhere now. | |
2535 | ||
cff42170 JM |
2536 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
2537 | ||
2538 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
2539 | * doc/invoke.texi: Fix @math uses. | |
2540 | ||
974a7f56 JH |
2541 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
2542 | ||
2543 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
2544 | removal | |
2545 | ||
3b7d0e98 AH |
2546 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
2547 | ||
5b43fed1 RH |
2548 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
2549 | (powerpc-*-eabisimaltivec*): Same. | |
3b7d0e98 | 2550 | |
5b43fed1 | 2551 | * config/rs6000/t-ppcendian: New. |
3b7d0e98 | 2552 | |
65f2f288 HB |
2553 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
2554 | ||
2555 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
2556 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
2557 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
2558 | ||
8ce0a8a5 RH |
2559 | 2002-03-03 Richard Henderson <rth@redhat.com> |
2560 | ||
2561 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
2562 | ||
ba31d94e ZW |
2563 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
2564 | ||
2565 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
2566 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
2567 | tree.c, config/m68k/m68k.c: | |
2568 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
2569 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
2570 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
2571 | * flags.h, toplev.c: Delete remaining references to | |
2572 | flag_pretend_float. | |
2573 | ||
2574 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
2575 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
2576 | real.h, not by the target configuration files. | |
2577 | ||
2578 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
2579 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
2580 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
2581 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
2582 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
2583 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
2584 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
2585 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
2586 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
2587 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
2588 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
2589 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
2590 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
2591 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
2592 | config/xtensa/xtensa.h: | |
2593 | Do not define, undefine, or mention in comments any of | |
2594 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
2595 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
2596 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
2597 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
2598 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
2599 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
2600 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
2601 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
2602 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
2603 | ||
9a571cfd KG |
2604 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2605 | ||
e81dd381 KG |
2606 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
2607 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
2608 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
2609 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
2610 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
2611 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
2612 | Delete. | |
2613 | * defaults.h (BITS_PER_WORD): Define. | |
ba31d94e | 2614 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
e81dd381 | 2615 | |
9a571cfd KG |
2616 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
2617 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
2618 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
2619 | ||
ca7558fc KG |
2620 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2621 | ||
2622 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
2623 | lieu of explicit sizeof/sizeof. | |
2624 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
2625 | ix86_expand_builtin): Likewise. | |
2626 | * mips.c (mips_add_gc_roots): Likewise. | |
2627 | * mmix.c (mmix_output_condition): Likewise. | |
2628 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
2629 | altivec_init_builtins): Likewise. | |
2630 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
2631 | * cppexp.c (Nsuff, parse_number): Likewise. | |
2632 | * cppinit.c (builtin_array_end): Likewise. | |
2633 | * gcc.c (n_default_compilers, process_command): Likewise. | |
2634 | * genpreds.c (output_predicate_decls): Likewise. | |
2635 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
2636 | * lcm.c (N_ENTITIES): Likewise. | |
2637 | * stor-layout.c (set_sizetype): Likewise. | |
ba31d94e | 2638 | |
41c78c88 RH |
2639 | 2002-03-03 Richard Henderson <rth@redhat.com> |
2640 | ||
2641 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
2642 | for types or labels. | |
2643 | ||
9e9b71e6 RH |
2644 | 2002-03-03 Richard Henderson <rth@redhat.com> |
2645 | ||
2646 | * c-decl.c (start_decl): Initialized variables are not common. | |
2647 | ||
c26a6db8 PB |
2648 | 2002-03-02 Per Bothner <per@bothner.com> |
2649 | ||
2650 | * gcc.c (option_map): Suport new --bootclasspath option. | |
2651 | --CLASSPATH is now just an alias for --classpath. | |
2652 | ||
9e8aab55 RH |
2653 | 2002-03-02 Richard Henderson <rth@redhat.com> |
2654 | ||
2655 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
2656 | load if "internal" visibility. | |
2657 | * doc/extend.texi: Document visibility meanings. | |
2658 | ||
b3bbd220 RH |
2659 | 2002-03-02 Richard Henderson <rth@redhat.com> |
2660 | ||
2661 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
2662 | to functions as well. | |
2663 | ||
b14707c3 RH |
2664 | 2002-03-02 Richard Henderson <rth@redhat.com> |
2665 | ||
2666 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
2667 | (handle_visibility_attribute): Don't call assemble_visibility. | |
2668 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
2669 | without asmspec. Invoke assemble_alias when needed. | |
2670 | * varasm.c (maybe_assemble_visibility): New. | |
2671 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
2672 | ||
b2003250 RH |
2673 | 2002-03-02 Richard Henderson <rth@redhat.com> |
2674 | ||
2675 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
2676 | invoke ENCODE_SECTION_INFO with first call flag. | |
2677 | ||
2678 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
2679 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
ba31d94e | 2680 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
b2003250 RH |
2681 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
2682 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
2683 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
2684 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
2685 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
2686 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
2687 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
2688 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
2689 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
ba31d94e ZW |
2690 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
2691 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
b2003250 RH |
2692 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
2693 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
2694 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
ba31d94e | 2695 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
b2003250 RH |
2696 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
2697 | config/sh/sh.h, config/sparc/sparc.h, | |
2698 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
2699 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
2700 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
2701 | FIRST argument. As needed, examine it and do nothing. | |
2702 | ||
ba31d94e | 2703 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
b2003250 RH |
2704 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
2705 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
2706 | ||
2707 | * config/arm/t-pe (pe.o): Add dependencies. | |
2708 | ||
5c60f03d KG |
2709 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2710 | ||
2711 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
2712 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
2713 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
2714 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
2715 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
2716 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
2717 | * defaults.h (BITS_PER_UNIT): Define. | |
2718 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
2719 | ||
86855e8c KH |
2720 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
2721 | ||
2722 | * config/h8300/h8300-protos.h: Add a prototype for | |
2723 | compute_a_shift_length. | |
2724 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
2725 | (compute_a_shift_length): Likewise. | |
2726 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
2727 | insns. | |
2728 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
2729 | compute_a_shift_length. | |
2730 | ||
f6041ed8 RK |
2731 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2732 | ||
35aa3c1c RK |
2733 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
2734 | trunc_int_for_mode. | |
2735 | ||
f6041ed8 RK |
2736 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
2737 | ||
27b41650 KG |
2738 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2739 | ||
2740 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
2741 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
2742 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
2743 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
2744 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
2745 | * tree.c (initializer_zerop): New function. | |
2746 | * tree.h (initializer_zerop): Declare. | |
2747 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
2748 | initializers in the bss section. | |
2749 | ||
ca734b39 AM |
2750 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
2751 | ||
2752 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
2753 | like more than one symbol per .weak directive. | |
2754 | ||
49b72306 RH |
2755 | 2002-03-01 Richard Henderson <rth@redhat.com> |
2756 | ||
2757 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
2758 | adjust argument_pointer by pretend_args_size. | |
2759 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
2760 | ||
fbf0fe41 KH |
2761 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
2762 | ||
2763 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
2764 | ||
0010687d JH |
2765 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
2766 | ||
2767 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
2768 | loop. | |
2769 | * flow.c (delete_dead_jumptables): Make global. | |
2770 | * rtl.h (delete_dead_jumptables): Declare. | |
2771 | ||
9429c84c DE |
2772 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
2773 | ||
2774 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
2775 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
0c2fdcdf | 2776 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
9429c84c | 2777 | |
f0b6f9a6 KH |
2778 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
2779 | ||
2780 | * config/h8300/h8300-protos.h: Fix formatting. | |
2781 | * config/h8300/h8300.c: Likewise. | |
2782 | * config/h8300/h8300.h: Likewise. | |
2783 | ||
bc8db8a1 KH |
2784 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
2785 | ||
2786 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
2787 | constant addresses. | |
2788 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
2789 | ||
32b069d3 RH |
2790 | 2002-02-28 Richard Henderson <rth@redhat.com> |
2791 | ||
2792 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
2793 | pun complex values as integers; use gen_lowpart instead of | |
2794 | gen_rtx_SUBREG. | |
2795 | (extract_bit_field): Likewise. | |
2796 | ||
79c4e63f AM |
2797 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
2798 | David Edelsohn <edelsohn@gnu.org> | |
2799 | ||
2800 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
2801 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
2802 | (SUPPORTS_WEAK): Likewise. | |
2803 | * output.h (add_weak): Add tree param. | |
2804 | * varasm.c (add_weak): Likewise. Save decl. | |
2805 | (struct weak_syms): Add decl field. | |
2806 | (mark_weak_decls): New function. | |
2807 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
2808 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
2809 | (assemble_variable): Likewise. | |
2810 | (assemble_alias): Likewise. | |
2811 | (declare_weak): Pass decl to add_weak. | |
2812 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
2813 | (remove_from_pending_weak_list): Declare and define for | |
2814 | ASM_WEAKEN_DECL. | |
2815 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
2816 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
2817 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
2818 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
2819 | .weak for code sym. Do emit .size for descriptor sym. | |
2820 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
2821 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
2822 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
2823 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
2824 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
2825 | .weak for code sym. | |
2826 | (HANDLE_PRAGMA_WEAK): Remove. | |
2827 | (ASM_WEAKEN_LABEL): Remove. | |
2828 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
2829 | ||
6f30f1f1 JM |
2830 | 2002-03-01 Jason Merrill <jason@redhat.com> |
2831 | ||
2832 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
2833 | (TARGET_EXPR_CLEANUP): New macro. | |
2834 | ||
7879b81e SE |
2835 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
2836 | ||
2837 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
2838 | to take ptr_extend into account as third type of extension. | |
2839 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
2840 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
2841 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
2842 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
2843 | * calls.c (precompute_arguments): Use new macro. | |
2844 | (expand_call): Ditto. | |
2845 | * combine.c (nonzero_bits): Ditto. | |
2846 | (record_promoted_value): Ditto. | |
2847 | * expr.c (store_expr): Ditto. | |
2848 | (expand_expr): Ditto. | |
2849 | * function.c (assign_parms): Ditto. | |
2850 | ||
42d579d8 AO |
2851 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
2852 | ||
2853 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
2854 | override -shared and -shared-libgcc. | |
2855 | ||
e0054185 DB |
2856 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
2857 | ||
2858 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
2859 | of "ultrasparc". | |
2860 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
2861 | to be broken. | |
2862 | ||
abda4f1c RH |
2863 | 2002-02-28 Richard Henderson <rth@redhat.com> |
2864 | ||
2865 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
2866 | 4 cycle latency from MM producers. | |
2867 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
2868 | ||
c0f08649 JJ |
2869 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
2870 | ||
2871 | * mklibgcc.in: Don't use GNU make extension. | |
2872 | ||
f79f2651 NB |
2873 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
2874 | ||
2875 | * c-parse.in (STATIC): New terminal. | |
2876 | (scspec): New non-terminal. Update productions accordingly. | |
2877 | (program): Remove bogus ifc / end ifc. | |
2878 | (array_declarator): Simplify production using STATIC. | |
2879 | ||
001e3fee JM |
2880 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
2881 | ||
2882 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
2883 | \a still means TARGET_BELL. | |
2884 | ||
89076bb3 RH |
2885 | 2002-02-28 Richard Henderson <rth@redhat.com> |
2886 | ||
2887 | * haifa-sched.c (sched_emit_insn): New. | |
2888 | (schedule_block): Use last_scheduled_insn to track last insn. | |
2889 | * sched-int.h (sched_emit_insn): Prototype. | |
2890 | * config/ia64/ia64.c (last_issued): Remove. | |
2891 | (ia64_variable_issue): Don't set it. | |
2892 | (nop_cycles_until): Use sched_emit_insn. | |
2893 | ||
e3aaacf4 AM |
2894 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
2895 | ||
2896 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
2897 | extended constants. | |
2898 | ||
7f473594 KH |
2899 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
2900 | ||
2901 | * config/h8300/h8300.c: Fix formatting. | |
2902 | * config/h8300/h8300.h: Likewise. | |
2903 | ||
b96c434c MM |
2904 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
2905 | ||
2906 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
2907 | which may overwrite the high byte of the frame pointer. | |
2908 | ||
9b420a6a BT |
2909 | 2002-02-28 Bo Thorsen <bo@suse.de> |
2910 | ||
2911 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
2912 | (STARTFILE_SPEC): Add 64 bit files. | |
2913 | (ENDFILE_SPEC): Likewise. | |
2914 | ||
6f30f1f1 | 2915 | 2002-02-28 Jason Merrill <jason@redhat.com> |
46cfb101 JM |
2916 | |
2917 | * c-decl.c (finish_function): Only warn about missing return | |
2918 | statement with -Wreturn-type. | |
2919 | ||
70da1d03 JH |
2920 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
2921 | ||
2922 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
2923 | ||
2924 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
2925 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
2926 | ||
38c1593d JH |
2927 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
2928 | ||
2929 | * basic-block.h (BB_REACHABLE): Renumber. | |
2930 | (BB_DIRTY, BB_NEW): New flags. | |
2931 | (clear_bb_flags): Declare. | |
2932 | (update_life_info_in_dirty_blocks): Declare. | |
2933 | * cfg.c (clear_bb_flags): New function. | |
2934 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
2935 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
2936 | reorder_insns, emit_insn_after): Mark block as dirty. | |
2937 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
2938 | (update_life_info_in_dirty_blocks): New function. | |
2939 | * recog.c (apply_change_group): Dirtify block. | |
2940 | ||
2941 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
2942 | cfg consistent. | |
2943 | * gcse.c (delete_null_pointer_checks): Likewise. | |
2944 | ||
2945 | * toplev.c (dump_file_index): Move cse2 after bp, | |
2946 | add DFI_null | |
2947 | (dump_file_info): Similary. | |
2948 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
2949 | do first if converision after null pointer checks, do cse2 | |
2950 | after branch prediction; avoid full liveness rebuild after | |
2951 | initializing subregs. | |
2952 | * invoke.texi (-d options): Document -du, renumber. | |
2953 | ||
2954 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
2955 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
2956 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
2957 | merge_blocks_move_successor_nojumps, merge_blocks, | |
2958 | try_crossjump_to_edge): Likewise. | |
2959 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
2960 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
2961 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
2962 | (merge_of_block): Do not use life_data_ok. | |
2963 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
2964 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
2965 | * lcm.c (optimize_mode_switching): Update | |
2966 | update_life_info_in_dirty_blocks | |
2967 | ||
63e1b1c4 NB |
2968 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
2969 | ||
2970 | * Makefile.in (integrate.o): Update. | |
2971 | * c-decl.c (copy_lang_decl): Rename. | |
2972 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
2973 | * integrate.c: Include langhooks.h. | |
2974 | (copy_decl_for_inlining): Update to use langhook. | |
2975 | * langhooks-def.h (lhd_do_nothing_t, | |
2976 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
2977 | (LANG_HOOKS_INITIALIZER): Update. | |
2978 | * langhooks.c (lhd_do_nothing_t): New. | |
2979 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
2980 | * tree.h (copy_lang_decl): Remove. | |
2981 | objc: | |
2982 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
2983 | ||
f472fa29 AM |
2984 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
2985 | ||
ba31d94e | 2986 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
f472fa29 AM |
2987 | POST_DEC, and POST_MODIFY. |
2988 | ||
273cf2e4 ZW |
2989 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
2990 | ||
2991 | * c-typeck.c (digest_init): Remove unused parameter; all | |
2992 | callers changed. | |
2993 | ||
4e07d762 GK |
2994 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
2995 | ||
2996 | * expmed.c (expand_shift): Correctly test for low part of a | |
2997 | subreg. | |
2998 | ||
6bc627b3 UW |
2999 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
3000 | ||
3001 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
3002 | insn UIDs with insn addresses. | |
3003 | ||
f458d1d5 ZW |
3004 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
3005 | ||
3006 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
3007 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
3008 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
3009 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
3010 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
3011 | ||
3012 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
3013 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
3014 | Document removal of -traditional mode for compilation, and | |
3015 | remove documentation only relevant to that mode. | |
3016 | ||
3017 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
3018 | config/convex/convex.h, config/d30v/d30v.h, | |
3019 | config/i386/dgux.h, config/i386/osf1elf.h, | |
3020 | config/i386/osfelf.h, config/i386/osfrose.h, | |
3021 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
3022 | config/m68k/hp310.h, config/m88k/dgux.h, | |
3023 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
3024 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
3025 | config/mips/abi64.h, config/mips/osfrose.h, | |
3026 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
3027 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
3028 | config/stormy16/stormy16.h: Remove all references to | |
3029 | -traditional from target specs. Delete all mention of the | |
3030 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
3031 | delete a couple of commented-out definitions of | |
3032 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
3033 | to -traditional. | |
3034 | ||
3035 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
3036 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
3037 | ||
e0b3a8ff ZW |
3038 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
3039 | ||
3040 | * mklibgcc.in: Don't use \n in a line subject to | |
3041 | interpretation by echo. | |
3042 | ||
5c6a85b7 GS |
3043 | 2002-02-27 Graham Stott <grahams@redhat.com> |
3044 | ||
72b05af1 GS |
3045 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
3046 | Constify NAME. | |
3047 | ||
7d104885 GS |
3048 | * loop.c (prescan_loop): Handle PARALLEL. |
3049 | ||
8ed805d2 GS |
3050 | * unroll.c (loop_iterations): Return 0 if the add_val for |
3051 | a BIV is REG. | |
3052 | ||
fd478a0a GS |
3053 | * final.c (output_operand_lossage): Constify PFX_STR. |
3054 | ||
5c6a85b7 GS |
3055 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
3056 | ||
cd98ad03 JH |
3057 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
3058 | ||
3059 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
3060 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
3061 | ||
639ae55b JH |
3062 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
3063 | ||
3064 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
3065 | ||
e808ec9c NB |
3066 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
3067 | ||
3068 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
3069 | arguments. | |
3070 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
3071 | if parsing macro args when entering a directive. | |
3072 | * cppmacro.c (collect_args): No need to handle directives | |
3073 | in macro arguments. | |
3074 | (enter_macro_context, replace_args): Use the original macro | |
3075 | definition in case it was redefined whilst collecting arguments. | |
3076 | doc: | |
3077 | * cpp.texi: Update. | |
3078 | ||
f585a356 DE |
3079 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
3080 | ||
3081 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
3082 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
3083 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
3084 | method on AIX. | |
3085 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
3086 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
3087 | (load_toc_v4_PIC_2): Same. | |
3088 | ||
3089 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
3090 | ||
3091 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
3092 | ||
d699058e RH |
3093 | 2002-02-26 Richard Henderson <rth@redhat.com> |
3094 | ||
3095 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
3096 | ||
eadccfbb RH |
3097 | 2002-02-26 Richard Henderson <rth@redhat.com> |
3098 | ||
3099 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
3100 | MODULE_LOCAL_P; improve commentary. | |
3101 | ||
7080ada1 ZW |
3102 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
3103 | ||
3104 | * doc/cpp.texi: Clarify documentation of relationship between | |
3105 | #line and #include. | |
3106 | ||
b42cff6b KH |
3107 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
3108 | ||
3109 | * config/h8300/h8300-protos.h: Update the prototype for | |
3110 | compute_logical_op_length. Add the prototype for | |
3111 | compute_logical_op_cc. | |
3112 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
3113 | code from operands. | |
3114 | (compute_logical_op_cc): New. | |
3115 | * config/h8300/h8300.md: Combine all the logical op patterns | |
3116 | in HImode and SImode. Use compute_logical_op_cc. | |
3117 | ||
831c4e87 KC |
3118 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
3119 | ||
3120 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
3121 | length suffixs to x87 opcodes when in Intel mode. | |
3122 | ||
ff88fe10 RS |
3123 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
3124 | ||
3125 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
3126 | (init_emit_once): Update calls. | |
3127 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
3128 | (init_syntax_once): Prototype. | |
3129 | ||
d4108589 JDA |
3130 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3131 | ||
3132 | * pa-linux.h (LIB_SPEC): Update definition. | |
3133 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
3134 | ||
e013f3c7 RH |
3135 | 2002-02-26 Richard Henderson <rth@redhat.com> |
3136 | ||
3137 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
3138 | if we emitted a stop bit. | |
3139 | ||
9e944a16 JJ |
3140 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
3141 | ||
3142 | * configure.in (libgcc_visibility): Substitute. | |
3143 | * configure: Rebuilt. | |
3144 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
3145 | defined symbols .hidden. | |
3146 | ||
47bd70b5 JJ |
3147 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
3148 | ||
3149 | * attribs.c (c_common_attribute_table): Add visibility. | |
3150 | (handle_visibility_attribute): New function. | |
3151 | * varasm.c (assemble_visibility): New function. | |
3152 | * output.h (assemble_visibility): Add prototype. | |
3153 | * tree.h (MODULE_LOCAL_P): Define. | |
3154 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
3155 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
3156 | for MODULE_LOCAL_P symbols too. | |
3157 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
3158 | MODULE_LOCAL_P symbols the same way as local symbols. | |
3159 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
3160 | into .sdata/.sbss by the user. | |
3161 | * doc/extend.texi (Function Attributes): Document visibility | |
3162 | attribute. | |
3163 | ||
6d73371a JJ |
3164 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
3165 | ||
3166 | PR debug/5770 | |
3167 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
3168 | STRING_CST initializer spanning the whole variable without | |
3169 | embedded zeros. | |
3170 | If expand_expr returned MEM, don't use it. | |
3171 | ||
06e224f7 AO |
3172 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
3173 | ||
3174 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
3175 | generate a die for the lexical block. | |
3176 | ||
40367e2d KH |
3177 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
3178 | ||
3179 | * config/h8300/h8300-protos.h: Add a prototype for | |
3180 | compute_logical_op_length. | |
3181 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
3182 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
3183 | compute_logical_op_length for length. | |
3184 | ||
0e98f924 AH |
3185 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
3186 | ||
831c4e87 KC |
3187 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
3188 | for vectors. | |
3189 | (gen_type_die): Same. | |
0e98f924 | 3190 | |
831c4e87 | 3191 | * attribs.c (handle_vector_size_attribute): Set debug information. |
0e98f924 | 3192 | |
a50cfd52 DE |
3193 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
3194 | ||
831c4e87 KC |
3195 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
3196 | fix incorrect generation of merge high instructions instead | |
3197 | of merge low. | |
a50cfd52 | 3198 | |
b7997284 AH |
3199 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
3200 | ||
831c4e87 KC |
3201 | * c-typeck.c (really_start_incremental_init): Use |
3202 | bitsize_zero_node for vectors. | |
b7997284 | 3203 | |
376aec5d AH |
3204 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
3205 | ||
831c4e87 KC |
3206 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
3207 | ("*set_vrsave_internal"): Same. | |
376aec5d | 3208 | |
3b40e71b RH |
3209 | 2002-02-25 Richard Henderson <rth@redhat.com> |
3210 | ||
3211 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
3212 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
3213 | ||
232b8f52 JJ |
3214 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
3215 | ||
3216 | PR target/5755 | |
3217 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
3218 | fake structure return argument if it was passed on the stack. | |
3219 | ||
67282790 JM |
3220 | 2002-02-25 Jason Merrill <jason@redhat.com> |
3221 | ||
3222 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
3223 | RESULT_DECL. | |
3224 | ||
5c181756 AO |
3225 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
3226 | ||
3227 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
3228 | link with shared_name only. | |
3229 | * doc/invoke.texi (Link Options): Document new behavior. | |
3230 | ||
6786d201 AH |
3231 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
3232 | ||
831c4e87 | 3233 | * c-typeck.c (push_init_level): Handle vectors. |
6786d201 | 3234 | |
7d6040e8 AO |
3235 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
3236 | ||
3237 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
3238 | operands of SPARC_SETHI_P. | |
3239 | (input_operand): Likewise. | |
3240 | (sparc_emit_set_const32): Likewise. | |
3241 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
3242 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
3243 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
3244 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
3245 | (movdi_insn_sp64_vis): Likewise. | |
3246 | (movdi split, movdf split): Use SETHI32. | |
3247 | * doc/md.texi: Document SPARC constraints L, M and N. | |
3248 | ||
b188f760 AH |
3249 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
3250 | ||
831c4e87 KC |
3251 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
3252 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
b188f760 | 3253 | |
831c4e87 KC |
3254 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
3255 | gen_get_vrsave_internal. | |
b188f760 | 3256 | |
8041889f RK |
3257 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3258 | ||
3259 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
3260 | ||
a47ed310 NB |
3261 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
3262 | ||
3263 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
3264 | otherwise of wide character constants correct. | |
3265 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
3266 | ||
cb8f73be RK |
3267 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3268 | ||
3269 | * optabs.c (widen_operand): Only call convert_modes for | |
3270 | promoted SUBREG if signedness matches. | |
3271 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
3272 | ||
2450e0b8 NB |
3273 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
3274 | ||
3275 | * cpplib.c (glue_header_name): Use local buffer to build up | |
3276 | header name. | |
3277 | ||
70b6aaed NB |
3278 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
3279 | ||
3280 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
3281 | ||
6be580c7 KH |
3282 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
3283 | ||
3284 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
3285 | H8/300[HS] separately. | |
3286 | * config/h8300/h8300.md: Remove the early clobber constraint | |
3287 | from bit field patterns. | |
3288 | ||
35dad9f1 KH |
3289 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
3290 | ||
3291 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
3292 | register_operand. | |
3293 | (mulhisi3): Likewise. | |
3294 | (umulqisi3): Likewise. | |
3295 | (umulhisi3): Likewise. | |
3296 | ||
ab8e2228 NB |
3297 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
3298 | ||
3299 | * cppinit.c (output_deps): Correct test for stdout output. | |
3300 | (init_dependency_output): Cure warning. | |
3301 | ||
ac6f8a15 RK |
3302 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3303 | ||
3304 | * expr.c (store_expr): When converting expression to promoted | |
3305 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
3306 | of the expansion of EXP. | |
3307 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
3308 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
3309 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
3310 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
3311 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
3312 | ||
f282ffb3 JM |
3313 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
3314 | ||
3315 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
3316 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
3317 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
3318 | ||
44c5edc0 JJ |
3319 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
3320 | ||
3321 | PR optimization/5747 | |
3322 | * loop.c (scan_loop): Update reg info if move_movables created new | |
3323 | pseudos. | |
3324 | ||
f98e43c0 DE |
3325 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
3326 | ||
3327 | * gcc.c (init_gcc_spec): Revert last change. | |
3328 | ||
e72247f4 DE |
3329 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
3330 | ||
3331 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
3332 | gpc_reg_operand constraint. | |
3333 | ||
3334 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
3335 | ||
3336 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
3337 | Simplify comparison of `low'. | |
3338 | (add_operand): Fix formatting. | |
3339 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
57deb3a1 | 3340 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
e72247f4 DE |
3341 | (rs6000_stack_info): Remove redundant test setting push_p. |
3342 | (output_toc): Fix formatting. | |
3343 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
3344 | cc_reg_not_cr0_operand constraint. | |
3345 | (booldi3, boolcdi3 splitters): Same. | |
3346 | ||
a5c30531 AH |
3347 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
3348 | ||
831c4e87 | 3349 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
a5c30531 | 3350 | |
43710f9f DE |
3351 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
3352 | ||
3353 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
3354 | gcc invoked with -shared-libgcc. | |
3355 | ||
3256b817 JJ |
3356 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
3357 | ||
3358 | PR c++/5748 | |
3359 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
3360 | decl if any of elements was TREE_USED. | |
3361 | ||
9e0625a3 AO |
3362 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
3363 | ||
3364 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
3365 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
3366 | (arith_4096_operand): Don't throw high bits away. | |
3367 | (const64_operand): Take sign extension of CONST_INTs into account. | |
3368 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
3369 | (GEN_HIGHINT64): Likewise. | |
3370 | (sparc_emit_set_const64_quick1): Likewise. | |
3371 | (const64_is_2insns): Likewise. | |
3372 | (print_operand): Use trunc_int_for_mode for sign extension. | |
3373 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
3374 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
3375 | chars. Assume CONST_INT is already properly sign-extended. | |
3376 | (movdi split): Sign-extend each SImode part. | |
3377 | (andsi3 split): Don't mask high bits off, so that result | |
3378 | remains properly sign-extend. | |
3379 | (iorsi3 split): Likewise. | |
3380 | (xorsi3 split): Likewise. | |
3381 | ||
54fec3d5 RS |
3382 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
3383 | ||
3384 | * fold-const.c (fold): Fix typo in comments. | |
3385 | ||
667ada9b DN |
3386 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
3387 | ||
3388 | * Makefile.in (langhooks.o): Update dependencies. | |
3389 | ||
29ac78d5 DN |
3390 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
3391 | ||
3392 | * langhooks.c: Include flags.h. | |
3393 | ||
6aa77e6c AH |
3394 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
3395 | ||
3396 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
3397 | ||
3398 | * c-common.c (c_common_post_options): Set inline trees by | |
3399 | default. | |
3400 | ||
3401 | * doc/extend.texi (Function Attributes): Document always_inline | |
3402 | attribute. | |
3403 | Update documentation about inlining when not optimizing. | |
3404 | ||
3405 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
3406 | ||
3407 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
3408 | unless DECL_ALWAYS_INLINE. | |
3409 | ||
3410 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
3411 | unless DECL_ALWAYS_INLINE. | |
3412 | (c_disregard_inline_limits): Disregard if always_inline set. | |
3413 | ||
3414 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
3415 | Disregard if always_inline set. | |
3416 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
3417 | unless DECL_ALWAYS_INLINE. | |
3418 | ||
3419 | * attribs.c (handle_always_inline_attribute): New. | |
3420 | (c_common_attribute_table): Add always_inline. | |
3421 | ||
3422 | * config/rs6000/altivec.h: Add prototypes for builtins | |
3423 | requiring the always_inline attribute. | |
3424 | ||
c410d49e EC |
3425 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
3426 | ||
3427 | * expmed.c (store_bit_field): Try to simplify the subreg | |
3428 | before generating a new one when when the mode size of | |
3429 | value is less than maxmode. | |
3430 | ||
e3c8ea67 RH |
3431 | 2002-02-21 Richard Henderson <rth@redhat.com> |
3432 | ||
3433 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
3434 | than gen_rtx_PLUS to form the sum. | |
3435 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
3436 | when force_operand returns a register. | |
3437 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
3438 | return a sum. Do not force addresses into registers. | |
3439 | (expand_expr): Likewise. | |
3440 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
3441 | to canonicalize arithmetic that didn't simpify. | |
3442 | (simplify_plus_minus): New argument force; update | |
3443 | all callers. Don't split CONST unless we can do something with it, | |
3444 | and wouldn't lose the constness of the operands. | |
3445 | ||
3446 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
3447 | that we generated earlier. | |
3448 | ||
c1a046e5 TT |
3449 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
3450 | ||
3451 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
3452 | (output_line_info): Use constant `1', with a long explanatory | |
3453 | comment. | |
3454 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
3455 | ||
31fbaad4 R |
3456 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3457 | ||
3458 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
3459 | delete it. | |
3460 | ||
a7f52356 R |
3461 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3462 | ||
3463 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
3464 | If input is constant, do shifts at compile time. | |
3465 | ||
924fcc4e JM |
3466 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
3467 | ||
3468 | * doc/extend.texi: Fix some more overfull hboxes. | |
3469 | ||
e5a20888 JJ |
3470 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
3471 | ||
3472 | PR optimization/4994 | |
3473 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
3474 | register moves. | |
3475 | ||
3476 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
22273300 JJ |
3477 | |
3478 | PR c++/4574 | |
3479 | * expr.h (expand_and): Add mode argument. | |
3480 | * expmed.c (expand_and): Add mode argument. | |
3481 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
3482 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
3483 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
3484 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
3485 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
3486 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
3487 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
3488 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
3489 | gen_rtx (CONST_INT, VOIDmode, x). | |
3490 | ||
7133e992 JJ |
3491 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
3492 | ||
3493 | PR c/4697: | |
3494 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
3495 | ||
e2ec05a6 TG |
3496 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
3497 | ||
3498 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
831c4e87 | 3499 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
e2ec05a6 | 3500 | |
9dd791c8 AO |
3501 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
3502 | ||
3503 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
3504 | SUBREG or ZERO_EXTEND. | |
3505 | ||
7ab56274 R |
3506 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3507 | ||
3508 | * sh.h (current_function_anonymous_args): Remove. | |
3509 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
3510 | of current_function_varargs and current_function_stdarg is set. | |
3511 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
3512 | current_function_stdarg / TARGET_SH5 instead of | |
3513 | current_function_anonymous_args. | |
3514 | ||
3515 | * sh64.h (TARGET_VERSION): Define. | |
3516 | ||
b1765bde DE |
3517 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
3518 | ||
3519 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
3520 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
3521 | ||
3522 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
3523 | ||
3524 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
3525 | bits of SImode const_int. | |
3526 | (includes_rshift_p): Likewise. | |
3527 | (print_operand): Call mask_operand and mask64_operand with correct | |
c410d49e | 3528 | mode. |
b1765bde DE |
3529 | (rs6000_output_function_epilogue): Pad traceback table to word. |
3530 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
3531 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
3532 | mask64_operand with correct mode. | |
b1765bde DE |
3533 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
3534 | ||
149d6f9e JJ |
3535 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
3536 | ||
3537 | PR debug/4461 | |
3538 | * varasm.c (get_pool_constant_mark): New. | |
3539 | * rtl.h (get_pool_constant_mark): Add prototype. | |
3540 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
3541 | be represented if it has not been output. | |
3542 | ||
4161da12 AO |
3543 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
3544 | ||
3545 | * combine.c (do_SUBST): Sanity check substitutions of | |
3546 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
3547 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
3548 | CONST_INT into its operand. | |
3549 | (known_cond): Likewise, for ZERO_EXTEND. | |
3550 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
3551 | allow for simplification of wide modes. Reject CONST_INTs in | |
3552 | ZERO_EXTEND when their actual mode is not given. | |
3553 | ||
3704ef74 AO |
3554 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
3555 | ||
3556 | * c-decl.c (pushdecl): If no global declaration is found for an | |
3557 | extern declaration in block scope, try a limbo one. | |
3558 | ||
7552da58 JJ |
3559 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
3560 | ||
3561 | PR c++/4401 | |
3562 | * c-common.c (pointer_int_sum): Moved from... | |
3563 | * c-typeck.c (pointer_int_sum): ...here. | |
3564 | * c-common.h (pointer_int_sum): Add prototype. | |
3565 | ||
00fae85d JJ |
3566 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
3567 | ||
3568 | PR c++/5713 | |
3569 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
3570 | redeclaration. | |
3571 | ||
4636c87e JJ |
3572 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
3573 | Jakub Jelinek <jakub@redhat.com> | |
3574 | ||
3575 | PR c/4389 | |
3576 | * tree.c (host_integerp): Ensure that the constant integer is | |
3577 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
3578 | when pos is zero or non-zero respectively. Clarify comment. | |
3579 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
3580 | usage; the pos argument should be zero when assigning to a | |
3581 | signed HOST_WIDE_INT. | |
3582 | ||
59bef189 RH |
3583 | 2002-02-20 Richard Henderson <rth@redhat.com> |
3584 | ||
3585 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
3586 | of the operand, rather than assuming TImode. | |
3587 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
3588 | using nonimmediate_operand for both operands. | |
3589 | (ix86_expand_timode_binop_builtin): Likewise. | |
3590 | (ix86_expand_store_builtin): Validate operand 1. | |
3591 | (ix86_expand_unop1_builtin): Likewise. | |
3592 | ||
9338ffe6 | 3593 | 2002-02-20 Philip Blundell <philb@gnu.org> |
c410d49e | 3594 | |
9338ffe6 PB |
3595 | PR 5705 |
3596 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
3597 | ||
f322b423 RH |
3598 | 2002-02-20 Richard Henderson <rth@redhat.com> |
3599 | ||
3600 | PR c/5615 | |
3601 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
3602 | ||
d94084f7 TT |
3603 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
3604 | ||
3605 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
3606 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
3607 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
3608 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
3609 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
3610 | unconditionally. | |
3611 | ||
37fa124a AM |
3612 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
3613 | ||
3614 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
3615 | for (const_int 0) in X not just INTVAL. | |
3616 | ||
6e5bb5ad JM |
3617 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
3618 | ||
3619 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
3620 | ||
420e7dfa DN |
3621 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
3622 | ||
3623 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
3624 | operations if the field does not start at a mode boundary. | |
3625 | ||
1b7a2af6 JS |
3626 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
3627 | ||
3628 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
3629 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
3630 | Also done for -Acpu and -Amachine. | |
3631 | ||
56cd5b95 NB |
3632 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
3633 | ||
3634 | * cppinit.c (init_dependency_output): Take deps output file | |
3635 | from -o if none given with -MF. Suppress normal output. | |
c410d49e | 3636 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
56cd5b95 NB |
3637 | * doc/cpp.texi, doc/invoke.texi: Update. |
3638 | ||
042cdf71 ZW |
3639 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
3640 | ||
3641 | * toplev.c (output_quoted_string): Write unprintable | |
3642 | characters with octal escapes. | |
3643 | ||
c1f11548 DE |
3644 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
3645 | ||
3646 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
3647 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
3648 | ||
3649 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
c410d49e | 3650 | |
c1f11548 DE |
3651 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
3652 | MODE_MASK. | |
3653 | (constant_pool_expr_1): Fix formatting. | |
3654 | (rs6000_legitimize_reload_address): Likewise. | |
3655 | ||
c964d90e RK |
3656 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3657 | ||
3658 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
3659 | now that we have one. | |
3660 | ||
ae34ac46 ZW |
3661 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
3662 | ||
3663 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
3664 | end of first block of bitfields (which was only seven bits); | |
3665 | rename dummy to unused_1; remove comment which is no longer true. | |
3666 | ||
293c28ee GS |
3667 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
3668 | ||
3669 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
3670 | ||
7b8781c8 PB |
3671 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
3672 | ||
0cb6c58d | 3673 | PR 5399 |
7b8781c8 PB |
3674 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
3675 | if generating PIC. | |
3676 | ||
3677 | PR 5054 | |
3678 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
3679 | arm_is_longcall_p rather than inspecting call-type cookie | |
3680 | directly. | |
3681 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
3682 | ||
5c464583 GS |
3683 | 2002-02-19 Graham Stott <grahams@redhat.com> |
3684 | ||
3685 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
3686 | ||
71c061e6 DE |
3687 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
3688 | ||
3689 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
3690 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
6d1def5c | 3691 | (FP_SAVE_INLINE): Delete. |
71c061e6 DE |
3692 | |
3693 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
3694 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
3695 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
3696 | * config/rs6000/crtsavres.asm: New file. | |
3697 | ||
3a7731fd PB |
3698 | 2002-02-19 Philip Blundell <philb@gnu.org> |
3699 | ||
3700 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
3701 | functions. | |
3702 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
3703 | (output_return_instruction): Allow interrupt functions to return with | |
3704 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
3705 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
3706 | interrupt function. | |
3707 | ||
14f583b8 PB |
3708 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
3709 | ||
3710 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
3711 | decl, not just FUNCTION_DECL. | |
3712 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
3713 | (arm_assemble_integer): Likewise. | |
3714 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
3715 | marked local. | |
c410d49e | 3716 | |
4cb7482c MG |
3717 | 2002-02-19 matthew green <mrg@eterna.com.au> |
3718 | ||
3719 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
3720 | (sparc64-*-netbsd*): New target. | |
3721 | * config/sparc/netbsd-elf.h: New file. | |
3722 | * config/sparc/t-netbsd64: New file. | |
3723 | ||
2df3a718 GS |
3724 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
3725 | ||
3726 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
3727 | ||
77f6c1eb RS |
3728 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
3729 | ||
3730 | * doc/invoke.texi: explicitly list the style guidelines that | |
3731 | -Weffc++ checks for. | |
3732 | ||
fd973d56 JH |
3733 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
3734 | ||
3735 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
3736 | ||
30518e45 NB |
3737 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
3738 | ||
3739 | PR other/5718 | |
3740 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
3741 | only if not -E. If -E, pass -o through to the preprocessor. | |
3742 | ||
39ea5704 KH |
3743 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
3744 | ||
3745 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
3746 | register number with an appropriate macro. | |
3747 | ||
7355dba7 BM |
3748 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
3749 | ||
3750 | * doc/rtl.texi (Constants): Close @code tag. | |
3751 | ||
91c8aa9e AH |
3752 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
3753 | ||
3754 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
3755 | ("mmx_uavgv4hi3"): Same. | |
3756 | ("pmulhrwv4hi3"): Same. | |
3757 | ||
3758 | * tree-inline.c (walk_tree): Handle vectors. | |
3759 | ||
3760 | * c-common.c (constant_expression_warning): Handle vectors. | |
3761 | (overflow_warning): Same. | |
3762 | ||
3763 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
3764 | ||
3765 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
3766 | (rtx_varies_p): Same. | |
3767 | (count_occurrences): Same. | |
3768 | (regs_set_between_p): Same. | |
3769 | (modified_between_p): Same. | |
3770 | (modified_in_p): Same. | |
3771 | (volatile_insn_p): Same. | |
3772 | (volatile_refs_p): Same. | |
3773 | (side_effects_p): Same. | |
3774 | (may_trap_p): Same. | |
3775 | (inequality_comparisons_p): Same. | |
3776 | (replace_regs): Same. | |
3777 | (computed_jump_p_1): Same. | |
3778 | ||
3779 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
3780 | argument. | |
3781 | (inner_mode_array): New. | |
3782 | (copy_rtx): Handle vectors. | |
3783 | (copy_most_rtx): Same. | |
3784 | (rtx_equal_p): Same. | |
3785 | (get_mode_alignment): Adjust for vectors. | |
3786 | ||
3787 | * resource.c (mark_referenced_resources): Handle vectors. | |
3788 | (mark_set_resources): Same. | |
3789 | ||
3790 | * reload1.c (eliminate_regs): Handle vectors. | |
3791 | (elimination_effects): Same. | |
3792 | (scan_paradoxical_subregs): Same. | |
3793 | ||
3794 | * reload.c (subst_reg_equivs): Handle vectors. | |
3795 | ||
3796 | * regrename.c (scan_rtx): Handle vectors. | |
3797 | ||
3798 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
3799 | ||
3800 | * recog.c (find_single_use_1): Handle vectors. | |
3801 | ||
3802 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
3803 | (contains_replace_regs): Same. | |
3804 | (memref_referenced_p): Same. | |
3805 | ||
3806 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
3807 | (subst_constants): Same. | |
3808 | ||
3809 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
3810 | (encode_units_mask): Same. | |
3811 | (clear_struct_flag): Same. | |
3812 | (count_sub_rtxs): Same. | |
3813 | ||
3814 | * gcse.c (want_to_gcse_p): Handle vectors. | |
3815 | (oprs_unchanged_p): Same. | |
3816 | (hash_expr_1): Same. | |
3817 | (oprs_not_set_p): Same. | |
3818 | (expr_killed_p): Same. | |
3819 | (compute_transp): Same. | |
3820 | (store_ops_ok): Same. | |
3821 | ||
3822 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
3823 | of vectors. | |
3824 | (fixup_var_refs_1): Same. | |
3825 | (instantiate_virtual_regs_1): Same. | |
3826 | ||
3827 | * fold-const.c (operand_equal_p): Handle vectors. | |
3828 | (fold): Same. | |
3829 | (rtl_expr_nonnegative_p): Same. | |
3830 | ||
3831 | * flow.c (mark_used_regs): Handle vectors. | |
3832 | ||
3833 | * df.c (df_uses_record): Handle vectors. | |
3834 | ||
3835 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
3836 | (cselib_mem_conflict_p): Same. | |
3837 | (hash_rtx): Same. | |
3838 | ||
3839 | * cse.c (canon_reg): Handle vectors. | |
3840 | (fold_rt): Same. | |
3841 | (cse_process_notes): Same. | |
3842 | (count_reg_usage): Same. | |
3843 | (canon_hash): Same. | |
3844 | ||
3845 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
3846 | ||
3847 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
3848 | ||
3849 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
3850 | (gen_rtx): Handle CONST_VECTOR. | |
3851 | (gen_const_vector_0): New. | |
3852 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
3853 | (reset_used_flags): Same. | |
3854 | (copy_insn_1): Same. | |
3855 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
3856 | ||
3857 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
3858 | ||
3859 | * doc/rtl.texi (Constants): Document const_vector. | |
3860 | (CONST0_RTX): Update for vectors. | |
3861 | (RTL sharing): Same. | |
3862 | ||
3863 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
3864 | ||
3865 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
3866 | (struct tree_vector): New. | |
3867 | (union tree_node): Add vector node. | |
3868 | (build_vector): Add prototype. | |
3869 | ||
3870 | * tree.def (VECTOR_CST): New. | |
3871 | ||
3872 | * tree.c (build_vector): New. | |
3873 | ||
3874 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
3875 | ||
3876 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
3877 | (CONST_VECTOR_ELT): New. | |
3878 | (CONST_VECTOR_NUNITS): New. | |
3879 | ||
3880 | * machmode.h (GET_MODE_INNER): New. | |
3881 | (DEF_MACHMODE): Accept 8th arg. | |
3882 | ||
3883 | * machmode.def: Add 8th argument for vector inner mode. | |
3884 | Add inner vector modes for vectors. | |
3885 | ||
3886 | * rtl.def (VEC_CONST): Remove. | |
3887 | (CONST_VECTOR): New. | |
3888 | ||
3889 | * expr.c (clear_storage): Allow vectors. | |
3890 | (is_zeros_p): Handle VECTOR_CST. | |
3891 | ||
3892 | * varasm.c (output_constant_pool): Handle vectors. | |
3893 | (rtx_const): Add veclo and vechi fields. | |
3894 | (kind): Add RTX_VECTOR. | |
3895 | (decode_rtx_const): Add case for vector. | |
3896 | ||
3897 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
c410d49e | 3898 | |
91c8aa9e AH |
3899 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
3900 | constants. Force easy vector constants into memory. | |
3901 | (easy_vector_constant): New. | |
3902 | (emit_easy_vector_constant): New. | |
3903 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
3904 | darwin. | |
3905 | ||
3906 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
3907 | instruction does. | |
3908 | ("altivec_lvxl"): Same. | |
3909 | (altivec_lvebx): Same. | |
3910 | (altivec_lvehx): Same. | |
3911 | (altivec_lvewx): Same. | |
3912 | ("*movv4si_const0"): New. | |
3913 | ("*movv4sf_const0"): New. | |
3914 | ("*movv8hi_const0"): New. | |
3915 | ("*movv16qi_const0"): New. | |
3916 | ||
d4d6d0ce KH |
3917 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
3918 | ||
3919 | * config/h8300/h8300.c (notice_update_cc): Use | |
3920 | cc_status.value2. | |
3921 | ||
4915d3aa KH |
3922 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
3923 | ||
3924 | * config/h8300/h8300.md (divmod patterns): Change the | |
3925 | constraints for operands[1] to register_operand. | |
3926 | ||
82be00ee KH |
3927 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
3928 | ||
3929 | * config/h8300/h8300-protos.h: Remove the prototype for | |
3930 | p_operand. | |
3931 | * config/h8300/h8300.c (p_operand): Remove. | |
3932 | * config/h8300/h8300.md: Replace p_operand with | |
3933 | const_int_operand. | |
3934 | ||
1768c26f PB |
3935 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
3936 | ||
3937 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
3938 | comment. | |
3939 | (output_return_instruction): Allow use of LDR to unstack | |
3940 | return addresss even for interrupt handlers or when | |
3941 | interworking. If compiling for ARMv5, use interworking-safe | |
3942 | return instructions by default. Remove duplicated code and | |
3943 | lengthy "strcat" sequences. | |
3944 | ||
ccd84f51 FS |
3945 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3946 | ||
3947 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
3948 | (LINK_EH_SPEC): Define. | |
3949 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
3950 | ||
2c153108 UW |
3951 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
3952 | ||
3953 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
3954 | frame_related flag for call-clobbered registers. | |
3955 | ||
e95d6b23 JH |
3956 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
3957 | ||
3958 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
3959 | (construct_container): Fix handling of SSE operands. | |
3960 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
3961 | (mmx_maskmovq_rex): New pattern. | |
3962 | ||
c43a12b5 JH |
3963 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
3964 | ||
3965 | * regrename.c (kill_set_value): Handle subregs properly. | |
3966 | ||
aeb85a15 DB |
3967 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
3968 | ||
3969 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
c410d49e | 3970 | from objc_class_name. |
aeb85a15 | 3971 | |
a615ca3e RH |
3972 | 2002-02-17 Richard Henderson <rth@redhat.com> |
3973 | ||
3974 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
3975 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
3976 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
3977 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
3978 | * config/alpha/alpha-protos.h: Update. | |
3979 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
3980 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
3981 | ||
ddb28441 RM |
3982 | 2002-02-17 Roland McGrath <roland@frob.com> |
3983 | ||
3984 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
3985 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
3986 | * config/rs6000/gnu.h: New file. | |
3987 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
3988 | Grok "gnu" in rs6000_abi_name. | |
3989 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
3990 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
3991 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
3992 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
3993 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
3994 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
3995 | ||
f6f8ada3 JJ |
3996 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
3997 | ||
3998 | PR c/3444: | |
3999 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
4000 | shortening. | |
4001 | ||
e16b32fc PT |
4002 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4003 | ||
4004 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
4005 | ENDFILE_SPEC before (re)defining them. | |
4006 | ||
f9477efd KH |
4007 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
4008 | ||
4009 | * config/h8300/h8300.c: Fix formatting. | |
4010 | * config/h8300/h8300.h: Likewise. | |
4011 | ||
404ae494 PT |
4012 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4013 | ||
4014 | * doc/tm.texi: Explain why empty strings should not be | |
4015 | marked for translation. | |
4016 | ||
a52453cc PT |
4017 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4018 | ||
4019 | * final.c (output_operand_lossage): Changed to accept | |
4020 | printf style arguments. Change calls where necessary. | |
4021 | * output.h (output_operand_lossage): Change declaration | |
4022 | accordingly. Update copyright. | |
4023 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
4024 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
4025 | Update copyright date where necessary. | |
c410d49e | 4026 | |
a52453cc PT |
4027 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
4028 | sprintf. | |
4029 | ||
4030 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
4031 | Rename parameter so that exgettext recognizes it as | |
4032 | translatable message. | |
4033 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
4034 | ||
1c11abc4 KH |
4035 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
4036 | ||
4037 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
4038 | hard coded register number with an appropriate macro. | |
4039 | (HARD_REGNO_MODE_OK): Likewise. | |
4040 | (ARG_POINTER_REGNUM): Likewise. | |
4041 | (STATIC_CHAIN_REGNUM): Likewise. | |
4042 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
4043 | * config/h8300/h8300.md (define_constants): Define more | |
4044 | register numbers. | |
4045 | ||
a5d17ff3 PT |
4046 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4047 | ||
4048 | * config/i386/i386.h: Don't mark empty strings for translation. | |
4049 | ||
1a7289c4 L |
4050 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
4051 | ||
4052 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
4053 | ||
afb58288 ZW |
4054 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
4055 | ||
4056 | * cppinit.c (merge_include_chains): Check for brack being | |
4057 | NULL before attempting to merge it with qtail. | |
4058 | ||
d2af4dbd AC |
4059 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
4060 | ||
4061 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
4062 | DBX_DEBUG. | |
4063 | ||
2e1ed1e3 JDA |
4064 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4065 | ||
4066 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
4067 | ||
604c75b2 JDA |
4068 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4069 | ||
4070 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
4071 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
4072 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
4073 | ||
1a42b072 RK |
4074 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4075 | ||
7303604f | 4076 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
1a42b072 RK |
4077 | now only if !TARGET_FIX. |
4078 | (*movsi_nt_vms_fix): New pattern. | |
4079 | ||
c2ea1ac6 DR |
4080 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
4081 | ||
4082 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
4083 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
4084 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
4085 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
4086 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
4087 | (unicosmk_gen_dsib): Likewise. | |
4088 | ||
725e58b1 RK |
4089 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4090 | ||
4091 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
4092 | ||
13e58269 UW |
4093 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
4094 | ||
c410d49e | 4095 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
13e58269 UW |
4096 | check_and_change_labels, s390_final_chunkify): Delete. |
4097 | (s390_split_branches, s390_chunkify_pool): New functions. | |
4098 | (s390_function_prologue): Call them. | |
c410d49e | 4099 | |
13e58269 UW |
4100 | * config/s390/s390.h (S390_REL_MAX): Delete. |
4101 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
4102 | ||
c410d49e | 4103 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
13e58269 UW |
4104 | attribute calculation. |
4105 | ||
4106 | ||
34d1b01d DE |
4107 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
4108 | ||
4109 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
4110 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
4111 | ||
be5cc51a JDA |
4112 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4113 | ||
4114 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
4115 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
4116 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
4117 | ||
ee96ce90 RS |
4118 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
4119 | ||
4120 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
4121 | ||
05fa709d RS |
4122 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
4123 | ||
4124 | * reload.c (find_dummy_reload): Check that an output register | |
4125 | is valid for its mode. | |
4126 | ||
4606272b AO |
4127 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
4128 | ||
9a360704 AO |
4129 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
4130 | to simplify it. | |
4131 | ||
4606272b AO |
4132 | * function.c (assign_parms): Demote promoted argument passed by |
4133 | transparent reference. | |
4134 | ||
e62d89a1 JS |
4135 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
4136 | ||
4137 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
4138 | -Acpu() and -Amachine() to eliminate warnings. | |
4139 | ||
6c4cf695 UW |
4140 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
4141 | ||
4142 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
4143 | ||
037f11ef KH |
4144 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
4145 | ||
4146 | * config/h8300/h8300-protos.h: Update the prototype for | |
4147 | const_costs. | |
4148 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
4149 | more expensive operation. | |
4150 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
4151 | reference to const_costs. | |
4152 | ||
fdc76b09 HPN |
4153 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
4154 | ||
4155 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
4156 | ||
d76e6800 JJ |
4157 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
4158 | ||
4159 | PR c/5503: | |
4160 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
4161 | use arguments from newtype. | |
4162 | ||
5ae590d7 EC |
4163 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
4164 | ||
4165 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
4166 | on the same command line. Fix error message in cpu processing. | |
4167 | Remove architecture and ISA checks. | |
4168 | ||
b8513691 AH |
4169 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
4170 | ||
831c4e87 | 4171 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
b8513691 | 4172 | |
831c4e87 | 4173 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
b8513691 | 4174 | |
78c875e8 AH |
4175 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
4176 | ||
831c4e87 KC |
4177 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
4178 | alternatives. | |
4179 | ("*movv8hi_internal1"): Same. | |
4180 | ("*movv16qi_internal1"): Same. | |
4181 | ("*movv4sf_internal1"): Same. | |
78c875e8 | 4182 | |
831c4e87 KC |
4183 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
4184 | not push_reload for altivec modes. | |
78c875e8 | 4185 | |
d76e6800 | 4186 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
f22b4bc4 JS |
4187 | |
4188 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
4189 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
4190 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
4191 | many targets. | |
4192 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
4193 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
4194 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
4195 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
4196 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
4197 | config/m68k/rtemself.h: Ditto. | |
4198 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
4199 | config/mips/rtems64.h: Ditto. | |
4200 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
4201 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
4202 | Ditto. | |
4203 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
4204 | config/sparc/rtemself.h: Ditto. | |
4205 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
4206 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
4207 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
4208 | more like arm-elf. | |
4209 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
4210 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
4211 | target made more similar to i386-elf. | |
4212 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
4213 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
4214 | be similar to config/m68k/t-m68kelf. | |
4215 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
4216 | ||
8686336f JH |
4217 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
4218 | ||
4219 | * regmove.c (kill_value): Handle subregs. | |
4220 | ||
558740bf JH |
4221 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
4222 | ||
4223 | * i386.md (mul patterns): Allow memory operand to be first; | |
4224 | add expanders where needed; fix constraints. | |
4225 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
4226 | Allow memory operand to be the first. | |
4227 | ||
4228 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
4229 | operands. | |
4230 | ||
21117a17 JJ |
4231 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
4232 | ||
4233 | PR c/5681: | |
4234 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
4235 | GET_MODE (x). | |
4236 | ||
ec65b2e3 JJ |
4237 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
4238 | ||
4239 | PR optimization/5547: | |
4240 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
4241 | all valid IA-32 address modes involving non-scaled %ebx and | |
4242 | GOT/GOTOFF as displacement. | |
4243 | ||
ce50cae8 UW |
4244 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
4245 | ||
4246 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
4247 | after emitting ltorg insns. | |
4248 | ||
4249 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
4250 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
4251 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
4252 | *abssf2): Fix "op_type" attribute. | |
4253 | ||
09eb789b DR |
4254 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
4255 | ||
2dbe67bb DR |
4256 | * mkconfig.sh: Avoid using a subshell redirect. |
4257 | ($output.T): Change to $(output)T. | |
4258 | (ENABLE_NLS): Remove unneeded undef. | |
4259 | ||
ea5b9a1f DR |
4260 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
4261 | * config/alpha/x-vms (libsubdir): Define. | |
4262 | ||
3deb00ce DR |
4263 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
4264 | register frame procedures. Optimize retrieving context. | |
4265 | ||
09eb789b DR |
4266 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
4267 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
4268 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
4269 | ||
1abade85 RK |
4270 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4271 | ||
4272 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
4273 | Make same change as for find_base_value. | |
4274 | ||
c283e63f KH |
4275 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
4276 | ||
4277 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
4278 | of QImode and SImode. | |
4279 | ||
86039100 KH |
4280 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
4281 | ||
4282 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
4283 | length computation of movsi. | |
4284 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
4285 | ||
e1429da0 KH |
4286 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
4287 | ||
4288 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
4289 | operands[2] to register_operand. | |
4290 | ||
aebfea10 JH |
4291 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
4292 | ||
4293 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
4294 | ||
0ec4e2a8 AH |
4295 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
4296 | ||
831c4e87 KC |
4297 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
4298 | for altivec_lvx* and altivec_stvx*. | |
4299 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
4300 | ("*movv8hi_internal1"): Same. | |
4301 | ("*movv16qi_internal1"): Same. | |
4302 | ("*movv4sf_internal1"): Same. | |
0ec4e2a8 | 4303 | |
831c4e87 | 4304 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
0ec4e2a8 | 4305 | |
831c4e87 KC |
4306 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
4307 | altivec_register_operand. | |
0ec4e2a8 | 4308 | |
b007569d HPN |
4309 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
4310 | ||
4311 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
4312 | handle SYMBOL_REF. | |
4313 | ||
e6834654 SS |
4314 | 2002-02-13 Stan Shebs <shebs@apple.com> |
4315 | ||
831c4e87 KC |
4316 | * c-typeck.c (digest_init): Handle vectors. |
4317 | (really_start_incremental_init): Same. | |
4318 | (pop_init_level): Same. | |
4319 | (process_init_element): Same. | |
e6834654 | 4320 | |
831c4e87 | 4321 | * varasm.c (output_constant): Same. |
e6834654 | 4322 | |
831c4e87 KC |
4323 | * expr.c (clear_storage): Same. |
4324 | (store_constructor): Same. | |
e6834654 | 4325 | |
d9b3eb63 EC |
4326 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
4327 | ||
4328 | * explow.c (hard_function_value): Add comment explaining | |
4329 | signed/unsigned comparison. | |
4330 | ||
56d44285 JJ |
4331 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
4332 | ||
4333 | * jump.c (never_reached_warning): Add finish argument. | |
4334 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
4335 | real insn after end. | |
4336 | * rtl.h (never_reached_warning): Adjust prototype. | |
4337 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
4338 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
4339 | never_reached_warning. | |
4340 | ||
fc209487 GS |
4341 | 2002-02-12 Graham Stott <grahams@redhat.com> |
4342 | ||
4343 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
4344 | ||
1e41e866 KH |
4345 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
4346 | ||
4347 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
4348 | logical shifts on H8/300. | |
4349 | (shift_alg_si): Improve several shifts on H8/300. | |
4350 | (get_shift_alg): Likewise. | |
4351 | ||
a36a47ad GS |
4352 | 2002-02-12 Graham Stott <grahams@redhat.com> |
4353 | ||
4354 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
4355 | ||
0aacc8ed RK |
4356 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4357 | ||
4358 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
4359 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
4360 | ||
a02ac966 HPN |
4361 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
4362 | ||
4363 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
4364 | non-CONST_INT through default_assemble_integer. | |
4365 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
4366 | <case 8>: Abort for CONST_DOUBLE. | |
4367 | ||
d6e06ddc JDA |
4368 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4369 | ||
4370 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
4371 | is specified. | |
4372 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
4373 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
4374 | ||
515342a8 AH |
4375 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
4376 | ||
4377 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
4378 | ||
cddd8b72 AO |
4379 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
4380 | ||
66df7a98 AO |
4381 | * regrename.c (regrename_optimize): Don't accept a |
4382 | part-clobbered register if the replaced register is not part | |
4383 | clobbered. | |
4384 | ||
841404cd AO |
4385 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
4386 | take padding into account when computing the argument value. | |
4387 | ||
1d1ade42 AO |
4388 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
4389 | ||
cddd8b72 AO |
4390 | * combine.c (try_combine): Apply substitutions in |
4391 | CALL_INSN_FUNCTION_USAGE too. | |
4392 | ||
5c665b88 AH |
4393 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
4394 | ||
77f6c1eb RS |
4395 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
4396 | __builtin_altivec_abs*. | |
4397 | (bdesc_abs): New. | |
5c665b88 | 4398 | |
77f6c1eb RS |
4399 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
4400 | ALTIVEC_BUILTIN_ABS*. | |
5c665b88 | 4401 | |
77f6c1eb RS |
4402 | * config/rs6000/altivec.h: Use const char for builtins expecting |
4403 | literals. | |
4404 | (vec_abs): New versions for C and C++. | |
4405 | (vec_abss): Same. | |
5c665b88 | 4406 | |
3494f1b4 KH |
4407 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
4408 | ||
4409 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
4410 | using Pmode. | |
4411 | ||
72431aef KH |
4412 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
4413 | ||
4414 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
4415 | constant definition from h8300.md. | |
4416 | (FRAME_POINTER_REGNUM): Likewise. | |
4417 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
4418 | ||
87e4ee91 KH |
4419 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
4420 | ||
4421 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
4422 | ||
9c188705 KH |
4423 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
4424 | ||
4425 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
4426 | * config/h8300/h8300.c (byte_reg): Make it static. | |
4427 | ||
fba78abb RH |
4428 | 2002-02-10 Richard Henderson <rth@redhat.com> |
4429 | ||
4430 | PR c/5623 | |
4431 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
4432 | ||
65739e62 RH |
4433 | 2002-02-10 Richard Henderson <rth@redhat.com> |
4434 | ||
4435 | PR c++/5624 | |
4436 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
4437 | does not exist. | |
4438 | ||
247cb9df HPN |
4439 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
4440 | ||
4441 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
4442 | ||
232bd029 KH |
4443 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
4444 | ||
65739e62 | 4445 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
232bd029 KH |
4446 | (pushhi1): Likewise. |
4447 | ||
276ef573 JDA |
4448 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4449 | ||
4450 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
4451 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
4452 | ||
617e9ee5 DB |
4453 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
4454 | ||
4455 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
4456 | remove MASK_VIS. | |
4457 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
4458 | ||
6dfa4005 KH |
4459 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
4460 | ||
4461 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
4462 | a half of an SImode register on H8/300. | |
4463 | ||
749e7b80 JH |
4464 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
4465 | ||
4466 | * i386.md (movdi_2): Add missing '!'. | |
4467 | ||
ca77d87c KH |
4468 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
4469 | ||
4470 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
4471 | definitions. | |
4472 | ||
16c96304 KH |
4473 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
4474 | ||
4475 | * config/h8300/h8300.md (length): Correct the distance valid | |
4476 | for the short branch. | |
4477 | ||
a364bc90 KH |
4478 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
4479 | ||
4480 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
4481 | ||
e4ec2cac AO |
4482 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
4483 | ||
a138247b AO |
4484 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
4485 | registers in SImode. | |
4486 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
4487 | part-clobbered. | |
4488 | ||
2b1fd83f AO |
4489 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
4490 | patch. | |
d9b3eb63 | 4491 | |
fa5322fa AO |
4492 | Contribute sh64-elf. |
4493 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
4494 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
4495 | (sh_cannot_modify_jumps_p): New function. | |
4496 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
4497 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
4498 | (sh_ms_bitfield_layout_p): New function. | |
4499 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
4500 | Zack Weinberg <zack@codesourcery.com> | |
4501 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
4502 | expand_simple_binop instead of expand_binop. | |
4503 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
4504 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
4505 | use of .quad and .uaquad. | |
4506 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
4507 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
4508 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
4509 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
4510 | movdi_const_16bit): Make sure all CONSTs have modes. | |
4511 | (sym2PIC): Ditto, but by adjusting all callers. | |
4512 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
4513 | if the prologue calls the SHmedia argument decoder or register | |
4514 | saver. | |
4515 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
4516 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
4517 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
4518 | (sh_expand_epilogue): Don't emit USE of return target register. | |
4519 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
4520 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
4521 | PIC register. | |
4522 | (sh_expand_prologue): Remove explicit USE of return register. | |
4523 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
4524 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
4525 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
4526 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
4527 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
4528 | EXTRA_CONSTRAINT_T. | |
4529 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
4530 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
4531 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
4532 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
4533 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
4534 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
4535 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
4536 | alternatives supporting TARGET_REGS. | |
4537 | (UNSPEC_GOTPLT): New constant. | |
4538 | (movdi split): Move incrementing of LABEL_NUSES... | |
4539 | (movdi_const, movdi_const_32bit): Here. Use | |
4540 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
4541 | (movdi_const_16bit): New. | |
4542 | (call, call_value) [flag_pic]: Use GOTPLT. | |
4543 | (call_pop, call_value_pop): New expands. | |
4544 | (call_pop_compact, call_pop_rettramp): New insns. | |
4545 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
4546 | (sibcall) [flag_pic]: Use GOT. | |
4547 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
4548 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
4549 | (*pt, *ptb, ptrel): New insns. | |
4550 | (sym2GOT): Handle DImode GOT. | |
4551 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
4552 | (sym2PIC): New expand. | |
4553 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
4554 | (shcompact_return_tramp_i): Use return register explicitly. | |
4555 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
4556 | disable flag_reorder_blocks. | |
4557 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
4558 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
4559 | clobbers, for clarity. | |
4560 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
4561 | restoring of r0 in macl as MAYBE_DEAD. | |
4562 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
4563 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
4564 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
4565 | alter_subreg all over. | |
4566 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
4567 | reload, instead of emitting instructions that would require | |
4568 | reloading. | |
4569 | (casesi_load_media): Add missing modes. | |
4570 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
4571 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
4572 | as used if the argument decoder is called. | |
4573 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
4574 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
4575 | Pmode, then extend it to DImode if necessary. | |
4576 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
4577 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
4578 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
4579 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
4580 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
4581 | Adjust whitespace in assembly output templates. | |
4582 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
4583 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
4584 | mode of if_then_else. | |
4585 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
4586 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
4587 | sh.h. | |
4588 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
4589 | Joern Rennecke <amylaar@redhat.com> | |
4590 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
4591 | (SUBTARGET_CPP_PTR_SPEC): New. | |
4592 | (SUBTARGET_CPP_SPEC): Remove. | |
4593 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
4594 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
4595 | Fix typo in previous checkin. | |
4596 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
4597 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
4598 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
4599 | Alexandre Oliva <aoliva@redhat.com> | |
4600 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
4601 | what single FP register can hold for SHmedia target. | |
4602 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
4603 | Alexandre Oliva <aoliva@redhat.com> | |
4604 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
4605 | Do not split into SUBREG. | |
4606 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
4607 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
4608 | and added new functions as specified in SH5 ABI r9. | |
4609 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
4610 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
4611 | 8-byte boundary. | |
4612 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
4613 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
4614 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
4615 | and consttable_window_ends. | |
4616 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
4617 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
4618 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
4619 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
4620 | vector and matrix registers. | |
4621 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
4622 | vector modes into account. | |
4623 | * config/sh/sh.md (movv2sf): Split move between registers into | |
4624 | movdf. | |
4625 | (movv4sf, movv16sf): Introduce insns that get split only after | |
4626 | reload. | |
4627 | * config/sh/shmedia.h: Fix Copyright dates. | |
4628 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
4629 | declarations into conditionals that uses them. | |
4630 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
4631 | loop boundary. | |
4632 | * config/sh/sshmedia.h: Fix Copyright dates. | |
4633 | (sh_media_PUTCFG): Fix constraints. | |
4634 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
4635 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
4636 | ptrmemfunc_vbit_in_delta for SH5. | |
4637 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
4638 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
4639 | * invoke.texi: Likewise. | |
4640 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
4641 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
4642 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
4643 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
4644 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
4645 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
4646 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
4647 | compact function with nonlocal labels. | |
4648 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
4649 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
4650 | (initial_elimination_offset): Account for their stack space. | |
4651 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
4652 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
4653 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
4654 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
4655 | least one of the operands to be a register. | |
4656 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
4657 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
4658 | prepare_move_operands() before emitting SHmedia insns. | |
4659 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
4660 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
4661 | Don't save nor initialize r12. Don't mis-align the stack. | |
4662 | Pad the code with a nop. | |
4663 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
4664 | stack. | |
4665 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
4666 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
4667 | [__SHMEDIA__]: Implement. | |
4668 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
4669 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
4670 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
4671 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
4672 | Set move, load and store type attributes. | |
4673 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
4674 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
4675 | profiling. | |
4676 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
4677 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
4678 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
4679 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
4680 | branch-target register. | |
4681 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
4682 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
4683 | branch-target register. | |
4684 | (return_media): If r18 wasn't copied in the prologue, copy it | |
4685 | here. | |
4686 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
4687 | Clear class FP0_REGS. | |
4688 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
4689 | from elf.h. | |
4690 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
4691 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
4692 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
4693 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
4694 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
4695 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
4696 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
4697 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
4698 | return value correctly for call_cookie. | |
4699 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
4700 | * config/sh/crt1.asm (start): Modified so as to call | |
4701 | ___setup_argv_and_call_main. | |
4702 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
4703 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
4704 | SHmedia mode. | |
4705 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
4706 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
4707 | (STRIP_NAME_ENCODING): Use it. | |
4708 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
4709 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
4710 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
4711 | prepare_scc_operands(). | |
4712 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
4713 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
4714 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
4715 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
4716 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
4717 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
4718 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
4719 | used in shcompact_incoming_args. | |
4720 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
4721 | change. | |
4722 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
4723 | mode. | |
4724 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
4725 | Adjust accordingly. | |
4726 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
4727 | Simplify. Adjust. Add sanity check. | |
4728 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
4729 | FPU_SINGLE_BIT. | |
4730 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
4731 | TARGET_SHCOMPACT. | |
4732 | (udivsi3, divsi3): Use them. | |
4733 | (force_mode_for_call): New insn. | |
4734 | (call, call_value, sibcall_value): Emit it before SHcompact | |
4735 | calls. | |
4736 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
4737 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
4738 | call cookie is non-NULL before taking its value. | |
4739 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
4740 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
4741 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
4742 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
4743 | block. | |
4744 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
4745 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
4746 | temporary for stack adjusts. Use MACL and MACH to pass | |
4747 | arguments to shcompact_incoming_args. | |
4748 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
4749 | clobber r1. | |
4750 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
4751 | (nested_trampoline): Load static chain address into r1. | |
4752 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
4753 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
4754 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
4755 | fp_arith_reg_operand(). | |
4756 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
4757 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
4758 | and use signed compares for them. | |
4759 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
4760 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
4761 | ones properly aligned. | |
4762 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
4763 | constants. | |
4764 | (machine_dependent_reorg): Require a label for the second 4-byte | |
4765 | constant after an 8-byte one. | |
4766 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
4767 | change. | |
4768 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
4769 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
4770 | last_float when switching float modes. | |
4771 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
4772 | auto-increment for general-purpose registers. | |
4773 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
4774 | result. | |
4775 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
4776 | for stack adjust. | |
4777 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
4778 | registers for varargs. | |
4779 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
4780 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
4781 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
4782 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
4783 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
4784 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
4785 | call_cookie accordingly. | |
4786 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
4787 | (SHCOMPACT_BYREF): Likewise. | |
4788 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
4789 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
4790 | (sh_builtin_saveregs): Likewise. | |
4791 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
4792 | shcompact_incoming_args): Use new shift values. Support | |
4793 | sequences of consecutive and non-consecutive pushes/pops. | |
4794 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
4795 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
4796 | * config/sh/sh.h (TEXT_SECTION): Define. | |
4797 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
4798 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
4799 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
4800 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
4801 | return values on FPU-enabled SHmedia. | |
4802 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
4803 | FPU-enabled SHmedia. | |
4804 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
4805 | value is returned in a non-FP reg and is not returned by | |
4806 | reference. | |
4807 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
4808 | jump_ind. | |
4809 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
4810 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
4811 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
4812 | quad-aligned to be passed by callee-copy reference. | |
4813 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
4814 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
4815 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
4816 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
4817 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
4818 | copying low-numbered FP regs to r7 and r8. | |
4819 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
4820 | FP regs to general-purpose regs only if the copy was passed on the | |
4821 | stack. | |
4822 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
4823 | copying FP reg to r9. | |
4824 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
4825 | copy FP regs to general-purpose regs only in outgoing calls. | |
4826 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
1e4e95d6 | 4827 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
fa5322fa AO |
4828 | HOST_WIDE_INT. |
4829 | * config/sh/sh.h (struct sh_args): Document all fields. | |
4830 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
4831 | passed partially on the stack should not consider making | |
4832 | sibcalls. | |
4833 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
4834 | stack_regs only for incoming calls. When passing FP args, | |
4835 | make sure there are FP regs available before modifying | |
4836 | call_cookie. | |
4837 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
4838 | registers by reference. | |
4839 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
4840 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
4841 | attempt to generate sibcalls if the caller got any arguments | |
4842 | by reference. | |
4843 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
4844 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
4845 | to 8-byte boundaries. | |
4846 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
4847 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
4848 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
4849 | stored in the stack. | |
4850 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
4851 | for the offsets to have the ISA bit set. | |
4852 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
4853 | invocation. Use beq instead of bgt to mark end of sequence of | |
4854 | loads. | |
4855 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
4856 | bgt to mark end of sequence of stores. | |
4857 | * config/sh/sh.c (arith_operand): Don't check whether | |
4858 | CONST_OK_FOR_J for now. | |
4859 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
4860 | instead of long for conversion. | |
4861 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
4862 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
4863 | before passing it to fprintf. | |
4864 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
4865 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
4866 | Call set_fpscr before reading/writing SR. | |
4867 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
4868 | Call set_fpscr. | |
4869 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
4870 | SHmedia code. | |
4871 | (FMOVD_WORKS): Define on SH5 with FPU. | |
4872 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
4873 | setting. | |
4874 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
4875 | _fpscr_values. | |
4876 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
4877 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
4878 | address. | |
4879 | (ia_main_table): Ditto. | |
4880 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
4881 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
4882 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
4883 | the definitions from sh.h. | |
4884 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
4885 | TARGET_SH5. | |
4886 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
4887 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
4888 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
4889 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
4890 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
4891 | Increment LABEL_NUSES. | |
d9b3eb63 | 4892 | |
fa5322fa AO |
4893 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
4894 | TARGET_SH5. | |
4895 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
4896 | defined. | |
4897 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
4898 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
4899 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
4900 | shcompact_incoming_args): Load switch table addresses using | |
4901 | datalabel. | |
4902 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
4903 | (NO_BUILTIN_SIZE_TYPE): Define. | |
4904 | (SIZE_TYPE): Don't define. | |
4905 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
4906 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
4907 | definition of __SH5__=32 for -m5-compact-nofpu. | |
4908 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
4909 | ADDR_DIFF_VEC. | |
4910 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
4911 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
4912 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
4913 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
4914 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
4915 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
4916 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
4917 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
4918 | copying of non-branch-target register. | |
4919 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
1e4e95d6 | 4920 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
fa5322fa AO |
4921 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
4922 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
4923 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
4924 | floating-point values as structs. | |
4925 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
4926 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
4927 | general-purpose register. | |
4928 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
4929 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
4930 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
4931 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
4932 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
4933 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
4934 | DATALABEL unspecs. | |
4935 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
4936 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
4937 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
4938 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
4939 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
4940 | SH_DATALABEL_ENCODING to the symbol name. | |
4941 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
4942 | convert_mode(). | |
4943 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
4944 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
4945 | UNSPEC_DATALABEL. | |
4946 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
4947 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
4948 | (DATALABEL_REF_P): Don't require CONST. | |
4949 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
4950 | REL label. | |
4951 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
4952 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
4953 | right. | |
4954 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
4955 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
4956 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
4957 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
4958 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
4959 | on SHmedia using GENERAL_REGs. | |
4960 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
4961 | bltu_media_i): Fix reversion of conditions. | |
4962 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
4963 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
4964 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
4965 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
4966 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
4967 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
4968 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
4969 | (GCC_nested_trampoline): Likewise. | |
4970 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
4971 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
4972 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
4973 | (INITIALIZE_TRAMPOLINE): Likewise. | |
4974 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
4975 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
4976 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
4977 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
4978 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
4979 | (ic_invalidate): Adjust for SH5. | |
4980 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
4981 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
4982 | _nested_trampoline. | |
4983 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
4984 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
4985 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
4986 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
4987 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
4988 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
4989 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
4990 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
4991 | registers and pseudos that aren't virtual registers. | |
4992 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
4993 | Copy operands that don't match target_reg_operand to pseudos. | |
4994 | (call_media, call_value_media, sibcall_media): Use | |
4995 | target_reg_operand instead of target_operand. | |
4996 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
d9b3eb63 | 4997 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
fa5322fa AO |
4998 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
4999 | other than branch-target registers. | |
5000 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
5001 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
5002 | (fpscr_values) [SH5 == 32]: Define. | |
5003 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
5004 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
5005 | Handle function addresses coming in SUBREGs. | |
5006 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
5007 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
5008 | shcompact_return_trampoline): Use datalabel where appropriate. | |
5009 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
5010 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
5011 | general-purpose register to copy one branch-target register to | |
5012 | another. | |
5013 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
5014 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
5015 | SYMBOL_REFs with VOIDmode. | |
5016 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
5017 | bltu_media_i): New insns. | |
5018 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
5019 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
5020 | (INIT_CUMULATIVE_ARGS): Likewise. | |
5021 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
5022 | * machmode.def (V16SFmode): New mode. | |
5023 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
5024 | * tree.c (build_common_tree_nodes_2): Likewise. | |
5025 | * tree.h (tree_index): Likewise. | |
5026 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
5027 | callers. Introduce CALL_POPS_ARGS. | |
5028 | * tm.texi (CALL_POPS_ARGS): Document. | |
5029 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
5030 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
5031 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
5032 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
5033 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
5034 | Implement divsi and udivsi in SHmedia mode. Introduce | |
5035 | SHcompact trampolines. | |
5036 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
5037 | only in SHmedia64. | |
5038 | (regno_reg_class): Rewrite. | |
5039 | (fp_reg_names): Remove. | |
5040 | (sh_register_names, sh_additional_register_names): New. | |
5041 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
5042 | Add parentheses around shifted CONSTs. | |
5043 | (output_file_start): Output .mode and .abi directives. | |
5044 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
5045 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
5046 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
5047 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
5048 | bytes, not registers. Take into account the need for the | |
5049 | SHcompact incoming args trampoline. Adjust all callers. | |
5050 | (sh_expand_prologue): Take stack_regs into account. Call | |
5051 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
5052 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
5053 | stack aligned as per SH5 ABI. | |
5054 | (sh_builtin_saveregs): Support SH5 ABI. | |
5055 | (sh_build_va_list, sh_va_start): Likewise. | |
5056 | (initial_elimination_offset): Take alignment into account. | |
5057 | Compute location of PR according to the SH5 stack frame. | |
5058 | (arith_reg_operand): Reject branch-target registers. | |
5059 | (shmedia_6bit_operand): New. | |
5060 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
5061 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
5062 | (target_operand): New. | |
5063 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
5064 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
5065 | SIBCALL_REGS for SHmedia. | |
5066 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
5067 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
5068 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
5069 | (TARGET_SWITCHES): New SH5 flags. | |
5070 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
5071 | VALID_REGISTER_P to disable unsupported registers. | |
5072 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
5073 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
5074 | (FUNCTION_ARG_PADDING): Define. | |
5075 | (FASTEST_ALIGNMENT): Adjust. | |
5076 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
5077 | (sh_register_names): Declare. | |
5078 | (DEBUG_REGISTER_NAMES): Define. | |
5079 | (REGISTER_NAMES): Define based on sh_register_names. | |
5080 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
5081 | (sh_additional_register_names): Declare. | |
5082 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
5083 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
5084 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
5085 | (REGISTER_NATURAL_MODE): Define. | |
5086 | (FIRST_PSEUDO_REGISTER): Adjust. | |
5087 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
5088 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
5089 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
5090 | (VECTOR_MODE_SUPPORTED_P): Define. | |
5091 | (REG_CLASS_CONTENTS): Adjust. | |
5092 | (SMALL_REGISTER_CLASSES): Adjust. | |
5093 | (REG_ALLOC_ORDER): Adjust. | |
5094 | (INDEX_REG_CLASS): Adjust. | |
5095 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
5096 | (CONST_OK_FOR_LETTER_P): Adjust. | |
5097 | (PREFERRED_RELOAD_CLASS): Adjust. | |
5098 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
5099 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
5100 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
5101 | (FIRST_FP_PARM_REG): Adjust. | |
5102 | (CALL_POPS_ARGS): Define. | |
5103 | (FUNCTION_ARG_REGNO_P): Adjust. | |
5104 | (struct sh_args): New fields. | |
5105 | (GET_SH_ARG_CLASS): Adjust. | |
5106 | (INIT_CUMULATIVE_ARGS): Adjust. | |
5107 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
5108 | (FUNCTION_ARG_ADVANCE): Adjust. | |
5109 | (FUNCTION_ARG): Adjust. | |
5110 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
5111 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
5112 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
5113 | (STRICT_ARGUMENT_NAMING): Define. | |
5114 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
5115 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
5116 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
5117 | (SETUP_INCOMING_VARARGS): Adjust. | |
5118 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
5119 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
5120 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
5121 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
5122 | (EXTRA_CONSTRAINT_S): Update. | |
5123 | (EXTRA_CONSTRAINT_T): New. | |
5124 | (EXTRA_CONSTRAINT): Adjust. | |
5125 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
5126 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
5127 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
5128 | (MOVE_MAX): Adjust. | |
5129 | (MAX_MOVE_MAX): Define. | |
5130 | (Pmode): Adjust. | |
5131 | (CONST_COSTS): Adjust. | |
5132 | (REGISTER_MOVE_COST): Adjust. | |
5133 | (BRANCH_COST): Adjust. | |
5134 | (TEXT_SECTION_ASM_OP): Adjust. | |
5135 | (DBX_REGISTER_NUMBER): Adjust. | |
5136 | (ASM_OUTPUT_DOUBLE_INT): New. | |
5137 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
5138 | (PREDICATE_CODES): Adjust. | |
5139 | (PROMOTE_MODE): Adjust. | |
5140 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
5141 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
5142 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
5143 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
5144 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
5145 | (TR0_REG, TR1_REG, TR2_REG): New. | |
5146 | (XD0_REG): Renumber. | |
5147 | (UNSPEC_COMPACT_ARGS): New. | |
5148 | (type): Added pt and ptabs. | |
5149 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
1e4e95d6 | 5150 | and 20 on SHmedia32 and SHmedia64, respectively. |
fa5322fa AO |
5151 | (pt): New function unit. |
5152 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
5153 | Add whitespace between operands of SHmedia instructions. | |
5154 | (movdicc): Fix. | |
5155 | (adddi3_media, addsi3_media): Adjust constraints. | |
5156 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
5157 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
5158 | (udivsi3): Support SHmedia. | |
5159 | (divsi3_i1_media, divsi3_i4_media): New. | |
5160 | (divsi3): Support SHmedia. | |
5161 | (anddi3, iordi3, xordi3): Adjust constraints. | |
5162 | (zero_extendhidi2, zero_extendqidi2): New. | |
5163 | (extendsidi2, extendhidi2, extendqidi2): New. | |
5164 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
5165 | (pop_e, pop_fpul, pop_4): Likewise. | |
5166 | (movsi_media): Support FP and BT registers. | |
5167 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
5168 | (lduw, ldub): Renamed to zero_extend* above. | |
5169 | (movqi_media): Fix typo. | |
5170 | (movdi_media): Support FP and BT registers. | |
5171 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
5172 | (movdi_const_32bit): New. | |
5173 | (shori_media): Require immediate operand. Use `u' for output. | |
5174 | (movdf_media, movsf_media): Simplified. | |
5175 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
5176 | (movdf, movsf): Adjust | |
5177 | (movv2sf, movv2sf, movv16sf): New. | |
5178 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
5179 | scratch BT register. | |
5180 | (bne_media, bne_media_i): Likewise. | |
5181 | (bgt_media, bgt_media_i): Likewise. | |
5182 | (bge_media, bge_media_i): Likewise. | |
5183 | (bgtu_media, bgtu_media_i): Likewise. | |
5184 | (bgeu_media, bgeu_media_i): Likewise. | |
5185 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
5186 | bunordered): Emit jump insn. Force operands to registers when | |
5187 | needed. | |
5188 | (jump_media, jump): Simplify. | |
5189 | (call_compact, call_compact_rettramp): New. | |
5190 | (call_value_compact, call_value_compact_rettramp): New. | |
5191 | (call_media, call_value_media): Simplify. | |
5192 | (sibcall_compact, sibcall_media): New. | |
5193 | (call, call_value): Adjust for SHmedia and SHcompact. | |
5194 | (sibcall, sibcall_value, untyped_call): Likewise. | |
5195 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
5196 | (indirect_jump): Adjust for SHmedia. | |
5197 | (casesi_jump_media): New. | |
5198 | (nop): Re-enable for SHmedia. | |
5199 | (call_site): Restrict to SH1. | |
5200 | (casesi): Adjust for SHmedia. | |
5201 | (casesi_shift_media, casesi_load_media): New. | |
5202 | (return): Explicitly use PR register. Call return trampoline | |
5203 | on SHcompact. | |
5204 | (return_i): Explicitly use PR register. | |
5205 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
5206 | (return_media): Adjust. | |
5207 | (shcompact_incoming_args): New. | |
5208 | (epilogue): Adjust. | |
5209 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
5210 | (movstrsi): Disable on SH5. | |
5211 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
5212 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
5213 | (subsf3, subsf3_media): Likewise. | |
5214 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
5215 | (divsf3, divsf3_media): Likewise. | |
5216 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
5217 | (floatsisf2, fux_truncsfsi2): Likewise. | |
5218 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
5219 | constraints. | |
5220 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
5221 | (cmpunsf_media, cmpsf): Likewise. | |
5222 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
5223 | (abssf2, abssf2_media): Likewise. | |
5224 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
5225 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
5226 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
5227 | (floatsidf2, fix_truncdfsi2): Likewise. | |
5228 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
5229 | constraints. | |
5230 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
5231 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
5232 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
5233 | (absdf2, absdf2_media): Likewise. | |
5234 | (extendsfdf2, extendsfdf2_media): Likewise. | |
5235 | (truncsfdf2, truncsfdf2_media): Likewise. | |
5236 | * config/sh/sh64.h: New file. | |
5237 | * config/sh/t-sh64: New file. | |
5238 | * config/sh/shmedia.h: New file. | |
5239 | * config/sh/ushmedia.h: New file. | |
5240 | * config/sh/sshmedia.h: New file. | |
5241 | * configure.in: Added sh64-*-elf. | |
5242 | * configure: Rebuilt. | |
5243 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
5244 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
5245 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
5246 | (print_operand): Support `%M', `%m', `AND' and | |
5247 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
5248 | (andcosts): Adjust for SHmedia. | |
5249 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
5250 | Likewise. | |
5251 | (target_reg_operand): New function. | |
5252 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
5253 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
5254 | FP registers on SH5. | |
5255 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
5256 | on SH4. | |
5257 | (TARGET_REGISTER_P): New macro. | |
5258 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
5259 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
5260 | (EXTRA_CONSTRAINT_S): New macro. | |
5261 | (EXTRA_CONSTRAINT): Adjust. | |
5262 | (FLOAT_TYPE_SIZE): Define to 32. | |
5263 | (Pmode): DImode on SHmedia. | |
5264 | (CONST_COSTS): Adjust for SHmedia literals. | |
5265 | (PREDICATE_CODES): Added target_reg_operand. | |
5266 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
5267 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
5268 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
5269 | (cmpdi): Accept SHmedia. | |
5270 | (movdicc_false, movdicc_true): New insns. | |
5271 | (movdicc): New expand. | |
5272 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
5273 | no_new_pseudos. | |
5274 | (addsi3_media): Match `S' constraint. | |
5275 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
5276 | (negdi2): Expand for SHmedia. | |
5277 | (one_cmpldi2): New expand. | |
5278 | (zero_extendsidi2): Change from expand to insn. | |
5279 | (extendsidi2): Add constraints. | |
5280 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
5281 | LD/ST address. Fix SI immediate loading split. | |
5282 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
5283 | (movhi, movqi): Accept SHmedia. | |
5284 | (shori_media, movdi_media): Relax input constraints. Split | |
5285 | symbolic constants. | |
5286 | (movdf_media, movsf_media): New insn. New split to movdi. | |
5287 | (movdf, movsf): Match on SHmedia. | |
5288 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
5289 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
5290 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
5291 | (bunordered): New expand. | |
5292 | (jump_compact): Renamed from `jump'. | |
5293 | (jump_media): New insn. | |
5294 | (jump): New expand. | |
5295 | (call_media, call_value_media): New insns. | |
5296 | (call, call_value): Adjust. | |
5297 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
5298 | (indirect_jump_media): New insn. | |
5299 | (indirect_jump): New expand. | |
5300 | (untyped_call, return): Accept SHmedia. | |
5301 | (return_media): New insn. | |
5302 | (prologue, epilogue, blockage): Accept SHmedia. | |
5303 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
5304 | (sunordered): New expand. | |
5305 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
5306 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
5307 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
5308 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
5309 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
5310 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
5311 | abssf2_media): New insns. | |
5312 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
5313 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
5314 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
5315 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
5316 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
5317 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
5318 | absdf2_media): New insns. | |
5319 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
5320 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
5321 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
5322 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
5323 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
5324 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
5325 | * config/sh/sh.md (adddi3): New expand. | |
5326 | (adddi3_media, adddi3z_media): New insns. | |
5327 | (adddi3_compact): Renamed from adddi3. | |
5328 | (addsi3_media): Use add.l r63 to add constant zero. | |
5329 | (subdi3): New expand. | |
5330 | (subdi3_media): New insn. | |
5331 | (subdi3_compact): Renamed from subdi3. | |
5332 | (mulsidi3): New expand. | |
5333 | (mulsidi3_media): New insn. | |
5334 | (mulsidi3_compact): Renamed from mulsidi3. | |
5335 | (umulsidi3): New expand. | |
5336 | (umulsidi3_media): New insn. | |
5337 | (umulsidi3_compact): Renamed from umulsidi3. | |
5338 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
5339 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
5340 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
5341 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
5342 | (zero_extendsidi2): New expand. | |
5343 | (extendsidi2): New insn. | |
5344 | (movsi_media): New insn. Split to movdi to load constants. | |
5345 | (movsi): Enable for shmedia. | |
5346 | (movdi_media): New insn. Use shori_media to load wide constants. | |
5347 | (short_media): New insn. | |
5348 | (movdi): Enable for shmedia. | |
5349 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
5350 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
5351 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
5352 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
5353 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
5354 | to all other SH variants. | |
5355 | (TARGET_DEFAULT): Set to SH1_BIT. | |
5356 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
5357 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
5358 | (MAX_BITS_PER_WORD): Change to 64. | |
5359 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
5360 | (INT_TYPE_SIZE): Keep as 32. | |
5361 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
5362 | (MIN_UNITS_PER_WORD): Keep as 4. | |
5363 | (POINTER_SIZE): Raise to 64 on shmedia. | |
5364 | (CONST_OK_FOR_J): New macro. | |
5365 | (CONST_OK_FOR_LETTER_P): Use it. | |
5366 | (processor_type): Add PROCESSOR_SH5. | |
5367 | * config/sh/sh.md: Conditionalize all expands, insns and | |
5368 | splits to TARGET_SH1. | |
5369 | (cpu): Added sh5. | |
5370 | (addsi3_compact): Renamed from... | |
5371 | (addsi3): Now an expand. | |
5372 | (addsi3_media, subsi3_media): New insns. | |
5373 | (subsi3): Don't negate constants with SHmedia. | |
5374 | ||
e4ec2cac AO |
5375 | * hooks.c: New file. |
5376 | * hooks.h: New file. | |
5377 | * Makefile.in (HOOKS_H): New. | |
5378 | (TARGET_DEF_H): Added $(HOOKS_H). | |
5379 | (OBJS): Added hooks.o. | |
5380 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
5381 | (hooks.o): Added dependencies. | |
5382 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
5383 | (TARGET_INITIALIZER): this. | |
5384 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
5385 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
5386 | * bb-reorder.c: Include target.h. | |
5387 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
5388 | * cfgcleanup.c: Include target.h. | |
5389 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
5390 | ||
246a46e0 CD |
5391 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
5392 | ||
831c4e87 KC |
5393 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
5394 | Protect jump delay slot instructions with .set noreorder and | |
5395 | .set nomacro. | |
246a46e0 CD |
5396 | |
5397 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
6a5ea3f4 CD |
5398 | |
5399 | * config/mips/mips.md (casesi_internal_di): Calculate | |
5400 | the index into the target offset table correctly. | |
5401 | ||
fdf473ae RH |
5402 | 2002-02-08 Richard Henderson <rth@redhat.com> |
5403 | ||
5404 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
5405 | * final.c (output_addr_const): Accept and discard SUBREG. | |
5406 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
5407 | mark them unknown instead. | |
5408 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
5409 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
5410 | ||
c50503ac DE |
5411 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
5412 | ||
5413 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
5414 | ||
3660d217 RH |
5415 | 2002-02-08 Richard Henderson <rth@redhat.com> |
5416 | ||
5417 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
5418 | ||
56547299 AJ |
5419 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
5420 | ||
5421 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
5422 | * config/i386/t-linux64: New file. | |
5423 | ||
1cf537c5 JJ |
5424 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
5425 | ||
5426 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
5427 | * c-parse.in (compstmt): Clear last_expr_type. | |
5428 | ||
5c7f5a5f RH |
5429 | 2002-02-07 Richard Henderson <rth@redhat.com> |
5430 | ||
5431 | * loop.c (strength_reduce): Sink final_value when not | |
5432 | eliminating a biv. | |
5433 | ||
b1138bf3 DB |
5434 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
5435 | ||
5436 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
5437 | ||
b6878a45 RH |
5438 | 2002-02-07 Richard Henderson <rth@redhat.com> |
5439 | ||
5440 | * cfgrtl.c: Include recog.h and insn-config.h. | |
5441 | (keep_with_call_p): Fix general_operand invocation. | |
5442 | * Makefile.in (cfgrtl.o): Update dependencies. | |
5443 | ||
ae19f5ef KH |
5444 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
5445 | ||
5446 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
5447 | comment. Accept HImode only if TARGET_H8300. | |
5448 | ||
b137f9fc EC |
5449 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
5450 | ||
5451 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
5452 | ||
5453 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
5454 | ||
5455 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
5456 | register 7 as RA instead of $31. | |
5457 | * config/mips/crtn.asm: Ditto. | |
5458 | * config/mips/mips.c (mips_move_2words): Add case for | |
5459 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
5460 | (compute_frame_size): Fix typo. | |
5461 | (save_restore_insns): Ditto. Make documentation about using | |
5462 | register $7 as return register more precise. | |
5463 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
5464 | being able to add to the stack pointer directly. | |
5465 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
5466 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
5467 | epilogue. | |
5468 | ||
768070a0 TR |
5469 | 2002-02-07 Tom Rix <trix@redhat.com> |
5470 | ||
b137f9fc | 5471 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
768070a0 TR |
5472 | immediates in ldu and stdu DS opcode field. |
5473 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
5474 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
5475 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
5476 | ||
225909c3 JS |
5477 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
5478 | ||
5479 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
5480 | offset for stack bias. | |
5481 | ||
15fae023 L |
5482 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
5483 | ||
5484 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
5485 | ||
fde5badd UW |
5486 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
5487 | ||
5488 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
5489 | ||
162f023b JH |
5490 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
5491 | ||
5492 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
5493 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
5494 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
5495 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
5496 | ||
9b462c42 RH |
5497 | 2002-02-07 Richard Henderson <rth@redhat.com> |
5498 | ||
85aa876c | 5499 | PR optimization/2463 |
9b462c42 RH |
5500 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
5501 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
5502 | ||
06e455a9 AO |
5503 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
5504 | ||
5505 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
5506 | length. | |
5507 | ||
edd1967d RH |
5508 | 2002-02-06 Richard Henderson <rth@redhat.com> |
5509 | ||
5510 | PR c/5609 | |
5511 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
5512 | named and unnamed operands. | |
5513 | ||
a2cd028f JJ |
5514 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
5515 | Jan Hubicka <jh@suse.cz> | |
5516 | ||
5517 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
5518 | CONST expression. | |
5519 | ||
e8487c04 UW |
5520 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
5521 | ||
5522 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
5523 | * config/s390/t-linux64: New file. | |
5524 | * config/s390/libgcc-glibc.ver: New file. | |
5525 | ||
58d10f89 UW |
5526 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
5527 | ||
5528 | * config/s390/linux64.h: Delete file. | |
5529 | * config/s390/s390x.h: New file. | |
5530 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
5531 | as target header file. | |
5532 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
5533 | DEFAULT_TARGET_64BIT. | |
5534 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
5535 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
5536 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
5537 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
5538 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
5539 | (EXTRA_SPEC): New define. | |
5540 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
5541 | DEFAULT_TARGET_64BIT. | |
5542 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
5543 | ||
5ce89b2e JM |
5544 | 2002-02-06 Jason Merrill <jason@redhat.com> |
5545 | ||
5546 | * c-decl.c (finish_function): Warn about a non-void function with | |
5547 | no return statement and no abnormal exit. | |
5548 | (current_function_returns_abnormally): New variable. | |
5549 | (start_function): Clear it. | |
5550 | (struct c_language_function): Add returns_abnormally. | |
5551 | (push_c_function_context): Save it. | |
5552 | (pop_c_function_context): Restore it. | |
5553 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
5554 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
5555 | an explicit return type. | |
5556 | * c-tree.h: Declare current_function_returns_abnormally. | |
5557 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
5558 | * c-typeck.c (build_function_call): Set it. | |
5559 | (c_expand_return): Set current_function_returns_value even if the | |
5560 | value is erroneous. | |
5561 | ||
caaf2272 JJ |
5562 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
5563 | ||
5564 | PR c/5420: | |
5565 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
5566 | unsafe for reevaluation. | |
5567 | ||
d5129288 JJ |
5568 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
5569 | ||
5570 | PR c/5482: | |
5571 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
5572 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
5573 | ||
7fb75099 RH |
5574 | 2002-02-06 Richard Henderson <rth@redhat.com> |
5575 | ||
5576 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
5577 | be a general_operand. Dest for function value must be a pseudo. | |
5578 | ||
d3a8b6a6 NC |
5579 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
5580 | ||
5581 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
5582 | as SYMBOL_REFs from the constant pool. | |
5583 | ||
3c1299c5 AO |
5584 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
5585 | ||
5586 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
5587 | passed by invisible reference. | |
5588 | ||
c2c9f6c9 RH |
5589 | 2002-02-05 Richard Henderson <rth@redhat.com> |
5590 | ||
5591 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
5592 | ||
a824924d HPN |
5593 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
5594 | ||
5595 | Implement using "base addresses" in insn operands as default. | |
5596 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
5597 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
5598 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
5599 | used to read the rtx value. | |
5600 | (mmix_target_asm_function_epilogue): Fix spacing. | |
5601 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
5602 | (mmix_legitimate_address): Ditto. | |
5603 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
5604 | should be loaded with a GETA insn. Don't allocate needless extra | |
5605 | char for nul termination and fix misleading comment. | |
5606 | (mmix_print_operand_address): Handle constants if | |
5607 | TARGET_BASE_ADDRESSES. | |
5608 | (mmix_output_register_setting): Use base addressing if | |
5609 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
5610 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
5611 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
5612 | to use R as constraint, add LDA to match s. | |
5613 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
5614 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
5615 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
5616 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
5617 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
5618 | order with other fixed registers. | |
5619 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
5620 | other parameter/call-clobbered registers. | |
5621 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
5622 | -mbase-addresses, -mno-base-addresses. | |
5623 | (MMIX Options): Ditto. | |
5624 | ||
73c342b9 JDA |
5625 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5626 | ||
5627 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
5628 | ||
ef238c58 AH |
5629 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
5630 | ||
831c4e87 | 5631 | * config/rs6000/altivec.h: Change elem to _S_elem. |
ef238c58 | 5632 | |
ad08e60e JT |
5633 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
5634 | ||
5635 | * config/netbsd.h (WCHAR_TYPE): Define. | |
5636 | (WCHAR_TYPE_SIZE): Ditto. | |
5637 | (WINT_TYPE): Ditto. | |
5638 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
5639 | (WCHAR_UNSIGNED): Ditto. | |
5640 | (WCHAR_TYPE_SIZE): Ditto. | |
5641 | (WINT_TYPE): Ditto. | |
5642 | * config/arm/netbsd.h: Likewise. | |
5643 | * config/i386/netbsd-elf.h: Likewise. | |
5644 | * config/i386/netbsd.h: Likewise. | |
5645 | * config/m68k/netbsd-elf.h: Likewise. | |
5646 | * config/m68k/netbsd.h: Likewise. | |
5647 | * config/ns32k/netbsd.h: Likewise. | |
5648 | * config/sparc/netbsd.h: Likewise. | |
5649 | * config/vax/netbsd.: Likewise. | |
5650 | ||
f913c102 AO |
5651 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
5652 | ||
5653 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
5654 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
5655 | (TARGET_INITIALIZER): this. | |
5656 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
5657 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
5658 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
5659 | (record_layout_info): Added prev_field. | |
5660 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
5661 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
5662 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
5663 | * stor-layout.c: Include target.h. | |
5664 | (start_record_layout): Initialize prev_field. | |
5665 | (place_field): Handle MS bit-field layout, and disregard | |
5666 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
5667 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
5668 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
5669 | ||
c13db5d1 JM |
5670 | 2002-02-05 Jason Merrill <jason@redhat.com> |
5671 | ||
c13db5d1 JM |
5672 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
5673 | ||
4505024e AJ |
5674 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
5675 | ||
5676 | * crtstuff.c: Fix comments. | |
5677 | ||
794ad79d RH |
5678 | 2002-02-05 Richard Henderson <rth@redhat.com> |
5679 | ||
2e279a9b RH |
5680 | PR fortran/3393 |
5681 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
5682 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
5683 | ||
794ad79d RH |
5684 | PR fortran/3392 |
5685 | * config/mips/mips.c (function_arg): Handle TImode. | |
5686 | (function_arg_advance): Likewise. | |
5687 | ||
8f909017 AH |
5688 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
5689 | ||
c13db5d1 JM |
5690 | * config/rs6000/altivec.h (vec_step_help): Rename to |
5691 | __vec_step_help. | |
8f909017 | 5692 | |
66daa9e3 AH |
5693 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
5694 | ||
c13db5d1 | 5695 | * config/rs6000/altivec.h: Fix typos. |
66daa9e3 | 5696 | |
2696e97b JT |
5697 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
5698 | ||
5699 | * config/arm/netbsd.h: Correct a comment. | |
5700 | ||
3deb2758 AH |
5701 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
5702 | ||
c13db5d1 JM |
5703 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
5704 | building void typed builtins. | |
3deb2758 | 5705 | |
c13db5d1 JM |
5706 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
5707 | (vec_step): Implement for C++. | |
3deb2758 | 5708 | |
c13db5d1 | 5709 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2c79137a RK |
5710 | |
5711 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
5712 | ||
ebbb0a63 RH |
5713 | 2002-02-04 Richard Henderson <rth@redhat.com> |
5714 | ||
5715 | * combine.c (nonzero_bits): Re-introduce special case for | |
5716 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
5717 | ||
ae4b4a02 AH |
5718 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
5719 | ||
c13db5d1 JM |
5720 | * doc/extend.texi: Warn about unsupported usage of altivec |
5721 | builtins. | |
ae4b4a02 | 5722 | |
c13db5d1 JM |
5723 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
5724 | (altivec_predicate_*): New. | |
ae4b4a02 | 5725 | |
c13db5d1 JM |
5726 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
5727 | Add C++ version of vec_*() functions. | |
ae4b4a02 | 5728 | |
c13db5d1 JM |
5729 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
5730 | (bdesc_2arg): Remove altivec predicates. | |
5731 | (altivec_expand_builtin): Handle predicates. | |
5732 | (altivec_init_builtins): Handle predicates. | |
5733 | (altivec_expand_predicate_builtin): New. | |
ae4b4a02 | 5734 | |
f6bcf44c JDA |
5735 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5736 | ||
5737 | * pa.c (DO_FRAME_NOTES): Move forward. | |
5738 | (store_reg): Revise handling of frame notes. | |
5739 | (load_reg): Likewise. | |
5740 | (set_reg_plus_d): Likewise. | |
5741 | (hppa_expand_prologue): Likewise. | |
5742 | (hppa_expand_epilogue): Likewise. | |
b137f9fc | 5743 | |
703b0080 JDA |
5744 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5745 | ||
5746 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
5747 | ||
6f9fdf4d JJ |
5748 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
5749 | ||
5750 | PR c/4475, c++/3780: | |
5751 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
5752 | * c-common.h (SWITCH_TYPE): Define. | |
5753 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
5754 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
5755 | Rename spareness variable to sparseness. | |
5756 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
5757 | if non-NULL instead of TREE_TYPE (orig_index). | |
5758 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
5759 | (expand_end_case): Define using expand_end_case_type. | |
5760 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
5761 | to expand_end_case_type. | |
5762 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
5763 | ||
79109502 JDA |
5764 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5765 | ||
5766 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
5767 | (BIGGEST_ALIGNMENT): Change to 128. | |
5768 | ||
e62a5987 JDA |
5769 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5770 | ||
5771 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
5772 | ||
219f24a4 JDA |
5773 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5774 | ||
5775 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
5776 | ||
3cb66fd7 NC |
5777 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
5778 | ||
5779 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
5780 | field. | |
831c4e87 | 5781 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
3cb66fd7 | 5782 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
831c4e87 KC |
5783 | replace uses with cfun->machine->uses_anonymous_args. |
5784 | (arm_reorg): Do not reset uses_anonymous_args. | |
3cb66fd7 NC |
5785 | |
5786 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
5787 | any geenral register. | |
b137f9fc | 5788 | |
5d5603e2 | 5789 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
24c545ff BS |
5790 | |
5791 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
5792 | the entry block. | |
5793 | ||
563c12b0 RH |
5794 | 2002-02-04 Richard Henderson <rth@redhat.com> |
5795 | ||
5796 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
5797 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
5798 | REGNO_POINTER_ALIGN. | |
5799 | ||
5800 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
5801 | (HARD_FRAME_POINTER_REGNUM): New. | |
5802 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
5803 | (FIXED_REGS, CALL_USED_REGS): Update. | |
5804 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
5805 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
5806 | (HARD_REGNO_NREGS): Update for SFP. | |
5807 | (STACK_POINTER_OFFSET): Include bias here ... | |
5808 | (FIRST_PARM_OFFSET): ... not here. | |
5809 | (STACK_BIAS): Remove. | |
5810 | (INIT_EXPANDERS): New. | |
5811 | (STARTING_FRAME_OFFSET): Do not include bias. | |
5812 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
5813 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
5814 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
5815 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
5816 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
5817 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
5818 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
5819 | (MUST_SAVE_REGISTER): Likewise. | |
5820 | (sparc_flat_function_prologue): Likewise. | |
5821 | (sparc_flat_function_epilogue): Likewise. | |
5822 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
5823 | (sparc_init_modes): SFP is GENERAL_REGS. | |
5824 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
5825 | ||
14691f8d RH |
5826 | 2002-02-04 Richard Henderson <rth@redhat.com> |
5827 | ||
5828 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
5829 | current_function_is_thunk. | |
5830 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
5831 | called from ASM_OUTPUT_MI_THUNK and not. | |
5832 | (alpha_does_function_need_gp): Thunks always need gp. | |
5833 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
5834 | (alpha_output_mi_thunk_osf): New. | |
5835 | * config/alpha/alpha-protos.h: Update. | |
5836 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
5837 | ||
af702de8 RS |
5838 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
5839 | ||
5840 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
5841 | function types, not when they're taken away. | |
5842 | ||
5b1cacd8 JL |
5843 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
5844 | ||
5845 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
5846 | CODE_LABEL and jump table when replacing a table jump with a | |
5847 | simple jump. | |
5848 | ||
f3e9edff UW |
5849 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
5850 | ||
5851 | * config/s390/s390-protos.h (legitimize_la_operand, | |
5852 | s390_secondary_input_reload_class, s390_plus_operand, | |
5853 | s390_expand_plus_operand): Add prototypes. | |
5854 | ||
5855 | config/s390/s390.c (s390_secondary_input_reload_class, | |
5856 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
5857 | ||
5858 | (struct s390_address): New member 'pointer'. | |
5859 | (s390_decompose_address): Compute it. | |
5860 | (legitimate_la_operand_p): Use it. | |
5861 | (legitimize_la_operand): New function. | |
5862 | (movti, movdi, movdf splitters): Call it. | |
5863 | ||
5864 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
5865 | (PREDICATE_CODES): Add s390_plus_operand. | |
5866 | ||
5867 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
5868 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
5869 | ||
5870 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
5871 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
5872 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
5873 | ||
3c9a08ec UW |
5874 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
5875 | ||
5876 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
5877 | register names for regular asm () construct. | |
5878 | ||
ac300a45 JJ |
5879 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
5880 | ||
5881 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
5882 | registers. | |
5883 | ||
fa852403 JJ |
5884 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
5885 | ||
5886 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
5887 | pat for recog. | |
5888 | ||
fecaac37 HP |
5889 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
5890 | ||
831c4e87 KC |
5891 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
5892 | constant pool to be identical by string address and index. | |
fecaac37 | 5893 | |
10c45943 AG |
5894 | 2002-02-04 Anthony Green <green@redhat.com> |
5895 | ||
5896 | * output.h (SECTION_OVERRIDE): Define. | |
5897 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
5898 | ||
69474c3c JT |
5899 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
5900 | ||
5901 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
5902 | by existing arm*-*-netbsd* (a.out) target. | |
5903 | (ns32k-*-netbsdelf*): Likewise. | |
5904 | (sparc-*-netbsdelf*): Likewise. | |
5905 | (vax-*-netbsdelf*): Likewise. | |
5906 | ||
939a46f6 | 5907 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
3b56934f CF |
5908 | |
5909 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
5910 | headers and libobjc headers. | |
5911 | ||
5912 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
5913 | ||
5914 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
5915 | (_mingw.h): Remove duplicate include. | |
5916 | ||
2fd95d71 JT |
5917 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
5918 | ||
5919 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
5920 | (m68010-*-netbsdelf*): New... | |
5921 | (m68k*-*-netbsdelf*): ...targets. | |
5922 | * config/m68k/netbsd-elf.h: New file. | |
5923 | ||
0ea6f6a0 KH |
5924 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5925 | ||
5926 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
5927 | ||
cbf1b2da KH |
5928 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5929 | ||
5930 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
5931 | h8300_init_once. | |
5932 | (h8_pop_ops): Likewise. | |
5933 | (h8_move_ops): Likewise. | |
5934 | ||
0869f126 KH |
5935 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5936 | ||
5937 | * config/h8300/h8300.c (os_task): Make it static. | |
5938 | (monitor): Likewise. | |
5939 | (pragma_saveall): Likewise. | |
5940 | ||
90e65b70 AO |
5941 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
5942 | ||
5943 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
5944 | constant is a valid sign-extension for Pmode. | |
5945 | ||
9cbcd983 KH |
5946 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5947 | ||
5948 | * config/h8300/h8300.c: Fix formatting. | |
5949 | ||
7a27efc4 KH |
5950 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5951 | ||
5952 | * config/h8300/h8300.md: Fix formatting. | |
5953 | ||
54175a44 KH |
5954 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5955 | ||
5956 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
5957 | predicates of operands[1]. Split the patterns for each | |
5958 | processor variant. | |
5959 | ||
eceb1755 KH |
5960 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5961 | ||
5962 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
5963 | of operands[1] to register_operand. | |
5964 | ||
0fef3fd0 NB |
5965 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
5966 | ||
5967 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
5968 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
5969 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
5970 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
5971 | (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. | |
5972 | (cpp_handle_option): Handle the new options. | |
5973 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
5974 | * cpplib.h (struct cpp_options): New member signed_char. | |
5975 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
5976 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
5977 | (static_specs): Remove signed_char_spec. | |
5978 | (do_spec1): Don't handle %c. | |
5979 | * system.h: Poison SIGNED_CHAR_SPEC. | |
5980 | * tradcif.y (yylex): Use flag_signed_char. | |
5981 | * tradcpp.h (flag_signed_char): New. | |
5982 | * tradcpp.c (flag_signed_char): New. | |
5983 | (main): Handle new command-line options. | |
5984 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
5985 | config: | |
5986 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
5987 | * avr/avr.h: Remove old comments. | |
5988 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
5989 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
5990 | (SIGNED_CHAR_SPEC): Remove. | |
5991 | doc: | |
5992 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
5993 | ||
0617ed52 EC |
5994 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
5995 | ||
5996 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
5997 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
5998 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
5999 | (ASM_OUTPUT_REG_POP): Ditto. | |
6000 | ||
dfd48d76 NB |
6001 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
6002 | ||
6003 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
6004 | patch. | |
6005 | ||
4a23409e JJ |
6006 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
6007 | ||
6008 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
6009 | ||
d3c52658 JJ |
6010 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
6011 | ||
6012 | PR c/5304: | |
6013 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
6014 | unconditionally. | |
6015 | ||
02c5a3bd JJ |
6016 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
6017 | ||
6018 | * cfganal.c: Include tm_p.h. | |
6019 | (keep_with_call_p): Fix the test that determines if a register holds | |
6020 | the return value of a call. | |
6021 | ||
3968de80 DD |
6022 | 2002-02-01 DJ Delorie <dj@redhat.com> |
6023 | ||
6024 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
6025 | we are given conflicting registers, switch to the other one we | |
6026 | had allocated for us. | |
6027 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
6028 | as TImode so we know when the "other" register is available. | |
6029 | ||
1338ea6c DB |
6030 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
6031 | ||
6032 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
6033 | sparc/sparc_bi.h. | |
6034 | ||
f015be23 JJ |
6035 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
6036 | ||
6037 | * cfganal.c (keep_with_call_p): New function. | |
6038 | (flow_call_edges_add): Prevent splitting a block between a call and | |
6039 | a single-set instruction that should be kept in the same block. | |
6040 | ||
63708ffc CR |
6041 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6042 | ||
6043 | * doc/install.texi (avr): Update outdated URL. | |
6044 | ||
5ee4950e AH |
6045 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
6046 | ||
831c4e87 KC |
6047 | * config/stormy16/stormy16.md (pushqi): New. |
6048 | (popqi): New. | |
6049 | (pushhi): New. | |
6050 | (pophi): New. | |
6051 | (movhi): Remove stack operands. | |
6052 | (movqi): Likewise. | |
6053 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
6054 | nonimmediate_nonstack_operand. | |
6055 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
6056 | New. | |
6057 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
6058 | New. | |
5ee4950e | 6059 | |
b88c0704 JM |
6060 | 2002-01-31 Jason Merrill <jason@redhat.com> |
6061 | ||
6062 | * Makefile.in (c-parse.c): Handle .output file. | |
6063 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
6064 | ||
ac282977 AO |
6065 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
6066 | ||
6067 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
6068 | the -me[lb] option is given. Don't output the default flag | |
6069 | twice. | |
6070 | ||
bebc7e8b ZW |
6071 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
6072 | ||
6073 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
6074 | the primary source file; this has not been done yet. | |
6075 | * c-decl.c (c_expand_body): Reset input_filename from | |
6076 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
6077 | ||
5809eb5f KH |
6078 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
6079 | ||
6080 | * rtlanal.c (subreg_regno_offset): Do not use | |
6081 | SUBREG_REGNO_OFFSET. | |
6082 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
6083 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
6084 | ||
8512bbd7 JM |
6085 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
6086 | ||
6087 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
6088 | version rather than GNATS version in --version output. | |
6089 | ||
74cb3cc8 RS |
6090 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
6091 | ||
6092 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
6093 | when copying back from a temporary. | |
6094 | ||
874b5b14 RH |
6095 | 2002-01-30 Richard Henderson <rth@redhat.com> |
6096 | ||
6097 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
6098 | and new_dest are the same. | |
6099 | ||
e803a64b RH |
6100 | 2002-01-30 Richard Henderson <rth@redhat.com> |
6101 | ||
89cf7be5 | 6102 | PR opt/5076 |
e803a64b RH |
6103 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
6104 | * rtl.c (note_insn_name): Update. | |
6105 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
6106 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
6107 | to perform loop rotation. | |
6108 | (expand_exit_loop_top_cond): New. | |
6109 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
6110 | * c-semantics.c (genrtl_while_stmt): Use it. | |
6111 | (genrtl_for_stmt): Likewise. | |
6112 | ||
0b51254d AO |
6113 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
6114 | ||
6115 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
6116 | arguments to 64-bit boundaries on 64-bit ABIs. | |
6117 | ||
71cef493 SE |
6118 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
6119 | ||
6120 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
6121 | ||
6169e5fd JM |
6122 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
6123 | ||
6124 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
6125 | invalid type. | |
6126 | ||
86f808dc DB |
6127 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
6128 | ||
6129 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
6130 | * config/sparc/sparc_bi.h: Remove file. | |
6131 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
6132 | ||
5748ebeb RH |
6133 | 2002-01-30 Richard Henderson <rth@redhat.com> |
6134 | ||
6135 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
6136 | ||
20d32cc2 ZW |
6137 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
6138 | ||
6139 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
6140 | ||
b88c0704 | 6141 | 2002-01-30 Jason Merrill <jason@redhat.com> |
6bb28965 JM |
6142 | |
6143 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
6144 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
6145 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
6146 | ||
6147 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
6148 | ||
37060e78 JJ |
6149 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
6150 | ||
6151 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
6152 | in cselib_lookup. | |
6153 | ||
d18dba68 AH |
6154 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
6155 | ||
bebc7e8b ZW |
6156 | * rs6000.md ("*call_value_local32"): Remove constraints. |
6157 | ("*call_value_local64"): Same. | |
6158 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
6159 | ("*call_value_nonlocal_aix32"): Same. | |
6160 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
6161 | ("*call_value_nonlocal_aix64"): Same. | |
6162 | ("*call_value_nonlocal_sysv"): Same. | |
d18dba68 | 6163 | |
80a8aac6 RH |
6164 | 2002-01-29 Richard Henderson <rth@redhat.com> |
6165 | ||
6166 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
6167 | ||
12beba6f RH |
6168 | 2002-01-29 Richard Henderson <rth@redhat.com> |
6169 | ||
6170 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
6171 | address loads. | |
6172 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
6173 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
6174 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
6175 | instead of open-coded loop. | |
6176 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
6177 | be fixed when in use. | |
6178 | ||
2583081e RH |
6179 | 2002-01-29 Richard Henderson <rth@redhat.com> |
6180 | ||
6181 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
6182 | * sched-rgn.c (propagate_deps): Update them. | |
6183 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
6184 | clobbers list when either gets too long. | |
6185 | ||
3b8d200e JJ |
6186 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
6187 | ||
6188 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
6189 | and INDEX_REGS the same as GENERAL_REGS. | |
6190 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
6191 | ||
2d3115eb NB |
6192 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
6193 | ||
bebc7e8b | 6194 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
2d3115eb | 6195 | |
ecbe845e UW |
6196 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
6197 | ||
bebc7e8b | 6198 | * config/s390/s390.md (movstrsico, movstrdix_64, |
ecbe845e | 6199 | movstrsix_31): Remove, replace by ... |
bebc7e8b | 6200 | (movstrdi_short, movstrsi_short, movstrdi_long, |
ecbe845e UW |
6201 | movstrsi_long): ... these. New. |
6202 | (movstrdi, movstrsi): Adapt. | |
6203 | ||
6204 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
bebc7e8b | 6205 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
ecbe845e UW |
6206 | Remove unnecessary CC clobber. |
6207 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
6208 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
6209 | ||
6210 | (divmoddi4): Don't partially initialize TImode register. | |
6211 | ||
0b32fca5 GK |
6212 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
6213 | ||
6214 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
6215 | ||
08ef5437 RH |
6216 | 2002-01-29 Richard Henderson <rth@redhat.com> |
6217 | ||
6218 | * flow.c (print_rtl_and_abort): Remove. | |
6219 | (print_rtl_and_abort_fcn): Remove. | |
6220 | (verify_local_live_at_start): Use dump_bb instead. | |
6221 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
6222 | (verify_wide_reg_1): Return 2 on mode test failure. | |
6223 | ||
8469e54e NB |
6224 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
6225 | ||
6226 | PR c/3325, c/3326, c/2511, c/3347 | |
6227 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
6228 | (grokdeclarator): Take bitfield width as an input. | |
6229 | Ensure bitfields are given the correct type. Perform | |
6230 | bitfield width validation with build_bitfield_integer_type | |
6231 | rather than waiting for finish_struct. | |
6232 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
6233 | push_parmdecl, grokfield, start_function): Update calls to | |
6234 | grokdeclarator. | |
6235 | (build_bitfield_integer_type): New function. | |
6236 | (finish_struct): Move bitfield validation to grokdeclarator | |
bebc7e8b | 6237 | and build_bitfield_integer_type. |
8469e54e NB |
6238 | * tree.c (build_nonstandard_integer_type): New function. |
6239 | * tree.h (build_nonstandard_integer_type): New prototype. | |
6240 | objc: | |
6241 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
6242 | ||
ffdeea47 JJ |
6243 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
6244 | ||
6245 | PR other/1502: | |
6246 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
6247 | don't ignore unrecognized -W* options. | |
6248 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
6249 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
6250 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
6251 | cpp_handle_option. | |
6252 | ||
6253 | PR c/2896: | |
6254 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
6255 | (cpp_options): Source cpp_unique_options. | |
6256 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
6257 | when used together with cc1_options. | |
6258 | (static_specs): Add cpp_unique_options. | |
6259 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
6260 | when used together with cc1_options. | |
6261 | ||
1a275226 KH |
6262 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
6263 | ||
6264 | * config/h8300/h8300-protos.h: Update the prototype of | |
6265 | output_a_shift. | |
6266 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
6267 | argument 'insn'. Remove redundant code. | |
6268 | * config/h8300/h8300.md: Adust to the new prototype of | |
6269 | output_a_shift. | |
6270 | ||
a11d9dfc KH |
6271 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
6272 | ||
6273 | * config/h8300/h8300-protos.h: Update the prototypes of | |
6274 | emit_a_rotate and expand_a_rotate. | |
6275 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
6276 | first argument to 'enum rtx_code'. | |
6277 | (expand_a_rotate): Likewise. | |
6278 | ||
871f73e3 KH |
6279 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
6280 | ||
6281 | * config/h8300/h8300-protos.h: Update the prototype of | |
6282 | output_simode_bld. | |
6283 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
6284 | 'log2'. | |
6285 | * config/h8300/h8300.md: Adjust to the new prototype. | |
6286 | ||
5fc4b751 KH |
6287 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
6288 | ||
6289 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
6290 | redundant code. | |
6291 | ||
2d67bd7b JDA |
6292 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6293 | ||
6294 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
6295 | is a fixed register before returning pic_offset_table_rtx. | |
6296 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
6297 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
6298 | ||
5a852b3e JM |
6299 | 2002-01-28 Jason Merrill <jason@redhat.com> |
6300 | ||
6bb28965 | 6301 | * dwarf2.h: Sync with src version. |
5a852b3e | 6302 | |
3bca17dd PK |
6303 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
6304 | ||
6305 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
6306 | BT_FN_VOID_PTR_VAR. | |
6307 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
6308 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
6309 | first argument is now const void ptr. | |
6310 | ||
7dc3f8c0 KH |
6311 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
6312 | ||
6313 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
6314 | ||
e83cb5f0 RZ |
6315 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
6316 | ||
6317 | * toplev.c (lang_independent_init): Round up identifier size. | |
6318 | ||
5721cd84 RE |
6319 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
6320 | ||
6321 | * config.gcc: Revert previous change. | |
6322 | ||
d534119e AP |
6323 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
6324 | ||
6325 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
6326 | ||
5a721dab RE |
6327 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
6328 | ||
6329 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
6330 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
6331 | other non-elf netbsd config frags. | |
6332 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
6333 | collect2 will does that. | |
6334 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
6335 | shared-lib frobbing will work. | |
6336 | ||
da1775d6 KH |
6337 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
6338 | ||
6339 | * config/h8300/h8300.h: Fix formatting. | |
6340 | * config/h8300/h8300.md: Likewise. | |
6341 | ||
8f2e963b LR |
6342 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
6343 | ||
6344 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
6345 | the old, removed AAA_standards fix. | |
6346 | * fixinc/fixincl.x: Rebuilt. | |
6347 | ||
fdae5767 HPN |
6348 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
6349 | ||
6350 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
6351 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
6352 | register EH before registering __fini__start. | |
6353 | ||
2a2ecb63 AH |
6354 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
6355 | ||
6356 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
6357 | ||
8ed43adf KH |
6358 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
6359 | ||
6360 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
6361 | with ones that work. | |
6362 | ||
917afb0c RK |
6363 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6364 | ||
6365 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
6366 | if not STRICT_ALIGNMENT. | |
6367 | * rtl.h (MEM_ALIGN): Likewise. | |
6368 | ||
f70a54cb CR |
6369 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6370 | ||
6371 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
6372 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
6373 | ||
d8fd4914 KH |
6374 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
6375 | ||
6376 | * config/h8300/h8300.md (define_constants): New. | |
6377 | (anonymous patterns) Use defined constants appropriately. | |
6378 | ||
15e0e275 KH |
6379 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
6380 | ||
6381 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
6382 | ||
37a0f8a5 RH |
6383 | 2002-01-26 Richard Henderson <rth@redhat.com> |
6384 | ||
6385 | * sched-deps.c (reg_pending_uses_head): New. | |
6386 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
6387 | (find_insn_list): Don't mark inline. | |
6388 | (find_insn_mem_list): Remove. | |
6389 | (add_dependence_list, add_dependence_list_and_free): New. | |
6390 | (flush_pending_lists): Replace only_write param with separate | |
6391 | for_read and for_write parameters. Update all callers. Use | |
6392 | add_dependence_list_and_free. | |
6393 | (sched_analyze_1): Do not add reg dependencies here; just set | |
6394 | the pending bits. Use add_dependence_list. | |
6395 | (sched_analyze_2): Likewise. | |
6396 | (sched_analyze_insn): Replace schedule_barrier_found with | |
6397 | reg_pending_barrier. Add all dependencies for pending reg | |
6398 | uses, sets, and clobbers. | |
6399 | (sched_analyze): Don't add reg dependencies for calls, just | |
6400 | set pending bits. Use regs_invalidated_by_call. Treat | |
6401 | sched_before_next_call as a normal list, not a fake insn. | |
6402 | (init_deps): No funny init for sched_before_next_call. | |
6403 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
6404 | (init_deps_global): Init reg_pending_uses. | |
6405 | (finish_deps_global): Free it. | |
6406 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
6407 | (find_insn_mem_list): Remove. | |
6408 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
6409 | (propagate_deps): Use them. Zero temp mem lists. | |
6410 | ||
cea3bd3e RH |
6411 | 2002-01-26 Richard Henderson <rth@redhat.com> |
6412 | ||
6413 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
6414 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
6415 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
6416 | crtstuff.c instead of alpha assembly version. | |
6417 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
6418 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
6419 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
6420 | (__do_global_dtors_aux): Mark used. | |
6421 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
6422 | (fini_dummy, init_dummy): Remove. | |
6423 | ||
6424 | * config/alpha/crtbegin.asm: Remove file. | |
6425 | * config/alpha/crtend.asm: Remove file. | |
6426 | * config/alpha/t-crtbe: Remove file. | |
6427 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
6428 | (LINK_EH_SPEC): New. | |
6429 | ||
6430 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
6431 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
6432 | calling constructors. | |
6433 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
6434 | ||
6435 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
6436 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
6437 | CRT_END_INIT_DUMMY hack. | |
6438 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
6439 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
6440 | ||
6441 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
6442 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
6443 | ||
6444 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
6445 | invocation sequence. | |
6446 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
6447 | ||
6448 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
6449 | (FORCE_CODE_SECTION_ALIGN): New. | |
6450 | ||
60ffa0e5 RH |
6451 | 2002-01-26 Richard Henderson <rth@redhat.com> |
6452 | ||
6453 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
6454 | ||
61334ebe RH |
6455 | 2002-01-26 Richard Henderson <rth@redhat.com> |
6456 | ||
6457 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
6458 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
6459 | ||
1d788fb6 KH |
6460 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
6461 | ||
6462 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
6463 | cannot be triggered. | |
6464 | Restrict each bit extraction pattern to a variant on which the | |
6465 | pattern is tested. | |
6466 | ||
87611f88 JM |
6467 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
6468 | ||
6469 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
6470 | ||
cd74ec59 KH |
6471 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
6472 | ||
6473 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
6474 | be triggered. | |
6475 | Restrict each bit test pattern to a variant on which the | |
6476 | pattern is tested. | |
6477 | ||
93051e0f KG |
6478 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6479 | ||
6480 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
6481 | INTEGER_CST. | |
6482 | ||
216c995f DB |
6483 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
6484 | ||
6485 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
6486 | default setting. | |
6487 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
6488 | existing setting. | |
6489 | ||
33c7f925 GK |
6490 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
6491 | ||
6492 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
6493 | stripping off the first character. | |
6494 | (dbxout_source_file): Likewise. | |
6495 | ||
6cd444b4 DD |
6496 | 2002-01-25 DJ Delorie <dj@redhat.com> |
6497 | ||
6498 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
6499 | using rtx_equal_p, not by comparing pointers. | |
6500 | ||
751551d5 SE |
6501 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
6502 | ||
6503 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
6504 | for PIC_OFFSET_TABLE_REGNUM. | |
6505 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
6506 | ||
e564e618 DB |
6507 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
6508 | ||
6509 | * config.gcc (x86_64-*-freebsd*): New target. | |
6510 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
6511 | value. | |
6512 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
6513 | * config/i386/freebsd64.h: New file. | |
6514 | ||
ff3aaf17 DR |
6515 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
6516 | ||
4857d29d DR |
6517 | * config/alpha/x-vms (version): Make static. |
6518 | ||
6519 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
6520 | in previous checkin. | |
6521 | ||
ff3aaf17 DR |
6522 | * Makefile.in (install-headers-cp): New target. |
6523 | * config.gcc (alpha-dec-*vms*): Install headers with | |
6524 | install-headers-cp | |
6525 | ||
48d79c43 JH |
6526 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
6527 | ||
6528 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
6529 | avoid it's copies. | |
6530 | ||
995b5904 RK |
6531 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6532 | ||
6533 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
6534 | of compare_tree_int. | |
6535 | (expand_builtin_strncat): Likewise. | |
6536 | * c-decl.c (finish_struct): Use tree_low_cst. | |
6537 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
6538 | * tree.c (compare_tree_int): Likewise. | |
6539 | ||
75eefe3f UW |
6540 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
6541 | ||
6542 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
6543 | adjustments even if they are implemented by more than two insns. | |
6544 | ||
5a133afd JH |
6545 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
6546 | ||
995b5904 | 6547 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
5a133afd JH |
6548 | * df.h (struct ref): Kill B. |
6549 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
6550 | ||
6551 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
6552 | * flow.c (propagate_one_insn): Use it. | |
6553 | (mark_used_regs): Handle NIL. | |
6554 | ||
ead39bdf | 6555 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
3d8dd3c0 GK |
6556 | |
6557 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
6558 | to help folding. | |
6559 | ||
01a2ccd0 DE |
6560 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
6561 | ||
6562 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
6563 | is restricted to legitimate form for instruction. | |
6564 | ||
fd29f6ea BW |
6565 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
6566 | ||
6567 | * doc/install.texi (xtensa-*-elf): New target. | |
6568 | (xtensa-*-linux*): New target. | |
6569 | * doc/contrib.texi: Add myself. | |
6570 | ||
55492b32 NC |
6571 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
6572 | ||
6573 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
6574 | purpose register to hold an SImode (or smaller) value. | |
6575 | ||
72c7c913 JJ |
6576 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
6577 | ||
6578 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
6579 | registry only. | |
6580 | * crtstuff.c: Likewise. | |
6581 | ||
c4df4ceb KH |
6582 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
6583 | ||
6584 | * config/h8300/h8300.md (negation patterns): Tighten | |
6585 | predicates to register_operand. | |
6586 | ||
70e531f5 AH |
6587 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
6588 | ||
3bca17dd PK |
6589 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
6590 | mode, not Pmode. | |
70e531f5 | 6591 | |
3bca17dd | 6592 | * builtins.c (expand_builtin_prefetch): Same. |
70e531f5 | 6593 | |
a4f76ef9 AO |
6594 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
6595 | ||
6596 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
6597 | modes. | |
6598 | ||
9bf25b09 KH |
6599 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
6600 | ||
6601 | * config/h8300/h8300.c (print_operand): Remove support for | |
6602 | operand character 'A'. | |
6603 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
6604 | operand character 'A' with either 'T' or 'S'. | |
6605 | ||
974af6a5 KH |
6606 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
6607 | ||
6608 | * config/h8300/h8300.c (print_operand): Remove support for | |
6609 | operand character 'U'. | |
6610 | ||
7a5bb7b8 AP |
6611 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
6612 | ||
3bca17dd | 6613 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
7a5bb7b8 | 6614 | |
92a4639e NC |
6615 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
6616 | ||
6617 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
6618 | values to be assigned to the stack pointer. | |
6619 | ||
467cb2da HP |
6620 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
6621 | ||
bebc7e8b | 6622 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
467cb2da HP |
6623 | to const_double needs to be done right for big-endian systems. |
6624 | ||
3b6cb920 JM |
6625 | 2002-01-24 Jason Merrill <jason@redhat.com> |
6626 | ||
b08dd119 | 6627 | PR c++/2432 |
3b6cb920 JM |
6628 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
6629 | to can_throw_internal. | |
6630 | ||
f3077311 RH |
6631 | 2002-01-23 Richard Henderson <rth@redhat.com> |
6632 | ||
6633 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
6634 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
6635 | ||
e1d71275 AO |
6636 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
6637 | ||
6638 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
6639 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
6640 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
6641 | as a temporary, if possible. | |
6642 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
6643 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
6644 | ||
dc271dbe KH |
6645 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
6646 | ||
6647 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
6648 | accept to accept 0x80 as operands[2]. | |
6649 | ||
1a9017f9 AO |
6650 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
6651 | ||
6652 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
6653 | ||
6932f033 RH |
6654 | 2002-01-23 Richard Henderson <rth@redhat.com> |
6655 | ||
6656 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
6657 | ||
709619d9 AH |
6658 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
6659 | ||
3bca17dd PK |
6660 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
6661 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
6662 | an attribute. | |
709619d9 | 6663 | |
3d709fd3 RH |
6664 | 2002-01-23 Richard Henderson <rth@redhat.com> |
6665 | ||
6666 | * expr.c (move_by_pieces_1): Extend size before negation. | |
6667 | ||
88a446c0 RH |
6668 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
6669 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
6670 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
6671 | * config/m68k/t-m68kelf: Likewise. | |
6672 | ||
03984308 BW |
6673 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
6674 | ||
6675 | * config/xtensa/elf.h: New file. | |
6676 | * config/xtensa/lib1funcs.asm: New file. | |
6677 | * config/xtensa/lib2funcs.S: New file. | |
6678 | * config/xtensa/linux.h: New file. | |
6679 | * config/xtensa/t-xtensa: New file. | |
6680 | * config/xtensa/xtensa-config.h: New file. | |
6681 | * config/xtensa/xtensa-protos.h: New file. | |
6682 | * config/xtensa/xtensa.c: New file. | |
6683 | * config/xtensa/xtensa.h: New file. | |
6684 | * config/xtensa/xtensa.md: New file. | |
6685 | * config.gcc (xtensa-*-elf*): New target. | |
6686 | (xtensa-*-linux*): New target. | |
6687 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
6688 | numbers. This is required for the Xtensa port. | |
6689 | * integrate.c (copy_insn_list): Handle case where the static | |
6690 | chain is in memory and the memory address has to be copied to | |
6691 | a register. | |
6692 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
6693 | (Xtensa Options): New node. | |
6694 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
6695 | ||
c3d5c3fa ZW |
6696 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
6697 | ||
a63bea75 ZW |
6698 | * diagnostic.c (internal_error): Do ICE suppression only |
6699 | when ENABLE_CHECKING is not defined. | |
6700 | ||
c3d5c3fa ZW |
6701 | * c-typeck.c (require_complete_type): Return error_mark_node |
6702 | if type is error_mark_node. | |
6703 | ||
1398974c JJ |
6704 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
6705 | ||
6706 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
6707 | -Os and issue a warning. | |
6708 | ||
807633e5 ZW |
6709 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
6710 | ||
6711 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
6712 | current (lack of) need for host configuration by hand. | |
6713 | ||
6714 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
6715 | references. Documentation of some target macros moved from | |
6716 | hostconfig.texi to tm.texi. | |
6717 | ||
cf8002d0 WC |
6718 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
6719 | ||
6720 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
6721 | defined. | |
6722 | ||
d1e76310 KH |
6723 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
6724 | ||
6725 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
6726 | operand[3]. | |
6727 | ||
b2115575 JM |
6728 | 2002-01-23 Jason Merrill <jason@redhat.com> |
6729 | ||
f893c16e JM |
6730 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
6731 | ||
b2115575 JM |
6732 | * function.c (assign_parms): Don't put args of inline functions |
6733 | into registers when not optimizing. | |
6734 | ||
6bacc7b0 NC |
6735 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
6736 | ||
6737 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
6738 | (prologue_use): New pattern. | |
6739 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
6740 | preference to gen_rtx_USE. | |
6741 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
6742 | gen_rtx_USE. | |
6743 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
6744 | gen_rtx_USE. | |
6745 | ||
a415f7bc HPN |
6746 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
6747 | ||
6748 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
6749 | ||
5372b3fb NB |
6750 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
6751 | ||
6752 | PR c/3504 | |
6753 | * doc/extend.texi: Correct documentation of __alignof__. | |
6754 | ||
bd571ffc ZW |
6755 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
6756 | ||
6757 | * params.h: Rename arguments of DEFPARAM so that it will be | |
6758 | recognized as a translation keyword. | |
6759 | ||
333c8841 AH |
6760 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
6761 | ||
bd571ffc ZW |
6762 | * extend.texi: Document altivec functions. |
6763 | Fix N-bit adjectives in X86 builtin documentation. | |
333c8841 | 6764 | |
38979c65 AO |
6765 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
6766 | ||
6767 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
6768 | auto_inc_dec values. | |
6769 | ||
7458a9f0 RE |
6770 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
6771 | ||
6772 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
6773 | after backslash. | |
6774 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
6775 | ||
129bd0c4 AO |
6776 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
6777 | ||
6778 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
6779 | ||
8b9b74a9 RH |
6780 | 2002-01-22 Richard Henderson <rth@redhat.com> |
6781 | ||
6782 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
6783 | copy_insn not copy_rtx. | |
6784 | ||
d0c9db30 AM |
6785 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
6786 | ||
6787 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
6788 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
6789 | properly sign extened. | |
6790 | (force_to_mode): Tweak for sign extended constop. | |
6791 | ||
1e7e480e RH |
6792 | 2002-01-22 Richard Henderson <rth@redhat.com> |
6793 | ||
6794 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
6795 | for_each_rtx instead of assuming we're already looking at the MEM. | |
6796 | (split_small_symbolic_mem_operand): Likewise. | |
6797 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
6798 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
6799 | ||
6800 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
2e271932 RH |
6801 | |
6802 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
6803 | sequence number for the literal. | |
6804 | (divmoddi_internal_er): Likewise. | |
6805 | ||
b7f2fb96 CR |
6806 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6807 | ||
6808 | PR java/4972 | |
6809 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
6810 | in LIBICONV variable. | |
6811 | * configure: Regenerated. | |
6812 | ||
f66a0046 KW |
6813 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
6814 | ||
6815 | * dependence.c (build_def_use): Remove array_idx. | |
6816 | ||
e3b0efd1 KW |
6817 | * dwarfout.c (last_filename): Remove. |
6818 | (output_compile_unit_die): Remove last_filename. | |
6819 | ||
d8086cbb RS |
6820 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
6821 | Richard Henderson <rth@redhat.com> | |
6822 | ||
6823 | PR opt/3640 | |
6824 | * fold-const.c (fold): Optimize unsigned comparisons against | |
6825 | UINT_MAX (and similar unsigned constants). | |
6826 | ||
e8d52ba0 JJ |
6827 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
6828 | ||
d8086cbb | 6829 | * Makefile.in (loop.o): Depend on OPTABS_H. |
1398974c | 6830 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
d8086cbb | 6831 | against the predicate. |
11303d15 | 6832 | |
e8d52ba0 JJ |
6833 | PR target/5379 |
6834 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
6835 | for the address operand. | |
6836 | ||
cc7b420e RH |
6837 | 2002-01-22 Richard Henderson <rth@redhat.com> |
6838 | ||
6839 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
6840 | ||
816e265a CR |
6841 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6842 | ||
6843 | PR other/5450 | |
cc7b420e RH |
6844 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
6845 | preprocessor flags. | |
816e265a | 6846 | |
7c884404 JT |
6847 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
6848 | ||
6849 | * config.gcc (x86_64-*-netbsd*): New target. | |
6850 | * config/i386/netbsd64.h: New file. | |
6851 | ||
2b672c08 AH |
6852 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
6853 | ||
d8086cbb | 6854 | * regrename.c (kill_value): Fix typo. |
2b672c08 AH |
6855 | |
6856 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
6857 | ||
d8086cbb | 6858 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
2b672c08 | 6859 | |
d8086cbb | 6860 | * config/rs6000/rs6000.h: Same. |
2b672c08 | 6861 | |
d8086cbb RS |
6862 | * function.c (instantiate_virtual_regs): Remove |
6863 | STARTING_FRAME_PHASE. | |
6864 | (assign_stack_local_1): Same. | |
6865 | Calculate frame phase. | |
2b672c08 | 6866 | |
4b02997f NC |
6867 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
6868 | ||
6869 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
6870 | variable declaration to outer scope in order to simplify | |
6871 | future extensions. | |
6872 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
6873 | arm_hard_regno_mode_ok. | |
6874 | * config/arm/arm-protos.h: Add a prototype for | |
6875 | arm_hard_regno_mode_ok. | |
6876 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
6877 | check for DImode values using IP_REGNUM. | |
6878 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
6879 | DImode values using IP_REGNUM. | |
6880 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
6881 | that DImode values are not stored in IP_REGNUM. | |
c14a3a45 NC |
6882 | |
6883 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
6884 | note with a USE. | |
6885 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
6886 | ||
8a827ab2 JM |
6887 | 2002-01-22 Jason Merrill <jason@redhat.com> |
6888 | ||
6889 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
6890 | consistency if this COMPOUND_STMT is scoped. | |
6891 | ||
cf403648 KH |
6892 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
6893 | ||
6894 | * predict.c: Fix formatting. | |
6895 | * print-tree.c: Likewise. | |
6896 | * protoize.c: Likewise. | |
6897 | * real.h: Likewise. | |
6898 | * rtl.h: Likewise. | |
6899 | * sbitmap.h: Likewise. | |
6900 | * scan.c: Likewise. | |
6901 | * sched-deps.c: Likewise. | |
6902 | * sched-vis.c: Likewise. | |
6903 | * sdbout.c: Likewise. | |
6904 | * sibcall.c: Likewise. | |
6905 | * ssa.c: Likewise. | |
6906 | * ssa-ccp.c: Likewise. | |
6907 | * ssa-dce.c: Likewise. | |
6908 | * stmt.c: Likewise. | |
6909 | * stor-layout.c: Likewise. | |
6910 | * system.h: Likewise. | |
6911 | ||
aea9695c RK |
6912 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6913 | ||
a8765ae7 RK |
6914 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
6915 | if fits in bounds of base type. | |
6916 | ||
aea9695c RK |
6917 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
6918 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
6919 | (add_bound_info, default): If can't find a context, make a | |
6920 | SAVE_EXPR. | |
6921 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
6922 | ||
58bf601b HPN |
6923 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
6924 | ||
6925 | * c-typeck.c (parser_build_binary_op): If result from | |
6926 | build_binary_op is ERROR_MARK just return error_mark_node without | |
6927 | further processing. | |
6928 | ||
f982f805 JT |
6929 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
6930 | ||
6931 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
6932 | Split a.out-specific bits into... | |
6933 | * config/netbsd-aout.h: ...this. | |
6934 | * config/netbsd-elf.h: New file. | |
6935 | * config/alpha/netbsd-elf.h: Remove. | |
6936 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
6937 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
bd571ffc | 6938 | (STARTFILE_SPEC): Remove redundant definition. |
f982f805 JT |
6939 | (ENDFILE_SPEC): Likewise. |
6940 | (LINK_SPEC): Likewise. | |
6941 | (CPP_SPEC): Likewise. | |
6942 | (ASM_SPEC): Likewise. | |
6943 | (LIB_SPEC): Likewise. | |
6944 | (SWITCH_TAKES_ARG): Likewise. | |
6945 | (TARGET_MEM_FUNCTIONS): Likewise. | |
6946 | (CPP_PREDEFINES): Redefine. | |
6947 | (ASM_FINAL_SPEC): Remove redefinition. | |
6948 | (ASM_COMMENT_START): Redefine. | |
6949 | (FUNCTION_PROFILER): Define. | |
6950 | (TARGET_VERSION): Redefine. | |
6951 | Comment and formatting cleanup. | |
6952 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
6953 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
6954 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
6955 | big- or little-endian. | |
6956 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
6957 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
6958 | NetBSD configs. | |
6959 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
6960 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
6961 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
6962 | tmake_file, and don't lose previous tmake_file contents. | |
6963 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
6964 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
6965 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
6966 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
6967 | (mipsel-*-netbsd*): Rename this to... | |
6968 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
6969 | mips/little.h to tm_file for mips*el-*. | |
6970 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
6971 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
6972 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
6973 | ||
2e396476 JDA |
6974 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6975 | ||
6976 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
6977 | * pa.c (reg_before_reload_operand): New function implementation. | |
6978 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
6979 | contraints to "*m". | |
6980 | ||
3b5708e7 FS |
6981 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6982 | ||
6983 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
6984 | ||
85e79f96 JDA |
6985 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6986 | ||
6987 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
6988 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
6989 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
6990 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
6991 | (ENDFILE_SPEC): Undefine. | |
6992 | (STARTFILE_SPEC): Redefine for PA. | |
6993 | ||
38abadee FS |
6994 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6995 | ||
6996 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
6997 | ||
94f1d97c DJ |
6998 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
6999 | ||
7000 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
7001 | types. | |
7002 | ||
0333394e JJ |
7003 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
7004 | ||
7005 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
7006 | true for 64-bit mode only SSE registers in 32-bit mode. | |
7007 | ||
e9d1b155 KH |
7008 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
7009 | ||
7010 | * unwind-dw2.c: Fix formatting. | |
7011 | * unwind-dw2-fde.c: Likewise. | |
7012 | * unwind-dw2-fde.h: Likewise. | |
7013 | * unwind-pe.h: Likewise. | |
7014 | * varasm.c: Likewise. | |
7015 | * varray.h: Likewise. | |
7016 | ||
07338cf8 HPN |
7017 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
7018 | ||
7019 | Remove workaround for register stack overwrite bug in mmix. | |
7020 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
7021 | support for TARGET_REG_STACK_FILL_BUG. | |
7022 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
7023 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
7024 | Delete. | |
7025 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
7026 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
7027 | -mno-reg-stack-fill-bug-workaround. | |
7028 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
7029 | machine member has_call_without_parameters. | |
7030 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
7031 | -mreg-stack-fill-bug-workaround and | |
7032 | -mno-reg-stack-fill-bug-workaround. | |
7033 | (MMIX Options): Ditto. | |
7034 | ||
7192cbf1 KH |
7035 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
7036 | ||
7037 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
7038 | as appropriate. | |
7039 | Remove redundant code. | |
7040 | ||
d1552d7b JM |
7041 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
7042 | ||
7043 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
7044 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
7045 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
7046 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
7047 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
7048 | out target macro definitions and non-target-specific comments | |
7049 | mostly taken from old versions of the manual. | |
7050 | ||
ed168e45 KH |
7051 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7052 | ||
7053 | * config/h8300/h8300.h: Fix comment formatting. | |
7054 | * config/ia64/aix.h: Likewise. | |
7055 | * config/ia64/ia64-protos.h: Likewise. | |
7056 | * config/ia64/ia64.c: Likewise. | |
7057 | * config/ia64/ia64.h: Likewise. | |
7058 | * config/ia64/ia64intrin.h: Likewise. | |
7059 | * config/ia64/linux.h: Likewise. | |
7060 | * config/ia64/unwind-aix.c: Likewise. | |
7061 | * config/ia64/unwind-ia64.c: Likewise. | |
7062 | ||
005e3e05 KH |
7063 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7064 | ||
7065 | * config/h8300/h8300.c: Revise comments about shift code. | |
7066 | ||
64bead4c KH |
7067 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7068 | ||
7069 | * config/h8300/h8300.c (function_arg): Update a comment. | |
7070 | ||
ed863595 KH |
7071 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7072 | ||
7073 | * config/h8300/h8300.md: Update the comments at the beginning | |
7074 | of the file. | |
7075 | ||
5904dc87 KH |
7076 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7077 | ||
7078 | * config/i370/i370.c: Fix comment formatting. | |
7079 | * config/i370/i370.h: Likewise. | |
7080 | * config/i370/i370.md: Likewise. | |
7081 | * config/i370/linux.h: Likewise. | |
7082 | ||
9702143f RK |
7083 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7084 | ||
cbafacd1 RK |
7085 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
7086 | ||
9702143f RK |
7087 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
7088 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
7089 | in incomplete case. | |
7090 | ||
6b6996b8 GS |
7091 | 2002-01-20 Graham Stott <grahams@redhat.com> |
7092 | ||
7093 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
7094 | ||
eab854f6 JDA |
7095 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7096 | ||
7097 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
7098 | ||
5b029315 TR |
7099 | 2002-01-19 Tom Rix <trix@redhat.com> |
7100 | ||
7101 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
7102 | ||
1d690052 AH |
7103 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
7104 | ||
d8086cbb | 7105 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
1d690052 | 7106 | |
d8086cbb RS |
7107 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
7108 | STARTING_FRAME_PHASE. | |
7109 | (STARTING_FRAME_PHASE): New. | |
7110 | (instantiate_virtual_regs): Check saneness of | |
7111 | STARTING_FRAME_PHASE. | |
1d690052 | 7112 | |
d8086cbb | 7113 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
1d690052 | 7114 | |
4dd8c093 AO |
7115 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
7116 | ||
7117 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
7118 | ||
6f2a28d7 CR |
7119 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7120 | ||
7121 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
7122 | be used for bootstrapping GCC 3.0. | |
7123 | ||
8763a465 KH |
7124 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
7125 | ||
7126 | * config/h8300/h8300.md: Fix an insn length. | |
7127 | ||
3ef42a0c KH |
7128 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
7129 | ||
7130 | * bitmap.h: Fix comment formatting. | |
7131 | * combine.c: Likewise. | |
7132 | * cppfiles.c: Likewise. | |
7133 | * c-pragma.h: Likewise. | |
7134 | * c-typeck.c: Likewise. | |
7135 | * df.c: Likewise. | |
7136 | * dwarf2out.c: Likewise. | |
7137 | * function.c: Likewise. | |
7138 | * gcc.c: Likewise. | |
7139 | * genattrtab.c: Likewise. | |
7140 | * gthr-win32.h: Likewise. | |
7141 | * haifa-sched.c: Likewise. | |
7142 | * predict.c: Likewise. | |
7143 | * rtlanal.c: Likewise. | |
7144 | * rtl.h: Likewise. | |
7145 | * unwind-dw2-fde.h: Likewise. | |
7146 | * unwind-pe.h: Likewise. | |
7147 | * vmsdbgout.c: Likewise. | |
7148 | ||
dd4dc3cd RK |
7149 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7150 | ||
7151 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
7152 | if type_required and passed decl. | |
7153 | ||
5fb4cf24 AH |
7154 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
7155 | ||
d8086cbb RS |
7156 | * config.gcc (cpu_type): Include altivec.h in powerpc |
7157 | extra_headers. | |
7158 | Same for darwin. | |
5fb4cf24 | 7159 | |
d8086cbb | 7160 | * config/rs6000/altivec.h: New. |
5fb4cf24 | 7161 | |
2705baf5 DE |
7162 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
7163 | ||
7164 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
7165 | handling information. | |
7166 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
7167 | for AIX. | |
7168 | (Misunderstandings): Add template instantiation and static template | |
7169 | member information for AIX. | |
7170 | ||
dbd680e1 JM |
7171 | 2002-01-17 Jason Merrill <jason@redhat.com> |
7172 | ||
821adc5e JM |
7173 | * dbxout.c (dbxout_type): Support const and volatile. |
7174 | ||
dbd680e1 JM |
7175 | * except.c (add_partial_entry): Remove backwards compatibility code. |
7176 | (end_protect_partials): Likewise. | |
7177 | ||
d0e82870 JJ |
7178 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
7179 | ||
7180 | * config/ia64/ia64.md (prologue_use): New. | |
7181 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
7182 | gen_prologue_use instead of gen_rtx_USE. | |
7183 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
7184 | as CODE_FOR_pred_rel_mutex. | |
7185 | (ia64_sched_reorder2): Likewise. | |
7186 | ||
f9f45c65 EC |
7187 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
7188 | ||
7189 | * config/mips/r3900.h: Reformat. | |
7190 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
7191 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
7192 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
7193 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
7194 | * config/mips/t-elf: Remove mips3 multilib. | |
7195 | ||
c66c8b0e L |
7196 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
7197 | ||
7198 | * config/mips/linux.h: Include "mips/abi64.h". | |
7199 | ||
5f083b72 L |
7200 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
7201 | ||
7202 | * config/mips/t-linux: New. | |
7203 | ||
7204 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
7205 | ||
7206 | * config/mips/linux.h: Don't include "gofast.h". | |
7207 | (INIT_SUBTARGET_OPTABS): Removed. | |
7208 | ||
af3c90a6 KH |
7209 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
7210 | ||
7211 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
7212 | output_a_shift. | |
7213 | * config/h8300/h8300.c: Likewise. | |
7214 | * config/h8300/h8300.md: Likewise. | |
7215 | ||
a1bf0a16 KH |
7216 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
7217 | ||
7218 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
7219 | spaces after an opcode name. | |
7220 | (pushqi1_h8300hs): Likewise. | |
7221 | (pushhi1_h8300hs): Likewise. | |
7222 | ||
88ab0d1c KH |
7223 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
7224 | ||
7225 | * doc/extend.texi: Replace "option" with "attribute" | |
7226 | appropriately. | |
7227 | ||
51c561e3 JJ |
7228 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
7229 | ||
7230 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
7231 | (and:DI () (const_int -8)). | |
7232 | (split_small_symbolic_mem_operand): Split | |
7233 | (mem (and:DI () (const_int -8)). | |
7234 | ||
b8c1a6b8 JJ |
7235 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
7236 | ||
7237 | PR target/5309: | |
d8086cbb | 7238 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
b8c1a6b8 JJ |
7239 | same way as TYPE_IMUL. |
7240 | (ultrasparc_sched_reorder): Likewise. | |
7241 | * config/sparc/sparc.md (type): Add comment to update | |
7242 | ultrasparc_sched_reorder when making changes. | |
7243 | ||
1e4e4df2 KH |
7244 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
7245 | ||
7246 | * doc/invoke.texi: Change the dump file name of block | |
7247 | reordering pass from 28.bbro to 29.bbro. | |
7248 | Mention -dk option. | |
7249 | ||
14d920c0 JH |
7250 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
7251 | ||
7252 | * i386.md (minsf splitter): Fix pasto. | |
7253 | ||
2e99323f NC |
7254 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
7255 | ||
7256 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
7257 | to frame pointer initialisation instruction. | |
7258 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
7259 | initialisation instruction. | |
ab8081c1 NC |
7260 | (soft_df_operand): Do not accept the IP register. |
7261 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
2e99323f | 7262 | |
c4031a04 JJ |
7263 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
7264 | ||
7265 | PR target/5357: | |
7266 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
7267 | MASK_V8 being both set. | |
7268 | ||
44b8152b UW |
7269 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
7270 | ||
7271 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
7272 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
7273 | config/s390/s390.md (call, call_value): Add GOT register to | |
7274 | CALL_INSN_FUNCTION_USAGE where needed. | |
7275 | (call_exp, call_value_exp): New. | |
7276 | ||
1d6e90ac NC |
7277 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
7278 | ||
7279 | * config/arm/arm.c: General formatting tidy up. | |
7280 | ||
7281 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
60e8b9f0 GS |
7282 | |
7283 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
7284 | cast and when casting an integer literal to "rtx" pointer. | |
7285 | (expand_call): Likewise. | |
7286 | * flow.c (try_pre_increment): Likewise. | |
7287 | (find_use_as_address): Likewise. | |
7288 | * integrate.c (expand_iline_function): Likewise. | |
7289 | * regmove.c (try_auto_increment): Likewise. | |
7290 | ||
1d6e90ac | 7291 | 2002-01-16 Graham Stott <grahams@redhat.com> |
7b25b076 GS |
7292 | |
7293 | * sched-rgn.c (passed): Use sbitmap_free. | |
7294 | (header): Likewise. | |
7295 | (inner): Likewise. | |
7296 | (in_queue): Likewise. | |
7297 | (in_stack): Likewise. | |
7298 | ||
31fce3c4 EC |
7299 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
7300 | ||
7301 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
7302 | ||
c99d986a KH |
7303 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
7304 | ||
7305 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
7306 | * system.h: Poison SLOW_ZERO_EXTEND. | |
7307 | * doc/tm.texi: Remove. | |
7308 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
7309 | * config/arm/arm.h: Likewise. | |
7310 | * config/avr/avr.h: Likewise. | |
7311 | * config/clipper/clipper.h: Likewise. | |
7312 | * config/convex/convex.h: Likewise. | |
7313 | * config/d30v/d30v.h: Likewise. | |
7314 | * config/dsp16xx/dsp16xx.h: Likewise. | |
7315 | * config/elxsi/elxsi.h: Likewise. | |
7316 | * config/fr30/fr30.h: Likewise. | |
7317 | * config/h8300/h8300.h: Likewise. | |
7318 | * config/i370/i370.h: Likewise. | |
7319 | * config/i386/i386.h: Likewise. | |
7320 | * config/m68k/m68k.h: Likewise. | |
7321 | * config/mips/mips.h: Likewise. | |
7322 | * config/ns32k/ns32k.h: Likewise. | |
7323 | * config/pdp11/pdp11.h: Likewise. | |
7324 | * config/pj/pj.h: Likewise. | |
7325 | * config/s390/s390.h: Likewise. | |
7326 | * config/sh/sh.h: Likewise. | |
7327 | * config/stormy16/stormy16.h: Likewise. | |
7328 | * config/v850/v850.h: Likewise. | |
7329 | * config/vax/vax.h: Likewise. | |
7330 | * config/we32k/we32k.h: Likewise. | |
7331 | ||
acfab996 AH |
7332 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
7333 | ||
d8086cbb RS |
7334 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
7335 | (altivec_lvsl): Change constraint to b. | |
7336 | (altivec_lvsr): Same. | |
7337 | (altivec_lvebx): Same. | |
7338 | (altivec_lvehx): Same. | |
7339 | (altivec_lvewx): Same. | |
7340 | (altivec_lvxl): Same. | |
7341 | (altivec_lvx): Same. | |
7342 | (altivec_stvx): Add parallel. | |
7343 | (altivec_stvxl): Same. | |
7344 | (altivec_stvehx): Same. | |
7345 | (altivec_stvebx): Same. | |
7346 | (altivec_stvebx): Same. | |
acfab996 | 7347 | |
5e505bc9 AH |
7348 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
7349 | ||
d8086cbb | 7350 | * config.gcc: Change altivec.h to altivec-defs.h. |
5e505bc9 | 7351 | |
d8086cbb | 7352 | * config/rs6000/altivec.h: Delete. |
5e505bc9 | 7353 | |
d8086cbb | 7354 | * config/rs6000/altivec-defs.h: Add. |
5e505bc9 | 7355 | |
5c41fdfb JDA |
7356 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7357 | ||
7358 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
7359 | and UMOD modes. | |
7360 | ||
7361 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
7362 | less than or equal to eight bytes. | |
7363 | ||
7364 | * vax.md (andsi3): Remove constraints and change SET destination | |
7365 | operand type to nonimmediate_operand. | |
7366 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
7367 | when it is a CONST_INT. | |
7368 | ||
de097a2d JM |
7369 | 2002-01-15 Jason Merrill <jason@redhat.com> |
7370 | ||
7371 | * c-common.def (FILE_STMT): New code. | |
7372 | * c-common.c (statement_code_p): It's a statement. | |
7373 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
7374 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
7375 | (last_expr_filename): New macro. | |
7376 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
7377 | (add_stmt): If the filename changed, also insert a | |
7378 | FILE_STMT. | |
7379 | (expand_stmt): Handle seeing one. | |
7380 | ||
4a913dd6 EC |
7381 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
7382 | ||
7383 | * flow.c (propagate_one_insn): Add error message and print out | |
7384 | insn for debugging. | |
7385 | ||
006946e4 JM |
7386 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
7387 | ||
7388 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
7389 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
7390 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
7391 | TRAMPOLINE_ALIGNMENT. | |
7392 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
7393 | to be in bits. | |
7394 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
7395 | PCC_BITFIELD_TYPE_MATTERS. | |
7396 | * config/interix.h (STDC_VALUE): Remove. Use | |
7397 | STDC_0_IN_SYSTEM_HEADERS. | |
7398 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
7399 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
7400 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
7401 | ||
751a1458 CR |
7402 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7403 | ||
7404 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
7405 | not work on this platform currently. | |
7406 | ||
57771fe8 JM |
7407 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
7408 | ||
7409 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
7410 | readonly_warning in _(). | |
7411 | ||
0e83ceb1 | 7412 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
9a52433e | 7413 | |
0e83ceb1 | 7414 | * gcc.c (delete_if_ordinary): Backout previous change. |
9a52433e | 7415 | |
8e2e89f7 KH |
7416 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
7417 | ||
0e83ceb1 DR |
7418 | * config/h8300/h8300.c (print_operand): Remove support for |
7419 | unused operand characters. | |
7420 | ||
8e2e89f7 KH |
7421 | * read-rtl.c: Fix formatting. |
7422 | * real.c: Likewise. | |
7423 | * recog.c: Likewise. | |
7424 | * regclass.c: Likewise. | |
7425 | * regmove.c: Likewise. | |
7426 | * reg-stack.c: Likewise. | |
7427 | * reload1.c: Likewise. | |
7428 | * rtlanal.c: Likewise. | |
7429 | ||
b531087a KH |
7430 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
7431 | ||
7432 | * config/i386/i386.c: Fix formatting. | |
7433 | ||
7c94ce7f JJ |
7434 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
7435 | ||
7436 | * c-typeck.c (process_init_element): Don't save_expr | |
7437 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
7438 | ||
6041bf2f DE |
7439 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
7440 | ||
7441 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
7442 | emit optional traceback table if optimize_size or TARGET_ELF. | |
7443 | * config/rs6000/rs6000.md (prefetch): New. | |
7444 | ||
8559c8c0 AJ |
7445 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
7446 | ||
7447 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
7448 | ||
70f122f2 KH |
7449 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
7450 | ||
7451 | * mips-tfile.c: Fix formatting. | |
7452 | ||
6a7b4ca6 JH |
7453 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
7454 | ||
7455 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
7456 | ||
e7afe229 KH |
7457 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
7458 | ||
7459 | * config/h8300/h8300-protos.h: Remove the prototype for | |
7460 | eq_operator. | |
7461 | * config/h8300/h8300.c (eq_operator): Remove. | |
7462 | ||
7d378549 RH |
7463 | 2002-01-14 Richard Henderson <rth@redhat.com> |
7464 | ||
7465 | * config/i386/i386.md (prefetch): Tidy. | |
7466 | (prefetch_3dnow): Fix locality operand. | |
7467 | ||
ab093b81 RH |
7468 | 2002-01-14 Richard Henderson <rth@redhat.com> |
7469 | ||
7470 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
7471 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
7472 | ||
d300f51f HPN |
7473 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
7474 | ||
7475 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
7476 | copy_rtx in loop performing multiple changes. | |
7477 | ||
655dd289 JJ |
7478 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
7479 | ||
7480 | * except.c (remove_unreachable_regions): New. | |
7481 | (free_eh_status): Clear exception_handler_labels. | |
7482 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
7483 | (find_exception_handler_labels): Don't add the same label more than | |
7484 | once. | |
7485 | (remove_exception_handler_label): Don't die if | |
7486 | find_exception_handler_labels hasn't been called for the current | |
7487 | function yet. | |
7488 | ||
1fba46a7 JH |
7489 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
7490 | ||
7491 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
7492 | gcse. | |
7493 | ||
0975678f JM |
7494 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
7495 | ||
7496 | * doc/extend.texi: Move documentation of X86 built-in functions | |
7497 | here. | |
7498 | * doc/invoke.texi: From here. | |
7499 | * doc/sourcebuild.texi: Document location of documentation for | |
7500 | machine built-in functions. | |
7501 | ||
969815c7 CF |
7502 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
7503 | ||
7504 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
7505 | (SHOULD_MMAP): Ditto. | |
7506 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
7507 | be used. | |
7508 | ||
494c950b JH |
7509 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
7510 | ||
7511 | * unroll.c (final_reg_note_copy): Properly handle | |
7512 | REG_LABEL | |
7513 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
7514 | ||
69a0611f GK |
7515 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
7516 | ||
7517 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
7518 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
7519 | ||
b90e45ae JH |
7520 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
7521 | ||
7522 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
7523 | threaded loop. | |
7524 | ||
8377288b TR |
7525 | 2002-01-14 Tom Rix <trix@redhat.com> |
7526 | ||
7527 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
7528 | ||
9f37ccb1 UW |
7529 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
7530 | ||
7531 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
7532 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
7533 | (clrstrdi, clrstrsi): Adapt callers. | |
7534 | ||
7535 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
7536 | ||
8559c8c0 | 7537 | (movti splitter): Never use register 0 as base register. |
9f37ccb1 | 7538 | |
6c2d03d0 HP |
7539 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
7540 | ||
8559c8c0 AJ |
7541 | * combine.c (simplify_shift_const): Always generate new rtx |
7542 | for shift expression instead of reusing given expression. | |
6c2d03d0 | 7543 | |
d3e98208 RK |
7544 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7545 | ||
7546 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
7547 | alpha_legitimize_address unless mode is Pmode. | |
7548 | ||
9f339dde GK |
7549 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
7550 | ||
7551 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
7552 | user. | |
7553 | ||
7554 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
7555 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
7556 | for xstormy16 too. | |
7557 | ||
02a10130 RH |
7558 | 2002-01-13 Richard Henderson <rth@redhat.com> |
7559 | ||
7560 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
7561 | for an input reload of the source. | |
7562 | ||
61d47787 GP |
7563 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7564 | ||
7565 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
7566 | more generic. | |
7567 | ||
f0df8029 DR |
7568 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
7569 | ||
7570 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
7571 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
7572 | ||
d2a37256 DR |
7573 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
7574 | ||
a9e8a5ee RK |
7575 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7576 | ||
7577 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
7578 | ||
bc06712d TR |
7579 | 2002-01-12 Tom Rix <trix@redhat.com> |
7580 | ||
8559c8c0 | 7581 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
bc06712d TR |
7582 | TARGET_POWERPC64. |
7583 | ||
7cbe9bb7 RH |
7584 | 2002-01-12 Richard Henderson <rth@redhat.com> |
7585 | ||
38b29e64 RH |
7586 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
7587 | ||
58605ba0 RH |
7588 | * doc/invoke.texi: Update Alpha options. |
7589 | ||
7cbe9bb7 RH |
7590 | * doc/invoke.texi: Update i386 built-in function lists. |
7591 | ||
9d560860 JH |
7592 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
7593 | ||
7594 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
7595 | referencing outside. | |
7596 | ||
bb93b973 RK |
7597 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7598 | ||
7599 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
7600 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
7601 | offsets, and change line folding. | |
7602 | * optabs.c (expand_binop): Remove warnings. | |
7603 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
8559c8c0 | 7604 | |
f9f6b7df GS |
7605 | 2002-01-12 Graham Stott <grahams@redhat.com> |
7606 | ||
7607 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
7608 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
7609 | dangling else warning and constify WHAT. | |
7610 | * except.h (struct function, struct inline_remap): Move | |
7611 | struct tag forward defs before all prototypes. | |
7612 | (duplicate_eh_regions): Whitespace. | |
7613 | ||
4a692617 NC |
7614 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
7615 | ||
7616 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
7617 | MODE_BASE_REG_CLASS. | |
7618 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
7619 | ||
e37af218 RH |
7620 | 2002-01-12 Richard Henderson <rth@redhat.com> |
7621 | ||
7622 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
7623 | (ix86_expand_vector_move): New. | |
7624 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
7625 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
7626 | Remove old prefetch builtins. Special case the logicals removed above. | |
7627 | (ix86_expand_builtin): Likewise. | |
7628 | (safe_vector_operand): Use V4SFmode, not TImode. | |
7629 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
7630 | (ix86_expand_timode_binop_builtin): New. | |
7631 | * config/i386/i386-protos.h: Update. | |
7632 | * config/i386/i386.h (enum ix86_builtins): Update. | |
7633 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
7634 | Use ix86_expand_vector_move in vector move expanders. | |
7635 | (movti_internal, movti_rex64): Add xorps alternative. | |
7636 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
7637 | (prefetch): Don't work so hard. | |
7638 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
7639 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
7640 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
7641 | ||
6f1a6c5b RH |
7642 | 2002-01-11 Richard Henderson <rth@redhat.com> |
7643 | ||
7644 | * config/i386/mmintrin.h: New file. | |
7645 | * config/i386/xmmintrin.h: New file. | |
7646 | * config.gcc (i?86-*-*): Add extra_headers. | |
7647 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
7648 | truncation codes. | |
7649 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
7650 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
7651 | not the lowpart subreg. | |
7652 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
7653 | on error. | |
7654 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
7655 | ||
cdb574d3 MH |
7656 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
7657 | ||
7658 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
7659 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
8559c8c0 | 7660 | |
cf11ac55 HB |
7661 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7662 | ||
7663 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
7664 | every where we allocate a register. | |
7665 | ||
76ac938b MH |
7666 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
7667 | ||
7668 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
7669 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
7670 | ||
a84b4898 JJ |
7671 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
7672 | ||
7673 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
7674 | ||
aaef1c12 JJ |
7675 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
7676 | ||
7677 | * doc/rtl.texi (Insns): Fix 2 typos. | |
7678 | ||
5d22c1a5 JM |
7679 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
7680 | ||
7681 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
7682 | options. Use @table @gcctabopt for MMIX options. Add index | |
7683 | entries for MMIX options. Start new paragraph with first | |
7684 | heading of the machine-dependent options. | |
7685 | ||
3e92902c CR |
7686 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7687 | ||
7688 | PR other/5299 | |
7689 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
7690 | * combine.c (force_to_mode): Same. | |
7691 | * reload1.c (clear_reload_reg_in_use): Same. | |
7692 | ||
96ae8197 NC |
7693 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
7694 | ||
7695 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
7696 | and 'subtargets'. | |
7697 | ||
9b780582 AJ |
7698 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
7699 | Brad Lucier <lucier@math.purdue.edu> | |
7700 | ||
7701 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
7702 | mcpu. | |
7703 | ||
12300dad DR |
7704 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
7705 | ||
7706 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
7707 | Protect with IN_LIBGCC. | |
7708 | (LINK_EH_SPEC): Add required trailing space. | |
7709 | ||
27511a9a NP |
7710 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
7711 | ||
9b780582 | 7712 | * c-tree.h: Move function declarations so that they are listed |
27511a9a NP |
7713 | under the filename which contains them. |
7714 | (check_identifier, finish_decl_top_level, | |
7715 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
7716 | ||
4daeab16 AJ |
7717 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
7718 | ||
7719 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
7720 | march. | |
7721 | ||
40571d67 RH |
7722 | 2002-01-10 Richard Henderson <rth@redhat.com> |
7723 | ||
7724 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
7725 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
7726 | new operand with the sequence number for the lituse. When splitting | |
7727 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
7728 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
7729 | ||
6525c0e7 AH |
7730 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
7731 | ||
d8086cbb RS |
7732 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
7733 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
7734 | stvxl. | |
7735 | (altivec_expand_builtin): Same. | |
7736 | (altivec_expand_stv_builtin): New. | |
7737 | ||
7738 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
7739 | ||
7740 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
7741 | ("altivec_lvehx"): New. | |
7742 | ("altivec_lvewx"): New. | |
7743 | ("altivec_lvxl"): New. | |
7744 | ("altivec_lvx"): New. | |
7745 | ("altivec_stvx"): New. | |
7746 | ("altivec_stvebx"): New. | |
7747 | ("altivec_stvehx"): New. | |
7748 | ("altivec_stvewx"): New. | |
7749 | ("altivec_stvxl"): New. | |
6525c0e7 | 7750 | |
cda94cbb RH |
7751 | 2002-01-10 Richard Henderson <rth@redhat.com> |
7752 | ||
7753 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
7754 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
7755 | care not to delete instructions twice. | |
7756 | ||
df2c9a44 ZW |
7757 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
7758 | ||
7759 | * toplev.c: Don't declare environ (it's not used anywhere). | |
7760 | * configure.in: Don't check for declaration of environ. | |
7761 | * config/i386/xm-mingw32.h: Don't #define environ. | |
7762 | * config.in, configure: Regenerate. | |
7763 | ||
5dd8a9b1 ZW |
7764 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
7765 | ||
7766 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
7767 | * configure: Regenerate. | |
7768 | ||
7769 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
7770 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
7771 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
7772 | alpha/xm-vms.h. | |
7773 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
7774 | LIMITS_H_TEST here, not in m68k/x-next. | |
7775 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
7776 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
7777 | ||
7778 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
7779 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
7780 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
7781 | ||
7782 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
7783 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
7784 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
7785 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
7786 | replacement of quadlib.asm with quadlib.c. | |
7787 | ||
7788 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
7789 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
7790 | config/rs6000/xm-beos.h: Delete file. | |
7791 | ||
7792 | * config.gcc: Update to match above changes. | |
7793 | ||
d10dd44c KH |
7794 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7795 | ||
7796 | * config/h8300/h8300.h: Fix comment typos. | |
7797 | * config/h8300/h8300.md: Likewise. | |
7798 | * config/h8300/lib1funcs.asm: Likewise. | |
7799 | ||
04894c5a DJ |
7800 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
7801 | ||
7802 | PR optimization/5269 | |
7803 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
7804 | sign when n_iterations known, to avoid confusing caller. | |
7805 | ||
adc9fe67 KH |
7806 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7807 | ||
7808 | * doc/extend.texi (deprecated): Fix a typo. | |
7809 | ||
b446e5a2 JH |
7810 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
7811 | ||
7812 | * basic-block.h (update_br_prob_note): Declare. | |
7813 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
7814 | (try_forward_edges): Care negative frequencies and update note. | |
7815 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
7816 | (try_crossjump_to_edge): use update_br_prob_note. | |
7817 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
7818 | * cfrtl.c (update_br_prob_note): New. | |
7819 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
7820 | ||
7821 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
7822 | shift. | |
7823 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
7824 | ||
7825 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
7826 | (cprop_insn): Likewise. | |
7827 | ||
a01da83b KH |
7828 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7829 | ||
7830 | * toplev.c: Fix formatting. | |
7831 | * tree.c: Likewise. | |
7832 | * tree-dump.c: Likewise. | |
7833 | * unroll.c: Likewise. | |
7834 | * unwind-dw2.c: Likewise. | |
7835 | * unwind-dw2-fde.c: Likewise. | |
7836 | * unwind-dw2-fde-glibc.c: Likewise. | |
7837 | * unwind-sjlj.c: Likewise. | |
7838 | ||
9f85bca7 JM |
7839 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
7840 | ||
7841 | * doc/invoke.texi: Document PDP-11 options. | |
7842 | ||
f48f56b1 KH |
7843 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7844 | ||
7845 | * config/h8300/h8300.h: Fix formatting. | |
7846 | ||
ead39bdf | 7847 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
7848 | |
7849 | Add __attribute__ ((deprecated)). | |
7850 | * extend.texi: Document __attribute__ ((deprecated)). | |
7851 | * invoke.texi: Document -Wno-deprecated-declarations. | |
7852 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
7853 | * testsuite/gcc.dg/deprecated.c: New C test. | |
7854 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
7855 | (c_common_attribute_table): Add "deprecated" entry. | |
7856 | (handle_deprecated_attribute): New function. | |
7857 | * c-decl.c (deprecated_states): New enum. | |
7858 | deprecated_state: State of "deprecated" handling. | |
7859 | (start_decl): Set deprecated_state based on attributes. | |
7860 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
7861 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
7862 | (build_external_ref): Test for deprecated primaries. | |
7863 | * diagnostic.c (warn_deprecated_use) New function to issue | |
7864 | warnings about __attribute__ ((depricated)) references. | |
7865 | * flags.h (warn_deprecated_decl): Extern declared for | |
7866 | -W[no-]deprecated-declarations option. | |
7867 | * print-tree.c (print_node): Show deprecated flag status. | |
7868 | * toplev.c (warn_deprecated_decl): Defined. | |
7869 | (W_options): Added "deprecated-declaration". | |
7870 | * toplev.h (warn_deprecated_use): Extern declared. | |
7871 | * tree.h (struct tree_common): Define deprecated_flag. | |
7872 | (TREE_DEPRECATED): New macro to access flag. | |
7873 | * cp/call.c (build_call): Test for deprecated calls. | |
7874 | * cp/class.c (add_implicitly_declared_members): Set global | |
7875 | flag to tell grokdeclarator to not issue deprecated warnings. | |
7876 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
7877 | * cp/decl.c (deprecated_states): New enum. | |
7878 | (start_decl): Set deprecated_state based on attributes. | |
7879 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
7880 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
7881 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
7882 | ||
ead39bdf | 7883 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
7884 | |
7885 | Fix to assign attributes to inline member functions. | |
7886 | * cp/decl.c (start_method): Handle attrlist. | |
7887 | ||
47073a38 KH |
7888 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7889 | ||
7890 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
7891 | ||
d288e53d DE |
7892 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
7893 | ||
7894 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
7895 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
7896 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
7897 | Recurse for any operand of AND as long as constant is non-zero. | |
7898 | ||
08a02ffa KH |
7899 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7900 | ||
7901 | * config/h8300/h8300.md: Remove constraints from expanders. | |
7902 | ||
c203e7fe KH |
7903 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7904 | ||
7905 | * varasm.c: Fix formatting. | |
7906 | * varray.c: Likewise. | |
7907 | * vmsdbgout.c: Likewise. | |
7908 | * xcoffout.c: Likewise. | |
7909 | ||
bcb3bc6d JH |
7910 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
7911 | ||
7912 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
cda94cbb | 7913 | update edge probabilities to match. |
bcb3bc6d | 7914 | |
0a553c7e JM |
7915 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
7916 | ||
7917 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
7918 | dependencies. | |
7919 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
7920 | * doc/configfiles.texi: Make a subsubsection. Update. | |
7921 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
7922 | instructions for building GCC. | |
7923 | * doc/makefile.texi: Make a subsection. | |
7924 | * doc/gccint.texi: Update. | |
7925 | ||
adc7fcb8 JH |
7926 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
7927 | ||
7928 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
7929 | ||
5a4dd0b3 NP |
7930 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
7931 | ||
7932 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
7933 | ||
3987b9db JH |
7934 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
7935 | ||
7936 | * optabs.c (expand_fix): Look for wider integer modes first. | |
7937 | ||
7938 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
7939 | memory model. | |
7940 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
7941 | (fop_df_4): Disable for SSE compilation. | |
7942 | ||
ceb15948 | 7943 | 2002-01-10 Graham Stott <grahams@redhat.com> |
117f9d28 GS |
7944 | |
7945 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
cda94cbb | 7946 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
117f9d28 | 7947 | |
e1623399 RH |
7948 | 2002-01-10 Richard Henderson <rth@redhat.com> |
7949 | ||
7950 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
7951 | ||
c4abb293 RH |
7952 | 2002-01-10 Richard Henderson <rth@redhat.com> |
7953 | ||
7954 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
7955 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
7956 | ||
d2604ae9 KH |
7957 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7958 | ||
7959 | * combine.c (can_combine_p): Fix a comment typo. | |
7960 | ||
766c7ad1 ZW |
7961 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
7962 | ||
7963 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
7964 | empty list correctly. Change loop index $t to $f for | |
7965 | consistency with rest of Makefile. | |
7966 | ||
95385cbb AH |
7967 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
7968 | ||
7969 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
7970 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
7971 | ||
7972 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
7973 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
7974 | (altivec_init_builtins): Same. | |
7975 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
7976 | (altivec_expand_binop_builtin): Same. | |
7977 | (altivec_expand_ternop_builtin): Same. | |
7978 | (bdesc_dst): New. | |
7979 | ||
7980 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
7981 | ("altivec_vctuxs"): Fix typo. | |
7982 | ("altivec_vnmsubfp"): Same. | |
7983 | ("altivec_dssall"): New. | |
7984 | ("altivec_mfvscr"): New. | |
7985 | ("altivec_dss"): New. | |
7986 | ("altivec_lvsl"): New. | |
7987 | ("altivec_lvsr"): New. | |
7988 | ("altivec_dstt"): New. | |
7989 | ("altivec_dstst"): New. | |
7990 | ("altivec_dststt"): New. | |
7991 | ("altivec_dst"): New. | |
7992 | ||
7993 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
7994 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
7995 | ||
e4ac76b4 RH |
7996 | 2002-01-09 Richard Henderson <rth@redhat.com> |
7997 | ||
7998 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
7999 | ||
c893e4a4 HPN |
8000 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
8001 | ||
8002 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
8003 | function. | |
8004 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
8005 | prototype. | |
7387c700 | 8006 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
c893e4a4 | 8007 | |
f4f4d0f8 KH |
8008 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
8009 | ||
8010 | * read-rtl.c: Fix formatting. | |
8011 | * real.c: Likewise. | |
8012 | * regclass.c: Likewise. | |
8013 | * regrename.c: Likewise. | |
8014 | * reg-stack.c: Likewise. | |
8015 | * reload1.c: Likewise. | |
8016 | * reload.c: Likewise. | |
8017 | * rtl.c: Likewise. | |
8018 | ||
cc863bea KH |
8019 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
8020 | ||
8021 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
8022 | to extract items in the expr_list chain. | |
8023 | ||
7b4dfe3d RH |
8024 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8025 | ||
8026 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
8027 | ||
1d969638 RH |
8028 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
8029 | ||
7d5ab30e JH |
8030 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
8031 | ||
8032 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
8033 | ||
9503f3d1 RH |
8034 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8035 | ||
8036 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
8037 | Unify code from various alternatives. | |
8038 | ||
42bd17b7 RH |
8039 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8040 | ||
8041 | * regrename.c (copy_value): Ignore the copy if the source register | |
8042 | is present in the value chain with a narrower mode. | |
8043 | ||
bdca3c33 HB |
8044 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8045 | ||
cda94cbb RH |
8046 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
8047 | for the c4x target. Also improve layout. | |
bdca3c33 | 8048 | |
c73a5e94 RH |
8049 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8050 | ||
8051 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
8052 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
8053 | to match insn patterns. | |
8054 | ||
dd0a18c0 RH |
8055 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8056 | ||
8057 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
8058 | (copyprop_hardreg_forward_1): Likewise. | |
8059 | ||
1fd9ac1e JDA |
8060 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8061 | ||
8062 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
8063 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
8064 | ||
5cb265ec BM |
8065 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
8066 | ||
8067 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
8068 | gets undefined. For Darwin. | |
8069 | ||
fcd8fa8b HB |
8070 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8071 | ||
8072 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
8073 | ||
bd3ab23a MH |
8074 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
8075 | ||
8076 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
8077 | ||
21e16bd6 RH |
8078 | 2002-01-08 Richard Henderson <rth@redhat.com> |
8079 | ||
8080 | * regrename.c (copy_value): Ignore overlapping copies. | |
8081 | ||
a5376276 RH |
8082 | 2002-01-08 Richard Henderson <rth@redhat.com> |
8083 | ||
8084 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
8085 | as needed to avoid shared structure. | |
8086 | ||
18cf8dda KH |
8087 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
8088 | ||
8089 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
8090 | H8/300H and H8/S. | |
8091 | ||
16c484c7 JM |
8092 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
8093 | ||
8094 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
8095 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
8096 | documentation of obsolete macros. | |
8097 | * system.h: Poison these macros. | |
8098 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
8099 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
8100 | config/c4x/c4x.h, config/clipper/clipper.h, | |
8101 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
8102 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
8103 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
8104 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
8105 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
8106 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
8107 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
8108 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
8109 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
8110 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
8111 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
8112 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
8113 | definitions and commented out definitions of obsolete macros. | |
8114 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
8115 | of MAX_INT_TYPE_SIZE. | |
8116 | ||
14b3e8ef UW |
8117 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
8118 | ||
8119 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
8120 | return ADDR_REGS if it isn't a subset of the given class. | |
8121 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
8122 | FP_REGS, but all superclasses as well. | |
8123 | ||
8124 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
8125 | ||
8126 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
8127 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
8128 | must not be a const_int. | |
8129 | ||
a693284d RH |
8130 | 2002-01-08 Richard Henderson <rth@redhat.com> |
8131 | ||
8132 | * Makefile.in (toplev.o): Depend on options.h. | |
8133 | (gcc.o): Depend on specs.h. | |
8134 | ||
b3ca30df JJ |
8135 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
8136 | ||
8137 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
8138 | mode. | |
8139 | ||
24dbb440 GP |
8140 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
8141 | ||
8142 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
8143 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
8144 | of http://gcc.gnu.org/thanks.html. | |
8145 | ||
234e114c DJ |
8146 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
8147 | ||
8148 | * config/rs6000/rs6000.md: Add missing int register | |
8149 | target case to movdf_low. | |
8150 | ||
0d24f4d1 ZW |
8151 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
8152 | ||
8153 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
8154 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
8155 | (cppinit.o): Depend on except.h. | |
8156 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
8157 | s-specs): New rules. | |
8158 | ||
8159 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
8160 | Don't create specs.h/options.h/gencheck.h here. Remove | |
8161 | unnecessary variable settings from last argument of AC_OUTPUT. | |
8162 | * config.in, configure: Regenerate. | |
8163 | * intl.c: Hardcode package name as "gcc". | |
8164 | ||
8165 | * cppinit.c: Include except.h. | |
8166 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
8167 | appropriate. | |
8168 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
8169 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
8170 | (!)USING_SJLJ_EXCEPTIONS. | |
8171 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
8172 | ||
ed722f66 JM |
8173 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
8174 | ||
8175 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
8176 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
8177 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
8178 | documentation of obsolete macros. | |
8179 | * system.h: Poison these macros. | |
8180 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
8181 | config/stormy16/stormy16.h: Remove definitions and commented out | |
8182 | definitions of obsolete macros. | |
8183 | ||
31e5e29a NP |
8184 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
8185 | ||
8186 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
8187 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
8188 | warnings. | |
8189 | ||
bc1fa59c UW |
8190 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
8191 | ||
8192 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
8193 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
8194 | to insn adjusting stack/frame pointer. | |
0d24f4d1 | 8195 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
bc1fa59c UW |
8196 | accept operands that cause the insn to be non-splittable. |
8197 | ||
a8086abf GS |
8198 | 2002-01-08 Graham Stott <grahams@redhat.com> |
8199 | ||
8200 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
8201 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
8202 | (C_TYPE_BEING_DEFINED): Likewise. | |
8203 | (C_IS_RESERVED_WORD): Likewise. | |
8204 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
8205 | (C_DECL_VARIABLE_SIZE): Likewise. | |
8206 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
8207 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
8208 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
8209 | parenthesis. | |
8210 | (C_DECL_ANTICIPATED): Likewise. | |
8211 | (c_build_type_variant): Add parenthesis. | |
8212 | ||
3f595aa1 JM |
8213 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
8214 | ||
8215 | * gcc.c (option_map): Remove --version. | |
8216 | (process_command): Handle -fversion following the GNU Coding | |
8217 | Standards. Partially addresses PR other/704. | |
8218 | ||
5bc5a8f9 GS |
8219 | 2002-01-08 Graham Stott <grahams@redhat.com> |
8220 | ||
8221 | * combine.c (combine_instructions): Fix typo. | |
8222 | ||
16ec4ebf GS |
8223 | 2002-01-08 Graham Stott <grahams@redhat.com> |
8224 | ||
8225 | * debug.h: Use "tree" and "rtx" throughout. | |
8226 | ||
8227 | * debug.c: Likewise. | |
8228 | ||
4b69f385 NC |
8229 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
8230 | ||
8231 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
8232 | constant pool, use the pool's version of the symbol instead. | |
8233 | ||
57d1019b RH |
8234 | 2002-01-07 Richard Henderson <rth@redhat.com> |
8235 | ||
8236 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
8237 | the original register was copied in a mode with a fewer number of | |
8238 | hard registers than the desired mode. | |
8239 | (copyprop_hardreg_forward_1): Likewise. | |
8240 | (debug_value_data): Fix loop test. | |
8241 | * toplev.c (parse_options_and_default_flags): Reenable | |
8242 | -fcprop-registers at -O1. | |
8243 | ||
8244 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
fa066a23 | 8245 | |
0d24f4d1 ZW |
8246 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
8247 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
fa066a23 | 8248 | |
0d24f4d1 ZW |
8249 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
8250 | predicates. | |
fa066a23 | 8251 | |
0d24f4d1 | 8252 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
fa066a23 | 8253 | |
8f949e7e JDA |
8254 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8255 | ||
8256 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
8257 | (pa_output_function_prologue): Output local label at the beginning of | |
8258 | the prologue when profiling. | |
8259 | (hppa_profile_hook): Use the local label rather than the function label. | |
8260 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
8261 | ||
c62f2db5 AH |
8262 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
8263 | ||
0d24f4d1 ZW |
8264 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
8265 | (altivec_expand_unop_builtin): Fix thinko. | |
8266 | (altivec_expand_binop_builtin): Same. | |
8267 | (altivec_expand_ternop_builtin): Same. | |
8268 | (altivec_expand_builtin): Same. | |
c62f2db5 | 8269 | |
b5235ba7 RH |
8270 | 2002-01-07 Richard Henderson <rth@redhat.com> |
8271 | ||
8272 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
8273 | ||
7d8ac293 JM |
8274 | 2002-01-07 Jason Merrill <jason@redhat.com> |
8275 | ||
8276 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
8277 | ||
571a03b8 JJ |
8278 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
8279 | ||
8280 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
8281 | ||
2e951384 JJ |
8282 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
8283 | ||
8284 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
8285 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
8286 | ||
20e26713 AH |
8287 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
8288 | ||
0d24f4d1 ZW |
8289 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
8290 | arguments. | |
8291 | (altivec_expand_binop_builtin): Same. | |
8292 | (altivec_expand_unop_builtin): Same. | |
8293 | (print_operand): Fix typo. | |
8294 | (bdesc_1arg): Add vupk* variants. | |
20e26713 | 8295 | |
0d24f4d1 | 8296 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
20e26713 | 8297 | |
0d24f4d1 | 8298 | * rs6000.md: Add altivec_vupk* variants. |
20e26713 | 8299 | |
4dd57c18 JM |
8300 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
8301 | ||
8302 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
8303 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
8304 | and last update dates. | |
8305 | ||
0341c5d2 JJ |
8306 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
8307 | ||
8308 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
8309 | ||
c7f3e0b0 MM |
8310 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
8311 | ||
8312 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
8313 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
8314 | (LINK_SPEC): Likewise. | |
8315 | (CRT_BINUTILS_SPECS): Likewise. | |
8316 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
8317 | * doc/invoke.texi (AVR Options): Document them. | |
8318 | ||
6ba4d630 JH |
8319 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
8320 | ||
8321 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
8322 | LABEL_NUSES. | |
8323 | ||
6253d571 GS |
8324 | 2002-01-07 Graham Stott <grahams@redhat.com> |
8325 | ||
0d24f4d1 ZW |
8326 | * config/i386/i386.h: Update copyright date. |
8327 | (HALF_PIC_PTR): Add parenthesis. | |
8328 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
8329 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
8330 | (DATA_ALIGNMENT): Likewise. | |
8331 | (LOCAL_ALIGNMENT): Likewise. | |
8332 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
8333 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
8334 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
8335 | (HARD_REGNO_NREGS): Add paranethesis. | |
8336 | (VALID_SSE_REG_MODE): Whitespace. | |
8337 | (VALID_MMX_REG_MODE): Whitespace. | |
8338 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
8339 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
8340 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
8341 | (RETURN_IN_MEMORY): Whitespace. | |
8342 | (N_REG_CLASSES): Add parenthesis. | |
8343 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
8344 | (FLOAT_CLASS_P): Likewise. | |
8345 | (SSE_CLASS_P): Likewise. | |
8346 | (MMX_CLASS_P): Likewise. | |
8347 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
8348 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
8349 | (MAYBE_SSE_CLASS_P): Likewise. | |
8350 | (MAYBE_MMX_CLASS_P): Likewise. | |
8351 | (Q_CLASS_P): Likewise. | |
8352 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
8353 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
8354 | (FP_REGNO_P): Likewise. | |
8355 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
8356 | (SSE_REGNO_P): Likewise. | |
8357 | (SSE_REGNO): Likewise. | |
8358 | (SSE_REG_P): Likewise. | |
8359 | (SSE_FLOAT_MODE_P): Likewise. | |
8360 | (MMX_REGNO_P): Likewise. | |
8361 | (MMX_REG_P):Likewise. | |
8362 | (STACK_REG_P): Likewise. | |
8363 | (NON_STACK_REG_P): Likewise. | |
8364 | (STACK_TOP_P): Likewise. | |
8365 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
8366 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
8367 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
8368 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
8369 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
8370 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
8371 | (RETURN_POPS_ARGS): Add parenthesis. | |
8372 | (INIT_CUMULATIVE_ARGS): Likewise. | |
8373 | (FUNCTION_ARG): Likewise. | |
8374 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
8375 | (SETUP_INCOMING_VARARGS): Likewise. | |
8376 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
8377 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
8378 | parenthsis. | |
8379 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
8380 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
8381 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
8382 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
8383 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
8384 | (REGNO_OK_FOR_BASE_P): Likewise. | |
8385 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
8386 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
8387 | (REG_OK_FOR_INDEX_P): Whitespace. | |
8388 | (REG_OK_FOR_BASE_P): Whitespace. | |
8389 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
8390 | parenthesis. | |
8391 | (FIND_BASE_TERM): Fix typo. | |
8392 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
8393 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
8394 | (SYMBOLIC_CONST; Whitespace. | |
8395 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
8396 | (ENCODE_SECTION_INFO): Whitespace. | |
8397 | (FINALIZE_PIC): Remove do { ... } while (0). | |
8398 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
8399 | (CONST_COSTS): Whitespace. | |
8400 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
8401 | (REGISTER_MOVE_COST): Add parenthesis. | |
8402 | (MEMORY_MOVE_COST): Likewise. | |
8403 | (EXTRA_CC_MODES): Whitespace. | |
8404 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
8405 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
8406 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
8407 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
8408 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
8409 | (ASM_OUTPUT_REG_POP): Likewise. | |
8410 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
8411 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
d9a5f180 | 8412 | |
07933f72 GS |
8413 | * config/i386/i386.c: Update copyright. |
8414 | (CHECK_STACK_LIMIT): Add parenthesis. | |
8415 | (AT_BP): Uppercase macro parameter. | |
8416 | (x86_64_int_parameter_registers): Constify. | |
8417 | (x86_64_int_return_registers): Likewise. | |
8418 | (ix86_compare_op0): Use rtx. | |
8419 | (construct_container): Constify INTREG parameter. | |
8420 | (function_arg): Use rtx. | |
8421 | ||
0b4d32c9 GS |
8422 | * diagnostic.h: Update copyright date. |
8423 | (output_buffer_state): Add parenthesis. | |
8424 | (output_buffer_format_args): Likewise. | |
8425 | ||
6253d571 GS |
8426 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
8427 | with link. | |
8428 | ||
68f3f6f1 L |
8429 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
8430 | ||
8431 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
8432 | ||
8433 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
480f7f3a | 8434 | |
0d24f4d1 | 8435 | * config.gcc: Add support for --enable-altivec. |
480f7f3a | 8436 | |
13b8c631 CR |
8437 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8438 | ||
8439 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
8440 | ||
58ad89b1 JJ |
8441 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
8442 | ||
8443 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
8444 | __objc_class_name_*. | |
8445 | ||
e403b4bc CR |
8446 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8447 | ||
8448 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
8449 | ||
e41c7831 RH |
8450 | 2002-01-06 Richard Henderson <rth@redhat.com> |
8451 | ||
8452 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
8453 | nop them out. Increment label reference count for REG_LABEL. | |
8454 | (fill_slots_from_thread): Frob label reference count around | |
8455 | delete_related_insns. | |
8456 | ||
3b3b1e32 RH |
8457 | 2002-01-05 Richard Henderson <rth@redhat.com> |
8458 | ||
8459 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
8460 | jump threading. | |
8461 | ||
c28abdf0 RH |
8462 | 2002-01-05 Richard Henderson <rth@redhat.com> |
8463 | ||
8464 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
8465 | * integrate.c (output_inline_function): Likewise. | |
8466 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
8467 | to remove_unnecessary_notes after emitting abstract instance. | |
8468 | Force an emitted nested function to have its parent emited as well. | |
8469 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
8470 | for null. | |
8471 | (rtl_for_decl_location): Do not look at reload data structures | |
8472 | before reload has run. | |
8473 | ||
c4f2c499 KH |
8474 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
8475 | ||
8476 | * cse.c: Fix formatting. | |
8477 | * dwarf2asm.c: Likewise. | |
8478 | * dwarf2out.c: Likewise. | |
8479 | * explow.c: Likewise. | |
8480 | * expmed.c: Likewise. | |
8481 | * function.c: Likewise. | |
8482 | * gcov.c: Likewise. | |
8483 | * gencheck.c: Likewise. | |
8484 | * genrecog.c: Likewise. | |
8485 | * ggc-common.c: Likewise. | |
8486 | * ggc-page.c: Likewise. | |
8487 | * global.c: Likewise. | |
8488 | ||
cf0d9408 KH |
8489 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
8490 | ||
8491 | * combine.c: Fix formatting. | |
8492 | ||
bedca03a CR |
8493 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
8494 | ||
8495 | PR middle-end/1557 | |
8496 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
8497 | ||
0134bf2d DE |
8498 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
8499 | ||
8500 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
8501 | as 1 for __powerpc64__ as well. | |
8502 | ||
8503 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
8504 | ||
8505 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
8506 | return it. | |
8507 | ||
9ca88d5a DB |
8508 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
8509 | ||
8510 | * lcm.c: Revert change, due to performance regression it causes on | |
8511 | SPEC because it's slightly more conservative (sigh, I hate | |
8512 | edge-based LCM). | |
0d24f4d1 | 8513 | |
1c570418 JH |
8514 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
8515 | ||
8516 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
8517 | ||
d83bb9f7 NB |
8518 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
8519 | ||
8520 | * doc/cppinternals.texi: Update. | |
8521 | ||
3e0f61ac HPN |
8522 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
8523 | ||
8524 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
8525 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
8526 | negatives. | |
8527 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
8528 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
8529 | kludge for pre-october-14th mmix versions to handle new-found bug | |
8530 | with PUSHJ/PUSHGO and the register stack. | |
8531 | * config/mmix/mmix.h (struct machine_function): Rename member | |
8532 | has_call_value_without_parameters to has_call_without_parameters. | |
8533 | All referers changed. | |
8534 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
8535 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
8536 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
8537 | -mno-reg-stack-fill-bug-workaround. | |
8538 | * config/mmix/mmix.md ("call"): Set struct machine member | |
8539 | has_call_without_parameters. | |
8540 | ||
4deaa2f8 JH |
8541 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
8542 | ||
8543 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
8544 | ||
9f16e871 JH |
8545 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
8546 | ||
8547 | * cfgcleanup.c: Include tm_p.h | |
8548 | (mark_effect): Fix handling of hard register; fix handling of SET | |
8549 | ||
96eb1157 KH |
8550 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
8551 | ||
8552 | * config/h8300/h8300.md (anonymous patterns): Check that | |
8553 | operands are registers before using REGNO on them. | |
8554 | ||
48180d68 RM |
8555 | 2002-01-03 Roland McGrath <roland@frob.com> |
8556 | ||
8557 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
8558 | ||
b0832fe1 JJ |
8559 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
8560 | ||
8561 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
8562 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
8563 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
8564 | (expand_expr_stmt_value): Add maybe_last argument. | |
8565 | Don't warn about statement with no effect if it is the last statement | |
8566 | in expression statement. | |
8567 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
8568 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
8569 | expand_expr_stmt_value. | |
8570 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
8571 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
8572 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
8573 | as maybe_last to expand_expr_stmt_value. | |
8574 | ||
c1e14513 JL |
8575 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
8576 | ||
0d24f4d1 ZW |
8577 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
8578 | be passed in, do not build it. | |
8579 | (c_begin_if_stmt): New function. | |
8580 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
8581 | * c-common.h (c_expand_start_cond): Update prototype. | |
8582 | (c_begin_if_stmt): Prototype new function. | |
8583 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
8584 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
8585 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
c1e14513 | 8586 | |
b6ec437a WC |
8587 | 2002-01-04 William Cohen <wcohen@redhat.com> |
8588 | ||
8589 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
8590 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
8591 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
8592 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
8593 | ||
ead39bdf | 8594 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
517b711f DB |
8595 | |
8596 | * lcm.c: Include df.h. | |
8597 | Add available_transfer_function prototype. | |
8598 | (compute_available): Rework to use iterative dataflow framework. | |
8599 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
8600 | with bb_info in df.h | |
8601 | (available_transfer_function): New function. | |
8602 | ||
8603 | * Makefile.in (lcm.o): add df.h to dependencies. | |
8604 | ||
551cc6fd RH |
8605 | 2002-01-04 Richard Henderson <rth@redhat.com> |
8606 | ||
8607 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
8608 | (input_operand): Likewise; accept simple references to globals. | |
8609 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
8610 | (alpha_const_double_ok_for_letter_p): Likewise. | |
8611 | (alpha_extra_constraint): Likewise. | |
8612 | (alpha_preferred_reload_class): Likewise. Do not force | |
8613 | symbolic constants to memory. | |
8614 | (alpha_legitimate_address_p): Accept simple references | |
8615 | to small_symbolic_operand. | |
8616 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
8617 | called when no_new_pseudos. Emit simple symbolic references. | |
8618 | Split integers into low, high, and rest. | |
8619 | (alpha_expand_mov): Use alpha_legitimize_address. | |
8620 | (some_small_symbolic_mem_operand): New. | |
8621 | (split_small_symbolic_mem_operand): New. | |
8622 | * config/alpha/alpha-protos.h: Update. | |
8623 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
8624 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
8625 | (EXTRA_CONSTRAINT): Likewise. | |
8626 | (PREFERRED_RELOAD_CLASS): Likewise. | |
8627 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
8628 | (PREDICATE_CODES): Update. | |
8629 | * config/alpha/alpha.md: New post-reload splitters to convert | |
8630 | simplfied symbolic operands to the form that references $29. | |
8631 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
8632 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
8633 | ||
1eaea054 RH |
8634 | 2002-01-03 Richard Henderson <rth@redhat.com> |
8635 | ||
8636 | * local-alloc.c (function_invariant_p): Update commentary. | |
8637 | ||
c4cc12b7 L |
8638 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
8639 | ||
8640 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
8641 | cleanup_cfg. | |
8642 | ||
173bf5be KH |
8643 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
8644 | ||
8645 | * c-common.c: Fix formatting. | |
8646 | * diagnostic.c: Likewise. | |
8647 | * doloop.c: Likewise. | |
8648 | * dwarf2out.c: Likewise. | |
8649 | ||
187462ac KH |
8650 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
8651 | ||
8652 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
8653 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
8654 | ||
5d8ebbd8 NB |
8655 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
8656 | ||
8657 | * cpperror.c: Update comments and copyright. | |
8658 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
8659 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
8660 | ||
518c1311 JDA |
8661 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8662 | ||
8663 | * collect2.c (main): Use strcmp when testing for "-shared". | |
8664 | ||
d15a58c0 NB |
8665 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
8666 | ||
8667 | * cppmacro.c: Don't include intl.h. Update comments. | |
8668 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
8669 | integers; update prototype. | |
8670 | * cppmain.c: Update comments. | |
8671 | ||
70f4f91c WC |
8672 | 2002-01-03 William Cohen <wcohen@redhat.com> |
8673 | ||
8674 | * function.h (struct function): Add profile. | |
8675 | (current_function_profile): New. | |
8676 | doc/extend.texi: Update documentation. | |
8677 | * final.c (final_start_function): Use current_function_profile | |
8678 | instead of profile_flag. | |
8679 | (profile_after_prologue): Likewise. | |
8680 | * function.c (expand_function_start): Likewise. | |
8681 | (expand_function_start): Likewise. | |
c4cc12b7 | 8682 | * config/alpha/alpha.c (direct_call_operand): |
70f4f91c WC |
8683 | (alpha_does_function_need_gp): Likewise. |
8684 | (alpha_expand_prologue): Likewise. | |
8685 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
8686 | thumb_expand_prologue: Likewise. | |
8687 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
8688 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
8689 | (fr30_expand_prologue): Likewise. | |
8690 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
8691 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
8692 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
8693 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
8694 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
8695 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
8696 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
8697 | (m32r_expand_prologue): Likewise. | |
8698 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
8699 | (m88k_expand_prologue): Likewise. | |
8700 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
8701 | * config/mips/mips.c (compute_frame_size): Likewise. | |
8702 | (mips_expand_prologue): Likewise. | |
8703 | (mips_can_use_return_insn): Likewise. | |
8704 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
8705 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
8706 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
8707 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
8708 | * config/romp/romp.c (romp_using_r14): Likewise. | |
8709 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
8710 | (rs6000_stack_info): Likewise. | |
8711 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2fd17409 | 8712 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
70f4f91c WC |
8713 | * config/v850/v850.c (compute_register_save_size): Likewise. |
8714 | ||
cb1ac742 JJ |
8715 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
8716 | ||
8717 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
8718 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
8719 | ||
61d951df | 8720 | 2002-01-03 Turly O'Connor <turly@apple.com> |
cb1ac742 | 8721 | |
61d951df TC |
8722 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
8723 | stub routines for pseudo-stubs which we've just defined. | |
8724 | ||
505ddab6 KH |
8725 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
8726 | ||
8727 | * builtins.c: Fix formatting. | |
8728 | * c-typeck.c: Likewise. | |
8729 | * combine.c: Likewise. | |
8730 | * expr.c: Likewise. | |
8731 | * loop.c: Likewise. | |
8732 | ||
b7e30d8a AS |
8733 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
8734 | ||
8735 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
8736 | and return true if _cpp_push_next_buffer pushed a new include | |
8737 | file. | |
8738 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
8739 | _cpp_pop_file_buffer did not push a new file. | |
8740 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
8741 | ||
ff81832f EC |
8742 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
8743 | ||
8744 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
8745 | FIND_REG_INC_NOTE call. Update copyright. | |
8746 | * loop.c (canonicalize_condition): Ditto. | |
8747 | * reorg.c (delete_scheduled_jump): Ditto. | |
8748 | ||
8e42ace1 KH |
8749 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
8750 | ||
8751 | * gcse.c: Fix formatting. | |
8752 | ||
fb2bf631 GS |
8753 | 2002-01-03 Graham Stott <grahams@redhat.com> |
8754 | ||
8755 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
8756 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
6253d571 | 8757 | also output corresponding typedefs for rtx, tree, and rtvec. |
fb2bf631 GS |
8758 | |
8759 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
8760 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
6253d571 | 8761 | rtvec to config.h, hconfig.h, tconfig.h. |
fb2bf631 GS |
8762 | |
8763 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
b9daac31 GS |
8764 | |
8765 | * tree.h: Update copyright date. | |
8766 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
8767 | (TREE_SET_CODE): Add whitespace. | |
8768 | (TREE_CHECK): Add parenthesis. | |
8769 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
8770 | (CST_OR_CONSTRUCTOR_CHECK): | |
8771 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
8772 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
8773 | (INT_CST_LT): Likewise. | |
8774 | (INT_CST_LT_UNSIGNED): Likewise. | |
8775 | (tree_real_cst): Unwrap comment. | |
8776 | (tree_string): Likewise. | |
8777 | (tree_complex): Likewise. | |
8778 | (IDENTIFIER_POINTER): correct cast. | |
8779 | (SAVE_EXPR_CONTEXT): Whitespace. | |
8780 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
8781 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
8782 | (DECL_ORIGIN): Add parenthesis. | |
8783 | (DECL_FROM_INLINE): Use NULL_TREE. | |
8784 | (build_int_2): Whitespace. | |
8785 | (build_type_variant): Add parenthesis. | |
8786 | ||
8787 | * gcc/jcf-parse.c: Update copyright date. | |
8788 | (yyparse): Constify resource_filename. | |
8789 | ||
f52eda29 GS |
8790 | 2002-01-03 Graham Stott <grahams@redhat.com> |
8791 | ||
8792 | * rtl.h: Update copyright date. | |
8793 | (RTL_CHECK1): Wrap long line. | |
8794 | (RTL_CHECK2): Likewise. | |
8795 | (RTL_CHECKC1): Wrap long line and whitespace. | |
8796 | (RTL_CHECKC2): Likewise. | |
8797 | (XWINT): Whitespace. | |
8798 | (XINT): Likewise. | |
8799 | (XSTR): Likewise. | |
8800 | (XEXP): Likewise. | |
8801 | (XVEC): Likewise. | |
8802 | (XMODE): Likewise. | |
8803 | (XBITMAP): Likewise. | |
8804 | (XTREE): Likewise. | |
8805 | (XBBDEF): Likewise. | |
8806 | (XTMPL): Likewise. | |
8807 | (X0WINT): Likewise. | |
8808 | (X0INT):Likewise. | |
8809 | (X0UINT): Likewise. | |
8810 | (X0STR): Likewise. | |
8811 | (X0EXP): Likewise. | |
8812 | (X0VEC): Likewise. | |
8813 | (X0MODE): Likewise. | |
8814 | (X0BITMAP): Likewise. | |
8815 | (X0TREE): Likewise. | |
8816 | (X0BBDEF): Likewise. | |
8817 | (X0ADVFLAGS): Likewise. | |
8818 | (X0CSELIB): Likewise. | |
8819 | (X0MEMATTR): Likewise. | |
8820 | (XCWINT): Likewise. | |
8821 | (XCINT): Likewise. | |
8822 | (XCUINT): Likewise. | |
8823 | (XCSTR): Likewise. | |
8824 | (XCEXP): Likewise. | |
8825 | (XCVEC): Likewise. | |
8826 | (XCMODE): Likewise. | |
8827 | (XCBITMAP): Likewise. | |
8828 | (XCTREE): Likewise. | |
8829 | (XCBBDEF): Likewise. | |
8830 | (XCADVFLAGS): Likewise. | |
8831 | (XCCSELIB): Likewise. | |
8832 | (XC2EXP): Likewise. | |
8833 | (INSN_UID): Likewise. | |
8834 | (PREV_INSN): Likewise. | |
8835 | (PATTERN): Likewise. | |
8836 | (INSN_CODE): Likewise. | |
8837 | (PUT_REG_NOTE_KIND): Likewise. | |
8838 | (CODE_LABEL_NUMBER): Likewise. | |
8839 | (NOTE_SOURCE_FILE): Likewise. | |
8840 | (NOTE_BLOCK): Likewise. | |
8841 | (NOTE_EH_HANDLER): Likewise. | |
8842 | (NOTE_RANGE_INFO): Likewise. | |
8843 | (NOTE_LIVE_INFO): Likewise. | |
8844 | (NOTE_BASIC_BLOCK): Likewise. | |
8845 | (NOTE_EXPECTED_VALUE): Likewise. | |
8846 | (NOTE_LINE_NUMBER): Likewise. | |
8847 | (LABEL_NAME): Likewise. | |
8848 | (LABEL_NUSES): Likewise. | |
8849 | (LABEL_ALTERNATE_NAME): Likewise. | |
8850 | (ADDRESSOF_DECL): Likewise. | |
8851 | (JUMP_LABEL): Likewise. | |
8852 | (LABEL_NEXTREF): Likewise. | |
8853 | (REGNO): Likewise. | |
8854 | (ORIGINAL_REGNO: Likewise. | |
8855 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
8856 | (SUBREG_REG): Whitespace. | |
8857 | (SUBREG_BYTE): Likewise. | |
8858 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
8859 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
8860 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
8861 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
8862 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
8863 | (ASM_OPERANDS_INPUT): Likewise. | |
8864 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
8865 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
8866 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
8867 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
8868 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
8869 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
8870 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
8871 | (TRAP_CONDITION): Whitespace. | |
8872 | (TRAP_CODE): Likewise. | |
8873 | (COND_EXEC_TEST): Likewise. | |
8874 | (COND_EXEC_CODE): Likewise. | |
8875 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
8876 | (PHI_NODE_P): Add parenthesis. | |
8877 | (plus_constant): Whitespace and add parenthesis. | |
8878 | ||
e03f5d43 KH |
8879 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
8880 | ||
8881 | * config/avr/avr.c: Fix comment typos. | |
8882 | * config/c4x/c4x.md: Likewise. | |
8883 | * config/dsp16xx/dsp16xx.h: Likewise. | |
8884 | * config/dsp16xx/dsp16xx.md: Likewise. | |
8885 | * config/i386/i386.md: Likewise. | |
8886 | * config/ia64/ia64.c: Likewise. | |
8887 | * config/m32r/m32r.h: Likewise. | |
8888 | * config/m68hc11/m68hc11.md: Likewise. | |
8889 | * config/mmix/mmix.c: Likewise. | |
8890 | * config/mn10200/mn10200.c: Likewise. | |
8891 | * config/romp/romp.c: Likewise. | |
8892 | * config/sh/sh.c: Likewise. | |
8893 | * config/stormy16/stormy16.c: Likewise. | |
8894 | * config/stormy16/stormy16.h: Likewise. | |
8895 | * config/stormy16/stormy16.md: Likewise. | |
8896 | ||
97e300e9 GS |
8897 | 2002-01-03 Graham Stott <grahams@redhat.com> |
8898 | ||
8899 | * loop.h: Update copyright date. | |
0d24f4d1 ZW |
8900 | (LOOP_MOVABLES): Fix typo. |
8901 | (LOOP_REGS): Likewise. | |
8902 | (LOOP_IVS): Likewise. | |
ff81832f | 8903 | |
745b26b3 GS |
8904 | 2002-01-03 Graham Stott <grahams@redhat.com> |
8905 | ||
8906 | * cppinit.c: Update copyright date. | |
8907 | Don't include output.h | |
8908 | * Makefile.in: Update copyright date. | |
8909 | Update dependency. | |
8910 | ||
0a379b7a CR |
8911 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8912 | ||
8913 | PR c/5226 | |
8914 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
8915 | (-pthread) Add to RS/6000 options. | |
8916 | ||
a8154559 KH |
8917 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
8918 | ||
8919 | * except.c: Fix comment typos. | |
8920 | * loop.c: Likewise. | |
8921 | * varasm.c: Likewise. | |
8922 | * doc/tm.texi: Fix a typo. | |
8923 | ||
e6ecc89b JJ |
8924 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
8925 | ||
8926 | * c-typeck.c (output_init_element): Allow initializing static storage | |
8927 | duration objects with compound literals. | |
8928 | ||
d1094b40 RH |
8929 | 2002-01-02 Richard Henderson <rth@redhat.com> |
8930 | ||
8931 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
8932 | after abusing it. | |
8933 | ||
0c5d8c82 KG |
8934 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8935 | ||
5e65297b KG |
8936 | * gcc.c (default_compilers): Const-ify. |
8937 | * mips-tdump.c (stab_names): Likewise. | |
8938 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
8939 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
8940 | pseudo_ops_t, pseudo_ops): Likewise. | |
8941 | * protoize.c (default_include): Likewise | |
8942 | ||
0c5d8c82 KG |
8943 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
8944 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
8945 | Add array size in declaration. | |
8946 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
8947 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
8948 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
8949 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
8950 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
8951 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
8952 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
8953 | emtens, make_nan): Const-ify. | |
8954 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
8955 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
8956 | ||
817e13c4 JM |
8957 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
8958 | ||
8959 | * config.gcc (ia64-*-*): Set extra_headers. | |
8960 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
8961 | * config/alpha/t-osf: Remove. | |
8962 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
8963 | ||
98095e2b DE |
8964 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
8965 | ||
8966 | * config/rs6000/t-aix43: Revert previous change. | |
8967 | ||
a4200657 JM |
8968 | 2002-01-02 Jason Merrill <jason@redhat.com> |
8969 | ||
8970 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
8971 | emitting an inline function out of line. | |
8972 | ||
54ba1f0d RH |
8973 | 2002-01-02 Richard Henderson <rth@redhat.com> |
8974 | ||
8975 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
8976 | (new_die): New argument created_for. Update all callers. | |
8977 | (mark_limbo_die_list): New. | |
8978 | (dwarf2out_init): Register limbo_die_list as a root. | |
8979 | (dwarf2out_finish): Force insert limbo dies into their function | |
8980 | context. | |
8981 | ||
323728aa NS |
8982 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
8983 | ||
8984 | PR c++/5089 | |
8985 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
8986 | ||
aefc5826 KH |
8987 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
8988 | ||
8989 | * config/h8300/fixunssfsi.c: Update copyright. | |
8990 | Fix comment typos. | |
8991 | Fix formatting. | |
8992 | * config/h8300/h8300.c: Update copyright. | |
8993 | Eliminate warnings. | |
8994 | ||
b1c9bc51 KH |
8995 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
8996 | ||
8997 | * config/romp/romp.c: Fix comment formatting. | |
8998 | * config/romp/romp.h: Likewise. | |
8999 | * config/romp/romp.md: Likewise. | |
9000 | * config/s390/s390.c: Likewise. | |
9001 | * config/stormy16/stormy16.c: Likewise. | |
9002 | * config/stormy16/stormy16.h: Likewise. | |
9003 | ||
1574ef13 AO |
9004 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
9005 | ||
9006 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
9007 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
9008 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
9009 | argument down to expand_expr_stmt_value, taking | |
9010 | TREE_ADDRESSABLE into account. | |
9011 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
9012 | STMT_EXPR as addressable, i.e., one whose result we want. | |
9013 | * expr.c (expand_expr): Don't save expression statement value | |
9014 | of labeled_blocks or loop_exprs. | |
9015 | * stmt.c (expand_expr_stmt): Redirect to... | |
9016 | (expand_expr_stmt_value): ... this new function. Use new | |
9017 | argument to tell whether to save expression value. | |
9018 | (expand_end_stmt_expr): Reset last_expr_type and | |
9019 | last_expr_value if we don't have either. | |
9020 | * tree-inline.c (declare_return_variable): Mark its use | |
9021 | statement as addressable. | |
9022 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
9023 | (expand_expr_stmt_value): Declare. | |
9024 | ||
252b88f7 TR |
9025 | 2002-01-01 Tom Rix <trix@redhat.com> |
9026 | ||
9027 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
9028 | rs6000_emit_allocate_stack. | |
9029 | ||
29f7a208 JM |
9030 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
9031 | ||
9032 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
9033 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
9034 | * configure: Regenerate. | |
9035 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
9036 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
9037 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
9038 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
9039 | ||
2cc2d4bb RK |
9040 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9041 | ||
9042 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
9043 | and tree_int_cst; remove warnings. | |
9044 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
9045 | (insert_save): Likewise. | |
9046 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
9047 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
9048 | ||
f01c9bcd DR |
9049 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
9050 | ||
16b61764 DR |
9051 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
9052 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
9053 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
9054 | (vms-dwarf2eh.o): Add Makefile rule. | |
9055 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
9056 | * config/alpha/vms-dwarf2eh.asm: New file. | |
9057 | ||
f01c9bcd DR |
9058 | * gcc.c (delete_if_ordinary): Delete all versions. |
9059 | ||
91312b81 HPN |
9060 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
9061 | ||
9062 | * config/mmix/mmix.md: Update FIXME to not mention | |
9063 | define_constants. | |
9064 | (MMIX_rJ_REGNUM): New define_constants constant. | |
9065 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
9066 | "*movdicc_real"): Adjust contraints formatting. | |
9067 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
9068 | for branch prediction. | |
9069 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
9070 | output template. | |
9071 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
9072 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
9073 | number. Delete related FIXMEs. | |
9074 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
9075 | from number to MMIX_rJ_REGNUM. | |
9076 | (TARGET_MASK_BRANCH_PREDICT): New. | |
9077 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
9078 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
9079 | value. Add -mbranch-predict and -mno-branch-predict. | |
9080 | (TARGET_VERSION): Drop date. | |
9081 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
9082 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
9083 | for finding out global symbols. | |
9084 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
9085 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
9086 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
9087 | ||
619acae7 | 9088 | See ChangeLog.6 for earlier changes. |