Turn on trace in collect2 if needed
[official-gcc.git] / gcc / ChangeLog
blob807a34b258aab20051d76906a32eef899a8fc5c4
1 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3         PR lto/42581
4         * collect2.c (main): Turn on trace in collect2 if -v is passed
5         to gcc with LTO.
7 2010-01-03  Jerry Quinn  <jlquinn@optonline.net>
9         * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
10         description of expression operand.
12 2010-01-03  Andrew Jenner  <andrew@codesourcery.com>
14         * configure.ac: Add install-html to target_list for Make-hooks.
15         * configure: Regenerate.
16         * fortran/Make-lang.in (F95_HTMLFILES): New.
17         (fortran.html): Use it.
18         (fortran.install-html): New.
19         * Makefile.in (install-html): Add lang.install-html.
20         * java/Make-lang.in (JAVA_HTMLFILES): New.
21         (java.html): Use it.
22         (java.install-html): New.
23         * objc/Make-lang.in (objc.install-html): New.
24         * objcp/Make-lang.in (obj-c++.install-html): New.
25         * cp/Make-lang.in (c++.install-html): New.
26         * ada/gcc-interface/Make-lang.in (ada.install-html): New.
27         * lto/Make-lang.in (lto.install-html): New.
29 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31         PR lto/42520
32         * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
34 2009-01-03  Steven Bosscher  <steven@gcc.gnu.org>
36         PR rtl-optimization/41862
37         * store-motion.c (store_killed_in_insn, compute_store_table,
38         remove_reachable_equiv_notes, replace_store_insn,
39         build_store_vectors): Ignore all DEBUG_INSNs.
41 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
43         PR lto/41564
44         * common.opt: Add dumpdir.
46         * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
47         isn't specified.
48         (option_map): Add --dumpdir.
50         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
52         * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
54         * opts.c (decode_options): Try dump_dir_name first if
55         dump_base_name isn't an absolute path.
56         (common_handle_option): Handle OPT_dumpdir.
58         * toplev.c (dump_dir_name): New.
59         (print_switch_values): Also ignore -dumpdir.
61         * toplev.h (dump_dir_name): New.
63 2010-01-03  Richard Guenther  <rguenther@suse.de>
65         PR tree-optimization/42589
66         * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
67         double-word expansion of bswap32.
69 2010-01-03  Steven Bosscher  <steven@gcc.gnu.org>
71         * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
72         with BLOCK_FOR_INSN.
73         * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
74         * ifcvt.c (noce_get_alt_condition, noce_try_abs,
75         noce_process_if_block): Likewise.
76         * gcse.c (compute_local_properties, insert_expr_in_table,
77         insert_set_in_table, canon_list_insert, find_avail_set,
78         pre_insert_copy_insn): Likewise.
80         * basic-block.h (BLOCK_NUM): Move from here...
81         * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
83 2010-01-03  Richard Guenther  <rguenther@suse.de>
85         PR tree-optimization/42438
86         * tree-ssa-pre.c (struct bb_bitmap_sets): Add
87         contains_may_not_return_call flag.
88         (BB_MAY_NOTRETURN): New.
89         (valid_in_sets): Trapping nary operations are not valid
90         in blocks that may not return.
91         (insert_into_preds_of_block): Remove check for trapping
92         expressions.
93         (compute_avail): Compute also BB_MAY_NOTRETURN.
95 2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
97         * doc/invoke.texi: Add 2010 to copyright years.
99 2010-01-03  Eric Botcazou  <ebotcazou@adacore.com>
101         * config/sparc/sparc.c: Fix formatting nits.
103 2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
104             Alexander Monakov  <amonakov@ispras.ru>
106         * doc/invoke.texi (Optimize Options): Reword introduction a bit.
108 2010-01-02  Richard Guenther  <rguenther@suse.de>
110         PR middle-end/42577
111         * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
112         (simplify_switch_using_ranges): Mark to be removed edges
113         as non-executable.
115 2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
117         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
119         * collect2.c (scan_libraries): Add missing argument in call to
120         scan_prog_file.
122 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
124         PR target/42448
125         * config/alpha/predicates.md (aligned_memory_operand): Return false
126         for CQImode.
127         (unaligned_memory_operand): Return true for CQImode.
128         * config/alpha/alpha.c (get_aligned_mem): Assert that location
129         doesn not cross aligned SImode word boundary.
131 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
133         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
134         Remove.
135         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
136         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
138 2010-01-02  Richard Guenther  <rguenther@suse.de>
140         PR lto/41597
141         * toplev.c (compile_file): Emit LTO marker properly.  Change
142         it to __gnu_lto_v1.
143         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
145 2010-01-01  Richard Guenther  <rguenther@suse.de>
147         PR debug/42455
148         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
150 2010-01-01  Richard Guenther  <rguenther@suse.de>
152         PR c/42570
153         * c-decl.c (grokdeclarator): For zero-size arrays force
154         structural equality checks as layout_type does.
156 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
158         * builtins.c: Update copyright to 2010.
160 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
162         PR lto/42531
163         * lto-streamer-out.c (produce_asm): Revert the last change.
164         (copy_function): Likewise.
166         * lto-streamer.c (lto_get_section_name): Skip any leading
167         asterisk in name.
169 2010-01-01  Richard Guenther  <rguenther@suse.de>
171         PR middle-end/42559
172         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
173         for LABEL_DECLs.
176 Copyright (C) 2010 Free Software Foundation, Inc.
178 Copying and distribution of this file, with or without modification,
179 are permitted in any medium without royalty provided the copyright
180 notice and this notice are preserved.
181 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
183         PR target/42448
184         * config/alpha/predicates.md (aligned_memory_operand): Return false
185         for CQImode.
186         (unaligned_memory_operand): Return true for CQImode.
187         * config/alpha/alpha.c (get_aligned_mem): Assert that location
188         doesn not cross aligned SImode word boundary.
190 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
192         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
193         Remove.
194         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
195         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
197 2010-01-02  Richard Guenther  <rguenther@suse.de>
199         PR lto/41597
200         * toplev.c (compile_file): Emit LTO marker properly.  Change
201         it to __gnu_lto_v1.
202         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
204 2010-01-01  Richard Guenther  <rguenther@suse.de>
206         PR debug/42455
207         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
209 2010-01-01  Richard Guenther  <rguenther@suse.de>
211         PR c/42570
212         * c-decl.c (grokdeclarator): For zero-size arrays force
213         structural equality checks as layout_type does.
215 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
217         * builtins.c: Update copyright to 2010.
219 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
221         PR lto/42531
222         * lto-streamer-out.c (produce_asm): Revert the last change.
223         (copy_function): Likewise.
225         * lto-streamer.c (lto_get_section_name): Skip any leading
226         asterisk in name.
228 2010-01-01  Richard Guenther  <rguenther@suse.de>
230         PR middle-end/42559
231         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
232         for LABEL_DECLs.
235 Copyright (C) 2010 Free Software Foundation, Inc.
237 Copying and distribution of this file, with or without modification,
238 are permitted in any medium without royalty provided the copyright
239 notice and this notice are preserved.