Remove duplicated ChangeLog entries.
[platform/upstream/gcc.git] / gcc / ChangeLog
1 2010-01-04  Richard Guenther  <rguenther@suse.de>
2
3         * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
4         iterative_hash_* as intended.
5         (vn_reference_compute_hash): Likewise.  Simplify hashing
6         SSA names.
7         (vn_reference_lookup_2): Likewise.
8         (vn_nary_op_compute_hash): Likewise.
9         (vn_phi_compute_hash): Likewise.
10         (expressions_equal_p): Remove strange code.
11         * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
12         (pre_expr_hash): Likewise.  Simplify hashing SSA names.
13         (bitmap_insert_into_set_1): Take value-id as parameter.
14         (add_to_value): Pass it.
15         (bitmap_insert_into_set): Likewise.
16         (bitmap_value_insert_into_set): Likewise.  Remove redundant check.
17
18 2010-01-04  Jakub Jelinek  <jakub@redhat.com>
19
20         PR driver/42442
21         * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
22         (do_self_spec): For switches with SWITCH_IGNORE set set also
23         SWITCH_IGNORE_PERMANENTLY.
24         (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
25         of SWITCH_IGNORE.
26
27 2010-01-04  Rafael Avila de Espindola  <espindola@google.com>
28
29         * lto-streamer-out.c (output_unreferenced_globals): Output the full
30         tree of an unreferenced global var.
31
32 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33
34         PR target/42542
35         * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
36         GTU to GT for V4SI and V2DI.
37
38         * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
39         (umin<mode>3): Removed.
40         (uminv8hi3): New.
41         (uminv4si3): Likewise.
42
43 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
44
45         PR lto/42581
46         * collect2.c (main): Turn on trace in collect2 if -v is passed
47         to gcc with LTO.
48
49 2010-01-03  Jerry Quinn  <jlquinn@optonline.net>
50
51         * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
52         description of expression operand.
53
54 2010-01-03  Andrew Jenner  <andrew@codesourcery.com>
55
56         * configure.ac: Add install-html to target_list for Make-hooks.
57         * configure: Regenerate.
58         * fortran/Make-lang.in (F95_HTMLFILES): New.
59         (fortran.html): Use it.
60         (fortran.install-html): New.
61         * Makefile.in (install-html): Add lang.install-html.
62         * java/Make-lang.in (JAVA_HTMLFILES): New.
63         (java.html): Use it.
64         (java.install-html): New.
65         * objc/Make-lang.in (objc.install-html): New.
66         * objcp/Make-lang.in (obj-c++.install-html): New.
67         * cp/Make-lang.in (c++.install-html): New.
68         * ada/gcc-interface/Make-lang.in (ada.install-html): New.
69         * lto/Make-lang.in (lto.install-html): New.
70
71 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72
73         PR lto/42520
74         * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
75
76 2009-01-03  Steven Bosscher  <steven@gcc.gnu.org>
77
78         PR rtl-optimization/41862
79         * store-motion.c (store_killed_in_insn, compute_store_table,
80         remove_reachable_equiv_notes, replace_store_insn,
81         build_store_vectors): Ignore all DEBUG_INSNs.
82
83 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
84
85         PR lto/41564
86         * common.opt: Add dumpdir.
87
88         * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
89         isn't specified.
90         (option_map): Add --dumpdir.
91
92         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
93
94         * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
95
96         * opts.c (decode_options): Try dump_dir_name first if
97         dump_base_name isn't an absolute path.
98         (common_handle_option): Handle OPT_dumpdir.
99
100         * toplev.c (dump_dir_name): New.
101         (print_switch_values): Also ignore -dumpdir.
102
103         * toplev.h (dump_dir_name): New.
104
105 2010-01-03  Richard Guenther  <rguenther@suse.de>
106
107         PR tree-optimization/42589
108         * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
109         double-word expansion of bswap32.
110
111 2010-01-03  Steven Bosscher  <steven@gcc.gnu.org>
112
113         * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
114         with BLOCK_FOR_INSN.
115         * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
116         * ifcvt.c (noce_get_alt_condition, noce_try_abs,
117         noce_process_if_block): Likewise.
118         * gcse.c (compute_local_properties, insert_expr_in_table,
119         insert_set_in_table, canon_list_insert, find_avail_set,
120         pre_insert_copy_insn): Likewise.
121
122         * basic-block.h (BLOCK_NUM): Move from here...
123         * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
124
125 2010-01-03  Richard Guenther  <rguenther@suse.de>
126
127         PR tree-optimization/42438
128         * tree-ssa-pre.c (struct bb_bitmap_sets): Add
129         contains_may_not_return_call flag.
130         (BB_MAY_NOTRETURN): New.
131         (valid_in_sets): Trapping nary operations are not valid
132         in blocks that may not return.
133         (insert_into_preds_of_block): Remove check for trapping
134         expressions.
135         (compute_avail): Compute also BB_MAY_NOTRETURN.
136
137 2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
138
139         * doc/invoke.texi: Add 2010 to copyright years.
140
141 2010-01-03  Eric Botcazou  <ebotcazou@adacore.com>
142
143         * config/sparc/sparc.c: Fix formatting nits.
144
145 2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
146             Alexander Monakov  <amonakov@ispras.ru>
147
148         * doc/invoke.texi (Optimize Options): Reword introduction a bit.
149
150 2010-01-02  Richard Guenther  <rguenther@suse.de>
151
152         PR middle-end/42577
153         * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
154         (simplify_switch_using_ranges): Mark to be removed edges
155         as non-executable.
156
157 2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
158
159         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
160
161         * collect2.c (scan_libraries): Add missing argument in call to
162         scan_prog_file.
163
164 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
165
166         PR target/42448
167         * config/alpha/predicates.md (aligned_memory_operand): Return false
168         for CQImode.
169         (unaligned_memory_operand): Return true for CQImode.
170         * config/alpha/alpha.c (get_aligned_mem): Assert that location
171         doesn not cross aligned SImode word boundary.
172
173 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
174
175         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
176         Remove.
177         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
178         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
179
180 2010-01-02  Richard Guenther  <rguenther@suse.de>
181
182         PR lto/41597
183         * toplev.c (compile_file): Emit LTO marker properly.  Change
184         it to __gnu_lto_v1.
185         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
186
187 2010-01-01  Richard Guenther  <rguenther@suse.de>
188
189         PR debug/42455
190         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
191
192 2010-01-01  Richard Guenther  <rguenther@suse.de>
193
194         PR c/42570
195         * c-decl.c (grokdeclarator): For zero-size arrays force
196         structural equality checks as layout_type does.
197
198 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
199
200         * builtins.c: Update copyright to 2010.
201
202 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
203
204         PR lto/42531
205         * lto-streamer-out.c (produce_asm): Revert the last change.
206         (copy_function): Likewise.
207
208         * lto-streamer.c (lto_get_section_name): Skip any leading
209         asterisk in name.
210
211 2010-01-01  Richard Guenther  <rguenther@suse.de>
212
213         PR middle-end/42559
214         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
215         for LABEL_DECLs.
216
217 \f
218 Copyright (C) 2010 Free Software Foundation, Inc.
219
220 Copying and distribution of this file, with or without modification,
221 are permitted in any medium without royalty provided the copyright
222 notice and this notice are preserved.