OSDN Git Service

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