OSDN Git Service

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