]>
Commit | Line | Data |
---|---|---|
d4e6133f NB |
1 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
2 | ||
3 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. | |
4 | * cpplex.c (unterminated): Delete. | |
5 | (parse_string): No string literal may extend over multiple | |
6 | lines. Suppress the error when preprocessing assembly. | |
7 | * cppmain.c (scan_translation_unit): Strings are single-line. | |
8 | ||
9 | * doc/cpp.texi: Update to match. | |
10 | ||
65e6c005 JJ |
11 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
12 | ||
13 | PR optimization/5854 | |
14 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
15 | Shut up warnings. | |
16 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
17 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
18 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
19 | const0 if scratch register was not allocated. | |
20 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
21 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
22 | with GEN_INT (...). | |
23 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
24 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
25 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
26 | patterns. | |
27 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
28 | require scratch register for setting 0 into regs/non-pushable memory. | |
29 | ||
7f48c9e1 AO |
30 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
31 | ||
32 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
33 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
34 | ||
909de5da PE |
35 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
36 | ||
37 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
38 | * cppinit.c (cpp_create_reader): On by default. | |
39 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
40 | (cpp_post_options): Also enable if -pedantic. | |
41 | * cpplib.c (do_else): Use it. | |
42 | (do_endif): Likewise. | |
43 | * doc/cppopts.texi: Document new option. | |
44 | * doc/invoke.texi: Document new option. | |
45 | ||
d8bf17f9 LB |
46 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
47 | ||
48 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
49 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
50 | ||
70e0ccd0 AO |
51 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
52 | ||
53 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
54 | ENTRY and EXIT. | |
55 | ||
68882f0f JJ |
56 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
57 | ||
58 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
59 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
60 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
61 | rtx * instead of rtx to alter_subreg. | |
62 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
63 | * config/pj/pj.c (pj_output_rval): Likewise. | |
64 | ||
648fe28b RH |
65 | 2002-03-22 Richard Henderson <rth@redhat.com> |
66 | ||
67 | PR target/3177 | |
68 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
69 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
70 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
71 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
72 | of incomming int regs. | |
73 | ||
e8dcd824 AM |
74 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
75 | ||
76 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
77 | ||
96327cdc JH |
78 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
79 | ||
80 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
81 | New static variables. | |
82 | (rest_of_compilation): Conditionalize crossjumping and | |
83 | loop optimizer. | |
84 | (parse_options_and_default_flags): Default loop_optimize and | |
85 | crossjumping. | |
86 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
87 | * invoke.texi (crossjumping, loop-optimize): Document. | |
88 | ||
bc185257 RS |
89 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
90 | ||
91 | * real.c (eiisneg): Move outside #ifdef NANS. | |
92 | ||
0a2ed1f1 JH |
93 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
94 | ||
95 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
96 | frequencies match; avoid match on different loop depths. | |
97 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
98 | savings. | |
99 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
100 | updating code. | |
101 | (split_edge): Likewise. | |
102 | ||
103 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
104 | variable. | |
105 | ||
106 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
107 | * cfgrtl.c: Include insn-config.h | |
108 | (split_block) Dirtify block in presence of conditional execution | |
109 | ||
4d72536e RS |
110 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
111 | ||
112 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
113 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
114 | (function_arg): Constify CUMULATIVE_ARGS. | |
115 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
116 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
117 | (UNITS_PER_DOUBLE): New macro. | |
118 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
119 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
120 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
121 | fp_regs and stack_words. | |
122 | (EABI_FLOAT_VARARGS_P): New macro. | |
123 | * config/mips/mips.c (struct mips_arg_info): New. | |
124 | (mips_arg_info): New function. | |
125 | (function_arg_advance): Use it. Add adjustment instructions here | |
126 | rather than in function_arg. | |
127 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
128 | for VOIDmode at the beginning of the function. | |
129 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
130 | (function_arg_pass_by_reference): Likewise. | |
131 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
132 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
133 | (mips_va_start): Likewise. Use the new stack_words field of | |
134 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
135 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
136 | doubles and other types, aligning the overflow pointer for non-doubles | |
137 | too. Remove some code duplication. Replace hard-coded constants. | |
138 | ||
e6f884cd RS |
139 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
140 | ||
141 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
142 | (CLASS_UNITS): Undefine. | |
143 | (CLASS_MAX_NREGS): Use FP_INC. | |
144 | * config/mips/mips.c (compute_frame_size): Likewise. | |
145 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
146 | ||
10cf9bde NB |
147 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
148 | ||
149 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
150 | prototype, and handle lexing numbers and identifiers. | |
151 | (parse_identifier): Update to new form of parse_slow. | |
152 | (parse_number): Fast path only, use parse_slow otherwise. | |
153 | (_cpp_lex_direct): Update calls to parse_number. | |
154 | ||
fbc2782e DD |
155 | 2002-03-21 DJ Delorie <dj@redhat.com> |
156 | ||
157 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
158 | when redundant edges are omitted. | |
159 | * predict.c (dump_prediction): Likewise. | |
160 | ||
fba39eaf RH |
161 | 2002-03-21 Richard Henderson <rth@redhat.com> |
162 | ||
163 | PR target/5996 | |
164 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
165 | * fixinc/fixincl.x: Regenerate. | |
166 | ||
eba80994 EB |
167 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
168 | ||
169 | PR c/5597 | |
170 | * c-typeck.c (process_init_element): Flag non-static | |
171 | initialization of a flexible array member as illegal. | |
172 | ||
2a78758b AM |
173 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
174 | ||
175 | * config/rs6000/t-linux64: New. | |
176 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
177 | t-ppccomm. Use t-rs6000 and t-linux64. | |
178 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
bac015e7 AM |
179 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
180 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
181 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
2a78758b | 182 | |
2cb921f4 AH |
183 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
184 | ||
eba80994 EB |
185 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
186 | flag_really_no_inline instead of optimize == 0. | |
2cb921f4 | 187 | |
eba80994 | 188 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
2cb921f4 | 189 | |
eba80994 | 190 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
2cb921f4 | 191 | |
eba80994 | 192 | * flags.h (flag_really_no_inline): New. |
2cb921f4 | 193 | |
eba80994 EB |
194 | * c-common.c (c_common_post_options): Initialzie |
195 | flag_really_no_inline. | |
2cb921f4 | 196 | |
eba80994 | 197 | * toplev.c (flag_really_no_inline): New. |
2cb921f4 | 198 | |
239b8b9d JJ |
199 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
200 | ||
201 | * config/avr/avr.md (length): Fix length computation for | |
202 | conditional branches. | |
203 | ||
43577e6b NB |
204 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
205 | ||
206 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
207 | sdbout.o, profile.o): Update. | |
208 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
209 | langhook. | |
210 | * c-common.h (gettags): Move here from tree.h. | |
211 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
212 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
213 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
214 | * expr.c (expand_expr): Use insert_block langhook. | |
215 | * fold-const.c: Include langhooks.h. | |
216 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
217 | fold): Use global_bindings_p langhook. | |
218 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
219 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
220 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
221 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
222 | LANG_HOOKS_GETDECLS): New. | |
223 | (LANG_HOOKS_INITIALIZER): Update. | |
224 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
225 | langhook. | |
226 | * langhooks.h (struct lang_hooks_for_decls): New. | |
227 | (struct lang_hooks): Update. | |
228 | * profile.c: Include langhooks.h. | |
229 | (output_func_start_profiler): Use new langhooks. | |
230 | * sdbout.c: Include langhooks.h. | |
231 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
232 | * stmt.c: Include langhooks.h. | |
233 | (expand_fixup, fixup_gotos): Use new langhooks. | |
234 | * stor-layout.c: Include langhooks.h. | |
235 | (variable_size): Use global_bindings_p langhook. | |
236 | * toplev.c (compile_file): Use getdecls langhook. | |
237 | * tree-inline.c (remap_block): Use insert_block langhook. | |
238 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
239 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
240 | ||
5b19b10c RH |
241 | 2002-03-21 Richard Henderson <rth@redhat.com> |
242 | ||
243 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
244 | constants in .data when -fpic. | |
245 | ||
e05af335 GP |
246 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
247 | ||
248 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
249 | where appropriate. | |
250 | ||
60ffc997 TT |
251 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
252 | ||
253 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
254 | ||
75897075 RK |
255 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
256 | ||
a73afd69 | 257 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
46399021 | 258 | |
75897075 RK |
259 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
260 | ||
312687cf EB |
261 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
262 | Richard Henderson <rth@redhat.com> | |
263 | ||
264 | PR c/5354 | |
265 | * c-common.c (c_expand_expr): Preserve result of a statement | |
266 | expression if needed. | |
267 | ||
f0e1f482 JJ |
268 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
269 | ||
270 | PR bootstrap/4195 | |
271 | * genrecog.c (maybe_both_true_mode): Remove. | |
272 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
273 | * machmode.def (Pmode): Likewise. | |
274 | ||
c14b9960 JW |
275 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
276 | ||
277 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
278 | (nonlocal_mentioned_p_1): New function. | |
279 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
280 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
281 | (mark_constant_function): Recognize pure functions. | |
282 | * rtl.h (global_reg_mentioned_p): New prototype. | |
283 | * rtlanal.c (global_reg_mentioned_p, | |
284 | global_reg_mentioned_p_1): New function. | |
285 | ||
aaa4d130 RO |
286 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
287 | ||
288 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
289 | UNIX assert.h. | |
290 | * fixinc/fixincl.x: Regenerate. | |
291 | ||
e5c4bd1b JM |
292 | 2002-03-20 Jason Merrill <jason@redhat.com> |
293 | ||
294 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
295 | ||
852b81bb MM |
296 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
297 | ||
298 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
299 | -fstrict-aliasing. | |
300 | ||
86d8c251 BW |
301 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
302 | ||
303 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
304 | ".literal_position" directive before the constant pool. | |
305 | ||
0a39c350 GP |
306 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
307 | ||
308 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
309 | Add Craig Rodrigues. | |
310 | Add Brad Lucier to testers. | |
311 | ||
71a83373 JJ |
312 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
313 | ||
314 | PR target/4792 | |
315 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
316 | to if_then_else. | |
317 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
318 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
319 | instead of insn_extract. | |
320 | ||
a29b099d JJ |
321 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
322 | ||
323 | PR bootstrap/4192 | |
71a83373 | 324 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
a29b099d JJ |
325 | |
326 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
327 | stmt if some case has been output. | |
328 | ||
048b1c95 JJ |
329 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
330 | ||
331 | PR c/5972 | |
332 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
333 | movsfcc_1, movdfcc_1): Add %O2. | |
334 | * config/i386/i386.c (print_operand): Handle %ON. | |
335 | Print . before float condition codes in Sun as cmov syntax. | |
336 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
337 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
338 | no longer true. | |
339 | ||
f4864588 PB |
340 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
341 | ||
342 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
343 | return instruction if PC was popped. | |
344 | ||
3a307de4 BW |
345 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
346 | ||
347 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
348 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
349 | ||
048b1c95 | 350 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
ed7d44bc DJ |
351 | |
352 | PR optimization/5999, middle-end/5731 | |
353 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
354 | multiplications by reciprocals. | |
355 | ||
7afff7cf NB |
356 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
357 | ||
358 | * Makefile.in: Update. | |
359 | * c-common.c: Include langhooks.h. | |
360 | (inline_forbidden_p): Use new hook. | |
361 | * diagnostic.c: Include langhooks.h. | |
362 | (format_with_decl, announce_function, | |
363 | default_print_error_function): Use new hook. | |
364 | * dwarf2out.c (dwarf2_name): Use new hook. | |
365 | * function.c: Include langhooks.h. | |
366 | (init_function_start): Use new hook. | |
367 | * langhooks-def.h (lhd_decl_printable_name): New. | |
368 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
369 | (LANGHOOKS_INITIALIZER): Update. | |
370 | * langhooks.c (lhd_decl_printable_name): New. | |
371 | * langhooks.h (struct lang_hooks): New hook. | |
372 | * toplev.c (decl_name, decl_printable_name): Remove. | |
373 | (open_dump_file): Use new hook. | |
374 | (process_options): Remove old hook. | |
375 | * tree.h (decl_printable_name): Remove. | |
376 | objc: | |
377 | * objc-act.c (objc_init): Remove old hook. | |
378 | (objc_printable_name): Export. | |
379 | * objc-act.h (objc_printable_name): New. | |
380 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
381 | ||
f78ce0b7 JB |
382 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
383 | ||
384 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
385 | the start_source_file debug hook, not the current line number. | |
386 | ||
15b5aef3 RH |
387 | 2002-03-19 Richard Henderson <rth@redhat.com> |
388 | ||
389 | * flow.c (EH_USES): Provide default. | |
390 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
391 | * doc/tm.texi (EH_USES): New. | |
392 | ||
393 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
394 | * config/ia64/ia64-protos.h: Update. | |
395 | * config/ia64/ia64.h (EH_USES): New. | |
396 | ||
02a7a3fd RH |
397 | 2002-03-19 Richard Henderson <rth@redhat.com> |
398 | ||
399 | * varasm.c (output_constant_def): Fix stupid typo. | |
400 | ||
93f82d60 RH |
401 | 2002-03-19 Richard Henderson <rth@redhat.com> |
402 | ||
2842be05 | 403 | PR 5879 |
93f82d60 RH |
404 | * except.c (current_function_has_exception_handlers): New. |
405 | * except.h: Declare it. | |
406 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
407 | Combine tests that disable all sibcalls for the function. | |
408 | ||
ed4fbfa0 OH |
409 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
410 | ||
411 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
412 | for INTEGER_CST. | |
413 | ||
ebf0e888 RH |
414 | 2002-03-19 Richard Henderson <rth@redhat.com> |
415 | ||
1e82682b | 416 | PR 5977, 5991 |
ebf0e888 RH |
417 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
418 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
419 | ||
e37b38d7 JB |
420 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
421 | ||
422 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
423 | name, even if the replacement list contains no tokens, as required | |
424 | by Dwarf. | |
425 | ||
2a4ea326 JM |
426 | 2002-03-19 Jason Merrill <jason@redhat.com> |
427 | ||
f9d09ae5 JM |
428 | * varasm.c (globalize_decl): Get the name from the RTL, not |
429 | DECL_ASSEMBLER_NAME. | |
430 | ||
2a4ea326 JM |
431 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
432 | ||
99b96edb BW |
433 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
434 | ||
435 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
436 | subdi_carry): Define. | |
437 | ||
3774b567 DE |
438 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
439 | ||
440 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
441 | about -fpic/-fPIC if extra_warnings set. | |
442 | ||
21ef78aa DE |
443 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
444 | ||
445 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
446 | TREE_STRING_POINTER. | |
0c2fdcdf | 447 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
21ef78aa | 448 | |
91d4b3fd RK |
449 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
450 | ||
451 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
452 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
453 | ||
2496c7bd LB |
454 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
455 | ||
456 | * emit-rtl.c (gen_int_mode): New function. | |
457 | * rtl.h: Prototype for it. | |
458 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
459 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
460 | (convert_modes, store_field), optabs.c (expand_fix), | |
461 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
462 | ||
463 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
464 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
465 | ||
f735a153 JJ |
466 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
467 | ||
468 | PR c/5656 | |
469 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
470 | convert_parm_for_inlining. | |
471 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
472 | Define. | |
473 | * langhooks-def.h: Likewise. | |
474 | * objc/objc-lang.c: Likewise. | |
475 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
476 | function. | |
477 | * tree-inline.c (initialize_inlined_parameters): | |
478 | Call convert_parm_for_inlining lang hook if needed. | |
479 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
480 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
481 | ||
1929c971 MM |
482 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
483 | ||
484 | * calls.c (precompute_arguments): Do not assume that temporaries | |
485 | can be destroyed after expanding the argument. | |
486 | (expand_call): Likewise. | |
487 | ||
c79ca0ac EC |
488 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
489 | ||
490 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
491 | Fix register preference on last change. | |
492 | * config/mips/mips.c (mips_return_in_memory): New function. | |
493 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
494 | * config/mips/mips-protos.h: Declare. | |
495 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
496 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
497 | ||
07e2e444 AO |
498 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
499 | ||
1bfbbbcf AO |
500 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
501 | a register too. | |
502 | (anddi3, iorsi3): Likewise. | |
503 | ||
c066429e AO |
504 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
505 | use %gprel for symbols that are going to be placed in linkonce | |
506 | sections. | |
507 | ||
07e2e444 AO |
508 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
509 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
510 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
511 | not needed. Disregard leaf_function_p(). | |
512 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
513 | mips16 frame pointer. | |
514 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
515 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
516 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
517 | return a REG rtx for the return address register. | |
518 | ||
eb8e00ea BW |
519 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
520 | ||
521 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
522 | constant-pool addresses as "mode-dependent". | |
523 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
524 | ||
cbb92744 JJ |
525 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
526 | ||
527 | PR target/5740 | |
528 | * expr.c (emit_group_load): Use extract_bit_field if | |
529 | needed for CONCAT arguments. | |
530 | ||
657d9449 RE |
531 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
532 | ||
91f3a802 | 533 | PR target/4863 |
657d9449 RE |
534 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
535 | offset to the base of the table. | |
536 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
537 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
538 | as the difference of two labels. | |
539 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
540 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
541 | tables in the code. | |
542 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
543 | * arm.c (get_jump_table_size): If the table is not in the text | |
544 | section, return zero. | |
c79ca0ac | 545 | |
5d5603e2 BS |
546 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
547 | ||
548 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
549 | of gen_rtx_SUBREG. | |
550 | (arm_reload_out_hi): Use gen_lowpart instead of | |
551 | gen_rtx_SUBREG to access QImode components. | |
552 | * config/arm/arm.md: Disable zero_extend split for QImode | |
553 | subregs in BIG_ENDIAN mode. | |
554 | (storehi_bigend): Match use of least significant byte. | |
555 | (storeinthi): Remove extraneous SUBREG. | |
66c17b64 | 556 | Add missing construction of operands[2]. |
5d5603e2 BS |
557 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
558 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
559 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
560 | ||
df15fbc7 AH |
561 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
562 | ||
2496c7bd LB |
563 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
564 | any_operand. | |
df15fbc7 | 565 | |
b83b7fa3 RH |
566 | 2002-03-17 Richard Henderson <rth@redhat.com> |
567 | ||
568 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
569 | explicitly. | |
570 | ||
6f7c00fe HPN |
571 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
572 | ||
573 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
574 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
575 | ||
155038f2 KG |
576 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
577 | ||
720d42fa KG |
578 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
579 | ||
155038f2 KG |
580 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
581 | ||
e6542f4e RH |
582 | 2002-03-17 Richard Henderson <rth@redhat.com> |
583 | ||
584 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
585 | targetm definition. Make static. | |
586 | ||
52dabb6c NB |
587 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
588 | ||
589 | * c-common.h (yyparse, c_common_parse_file): New. | |
590 | * c-lang.c: Include c-common.h. | |
591 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
592 | * c-lex.c: Include c-common.h. | |
593 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
594 | * c-parse.in (yyparse): Remove macro. | |
595 | * c-tree.h (yyparse_1): Remove. | |
596 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
597 | (LANG_HOOKS_INITIALIZER): Update. | |
598 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
599 | * toplev.c (compile_file): Use parse_file hook. | |
600 | * tree.h (yyparse): Remove. | |
e6542f4e | 601 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
52dabb6c | 602 | |
b5ffe606 HPN |
603 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
604 | ||
ba82f58b HPN |
605 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
606 | float_truncate, not fix. | |
607 | ("*truncdfsf2_real"): Ditto. | |
608 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
609 | ||
b5ffe606 HPN |
610 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
611 | ||
c8d1b2b7 AO |
612 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
613 | ||
cfb773f9 AO |
614 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
615 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
616 | where appropriate. Make the second reference to | |
617 | leaf_function_p a function call, as intended. Reindented. | |
618 | ||
4dffef52 AO |
619 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
620 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
621 | ||
4f5bd6d7 AO |
622 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
623 | add register to non-constant into sp. | |
624 | ||
c8d1b2b7 AO |
625 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
626 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
627 | (mips16_gp_pseudo_rtx): Lose. | |
628 | (INIT_EXPANDERS): Deleted. | |
629 | * config/mips/mips.c (mips_init_machine_status): New. | |
630 | (mips_free_machine_status): New. | |
631 | (mips_mark_machine_status): New. | |
632 | (override_options): Set them. | |
633 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
634 | (struct machine_function): ... new. Replaced all references. | |
635 | (mips_add_gc_roots): Don't mark them. | |
636 | (embedded_pic_fnaddr_reg): New, extracted from... | |
637 | (embedded_pic_offset): ... here. | |
638 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
639 | (movsi): Likewise. | |
640 | ||
b3124fac NB |
641 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
642 | ||
643 | * cppinit.c: Revert -MD removal. | |
644 | ||
121449b6 SC |
645 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
646 | ||
647 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
648 | soft registers by default for 68HC12. | |
649 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
650 | when compiling with -fomit-frame-pointer. | |
651 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
652 | (expand_epilogue): Likewise. | |
653 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
654 | ||
840e2ff1 SC |
655 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
656 | ||
657 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
658 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
659 | (splits): Remove unused add splits. | |
660 | ("*addhi3_68hc12"): Tune constraints. | |
661 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
662 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
663 | ("*addhi3"): Remove extern declaration of ix_reg. | |
664 | ("*subsi3"): Optimize and provide new split. | |
665 | ("subhi3"): Cleanup. | |
666 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
667 | (arith splits): For 68hc12 save the address register on the stack | |
668 | and do the arithmetic operation with a pop. | |
669 | ||
3c9a5efe SC |
670 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
671 | ||
672 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
673 | allocating QImode in address registers. | |
674 | ("*movqi_m68hc11"): Likewise. | |
675 | ||
e41f3392 JH |
676 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
677 | ||
678 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
679 | ||
576786b0 NB |
680 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
681 | ||
682 | * cppinit.c (print_help): Display -MD and -MMD. | |
683 | Don't display usage string. Update assertion syntax and | |
684 | typo. | |
685 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
686 | (cpp_handle_option): Update. | |
687 | ||
1ac458d4 CD |
688 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
689 | ||
690 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
691 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
692 | and define it so that regardless of target CPU size, | |
693 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
694 | of "int" rather than "long." | |
695 | ||
1fcd592b RH |
696 | 2002-03-15 Richard Henderson <rth@redhat.com> |
697 | ||
698 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
699 | size as a tree. | |
700 | ||
a0df6910 SC |
701 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
702 | ||
703 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
704 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
705 | (splits): Remove constraints. | |
706 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
707 | ("cmpdf", "cmpsf"): Remove since not used. | |
708 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
709 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
710 | ||
015a2e59 SC |
711 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
712 | ||
713 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
714 | ("neghi2"): Tighten constraints. | |
715 | ("one_cmplsi2"): Optimize and simplify split. | |
716 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
717 | ||
cd28557c SC |
718 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
719 | ||
720 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
721 | and split of AND operation to clear the upper bits. | |
722 | ("*logicalsi3_zextqi"): Likewise. | |
723 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
724 | ("*logicalsi3_silshr16"): Likewise. | |
725 | ("logicalsi3_silshl16"): Likewise. | |
726 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
727 | ||
932657df SC |
728 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
729 | ||
730 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
731 | (m68hc11_indirect_p): New function. | |
732 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
733 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
734 | TARGET_M6812. | |
735 | (asm_print_register): Likewise. | |
736 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
737 | (m68hc11_indirect_p): Declare. | |
738 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
739 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
740 | (TARGET_SWITCHES): New option -mrelax. | |
741 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
742 | destination. | |
743 | ("iorsi3", "xorsi3"): Likewise. | |
744 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
745 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
746 | and a scratch register. | |
747 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
748 | ("*andhi3_const"): New when operand2 is constant. | |
749 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
750 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
751 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
752 | ("xorqi3"): Update constraints. | |
753 | ||
fdffea1a SC |
754 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
755 | ||
756 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
757 | for reg_equiv_memory_loc when the operand is a register that does | |
758 | not get a hard register (stack location). | |
759 | (tst_operand): After reload, accept all memory operand. | |
760 | (symbolic_memory_operand): Fix detection of symbolic references. | |
761 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
762 | accept symbols and any constant. | |
763 | ||
6272bc68 SC |
764 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
765 | ||
766 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
767 | note on the insn that sets the soft frame register. | |
768 | (must_parenthesize): ix and iy are also reserved names. | |
769 | (print_operand_address): One more place where parenthesis are required | |
770 | to avoid confusion with register names. | |
771 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
772 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
773 | clobber. | |
774 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
775 | the replacement register is. | |
776 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
777 | and D8_REGS classes. | |
778 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
779 | ||
1d2d9def SC |
780 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
781 | ||
782 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
783 | (___subdi3): Likewise. | |
784 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
785 | (__map_data_section): Optimize 68hc11 case. | |
786 | ||
a0ccf503 SC |
787 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
788 | ||
789 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
790 | than a shift to avoid adding a register with itself. | |
791 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
792 | (m68hc11_register_move_cost): Update and use memory move cost | |
793 | for soft registers. | |
794 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
795 | it gives more opportunities to cse to optimize. | |
796 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
797 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
798 | ||
6e4ae815 MM |
799 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
800 | ||
801 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
802 | * c-common.def (CLEANUP_STMT): New tree node. | |
803 | * c-common.h (CLEANUP_DECL): New macro. | |
804 | (CLEANUP_EXPR): Likewise. | |
805 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
806 | * expr.c (expand_expr): Tidy. | |
807 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
808 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
809 | new local variables. | |
810 | ||
a42519be JJ |
811 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
812 | ||
813 | PR bootstrap/4128 | |
814 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
815 | before movrXX only, use reg_overlap_mentioned_p. | |
816 | Only special case NE if just one insn can be generated. | |
817 | ||
15409448 JM |
818 | 2002-03-15 Jason Merrill <jason@redhat.com> |
819 | ||
820 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
821 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
822 | of error_mark_node. | |
823 | ||
3a4edb44 RE |
824 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
825 | ||
826 | PR target/5170 | |
827 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
828 | explaining non-obvious test. | |
829 | ||
32defa36 RE |
830 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
831 | ||
832 | PR target/5712 | |
833 | * arm.md (movaddr, movaddr_insn): Delete. | |
834 | ||
5cc90635 JM |
835 | 2002-03-15 Jason Merrill <jason@redhat.com> |
836 | ||
837 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
838 | -fkeep-static-consts doesn't apply to comdats. | |
839 | ||
ecb0eece RH |
840 | 2002-03-14 Richard Henderson <rth@redhat.com> |
841 | ||
842 | * c-decl.c: Include c-pragma.h. | |
843 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
844 | (finish_function): Tidy. | |
845 | * c-pragma.c: Include c-common.h. | |
846 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
847 | (handle_pragma_weak): Use them. | |
848 | (init_pragma): Register pending_weaks. | |
849 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
850 | * print-tree.c (print_node): Print DECL_WEAK. | |
851 | * varasm.c (mark_weak_decls): Remove. | |
852 | (remove_from_pending_weak_list): Remove. | |
853 | (add_weak): Remove. | |
854 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
855 | (weak_decls): Make a tree_list. | |
856 | (declare_weak): Cons weak_decls directly. | |
857 | (globalize_decl): Remove weak_decls elements directly. | |
858 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
859 | symbols. Don't pretend to handle aliases. | |
860 | (init_varasm_once): Update weak_decls registry. | |
861 | * Makefile.in: Update dependencies. | |
862 | ||
98d2b17e RH |
863 | 2002-03-14 Richard Henderson <rth@redhat.com> |
864 | ||
865 | PR target/5312 | |
866 | * config/ia64/ia64.c: Include tm_p.h last. | |
867 | (gen_nop_type): Remove duplicate definition. | |
868 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
869 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
870 | (nop_cycles_until): Fix typos. | |
871 | ||
f2f4927e JJ |
872 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
873 | ||
874 | PR optimization/5891 | |
875 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
876 | ||
5025a549 DM |
877 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
878 | ||
879 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
880 | descriptors correctly. | |
881 | ||
03e9dbc9 MM |
882 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
883 | ||
884 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
885 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
886 | ||
887 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
888 | --param. | |
889 | ||
890 | * unroll.c (params.h): Include. | |
891 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
892 | ||
893 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
894 | ||
895 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
896 | ||
12249385 RE |
897 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
898 | ||
899 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
900 | ||
f0cce04a ZW |
901 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
902 | ||
903 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
904 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
905 | (linemarker_dir): New data object. | |
906 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
907 | preprocessed source. Delete obsolete comment about return | |
908 | values of handlers. | |
909 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
910 | Don't muck with line_extension. | |
911 | (directive_diagnostics): No need to issue warnings for | |
912 | linemarkers here. | |
913 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
914 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
915 | do_line. | |
916 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
917 | Convert escape sequences in filename argument, both places. | |
918 | ||
919 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
920 | export. All callers changed. | |
921 | * cpplib.h (cpp_quote_string): Prototype. | |
922 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
923 | before printing it. | |
924 | ||
925 | * doc/cpp.texi: Document that escapes are now interpreted in | |
926 | #line and in linemarkers, and that non-printing characters are | |
927 | converted to octal escapes when linemarkers are generated. | |
928 | ||
929 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
83a49407 JH |
930 | |
931 | * emit-rtl.c (try_split): Use delete_insns. | |
932 | * recog.c (split_all_insns): Fix terminating condition. | |
933 | ||
c882c7ac RE |
934 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
935 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
936 | ||
937 | PR target/5828 | |
938 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
939 | adjustment when using a frame pointer. | |
940 | ||
3f26edaa RS |
941 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
942 | ||
943 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
944 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
945 | (save_restore_insns, mips_expand_epilogue): And here. | |
946 | (build_mips16_call_stub): And here. | |
947 | (mips_function_value): Use the new macros to decide whether a single | |
948 | or complex float can be returned in floating-point registers. Return | |
949 | a parallel rtx in the complex case. | |
950 | ||
1e3881c2 JH |
951 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
952 | ||
953 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
954 | call after liveness analysis. | |
955 | ||
956 | * recog.c (split_insn): Use delete_insn_and_edges. | |
957 | ||
958 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
959 | instructions to have branch prediction notes. | |
960 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
961 | ||
200ef634 GK |
962 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
963 | ||
964 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
965 | that doesn't support it. | |
966 | * configure: Regenerate. | |
967 | ||
0b82d204 JJ |
968 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
969 | ||
970 | PR target/5626 | |
971 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
972 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
973 | inverted_fp_branch): Adjust calls to output_cbranch. | |
974 | Set length attribute. | |
975 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
976 | output_v9branch. Set length attribute. | |
977 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
978 | predicates. | |
979 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
980 | (output_cbranch): Likewise. Handle far branches. | |
981 | (output_v9branch): Handle far branches. | |
982 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
983 | Adjust prototypes. | |
984 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
985 | noov_compare64_op predicates. | |
986 | ||
7a8de19b JM |
987 | 2002-03-13 Jason Merrill <jason@redhat.com> |
988 | ||
989 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
990 | into the function and constify it. | |
991 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
992 | ||
2a55fd42 DE |
993 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
994 | ||
995 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
996 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
997 | std_expand_builtin_va_arg if not ABI_V4. | |
998 | ||
19c5b1cf JM |
999 | 2002-03-13 Jason Merrill <jason@redhat.com> |
1000 | ||
1001 | * varasm.c (globalize_decl): New fn. | |
1002 | (assemble_start_function): Use it. | |
1003 | (asm_emit_uninitialized): Use it. | |
1004 | (assemble_alias): Use it. | |
1005 | (assemble_variable): Use it. | |
1006 | ||
2a15f5e1 HPN |
1007 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
1008 | ||
1009 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
f0cce04a | 1010 | 2002-03-12 internal visibility change. |
2a15f5e1 HPN |
1011 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
1012 | visibility into SYMBOL_REF_FLAG. | |
1013 | ||
c0a3eeac UW |
1014 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
1015 | ||
1016 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
1017 | VOIDmode operand. Add compile-time optimization for constant results. | |
1018 | ||
a1652cee JM |
1019 | 2002-03-12 Jason Merrill <jason@redhat.com> |
1020 | ||
1021 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
1022 | between pointers and references. Only allow lvalues to convert to | |
1023 | reference. | |
1024 | ||
c52a375d HP |
1025 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
1026 | ||
f0cce04a ZW |
1027 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
1028 | before prologue, to avoid scheduling problems. | |
c52a375d | 1029 | |
e387e99b JJ |
1030 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
1031 | ||
1032 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
1033 | (ELIMINABLE_REGS): Add sfp->sp. | |
1034 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
1035 | ||
1036 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
09948ece JJ |
1037 | |
1038 | PR optimization/5892 | |
1039 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
1040 | ||
4061c1a3 JJ |
1041 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
1042 | ||
1043 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
1044 | classes are different. | |
1045 | ||
5b43fed1 RH |
1046 | 2002-03-12 Richard Henderson <rth@redhat.com> |
1047 | ||
9f53e965 RH |
1048 | PR optimization/5901 |
1049 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
1050 | the markers after/before the last/first insn not deleted. | |
1051 | ||
1052 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
1053 | ||
1054 | PR optimization/5878 | |
5b43fed1 RH |
1055 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
1056 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
1057 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
1058 | ||
1059 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
1060 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
1061 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
1062 | ||
1063 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
1064 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
1065 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
1066 | also. Don't set it if not flag_pic. | |
1067 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
1068 | to be INVALID_REGNUM when not used. | |
1069 | ||
4e9bb42b AH |
1070 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
1071 | ||
5b43fed1 RH |
1072 | * expmed.c (store_bit_field): Reset alias set for memory. |
1073 | (extract_bit_field): Same. | |
4e9bb42b | 1074 | |
2f9834e8 KG |
1075 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1076 | ||
1077 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
1078 | c_tree_code_name, add_c_tree_codes): Delete. | |
1079 | * c-common.h (add_c_tree_codes): Delete. | |
1080 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
1081 | Define. | |
1082 | * c-objc-common.c (c_objc_common_init): Don't call | |
1083 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
1084 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
1085 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
1086 | (objc_init): Don't call add_objc_tree_codes. | |
1087 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
1088 | tree_code_name): Define. | |
1089 | * toplev.c (lang_independent_init): Don't set | |
1090 | tree_code_length[IDENTIFIER_NODE]. | |
1091 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
1092 | Delete definitions, moved to language front-ends. | |
1093 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
1094 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
1095 | Const-ify. | |
1096 | (tree_code_length): Change type to unsigned char. | |
1097 | ||
36ad2436 RH |
1098 | 2002-03-12 Richard Henderson <rth@redhat.com> |
1099 | ||
1100 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
1101 | internal visibility change. | |
1102 | ||
0ae02efa BW |
1103 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1104 | ||
1105 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
1106 | validize_mem() instead of change_address to avoid clobbering | |
1107 | memory attributes. | |
1108 | ||
35bb2bee NB |
1109 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
1110 | ||
1111 | * c-lex.h (position_after_whitespace): Remove. | |
1112 | ||
62ae2529 JJ |
1113 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
1114 | ||
1115 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
1116 | (lex_string): Use unsigned char pointers. | |
1117 | ||
6a45951f UW |
1118 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
1119 | ||
1120 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
1121 | is not a valid memory_operand. | |
1122 | ||
e2fb85da BW |
1123 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1124 | ||
1125 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
1126 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
1127 | special case for libgcc files. | |
1128 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
1129 | (__divsi3): Likewise. | |
1130 | (__umodsi3): Likewise. | |
1131 | (__modsi3): Likewise. | |
1132 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
1133 | special case for libgcc files. | |
1134 | ||
5b8619f8 TR |
1135 | 2002-03-12 Tom Rix <trix@redhat.com> |
1136 | ||
1137 | * collect2.c (resolve_lib_name): Move outside of | |
f0cce04a | 1138 | OBJECT_FORMAT_COFF ifdef. |
5b8619f8 TR |
1139 | (ignore_library): Same. |
1140 | ||
089c8f97 BW |
1141 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1142 | ||
1143 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
1144 | ||
958c70ff BW |
1145 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
1146 | ||
1147 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
1148 | to function_section before writing out the constant pool. | |
1149 | ||
a65c591c DE |
1150 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
1151 | ||
1152 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
1153 | zero_constant. | |
1154 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
1155 | ||
1156 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
1157 | ||
1158 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
1159 | (adddi3): Likewise. | |
1160 | (movdf): Likewise. | |
1161 | (movdi): Likewise. | |
1162 | (cmpsi splitter): Likewise. | |
1163 | (modsi3): Fail if <= 0. | |
1164 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
1165 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
1166 | (reg_or_sub_cint64_operand): Likewise. | |
1167 | (num_insns_constant_wide): Optimize sign extension. | |
1168 | (rs6000_legitimize_address): Likewise. | |
1169 | ||
17720332 AM |
1170 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
1171 | ||
1172 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
1173 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
1174 | ||
cd49f073 AM |
1175 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
1176 | ||
1177 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
1178 | address calculation. | |
1179 | ||
6a4e49c1 UW |
1180 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
1181 | ||
1182 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
1183 | scratch register to DImode / TImode. | |
1184 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
1185 | register used does not overlap the target. | |
1186 | ||
54b6670a KG |
1187 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1188 | ||
1189 | * Makefile.in (debug.o): Depend on debug.h. | |
1190 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
1191 | * debug.c (do_nothing_debug_hooks): Likewise. | |
1192 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
1193 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
1194 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
1195 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
1196 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
1197 | * integrate.c (output_inline_function): Likewise. | |
1198 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
1199 | * sdbout.c (sdb_debug_hooks): Likewise. | |
1200 | * toplev.c (debug_hooks): Likewise. | |
1201 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
1202 | ||
2465bf76 KG |
1203 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1204 | ||
1205 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
1206 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
1207 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
1208 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
1209 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
1210 | * defaults.h (POINTER_SIZE): Define. | |
1211 | * doc/tm.texi (POINTER_SIZE): Document default. | |
1212 | ||
53f3e9ca KG |
1213 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1214 | ||
1215 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
1216 | ||
44d3eb5b RH |
1217 | 2002-03-11 Richard Henderson <rth@redhat.com> |
1218 | ||
1219 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
1220 | if rebuild_label_notes_after_reload. | |
1221 | ||
4a085d2e HPN |
1222 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
1223 | ||
1224 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
1225 | emit pic register load if "internal" visibility. | |
1226 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
1227 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
1228 | ||
bc204393 RH |
1229 | 2002-03-11 Richard Henderson <rth@redhat.com> |
1230 | ||
1231 | * rtlanal.c: Include recog.h. | |
1232 | (keep_with_call_p): Fix thinko. | |
1233 | * Makefile.in (rtlanal.o): Update dependencies. | |
1234 | ||
6b8b9d7b CM |
1235 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
1236 | ||
1237 | * genflags.c (gen_insn): Use IS_VSPACE. | |
1238 | * genoutput.c (output_insn_data): Likewise. | |
1239 | (process_template): Likewise. | |
1240 | ||
6c40858f RH |
1241 | 2002-03-11 Richard Henderson <rth@redhat.com> |
1242 | ||
1243 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
1244 | ||
40adaa27 NB |
1245 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
1246 | ||
1247 | * Makefile.in: Update. | |
6c40858f | 1248 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
40adaa27 | 1249 | Update documentation. |
6c40858f RH |
1250 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
1251 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
40adaa27 | 1252 | |
049b03f4 ZW |
1253 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
1254 | ||
1255 | * Makefile.in: Give texi2pod its input file as a command line | |
1256 | argument, not on stdin. | |
1257 | ||
61eece67 DN |
1258 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
1259 | Daniel Berlin <dan@dberlin.org> | |
1260 | ||
1261 | C++ alias analysis improvement. | |
f0cce04a | 1262 | * alias.c (record_component_aliases): Record aliases for base |
61eece67 DN |
1263 | classes too. |
1264 | ||
a65c591c DE |
1265 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
1266 | ||
ff080aba UW |
1267 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
1268 | ||
1682dbb1 DR |
1269 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
1270 | ||
fa2d765a DR |
1271 | * toplev.c (vms_fopen): Remove, not needed. |
1272 | ||
6f1fd286 DR |
1273 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
1274 | ||
b230e057 DR |
1275 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
1276 | ||
cb9a8e97 DR |
1277 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
1278 | for FP, already done later. | |
1279 | ||
1682dbb1 DR |
1280 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
1281 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
1282 | ||
3fcaac1d RS |
1283 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
1284 | ||
1285 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
1286 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
1287 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
1288 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
1289 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
1290 | (ediv, emul, eldexp, esqrt): Likewise. | |
1291 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
1292 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
1293 | (saturate): New function. | |
1294 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
1295 | (make_nan): Use a saturation value instead of a NaN if | |
1296 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
1297 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
1298 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
1299 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
1300 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
1301 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
1302 | !ROUND_TOWARDS_ZERO. | |
1303 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
1304 | (ROUND_TOWARDS_ZERO): Document. | |
1305 | ||
d25558be AJ |
1306 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
1307 | ||
1308 | * cfg.c (dump_flow_info): Remove unused variable. | |
1309 | ||
c71f9ae7 HPN |
1310 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
1311 | ||
1312 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
1313 | computations on trees. | |
1314 | ||
561c9153 RH |
1315 | 2002-03-10 Richard Henderson <rth@redhat.com> |
1316 | ||
932b4e3e | 1317 | PR 5693: |
561c9153 RH |
1318 | * reload.c (copy_replacements_1): New. |
1319 | (copy_replacements): Use it to recurse through the rtx. | |
1320 | ||
26b738be RH |
1321 | 2002-03-10 Richard Henderson <rth@redhat.com> |
1322 | ||
1323 | * loop.c (strength_reduce): Compute number of iterations as | |
1324 | unsigned HOST_WIDE_INT. | |
1325 | ||
8d8a083e RH |
1326 | 2002-03-10 Richard Henderson <rth@redhat.com> |
1327 | ||
1328 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
1329 | to move away from the end of the block. | |
1330 | ||
32810ba3 NB |
1331 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
1332 | ||
1333 | PR preprocessor/5899 | |
1334 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
d25558be | 1335 | |
2b03d201 KG |
1336 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1337 | ||
f90c544c KG |
1338 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
1339 | ||
2b03d201 KG |
1340 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
1341 | ||
3ec1b4cb HPN |
1342 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
1343 | ||
1344 | * config/mmix/mmix.c: Improve comments. | |
1345 | (mmix_target_asm_function_prologue): Drop variable | |
1346 | empty_stack_frame. Don't allocate unused slot above fp. | |
1347 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
1348 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
1349 | brace in first column. | |
1350 | (enum reg_class): Ditto. | |
1351 | (FIRST_PARM_OFFSET): Now 0. | |
1352 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
1353 | ||
27e486c5 KG |
1354 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1355 | ||
1356 | * combine.c (make_extraction): Fix error in last change. | |
1357 | ||
0139adca KG |
1358 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1359 | ||
1360 | * c4x.c (c4x_fp_reglist): Const-ify. | |
1361 | * cris.c (cris_print_operand): Likewise. | |
1362 | * i386.c (ix86_va_arg): Likewise. | |
1363 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
1364 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
1365 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
1366 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
1367 | * mcore.h (regno_reg_class): Likewise. | |
1368 | * mips.c (gen_int_relational): Likewise. | |
1369 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
1370 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
a4334c36 | 1371 | * pdp11.c (move_costs): Likewise. |
0139adca KG |
1372 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
1373 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
1374 | Likewise. | |
1375 | * s390.h (regclass_map): Likewise. | |
1376 | * sh.c (shift_amounts): Likewise. | |
a4334c36 | 1377 | * sh.md (rotlsi3): Likewise. |
0139adca | 1378 | |
889b90a1 GK |
1379 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
1380 | ||
1381 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
1382 | (ne0+5): Use new clobber to generate proper shift pattern. | |
1383 | Patch by Michael Matz <matz@kde.org>. | |
1384 | ||
2877e0ae AS |
1385 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
1386 | ||
1387 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
1388 | ||
79b51cd7 GK |
1389 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
1390 | ||
1391 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
1392 | ||
e0f1be5c JJ |
1393 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
1394 | ||
1395 | PR middle-end/5877 | |
1396 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
1397 | even for non-representable constants. | |
1398 | ||
0a7ec763 RK |
1399 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1400 | ||
93fe8e92 RK |
1401 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
1402 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
1403 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
1404 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
1405 | (pop_function_context): Compute MAY_SHARE parameter for | |
1406 | fixup_var_refs. | |
1407 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
1408 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
1409 | ||
0a7ec763 RK |
1410 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
1411 | ||
a85cd407 AO |
1412 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
1413 | ||
9445b814 AO |
1414 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
1415 | in o32 and o64 ABIs. | |
1416 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
1417 | but getting fixed-size structs passed in registers regardless of | |
1418 | padding in o32 and o64 ABIs. | |
1419 | ||
a85cd407 AO |
1420 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
1421 | offset before loading address of argument passed by transparent | |
1422 | reference. | |
1423 | ||
c51fbe40 JDA |
1424 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1425 | ||
1426 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
1427 | ||
918e70dd AO |
1428 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
1429 | ||
1430 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
1431 | marker such that registers after it are saved. | |
1432 | ||
3070dd00 KG |
1433 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1434 | ||
1435 | * sparc.c (arith_4096_operand): Fix error in last change. | |
1436 | ||
e25d11b0 AO |
1437 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
1438 | ||
1439 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
1440 | defaults for MEABI. | |
1441 | ||
41daaf0e AH |
1442 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
1443 | ||
5b43fed1 RH |
1444 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
1445 | vectors. | |
41daaf0e | 1446 | |
fa139b00 AH |
1447 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
1448 | ||
5b43fed1 | 1449 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
fa139b00 | 1450 | |
c51d95ec JH |
1451 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
1452 | ||
1453 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
1454 | removed; fix return value. | |
1455 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
1456 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
1457 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
1458 | ||
3b25fbfe KG |
1459 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1460 | ||
1461 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
1462 | ||
189ae0f4 JH |
1463 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
1464 | ||
1465 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
1466 | ||
24965e7a NB |
1467 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
1468 | ||
1469 | * expr.c (expand_expr): Use unsave lang hook. | |
1470 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
1471 | (LANG_HOOKS_INITIALIZER): Update. | |
1472 | * langhooks.h (struct lang_hooks): New hook unsave. | |
1473 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
1474 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
1475 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
1476 | (unsave_expr_now): Remove. | |
1477 | * tree.h (unsave_expr_now, lang_unsave, | |
1478 | lang_unsave_expr_now): Remove. | |
1479 | (lhd_unsave): New. | |
1480 | ||
1e4e95d6 AJ |
1481 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
1482 | ||
1483 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
1484 | ||
054ef905 KH |
1485 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
1486 | ||
1487 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
1488 | insn length for memory load/store. | |
1489 | ||
5304400d | 1490 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1e4e95d6 | 1491 | |
5304400d CR |
1492 | * doc/install.texi (--with-libiconv-prefix): Document. |
1493 | ||
81034129 MB |
1494 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
1495 | ||
1496 | * doc/sourcebuild.texi: Fix typo. | |
1497 | ||
71db7d03 JJ |
1498 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
1499 | ||
1500 | PR c/3711 | |
1501 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
1502 | trees. | |
1503 | ||
127c1ba5 RK |
1504 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1505 | ||
1506 | * rtl.c (copy_most_rtx): Move from here ... | |
1507 | * emit-rtl.c (copy_most_rtx): ... to here. | |
1508 | ||
8a13c092 AO |
1509 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
1510 | ||
5faae4f7 AO |
1511 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
1512 | SUBTARGET_CPP_SIZE_SPEC. | |
1513 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
1514 | ||
8a13c092 AO |
1515 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
1516 | ||
4ec59de2 MH |
1517 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
1518 | ||
1519 | * gensupport.c (first_dir_md_include): Renamed from include; | |
1520 | change all references. | |
1521 | (last_dir_md_include): Renamed from last_include; change all | |
1522 | references. | |
1523 | (init_md_reader): Unconditionally initialize base_dir whether or | |
1524 | not filename is a relative path. | |
1525 | ||
12f61e77 AO |
1526 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
1527 | ||
95356058 AO |
1528 | * config/fp-bit.c (_unord_f2): Compile it in even if |
1529 | US_SOFTWARE_GOFAST is enabled. | |
1530 | ||
12f61e77 AO |
1531 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
1532 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
1533 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
1534 | NULL_RTX, try reversing the comparison and the operands. | |
1535 | ||
6d7a1c4c UW |
1536 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
1537 | ||
1538 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
1539 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
1540 | and MATCH_OP_DUP. | |
1541 | ||
66d54344 JH |
1542 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
1543 | ||
1544 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
1545 | ||
068473ec JH |
1546 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
1547 | ||
1548 | * basic-block.h (fixup_abnormal_edges): Declare. | |
1549 | * reload1.c (fixup_abnormal_edges): New function. | |
1550 | * reg-stack.c (convert_regs): Use it. | |
1551 | ||
1552 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
1553 | ||
1554 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
1555 | ||
71925bc0 RS |
1556 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
1557 | ||
1558 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
1559 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
1560 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
1561 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
1562 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
1563 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
1564 | unless x and y could be infinite. | |
1565 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
1566 | Check that the common type of both arguments is a real, even for | |
1567 | targets without unordered comparisons. Allow an integer argument | |
1568 | to be compared against a real. | |
1569 | (expand_tree_builtin): Use expand_unordered_cmp. | |
1570 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
1571 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
1572 | * fold-const.c (fold_real_zero_addition_p): New. | |
1573 | (fold): Use it, and the new HONOR_... macros. | |
1574 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
1575 | * jump.c (reversed_comparison_code_parts): After searching for | |
1576 | the true comparison mode, use HONOR_NANS to decide whether it | |
1577 | can be safely reversed. | |
1578 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
1579 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
1580 | to decide which simplifications are valid. Allow the following | |
1581 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
1582 | and (a - -b) to (a + b). | |
1583 | (simplify_relational_operation): Use HONOR_NANS. | |
1584 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
1585 | ||
145d3bf2 RE |
1586 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
1587 | ||
1588 | * combine.c (simplify_comparison): If simplifying a logical shift | |
1589 | right and compare with constant, force the comparison to unsigned. | |
1590 | ||
76a773f3 AH |
1591 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
1592 | ||
5b43fed1 | 1593 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
76a773f3 | 1594 | |
5b43fed1 RH |
1595 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
1596 | -mabi=no-altivec | |
1597 | (alt_reg_names): Remove % for vrsave. | |
76a773f3 | 1598 | |
ab55f58c RH |
1599 | 2002-03-06 Richard Henderson <rth@redhat.com> |
1600 | ||
5ddec02e | 1601 | PR optimization/5844 |
ab55f58c RH |
1602 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
1603 | if used indicates we've already emitted one copy of an operand. | |
1604 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
1605 | (gen_split): Supply a non-null used. | |
1606 | ||
e16e3291 UW |
1607 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
1608 | ||
5b43fed1 | 1609 | * reload1.c (reload): Unshare all rtl after reload is done. |
e16e3291 | 1610 | |
1e4e95d6 | 1611 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
e16e3291 UW |
1612 | but simply fail if the expression is too complex to simplify. |
1613 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
1614 | ||
2ca6672b JH |
1615 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
1616 | ||
1617 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
1618 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
1619 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
1620 | after liveness2; update comment in last crossjumping. | |
1621 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
1622 | ||
31d0dd4f JL |
1623 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
1624 | ||
d094b0b3 JL |
1625 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
1626 | after completing fast dead code elimination. | |
1627 | ||
31d0dd4f JL |
1628 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
1629 | COMPARE operator. | |
1e4e95d6 | 1630 | |
f2b958b1 PE |
1631 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
1632 | ||
1633 | * version.c: Fix misplaced leading blanks on first line. | |
1634 | ||
a2877a09 JH |
1635 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
1636 | ||
1637 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
1638 | ||
fe477d8b JH |
1639 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
1640 | ||
1641 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
1642 | (thread_jump): Use it. | |
1643 | * toplev.c (rest_of_compilation): Run jump threading after | |
1644 | liveness. | |
1645 | ||
2041cde4 JJ |
1646 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
1647 | ||
1648 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
1649 | patch. | |
1650 | ||
82d68d46 JH |
1651 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
1652 | ||
1653 | * predict.c (estimate_bb_frequencies): Do not reload the | |
1654 | frequencies from notes. | |
1655 | ||
3dec4024 JH |
1656 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
1657 | ||
1658 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
1659 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
1660 | ||
1661 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
1662 | delete_noop_moves): Return indeger. | |
1663 | * flow.c (ndead): New variable. | |
1664 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
1665 | BB argument; update callers. | |
1666 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
1667 | (life_analysis): Do not call purge_all_dead_edges. | |
1668 | (update_life_info): Return number of deleted insns; print statistics. | |
1669 | (update_life_info_in_dirty_blocks): likewise. | |
1670 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
1671 | return number of insns deleted. | |
1672 | ||
1673 | * cse.c: Include timevar.h | |
1674 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
1675 | iterate until stabilizes; print statistics; return number of killed | |
1676 | insns. | |
1677 | * Makefile.in: (cse.o): Add timevar.h dependency | |
1678 | * rtl.h (delete_trivially_dead_insns): New. | |
1679 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
1680 | * toplev.c (rest_of_compilation): Update callers. | |
1681 | ||
1682 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
1683 | (try_optimize_cfg): Do not update liveness. | |
1684 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
1685 | removal stabilizes; use delete_trivially_dead_insns. | |
1686 | ||
1687 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
1688 | ||
c7544dd8 ZW |
1689 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
1690 | ||
1691 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
1692 | callbacks when processing assembly language. | |
1693 | ||
50b424a9 JDA |
1694 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1695 | ||
1696 | * pa.h (ASM_FILE_END): Define. | |
1697 | * som.h (ASM_FILE_END): Delete. | |
1698 | ||
1699 | * pa.c (function_arg): Don't pass floats in general registers in | |
1700 | indirect calls if TARGET_ELF32. | |
1701 | ||
6185f217 RH |
1702 | 2002-03-05 Richard Henderson <rth@redhat.com> |
1703 | ||
1704 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
1705 | ||
3020a4b2 DS |
1706 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
1707 | ||
1708 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
1709 | ||
65649daa JJ |
1710 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
1711 | ||
1712 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
1713 | -r command line. Don't hide any symbols if not building | |
1714 | shared libgcc. | |
1715 | ||
5a1a3e5e JH |
1716 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
1717 | ||
1718 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
1719 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
1720 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
1721 | ||
170c56da JJ |
1722 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
1723 | ||
1724 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
1725 | wide volatile memory by parts. | |
1726 | ||
6d051694 JJ |
1727 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
1728 | ||
1729 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
1730 | is NULL. | |
1731 | ||
28bcfd4d RH |
1732 | 2002-03-05 Richard Henderson <rth@redhat.com> |
1733 | ||
5b43fed1 | 1734 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
28bcfd4d | 1735 | |
75227a33 GK |
1736 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
1737 | ||
1738 | * toplev.c (documented_lang_options): Document more | |
1739 | language-specific options. | |
1740 | * doc/invoke.texi (Warning Options): Correct documentation for | |
1741 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
1742 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
1743 | ||
4f1aac42 HPN |
1744 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
1745 | ||
1746 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
1747 | parameter to mmix_encode_section_info. | |
1748 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
1749 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
1750 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
1751 | first is non-zero, don't add symbol prefix. | |
1752 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
1753 | prototype accordingly. | |
1754 | ||
12345543 KW |
1755 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
1756 | ||
1757 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
1758 | ||
8e97db8f JM |
1759 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
1760 | ||
1761 | * configure.in: Increase required makeinfo version to 4.1. | |
1762 | * configure: Regenerate. | |
1763 | ||
06487868 GK |
1764 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
1765 | ||
1766 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
1767 | elsewhere now. | |
1768 | ||
cff42170 JM |
1769 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
1770 | ||
1771 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
1772 | * doc/invoke.texi: Fix @math uses. | |
1773 | ||
974a7f56 JH |
1774 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
1775 | ||
1776 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
1777 | removal | |
1778 | ||
3b7d0e98 AH |
1779 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
1780 | ||
5b43fed1 RH |
1781 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
1782 | (powerpc-*-eabisimaltivec*): Same. | |
3b7d0e98 | 1783 | |
5b43fed1 | 1784 | * config/rs6000/t-ppcendian: New. |
3b7d0e98 | 1785 | |
65f2f288 HB |
1786 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
1787 | ||
1788 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
1789 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
1790 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
1791 | ||
8ce0a8a5 RH |
1792 | 2002-03-03 Richard Henderson <rth@redhat.com> |
1793 | ||
1794 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
1795 | ||
ba31d94e ZW |
1796 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
1797 | ||
1798 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
1799 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
1800 | tree.c, config/m68k/m68k.c: | |
1801 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
1802 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
1803 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
1804 | * flags.h, toplev.c: Delete remaining references to | |
1805 | flag_pretend_float. | |
1806 | ||
1807 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
1808 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
1809 | real.h, not by the target configuration files. | |
1810 | ||
1811 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
1812 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
1813 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
1814 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
1815 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
1816 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
1817 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
1818 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
1819 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
1820 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
1821 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
1822 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
1823 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
1824 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
1825 | config/xtensa/xtensa.h: | |
1826 | Do not define, undefine, or mention in comments any of | |
1827 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
1828 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
1829 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
1830 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
1831 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
1832 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
1833 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
1834 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
1835 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
1836 | ||
9a571cfd KG |
1837 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1838 | ||
e81dd381 KG |
1839 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
1840 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
1841 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
1842 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
1843 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
1844 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
1845 | Delete. | |
1846 | * defaults.h (BITS_PER_WORD): Define. | |
ba31d94e | 1847 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
e81dd381 | 1848 | |
9a571cfd KG |
1849 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
1850 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
1851 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
1852 | ||
ca7558fc KG |
1853 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1854 | ||
1855 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
1856 | lieu of explicit sizeof/sizeof. | |
1857 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
1858 | ix86_expand_builtin): Likewise. | |
1859 | * mips.c (mips_add_gc_roots): Likewise. | |
1860 | * mmix.c (mmix_output_condition): Likewise. | |
1861 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
1862 | altivec_init_builtins): Likewise. | |
1863 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
1864 | * cppexp.c (Nsuff, parse_number): Likewise. | |
1865 | * cppinit.c (builtin_array_end): Likewise. | |
1866 | * gcc.c (n_default_compilers, process_command): Likewise. | |
1867 | * genpreds.c (output_predicate_decls): Likewise. | |
1868 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
1869 | * lcm.c (N_ENTITIES): Likewise. | |
1870 | * stor-layout.c (set_sizetype): Likewise. | |
ba31d94e | 1871 | |
41c78c88 RH |
1872 | 2002-03-03 Richard Henderson <rth@redhat.com> |
1873 | ||
1874 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
1875 | for types or labels. | |
1876 | ||
9e9b71e6 RH |
1877 | 2002-03-03 Richard Henderson <rth@redhat.com> |
1878 | ||
1879 | * c-decl.c (start_decl): Initialized variables are not common. | |
1880 | ||
c26a6db8 PB |
1881 | 2002-03-02 Per Bothner <per@bothner.com> |
1882 | ||
1883 | * gcc.c (option_map): Suport new --bootclasspath option. | |
1884 | --CLASSPATH is now just an alias for --classpath. | |
1885 | ||
9e8aab55 RH |
1886 | 2002-03-02 Richard Henderson <rth@redhat.com> |
1887 | ||
1888 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
1889 | load if "internal" visibility. | |
1890 | * doc/extend.texi: Document visibility meanings. | |
1891 | ||
b3bbd220 RH |
1892 | 2002-03-02 Richard Henderson <rth@redhat.com> |
1893 | ||
1894 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
1895 | to functions as well. | |
1896 | ||
b14707c3 RH |
1897 | 2002-03-02 Richard Henderson <rth@redhat.com> |
1898 | ||
1899 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
1900 | (handle_visibility_attribute): Don't call assemble_visibility. | |
1901 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
1902 | without asmspec. Invoke assemble_alias when needed. | |
1903 | * varasm.c (maybe_assemble_visibility): New. | |
1904 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
1905 | ||
b2003250 RH |
1906 | 2002-03-02 Richard Henderson <rth@redhat.com> |
1907 | ||
1908 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
1909 | invoke ENCODE_SECTION_INFO with first call flag. | |
1910 | ||
1911 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
1912 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
ba31d94e | 1913 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
b2003250 RH |
1914 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
1915 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
1916 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
1917 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
1918 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
1919 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
1920 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
1921 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
1922 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
ba31d94e ZW |
1923 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
1924 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
b2003250 RH |
1925 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
1926 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
1927 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
ba31d94e | 1928 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
b2003250 RH |
1929 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
1930 | config/sh/sh.h, config/sparc/sparc.h, | |
1931 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
1932 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
1933 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
1934 | FIRST argument. As needed, examine it and do nothing. | |
1935 | ||
ba31d94e | 1936 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
b2003250 RH |
1937 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
1938 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
1939 | ||
1940 | * config/arm/t-pe (pe.o): Add dependencies. | |
1941 | ||
5c60f03d KG |
1942 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1943 | ||
1944 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
1945 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
1946 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
1947 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
1948 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
1949 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
1950 | * defaults.h (BITS_PER_UNIT): Define. | |
1951 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
1952 | ||
86855e8c KH |
1953 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
1954 | ||
1955 | * config/h8300/h8300-protos.h: Add a prototype for | |
1956 | compute_a_shift_length. | |
1957 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
1958 | (compute_a_shift_length): Likewise. | |
1959 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
1960 | insns. | |
1961 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
1962 | compute_a_shift_length. | |
1963 | ||
f6041ed8 RK |
1964 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1965 | ||
35aa3c1c RK |
1966 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
1967 | trunc_int_for_mode. | |
1968 | ||
f6041ed8 RK |
1969 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
1970 | ||
27b41650 KG |
1971 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1972 | ||
1973 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
1974 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
1975 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
1976 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
1977 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
1978 | * tree.c (initializer_zerop): New function. | |
1979 | * tree.h (initializer_zerop): Declare. | |
1980 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
1981 | initializers in the bss section. | |
1982 | ||
ca734b39 AM |
1983 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
1984 | ||
1985 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
1986 | like more than one symbol per .weak directive. | |
1987 | ||
49b72306 RH |
1988 | 2002-03-01 Richard Henderson <rth@redhat.com> |
1989 | ||
1990 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
1991 | adjust argument_pointer by pretend_args_size. | |
1992 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
1993 | ||
fbf0fe41 KH |
1994 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
1995 | ||
1996 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
1997 | ||
0010687d JH |
1998 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
1999 | ||
2000 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
2001 | loop. | |
2002 | * flow.c (delete_dead_jumptables): Make global. | |
2003 | * rtl.h (delete_dead_jumptables): Declare. | |
2004 | ||
9429c84c DE |
2005 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
2006 | ||
2007 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
2008 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
0c2fdcdf | 2009 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
9429c84c | 2010 | |
f0b6f9a6 KH |
2011 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
2012 | ||
2013 | * config/h8300/h8300-protos.h: Fix formatting. | |
2014 | * config/h8300/h8300.c: Likewise. | |
2015 | * config/h8300/h8300.h: Likewise. | |
2016 | ||
bc8db8a1 KH |
2017 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
2018 | ||
2019 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
2020 | constant addresses. | |
2021 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
2022 | ||
32b069d3 RH |
2023 | 2002-02-28 Richard Henderson <rth@redhat.com> |
2024 | ||
2025 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
2026 | pun complex values as integers; use gen_lowpart instead of | |
2027 | gen_rtx_SUBREG. | |
2028 | (extract_bit_field): Likewise. | |
2029 | ||
79c4e63f AM |
2030 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
2031 | David Edelsohn <edelsohn@gnu.org> | |
2032 | ||
2033 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
2034 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
2035 | (SUPPORTS_WEAK): Likewise. | |
2036 | * output.h (add_weak): Add tree param. | |
2037 | * varasm.c (add_weak): Likewise. Save decl. | |
2038 | (struct weak_syms): Add decl field. | |
2039 | (mark_weak_decls): New function. | |
2040 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
2041 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
2042 | (assemble_variable): Likewise. | |
2043 | (assemble_alias): Likewise. | |
2044 | (declare_weak): Pass decl to add_weak. | |
2045 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
2046 | (remove_from_pending_weak_list): Declare and define for | |
2047 | ASM_WEAKEN_DECL. | |
2048 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
2049 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
2050 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
2051 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
2052 | .weak for code sym. Do emit .size for descriptor sym. | |
2053 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
2054 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
2055 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
2056 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
2057 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
2058 | .weak for code sym. | |
2059 | (HANDLE_PRAGMA_WEAK): Remove. | |
2060 | (ASM_WEAKEN_LABEL): Remove. | |
2061 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
2062 | ||
6f30f1f1 JM |
2063 | 2002-03-01 Jason Merrill <jason@redhat.com> |
2064 | ||
2065 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
2066 | (TARGET_EXPR_CLEANUP): New macro. | |
2067 | ||
7879b81e SE |
2068 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
2069 | ||
2070 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
2071 | to take ptr_extend into account as third type of extension. | |
2072 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
2073 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
2074 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
2075 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
2076 | * calls.c (precompute_arguments): Use new macro. | |
2077 | (expand_call): Ditto. | |
2078 | * combine.c (nonzero_bits): Ditto. | |
2079 | (record_promoted_value): Ditto. | |
2080 | * expr.c (store_expr): Ditto. | |
2081 | (expand_expr): Ditto. | |
2082 | * function.c (assign_parms): Ditto. | |
2083 | ||
42d579d8 AO |
2084 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
2085 | ||
2086 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
2087 | override -shared and -shared-libgcc. | |
2088 | ||
e0054185 DB |
2089 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
2090 | ||
2091 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
2092 | of "ultrasparc". | |
2093 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
2094 | to be broken. | |
2095 | ||
abda4f1c RH |
2096 | 2002-02-28 Richard Henderson <rth@redhat.com> |
2097 | ||
2098 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
2099 | 4 cycle latency from MM producers. | |
2100 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
2101 | ||
c0f08649 JJ |
2102 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
2103 | ||
2104 | * mklibgcc.in: Don't use GNU make extension. | |
2105 | ||
f79f2651 NB |
2106 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
2107 | ||
2108 | * c-parse.in (STATIC): New terminal. | |
2109 | (scspec): New non-terminal. Update productions accordingly. | |
2110 | (program): Remove bogus ifc / end ifc. | |
2111 | (array_declarator): Simplify production using STATIC. | |
2112 | ||
001e3fee JM |
2113 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
2114 | ||
2115 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
2116 | \a still means TARGET_BELL. | |
2117 | ||
89076bb3 RH |
2118 | 2002-02-28 Richard Henderson <rth@redhat.com> |
2119 | ||
2120 | * haifa-sched.c (sched_emit_insn): New. | |
2121 | (schedule_block): Use last_scheduled_insn to track last insn. | |
2122 | * sched-int.h (sched_emit_insn): Prototype. | |
2123 | * config/ia64/ia64.c (last_issued): Remove. | |
2124 | (ia64_variable_issue): Don't set it. | |
2125 | (nop_cycles_until): Use sched_emit_insn. | |
2126 | ||
e3aaacf4 AM |
2127 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
2128 | ||
2129 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
2130 | extended constants. | |
2131 | ||
7f473594 KH |
2132 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
2133 | ||
2134 | * config/h8300/h8300.c: Fix formatting. | |
2135 | * config/h8300/h8300.h: Likewise. | |
2136 | ||
b96c434c MM |
2137 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
2138 | ||
2139 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
2140 | which may overwrite the high byte of the frame pointer. | |
2141 | ||
9b420a6a BT |
2142 | 2002-02-28 Bo Thorsen <bo@suse.de> |
2143 | ||
2144 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
2145 | (STARTFILE_SPEC): Add 64 bit files. | |
2146 | (ENDFILE_SPEC): Likewise. | |
2147 | ||
6f30f1f1 | 2148 | 2002-02-28 Jason Merrill <jason@redhat.com> |
46cfb101 JM |
2149 | |
2150 | * c-decl.c (finish_function): Only warn about missing return | |
2151 | statement with -Wreturn-type. | |
2152 | ||
70da1d03 JH |
2153 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
2154 | ||
2155 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
2156 | ||
2157 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
2158 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
2159 | ||
38c1593d JH |
2160 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
2161 | ||
2162 | * basic-block.h (BB_REACHABLE): Renumber. | |
2163 | (BB_DIRTY, BB_NEW): New flags. | |
2164 | (clear_bb_flags): Declare. | |
2165 | (update_life_info_in_dirty_blocks): Declare. | |
2166 | * cfg.c (clear_bb_flags): New function. | |
2167 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
2168 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
2169 | reorder_insns, emit_insn_after): Mark block as dirty. | |
2170 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
2171 | (update_life_info_in_dirty_blocks): New function. | |
2172 | * recog.c (apply_change_group): Dirtify block. | |
2173 | ||
2174 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
2175 | cfg consistent. | |
2176 | * gcse.c (delete_null_pointer_checks): Likewise. | |
2177 | ||
2178 | * toplev.c (dump_file_index): Move cse2 after bp, | |
2179 | add DFI_null | |
2180 | (dump_file_info): Similary. | |
2181 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
2182 | do first if converision after null pointer checks, do cse2 | |
2183 | after branch prediction; avoid full liveness rebuild after | |
2184 | initializing subregs. | |
2185 | * invoke.texi (-d options): Document -du, renumber. | |
2186 | ||
2187 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
2188 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
2189 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
2190 | merge_blocks_move_successor_nojumps, merge_blocks, | |
2191 | try_crossjump_to_edge): Likewise. | |
2192 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
2193 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
2194 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
2195 | (merge_of_block): Do not use life_data_ok. | |
2196 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
2197 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
2198 | * lcm.c (optimize_mode_switching): Update | |
2199 | update_life_info_in_dirty_blocks | |
2200 | ||
63e1b1c4 NB |
2201 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
2202 | ||
2203 | * Makefile.in (integrate.o): Update. | |
2204 | * c-decl.c (copy_lang_decl): Rename. | |
2205 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
2206 | * integrate.c: Include langhooks.h. | |
2207 | (copy_decl_for_inlining): Update to use langhook. | |
2208 | * langhooks-def.h (lhd_do_nothing_t, | |
2209 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
2210 | (LANG_HOOKS_INITIALIZER): Update. | |
2211 | * langhooks.c (lhd_do_nothing_t): New. | |
2212 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
2213 | * tree.h (copy_lang_decl): Remove. | |
2214 | objc: | |
2215 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
2216 | ||
f472fa29 AM |
2217 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
2218 | ||
ba31d94e | 2219 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
f472fa29 AM |
2220 | POST_DEC, and POST_MODIFY. |
2221 | ||
273cf2e4 ZW |
2222 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
2223 | ||
2224 | * c-typeck.c (digest_init): Remove unused parameter; all | |
2225 | callers changed. | |
2226 | ||
4e07d762 GK |
2227 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
2228 | ||
2229 | * expmed.c (expand_shift): Correctly test for low part of a | |
2230 | subreg. | |
2231 | ||
6bc627b3 UW |
2232 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
2233 | ||
2234 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
2235 | insn UIDs with insn addresses. | |
2236 | ||
f458d1d5 ZW |
2237 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
2238 | ||
2239 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
2240 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
2241 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
2242 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
2243 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
2244 | ||
2245 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
2246 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
2247 | Document removal of -traditional mode for compilation, and | |
2248 | remove documentation only relevant to that mode. | |
2249 | ||
2250 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
2251 | config/convex/convex.h, config/d30v/d30v.h, | |
2252 | config/i386/dgux.h, config/i386/osf1elf.h, | |
2253 | config/i386/osfelf.h, config/i386/osfrose.h, | |
2254 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
2255 | config/m68k/hp310.h, config/m88k/dgux.h, | |
2256 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
2257 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
2258 | config/mips/abi64.h, config/mips/osfrose.h, | |
2259 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
2260 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
2261 | config/stormy16/stormy16.h: Remove all references to | |
2262 | -traditional from target specs. Delete all mention of the | |
2263 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
2264 | delete a couple of commented-out definitions of | |
2265 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
2266 | to -traditional. | |
2267 | ||
2268 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
2269 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
2270 | ||
e0b3a8ff ZW |
2271 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
2272 | ||
2273 | * mklibgcc.in: Don't use \n in a line subject to | |
2274 | interpretation by echo. | |
2275 | ||
5c6a85b7 GS |
2276 | 2002-02-27 Graham Stott <grahams@redhat.com> |
2277 | ||
72b05af1 GS |
2278 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
2279 | Constify NAME. | |
2280 | ||
7d104885 GS |
2281 | * loop.c (prescan_loop): Handle PARALLEL. |
2282 | ||
8ed805d2 GS |
2283 | * unroll.c (loop_iterations): Return 0 if the add_val for |
2284 | a BIV is REG. | |
2285 | ||
fd478a0a GS |
2286 | * final.c (output_operand_lossage): Constify PFX_STR. |
2287 | ||
5c6a85b7 GS |
2288 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
2289 | ||
cd98ad03 JH |
2290 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
2291 | ||
2292 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
2293 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
2294 | ||
639ae55b JH |
2295 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
2296 | ||
2297 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
2298 | ||
e808ec9c NB |
2299 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
2300 | ||
2301 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
2302 | arguments. | |
2303 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
2304 | if parsing macro args when entering a directive. | |
2305 | * cppmacro.c (collect_args): No need to handle directives | |
2306 | in macro arguments. | |
2307 | (enter_macro_context, replace_args): Use the original macro | |
2308 | definition in case it was redefined whilst collecting arguments. | |
2309 | doc: | |
2310 | * cpp.texi: Update. | |
2311 | ||
f585a356 DE |
2312 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
2313 | ||
2314 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
2315 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
2316 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
2317 | method on AIX. | |
2318 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
2319 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
2320 | (load_toc_v4_PIC_2): Same. | |
2321 | ||
2322 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
2323 | ||
2324 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
2325 | ||
d699058e RH |
2326 | 2002-02-26 Richard Henderson <rth@redhat.com> |
2327 | ||
2328 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
2329 | ||
eadccfbb RH |
2330 | 2002-02-26 Richard Henderson <rth@redhat.com> |
2331 | ||
2332 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
2333 | MODULE_LOCAL_P; improve commentary. | |
2334 | ||
7080ada1 ZW |
2335 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
2336 | ||
2337 | * doc/cpp.texi: Clarify documentation of relationship between | |
2338 | #line and #include. | |
2339 | ||
b42cff6b KH |
2340 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
2341 | ||
2342 | * config/h8300/h8300-protos.h: Update the prototype for | |
2343 | compute_logical_op_length. Add the prototype for | |
2344 | compute_logical_op_cc. | |
2345 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
2346 | code from operands. | |
2347 | (compute_logical_op_cc): New. | |
2348 | * config/h8300/h8300.md: Combine all the logical op patterns | |
2349 | in HImode and SImode. Use compute_logical_op_cc. | |
2350 | ||
831c4e87 KC |
2351 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
2352 | ||
2353 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
2354 | length suffixs to x87 opcodes when in Intel mode. | |
2355 | ||
ff88fe10 RS |
2356 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
2357 | ||
2358 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
2359 | (init_emit_once): Update calls. | |
2360 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
2361 | (init_syntax_once): Prototype. | |
2362 | ||
d4108589 JDA |
2363 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2364 | ||
2365 | * pa-linux.h (LIB_SPEC): Update definition. | |
2366 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
2367 | ||
e013f3c7 RH |
2368 | 2002-02-26 Richard Henderson <rth@redhat.com> |
2369 | ||
2370 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
2371 | if we emitted a stop bit. | |
2372 | ||
9e944a16 JJ |
2373 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
2374 | ||
2375 | * configure.in (libgcc_visibility): Substitute. | |
2376 | * configure: Rebuilt. | |
2377 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
2378 | defined symbols .hidden. | |
2379 | ||
47bd70b5 JJ |
2380 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
2381 | ||
2382 | * attribs.c (c_common_attribute_table): Add visibility. | |
2383 | (handle_visibility_attribute): New function. | |
2384 | * varasm.c (assemble_visibility): New function. | |
2385 | * output.h (assemble_visibility): Add prototype. | |
2386 | * tree.h (MODULE_LOCAL_P): Define. | |
2387 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
2388 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
2389 | for MODULE_LOCAL_P symbols too. | |
2390 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
2391 | MODULE_LOCAL_P symbols the same way as local symbols. | |
2392 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
2393 | into .sdata/.sbss by the user. | |
2394 | * doc/extend.texi (Function Attributes): Document visibility | |
2395 | attribute. | |
2396 | ||
6d73371a JJ |
2397 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
2398 | ||
2399 | PR debug/5770 | |
2400 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
2401 | STRING_CST initializer spanning the whole variable without | |
2402 | embedded zeros. | |
2403 | If expand_expr returned MEM, don't use it. | |
2404 | ||
06e224f7 AO |
2405 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
2406 | ||
2407 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
2408 | generate a die for the lexical block. | |
2409 | ||
40367e2d KH |
2410 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
2411 | ||
2412 | * config/h8300/h8300-protos.h: Add a prototype for | |
2413 | compute_logical_op_length. | |
2414 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
2415 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
2416 | compute_logical_op_length for length. | |
2417 | ||
0e98f924 AH |
2418 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
2419 | ||
831c4e87 KC |
2420 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
2421 | for vectors. | |
2422 | (gen_type_die): Same. | |
0e98f924 | 2423 | |
831c4e87 | 2424 | * attribs.c (handle_vector_size_attribute): Set debug information. |
0e98f924 | 2425 | |
a50cfd52 DE |
2426 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
2427 | ||
831c4e87 KC |
2428 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
2429 | fix incorrect generation of merge high instructions instead | |
2430 | of merge low. | |
a50cfd52 | 2431 | |
b7997284 AH |
2432 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
2433 | ||
831c4e87 KC |
2434 | * c-typeck.c (really_start_incremental_init): Use |
2435 | bitsize_zero_node for vectors. | |
b7997284 | 2436 | |
376aec5d AH |
2437 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
2438 | ||
831c4e87 KC |
2439 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
2440 | ("*set_vrsave_internal"): Same. | |
376aec5d | 2441 | |
3b40e71b RH |
2442 | 2002-02-25 Richard Henderson <rth@redhat.com> |
2443 | ||
2444 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
2445 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
2446 | ||
232b8f52 JJ |
2447 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
2448 | ||
2449 | PR target/5755 | |
2450 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
2451 | fake structure return argument if it was passed on the stack. | |
2452 | ||
67282790 JM |
2453 | 2002-02-25 Jason Merrill <jason@redhat.com> |
2454 | ||
2455 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
2456 | RESULT_DECL. | |
2457 | ||
5c181756 AO |
2458 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
2459 | ||
2460 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
2461 | link with shared_name only. | |
2462 | * doc/invoke.texi (Link Options): Document new behavior. | |
2463 | ||
6786d201 AH |
2464 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
2465 | ||
831c4e87 | 2466 | * c-typeck.c (push_init_level): Handle vectors. |
6786d201 | 2467 | |
7d6040e8 AO |
2468 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
2469 | ||
2470 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
2471 | operands of SPARC_SETHI_P. | |
2472 | (input_operand): Likewise. | |
2473 | (sparc_emit_set_const32): Likewise. | |
2474 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
2475 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
2476 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
2477 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
2478 | (movdi_insn_sp64_vis): Likewise. | |
2479 | (movdi split, movdf split): Use SETHI32. | |
2480 | * doc/md.texi: Document SPARC constraints L, M and N. | |
2481 | ||
b188f760 AH |
2482 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
2483 | ||
831c4e87 KC |
2484 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
2485 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
b188f760 | 2486 | |
831c4e87 KC |
2487 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
2488 | gen_get_vrsave_internal. | |
b188f760 | 2489 | |
8041889f RK |
2490 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2491 | ||
2492 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
2493 | ||
a47ed310 NB |
2494 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
2495 | ||
2496 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
2497 | otherwise of wide character constants correct. | |
2498 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
2499 | ||
cb8f73be RK |
2500 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2501 | ||
2502 | * optabs.c (widen_operand): Only call convert_modes for | |
2503 | promoted SUBREG if signedness matches. | |
2504 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
2505 | ||
2450e0b8 NB |
2506 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
2507 | ||
2508 | * cpplib.c (glue_header_name): Use local buffer to build up | |
2509 | header name. | |
2510 | ||
70b6aaed NB |
2511 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
2512 | ||
2513 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
2514 | ||
6be580c7 KH |
2515 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
2516 | ||
2517 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
2518 | H8/300[HS] separately. | |
2519 | * config/h8300/h8300.md: Remove the early clobber constraint | |
2520 | from bit field patterns. | |
2521 | ||
35dad9f1 KH |
2522 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
2523 | ||
2524 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
2525 | register_operand. | |
2526 | (mulhisi3): Likewise. | |
2527 | (umulqisi3): Likewise. | |
2528 | (umulhisi3): Likewise. | |
2529 | ||
ab8e2228 NB |
2530 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
2531 | ||
2532 | * cppinit.c (output_deps): Correct test for stdout output. | |
2533 | (init_dependency_output): Cure warning. | |
2534 | ||
ac6f8a15 RK |
2535 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2536 | ||
2537 | * expr.c (store_expr): When converting expression to promoted | |
2538 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
2539 | of the expansion of EXP. | |
2540 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
2541 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
2542 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
2543 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
2544 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
2545 | ||
f282ffb3 JM |
2546 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
2547 | ||
2548 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
2549 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
2550 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
2551 | ||
44c5edc0 JJ |
2552 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
2553 | ||
2554 | PR optimization/5747 | |
2555 | * loop.c (scan_loop): Update reg info if move_movables created new | |
2556 | pseudos. | |
2557 | ||
f98e43c0 DE |
2558 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
2559 | ||
2560 | * gcc.c (init_gcc_spec): Revert last change. | |
2561 | ||
e72247f4 DE |
2562 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
2563 | ||
2564 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
2565 | gpc_reg_operand constraint. | |
2566 | ||
2567 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
2568 | ||
2569 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
2570 | Simplify comparison of `low'. | |
2571 | (add_operand): Fix formatting. | |
2572 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
57deb3a1 | 2573 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
e72247f4 DE |
2574 | (rs6000_stack_info): Remove redundant test setting push_p. |
2575 | (output_toc): Fix formatting. | |
2576 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
2577 | cc_reg_not_cr0_operand constraint. | |
2578 | (booldi3, boolcdi3 splitters): Same. | |
2579 | ||
a5c30531 AH |
2580 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
2581 | ||
831c4e87 | 2582 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
a5c30531 | 2583 | |
43710f9f DE |
2584 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
2585 | ||
2586 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
2587 | gcc invoked with -shared-libgcc. | |
2588 | ||
3256b817 JJ |
2589 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
2590 | ||
2591 | PR c++/5748 | |
2592 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
2593 | decl if any of elements was TREE_USED. | |
2594 | ||
9e0625a3 AO |
2595 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
2596 | ||
2597 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
2598 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
2599 | (arith_4096_operand): Don't throw high bits away. | |
2600 | (const64_operand): Take sign extension of CONST_INTs into account. | |
2601 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
2602 | (GEN_HIGHINT64): Likewise. | |
2603 | (sparc_emit_set_const64_quick1): Likewise. | |
2604 | (const64_is_2insns): Likewise. | |
2605 | (print_operand): Use trunc_int_for_mode for sign extension. | |
2606 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
2607 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
2608 | chars. Assume CONST_INT is already properly sign-extended. | |
2609 | (movdi split): Sign-extend each SImode part. | |
2610 | (andsi3 split): Don't mask high bits off, so that result | |
2611 | remains properly sign-extend. | |
2612 | (iorsi3 split): Likewise. | |
2613 | (xorsi3 split): Likewise. | |
2614 | ||
54fec3d5 RS |
2615 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
2616 | ||
2617 | * fold-const.c (fold): Fix typo in comments. | |
2618 | ||
667ada9b DN |
2619 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
2620 | ||
2621 | * Makefile.in (langhooks.o): Update dependencies. | |
2622 | ||
29ac78d5 DN |
2623 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
2624 | ||
2625 | * langhooks.c: Include flags.h. | |
2626 | ||
6aa77e6c AH |
2627 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
2628 | ||
2629 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
2630 | ||
2631 | * c-common.c (c_common_post_options): Set inline trees by | |
2632 | default. | |
2633 | ||
2634 | * doc/extend.texi (Function Attributes): Document always_inline | |
2635 | attribute. | |
2636 | Update documentation about inlining when not optimizing. | |
2637 | ||
2638 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
2639 | ||
2640 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
2641 | unless DECL_ALWAYS_INLINE. | |
2642 | ||
2643 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
2644 | unless DECL_ALWAYS_INLINE. | |
2645 | (c_disregard_inline_limits): Disregard if always_inline set. | |
2646 | ||
2647 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
2648 | Disregard if always_inline set. | |
2649 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
2650 | unless DECL_ALWAYS_INLINE. | |
2651 | ||
2652 | * attribs.c (handle_always_inline_attribute): New. | |
2653 | (c_common_attribute_table): Add always_inline. | |
2654 | ||
2655 | * config/rs6000/altivec.h: Add prototypes for builtins | |
2656 | requiring the always_inline attribute. | |
2657 | ||
c410d49e EC |
2658 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
2659 | ||
2660 | * expmed.c (store_bit_field): Try to simplify the subreg | |
2661 | before generating a new one when when the mode size of | |
2662 | value is less than maxmode. | |
2663 | ||
e3c8ea67 RH |
2664 | 2002-02-21 Richard Henderson <rth@redhat.com> |
2665 | ||
2666 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
2667 | than gen_rtx_PLUS to form the sum. | |
2668 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
2669 | when force_operand returns a register. | |
2670 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
2671 | return a sum. Do not force addresses into registers. | |
2672 | (expand_expr): Likewise. | |
2673 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
2674 | to canonicalize arithmetic that didn't simpify. | |
2675 | (simplify_plus_minus): New argument force; update | |
2676 | all callers. Don't split CONST unless we can do something with it, | |
2677 | and wouldn't lose the constness of the operands. | |
2678 | ||
2679 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
2680 | that we generated earlier. | |
2681 | ||
c1a046e5 TT |
2682 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
2683 | ||
2684 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
2685 | (output_line_info): Use constant `1', with a long explanatory | |
2686 | comment. | |
2687 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
2688 | ||
31fbaad4 R |
2689 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2690 | ||
2691 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
2692 | delete it. | |
2693 | ||
a7f52356 R |
2694 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2695 | ||
2696 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
2697 | If input is constant, do shifts at compile time. | |
2698 | ||
924fcc4e JM |
2699 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
2700 | ||
2701 | * doc/extend.texi: Fix some more overfull hboxes. | |
2702 | ||
e5a20888 JJ |
2703 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
2704 | ||
2705 | PR optimization/4994 | |
2706 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
2707 | register moves. | |
2708 | ||
2709 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
22273300 JJ |
2710 | |
2711 | PR c++/4574 | |
2712 | * expr.h (expand_and): Add mode argument. | |
2713 | * expmed.c (expand_and): Add mode argument. | |
2714 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
2715 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
2716 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
2717 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
2718 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
2719 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
2720 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
2721 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
2722 | gen_rtx (CONST_INT, VOIDmode, x). | |
2723 | ||
7133e992 JJ |
2724 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
2725 | ||
2726 | PR c/4697: | |
2727 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
2728 | ||
e2ec05a6 TG |
2729 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
2730 | ||
2731 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
831c4e87 | 2732 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
e2ec05a6 | 2733 | |
9dd791c8 AO |
2734 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
2735 | ||
2736 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
2737 | SUBREG or ZERO_EXTEND. | |
2738 | ||
7ab56274 R |
2739 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2740 | ||
2741 | * sh.h (current_function_anonymous_args): Remove. | |
2742 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
2743 | of current_function_varargs and current_function_stdarg is set. | |
2744 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
2745 | current_function_stdarg / TARGET_SH5 instead of | |
2746 | current_function_anonymous_args. | |
2747 | ||
2748 | * sh64.h (TARGET_VERSION): Define. | |
2749 | ||
b1765bde DE |
2750 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
2751 | ||
2752 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
2753 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
2754 | ||
2755 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
2756 | ||
2757 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
2758 | bits of SImode const_int. | |
2759 | (includes_rshift_p): Likewise. | |
2760 | (print_operand): Call mask_operand and mask64_operand with correct | |
c410d49e | 2761 | mode. |
b1765bde DE |
2762 | (rs6000_output_function_epilogue): Pad traceback table to word. |
2763 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
2764 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
2765 | mask64_operand with correct mode. | |
b1765bde DE |
2766 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
2767 | ||
149d6f9e JJ |
2768 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
2769 | ||
2770 | PR debug/4461 | |
2771 | * varasm.c (get_pool_constant_mark): New. | |
2772 | * rtl.h (get_pool_constant_mark): Add prototype. | |
2773 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
2774 | be represented if it has not been output. | |
2775 | ||
4161da12 AO |
2776 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
2777 | ||
2778 | * combine.c (do_SUBST): Sanity check substitutions of | |
2779 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
2780 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
2781 | CONST_INT into its operand. | |
2782 | (known_cond): Likewise, for ZERO_EXTEND. | |
2783 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
2784 | allow for simplification of wide modes. Reject CONST_INTs in | |
2785 | ZERO_EXTEND when their actual mode is not given. | |
2786 | ||
3704ef74 AO |
2787 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
2788 | ||
2789 | * c-decl.c (pushdecl): If no global declaration is found for an | |
2790 | extern declaration in block scope, try a limbo one. | |
2791 | ||
7552da58 JJ |
2792 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
2793 | ||
2794 | PR c++/4401 | |
2795 | * c-common.c (pointer_int_sum): Moved from... | |
2796 | * c-typeck.c (pointer_int_sum): ...here. | |
2797 | * c-common.h (pointer_int_sum): Add prototype. | |
2798 | ||
00fae85d JJ |
2799 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
2800 | ||
2801 | PR c++/5713 | |
2802 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
2803 | redeclaration. | |
2804 | ||
4636c87e JJ |
2805 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
2806 | Jakub Jelinek <jakub@redhat.com> | |
2807 | ||
2808 | PR c/4389 | |
2809 | * tree.c (host_integerp): Ensure that the constant integer is | |
2810 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
2811 | when pos is zero or non-zero respectively. Clarify comment. | |
2812 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
2813 | usage; the pos argument should be zero when assigning to a | |
2814 | signed HOST_WIDE_INT. | |
2815 | ||
59bef189 RH |
2816 | 2002-02-20 Richard Henderson <rth@redhat.com> |
2817 | ||
2818 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
2819 | of the operand, rather than assuming TImode. | |
2820 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
2821 | using nonimmediate_operand for both operands. | |
2822 | (ix86_expand_timode_binop_builtin): Likewise. | |
2823 | (ix86_expand_store_builtin): Validate operand 1. | |
2824 | (ix86_expand_unop1_builtin): Likewise. | |
2825 | ||
9338ffe6 | 2826 | 2002-02-20 Philip Blundell <philb@gnu.org> |
c410d49e | 2827 | |
9338ffe6 PB |
2828 | PR 5705 |
2829 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
2830 | ||
f322b423 RH |
2831 | 2002-02-20 Richard Henderson <rth@redhat.com> |
2832 | ||
2833 | PR c/5615 | |
2834 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
2835 | ||
d94084f7 TT |
2836 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
2837 | ||
2838 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
2839 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
2840 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
2841 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
2842 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
2843 | unconditionally. | |
2844 | ||
37fa124a AM |
2845 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
2846 | ||
2847 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
2848 | for (const_int 0) in X not just INTVAL. | |
2849 | ||
6e5bb5ad JM |
2850 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
2851 | ||
2852 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
2853 | ||
420e7dfa DN |
2854 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
2855 | ||
2856 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
2857 | operations if the field does not start at a mode boundary. | |
2858 | ||
1b7a2af6 JS |
2859 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
2860 | ||
2861 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
2862 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
2863 | Also done for -Acpu and -Amachine. | |
2864 | ||
56cd5b95 NB |
2865 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
2866 | ||
2867 | * cppinit.c (init_dependency_output): Take deps output file | |
2868 | from -o if none given with -MF. Suppress normal output. | |
c410d49e | 2869 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
56cd5b95 NB |
2870 | * doc/cpp.texi, doc/invoke.texi: Update. |
2871 | ||
042cdf71 ZW |
2872 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
2873 | ||
2874 | * toplev.c (output_quoted_string): Write unprintable | |
2875 | characters with octal escapes. | |
2876 | ||
c1f11548 DE |
2877 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
2878 | ||
2879 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
2880 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
2881 | ||
2882 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
c410d49e | 2883 | |
c1f11548 DE |
2884 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
2885 | MODE_MASK. | |
2886 | (constant_pool_expr_1): Fix formatting. | |
2887 | (rs6000_legitimize_reload_address): Likewise. | |
2888 | ||
c964d90e RK |
2889 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2890 | ||
2891 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
2892 | now that we have one. | |
2893 | ||
ae34ac46 ZW |
2894 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
2895 | ||
2896 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
2897 | end of first block of bitfields (which was only seven bits); | |
2898 | rename dummy to unused_1; remove comment which is no longer true. | |
2899 | ||
293c28ee GS |
2900 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
2901 | ||
2902 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
2903 | ||
7b8781c8 PB |
2904 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
2905 | ||
0cb6c58d | 2906 | PR 5399 |
7b8781c8 PB |
2907 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
2908 | if generating PIC. | |
2909 | ||
2910 | PR 5054 | |
2911 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
2912 | arm_is_longcall_p rather than inspecting call-type cookie | |
2913 | directly. | |
2914 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
2915 | ||
5c464583 GS |
2916 | 2002-02-19 Graham Stott <grahams@redhat.com> |
2917 | ||
2918 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
2919 | ||
71c061e6 DE |
2920 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
2921 | ||
2922 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
2923 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
6d1def5c | 2924 | (FP_SAVE_INLINE): Delete. |
71c061e6 DE |
2925 | |
2926 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
2927 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
2928 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
2929 | * config/rs6000/crtsavres.asm: New file. | |
2930 | ||
3a7731fd PB |
2931 | 2002-02-19 Philip Blundell <philb@gnu.org> |
2932 | ||
2933 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
2934 | functions. | |
2935 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
2936 | (output_return_instruction): Allow interrupt functions to return with | |
2937 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
2938 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
2939 | interrupt function. | |
2940 | ||
14f583b8 PB |
2941 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
2942 | ||
2943 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
2944 | decl, not just FUNCTION_DECL. | |
2945 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
2946 | (arm_assemble_integer): Likewise. | |
2947 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
2948 | marked local. | |
c410d49e | 2949 | |
4cb7482c MG |
2950 | 2002-02-19 matthew green <mrg@eterna.com.au> |
2951 | ||
2952 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
2953 | (sparc64-*-netbsd*): New target. | |
2954 | * config/sparc/netbsd-elf.h: New file. | |
2955 | * config/sparc/t-netbsd64: New file. | |
2956 | ||
2df3a718 GS |
2957 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
2958 | ||
2959 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
2960 | ||
77f6c1eb RS |
2961 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
2962 | ||
2963 | * doc/invoke.texi: explicitly list the style guidelines that | |
2964 | -Weffc++ checks for. | |
2965 | ||
fd973d56 JH |
2966 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
2967 | ||
2968 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
2969 | ||
30518e45 NB |
2970 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
2971 | ||
2972 | PR other/5718 | |
2973 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
2974 | only if not -E. If -E, pass -o through to the preprocessor. | |
2975 | ||
39ea5704 KH |
2976 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
2977 | ||
2978 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
2979 | register number with an appropriate macro. | |
2980 | ||
7355dba7 BM |
2981 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
2982 | ||
2983 | * doc/rtl.texi (Constants): Close @code tag. | |
2984 | ||
91c8aa9e AH |
2985 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
2986 | ||
2987 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
2988 | ("mmx_uavgv4hi3"): Same. | |
2989 | ("pmulhrwv4hi3"): Same. | |
2990 | ||
2991 | * tree-inline.c (walk_tree): Handle vectors. | |
2992 | ||
2993 | * c-common.c (constant_expression_warning): Handle vectors. | |
2994 | (overflow_warning): Same. | |
2995 | ||
2996 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
2997 | ||
2998 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
2999 | (rtx_varies_p): Same. | |
3000 | (count_occurrences): Same. | |
3001 | (regs_set_between_p): Same. | |
3002 | (modified_between_p): Same. | |
3003 | (modified_in_p): Same. | |
3004 | (volatile_insn_p): Same. | |
3005 | (volatile_refs_p): Same. | |
3006 | (side_effects_p): Same. | |
3007 | (may_trap_p): Same. | |
3008 | (inequality_comparisons_p): Same. | |
3009 | (replace_regs): Same. | |
3010 | (computed_jump_p_1): Same. | |
3011 | ||
3012 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
3013 | argument. | |
3014 | (inner_mode_array): New. | |
3015 | (copy_rtx): Handle vectors. | |
3016 | (copy_most_rtx): Same. | |
3017 | (rtx_equal_p): Same. | |
3018 | (get_mode_alignment): Adjust for vectors. | |
3019 | ||
3020 | * resource.c (mark_referenced_resources): Handle vectors. | |
3021 | (mark_set_resources): Same. | |
3022 | ||
3023 | * reload1.c (eliminate_regs): Handle vectors. | |
3024 | (elimination_effects): Same. | |
3025 | (scan_paradoxical_subregs): Same. | |
3026 | ||
3027 | * reload.c (subst_reg_equivs): Handle vectors. | |
3028 | ||
3029 | * regrename.c (scan_rtx): Handle vectors. | |
3030 | ||
3031 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
3032 | ||
3033 | * recog.c (find_single_use_1): Handle vectors. | |
3034 | ||
3035 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
3036 | (contains_replace_regs): Same. | |
3037 | (memref_referenced_p): Same. | |
3038 | ||
3039 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
3040 | (subst_constants): Same. | |
3041 | ||
3042 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
3043 | (encode_units_mask): Same. | |
3044 | (clear_struct_flag): Same. | |
3045 | (count_sub_rtxs): Same. | |
3046 | ||
3047 | * gcse.c (want_to_gcse_p): Handle vectors. | |
3048 | (oprs_unchanged_p): Same. | |
3049 | (hash_expr_1): Same. | |
3050 | (oprs_not_set_p): Same. | |
3051 | (expr_killed_p): Same. | |
3052 | (compute_transp): Same. | |
3053 | (store_ops_ok): Same. | |
3054 | ||
3055 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
3056 | of vectors. | |
3057 | (fixup_var_refs_1): Same. | |
3058 | (instantiate_virtual_regs_1): Same. | |
3059 | ||
3060 | * fold-const.c (operand_equal_p): Handle vectors. | |
3061 | (fold): Same. | |
3062 | (rtl_expr_nonnegative_p): Same. | |
3063 | ||
3064 | * flow.c (mark_used_regs): Handle vectors. | |
3065 | ||
3066 | * df.c (df_uses_record): Handle vectors. | |
3067 | ||
3068 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
3069 | (cselib_mem_conflict_p): Same. | |
3070 | (hash_rtx): Same. | |
3071 | ||
3072 | * cse.c (canon_reg): Handle vectors. | |
3073 | (fold_rt): Same. | |
3074 | (cse_process_notes): Same. | |
3075 | (count_reg_usage): Same. | |
3076 | (canon_hash): Same. | |
3077 | ||
3078 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
3079 | ||
3080 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
3081 | ||
3082 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
3083 | (gen_rtx): Handle CONST_VECTOR. | |
3084 | (gen_const_vector_0): New. | |
3085 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
3086 | (reset_used_flags): Same. | |
3087 | (copy_insn_1): Same. | |
3088 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
3089 | ||
3090 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
3091 | ||
3092 | * doc/rtl.texi (Constants): Document const_vector. | |
3093 | (CONST0_RTX): Update for vectors. | |
3094 | (RTL sharing): Same. | |
3095 | ||
3096 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
3097 | ||
3098 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
3099 | (struct tree_vector): New. | |
3100 | (union tree_node): Add vector node. | |
3101 | (build_vector): Add prototype. | |
3102 | ||
3103 | * tree.def (VECTOR_CST): New. | |
3104 | ||
3105 | * tree.c (build_vector): New. | |
3106 | ||
3107 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
3108 | ||
3109 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
3110 | (CONST_VECTOR_ELT): New. | |
3111 | (CONST_VECTOR_NUNITS): New. | |
3112 | ||
3113 | * machmode.h (GET_MODE_INNER): New. | |
3114 | (DEF_MACHMODE): Accept 8th arg. | |
3115 | ||
3116 | * machmode.def: Add 8th argument for vector inner mode. | |
3117 | Add inner vector modes for vectors. | |
3118 | ||
3119 | * rtl.def (VEC_CONST): Remove. | |
3120 | (CONST_VECTOR): New. | |
3121 | ||
3122 | * expr.c (clear_storage): Allow vectors. | |
3123 | (is_zeros_p): Handle VECTOR_CST. | |
3124 | ||
3125 | * varasm.c (output_constant_pool): Handle vectors. | |
3126 | (rtx_const): Add veclo and vechi fields. | |
3127 | (kind): Add RTX_VECTOR. | |
3128 | (decode_rtx_const): Add case for vector. | |
3129 | ||
3130 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
c410d49e | 3131 | |
91c8aa9e AH |
3132 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
3133 | constants. Force easy vector constants into memory. | |
3134 | (easy_vector_constant): New. | |
3135 | (emit_easy_vector_constant): New. | |
3136 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
3137 | darwin. | |
3138 | ||
3139 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
3140 | instruction does. | |
3141 | ("altivec_lvxl"): Same. | |
3142 | (altivec_lvebx): Same. | |
3143 | (altivec_lvehx): Same. | |
3144 | (altivec_lvewx): Same. | |
3145 | ("*movv4si_const0"): New. | |
3146 | ("*movv4sf_const0"): New. | |
3147 | ("*movv8hi_const0"): New. | |
3148 | ("*movv16qi_const0"): New. | |
3149 | ||
d4d6d0ce KH |
3150 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
3151 | ||
3152 | * config/h8300/h8300.c (notice_update_cc): Use | |
3153 | cc_status.value2. | |
3154 | ||
4915d3aa KH |
3155 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
3156 | ||
3157 | * config/h8300/h8300.md (divmod patterns): Change the | |
3158 | constraints for operands[1] to register_operand. | |
3159 | ||
82be00ee KH |
3160 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
3161 | ||
3162 | * config/h8300/h8300-protos.h: Remove the prototype for | |
3163 | p_operand. | |
3164 | * config/h8300/h8300.c (p_operand): Remove. | |
3165 | * config/h8300/h8300.md: Replace p_operand with | |
3166 | const_int_operand. | |
3167 | ||
1768c26f PB |
3168 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
3169 | ||
3170 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
3171 | comment. | |
3172 | (output_return_instruction): Allow use of LDR to unstack | |
3173 | return addresss even for interrupt handlers or when | |
3174 | interworking. If compiling for ARMv5, use interworking-safe | |
3175 | return instructions by default. Remove duplicated code and | |
3176 | lengthy "strcat" sequences. | |
3177 | ||
ccd84f51 FS |
3178 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3179 | ||
3180 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
3181 | (LINK_EH_SPEC): Define. | |
3182 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
3183 | ||
2c153108 UW |
3184 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
3185 | ||
3186 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
3187 | frame_related flag for call-clobbered registers. | |
3188 | ||
e95d6b23 JH |
3189 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
3190 | ||
3191 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
3192 | (construct_container): Fix handling of SSE operands. | |
3193 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
3194 | (mmx_maskmovq_rex): New pattern. | |
3195 | ||
c43a12b5 JH |
3196 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
3197 | ||
3198 | * regrename.c (kill_set_value): Handle subregs properly. | |
3199 | ||
aeb85a15 DB |
3200 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
3201 | ||
3202 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
c410d49e | 3203 | from objc_class_name. |
aeb85a15 | 3204 | |
a615ca3e RH |
3205 | 2002-02-17 Richard Henderson <rth@redhat.com> |
3206 | ||
3207 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
3208 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
3209 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
3210 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
3211 | * config/alpha/alpha-protos.h: Update. | |
3212 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
3213 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
3214 | ||
ddb28441 RM |
3215 | 2002-02-17 Roland McGrath <roland@frob.com> |
3216 | ||
3217 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
3218 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
3219 | * config/rs6000/gnu.h: New file. | |
3220 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
3221 | Grok "gnu" in rs6000_abi_name. | |
3222 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
3223 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
3224 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
3225 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
3226 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
3227 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
3228 | ||
f6f8ada3 JJ |
3229 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
3230 | ||
3231 | PR c/3444: | |
3232 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
3233 | shortening. | |
3234 | ||
e16b32fc PT |
3235 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
3236 | ||
3237 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
3238 | ENDFILE_SPEC before (re)defining them. | |
3239 | ||
f9477efd KH |
3240 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
3241 | ||
3242 | * config/h8300/h8300.c: Fix formatting. | |
3243 | * config/h8300/h8300.h: Likewise. | |
3244 | ||
404ae494 PT |
3245 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
3246 | ||
3247 | * doc/tm.texi: Explain why empty strings should not be | |
3248 | marked for translation. | |
3249 | ||
a52453cc PT |
3250 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
3251 | ||
3252 | * final.c (output_operand_lossage): Changed to accept | |
3253 | printf style arguments. Change calls where necessary. | |
3254 | * output.h (output_operand_lossage): Change declaration | |
3255 | accordingly. Update copyright. | |
3256 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
3257 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
3258 | Update copyright date where necessary. | |
c410d49e | 3259 | |
a52453cc PT |
3260 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
3261 | sprintf. | |
3262 | ||
3263 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
3264 | Rename parameter so that exgettext recognizes it as | |
3265 | translatable message. | |
3266 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
3267 | ||
1c11abc4 KH |
3268 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
3269 | ||
3270 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
3271 | hard coded register number with an appropriate macro. | |
3272 | (HARD_REGNO_MODE_OK): Likewise. | |
3273 | (ARG_POINTER_REGNUM): Likewise. | |
3274 | (STATIC_CHAIN_REGNUM): Likewise. | |
3275 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
3276 | * config/h8300/h8300.md (define_constants): Define more | |
3277 | register numbers. | |
3278 | ||
a5d17ff3 PT |
3279 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
3280 | ||
3281 | * config/i386/i386.h: Don't mark empty strings for translation. | |
3282 | ||
1a7289c4 L |
3283 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
3284 | ||
3285 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
3286 | ||
afb58288 ZW |
3287 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
3288 | ||
3289 | * cppinit.c (merge_include_chains): Check for brack being | |
3290 | NULL before attempting to merge it with qtail. | |
3291 | ||
d2af4dbd AC |
3292 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
3293 | ||
3294 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
3295 | DBX_DEBUG. | |
3296 | ||
2e1ed1e3 JDA |
3297 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3298 | ||
3299 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
3300 | ||
604c75b2 JDA |
3301 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3302 | ||
3303 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
3304 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
3305 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
3306 | ||
1a42b072 RK |
3307 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3308 | ||
7303604f | 3309 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
1a42b072 RK |
3310 | now only if !TARGET_FIX. |
3311 | (*movsi_nt_vms_fix): New pattern. | |
3312 | ||
c2ea1ac6 DR |
3313 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
3314 | ||
3315 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
3316 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
3317 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
3318 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
3319 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
3320 | (unicosmk_gen_dsib): Likewise. | |
3321 | ||
725e58b1 RK |
3322 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3323 | ||
3324 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
3325 | ||
13e58269 UW |
3326 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
3327 | ||
c410d49e | 3328 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
13e58269 UW |
3329 | check_and_change_labels, s390_final_chunkify): Delete. |
3330 | (s390_split_branches, s390_chunkify_pool): New functions. | |
3331 | (s390_function_prologue): Call them. | |
c410d49e | 3332 | |
13e58269 UW |
3333 | * config/s390/s390.h (S390_REL_MAX): Delete. |
3334 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
3335 | ||
c410d49e | 3336 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
13e58269 UW |
3337 | attribute calculation. |
3338 | ||
3339 | ||
34d1b01d DE |
3340 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
3341 | ||
3342 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
3343 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
3344 | ||
be5cc51a JDA |
3345 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3346 | ||
3347 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
3348 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
3349 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
3350 | ||
ee96ce90 RS |
3351 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
3352 | ||
3353 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
3354 | ||
05fa709d RS |
3355 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
3356 | ||
3357 | * reload.c (find_dummy_reload): Check that an output register | |
3358 | is valid for its mode. | |
3359 | ||
4606272b AO |
3360 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
3361 | ||
9a360704 AO |
3362 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
3363 | to simplify it. | |
3364 | ||
4606272b AO |
3365 | * function.c (assign_parms): Demote promoted argument passed by |
3366 | transparent reference. | |
3367 | ||
e62d89a1 JS |
3368 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
3369 | ||
3370 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
3371 | -Acpu() and -Amachine() to eliminate warnings. | |
3372 | ||
6c4cf695 UW |
3373 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
3374 | ||
3375 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
3376 | ||
037f11ef KH |
3377 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
3378 | ||
3379 | * config/h8300/h8300-protos.h: Update the prototype for | |
3380 | const_costs. | |
3381 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
3382 | more expensive operation. | |
3383 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
3384 | reference to const_costs. | |
3385 | ||
fdc76b09 HPN |
3386 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
3387 | ||
3388 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
3389 | ||
d76e6800 JJ |
3390 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
3391 | ||
3392 | PR c/5503: | |
3393 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
3394 | use arguments from newtype. | |
3395 | ||
5ae590d7 EC |
3396 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
3397 | ||
3398 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
3399 | on the same command line. Fix error message in cpu processing. | |
3400 | Remove architecture and ISA checks. | |
3401 | ||
b8513691 AH |
3402 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
3403 | ||
831c4e87 | 3404 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
b8513691 | 3405 | |
831c4e87 | 3406 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
b8513691 | 3407 | |
78c875e8 AH |
3408 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
3409 | ||
831c4e87 KC |
3410 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
3411 | alternatives. | |
3412 | ("*movv8hi_internal1"): Same. | |
3413 | ("*movv16qi_internal1"): Same. | |
3414 | ("*movv4sf_internal1"): Same. | |
78c875e8 | 3415 | |
831c4e87 KC |
3416 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
3417 | not push_reload for altivec modes. | |
78c875e8 | 3418 | |
d76e6800 | 3419 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
f22b4bc4 JS |
3420 | |
3421 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
3422 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
3423 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
3424 | many targets. | |
3425 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
3426 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
3427 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
3428 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
3429 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
3430 | config/m68k/rtemself.h: Ditto. | |
3431 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
3432 | config/mips/rtems64.h: Ditto. | |
3433 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
3434 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
3435 | Ditto. | |
3436 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
3437 | config/sparc/rtemself.h: Ditto. | |
3438 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
3439 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
3440 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
3441 | more like arm-elf. | |
3442 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
3443 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
3444 | target made more similar to i386-elf. | |
3445 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
3446 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
3447 | be similar to config/m68k/t-m68kelf. | |
3448 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
3449 | ||
8686336f JH |
3450 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
3451 | ||
3452 | * regmove.c (kill_value): Handle subregs. | |
3453 | ||
558740bf JH |
3454 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
3455 | ||
3456 | * i386.md (mul patterns): Allow memory operand to be first; | |
3457 | add expanders where needed; fix constraints. | |
3458 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
3459 | Allow memory operand to be the first. | |
3460 | ||
3461 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
3462 | operands. | |
3463 | ||
21117a17 JJ |
3464 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
3465 | ||
3466 | PR c/5681: | |
3467 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
3468 | GET_MODE (x). | |
3469 | ||
ec65b2e3 JJ |
3470 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
3471 | ||
3472 | PR optimization/5547: | |
3473 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
3474 | all valid IA-32 address modes involving non-scaled %ebx and | |
3475 | GOT/GOTOFF as displacement. | |
3476 | ||
ce50cae8 UW |
3477 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
3478 | ||
3479 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
3480 | after emitting ltorg insns. | |
3481 | ||
3482 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
3483 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
3484 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
3485 | *abssf2): Fix "op_type" attribute. | |
3486 | ||
09eb789b DR |
3487 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
3488 | ||
2dbe67bb DR |
3489 | * mkconfig.sh: Avoid using a subshell redirect. |
3490 | ($output.T): Change to $(output)T. | |
3491 | (ENABLE_NLS): Remove unneeded undef. | |
3492 | ||
ea5b9a1f DR |
3493 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
3494 | * config/alpha/x-vms (libsubdir): Define. | |
3495 | ||
3deb00ce DR |
3496 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
3497 | register frame procedures. Optimize retrieving context. | |
3498 | ||
09eb789b DR |
3499 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
3500 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
3501 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
3502 | ||
1abade85 RK |
3503 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3504 | ||
3505 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
3506 | Make same change as for find_base_value. | |
3507 | ||
c283e63f KH |
3508 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
3509 | ||
3510 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
3511 | of QImode and SImode. | |
3512 | ||
86039100 KH |
3513 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
3514 | ||
3515 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
3516 | length computation of movsi. | |
3517 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
3518 | ||
e1429da0 KH |
3519 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
3520 | ||
3521 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
3522 | operands[2] to register_operand. | |
3523 | ||
aebfea10 JH |
3524 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
3525 | ||
3526 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
3527 | ||
0ec4e2a8 AH |
3528 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
3529 | ||
831c4e87 KC |
3530 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
3531 | for altivec_lvx* and altivec_stvx*. | |
3532 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
3533 | ("*movv8hi_internal1"): Same. | |
3534 | ("*movv16qi_internal1"): Same. | |
3535 | ("*movv4sf_internal1"): Same. | |
0ec4e2a8 | 3536 | |
831c4e87 | 3537 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
0ec4e2a8 | 3538 | |
831c4e87 KC |
3539 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
3540 | altivec_register_operand. | |
0ec4e2a8 | 3541 | |
b007569d HPN |
3542 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
3543 | ||
3544 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
3545 | handle SYMBOL_REF. | |
3546 | ||
e6834654 SS |
3547 | 2002-02-13 Stan Shebs <shebs@apple.com> |
3548 | ||
831c4e87 KC |
3549 | * c-typeck.c (digest_init): Handle vectors. |
3550 | (really_start_incremental_init): Same. | |
3551 | (pop_init_level): Same. | |
3552 | (process_init_element): Same. | |
e6834654 | 3553 | |
831c4e87 | 3554 | * varasm.c (output_constant): Same. |
e6834654 | 3555 | |
831c4e87 KC |
3556 | * expr.c (clear_storage): Same. |
3557 | (store_constructor): Same. | |
e6834654 | 3558 | |
d9b3eb63 EC |
3559 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
3560 | ||
3561 | * explow.c (hard_function_value): Add comment explaining | |
3562 | signed/unsigned comparison. | |
3563 | ||
56d44285 JJ |
3564 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
3565 | ||
3566 | * jump.c (never_reached_warning): Add finish argument. | |
3567 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
3568 | real insn after end. | |
3569 | * rtl.h (never_reached_warning): Adjust prototype. | |
3570 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
3571 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
3572 | never_reached_warning. | |
3573 | ||
fc209487 GS |
3574 | 2002-02-12 Graham Stott <grahams@redhat.com> |
3575 | ||
3576 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
3577 | ||
1e41e866 KH |
3578 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
3579 | ||
3580 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
3581 | logical shifts on H8/300. | |
3582 | (shift_alg_si): Improve several shifts on H8/300. | |
3583 | (get_shift_alg): Likewise. | |
3584 | ||
a36a47ad GS |
3585 | 2002-02-12 Graham Stott <grahams@redhat.com> |
3586 | ||
3587 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
3588 | ||
0aacc8ed RK |
3589 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3590 | ||
3591 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
3592 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
3593 | ||
a02ac966 HPN |
3594 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
3595 | ||
3596 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
3597 | non-CONST_INT through default_assemble_integer. | |
3598 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
3599 | <case 8>: Abort for CONST_DOUBLE. | |
3600 | ||
d6e06ddc JDA |
3601 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3602 | ||
3603 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
3604 | is specified. | |
3605 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
3606 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
3607 | ||
515342a8 AH |
3608 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
3609 | ||
3610 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
3611 | ||
cddd8b72 AO |
3612 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
3613 | ||
66df7a98 AO |
3614 | * regrename.c (regrename_optimize): Don't accept a |
3615 | part-clobbered register if the replaced register is not part | |
3616 | clobbered. | |
3617 | ||
841404cd AO |
3618 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
3619 | take padding into account when computing the argument value. | |
3620 | ||
1d1ade42 AO |
3621 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
3622 | ||
cddd8b72 AO |
3623 | * combine.c (try_combine): Apply substitutions in |
3624 | CALL_INSN_FUNCTION_USAGE too. | |
3625 | ||
5c665b88 AH |
3626 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
3627 | ||
77f6c1eb RS |
3628 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
3629 | __builtin_altivec_abs*. | |
3630 | (bdesc_abs): New. | |
5c665b88 | 3631 | |
77f6c1eb RS |
3632 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
3633 | ALTIVEC_BUILTIN_ABS*. | |
5c665b88 | 3634 | |
77f6c1eb RS |
3635 | * config/rs6000/altivec.h: Use const char for builtins expecting |
3636 | literals. | |
3637 | (vec_abs): New versions for C and C++. | |
3638 | (vec_abss): Same. | |
5c665b88 | 3639 | |
3494f1b4 KH |
3640 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
3641 | ||
3642 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
3643 | using Pmode. | |
3644 | ||
72431aef KH |
3645 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
3646 | ||
3647 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
3648 | constant definition from h8300.md. | |
3649 | (FRAME_POINTER_REGNUM): Likewise. | |
3650 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
3651 | ||
87e4ee91 KH |
3652 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
3653 | ||
3654 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
3655 | ||
9c188705 KH |
3656 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
3657 | ||
3658 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
3659 | * config/h8300/h8300.c (byte_reg): Make it static. | |
3660 | ||
fba78abb RH |
3661 | 2002-02-10 Richard Henderson <rth@redhat.com> |
3662 | ||
3663 | PR c/5623 | |
3664 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
3665 | ||
65739e62 RH |
3666 | 2002-02-10 Richard Henderson <rth@redhat.com> |
3667 | ||
3668 | PR c++/5624 | |
3669 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
3670 | does not exist. | |
3671 | ||
247cb9df HPN |
3672 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
3673 | ||
3674 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
3675 | ||
232bd029 KH |
3676 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
3677 | ||
65739e62 | 3678 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
232bd029 KH |
3679 | (pushhi1): Likewise. |
3680 | ||
276ef573 JDA |
3681 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3682 | ||
3683 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
3684 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
3685 | ||
617e9ee5 DB |
3686 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
3687 | ||
3688 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
3689 | remove MASK_VIS. | |
3690 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
3691 | ||
6dfa4005 KH |
3692 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
3693 | ||
3694 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
3695 | a half of an SImode register on H8/300. | |
3696 | ||
749e7b80 JH |
3697 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
3698 | ||
3699 | * i386.md (movdi_2): Add missing '!'. | |
3700 | ||
ca77d87c KH |
3701 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
3702 | ||
3703 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
3704 | definitions. | |
3705 | ||
16c96304 KH |
3706 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
3707 | ||
3708 | * config/h8300/h8300.md (length): Correct the distance valid | |
3709 | for the short branch. | |
3710 | ||
a364bc90 KH |
3711 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
3712 | ||
3713 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
3714 | ||
e4ec2cac AO |
3715 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
3716 | ||
a138247b AO |
3717 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
3718 | registers in SImode. | |
3719 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
3720 | part-clobbered. | |
3721 | ||
2b1fd83f AO |
3722 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
3723 | patch. | |
d9b3eb63 | 3724 | |
fa5322fa AO |
3725 | Contribute sh64-elf. |
3726 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
3727 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
3728 | (sh_cannot_modify_jumps_p): New function. | |
3729 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
3730 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
3731 | (sh_ms_bitfield_layout_p): New function. | |
3732 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
3733 | Zack Weinberg <zack@codesourcery.com> | |
3734 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
3735 | expand_simple_binop instead of expand_binop. | |
3736 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
3737 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
3738 | use of .quad and .uaquad. | |
3739 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
3740 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
3741 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
3742 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
3743 | movdi_const_16bit): Make sure all CONSTs have modes. | |
3744 | (sym2PIC): Ditto, but by adjusting all callers. | |
3745 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
3746 | if the prologue calls the SHmedia argument decoder or register | |
3747 | saver. | |
3748 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
3749 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
3750 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
3751 | (sh_expand_epilogue): Don't emit USE of return target register. | |
3752 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
3753 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
3754 | PIC register. | |
3755 | (sh_expand_prologue): Remove explicit USE of return register. | |
3756 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
3757 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
3758 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
3759 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
3760 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
3761 | EXTRA_CONSTRAINT_T. | |
3762 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
3763 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
3764 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
3765 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
3766 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
3767 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
3768 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
3769 | alternatives supporting TARGET_REGS. | |
3770 | (UNSPEC_GOTPLT): New constant. | |
3771 | (movdi split): Move incrementing of LABEL_NUSES... | |
3772 | (movdi_const, movdi_const_32bit): Here. Use | |
3773 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
3774 | (movdi_const_16bit): New. | |
3775 | (call, call_value) [flag_pic]: Use GOTPLT. | |
3776 | (call_pop, call_value_pop): New expands. | |
3777 | (call_pop_compact, call_pop_rettramp): New insns. | |
3778 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
3779 | (sibcall) [flag_pic]: Use GOT. | |
3780 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
3781 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
3782 | (*pt, *ptb, ptrel): New insns. | |
3783 | (sym2GOT): Handle DImode GOT. | |
3784 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
3785 | (sym2PIC): New expand. | |
3786 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
3787 | (shcompact_return_tramp_i): Use return register explicitly. | |
3788 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
3789 | disable flag_reorder_blocks. | |
3790 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
3791 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
3792 | clobbers, for clarity. | |
3793 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
3794 | restoring of r0 in macl as MAYBE_DEAD. | |
3795 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
3796 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
3797 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
3798 | alter_subreg all over. | |
3799 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
3800 | reload, instead of emitting instructions that would require | |
3801 | reloading. | |
3802 | (casesi_load_media): Add missing modes. | |
3803 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
3804 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
3805 | as used if the argument decoder is called. | |
3806 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
3807 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
3808 | Pmode, then extend it to DImode if necessary. | |
3809 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
3810 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
3811 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
3812 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
3813 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
3814 | Adjust whitespace in assembly output templates. | |
3815 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
3816 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
3817 | mode of if_then_else. | |
3818 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
3819 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
3820 | sh.h. | |
3821 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
3822 | Joern Rennecke <amylaar@redhat.com> | |
3823 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
3824 | (SUBTARGET_CPP_PTR_SPEC): New. | |
3825 | (SUBTARGET_CPP_SPEC): Remove. | |
3826 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
3827 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
3828 | Fix typo in previous checkin. | |
3829 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
3830 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
3831 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
3832 | Alexandre Oliva <aoliva@redhat.com> | |
3833 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
3834 | what single FP register can hold for SHmedia target. | |
3835 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
3836 | Alexandre Oliva <aoliva@redhat.com> | |
3837 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
3838 | Do not split into SUBREG. | |
3839 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
3840 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
3841 | and added new functions as specified in SH5 ABI r9. | |
3842 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
3843 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
3844 | 8-byte boundary. | |
3845 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
3846 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
3847 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
3848 | and consttable_window_ends. | |
3849 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
3850 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
3851 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
3852 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
3853 | vector and matrix registers. | |
3854 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
3855 | vector modes into account. | |
3856 | * config/sh/sh.md (movv2sf): Split move between registers into | |
3857 | movdf. | |
3858 | (movv4sf, movv16sf): Introduce insns that get split only after | |
3859 | reload. | |
3860 | * config/sh/shmedia.h: Fix Copyright dates. | |
3861 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
3862 | declarations into conditionals that uses them. | |
3863 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
3864 | loop boundary. | |
3865 | * config/sh/sshmedia.h: Fix Copyright dates. | |
3866 | (sh_media_PUTCFG): Fix constraints. | |
3867 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
3868 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
3869 | ptrmemfunc_vbit_in_delta for SH5. | |
3870 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
3871 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
3872 | * invoke.texi: Likewise. | |
3873 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
3874 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
3875 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
3876 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
3877 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
3878 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
3879 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
3880 | compact function with nonlocal labels. | |
3881 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
3882 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
3883 | (initial_elimination_offset): Account for their stack space. | |
3884 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
3885 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
3886 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
3887 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
3888 | least one of the operands to be a register. | |
3889 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
3890 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
3891 | prepare_move_operands() before emitting SHmedia insns. | |
3892 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
3893 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
3894 | Don't save nor initialize r12. Don't mis-align the stack. | |
3895 | Pad the code with a nop. | |
3896 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
3897 | stack. | |
3898 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
3899 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
3900 | [__SHMEDIA__]: Implement. | |
3901 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
3902 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
3903 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
3904 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
3905 | Set move, load and store type attributes. | |
3906 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
3907 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
3908 | profiling. | |
3909 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
3910 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
3911 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
3912 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
3913 | branch-target register. | |
3914 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
3915 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
3916 | branch-target register. | |
3917 | (return_media): If r18 wasn't copied in the prologue, copy it | |
3918 | here. | |
3919 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
3920 | Clear class FP0_REGS. | |
3921 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
3922 | from elf.h. | |
3923 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
3924 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
3925 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
3926 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
3927 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
3928 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
3929 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
3930 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
3931 | return value correctly for call_cookie. | |
3932 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
3933 | * config/sh/crt1.asm (start): Modified so as to call | |
3934 | ___setup_argv_and_call_main. | |
3935 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
3936 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
3937 | SHmedia mode. | |
3938 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
3939 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
3940 | (STRIP_NAME_ENCODING): Use it. | |
3941 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
3942 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
3943 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
3944 | prepare_scc_operands(). | |
3945 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
3946 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
3947 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
3948 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
3949 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
3950 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
3951 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
3952 | used in shcompact_incoming_args. | |
3953 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
3954 | change. | |
3955 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
3956 | mode. | |
3957 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
3958 | Adjust accordingly. | |
3959 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
3960 | Simplify. Adjust. Add sanity check. | |
3961 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
3962 | FPU_SINGLE_BIT. | |
3963 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
3964 | TARGET_SHCOMPACT. | |
3965 | (udivsi3, divsi3): Use them. | |
3966 | (force_mode_for_call): New insn. | |
3967 | (call, call_value, sibcall_value): Emit it before SHcompact | |
3968 | calls. | |
3969 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
3970 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
3971 | call cookie is non-NULL before taking its value. | |
3972 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
3973 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
3974 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
3975 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
3976 | block. | |
3977 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
3978 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
3979 | temporary for stack adjusts. Use MACL and MACH to pass | |
3980 | arguments to shcompact_incoming_args. | |
3981 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
3982 | clobber r1. | |
3983 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
3984 | (nested_trampoline): Load static chain address into r1. | |
3985 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
3986 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
3987 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
3988 | fp_arith_reg_operand(). | |
3989 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
3990 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
3991 | and use signed compares for them. | |
3992 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
3993 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
3994 | ones properly aligned. | |
3995 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
3996 | constants. | |
3997 | (machine_dependent_reorg): Require a label for the second 4-byte | |
3998 | constant after an 8-byte one. | |
3999 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
4000 | change. | |
4001 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
4002 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
4003 | last_float when switching float modes. | |
4004 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
4005 | auto-increment for general-purpose registers. | |
4006 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
4007 | result. | |
4008 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
4009 | for stack adjust. | |
4010 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
4011 | registers for varargs. | |
4012 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
4013 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
4014 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
4015 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
4016 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
4017 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
4018 | call_cookie accordingly. | |
4019 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
4020 | (SHCOMPACT_BYREF): Likewise. | |
4021 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
4022 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
4023 | (sh_builtin_saveregs): Likewise. | |
4024 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
4025 | shcompact_incoming_args): Use new shift values. Support | |
4026 | sequences of consecutive and non-consecutive pushes/pops. | |
4027 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
4028 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
4029 | * config/sh/sh.h (TEXT_SECTION): Define. | |
4030 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
4031 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
4032 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
4033 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
4034 | return values on FPU-enabled SHmedia. | |
4035 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
4036 | FPU-enabled SHmedia. | |
4037 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
4038 | value is returned in a non-FP reg and is not returned by | |
4039 | reference. | |
4040 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
4041 | jump_ind. | |
4042 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
4043 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
4044 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
4045 | quad-aligned to be passed by callee-copy reference. | |
4046 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
4047 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
4048 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
4049 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
4050 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
4051 | copying low-numbered FP regs to r7 and r8. | |
4052 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
4053 | FP regs to general-purpose regs only if the copy was passed on the | |
4054 | stack. | |
4055 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
4056 | copying FP reg to r9. | |
4057 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
4058 | copy FP regs to general-purpose regs only in outgoing calls. | |
4059 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
1e4e95d6 | 4060 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
fa5322fa AO |
4061 | HOST_WIDE_INT. |
4062 | * config/sh/sh.h (struct sh_args): Document all fields. | |
4063 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
4064 | passed partially on the stack should not consider making | |
4065 | sibcalls. | |
4066 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
4067 | stack_regs only for incoming calls. When passing FP args, | |
4068 | make sure there are FP regs available before modifying | |
4069 | call_cookie. | |
4070 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
4071 | registers by reference. | |
4072 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
4073 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
4074 | attempt to generate sibcalls if the caller got any arguments | |
4075 | by reference. | |
4076 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
4077 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
4078 | to 8-byte boundaries. | |
4079 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
4080 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
4081 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
4082 | stored in the stack. | |
4083 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
4084 | for the offsets to have the ISA bit set. | |
4085 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
4086 | invocation. Use beq instead of bgt to mark end of sequence of | |
4087 | loads. | |
4088 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
4089 | bgt to mark end of sequence of stores. | |
4090 | * config/sh/sh.c (arith_operand): Don't check whether | |
4091 | CONST_OK_FOR_J for now. | |
4092 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
4093 | instead of long for conversion. | |
4094 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
4095 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
4096 | before passing it to fprintf. | |
4097 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
4098 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
4099 | Call set_fpscr before reading/writing SR. | |
4100 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
4101 | Call set_fpscr. | |
4102 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
4103 | SHmedia code. | |
4104 | (FMOVD_WORKS): Define on SH5 with FPU. | |
4105 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
4106 | setting. | |
4107 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
4108 | _fpscr_values. | |
4109 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
4110 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
4111 | address. | |
4112 | (ia_main_table): Ditto. | |
4113 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
4114 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
4115 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
4116 | the definitions from sh.h. | |
4117 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
4118 | TARGET_SH5. | |
4119 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
4120 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
4121 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
4122 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
4123 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
4124 | Increment LABEL_NUSES. | |
d9b3eb63 | 4125 | |
fa5322fa AO |
4126 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
4127 | TARGET_SH5. | |
4128 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
4129 | defined. | |
4130 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
4131 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
4132 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
4133 | shcompact_incoming_args): Load switch table addresses using | |
4134 | datalabel. | |
4135 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
4136 | (NO_BUILTIN_SIZE_TYPE): Define. | |
4137 | (SIZE_TYPE): Don't define. | |
4138 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
4139 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
4140 | definition of __SH5__=32 for -m5-compact-nofpu. | |
4141 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
4142 | ADDR_DIFF_VEC. | |
4143 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
4144 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
4145 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
4146 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
4147 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
4148 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
4149 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
4150 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
4151 | copying of non-branch-target register. | |
4152 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
1e4e95d6 | 4153 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
fa5322fa AO |
4154 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
4155 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
4156 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
4157 | floating-point values as structs. | |
4158 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
4159 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
4160 | general-purpose register. | |
4161 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
4162 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
4163 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
4164 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
4165 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
4166 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
4167 | DATALABEL unspecs. | |
4168 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
4169 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
4170 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
4171 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
4172 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
4173 | SH_DATALABEL_ENCODING to the symbol name. | |
4174 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
4175 | convert_mode(). | |
4176 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
4177 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
4178 | UNSPEC_DATALABEL. | |
4179 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
4180 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
4181 | (DATALABEL_REF_P): Don't require CONST. | |
4182 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
4183 | REL label. | |
4184 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
4185 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
4186 | right. | |
4187 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
4188 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
4189 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
4190 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
4191 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
4192 | on SHmedia using GENERAL_REGs. | |
4193 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
4194 | bltu_media_i): Fix reversion of conditions. | |
4195 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
4196 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
4197 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
4198 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
4199 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
4200 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
4201 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
4202 | (GCC_nested_trampoline): Likewise. | |
4203 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
4204 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
4205 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
4206 | (INITIALIZE_TRAMPOLINE): Likewise. | |
4207 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
4208 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
4209 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
4210 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
4211 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
4212 | (ic_invalidate): Adjust for SH5. | |
4213 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
4214 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
4215 | _nested_trampoline. | |
4216 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
4217 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
4218 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
4219 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
4220 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
4221 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
4222 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
4223 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
4224 | registers and pseudos that aren't virtual registers. | |
4225 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
4226 | Copy operands that don't match target_reg_operand to pseudos. | |
4227 | (call_media, call_value_media, sibcall_media): Use | |
4228 | target_reg_operand instead of target_operand. | |
4229 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
d9b3eb63 | 4230 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
fa5322fa AO |
4231 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
4232 | other than branch-target registers. | |
4233 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
4234 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
4235 | (fpscr_values) [SH5 == 32]: Define. | |
4236 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
4237 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
4238 | Handle function addresses coming in SUBREGs. | |
4239 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
4240 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
4241 | shcompact_return_trampoline): Use datalabel where appropriate. | |
4242 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
4243 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
4244 | general-purpose register to copy one branch-target register to | |
4245 | another. | |
4246 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
4247 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
4248 | SYMBOL_REFs with VOIDmode. | |
4249 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
4250 | bltu_media_i): New insns. | |
4251 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
4252 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
4253 | (INIT_CUMULATIVE_ARGS): Likewise. | |
4254 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
4255 | * machmode.def (V16SFmode): New mode. | |
4256 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
4257 | * tree.c (build_common_tree_nodes_2): Likewise. | |
4258 | * tree.h (tree_index): Likewise. | |
4259 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
4260 | callers. Introduce CALL_POPS_ARGS. | |
4261 | * tm.texi (CALL_POPS_ARGS): Document. | |
4262 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
4263 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
4264 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
4265 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
4266 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
4267 | Implement divsi and udivsi in SHmedia mode. Introduce | |
4268 | SHcompact trampolines. | |
4269 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
4270 | only in SHmedia64. | |
4271 | (regno_reg_class): Rewrite. | |
4272 | (fp_reg_names): Remove. | |
4273 | (sh_register_names, sh_additional_register_names): New. | |
4274 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
4275 | Add parentheses around shifted CONSTs. | |
4276 | (output_file_start): Output .mode and .abi directives. | |
4277 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
4278 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
4279 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
4280 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
4281 | bytes, not registers. Take into account the need for the | |
4282 | SHcompact incoming args trampoline. Adjust all callers. | |
4283 | (sh_expand_prologue): Take stack_regs into account. Call | |
4284 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
4285 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
4286 | stack aligned as per SH5 ABI. | |
4287 | (sh_builtin_saveregs): Support SH5 ABI. | |
4288 | (sh_build_va_list, sh_va_start): Likewise. | |
4289 | (initial_elimination_offset): Take alignment into account. | |
4290 | Compute location of PR according to the SH5 stack frame. | |
4291 | (arith_reg_operand): Reject branch-target registers. | |
4292 | (shmedia_6bit_operand): New. | |
4293 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
4294 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
4295 | (target_operand): New. | |
4296 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
4297 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
4298 | SIBCALL_REGS for SHmedia. | |
4299 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
4300 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
4301 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
4302 | (TARGET_SWITCHES): New SH5 flags. | |
4303 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
4304 | VALID_REGISTER_P to disable unsupported registers. | |
4305 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
4306 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
4307 | (FUNCTION_ARG_PADDING): Define. | |
4308 | (FASTEST_ALIGNMENT): Adjust. | |
4309 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
4310 | (sh_register_names): Declare. | |
4311 | (DEBUG_REGISTER_NAMES): Define. | |
4312 | (REGISTER_NAMES): Define based on sh_register_names. | |
4313 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
4314 | (sh_additional_register_names): Declare. | |
4315 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
4316 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
4317 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
4318 | (REGISTER_NATURAL_MODE): Define. | |
4319 | (FIRST_PSEUDO_REGISTER): Adjust. | |
4320 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
4321 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
4322 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
4323 | (VECTOR_MODE_SUPPORTED_P): Define. | |
4324 | (REG_CLASS_CONTENTS): Adjust. | |
4325 | (SMALL_REGISTER_CLASSES): Adjust. | |
4326 | (REG_ALLOC_ORDER): Adjust. | |
4327 | (INDEX_REG_CLASS): Adjust. | |
4328 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
4329 | (CONST_OK_FOR_LETTER_P): Adjust. | |
4330 | (PREFERRED_RELOAD_CLASS): Adjust. | |
4331 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
4332 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
4333 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
4334 | (FIRST_FP_PARM_REG): Adjust. | |
4335 | (CALL_POPS_ARGS): Define. | |
4336 | (FUNCTION_ARG_REGNO_P): Adjust. | |
4337 | (struct sh_args): New fields. | |
4338 | (GET_SH_ARG_CLASS): Adjust. | |
4339 | (INIT_CUMULATIVE_ARGS): Adjust. | |
4340 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
4341 | (FUNCTION_ARG_ADVANCE): Adjust. | |
4342 | (FUNCTION_ARG): Adjust. | |
4343 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
4344 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
4345 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
4346 | (STRICT_ARGUMENT_NAMING): Define. | |
4347 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
4348 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
4349 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
4350 | (SETUP_INCOMING_VARARGS): Adjust. | |
4351 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
4352 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
4353 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
4354 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
4355 | (EXTRA_CONSTRAINT_S): Update. | |
4356 | (EXTRA_CONSTRAINT_T): New. | |
4357 | (EXTRA_CONSTRAINT): Adjust. | |
4358 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
4359 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
4360 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
4361 | (MOVE_MAX): Adjust. | |
4362 | (MAX_MOVE_MAX): Define. | |
4363 | (Pmode): Adjust. | |
4364 | (CONST_COSTS): Adjust. | |
4365 | (REGISTER_MOVE_COST): Adjust. | |
4366 | (BRANCH_COST): Adjust. | |
4367 | (TEXT_SECTION_ASM_OP): Adjust. | |
4368 | (DBX_REGISTER_NUMBER): Adjust. | |
4369 | (ASM_OUTPUT_DOUBLE_INT): New. | |
4370 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
4371 | (PREDICATE_CODES): Adjust. | |
4372 | (PROMOTE_MODE): Adjust. | |
4373 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
4374 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
4375 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
4376 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
4377 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
4378 | (TR0_REG, TR1_REG, TR2_REG): New. | |
4379 | (XD0_REG): Renumber. | |
4380 | (UNSPEC_COMPACT_ARGS): New. | |
4381 | (type): Added pt and ptabs. | |
4382 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
1e4e95d6 | 4383 | and 20 on SHmedia32 and SHmedia64, respectively. |
fa5322fa AO |
4384 | (pt): New function unit. |
4385 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
4386 | Add whitespace between operands of SHmedia instructions. | |
4387 | (movdicc): Fix. | |
4388 | (adddi3_media, addsi3_media): Adjust constraints. | |
4389 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
4390 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
4391 | (udivsi3): Support SHmedia. | |
4392 | (divsi3_i1_media, divsi3_i4_media): New. | |
4393 | (divsi3): Support SHmedia. | |
4394 | (anddi3, iordi3, xordi3): Adjust constraints. | |
4395 | (zero_extendhidi2, zero_extendqidi2): New. | |
4396 | (extendsidi2, extendhidi2, extendqidi2): New. | |
4397 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
4398 | (pop_e, pop_fpul, pop_4): Likewise. | |
4399 | (movsi_media): Support FP and BT registers. | |
4400 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
4401 | (lduw, ldub): Renamed to zero_extend* above. | |
4402 | (movqi_media): Fix typo. | |
4403 | (movdi_media): Support FP and BT registers. | |
4404 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
4405 | (movdi_const_32bit): New. | |
4406 | (shori_media): Require immediate operand. Use `u' for output. | |
4407 | (movdf_media, movsf_media): Simplified. | |
4408 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
4409 | (movdf, movsf): Adjust | |
4410 | (movv2sf, movv2sf, movv16sf): New. | |
4411 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
4412 | scratch BT register. | |
4413 | (bne_media, bne_media_i): Likewise. | |
4414 | (bgt_media, bgt_media_i): Likewise. | |
4415 | (bge_media, bge_media_i): Likewise. | |
4416 | (bgtu_media, bgtu_media_i): Likewise. | |
4417 | (bgeu_media, bgeu_media_i): Likewise. | |
4418 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
4419 | bunordered): Emit jump insn. Force operands to registers when | |
4420 | needed. | |
4421 | (jump_media, jump): Simplify. | |
4422 | (call_compact, call_compact_rettramp): New. | |
4423 | (call_value_compact, call_value_compact_rettramp): New. | |
4424 | (call_media, call_value_media): Simplify. | |
4425 | (sibcall_compact, sibcall_media): New. | |
4426 | (call, call_value): Adjust for SHmedia and SHcompact. | |
4427 | (sibcall, sibcall_value, untyped_call): Likewise. | |
4428 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
4429 | (indirect_jump): Adjust for SHmedia. | |
4430 | (casesi_jump_media): New. | |
4431 | (nop): Re-enable for SHmedia. | |
4432 | (call_site): Restrict to SH1. | |
4433 | (casesi): Adjust for SHmedia. | |
4434 | (casesi_shift_media, casesi_load_media): New. | |
4435 | (return): Explicitly use PR register. Call return trampoline | |
4436 | on SHcompact. | |
4437 | (return_i): Explicitly use PR register. | |
4438 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
4439 | (return_media): Adjust. | |
4440 | (shcompact_incoming_args): New. | |
4441 | (epilogue): Adjust. | |
4442 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
4443 | (movstrsi): Disable on SH5. | |
4444 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
4445 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
4446 | (subsf3, subsf3_media): Likewise. | |
4447 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
4448 | (divsf3, divsf3_media): Likewise. | |
4449 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
4450 | (floatsisf2, fux_truncsfsi2): Likewise. | |
4451 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
4452 | constraints. | |
4453 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
4454 | (cmpunsf_media, cmpsf): Likewise. | |
4455 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
4456 | (abssf2, abssf2_media): Likewise. | |
4457 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
4458 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
4459 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
4460 | (floatsidf2, fix_truncdfsi2): Likewise. | |
4461 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
4462 | constraints. | |
4463 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
4464 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
4465 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
4466 | (absdf2, absdf2_media): Likewise. | |
4467 | (extendsfdf2, extendsfdf2_media): Likewise. | |
4468 | (truncsfdf2, truncsfdf2_media): Likewise. | |
4469 | * config/sh/sh64.h: New file. | |
4470 | * config/sh/t-sh64: New file. | |
4471 | * config/sh/shmedia.h: New file. | |
4472 | * config/sh/ushmedia.h: New file. | |
4473 | * config/sh/sshmedia.h: New file. | |
4474 | * configure.in: Added sh64-*-elf. | |
4475 | * configure: Rebuilt. | |
4476 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
4477 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
4478 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
4479 | (print_operand): Support `%M', `%m', `AND' and | |
4480 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
4481 | (andcosts): Adjust for SHmedia. | |
4482 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
4483 | Likewise. | |
4484 | (target_reg_operand): New function. | |
4485 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
4486 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
4487 | FP registers on SH5. | |
4488 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
4489 | on SH4. | |
4490 | (TARGET_REGISTER_P): New macro. | |
4491 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
4492 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
4493 | (EXTRA_CONSTRAINT_S): New macro. | |
4494 | (EXTRA_CONSTRAINT): Adjust. | |
4495 | (FLOAT_TYPE_SIZE): Define to 32. | |
4496 | (Pmode): DImode on SHmedia. | |
4497 | (CONST_COSTS): Adjust for SHmedia literals. | |
4498 | (PREDICATE_CODES): Added target_reg_operand. | |
4499 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
4500 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
4501 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
4502 | (cmpdi): Accept SHmedia. | |
4503 | (movdicc_false, movdicc_true): New insns. | |
4504 | (movdicc): New expand. | |
4505 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
4506 | no_new_pseudos. | |
4507 | (addsi3_media): Match `S' constraint. | |
4508 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
4509 | (negdi2): Expand for SHmedia. | |
4510 | (one_cmpldi2): New expand. | |
4511 | (zero_extendsidi2): Change from expand to insn. | |
4512 | (extendsidi2): Add constraints. | |
4513 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
4514 | LD/ST address. Fix SI immediate loading split. | |
4515 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
4516 | (movhi, movqi): Accept SHmedia. | |
4517 | (shori_media, movdi_media): Relax input constraints. Split | |
4518 | symbolic constants. | |
4519 | (movdf_media, movsf_media): New insn. New split to movdi. | |
4520 | (movdf, movsf): Match on SHmedia. | |
4521 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
4522 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
4523 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
4524 | (bunordered): New expand. | |
4525 | (jump_compact): Renamed from `jump'. | |
4526 | (jump_media): New insn. | |
4527 | (jump): New expand. | |
4528 | (call_media, call_value_media): New insns. | |
4529 | (call, call_value): Adjust. | |
4530 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
4531 | (indirect_jump_media): New insn. | |
4532 | (indirect_jump): New expand. | |
4533 | (untyped_call, return): Accept SHmedia. | |
4534 | (return_media): New insn. | |
4535 | (prologue, epilogue, blockage): Accept SHmedia. | |
4536 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
4537 | (sunordered): New expand. | |
4538 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
4539 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
4540 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
4541 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
4542 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
4543 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
4544 | abssf2_media): New insns. | |
4545 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
4546 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
4547 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
4548 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
4549 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
4550 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
4551 | absdf2_media): New insns. | |
4552 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
4553 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
4554 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
4555 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
4556 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
4557 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
4558 | * config/sh/sh.md (adddi3): New expand. | |
4559 | (adddi3_media, adddi3z_media): New insns. | |
4560 | (adddi3_compact): Renamed from adddi3. | |
4561 | (addsi3_media): Use add.l r63 to add constant zero. | |
4562 | (subdi3): New expand. | |
4563 | (subdi3_media): New insn. | |
4564 | (subdi3_compact): Renamed from subdi3. | |
4565 | (mulsidi3): New expand. | |
4566 | (mulsidi3_media): New insn. | |
4567 | (mulsidi3_compact): Renamed from mulsidi3. | |
4568 | (umulsidi3): New expand. | |
4569 | (umulsidi3_media): New insn. | |
4570 | (umulsidi3_compact): Renamed from umulsidi3. | |
4571 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
4572 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
4573 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
4574 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
4575 | (zero_extendsidi2): New expand. | |
4576 | (extendsidi2): New insn. | |
4577 | (movsi_media): New insn. Split to movdi to load constants. | |
4578 | (movsi): Enable for shmedia. | |
4579 | (movdi_media): New insn. Use shori_media to load wide constants. | |
4580 | (short_media): New insn. | |
4581 | (movdi): Enable for shmedia. | |
4582 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
4583 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
4584 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
4585 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
4586 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
4587 | to all other SH variants. | |
4588 | (TARGET_DEFAULT): Set to SH1_BIT. | |
4589 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
4590 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
4591 | (MAX_BITS_PER_WORD): Change to 64. | |
4592 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
4593 | (INT_TYPE_SIZE): Keep as 32. | |
4594 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
4595 | (MIN_UNITS_PER_WORD): Keep as 4. | |
4596 | (POINTER_SIZE): Raise to 64 on shmedia. | |
4597 | (CONST_OK_FOR_J): New macro. | |
4598 | (CONST_OK_FOR_LETTER_P): Use it. | |
4599 | (processor_type): Add PROCESSOR_SH5. | |
4600 | * config/sh/sh.md: Conditionalize all expands, insns and | |
4601 | splits to TARGET_SH1. | |
4602 | (cpu): Added sh5. | |
4603 | (addsi3_compact): Renamed from... | |
4604 | (addsi3): Now an expand. | |
4605 | (addsi3_media, subsi3_media): New insns. | |
4606 | (subsi3): Don't negate constants with SHmedia. | |
4607 | ||
e4ec2cac AO |
4608 | * hooks.c: New file. |
4609 | * hooks.h: New file. | |
4610 | * Makefile.in (HOOKS_H): New. | |
4611 | (TARGET_DEF_H): Added $(HOOKS_H). | |
4612 | (OBJS): Added hooks.o. | |
4613 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
4614 | (hooks.o): Added dependencies. | |
4615 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
4616 | (TARGET_INITIALIZER): this. | |
4617 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
4618 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
4619 | * bb-reorder.c: Include target.h. | |
4620 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
4621 | * cfgcleanup.c: Include target.h. | |
4622 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
4623 | ||
246a46e0 CD |
4624 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
4625 | ||
831c4e87 KC |
4626 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
4627 | Protect jump delay slot instructions with .set noreorder and | |
4628 | .set nomacro. | |
246a46e0 CD |
4629 | |
4630 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
6a5ea3f4 CD |
4631 | |
4632 | * config/mips/mips.md (casesi_internal_di): Calculate | |
4633 | the index into the target offset table correctly. | |
4634 | ||
fdf473ae RH |
4635 | 2002-02-08 Richard Henderson <rth@redhat.com> |
4636 | ||
4637 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
4638 | * final.c (output_addr_const): Accept and discard SUBREG. | |
4639 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
4640 | mark them unknown instead. | |
4641 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
4642 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
4643 | ||
c50503ac DE |
4644 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
4645 | ||
4646 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
4647 | ||
3660d217 RH |
4648 | 2002-02-08 Richard Henderson <rth@redhat.com> |
4649 | ||
4650 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
4651 | ||
56547299 AJ |
4652 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
4653 | ||
4654 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
4655 | * config/i386/t-linux64: New file. | |
4656 | ||
1cf537c5 JJ |
4657 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
4658 | ||
4659 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
4660 | * c-parse.in (compstmt): Clear last_expr_type. | |
4661 | ||
5c7f5a5f RH |
4662 | 2002-02-07 Richard Henderson <rth@redhat.com> |
4663 | ||
4664 | * loop.c (strength_reduce): Sink final_value when not | |
4665 | eliminating a biv. | |
4666 | ||
b1138bf3 DB |
4667 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
4668 | ||
4669 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
4670 | ||
b6878a45 RH |
4671 | 2002-02-07 Richard Henderson <rth@redhat.com> |
4672 | ||
4673 | * cfgrtl.c: Include recog.h and insn-config.h. | |
4674 | (keep_with_call_p): Fix general_operand invocation. | |
4675 | * Makefile.in (cfgrtl.o): Update dependencies. | |
4676 | ||
ae19f5ef KH |
4677 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
4678 | ||
4679 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
4680 | comment. Accept HImode only if TARGET_H8300. | |
4681 | ||
b137f9fc EC |
4682 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
4683 | ||
4684 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
4685 | ||
4686 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
4687 | ||
4688 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
4689 | register 7 as RA instead of $31. | |
4690 | * config/mips/crtn.asm: Ditto. | |
4691 | * config/mips/mips.c (mips_move_2words): Add case for | |
4692 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
4693 | (compute_frame_size): Fix typo. | |
4694 | (save_restore_insns): Ditto. Make documentation about using | |
4695 | register $7 as return register more precise. | |
4696 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
4697 | being able to add to the stack pointer directly. | |
4698 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
4699 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
4700 | epilogue. | |
4701 | ||
768070a0 TR |
4702 | 2002-02-07 Tom Rix <trix@redhat.com> |
4703 | ||
b137f9fc | 4704 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
768070a0 TR |
4705 | immediates in ldu and stdu DS opcode field. |
4706 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
4707 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
4708 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
4709 | ||
225909c3 JS |
4710 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
4711 | ||
4712 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
4713 | offset for stack bias. | |
4714 | ||
15fae023 L |
4715 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
4716 | ||
4717 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
4718 | ||
fde5badd UW |
4719 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
4720 | ||
4721 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
4722 | ||
162f023b JH |
4723 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
4724 | ||
4725 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
4726 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
4727 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
4728 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
4729 | ||
9b462c42 RH |
4730 | 2002-02-07 Richard Henderson <rth@redhat.com> |
4731 | ||
85aa876c | 4732 | PR optimization/2463 |
9b462c42 RH |
4733 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
4734 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
4735 | ||
06e455a9 AO |
4736 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
4737 | ||
4738 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
4739 | length. | |
4740 | ||
edd1967d RH |
4741 | 2002-02-06 Richard Henderson <rth@redhat.com> |
4742 | ||
4743 | PR c/5609 | |
4744 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
4745 | named and unnamed operands. | |
4746 | ||
a2cd028f JJ |
4747 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
4748 | Jan Hubicka <jh@suse.cz> | |
4749 | ||
4750 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
4751 | CONST expression. | |
4752 | ||
e8487c04 UW |
4753 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
4754 | ||
4755 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
4756 | * config/s390/t-linux64: New file. | |
4757 | * config/s390/libgcc-glibc.ver: New file. | |
4758 | ||
58d10f89 UW |
4759 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
4760 | ||
4761 | * config/s390/linux64.h: Delete file. | |
4762 | * config/s390/s390x.h: New file. | |
4763 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
4764 | as target header file. | |
4765 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
4766 | DEFAULT_TARGET_64BIT. | |
4767 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
4768 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
4769 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
4770 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
4771 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
4772 | (EXTRA_SPEC): New define. | |
4773 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
4774 | DEFAULT_TARGET_64BIT. | |
4775 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
4776 | ||
5ce89b2e JM |
4777 | 2002-02-06 Jason Merrill <jason@redhat.com> |
4778 | ||
4779 | * c-decl.c (finish_function): Warn about a non-void function with | |
4780 | no return statement and no abnormal exit. | |
4781 | (current_function_returns_abnormally): New variable. | |
4782 | (start_function): Clear it. | |
4783 | (struct c_language_function): Add returns_abnormally. | |
4784 | (push_c_function_context): Save it. | |
4785 | (pop_c_function_context): Restore it. | |
4786 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
4787 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
4788 | an explicit return type. | |
4789 | * c-tree.h: Declare current_function_returns_abnormally. | |
4790 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
4791 | * c-typeck.c (build_function_call): Set it. | |
4792 | (c_expand_return): Set current_function_returns_value even if the | |
4793 | value is erroneous. | |
4794 | ||
caaf2272 JJ |
4795 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
4796 | ||
4797 | PR c/5420: | |
4798 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
4799 | unsafe for reevaluation. | |
4800 | ||
d5129288 JJ |
4801 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
4802 | ||
4803 | PR c/5482: | |
4804 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
4805 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
4806 | ||
7fb75099 RH |
4807 | 2002-02-06 Richard Henderson <rth@redhat.com> |
4808 | ||
4809 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
4810 | be a general_operand. Dest for function value must be a pseudo. | |
4811 | ||
d3a8b6a6 NC |
4812 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
4813 | ||
4814 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
4815 | as SYMBOL_REFs from the constant pool. | |
4816 | ||
3c1299c5 AO |
4817 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
4818 | ||
4819 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
4820 | passed by invisible reference. | |
4821 | ||
c2c9f6c9 RH |
4822 | 2002-02-05 Richard Henderson <rth@redhat.com> |
4823 | ||
4824 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
4825 | ||
a824924d HPN |
4826 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
4827 | ||
4828 | Implement using "base addresses" in insn operands as default. | |
4829 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
4830 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
4831 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
4832 | used to read the rtx value. | |
4833 | (mmix_target_asm_function_epilogue): Fix spacing. | |
4834 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
4835 | (mmix_legitimate_address): Ditto. | |
4836 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
4837 | should be loaded with a GETA insn. Don't allocate needless extra | |
4838 | char for nul termination and fix misleading comment. | |
4839 | (mmix_print_operand_address): Handle constants if | |
4840 | TARGET_BASE_ADDRESSES. | |
4841 | (mmix_output_register_setting): Use base addressing if | |
4842 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
4843 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
4844 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
4845 | to use R as constraint, add LDA to match s. | |
4846 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
4847 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
4848 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
4849 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
4850 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
4851 | order with other fixed registers. | |
4852 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
4853 | other parameter/call-clobbered registers. | |
4854 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
4855 | -mbase-addresses, -mno-base-addresses. | |
4856 | (MMIX Options): Ditto. | |
4857 | ||
73c342b9 JDA |
4858 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4859 | ||
4860 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
4861 | ||
ef238c58 AH |
4862 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
4863 | ||
831c4e87 | 4864 | * config/rs6000/altivec.h: Change elem to _S_elem. |
ef238c58 | 4865 | |
ad08e60e JT |
4866 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
4867 | ||
4868 | * config/netbsd.h (WCHAR_TYPE): Define. | |
4869 | (WCHAR_TYPE_SIZE): Ditto. | |
4870 | (WINT_TYPE): Ditto. | |
4871 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
4872 | (WCHAR_UNSIGNED): Ditto. | |
4873 | (WCHAR_TYPE_SIZE): Ditto. | |
4874 | (WINT_TYPE): Ditto. | |
4875 | * config/arm/netbsd.h: Likewise. | |
4876 | * config/i386/netbsd-elf.h: Likewise. | |
4877 | * config/i386/netbsd.h: Likewise. | |
4878 | * config/m68k/netbsd-elf.h: Likewise. | |
4879 | * config/m68k/netbsd.h: Likewise. | |
4880 | * config/ns32k/netbsd.h: Likewise. | |
4881 | * config/sparc/netbsd.h: Likewise. | |
4882 | * config/vax/netbsd.: Likewise. | |
4883 | ||
f913c102 AO |
4884 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
4885 | ||
4886 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
4887 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
4888 | (TARGET_INITIALIZER): this. | |
4889 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
4890 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
4891 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
4892 | (record_layout_info): Added prev_field. | |
4893 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
4894 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
4895 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
4896 | * stor-layout.c: Include target.h. | |
4897 | (start_record_layout): Initialize prev_field. | |
4898 | (place_field): Handle MS bit-field layout, and disregard | |
4899 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
4900 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
4901 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
4902 | ||
c13db5d1 JM |
4903 | 2002-02-05 Jason Merrill <jason@redhat.com> |
4904 | ||
c13db5d1 JM |
4905 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
4906 | ||
4505024e AJ |
4907 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
4908 | ||
4909 | * crtstuff.c: Fix comments. | |
4910 | ||
794ad79d RH |
4911 | 2002-02-05 Richard Henderson <rth@redhat.com> |
4912 | ||
2e279a9b RH |
4913 | PR fortran/3393 |
4914 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
4915 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
4916 | ||
794ad79d RH |
4917 | PR fortran/3392 |
4918 | * config/mips/mips.c (function_arg): Handle TImode. | |
4919 | (function_arg_advance): Likewise. | |
4920 | ||
8f909017 AH |
4921 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
4922 | ||
c13db5d1 JM |
4923 | * config/rs6000/altivec.h (vec_step_help): Rename to |
4924 | __vec_step_help. | |
8f909017 | 4925 | |
66daa9e3 AH |
4926 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
4927 | ||
c13db5d1 | 4928 | * config/rs6000/altivec.h: Fix typos. |
66daa9e3 | 4929 | |
2696e97b JT |
4930 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
4931 | ||
4932 | * config/arm/netbsd.h: Correct a comment. | |
4933 | ||
3deb2758 AH |
4934 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
4935 | ||
c13db5d1 JM |
4936 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
4937 | building void typed builtins. | |
3deb2758 | 4938 | |
c13db5d1 JM |
4939 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
4940 | (vec_step): Implement for C++. | |
3deb2758 | 4941 | |
c13db5d1 | 4942 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2c79137a RK |
4943 | |
4944 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
4945 | ||
ebbb0a63 RH |
4946 | 2002-02-04 Richard Henderson <rth@redhat.com> |
4947 | ||
4948 | * combine.c (nonzero_bits): Re-introduce special case for | |
4949 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
4950 | ||
ae4b4a02 AH |
4951 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
4952 | ||
c13db5d1 JM |
4953 | * doc/extend.texi: Warn about unsupported usage of altivec |
4954 | builtins. | |
ae4b4a02 | 4955 | |
c13db5d1 JM |
4956 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
4957 | (altivec_predicate_*): New. | |
ae4b4a02 | 4958 | |
c13db5d1 JM |
4959 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
4960 | Add C++ version of vec_*() functions. | |
ae4b4a02 | 4961 | |
c13db5d1 JM |
4962 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
4963 | (bdesc_2arg): Remove altivec predicates. | |
4964 | (altivec_expand_builtin): Handle predicates. | |
4965 | (altivec_init_builtins): Handle predicates. | |
4966 | (altivec_expand_predicate_builtin): New. | |
ae4b4a02 | 4967 | |
f6bcf44c JDA |
4968 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4969 | ||
4970 | * pa.c (DO_FRAME_NOTES): Move forward. | |
4971 | (store_reg): Revise handling of frame notes. | |
4972 | (load_reg): Likewise. | |
4973 | (set_reg_plus_d): Likewise. | |
4974 | (hppa_expand_prologue): Likewise. | |
4975 | (hppa_expand_epilogue): Likewise. | |
b137f9fc | 4976 | |
703b0080 JDA |
4977 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4978 | ||
4979 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
4980 | ||
6f9fdf4d JJ |
4981 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
4982 | ||
4983 | PR c/4475, c++/3780: | |
4984 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
4985 | * c-common.h (SWITCH_TYPE): Define. | |
4986 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
4987 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
4988 | Rename spareness variable to sparseness. | |
4989 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
4990 | if non-NULL instead of TREE_TYPE (orig_index). | |
4991 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
4992 | (expand_end_case): Define using expand_end_case_type. | |
4993 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
4994 | to expand_end_case_type. | |
4995 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
4996 | ||
79109502 JDA |
4997 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4998 | ||
4999 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
5000 | (BIGGEST_ALIGNMENT): Change to 128. | |
5001 | ||
e62a5987 JDA |
5002 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5003 | ||
5004 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
5005 | ||
219f24a4 JDA |
5006 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5007 | ||
5008 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
5009 | ||
3cb66fd7 NC |
5010 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
5011 | ||
5012 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
5013 | field. | |
831c4e87 | 5014 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
3cb66fd7 | 5015 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
831c4e87 KC |
5016 | replace uses with cfun->machine->uses_anonymous_args. |
5017 | (arm_reorg): Do not reset uses_anonymous_args. | |
3cb66fd7 NC |
5018 | |
5019 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
5020 | any geenral register. | |
b137f9fc | 5021 | |
5d5603e2 | 5022 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
24c545ff BS |
5023 | |
5024 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
5025 | the entry block. | |
5026 | ||
563c12b0 RH |
5027 | 2002-02-04 Richard Henderson <rth@redhat.com> |
5028 | ||
5029 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
5030 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
5031 | REGNO_POINTER_ALIGN. | |
5032 | ||
5033 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
5034 | (HARD_FRAME_POINTER_REGNUM): New. | |
5035 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
5036 | (FIXED_REGS, CALL_USED_REGS): Update. | |
5037 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
5038 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
5039 | (HARD_REGNO_NREGS): Update for SFP. | |
5040 | (STACK_POINTER_OFFSET): Include bias here ... | |
5041 | (FIRST_PARM_OFFSET): ... not here. | |
5042 | (STACK_BIAS): Remove. | |
5043 | (INIT_EXPANDERS): New. | |
5044 | (STARTING_FRAME_OFFSET): Do not include bias. | |
5045 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
5046 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
5047 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
5048 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
5049 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
5050 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
5051 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
5052 | (MUST_SAVE_REGISTER): Likewise. | |
5053 | (sparc_flat_function_prologue): Likewise. | |
5054 | (sparc_flat_function_epilogue): Likewise. | |
5055 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
5056 | (sparc_init_modes): SFP is GENERAL_REGS. | |
5057 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
5058 | ||
14691f8d RH |
5059 | 2002-02-04 Richard Henderson <rth@redhat.com> |
5060 | ||
5061 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
5062 | current_function_is_thunk. | |
5063 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
5064 | called from ASM_OUTPUT_MI_THUNK and not. | |
5065 | (alpha_does_function_need_gp): Thunks always need gp. | |
5066 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
5067 | (alpha_output_mi_thunk_osf): New. | |
5068 | * config/alpha/alpha-protos.h: Update. | |
5069 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
5070 | ||
af702de8 RS |
5071 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
5072 | ||
5073 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
5074 | function types, not when they're taken away. | |
5075 | ||
5b1cacd8 JL |
5076 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
5077 | ||
5078 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
5079 | CODE_LABEL and jump table when replacing a table jump with a | |
5080 | simple jump. | |
5081 | ||
f3e9edff UW |
5082 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
5083 | ||
5084 | * config/s390/s390-protos.h (legitimize_la_operand, | |
5085 | s390_secondary_input_reload_class, s390_plus_operand, | |
5086 | s390_expand_plus_operand): Add prototypes. | |
5087 | ||
5088 | config/s390/s390.c (s390_secondary_input_reload_class, | |
5089 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
5090 | ||
5091 | (struct s390_address): New member 'pointer'. | |
5092 | (s390_decompose_address): Compute it. | |
5093 | (legitimate_la_operand_p): Use it. | |
5094 | (legitimize_la_operand): New function. | |
5095 | (movti, movdi, movdf splitters): Call it. | |
5096 | ||
5097 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
5098 | (PREDICATE_CODES): Add s390_plus_operand. | |
5099 | ||
5100 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
5101 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
5102 | ||
5103 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
5104 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
5105 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
5106 | ||
3c9a08ec UW |
5107 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
5108 | ||
5109 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
5110 | register names for regular asm () construct. | |
5111 | ||
ac300a45 JJ |
5112 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
5113 | ||
5114 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
5115 | registers. | |
5116 | ||
fa852403 JJ |
5117 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
5118 | ||
5119 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
5120 | pat for recog. | |
5121 | ||
fecaac37 HP |
5122 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
5123 | ||
831c4e87 KC |
5124 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
5125 | constant pool to be identical by string address and index. | |
fecaac37 | 5126 | |
10c45943 AG |
5127 | 2002-02-04 Anthony Green <green@redhat.com> |
5128 | ||
5129 | * output.h (SECTION_OVERRIDE): Define. | |
5130 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
5131 | ||
69474c3c JT |
5132 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
5133 | ||
5134 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
5135 | by existing arm*-*-netbsd* (a.out) target. | |
5136 | (ns32k-*-netbsdelf*): Likewise. | |
5137 | (sparc-*-netbsdelf*): Likewise. | |
5138 | (vax-*-netbsdelf*): Likewise. | |
5139 | ||
939a46f6 | 5140 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
3b56934f CF |
5141 | |
5142 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
5143 | headers and libobjc headers. | |
5144 | ||
5145 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
5146 | ||
5147 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
5148 | (_mingw.h): Remove duplicate include. | |
5149 | ||
2fd95d71 JT |
5150 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
5151 | ||
5152 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
5153 | (m68010-*-netbsdelf*): New... | |
5154 | (m68k*-*-netbsdelf*): ...targets. | |
5155 | * config/m68k/netbsd-elf.h: New file. | |
5156 | ||
0ea6f6a0 KH |
5157 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5158 | ||
5159 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
5160 | ||
cbf1b2da KH |
5161 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5162 | ||
5163 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
5164 | h8300_init_once. | |
5165 | (h8_pop_ops): Likewise. | |
5166 | (h8_move_ops): Likewise. | |
5167 | ||
0869f126 KH |
5168 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5169 | ||
5170 | * config/h8300/h8300.c (os_task): Make it static. | |
5171 | (monitor): Likewise. | |
5172 | (pragma_saveall): Likewise. | |
5173 | ||
90e65b70 AO |
5174 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
5175 | ||
5176 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
5177 | constant is a valid sign-extension for Pmode. | |
5178 | ||
9cbcd983 KH |
5179 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5180 | ||
5181 | * config/h8300/h8300.c: Fix formatting. | |
5182 | ||
7a27efc4 KH |
5183 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5184 | ||
5185 | * config/h8300/h8300.md: Fix formatting. | |
5186 | ||
54175a44 KH |
5187 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5188 | ||
5189 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
5190 | predicates of operands[1]. Split the patterns for each | |
5191 | processor variant. | |
5192 | ||
eceb1755 KH |
5193 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
5194 | ||
5195 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
5196 | of operands[1] to register_operand. | |
5197 | ||
0fef3fd0 NB |
5198 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
5199 | ||
5200 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
5201 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
5202 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
5203 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
5204 | (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. | |
5205 | (cpp_handle_option): Handle the new options. | |
5206 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
5207 | * cpplib.h (struct cpp_options): New member signed_char. | |
5208 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
5209 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
5210 | (static_specs): Remove signed_char_spec. | |
5211 | (do_spec1): Don't handle %c. | |
5212 | * system.h: Poison SIGNED_CHAR_SPEC. | |
5213 | * tradcif.y (yylex): Use flag_signed_char. | |
5214 | * tradcpp.h (flag_signed_char): New. | |
5215 | * tradcpp.c (flag_signed_char): New. | |
5216 | (main): Handle new command-line options. | |
5217 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
5218 | config: | |
5219 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
5220 | * avr/avr.h: Remove old comments. | |
5221 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
5222 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
5223 | (SIGNED_CHAR_SPEC): Remove. | |
5224 | doc: | |
5225 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
5226 | ||
0617ed52 EC |
5227 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
5228 | ||
5229 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
5230 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
5231 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
5232 | (ASM_OUTPUT_REG_POP): Ditto. | |
5233 | ||
dfd48d76 NB |
5234 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
5235 | ||
5236 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
5237 | patch. | |
5238 | ||
4a23409e JJ |
5239 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
5240 | ||
5241 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
5242 | ||
d3c52658 JJ |
5243 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
5244 | ||
5245 | PR c/5304: | |
5246 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
5247 | unconditionally. | |
5248 | ||
02c5a3bd JJ |
5249 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
5250 | ||
5251 | * cfganal.c: Include tm_p.h. | |
5252 | (keep_with_call_p): Fix the test that determines if a register holds | |
5253 | the return value of a call. | |
5254 | ||
3968de80 DD |
5255 | 2002-02-01 DJ Delorie <dj@redhat.com> |
5256 | ||
5257 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
5258 | we are given conflicting registers, switch to the other one we | |
5259 | had allocated for us. | |
5260 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
5261 | as TImode so we know when the "other" register is available. | |
5262 | ||
1338ea6c DB |
5263 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
5264 | ||
5265 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
5266 | sparc/sparc_bi.h. | |
5267 | ||
f015be23 JJ |
5268 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
5269 | ||
5270 | * cfganal.c (keep_with_call_p): New function. | |
5271 | (flow_call_edges_add): Prevent splitting a block between a call and | |
5272 | a single-set instruction that should be kept in the same block. | |
5273 | ||
63708ffc CR |
5274 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
5275 | ||
5276 | * doc/install.texi (avr): Update outdated URL. | |
5277 | ||
5ee4950e AH |
5278 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
5279 | ||
831c4e87 KC |
5280 | * config/stormy16/stormy16.md (pushqi): New. |
5281 | (popqi): New. | |
5282 | (pushhi): New. | |
5283 | (pophi): New. | |
5284 | (movhi): Remove stack operands. | |
5285 | (movqi): Likewise. | |
5286 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
5287 | nonimmediate_nonstack_operand. | |
5288 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
5289 | New. | |
5290 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
5291 | New. | |
5ee4950e | 5292 | |
b88c0704 JM |
5293 | 2002-01-31 Jason Merrill <jason@redhat.com> |
5294 | ||
5295 | * Makefile.in (c-parse.c): Handle .output file. | |
5296 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
5297 | ||
ac282977 AO |
5298 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
5299 | ||
5300 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
5301 | the -me[lb] option is given. Don't output the default flag | |
5302 | twice. | |
5303 | ||
bebc7e8b ZW |
5304 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
5305 | ||
5306 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
5307 | the primary source file; this has not been done yet. | |
5308 | * c-decl.c (c_expand_body): Reset input_filename from | |
5309 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
5310 | ||
5809eb5f KH |
5311 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
5312 | ||
5313 | * rtlanal.c (subreg_regno_offset): Do not use | |
5314 | SUBREG_REGNO_OFFSET. | |
5315 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
5316 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
5317 | ||
8512bbd7 JM |
5318 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
5319 | ||
5320 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
5321 | version rather than GNATS version in --version output. | |
5322 | ||
74cb3cc8 RS |
5323 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
5324 | ||
5325 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
5326 | when copying back from a temporary. | |
5327 | ||
874b5b14 RH |
5328 | 2002-01-30 Richard Henderson <rth@redhat.com> |
5329 | ||
5330 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
5331 | and new_dest are the same. | |
5332 | ||
e803a64b RH |
5333 | 2002-01-30 Richard Henderson <rth@redhat.com> |
5334 | ||
89cf7be5 | 5335 | PR opt/5076 |
e803a64b RH |
5336 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
5337 | * rtl.c (note_insn_name): Update. | |
5338 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
5339 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
5340 | to perform loop rotation. | |
5341 | (expand_exit_loop_top_cond): New. | |
5342 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
5343 | * c-semantics.c (genrtl_while_stmt): Use it. | |
5344 | (genrtl_for_stmt): Likewise. | |
5345 | ||
0b51254d AO |
5346 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
5347 | ||
5348 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
5349 | arguments to 64-bit boundaries on 64-bit ABIs. | |
5350 | ||
71cef493 SE |
5351 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
5352 | ||
5353 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
5354 | ||
6169e5fd JM |
5355 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
5356 | ||
5357 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
5358 | invalid type. | |
5359 | ||
86f808dc DB |
5360 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
5361 | ||
5362 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
5363 | * config/sparc/sparc_bi.h: Remove file. | |
5364 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
5365 | ||
5748ebeb RH |
5366 | 2002-01-30 Richard Henderson <rth@redhat.com> |
5367 | ||
5368 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
5369 | ||
20d32cc2 ZW |
5370 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
5371 | ||
5372 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
5373 | ||
b88c0704 | 5374 | 2002-01-30 Jason Merrill <jason@redhat.com> |
6bb28965 JM |
5375 | |
5376 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
5377 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
5378 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
5379 | ||
5380 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
5381 | ||
37060e78 JJ |
5382 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
5383 | ||
5384 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
5385 | in cselib_lookup. | |
5386 | ||
d18dba68 AH |
5387 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
5388 | ||
bebc7e8b ZW |
5389 | * rs6000.md ("*call_value_local32"): Remove constraints. |
5390 | ("*call_value_local64"): Same. | |
5391 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
5392 | ("*call_value_nonlocal_aix32"): Same. | |
5393 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
5394 | ("*call_value_nonlocal_aix64"): Same. | |
5395 | ("*call_value_nonlocal_sysv"): Same. | |
d18dba68 | 5396 | |
80a8aac6 RH |
5397 | 2002-01-29 Richard Henderson <rth@redhat.com> |
5398 | ||
5399 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
5400 | ||
12beba6f RH |
5401 | 2002-01-29 Richard Henderson <rth@redhat.com> |
5402 | ||
5403 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
5404 | address loads. | |
5405 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
5406 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
5407 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
5408 | instead of open-coded loop. | |
5409 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
5410 | be fixed when in use. | |
5411 | ||
2583081e RH |
5412 | 2002-01-29 Richard Henderson <rth@redhat.com> |
5413 | ||
5414 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
5415 | * sched-rgn.c (propagate_deps): Update them. | |
5416 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
5417 | clobbers list when either gets too long. | |
5418 | ||
3b8d200e JJ |
5419 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
5420 | ||
5421 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
5422 | and INDEX_REGS the same as GENERAL_REGS. | |
5423 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
5424 | ||
2d3115eb NB |
5425 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
5426 | ||
bebc7e8b | 5427 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
2d3115eb | 5428 | |
ecbe845e UW |
5429 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
5430 | ||
bebc7e8b | 5431 | * config/s390/s390.md (movstrsico, movstrdix_64, |
ecbe845e | 5432 | movstrsix_31): Remove, replace by ... |
bebc7e8b | 5433 | (movstrdi_short, movstrsi_short, movstrdi_long, |
ecbe845e UW |
5434 | movstrsi_long): ... these. New. |
5435 | (movstrdi, movstrsi): Adapt. | |
5436 | ||
5437 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
bebc7e8b | 5438 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
ecbe845e UW |
5439 | Remove unnecessary CC clobber. |
5440 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
5441 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
5442 | ||
5443 | (divmoddi4): Don't partially initialize TImode register. | |
5444 | ||
0b32fca5 GK |
5445 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
5446 | ||
5447 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
5448 | ||
08ef5437 RH |
5449 | 2002-01-29 Richard Henderson <rth@redhat.com> |
5450 | ||
5451 | * flow.c (print_rtl_and_abort): Remove. | |
5452 | (print_rtl_and_abort_fcn): Remove. | |
5453 | (verify_local_live_at_start): Use dump_bb instead. | |
5454 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
5455 | (verify_wide_reg_1): Return 2 on mode test failure. | |
5456 | ||
8469e54e NB |
5457 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
5458 | ||
5459 | PR c/3325, c/3326, c/2511, c/3347 | |
5460 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
5461 | (grokdeclarator): Take bitfield width as an input. | |
5462 | Ensure bitfields are given the correct type. Perform | |
5463 | bitfield width validation with build_bitfield_integer_type | |
5464 | rather than waiting for finish_struct. | |
5465 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
5466 | push_parmdecl, grokfield, start_function): Update calls to | |
5467 | grokdeclarator. | |
5468 | (build_bitfield_integer_type): New function. | |
5469 | (finish_struct): Move bitfield validation to grokdeclarator | |
bebc7e8b | 5470 | and build_bitfield_integer_type. |
8469e54e NB |
5471 | * tree.c (build_nonstandard_integer_type): New function. |
5472 | * tree.h (build_nonstandard_integer_type): New prototype. | |
5473 | objc: | |
5474 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
5475 | ||
ffdeea47 JJ |
5476 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
5477 | ||
5478 | PR other/1502: | |
5479 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
5480 | don't ignore unrecognized -W* options. | |
5481 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
5482 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
5483 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
5484 | cpp_handle_option. | |
5485 | ||
5486 | PR c/2896: | |
5487 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
5488 | (cpp_options): Source cpp_unique_options. | |
5489 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
5490 | when used together with cc1_options. | |
5491 | (static_specs): Add cpp_unique_options. | |
5492 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
5493 | when used together with cc1_options. | |
5494 | ||
1a275226 KH |
5495 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
5496 | ||
5497 | * config/h8300/h8300-protos.h: Update the prototype of | |
5498 | output_a_shift. | |
5499 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
5500 | argument 'insn'. Remove redundant code. | |
5501 | * config/h8300/h8300.md: Adust to the new prototype of | |
5502 | output_a_shift. | |
5503 | ||
a11d9dfc KH |
5504 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
5505 | ||
5506 | * config/h8300/h8300-protos.h: Update the prototypes of | |
5507 | emit_a_rotate and expand_a_rotate. | |
5508 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
5509 | first argument to 'enum rtx_code'. | |
5510 | (expand_a_rotate): Likewise. | |
5511 | ||
871f73e3 KH |
5512 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
5513 | ||
5514 | * config/h8300/h8300-protos.h: Update the prototype of | |
5515 | output_simode_bld. | |
5516 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
5517 | 'log2'. | |
5518 | * config/h8300/h8300.md: Adjust to the new prototype. | |
5519 | ||
5fc4b751 KH |
5520 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
5521 | ||
5522 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
5523 | redundant code. | |
5524 | ||
2d67bd7b JDA |
5525 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5526 | ||
5527 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
5528 | is a fixed register before returning pic_offset_table_rtx. | |
5529 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
5530 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
5531 | ||
5a852b3e JM |
5532 | 2002-01-28 Jason Merrill <jason@redhat.com> |
5533 | ||
6bb28965 | 5534 | * dwarf2.h: Sync with src version. |
5a852b3e | 5535 | |
3bca17dd PK |
5536 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
5537 | ||
5538 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
5539 | BT_FN_VOID_PTR_VAR. | |
5540 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
5541 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
5542 | first argument is now const void ptr. | |
5543 | ||
7dc3f8c0 KH |
5544 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
5545 | ||
5546 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
5547 | ||
e83cb5f0 RZ |
5548 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
5549 | ||
5550 | * toplev.c (lang_independent_init): Round up identifier size. | |
5551 | ||
5721cd84 RE |
5552 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
5553 | ||
5554 | * config.gcc: Revert previous change. | |
5555 | ||
d534119e AP |
5556 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
5557 | ||
5558 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
5559 | ||
5a721dab RE |
5560 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
5561 | ||
5562 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
5563 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
5564 | other non-elf netbsd config frags. | |
5565 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
5566 | collect2 will does that. | |
5567 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
5568 | shared-lib frobbing will work. | |
5569 | ||
da1775d6 KH |
5570 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
5571 | ||
5572 | * config/h8300/h8300.h: Fix formatting. | |
5573 | * config/h8300/h8300.md: Likewise. | |
5574 | ||
8f2e963b LR |
5575 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
5576 | ||
5577 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
5578 | the old, removed AAA_standards fix. | |
5579 | * fixinc/fixincl.x: Rebuilt. | |
5580 | ||
fdae5767 HPN |
5581 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
5582 | ||
5583 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
5584 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
5585 | register EH before registering __fini__start. | |
5586 | ||
2a2ecb63 AH |
5587 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
5588 | ||
5589 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
5590 | ||
8ed43adf KH |
5591 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
5592 | ||
5593 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
5594 | with ones that work. | |
5595 | ||
917afb0c RK |
5596 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5597 | ||
5598 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
5599 | if not STRICT_ALIGNMENT. | |
5600 | * rtl.h (MEM_ALIGN): Likewise. | |
5601 | ||
f70a54cb CR |
5602 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
5603 | ||
5604 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
5605 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
5606 | ||
d8fd4914 KH |
5607 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
5608 | ||
5609 | * config/h8300/h8300.md (define_constants): New. | |
5610 | (anonymous patterns) Use defined constants appropriately. | |
5611 | ||
15e0e275 KH |
5612 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
5613 | ||
5614 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
5615 | ||
37a0f8a5 RH |
5616 | 2002-01-26 Richard Henderson <rth@redhat.com> |
5617 | ||
5618 | * sched-deps.c (reg_pending_uses_head): New. | |
5619 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
5620 | (find_insn_list): Don't mark inline. | |
5621 | (find_insn_mem_list): Remove. | |
5622 | (add_dependence_list, add_dependence_list_and_free): New. | |
5623 | (flush_pending_lists): Replace only_write param with separate | |
5624 | for_read and for_write parameters. Update all callers. Use | |
5625 | add_dependence_list_and_free. | |
5626 | (sched_analyze_1): Do not add reg dependencies here; just set | |
5627 | the pending bits. Use add_dependence_list. | |
5628 | (sched_analyze_2): Likewise. | |
5629 | (sched_analyze_insn): Replace schedule_barrier_found with | |
5630 | reg_pending_barrier. Add all dependencies for pending reg | |
5631 | uses, sets, and clobbers. | |
5632 | (sched_analyze): Don't add reg dependencies for calls, just | |
5633 | set pending bits. Use regs_invalidated_by_call. Treat | |
5634 | sched_before_next_call as a normal list, not a fake insn. | |
5635 | (init_deps): No funny init for sched_before_next_call. | |
5636 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
5637 | (init_deps_global): Init reg_pending_uses. | |
5638 | (finish_deps_global): Free it. | |
5639 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
5640 | (find_insn_mem_list): Remove. | |
5641 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
5642 | (propagate_deps): Use them. Zero temp mem lists. | |
5643 | ||
cea3bd3e RH |
5644 | 2002-01-26 Richard Henderson <rth@redhat.com> |
5645 | ||
5646 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
5647 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
5648 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
5649 | crtstuff.c instead of alpha assembly version. | |
5650 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
5651 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
5652 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
5653 | (__do_global_dtors_aux): Mark used. | |
5654 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
5655 | (fini_dummy, init_dummy): Remove. | |
5656 | ||
5657 | * config/alpha/crtbegin.asm: Remove file. | |
5658 | * config/alpha/crtend.asm: Remove file. | |
5659 | * config/alpha/t-crtbe: Remove file. | |
5660 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
5661 | (LINK_EH_SPEC): New. | |
5662 | ||
5663 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
5664 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
5665 | calling constructors. | |
5666 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
5667 | ||
5668 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
5669 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
5670 | CRT_END_INIT_DUMMY hack. | |
5671 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
5672 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
5673 | ||
5674 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
5675 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
5676 | ||
5677 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
5678 | invocation sequence. | |
5679 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
5680 | ||
5681 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
5682 | (FORCE_CODE_SECTION_ALIGN): New. | |
5683 | ||
60ffa0e5 RH |
5684 | 2002-01-26 Richard Henderson <rth@redhat.com> |
5685 | ||
5686 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
5687 | ||
61334ebe RH |
5688 | 2002-01-26 Richard Henderson <rth@redhat.com> |
5689 | ||
5690 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
5691 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
5692 | ||
1d788fb6 KH |
5693 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
5694 | ||
5695 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
5696 | cannot be triggered. | |
5697 | Restrict each bit extraction pattern to a variant on which the | |
5698 | pattern is tested. | |
5699 | ||
87611f88 JM |
5700 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
5701 | ||
5702 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
5703 | ||
cd74ec59 KH |
5704 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
5705 | ||
5706 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
5707 | be triggered. | |
5708 | Restrict each bit test pattern to a variant on which the | |
5709 | pattern is tested. | |
5710 | ||
93051e0f KG |
5711 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5712 | ||
5713 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
5714 | INTEGER_CST. | |
5715 | ||
216c995f DB |
5716 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
5717 | ||
5718 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
5719 | default setting. | |
5720 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
5721 | existing setting. | |
5722 | ||
33c7f925 GK |
5723 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
5724 | ||
5725 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
5726 | stripping off the first character. | |
5727 | (dbxout_source_file): Likewise. | |
5728 | ||
6cd444b4 DD |
5729 | 2002-01-25 DJ Delorie <dj@redhat.com> |
5730 | ||
5731 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
5732 | using rtx_equal_p, not by comparing pointers. | |
5733 | ||
751551d5 SE |
5734 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
5735 | ||
5736 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
5737 | for PIC_OFFSET_TABLE_REGNUM. | |
5738 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
5739 | ||
e564e618 DB |
5740 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
5741 | ||
5742 | * config.gcc (x86_64-*-freebsd*): New target. | |
5743 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
5744 | value. | |
5745 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
5746 | * config/i386/freebsd64.h: New file. | |
5747 | ||
ff3aaf17 DR |
5748 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
5749 | ||
4857d29d DR |
5750 | * config/alpha/x-vms (version): Make static. |
5751 | ||
5752 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
5753 | in previous checkin. | |
5754 | ||
ff3aaf17 DR |
5755 | * Makefile.in (install-headers-cp): New target. |
5756 | * config.gcc (alpha-dec-*vms*): Install headers with | |
5757 | install-headers-cp | |
5758 | ||
48d79c43 JH |
5759 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
5760 | ||
5761 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
5762 | avoid it's copies. | |
5763 | ||
995b5904 RK |
5764 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5765 | ||
5766 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
5767 | of compare_tree_int. | |
5768 | (expand_builtin_strncat): Likewise. | |
5769 | * c-decl.c (finish_struct): Use tree_low_cst. | |
5770 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
5771 | * tree.c (compare_tree_int): Likewise. | |
5772 | ||
75eefe3f UW |
5773 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
5774 | ||
5775 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
5776 | adjustments even if they are implemented by more than two insns. | |
5777 | ||
5a133afd JH |
5778 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
5779 | ||
995b5904 | 5780 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
5a133afd JH |
5781 | * df.h (struct ref): Kill B. |
5782 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
5783 | ||
5784 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
5785 | * flow.c (propagate_one_insn): Use it. | |
5786 | (mark_used_regs): Handle NIL. | |
5787 | ||
ead39bdf | 5788 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
3d8dd3c0 GK |
5789 | |
5790 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
5791 | to help folding. | |
5792 | ||
01a2ccd0 DE |
5793 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
5794 | ||
5795 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
5796 | is restricted to legitimate form for instruction. | |
5797 | ||
fd29f6ea BW |
5798 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
5799 | ||
5800 | * doc/install.texi (xtensa-*-elf): New target. | |
5801 | (xtensa-*-linux*): New target. | |
5802 | * doc/contrib.texi: Add myself. | |
5803 | ||
55492b32 NC |
5804 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
5805 | ||
5806 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
5807 | purpose register to hold an SImode (or smaller) value. | |
5808 | ||
72c7c913 JJ |
5809 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
5810 | ||
5811 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
5812 | registry only. | |
5813 | * crtstuff.c: Likewise. | |
5814 | ||
c4df4ceb KH |
5815 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
5816 | ||
5817 | * config/h8300/h8300.md (negation patterns): Tighten | |
5818 | predicates to register_operand. | |
5819 | ||
70e531f5 AH |
5820 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
5821 | ||
3bca17dd PK |
5822 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
5823 | mode, not Pmode. | |
70e531f5 | 5824 | |
3bca17dd | 5825 | * builtins.c (expand_builtin_prefetch): Same. |
70e531f5 | 5826 | |
a4f76ef9 AO |
5827 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
5828 | ||
5829 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
5830 | modes. | |
5831 | ||
9bf25b09 KH |
5832 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
5833 | ||
5834 | * config/h8300/h8300.c (print_operand): Remove support for | |
5835 | operand character 'A'. | |
5836 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
5837 | operand character 'A' with either 'T' or 'S'. | |
5838 | ||
974af6a5 KH |
5839 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
5840 | ||
5841 | * config/h8300/h8300.c (print_operand): Remove support for | |
5842 | operand character 'U'. | |
5843 | ||
7a5bb7b8 AP |
5844 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
5845 | ||
3bca17dd | 5846 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
7a5bb7b8 | 5847 | |
92a4639e NC |
5848 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
5849 | ||
5850 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
5851 | values to be assigned to the stack pointer. | |
5852 | ||
467cb2da HP |
5853 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
5854 | ||
bebc7e8b | 5855 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
467cb2da HP |
5856 | to const_double needs to be done right for big-endian systems. |
5857 | ||
3b6cb920 JM |
5858 | 2002-01-24 Jason Merrill <jason@redhat.com> |
5859 | ||
b08dd119 | 5860 | PR c++/2432 |
3b6cb920 JM |
5861 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
5862 | to can_throw_internal. | |
5863 | ||
f3077311 RH |
5864 | 2002-01-23 Richard Henderson <rth@redhat.com> |
5865 | ||
5866 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
5867 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
5868 | ||
e1d71275 AO |
5869 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
5870 | ||
5871 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
5872 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
5873 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
5874 | as a temporary, if possible. | |
5875 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
5876 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
5877 | ||
dc271dbe KH |
5878 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
5879 | ||
5880 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
5881 | accept to accept 0x80 as operands[2]. | |
5882 | ||
1a9017f9 AO |
5883 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
5884 | ||
5885 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
5886 | ||
6932f033 RH |
5887 | 2002-01-23 Richard Henderson <rth@redhat.com> |
5888 | ||
5889 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
5890 | ||
709619d9 AH |
5891 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
5892 | ||
3bca17dd PK |
5893 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
5894 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
5895 | an attribute. | |
709619d9 | 5896 | |
3d709fd3 RH |
5897 | 2002-01-23 Richard Henderson <rth@redhat.com> |
5898 | ||
5899 | * expr.c (move_by_pieces_1): Extend size before negation. | |
5900 | ||
88a446c0 RH |
5901 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
5902 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
5903 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
5904 | * config/m68k/t-m68kelf: Likewise. | |
5905 | ||
03984308 BW |
5906 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
5907 | ||
5908 | * config/xtensa/elf.h: New file. | |
5909 | * config/xtensa/lib1funcs.asm: New file. | |
5910 | * config/xtensa/lib2funcs.S: New file. | |
5911 | * config/xtensa/linux.h: New file. | |
5912 | * config/xtensa/t-xtensa: New file. | |
5913 | * config/xtensa/xtensa-config.h: New file. | |
5914 | * config/xtensa/xtensa-protos.h: New file. | |
5915 | * config/xtensa/xtensa.c: New file. | |
5916 | * config/xtensa/xtensa.h: New file. | |
5917 | * config/xtensa/xtensa.md: New file. | |
5918 | * config.gcc (xtensa-*-elf*): New target. | |
5919 | (xtensa-*-linux*): New target. | |
5920 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
5921 | numbers. This is required for the Xtensa port. | |
5922 | * integrate.c (copy_insn_list): Handle case where the static | |
5923 | chain is in memory and the memory address has to be copied to | |
5924 | a register. | |
5925 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
5926 | (Xtensa Options): New node. | |
5927 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
5928 | ||
c3d5c3fa ZW |
5929 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
5930 | ||
a63bea75 ZW |
5931 | * diagnostic.c (internal_error): Do ICE suppression only |
5932 | when ENABLE_CHECKING is not defined. | |
5933 | ||
c3d5c3fa ZW |
5934 | * c-typeck.c (require_complete_type): Return error_mark_node |
5935 | if type is error_mark_node. | |
5936 | ||
1398974c JJ |
5937 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
5938 | ||
5939 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
5940 | -Os and issue a warning. | |
5941 | ||
807633e5 ZW |
5942 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
5943 | ||
5944 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
5945 | current (lack of) need for host configuration by hand. | |
5946 | ||
5947 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
5948 | references. Documentation of some target macros moved from | |
5949 | hostconfig.texi to tm.texi. | |
5950 | ||
cf8002d0 WC |
5951 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
5952 | ||
5953 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
5954 | defined. | |
5955 | ||
d1e76310 KH |
5956 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
5957 | ||
5958 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
5959 | operand[3]. | |
5960 | ||
b2115575 JM |
5961 | 2002-01-23 Jason Merrill <jason@redhat.com> |
5962 | ||
f893c16e JM |
5963 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
5964 | ||
b2115575 JM |
5965 | * function.c (assign_parms): Don't put args of inline functions |
5966 | into registers when not optimizing. | |
5967 | ||
6bacc7b0 NC |
5968 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
5969 | ||
5970 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
5971 | (prologue_use): New pattern. | |
5972 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
5973 | preference to gen_rtx_USE. | |
5974 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
5975 | gen_rtx_USE. | |
5976 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
5977 | gen_rtx_USE. | |
5978 | ||
a415f7bc HPN |
5979 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
5980 | ||
5981 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
5982 | ||
5372b3fb NB |
5983 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
5984 | ||
5985 | PR c/3504 | |
5986 | * doc/extend.texi: Correct documentation of __alignof__. | |
5987 | ||
bd571ffc ZW |
5988 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
5989 | ||
5990 | * params.h: Rename arguments of DEFPARAM so that it will be | |
5991 | recognized as a translation keyword. | |
5992 | ||
333c8841 AH |
5993 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
5994 | ||
bd571ffc ZW |
5995 | * extend.texi: Document altivec functions. |
5996 | Fix N-bit adjectives in X86 builtin documentation. | |
333c8841 | 5997 | |
38979c65 AO |
5998 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
5999 | ||
6000 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
6001 | auto_inc_dec values. | |
6002 | ||
7458a9f0 RE |
6003 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
6004 | ||
6005 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
6006 | after backslash. | |
6007 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
6008 | ||
129bd0c4 AO |
6009 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
6010 | ||
6011 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
6012 | ||
8b9b74a9 RH |
6013 | 2002-01-22 Richard Henderson <rth@redhat.com> |
6014 | ||
6015 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
6016 | copy_insn not copy_rtx. | |
6017 | ||
d0c9db30 AM |
6018 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
6019 | ||
6020 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
6021 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
6022 | properly sign extened. | |
6023 | (force_to_mode): Tweak for sign extended constop. | |
6024 | ||
1e7e480e RH |
6025 | 2002-01-22 Richard Henderson <rth@redhat.com> |
6026 | ||
6027 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
6028 | for_each_rtx instead of assuming we're already looking at the MEM. | |
6029 | (split_small_symbolic_mem_operand): Likewise. | |
6030 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
6031 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
6032 | ||
6033 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
2e271932 RH |
6034 | |
6035 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
6036 | sequence number for the literal. | |
6037 | (divmoddi_internal_er): Likewise. | |
6038 | ||
b7f2fb96 CR |
6039 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6040 | ||
6041 | PR java/4972 | |
6042 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
6043 | in LIBICONV variable. | |
6044 | * configure: Regenerated. | |
6045 | ||
f66a0046 KW |
6046 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
6047 | ||
6048 | * dependence.c (build_def_use): Remove array_idx. | |
6049 | ||
e3b0efd1 KW |
6050 | * dwarfout.c (last_filename): Remove. |
6051 | (output_compile_unit_die): Remove last_filename. | |
6052 | ||
d8086cbb RS |
6053 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
6054 | Richard Henderson <rth@redhat.com> | |
6055 | ||
6056 | PR opt/3640 | |
6057 | * fold-const.c (fold): Optimize unsigned comparisons against | |
6058 | UINT_MAX (and similar unsigned constants). | |
6059 | ||
e8d52ba0 JJ |
6060 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
6061 | ||
d8086cbb | 6062 | * Makefile.in (loop.o): Depend on OPTABS_H. |
1398974c | 6063 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
d8086cbb | 6064 | against the predicate. |
11303d15 | 6065 | |
e8d52ba0 JJ |
6066 | PR target/5379 |
6067 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
6068 | for the address operand. | |
6069 | ||
cc7b420e RH |
6070 | 2002-01-22 Richard Henderson <rth@redhat.com> |
6071 | ||
6072 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
6073 | ||
816e265a CR |
6074 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6075 | ||
6076 | PR other/5450 | |
cc7b420e RH |
6077 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
6078 | preprocessor flags. | |
816e265a | 6079 | |
7c884404 JT |
6080 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
6081 | ||
6082 | * config.gcc (x86_64-*-netbsd*): New target. | |
6083 | * config/i386/netbsd64.h: New file. | |
6084 | ||
2b672c08 AH |
6085 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
6086 | ||
d8086cbb | 6087 | * regrename.c (kill_value): Fix typo. |
2b672c08 AH |
6088 | |
6089 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
6090 | ||
d8086cbb | 6091 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
2b672c08 | 6092 | |
d8086cbb | 6093 | * config/rs6000/rs6000.h: Same. |
2b672c08 | 6094 | |
d8086cbb RS |
6095 | * function.c (instantiate_virtual_regs): Remove |
6096 | STARTING_FRAME_PHASE. | |
6097 | (assign_stack_local_1): Same. | |
6098 | Calculate frame phase. | |
2b672c08 | 6099 | |
4b02997f NC |
6100 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
6101 | ||
6102 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
6103 | variable declaration to outer scope in order to simplify | |
6104 | future extensions. | |
6105 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
6106 | arm_hard_regno_mode_ok. | |
6107 | * config/arm/arm-protos.h: Add a prototype for | |
6108 | arm_hard_regno_mode_ok. | |
6109 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
6110 | check for DImode values using IP_REGNUM. | |
6111 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
6112 | DImode values using IP_REGNUM. | |
6113 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
6114 | that DImode values are not stored in IP_REGNUM. | |
c14a3a45 NC |
6115 | |
6116 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
6117 | note with a USE. | |
6118 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
6119 | ||
8a827ab2 JM |
6120 | 2002-01-22 Jason Merrill <jason@redhat.com> |
6121 | ||
6122 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
6123 | consistency if this COMPOUND_STMT is scoped. | |
6124 | ||
cf403648 KH |
6125 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
6126 | ||
6127 | * predict.c: Fix formatting. | |
6128 | * print-tree.c: Likewise. | |
6129 | * protoize.c: Likewise. | |
6130 | * real.h: Likewise. | |
6131 | * rtl.h: Likewise. | |
6132 | * sbitmap.h: Likewise. | |
6133 | * scan.c: Likewise. | |
6134 | * sched-deps.c: Likewise. | |
6135 | * sched-vis.c: Likewise. | |
6136 | * sdbout.c: Likewise. | |
6137 | * sibcall.c: Likewise. | |
6138 | * ssa.c: Likewise. | |
6139 | * ssa-ccp.c: Likewise. | |
6140 | * ssa-dce.c: Likewise. | |
6141 | * stmt.c: Likewise. | |
6142 | * stor-layout.c: Likewise. | |
6143 | * system.h: Likewise. | |
6144 | ||
aea9695c RK |
6145 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6146 | ||
a8765ae7 RK |
6147 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
6148 | if fits in bounds of base type. | |
6149 | ||
aea9695c RK |
6150 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
6151 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
6152 | (add_bound_info, default): If can't find a context, make a | |
6153 | SAVE_EXPR. | |
6154 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
6155 | ||
58bf601b HPN |
6156 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
6157 | ||
6158 | * c-typeck.c (parser_build_binary_op): If result from | |
6159 | build_binary_op is ERROR_MARK just return error_mark_node without | |
6160 | further processing. | |
6161 | ||
f982f805 JT |
6162 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
6163 | ||
6164 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
6165 | Split a.out-specific bits into... | |
6166 | * config/netbsd-aout.h: ...this. | |
6167 | * config/netbsd-elf.h: New file. | |
6168 | * config/alpha/netbsd-elf.h: Remove. | |
6169 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
6170 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
bd571ffc | 6171 | (STARTFILE_SPEC): Remove redundant definition. |
f982f805 JT |
6172 | (ENDFILE_SPEC): Likewise. |
6173 | (LINK_SPEC): Likewise. | |
6174 | (CPP_SPEC): Likewise. | |
6175 | (ASM_SPEC): Likewise. | |
6176 | (LIB_SPEC): Likewise. | |
6177 | (SWITCH_TAKES_ARG): Likewise. | |
6178 | (TARGET_MEM_FUNCTIONS): Likewise. | |
6179 | (CPP_PREDEFINES): Redefine. | |
6180 | (ASM_FINAL_SPEC): Remove redefinition. | |
6181 | (ASM_COMMENT_START): Redefine. | |
6182 | (FUNCTION_PROFILER): Define. | |
6183 | (TARGET_VERSION): Redefine. | |
6184 | Comment and formatting cleanup. | |
6185 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
6186 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
6187 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
6188 | big- or little-endian. | |
6189 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
6190 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
6191 | NetBSD configs. | |
6192 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
6193 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
6194 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
6195 | tmake_file, and don't lose previous tmake_file contents. | |
6196 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
6197 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
6198 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
6199 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
6200 | (mipsel-*-netbsd*): Rename this to... | |
6201 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
6202 | mips/little.h to tm_file for mips*el-*. | |
6203 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
6204 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
6205 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
6206 | ||
2e396476 JDA |
6207 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6208 | ||
6209 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
6210 | * pa.c (reg_before_reload_operand): New function implementation. | |
6211 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
6212 | contraints to "*m". | |
6213 | ||
3b5708e7 FS |
6214 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6215 | ||
6216 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
6217 | ||
85e79f96 JDA |
6218 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6219 | ||
6220 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
6221 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
6222 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
6223 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
6224 | (ENDFILE_SPEC): Undefine. | |
6225 | (STARTFILE_SPEC): Redefine for PA. | |
6226 | ||
38abadee FS |
6227 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6228 | ||
6229 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
6230 | ||
94f1d97c DJ |
6231 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
6232 | ||
6233 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
6234 | types. | |
6235 | ||
0333394e JJ |
6236 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
6237 | ||
6238 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
6239 | true for 64-bit mode only SSE registers in 32-bit mode. | |
6240 | ||
e9d1b155 KH |
6241 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
6242 | ||
6243 | * unwind-dw2.c: Fix formatting. | |
6244 | * unwind-dw2-fde.c: Likewise. | |
6245 | * unwind-dw2-fde.h: Likewise. | |
6246 | * unwind-pe.h: Likewise. | |
6247 | * varasm.c: Likewise. | |
6248 | * varray.h: Likewise. | |
6249 | ||
07338cf8 HPN |
6250 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
6251 | ||
6252 | Remove workaround for register stack overwrite bug in mmix. | |
6253 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
6254 | support for TARGET_REG_STACK_FILL_BUG. | |
6255 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
6256 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
6257 | Delete. | |
6258 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
6259 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
6260 | -mno-reg-stack-fill-bug-workaround. | |
6261 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
6262 | machine member has_call_without_parameters. | |
6263 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
6264 | -mreg-stack-fill-bug-workaround and | |
6265 | -mno-reg-stack-fill-bug-workaround. | |
6266 | (MMIX Options): Ditto. | |
6267 | ||
7192cbf1 KH |
6268 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
6269 | ||
6270 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
6271 | as appropriate. | |
6272 | Remove redundant code. | |
6273 | ||
d1552d7b JM |
6274 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
6275 | ||
6276 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
6277 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
6278 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
6279 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
6280 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
6281 | out target macro definitions and non-target-specific comments | |
6282 | mostly taken from old versions of the manual. | |
6283 | ||
ed168e45 KH |
6284 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
6285 | ||
6286 | * config/h8300/h8300.h: Fix comment formatting. | |
6287 | * config/ia64/aix.h: Likewise. | |
6288 | * config/ia64/ia64-protos.h: Likewise. | |
6289 | * config/ia64/ia64.c: Likewise. | |
6290 | * config/ia64/ia64.h: Likewise. | |
6291 | * config/ia64/ia64intrin.h: Likewise. | |
6292 | * config/ia64/linux.h: Likewise. | |
6293 | * config/ia64/unwind-aix.c: Likewise. | |
6294 | * config/ia64/unwind-ia64.c: Likewise. | |
6295 | ||
005e3e05 KH |
6296 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
6297 | ||
6298 | * config/h8300/h8300.c: Revise comments about shift code. | |
6299 | ||
64bead4c KH |
6300 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
6301 | ||
6302 | * config/h8300/h8300.c (function_arg): Update a comment. | |
6303 | ||
ed863595 KH |
6304 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
6305 | ||
6306 | * config/h8300/h8300.md: Update the comments at the beginning | |
6307 | of the file. | |
6308 | ||
5904dc87 KH |
6309 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
6310 | ||
6311 | * config/i370/i370.c: Fix comment formatting. | |
6312 | * config/i370/i370.h: Likewise. | |
6313 | * config/i370/i370.md: Likewise. | |
6314 | * config/i370/linux.h: Likewise. | |
6315 | ||
9702143f RK |
6316 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6317 | ||
cbafacd1 RK |
6318 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
6319 | ||
9702143f RK |
6320 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
6321 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
6322 | in incomplete case. | |
6323 | ||
6b6996b8 GS |
6324 | 2002-01-20 Graham Stott <grahams@redhat.com> |
6325 | ||
6326 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
6327 | ||
eab854f6 JDA |
6328 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6329 | ||
6330 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
6331 | ||
5b029315 TR |
6332 | 2002-01-19 Tom Rix <trix@redhat.com> |
6333 | ||
6334 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
6335 | ||
1d690052 AH |
6336 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
6337 | ||
d8086cbb | 6338 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
1d690052 | 6339 | |
d8086cbb RS |
6340 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
6341 | STARTING_FRAME_PHASE. | |
6342 | (STARTING_FRAME_PHASE): New. | |
6343 | (instantiate_virtual_regs): Check saneness of | |
6344 | STARTING_FRAME_PHASE. | |
1d690052 | 6345 | |
d8086cbb | 6346 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
1d690052 | 6347 | |
4dd8c093 AO |
6348 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
6349 | ||
6350 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
6351 | ||
6f2a28d7 CR |
6352 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6353 | ||
6354 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
6355 | be used for bootstrapping GCC 3.0. | |
6356 | ||
8763a465 KH |
6357 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
6358 | ||
6359 | * config/h8300/h8300.md: Fix an insn length. | |
6360 | ||
3ef42a0c KH |
6361 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
6362 | ||
6363 | * bitmap.h: Fix comment formatting. | |
6364 | * combine.c: Likewise. | |
6365 | * cppfiles.c: Likewise. | |
6366 | * c-pragma.h: Likewise. | |
6367 | * c-typeck.c: Likewise. | |
6368 | * df.c: Likewise. | |
6369 | * dwarf2out.c: Likewise. | |
6370 | * function.c: Likewise. | |
6371 | * gcc.c: Likewise. | |
6372 | * genattrtab.c: Likewise. | |
6373 | * gthr-win32.h: Likewise. | |
6374 | * haifa-sched.c: Likewise. | |
6375 | * predict.c: Likewise. | |
6376 | * rtlanal.c: Likewise. | |
6377 | * rtl.h: Likewise. | |
6378 | * unwind-dw2-fde.h: Likewise. | |
6379 | * unwind-pe.h: Likewise. | |
6380 | * vmsdbgout.c: Likewise. | |
6381 | ||
dd4dc3cd RK |
6382 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6383 | ||
6384 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
6385 | if type_required and passed decl. | |
6386 | ||
5fb4cf24 AH |
6387 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
6388 | ||
d8086cbb RS |
6389 | * config.gcc (cpu_type): Include altivec.h in powerpc |
6390 | extra_headers. | |
6391 | Same for darwin. | |
5fb4cf24 | 6392 | |
d8086cbb | 6393 | * config/rs6000/altivec.h: New. |
5fb4cf24 | 6394 | |
2705baf5 DE |
6395 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
6396 | ||
6397 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
6398 | handling information. | |
6399 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
6400 | for AIX. | |
6401 | (Misunderstandings): Add template instantiation and static template | |
6402 | member information for AIX. | |
6403 | ||
dbd680e1 JM |
6404 | 2002-01-17 Jason Merrill <jason@redhat.com> |
6405 | ||
821adc5e JM |
6406 | * dbxout.c (dbxout_type): Support const and volatile. |
6407 | ||
dbd680e1 JM |
6408 | * except.c (add_partial_entry): Remove backwards compatibility code. |
6409 | (end_protect_partials): Likewise. | |
6410 | ||
d0e82870 JJ |
6411 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
6412 | ||
6413 | * config/ia64/ia64.md (prologue_use): New. | |
6414 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
6415 | gen_prologue_use instead of gen_rtx_USE. | |
6416 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
6417 | as CODE_FOR_pred_rel_mutex. | |
6418 | (ia64_sched_reorder2): Likewise. | |
6419 | ||
f9f45c65 EC |
6420 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
6421 | ||
6422 | * config/mips/r3900.h: Reformat. | |
6423 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
6424 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
6425 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
6426 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
6427 | * config/mips/t-elf: Remove mips3 multilib. | |
6428 | ||
c66c8b0e L |
6429 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
6430 | ||
6431 | * config/mips/linux.h: Include "mips/abi64.h". | |
6432 | ||
5f083b72 L |
6433 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
6434 | ||
6435 | * config/mips/t-linux: New. | |
6436 | ||
6437 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
6438 | ||
6439 | * config/mips/linux.h: Don't include "gofast.h". | |
6440 | (INIT_SUBTARGET_OPTABS): Removed. | |
6441 | ||
af3c90a6 KH |
6442 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
6443 | ||
6444 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
6445 | output_a_shift. | |
6446 | * config/h8300/h8300.c: Likewise. | |
6447 | * config/h8300/h8300.md: Likewise. | |
6448 | ||
a1bf0a16 KH |
6449 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
6450 | ||
6451 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
6452 | spaces after an opcode name. | |
6453 | (pushqi1_h8300hs): Likewise. | |
6454 | (pushhi1_h8300hs): Likewise. | |
6455 | ||
88ab0d1c KH |
6456 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
6457 | ||
6458 | * doc/extend.texi: Replace "option" with "attribute" | |
6459 | appropriately. | |
6460 | ||
51c561e3 JJ |
6461 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
6462 | ||
6463 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
6464 | (and:DI () (const_int -8)). | |
6465 | (split_small_symbolic_mem_operand): Split | |
6466 | (mem (and:DI () (const_int -8)). | |
6467 | ||
b8c1a6b8 JJ |
6468 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
6469 | ||
6470 | PR target/5309: | |
d8086cbb | 6471 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
b8c1a6b8 JJ |
6472 | same way as TYPE_IMUL. |
6473 | (ultrasparc_sched_reorder): Likewise. | |
6474 | * config/sparc/sparc.md (type): Add comment to update | |
6475 | ultrasparc_sched_reorder when making changes. | |
6476 | ||
1e4e4df2 KH |
6477 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
6478 | ||
6479 | * doc/invoke.texi: Change the dump file name of block | |
6480 | reordering pass from 28.bbro to 29.bbro. | |
6481 | Mention -dk option. | |
6482 | ||
14d920c0 JH |
6483 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
6484 | ||
6485 | * i386.md (minsf splitter): Fix pasto. | |
6486 | ||
2e99323f NC |
6487 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
6488 | ||
6489 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
6490 | to frame pointer initialisation instruction. | |
6491 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
6492 | initialisation instruction. | |
ab8081c1 NC |
6493 | (soft_df_operand): Do not accept the IP register. |
6494 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
2e99323f | 6495 | |
c4031a04 JJ |
6496 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
6497 | ||
6498 | PR target/5357: | |
6499 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
6500 | MASK_V8 being both set. | |
6501 | ||
44b8152b UW |
6502 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
6503 | ||
6504 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
6505 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
6506 | config/s390/s390.md (call, call_value): Add GOT register to | |
6507 | CALL_INSN_FUNCTION_USAGE where needed. | |
6508 | (call_exp, call_value_exp): New. | |
6509 | ||
1d6e90ac NC |
6510 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
6511 | ||
6512 | * config/arm/arm.c: General formatting tidy up. | |
6513 | ||
6514 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
60e8b9f0 GS |
6515 | |
6516 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
6517 | cast and when casting an integer literal to "rtx" pointer. | |
6518 | (expand_call): Likewise. | |
6519 | * flow.c (try_pre_increment): Likewise. | |
6520 | (find_use_as_address): Likewise. | |
6521 | * integrate.c (expand_iline_function): Likewise. | |
6522 | * regmove.c (try_auto_increment): Likewise. | |
6523 | ||
1d6e90ac | 6524 | 2002-01-16 Graham Stott <grahams@redhat.com> |
7b25b076 GS |
6525 | |
6526 | * sched-rgn.c (passed): Use sbitmap_free. | |
6527 | (header): Likewise. | |
6528 | (inner): Likewise. | |
6529 | (in_queue): Likewise. | |
6530 | (in_stack): Likewise. | |
6531 | ||
31fce3c4 EC |
6532 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
6533 | ||
6534 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
6535 | ||
c99d986a KH |
6536 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
6537 | ||
6538 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
6539 | * system.h: Poison SLOW_ZERO_EXTEND. | |
6540 | * doc/tm.texi: Remove. | |
6541 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
6542 | * config/arm/arm.h: Likewise. | |
6543 | * config/avr/avr.h: Likewise. | |
6544 | * config/clipper/clipper.h: Likewise. | |
6545 | * config/convex/convex.h: Likewise. | |
6546 | * config/d30v/d30v.h: Likewise. | |
6547 | * config/dsp16xx/dsp16xx.h: Likewise. | |
6548 | * config/elxsi/elxsi.h: Likewise. | |
6549 | * config/fr30/fr30.h: Likewise. | |
6550 | * config/h8300/h8300.h: Likewise. | |
6551 | * config/i370/i370.h: Likewise. | |
6552 | * config/i386/i386.h: Likewise. | |
6553 | * config/m68k/m68k.h: Likewise. | |
6554 | * config/mips/mips.h: Likewise. | |
6555 | * config/ns32k/ns32k.h: Likewise. | |
6556 | * config/pdp11/pdp11.h: Likewise. | |
6557 | * config/pj/pj.h: Likewise. | |
6558 | * config/s390/s390.h: Likewise. | |
6559 | * config/sh/sh.h: Likewise. | |
6560 | * config/stormy16/stormy16.h: Likewise. | |
6561 | * config/v850/v850.h: Likewise. | |
6562 | * config/vax/vax.h: Likewise. | |
6563 | * config/we32k/we32k.h: Likewise. | |
6564 | ||
acfab996 AH |
6565 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
6566 | ||
d8086cbb RS |
6567 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
6568 | (altivec_lvsl): Change constraint to b. | |
6569 | (altivec_lvsr): Same. | |
6570 | (altivec_lvebx): Same. | |
6571 | (altivec_lvehx): Same. | |
6572 | (altivec_lvewx): Same. | |
6573 | (altivec_lvxl): Same. | |
6574 | (altivec_lvx): Same. | |
6575 | (altivec_stvx): Add parallel. | |
6576 | (altivec_stvxl): Same. | |
6577 | (altivec_stvehx): Same. | |
6578 | (altivec_stvebx): Same. | |
6579 | (altivec_stvebx): Same. | |
acfab996 | 6580 | |
5e505bc9 AH |
6581 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
6582 | ||
d8086cbb | 6583 | * config.gcc: Change altivec.h to altivec-defs.h. |
5e505bc9 | 6584 | |
d8086cbb | 6585 | * config/rs6000/altivec.h: Delete. |
5e505bc9 | 6586 | |
d8086cbb | 6587 | * config/rs6000/altivec-defs.h: Add. |
5e505bc9 | 6588 | |
5c41fdfb JDA |
6589 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6590 | ||
6591 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
6592 | and UMOD modes. | |
6593 | ||
6594 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
6595 | less than or equal to eight bytes. | |
6596 | ||
6597 | * vax.md (andsi3): Remove constraints and change SET destination | |
6598 | operand type to nonimmediate_operand. | |
6599 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
6600 | when it is a CONST_INT. | |
6601 | ||
de097a2d JM |
6602 | 2002-01-15 Jason Merrill <jason@redhat.com> |
6603 | ||
6604 | * c-common.def (FILE_STMT): New code. | |
6605 | * c-common.c (statement_code_p): It's a statement. | |
6606 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
6607 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
6608 | (last_expr_filename): New macro. | |
6609 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
6610 | (add_stmt): If the filename changed, also insert a | |
6611 | FILE_STMT. | |
6612 | (expand_stmt): Handle seeing one. | |
6613 | ||
4a913dd6 EC |
6614 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
6615 | ||
6616 | * flow.c (propagate_one_insn): Add error message and print out | |
6617 | insn for debugging. | |
6618 | ||
006946e4 JM |
6619 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
6620 | ||
6621 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
6622 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
6623 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
6624 | TRAMPOLINE_ALIGNMENT. | |
6625 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
6626 | to be in bits. | |
6627 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
6628 | PCC_BITFIELD_TYPE_MATTERS. | |
6629 | * config/interix.h (STDC_VALUE): Remove. Use | |
6630 | STDC_0_IN_SYSTEM_HEADERS. | |
6631 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
6632 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
6633 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
6634 | ||
751a1458 CR |
6635 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6636 | ||
6637 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
6638 | not work on this platform currently. | |
6639 | ||
57771fe8 JM |
6640 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
6641 | ||
6642 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
6643 | readonly_warning in _(). | |
6644 | ||
0e83ceb1 | 6645 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
9a52433e | 6646 | |
0e83ceb1 | 6647 | * gcc.c (delete_if_ordinary): Backout previous change. |
9a52433e | 6648 | |
8e2e89f7 KH |
6649 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
6650 | ||
0e83ceb1 DR |
6651 | * config/h8300/h8300.c (print_operand): Remove support for |
6652 | unused operand characters. | |
6653 | ||
8e2e89f7 KH |
6654 | * read-rtl.c: Fix formatting. |
6655 | * real.c: Likewise. | |
6656 | * recog.c: Likewise. | |
6657 | * regclass.c: Likewise. | |
6658 | * regmove.c: Likewise. | |
6659 | * reg-stack.c: Likewise. | |
6660 | * reload1.c: Likewise. | |
6661 | * rtlanal.c: Likewise. | |
6662 | ||
b531087a KH |
6663 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
6664 | ||
6665 | * config/i386/i386.c: Fix formatting. | |
6666 | ||
7c94ce7f JJ |
6667 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
6668 | ||
6669 | * c-typeck.c (process_init_element): Don't save_expr | |
6670 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
6671 | ||
6041bf2f DE |
6672 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
6673 | ||
6674 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
6675 | emit optional traceback table if optimize_size or TARGET_ELF. | |
6676 | * config/rs6000/rs6000.md (prefetch): New. | |
6677 | ||
8559c8c0 AJ |
6678 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
6679 | ||
6680 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
6681 | ||
70f122f2 KH |
6682 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
6683 | ||
6684 | * mips-tfile.c: Fix formatting. | |
6685 | ||
6a7b4ca6 JH |
6686 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
6687 | ||
6688 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
6689 | ||
e7afe229 KH |
6690 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
6691 | ||
6692 | * config/h8300/h8300-protos.h: Remove the prototype for | |
6693 | eq_operator. | |
6694 | * config/h8300/h8300.c (eq_operator): Remove. | |
6695 | ||
7d378549 RH |
6696 | 2002-01-14 Richard Henderson <rth@redhat.com> |
6697 | ||
6698 | * config/i386/i386.md (prefetch): Tidy. | |
6699 | (prefetch_3dnow): Fix locality operand. | |
6700 | ||
ab093b81 RH |
6701 | 2002-01-14 Richard Henderson <rth@redhat.com> |
6702 | ||
6703 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
6704 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
6705 | ||
d300f51f HPN |
6706 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
6707 | ||
6708 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
6709 | copy_rtx in loop performing multiple changes. | |
6710 | ||
655dd289 JJ |
6711 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
6712 | ||
6713 | * except.c (remove_unreachable_regions): New. | |
6714 | (free_eh_status): Clear exception_handler_labels. | |
6715 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
6716 | (find_exception_handler_labels): Don't add the same label more than | |
6717 | once. | |
6718 | (remove_exception_handler_label): Don't die if | |
6719 | find_exception_handler_labels hasn't been called for the current | |
6720 | function yet. | |
6721 | ||
1fba46a7 JH |
6722 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
6723 | ||
6724 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
6725 | gcse. | |
6726 | ||
0975678f JM |
6727 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
6728 | ||
6729 | * doc/extend.texi: Move documentation of X86 built-in functions | |
6730 | here. | |
6731 | * doc/invoke.texi: From here. | |
6732 | * doc/sourcebuild.texi: Document location of documentation for | |
6733 | machine built-in functions. | |
6734 | ||
969815c7 CF |
6735 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
6736 | ||
6737 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
6738 | (SHOULD_MMAP): Ditto. | |
6739 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
6740 | be used. | |
6741 | ||
494c950b JH |
6742 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
6743 | ||
6744 | * unroll.c (final_reg_note_copy): Properly handle | |
6745 | REG_LABEL | |
6746 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
6747 | ||
69a0611f GK |
6748 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
6749 | ||
6750 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
6751 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
6752 | ||
b90e45ae JH |
6753 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
6754 | ||
6755 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
6756 | threaded loop. | |
6757 | ||
8377288b TR |
6758 | 2002-01-14 Tom Rix <trix@redhat.com> |
6759 | ||
6760 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
6761 | ||
9f37ccb1 UW |
6762 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
6763 | ||
6764 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
6765 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
6766 | (clrstrdi, clrstrsi): Adapt callers. | |
6767 | ||
6768 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
6769 | ||
8559c8c0 | 6770 | (movti splitter): Never use register 0 as base register. |
9f37ccb1 | 6771 | |
6c2d03d0 HP |
6772 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
6773 | ||
8559c8c0 AJ |
6774 | * combine.c (simplify_shift_const): Always generate new rtx |
6775 | for shift expression instead of reusing given expression. | |
6c2d03d0 | 6776 | |
d3e98208 RK |
6777 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6778 | ||
6779 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
6780 | alpha_legitimize_address unless mode is Pmode. | |
6781 | ||
9f339dde GK |
6782 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
6783 | ||
6784 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
6785 | user. | |
6786 | ||
6787 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
6788 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
6789 | for xstormy16 too. | |
6790 | ||
02a10130 RH |
6791 | 2002-01-13 Richard Henderson <rth@redhat.com> |
6792 | ||
6793 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
6794 | for an input reload of the source. | |
6795 | ||
61d47787 GP |
6796 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
6797 | ||
6798 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
6799 | more generic. | |
6800 | ||
f0df8029 DR |
6801 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
6802 | ||
6803 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
6804 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
6805 | ||
d2a37256 DR |
6806 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
6807 | ||
a9e8a5ee RK |
6808 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6809 | ||
6810 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
6811 | ||
bc06712d TR |
6812 | 2002-01-12 Tom Rix <trix@redhat.com> |
6813 | ||
8559c8c0 | 6814 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
bc06712d TR |
6815 | TARGET_POWERPC64. |
6816 | ||
7cbe9bb7 RH |
6817 | 2002-01-12 Richard Henderson <rth@redhat.com> |
6818 | ||
38b29e64 RH |
6819 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
6820 | ||
58605ba0 RH |
6821 | * doc/invoke.texi: Update Alpha options. |
6822 | ||
7cbe9bb7 RH |
6823 | * doc/invoke.texi: Update i386 built-in function lists. |
6824 | ||
9d560860 JH |
6825 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
6826 | ||
6827 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
6828 | referencing outside. | |
6829 | ||
bb93b973 RK |
6830 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6831 | ||
6832 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
6833 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
6834 | offsets, and change line folding. | |
6835 | * optabs.c (expand_binop): Remove warnings. | |
6836 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
8559c8c0 | 6837 | |
f9f6b7df GS |
6838 | 2002-01-12 Graham Stott <grahams@redhat.com> |
6839 | ||
6840 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
6841 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
6842 | dangling else warning and constify WHAT. | |
6843 | * except.h (struct function, struct inline_remap): Move | |
6844 | struct tag forward defs before all prototypes. | |
6845 | (duplicate_eh_regions): Whitespace. | |
6846 | ||
4a692617 NC |
6847 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
6848 | ||
6849 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
6850 | MODE_BASE_REG_CLASS. | |
6851 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
6852 | ||
e37af218 RH |
6853 | 2002-01-12 Richard Henderson <rth@redhat.com> |
6854 | ||
6855 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
6856 | (ix86_expand_vector_move): New. | |
6857 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
6858 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
6859 | Remove old prefetch builtins. Special case the logicals removed above. | |
6860 | (ix86_expand_builtin): Likewise. | |
6861 | (safe_vector_operand): Use V4SFmode, not TImode. | |
6862 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
6863 | (ix86_expand_timode_binop_builtin): New. | |
6864 | * config/i386/i386-protos.h: Update. | |
6865 | * config/i386/i386.h (enum ix86_builtins): Update. | |
6866 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
6867 | Use ix86_expand_vector_move in vector move expanders. | |
6868 | (movti_internal, movti_rex64): Add xorps alternative. | |
6869 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
6870 | (prefetch): Don't work so hard. | |
6871 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
6872 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
6873 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
6874 | ||
6f1a6c5b RH |
6875 | 2002-01-11 Richard Henderson <rth@redhat.com> |
6876 | ||
6877 | * config/i386/mmintrin.h: New file. | |
6878 | * config/i386/xmmintrin.h: New file. | |
6879 | * config.gcc (i?86-*-*): Add extra_headers. | |
6880 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
6881 | truncation codes. | |
6882 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
6883 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
6884 | not the lowpart subreg. | |
6885 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
6886 | on error. | |
6887 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
6888 | ||
cdb574d3 MH |
6889 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
6890 | ||
6891 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
6892 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
8559c8c0 | 6893 | |
cf11ac55 HB |
6894 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
6895 | ||
6896 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
6897 | every where we allocate a register. | |
6898 | ||
76ac938b MH |
6899 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
6900 | ||
6901 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
6902 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
6903 | ||
a84b4898 JJ |
6904 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
6905 | ||
6906 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
6907 | ||
aaef1c12 JJ |
6908 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
6909 | ||
6910 | * doc/rtl.texi (Insns): Fix 2 typos. | |
6911 | ||
5d22c1a5 JM |
6912 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
6913 | ||
6914 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
6915 | options. Use @table @gcctabopt for MMIX options. Add index | |
6916 | entries for MMIX options. Start new paragraph with first | |
6917 | heading of the machine-dependent options. | |
6918 | ||
3e92902c CR |
6919 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6920 | ||
6921 | PR other/5299 | |
6922 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
6923 | * combine.c (force_to_mode): Same. | |
6924 | * reload1.c (clear_reload_reg_in_use): Same. | |
6925 | ||
96ae8197 NC |
6926 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
6927 | ||
6928 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
6929 | and 'subtargets'. | |
6930 | ||
9b780582 AJ |
6931 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
6932 | Brad Lucier <lucier@math.purdue.edu> | |
6933 | ||
6934 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
6935 | mcpu. | |
6936 | ||
12300dad DR |
6937 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
6938 | ||
6939 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
6940 | Protect with IN_LIBGCC. | |
6941 | (LINK_EH_SPEC): Add required trailing space. | |
6942 | ||
27511a9a NP |
6943 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
6944 | ||
9b780582 | 6945 | * c-tree.h: Move function declarations so that they are listed |
27511a9a NP |
6946 | under the filename which contains them. |
6947 | (check_identifier, finish_decl_top_level, | |
6948 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
6949 | ||
4daeab16 AJ |
6950 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
6951 | ||
6952 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
6953 | march. | |
6954 | ||
40571d67 RH |
6955 | 2002-01-10 Richard Henderson <rth@redhat.com> |
6956 | ||
6957 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
6958 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
6959 | new operand with the sequence number for the lituse. When splitting | |
6960 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
6961 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
6962 | ||
6525c0e7 AH |
6963 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
6964 | ||
d8086cbb RS |
6965 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
6966 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
6967 | stvxl. | |
6968 | (altivec_expand_builtin): Same. | |
6969 | (altivec_expand_stv_builtin): New. | |
6970 | ||
6971 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
6972 | ||
6973 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
6974 | ("altivec_lvehx"): New. | |
6975 | ("altivec_lvewx"): New. | |
6976 | ("altivec_lvxl"): New. | |
6977 | ("altivec_lvx"): New. | |
6978 | ("altivec_stvx"): New. | |
6979 | ("altivec_stvebx"): New. | |
6980 | ("altivec_stvehx"): New. | |
6981 | ("altivec_stvewx"): New. | |
6982 | ("altivec_stvxl"): New. | |
6525c0e7 | 6983 | |
cda94cbb RH |
6984 | 2002-01-10 Richard Henderson <rth@redhat.com> |
6985 | ||
6986 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
6987 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
6988 | care not to delete instructions twice. | |
6989 | ||
df2c9a44 ZW |
6990 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
6991 | ||
6992 | * toplev.c: Don't declare environ (it's not used anywhere). | |
6993 | * configure.in: Don't check for declaration of environ. | |
6994 | * config/i386/xm-mingw32.h: Don't #define environ. | |
6995 | * config.in, configure: Regenerate. | |
6996 | ||
5dd8a9b1 ZW |
6997 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
6998 | ||
6999 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
7000 | * configure: Regenerate. | |
7001 | ||
7002 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
7003 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
7004 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
7005 | alpha/xm-vms.h. | |
7006 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
7007 | LIMITS_H_TEST here, not in m68k/x-next. | |
7008 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
7009 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
7010 | ||
7011 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
7012 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
7013 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
7014 | ||
7015 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
7016 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
7017 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
7018 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
7019 | replacement of quadlib.asm with quadlib.c. | |
7020 | ||
7021 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
7022 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
7023 | config/rs6000/xm-beos.h: Delete file. | |
7024 | ||
7025 | * config.gcc: Update to match above changes. | |
7026 | ||
d10dd44c KH |
7027 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7028 | ||
7029 | * config/h8300/h8300.h: Fix comment typos. | |
7030 | * config/h8300/h8300.md: Likewise. | |
7031 | * config/h8300/lib1funcs.asm: Likewise. | |
7032 | ||
04894c5a DJ |
7033 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
7034 | ||
7035 | PR optimization/5269 | |
7036 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
7037 | sign when n_iterations known, to avoid confusing caller. | |
7038 | ||
adc9fe67 KH |
7039 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7040 | ||
7041 | * doc/extend.texi (deprecated): Fix a typo. | |
7042 | ||
b446e5a2 JH |
7043 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
7044 | ||
7045 | * basic-block.h (update_br_prob_note): Declare. | |
7046 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
7047 | (try_forward_edges): Care negative frequencies and update note. | |
7048 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
7049 | (try_crossjump_to_edge): use update_br_prob_note. | |
7050 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
7051 | * cfrtl.c (update_br_prob_note): New. | |
7052 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
7053 | ||
7054 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
7055 | shift. | |
7056 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
7057 | ||
7058 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
7059 | (cprop_insn): Likewise. | |
7060 | ||
a01da83b KH |
7061 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7062 | ||
7063 | * toplev.c: Fix formatting. | |
7064 | * tree.c: Likewise. | |
7065 | * tree-dump.c: Likewise. | |
7066 | * unroll.c: Likewise. | |
7067 | * unwind-dw2.c: Likewise. | |
7068 | * unwind-dw2-fde.c: Likewise. | |
7069 | * unwind-dw2-fde-glibc.c: Likewise. | |
7070 | * unwind-sjlj.c: Likewise. | |
7071 | ||
9f85bca7 JM |
7072 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
7073 | ||
7074 | * doc/invoke.texi: Document PDP-11 options. | |
7075 | ||
f48f56b1 KH |
7076 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7077 | ||
7078 | * config/h8300/h8300.h: Fix formatting. | |
7079 | ||
ead39bdf | 7080 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
7081 | |
7082 | Add __attribute__ ((deprecated)). | |
7083 | * extend.texi: Document __attribute__ ((deprecated)). | |
7084 | * invoke.texi: Document -Wno-deprecated-declarations. | |
7085 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
7086 | * testsuite/gcc.dg/deprecated.c: New C test. | |
7087 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
7088 | (c_common_attribute_table): Add "deprecated" entry. | |
7089 | (handle_deprecated_attribute): New function. | |
7090 | * c-decl.c (deprecated_states): New enum. | |
7091 | deprecated_state: State of "deprecated" handling. | |
7092 | (start_decl): Set deprecated_state based on attributes. | |
7093 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
7094 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
7095 | (build_external_ref): Test for deprecated primaries. | |
7096 | * diagnostic.c (warn_deprecated_use) New function to issue | |
7097 | warnings about __attribute__ ((depricated)) references. | |
7098 | * flags.h (warn_deprecated_decl): Extern declared for | |
7099 | -W[no-]deprecated-declarations option. | |
7100 | * print-tree.c (print_node): Show deprecated flag status. | |
7101 | * toplev.c (warn_deprecated_decl): Defined. | |
7102 | (W_options): Added "deprecated-declaration". | |
7103 | * toplev.h (warn_deprecated_use): Extern declared. | |
7104 | * tree.h (struct tree_common): Define deprecated_flag. | |
7105 | (TREE_DEPRECATED): New macro to access flag. | |
7106 | * cp/call.c (build_call): Test for deprecated calls. | |
7107 | * cp/class.c (add_implicitly_declared_members): Set global | |
7108 | flag to tell grokdeclarator to not issue deprecated warnings. | |
7109 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
7110 | * cp/decl.c (deprecated_states): New enum. | |
7111 | (start_decl): Set deprecated_state based on attributes. | |
7112 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
7113 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
7114 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
7115 | ||
ead39bdf | 7116 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
7117 | |
7118 | Fix to assign attributes to inline member functions. | |
7119 | * cp/decl.c (start_method): Handle attrlist. | |
7120 | ||
47073a38 KH |
7121 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7122 | ||
7123 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
7124 | ||
d288e53d DE |
7125 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
7126 | ||
7127 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
7128 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
7129 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
7130 | Recurse for any operand of AND as long as constant is non-zero. | |
7131 | ||
08a02ffa KH |
7132 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7133 | ||
7134 | * config/h8300/h8300.md: Remove constraints from expanders. | |
7135 | ||
c203e7fe KH |
7136 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7137 | ||
7138 | * varasm.c: Fix formatting. | |
7139 | * varray.c: Likewise. | |
7140 | * vmsdbgout.c: Likewise. | |
7141 | * xcoffout.c: Likewise. | |
7142 | ||
bcb3bc6d JH |
7143 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
7144 | ||
7145 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
cda94cbb | 7146 | update edge probabilities to match. |
bcb3bc6d | 7147 | |
0a553c7e JM |
7148 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
7149 | ||
7150 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
7151 | dependencies. | |
7152 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
7153 | * doc/configfiles.texi: Make a subsubsection. Update. | |
7154 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
7155 | instructions for building GCC. | |
7156 | * doc/makefile.texi: Make a subsection. | |
7157 | * doc/gccint.texi: Update. | |
7158 | ||
adc7fcb8 JH |
7159 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
7160 | ||
7161 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
7162 | ||
5a4dd0b3 NP |
7163 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
7164 | ||
7165 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
7166 | ||
3987b9db JH |
7167 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
7168 | ||
7169 | * optabs.c (expand_fix): Look for wider integer modes first. | |
7170 | ||
7171 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
7172 | memory model. | |
7173 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
7174 | (fop_df_4): Disable for SSE compilation. | |
7175 | ||
ceb15948 | 7176 | 2002-01-10 Graham Stott <grahams@redhat.com> |
117f9d28 GS |
7177 | |
7178 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
cda94cbb | 7179 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
117f9d28 | 7180 | |
e1623399 RH |
7181 | 2002-01-10 Richard Henderson <rth@redhat.com> |
7182 | ||
7183 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
7184 | ||
c4abb293 RH |
7185 | 2002-01-10 Richard Henderson <rth@redhat.com> |
7186 | ||
7187 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
7188 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
7189 | ||
d2604ae9 KH |
7190 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
7191 | ||
7192 | * combine.c (can_combine_p): Fix a comment typo. | |
7193 | ||
766c7ad1 ZW |
7194 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
7195 | ||
7196 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
7197 | empty list correctly. Change loop index $t to $f for | |
7198 | consistency with rest of Makefile. | |
7199 | ||
95385cbb AH |
7200 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
7201 | ||
7202 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
7203 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
7204 | ||
7205 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
7206 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
7207 | (altivec_init_builtins): Same. | |
7208 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
7209 | (altivec_expand_binop_builtin): Same. | |
7210 | (altivec_expand_ternop_builtin): Same. | |
7211 | (bdesc_dst): New. | |
7212 | ||
7213 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
7214 | ("altivec_vctuxs"): Fix typo. | |
7215 | ("altivec_vnmsubfp"): Same. | |
7216 | ("altivec_dssall"): New. | |
7217 | ("altivec_mfvscr"): New. | |
7218 | ("altivec_dss"): New. | |
7219 | ("altivec_lvsl"): New. | |
7220 | ("altivec_lvsr"): New. | |
7221 | ("altivec_dstt"): New. | |
7222 | ("altivec_dstst"): New. | |
7223 | ("altivec_dststt"): New. | |
7224 | ("altivec_dst"): New. | |
7225 | ||
7226 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
7227 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
7228 | ||
e4ac76b4 RH |
7229 | 2002-01-09 Richard Henderson <rth@redhat.com> |
7230 | ||
7231 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
7232 | ||
c893e4a4 HPN |
7233 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
7234 | ||
7235 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
7236 | function. | |
7237 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
7238 | prototype. | |
7387c700 | 7239 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
c893e4a4 | 7240 | |
f4f4d0f8 KH |
7241 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
7242 | ||
7243 | * read-rtl.c: Fix formatting. | |
7244 | * real.c: Likewise. | |
7245 | * regclass.c: Likewise. | |
7246 | * regrename.c: Likewise. | |
7247 | * reg-stack.c: Likewise. | |
7248 | * reload1.c: Likewise. | |
7249 | * reload.c: Likewise. | |
7250 | * rtl.c: Likewise. | |
7251 | ||
cc863bea KH |
7252 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
7253 | ||
7254 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
7255 | to extract items in the expr_list chain. | |
7256 | ||
7b4dfe3d RH |
7257 | 2002-01-09 Richard Henderson <rth@redhat.com> |
7258 | ||
7259 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
7260 | ||
1d969638 RH |
7261 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
7262 | ||
7d5ab30e JH |
7263 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
7264 | ||
7265 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
7266 | ||
9503f3d1 RH |
7267 | 2002-01-09 Richard Henderson <rth@redhat.com> |
7268 | ||
7269 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
7270 | Unify code from various alternatives. | |
7271 | ||
42bd17b7 RH |
7272 | 2002-01-09 Richard Henderson <rth@redhat.com> |
7273 | ||
7274 | * regrename.c (copy_value): Ignore the copy if the source register | |
7275 | is present in the value chain with a narrower mode. | |
7276 | ||
bdca3c33 HB |
7277 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7278 | ||
cda94cbb RH |
7279 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
7280 | for the c4x target. Also improve layout. | |
bdca3c33 | 7281 | |
c73a5e94 RH |
7282 | 2002-01-09 Richard Henderson <rth@redhat.com> |
7283 | ||
7284 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
7285 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
7286 | to match insn patterns. | |
7287 | ||
dd0a18c0 RH |
7288 | 2002-01-09 Richard Henderson <rth@redhat.com> |
7289 | ||
7290 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
7291 | (copyprop_hardreg_forward_1): Likewise. | |
7292 | ||
1fd9ac1e JDA |
7293 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7294 | ||
7295 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
7296 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
7297 | ||
5cb265ec BM |
7298 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
7299 | ||
7300 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
7301 | gets undefined. For Darwin. | |
7302 | ||
fcd8fa8b HB |
7303 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7304 | ||
7305 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
7306 | ||
bd3ab23a MH |
7307 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
7308 | ||
7309 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
7310 | ||
21e16bd6 RH |
7311 | 2002-01-08 Richard Henderson <rth@redhat.com> |
7312 | ||
7313 | * regrename.c (copy_value): Ignore overlapping copies. | |
7314 | ||
a5376276 RH |
7315 | 2002-01-08 Richard Henderson <rth@redhat.com> |
7316 | ||
7317 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
7318 | as needed to avoid shared structure. | |
7319 | ||
18cf8dda KH |
7320 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
7321 | ||
7322 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
7323 | H8/300H and H8/S. | |
7324 | ||
16c484c7 JM |
7325 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
7326 | ||
7327 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
7328 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
7329 | documentation of obsolete macros. | |
7330 | * system.h: Poison these macros. | |
7331 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
7332 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
7333 | config/c4x/c4x.h, config/clipper/clipper.h, | |
7334 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
7335 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
7336 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
7337 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
7338 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
7339 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
7340 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
7341 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
7342 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
7343 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
7344 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
7345 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
7346 | definitions and commented out definitions of obsolete macros. | |
7347 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
7348 | of MAX_INT_TYPE_SIZE. | |
7349 | ||
14b3e8ef UW |
7350 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
7351 | ||
7352 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
7353 | return ADDR_REGS if it isn't a subset of the given class. | |
7354 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
7355 | FP_REGS, but all superclasses as well. | |
7356 | ||
7357 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
7358 | ||
7359 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
7360 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
7361 | must not be a const_int. | |
7362 | ||
a693284d RH |
7363 | 2002-01-08 Richard Henderson <rth@redhat.com> |
7364 | ||
7365 | * Makefile.in (toplev.o): Depend on options.h. | |
7366 | (gcc.o): Depend on specs.h. | |
7367 | ||
b3ca30df JJ |
7368 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
7369 | ||
7370 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
7371 | mode. | |
7372 | ||
24dbb440 GP |
7373 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7374 | ||
7375 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
7376 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
7377 | of http://gcc.gnu.org/thanks.html. | |
7378 | ||
234e114c DJ |
7379 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
7380 | ||
7381 | * config/rs6000/rs6000.md: Add missing int register | |
7382 | target case to movdf_low. | |
7383 | ||
0d24f4d1 ZW |
7384 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
7385 | ||
7386 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
7387 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
7388 | (cppinit.o): Depend on except.h. | |
7389 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
7390 | s-specs): New rules. | |
7391 | ||
7392 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
7393 | Don't create specs.h/options.h/gencheck.h here. Remove | |
7394 | unnecessary variable settings from last argument of AC_OUTPUT. | |
7395 | * config.in, configure: Regenerate. | |
7396 | * intl.c: Hardcode package name as "gcc". | |
7397 | ||
7398 | * cppinit.c: Include except.h. | |
7399 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
7400 | appropriate. | |
7401 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
7402 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
7403 | (!)USING_SJLJ_EXCEPTIONS. | |
7404 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
7405 | ||
ed722f66 JM |
7406 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
7407 | ||
7408 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
7409 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
7410 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
7411 | documentation of obsolete macros. | |
7412 | * system.h: Poison these macros. | |
7413 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
7414 | config/stormy16/stormy16.h: Remove definitions and commented out | |
7415 | definitions of obsolete macros. | |
7416 | ||
31e5e29a NP |
7417 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
7418 | ||
7419 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
7420 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
7421 | warnings. | |
7422 | ||
bc1fa59c UW |
7423 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
7424 | ||
7425 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
7426 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
7427 | to insn adjusting stack/frame pointer. | |
0d24f4d1 | 7428 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
bc1fa59c UW |
7429 | accept operands that cause the insn to be non-splittable. |
7430 | ||
a8086abf GS |
7431 | 2002-01-08 Graham Stott <grahams@redhat.com> |
7432 | ||
7433 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
7434 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
7435 | (C_TYPE_BEING_DEFINED): Likewise. | |
7436 | (C_IS_RESERVED_WORD): Likewise. | |
7437 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
7438 | (C_DECL_VARIABLE_SIZE): Likewise. | |
7439 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
7440 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
7441 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
7442 | parenthesis. | |
7443 | (C_DECL_ANTICIPATED): Likewise. | |
7444 | (c_build_type_variant): Add parenthesis. | |
7445 | ||
3f595aa1 JM |
7446 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
7447 | ||
7448 | * gcc.c (option_map): Remove --version. | |
7449 | (process_command): Handle -fversion following the GNU Coding | |
7450 | Standards. Partially addresses PR other/704. | |
7451 | ||
5bc5a8f9 GS |
7452 | 2002-01-08 Graham Stott <grahams@redhat.com> |
7453 | ||
7454 | * combine.c (combine_instructions): Fix typo. | |
7455 | ||
16ec4ebf GS |
7456 | 2002-01-08 Graham Stott <grahams@redhat.com> |
7457 | ||
7458 | * debug.h: Use "tree" and "rtx" throughout. | |
7459 | ||
7460 | * debug.c: Likewise. | |
7461 | ||
4b69f385 NC |
7462 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
7463 | ||
7464 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
7465 | constant pool, use the pool's version of the symbol instead. | |
7466 | ||
57d1019b RH |
7467 | 2002-01-07 Richard Henderson <rth@redhat.com> |
7468 | ||
7469 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
7470 | the original register was copied in a mode with a fewer number of | |
7471 | hard registers than the desired mode. | |
7472 | (copyprop_hardreg_forward_1): Likewise. | |
7473 | (debug_value_data): Fix loop test. | |
7474 | * toplev.c (parse_options_and_default_flags): Reenable | |
7475 | -fcprop-registers at -O1. | |
7476 | ||
7477 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
fa066a23 | 7478 | |
0d24f4d1 ZW |
7479 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
7480 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
fa066a23 | 7481 | |
0d24f4d1 ZW |
7482 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
7483 | predicates. | |
fa066a23 | 7484 | |
0d24f4d1 | 7485 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
fa066a23 | 7486 | |
8f949e7e JDA |
7487 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7488 | ||
7489 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
7490 | (pa_output_function_prologue): Output local label at the beginning of | |
7491 | the prologue when profiling. | |
7492 | (hppa_profile_hook): Use the local label rather than the function label. | |
7493 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
7494 | ||
c62f2db5 AH |
7495 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
7496 | ||
0d24f4d1 ZW |
7497 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
7498 | (altivec_expand_unop_builtin): Fix thinko. | |
7499 | (altivec_expand_binop_builtin): Same. | |
7500 | (altivec_expand_ternop_builtin): Same. | |
7501 | (altivec_expand_builtin): Same. | |
c62f2db5 | 7502 | |
b5235ba7 RH |
7503 | 2002-01-07 Richard Henderson <rth@redhat.com> |
7504 | ||
7505 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
7506 | ||
7d8ac293 JM |
7507 | 2002-01-07 Jason Merrill <jason@redhat.com> |
7508 | ||
7509 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
7510 | ||
571a03b8 JJ |
7511 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
7512 | ||
7513 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
7514 | ||
2e951384 JJ |
7515 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
7516 | ||
7517 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
7518 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
7519 | ||
20e26713 AH |
7520 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
7521 | ||
0d24f4d1 ZW |
7522 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
7523 | arguments. | |
7524 | (altivec_expand_binop_builtin): Same. | |
7525 | (altivec_expand_unop_builtin): Same. | |
7526 | (print_operand): Fix typo. | |
7527 | (bdesc_1arg): Add vupk* variants. | |
20e26713 | 7528 | |
0d24f4d1 | 7529 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
20e26713 | 7530 | |
0d24f4d1 | 7531 | * rs6000.md: Add altivec_vupk* variants. |
20e26713 | 7532 | |
4dd57c18 JM |
7533 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
7534 | ||
7535 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
7536 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
7537 | and last update dates. | |
7538 | ||
0341c5d2 JJ |
7539 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
7540 | ||
7541 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
7542 | ||
c7f3e0b0 MM |
7543 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
7544 | ||
7545 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
7546 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
7547 | (LINK_SPEC): Likewise. | |
7548 | (CRT_BINUTILS_SPECS): Likewise. | |
7549 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
7550 | * doc/invoke.texi (AVR Options): Document them. | |
7551 | ||
6ba4d630 JH |
7552 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
7553 | ||
7554 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
7555 | LABEL_NUSES. | |
7556 | ||
6253d571 GS |
7557 | 2002-01-07 Graham Stott <grahams@redhat.com> |
7558 | ||
0d24f4d1 ZW |
7559 | * config/i386/i386.h: Update copyright date. |
7560 | (HALF_PIC_PTR): Add parenthesis. | |
7561 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
7562 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
7563 | (DATA_ALIGNMENT): Likewise. | |
7564 | (LOCAL_ALIGNMENT): Likewise. | |
7565 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
7566 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
7567 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
7568 | (HARD_REGNO_NREGS): Add paranethesis. | |
7569 | (VALID_SSE_REG_MODE): Whitespace. | |
7570 | (VALID_MMX_REG_MODE): Whitespace. | |
7571 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
7572 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
7573 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
7574 | (RETURN_IN_MEMORY): Whitespace. | |
7575 | (N_REG_CLASSES): Add parenthesis. | |
7576 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
7577 | (FLOAT_CLASS_P): Likewise. | |
7578 | (SSE_CLASS_P): Likewise. | |
7579 | (MMX_CLASS_P): Likewise. | |
7580 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
7581 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
7582 | (MAYBE_SSE_CLASS_P): Likewise. | |
7583 | (MAYBE_MMX_CLASS_P): Likewise. | |
7584 | (Q_CLASS_P): Likewise. | |
7585 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
7586 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
7587 | (FP_REGNO_P): Likewise. | |
7588 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
7589 | (SSE_REGNO_P): Likewise. | |
7590 | (SSE_REGNO): Likewise. | |
7591 | (SSE_REG_P): Likewise. | |
7592 | (SSE_FLOAT_MODE_P): Likewise. | |
7593 | (MMX_REGNO_P): Likewise. | |
7594 | (MMX_REG_P):Likewise. | |
7595 | (STACK_REG_P): Likewise. | |
7596 | (NON_STACK_REG_P): Likewise. | |
7597 | (STACK_TOP_P): Likewise. | |
7598 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
7599 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
7600 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
7601 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
7602 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
7603 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
7604 | (RETURN_POPS_ARGS): Add parenthesis. | |
7605 | (INIT_CUMULATIVE_ARGS): Likewise. | |
7606 | (FUNCTION_ARG): Likewise. | |
7607 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
7608 | (SETUP_INCOMING_VARARGS): Likewise. | |
7609 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
7610 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
7611 | parenthsis. | |
7612 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
7613 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
7614 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
7615 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
7616 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
7617 | (REGNO_OK_FOR_BASE_P): Likewise. | |
7618 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
7619 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
7620 | (REG_OK_FOR_INDEX_P): Whitespace. | |
7621 | (REG_OK_FOR_BASE_P): Whitespace. | |
7622 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
7623 | parenthesis. | |
7624 | (FIND_BASE_TERM): Fix typo. | |
7625 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
7626 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
7627 | (SYMBOLIC_CONST; Whitespace. | |
7628 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
7629 | (ENCODE_SECTION_INFO): Whitespace. | |
7630 | (FINALIZE_PIC): Remove do { ... } while (0). | |
7631 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
7632 | (CONST_COSTS): Whitespace. | |
7633 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
7634 | (REGISTER_MOVE_COST): Add parenthesis. | |
7635 | (MEMORY_MOVE_COST): Likewise. | |
7636 | (EXTRA_CC_MODES): Whitespace. | |
7637 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
7638 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
7639 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
7640 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
7641 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
7642 | (ASM_OUTPUT_REG_POP): Likewise. | |
7643 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
7644 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
d9a5f180 | 7645 | |
07933f72 GS |
7646 | * config/i386/i386.c: Update copyright. |
7647 | (CHECK_STACK_LIMIT): Add parenthesis. | |
7648 | (AT_BP): Uppercase macro parameter. | |
7649 | (x86_64_int_parameter_registers): Constify. | |
7650 | (x86_64_int_return_registers): Likewise. | |
7651 | (ix86_compare_op0): Use rtx. | |
7652 | (construct_container): Constify INTREG parameter. | |
7653 | (function_arg): Use rtx. | |
7654 | ||
0b4d32c9 GS |
7655 | * diagnostic.h: Update copyright date. |
7656 | (output_buffer_state): Add parenthesis. | |
7657 | (output_buffer_format_args): Likewise. | |
7658 | ||
6253d571 GS |
7659 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
7660 | with link. | |
7661 | ||
68f3f6f1 L |
7662 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
7663 | ||
7664 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
7665 | ||
7666 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
480f7f3a | 7667 | |
0d24f4d1 | 7668 | * config.gcc: Add support for --enable-altivec. |
480f7f3a | 7669 | |
13b8c631 CR |
7670 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7671 | ||
7672 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
7673 | ||
58ad89b1 JJ |
7674 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
7675 | ||
7676 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
7677 | __objc_class_name_*. | |
7678 | ||
e403b4bc CR |
7679 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7680 | ||
7681 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
7682 | ||
e41c7831 RH |
7683 | 2002-01-06 Richard Henderson <rth@redhat.com> |
7684 | ||
7685 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
7686 | nop them out. Increment label reference count for REG_LABEL. | |
7687 | (fill_slots_from_thread): Frob label reference count around | |
7688 | delete_related_insns. | |
7689 | ||
3b3b1e32 RH |
7690 | 2002-01-05 Richard Henderson <rth@redhat.com> |
7691 | ||
7692 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
7693 | jump threading. | |
7694 | ||
c28abdf0 RH |
7695 | 2002-01-05 Richard Henderson <rth@redhat.com> |
7696 | ||
7697 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
7698 | * integrate.c (output_inline_function): Likewise. | |
7699 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
7700 | to remove_unnecessary_notes after emitting abstract instance. | |
7701 | Force an emitted nested function to have its parent emited as well. | |
7702 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
7703 | for null. | |
7704 | (rtl_for_decl_location): Do not look at reload data structures | |
7705 | before reload has run. | |
7706 | ||
c4f2c499 KH |
7707 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
7708 | ||
7709 | * cse.c: Fix formatting. | |
7710 | * dwarf2asm.c: Likewise. | |
7711 | * dwarf2out.c: Likewise. | |
7712 | * explow.c: Likewise. | |
7713 | * expmed.c: Likewise. | |
7714 | * function.c: Likewise. | |
7715 | * gcov.c: Likewise. | |
7716 | * gencheck.c: Likewise. | |
7717 | * genrecog.c: Likewise. | |
7718 | * ggc-common.c: Likewise. | |
7719 | * ggc-page.c: Likewise. | |
7720 | * global.c: Likewise. | |
7721 | ||
cf0d9408 KH |
7722 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
7723 | ||
7724 | * combine.c: Fix formatting. | |
7725 | ||
bedca03a CR |
7726 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
7727 | ||
7728 | PR middle-end/1557 | |
7729 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
7730 | ||
0134bf2d DE |
7731 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
7732 | ||
7733 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
7734 | as 1 for __powerpc64__ as well. | |
7735 | ||
7736 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
7737 | ||
7738 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
7739 | return it. | |
7740 | ||
9ca88d5a DB |
7741 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
7742 | ||
7743 | * lcm.c: Revert change, due to performance regression it causes on | |
7744 | SPEC because it's slightly more conservative (sigh, I hate | |
7745 | edge-based LCM). | |
0d24f4d1 | 7746 | |
1c570418 JH |
7747 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
7748 | ||
7749 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
7750 | ||
d83bb9f7 NB |
7751 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
7752 | ||
7753 | * doc/cppinternals.texi: Update. | |
7754 | ||
3e0f61ac HPN |
7755 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
7756 | ||
7757 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
7758 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
7759 | negatives. | |
7760 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
7761 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
7762 | kludge for pre-october-14th mmix versions to handle new-found bug | |
7763 | with PUSHJ/PUSHGO and the register stack. | |
7764 | * config/mmix/mmix.h (struct machine_function): Rename member | |
7765 | has_call_value_without_parameters to has_call_without_parameters. | |
7766 | All referers changed. | |
7767 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
7768 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
7769 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
7770 | -mno-reg-stack-fill-bug-workaround. | |
7771 | * config/mmix/mmix.md ("call"): Set struct machine member | |
7772 | has_call_without_parameters. | |
7773 | ||
4deaa2f8 JH |
7774 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
7775 | ||
7776 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
7777 | ||
9f16e871 JH |
7778 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
7779 | ||
7780 | * cfgcleanup.c: Include tm_p.h | |
7781 | (mark_effect): Fix handling of hard register; fix handling of SET | |
7782 | ||
96eb1157 KH |
7783 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
7784 | ||
7785 | * config/h8300/h8300.md (anonymous patterns): Check that | |
7786 | operands are registers before using REGNO on them. | |
7787 | ||
48180d68 RM |
7788 | 2002-01-03 Roland McGrath <roland@frob.com> |
7789 | ||
7790 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
7791 | ||
b0832fe1 JJ |
7792 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
7793 | ||
7794 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
7795 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
7796 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
7797 | (expand_expr_stmt_value): Add maybe_last argument. | |
7798 | Don't warn about statement with no effect if it is the last statement | |
7799 | in expression statement. | |
7800 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
7801 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
7802 | expand_expr_stmt_value. | |
7803 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
7804 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
7805 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
7806 | as maybe_last to expand_expr_stmt_value. | |
7807 | ||
c1e14513 JL |
7808 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
7809 | ||
0d24f4d1 ZW |
7810 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
7811 | be passed in, do not build it. | |
7812 | (c_begin_if_stmt): New function. | |
7813 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
7814 | * c-common.h (c_expand_start_cond): Update prototype. | |
7815 | (c_begin_if_stmt): Prototype new function. | |
7816 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
7817 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
7818 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
c1e14513 | 7819 | |
b6ec437a WC |
7820 | 2002-01-04 William Cohen <wcohen@redhat.com> |
7821 | ||
7822 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
7823 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
7824 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
7825 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
7826 | ||
ead39bdf | 7827 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
517b711f DB |
7828 | |
7829 | * lcm.c: Include df.h. | |
7830 | Add available_transfer_function prototype. | |
7831 | (compute_available): Rework to use iterative dataflow framework. | |
7832 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
7833 | with bb_info in df.h | |
7834 | (available_transfer_function): New function. | |
7835 | ||
7836 | * Makefile.in (lcm.o): add df.h to dependencies. | |
7837 | ||
551cc6fd RH |
7838 | 2002-01-04 Richard Henderson <rth@redhat.com> |
7839 | ||
7840 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
7841 | (input_operand): Likewise; accept simple references to globals. | |
7842 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
7843 | (alpha_const_double_ok_for_letter_p): Likewise. | |
7844 | (alpha_extra_constraint): Likewise. | |
7845 | (alpha_preferred_reload_class): Likewise. Do not force | |
7846 | symbolic constants to memory. | |
7847 | (alpha_legitimate_address_p): Accept simple references | |
7848 | to small_symbolic_operand. | |
7849 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
7850 | called when no_new_pseudos. Emit simple symbolic references. | |
7851 | Split integers into low, high, and rest. | |
7852 | (alpha_expand_mov): Use alpha_legitimize_address. | |
7853 | (some_small_symbolic_mem_operand): New. | |
7854 | (split_small_symbolic_mem_operand): New. | |
7855 | * config/alpha/alpha-protos.h: Update. | |
7856 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
7857 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
7858 | (EXTRA_CONSTRAINT): Likewise. | |
7859 | (PREFERRED_RELOAD_CLASS): Likewise. | |
7860 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
7861 | (PREDICATE_CODES): Update. | |
7862 | * config/alpha/alpha.md: New post-reload splitters to convert | |
7863 | simplfied symbolic operands to the form that references $29. | |
7864 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
7865 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
7866 | ||
1eaea054 RH |
7867 | 2002-01-03 Richard Henderson <rth@redhat.com> |
7868 | ||
7869 | * local-alloc.c (function_invariant_p): Update commentary. | |
7870 | ||
c4cc12b7 L |
7871 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
7872 | ||
7873 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
7874 | cleanup_cfg. | |
7875 | ||
173bf5be KH |
7876 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
7877 | ||
7878 | * c-common.c: Fix formatting. | |
7879 | * diagnostic.c: Likewise. | |
7880 | * doloop.c: Likewise. | |
7881 | * dwarf2out.c: Likewise. | |
7882 | ||
187462ac KH |
7883 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
7884 | ||
7885 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
7886 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
7887 | ||
5d8ebbd8 NB |
7888 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
7889 | ||
7890 | * cpperror.c: Update comments and copyright. | |
7891 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
7892 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
7893 | ||
518c1311 JDA |
7894 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7895 | ||
7896 | * collect2.c (main): Use strcmp when testing for "-shared". | |
7897 | ||
d15a58c0 NB |
7898 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
7899 | ||
7900 | * cppmacro.c: Don't include intl.h. Update comments. | |
7901 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
7902 | integers; update prototype. | |
7903 | * cppmain.c: Update comments. | |
7904 | ||
70f4f91c WC |
7905 | 2002-01-03 William Cohen <wcohen@redhat.com> |
7906 | ||
7907 | * function.h (struct function): Add profile. | |
7908 | (current_function_profile): New. | |
7909 | doc/extend.texi: Update documentation. | |
7910 | * final.c (final_start_function): Use current_function_profile | |
7911 | instead of profile_flag. | |
7912 | (profile_after_prologue): Likewise. | |
7913 | * function.c (expand_function_start): Likewise. | |
7914 | (expand_function_start): Likewise. | |
c4cc12b7 | 7915 | * config/alpha/alpha.c (direct_call_operand): |
70f4f91c WC |
7916 | (alpha_does_function_need_gp): Likewise. |
7917 | (alpha_expand_prologue): Likewise. | |
7918 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
7919 | thumb_expand_prologue: Likewise. | |
7920 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
7921 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
7922 | (fr30_expand_prologue): Likewise. | |
7923 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
7924 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
7925 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
7926 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
7927 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
7928 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
7929 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
7930 | (m32r_expand_prologue): Likewise. | |
7931 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
7932 | (m88k_expand_prologue): Likewise. | |
7933 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
7934 | * config/mips/mips.c (compute_frame_size): Likewise. | |
7935 | (mips_expand_prologue): Likewise. | |
7936 | (mips_can_use_return_insn): Likewise. | |
7937 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
7938 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
7939 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
7940 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
7941 | * config/romp/romp.c (romp_using_r14): Likewise. | |
7942 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
7943 | (rs6000_stack_info): Likewise. | |
7944 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2fd17409 | 7945 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
70f4f91c WC |
7946 | * config/v850/v850.c (compute_register_save_size): Likewise. |
7947 | ||
cb1ac742 JJ |
7948 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
7949 | ||
7950 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
7951 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
7952 | ||
61d951df | 7953 | 2002-01-03 Turly O'Connor <turly@apple.com> |
cb1ac742 | 7954 | |
61d951df TC |
7955 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
7956 | stub routines for pseudo-stubs which we've just defined. | |
7957 | ||
505ddab6 KH |
7958 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
7959 | ||
7960 | * builtins.c: Fix formatting. | |
7961 | * c-typeck.c: Likewise. | |
7962 | * combine.c: Likewise. | |
7963 | * expr.c: Likewise. | |
7964 | * loop.c: Likewise. | |
7965 | ||
b7e30d8a AS |
7966 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
7967 | ||
7968 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
7969 | and return true if _cpp_push_next_buffer pushed a new include | |
7970 | file. | |
7971 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
7972 | _cpp_pop_file_buffer did not push a new file. | |
7973 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
7974 | ||
ff81832f EC |
7975 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
7976 | ||
7977 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
7978 | FIND_REG_INC_NOTE call. Update copyright. | |
7979 | * loop.c (canonicalize_condition): Ditto. | |
7980 | * reorg.c (delete_scheduled_jump): Ditto. | |
7981 | ||
8e42ace1 KH |
7982 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
7983 | ||
7984 | * gcse.c: Fix formatting. | |
7985 | ||
fb2bf631 GS |
7986 | 2002-01-03 Graham Stott <grahams@redhat.com> |
7987 | ||
7988 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
7989 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
6253d571 | 7990 | also output corresponding typedefs for rtx, tree, and rtvec. |
fb2bf631 GS |
7991 | |
7992 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
7993 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
6253d571 | 7994 | rtvec to config.h, hconfig.h, tconfig.h. |
fb2bf631 GS |
7995 | |
7996 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
b9daac31 GS |
7997 | |
7998 | * tree.h: Update copyright date. | |
7999 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
8000 | (TREE_SET_CODE): Add whitespace. | |
8001 | (TREE_CHECK): Add parenthesis. | |
8002 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
8003 | (CST_OR_CONSTRUCTOR_CHECK): | |
8004 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
8005 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
8006 | (INT_CST_LT): Likewise. | |
8007 | (INT_CST_LT_UNSIGNED): Likewise. | |
8008 | (tree_real_cst): Unwrap comment. | |
8009 | (tree_string): Likewise. | |
8010 | (tree_complex): Likewise. | |
8011 | (IDENTIFIER_POINTER): correct cast. | |
8012 | (SAVE_EXPR_CONTEXT): Whitespace. | |
8013 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
8014 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
8015 | (DECL_ORIGIN): Add parenthesis. | |
8016 | (DECL_FROM_INLINE): Use NULL_TREE. | |
8017 | (build_int_2): Whitespace. | |
8018 | (build_type_variant): Add parenthesis. | |
8019 | ||
8020 | * gcc/jcf-parse.c: Update copyright date. | |
8021 | (yyparse): Constify resource_filename. | |
8022 | ||
f52eda29 GS |
8023 | 2002-01-03 Graham Stott <grahams@redhat.com> |
8024 | ||
8025 | * rtl.h: Update copyright date. | |
8026 | (RTL_CHECK1): Wrap long line. | |
8027 | (RTL_CHECK2): Likewise. | |
8028 | (RTL_CHECKC1): Wrap long line and whitespace. | |
8029 | (RTL_CHECKC2): Likewise. | |
8030 | (XWINT): Whitespace. | |
8031 | (XINT): Likewise. | |
8032 | (XSTR): Likewise. | |
8033 | (XEXP): Likewise. | |
8034 | (XVEC): Likewise. | |
8035 | (XMODE): Likewise. | |
8036 | (XBITMAP): Likewise. | |
8037 | (XTREE): Likewise. | |
8038 | (XBBDEF): Likewise. | |
8039 | (XTMPL): Likewise. | |
8040 | (X0WINT): Likewise. | |
8041 | (X0INT):Likewise. | |
8042 | (X0UINT): Likewise. | |
8043 | (X0STR): Likewise. | |
8044 | (X0EXP): Likewise. | |
8045 | (X0VEC): Likewise. | |
8046 | (X0MODE): Likewise. | |
8047 | (X0BITMAP): Likewise. | |
8048 | (X0TREE): Likewise. | |
8049 | (X0BBDEF): Likewise. | |
8050 | (X0ADVFLAGS): Likewise. | |
8051 | (X0CSELIB): Likewise. | |
8052 | (X0MEMATTR): Likewise. | |
8053 | (XCWINT): Likewise. | |
8054 | (XCINT): Likewise. | |
8055 | (XCUINT): Likewise. | |
8056 | (XCSTR): Likewise. | |
8057 | (XCEXP): Likewise. | |
8058 | (XCVEC): Likewise. | |
8059 | (XCMODE): Likewise. | |
8060 | (XCBITMAP): Likewise. | |
8061 | (XCTREE): Likewise. | |
8062 | (XCBBDEF): Likewise. | |
8063 | (XCADVFLAGS): Likewise. | |
8064 | (XCCSELIB): Likewise. | |
8065 | (XC2EXP): Likewise. | |
8066 | (INSN_UID): Likewise. | |
8067 | (PREV_INSN): Likewise. | |
8068 | (PATTERN): Likewise. | |
8069 | (INSN_CODE): Likewise. | |
8070 | (PUT_REG_NOTE_KIND): Likewise. | |
8071 | (CODE_LABEL_NUMBER): Likewise. | |
8072 | (NOTE_SOURCE_FILE): Likewise. | |
8073 | (NOTE_BLOCK): Likewise. | |
8074 | (NOTE_EH_HANDLER): Likewise. | |
8075 | (NOTE_RANGE_INFO): Likewise. | |
8076 | (NOTE_LIVE_INFO): Likewise. | |
8077 | (NOTE_BASIC_BLOCK): Likewise. | |
8078 | (NOTE_EXPECTED_VALUE): Likewise. | |
8079 | (NOTE_LINE_NUMBER): Likewise. | |
8080 | (LABEL_NAME): Likewise. | |
8081 | (LABEL_NUSES): Likewise. | |
8082 | (LABEL_ALTERNATE_NAME): Likewise. | |
8083 | (ADDRESSOF_DECL): Likewise. | |
8084 | (JUMP_LABEL): Likewise. | |
8085 | (LABEL_NEXTREF): Likewise. | |
8086 | (REGNO): Likewise. | |
8087 | (ORIGINAL_REGNO: Likewise. | |
8088 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
8089 | (SUBREG_REG): Whitespace. | |
8090 | (SUBREG_BYTE): Likewise. | |
8091 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
8092 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
8093 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
8094 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
8095 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
8096 | (ASM_OPERANDS_INPUT): Likewise. | |
8097 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
8098 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
8099 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
8100 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
8101 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
8102 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
8103 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
8104 | (TRAP_CONDITION): Whitespace. | |
8105 | (TRAP_CODE): Likewise. | |
8106 | (COND_EXEC_TEST): Likewise. | |
8107 | (COND_EXEC_CODE): Likewise. | |
8108 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
8109 | (PHI_NODE_P): Add parenthesis. | |
8110 | (plus_constant): Whitespace and add parenthesis. | |
8111 | ||
e03f5d43 KH |
8112 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
8113 | ||
8114 | * config/avr/avr.c: Fix comment typos. | |
8115 | * config/c4x/c4x.md: Likewise. | |
8116 | * config/dsp16xx/dsp16xx.h: Likewise. | |
8117 | * config/dsp16xx/dsp16xx.md: Likewise. | |
8118 | * config/i386/i386.md: Likewise. | |
8119 | * config/ia64/ia64.c: Likewise. | |
8120 | * config/m32r/m32r.h: Likewise. | |
8121 | * config/m68hc11/m68hc11.md: Likewise. | |
8122 | * config/mmix/mmix.c: Likewise. | |
8123 | * config/mn10200/mn10200.c: Likewise. | |
8124 | * config/romp/romp.c: Likewise. | |
8125 | * config/sh/sh.c: Likewise. | |
8126 | * config/stormy16/stormy16.c: Likewise. | |
8127 | * config/stormy16/stormy16.h: Likewise. | |
8128 | * config/stormy16/stormy16.md: Likewise. | |
8129 | ||
97e300e9 GS |
8130 | 2002-01-03 Graham Stott <grahams@redhat.com> |
8131 | ||
8132 | * loop.h: Update copyright date. | |
0d24f4d1 ZW |
8133 | (LOOP_MOVABLES): Fix typo. |
8134 | (LOOP_REGS): Likewise. | |
8135 | (LOOP_IVS): Likewise. | |
ff81832f | 8136 | |
745b26b3 GS |
8137 | 2002-01-03 Graham Stott <grahams@redhat.com> |
8138 | ||
8139 | * cppinit.c: Update copyright date. | |
8140 | Don't include output.h | |
8141 | * Makefile.in: Update copyright date. | |
8142 | Update dependency. | |
8143 | ||
0a379b7a CR |
8144 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8145 | ||
8146 | PR c/5226 | |
8147 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
8148 | (-pthread) Add to RS/6000 options. | |
8149 | ||
a8154559 KH |
8150 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
8151 | ||
8152 | * except.c: Fix comment typos. | |
8153 | * loop.c: Likewise. | |
8154 | * varasm.c: Likewise. | |
8155 | * doc/tm.texi: Fix a typo. | |
8156 | ||
e6ecc89b JJ |
8157 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
8158 | ||
8159 | * c-typeck.c (output_init_element): Allow initializing static storage | |
8160 | duration objects with compound literals. | |
8161 | ||
d1094b40 RH |
8162 | 2002-01-02 Richard Henderson <rth@redhat.com> |
8163 | ||
8164 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
8165 | after abusing it. | |
8166 | ||
0c5d8c82 KG |
8167 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8168 | ||
5e65297b KG |
8169 | * gcc.c (default_compilers): Const-ify. |
8170 | * mips-tdump.c (stab_names): Likewise. | |
8171 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
8172 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
8173 | pseudo_ops_t, pseudo_ops): Likewise. | |
8174 | * protoize.c (default_include): Likewise | |
8175 | ||
0c5d8c82 KG |
8176 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
8177 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
8178 | Add array size in declaration. | |
8179 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
8180 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
8181 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
8182 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
8183 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
8184 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
8185 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
8186 | emtens, make_nan): Const-ify. | |
8187 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
8188 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
8189 | ||
817e13c4 JM |
8190 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
8191 | ||
8192 | * config.gcc (ia64-*-*): Set extra_headers. | |
8193 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
8194 | * config/alpha/t-osf: Remove. | |
8195 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
8196 | ||
98095e2b DE |
8197 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
8198 | ||
8199 | * config/rs6000/t-aix43: Revert previous change. | |
8200 | ||
a4200657 JM |
8201 | 2002-01-02 Jason Merrill <jason@redhat.com> |
8202 | ||
8203 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
8204 | emitting an inline function out of line. | |
8205 | ||
54ba1f0d RH |
8206 | 2002-01-02 Richard Henderson <rth@redhat.com> |
8207 | ||
8208 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
8209 | (new_die): New argument created_for. Update all callers. | |
8210 | (mark_limbo_die_list): New. | |
8211 | (dwarf2out_init): Register limbo_die_list as a root. | |
8212 | (dwarf2out_finish): Force insert limbo dies into their function | |
8213 | context. | |
8214 | ||
323728aa NS |
8215 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
8216 | ||
8217 | PR c++/5089 | |
8218 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
8219 | ||
aefc5826 KH |
8220 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
8221 | ||
8222 | * config/h8300/fixunssfsi.c: Update copyright. | |
8223 | Fix comment typos. | |
8224 | Fix formatting. | |
8225 | * config/h8300/h8300.c: Update copyright. | |
8226 | Eliminate warnings. | |
8227 | ||
b1c9bc51 KH |
8228 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
8229 | ||
8230 | * config/romp/romp.c: Fix comment formatting. | |
8231 | * config/romp/romp.h: Likewise. | |
8232 | * config/romp/romp.md: Likewise. | |
8233 | * config/s390/s390.c: Likewise. | |
8234 | * config/stormy16/stormy16.c: Likewise. | |
8235 | * config/stormy16/stormy16.h: Likewise. | |
8236 | ||
1574ef13 AO |
8237 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
8238 | ||
8239 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
8240 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
8241 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
8242 | argument down to expand_expr_stmt_value, taking | |
8243 | TREE_ADDRESSABLE into account. | |
8244 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
8245 | STMT_EXPR as addressable, i.e., one whose result we want. | |
8246 | * expr.c (expand_expr): Don't save expression statement value | |
8247 | of labeled_blocks or loop_exprs. | |
8248 | * stmt.c (expand_expr_stmt): Redirect to... | |
8249 | (expand_expr_stmt_value): ... this new function. Use new | |
8250 | argument to tell whether to save expression value. | |
8251 | (expand_end_stmt_expr): Reset last_expr_type and | |
8252 | last_expr_value if we don't have either. | |
8253 | * tree-inline.c (declare_return_variable): Mark its use | |
8254 | statement as addressable. | |
8255 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
8256 | (expand_expr_stmt_value): Declare. | |
8257 | ||
252b88f7 TR |
8258 | 2002-01-01 Tom Rix <trix@redhat.com> |
8259 | ||
8260 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
8261 | rs6000_emit_allocate_stack. | |
8262 | ||
29f7a208 JM |
8263 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
8264 | ||
8265 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
8266 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
8267 | * configure: Regenerate. | |
8268 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
8269 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
8270 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
8271 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
8272 | ||
2cc2d4bb RK |
8273 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8274 | ||
8275 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
8276 | and tree_int_cst; remove warnings. | |
8277 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
8278 | (insert_save): Likewise. | |
8279 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
8280 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
8281 | ||
f01c9bcd DR |
8282 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
8283 | ||
16b61764 DR |
8284 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
8285 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
8286 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
8287 | (vms-dwarf2eh.o): Add Makefile rule. | |
8288 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
8289 | * config/alpha/vms-dwarf2eh.asm: New file. | |
8290 | ||
f01c9bcd DR |
8291 | * gcc.c (delete_if_ordinary): Delete all versions. |
8292 | ||
91312b81 HPN |
8293 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
8294 | ||
8295 | * config/mmix/mmix.md: Update FIXME to not mention | |
8296 | define_constants. | |
8297 | (MMIX_rJ_REGNUM): New define_constants constant. | |
8298 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
8299 | "*movdicc_real"): Adjust contraints formatting. | |
8300 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
8301 | for branch prediction. | |
8302 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
8303 | output template. | |
8304 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
8305 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
8306 | number. Delete related FIXMEs. | |
8307 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
8308 | from number to MMIX_rJ_REGNUM. | |
8309 | (TARGET_MASK_BRANCH_PREDICT): New. | |
8310 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
8311 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
8312 | value. Add -mbranch-predict and -mno-branch-predict. | |
8313 | (TARGET_VERSION): Drop date. | |
8314 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
8315 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
8316 | for finding out global symbols. | |
8317 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
8318 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
8319 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
8320 | ||
619acae7 | 8321 | See ChangeLog.6 for earlier changes. |