re PR rtl-optimization/41862 (-fgcse-sm causes bootstrap-debug comparison failures)
[platform/upstream/gcc.git] / gcc / ChangeLog
1 2009-01-03  Steven Bosscher  <steven@gcc.gnu.org>
2
3         PR rtl-optimization/41862
4         * store-motion.c (store_killed_in_insn, compute_store_table,
5         remove_reachable_equiv_notes, replace_store_insn,
6         build_store_vectors): Ignore all DEBUG_INSNs.
7
8 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
9
10         PR lto/41564
11         * common.opt: Add dumpdir.
12
13         * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
14         isn't specified.
15         (option_map): Add --dumpdir.
16
17         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
18
19         * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
20
21         * opts.c (decode_options): Try dump_dir_name first if
22         dump_base_name isn't an absolute path.
23         (common_handle_option): Handle OPT_dumpdir.
24
25         * toplev.c (dump_dir_name): New.
26         (print_switch_values): Also ignore -dumpdir.
27
28         * toplev.h (dump_dir_name): New.
29
30 2010-01-03  Richard Guenther  <rguenther@suse.de>
31
32         PR tree-optimization/42589
33         * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
34         double-word expansion of bswap32.
35
36 2010-01-03  Steven Bosscher  <steven@gcc.gnu.org>
37
38         * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
39         with BLOCK_FOR_INSN.
40         * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
41         * ifcvt.c (noce_get_alt_condition, noce_try_abs,
42         noce_process_if_block): Likewise.
43         * gcse.c (compute_local_properties, insert_expr_in_table,
44         insert_set_in_table, canon_list_insert, find_avail_set,
45         pre_insert_copy_insn): Likewise.
46
47         * basic-block.h (BLOCK_NUM): Move from here...
48         * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
49
50 2010-01-03  Richard Guenther  <rguenther@suse.de>
51
52         PR tree-optimization/42438
53         * tree-ssa-pre.c (struct bb_bitmap_sets): Add
54         contains_may_not_return_call flag.
55         (BB_MAY_NOTRETURN): New.
56         (valid_in_sets): Trapping nary operations are not valid
57         in blocks that may not return.
58         (insert_into_preds_of_block): Remove check for trapping
59         expressions.
60         (compute_avail): Compute also BB_MAY_NOTRETURN.
61
62 2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
63
64         * doc/invoke.texi: Add 2010 to copyright years.
65
66 2010-01-03  Eric Botcazou  <ebotcazou@adacore.com>
67
68         * config/sparc/sparc.c: Fix formatting nits.
69
70 2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
71             Alexander Monakov  <amonakov@ispras.ru>
72
73         * doc/invoke.texi (Optimize Options): Reword introduction a bit.
74
75 2010-01-02  Richard Guenther  <rguenther@suse.de>
76
77         PR middle-end/42577
78         * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
79         (simplify_switch_using_ranges): Mark to be removed edges
80         as non-executable.
81
82 2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
83
84         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
85
86         * collect2.c (scan_libraries): Add missing argument in call to
87         scan_prog_file.
88
89 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
90
91         PR target/42448
92         * config/alpha/predicates.md (aligned_memory_operand): Return false
93         for CQImode.
94         (unaligned_memory_operand): Return true for CQImode.
95         * config/alpha/alpha.c (get_aligned_mem): Assert that location
96         doesn not cross aligned SImode word boundary.
97
98 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
99
100         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
101         Remove.
102         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
103         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
104
105 2010-01-02  Richard Guenther  <rguenther@suse.de>
106
107         PR lto/41597
108         * toplev.c (compile_file): Emit LTO marker properly.  Change
109         it to __gnu_lto_v1.
110         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
111
112 2010-01-01  Richard Guenther  <rguenther@suse.de>
113
114         PR debug/42455
115         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
116
117 2010-01-01  Richard Guenther  <rguenther@suse.de>
118
119         PR c/42570
120         * c-decl.c (grokdeclarator): For zero-size arrays force
121         structural equality checks as layout_type does.
122
123 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
124
125         * builtins.c: Update copyright to 2010.
126
127 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
128
129         PR lto/42531
130         * lto-streamer-out.c (produce_asm): Revert the last change.
131         (copy_function): Likewise.
132
133         * lto-streamer.c (lto_get_section_name): Skip any leading
134         asterisk in name.
135
136 2010-01-01  Richard Guenther  <rguenther@suse.de>
137
138         PR middle-end/42559
139         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
140         for LABEL_DECLs.
141
142 \f
143 Copyright (C) 2010 Free Software Foundation, Inc.
144
145 Copying and distribution of this file, with or without modification,
146 are permitted in any medium without royalty provided the copyright
147 notice and this notice are preserved.
148 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
149
150         PR target/42448
151         * config/alpha/predicates.md (aligned_memory_operand): Return false
152         for CQImode.
153         (unaligned_memory_operand): Return true for CQImode.
154         * config/alpha/alpha.c (get_aligned_mem): Assert that location
155         doesn not cross aligned SImode word boundary.
156
157 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
158
159         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
160         Remove.
161         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
162         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
163
164 2010-01-02  Richard Guenther  <rguenther@suse.de>
165
166         PR lto/41597
167         * toplev.c (compile_file): Emit LTO marker properly.  Change
168         it to __gnu_lto_v1.
169         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
170
171 2010-01-01  Richard Guenther  <rguenther@suse.de>
172
173         PR debug/42455
174         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
175
176 2010-01-01  Richard Guenther  <rguenther@suse.de>
177
178         PR c/42570
179         * c-decl.c (grokdeclarator): For zero-size arrays force
180         structural equality checks as layout_type does.
181
182 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
183
184         * builtins.c: Update copyright to 2010.
185
186 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
187
188         PR lto/42531
189         * lto-streamer-out.c (produce_asm): Revert the last change.
190         (copy_function): Likewise.
191
192         * lto-streamer.c (lto_get_section_name): Skip any leading
193         asterisk in name.
194
195 2010-01-01  Richard Guenther  <rguenther@suse.de>
196
197         PR middle-end/42559
198         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
199         for LABEL_DECLs.
200
201 \f
202 Copyright (C) 2010 Free Software Foundation, Inc.
203
204 Copying and distribution of this file, with or without modification,
205 are permitted in any medium without royalty provided the copyright
206 notice and this notice are preserved.