243d0eb2bb2c2176c41b42bc2c662ba28e9f3ed5
[gcc.git] / gcc / ChangeLog
1 2005-01-08 Eric Botcazou <ebotcazou@libertysurf.fr>
2
3 * configure.ac (DWARF-2 debug_line): Use objdump.
4 * configure: Regenerate.
5
6 2005-01-08 Jeff Law <law@redhat.com>
7 Diego Novillo <dnovillo@redhat.com>
8
9 PR tree-optimization/18241
10 * tree-nrv.c (tree_nrv): Ignore volatile return values.
11 * tree-ssa-dse.c (dse_optimize_stmt): Do not optimize
12 statements with volatile operands.
13 * tree-ssa-operands.c (add_stmt_operand): Do add volatile
14 operands after marking a statement with has_volatile_ops.
15
16 2005-01-08 Roger Sayle <roger@eyesopen.com>
17
18 * tree.c (int_fits_type_p): Always honor integer constant
19 TYPE_MIN_VALUE and TYPE_MAX_VALUE if they exist.
20
21 2005-01-08 Roger Sayle <roger@eyesopen.com>
22
23 * ifcvt.c (find_if_case_1): Reinstate 2005-01-04 change, now that
24 the latent bug in rtl_delete_block has been resolved.
25
26 2005-01-08 Richard Sandiford <rsandifo@redhat.com>
27
28 * config/mips/t-iris6 (MULTILIB_DIRNAMES): Use -mabi argument values.
29 (MULTILIB_OSDIRNAMES): Use the standard lib, lib32 and lib64.
30
31 2005-01-08 Richard Sandiford <rsandifo@redhat.com>
32
33 * config/mips/t-slibgcc-irix (SHLIB_LINK): Install a copy of the
34 library as @multilib_dir@/$(SHLIB_SONAME).
35
36 2005-01-07 Eric Botcazou <ebotcazou@libertysurf.fr>
37
38 * configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo.
39 * configure: Regenerate.
40
41 2005-01-07 Jakub Jelinek <jakub@redhat.com>
42
43 * c-common.c (handle_mode_attribute): For ENUMERAL_TYPE, also copy
44 TYPE_MODE.
45
46 2005-01-07 David Edelsohn <edelsohn@gnu.org>
47
48 PR target/13674
49 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
50 Convert non-word aligned offset address using ld/std into
51 indirect address.
52
53 2005-01-07 Richard Henderson <rth@redhat.com>
54
55 * config/i386/i386.md (sse_loadhps splitter): Fix operand number typo.
56
57 2005-01-07 Richard SAndiford <rsandifo@redhat.com>
58
59 * tree.h (IS_EXPR_CODE_CLASS): Use a straight-forward range check.
60
61 2005-01-07 Jakub Jelinek <jakub@redhat.com>
62
63 PR tree-optimization/19283
64 * fold-const.c (fold_widened_comparison): Return NULL if shorter_type
65 is not shorter than the original type.
66
67 PR rtl-optimization/19012
68 * config/i386/i386.md (addqi_1_slp): Set memory attribute.
69
70 PR rtl-optimization/18861
71 * cfgbuild.c (BLOCK_USED_BY_TABLEJUMP): Define.
72 (FULL_STATE): Define.
73 (mark_tablejump_edge): New function.
74 (purge_dead_tablejump_edges): New function.
75 (find_bb_boundaries): Use it.
76
77 PR tree-optimization/18828
78 * builtins.c (expand_builtin_next_arg): Remove argument and all
79 the argument checking.
80 (expand_builtin): Adjust caller.
81 (expand_builtin_va_start): Likewise. Remove error for too many
82 arguments.
83 (fold_builtin_next_arg): Issue error for too many arguments.
84 After checking arguments, replace them with magic arguments that
85 prevent further checking of the args.
86
87 2005-01-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
88
89 * pa64-hpux.h (STARTFILE_SPEC): Fix typo in spec.
90
91 2005-01-06 Roger Sayle <roger@eyesopen.com>
92
93 PR target/6077
94 * gcc.c (input_suffix_matches): Tweak the semantics of %{.s:...}
95 and %{.S:...} (and their negative variants) to test whether the
96 input file is assembler or pre-processed-assembler independent of
97 the actual filename extension.
98
99 2005-01-06 Roger Sayle <roger@eyesopen.com>
100
101 * simplify-rtx.c (simplify_subreg): Simplify truncations of shifts
102 of sign or zero extended values.
103
104 2005-01-06 Geoffrey Keating <geoffk@apple.com>
105
106 * c-cppbuiltin.c (builtin_define_float_constants): Set __*_EPSILON__
107 for IBM long double format correctly.
108
109 2005-01-06 Daniel Berlin <dberlin@dberlin.org>
110
111 Fix PR tree-optimization/18792
112
113 * tree-data-ref.c (build_classic_dist_vector): Change first_loop
114 to first_loop_depth, and use loop depth instead of loop number.
115 (build_classic_dir_vector): Ditto.
116 (compute_data_dependences_for_loop): Use depth, not loop number.
117 * tree-loop-linear.c (try_interchange_loops): Use loop depth, not loop
118 number. Pass in loops, instead of loop numbers.
119 (gather_interchange_stats): Ditto.
120 (linear_transform_loops): Ditto.
121
122 2005-01-06 Richard Sandiford <rsandifo@redhat.com>
123
124 PR rtl-opt/13299
125 * loop.c (get_monotonic_increment, biased_biv_fits_mode_p,
126 biv_fits_mode_p, extension_within_bounds_p): New functions.
127 (check_ext_dependent_givs): Use them.
128
129 2005-01-06 Roger Sayle <roger@eyesopen.com>
130
131 * cfgrtl.c (rtl_delete_block): A basic block may be followed by
132 more than one barrier, in which case we should delete them all.
133
134 2005-01-06 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
135
136 * gcc.c (process_command): Change year in 'gcc --version' to 2005.
137
138 2005-01-05 Daniel Berlin <dberlin@dberlin.org>
139
140 Fix PR middle-end/19286
141 Fix PR debug/19267
142 * dwarf2out.c (gen_subprogram_die): If we've already tried to
143 output this subprogram, simply ignore this attempt to do it again.
144 (add_abstract_origin_attribute): Don't abort trying to add the abstract
145 origin attribute if it's not possible.
146 (gen_block_die): Don't ignore subblocks of "unused" blocks.
147 (decls_for_scope): Ditto.
148 * gimple-low.c (mark_blocks_with_used_subblocks): Remove.
149 (mark_used_blocks): Don't call mark_blocks_with_used_subblocks.
150
151 2005-01-05 Richard Henderson <rth@redhat.com>
152
153 PR target/11327
154 * config/i386/i386.c (BUILTIN_DESC_SWAP_OPERANDS): New.
155 (bdesc_2arg): Use it.
156 (ix86_expand_binop_builtin): Force operands into registers
157 when optimizing.
158 (ix86_expand_unop_builtin, ix86_expand_unop1_builtin,
159 ix86_expand_sse_compare, ix86_expand_sse_comi,
160 ix86_expand_builtin): Likewise.
161
162 2005-01-05 Richard Henderson <rth@redhat.com>
163
164 * config/ia64/ia64.c (rtx_needs_barrier): Handle CONST_VECTOR
165 and VEC_SELECT.
166 * config/ia64/vect.md (mulv8qi3): Re-implement with mix_[rl].
167 (mulv4hi3): Set itanium_class mmmul.
168 (fpack_sfxf, fpack_xfsf, fpack_xfxf): Remove.
169 (fpack): Rename from fpack_sfsf.
170
171 2005-01-05 Richard Henderson <rth@redhat.com>
172
173 PR rtl-opt/10692
174 * reload1.c (do_input_reload): Restrict the optimization deleteing
175 a previous output reload to RELOAD_FOR_INPUT.
176
177 2005-01-05 Steven Bosscher <stevenb@suse.de>
178
179 * combine.c (expand_compound_operation) <ZERO_EXTRACT>: Add
180 comment that we fall through after case.
181 (mark_used_regs_combine): Don't expect a SIGN_EXTRACT in a SET_DEST.
182 (distribute_links): Likewise.
183 * cse.c (cse_insn): Likewise.
184 * cselib.c (cselib_invalidate_mem): Likewise.
185 * df.c: Update comments at the top of the file.
186 (read_modify_subreg_p): Update comments here too.
187 (df_def_record_1): Don't expect a SIGN_EXTRACT in a SET_DEST.
188 * flow.c (mark_set_1): Likewise.
189 (mark_used_regs): Likewise.
190 * gcse.c (mems_conflict_for_gcse_p): Likewise.
191 (canon_list_insert): Likewise.
192 (mark_set): Likewise.
193 (try_replace_reg): Likewise.
194 (store_killed_in_insn): Likewise.
195 * loop.c (count_one_set): Likewise.
196 (basic_induction_var): Likewise.
197 * postreload-gcse.c (find_mem_conflicts): Likewise.
198 * postreload.c (reload_combine_note_store): Likewise.
199 (move2add_note_store): Likewise.
200 * reload.c (find_equiv_reg): Likewise.
201 (mark_referenced_resources): Likewise.
202 * rtlanal.c (set_noop_p): Likewise.
203 (note_stores): Likewise.
204 (note_uses): Likewise.
205 * sched-deps.c (sched_analyze_1): Likewise.
206 * sched-rgn.c (check_live_1): Likewise.
207 (update_live_1): Likewise.
208 * config/i860/i860.c: Likewise.
209
210 * rtl.dec (SIGN_EXTRACT): Document that this cannot appear as
211 an lvalue.
212 (ZERO_EXTRACT): Mention that this one can be an lvalue.
213
214 * doc/rtl.texi: Update documentation for bit-fields and SET.
215
216 2005-01-05 Roger Sayle <roger@eyesopen.com>
217
218 * ifcvt.c (find_if_case_1): Revert 2005-01-04 change.
219
220 2005-01-05 Jan Hubicka <jh@suse.cz>
221 Richard Henderson <rth@redhat.com>
222
223 PR target/18910
224 * config/i386/i386.c (ix86_expand_move): Handle tls symbols
225 with an offset.
226
227 2005-01-05 Richard Henderson <rth@redhat.com>
228
229 PR target/12902
230 * config/i386/i386.md (sse_movhps, sse_movlps): Remove.
231 (sse_shufps): Change operand 3 to const_int_operand.
232 (sse2_storelps): Fix typo in template.
233 (sse_storehps, sse_loadhps, sse_storelps, sse_loadlps): New.
234 * config/i386/i386.c (ix86_expand_vector_move_misalign): Use them.
235 (ix86_expand_builtin): Likewise.
236
237 2005-01-05 Julian Brown <julian@codesourcery.com>
238
239 * config/arm/arm.c (arm_return_in_memory): Treat complex types
240 as aggregates for AAPCS ABIs.
241
242 2005-01-05 Stan Shebs <shebs@apple.com>
243
244 * unwind-dw2-fde-darwin.c (examine_objects): Use 64-bit
245 Mach-O getters if ppc64.
246 * config/darwin.c (darwin_asm_output_dwarf_delta): Obey
247 size argument.
248 * config/darwin.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
249 signed four-byte field for global code case.
250 (STARTFILE_SPEC): Avoid crt2.o for 64-bit compilation.
251
252 2005-01-05 Roger Sayle <roger@eyesopen.com>
253
254 PR middle-end/19100
255 * c-common.c: Include real.h.
256 (c_common_truthvalue_conversion): Avoid destructively modifying expr.
257 Correctly handle TREE_CONSTANT_OVERFLOW for INTEGER_CST.
258 Correctly handle TREE_CONSTANT_OVERFLOW and NaNs for REAL_CST.
259 * Makefile.in (c-common.o): Update dependencies.
260
261 2005-01-05 Joseph S. Myers <joseph@codesourcery.com>
262
263 * c-parse.in (asm_string): Add trailing semicolon.
264
265 2005-01-05 Joseph S. Myers <joseph@codesourcery.com>
266
267 * c-parse.in (asm_string): New. Don't allow wide strings in
268 'asm'.
269 (simple_asm_expr, asm_argument, asm_operand, asm_clobbers): Use
270 asm_string instead of STRING.
271
272 2005-01-05 Joseph S. Myers <joseph@codesourcery.com>
273
274 * c-typeck.c (constructor_no_implicit): Remove.
275 (set_designator, process_init_element): Don't check
276 constructor_no_implicit.
277
278 2005-01-05 J"orn Rennecke <joern.rennecke@st.com>
279 Kaz Kojima <kkojima@gcc.gnu.org>
280
281 PR target/16482
282 * lcm.c (create_pre_exit): New.
283 (optimize_mode_switching): In MODE_ENTRY / MODE_EXIT case, set
284 ENTRY_EXIT_EXTRA to 3. Use create_pre_exit.
285
286 2004-01-05 Richard Earnshaw <rearnsha@arm.com>
287
288 * arm.h (TARGET_OPTIONS): Correctly record -mhard-float and
289 -msoft-float in target_float_switch.
290 * arm.c (arm_override_options): Fix processing of target_float_switch.
291
292 2004-01-05 Richard Earnshaw <rearnsha@arm.com>
293
294 * arm/vfp.md (arm_movsi_vfp): Hide VFP register classes from register
295 preferencing.
296
297 2004-01-05 Uros Bizjak <uros@kss-loka.si>
298
299 * doc/invoke.texi (Intel 386 and AMD x86-64 Options):
300 Replace i387 with 'i386 compiler' in -mfpmath=sse option.
301
302 2005-01-04 Roger Sayle <roger@eyesopen.com>
303
304 * ifcvt.c (find_if_case_1): Avoid creating an empty forwarder block,
305 if deleting the then-block allows the test-block to fallthru to the
306 else-block.
307
308 2005-01-04 Andrew Pinski <pinskia@physics.uc.edu>
309
310 PR c/19152
311 * c-decl.c (diagnose_mismatched_decls): Accept "extern inline" declared
312 after the full declaration if the are in two different TUs.
313
314 2005-01-04 Richard Henderson <rth@redhat.com>
315
316 PR tree-opt/19158
317 * tree-sra.c (generate_one_element_init): Just
318 call gimplify_and_add.
319 (generate_element_init): Record the
320 new referenced variables and mark them for renaming
321 and split out to ...
322 (generate_element_init_1): This.
323 (scalarize_init): Don't call push_gimplify_context/
324 pop_gimplify_context.
325
326 2005-01-04 Geoffrey Keating <geoffk@apple.com>
327
328 * toplev.c (get_src_pwd): Handle failure of getpwd().
329
330 2005-01-04 Roger Sayle <roger@eyesopen.com>
331
332 * fold-const.c (fold_single_bit_test): Delete unreachable handling
333 of TRUTH_NOT_EXPR.
334 (fold): Don't call fold_single_bit_test with a TRUTH_NOT_EXPR, as
335 all the cases handled by it are inverted by invert_truthvalue.
336
337 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
338
339 * config/sparc/sparc.md (save_register_windowdi): Add missing mode.
340 (save_register_windowsi): Likewise.
341
342 2005-01-04 Richard Henderson <rth@redhat.com>
343
344 * tree-mudflap.c (mf_varname_tree): Fix thinko setting declname.
345
346 2005-01-04 Uros Bizjak <uros@kss-loka.si>
347
348 PR middle-end/17767
349 * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
350 any simplifications of vector mode comparison operators.
351 * simplify-rtx.c (simplify_relational_operation): Fix variable name.
352
353 2005-01-04 Paolo Bonzini <bonzini@gnu.org>
354 Devang Patel <dpatel@apple.com>
355
356 PR tree-optimization/18308
357 * tree-if-conv.c (add_to_dst_predicate_list): Gimplify
358 the operands before creating a new expression.
359 * dojump.c (do_jump): Make drop_through_label available
360 for all cases. Add expansion of COND_EXPR.
361
362 2005-01-04 Ira Rosen <irar@il.ibm.com>
363
364 * tree-vectorizer.c (vect_analyze_offset_expr): Test for
365 INTEGER_CST instead of TREE_CONSTANT.
366 (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST
367 instead of TREE_CONSTANT.
368 (vect_analyze_pointer_ref_access): Test for INTEGER_CST
369 instead of TREE_CONSTANT.
370
371 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
372
373 * tree-eh.c (replace_goto_queue): Return early if the queue is empty.
374
375 2005-01-04 Uros Bizjak <uros@kss-loka.si>
376
377 PR target/19240
378 * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH.
379 (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH).
380
381 2005-01-03 Richard Henderson <rth@redhat.com>
382
383 * fold-const.c (force_fit_type): Cope with types larger than 2 HWI.
384 (fold_convert_const_int_from_int, fold_convert_const_int_from_real,
385 fold_convert_const_real_from_real): Split out from ...
386 (fold_convert_const): ... here.
387
388 2005-01-03 Richard Henderson <rth@redhat.com>
389
390 PR target/19235
391 * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives.
392 (mov<MMXMODEI>_internal): Likewise.
393 (movdf_nointeger): Prefer Y while not preferring, but allowing, x.
394 Add V2SF case; use it for SSE1; don't use TI.
395 (movdf_integer): Likewise.
396 (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1.
397
398 2005-01-03 Ira Rosen <irar@il.ibm.com>
399
400 * tree-vectorizer.c (vect_strip_conversions): New function.
401 (vect_analyze_offset_expr): Call vect_strip_conversions. Add
402 check for binary class.
403
404 2005-01-03 Daniel Berlin <dberlin@dberlin.org>
405
406 Fix PR debug/17924
407 Fix PR debug/19191
408 * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin
409 is a decl.
410 * gimple-low.c (mark_blocks_with_used_vars): New function.
411 (mark_blocks_with_used_subblocks): Ditto.
412 (mark_used_blocks): Ditto.
413 (pass_mark_used_blocks): New pass.
414 * tree-inline.c: Include debug.h.
415 (expand_call_inline): Call outlining_inline_function here.
416 * tree-optimize.c (init_tree_optimization_passes): Add
417 pass_mark_used_blocks.
418 * tree-pass.h (pass_mark_used_blocks): New.
419 * Makefile.in (tree-inline.o): Add debug.h dependency.
420
421 2005-01-03 Geoffrey Keating <geoffk@apple.com>
422
423 * config/darwin.c (darwin_handle_weak_import_attribute): Permit
424 VAR_DECLs to have weak_import attribute.
425
426 * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than
427 'struct ucontext'.
428
429 2004-01-03 Steven Bosscher <stevenb@suse.de>
430
431 * passes.c (rest_of_compilation): Don't run regmove if only
432 flag_expensive_optimizations, require flag_regmove instead.
433
434 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
435
436 * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not
437 register "sparc".
438 * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise.
439 * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
440 * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete.
441 * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
442
443 2005-01-03 Richard Henderson <rth@redhat.com>
444
445 * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New.
446 (ia64_const_ok_for_letter_p): New.
447 (ia64_const_double_ok_for_letter_p): New.
448 (ia64_extra_constraint): New.
449 (ia64_expand_vecint_compare): New.
450 (ia64_expand_vcondu_v2si): New.
451 (ia64_expand_vecint_cmov): New.
452 (ia64_expand_vecint_minmax): New.
453 (ia64_print_operand): Add 'v'.
454 (ia64_preferred_reload_class): New.
455 (ia64_vector_mode_supported_p): New.
456 * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New.
457 (PREFERRED_RELOAD_CLASS): Move to function.
458 (CONST_OK_FOR_LETTER_P): Move to function.
459 (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function.
460 (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove.
461 (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove.
462 (EXTRA_CONSTRAINT): Move to function.
463 * config/ia64/ia64.md: Include vect.md.
464 (itanium_class): Add mmalua.
465 (type): Handle it.
466 * config/ia64/itanium1.md (1_mmalua): New. Add it to bypasses.
467 (1b_mmalua): New.
468 * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly.
469 * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any
470 CONST0_RTX.
471 (const_int_2bit_operand): New.
472 (fr_reg_or_0_operand): New.
473 * config/ia64/ia64-modes.def: Add vector modes.
474 * config/ia64/ia64-protos.h: Update.
475 * config/ia64/vect.md: New file.
476
477 2005-01-03 Richard Henderson <rth@redhat.com>
478
479 * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT.
480
481 2005-01-03 Uros Bizjak <uros@kss-loka.si>
482
483 PR target/19236
484 * config/i386/i386.c (log1psf2): Change mode of operands[0,1]
485 to SFmode.
486 (log1pdf2): Change mode of operands[0,1] to DFmode.
487
488 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
489
490 * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false.
491 * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true.
492 * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise.
493 * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to
494 SPARC_RELAXED_ORDERING.
495
496 2005-01-03 Richard Henderson <rth@redhat.com>
497 Uros Bizjak <uros@kss-loka.si>
498
499 PR target/14631
500 * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW,
501 IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message.
502 * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector
503 handling.
504 (*mmx_pinsrw, *sse2_pinsrw): New patterns.
505 * config/i386/i386/predicates.md (const_pow2_1_to_8_operand,
506 const_pow2_1_to_128_operand): New predicates.
507
508 2005-01-02 Greg McGary <greg@mcgary.org>
509
510 * tree-mudflap.c (mf_varname_tree): decl_printable_name handles
511 anonymous decls.
512 (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost
513 object. [ptr_type]: Remove unused variable.
514 Remember nearest addressable array-element or record-component
515 when checking bitfield components. Tolerate empty BIND_EXPR.
516
517 2005-01-01 Richard Henderson <rth@redhat.com>
518
519 * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions
520 that don't narrow the value. Fail for other conversions.
521
522 2005-01-01 Richard Henderson <rth@redhat.com>
523
524 PR c/19031
525 * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks.
526 * c-lang.c (finish_file): Don't do it here.
527 * objc/objc-act.c (objc_finish_file): Likewise.
528
529 * cgraph.c (decl_assembler_name_equal): New.
530 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New.
531 (cgraph_varpool_node): Actually link up cgraph_varpool_nodes.
532 * cgraph.h (struct cgraph_varpool_node): Add next.
533 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare.
534 * varasm.c (assemble_alias): Mark the target as needed.
535
536 2005-01-01 Andrew Pinski <pinskia@physics.uc.edu>
537
538 PR middle-end/19221
539 * function.c (get_arg_pointer_save_area): Use entry_of_function
540 instead of get_insns.
541
542 2005-01-01 Roger Sayle <roger@eyesopen.com>
543 Andrew Pinski <pinskia@physics.uc.edu>
544 James E. Wilson <wilson@specifixinc.com>
545
546 PR rtl-optimization/12092
547 * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK
548 is zero.
549
550 2005-01-01 Roger Sayle <roger@eyesopen.com>
551 Olivier Hainque <hainque@act-europe.fr>
552
553 * tree.c (int_fits_type_p): A narrower type always fits in a
554 wider one, except for negative values into unsigned types.
555
556 2005-01-01 Roger Sayle <roger@eyesopen.com>
557
558 * tree.c (int_fits_type_p): Compare the result of force_fit_type
559 with the original constant rather than require TREE_OVERFLOW.
560
561 2005-01-01 Steven Bosscher <stevenb@suse.de>
562
563 PR middle-end/17544
564 * c-decl.c (finish_function): If compiling C99, annotate the
565 compiler generated return with the current file name and line 0.
566 * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
567 the source line is greater than 0.
568 (remove_bb): Likewise.
569
570 See ChangeLog.12 for earlier changes.