]>
Commit | Line | Data |
---|---|---|
1a186ec5 RH |
1 | 2004-08-10 Richard Henderson <rth@redhat.com> |
2 | ||
3 | * builtins.def (BUILT_IN_STACK_ALLOC): Remove. | |
4 | * builtins.c (expand_builtin) <BUILT_IN_STACK_ALLOC>: Remove. | |
5 | * dwarf2out.c (loc_descriptor): Handle PARALLEL here ... | |
6 | (add_location_or_const_value_attribute): ... not here. Use | |
7 | loc_descriptor_from_tree if possible. | |
8 | (loc_descriptor_from_tree_1): Rename from loc_descriptor_from_tree. | |
9 | Simplify address handling. Handle DECL_VALUE_EXPR. Handle register | |
10 | values specially. | |
11 | (loc_descriptor_from_tree): New. Update callers. | |
12 | * expr.c (expand_var): Ignore DECL_VALUE_EXPR variables. | |
13 | * gimplify.c (gimplify_decl_expr): Lower variable sized types to | |
14 | pointer plus dereference. Set DECL_VALUE_EXPR. Set save_stack. | |
15 | (gimplify_call_expr): Do not recognize BUILT_IN_STACK_ALLOC | |
16 | and BUILT_IN_STACK_RESTORE. | |
17 | (gimplify_expr): Lower DECL_VALUE_EXPR decls. | |
18 | * stmt.c (expand_stack_alloc): Remove. | |
19 | * tree-mudflap.c (mx_register_decls): Don't look for | |
20 | BUILT_IN_STACK_ALLOC. | |
21 | * tree-nested.c (convert_local_reference): Likewise. | |
22 | * tree.h (DECL_VALUE_EXPR): New. | |
23 | ||
7109c195 RH |
24 | 2004-08-10 Richard Henderson <rth@redhat.com> |
25 | ||
bf4ccdd6 RH |
26 | * stor-layout.c (round_up): Check for 0/1 before dividing. |
27 | (round_down): Likewise. | |
28 | ||
7109c195 RH |
29 | * tree-tailcall.c (suitable_for_tail_opt_p): Also check DECL_EXTERNAL. |
30 | ||
b3f8d95d MM |
31 | 2004-08-09 Mark Mitchell <mark@codesourcery.com> |
32 | ||
33 | * config.gcc (arm*-*-eabi*): New target. | |
34 | * defaults.h (TARGET_LIBGCC_FUNCS): New macro. | |
35 | (TARGET_LIB_INT_CMP_BIASED): Likewise. | |
36 | * expmed.c (expand_divmod): Try a two-valued divmod function as a | |
37 | last resort. | |
38 | * gthr.h: Remove bogus tokens at end of #pragma. | |
39 | * optabs.c (expand_twoval_binop_libfunc): New function. | |
40 | (prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case. | |
41 | (prepare_float_lib_cmp): Try reversing the condition. | |
42 | (debug_optab_libfuncs): New function. | |
43 | * optabs.h (expand_twoval_binop_libfunc): Declare. | |
44 | * config/arm/arm.c (arm_init_libfuncs): New function. | |
45 | (arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT. | |
46 | (TARGET_INIT_LIBFUNCS): Define it. | |
47 | * config/arm/arm.h (TARGET_BPABI): New macro. | |
48 | * config/arm/arm-protos.h | |
49 | (arm_compute_initial_elimination_offset): Return HOST_WIDE_INT. | |
50 | * config/arm/bpabi.S: New file. | |
51 | * config/arm/bpabi.c: Likewise. | |
52 | * config/arm/bpabi.h: Likewise. | |
53 | * config/arm/ieee754-df.S (__aeabi_dneg): New function or alias. | |
54 | (__aeabi_drsub): Likewise. | |
55 | (__aeabi_dsub): Likewise. | |
56 | (__aeabi_dadd): Likewise. | |
57 | (__aeabi_ui2d): Likewise. | |
58 | (__aeabi_i2d): Likewise. | |
59 | (__aeabi_f2d): Likewise. | |
60 | (__aeabi_dmul): Likewise. | |
61 | (__aeabi_ddiv): Likewise. | |
62 | (__aeabi_cdrcmple): Likewise. | |
63 | (__aeabi_cdcmpeq): Likewise. | |
64 | (__aeabi_cdcmple): Likewise. | |
65 | (__aeabi_dcmpeq): Likewise. | |
66 | (__aeabi_dcmplt): Likewise. | |
67 | (__aeabi_dcmple): Likewise. | |
68 | (__aeabi_dcmpge): Likewise. | |
69 | (__aeabi_dcmpgt): Likewise. | |
70 | (__aeabi_dcmpun): Likewise. | |
71 | (__aeabi_d2iz): Likewise. | |
72 | (__aeabi_d2uiz): Likewise. | |
73 | (__aeabi_d2f): Likewise. | |
74 | * config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias. | |
75 | (__aeabi_frsub): Likewise. | |
76 | (__aeabi_fsub): Likewise. | |
77 | (__aeabi_fadd): Likewise. | |
78 | (__aeabi_ui2f): Likewise. | |
79 | (__aeabi_i2f): Likewise. | |
80 | (__aeabi_fmul): Likewise. | |
81 | (__aeabi_fdiv): Likewise. | |
82 | (__aeabi_cfrcmple): Likewise. | |
83 | (__aeabi_cfcmpeq): Likewise. | |
84 | (__aeabi_cfcmple): Likewise. | |
85 | (__aeabi_fcmpeq): Likewise. | |
86 | (__aeabi_fcmplt): Likewise. | |
87 | (__aeabi_fcmple): Likewise. | |
88 | (__aeabi_fcmpge): Likewise. | |
89 | (__aeabi_fcmpgt): Likewise. | |
90 | (__aeabi_fcmpun): Likewise. | |
91 | (__aeabi_f2iz): Likewise. | |
92 | (__aeabi_f2uiz): Likewise. | |
93 | * config/arm/lib1funcs.asm (ARM_CALL): New macro. | |
94 | (__aeabi_uidivmod): New function or alias. | |
95 | (__aeabi_idivmod): Likewise. | |
96 | (__aeabi_idiv0): Likewise. | |
97 | (__aeabi_ldiv0): Likewise. | |
98 | (__aeabi_llsr): Likewise. | |
99 | (__aeabi_lasr): Likewise. | |
100 | (__aeabi_llsl): Likewise. | |
101 | (bpabi.S): Include it. | |
102 | * config/arm/libgcc-bpabi.ver: New file. | |
103 | * config/arm/symbian.h (ARM_DEFAULT_ABI): Remove. | |
104 | (LINK_SPEC): Remove. | |
105 | * config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and | |
106 | __aeabi_ulcmp. | |
107 | * config/arm/t-bpabi: New file. | |
108 | * doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry. | |
109 | (TARGET_LIB_INT_CMP_BIASED): Likewise. | |
110 | ||
fba73eb1 DE |
111 | 2004-08-10 David Edelsohn <edelsohn@gnu.org> |
112 | ||
113 | * config/rs6000/rs6000-protos.h (expand_block_clear): Declare. | |
114 | * config/rs6000/rs6000.md (clrmemsi): New pattern. | |
115 | * config/rs6000/rs6000.c (expand_block_clear): New function. | |
116 | (expand_block_move): Convert alignment to bits. Use SImode and | |
117 | HImode for unaligned addresses if not STRICT_ALIGNMENT. | |
118 | ||
119 | 2004-08-10 Caroline Tice <ctice@apple.com> | |
c295317d CT |
120 | |
121 | * varasm.c (unlikely_section_label): New global variable. | |
122 | (unlikely_text_section_name): New global variable. | |
123 | (text_section): Remove alignment statement. | |
124 | (unlikely_text_section): Remove alignment statement; use | |
125 | unlikely_section_label rather than hard-coded string. | |
126 | (assemble_start_function): Initialize unlikely_section_label and | |
127 | unlikely_text_section_name; make sure cold section is properly | |
128 | aligned at start of function; output unlikely_section_label if | |
129 | appropriate. | |
130 | ||
68f9c5e2 UW |
131 | 2004-08-10 Ulrich Weigand <uweigand@de.ibm.com> |
132 | ||
133 | * config/s390/s390-protos.h (s390_canonicalize_comparison): Declare. | |
134 | * config/s390/s390.c (s390_canonicalize_comparison): New function. | |
135 | * config/s390/s390.h (CANONICALIZE_COMPARISON): Define. | |
136 | * config/s390/s390.md ("*tmdi_ext", "*tmsi_ext", "*tmqisi_ext", | |
137 | "*tmqidi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem"): Remove. | |
138 | ("*tmqi_mem"): Remove SUBREG from pattern. | |
139 | ("*anddi3_cconly"): Prevent accidentally matching TM pattern. | |
140 | ("*andsi3_cconly"): Likewise. | |
141 | ||
22116d84 L |
142 | 2004-08-10 H.J. Lu <hongjiu.lu@intel.com> |
143 | ||
144 | PR target/16909 | |
145 | * config/i386/i386.md (*strsetdi_rex_1): Use DI instead of SI. | |
146 | ||
c75095b2 JJ |
147 | 2004-08-10 Janis Johnson <janis187@us.ibm.com> |
148 | ||
149 | * doc/sourcebuild.texi (compat testing): Document available test | |
150 | framework commands. Use the preferred spelling of DejaGnu. | |
151 | ||
98975653 DB |
152 | 2004-08-10 Daniel Berlin <dberlin@dberlin.org> |
153 | ||
154 | * lambda.h: Add matrix type, and prototypes for remainder of | |
155 | matrix and vector functions. | |
156 | (lambda_vector_mult_const): New function. | |
157 | (lambda_vector_negate): Ditto. | |
158 | (lambda_vector_add): Ditto. | |
159 | (lambda_vector_add_mc): Ditto. | |
160 | (lambda_vector_copy): Ditto. | |
161 | (lambda_vector_zerop): Ditto. | |
162 | (lambda_vector_equal): Ditto. | |
163 | (lambda_vector_min_nz): Ditto. | |
164 | (lambda_vector_first_nz): Ditto. | |
165 | (lambda_vector_matrix_mult): Ditto. | |
166 | * lambda-mat.c: New file. | |
167 | * Makefile.in (lambda-mat.o): New. | |
168 | ||
68b9f53b AM |
169 | 2004-08-10 Andrew MacLeod <amacleod@redhat.com> |
170 | ||
171 | * tree-cfg.c (bsi_insert_before, bsi_insert_after): Call modify_stmt | |
172 | after linking stmt into the program. | |
173 | (bsi_remove): Don't call modify_stmt. | |
174 | * tree-complex.c (update_complex_assignment, | |
175 | expand_complex_comparison): Call modify_stmt after changing the stmt. | |
176 | * tree-outof-ssa.c (rewrite_trees): Call modify_stmt only if not | |
177 | removing the stmt. | |
178 | * tree-ssa-ccp.c (substitute_and_fold): Call modify_stmt after changing | |
179 | the stmt, and only if needed. | |
180 | * tree-ssa-dom.c (thread_across_edge): Pass no annotation for a dummy | |
181 | expression. | |
182 | (simplify_rhs_and_lookup_avail_expr): Don't take an annotation param. | |
183 | (simplify_cond_and_lookup_avail_expr): Use modify_stmt. | |
184 | (simplify_switch_and_lookup_avail_expr): Don't take an annotation param. | |
185 | (eliminate_redundant_computations): Don't pass an annotation. Call | |
186 | modify_stmt rather than setting the annotation directly. | |
187 | (record_equivalences_from_stmt): Remove unused local 'j'. | |
188 | (cprop_operand): Take a stmt rather than an annotation as a parameter. | |
189 | Call modify_stmt. | |
190 | (cprop_into_stmt): Pass stmt rather than annotation. | |
191 | (update_rhs_and_lookup_avail_expr): Call modify_stmt. | |
192 | * tree-ssa-loop-im.c (schedule_sm): Call get_stmt_ann rather than | |
193 | modify_stmt. | |
194 | * tree-ssa.c (propagate_into_addr): Dont call modify_stmt. | |
195 | ||
01c98570 JM |
196 | 2004-08-10 Jason Merrill <jason@redhat.com> |
197 | ||
6c9c4526 | 198 | PR middle-end/16948 |
01c98570 JM |
199 | * function.c (expand_function_start): Handle DECL_BY_REFERENCE on |
200 | the RESULT_DECL. | |
201 | ||
b2ddaebb GK |
202 | 2004-08-10 Geoffrey Keating <geoffk@apple.com> |
203 | ||
204 | * tree-vn.c (val_expr_pair_expr_eq): Compare vuses, to match the | |
205 | hash function. | |
206 | ||
23657388 RS |
207 | 2004-08-10 Roger Sayle <roger@eyesopen.com> |
208 | ||
209 | * config/mips/mips.md: New reciprocal square root patterns that | |
210 | match sqrt(1.0/x) in addition to the existing 1.0/sqrt(x) insns. | |
211 | ||
c9ca9b88 PB |
212 | 2004-08-10 Paul Brook <paul@codesourcery.com> |
213 | ||
214 | * config/arm/arm-protos.h (arm_set_return_address, | |
215 | thumb_set_return_address): Add prototypes. | |
216 | * config/arm/arm.h (ARM_FT_EXCEPTION_HANDLER): Remove. | |
217 | * config/arm/arm.c (arm_compute_func_type, | |
218 | use_return_insn, arm_compute_save_reg0_reg12_mask, | |
219 | arm_compute_save_reg_mask, arm_output_function_prologue, | |
220 | arm_output_epilogue): Replace ARM_FT_EXCEPTION_HANDLER with | |
221 | current_function_calls_eh_return. | |
222 | (thumb_exit, thumb_pushpop, thumb_unexpanded_epilogue): Replace | |
223 | old eh code. | |
224 | (arm_set_return_address, thumb_set_return_address): New functions. | |
225 | * config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS, DWARF2_UNWIND_INFO, | |
226 | ARM_EH_STACKADJ_REGNUM, EH_RETURN_STACKADJ_RTX): Define. | |
227 | * config/arm/arm.md (VUNSPEC_EH_RETURN): Add. | |
228 | (epilogue): Use the stackadj register. | |
229 | (eh_return, arm_eh_return, thumb_eh_return): New pattern. | |
230 | ||
45d78e7f JJ |
231 | 2004-08-10 Jakub Jelinek <jakub@redhat.com> |
232 | ||
233 | PR target/3144 | |
234 | * expr.c (move_by_pieces_ninsns): Add max_size argument. | |
235 | (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 to it. | |
236 | (CLEAR_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 to it. | |
237 | (STORE_BY_PIECES_P): Define similarly to CLEAR_BY_PIECES_P, | |
238 | but using MOVE_RATIO. | |
239 | (move_by_pieces): Pass max_size to move_by_pieces_ninsns. | |
240 | (can_store_by_pieces): Change max_size type to unsigned int. | |
241 | (store_by_pieces_1): Likewise. Pass max_size to | |
242 | move_by_pieces_ninsns. | |
243 | * config/s390/s390.h (STORE_BY_PIECES_P): Define. | |
244 | * config/sh/sh.c (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 | |
245 | to move_by_pieces_ninsns. | |
246 | (STORE_BY_PIECES_P): Define. | |
247 | * config/ns32k/ns32k.h (STORE_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 | |
248 | to move_by_pieces_ninsns. | |
249 | * doc/tm.texi (STORE_BY_PIECES_P): Document changed default. | |
250 | ||
251 | * config/i386/i386.h (CLEAR_RATIO): Define. | |
252 | ||
25f3e06c PB |
253 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
254 | ||
255 | * expr.c (expand_expr_real_1): Add back code that was not dead. | |
256 | ||
6a3203c8 AP |
257 | 2004-08-09 Andrew Pinski <apinski@apple.com> |
258 | ||
259 | * c-common.c (c_common_get_alias_set): Set the aliasing set of the type | |
260 | which is found to be compatible before returning the aliasing set. | |
261 | ||
b9bfca81 DJ |
262 | 2004-08-09 Daniel Jacobowitz <dan@debian.org> |
263 | ||
264 | * ggc-zone.c (struct alloc_zone): Add statistics counters. | |
265 | (always_collect): New flag. | |
266 | (ggc_alloc_zone_1): Update statistics support. Don't include | |
267 | overhead in allocated counter. | |
268 | (sweep_pages): Update allocated counter for large pages. Don'y | |
269 | include overhead. | |
270 | (ggc_collect_1): Always collect. | |
271 | (ggc_collect): Honor always_collect flag. Sum all zones to decide | |
272 | whether to collect. | |
273 | (SCALE, LABEL): New macros. | |
274 | (ggc_print_statistics): Add statistics support. | |
275 | ||
fdded401 RS |
276 | 2004-08-09 Roger Sayle <roger@eyesopen.com> |
277 | ||
278 | * expmed.c (sdiv_pow2_cheap, smod_pow2_cheap): Change type to bool. | |
279 | (init_expmed): Fix potential overrun problem with "all.reg". | |
280 | (expand_sdiv2_pow2): Add an alternate implementation for signed | |
281 | division, if the target provides a suitable conditional move insn. | |
282 | ||
9d8646d7 PB |
283 | 2004-08-09 Paul Brook <paul@codesourcery.com> |
284 | Richard Henderson <rth@redhat.com> | |
285 | ||
286 | * unwind-dw2.c (uw_install_context_1): Update target saved stack | |
287 | pointer. | |
288 | ||
d37e6b50 GK |
289 | 2004-08-09 Geoffrey Keating <geoffk@apple.com> |
290 | ||
291 | * ggc-common.c (ggc_rlimit_bound): Don't check RSS limit. | |
292 | Check DATA limit only if there's no AS limit. Ignore insanely | |
293 | low DATA limits. | |
294 | (ggc_min_heapsize_heuristic): Don't divide AS or RSS limits by 8, | |
295 | but take care that the AS limit isn't overrun. | |
296 | * doc/invoke.texi: Update documentation of min-heapsize parameter. | |
297 | ||
56b043c8 JL |
298 | 2004-08-09 Jeff Law <law@redhat.com> |
299 | ||
300 | * Makefile.in (OBJC-common): Add tree-ssa-threadupdate.c | |
301 | (tree-ssa-threadupdate.o): Add dependencies. | |
302 | * tree-ssa-threadupdate.c: New file. | |
303 | * tree-flow.h (incoming_edge_threaded): New flag in block annotation. | |
304 | (rewrite_vars_out_of_ssa): Remove prototype. | |
305 | (cleanup_tree_cfg): Returns a bool. | |
306 | * tree.h (thread_through_all_blocks): Prototype. | |
307 | * tree-outof-ssa.c (SSANORM_*): Move into here. | |
308 | (remove_ssa_form): Now static. | |
309 | (rewrite_vars_out_of_ssa): Kill. | |
310 | * tree-ssa-live.c (register_ssa_partitions_for_vars): Kill. | |
311 | * tree-ssa-live.h (SSANORM_*): Moved into tree-outof-ssa.c. | |
312 | (remove_ssa_form, register_partitions_for_vars): Kill declarations. | |
313 | * tree-cfg.c (cleanup_tree_cfg): Return a value indicating if | |
314 | anything was changed. | |
315 | * tree-phinodes.c (add_phi_arg): Get the block for the PHI | |
316 | from the PHI's annotation rather than the edge associated with | |
317 | the new argument. | |
318 | * tree-ssa-dom.c (redirection_edges): Kill. | |
319 | (redirect_edges_and_update_ssa_graph): Kill. | |
320 | (tree_ssa_dominator_optimize): Do not reset forwardable flag | |
321 | for blocks anymore. Do not initialize redirection_edges. | |
322 | Call thread_through_all_blocks. Simplify code for cleanup | |
323 | of the CFG and iterating. No longer call cleanup_tree_cfg | |
324 | outside the iteration loop. | |
325 | (thread_across_edge): No longer mess with forwardable blocks. | |
326 | ||
9b305d55 ZW |
327 | 2004-08-09 Zack Weinberg <zack@codesourcery.com> |
328 | ||
329 | * explow.c (memory_address): Use memory_address_p. | |
330 | * recog.c (general_operand): Likewise. | |
331 | * regrename.c: No need to define REG_OK_STRICT. | |
332 | ||
27fb79ad SB |
333 | 2004-08-09 Steven Bosscher <stevenb@suse.de> |
334 | ||
335 | * timevar.def (TV_CPROP1, TV_CPROP2, TV_PRE, TV_HOIST, TV_LSM): | |
336 | New timers. | |
337 | * gcse.c: Include timevar.h. | |
338 | (const_prop_count, copy_prop_count): Rename to global_const_prop_count | |
339 | and global_copy_prop_count. | |
340 | (local_const_prop_count, local_copy_prop_count): New static globals. | |
341 | (gcse_main): Set the right timevar for each pass. | |
342 | (cprop_jump): Increment global_const_prop_count when a constant is | |
343 | propagated. Add "GLOBAL" to dump output. | |
344 | (cprop_insn): Increment global_const_prop_count when a constant is | |
345 | propagated, or global_copy_prop_count when a copy is propagated. | |
346 | (do_local_cprop): Likewise for local_const_prop_count and | |
347 | local_copy_prop_count. | |
348 | (one_cprop_pass): Initialize const/cprop counters to zero. | |
349 | Print out results of local and global const/cprop separately. | |
350 | (bypass_block): Break over-length line. | |
702d4b73 SB |
351 | * Makefile.in (gcse.o): Add TIMEVAR_H dependency. Fix dependencies |
352 | for bb-reorder.o and tracer.o. | |
27fb79ad | 353 | |
7efcb746 PB |
354 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
355 | ||
356 | * Makefile.in (GTFILES): Remove stmt.c | |
357 | (stmt.o): Do not depend on gt-stmt.h. | |
358 | * emit-rtl.c (emit_line_note): Do not call | |
359 | set_file_and_line_for_stmt. | |
360 | * expr.c (expand_expr_real_1) <SWITCH_EXPR>: Let expand_case | |
361 | do everything. | |
362 | * function.c (free_after_parsing): Do not free STMT field. | |
363 | (allocate_struct_function): Do not call init_stmt_for_function. | |
364 | (assign_stack_temp_for_type): Do not accept values of keep | |
365 | other than 0 or 1. | |
366 | (init_temp_slots): Do not initialize removed variables. | |
367 | * function.h (struct function): Remove STMT, X_TARGET_TEMP_SLOT_LEVEL | |
368 | and X_VAR_TEMP_SLOT_LEVEL fields. | |
369 | * rtl.h (set_file_and_line_for_stmt): Remove. | |
370 | * stmt.c (struct nesting, ALLOC_NESTING, POPSTACK, | |
371 | struct stmt_status, cond_stack, case_stack, nesting_stack, | |
372 | nesting_depth, emit_locus, set_file_and_line_for_stmt, | |
373 | same_case_target_p, init_stmt_for_function, emit_nop, | |
374 | expand_start_cond, expand_start_elseif, expand_start_else, | |
375 | expand_elseif, expand_end_cond): Remove. | |
376 | (preserve_subexpressions_p): Remove references to CFUN->STMT. | |
377 | (expand_start_case, expand_end_case_type): Remove, merge into... | |
378 | (expand_case): ... this one, including other bits from | |
379 | expand_expr_real_1. Inline same_case_target_p. Turn members | |
380 | of CASE_STACK into local variables. | |
381 | (emit_case_bit_tests): Inline same_case_target_p. | |
382 | (add_case_node): Add HEAD argument, return new head of the list, | |
383 | do not handle default label here. | |
384 | * tree.h (expand_start_cond, expand_end_cond, expand_start_else, | |
385 | expand_start_elseif, current_nesting_level, expand_start_case, | |
386 | expand_end_case_type, expand_end_case, add_case_node, | |
387 | init_stmt_for_function, expand_elseif): Remove prototypes. | |
388 | (expand_case): Add prototype. | |
389 | ||
c4d70ce3 PB |
390 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
391 | ||
392 | * expr.c (expand_expr_real_1): Use optab_for_tree_code. | |
393 | ||
394 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> | |
e5bacf32 PB |
395 | |
396 | * expr.c (var_rtx): Remove. | |
397 | (expand_expr_real_1) <LOOP_EXPR, EXIT_EXPR, | |
398 | LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, TRUTH_ANDIF_EXPR, | |
399 | TRUTH_ORIF_EXPR, COMPOUND_EXPR, CONJ_EXPR, INIT_EXPR>: | |
400 | Abort. | |
401 | (expand_expr_real_1) <COND_EXPR>: Remove most special cases. | |
402 | * optabs.c (emit_clr_insn, emit_0_to_1_insn): Remove. | |
403 | * optabs.h (emit_clr_insn, emit_0_to_1_insn): Remove. | |
404 | ||
d72372e4 MH |
405 | 2004-08-08 Mostafa Hagog <mustafa@il.ibm.com> |
406 | Ayal Zaks <zaks@il.ibm.com> | |
407 | ||
408 | * common.opt (freschedule-modulo-scheduled-loops): New flag. | |
409 | * final.c (final_scan_insn): Handle NOTE_DISABLE_SCHED_OF_BLOCK. | |
410 | * modulo-sched.c (sms_schedule): Emit a note to disable scheduling | |
411 | when -freschedule-modulo-scheduled-loops flag is not specified. | |
412 | (sms_schedule_by_order, ps_insn_advance_column, add_node_to_ps, | |
413 | add_node_to_ps, ps_has_conflicts, ps_add_node_check_conflicts): | |
414 | More accurate placing of insn in row of partial schedule. | |
415 | (ps_insn_find_column): New function. | |
416 | * rtl.h (NOTE_DISABLE_SCHED_OF_BLOCK): New note. | |
417 | * sched-rgn.c (sched_is_disabled_for_current_region_p): New. | |
418 | (schedule_region): Use sched_is_disabled_for_current_region_p. | |
419 | * docs/invoke.texi: Document -freschedule-modulo-scheduled-loops. | |
420 | ||
0737fbff L |
421 | 2004-08-07 H.J. Lu <hongjiu.lu@intel.com> |
422 | ||
423 | * config/i386/i386.c (ix86_expand_clrmem): Revert the last | |
424 | change. | |
425 | ||
11c4576f L |
426 | 2004-08-07 H.J. Lu <hongjiu.lu@intel.com> |
427 | ||
428 | * config/i386/i386.c (ix86_expand_clrmem): Properly call | |
429 | gen_strset for 64bit target. | |
430 | ||
34def210 OH |
431 | 2004-08-07 Olivier Hainque <hainque@act-europe.fr> |
432 | ||
433 | * config/vxworks.h (HANDLE_SYSV_PRAGMA): Remove definition. | |
434 | ||
5201931e JM |
435 | 2004-08-07 Jason Merrill <jason@redhat.com> |
436 | ||
cc77ae10 JM |
437 | Make return in memory explicit. |
438 | * function.c (aggregate_value_p): Check DECL_BY_REFERENCE. | |
439 | (assign_parm_find_data_types): Remove code for old front end | |
440 | invisible reference handling. | |
441 | (assign_parms): Handle DECL_BY_REFERENCE on the RESULT_DECL. | |
442 | (expand_function_end): Likewise. | |
443 | * gimplify.c (gimplify_return_expr): Handle a dereferenced | |
444 | RESULT_DECL. | |
445 | * tree-inline.c (copy_body_r): Don't bother looking for &* anymore. | |
446 | (declare_return_variable): Handle DECL_BY_REFERENCE. | |
447 | * cp/cp-gimplify.c (is_invisiref_parm): Also handle RESULT_DECL. | |
448 | (cp_genericize_r): Use convert_from_reference. | |
449 | Don't dereference a RESULT_DECL directly inside a RETURN_EXPR. | |
450 | (cp_genericize): Handle the RESULT_DECL. Unset TREE_ADDRESSABLE. | |
451 | ||
5201931e JM |
452 | * c-common.c (c_warn_unused_result): Check TREE_USED before |
453 | warning about a CALL_EXPR with an unused value. | |
454 | ||
2ed9e527 MM |
455 | 2004-08-06 Mark Mitchell <mark@codesourcery.com> |
456 | ||
457 | * config/arm/symbian.h (CC1_SPEC): Avoid passing duplicate options | |
458 | to the compiler. Use -fshort-wchar by default. | |
459 | ||
12183e0f PH |
460 | 2004-08-06 Pat Haugen <pthaugen@us.ibm.com> |
461 | ||
462 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): New. | |
463 | * cfgcleanup.c (try_crossjump_to_edge): Add minimum insn match | |
464 | threshhold. | |
465 | * doc/invoke.texi (param): Document min-crossjump-insns. | |
466 | ||
eaac4679 RS |
467 | 2004-08-06 Richard Sandiford <rsandifo@redhat.com> |
468 | ||
469 | PR c/13282 | |
470 | * c.opt (Wmissing-field-initializers): New option. | |
471 | * c-opts.c (c_common_post_options): Make -Wextra turn it on by default. | |
472 | * c-typeck.c (pop_init_level): Guard the missing field warning with | |
473 | warn_missing_field_initializers rather than extra_warnings. | |
474 | * doc/invoke.texi (-Wmissing-field-initializers): Document, moving | |
475 | some of the explanation from... | |
476 | (-Wextra): ...here. Say that the missing field warning can be | |
477 | seperately controlled by -Wmissing-field-initializers. | |
478 | ||
caad9f81 PB |
479 | 2004-08-06 Paolo Bonzini <bonzini@gnu.org> |
480 | ||
481 | * expr.c (expand_expr_real_1) <ENTRY_VALUE_EXPR>: Remove. | |
482 | * tree-inline.c (estimate_num_insns_1) <ENTRY_VALUE_EXPR>: Remove. | |
483 | * tree-pretty-print.c (dump_generic_node) <ENTRY_VALUE_EXPR>: Remove. | |
484 | * tree.def (ENTRY_VALUE_EXPR): Remove. | |
485 | ||
6b32b628 JJ |
486 | 2004-08-06 Jakub Jelinek <jakub@redhat.com> |
487 | ||
488 | * config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to | |
489 | the places where it is actually needed. Don't use repz; stosb | |
490 | for -Os with sufficiently small constant sizes. | |
491 | For sufficiently small repz; stos{l,q} repeat counts use a sequence | |
492 | of stos{l,q} instructions instead. | |
493 | ||
6797f908 ZD |
494 | 2004-08-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
495 | ||
496 | PR tree-optimization/16807 | |
497 | * loop-iv.c (dump_iv_info): Dump invariants correctly. | |
498 | (iv_subreg, iv_extend): Express value of invariant purely in | |
499 | base field. | |
500 | ||
866cf037 MM |
501 | 2004-08-06 Mark Mitchell <mark@codesourcery.com> |
502 | ||
503 | * config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums. | |
504 | (CC1PLUS_SPEC): Define it to be the same as CC1_SPEC. | |
505 | ||
9652c531 | 506 | 2004-08-06 Roman Zippel <zippel@linux-m68k.org> |
9b305d55 | 507 | |
27fb79ad SB |
508 | * config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New. |
509 | * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand, | |
510 | pre_dec_operand. | |
511 | * config/m68k/m68k.md (zero_extend*2): delay the splitting of the | |
512 | pattern until reload is finished to allow better code generation | |
513 | and split them completely into separate instrunctions. | |
514 | (*andsi3_split): New pattern. | |
9652c531 | 515 | |
b2ca3702 MM |
516 | 2004-08-05 Mark Mitchell <mark@codesourcery.com> |
517 | ||
518 | * tree.c (handle_dll_attribute): Move here from i383/winnt.c. | |
519 | Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P. Set | |
520 | DECL_VISIBLITY. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
521 | * tree.h (handle_dll_attribute): Declare. Test | |
522 | TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
523 | * c-common.h (c_determine_visibility): Declare. | |
524 | * c-common.c (c_determine_visibility): New function. | |
525 | * c-decl.c (finish_decl): Use it. | |
526 | (finish_function): Likewise. | |
527 | * defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to | |
528 | zero, by default. Use #if, not #ifdef, to test it. | |
529 | * config/arm/arm.c (arm_attribute_table): Use | |
530 | handle_dll_attribute. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with | |
531 | #if. | |
532 | * config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1. | |
533 | * config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
534 | to 1. | |
535 | * config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove. | |
536 | * config/i386/i386.c (ix86_attribute_table): Use | |
537 | handle_dll_attribute for dllimport/dllexport. Test | |
538 | TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
539 | * config/i386/winnt.c (ix86_handle_dll_attribute): Remove. | |
540 | * config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
541 | it to 1. | |
542 | * config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it | |
543 | with #if. | |
544 | * config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
545 | it to 1. | |
546 | * doc/extend.texi (dllexport): Clarify and correct documentation. | |
547 | (dllimport): Likewise. | |
548 | * doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention | |
549 | handle_dll_attribute. | |
9b305d55 | 550 | |
c913f08a ZD |
551 | 2004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
552 | ||
553 | * tree-ssa-loop-manip.c: New file. | |
554 | * Makefile.in (tree-ssa-loop-manip.o): Add. | |
555 | * tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa): | |
556 | Declare. | |
557 | * tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa | |
558 | form. | |
559 | (tree_ssa_loop_done): Verify loop closed ssa form. | |
560 | * tree-ssa-loop-im.c (move_computations): Update loop closed ssa form. | |
561 | ||
d4482715 JDA |
562 | 2004-08-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
563 | ||
564 | * pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common, | |
565 | pa_asm_output_aligned_local): New functions. | |
566 | * pa-protos.h: Add prototypes for pa_asm_output_aligned_bss, | |
567 | pa_asm_output_aligned_common and pa_asm_output_aligned_local. | |
568 | * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use | |
569 | pa_asm_output_aligned_common. | |
570 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
571 | * pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro. | |
572 | (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. | |
573 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
574 | * pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro. | |
575 | (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. | |
576 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
577 | * som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global | |
578 | common data. | |
579 | ||
21149a79 AP |
580 | 2004-08-05 Andrew Pinski <apinski@apple.com> |
581 | ||
582 | * objc/objc-act.c (build_objc_string_object): Mark the address | |
583 | expression as constant. | |
584 | ||
d5861a7a DE |
585 | 2004-08-05 David Edelsohn <edelsohn@gnu.org> |
586 | ||
587 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand | |
588 | and mask64_operand thinkos. Handle ZERO_EXTRACT. Handle | |
589 | SIGN_EXTEND / ZERO_EXTEND of MEM. Handle rlwinm patterns. | |
590 | ||
0a2b72a6 JM |
591 | 2004-08-05 Joseph S. Myers <jsm@polyomino.org.uk> |
592 | ||
593 | * config/linux.h, config/i386/linux.h, config/sparc/linux.h: | |
594 | Remove definitions conditioned on USE_GNULIBC_1 or conditioned | |
595 | out, and associated obsolete comments. | |
596 | ||
ca7a3bd7 NS |
597 | 2004-08-05 Nathan Sidwell <nathan@codesourcery.com> |
598 | ||
599 | * tree.h (force_fit_type): Return a tree, take three flags. | |
600 | * fold-const.c (force_fit_type): Set TREE_OVERFLOW and | |
601 | TREE_CONSTANT_OVERFLOW here. | |
602 | (int_const_binop, const_binop): Adjust. | |
603 | (size_int_type): Do sign extension here. | |
604 | (fold_convert_const, optimize_bit_field_compare, | |
605 | decode_field_reference, all_ones_mask_p, fold_div_compare, fold, | |
606 | fold_negate_const, fold_abs_const, fold_not_const): Adjust. | |
607 | * tree.c (size_in_bytes, int_fits_type_p): Adjust. | |
608 | ||
d36837f4 ZD |
609 | 2004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
610 | ||
611 | PR tree-optimization/16864 | |
612 | * tree-tailcall.c (eliminate_tail_call): Do not create phi nodes | |
613 | for ssa names without default_def. | |
614 | ||
ea5f7a19 RS |
615 | 2004-08-05 Richard Sandiford <rsandifo@redhat.com> |
616 | ||
617 | * config/i386/i386.c (ix86_expand_prologue): If the function uses a | |
618 | frame pointer, restore eax with an ebp-relative address. | |
619 | ||
0e6df31e GK |
620 | 2004-08-04 Geoffrey Keating <geoffk@apple.com> |
621 | ||
622 | PR 14516 | |
623 | * c-common.c (c_expand_decl): Don't special-case static VAR_DECLs. | |
624 | * c-common.h (make_rtl_for_local_static): Delete. | |
625 | * c-decl.c (shadow_tag_warned): Clean up comment. | |
626 | (finish_decl): Clean up spacing. Use set_user_assembler_name when | |
627 | appropriate. Don't pass asmspec to rest_of_decl_compilation. | |
628 | * c-semantics.c (make_rtl_for_local_static): Delete. | |
629 | * expr.c (init_block_move_fn): Use set_user_assembler_name. | |
630 | (init_block_clear_fn): Likewise. | |
631 | * passes.c (rest_of_decl_compilation): Remove asmspec parameter, | |
632 | expect it to be in DECL_ASSEMBLER_NAME. Update callers in many files. | |
633 | * toplev.h (rest_of_decl_compilation): Remove asmspec parameter. | |
634 | * tree.h (make_decl_rtl): Remove second parameter. | |
635 | (set_user_assembler_name): New. | |
636 | * varasm.c (set_user_assembler_name): New. | |
637 | (make_decl_rtl): Remove second parameter. Update callers in many | |
638 | files. | |
639 | ||
4f587cb0 AN |
640 | 2004-08-05 Adam Nemet <anemet@lnxw.com> |
641 | ||
642 | * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0. | |
643 | (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update | |
644 | to LynxOS 4.0. | |
645 | * gthr-lynx.h: New file. | |
646 | * config/lynx-ng.h: Remove file. | |
647 | * config/lynx.h: Update to LynxOS 4.0. | |
648 | * config/t-lynx: New file. | |
649 | * config/i386/lynx-ng.h: Remove file. | |
650 | * config/i386/lynx.h: Update to LynxOS 4.0. | |
651 | * config/rs6000/lynxbase.h: Remove file. | |
652 | * config/rs6000/lynx.h: Update to LynxOS 4.0. | |
653 | * config/rs6000/t-lynx: New file. | |
654 | * doc/install.texi (Options specification): Remove reference to | |
655 | LynxOS from systems where --with-gnu-as makes a difference. | |
656 | ||
85291069 JM |
657 | 2004-08-05 Joseph S. Myers <jsm@polyomino.org.uk> |
658 | ||
659 | * c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and | |
660 | __UINTMAX_TYPE__. | |
661 | * c-cppbuiltin.c (builtin_define_stdint_macros): New. Define | |
662 | __INTMAX_MAX__. | |
663 | (c_cpp_builtins): Call it. | |
664 | * doc/cpp.texi: Update. | |
665 | ||
30a555d9 DE |
666 | 2004-08-04 David Edelsohn <edelsohn@gnu.org> |
667 | ||
668 | * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero | |
669 | cost. | |
670 | ||
878f99d2 JH |
671 | 2004-08-04 Jan Hubicka <jh@suse.cz> |
672 | ||
673 | * basic-block.h (profile_staus): New global variable. | |
674 | * cfg.c (profile_status): Declare. | |
675 | (check_bb_profile): Break out from ....; use profile_status | |
676 | (dump_flow_info): ... here. | |
677 | * cfgbuild.c (find_basic_blocks): Set profile_status. | |
678 | * cfgexpand.c (tree_expand_cfg): Likewise. | |
679 | * predict.c (estimate_probability): Likewise. | |
680 | * profile.c (branch_prob): Likewise. | |
681 | * tree-cfg.c (build_tree_cfg): Likewise. | |
682 | (dump_function_to_file): Use check_bb_profile. | |
683 | * tree-pretty-print (dump_bb_header): Likewise. | |
684 | * tree-profile.c (do_tree_profiling): Cleanup. | |
685 | ||
7e7ec48e ZW |
686 | 2004-08-04 Zack Weinberg <zack@codesourcery.com> |
687 | ||
688 | * Makefile.in (RTL_BASE_H, RTL_H): Correct. | |
689 | (BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o. | |
690 | (genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o. | |
691 | (read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o) | |
692 | (genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o) | |
693 | (genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o) | |
694 | (genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H). | |
695 | (ggc-none.o, errors.o): Move rule to generators section; | |
696 | correct dependencies. | |
697 | (min-insn-modes.o): Move rule to generators section; remove | |
698 | unnecessary explicit command; correct dependencies. | |
699 | (print-rtl.o, print-rtl1.o): Correct dependencies. | |
700 | ($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule. | |
701 | (mostlyclean): Update. | |
702 | ||
703 | * errors.c: Include bconfig.h not config.h. Correct comment. | |
704 | * gengtype.c, genpreds.c: Don't define NO_GENRTL_H. | |
705 | * ggc-none.c: Include bconfig.h; not config.h or tm.h. | |
706 | * print-rtl.c: Don't include tm_p.h. | |
707 | ||
708 | * rtl.h: Move forward-decl of struct function down where it's | |
709 | needed. Include genrtl.h #ifndef GENERATOR_FILE, not | |
710 | #ifndef NO_GENRTL_H. Remove unnecessary #ifdef BUFSIZ statements. | |
711 | ||
b0382c67 ZD |
712 | 2004-08-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
713 | Jeff Law <law@redhat.com> | |
714 | ||
715 | * tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions. | |
716 | * tree-flow.h (rewrite_ssa_into_ssa): Declaration changed. | |
717 | * tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to | |
718 | manipulate the duplicated ssa names. | |
719 | * tree-ssanames.c (ssa_names_to_rewrite): New variable. | |
720 | (marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite, | |
721 | unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force): | |
722 | New functions. | |
723 | (release_ssa_name): Do not release ssa names that may have multiple | |
724 | definitions. | |
725 | * tree.h (release_ssa_name_force, mark_for_rewrite, | |
726 | unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p, | |
727 | marked_ssa_names): Declare. | |
728 | * tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove. | |
729 | (duplicate_blocks): Remove call to mark_defs_for_rewrite. | |
730 | Update call to rewrite_ssa_into_ssa. | |
731 | ||
63c5b495 MM |
732 | 2004-08-04 Mark Mitchell <mark@codesourcery.com> |
733 | ||
734 | * defaults.h (TARGET_DECLSPEC): New macro. | |
735 | * c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC. | |
736 | * config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support. | |
b2ca3702 | 737 | * config/arm/symbian.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define. |
63c5b495 MM |
738 | * config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove |
739 | __declspec support. | |
740 | (TARGET_DECLSPEC): Define. | |
741 | * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove | |
742 | __declspec support. | |
743 | * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove | |
744 | __declspec support. | |
745 | (TARGET_DECLSPEC): Define. | |
746 | * config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove | |
747 | __declspec support. | |
748 | * config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec | |
749 | support. | |
750 | * doc/tm.texi (TARGET_DECLSPEC): Document. | |
751 | ||
752 | * doc/extend.texi: Fix typo in comment. | |
753 | ||
44d10c10 PB |
754 | 2004-08-04 Paul Brook <paul@codesourcery.com> |
755 | ||
756 | * target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define. | |
757 | (TARGET_CXX): Use it. | |
758 | * target.h (struct gcc_target): Add cdtor_returns_this. | |
759 | * config/arm/arm.c (arm_cxx_cdtor_returns_this): New function. | |
760 | (TARGET_CXX_CDTOR_RETURNS_THIS): Define. | |
761 | * doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS. | |
762 | ||
5e9754af NS |
763 | 2004-08-03 Nathan Sidwell <nathan@codesourcery.com> |
764 | ||
765 | * c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take | |
766 | low/high pair. Do range checking directly. | |
767 | (interpret_integer): Adjust. | |
768 | ||
2acc29bd NC |
769 | 2004-08-04 Nick Clifton <nickc@redhat.com> |
770 | ||
771 | * config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the | |
772 | GCC ABI. | |
773 | * doc/invoke.texi: Document this new switch and also the -mrenesas | |
774 | switch. | |
775 | ||
2496942a NS |
776 | 2004-08-04 Nathan Sidwell <nathan@codesourcery.com> |
777 | ||
778 | * cfglayout.c (insn_locators_initialize): Update the current | |
779 | location before initializing a location. | |
780 | ||
7e2e8179 ZW |
781 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
782 | ||
403f8503 ZW |
783 | * dbxout.c (dbxout_function_decl): Always call dbxout_function_end. |
784 | (dbxout_function_end): Return after emitting the "Lscope" symbol | |
785 | under the same conditions that this function formerly wasn't called. | |
786 | Add explanatory comments. | |
787 | ||
bcc7f708 | 788 | PR 14860 |
ca043393 ZW |
789 | * c-decl.c (record_builtin_type): Call debug_hooks->type_decl |
790 | on the new decl. | |
791 | ||
bcc7f708 | 792 | PR 13956 |
7e2e8179 ZW |
793 | * dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New |
794 | functions, broken out of dbxout_block. | |
795 | (dbxout_block): The block at depth 0 should get LBRAC/RBRAC | |
796 | stabs too, if it contains symbols. Use the begin_label and | |
797 | the Lscope label (emitted by dbxout_function_end) for the | |
798 | range of this block. | |
799 | ||
5d75ba94 NN |
800 | 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org> |
801 | ||
802 | * doc/install.texi: Update autoconf version requirements. | |
803 | ||
2e4e72b1 ZW |
804 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
805 | ||
806 | * defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition. | |
807 | * recog.c (general_operand, immediate_operand, nonmemory_operand) | |
808 | (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P. | |
809 | * regclass.c (record_reg_classes): Likewise. | |
810 | * reload.c (find_reloads): Likewise. | |
811 | * reload1.c (reload): Likewise. | |
812 | ||
f9942f4e ZW |
813 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
814 | ||
815 | * gensupport.c (init_md_reader_args_cb): Renamed from | |
816 | init_md_reader_args. Add third option, callback function for | |
817 | parsing program-specific options. Add diagnosis of incorrect | |
818 | number of input files. | |
819 | (init_md_reader): Fold into init_md_reader_args_cb. | |
820 | (init_md_reader_args): Now a thin wrapper around | |
821 | init_md_reader_args_cb. | |
822 | * gensupport.h: Update prototypes. | |
823 | ||
824 | * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c | |
825 | * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c | |
826 | * genrecog.c: No need to diagnose lack of an input file; | |
827 | init_md_reader_args will handle it. | |
828 | * genconditions.c: Likewise, and use init_md_reader_args. | |
829 | * genconstants.c: Likewise, and no need to call read_md_rtx. | |
830 | ||
9cbe78fb JM |
831 | 2004-08-03 Joseph S. Myers <jsm@polyomino.org.uk> |
832 | ||
833 | * c-decl.c (implicitly_declare): Diagnose incompatible implicit | |
834 | declarations. | |
835 | ||
3e558e80 MS |
836 | 2004-08-03 Mike Stump <mrs@apple.com> |
837 | ||
838 | * config/darwin-c.c: Don't search in "/Local/Library/Frameworks" | |
839 | for frameworks. | |
840 | * doc/invoke.texi (Darwin Options): Update to reflect above. | |
841 | ||
a0fac73d RS |
842 | 2004-08-03 Roger Sayle <roger@eyesopen.com> |
843 | ||
844 | PR middle-end/16790 | |
845 | * fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local | |
846 | truncations, not just global truncations. | |
847 | ||
cddbddb7 AP |
848 | 2004-08-03 Andrew Pinski <apinski@apple.com> |
849 | ||
850 | PR bootstrap/16865 | |
851 | * loop-iv.c (simplify_using_assignment): Initialize lhs. | |
852 | ||
bebf829d PB |
853 | 2004-08-03 Paul Brook <paul@codesourcery.com> |
854 | ||
855 | * gcc/doc/install.texi: Document MPFR requirement. | |
856 | ||
cddbddb7 | 857 | 2004-08-03 Maciej W. Rozycki <macro@linux-mips.org> |
3b0727a0 | 858 | |
f9942f4e ZW |
859 | * aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> |
860 | and mmap() explicitly instead of relying on preset autoconf cache | |
3b0727a0 MR |
861 | variables. |
862 | * configure: Regenerate. | |
863 | ||
f6bc51cb L |
864 | 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> |
865 | ||
866 | PR target/16570 | |
867 | * config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc | |
868 | to tmake_file. | |
869 | (i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise. | |
870 | (i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc | |
871 | to tmake_file. | |
872 | ||
873 | * config/i386/t-gmm_malloc: New file. | |
874 | * config/i386/t-pmm_malloc: Likewise. | |
f9942f4e | 875 | |
f6bc51cb L |
876 | * config/i386/xmmintrin.h: Include <mm_malloc.h>. |
877 | ||
878 | 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> | |
d5861a7a | 879 |