PR target/39118
[official-gcc.git] / gcc / ChangeLog
blob71c859e7b8dfe0f545e861f6e98d00412a203b23
1 2009-02-11  Uros Bizjak  <ubizjak@gmail.com>
2             Jakub Jelinek  <jakub@redhat.com>
4         PR target/39118
5         * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
6         (memory_blockage): New expander.
7         (*memory_blockage): New insn pattern.
8         * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
9         instead of general blockage at the end of function prologue when
10         frame pointer is used to access red zone area.  Do not emit blockage
11         when profiling, it is emitted in generic code.
12         (ix86_expand_epilogue): Emit memory_blockage at the beginning of
13         function epilogue when frame pointer is used to access red zone area.
15 2009-02-11  Paolo Bonzini  <bonzini@gnu.org>
17         * config/i386/i386.md: Add two new peephole2 to avoid mov followed
18         by arithmetic with memory operands.
19         * config/i386/predicates.md (commutative_operator): New.
21 2009-02-10  Janis Johnson  <janis187@us.ibm.com>
23         * doc/extend.texi (Fixed-Point Types): Break long paragraphs into
24         bulleted lists.
26 2009-02-10  Eric Botcazou  <ebotcazou@adacore.com>
28         * alias.h (record_alias_subset): Declare.
29         * alias.c (record_alias_subset): Make global.
31 2009-02-10  Nick Clifton  <nickc@redhat.com>
33         * tree-parloops.c: Change license to GPLv3.
34         * ipa-struct-reorg.c: Change license to GPLv3.
35         * ipa-struct-reorg.h: Change license to GPLv3.
37 2009-02-10  Steve Ellcey  <sje@cup.hp.com>
39         PR c/39084
40         * c-decl.c (start_struct): Return NULL on error.
42 2009-02-10  Jakub Jelinek  <jakub@redhat.com>
44         PR middle-end/39124
45         * cfgloopmanip.c (remove_path): Call remove_bbs after
46         cancel_loop_tree, not before it.
48         PR target/39139
49         * function.h (struct function): Add has_local_explicit_reg_vars bit.
50         * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
51         VAR_DECLs were seen.
52         * tree-ssa-live.c (remove_unused_locals): Recompute
53         cfun->has_local_explicit_reg_vars.
54         * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
55         copies or clearings if cfun->has_local_explicit_reg_vars.
57 2009-02-10  Uros Bizjak  <ubizjak@gmail.com>
59         PR target/39118
60         * config/i386/i386.c (expand_prologue): Emit blockage at the end
61         of function prologue when frame pointer is used to access
62         red zone area.
64 2009-02-10  Richard Guenther  <rguenther@suse.de>
66         PR middle-end/39127
67         * gimplify.c (gimple_regimplify_operands): Always look if
68         we need to create a temporary.
70 2009-02-10  Richard Guenther  <rguenther@suse.de>
72         PR tree-optimization/39132
73         * tree-loop-distribution.c (todo): New global var.
74         (generate_memset_zero): Trigger TODO_rebuild_alias.
75         (tree_loop_distribution): Return todo.
77 2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>
79         PR target/39119
80         * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
81         (x86_64_reg_class_name): Removed.
82         (classify_argument): Return 0 if bytes > 32.  Return 0 if the
83         first one isn't X86_64_SSE_CLASS or any other ones aren't
84         X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
85         X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
86         is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
87         and 3 X86_64_SSEUP_CLASS.
88         (construct_container): Remove X86_64_AVX_CLASS.  Handle 4
89         registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.
91 2009-02-10  Ben Elliston  <bje@au.ibm.com>
93         * config/rs6000/rs6000.md (allocate_stack): Always use an update
94         form instruction to update the stack back chain word, even if the
95         user has disabled the generation of update instructions.
96         (movdi_<mode>_update_stack): New.
97         (movsi_update_stack): Likewise.
98         * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
99         always use an update form instruction to update the stack back
100         chain word.
102 2009-02-09  Sebastian Pop  <sebastian.pop@amd.com>
104         PR middle-end/38953
105         * graphite.c (if_region_set_false_region): After moving a region in
106         the false branch of a condition, remove the empty dummy basic block.
107         (gloog): Remove wrong fix for PR38953.
109 2009-02-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
111         * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
112         generation due to implicit sign extension.
114 2009-02-09  Eric Botcazou  <ebotcazou@adacore.com>
116         PR middle-end/38981
117         * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs
118         at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST.
120 2009-02-09  Richard Guenther  <rguenther@suse.de>
122         PR middle-end/35202
123         * convert.c (convert_to_real): Disable (float)fn((double)x)
124         to fnf(x) conversion if errno differences may occur and
125         -fmath-errno is set.
127 2009-02-07  Anatoly Sokolov  <aesok@post.ru>
129         * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
130         * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
131         * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
133 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
135         PR c/35434
136         * c-common.c (handle_alias_attribute): Disallow attribute for
137         anything not a FUNCTION_DECL or VAR_DECL.
139 2009-02-06  Janis Johnson  <janis187@us.ibm.com>
141         PR c/39035
142         * real.c (do_compare): Special-case compare of zero against
143         decimal float value.
145 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
147         PR c/36432
148         * c-decl.c (grokdeclarator): Don't treat [] declarators in fields
149         as indicating flexible array members unless the field itself is
150         being declarared as the incomplete array.
152 2009-02-06  Jan Hubicka  <jh@suse.cz>
154         PR tree-optimization/38844
155         * ipa-inline.c (try_inline): Stop inlining recursion when edge
156         is already inlined.
158 2009-02-06  Richard Guenther  <rguenther@suse.de>
160         PR middle-end/38977
161         * tree-cfg.c (need_fake_edge_p): Force a fake edge for
162         fork because we may expand it as __gcov_fork.
164 2009-02-06  Nick Clifton  <nickc@redhat.com>
166         * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
168 2009-02-06  Paolo Bonzini  <bonzini@gnu.org>
170         PR tree-optimization/35659
171         * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
172         vn_phi_eq): Shortcut if hashcode does not match.
173         (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
174         NULL operands.
175         * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
176         and avoid iterative_hash_expr.
177         (FOR_EACH_VALUE_ID_IN_SET): New.
178         (value_id_compare): Remove.
179         (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
180         sort expressions by value id.
182 2009-02-05  Kaz Kojima  <kkojima@gcc.gnu.org>
184         PR target/38991
185         * config/sh/predicates.md (general_movsrc_operand): Don't check
186         the subreg of system registers here.
188 2009-02-05  Jakub Jelinek  <jakub@redhat.com>
190         PR c++/39106
191         * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
192         on the copied decl.
194 2009-02-05  Paolo Bonzini  <bonzini@gnu.org>
196         PR rtl-optimization/39110
197         * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
198         addresses, not aligned ones.
200 2009-02-05  Daniel Berlin  <dberlin@dberlin.org>
201             Richard Guenther  <rguenther@suse.de>
203         PR tree-optimization/39100
204         * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
205         comment says and add edges.
207 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
209         PR c/35435
210         * c-common.c (handle_tls_model_attribute): Ignore attribute for
211         non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
213 2009-02-04  Tobias Grosser  <grosser@fim.uni-passau.de> 
215         * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
216         sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
217         register_bb_in_sese, new_sese, free_sese): Moved.
218         (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
219         outermost_loop_in_scop, build_scop_iteration_domain,
220         expand_scalar_variables_ssa_name, get_vdef_before_scop,
221         limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
222         Use loop_in_sese_p instead of loop_in_scop_p.
223         (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
224         (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
225         (scopdet_basic_block_info): Fix bug in scop detection.
226         (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
227         eq_loop_to_cloog_loop): Remove.
228         (nb_loops_around_loop_in_scop, nb_loop
229         ref_nb_loops): Moved here...
230         * graphite.h (ref_nb_loops): ... from here.
231         (struct scop): Remove bbs_b bitmap and loop2cloog_loop.
232         (loop_domain_dim, loop_iteration_vector_dim): Remove.
233         (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
234         * testsuite/gcc.dg/graphite/scop-19.c: New
236 2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
237             Hans-Peter Nilsson  <hp@axis.com>
239         PR rtl-optimization/37889
240         * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
241         Move offset handling from PLUS to before the switch.  Use new
242         arguments when considering SYMBOL_REFs too.
243         (rtx_addr_can_trap_p): Pass dummy offset and size.
244         (enum may_trap_p_flags): Remove.
245         (may_trap_p_1): Pass size from MEM_SIZE.
247         PR rtl-optimization/38921
248         * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
249         * rtl.h (may_trap_after_code_motion_p): Delete prototype.
250         * rtlanal.c (may_trap_after_code_motion_p): Delete.
251         (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
253 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
255         AVX Programming Reference (January, 2009)
256         * config/i386/sse.md (*vpclmulqdq): New.
258 2009-02-04  Jakub Jelinek  <jakub@redhat.com>
260         PR tree-optimization/38977
261         PR gcov-profile/38292
262         * calls.c (special_function_p): Disregard __builtin_ prefix.
264 2009-02-04  Hariharan Sandanagobalane  <hariharan@picochip.com>
266         * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
267         non-indexable addresses even before reload.
269 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
271         PR c/29129
272         * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
273         as having variable size.  Do not give an error for unnamed
274         parameters with [*] declarators.  Give a warning for type names
275         with [*] declarators and mark them as variable size.
276         * c-parser.c (c_parser_sizeof_expression): Do not give an error
277         for sizeof applied to [*] type names.
279 2009-02-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
281         PR C++/36607
282         * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
284 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
286         * gcc.c (process_command): Update copyright notice dates.
287         * gcov.c (print_version): Likewise.
288         * gcov-dump.c (print_version): Likewise.
289         * mips-tfile.c (main): Likewise.
290         * mips-tdump.c (main): Likewise.
292 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
294         PR c/35433
295         * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
296         for composite type involving a zero-length array type.
298 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
300         PR target/35318
301         * function.c (match_asm_constraints_1): Skip over
302         initial optional % in the constraint.
304         PR inline-asm/39059
305         * c-parser.c (c_parser_postfix_expression): If fixed point is not
306         supported, don't accept FIXED_CSTs.
307         * c-decl.c (finish_declspecs): Error if fixed point is not supported
308         and _Sat is used without _Fract/_Accum.  Set specs->type to
309         integer_type_node for cts_fract/cts_accum if fixed point is not
310         supported.
312 2009-02-02  Catherine Moore  <clm@codesourcery.com>
314         * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.
316 2009-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
318         * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
319         (ABI_HAS_64BIT_SYMBOLS): Use it.
320         (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
322 2009-02-02  Paul Brook  <paul@codesourcery.com>
324         * config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
326 2009-02-02  Jakub Jelinek  <jakub@redhat.com>
328         PR inline-asm/39058
329         * recog.h (asm_operand_ok): Add constraints argument.
330         * recog.c (asm_operand_ok): Likewise.  If it is set, for digits
331         recurse on matching constraint.
332         (check_asm_operands): Pass constraints as 3rd argument to
333         asm_operand_ok.  Don't look up matching constraint here.
334         * stmt.c (expand_asm_operands): Pass NULL as 3rd argument
335         to asm_operand_ok.
337 2009-02-02  Ben Elliston  <bje@au.ibm.com>
339         * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
340         TARGET_NARROW_VOLATILE_BITFIELD macro names.
342 2009-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
344         * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
345         information.  Remove some obsolete information.  Reorganize.
347         * config/pa/fptr.c: Revert license to GPL 2.
348         * config/pa/milli64.S: Likewise.
350 2009-01-31  Dave Korn  <dave.korn.cygwin@gmail.com>
352         PR target/38904
353         * mkmap-flat.awk (END):  Use pe_dll command-line arg to pass
354         LIBRARY name in, instead of hard-coding it.
355         * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*):  Add an
356         extra target make frag to tmake_files according to EH model.
357         (i[34567]86-*-mingw* | x86_64-*-mingw*):  Likewise.
358         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh:  Add new target
359         frags that define makefile variable EH_MODEL appropriately.
360         * config/i386/cygming.h (DWARF2_UNWIND_INFO):  Add comment.
361         * config/i386/cygwin.h (LIBGCC_EH_EXTN):  Define to nothing or
362         to "-sjlj" according to type of EH configured.
363         (LIBGCC_SONAME):  Concatenate it to shared library base name.
364         * config/i386/mingw32.h (LIBGCC_EH_EXTN):  Define to "_dw2" or
365         to "_sjlj" according to type of EH configured.
366         (LIBGCC_SONAME):  Concatenate it to shared library base name.
367         * config/i386/t-cygming (SHLIB_SONAME):  Use EH_MODEL.
368         (SHLIB_LINK):  Add missing semicolon to if-else construct.
369         (SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
370         string value of "pe_dll" command-line option.
371         * config/i386/t-cygwin (SHLIB_EH_EXTENSION):  New helper.
372         (SHLIB_SONAME):  Use it when overriding t-cygming default.
373         (SHLIB_IMPLIB):  Override t-cygming default.
374         (SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
375         string value of "pe_dll" command-line option.
377 2009-01-31  Dave Korn  <dave.korn.cygwin@gmail.com>
379         PR target/38952
380         * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
381         (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it.
383 2009-01-31  Richard Guenther  <rguenther@suse.de>
385         PR tree-optimization/38937
386         * tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
387         computing the transitive closure.
389 2009-01-30  Richard Guenther  <rguenther@suse.de>
391         PR tree-optimization/39041
392         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
393         Propagate variable indices only if the types match for this stmt.
395 2009-01-30  Jakub Jelinek  <jakub@redhat.com>
397         PR target/39013
398         * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
399         inline but never defined.
401 2009-01-30  Wolfgang Gellerich  <gellerich@de,ibm.com>
403         * config/s390/s390.md (*insv<mode>_reg_extimm): Removed.
404         (*insv_h_di_reg_extimm): New insn.
405         (*insv_l<mode>_reg_extimm): New insn.
407 2009-01-30  Hariharan Sandanagobalane  <hariharan@picochip.com>
409         * config/picochip/picochip.c (flag_conserve_stack): set
410         PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under
411         fconserve-stack. Reduce call-overhead used by inliner.
413 2009-01-30  Hariharan Sandanagobalane  <hariharan@picochip.com>
415         PR/38157
416         * common.opt (flag_conserve_stack): Initialised to zero.
418 2009-01-30  Kai Tietz  <kai.tietz@onevision.com>
420         PR/39002
421         * config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
422         (ix86_expand_epilogue): Take nsseregs in account to use proper restore
423         method.
425 2009-01-29  H.J. Lu  <hongjiu.lu@intel.com>
427         * ira-color.c (allocno_reload_assign): Update comments.
428         * regmove.c (regmove_optimize): Likewise.
430         * ra.h: Removed.
432 2009-01-29  Robert Millan  <rmh@aybabtu.com>
434         * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
435         * gcc/config/i386/kopensolaris-gnu.h: New file.  Undefine
436         `MD_UNWIND_SUPPORT'.
437         * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).
439 2009-01-29  Kazu Hirata  <kazu@codesourcery.com>
441         PR tree-optimization/39007
442         * tree-loop-distribution.c (generate_builtin): Use
443         recompute_dominator to compute the immediate dominator of the
444         basic block just after the loop.
446 2008-01-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
448         * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
449         (ASM_OUTPUT_DWARF_PCREL): Define.
451 2008-01-29  Vladimir Makarov  <vmakarov@redhat.com>
453         * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
454         * doc/passes.texi: Remove entries about regclass, local-alloc, and
455         global.  Modify entries about regmove and IRA.
457         * ra-conflict.c: Remove the file.
459         * reload.c (push_reload, find_dummy_reload): Remove flag_ira.
461         * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
462         (pass_regclass_init): Rename to pass_reginfo_init.
464         * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.
466         * toplev.h (flag_ira): Remove.
468         * caller-save.c (setup_save_areas): Remove flag_ira.
470         * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto.
472         * global.c: Remove the file.
474         * opts.c: (decode_options): Remove flag_ira.
476         * hard-reg-set.h (losing_caller_save_reg_set): Remove.
478         * regmove.c: Modify file description.
479         (find_use_as_address, try_auto_increment): Define them only if
480         AUTO_INC_DEC is defined.
481         (replacement_quality, replace_in_call_usage, fixup_match_1,
482         stable_and_no_regs_but_for_p): Remove.
483         (reg_set_in_bb): Make it static.
484         (regmove_optimize): Remove flag_ira and code which worked for
485         !flag_ira.
487         * local-alloc.c: Remove the file.
489         * common.opt (fira): Remove.
491         * ira.c: Include except.h.
492         (eliminable_regset): Move from global.c.
493         (mark_elimination): Ditto.  Remove flag_ira.
494         (reg_renumber, struct equivalence, reg_equiv, equiv_mem,
495         equiv_mem_modified, validate_equiv_mem_from_store,
496         validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
497         contains_replace_regs, memref_referenced_p, memref_used_between_p,
498         no_equiv, recorded_label_ref): Move from local-alloc.c.
499         (update_equiv_regs): Ditto.  Make it static.
500         (print_insn_chain, print_insn_chains): Move it from global.c.
501         (pseudo_for_reload_consideration_p): Ditto.  Remove flag_ira.
502         (build_insn_chain): Ditto.  Make it static.
503         (ra_init_live_subregs): Move from ra-conflict.c.  Make it static.
504         Rename to init_live_subregs.
505         (gate_ira): Remove flag_ira.
507         * regclass.c: Rename reginfo.c.  Change file description.
508         (FORBIDDEN_INC_DEC_CLASSES): Remove.
509         (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): Remove.
510         (init_reg_sets_1): Remove code for evaluation of
511         reg_class_superclasses and losing_caller_save_reg_set.
512         (init_regs): Remove init_reg_autoinc.
513         (struct costs, costs, init_cost, ok_for_index_p_nonstrict,
514         ok_for_base_p_nonstrict): Remove.
515         (regclass_init): Rename to reginfo_init.  Don't initialize init_cost.
516         (pass_regclass_init): Rename to pass_reginfo_init.  Modify
517         corresponding entries.
518         (dump_regclass, record_operand_costs, scan_one_insn,
519         init_reg_autoinc, regclass, record_reg_classes, copy_cost,
520         record_address_regs, auto_inc_dec_reg_p): Remove.
521         (gt-regclass.h): Rename to gt-reginfo.h.
523         * rtl.h (dump_global_regs, retry_global_alloc,
524         build_insn_chain, dump_local_alloc, update_equiv_regs): Remove.
526         * Makefile.in (RA_H): Remove.
527         (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
528         Rename regclass.o to reginfo.o.
529         (regclass.o): Rename to reginfo.o.  Rename gt-regclass.h to
530         gt-reginfo.h.
531         (global.o, local-alloc.o, ra-conflict.o): Remove entries.
532         (GTFILES): Rename regclass.c to reginfo.c.
534         * passes.c (init_optimization_passes): Remove pass_local_alloc and
535         pass_global_alloc.  Rename pass_regclass_init to pass_reginfo_init.
537         * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
538         count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
539         Remove flag_ira.
540         (finish_spills): Ditto.  Remove code for !flga_ira.
541         
542 2009-01-29  Kenneth Zadeck  <zadeck@naturalbridge.com>
544         PR middle-end/35854
545         * doc/invoke.texi (rtl debug options): Complete rewrite.
546         * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
547         to auto_inc_dec".
548         * mode-switching.c (pass_mode_switching): Rename pass from
549         "mode-sw" to "mode_sw".
550         * except.c (pass_convert_to_eh_ranges): Rename pass from
551         "eh-ranges" to "eh_ranges".
552         * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
553         to "subreg1".
554                 
555         
556 2009-01-29  Andrey Belevantsev  <abel@ispras.ru>
557             Alexander Monakov  <amonakov@ispras.ru>
559         PR middle-end/38857
560         * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
561         register.
562         (move_exprs_to_boundary): Change return type and pass through
563         should_move from move_op.  Relax assert.  Update usage ...
564         (schedule_expr_on_boundary): ... here.  Use should_move instead of
565         cant_move.
566         (move_op_orig_expr_found): Indicate that insn was disconnected from
567         stream.
568         (code_motion_process_successors): Do not call after_merge_succs
569         callback if original expression was not found when traversing any of
570         the branches.
571         (code_motion_path_driver): Change return type.  Update prototype.
572         (move_op): Update comment.  Add a new parameter (should_move).  Update
573         prototype.  Set *should_move based on indication provided by
574         move_op_orig_expr_found.
576 2009-01-28  Pat Haugen  <pthaugen@us.ibm.com>
578         * doc/invoke.texi (avoid-indexed-addresses): Document new option.
579         * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
580         * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
581         * config/rs6000/rs6000.c (rs6000_override_options): Default
582         avoid-indexed-addresses on for Power6, off for everything else.
583         (avoiding_indexed_address_p): New function.
584         (rs6000_legitimize_address): Use it.
585         (rs6000_legitimate_address): Likewise.
586         * config/rs6000/rs6000.md (movXX_updateX): Likewise
588 2009-01-28  Kazu Hirata  <kazu@codesourcery.com>
590         PR tree-optimization/38997
591         * tree-loop-distribution.c (generate_memset_zero): Use
592         POINTER_PLUS_EXPR for a pointer addition.
594 2009-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>
596         * config/s390/s390.md (bswap<mode>2): New pattern added.
598 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
600         * config/s390/s390.md (*tls_load_31): Added type attribute.
602 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
604         * config/s390/s390.md: Fix a few comments.
606 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
608         * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
609         (*tm<mode>_full): Fixed z10prop attribute.
610         (*tst<mode>_extimm): Fixed z10prop attribute.
611         (*tst<mode>_cconly_extimm): Fixed z10prop attribute.
612         (*tstqiCCT_cconly): Fixed z10prop attribute.
613         (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
614         (*movsi_larl): Fixed z10prop attribute.
615         (*movsi_zarch): Fixed z10prop attribute.
616         (*movsi_eas): Fixed z10prop attribute.
617         (*movhi): Fixed z10prop attribute.
618         (*movqi): Fixed z10prop attribute.
619         (*movstrictqi): Fixed z10prop attribute.
620         (*mov<mode>): Fixed z10prop attribute.
621         (*movcc): Fixed z10prop attribute.
622         (*sethighpartdi_64): Fixed z10prop attribute.
623         (*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
624         (*negdi2_sign_cc): Fixed z10prop attribute.
625         (*negdi2_sign): Fixed z10prop attribute.
626         (*absdi2_sign_cc): Fixed z10prop attribute.
627         (*absdi2_sign): Fixed z10prop attribute.
628         (*negabsdi2_sign_cc): Fixed z10prop attribute.
629         (*negabsdi2_sign): Fixed z10prop attribute.
630         (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
631         (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
632         (doloop_si64): Fixed z10prop attribute.
633         (doloop_si31): Fixed z10prop attribute.
634         (doloop_long): Fixed z10prop attribute.
635         (indirect_jump): Fixed z10prop attribute.
636         (nop): Fixed z10prop attribute.
637         (main_base_64): Fixed z10prop attribute.
638         (reload_base_64): Fixed z10prop attribute.
640 2009-01-28  Jakub Jelinek  <jakub@redhat.com>
642         PR rtl-optimization/38740
643         * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling if !optimize.
644         * config/mips/mips.c (mips_reorg): Likewise.
646 2009-01-28  Richard Guenther  <rguenther@suse.de>
648         PR tree-optimization/38926
649         * tree-ssa-pre.c (add_to_value): Assert we add only expressions
650         with the correct value id to a value.
651         (do_regular_insertion): Use the value number of edoubleprime
652         for the value number of the expr.
654         Revert
655         2008-08-21  Richard Guenther  <rguenther@suse.de>
657         * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
658         a PHI ask VN if it is already available.
659         * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
660         * tree-ssa-sccvn.c (vn_phi_lookup): Export.
662 2009-01-28  Jakub Jelinek  <jakub@redhat.com>
664         PR middle-end/38934
665         * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
666         set to varying whenever max has TREE_OVERFLOW set, similarly
667         for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.
669 2009-01-28  Richard Guenther  <rguenther@suse.de>
671         PR middle-end/38908
672         * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
673         uninitialized aggregate uses in call arguments.
675 2009-01-28  Paolo Bonzini  <bonzini@gnu.org>
677         PR tree-optimization/38984
678         * tree-ssa-structalias.c (get_constraints_for_1): Do not use
679         the nothing_id variable if -fno-delete-null-pointer-checks.
681 2009-01-28  Uros Bizjak  <ubizjak@gmail.com>
683         PR target/38988
684         * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
685         (set_got_offset_rex64): Ditto.
687 2009-01-27  H.J. Lu  <hongjiu.lu@intel.com>
689         PR target/38941
690         * doc/extend.texi: Improve local variable with asm reg.
692 2009-01-27  Adam Nemet  <anemet@caviumnetworks.com>
694         * c.opt (Wpacked-bitfield-compat): Change init value to -1.
695         * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
696         was not supplied then set warn_packed_bitfield_compat to the
697         default value of 1.
698         * stor-layout.c (place_field): Check warn_packed_bitfield_compat
699         against 1.
701 2009-01-27  Richard Guenther  <rguenther@suse.de>
703         PR tree-optimization/38503
704         * cfgexpand.c (expand_gimple_basic_block): Ignore
705         GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
706         * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
707         variables that cannot have TBAA applied.
708         (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
709         statements.
711 2009-01-27  Uros Bizjak  <ubizjak@gmail.com>
713         PR middle-end/38969
714         * calls.c (initialize_argument_information): Do not wrap complex
715         arguments in SAVE_EXPR.
717 2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>
719         * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
720         (INSTALL_LIBGCC): Revert typo commit.
722 2009-01-26  Richard Guenther  <rguenther@suse.de>
724         PR tree-optimization/38745
725         * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
726         from special handling.
728 2009-01-26  Richard Guenther  <rguenther@suse.de>
730         PR tree-optimization/38745
731         * tree-ssa.c (execute_update_addresses_taken): Do not include
732         variables that cannot possibly be a register in not_reg_needs.
733         Do not clear TREE_ADDRESSABLE on vars that may not become
734         registers.
735         * tree-ssa.c (update_alias_info_1): Include those in the set
736         of addressable vars.
738 2009-01-26  Richard Guenther  <rguenther@suse.de>
740         PR middle-end/38851
741         * Makefile.in (tree-ssa-dse.o): Add langhooks.h.
742         * tree-ssa-dse.c: Include langhooks.h
743         (execute_simple_dse): Remove stores with zero size.
745 2009-01-24  Jakub Jelinek  <jakub@redhat.com>
747         PR c/38957
748         * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
749         as PLUS_EXPR.
751 2009-01-24  Julian Brown  <julian@codesourcery.com>
753         * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
754         config/arm/linux-atomic.c.
755         * config/arm/linux-atomic.c: New.
757 2009-01-24  Eric Botcazou  <ebotcazou@adacore.com>
759         * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
760         * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
761         * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
763 2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>
765         PR c/38938
766         * c-opts.c (c_common_handle_option): Update warn_pointer_sign
767         properly.
769 2009-01-24  Sebastian Pop  <sebastian.pop@amd.com>
771         PR tree-optimization/38953
772         * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
773         (scop_adjust_phis_for_liveouts): Initialize false_i to zero.
774         (gloog): Split the exit of the scop when the scop exit is a loop exit.
775         (graphite_transform_loops): Only call cleanup_tree_cfg if gloog
776         changed the CFG.
778 2009-01-24  Paul Brook  <paul@codesourcery.com>
780         * config/arm/neon.md (neon_type): Move to arm.md.
781         (neon_mov<VSTRUCT>): Add neon_type attribute.
782         * config/arm/arm.md (neon_type): Move to here.
783         (conds): Add "unconditioal" and use as default for NEON insns.
785 2009-01-24  Ben Elliston  <bje@au.ibm.com>
787         * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
788         void *' warning from -Wc++-compat.
789         * Makefile.in (dominance.o-warn): Remove.
791 2008-01-23  Paolo Bonzini  <bonzini@gnu.org>
793         PR tree-optimization/38932
794         * fold-const.c (fold_unary_ignore_overflow): New.
795         * tree.h (fold_unary_ignore_overflow): Declare.
796         * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow.
797         * tree-ssa-sccvn.c (visit_reference_op_load,
798         simplify_unary_expression): Likewise.
800 2009-01-22  Adam Nemet  <anemet@caviumnetworks.com>
802         * c-decl.c (finish_struct): Move code to set DECL_PACKED after
803         DECL_BIT_FIELD is alreay known.  Also inherit packed for bitfields
804         regardless of their type.
805         * c-common.c (handle_packed_attribute): Don't ignore packed on
806         bitfields.
807         * c.opt (Wpacked-bitfield-compat): New warning option.
808         * stor-layout.c (place_field): Warn if offset of a field changed.
809         * doc/extend.texi (packed): Mention the ABI change.
810         * doc/invoke.texi (-Wpacked-bitfield-compat): Document.
811         (Warning Options): Add it to the list.
813 2009-01-22  H.J. Lu  <hongjiu.lu@intel.com>
815         * c-opts.c (c_common_post_options): Fix a typo in comments.
817 2009-01-22  Steve Ellcey  <sje@cup.hp.com>
819         PR middle-end/38615
820         * gimplify.c (gimplify_init_constructor): Fix promotion of const
821         variables to static.
822         * doc/invoke.texi (-fmerge-all-constants): Update description.
824 2009-01-22  Uros Bizjak  <ubizjak@gmail.com>
826         PR target/38931
827         * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
828         (*movdi_1_rex64): Use type "mmx" for alternative 5.
830 2009-01-22  Richard Earnshaw  <rearnsha@arm.com>
832         * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
833         a word boundary.
834         (LOCAL_ALIGNMENT): Similarly.
836 2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
837             Joseph Myers  <joseph@codesourcery.com>
839         * config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
840         * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
841         * config/arm/arm-tune.md: Regenerate.
842         * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
843         -march=iwmmxt2.
845 2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
847         * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
848         version number to five.
850 2009-01-22  Dodji Seketeli  <dodji@redhat.com>
852         PR c++/38930
853         * c-decl.c: (clone_underlying_type): Revert PR c++/26693 changes.
854         * c-common.c (set_underlying_type): Likewise.
855         (is_typedef_decl ): Likewise
856         * tree.h: Likewise
857         (set_underlying_type): Likewise.
858         (is_typedef_type): Likewise.
860 2009-01-21  Vladimir Makarov  <vmakarov@redhat.com>
862         PR middle-end/38587
863         * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
864         crossing setjmps.
866 2009-01-21  Dave Korn  <dave.korn.cygwin@gmail.com>
868         PR bootstrap/37660
869         * config/i386/cygwin.h (SHARED_LIBGCC_SPEC):  New helper macro.
870         (LIBGCC_SPEC):  Don't define.
871         (REAL_LIBGCC_SPEC):  Define instead, using SHARED_LIBGCC_SPEC.
873 2009-01-21  Uros Bizjak  <ubizjak@gmail.com>
875         PR rtl-optimization/38879
876         * alias.c (base_alias_check): Unaligned access via AND address can
877         alias all surrounding object types except those with sizes equal
878         or wider than the size of unaligned access.
880 2009-01-21  Dodji Seketeli  <dodji@redhat.com>
882         PR c++/26693
883         * c-decl.c: (clone_underlying_type): Move this ...
884         * c-common.c (set_underlying_type): ... here.
885         Also, make sure the function properly sets TYPE_STUB_DECL() on
886         the newly created typedef variant type.
887         (is_typedef_decl ): New entry point.
888         * tree.h: Added a new member member_types_needing_access_check to
889         struct tree_decl_non_common.
890         (set_underlying_type): New entry point.
891         (is_typedef_type): Likewise.
893 2009-01-21  Bingfeng Mei  <bmei@broadcom.com>
895         * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p):
896         Check whether two instructions have memory references that
897         belong to conflicting alias sets.  walk_mems_1 and walk_mems_2
898         are helper functions for traversing.
899         * alias.h (insn_alias_sets_confilict_p): New prototypes.
900         * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p
901         not to draw dependency edge for instructions with non-conflicting
902         alias sets.
904 2009-01-20  Joseph Myers  <joseph@codesourcery.com>
906         PR other/38758
907         * longlong.h: Update copyright years.  Use soft-fp license
908         notice.  Sync __clz_tab declaration with glibc.
910 2009-01-20  Steve Ellcey  <sje@cup.hp.com>
912         PR target/30687
913         * doc/extend.texi (syscall_linkage): New.
914         (version_id): Modify.
916 2009-01-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
917             Richard Guenther  <rguenther@suse.de>
919         PR tree-optimization/38747
920         PR tree-optimization/38748
921         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
922         conversion if the base address is an indirect reference and the
923         aliasing sets could cause issues.
925 2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>
927         * common.opt (fgraphite, fgraphite-identity): Add comment for 
928         explaining why these options are not documented.
930 2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>
932         * graphite.c (stmt_simple_for_scop_p): Also handle cases when
933         gimple_call_lhs is NULL.
935 2008-01-20  Paolo Bonzini  <bonzini@gnu.org>
937         PR target/38868
938         * emit-rtl.c (adjust_address_1): Make sure memref is never
939         overwritten.
941 2009-01-20  Ben Elliston  <bje@au.ibm.com>
943         * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
944         const qualifier from arg parameter. Remove unnecessary cast to char *.
945         * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
946         const qualifier from arg 2.
948 2009-01-19  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
950         * config/darwin.h: Add static-libgfortran to LINK_SPEC.
952 2009-01-19  Vladimir Makarov  <vmakarov@redhat.com>
954         PR c/38869
955         * rtl.h (reinit_regs): New prototype.
956         * regclass.c: Include ira.h.
957         (reinit_regs): New.
958         * Makefile.in (regclass.o): Add ira.h.
959         * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.
961 2009-01-18  H.J. Lu  <hongjiu.lu@intel.com>
963         PR target/38736
964         * c-common.c (handle_aligned_attribute): Use
965         ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
966         default alignment value.
968         * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.
970         * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
971         * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.
973         * doc/extend.texi: Update __attribute__ ((aligned)).  Document
974         __BIGGEST_ALIGNMENT__.
976         * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.
978 2009-01-18  Richard Guenther  <rguenther@suse.de>
980         PR tree-optimization/38819
981         * tree-flow.h (operation_could_trap_helper_p): Declare.
982         * tree-eh.c (operation_could_trap_helper_p): Export.
983         * tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
984         * tree-ssa-sccvn.c (vn_nary_may_trap): New function.
985         * tree-ssa-pre.c (insert_into_preds_of_block): Check if we
986         are about to insert a possibly trapping instruction and fail
987         in this case.
989 2009-01-18  Andreas Schwab  <schwab@suse.de>
991         * doc/install.texi (Configuration): Remove obsolete paragraph
992         about use of --with-gnu-ld with --with-gnu-as.
994 2009-01-18  Kazu Hirata  <kazu@codesourcery.com>
996         * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
997         doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
998         Follow spelling conventions.
1000 2009-01-18  Ben Elliston  <bje@au.ibm.com>
1002         * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
1003         C++ warning about implicit conversion from void * to struct
1004         bitmap_head_def *.
1005         (bitmap_obstack_free): Likewise for bitmap_element *.
1006         * Makefile.in (bitmap.o-warn): Remove.
1008 2009-01-17  Dave Korn  <dave.korn.cygwin@gmail.com>
1010         * Makefile.in (BACKENDLIBS):  Reorder to match dependencies.
1012 2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
1013             Tobias Grosser  <tobi.grosser@amd.com>
1015         * graphite.c (graphite_trans_scop_block): Do not block single
1016         nested loops.
1018 2009-01-16  Alexandre Oliva  <aoliva@redhat.com>
1020         * ebitmap.h (ebitmap_iter_init): Initialize all fields.
1021         * ipa-struct-reorg.c (gen_struct_type): Replace known-true
1022         test with assertion.
1024 2009-01-16  Richard Guenther  <rguenther@suse.de>
1026         PR tree-optimization/38835
1027         PR middle-end/36227
1028         * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
1029         and INT + PTR -> (INT)(PTR p+ INT) folding.
1030         * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.
1032 2009-01-16  Adam Nemet  <anemet@caviumnetworks.com>
1034         PR target/38554
1035         * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
1036         the subreg from a lowpart subreg if it is also casting the value.
1038 2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
1039             Tobias Grosser  <tobi.grosser@amd.com>
1041         * graphite.c (compare_prefix_loops): New.
1042         (build_scop_canonical_schedules): Rewritten.
1043         (graphite_transform_loops): Move build_scop_canonical_schedules
1044         after build_scop_iteration_domain.
1046 2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
1047             Tobias Grosser  <tobi.grosser@amd.com>
1049         * graphite.c (add_conditions_to_domain): Add the loops to 
1050         the dimension of the iteration domain.  Do copy the domain
1051         only when it exists.
1052         (build_scop_conditions_1): Do not call add_conditions_to_domain.
1053         (add_conditions_to_constraints): New.
1054         (can_generate_code_stmt, can_generate_code): Removed.
1055         (gloog): Do not call can_generate_code.
1056         (graphite_transform_loops): Call add_conditions_to_constraints
1057         after building the iteration domain.
1059 2009-01-16  Jakub Jelinek  <jakub@redhat.com>
1061         PR tree-optimization/38789
1062         * tree-ssa-threadedge.c
1063         (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
1064         __builtin_constant_p.
1066 2009-01-16  Kenneth Zadeck  <zadeck@naturalbridge.com>
1068         * dce.c (delete_unmarked_insns): Reversed the order that insns are
1069         examined before deleting them.
1070         
1071 2009-01-16  Richard Earnshaw  <rearnsha@arm.com>
1073         * function.c (aggregate_value_p): Correctly extract the function
1074         type from CALL_EXPR_FN lookup.
1076 2009-01-16  Hariharan Sandanagobalane  <hariharan@picochip.com>
1078         * config/picochip/picochip.c (picochip_override_options): Revert
1079         CFI asm flag disable commited previously.
1081 2009-01-15  Sebastian Pop  <sebastian.pop@amd.com>
1082             Tobias Grosser  <tobi.grosser@amd.com>
1083             Jan Sjodin  <jan.sjodin@amd.com>
1085         * graphite.c (scan_tree_for_params): On substractions negate
1086         all the coefficients of the term.
1087         (clast_to_gcc_expression_red): New.  Handle reduction expressions
1088         of more than two operands.
1089         (clast_to_gcc_expression): Call clast_to_gcc_expression_red.
1090         (get_vdef_before_scop): Handle also the case of default definitions.
1092 2009-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
1094         * caller-save.c (add_used_regs_1, add_used_regs): New functions.
1095         (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
1096         Also use them when walking CALL_INSN_FUNCTION_USAGE.
1098 2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1099             Joey Ye  <joey.ye@intel.com>
1101         PR middle-end/37843
1102         * cfgexpand.c (expand_stack_alignment): Don't update stack
1103         boundary nor check incoming stack boundary here.
1104         (gimple_expand_cfg): Update stack boundary and check incoming
1105         stack boundary here.
1107 2009-01-15  Kenneth Zadeck  <zadeck@naturalbridge.com>
1109         * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments.
1110         
1111 2009-01-14  Jakub Jelinek  <jakub@redhat.com>
1113         PR rtl-optimization/38245
1114         * calls.c (expand_call): Add stack arguments to
1115         CALL_INSN_FUNCTION_USAGE even for pure calls (when
1116         ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
1117         in regs and partially in memory or BLKmode arguments.
1118         (emit_library_call_value_1): Add stack arguments to
1119         CALL_INSN_FUNCTION_USAGE even for pure calls (when
1120         ACCUMULATE_OUTGOING_ARGS).
1121         * dce.c: Include tm_p.h.
1122         (find_call_stack_args): New function.
1123         (deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
1124         argument.
1125         (mark_insn): Call find_call_stack_args for CALL_Ps.
1126         (prescan_insns_for_dce): Walk insns backwards in bb rather than
1127         forwards.  Allocate and free arg_stores bitmap if needed, pass it
1128         down to deletable_insn_p, don't mark stores set in arg_stores
1129         bitmap, clear the bitmap at the beginning of each bb.
1130         * Makefile.in (dce.o): Depend on $(TM_P_H).
1132 2009-01-14  Michael Meissner  <gnu@the-meissners.org>
1134         PR target/22599
1135         * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f'
1136         to make sure the insn is a conditional test (bug 22599).  Reformat a
1137         few long lines.
1139 2009-01-14  Sebastian Pop  <sebastian.pop@amd.com>
1141         PR middle-end/38431
1142         * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
1143         (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
1144         (gloog): Do not call cleanup_tree_cfg.
1145         (graphite_transform_loops): Call cleanup_tree_cfg after all 
1146         scops have been code generated.
1148 2009-01-14  Basile Starynkevitch  <basile@starynkevitch.net>
1149         * doc/gty.texi (Invoking the garbage collector): Added new node
1150         and section documenting ggc_collect.
1152 2009-01-14  Richard Guenther  <rguenther@suse.de>
1154         PR tree-optimization/38826
1155         PR middle-end/38477
1156         * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
1157         initialization notes only if we actually emitted a warning.
1158         (intra_create_variable_infos): Add constraints for a result decl
1159         that is passed by hidden reference.
1160         (build_pred_graph): Mark all related variables non-direct on
1161         address-taking.
1163 2009-01-14  Nick Clifton  <nickc@redhat.com>
1165         * ira-conflicts.c: Include addresses.h for the definition of
1166         base_reg_class.
1167         (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS.
1168         * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h.
1170 2009-01-13  Vladimir Makarov  <vmakarov@redhat.com>
1172         PR target/38811
1173         * Makefile.in (ira-lives.o): Add except.h.
1175         * ira-lives.c: Include except.h.
1176         (process_bb_node_lives): Process can_throw_internal.
1178 2009-01-13  Jakub Jelinek  <jakub@redhat.com>
1180         PR rtl-optimization/38774
1181         * combine.c (simplify_set): When undoing cc_use change, don't do
1182         PUT_CODE on the newly created comparison, but instead put back the
1183         old comparison.
1185 2009-01-13  Joseph Myers  <joseph@codesourcery.com>
1187         * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
1188         values.  Remove duplicate arm8 entry.
1190 2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
1192         PR tree-optimization/38786
1193         * graphite.c (expand_scalar_variables_ssa_name): New, outlined from
1194         the SSA_NAME case of expand_scalar_variables_expr.
1195         Set the type of an expression to the type of its assign statement.
1196         (expand_scalar_variables_expr): Also gather the scalar computation
1197         used to index the memory access.  Do not pass loop_p.
1198         Fix comment.  Stop recursion on tcc_constant or tcc_declaration.
1199         (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
1200         the gimple_stmt_iterator where it inserts new code.
1201         Do not pass loop_p.
1202         (copy_bb_and_scalar_dependences): Do not pass loop_p.
1203         (translate_clast): Update call to copy_bb_and_scalar_dependences.
1205 2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
1207         * graphite.h (debug_value): Removed.
1208         * graphite.c (debug_value): Removed.
1210 2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
1212         * config/arm/arm.c (output_move_double): Don't synthesize thumb-2
1213         ldrd/strd with two 32-bit instructions.
1215 2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
1217         * config/arm/arm.c (struct processors): Pass for speed down into
1218         cost helper functions.
1219         (const_ok_for_op): Handle COMPARE and inequality nodes.
1220         (arm_rtx_costs_1): Rewrite.
1221         (arm_size_rtx_costs): Update prototype.
1222         (arm_rtx_costs): Pass speed down to helper functions.
1223         (arm_slowmul_rtx_costs): Rework cost calculations.
1224         (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
1225         (arm_9e_rtx_costs): Likewise.
1227 2009-01-13  Uros Bizjak  <ubizjak@gmail.com>
1229         * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
1230         relocations of local symbols wider than UNITS_PER_WORD are not valid.
1231         (alpha_legitimize_address): Do not split local symbols wider than
1232         UNITS_PER_WORD into HIGH/LO_SUM parts.
1234 2009-01-13  Danny Smith  <dannysmith@users.sourceforge.net>
1236         PR bootstrap/38580
1237         * gcc.c (process_command): Replace call to execvp with calls
1238         to pex_one and exit.
1240 2009-01-03  Anatoly Sokolov  <aesok@post.ru>
1242         PR target/29141
1243         * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
1244         * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
1245         variant for devices with 3-byte PC.
1246         (__tablejump_elpm__) : New.
1248 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
1250         PR c/32041
1251         * c-parser.c (c_parser_postfix_expression): Allow `->' in
1252         offsetof member-designator, handle it as `[0].'.
1254 2009-01-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1256         * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
1257         function when not using named sections on targets with named sections
1258         if branch distance is less than 262132.
1260 2009-01-12  Richard Earnshaw  <rearnsha@arm.com>
1262         * combine.c (combine_instructions):  Recompute
1263         optimize_this_for_speed_p  for each BB in the main combine loop.
1265 2009-01-12  Tomas Bily  <tbily@suse.cz>
1267         PR middlend/38385
1268         * tree-loop-distribution.c (prop_phis): New function.
1269         (generate_builtin): Call prop_phis.
1270         * testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
1272 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
1274         PR tree-optimization/38807
1275         * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
1276         gimple_visited_p unless stmt is GIMPLE_ASSIGN.
1278 2009-01-11  Adam Nemet  <anemet@caviumnetworks.com>
1280         * expmed.c (store_bit_field_1): Properly truncate the paradoxical
1281         subreg of op0 to the original op0.
1283 2009-01-11  Laurent GUERBY  <laurent@guerby.net>
1285         * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
1286         
1287 2009-01-11  Markus Schoepflin  <markus.schoepflin@comsoft.de>
1289         PR debug/7055
1290         * gcc/mips-tfile.c (parse_def): Fix parsing of def strings
1291         starting with digits.
1293 2009-01-10  Jakub Jelinek  <jakub@redhat.com>
1295         PR target/38695
1296         * config/arm/arm.c (arm_is_long_call_p): Don't call
1297         arm_function_in_section_p if decl isn't a FUNCTION_DECL.
1299 2009-01-09  Steven Bosscher  <steven@gcc.gnu.org>
1301         * regrename.c (regrename_optimize): Fix dumping.
1302         (find_oldest_value_reg): Preserve REG_POINTER.
1303         (copy_hardreg_forward_1): Likewise.
1305 2009-01-09  Diego Novillo  <dnovillo@google.com>
1307         * gimple.h (struct gimple_statement_base) <uid>: Document
1308         the restrictions on its use.
1309         (gimple_uid): Tidy.
1310         (gimple_set_uid): Tidy.
1312 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
1314         * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
1315         zero guard even if align_bytes != 0 and count is smaller than
1316         size_needed.
1318 2008-01-09  Vladimir Makarov  <vmakarov@redhat.com>
1320         PR rtl-optimization/38495
1321         * ira-emit.c (print_move_list, ira_debug_move_list): New functions.
1322         (add_range_and_copies_from_move_list): Print all added ranges.
1323         Add ranges to memory optimized destination.
1325 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
1327         PR target/38686
1328         PR target/38708
1329         * config/i386/i386.c (override_options): Reject
1330         -mstringop-strategy=rep_8byte with -m32.
1331         (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed
1332         to 1.  Do count comparison against epilogue_size_needed at compile
1333         time even when count_exp was constant forced into register.  For
1334         size_needed don't jump to epilogue, instead just avoid aligning
1335         and invoke the body algorithm.  If need_zero_guard, add zero guard
1336         even if count is non-zero, but smaller than size_needed + number of
1337         bytes that could be stored for alignment.
1338         (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed
1339         to 1.  If need_zero_guard, add zero guard even if count is non-zero,
1340         but smaller than size_needed + number of bytes that could be stored
1341         for alignment.  Compare size_needed with epilogue_size_needed instead
1342         of desired_align - align, don't adjust size_needed, pass
1343         epilogue_size_needed to the epilogue expanders.
1345         PR c/35742
1346         * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR.
1348 2009-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1350         * pa.c (last_address): Change to unsigned.
1351         (update_total_code_bytes): Change argument to unsigned.  Don't
1352         check if insn addresses are set.
1353         (pa_output_function_epilogue): Set last_address to UINT_MAX if insn
1354         addresses are not set.
1355         (pa_asm_output_mi_thunk): Handle wrap when updating last_address.
1357 2009-01-09  Nick Clifton  <nickc@redhat.com>
1359         * config/sh/symbian.c: Replace uses of DECL_INLINE with
1360         DECL_DECLARED_INLINE_P.
1362 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
1364         PR middle-end/38347
1365         * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of
1366         GET_MODE (op0) in operand_subword_force calls.
1368         PR middle-end/38771
1369         * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR,
1370         fold_convert arg0 operands to TREE_TYPE (op0) first.
1372 2009-01-08  Vladimir Makarov  <vmakarov@redhat.com>
1374         * params.def (ira-max-conflict-table-size): Decrease default value
1375         to 1000.
1377 2009-01-08  Jakub Jelinek  <jakub@redhat.com>
1379         PR tree-optimization/37031
1380         * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
1381         on parameter_set.
1382         (build_access_matrix): Reserve correct size for AM_MATRIX vector,
1383         allocate it using gc instead of heap, use VEC_quick_push instead of
1384         VEC_safe_push.
1385         * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
1386         instead of heap, use VEC_quick_push instead of VEC_safe_push.
1387         * tree-data-ref.h (struct access_matrix): Change matrix to gc
1388         allocated vector from heap allocated.
1389         * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
1390         * tree-loop-linear.c (linear_transform_loops): Allocate nest
1391         vector only after perfect_loop_nest_depth call.
1393 2009-01-08  Sebastian Pop  <sebastian.pop@amd.com>
1394             Jan Sjodin  <jan.sjodin@amd.com>
1396         PR tree-optimization/38559
1397         * graphite.c (debug_value, copy_constraint,
1398         swap_constraint_variables, scale_constraint_variable, ): New.
1399         (get_lower_bound, get_upper_bound): Removed.
1400         (graphite_trans_bb_strip_mine): Clean up this code that works
1401         only for constant number of iterations.  Fully copy upper and
1402         lower bound constraints, not only the constant part of them.
1403         * graphite.h (debug_value): Declared.
1405 2009-01-08  Ira Rosen  <irar@il.ibm.com>
1407         PR tree-optimization/37194
1408         * tree-vect-transform.c (vect_estimate_min_profitable_iters):
1409         Don't add the cost of cost model guard in prologue to scalar 
1410         outside cost in case of known number of iterations.
1412 2009-01-07  Nathan Froyd  <froydnj@codesourcery.com>
1413             Alan Modra  <amodra@bigpond.net.au>
1415         * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for
1416         non-word-aligned REG+CONST addressing.
1418 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
1420         PR target/38706
1421         * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call
1422         free_after_compilation when outputting a thunk.
1423         (alpha_output_mi_thunk_osf): Assert that we are processing a thunk.
1424         Do not call free_after_compilation here.
1426 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
1428         * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE.
1429         (ix86_valid_target_attribute_inner_p): Ditto.
1431 2009-01-07  Jan Sjodin  <jan.sjodin@amd.com>
1433         PR tree-optimization/38492
1434         PR tree-optimization/38498
1435         * tree-check.c (operator_is_linear, scev_is_linear_expression): New.
1436         * tree-chrec.h (scev_is_linear_expression): Declared.
1437         * graphite.c (graphite_cannot_represent_loop_niter): New.
1438         (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter.
1439         (graphite_loop_normal_form): Use gcc_assert.
1440         (scan_tree_for_params): Use CASE_CONVERT.
1441         (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New.
1442         (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes.
1443         Use gcc_assert.  Discard scops that contain unhandled cases.
1444         (build_scop_conditions): Return a boolean status for unhandled cases.
1445         (strip_mine_profitable_p): Print the loop number, not its depth.
1446         (is_interchange_valid): Pass the depth of the loop nest, don't
1447         recompute it wrongly.
1448         (graphite_trans_bb_block): Same.
1449         (graphite_trans_bb_block): Print tentative of loop blocking.
1450         (graphite_trans_scop_block): Do not print that the loop has been
1451         blocked.
1452         (graphite_transform_loops): Do not handle scops that contain condition
1453         scalar phi nodes.
1455 2009-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1457         AVX Programming Reference (December, 2008)
1458         * config/i386/avxintrin.h (_mm256_stream_si256): New.
1459         (_mm256_stream_pd): Likewise.
1460         (_mm256_stream_ps): Likewise.
1462         * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256,
1463         IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256.
1464         (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI.
1465         (bdesc_special_args): Add __builtin_ia32_movntdq256,
1466         __builtin_ia32_movntpd256 and __builtin_ia32_movntps256.
1467         (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI.
1468         (ix86_expand_special_args_builtin): Likewise.
1470         * config/i386/sse.md (AVXMODEDI): New.
1471         (avx_movnt<mode>): Likewise.
1472         (avx_movnt<mode>): Likewise.
1473         (<sse>_movnt<mode>): Remove AVX support.
1474         (sse2_movntv2di): Likewise.
1476 2009-01-07  Richard Guenther  <rguenther@suse.de>
1478         PR middle-end/38751
1479         * fold-const.c (extract_muldiv): Remove obsolete comment.
1480         (fold_plusminus_mult_expr): Undo MINUS_EXPR
1481         to PLUS_EXPR canonicalization for the canonicalization.
1483 2009-01-07  Gerald Pfeifer  <gerald@pfeifer.com>
1485         * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit
1486         hosted cross-compilers generating less efficient code.
1488 2009-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
1490         * function.h (rtl_data): Add a dbr_scheduled_p field.
1491         * reorg.c (dbr_schedule): Set it.
1492         (gate_handle_delay_slots): Check it.
1493         * config/mips/mips.c (mips_base_delayed_branch): Delete.
1494         (mips_reorg): Check flag_delayed_branch instead of
1495         mips_base_delayed_branch.
1496         (mips_override_options): Don't set mips_base_delayed_branch
1497         or flag_delayed_branch.
1499 2009-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
1501         PR rtl-optimization/38426.
1502         * ira.c (ira): Set current_function_is_leaf earlier.
1504 2009-01-06  Jakub Jelinek  <jakub@redhat.com>
1506         PR rtl-optimization/38722
1507         * combine.c (try_combine): Don't modify PATTERN (i3) and notes
1508         too early, only set a flag and modify after last possible
1509         undo_all point.
1511 2009-01-06  Janis Johnson  <janis187@us.ibm.com>
1513         PR c/34252
1514         * ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN.
1515         * real.c (decimal_single_format): Correct values of emin and emax.
1516         (decimal_double_format): Ditto.
1517         (decimal_quad_format): Ditto.
1518         * c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust
1519         computation of DECnn_MIN and DECnn_MAX for corrected values of
1520         emin and emax.  Define __DECnn_SUBNORMAL_MIN__ instead of
1521         __DECnn_MIN__, and adjust its computation for the corrected value
1522         of emin.
1524 2009-01-06  Jan Hubicka  <jh@suse.cz>
1526         PR target/38744
1527         * config/i386/i386.c (ix86_expand_call): Use ARRAY_SIZE.
1529 2009-01-06  Gerald Pfeifer  <gerald@pfeifer.com>
1531         * doc/contrib.texi (Contributors): Slightly adjust the end note.
1532         Add Robert Clark to the list of testers.
1534 2009-01-06  Jan Hubicka  <jh@suse.cz>
1535             Kai Tietz  <kai.tietz@onevision.com>
1537         * config/i386/i386.md (*msabi_syvabi): Add SSE regs clobbers.
1538         * config/i386/i386.c (ix86_expand_call): Add clobbers.
1540 2009-01-06  Jan Hubicka  <jh@suse.cz>
1541             Kai Tietz  <kai.tietz@onevision.com>
1543         * config/i386/i386.h (CONDITIONAL_CALL_USAGE): SSE regs are not used
1544         for w64 ABI.
1545         * config/i386/i386.c (struct ix86_frame): Add padding0 and nsseregs.
1546         (ix86_nsaved_regs): Count only general purpose regs.
1547         (ix86_nsaved_sseregs): New.
1548         (ix86_compute_frame_layout): Update nsseregs; set preferred alignment
1549         to 16 for w64; compute padding and size of sse reg save area.
1550         (ix86_emit_save_regs, ix86_emit_save_regs_using_mov): Save only
1551         general purpose regs.
1552         (ix86_emit_save_sse_regs_using_mov): New.
1553         (ix86_expand_prologue): Save SSE regs if needed.
1554         (ix86_emit_restore_regs_using_mov): Use only general purpose regs.
1555         (ix86_emit_restore_sse_regs_using_mov): New.
1556         (ix86_expand_epilogue): Save SSE regs if needed.
1558 2009-01-06  Jan Hubicka  <jh@suse.cz>
1559             Kai Tietz  <kai.tietz@onevision.com>
1561         * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Enable for MSABI
1562         * config/i386/i386.c (init_cumulative_args): Disallow calls of MSABI
1563         functions when accumulate outgoing args is off.
1565 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1567         PR bootstrap/38742
1568         * ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING
1569         before using pseudos_have_intersected_live_ranges_p.
1571         * ira-int.h (ira_assert): Always define.
1573 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1575         AVX Programming Reference (December, 2008)
1576         * config/i386/avxintrin.h (_mm_permute2_pd): Removed.
1577         (_mm256_permute2_pd): Likewise.
1578         (_mm_permute2_ps): Likewise.
1579         (_mm256_permute2_ps): Likewise.
1580         * config/i386/i386.md (UNSPEC_VPERMIL2): Likewise.
1581         * config/i386/sse.md (avx_vpermil2<mode>3): Likewise.
1583         * config/i386/i386.c (ix86_builtins): Remove
1584         IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS,
1585         IX86_BUILTIN_VPERMIL2PD256 and IX86_BUILTIN_VPERMIL2PS256.
1586         (ix86_builtin_type): Remove V8SF_FTYPE_V8SF_V8SF_V8SI_INT,
1587         V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT
1588         and V2DF_FTYPE_V2DF_V2DF_V2DI_INT.
1589         (bdesc_args): Remove __builtin_ia32_vpermil2pd,
1590         __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256 and
1591         __builtin_ia32_vpermil2ps256.
1592         (ix86_init_mmx_sse_builtins): Updated.
1593         (ix86_expand_args_builtin): Likewise.
1595 2009-01-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1597         * pa.c (output_call): Relocate non-jump insns in the delay slot of
1598         long absolute calls when generating PA 2.0 code.
1600 2009-01-05  Vladimir Makarov  <vmakarov@redhat.com>
1602         PR rtl-optimization/38583
1603         * params.h (IRA_MAX_CONFLICT_TABLE_SIZE): New macro.
1605         * params.def (ira-max-conflict-table-size): New.
1607         * doc/invoke.texi (ira-max-conflict-table-size): Decribe.
1608         
1609         * ira.h (ira_conflicts_p): New external definition.
1610         
1611         * ira-conflicts.c (build_conflict_bit_table): Do not build too big
1612         table.  Report this.  Return result of building.
1613         (ira_build_conflicts): Use ira_conflicts_p.  Check result of
1614         building conflict table.
1616         * ira-color.c (fast_allocation): Use num instead of ira_allocnos_num.
1617         (ira_color): Use ira_conflicts_p.
1618         
1619         * global.c: Include ira.h.
1620         (pseudo_for_reload_consideration_p, build_insn_chain): Use
1621         ira_conflicts_p.
1623         * Makefile.in (global.o): Add ira.h.
1624         
1625         * ira-build.c (mark_all_loops_for_removal,
1626         propagate_some_info_from_allocno): New.
1627         (remove_unnecessary_allocnos): Call
1628         propagate_some_info_from_allocno.
1629         (remove_low_level_allocnos): New.
1630         (remove_unnecessary_regions): Add parameter.  Call
1631         mark_all_loops_for_removal and remove_low_level_allocnos.  Pass
1632         parameter to remove_unnecessary_regions.
1633         (ira_build): Remove all regions but root if the conflict table was
1634         not built.  Update conflict hard regs for allocnos crossing calls.
1636         * ira.c (ira_conflicts_p): New global.
1637         (ira): Define and use ira_conflicts_p.
1639         * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
1640         count_spilled_pseudo, find_reg, alter_reg, finish_spills,
1641         emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p.
1642         
1643 2009-01-06  Ben Elliston  <bje@au.ibm.com>
1645         * gengtype-lex.l (YY_NO_INPUT): Define.
1647 2009-01-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1649         PR c/34911
1650         * c-common.c (handle_vector_size_attribute): Also reject
1651         BOOLEAN_TYPE types.
1653 2009-01-05  Sebastian Pop  <sebastian.pop@amd.com>
1655         PR tree-optimization/38492
1656         * graphite.c (rename_map_elt, debug_rename_elt,
1657         debug_rename_map_1, debug_rename_map, new_rename_map_elt,
1658         rename_map_elt_info, eq_rename_map_elts,
1659         get_new_name_from_old_name, bb_in_sese_p): Moved around.
1660         (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use.
1661         (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb.
1662         (sese_build_livein_liveouts): New.
1663         (new_sese, free_sese): New.
1664         (new_scop): Call new_sese.
1665         (free_scop): Call free_sese.
1666         (rename_variables_from_edge, rename_phis_end_scop): Removed.
1667         (register_old_new_names): Renamed register_old_and_new_names.
1668         (register_scop_liveout_renames, add_loop_exit_phis,
1669         insert_loop_close_phis, struct igp,
1670         default_liveout_before_guard, add_guard_exit_phis,
1671         insert_guard_phis, copy_renames): New.
1672         (translate_clast): Call insert_loop_close_phis and insert_guard_phis.
1673         (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge.
1674         (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts.
1675         (scop_adjust_phis_for_liveouts): New.
1676         (gloog): Call scop_adjust_phis_for_liveouts.
1678         * graphite.h (struct sese): Documented.  Added fields liveout,
1679         num_ver and livein.
1680         (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New.
1681         (new_sese, free_sese, sese_build_livein_liveouts): Declared.
1682         (struct scop): Added field liveout_renames.
1683         (SCOP_LIVEOUT_RENAMES): New.
1685 2009-01-05  Harsha Jagasia  <harsha.jagasia@amd.com>
1687         PR tree-optimization/38510
1688         * graphite.c (recompute_all_dominators): Call mark_irreducible_loops.
1689         (translate_clast): Call recompute_all_dominators before
1690         graphite_verify.
1691         (gloog): Call recompute_all_dominators before graphite_verify.
1693 2009-01-05  Harsha Jagasia  <harsha.jagasia@amd.com>
1694             Jan Sjodin  <jan.sjodin@amd.com>
1696         PR tree-optimization/38500
1697         * graphite.c (create_sese_edges): Call fix_loop_structure after
1698         splitting blocks.
1700 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
1702         * config.gcc: Add m32r*-*-rtems*.
1703         * config/m32r/rtems.h: New file.
1705 2009-01-05  Ben Elliston  <bje@au.ibm.com>
1707         * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
1708         (.po.pox): Likewise.
1709         (po/gcc.pot): Likewise.
1711 2009-01-04  David S. Miller  <davem@davemloft.net>
1713         * config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete.
1714         (STARTING_FRAME_OFFSET): Always set to zero.
1716 2009-01-04  Richard Sandiford  <rdsandiford@googlemail.com>
1718         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Add commentary.
1719         * tree-cfg.c (verify_gimple_assign_binary): Allow shifts of
1720         fixed-point types, and vectors of the same.
1722 2009-01-04  Richard Sandiford  <rdsandiford@googlemail.com>
1724         * config/mips/sync.md (*mb_barrier): Rename to...
1725         (*memory_barrier): ...this.
1727 2009-01-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
1729         * doc/extend.texi (Function Attributes): Move @cindex after @item
1730         for 'artificial' and 'flatten'. Fix grammar for 'externally_visible'
1731         and put in alphabetical order. Fix 'target' name and put in order.
1732         * doc/invoke.texi (-Wstrict-null-sentinel, -fipa-matrix-reorg): Fix
1733         typos.
1735 2009-01-04  Uros Bizjak  <ubizjak@gmail.com>
1737         * config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB.
1738         (memory_barrier): Expand as unspec instead of unspec_volatile.
1739         Remove mem:BLK from insn operands.  Use Pmode scratch register.
1740         (*memory_barrier): Define as unspec instead of unspec_volatile.
1741         Use (match_dup 0) as input operand.
1743         * config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR.
1744         * config/sparc/sync.md (memory_barrier): Expand as unspec instead of
1745         unspec_volatile.  Remove mem:BLK from insn operands.  Use Pmode
1746         scratch register.  Remove operand 1.
1747         (*stbar): Define as unspec instead of unspec_volatile.
1748         Use (match_dup 0) as input operand, remove (const_int 8).
1749         (*membar): Define as unspec instead of unspec_volatile.
1750         Use (match_dup 0) as input operand, remove input operand 2.
1752         * config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW.
1753         (memory_barrier): Expand as unspec instead of unspec_volatile.
1754         Remove mem:BLK from insn operands.  Use Pmode scratch register.
1755         (*memory_barrier): Define as unspec instead of unspec_volatile.
1756         Use (match_dup 0) as input operand.
1758         * config/ia64/sync.md (memory_barrier): Redefine as expander pattern.
1759         Remove mem:BLK from insn operands.  Use Pmode scratch register.
1760         Set volatile flag on operand 0.
1761         (*memory_barrier): New insn pattern.
1763         * config/rs6000/sync.md (memory_barrier): Remove mem:BLK from
1764         insn operands.
1765         (*memory_barrier): Use (match_dup 0) as input operand.
1767         * config/mips/sync.md (memory_barrier): Redefine as expander pattern.
1768         Remove mem:BLK from insn operands.  Use Pmode scratch register.
1769         Set volatile flag on operand 0.
1770         (*mb_internal): New insn pattern.
1772         * config/alpha/sync.md (*memory_barrier): Rename from *mb_internal.
1774 2009-01-04  Steven Bosscher  <steven@gcc.gnu.org>
1776         PR middle-end/38586
1777         * function.c (struct temp_slot): Move to the section of the file
1778         that deals with temp slots.  Remove field 'address'.
1779         (temp_slot_address_table): New hash table of address -> temp slot.
1780         (struct temp_slot_address_entry): New struct, items for the table.
1781         (temp_slot_address_compute_hash, temp_slot_address_hash,
1782         temp_slot_address_eq, insert_temp_slot_address): Support functions
1783         for the new table.
1784         (find_temp_slot_from_address): Rewrite to use the new hash table.
1785         (remove_unused_temp_slot_addresses): Remove addresses of temp
1786         slots that have been made available.
1787         (remove_unused_temp_slot_addresses_1): Call-back for htab_traverse,
1788         worker function for remove_unused_temp_slot_addresses.
1789         (assign_stack_temp_for_type): Don't clear the temp slot address list.
1790         Add the temp slot address to the address -> temp slot map.
1791         (update_temp_slot_address): Update via insert_temp_slot_address.
1792         (free_temp_slots): Call remove_unused_temp_slot_addresses.
1793         (pop_temp_slots): Likewise.
1794         (init_temp_slots): Allocate the address -> temp slot map, or empty
1795         the map if it is already allocated.
1796         (prepare_function_start): Initialize temp slot processing.
1798 2009-01-04  Steven Bosscher  <steven@gcc.gnu.org>
1800         PR middle-end/38584
1801         * cfgexpand.c (estimate_stack_frame_size): Simplify the estimate:
1802         Calculate the size of all stack vars assuming no packing of stack
1803         vars will happen, replacing a quadratic algorithm with a linear one.
1805 2009-01-03  Jakub Jelinek  <jakub@redhat.com>
1807         PR target/38707
1808         * expmed.c (store_bit_field_1): Don't modify op0 if movstrict insn
1809         can't be used.
1811 2009-01-03  Diego Novillo  <dnovillo@google.com>
1813         * doc/contrib.texi: Update contributions.
1815 2009-01-03  Jakub Jelinek  <jakub@redhat.com>
1817         PR c++/38705
1818         * builtins.c (fold_builtin_memory_op): Give up if either operand
1819         is volatile.  Set srctype or desttype to non-qualified version
1820         of the other type.
1822         PR c/38700
1823         * builtins.c (fold_builtin_expect): Only check DECL_WEAK for VAR_DECLs
1824         and FUNCTION_DECLs.
1826 2009-01-02  Kenneth Zadeck  <zadeck@naturalbridge.com>
1828         PR rtl-optimization/35805
1829         * df-problems.c (df_lr_finalize): Add recursive call to resolve lr
1830         problem if fast dce is able to remove any instructions.
1831         * dce.c (dce_process_block): Fix dump message.
1832         
1833 2009-01-02  Mark Mitchell  <mark@codesourcery.com>
1835         PR 33649
1836         * tree-ssa-pre.c (compute_antic): Correct loop bounds.
1838 2009-01-02  Jakub Jelinek  <jakub@redhat.com>
1840         PR middle-end/38690
1841         * tree-flow.h (op_code_prio, op_prio): New prototypes.
1842         * tree-pretty-print.c (op_code_prio): New function.
1843         (op_prio): No longer static.  Use op_code_prio.
1844         * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs):
1845         Use op_prio and op_code_prio to determine if () should be
1846         printed around operand(s) or not.
1848         * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs,
1849         dump_gimple_call, dump_gimple_switch, dump_gimple_cond,
1850         dump_gimple_label, dump_gimple_try, dump_symbols, dump_gimple_phi,
1851         dump_gimple_mem_ops, dump_bb_header, dump_bb_end, pp_cfg_jump): Use
1852         pp_character instead of pp_string for single letter printing.
1854 2009-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1856         * doc/extend.texi: Fix '#pragma GCC option' typo.
1858 2009-01-02  Richard Guenther  <rguenther@suse.de>
1860         * doc/install.texi (--enable-checking): Mention different
1861         default for stage1.
1862         (--enable-stage1-checking): Document.
1864 2009-01-01  Andrew Pinski  <pinskia@gmail.com>
1866         PR middle-end/30142
1867         * tree-cfg.c (verify_expr): Add INDIRECT_REF case.  Change MODIFY_EXPR
1868         case to be an error.
1870 2009-01-02  Ben Elliston  <bje@au.ibm.com>
1872         * config/fp-bit.h (pack_d): Constify argument.
1873         * config/fp-bit.c (makenan): Constify return type. Remove casts.
1874         (isnan): Constify argument.
1875         (isinf): Likewise.
1876         (iszero): Likewise.
1877         (pack_d): Likewise.
1878         (_fpadd_parts): Constify return type.
1879         (_fpmul_parts): Likewise.
1880         (_fpdiv_parts): Likewise.
1882 2009-01-01  Jakub Jelinek  <jakub@redhat.com>
1884         PR c/36489
1885         * c-typeck.c (add_pending_init): Add IMPLICIT argument.  Only
1886         warn about overwriting initializer with side-effects or
1887         -Woverride-init if !IMPLICIT.
1888         (output_init_element): Likewise.  Pass IMPLICIT down to
1889         add_pending_init.
1890         (process_init_element): Add IMPLICIT argument.  Pass it down
1891         to output_init_element.
1892         (push_init_element, pop_init_level, set_designator): Adjust
1893         process_init_element callers.
1894         (set_nonincremental_init, set_nonincremental_init_from_string):
1895         Adjust add_pending_init callers.
1896         (output_pending_init_elements): Adjust output_init_element callers.
1897         * c-tree.h (process_init_element): Adjust prototype.
1898         * c-parser.c (c_parser_initelt, c_parser_initval): Adjust
1899         process_init_element callers.