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