]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
mips.md: New reciprocal square root patterns that match sqrt(1.0/x) in addition to...
[gcc.git] / gcc / ChangeLog
CommitLineData
23657388
RS
12004-08-10 Roger Sayle <roger@eyesopen.com>
2
3 * config/mips/mips.md: New reciprocal square root patterns that
4 match sqrt(1.0/x) in addition to the existing 1.0/sqrt(x) insns.
5
c9ca9b88
PB
62004-08-10 Paul Brook <paul@codesourcery.com>
7
8 * config/arm/arm-protos.h (arm_set_return_address,
9 thumb_set_return_address): Add prototypes.
10 * config/arm/arm.h (ARM_FT_EXCEPTION_HANDLER): Remove.
11 * config/arm/arm.c (arm_compute_func_type,
12 use_return_insn, arm_compute_save_reg0_reg12_mask,
13 arm_compute_save_reg_mask, arm_output_function_prologue,
14 arm_output_epilogue): Replace ARM_FT_EXCEPTION_HANDLER with
15 current_function_calls_eh_return.
16 (thumb_exit, thumb_pushpop, thumb_unexpanded_epilogue): Replace
17 old eh code.
18 (arm_set_return_address, thumb_set_return_address): New functions.
19 * config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS, DWARF2_UNWIND_INFO,
20 ARM_EH_STACKADJ_REGNUM, EH_RETURN_STACKADJ_RTX): Define.
21 * config/arm/arm.md (VUNSPEC_EH_RETURN): Add.
22 (epilogue): Use the stackadj register.
23 (eh_return, arm_eh_return, thumb_eh_return): New pattern.
24
45d78e7f
JJ
252004-08-10 Jakub Jelinek <jakub@redhat.com>
26
27 PR target/3144
28 * expr.c (move_by_pieces_ninsns): Add max_size argument.
29 (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 to it.
30 (CLEAR_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 to it.
31 (STORE_BY_PIECES_P): Define similarly to CLEAR_BY_PIECES_P,
32 but using MOVE_RATIO.
33 (move_by_pieces): Pass max_size to move_by_pieces_ninsns.
34 (can_store_by_pieces): Change max_size type to unsigned int.
35 (store_by_pieces_1): Likewise. Pass max_size to
36 move_by_pieces_ninsns.
37 * config/s390/s390.h (STORE_BY_PIECES_P): Define.
38 * config/sh/sh.c (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1
39 to move_by_pieces_ninsns.
40 (STORE_BY_PIECES_P): Define.
41 * config/ns32k/ns32k.h (STORE_BY_PIECES_P): Pass STORE_MAX_PIECES + 1
42 to move_by_pieces_ninsns.
43 * doc/tm.texi (STORE_BY_PIECES_P): Document changed default.
44
45 * config/i386/i386.h (CLEAR_RATIO): Define.
46
25f3e06c
PB
472004-08-09 Paolo Bonzini <bonzini@gnu.org>
48
49 * expr.c (expand_expr_real_1): Add back code that was not dead.
50
6a3203c8
AP
512004-08-09 Andrew Pinski <apinski@apple.com>
52
53 * c-common.c (c_common_get_alias_set): Set the aliasing set of the type
54 which is found to be compatible before returning the aliasing set.
55
b9bfca81
DJ
562004-08-09 Daniel Jacobowitz <dan@debian.org>
57
58 * ggc-zone.c (struct alloc_zone): Add statistics counters.
59 (always_collect): New flag.
60 (ggc_alloc_zone_1): Update statistics support. Don't include
61 overhead in allocated counter.
62 (sweep_pages): Update allocated counter for large pages. Don'y
63 include overhead.
64 (ggc_collect_1): Always collect.
65 (ggc_collect): Honor always_collect flag. Sum all zones to decide
66 whether to collect.
67 (SCALE, LABEL): New macros.
68 (ggc_print_statistics): Add statistics support.
69
fdded401
RS
702004-08-09 Roger Sayle <roger@eyesopen.com>
71
72 * expmed.c (sdiv_pow2_cheap, smod_pow2_cheap): Change type to bool.
73 (init_expmed): Fix potential overrun problem with "all.reg".
74 (expand_sdiv2_pow2): Add an alternate implementation for signed
75 division, if the target provides a suitable conditional move insn.
76
9d8646d7
PB
772004-08-09 Paul Brook <paul@codesourcery.com>
78 Richard Henderson <rth@redhat.com>
79
80 * unwind-dw2.c (uw_install_context_1): Update target saved stack
81 pointer.
82
d37e6b50
GK
832004-08-09 Geoffrey Keating <geoffk@apple.com>
84
85 * ggc-common.c (ggc_rlimit_bound): Don't check RSS limit.
86 Check DATA limit only if there's no AS limit. Ignore insanely
87 low DATA limits.
88 (ggc_min_heapsize_heuristic): Don't divide AS or RSS limits by 8,
89 but take care that the AS limit isn't overrun.
90 * doc/invoke.texi: Update documentation of min-heapsize parameter.
91
56b043c8
JL
922004-08-09 Jeff Law <law@redhat.com>
93
94 * Makefile.in (OBJC-common): Add tree-ssa-threadupdate.c
95 (tree-ssa-threadupdate.o): Add dependencies.
96 * tree-ssa-threadupdate.c: New file.
97 * tree-flow.h (incoming_edge_threaded): New flag in block annotation.
98 (rewrite_vars_out_of_ssa): Remove prototype.
99 (cleanup_tree_cfg): Returns a bool.
100 * tree.h (thread_through_all_blocks): Prototype.
101 * tree-outof-ssa.c (SSANORM_*): Move into here.
102 (remove_ssa_form): Now static.
103 (rewrite_vars_out_of_ssa): Kill.
104 * tree-ssa-live.c (register_ssa_partitions_for_vars): Kill.
105 * tree-ssa-live.h (SSANORM_*): Moved into tree-outof-ssa.c.
106 (remove_ssa_form, register_partitions_for_vars): Kill declarations.
107 * tree-cfg.c (cleanup_tree_cfg): Return a value indicating if
108 anything was changed.
109 * tree-phinodes.c (add_phi_arg): Get the block for the PHI
110 from the PHI's annotation rather than the edge associated with
111 the new argument.
112 * tree-ssa-dom.c (redirection_edges): Kill.
113 (redirect_edges_and_update_ssa_graph): Kill.
114 (tree_ssa_dominator_optimize): Do not reset forwardable flag
115 for blocks anymore. Do not initialize redirection_edges.
116 Call thread_through_all_blocks. Simplify code for cleanup
117 of the CFG and iterating. No longer call cleanup_tree_cfg
118 outside the iteration loop.
119 (thread_across_edge): No longer mess with forwardable blocks.
120
9b305d55
ZW
1212004-08-09 Zack Weinberg <zack@codesourcery.com>
122
123 * explow.c (memory_address): Use memory_address_p.
124 * recog.c (general_operand): Likewise.
125 * regrename.c: No need to define REG_OK_STRICT.
126
27fb79ad
SB
1272004-08-09 Steven Bosscher <stevenb@suse.de>
128
129 * timevar.def (TV_CPROP1, TV_CPROP2, TV_PRE, TV_HOIST, TV_LSM):
130 New timers.
131 * gcse.c: Include timevar.h.
132 (const_prop_count, copy_prop_count): Rename to global_const_prop_count
133 and global_copy_prop_count.
134 (local_const_prop_count, local_copy_prop_count): New static globals.
135 (gcse_main): Set the right timevar for each pass.
136 (cprop_jump): Increment global_const_prop_count when a constant is
137 propagated. Add "GLOBAL" to dump output.
138 (cprop_insn): Increment global_const_prop_count when a constant is
139 propagated, or global_copy_prop_count when a copy is propagated.
140 (do_local_cprop): Likewise for local_const_prop_count and
141 local_copy_prop_count.
142 (one_cprop_pass): Initialize const/cprop counters to zero.
143 Print out results of local and global const/cprop separately.
144 (bypass_block): Break over-length line.
702d4b73
SB
145 * Makefile.in (gcse.o): Add TIMEVAR_H dependency. Fix dependencies
146 for bb-reorder.o and tracer.o.
27fb79ad 147
7efcb746
PB
1482004-08-09 Paolo Bonzini <bonzini@gnu.org>
149
150 * Makefile.in (GTFILES): Remove stmt.c
151 (stmt.o): Do not depend on gt-stmt.h.
152 * emit-rtl.c (emit_line_note): Do not call
153 set_file_and_line_for_stmt.
154 * expr.c (expand_expr_real_1) <SWITCH_EXPR>: Let expand_case
155 do everything.
156 * function.c (free_after_parsing): Do not free STMT field.
157 (allocate_struct_function): Do not call init_stmt_for_function.
158 (assign_stack_temp_for_type): Do not accept values of keep
159 other than 0 or 1.
160 (init_temp_slots): Do not initialize removed variables.
161 * function.h (struct function): Remove STMT, X_TARGET_TEMP_SLOT_LEVEL
162 and X_VAR_TEMP_SLOT_LEVEL fields.
163 * rtl.h (set_file_and_line_for_stmt): Remove.
164 * stmt.c (struct nesting, ALLOC_NESTING, POPSTACK,
165 struct stmt_status, cond_stack, case_stack, nesting_stack,
166 nesting_depth, emit_locus, set_file_and_line_for_stmt,
167 same_case_target_p, init_stmt_for_function, emit_nop,
168 expand_start_cond, expand_start_elseif, expand_start_else,
169 expand_elseif, expand_end_cond): Remove.
170 (preserve_subexpressions_p): Remove references to CFUN->STMT.
171 (expand_start_case, expand_end_case_type): Remove, merge into...
172 (expand_case): ... this one, including other bits from
173 expand_expr_real_1. Inline same_case_target_p. Turn members
174 of CASE_STACK into local variables.
175 (emit_case_bit_tests): Inline same_case_target_p.
176 (add_case_node): Add HEAD argument, return new head of the list,
177 do not handle default label here.
178 * tree.h (expand_start_cond, expand_end_cond, expand_start_else,
179 expand_start_elseif, current_nesting_level, expand_start_case,
180 expand_end_case_type, expand_end_case, add_case_node,
181 init_stmt_for_function, expand_elseif): Remove prototypes.
182 (expand_case): Add prototype.
183
c4d70ce3
PB
1842004-08-09 Paolo Bonzini <bonzini@gnu.org>
185
186 * expr.c (expand_expr_real_1): Use optab_for_tree_code.
187
1882004-08-09 Paolo Bonzini <bonzini@gnu.org>
e5bacf32
PB
189
190 * expr.c (var_rtx): Remove.
191 (expand_expr_real_1) <LOOP_EXPR, EXIT_EXPR,
192 LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, TRUTH_ANDIF_EXPR,
193 TRUTH_ORIF_EXPR, COMPOUND_EXPR, CONJ_EXPR, INIT_EXPR>:
194 Abort.
195 (expand_expr_real_1) <COND_EXPR>: Remove most special cases.
196 * optabs.c (emit_clr_insn, emit_0_to_1_insn): Remove.
197 * optabs.h (emit_clr_insn, emit_0_to_1_insn): Remove.
198
d72372e4
MH
1992004-08-08 Mostafa Hagog <mustafa@il.ibm.com>
200 Ayal Zaks <zaks@il.ibm.com>
201
202 * common.opt (freschedule-modulo-scheduled-loops): New flag.
203 * final.c (final_scan_insn): Handle NOTE_DISABLE_SCHED_OF_BLOCK.
204 * modulo-sched.c (sms_schedule): Emit a note to disable scheduling
205 when -freschedule-modulo-scheduled-loops flag is not specified.
206 (sms_schedule_by_order, ps_insn_advance_column, add_node_to_ps,
207 add_node_to_ps, ps_has_conflicts, ps_add_node_check_conflicts):
208 More accurate placing of insn in row of partial schedule.
209 (ps_insn_find_column): New function.
210 * rtl.h (NOTE_DISABLE_SCHED_OF_BLOCK): New note.
211 * sched-rgn.c (sched_is_disabled_for_current_region_p): New.
212 (schedule_region): Use sched_is_disabled_for_current_region_p.
213 * docs/invoke.texi: Document -freschedule-modulo-scheduled-loops.
214
0737fbff
L
2152004-08-07 H.J. Lu <hongjiu.lu@intel.com>
216
217 * config/i386/i386.c (ix86_expand_clrmem): Revert the last
218 change.
219
11c4576f
L
2202004-08-07 H.J. Lu <hongjiu.lu@intel.com>
221
222 * config/i386/i386.c (ix86_expand_clrmem): Properly call
223 gen_strset for 64bit target.
224
34def210
OH
2252004-08-07 Olivier Hainque <hainque@act-europe.fr>
226
227 * config/vxworks.h (HANDLE_SYSV_PRAGMA): Remove definition.
228
5201931e
JM
2292004-08-07 Jason Merrill <jason@redhat.com>
230
cc77ae10
JM
231 Make return in memory explicit.
232 * function.c (aggregate_value_p): Check DECL_BY_REFERENCE.
233 (assign_parm_find_data_types): Remove code for old front end
234 invisible reference handling.
235 (assign_parms): Handle DECL_BY_REFERENCE on the RESULT_DECL.
236 (expand_function_end): Likewise.
237 * gimplify.c (gimplify_return_expr): Handle a dereferenced
238 RESULT_DECL.
239 * tree-inline.c (copy_body_r): Don't bother looking for &* anymore.
240 (declare_return_variable): Handle DECL_BY_REFERENCE.
241 * cp/cp-gimplify.c (is_invisiref_parm): Also handle RESULT_DECL.
242 (cp_genericize_r): Use convert_from_reference.
243 Don't dereference a RESULT_DECL directly inside a RETURN_EXPR.
244 (cp_genericize): Handle the RESULT_DECL. Unset TREE_ADDRESSABLE.
245
5201931e
JM
246 * c-common.c (c_warn_unused_result): Check TREE_USED before
247 warning about a CALL_EXPR with an unused value.
248
2ed9e527
MM
2492004-08-06 Mark Mitchell <mark@codesourcery.com>
250
251 * config/arm/symbian.h (CC1_SPEC): Avoid passing duplicate options
252 to the compiler. Use -fshort-wchar by default.
253
12183e0f
PH
2542004-08-06 Pat Haugen <pthaugen@us.ibm.com>
255
256 * params.def (PARAM_MIN_CROSSJUMP_INSNS): New.
257 * cfgcleanup.c (try_crossjump_to_edge): Add minimum insn match
258 threshhold.
259 * doc/invoke.texi (param): Document min-crossjump-insns.
260
eaac4679
RS
2612004-08-06 Richard Sandiford <rsandifo@redhat.com>
262
263 PR c/13282
264 * c.opt (Wmissing-field-initializers): New option.
265 * c-opts.c (c_common_post_options): Make -Wextra turn it on by default.
266 * c-typeck.c (pop_init_level): Guard the missing field warning with
267 warn_missing_field_initializers rather than extra_warnings.
268 * doc/invoke.texi (-Wmissing-field-initializers): Document, moving
269 some of the explanation from...
270 (-Wextra): ...here. Say that the missing field warning can be
271 seperately controlled by -Wmissing-field-initializers.
272
caad9f81
PB
2732004-08-06 Paolo Bonzini <bonzini@gnu.org>
274
275 * expr.c (expand_expr_real_1) <ENTRY_VALUE_EXPR>: Remove.
276 * tree-inline.c (estimate_num_insns_1) <ENTRY_VALUE_EXPR>: Remove.
277 * tree-pretty-print.c (dump_generic_node) <ENTRY_VALUE_EXPR>: Remove.
278 * tree.def (ENTRY_VALUE_EXPR): Remove.
279
6b32b628
JJ
2802004-08-06 Jakub Jelinek <jakub@redhat.com>
281
282 * config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to
283 the places where it is actually needed. Don't use repz; stosb
284 for -Os with sufficiently small constant sizes.
285 For sufficiently small repz; stos{l,q} repeat counts use a sequence
286 of stos{l,q} instructions instead.
287
6797f908
ZD
2882004-08-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
289
290 PR tree-optimization/16807
291 * loop-iv.c (dump_iv_info): Dump invariants correctly.
292 (iv_subreg, iv_extend): Express value of invariant purely in
293 base field.
294
866cf037
MM
2952004-08-06 Mark Mitchell <mark@codesourcery.com>
296
297 * config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums.
298 (CC1PLUS_SPEC): Define it to be the same as CC1_SPEC.
299
9652c531 3002004-08-06 Roman Zippel <zippel@linux-m68k.org>
9b305d55 301
27fb79ad
SB
302 * config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New.
303 * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand,
304 pre_dec_operand.
305 * config/m68k/m68k.md (zero_extend*2): delay the splitting of the
306 pattern until reload is finished to allow better code generation
307 and split them completely into separate instrunctions.
308 (*andsi3_split): New pattern.
9652c531 309
b2ca3702
MM
3102004-08-05 Mark Mitchell <mark@codesourcery.com>
311
312 * tree.c (handle_dll_attribute): Move here from i383/winnt.c.
313 Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P. Set
314 DECL_VISIBLITY. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
315 * tree.h (handle_dll_attribute): Declare. Test
316 TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
317 * c-common.h (c_determine_visibility): Declare.
318 * c-common.c (c_determine_visibility): New function.
319 * c-decl.c (finish_decl): Use it.
320 (finish_function): Likewise.
321 * defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to
322 zero, by default. Use #if, not #ifdef, to test it.
323 * config/arm/arm.c (arm_attribute_table): Use
324 handle_dll_attribute. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with
325 #if.
326 * config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1.
327 * config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
328 to 1.
329 * config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove.
330 * config/i386/i386.c (ix86_attribute_table): Use
331 handle_dll_attribute for dllimport/dllexport. Test
332 TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
333 * config/i386/winnt.c (ix86_handle_dll_attribute): Remove.
334 * config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
335 it to 1.
336 * config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it
337 with #if.
338 * config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
339 it to 1.
340 * doc/extend.texi (dllexport): Clarify and correct documentation.
341 (dllimport): Likewise.
342 * doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention
343 handle_dll_attribute.
9b305d55 344
c913f08a
ZD
3452004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
346
347 * tree-ssa-loop-manip.c: New file.
348 * Makefile.in (tree-ssa-loop-manip.o): Add.
349 * tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa):
350 Declare.
351 * tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa
352 form.
353 (tree_ssa_loop_done): Verify loop closed ssa form.
354 * tree-ssa-loop-im.c (move_computations): Update loop closed ssa form.
355
d4482715
JDA
3562004-08-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
357
358 * pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common,
359 pa_asm_output_aligned_local): New functions.
360 * pa-protos.h: Add prototypes for pa_asm_output_aligned_bss,
361 pa_asm_output_aligned_common and pa_asm_output_aligned_local.
362 * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use
363 pa_asm_output_aligned_common.
364 (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
365 * pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro.
366 (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common.
367 (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
368 * pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro.
369 (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common.
370 (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
371 * som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global
372 common data.
373
21149a79
AP
3742004-08-05 Andrew Pinski <apinski@apple.com>
375
376 * objc/objc-act.c (build_objc_string_object): Mark the address
377 expression as constant.
378
d5861a7a
DE
3792004-08-05 David Edelsohn <edelsohn@gnu.org>
380
381 * config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand
382 and mask64_operand thinkos. Handle ZERO_EXTRACT. Handle
383 SIGN_EXTEND / ZERO_EXTEND of MEM. Handle rlwinm patterns.
384
0a2b72a6
JM
3852004-08-05 Joseph S. Myers <jsm@polyomino.org.uk>
386
387 * config/linux.h, config/i386/linux.h, config/sparc/linux.h:
388 Remove definitions conditioned on USE_GNULIBC_1 or conditioned
389 out, and associated obsolete comments.
390
ca7a3bd7
NS
3912004-08-05 Nathan Sidwell <nathan@codesourcery.com>
392
393 * tree.h (force_fit_type): Return a tree, take three flags.
394 * fold-const.c (force_fit_type): Set TREE_OVERFLOW and
395 TREE_CONSTANT_OVERFLOW here.
396 (int_const_binop, const_binop): Adjust.
397 (size_int_type): Do sign extension here.
398 (fold_convert_const, optimize_bit_field_compare,
399 decode_field_reference, all_ones_mask_p, fold_div_compare, fold,
400 fold_negate_const, fold_abs_const, fold_not_const): Adjust.
401 * tree.c (size_in_bytes, int_fits_type_p): Adjust.
402
d36837f4
ZD
4032004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
404
405 PR tree-optimization/16864
406 * tree-tailcall.c (eliminate_tail_call): Do not create phi nodes
407 for ssa names without default_def.
408
ea5f7a19
RS
4092004-08-05 Richard Sandiford <rsandifo@redhat.com>
410
411 * config/i386/i386.c (ix86_expand_prologue): If the function uses a
412 frame pointer, restore eax with an ebp-relative address.
413
0e6df31e
GK
4142004-08-04 Geoffrey Keating <geoffk@apple.com>
415
416 PR 14516
417 * c-common.c (c_expand_decl): Don't special-case static VAR_DECLs.
418 * c-common.h (make_rtl_for_local_static): Delete.
419 * c-decl.c (shadow_tag_warned): Clean up comment.
420 (finish_decl): Clean up spacing. Use set_user_assembler_name when
421 appropriate. Don't pass asmspec to rest_of_decl_compilation.
422 * c-semantics.c (make_rtl_for_local_static): Delete.
423 * expr.c (init_block_move_fn): Use set_user_assembler_name.
424 (init_block_clear_fn): Likewise.
425 * passes.c (rest_of_decl_compilation): Remove asmspec parameter,
426 expect it to be in DECL_ASSEMBLER_NAME. Update callers in many files.
427 * toplev.h (rest_of_decl_compilation): Remove asmspec parameter.
428 * tree.h (make_decl_rtl): Remove second parameter.
429 (set_user_assembler_name): New.
430 * varasm.c (set_user_assembler_name): New.
431 (make_decl_rtl): Remove second parameter. Update callers in many
432 files.
433
4f587cb0
AN
4342004-08-05 Adam Nemet <anemet@lnxw.com>
435
436 * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
437 (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update
438 to LynxOS 4.0.
439 * gthr-lynx.h: New file.
440 * config/lynx-ng.h: Remove file.
441 * config/lynx.h: Update to LynxOS 4.0.
442 * config/t-lynx: New file.
443 * config/i386/lynx-ng.h: Remove file.
444 * config/i386/lynx.h: Update to LynxOS 4.0.
445 * config/rs6000/lynxbase.h: Remove file.
446 * config/rs6000/lynx.h: Update to LynxOS 4.0.
447 * config/rs6000/t-lynx: New file.
448 * doc/install.texi (Options specification): Remove reference to
449 LynxOS from systems where --with-gnu-as makes a difference.
450
85291069
JM
4512004-08-05 Joseph S. Myers <jsm@polyomino.org.uk>
452
453 * c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and
454 __UINTMAX_TYPE__.
455 * c-cppbuiltin.c (builtin_define_stdint_macros): New. Define
456 __INTMAX_MAX__.
457 (c_cpp_builtins): Call it.
458 * doc/cpp.texi: Update.
459
30a555d9
DE
4602004-08-04 David Edelsohn <edelsohn@gnu.org>
461
462 * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
463 cost.
464
878f99d2
JH
4652004-08-04 Jan Hubicka <jh@suse.cz>
466
467 * basic-block.h (profile_staus): New global variable.
468 * cfg.c (profile_status): Declare.
469 (check_bb_profile): Break out from ....; use profile_status
470 (dump_flow_info): ... here.
471 * cfgbuild.c (find_basic_blocks): Set profile_status.
472 * cfgexpand.c (tree_expand_cfg): Likewise.
473 * predict.c (estimate_probability): Likewise.
474 * profile.c (branch_prob): Likewise.
475 * tree-cfg.c (build_tree_cfg): Likewise.
476 (dump_function_to_file): Use check_bb_profile.
477 * tree-pretty-print (dump_bb_header): Likewise.
478 * tree-profile.c (do_tree_profiling): Cleanup.
479
7e7ec48e
ZW
4802004-08-04 Zack Weinberg <zack@codesourcery.com>
481
482 * Makefile.in (RTL_BASE_H, RTL_H): Correct.
483 (BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o.
484 (genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o.
485 (read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o)
486 (genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o)
487 (genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o)
488 (genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H).
489 (ggc-none.o, errors.o): Move rule to generators section;
490 correct dependencies.
491 (min-insn-modes.o): Move rule to generators section; remove
492 unnecessary explicit command; correct dependencies.
493 (print-rtl.o, print-rtl1.o): Correct dependencies.
494 ($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule.
495 (mostlyclean): Update.
496
497 * errors.c: Include bconfig.h not config.h. Correct comment.
498 * gengtype.c, genpreds.c: Don't define NO_GENRTL_H.
499 * ggc-none.c: Include bconfig.h; not config.h or tm.h.
500 * print-rtl.c: Don't include tm_p.h.
501
502 * rtl.h: Move forward-decl of struct function down where it's
503 needed. Include genrtl.h #ifndef GENERATOR_FILE, not
504 #ifndef NO_GENRTL_H. Remove unnecessary #ifdef BUFSIZ statements.
505
b0382c67
ZD
5062004-08-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
507 Jeff Law <law@redhat.com>
508
509 * tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
510 * tree-flow.h (rewrite_ssa_into_ssa): Declaration changed.
511 * tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to
512 manipulate the duplicated ssa names.
513 * tree-ssanames.c (ssa_names_to_rewrite): New variable.
514 (marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite,
515 unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force):
516 New functions.
517 (release_ssa_name): Do not release ssa names that may have multiple
518 definitions.
519 * tree.h (release_ssa_name_force, mark_for_rewrite,
520 unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p,
521 marked_ssa_names): Declare.
522 * tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove.
523 (duplicate_blocks): Remove call to mark_defs_for_rewrite.
524 Update call to rewrite_ssa_into_ssa.
525
63c5b495
MM
5262004-08-04 Mark Mitchell <mark@codesourcery.com>
527
528 * defaults.h (TARGET_DECLSPEC): New macro.
529 * c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC.
530 * config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support.
b2ca3702 531 * config/arm/symbian.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
63c5b495
MM
532 * config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove
533 __declspec support.
534 (TARGET_DECLSPEC): Define.
535 * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove
536 __declspec support.
537 * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove
538 __declspec support.
539 (TARGET_DECLSPEC): Define.
540 * config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove
541 __declspec support.
542 * config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec
543 support.
544 * doc/tm.texi (TARGET_DECLSPEC): Document.
545
546 * doc/extend.texi: Fix typo in comment.
547
44d10c10
PB
5482004-08-04 Paul Brook <paul@codesourcery.com>
549
550 * target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.
551 (TARGET_CXX): Use it.
552 * target.h (struct gcc_target): Add cdtor_returns_this.
553 * config/arm/arm.c (arm_cxx_cdtor_returns_this): New function.
554 (TARGET_CXX_CDTOR_RETURNS_THIS): Define.
555 * doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS.
556
5e9754af
NS
5572004-08-03 Nathan Sidwell <nathan@codesourcery.com>
558
559 * c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take
560 low/high pair. Do range checking directly.
561 (interpret_integer): Adjust.
562
2acc29bd
NC
5632004-08-04 Nick Clifton <nickc@redhat.com>
564
565 * config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the
566 GCC ABI.
567 * doc/invoke.texi: Document this new switch and also the -mrenesas
568 switch.
569
2496942a
NS
5702004-08-04 Nathan Sidwell <nathan@codesourcery.com>
571
572 * cfglayout.c (insn_locators_initialize): Update the current
573 location before initializing a location.
574
7e2e8179
ZW
5752004-08-03 Zack Weinberg <zack@codesourcery.com>
576
403f8503
ZW
577 * dbxout.c (dbxout_function_decl): Always call dbxout_function_end.
578 (dbxout_function_end): Return after emitting the "Lscope" symbol
579 under the same conditions that this function formerly wasn't called.
580 Add explanatory comments.
581
bcc7f708 582 PR 14860
ca043393
ZW
583 * c-decl.c (record_builtin_type): Call debug_hooks->type_decl
584 on the new decl.
585
bcc7f708 586 PR 13956
7e2e8179
ZW
587 * dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New
588 functions, broken out of dbxout_block.
589 (dbxout_block): The block at depth 0 should get LBRAC/RBRAC
590 stabs too, if it contains symbols. Use the begin_label and
591 the Lscope label (emitted by dbxout_function_end) for the
592 range of this block.
593
5d75ba94
NN
5942004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
595
596 * doc/install.texi: Update autoconf version requirements.
597
2e4e72b1
ZW
5982004-08-03 Zack Weinberg <zack@codesourcery.com>
599
600 * defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
601 * recog.c (general_operand, immediate_operand, nonmemory_operand)
602 (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P.
603 * regclass.c (record_reg_classes): Likewise.
604 * reload.c (find_reloads): Likewise.
605 * reload1.c (reload): Likewise.
606
f9942f4e
ZW
6072004-08-03 Zack Weinberg <zack@codesourcery.com>
608
609 * gensupport.c (init_md_reader_args_cb): Renamed from
610 init_md_reader_args. Add third option, callback function for
611 parsing program-specific options. Add diagnosis of incorrect
612 number of input files.
613 (init_md_reader): Fold into init_md_reader_args_cb.
614 (init_md_reader_args): Now a thin wrapper around
615 init_md_reader_args_cb.
616 * gensupport.h: Update prototypes.
617
618 * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
619 * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
620 * genrecog.c: No need to diagnose lack of an input file;
621 init_md_reader_args will handle it.
622 * genconditions.c: Likewise, and use init_md_reader_args.
623 * genconstants.c: Likewise, and no need to call read_md_rtx.
624
9cbe78fb
JM
6252004-08-03 Joseph S. Myers <jsm@polyomino.org.uk>
626
627 * c-decl.c (implicitly_declare): Diagnose incompatible implicit
628 declarations.
629
3e558e80
MS
6302004-08-03 Mike Stump <mrs@apple.com>
631
632 * config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
633 for frameworks.
634 * doc/invoke.texi (Darwin Options): Update to reflect above.
635
a0fac73d
RS
6362004-08-03 Roger Sayle <roger@eyesopen.com>
637
638 PR middle-end/16790
639 * fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local
640 truncations, not just global truncations.
641
cddbddb7
AP
6422004-08-03 Andrew Pinski <apinski@apple.com>
643
644 PR bootstrap/16865
645 * loop-iv.c (simplify_using_assignment): Initialize lhs.
646
bebf829d
PB
6472004-08-03 Paul Brook <paul@codesourcery.com>
648
649 * gcc/doc/install.texi: Document MPFR requirement.
650
cddbddb7 6512004-08-03 Maciej W. Rozycki <macro@linux-mips.org>
3b0727a0 652
f9942f4e
ZW
653 * aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
654 and mmap() explicitly instead of relying on preset autoconf cache
3b0727a0
MR
655 variables.
656 * configure: Regenerate.
657
f6bc51cb
L
6582004-08-03 H.J. Lu <hongjiu.lu@intel.com>
659
660 PR target/16570
661 * config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc
662 to tmake_file.
663 (i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise.
664 (i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc
665 to tmake_file.
666
667 * config/i386/t-gmm_malloc: New file.
668 * config/i386/t-pmm_malloc: Likewise.
f9942f4e 669
f6bc51cb
L
670 * config/i386/xmmintrin.h: Include <mm_malloc.h>.
671
6722004-08-03 H.J. Lu <hongjiu.lu@intel.com>
d5861a7a 673