]>
Commit | Line | Data |
---|---|---|
c6d5ff83 MM |
1 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
2 | ||
3 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
4 | update_indexed_address_mem): New predicates. | |
5 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
6 | attribute for load/store instructions. | |
7 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
8 | (movsd_load): Likewise. | |
9 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
10 | (unnamed HI->DI extend define_insn): Likewise. | |
11 | (unnamed SI->DI extend define_insn): Likewise. | |
12 | (unnamed QI->SI extend define_insn): Likewise. | |
13 | (unnamed QI->HI extend define_insn): Likewise. | |
14 | (unnamed HI->SI extend define_insn): Likewise. | |
15 | (unnamed HI->SI extend define_insn): Likewise. | |
16 | (extendsfdf2_fpr): Likewise. | |
17 | (movsi_internal1): Likewise. | |
18 | (movsi_internal1_single): Likewise. | |
19 | (movhi_internal): Likewise. | |
20 | (movqi_internal): Likewise. | |
21 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
22 | attribute for load/store instructions. | |
23 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
24 | instructions. | |
25 | (mov<mode>_softfloat): Likewise. | |
26 | (mov<mode>_hardfloat32): Likewise. | |
27 | (mov<mode>_hardfloat64): Likewise. | |
28 | (mov<mode>_softfloat64): Likewise. | |
29 | (movdi_internal32): Likewise. | |
30 | (movdi_internal64): Likewise. | |
31 | (probe_stack_<mode>): Likewise. | |
32 | ||
33 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
34 | ||
35 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
36 | floating point, and decimal floating point to reload iterator. | |
37 | ||
38 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
39 | return FLOAT_REGS if certain options are used to reduce the number | |
40 | of separate patterns that exist in the file. | |
41 | (wx constraint): Likewise. | |
42 | (wz constraint): Likewise. | |
43 | ||
44 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
45 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
46 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
47 | Initialize the reload functions for 64-bit binary/decimal floating | |
48 | point types. | |
49 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
50 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
51 | create the buffer on the stack to overcome not having a 32-bit | |
52 | load and store. | |
53 | (rs6000_emit_move): Likewise. | |
54 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
55 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
56 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
57 | via xxlxor, just like DFmode 0.0. | |
58 | ||
59 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
60 | define as 1 if we are running on a power7 or newer. | |
61 | (enum r6000_reg_class_enum): Add new constraints. | |
62 | ||
63 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
64 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
65 | with other moves by using conditional constraits (wg). Use LFIWZX | |
66 | and STFIWX for loading SDmode on power7. Use xxlxor to create | |
67 | 0.0f. | |
68 | (movsd splitter): Likewise. | |
69 | (movsd_hardfloat): Likewise. | |
70 | (movsd_softfloat): Likewise. | |
71 | ||
72 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
73 | binary and decimal floating point moves. | |
74 | (fmove_ok): New attributes to combine binary and decimal floating | |
75 | point moves, and to combine power6x (mfpgpr) moves along normal | |
76 | floating moves. | |
77 | (real_value_to_target): Likewise. | |
78 | (f32_lr): Likewise. | |
79 | (f32_lm): Likewise. | |
80 | (f32_li): Likewise. | |
81 | (f32_sr): Likewise. | |
82 | (f32_sm): Likewise. | |
83 | (f32_si): Likewise. | |
84 | (movsf): Combine binary and decimal floating point moves. Combine | |
85 | power6x (mfpgpr) moves with other moves by using conditional | |
86 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on | |
87 | power7. | |
88 | (mov<mode> for SFmode/SDmode); Likewise. | |
89 | (SFmode/SDmode splitters): Likewise. | |
90 | (movsf_hardfloat): Likewise. | |
91 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
92 | (movsf_softfloat): Likewise. | |
93 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
94 | ||
95 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
96 | wx and wz constraints. | |
97 | ||
98 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
99 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
100 | ||
101 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
102 | constraint. | |
103 | ||
104 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
105 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
106 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
107 | Initialize the reload functions for 64-bit binary/decimal floating | |
108 | point types. | |
109 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
110 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
111 | create the buffer on the stack to overcome not having a 32-bit | |
112 | load and store. | |
113 | (rs6000_emit_move): Likewise. | |
114 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
115 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
116 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
117 | via xxlxor, just like DFmode 0.0. | |
118 | ||
119 | ||
120 | * config/rs6000/dfp.md (movdd): Delete, combine with binary | |
121 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
122 | with other moves by using conditional constraits (wg). Use LFIWZX | |
123 | and STFIWX for loading SDmode on power7. | |
124 | (movdd splitters): Likewise. | |
125 | (movdd_hardfloat32): Likewise. | |
126 | (movdd_softfloat32): Likewise. | |
127 | (movdd_hardfloat64_mfpgpr): Likewise. | |
128 | (movdd_hardfloat64): Likewise. | |
129 | (movdd_softfloat64): Likewise. | |
130 | ||
131 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
132 | 64-bit binary and decimal floating point moves. | |
133 | (FMOVE64X): Likewise. | |
134 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
135 | Combine power6x (mfpgpr) moves with other moves by using | |
136 | conditional constraits (wg). | |
137 | (mov<mode> for DFmode/DDmode): Likewise. | |
138 | (DFmode/DDmode splitters): Likewise. | |
139 | (movdf_hardfloat32): Likewise. | |
140 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
141 | (movdf_softfloat32): Likewise. | |
142 | (movdf_hardfloat64_mfpgpr): Likewise. | |
143 | (movdf_hardfloat64): Likewise. | |
144 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
145 | (movdf_softfloat64): Likewise. | |
146 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
147 | (reload_<mode>_load): Move to later in the file so they aren't in | |
148 | the middle of the floating point move insns. | |
149 | (reload_<mode>_store): Likewise. | |
150 | ||
151 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
152 | constraint. | |
153 | ||
154 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
155 | constraint if -mdebug=reg. | |
156 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if | |
157 | -mfpgpr. Enable using dd reload support if needed. | |
158 | ||
159 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
160 | binary and decimal floating point moves in rs6000.md. | |
161 | (movtd_internal): Likewise. | |
162 | ||
163 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
164 | decimal floating point moves. | |
165 | (movtf): Likewise. | |
166 | (movtf_internal): Likewise. | |
167 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
168 | (movtf_softfloat): Likewise. | |
169 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
170 | ||
171 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
172 | movdi_internal64, using wg constraint for move direct operations. | |
173 | (movdi_internal64): Likewise. | |
174 | ||
175 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
176 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
177 | the various virtual registers. Use GPR/FPR first/last values, | |
178 | instead of hard coding the register numbers. Print which modes | |
179 | have reload functions registered. | |
180 | (rs6000_option_override_internal): If -mdebug=reg, trace the | |
181 | options settings before/after setting cpu, target and subtarget | |
182 | settings. | |
183 | (rs6000_secondary_reload_trace): Improve the RTL dump for | |
184 | -mdebug=addr and for secondary reload failures in | |
185 | rs6000_secondary_reload_inner. | |
186 | (rs6000_secondary_reload_fail): Likewise. | |
187 | (rs6000_secondary_reload_inner): Likewise. | |
188 | ||
189 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
190 | macros for first/last GPR and FPR registers. | |
191 | (LAST_GPR_REGNO): Likewise. | |
192 | (FIRST_FPR_REGNO): Likewise. | |
193 | (LAST_FPR_REGNO): Likewise. | |
194 | ||
195 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
196 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
197 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
198 | (vcond<mode><mode>): Likewise. | |
199 | (vcondu<mode><mode>): Likewise. | |
200 | (vector_gtu<mode>): Likewise. | |
201 | (vector_gte<mode>): Likewise. | |
202 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
203 | to prevent the compiler from converting DImode operations to | |
204 | TImode. | |
205 | (ior<mode>3): Likewise. | |
206 | (and<mode>3): Likewise. | |
207 | (one_cmpl<mode>2): Likewise. | |
208 | (nor<mode>3): Likewise. | |
209 | (andc<mode>3): Likewise. | |
210 | ||
211 | * config/rs6000/constraints.md (wt constraint): New constraint | |
212 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
213 | ||
214 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
215 | constant under VSX. | |
216 | ||
217 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
218 | similar to TImode, but it is restricted to being in the GPRs. | |
219 | ||
220 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
221 | TImode to occupy a single VSX register. | |
222 | ||
223 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
224 | -mvsx-timode for power7/power8. | |
225 | (power7 cpu): Likewise. | |
226 | (power8 cpu): Likewise. | |
227 | ||
228 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
229 | sure that TFmode/TDmode take up two registers if they are ever | |
230 | allowed in the upper VSX registers. | |
231 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
232 | registers. | |
233 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
234 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
235 | constraint. Print if LRA is turned on. | |
236 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
237 | and VSX is not enabled. | |
238 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
239 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
240 | to reg+offset addressing. Use PTImode when checking offset | |
241 | addresses for validity. | |
242 | (reg_offset_addressing_ok_p): Likewise. | |
243 | (rs6000_legitimate_offset_address_p): Likewise. | |
244 | (rs6000_legitimize_address): Likewise. | |
245 | (rs6000_legitimize_reload_address): Likewise. | |
246 | (rs6000_legitimate_address_p): Likewise. | |
247 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
248 | (rs6000_emit_move): Likewise. | |
249 | (rs6000_secondary_reload): Likewise. | |
250 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
251 | reloads to fpr registers to continue to use reg+offset addressing, | |
252 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
253 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
254 | it. Treat LO_SUM like a PLUS operation. | |
255 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
256 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset | |
257 | addressing. | |
258 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX | |
259 | registers to share a register with a smaller sized type, since VSX | |
260 | puts scalars in the upper 64-bits. | |
261 | (print_operand): Add support for PTImode. | |
262 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
263 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
264 | registers, but don't have arithmetic support. | |
265 | (rs6000_memory_move_cost): Add test for VSX. | |
266 | (rs6000_opt_masks): Add -mvsx-timode. | |
267 | ||
268 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
269 | for TImode. | |
270 | (VSs): Likewise. | |
271 | (VSr): Use wt constraint for TImode. | |
272 | (VSv): Drop TImode support. | |
273 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
274 | (vsx_movti_64bit): Likewise. | |
275 | (vsx_movti_32bit): Likewise. | |
276 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
277 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
278 | one '?' on the appropriate output constraint. Do not allow TImode | |
279 | logical operations on 32-bit systems. | |
280 | (vsx_ior<mode>3): Likewise. | |
281 | (vsx_xor<mode>3): Likewise. | |
282 | (vsx_one_cmpl<mode>2): Likewise. | |
283 | (vsx_nor<mode>3): Likewise. | |
284 | (vsx_andc<mode>3): Likewise. | |
285 | (vsx_concat_<mode>): Likewise. | |
286 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
287 | ||
288 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
289 | OPTION_MASK_VSX_TIMODE. | |
290 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
291 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
292 | ||
293 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
294 | (TI2 iterator): New iterator for TImode, PTImode. | |
295 | (wd mode attribute): Add values for vector types. | |
296 | (movti_string): Replace TI move operations with operations for | |
297 | TImode and PTImode. Add support for TImode being allowed in VSX | |
298 | registers. | |
299 | (mov<mode>_string, TImode/PTImode): Likewise. | |
300 | (movti_ppc64): Likewise. | |
301 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
302 | (TI mode splitters): Likewise. | |
303 | ||
304 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
305 | constraint. | |
306 | ||
1fc5eced MG |
307 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
308 | ||
309 | PR tree-optimization/56355 | |
310 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
311 | Also handle integers with undefined overflow. | |
312 | ||
22c4c869 CM |
313 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
314 | Maciej W. Rozycki <macro@codesourcery.com> | |
315 | Tom de Vries <tom@codesourcery.com> | |
316 | Nathan Sidwell <nathan@codesourcery.com> | |
317 | Iain Sandoe <iain@codesourcery.com> | |
318 | Nathan Froyd <froydnj@codesourcery.com> | |
319 | Chao-ying Fu <fu@mips.com> | |
320 | ||
321 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
322 | Document new function attributes. | |
323 | * doc/invoke.texi (minterlink-compressed, mmicromips, | |
324 | m14k, m14ke, m14kec): Document new options. | |
325 | (minterlink-mips16): Update documentation. | |
326 | * doc/md.texi (ZC, ZD): Document new constraints. | |
327 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
328 | supports the .set micromips directive. | |
329 | * configure: Regenerate. | |
330 | * config.in: Regenerate. | |
331 | * config/mips/mips-tables.opt: Regenerate. | |
332 | * config/mips/micromips.md: New file. | |
333 | * constraints.md (ZC, ZD): New constraints. | |
334 | * config/mips/predicates.md (movep_src_register): New predicate. | |
335 | (movep_src_operand): New predicate. | |
336 | (non_volatile_mem_operand): New predicate. | |
337 | * config/mips/mips.md (multimem): New type. | |
338 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
339 | (MOVEP1, MOVEP2): New mode iterator. | |
340 | (mov_<load>l): Use ZC constraint. | |
341 | (mov_<load>r): Likewise. | |
342 | (mov_<store>l): Likewise. | |
343 | (mov_<store>r): Likewise. | |
344 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
345 | (*branch_equality<mode>): Likewise. | |
346 | (*jump_absolute): Likewise. | |
347 | (indirect_jump_<mode>): Likewise. | |
348 | (tablejump_<mode>): Likewise. | |
349 | (<optab>_internal): Likewise. | |
350 | (sibcall_internal): Likewise. | |
351 | (sibcall_value_internal): Likewise. | |
352 | (prefetch): Use constraint ZD. | |
353 | * config/mips/mips.opt (minterlink-compressed): New option. | |
354 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
355 | (mmicromips): New option. | |
356 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
357 | (compare_and_swap_12): Likewise. | |
358 | (sync_add<mode>): Likewise. | |
359 | (sync_<optab>_12): Likewise. | |
360 | (sync_old_<optab>_12): Likewise. | |
361 | (sync_new_<optab>_12): Likewise. | |
362 | (sync_nand_12): Likewise. | |
363 | (sync_old_nand_12): Likewise. | |
364 | (sync_new_nand_12): Likewise. | |
365 | (sync_sub<mode>): Likewise. | |
366 | (sync_old_add<mode>): Likewise. | |
367 | (sync_old_sub<mode>): Likewise. | |
368 | (sync_new_add<mode>): Likewise. | |
369 | (sync_new_sub<mode>): Likewise. | |
370 | (sync_<optab><mode>): Likewise. | |
371 | (sync_old_<optab><mode>): Likewise. | |
372 | (sync_new_<optab><mode>): Likewise. | |
373 | (sync_nand<mode>): Likewise. | |
374 | (sync_old_nand<mode>): Likewise. | |
375 | (sync_new_nand<mode>): Likewise. | |
376 | (sync_lock_test_and_set<mode>): Likewise. | |
377 | (test_and_set_12): Likewise. | |
378 | (atomic_compare_and_swap<mode>): Likewise. | |
379 | (atomic_exchange<mode>_llsc): Likewise. | |
380 | (atomic_fetch_add<mode>_llsc): Likewise. | |
381 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
382 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
383 | (umips_save_restore_pattern_p): Likewise. | |
384 | (umips_load_store_pair_p): Likewise. | |
385 | (umips_output_load_store_pair): Likewise. | |
386 | (umips_movep_target_p): Likewise. | |
387 | (umips_12bit_offset_address_p): Likewise. | |
388 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
389 | (mips_base_mips16): Rename this... | |
390 | (mips_base_compression_flags): ...to this. Update all uses. | |
391 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
392 | (mips_mips16_decl_p): Delete. | |
393 | (mips_nomips16_decl_p): Delete. | |
394 | (mips_get_compress_on_flags): New function. | |
395 | (mips_get_compress_off_flags): New function. | |
396 | (mips_get_compress_mode): New function. | |
397 | (mips_get_compress_on_name): New function. | |
398 | (mips_get_compress_off_name): New function. | |
399 | (mips_insert_attributes): Support multiple compression types. | |
400 | (mips_merge_decl_attributes): Likewise. | |
401 | (umips_12bit_offset_address_p): New function. | |
402 | (mips_start_function_definition): Emit .set micromips directive. | |
403 | (mips_call_may_need_jalx_p): New function. | |
404 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
405 | (mips_print_operand_punctuation): Support short delay slots and | |
406 | compact jumps. | |
407 | (umips_swm_mask, umips_swm_encoding): New. | |
408 | (umips_build_save_restore): New function. | |
409 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
410 | (was_mips16_p): Remove. | |
411 | (old_compression_mode): New. | |
412 | (mips_set_compression_mode): New function. | |
413 | (mips_set_current_function): Add microMIPS support. | |
414 | (mips_option_override): Likewise. | |
415 | (umips_save_restore_pattern_p): New function. | |
416 | (umips_output_save_restore): New function. | |
417 | (umips_load_store_pair_p_1): New function. | |
418 | (umips_load_store_pair_p): New function. | |
419 | (umips_output_load_store_pair_1): New function. | |
420 | (umips_output_load_store_pair): New function. | |
421 | (umips_movep_target_p) New function. | |
422 | (mips_prepare_pch_save): Add microMIPS support. | |
423 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
424 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
425 | to use new compression flags and to support microMIPS. | |
426 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
427 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
428 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
429 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
430 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
431 | (M16STORE_REG_P): New macro. | |
432 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
433 | (MICROMIPS_J): New macro. | |
434 | (mips_base_mips16): Rename this... | |
435 | (mips_base_compression_flags): ...to this. | |
436 | (UMIPS_12BIT_OFFSET_P): New macro. | |
437 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
438 | (MULTILIB_DIRNAMES): Likewise. | |
92a8d7a7 RB |
439 | 2013-03-20 Richard Biener <rguenther@suse.de> |
440 | ||
441 | PR tree-optimization/56661 | |
442 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
443 | the result does not have to be distinct. | |
444 | ||
54714c68 RB |
445 | 2013-03-20 Richard Biener <rguenther@suse.de> |
446 | ||
447 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
448 | remap_gimple_op_r. | |
449 | ||
cca1130d BS |
450 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
451 | Steven Bosscher <steven@gcc.gnu.org> | |
452 | ||
453 | PR rtl-optimization/56605 | |
454 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
455 | ||
2a930377 UB |
456 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
457 | ||
458 | PR bootstrap/56656 | |
459 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
460 | that require movd instead of movq. | |
461 | ||
d6d305fe RB |
462 | 2013-03-20 Richard Biener <rguenther@suse.de> |
463 | ||
464 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
465 | to the first field of an aggregate with sub-vars. Make | |
466 | this and the pointer to the next subfield its ID. | |
467 | (vi_next): New function. | |
468 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
469 | storedanything_id, integer_id): Increment by one. | |
470 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
471 | get_call_clobber_vi): Adjust. | |
472 | (solution_set_expand): Simplify and speedup. | |
473 | (solution_set_add): Inline into ... | |
474 | (set_union_with_increment): ... this. Adjust accordingly. | |
475 | (do_sd_constraint): Likewise. | |
476 | (do_ds_constraint): Likewise. | |
477 | (do_complex_constraint): Simplify. | |
478 | (build_pred_graph): Adjust. | |
479 | (solve_graph): Likewise. Simplify and speedup. | |
480 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
481 | get_constraint_for_component_ref, get_constraint_for_1, | |
482 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
483 | create_function_info_for, create_variable_info_for_1, | |
484 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
485 | (init_base_vars): Push NULL for ID zero. | |
486 | (compute_points_to_sets): Adjust. | |
487 | ||
a271b42d RB |
488 | 2013-03-20 Richard Biener <rguenther@suse.de> |
489 | ||
490 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
491 | ICEing on corrupt loop tree. | |
492 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
493 | loop tree. | |
494 | ||
ebd65954 RB |
495 | 2013-03-20 Richard Biener <rguenther@suse.de> |
496 | ||
497 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
498 | check whether an SSA update is needed. | |
499 | ||
4547b7ee RS |
500 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
501 | ||
502 | * config/mips/constraints.md (T): Rename to... | |
503 | (Yf): ...this. | |
504 | (U): Rename to... | |
505 | (Yd): ...this. | |
506 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
507 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
508 | ||
0b8cdc58 IB |
509 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
510 | ||
511 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
512 | (*subsi3_carryin_uxtw): Likewise. | |
513 | ||
5977a10d IB |
514 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
515 | ||
516 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
517 | (*rorsi3_insn_uxtw): Likewise. | |
518 | ||
bd83ff2c IB |
519 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
520 | ||
521 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
522 | (*extrsi5_insn_uxtw): Likewise. | |
523 | ||
ba65123c RB |
524 | 2013-03-19 Richard Biener <rguenther@suse.de> |
525 | ||
526 | PR tree-optimization/56273 | |
527 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
528 | ||
2eac0476 UB |
529 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
530 | ||
531 | * config/i386/i386.md (*movti_internal): Merge from | |
532 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
533 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
534 | nox64 isa attributes. | |
535 | ||
6e55eda7 RB |
536 | 2013-03-18 Richard Biener <rguenther@suse.de> |
537 | ||
538 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
539 | (unite): Likewise. | |
540 | (merge_node_constraints): Likewise. | |
541 | (build_succ_graph): Likewise. | |
542 | (valid_graph_edge): Inline into single caller. | |
543 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
544 | and cache varinfo. | |
545 | (scc_visit): Fix formatting and variable use. | |
546 | (do_sd_constraint): Use gcc_checking_assert. | |
547 | (do_ds_constraint): Likewise. | |
548 | (do_complex_constraint): Likewise. | |
549 | (condense_visit): Likewise. Cleanup. | |
550 | (dump_pred_graph): New function. | |
551 | (perform_var_substitution): Dump the pred-graph before | |
552 | variable substitution. | |
553 | (find_equivalent_node): Use gcc_checking_assert. | |
554 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
555 | ||
4bdd44c4 RB |
556 | 2013-03-18 Richard Biener <rguenther@suse.de> |
557 | ||
558 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
559 | Remove cond_expr_stmt_list argument and do not gimplify the | |
560 | built expression. | |
561 | (vect_loop_versioning): Adjust. | |
562 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
563 | Cleanup to use less temporaries. | |
564 | (vect_create_data_ref_ptr): Cleanup. | |
565 | ||
38c56a5b JJ |
566 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
567 | ||
568 | PR tree-optimization/56635 | |
569 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
570 | require types_compatible_p types. | |
571 | ||
20b2e6a0 NC |
572 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
573 | ||
a6178a25 NC |
574 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
575 | spurious backslash. | |
576 | ||
20b2e6a0 NC |
577 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
578 | Add missing line to comment describing function. | |
579 | ||
92608d0e RB |
580 | 2013-03-18 Richard Biener <rguenther@suse.de> |
581 | ||
582 | PR tree-optimization/56210 | |
583 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
584 | Handle string / character search functions. | |
585 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
586 | ||
31348d52 RB |
587 | 2013-03-18 Richard Biener <rguenther@suse.de> |
588 | ||
589 | PR middle-end/56483 | |
590 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
591 | and implement properly. | |
592 | * gimple.h (gimple_cond_single_var_p): Remove. | |
593 | ||
fcac74a1 RB |
594 | 2013-03-18 Richard Biener <rguenther@suse.de> |
595 | ||
596 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
597 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
598 | vector pre-allocated in the callers. | |
599 | (find_data_references_in_stmt): Adjust. | |
600 | (graphite_find_data_references_in_stmt): Likewise. | |
601 | (create_rdg_vertices): Likewise. | |
602 | (find_data_references_in_loop): Export. | |
603 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
604 | Compute dependences here... | |
605 | (vect_analyze_data_refs): ...not here. When we encounter | |
606 | a non-vectorizable data reference in basic-block vectorization | |
607 | truncate the data reference vector. Do not bother to | |
608 | fixup data-dependence information for gather loads. | |
609 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
610 | of data references, as reported. | |
611 | ||
0d5a1b56 RB |
612 | 2013-03-18 Richard Biener <rguenther@suse.de> |
613 | ||
614 | PR tree-optimization/3713 | |
615 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
616 | has_constants and expr. | |
617 | (stmt_has_constants): Properly valueize SSA names when deciding | |
618 | whether the stmt has constants. | |
619 | ||
789c34e3 RB |
620 | 2013-03-18 Richard Biener <rguenther@suse.de> |
621 | ||
622 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
623 | whole function when there is nothing to do. | |
624 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
625 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
626 | loop-closed SSA once. | |
627 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
628 | ||
076b4605 RB |
629 | 2013-03-18 Richard Biener <rguenther@suse.de> |
630 | ||
631 | PR middle-end/56113 | |
632 | * domwalk.c (bb_postorder): New global static. | |
633 | (cmp_bb_postorder): New function. | |
634 | (walk_dominator_tree): Replace scheme imposing an order for | |
635 | visiting dominator sons by one sorting them at the time they | |
636 | are pushed on the stack. | |
637 | ||
bdb01696 RB |
638 | 2013-03-18 Richard Biener <rguenther@suse.de> |
639 | ||
640 | PR tree-optimization/39326 | |
641 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
642 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
643 | (MEM_ANALYZABLE): Adjust. | |
644 | (memref_eq): Likewise. | |
645 | (mem_ref_alloc): Likewise. | |
646 | (gather_mem_refs_stmt): Likewise. | |
647 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
648 | (execute_sm_if_changed_flag_set): Adjust. | |
649 | (execute_sm): Likewise. | |
650 | (ref_always_accessed_p): Likewise. | |
651 | (refs_independent_p): Likewise. | |
652 | (can_sm_ref_p): Likewise. | |
653 | ||
12d2dc5e JJ |
654 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
655 | ||
656 | PR c/56566 | |
657 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
658 | return 1 even for !unsignedp. | |
659 | ||
286fb677 UB |
660 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
661 | ||
662 | * config/i386/i386.md (isa): Add x64 and nox64. | |
663 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
664 | (*pushtf): Enable *roF alternative for x64 isa only. | |
665 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
666 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
667 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
668 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
669 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
670 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
671 | nox64 isa attributes. | |
672 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
673 | nox64 isa attributes. | |
674 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
675 | ||
88b97037 UB |
676 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
677 | ||
678 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
679 | ||
9f4f1735 JJ |
680 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
681 | ||
682 | PR target/56640 | |
683 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
684 | class names. Remove trailing comma after "ALL_REGS". | |
685 | ||
48f4a6fa JH |
686 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
687 | ||
688 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
689 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
690 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
691 | of cgraph_get_create_node. | |
692 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
693 | ||
98e81123 JM |
694 | 2013-03-16 Jason Merrill <jason@redhat.com> |
695 | ||
696 | PR debug/49090 | |
697 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
698 | with DW_AT_default_value. | |
699 | ||
8a298c04 JJ |
700 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
701 | ||
702 | * BASE-VER: Set to 4.9.0. | |
703 | ||
4323afa0 AK |
704 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
705 | ||
706 | PR target/56619 | |
707 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
708 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
709 | Document _x* TSX intrinsics. | |
710 | ||
b3c0d469 JJ |
711 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
712 | David Holsgrove <david.holsgrove@xilinx.com> | |
8cc9a5a5 EI |
713 | |
714 | * configure.ac: Add MicroBlaze TLS support detection. | |
715 | * configure: Regenerate. | |
88b97037 UB |
716 | * config/microblaze/microblaze-protos.h |
717 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
718 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
719 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
720 | ADDRESS_TLS and tls_reloc address types. | |
8cc9a5a5 EI |
721 | (microblaze_address_info): Add tls_reloc. |
722 | (TARGET_HAVE_TLS): Define. | |
723 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
724 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
88b97037 UB |
725 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
726 | load_tls_operand, microblaze_call_tls_get_addr, | |
727 | microblaze_legitimize_tls_address): New functions. | |
8cc9a5a5 EI |
728 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
729 | (get_base_reg): Use microblaze_tls_symbol_p. | |
730 | (microblaze_classify_address): Handle TLS. | |
88b97037 UB |
731 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
732 | label_mentioned_p and microblaze_tls_referenced_p. | |
8cc9a5a5 EI |
733 | (microblaze_legitimize_address): Handle TLS. |
734 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
735 | (pic_address_needs_scratch): Handle TLS. | |
736 | (print_operand_address): Handle TLS. | |
737 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
738 | (microblaze_expand_move): Handle TLS. | |
88b97037 UB |
739 | (microblaze_legitimate_constant_p): Check |
740 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
8cc9a5a5 EI |
741 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
742 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
743 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
744 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
745 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
746 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
747 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
88b97037 UB |
748 | (move_operand): Redefine as move_src_operand, |
749 | check microblaze_tls_referenced_p. | |
8cc9a5a5 | 750 | |
d803a491 IB |
751 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
752 | ||
753 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
754 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
755 | ||
a8504f22 IB |
756 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
757 | ||
758 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
759 | CC mode for AND. | |
760 | ||
df2dfaea JJ |
761 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
762 | ||
fbd28bc3 JJ |
763 | PR tree-optimization/53265 |
764 | * common.opt (Waggressive-loop-optimizations): New option. | |
765 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
766 | (do_warn_aggressive_loop_optimizations): New function. | |
767 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
768 | if number_of_latch_executions returned constant. | |
769 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
770 | early. If number_of_latch_executions returned constant, set | |
771 | nb_iterations_upper_bound back to it. | |
772 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
773 | field. | |
774 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
775 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
776 | ||
df2dfaea JJ |
777 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
778 | (MULTILIB_OSDIRNAMES): Set. | |
779 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
780 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
781 | entries instead of just one. | |
782 | ||
ee0d2b68 KK |
783 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
784 | ||
785 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
786 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
787 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
788 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
789 | ||
decc676e OE |
790 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
791 | ||
792 | PR target/49880 | |
793 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
794 | (musermode): Convert to Var(TARGET_USERMODE). | |
795 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
796 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
797 | * config/sh/sh.c (sh_option_override): Use | |
798 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
799 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
800 | condition. | |
801 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
802 | TARGET_SH4. | |
803 | (udivsi3_i4_single, divsi3_i4_single): Use | |
804 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
805 | ||
f4b719c7 DK |
806 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
807 | ||
808 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
809 | default setting. | |
810 | ||
c40eced0 RB |
811 | 2013-03-13 Richard Biener <rguenther@suse.de> |
812 | ||
813 | PR tree-optimization/56608 | |
814 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
815 | calls when vectorizing basic-blocks. | |
816 | ||
1bfa5973 JJ |
817 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
818 | ||
819 | PR plugins/45078 | |
820 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
821 | tm_file. | |
822 | ||
6fcf5434 JJ |
823 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
824 | ||
825 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
826 | ||
4f38fa8c JH |
827 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
828 | ||
829 | PR lto/56557 | |
830 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
831 | constructors of external variables. | |
832 | ||
c5c5ba89 JH |
833 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
834 | ||
835 | PR middle-end/56571 | |
836 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
837 | from pseudos. | |
838 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
839 | (copy_insn_1): Likewise. | |
840 | * rtl.c (copy_rtx): Likewise. | |
841 | ||
c2a939b1 GJL |
842 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
843 | ||
844 | PR target/56591 | |
845 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
846 | output_operand_lossage message. | |
88b97037 | 847 | |
3c3279fb RE |
848 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
849 | ||
850 | PR target/56470 | |
851 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
852 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
853 | the RTL. | |
854 | ||
aef5ef9d JDA |
855 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
856 | ||
857 | PR target/56347 | |
858 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
859 | new call patterns that clobber %fr12. | |
860 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
861 | split and postreload patterns. | |
862 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
863 | registers %fr12 and %fr12R as call used. | |
864 | ||
456610d3 SB |
865 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
866 | ||
867 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
868 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
869 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
870 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
871 | rest_of_handle_dse): Likewise. | |
872 | ||
4b1baac8 RS |
873 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
874 | ||
875 | PR middle-end/56524 | |
876 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
877 | Add base_optabs. | |
878 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
879 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
880 | (save_optabs_if_changed): Replace with... | |
881 | (init_tree_optimization_optabs): ...this. | |
882 | * optabs.c (save_optabs_if_changed): Rename to... | |
883 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
884 | as argument. Do nothing if the base optabs are already correct. | |
885 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
886 | to recompute optabs. | |
887 | * function.h (function): Remove optabs field. | |
888 | * function.c (invoke_set_current_function_hook): Call | |
889 | init_tree_optimization_optabs. Use the result to initialize | |
890 | this_fn_optabs. | |
891 | ||
b7a78683 AH |
892 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
893 | ||
894 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
895 | if GTMA_HAS_NO_INSTRUMENTATION. | |
896 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
897 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
898 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
899 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
900 | GTMA_HAS_NO_INSTRUMENTATION. | |
901 | ||
6384c29b JJ |
902 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
903 | ||
904 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
905 | libasan_preinit.o. | |
906 | ||
ecd4f20a MP |
907 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
908 | Jakub Jelinek <jakub@redhat.com> | |
909 | ||
910 | PR tree-optimization/56478 | |
911 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
912 | type of loop_step to tree. | |
913 | (predict_loops): Adjust. | |
914 | (predict_iv_comparison): Perform the computations on double_ints. | |
915 | ||
64366d35 RB |
916 | 2013-03-08 Richard Biener <rguenther@suse.de> |
917 | ||
918 | PR tree-optimization/56570 | |
919 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
920 | DECL_DEBUG_EXPR. | |
921 | * tree-sra.c (create_access_replacement): Strip locations | |
922 | from DECL_DEBUG_EXPRs. | |
923 | ||
a9d5a059 RB |
924 | 2013-03-08 Richard Biener <rguenther@suse.de> |
925 | ||
926 | * tree-inline.c (expand_call_inline): Do not associate | |
927 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
928 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
929 | ||
b7aa4e9a RB |
930 | 2013-03-08 Richard Biener <rguenther@suse.de> |
931 | ||
932 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
933 | or block changes with -Og. Fix for location / block encoding | |
934 | changes and PHI arguments with locations. | |
935 | ||
c4c2f9fa SB |
936 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
937 | ||
938 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
939 | for all counters. | |
940 | (struct output_info): Likewise. | |
941 | (register_overhead): Remove bad gcc_assert. | |
942 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
943 | count a miss as a search. | |
944 | (print_statistics): Update for counter type changes. | |
945 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
946 | are properly lined up with the printed counters. | |
947 | ||
5bf6606a JJ |
948 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
949 | ||
950 | PR tree-optimization/56559 | |
951 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
952 | check that it has only a single use. | |
953 | ||
2c653d46 RB |
954 | 2013-03-07 Richard Biener <rguenther@suse.de> |
955 | ||
956 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
957 | with -flto. | |
958 | ||
a72d8780 JJ |
959 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
960 | ||
01a454df JJ |
961 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
962 | ||
c1781047 JJ |
963 | PR tree-optimization/56539 |
964 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
965 | instead of GSI_CONTINUE_LINKING as last argument to | |
966 | force_gimple_operand_gsi. Adjust function comment. | |
967 | ||
9772c47a JJ |
968 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
969 | aarch64-cores.def. | |
970 | ||
a72d8780 JJ |
971 | PR middle-end/56548 |
972 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
973 | promoted mode, convert the result back to the original mode. | |
974 | ||
fa5556de RB |
975 | 2013-03-06 Richard Biener <rguenther@suse.de> |
976 | ||
977 | PR middle-end/56294 | |
978 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
979 | (insert_updated_phi_nodes_compare_uids): New function. | |
980 | (update_ssa): Sort symbols_to_rename after UID before | |
981 | traversing it to insert PHI nodes. | |
982 | ||
010403d1 RB |
983 | 2013-03-06 Richard Biener <rguenther@suse.de> |
984 | ||
985 | PR middle-end/50494 | |
986 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
987 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
988 | ||
989 | Revert | |
990 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
991 | ||
992 | PR lto/50494 | |
993 | * varasm.c (output_constant_def_1): Get the decl representing | |
994 | the constant as argument. | |
995 | (output_constant_def): Wrap output_constant_def_1. | |
996 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
997 | representing the constant. | |
998 | (build_constant_desc): Optionally re-use a decl already | |
999 | representing the constant. | |
1000 | (tree_output_constant_def): Adjust. | |
1001 | ||
3c27ce4c JY |
1002 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
1003 | ||
1004 | PR lto/50293 | |
1005 | * gcc.c (convert_white_space): New function. | |
1006 | (main): Handles white space in function name. | |
1007 | ||
8f6d1c86 OE |
1008 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
1009 | ||
1010 | PR target/56529 | |
1011 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
1012 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
1013 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
1014 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
1015 | list. | |
1016 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
1017 | call-table options. | |
1018 | ||
798a209f SA |
1019 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
1020 | Cary Coutant <ccoutant@google.com> | |
1021 | ||
1022 | PR debug/55364 | |
1023 | * dwarf2out.c (resolve_addr): Don't call | |
1024 | remove_loc_list_addr_table_entries a second time for the same | |
1025 | expression. | |
1026 | ||
6cfa417f | 1027 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 1028 | |
6cfa417f JJ |
1029 | PR debug/56510 |
1030 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
1031 | (avoid_complex_debug_insns): New function. | |
1032 | (expand_debug_locations): Call it. | |
1033 | ||
1034 | PR rtl-optimization/56484 | |
1035 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
1036 | lifetimes of hard registers on small register class machines. | |
1037 | ||
1038 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
1039 | ||
1040 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 1041 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 1042 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
1043 | fast_interrupt. |
1044 | (microblaze_fast_interrupt_function_p): New function. | |
1045 | (microblaze_is_interrupt_handler): Rename to | |
1046 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
1047 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
1048 | (save_restore_insns): Likewise. | |
1049 | (compute_frame_size): Likewise. | |
1050 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
1051 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
1052 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
1053 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
1054 | microblaze_is_interrupt_variant. |
1055 | ||
731aefac KT |
1056 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
1057 | ||
1058 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
1059 | supporting cold/hot. | |
1060 | ||
a72d8780 | 1061 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
1062 | |
1063 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
1064 | -mxl-reorder. | |
1065 | ||
334e71e8 JJ |
1066 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
1067 | ||
0b50e654 JJ |
1068 | PR middle-end/56461 |
1069 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
1070 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
1071 | memory all defined, and restore previous valgrind addressability | |
1072 | and definability afterwards. Free this_object at the end. | |
1073 | ||
4ccf8f43 JJ |
1074 | PR middle-end/56461 |
1075 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
1076 | right before calling lra_create_live_ranges, also call it | |
1077 | when clearing live_p. Only call lra_clear_live_ranges | |
1078 | at the end if live_p. | |
1079 | ||
334e71e8 JJ |
1080 | PR middle-end/56461 |
1081 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
1082 | ||
9ca966ca RB |
1083 | 2013-03-05 Richard Biener <rguenther@suse.de> |
1084 | ||
1085 | PR tree-optimization/56521 | |
1086 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
1087 | value-id. | |
1088 | ||
d273b176 SB |
1089 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
1090 | ||
1091 | PR c++/55135 | |
1092 | * except.h (remove_unreachable_eh_regions): New prototype. | |
1093 | * except.c (remove_eh_handler_splicer): New function, split out | |
1094 | of remove_eh_handler. | |
1095 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
1096 | warning about running it on many EH regions one at a time. | |
1097 | (remove_unreachable_eh_regions_worker): New function, walk the | |
1098 | EH tree in depth-first order and remove non-marked regions. | |
1099 | (remove_unreachable_eh_regions): New function. | |
1100 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
1101 | from remove_unreachable_handlers. | |
1102 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
1103 | remove_unreachable_eh_regions. | |
1104 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
1105 | and remove_unreachable_eh_regions. | |
1106 | ||
5e7f1aef RB |
1107 | 2013-03-05 Richard Biener <rguenther@suse.de> |
1108 | ||
1109 | PR middle-end/56525 | |
1110 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
1111 | not freeing them until the end. | |
1112 | ||
f276b762 AK |
1113 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1114 | ||
1115 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
1116 | ||
12a43ab8 RB |
1117 | 2013-03-05 Richard Biener <rguenther@suse.de> |
1118 | ||
1119 | PR tree-optimization/56270 | |
1120 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
1121 | of loads after scheduling an SLP instance. | |
1122 | ||
93675444 JJ |
1123 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
1124 | ||
db4138e3 JJ |
1125 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
1126 | tic6x.exp. | |
1127 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
1128 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
1129 | struct-layout-1.exp with stackalign.exp. | |
1130 | ||
dd3d1ec0 JJ |
1131 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
1132 | ||
b8d381a3 JJ |
1133 | PR middle-end/56461 |
1134 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
1135 | load_index sbitmap even if some bit in it isn't set. | |
1136 | ||
b4f9786b JJ |
1137 | PR middle-end/56461 |
1138 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
1139 | (discover_iteration_bound_by_body_walk): Change queues to | |
1140 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
1141 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
1142 | Release queues[queue_index] in every iteration unconditionally. | |
1143 | Release bounds vector. | |
1144 | ||
93675444 JJ |
1145 | PR middle-end/56461 |
1146 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
1147 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
1148 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
1149 | inner_phis vector. | |
1150 | ||
3e492e9c RB |
1151 | 2013-03-05 Richard Biener <rguenther@suse.de> |
1152 | ||
1153 | PR lto/56515 | |
1154 | * tree-inline.c (remap_blocks_to_null): New function. | |
1155 | (expand_call_inline): When expanding a call stmt without | |
1156 | an associated block inline remap all callee blocks to NULL. | |
1157 | ||
a5d1569a JJ |
1158 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
1159 | ||
86efb5cd JJ |
1160 | PR rtl-optimization/56494 |
1161 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
1162 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
1163 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
1164 | ||
85f5dbea JJ |
1165 | PR middle-end/56461 |
1166 | * sel-sched-ir.c (free_sched_pools): Release | |
1167 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
1168 | if succs_info_pool.max_top isn't -1. | |
1169 | ||
a5d1569a JJ |
1170 | PR bootstrap/56509 |
1171 | * opts.c (opts_obstack, opts_concat): Moved to... | |
1172 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
1173 | ||
4432aa6c JJ |
1174 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
1175 | ||
1176 | PR middle-end/56461 | |
1177 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
1178 | ||
f3a1fb91 MJ |
1179 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
1180 | ||
1181 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
1182 | all appropriate places. | |
1183 | ||
22110e6c EB |
1184 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
1185 | ||
1186 | PR tree-optimization/56424 | |
1187 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
1188 | not by reference and its type is a register type. | |
1189 | ||
a72d8780 | 1190 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 | 1191 | |
88b97037 | 1192 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
91c4e421 | 1193 | (microblaze_legitimate_pic_operand): Likewise |
88b97037 | 1194 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
91c4e421 DH |
1195 | new function microblaze_legitimate_pic_operand |
1196 | * config/microblaze/microblaze-protos.h | |
1197 | (microblaze_legitimate_pic_operand): Declare. | |
1198 | ||
a72d8780 | 1199 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 1200 | |
a72d8780 | 1201 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 1202 | New predicate for supported rtx code types. |
a72d8780 | 1203 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
1204 | call_insn_simple_operand predicate. |
1205 | ||
541d9ac8 JJ |
1206 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
1207 | ||
5eb010bc JJ |
1208 | PR middle-end/56461 |
1209 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
1210 | partitions.ordered_remove. | |
1211 | ||
30862efc JJ |
1212 | PR middle-end/56461 |
1213 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
1214 | vec_oprnds0.create (1) for modifier == NONE. | |
1215 | ||
8930f723 JJ |
1216 | PR middle-end/56461 |
1217 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
1218 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
1219 | vec_oprnds1 right before pushing anything to it for | |
1220 | scalar_shift_arg. | |
1221 | ||
541d9ac8 JJ |
1222 | PR middle-end/56461 |
1223 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
1224 | set nbbs to 0 instead of having separate code path. | |
1225 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
1226 | instead of false as last argument if returning NULL. | |
1227 | ||
7aa7f2e3 SL |
1228 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
1229 | ||
1230 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
1231 | the attribute is now called "target" instead of "option". | |
1232 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
1233 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
1234 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
1235 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
1236 | * doc/tm.texi: Regenerated. | |
1237 | ||
8930f723 | 1238 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 1239 | |
8930f723 | 1240 | * config/microblaze/microblaze.c: |
cb8a1637 | 1241 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
1242 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
1243 | DRIVER_SELF_SPECS. | |
1244 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
1245 | instructions emitted if TARGET_REORDER. | |
88b97037 UB |
1246 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
1247 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
8930f723 | 1248 | separately. |
cb8a1637 | 1249 | |
4dc1d68c XDL |
1250 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
1251 | ||
1252 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
1253 | walk length. | |
1254 | ||
689eaba3 JJ |
1255 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
1256 | ||
9d676bf6 JJ |
1257 | PR middle-end/56461 |
1258 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
1259 | vector even when returning true. Fix up function comment formatting. | |
1260 | ||
caff7edf JJ |
1261 | PR middle-end/56461 |
1262 | * ira-build.c (ira_loop_nodes_count): New variable. | |
1263 | (create_loop_tree_nodes): Initialize it. | |
1264 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
1265 | ||
b6b9227d JJ |
1266 | PR middle-end/56461 |
1267 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
1268 | method on dr_chain and result_chain. | |
1269 | * tree-vect-stmts.c (vectorizable_store): Only call | |
1270 | result_chain.create if j == 0. | |
1271 | ||
689eaba3 JJ |
1272 | PR middle-end/56461 |
1273 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
1274 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
1275 | before overwriting it. | |
1276 | ||
40bf31ed TB |
1277 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
1278 | ||
1279 | * doc/extended.texi (C Extensions): Change order in @menu | |
1280 | to match @node. | |
1281 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
1282 | "picoChip Built-in Functions". | |
1283 | (SH Built-in Functions): Move after RX Built-in Functions. | |
1284 | * doc/gcc.texi (Introduction): Change order in @menu | |
1285 | to match @node. | |
1286 | * doc/md.texi (Constraints): Ditto. | |
1287 | * gty.texi (Type Information): Ditto. | |
1288 | (User-provided marking routines for template types): Make | |
1289 | subsection. | |
1290 | * doc/invoke.texi (AArch64 Options): Move before | |
1291 | "Adapteva Epiphany Options". | |
1292 | ||
e664c61c KS |
1293 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
1294 | Jakub Jelinek <jakub@redhat.com> | |
1295 | ||
1296 | PR sanitizer/56454 | |
1297 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
1298 | no_address_safety_analysis attribute. | |
1299 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
1300 | no_sanitize_address attribute, mention no_address_safety_analysis | |
1301 | attribute as deprecated alias. | |
1302 | ||
37b5ec8f JJ |
1303 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
1304 | ||
1305 | PR middle-end/56461 | |
1306 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
1307 | type to vec<vec<tree> > *. | |
1308 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
1309 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
1310 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
1311 | uses of vec_defs. | |
1312 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
1313 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
1314 | ||
ba96cdfb JG |
1315 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
1316 | ||
1317 | * config/aarch64/aarch64.c | |
1318 | (aarch64_float_const_representable): Remove unused variable. | |
1319 | ||
6f549691 JG |
1320 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
1321 | ||
1322 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
1323 | ||
af55e82d JG |
1324 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
1325 | ||
1326 | * config/aarch64/aarch64-builtins.c | |
1327 | (aarch64_init_simd_builtins): Make static. | |
1328 | ||
1df3f464 JG |
1329 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
1330 | ||
1331 | * config/aarch64/aarch64.c | |
1332 | (aarch64_simd_make_constant): Make static. | |
1333 | ||
f8f42513 MJ |
1334 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
1335 | ||
1336 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
1337 | with no initialization to the RHS of debug statements. | |
1338 | ||
b48b3fc4 MJ |
1339 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
1340 | ||
1341 | PR tree-optimization/56294 | |
1342 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
1343 | Adjust dumping. | |
1344 | (get_access_replacement): Do not call create_access_replacement. | |
1345 | Assert a replacement exists. | |
1346 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
1347 | itself. | |
1348 | ||
c3ae224c RR |
1349 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1350 | ||
1351 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
1352 | final_end_function. | |
1353 | ||
45fa0eef MP |
1354 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
1355 | ||
1356 | PR rtl-optimization/56466 | |
1357 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
1358 | if we're changing a loop. | |
1359 | (peel_loops_completely): Likewise. | |
1360 | ||
502c067d PC |
1361 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
1362 | ||
1363 | PR c++/55813 | |
1364 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
1365 | ||
ff24afc8 GJL |
1366 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
1367 | ||
1368 | PR target/56445 | |
1369 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
1370 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
1371 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
1372 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
1373 | ||
c7b1fc1b GJL |
1374 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
1375 | ||
1376 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
1377 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
1378 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
1379 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
1380 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
1381 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
1382 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
1383 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
1384 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
1385 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
1386 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
1387 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
1388 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
1389 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
1390 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
1391 | (avrxmega6): Increase max flash segments from 5 to 6. | |
1392 | * config/avr/t-multilib: Regenerate. | |
1393 | * config/avr/avr-tables.opt: Regenerate. | |
1394 | * doc/avr-mmcu.texi: Regenerate. | |
1395 | ||
4a0e3cfe GJL |
1396 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
1397 | ||
1398 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
1399 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
1400 | (avr_device_to_as): New prototype. | |
1401 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
1402 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
1403 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
1404 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
1405 | ||
97785e52 JJ |
1406 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
1407 | ||
3f292312 JJ |
1408 | PR middle-end/56461 |
1409 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
1410 | method on dr_chain and result_chain. | |
1411 | ||
a344216b JJ |
1412 | PR middle-end/56461 |
1413 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
1414 | pointer_set_destroy on not_executed_last_iteration. | |
1415 | ||
f121ad02 | 1416 | PR middle-end/56461 |
88b97037 | 1417 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
f121ad02 | 1418 | |
307f83a3 JJ |
1419 | PR middle-end/56461 |
1420 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
1421 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
1422 | ||
e19624ee JJ |
1423 | PR middle-end/56461 |
1424 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
1425 | pool_free. | |
1426 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
1427 | overwriting it. | |
1428 | ||
90e709fd JJ |
1429 | PR middle-end/56461 |
1430 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
1431 | known_aggs[i].items and release known_aggs vector. | |
1432 | ||
97785e52 JJ |
1433 | PR middle-end/56461 |
1434 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
1435 | ||
1436 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 1437 | |
97785e52 JJ |
1438 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
1439 | Use xor for EQ/NE comparisions. | |
1440 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
1441 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 1442 | |
6fa5e0ed JJ |
1443 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
1444 | ||
1445 | PR middle-end/56461 | |
1446 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
1447 | vector. | |
1448 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
1449 | vec_safe_push, always update *slot. | |
1450 | (redirect_edge_var_map_clear): Use vec_free. | |
1451 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
1452 | (free_var_map_entry): Use vec_free. | |
1453 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
1454 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
1455 | ||
436a956a AB |
1456 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
1457 | ||
1458 | PR middle-end/45472 | |
436a956a AB |
1459 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
1460 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
1461 | Reorder tests for speculativeness in the logical and operator. |
1462 | ||
f5c2caca JJ |
1463 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
1464 | ||
0fcb564b JJ |
1465 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
1466 | where appropriate and avoid leaking memory. | |
1467 | ||
dc357798 JJ |
1468 | * opts.h: Include obstack.h. |
1469 | (opts_concat): New prototype. | |
1470 | (opts_obstack): New declaration. | |
1471 | * opts.c (opts_concat): New function. | |
1472 | (opts_obstack): New variable. | |
1473 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
1474 | (finish_options): Use opts_concat instead of concat | |
1475 | and XOBNEWVEC instead of XNEWVEC. | |
1476 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
1477 | generate_option): Likewise. | |
1478 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
1479 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
1480 | ||
f5c2caca JJ |
1481 | PR target/56455 |
1482 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
1483 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
1484 | ||
d0163673 JJ |
1485 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
1486 | ||
1487 | PR middle-end/56461 | |
1488 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
1489 | ||
b5ad2b8e JR |
1490 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
1491 | ||
1492 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
1493 | (arm_block_move_unaligned_straight): Likewise. | |
1494 | (arm_adjust_block_mem): Likewise. | |
1495 | ||
9b639e2c JR |
1496 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
1497 | ||
1498 | PR target/48901 | |
1499 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
1500 | temp, cond and label. | |
1501 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
1502 | ||
e13a0ccb JR |
1503 | PR target/52500 |
1504 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
1505 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
1506 | ||
fbe4f171 JR |
1507 | PR target/52501 |
1508 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
1509 | of prologue/epilogue functions. | |
1510 | ||
ae006543 JR |
1511 | PR target/52550 |
1512 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
1513 | Remove unused variable cfa_offset. | |
1514 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
1515 | ||
c81369fa JR |
1516 | PR target/54639 |
1517 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
1518 | type promotion to unsigned. | |
1519 | ||
f8a8fea7 JR |
1520 | PR target/54640 |
1521 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
1522 | for HOST_WIDE_INT of 32 bit / same size as int. | |
1523 | (arm_block_move_unaligned_straight): Likewise. | |
1524 | (arm_adjust_block_mem): Likewise. | |
1525 | ||
f8be5169 JR |
1526 | PR target/54662 |
1527 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
1528 | ALL_CFLAGS. | |
1529 | ||
f1ad3354 MP |
1530 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
1531 | ||
1532 | PR tree-optimization/56426 | |
88b97037 | 1533 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
f1ad3354 | 1534 | |
a6af0f42 RB |
1535 | 2013-02-26 Richard Biener <rguenther@suse.de> |
1536 | ||
1537 | PR target/56444 | |
1538 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
1539 | unused variable loops. | |
1540 | ||
aca43c6c JJ |
1541 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
1542 | ||
cecbe5d9 JJ |
1543 | PR tree-optimization/56448 |
1544 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
1545 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
1546 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
1547 | later operands of the references, or even first operand for | |
1548 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
1549 | ||
aca43c6c JJ |
1550 | PR tree-optimization/56443 |
1551 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
1552 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
1553 | to type_for_mode langhook. | |
1554 | ||
53e2e141 MT |
1555 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
1556 | ||
1557 | * doc/invoke.texi: Document r4700. | |
1558 | ||
259ee451 RB |
1559 | 2013-02-25 Richard Biener <rguenther@suse.de> |
1560 | ||
1561 | PR tree-optimization/56175 | |
1562 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
1563 | split out from ... | |
1564 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
1565 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
1566 | ||
6d65e8f1 CM |
1567 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
1568 | ||
1569 | Revert: | |
1570 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
1571 | Maciej W. Rozycki <macro@codesourcery.com> | |
1572 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 1573 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
1574 | Iain Sandoe <iain@codesourcery.com> |
1575 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 1576 | Chao-ying Fu <fu@mips.com> |
88b97037 | 1577 | |
6d65e8f1 | 1578 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
88b97037 | 1579 | Document new function attributes. |
6d65e8f1 CM |
1580 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
1581 | m14k, m14ke, m14kec): Document new options. | |
1582 | (minterlink-mips16): Update documentation. | |
1583 | * doc/md.texi (ZC, ZD): Document new constraints. | |
1584 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
1585 | supports the .set micromips directive. | |
1586 | * configure: Regenerate. | |
1587 | * config.in: Regenerate. | |
1588 | * config/mips/mips-tables.opt: Regenerate. | |
1589 | * config/mips/micromips.md: New file. | |
1590 | * constraints.md (ZC, AD): New constraints. | |
1591 | * config/mips/predicates.md (movep_src_register): New predicate. | |
1592 | (movep_src_operand): New predicate. | |
1593 | (non_volatile_mem_operand): New predicate. | |
1594 | * config/mips/mips.md (multimem): New type. | |
1595 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
1596 | (MOVEP1, MOVEP2): New mode iterator. | |
1597 | (mov_<load>l): Use ZC constraint. | |
1598 | (mov_<load>r): Likewise. | |
1599 | (mov_<store>l): Likewise. | |
1600 | (mov_<store>r): Likewise. | |
1601 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
1602 | (*branch_equality<mode>): Likewise. | |
1603 | (*jump_absolute): Likewise. | |
1604 | (indirect_jump_<mode>): Likewise. | |
1605 | (tablejump_<mode>): Likewise. | |
1606 | (<optab>_internal): Likewise. | |
1607 | (sibcall_internal): Likewise. | |
1608 | (sibcall_value_internal): Likewise. | |
1609 | (prefetch): Use constraint ZD. | |
1610 | * config/mips/mips.opt (minterlink-compressed): New option. | |
1611 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
1612 | (mmicromips): New option. | |
1613 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
1614 | (compare_and_swap_12): Likewise. | |
1615 | (sync_add<mode>): Likewise. | |
1616 | (sync_<optab>_12): Likewise. | |
1617 | (sync_old_<optab>_12): Likewise. | |
1618 | (sync_new_<optab>_12): Likewise. | |
1619 | (sync_nand_12): Likewise. | |
1620 | (sync_old_nand_12): Likewise. | |
1621 | (sync_new_nand_12): Likewise. | |
1622 | (sync_sub<mode>): Likewise. | |
1623 | (sync_old_add<mode>): Likewise. | |
1624 | (sync_old_sub<mode>): Likewise. | |
1625 | (sync_new_add<mode>): Likewise. | |
1626 | (sync_new_sub<mode>): Likewise. | |
1627 | (sync_<optab><mode>): Likewise. | |
1628 | (sync_old_<optab><mode>): Likewise. | |
1629 | (sync_new_<optab><mode>): Likewise. | |
1630 | (sync_nand<mode>): Likewise. | |
1631 | (sync_old_nand<mode>): Likewise. | |
1632 | (sync_new_nand<mode>): Likewise. | |
1633 | (sync_lock_test_and_set<mode>): Likewise. | |
1634 | (test_and_set_12): Likewise. | |
1635 | (atomic_compare_and_swap<mode>): Likewise. | |
1636 | (atomic_exchange<mode>_llsc): Likewise. | |
1637 | (atomic_fetch_add<mode>_llsc): Likewise. | |
1638 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
1639 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
1640 | (umips_save_restore_pattern_p): Likewise. | |
1641 | (umips_load_store_pair_p): Likewise. | |
1642 | (umips_output_load_store_pair): Likewise. | |
1643 | (umips_movep_target_p): Likewise. | |
1644 | (umips_12bit_offset_address_p): Likewise. | |
1645 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
1646 | (mips_base_mips16): Rename this... | |
1647 | (mips_base_compression_flags): ...to this. Update all uses. | |
1648 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
1649 | (mips_mips16_decl_p): Delete. | |
1650 | (mips_nomips16_decl_p): Delete. | |
1651 | (mips_get_compress_on_flags): New function. | |
1652 | (mips_get_compress_off_flags): New function. | |
1653 | (mips_get_compress_mode): New function. | |
1654 | (mips_get_compress_on_name): New function. | |
1655 | (mips_get_compress_off_name): New function. | |
1656 | (mips_insert_attributes): Support multiple compression types. | |
1657 | (mips_merge_decl_attributes): Likewise. | |
1658 | (umips_12bit_offset_address_p): New function. | |
1659 | (mips_start_function_definition): Emit .set micromips directive. | |
1660 | (mips_call_may_need_jalx_p): New function. | |
1661 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
1662 | (mips_print_operand_punctuation): Support short delay slots and | |
1663 | compact jumps. | |
1664 | (umips_swm_mask, umips_swm_encoding): New. | |
1665 | (umips_build_save_restore): New function. | |
1666 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
1667 | (was_mips16_p): Remove. | |
1668 | (old_compression_mode): New. | |
1669 | (mips_set_compression_mode): New function. | |
1670 | (mips_set_current_function): Add microMIPS support. | |
1671 | (mips_option_override): Likewise. | |
1672 | (umips_save_restore_pattern_p): New function. | |
1673 | (umips_output_save_restore): New function. | |
1674 | (umips_load_store_pair_p_1): New function. | |
1675 | (umips_load_store_pair_p): New function. | |
1676 | (umips_output_load_store_pair_1): New function. | |
1677 | (umips_output_load_store_pair): New function. | |
1678 | (umips_movep_target_p) New function. | |
1679 | (mips_prepare_pch_save): Add microMIPS support. | |
1680 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
1681 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
1682 | to use new compression flags and to support microMIPS. | |
1683 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
1684 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
1685 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
1686 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
1687 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
1688 | (M16STORE_REG_P): New macro. | |
1689 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
1690 | (MICROMIPS_J): New macro. | |
1691 | (mips_base_mips16): Rename this... | |
1692 | (mips_base_compression_flags): ...to this. | |
1693 | (UMIPS_12BIT_OFFSET_P): New macro. | |
1694 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
1695 | (MULTILIB_DIRNAMES): Likewise. | |
1696 | ||
5e5df392 TV |
1697 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
1698 | ||
1699 | PR rtl-optimization/56131 | |
1700 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
1701 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
1702 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
1703 | ||
3fdb53c1 TB |
1704 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
1705 | ||
1706 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
1707 | to debugging options. | |
1708 | ||
ed358aea AB |
1709 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
1710 | ||
1711 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
1712 | ||
f45e9053 AB |
1713 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
1714 | Alexander Monakov <amonakov@ispras.ru> | |
1715 | ||
1716 | PR middle-end/56077 | |
1717 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
1718 | flush pending lists also on non-jumps. Adjust comment. | |
1719 | ||
6941b508 CM |
1720 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
1721 | Maciej W. Rozycki <macro@codesourcery.com> | |
1722 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 1723 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
1724 | Iain Sandoe <iain@codesourcery.com> |
1725 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 1726 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
1727 | |
1728 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
88b97037 | 1729 | Document new function attributes. |
6941b508 CM |
1730 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
1731 | m14k, m14ke, m14kec): Document new options. | |
1732 | (minterlink-mips16): Update documentation. | |
1733 | * doc/md.texi (ZC, ZD): Document new constraints. | |
1734 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
1735 | supports the .set micromips directive. | |
1736 | * configure: Regenerate. | |
1737 | * config.in: Regenerate. | |
1738 | * config/mips/mips-tables.opt: Regenerate. | |
1739 | * config/mips/micromips.md: New file. | |
1740 | * constraints.md (ZC, AD): New constraints. | |
1741 | * config/mips/predicates.md (movep_src_register): New predicate. | |
1742 | (movep_src_operand): New predicate. | |
1743 | (non_volatile_mem_operand): New predicate. | |
1744 | * config/mips/mips.md (multimem): New type. | |
1745 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
1746 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 1747 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
1748 | (mov_<load>r): Likewise. |
1749 | (mov_<store>l): Likewise. | |
1750 | (mov_<store>r): Likewise. | |
1751 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
1752 | (*branch_equality<mode>): Likewise. | |
1753 | (*jump_absolute): Likewise. | |
1754 | (indirect_jump_<mode>): Likewise. | |
1755 | (tablejump_<mode>): Likewise. | |
1756 | (<optab>_internal): Likewise. | |
1757 | (sibcall_internal): Likewise. | |
1758 | (sibcall_value_internal): Likewise. | |
1759 | (prefetch): Use constraint ZD. | |
1760 | * config/mips/mips.opt (minterlink-compressed): New option. | |
1761 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
1762 | (mmicromips): New option. | |
1763 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
1764 | (compare_and_swap_12): Likewise. | |
1765 | (sync_add<mode>): Likewise. | |
1766 | (sync_<optab>_12): Likewise. | |
1767 | (sync_old_<optab>_12): Likewise. | |
1768 | (sync_new_<optab>_12): Likewise. | |
1769 | (sync_nand_12): Likewise. | |
1770 | (sync_old_nand_12): Likewise. | |
1771 | (sync_new_nand_12): Likewise. | |
1772 | (sync_sub<mode>): Likewise. | |
1773 | (sync_old_add<mode>): Likewise. | |
1774 | (sync_old_sub<mode>): Likewise. | |
1775 | (sync_new_add<mode>): Likewise. | |
1776 | (sync_new_sub<mode>): Likewise. | |
1777 | (sync_<optab><mode>): Likewise. | |
1778 | (sync_old_<optab><mode>): Likewise. | |
1779 | (sync_new_<optab><mode>): Likewise. | |
1780 | (sync_nand<mode>): Likewise. | |
1781 | (sync_old_nand<mode>): Likewise. | |
1782 | (sync_new_nand<mode>): Likewise. | |
1783 | (sync_lock_test_and_set<mode>): Likewise. | |
1784 | (test_and_set_12): Likewise. | |
1785 | (atomic_compare_and_swap<mode>): Likewise. | |
1786 | (atomic_exchange<mode>_llsc): Likewise. | |
1787 | (atomic_fetch_add<mode>_llsc): Likewise. | |
1788 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
1789 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
1790 | (umips_save_restore_pattern_p): Likewise. | |
1791 | (umips_load_store_pair_p): Likewise. | |
1792 | (umips_output_load_store_pair): Likewise. | |
1793 | (umips_movep_target_p): Likewise. | |
1794 | (umips_12bit_offset_address_p): Likewise. | |
1795 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
1796 | (mips_base_mips16): Rename this... | |
1797 | (mips_base_compression_flags): ...to this. Update all uses. | |
1798 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
1799 | (mips_mips16_decl_p): Delete. | |
1800 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 1801 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
1802 | (mips_get_compress_off_flags): New function. |
1803 | (mips_get_compress_mode): New function. | |
1804 | (mips_get_compress_on_name): New function. | |
1805 | (mips_get_compress_off_name): New function. | |
1806 | (mips_insert_attributes): Support multiple compression types. | |
1807 | (mips_merge_decl_attributes): Likewise. | |
1808 | (umips_12bit_offset_address_p): New function. | |
1809 | (mips_start_function_definition): Emit .set micromips directive. | |
1810 | (mips_call_may_need_jalx_p): New function. | |
1811 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
1812 | (mips_print_operand_punctuation): Support short delay slots and | |
1813 | compact jumps. | |
1814 | (umips_swm_mask, umips_swm_encoding): New. | |
1815 | (umips_build_save_restore): New function. | |
1816 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
1817 | (was_mips16_p): Remove. | |
1818 | (old_compression_mode): New. | |
1819 | (mips_set_compression_mode): New function. | |
1820 | (mips_set_current_function): Add microMIPS support. | |
1821 | (mips_option_override): Likewise. | |
1822 | (umips_save_restore_pattern_p): New function. | |
1823 | (umips_output_save_restore): New function. | |
1824 | (umips_load_store_pair_p_1): New function. | |
1825 | (umips_load_store_pair_p): New function. | |
1826 | (umips_output_load_store_pair_1): New function. | |
1827 | (umips_output_load_store_pair): New function. | |
1828 | (umips_movep_target_p) New function. | |
1829 | (mips_prepare_pch_save): Add microMIPS support. | |
1830 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
1831 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
1832 | to use new compression flags and to support microMIPS. | |
1833 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
1834 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
1835 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
1836 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
1837 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
1838 | (M16STORE_REG_P): New macro. | |
1839 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
1840 | (MICROMIPS_J): New macro. | |
1841 | (mips_base_mips16): Rename this... | |
1842 | (mips_base_compression_flags): ...to this. | |
1843 | (UMIPS_12BIT_OFFSET_P): New macro. | |
1844 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
1845 | (MULTILIB_DIRNAMES): Likewise. | |
1846 | ||
cdebbc6d JJ |
1847 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
1848 | ||
1849 | PR target/52555 | |
1850 | * target-globals.c (save_target_globals): For init_reg_sets and | |
1851 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
1852 | ||
18c63565 JG |
1853 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
1854 | ||
1855 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
1856 | * config/aarch64/t-aarch64 | |
1857 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
1858 | ||
2194f7a2 VM |
1859 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
1860 | ||
1861 | PR inline-asm/56148 | |
1862 | * lra-constraints.c (process_alt_operands): Reload operand | |
1863 | conflicting with earlier clobber only if no more other conflicting | |
1864 | operands. | |
1865 | ||
7d613735 JJ |
1866 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
1867 | ||
1868 | PR sanitizer/56393 | |
1869 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
1870 | if not linking a shared library. | |
1871 | ||
ac8d93a7 SL |
1872 | 2013-02-22 Seth LaForge <sethml@google.com> |
1873 | ||
1874 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
1875 | ||
e0237780 GY |
1876 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
1877 | ||
3fdb53c1 TB |
1878 | * config/arm/arm.md (split for extendsidi): Update condition. |
1879 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
1880 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
1881 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 1882 | |
d7fde18c JJ |
1883 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
1884 | ||
be63b77d JJ |
1885 | PR middle-end/56420 |
1886 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
1887 | avoid signed wrapping. | |
1888 | (expand_mult): Handle properly multiplication by | |
1889 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
1890 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
1891 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
1892 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
1893 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
1894 | ||
d7fde18c JJ |
1895 | PR rtl-optimization/50339 |
1896 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
1897 | field. | |
1898 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
1899 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
1900 | into splitting_ashiftrt field. | |
1901 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
1902 | ASHIFTRT. | |
1903 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
1904 | choices. | |
1905 | ||
6aad4455 AH |
1906 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
1907 | ||
1908 | PR middle-end/56108 | |
1909 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
1910 | are sure to go irrevocable. | |
1911 | ||
38fe784d HPN |
1912 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
1913 | ||
1914 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
1915 | scalars are valid operands. | |
1916 | ||
0fd44da3 MJ |
1917 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
1918 | ||
1919 | PR tree-optimization/56310 | |
1920 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
1921 | only matching indices and non-negative final offsets. | |
1922 | (intersect_aggregates_with_edge): Pass src_idx to | |
1923 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
1924 | intersect_with_agg_replacements. | |
1925 | ||
7a92038b MJ |
1926 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
1927 | ||
1928 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
1929 | instead of hard-wired defaults. | |
1930 | ||
c0da9c37 MR |
1931 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
1932 | ||
1933 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
1934 | floating-point multiply-accumulate instruction restrictions. | |
1935 | ||
d247ea0c | 1936 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
1937 | |
1938 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
1939 | asan_shadow_offset on x86_64 linux. | |
1940 | ||
22deefcb RB |
1941 | 2013-02-21 Richard Biener <rguenther@suse.de> |
1942 | ||
1943 | PR tree-optimization/56415 | |
1944 | Revert | |
1945 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
1946 | ||
1947 | PR tree-optimization/56273 | |
1948 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
1949 | first VRP run. | |
1950 | ||
7bcc6e75 JJ |
1951 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
1952 | ||
a0ad148f JJ |
1953 | PR bootstrap/56258 |
1954 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
1955 | instead of @itemx. | |
1956 | ||
7bcc6e75 JJ |
1957 | PR inline-asm/56405 |
1958 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
1959 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
1960 | ||
a0a7b611 JH |
1961 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
1962 | ||
1963 | PR tree-optimization/56265 | |
88b97037 UB |
1964 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
1965 | when target is referenced for first time. | |
a0a7b611 | 1966 | |
c0e50f72 RB |
1967 | 2013-02-20 Richard Biener <rguenther@suse.de> |
1968 | ||
1969 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
1970 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
1971 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
1972 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
1973 | not return anything. | |
1974 | (rename_ssa_copies): Do not remove unused locals. | |
1975 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
88b97037 | 1976 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
c0e50f72 RB |
1977 | * passes.c (execute_function_todo): Do not schedule unused locals |
1978 | removal if cleanup_tree_cfg did something. | |
1979 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
1980 | about the number of removed locals. | |
1981 | ||
a52ca739 RB |
1982 | 2013-02-20 Richard Biener <rguenther@suse.de> |
1983 | ||
1984 | PR tree-optimization/56398 | |
88b97037 | 1985 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
a52ca739 | 1986 | |
ec9c9d1b MJ |
1987 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
1988 | ||
1989 | PR tree-optimization/55334 | |
1990 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
1991 | restricted pointers to arrays. | |
1992 | ||
e91c8ed6 | 1993 | 2013-02-20 Richard Biener <rguenther@suse.de> |
88b97037 | 1994 | Jakub Jelinek <jakub@redhat.com> |
e91c8ed6 RB |
1995 | |
1996 | PR tree-optimization/56396 | |
1997 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
1998 | (get_value): Return NULL for SSA names we don't have a lattice | |
1999 | entry for. | |
2000 | (ccp_initialize): Initialize n_const_val. | |
2001 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
2002 | (init_copy_prop): Initialize n_copy_of. | |
2003 | (get_value): Return NULL_TREE for SSA names we don't have a | |
2004 | lattice entry for. | |
2005 | ||
3d916479 MJ |
2006 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
2007 | ||
2008 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
2009 | ||
71a86758 RB |
2010 | 2013-02-20 Richard Biener <rguenther@suse.de> |
2011 | ||
2012 | * genpreds.c (write_lookup_constraint): Do not compare first | |
2013 | letter of the constraint again. | |
2014 | ||
79836a12 RB |
2015 | 2013-02-20 Richard Biener <rguenther@suse.de> |
2016 | ||
2017 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
2018 | and ceil_log2. | |
2019 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
2020 | an empty entry. | |
2021 | ||
bbe4fb2c IZ |
2022 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
2023 | ||
2024 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
2025 | reassociation for avx2 targets. | |
2026 | ||
a72d8780 | 2027 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 2028 | |
c77f83d5 EI |
2029 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
2030 | Add version check for v8.10.a to enable microblaze_has_clz | |
88b97037 | 2031 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
c77f83d5 EI |
2032 | version and TARGET_PATTERN_COMPARE check |
2033 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 2034 | |
a72d8780 | 2035 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 2036 | |
a72d8780 | 2037 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
2038 | function before branching. |
2039 | ||
242387fa AB |
2040 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
2041 | ||
2042 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
2043 | DUMP_INSN_RTX_UID. | |
2044 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
2045 | ||
b4979ab9 AB |
2046 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
2047 | ||
2048 | PR middle-end/55889 | |
b4979ab9 AB |
2049 | * sel-sched.c: Include ira.h. |
2050 | (implicit_clobber_conflict_p): New function. | |
2051 | (moveup_expr): Use it. | |
88b97037 | 2052 | * Makefile.in (sel-sched.o): Depend on ira.h. |
b4979ab9 | 2053 | |
24d63016 RB |
2054 | 2013-02-19 Richard Biener <rguenther@suse.de> |
2055 | ||
2056 | PR tree-optimization/56384 | |
2057 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
2058 | (vn_hash_type): Split out from ... | |
2059 | (vn_hash_constant_with_type): ... here. | |
2060 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
2061 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
2062 | (vn_phi_lookup): Populate vn_phi_s type. | |
2063 | (vn_phi_insert): Likewise. | |
2064 | ||
a475fd3d JJ |
2065 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
2066 | ||
47cc28f5 JJ |
2067 | PR tree-optimization/56350 |
2068 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
2069 | if haven't found reduction or nested cycle operand, rather than | |
2070 | asserting we must find it. | |
2071 | ||
a475fd3d JJ |
2072 | PR tree-optimization/56381 |
2073 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
2074 | to fold_build3. | |
2075 | ||
2076 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
2077 | Jakub Jelinek <jakub@redhat.com> |
2078 | ||
2079 | PR target/52555 | |
2080 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
2081 | (swap_optab_enable): Same. | |
2082 | (init_all_optabs): Use argument instead of global. | |
88b97037 | 2083 | * tree.h (struct tree_optimization_option): New field target_optabs. |
135204dd AH |
2084 | * expr.h (init_all_optabs): Add argument to prototype. |
2085 | (TREE_OPTIMIZATION_OPTABS): New. | |
2086 | (save_optabs_if_changed): Protoize. | |
2087 | * optabs.h: Declare this_fn_optabs. | |
2088 | * optabs.c (save_optabs_if_changed): New. | |
2089 | Declare this_fn_optabs. | |
2090 | (init_optabs): Add argument to init_all_optabs() call. | |
2091 | * function.c (invoke_set_current_function_hook): Handle per | |
2092 | function optabs. | |
2093 | * function.h (struct function): New field optabs. | |
2094 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
2095 | optimization_current_node has changed. | |
2096 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
2097 | * target-globals.c (save_target_globals_default_opts): New. | |
2098 | ||
3f587ca3 JDA |
2099 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2100 | ||
2101 | PR target/56347 | |
2102 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
2103 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
2104 | |
2105 | PR target/56214 | |
2106 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
88b97037 UB |
2107 | and HImode, require all displacements to be an integer multiple of |
2108 | their mode size. | |
ceaca33e JDA |
2109 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
2110 | only allow QImode and HImode when reload is in progress and strict is | |
2111 | true. Likewise for symbolic addresses. Use base14_operand to check | |
2112 | displacements in REG+BASE addresses. | |
2113 | ||
fe0b4796 RB |
2114 | 2013-02-18 Richard Biener <rguenther@suse.de> |
2115 | ||
2116 | PR tree-optimization/56366 | |
2117 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
2118 | handle sign-conversion of outer-loop initial induction value. | |
2119 | ||
6aaf596b RB |
2120 | 2013-02-18 Richard Biener <rguenther@suse.de> |
2121 | ||
73db8ff1 | 2122 | PR middle-end/56349 |
6aaf596b RB |
2123 | * cfghooks.c (merge_blocks): If we merge a latch into another |
2124 | block adjust references to it. | |
2125 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
2126 | (verify_loop_structure): Verify that a recorded latch is in fact | |
2127 | a latch. | |
2128 | ||
5e97dfb6 RB |
2129 | 2013-02-18 Richard Biener <rguenther@suse.de> |
2130 | ||
2131 | PR tree-optimization/56321 | |
2132 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
2133 | order SSA name release and virtual operand unlinking. | |
2134 | ||
825527e8 EI |
2135 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
2136 | ||
2137 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
2138 | (restore_stack_block): Likewise. | |
2139 | ||
debd11d9 EI |
2140 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
2141 | ||
2142 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
2143 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
2144 | * config/microblaze/microblaze.c (microblaze_option_override): | |
2145 | Bail out early for PIC modes when target does not support PIC. | |
2146 | ||
8ec77be0 EI |
2147 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
2148 | ||
88b97037 | 2149 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
8ec77be0 EI |
2150 | Replace with a microblaze version. |
2151 | (microblaze_trampoline_init): Adapt for microblaze. | |
a752b80f | 2152 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
8ec77be0 EI |
2153 | microblaze. |
2154 | ||
b41288b3 JJ |
2155 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
2156 | Dodji Seketeli <dodji@redhat.com> | |
2157 | ||
2158 | PR asan/56330 | |
88b97037 | 2159 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
b41288b3 JJ |
2160 | (instrument_mem_region_access): Do not forget to always put |
2161 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
2162 | 0) statement, even for cases where either 'base' or 'base + len' | |
2163 | are not instrumented -- because they have been previously | |
2164 | instrumented. Simplify the logic by putting all the statements | |
2165 | instrument 'base + len' inside a sequence, and then insert that | |
2166 | sequence right before the current insertion point. Then, to | |
2167 | instrument 'base + len', just get an iterator on that statement. | |
2168 | And do not forget to update the pointer to iterator the function | |
2169 | received as argument. | |
2170 | ||
47918951 VM |
2171 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
2172 | ||
2173 | PR rtl-optimization/56348 | |
2174 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
2175 | ||
3fb7c699 SB |
2176 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
2177 | ||
2178 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
2179 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
2180 | ||
576fe41a RH |
2181 | 2013-02-14 Richard Henderson <rth@redhat.com> |
2182 | ||
2183 | PR target/55941 | |
2184 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
2185 | ||
bb3accfa SB |
2186 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
2187 | ||
2188 | * collect2-aix.h: Define F_LOADONLY. | |
2189 | ||
03143140 RB |
2190 | 2013-02-14 Richard Biener <rguenther@suse.de> |
2191 | ||
2192 | PR lto/50494 | |
2193 | * varasm.c (output_constant_def_1): Get the decl representing | |
2194 | the constant as argument. | |
2195 | (output_constant_def): Wrap output_constant_def_1. | |
2196 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
2197 | representing the constant. | |
2198 | (build_constant_desc): Optionally re-use a decl already | |
2199 | representing the constant. | |
2200 | (tree_output_constant_def): Adjust. | |
2201 | ||
8fb06726 DS |
2202 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
2203 | ||
2204 | Fix an asan crash | |
2205 | * asan.c (instrument_builtin_call): Really put the length of the | |
2206 | second source argument into src1_len. | |
2207 | ||
c4bfe8bf JJ |
2208 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
2209 | ||
2210 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
2211 | argument. If it is false, don't create edge from then_bb to | |
2212 | fallthru_bb. | |
2213 | (insert_if_then_before_iter): Pass true to it. | |
2214 | (build_check_stmt): Pass false to it. | |
2215 | (transform_statements): Flush hash table only on extended basic | |
2216 | block boundaries, rather than at the beginning of every bb. | |
2217 | Don't flush hash table on nonfreeing_call_p calls. | |
2218 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
2219 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
2220 | ||
7afe2801 DM |
2221 | 2013-02-13 David S. Miller <davem@davemloft.net> |
2222 | ||
2223 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
2224 | ||
70cc3288 VM |
2225 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
2226 | ||
2227 | PR target/56184 | |
2228 | * ira.c (max_regno_before_ira): Move from ... | |
2229 | (ira): ... here. | |
2230 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
2231 | vec_safe_length. | |
2232 | ||
6422242b JJ |
2233 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
2234 | ||
2235 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
2236 | ||
976a81ee RB |
2237 | 2013-02-13 Richard Biener <rguenther@suse.de> |
2238 | ||
2239 | PR lto/56295 | |
2240 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
2241 | globals in MEM_REFs. | |
2242 | ||
c1874a87 RB |
2243 | 2013-02-13 Richard Biener <rguenther@suse.de> |
2244 | ||
2245 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
2246 | re-initializing preserved loops. | |
2247 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
2248 | we unswitched the loop. Do not verify loop state here. | |
88b97037 | 2249 | (unswitch_loops): When we unswitched a loop discover new loops. |
c1874a87 | 2250 | |
b4ab7d34 KS |
2251 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
2252 | ||
88b97037 UB |
2253 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
2254 | on x86_64 linux. | |
b4ab7d34 KS |
2255 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
2256 | ||
bdcbe80c DS |
2257 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
2258 | ||
2259 | Avoid instrumenting duplicated memory access in the same basic block | |
2260 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
2261 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
2262 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
2263 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
2264 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
2265 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
2266 | (get_mem_ref_of_assignment): New functions. | |
2267 | (get_mem_refs_of_builtin_call): Extract from | |
2268 | instrument_builtin_call and tweak a little bit to make it fit with | |
2269 | the new signature. | |
2270 | (instrument_builtin_call): Use the new | |
2271 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
2272 | of is_gimple_builtin_call. | |
2273 | (instrument_derefs, instrument_mem_region_access): Insert the | |
2274 | instrumented memory reference into the hash table. | |
2275 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
2276 | this, and change it to advance the iterator when instrumentation | |
2277 | actually happened and return true in that case. This makes it | |
2278 | homogeneous with maybe_instrument_assignment, and thus give a | |
2279 | chance to callers to be more 'regular'. | |
2280 | (transform_statements): Clear the memory reference hash table | |
2281 | whenever we enter a new BB, when we cross a function call, or when | |
2282 | we are done transforming statements. Use | |
2283 | maybe_instrument_assignment instead of instrumentation. No more | |
2284 | need to special case maybe_instrument_assignment and advance the | |
2285 | iterator after calling it; it's now handled just like | |
2286 | maybe_instrument_call. Update comment. | |
2287 | ||
4861a1f7 RB |
2288 | 2013-02-13 Richard Biener <rguenther@suse.de> |
2289 | ||
2290 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
2291 | Fix loop discovery code. | |
2292 | ||
1c86bd80 VM |
2293 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
2294 | ||
2295 | PR inline-asm/56148 | |
2296 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 2297 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
2298 | the operand is not reloaded. Prefer to reload conflicting operand |
2299 | if earlyclobber and matching operands are the same. | |
2300 | ||
7cbda518 RB |
2301 | 2013-02-12 Richard Biener <rguenther@suse.de> |
2302 | ||
2303 | PR lto/56297 | |
2304 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
2305 | for hard register variables. | |
2306 | ||
e68a4ef6 GJL |
2307 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
2308 | ||
2309 | PR target/54222 | |
2310 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
2311 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
2312 | ||
a72d8780 | 2313 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
2314 | |
2315 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
2316 | (struct tune_params): Add vec_costs field. | |
2317 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
2318 | (arm_add_stmt_cost): New functions. | |
2319 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
2320 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
2321 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
2322 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
2323 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
2324 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
2325 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
2326 | ||
43320568 RB |
2327 | 2013-02-12 Richard Biener <rguenther@suse.de> |
2328 | ||
2329 | PR lto/56295 | |
2330 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
2331 | decls again if possible. | |
2332 | ||
a011aa39 RB |
2333 | 2013-02-12 Richard Biener <rguenther@suse.de> |
2334 | ||
2335 | PR middle-end/56288 | |
2336 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
2337 | SSA_NAME_IN_FREE_LIST check up. | |
2338 | ||
6da26889 JJ |
2339 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
2340 | Steven Bosscher <steven@gcc.gnu.org> | |
2341 | ||
2342 | PR rtl-optimization/56151 | |
2343 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
2344 | equal to op0 or op1, and last_insn pattern is CODE operation | |
2345 | with MEM dest and one of the operands matches that MEM. | |
2346 | ||
f80e0faf ST |
2347 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
2348 | ||
2349 | * doc/extend.texi: Document Function Multiversioning and "default" | |
2350 | parameter string to target attribute. | |
2351 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
2352 | target attribute parameter is "default". | |
2353 | (ix86_compare_version_priority): Remove checks for target attribute. | |
2354 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
2355 | Remove check for target attribute equal to NULL. Add assert. | |
2356 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
2357 | ||
6c59ffd1 IS |
2358 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
2359 | Jack Howarth <howarth@bromo.med.uc.edu> | |
2360 | Patrick Marlier <patrick.marlier@gmail.com> | |
2361 | ||
2362 | PR libitm/55693 | |
2363 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
2364 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
2365 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
2366 | ||
a72d8780 | 2367 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
2368 | Jack Howarth <howarth@bromo.med.uc.edu> |
2369 | Jakub Jelinek <jakub@redhat.com> | |
2370 | ||
2371 | PR sanitizer/55617 | |
2372 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
2373 | (sort_cdtor_records): Rename sort_ctor_records. | |
2374 | (finalize_dtors): New routine to sort destructors by | |
2375 | priority before use in assemble_integer. | |
2376 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
2377 | ||
b63fe007 UB |
2378 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
2379 | ||
2380 | PR rtl-optimization/56275 | |
2381 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
2382 | offset is non-negative and less than cmode size before | |
2383 | calling simplify_subreg. | |
2384 | ||
8e89b5b5 RB |
2385 | 2013-02-11 Richard Biener <rguenther@suse.de> |
2386 | ||
2387 | PR tree-optimization/56264 | |
2388 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
2389 | * loop-init.c (fix_loop_structure): Return the number of | |
2390 | newly discovered loops. | |
2391 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
2392 | are discovered, do a full loop-closed SSA rewrite. | |
2393 | ||
b4a4b56d RB |
2394 | 2013-02-11 Richard Biener <rguenther@suse.de> |
2395 | ||
2396 | PR tree-optimization/56273 | |
2397 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
2398 | first VRP run. | |
2399 | (check_array_ref): Fix missing newline in dumps. | |
2400 | (search_for_addr_array): Likewise. | |
2401 | ||
0c885229 DE |
2402 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
2403 | ||
2404 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
2405 | ||
59ac9a55 JJ |
2406 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
2407 | ||
2408 | PR target/56256 | |
2409 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
2410 | ||
25bb0bb5 VM |
2411 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
2412 | ||
2413 | PR rtl-optimization/56246 | |
0c885229 | 2414 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
2415 | reload pseudo. |
2416 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
2417 | constraints are satisfied. | |
2418 | ||
a698cc03 JL |
2419 | 2013-02-08 Jeff Law <law@redhat.com> |
2420 | ||
2421 | PR debug/53948 | |
2422 | * emit-rtl.c (reg_is_parm_p): New function. | |
2423 | * regs.h (reg_is_parm_p): New prototype. | |
2424 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
2425 | callee-clobbered registers. | |
2426 | ||
e1122ddd MM |
2427 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
2428 | ||
2429 | PR target/56043 | |
2430 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
2431 | If there is no implicit builtin declaration, just return NULL. | |
2432 | ||
19c5f6e6 UB |
2433 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
2434 | ||
2435 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
2436 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
2437 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
2438 | ||
2480f2ca | 2439 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 2440 | |
2480f2ca UB |
2441 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
2442 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
2443 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
2444 | ||
2445 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
2446 | ||
2447 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
2448 | (microblaze*-*-elf): Likewise. | |
2449 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
2450 | LINK_SPEC. | |
2451 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
2452 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
2453 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
2454 | add to TARGET_DEFAULT flags. | |
76ef61fb | 2455 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
2456 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
2457 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
2458 | movdi_internal instructions to use low-order / high-order reg | |
2459 | print_operands. | |
2460 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
2461 | options and inversemask / mask of LITTLE_ENDIAN. | |
2462 | * config/microblaze/t-microblaze: Expand multilib options to | |
2463 | include mlittle-endian (le) and update exceptions patterns. | |
2464 | ||
600a5961 JJ |
2465 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
2466 | ||
5df81313 JJ |
2467 | PR rtl-optimization/56195 |
2468 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
2469 | if they have smaller mode than requested, if they have | |
2470 | wider mode than requested, try to return a SUBREG. | |
2471 | ||
600a5961 JJ |
2472 | PR tree-optimization/56250 |
2473 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
2474 | if type is unsigned and code isn't MULT_EXPR. | |
2475 | ||
ff544649 GJL |
2476 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
2477 | ||
2478 | PR tree-optimization/56064 | |
2479 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
2480 | bits according to mode. | |
2481 | * fixed-value.h (fixed_from_double_int) | |
2482 | (const_fixed_from_double_int): Adjust comments. | |
2483 | ||
e45cde98 RB |
2484 | 2013-02-08 Richard Biener <rguenther@suse.de> |
2485 | ||
2486 | PR lto/56231 | |
2487 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
2488 | and current_col members. | |
2489 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
2490 | en-block for efficiency. | |
2491 | * lto-streamer-in.c (clear_line_info): Remove. | |
2492 | (lto_input_location): Cache current file, line and column | |
2493 | globally via local statics. Read changed bits en-block. | |
2494 | (input_function): Do not call clear_line_info. | |
2495 | (lto_read_body): Likewise. | |
2496 | (lto_input_toplevel_asms): Likewise. | |
2497 | ||
c1ca73d8 MM |
2498 | 2013-02-08 Michael Matz <matz@suse.de> |
2499 | ||
2500 | PR tree-optimization/52448 | |
2501 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
2502 | (nt_call_phase): New static. | |
2503 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
2504 | call seen. | |
2505 | (nonfreeing_call_p): New. | |
2506 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
2507 | (nt_fini_block): Keep blocks marked as visited. | |
2508 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
2509 | ||
57548aa2 RB |
2510 | 2013-02-08 Richard Biener <rguenther@suse.de> |
2511 | ||
2512 | * ira.c (ira): Free broken dominator information. | |
2513 | ||
8e10366f UB |
2514 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
2515 | ||
2516 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
2517 | ||
f64fb0fa MP |
2518 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
2519 | ||
8e10366f | 2520 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 2521 | |
0375167b RB |
2522 | 2013-02-08 Richard Biener <rguenther@suse.de> |
2523 | ||
2524 | PR middle-end/56181 | |
2525 | * cfgloop.h (flow_loops_find): Adjust. | |
2526 | (bb_loop_header_p): Declare. | |
2527 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
2528 | (flow_loops_find): ... here. Adjust function signature, | |
2529 | support incremental loop structure update. | |
2530 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
2531 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
2532 | * loop-init.c (fix_loop_structure): ... here. | |
2533 | (apply_loop_flags): Split out from ... | |
2534 | (loop_optimizer_init): ... here. | |
2535 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
2536 | in incremental mode, only remove dead loops here. | |
2537 | ||
85d768f3 GJL |
2538 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
2539 | ||
2540 | PR target/54222 | |
2541 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
2542 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
2543 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
2544 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
2545 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
2546 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
2547 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
2548 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
2549 | implementations. Define to __builtin_avr_absFX, | |
2550 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
2551 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
2552 | __builtin_avr_countlsFX, respectively. | |
2553 | * config/avr/avr-c.c (target.h): Include it. | |
2554 | (enum avr_builtin_id): New enum. | |
2555 | (avr_resolve_overloaded_builtin): New static function. | |
2556 | (avr_register_target_pragmas): Use it to set | |
2557 | targetm.resolve_overloaded_builtin. | |
2558 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
2559 | tree nodes used by DEF_BUILTIN. | |
2560 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
2561 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
2562 | <AVR_BUILTIN_xxBITS>: Same. | |
2563 | ||
661bc682 RB |
2564 | 2013-02-08 Richard Biener <rguenther@suse.de> |
2565 | ||
2566 | * cfgloop.c (verify_loop_structure): Properly handle | |
2567 | a loop exiting to another loop header. | |
2568 | * ira-int.h (ira_loops): Remove. | |
2569 | * ira.c (ira_loops): Remove. | |
2570 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
2571 | (do_reload): Use loop_optimizer_finalize. | |
2572 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
2573 | number_of_loops to access the loop tree. | |
2574 | (more_one_region_p): Likewise. | |
2575 | (finish_loop_tree_nodes): Likewise. | |
2576 | (rebuild_regno_allocno_maps): Likewise. | |
2577 | (mark_loops_for_removal): Likewise. | |
2578 | (mark_all_loops_for_removal): Likewise. | |
2579 | (remove_unnecessary_regions): Likewise. | |
2580 | (ira_build): Likewise. | |
2581 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
2582 | ||
0d5049b2 RB |
2583 | 2013-02-08 Richard Biener <rguenther@suse.de> |
2584 | ||
2585 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
2586 | * ipa-pure-const.c (analyze_function): Avoid calling | |
2587 | mark_irreducible_loops twice. | |
8e10366f | 2588 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 2589 | |
499f32e8 DM |
2590 | 2013-02-07 David S. Miller <davem@davemloft.net> |
2591 | ||
2592 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
2593 | on 'reg'. | |
2594 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
2595 | HAVE_window_save properly and do not remap argument registers when | |
2596 | we have a leaf function. | |
2597 | ||
6edc3e32 UB |
2598 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
2599 | ||
2600 | PR bootstrap/56227 | |
2601 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
2602 | instead of "ll". | |
2603 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
2604 | ||
5306401f VM |
2605 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
2606 | ||
6edc3e32 | 2607 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 2608 | |
027ece11 VM |
2609 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
2610 | ||
2611 | PR rtl-optimization/56225 | |
2612 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
2613 | reg can hold value for strict_low_part. | |
2614 | ||
f980dfdb JJ |
2615 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
2616 | ||
2617 | PR debug/56154 | |
2618 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
2619 | dwarf2out_end_function. | |
2620 | (in_first_function_p, maybe_at_text_label_p, | |
2621 | first_loclabel_num_not_at_text_label): New variables. | |
2622 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 2623 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
2624 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
2625 | functions. | |
2626 | ||
73dd3123 EB |
2627 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
2628 | ||
2629 | PR rtl-optimization/56178 | |
2630 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
2631 | SUBREG of a register. Tidy up related block of code. | |
2632 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
2633 | note if the source is a register or a SUBREG of a register. | |
2634 | ||
e3936f47 JJ |
2635 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
2636 | ||
2637 | PR target/56228 | |
2638 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
2639 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
2640 | call_value_indirect_aix<pttrsize>, | |
2641 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
2642 | m in constraints. | |
2643 | ||
d96d674b MH |
2644 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
2645 | ||
2646 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
2647 | if -bnortl. Convert to strcmp and strncmp. | |
2648 | ||
921f2dee AM |
2649 | 2013-02-07 Alan Modra <amodra@gmail.com> |
2650 | ||
2651 | PR target/54009 | |
2652 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
2653 | addresses won't wrap when offsetting. | |
2654 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
2655 | wrapping LO_SUM addresses. | |
2656 | ||
d09c7dba TS |
2657 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
2658 | ||
2659 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
2660 | MACH, just __MACH__. | |
2661 | ||
a44bbd48 RB |
2662 | 2013-02-06 Richard Biener <rguenther@suse.de> |
2663 | ||
2664 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
2665 | instead of calling fix_loop_structure. | |
2666 | ||
6d840d99 JJ |
2667 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
2668 | ||
2669 | PR middle-end/56217 | |
2670 | * omp-low.c (use_pointer_for_field): Return false if | |
2671 | lower_send_shared_vars doesn't generate any copy-out code. | |
2672 | ||
0f33baa9 TV |
2673 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
2674 | ||
2675 | PR rtl-optimization/56131 | |
2676 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
2677 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
2678 | of the label is NULL. Add comment. | |
2679 | ||
11f1e3ab JJ |
2680 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
2681 | ||
31502f9f JJ |
2682 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
2683 | ||
a74db9bd JJ |
2684 | PR sanitizer/55374 |
2685 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
2686 | (STATIC_LIBTSAN_LIBS): Likewise. | |
2687 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
2688 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
2689 | is defined, don't add anything else beyond that. | |
2690 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
2691 | (LINK_COMMAND_SPEC): Use them. | |
2692 | ||
11f1e3ab JJ |
2693 | PR tree-optimization/56205 |
2694 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
2695 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
2696 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
2697 | ||
14ac6aa2 RB |
2698 | 2013-02-05 Richard Biener <rguenther@suse.de> |
2699 | ||
2700 | PR tree-optimization/53342 | |
2701 | PR tree-optimization/53185 | |
2702 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
2703 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
2704 | not disallow peeling for vectorized strided loads. | |
2705 | (vect_check_strided_load): Make static and simplify. | |
2706 | (vect_analyze_data_refs): Adjust. | |
2707 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
2708 | correctly when vectorizing strided loads. | |
2709 | ||
6f22445a RB |
2710 | 2013-02-05 Richard Biener <rguenther@suse.de> |
2711 | ||
2712 | * doc/install.texi: Refer to ISL, not PPL. | |
2713 | ||
39f9719e JH |
2714 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
2715 | ||
ec4224ac JH |
2716 | PR tree-optimization/55789 |
2717 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
2718 | ||
2719 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
2720 | ||
2721 | PR tree-optimization/55789 | |
39f9719e JH |
2722 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
2723 | the dead call anyway. | |
2724 | ||
956d3b33 EB |
2725 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
2726 | ||
2727 | PR sanitizer/55374 | |
2728 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
2729 | ||
2730 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
2731 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
2732 | Jakub Jelinek <jakub@redhat.com> |
2733 | ||
2734 | PR sanitizer/55617 | |
2735 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
2736 | on constructor priority by using original position. | |
2737 | (finalize_ctors): New routine to sort constructors by | |
2738 | priority before use in assemble_integer. | |
2739 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
2740 | ||
7ac3af38 JJ |
2741 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
2742 | ||
2743 | PR libstdc++/54314 | |
2744 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
2745 | about visibility on artificial decls. | |
2746 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
2747 | ||
152689dc KT |
2748 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
2749 | ||
2750 | PR target/56186 | |
2751 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
2752 | argument and improve checking of return-argument types for 16-byte | |
2753 | modes. | |
2754 | (ix86_function_value_1): Add additional valtype argument on call | |
2755 | of function_value_64. | |
2756 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
2757 | handling infunction_value_64 function. | |
2758 | ||
2b5987b5 MGD |
2759 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
2760 | ||
7ac3af38 | 2761 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 2762 | |
14597080 RB |
2763 | 2013-02-04 Richard Biener <rguenther@suse.de> |
2764 | ||
2765 | PR tree-optimization/56188 | |
2766 | * tree-ssa-structalias.c (label_visit): Consider case with | |
2767 | initially non-empty points-to set. | |
2768 | (perform_var_substitution): Dump node mapping and clean up. | |
2769 | ||
ed73881e RG |
2770 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
2771 | ||
2772 | PR lto/56168 | |
2773 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
2774 | node prevail as last resort. | |
2775 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 2776 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 2777 | |
139a0707 RB |
2778 | 2013-02-04 Richard Biener <rguenther@suse.de> |
2779 | ||
2780 | PR tree-optimization/56113 | |
2781 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
2782 | Merge into ... | |
2783 | (equiv_class_lookup_or_add): ... this. | |
2784 | (label_visit): Adjust and fix error in previous patch. | |
2785 | (perform_var_substitution): Adjust. | |
2786 | ||
50fe8924 OE |
2787 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
2788 | ||
2789 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
2790 | * config/sh/sh4-300.md: Likewise. | |
2791 | * config/sh/sh4a.md: Likewise. | |
2792 | * config/sh/constraints.md: Likewise. | |
2793 | * config/sh/sh.md: Likewise. | |
2794 | * config/sh/netbsd-elf.h: Likewise. | |
2795 | * config/sh/predicates.md: Likewise. | |
2796 | * config/sh/sh-protos.h: Likewise. | |
2797 | * config/sh/ushmedia.h: Likewise. | |
2798 | * config/sh/linux.h: Likewise. | |
2799 | * config/sh/sh.c: Likewise. | |
2800 | * config/sh/superh.h: Likewise. | |
2801 | * config/sh/elf.h: Likewise. | |
2802 | * config/sh/sh4.md: Likewise. | |
2803 | * config/sh/sh.h: Likewise. | |
2804 | ||
1a04ac2b JDA |
2805 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2806 | ||
2807 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
2808 | constraint to match_test floating_point_store_memory_operand(). | |
2809 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
2810 | (base14_operand): New. | |
2811 | (floating_point_store_memory_operand): New. | |
2812 | (integer_store_memory_operand): Revise to use base14_operand and | |
2813 | reg_plus_base_memory_operand. | |
2814 | (move_dest_operand): Allow symbolic_memory_operands. | |
2815 | (symbolic_memory_operand): Check for LO_SOM. | |
2816 | (symbolic_operand): Change default case to break. | |
2817 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
2818 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
2819 | the destination is a floating point register. | |
2820 | (movdf): Remove code to handle CONST_DOUBLE. | |
2821 | (movsf): Likewise. | |
2822 | (reload_indf_r1): New. | |
2823 | (reload_insf_r1): New. | |
2824 | Consistently use "Q" and "T" constraints with integer and floating | |
2825 | point move instructions, respectively. | |
2826 | (movdi): Remove FAIL. | |
2827 | Change predicate for source operand unamed DImode move from | |
2828 | general_operand to move_src_operand. | |
2829 | (umulsidi3): Change predicate for destination operand to | |
2830 | register_operand. | |
2831 | Likewise for similar unamed patterns. | |
2832 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
2833 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
2834 | (hppa_legitimize_address): Simplify mask calculation. | |
2835 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
2836 | REG+D addresses for floating point loads and stores. Directly handle | |
2837 | loading CONST0_RTX (mode) to a floating point register. | |
2838 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
2839 | to floating point registers. Don't restrict secondary reloads to | |
2840 | floating point registers to integer modes. Revise some comments and | |
2841 | cleanup some code. | |
2842 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
2843 | (pa_legitimate_address_p): New. | |
2844 | (pa_legitimize_reload_address): New. | |
2845 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
2846 | (STRICT_REG_OK_FOR_BASE_P): New. | |
2847 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
2848 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
2849 | ||
3bf65591 DE |
2850 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
2851 | Andrew Dixie <andrewd@gentrack.com> | |
2852 | ||
2853 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
2854 | flag set. | |
2855 | ||
c0a8a3e6 RS |
2856 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
2857 | ||
2858 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
2859 | structure to get_best_reg_extraction_insn. | |
2860 | ||
99113dff DE |
2861 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
2862 | ||
2863 | PR target/54601 | |
2864 | * configure.ac (use_cxa_atexit): Add AIX. | |
2865 | * configure: Regenerate. | |
2866 | ||
2867 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
2868 | ||
ddd84654 JJ |
2869 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
2870 | ||
2871 | PR debug/54793 | |
2872 | * final.c (need_profile_function): New variable. | |
2873 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
2874 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
2875 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
2876 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
2877 | HAVE_prologue and profiler should be emitted before prologue, | |
2878 | set need_profile_function instead of emitting it. | |
2879 | (final_scan_insn): If need_profile_function, emit | |
2880 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
2881 | NOTE_INSN_FUNCTION_BEG note. | |
2882 | ||
2883 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
2884 | |
2885 | * config/rs6000/rs6000.md (smulditi3): New. | |
2886 | (umulditi3): New. | |
2887 | ||
ff2a9d88 RH |
2888 | * config/alpha/alpha.md (umulditi3): New. |
2889 | ||
14d52b90 DE |
2890 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
2891 | ||
2892 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
2893 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
2894 | ||
8c7ca45c RB |
2895 | 2013-02-01 Richard Biener <rguenther@suse.de> |
2896 | ||
2897 | PR tree-optimization/56113 | |
2898 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
2899 | single-predecessor nodes. | |
2900 | ||
9f419393 EB |
2901 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
2902 | ||
2903 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
2904 | range isn't testing for zero. | |
2905 | ||
c5f4be84 SB |
2906 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
2907 | ||
2908 | PR middle-end/56113 | |
2909 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
2910 | ||
dbdbd982 NC |
2911 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
2912 | Nick Clifton <nickc@redhat.com> | |
2913 | ||
2914 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
2915 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
2916 | (e3v5_shift_operand): New predicate. | |
2917 | (ior_operator): New predicate. | |
2918 | * config/v850/t-v850: Add e3v5 multilib. | |
2919 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
2920 | (v850_gen_movdi): Prototype. | |
2921 | * config/v850/v850.c: Add support for e3v5 architecture. | |
2922 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
2923 | TARGET_V850E_UP. | |
2924 | (construct_save_jarl): Add e3v5 long JARL support. | |
2925 | (v850_adjust_insn_length): New function. Adjust length of call | |
2926 | insns when using e3v5 instructions. | |
2927 | (v850_gen_movdi): New function: Generate instructions to move a | |
2928 | DImode value. | |
2929 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
2930 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
2931 | (TARGET_USE_FPU): Enable for e3v5. | |
2932 | (CONST_OK_FOR_W): New macro. | |
2933 | (ADJUST_INSN_LENGTH): Define. | |
2934 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
2935 | (attr cpu): Add v850e3v5. | |
2936 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
2937 | (movdi): New pattern. | |
2938 | (movdi_internal): New pattern. | |
2939 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
2940 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
2941 | (cstoresf4): Likewise. | |
2942 | (cstoredf4): Likewise. | |
2943 | (insv): New pattern. | |
2944 | (rotlso3_a): New pattern. | |
2945 | (rotlsi3_b): New pattern | |
2946 | (rotlsi3_v850e3v5): New pattern. | |
2947 | (doloop_begin): New pattern. | |
2948 | (fix_loop_counter): New pattern. | |
2949 | (doloop_end): New pattern. | |
2950 | (branch_normal): Add e3v5 long branch support. | |
2951 | (branch_invert): Likewise. | |
2952 | (branch_z_normal): Likewise. | |
2953 | (branch_z_invert): Likewise. | |
2954 | (branch_nz_normal): Likewise. | |
2955 | (branch_nz_invert): Likewise. | |
2956 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
2957 | (call_internal_long): Likewise. | |
2958 | (call_value_internal_short): Likewise. | |
2959 | (call_value_internal_long): Likewise. | |
2960 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
2961 | (mloop): New option. | |
2962 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 2963 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 2964 | |
73861a41 PK |
2965 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
2966 | ||
2967 | PR debug/55059 | |
2968 | PR debug/54508 | |
2969 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
2970 | children if parent is a class. | |
2971 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
2972 | ||
e44978dc RB |
2973 | 2013-01-31 Richard Biener <rguenther@suse.de> |
2974 | ||
2975 | PR tree-optimization/56157 | |
2976 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
2977 | match up operand with SLP child. | |
2978 | ||
90b10dec JM |
2979 | 2013-01-31 Jason Merrill <jason@redhat.com> |
2980 | ||
04d2dadd | 2981 | PR debug/54410 |
90b10dec JM |
2982 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
2983 | parameters the first time. | |
2984 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
2985 | ||
6e616110 RB |
2986 | 2013-01-31 Richard Biener <rguenther@suse.de> |
2987 | ||
2988 | PR middle-end/53073 | |
2989 | * common.opt (faggressive-loop-optimizations): New flag, | |
2990 | enabled by default. | |
2991 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
2992 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
2993 | infer_loop_bounds_from_undefined by it. | |
2994 | ||
636f59cf RB |
2995 | 2013-01-31 Richard Biener <rguenther@suse.de> |
2996 | ||
2997 | PR tree-optimization/56150 | |
2998 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
2999 | visit virtual operands. | |
3000 | (find_uses_to_rename_bb): Likewise. | |
3001 | ||
3002 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
3003 | |
3004 | PR tree-optimization/56150 | |
3005 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
3006 | mixed store non-store stmts. | |
3007 | ||
32887460 JJ |
3008 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
3009 | ||
e60e09a0 JJ |
3010 | PR sanitizer/55374 |
3011 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
3012 | LIBASAN_EARLY_SPEC is defined. | |
3013 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
3014 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
3015 | before %o. | |
3016 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
3017 | ||
32887460 JJ |
3018 | PR c++/55742 |
3019 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
3020 | invalid args instead of ICEing on it. | |
3021 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
3022 | ix86_valid_target_attribute_inner_p failed. | |
3023 | (ix86_valid_target_attribute_p): Return false only if | |
3024 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
3025 | target("default") attribute. | |
3026 | (sorted_attr_string): Change argument from const char * to tree, | |
3027 | merge in all target attribute arguments rather than just one. | |
3028 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
3029 | instead of free. Avoid using strcat. | |
3030 | (ix86_mangle_function_version_assembler_name): Mangle | |
3031 | target("default") as if no target attribute is present. Adjust | |
3032 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
3033 | instead of xmalloc and XDELETEVEC instead of free. | |
3034 | (ix86_function_versions): Don't return true if one of the decls | |
3035 | doesn't have target attribute. If they don't and one of the decls | |
3036 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
3037 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
3038 | (ix86_supports_function_versions): Remove. | |
3039 | (make_name): Fix up formatting. | |
3040 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
3041 | Avoid leaking memory. | |
3042 | (is_function_default_version): Return true if there is | |
3043 | target("default") attribute rather than no target attribute at all. | |
3044 | (make_resolver_func): Avoid leaking memory. | |
3045 | (ix86_generate_version_dispatcher_body): Likewise. | |
3046 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
3047 | * target.def (supports_function_versions): Remove. | |
3048 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
3049 | * doc/tm.texi: Regenerated. | |
3050 | ||
73cca0cc VM |
3051 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
3052 | ||
3053 | PR rtl-optimization/56144 | |
3054 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
3055 | for values with side effects. | |
3056 | ||
11452e7b RB |
3057 | 2013-01-30 Richard Biener <rguenther@suse.de> |
3058 | ||
3059 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
3060 | (sparseset_pop): Likewise. | |
3061 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
3062 | to be able to use quick_push in the worker loop. | |
3063 | ||
01cb1ef5 MP |
3064 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
3065 | ||
3066 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
3067 | ||
e892936e RB |
3068 | 2013-01-30 Richard Biener <rguenther@suse.de> |
3069 | ||
3070 | PR lto/56147 | |
6edc3e32 | 3071 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 3072 | |
cc06c01d GJL |
3073 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
3074 | ||
3075 | PR tree-optimization/56064 | |
3076 | * fixed-value.c (fixed_from_double_int): New function. | |
3077 | * fixed-value.h (fixed_from_double_int): New prototype. | |
3078 | (const_fixed_from_double_int): New static inline function. | |
3079 | * fold-const.c (native_interpret_fixed): New static function. | |
3080 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
3081 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
3082 | (native_encode_fixed): New static function. | |
3083 | (native_encode_expr) <FIXED_CST>: Use it. | |
3084 | (native_interpret_int): Move double_int worker code to... | |
3085 | * double-int.c (double_int::from_buffer): ...this new static method. | |
3086 | * double-int.h (double_int::from_buffer): Prototype it. | |
3087 | ||
d394a308 RB |
3088 | 2013-01-30 Richard Biener <rguenther@suse.de> |
3089 | ||
3090 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
3091 | New pointer-map and obstack. | |
3092 | (init_alias_vars): Allocate pointer-map and obstack. | |
3093 | (delete_points_to_sets): Free them. | |
3094 | (find_what_var_points_to): Cache result. | |
3095 | (find_what_p_points_to): Adjust for changed interface of | |
3096 | find_what_var_points_to. | |
3097 | (compute_points_to_sets): Likewise. | |
3098 | (ipa_pta_execute): Likewise. | |
3099 | ||
20804d96 RO |
3100 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3101 | ||
3102 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
3103 | * configure: Regenerate. | |
3104 | * config.in: Regenerate. | |
3105 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
3106 | #nobits/#progbits if supported. | |
3107 | ||
a7ad88a2 OE |
3108 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
3109 | ||
3110 | PR target/56121 | |
3111 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
3112 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
3113 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
3114 | ||
7af79f92 GY |
3115 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
3116 | ||
91bfca59 OE |
3117 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
3118 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 3119 | |
753bcf7b GY |
3120 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
3121 | ||
91bfca59 OE |
3122 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
3123 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 3124 | |
8cbc2ea8 GY |
3125 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
3126 | ||
91bfca59 OE |
3127 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
3128 | declaration. | |
3129 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
3130 | * config/arm/cortex-a7.md: New bypasses using | |
3131 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 3132 | |
697a3325 GY |
3133 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
3134 | ||
91bfca59 | 3135 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 3136 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
3137 | (cortex_a7_fpfmad): New reservation. |
3138 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
3139 | (cortex_a7_fpmuld): Update required units and latency. | |
3140 | (cortex_a7_fpmacd): Likewise. | |
3141 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
3142 | (cortex_a7_neon). Likewise. | |
3143 | (bypass) Update participating units. | |
697a3325 | 3144 | |
29637783 GY |
3145 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
3146 | ||
91bfca59 OE |
3147 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
3148 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
3149 | from fmac to ffma. | |
3150 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
3151 | (vfp_fmul): Use ffmad. | |
3152 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
3153 | (cortex_r4_fmacd): Use ffmad. | |
3154 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
3155 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
3156 | (cortex_a9_fmacd): Use ffmad. | |
3157 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
3158 | (cortex_a8_vfp_macd): Use ffmad. | |
3159 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
3160 | (cortex_a5_fpmacd): Use ffmad. | |
3161 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
3162 | (cortex_a15_vfp_macd): Use ffmad. | |
3163 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 3164 | |
2ee8a2d5 JM |
3165 | 2013-01-29 Jason Merrill <jason@redhat.com> |
3166 | ||
3167 | PR libstdc++/54314 | |
3168 | * varasm.c (default_assemble_visibility): Don't warn about | |
3169 | visibility on artificial decls. | |
3170 | ||
78d087bc RB |
3171 | 2013-01-29 Richard Biener <rguenther@suse.de> |
3172 | ||
3173 | PR tree-optimization/56113 | |
3174 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
3175 | the bitmap leader. | |
3176 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
3177 | (perform_var_substitution): Adjust. | |
3178 | ||
83ba4d6f RB |
3179 | 2013-01-29 Richard Biener <rguenther@suse.de> |
3180 | ||
3181 | PR tree-optimization/55270 | |
3182 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
3183 | the CFG, schedule loops for fixup. | |
3184 | ||
66dfe13f NC |
3185 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
3186 | ||
3187 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
3188 | SP_REG. | |
3189 | ||
5a579c3b LE |
3190 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
3191 | ||
3192 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
3193 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
3194 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
3195 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
3196 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
3197 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
3198 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
3199 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
3200 | * config/i386/rdos.h: New file. | |
3201 | * config/i386/rdos64.h: New file. | |
3202 | ||
51e44392 BS |
3203 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
3204 | ||
3205 | PR other/54814 | |
3206 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
3207 | TEST_HARD_REG_BIT. | |
3208 | ||
db1fb332 JJ |
3209 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
3210 | ||
3211 | PR rtl-optimization/56117 | |
3212 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
3213 | call cselib_lookup_from_insn on the MEM before calling | |
3214 | add_insn_mem_dependence. | |
3215 | ||
16917761 RB |
3216 | 2013-01-28 Richard Biener <rguenther@suse.de> |
3217 | ||
3218 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
3219 | to a stmt that didn't have one. | |
3220 | (copy_phis_for_bb): Likewise for PHI arguments. | |
3221 | (copy_debug_stmt): Likewise for debug stmts. | |
3222 | ||
b9fc0497 RB |
3223 | 2013-01-28 Richard Biener <rguenther@suse.de> |
3224 | ||
3225 | PR tree-optimization/56034 | |
6edc3e32 | 3226 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
3227 | (partition_builtin_p): Adjust. |
3228 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
3229 | it is the last partition. | |
3230 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
3231 | up the vertex for the definition. | |
3232 | (classify_partition): Classify whether a partition is a | |
3233 | PKIND_REDUCTION, thus has uses outside of the loop. | |
3234 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
3235 | Merge all PKIND_REDUCTION partitions into the last partition. | |
3236 | (tree_loop_distribution): Seed partitions from reductions as well. | |
3237 | ||
aa710d25 JJ |
3238 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
3239 | ||
0bfbca58 JJ |
3240 | PR tree-optimization/56125 |
3241 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
3242 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
3243 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
3244 | optimizing for size. | |
3245 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
3246 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
3247 | integer. | |
3248 | ||
aa710d25 JJ |
3249 | PR tree-optimization/56094 |
3250 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
3251 | to UNKNOWN_LOCATION while gimplifying expr. | |
3252 | ||
77dc5297 UB |
3253 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
3254 | ||
3255 | PR target/56114 | |
3256 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
3257 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
3258 | (*movabs<mode>_2): Ditto for operand 1. | |
3259 | ||
0bfbca58 | 3260 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
3261 | |
3262 | PR target/54663 | |
3263 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
3264 | of microblaze-c.o | |
3265 | ||
0bfbca58 | 3266 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
3267 | |
3268 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
3269 | tm_file. | |
3270 | ||
0bfbca58 | 3271 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
3272 | |
3273 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
3274 | Undef to avoid warning. | |
3275 | ||
478f60f9 MH |
3276 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
3277 | ||
3278 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
3279 | * configure: Regenerate. | |
3280 | ||
d7fa6ee2 JJ |
3281 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
3282 | ||
3283 | PR tree-optimization/56098 | |
3284 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
3285 | for stmts with volatile ops. | |
3286 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
3287 | (cond_if_else_store_replacement_1): Don't optimize if either | |
3288 | then_assign or else_assign have volatile ops. | |
3289 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
3290 | volatile ops. | |
3291 | ||
f8fe87bd GJL |
3292 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
3293 | ||
3294 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
3295 | ||
28398d0d GJL |
3296 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
3297 | ||
3298 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
3299 | missing ':' in asm example. | |
3300 | ||
b7d7d917 TB |
3301 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
3302 | ||
3303 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
3304 | entries into lane and laneq entries. | |
77dc5297 UB |
3305 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
3306 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
3307 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
3308 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
3309 | modes. | |
3310 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
3311 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
3312 | * config/aarch64/iterators.md (VCOND): New. | |
3313 | (VCONQ): New. | |
3314 | ||
556f9906 GJL |
3315 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
3316 | ||
3317 | PR target/54222 | |
3318 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
3319 | Add NULL LIBNAME argument to existing definitions. | |
3320 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
3321 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
3322 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
3323 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
3324 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
3325 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
3326 | (avr_fold_absfx): New static function. | |
3327 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
3328 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
3329 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
3330 | AVR_BUILTIN_ABSLLK. | |
3331 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
3332 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
3333 | ||
1f546bbb MP |
3334 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
3335 | ||
3336 | PR tree-optimization/56035 | |
3337 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
3338 | ||
7e184bd7 UB |
3339 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
3340 | ||
3341 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
3342 | (*movtf_internal_rex64): Add (!o,C) alternative | |
3343 | (*movxf_internal_rex64): Ditto. | |
3344 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
3345 | ||
f5ba49ac SM |
3346 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
3347 | ||
3348 | * doc/invoke.texi: fix typo. | |
3349 | * doc/objc.texi: fix typo. | |
3350 | ||
a6343728 RS |
3351 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
3352 | ||
3353 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
3354 | for the first two alternatives. | |
3355 | ||
cd030c07 DN |
3356 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
3357 | ||
77dc5297 | 3358 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
3359 | (ggc-zone.o): Remove. |
3360 | * configure.ac: Remove option --with-gc. | |
3361 | * configure: Re-generate. | |
3362 | * doc/install.texi: Remove documentation for --with-gc. | |
3363 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
3364 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
3365 | (output_type_enum): Remove. Update all users. | |
3366 | (write_enum_defn): Remove. Update all users. | |
3367 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 3368 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
3369 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
3370 | Update all callers. | |
3371 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 3372 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
3373 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
3374 | Update all users. | |
aaf1e810 | 3375 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
3376 | (struct alloc_zone): Remove. |
3377 | (ggc_internal_alloc_zone_stat): Remove. | |
3378 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
3379 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
3380 | (ggc_pch_count_object): Remove last argument. Update all users. |
3381 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
3382 | (struct alloc_zone): Remove. |
3383 | * ggc-zone.c: Remove. | |
77dc5297 | 3384 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
3385 | (struct alloc_zone): Remove. |
3386 | (ggc_alloc_typed_stat): Remove. | |
3387 | (ggc_alloc_typed): Remove. | |
3388 | (ggc_splay_alloc): Remove first argument. | |
3389 | (rtl_zone): Remove. Update all users. | |
3390 | (tree_zone): Remove. Update all users. | |
3391 | (tree_id_zone): Remove. Update all users. | |
3392 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 3393 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 3394 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 3395 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 3396 | |
a861ffa4 GJL |
3397 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
3398 | ||
3399 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
3400 | might be outside of source operand signed. | |
3401 | ||
593c0ddd UB |
3402 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
3403 | ||
3404 | * config/i386/constraints.md (Yf): New constraint. | |
3405 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
3406 | of f constraint to conditionaly disable x87 register preferences. | |
3407 | (*movdf_internal): Ditto. | |
3408 | (*movsf_internal): Ditto. | |
3409 | ||
e86c0101 SB |
3410 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
3411 | ||
3412 | PR inline-asm/55934 | |
3413 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
3414 | that have operands with impossible constraints. | |
3415 | Add a FIXME for a speed-up opportunity. | |
3416 | * lra-constraints.c (process_alt_operands): Verify that a class | |
3417 | selected from constraints on asms is valid for the operand mode. | |
3418 | (curr_insn_transform): Remove incorrect comment. | |
3419 | ||
f6fee35f DE |
3420 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
3421 | ||
3422 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
3423 | TOC operand is a valid symbol ref in the constant pool. | |
3424 | ||
3425 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 3426 | |
aaf1e810 | 3427 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 3428 | |
dc62d7d1 GJL |
3429 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
3430 | ||
3431 | PR target/54222 | |
3432 | * config/avr/stdfix.h: New file. | |
3433 | * t-avr (stdfix-gcc.h): New rule to build it. | |
3434 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
3435 | ||
2660d12d KS |
3436 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
3437 | ||
77dc5297 UB |
3438 | * config/darwin.h: remove dependency on |
3439 | CoreFoundation (asan on Mac OS). | |
2660d12d | 3440 | |
a70418fc JJ |
3441 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
3442 | ||
3443 | PR target/49069 | |
3444 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
3445 | instead of cmpdi_operand for first comparison operand. | |
3446 | Don't assert that comparison operands aren't both constants. | |
3447 | ||
47876a2a JW |
3448 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
3449 | ||
3450 | * doc/install.texi (Downloading the Source): Update references to | |
3451 | downloading separate components. | |
3452 | ||
3453 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
3454 | |
3455 | * doc/extend.texi (__int128): Improve grammar. | |
3456 | ||
47876a2a | 3457 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
3458 | |
3459 | PR target/56028 | |
3460 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
3461 | alternative to (o,r). | |
3462 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
3463 | (DImode immediate->memory splitter): Remove. | |
3464 | (DImode immediate->memory peephole2): Remove. | |
3465 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
3466 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
3467 | alternative to (!o,*r). | |
3468 | (*movtf_internal_sse): New pattern. | |
3469 | (*movxf_internal_rex64): New pattern. | |
3470 | (*movxf_internal): Disable for TARGET_64BIT. | |
3471 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
3472 | ||
3a984f10 JJ |
3473 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
3474 | ||
502498d5 JJ |
3475 | PR middle-end/56074 |
3476 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
3477 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
3478 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
3479 | stmt locations where LOCATION_LOCUS of the stmt location is | |
3480 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
3481 | ||
3a984f10 JJ |
3482 | PR target/55686 |
3483 | * config/i386/i386.md (UNSPEC_STOS): New. | |
3484 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
3485 | *strsetqi_1): Add UNSPEC_STOS. | |
3486 | ||
fa817f7f PC |
3487 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
3488 | ||
3489 | PR c++/56067 | |
3490 | * doc/invoke.texi: Remove left over -Wsynth example. | |
3491 | ||
8f498c1b JJ |
3492 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
3493 | ||
3494 | PR tree-optimization/56051 | |
3495 | * fold-const.c (fold_binary_loc): Don't fold | |
3496 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
3497 | a narrowing conversion, or widening conversion from signed | |
3498 | to unsigned. | |
3499 | ||
47876a2a | 3500 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
3501 | |
3502 | PR rtl-optimization/56023 | |
3503 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
3504 | dependent on debug instruction. | |
3505 | ||
5b9db1bc MJ |
3506 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
3507 | ||
3508 | PR middle-end/56022 | |
3509 | * function.c (allocate_struct_function): Call | |
3510 | invoke_set_current_function_hook earlier. | |
3511 | ||
e8bb7d68 JJ |
3512 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
3513 | ||
3514 | * reload1.c (init_reload): Only initialize reload_obstack | |
3515 | during the first call. | |
3516 | ||
616a4e32 MP |
3517 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
3518 | ||
3519 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
3520 | ||
4401981b YHH |
3521 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
3522 | ||
3523 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
3524 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
3525 | ||
8e87740b RR |
3526 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
3527 | ||
3528 | PR target/56058 | |
3529 | * config/arm/marvell-pj4.md: Update copyright year. | |
3530 | Fix up use of alu to alu_reg and simple_alu_imm. | |
3531 | ||
47876a2a | 3532 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
3533 | |
3534 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
3535 | ||
89d56d79 VM |
3536 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
3537 | ||
3538 | PR target/55433 | |
3539 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 3540 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 3541 | |
fe603553 JDA |
3542 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3543 | ||
3544 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
3545 | atomic_storedi_1): New patterns. | |
3546 | ||
01284895 VK |
3547 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
3548 | ||
3549 | btver2 pipeline descriptions. | |
3550 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
3551 | descriptions. | |
3552 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 3553 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
3554 | type attributes. |
3555 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
3556 | ||
5630e3e1 JL |
3557 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
3558 | ||
3559 | PR tree-optimization/52631 | |
3560 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
3561 | statement, try looking up the simplified expression. | |
3562 | ||
650ae806 AG |
3563 | 2013-01-19 Anthony Green <green@moxielogic.com> |
3564 | ||
3565 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
3566 | current_function_static_stack_size. | |
3567 | ||
e300ec2d JJ |
3568 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
3569 | ||
3570 | PR tree-optimization/56029 | |
3571 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
3572 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
3573 | ||
a3d7af04 SS |
3574 | 2013-01-18 Sharad Singhai <singhai@google.com> |
3575 | ||
3576 | PR tree-optimization/55995 | |
3577 | * dumpfile.c (dump_loc): Print location only if available. | |
3578 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
3579 | ||
66aa7879 VM |
3580 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
3581 | ||
3582 | PR target/55433 | |
3583 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
3584 | secondary memory move. | |
3585 | (inherit_reload_reg): Use rclass instead of cl for | |
3586 | check_secondary_memory_needed_p. | |
3587 | ||
3f0fee7b JJ |
3588 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
3589 | ||
3590 | PR middle-end/56015 | |
3591 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 3592 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 3593 | |
70c67693 JG |
3594 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
3595 | ||
3596 | * config/aarch64/aarch64-simd.md | |
3597 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
3598 | * config/aarch64/iterators.md (v_cmp_result): New. | |
3599 | ||
df8de9b3 YHH |
3600 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
3601 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
3602 | ||
3603 | * config/arm/marvell-pj4.md: New file. | |
3604 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
3605 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
3606 | (generic_vfp): Likewise. | |
3607 | * config/arm/arm-cores.def: Add marvell-pj4. | |
3608 | * config/arm/arm-tune.md: Regenerate. | |
3609 | * config/arm/arm-tables.opt: Regenerate. | |
3610 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
3611 | * doc/invoke.texi: Document marvell-pj4. | |
3612 | ||
be30c356 TB |
3613 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
3614 | ||
3615 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
3616 | ||
0bfbca58 | 3617 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
3618 | |
3619 | PR debug/54114 | |
3620 | PR debug/54402 | |
3621 | PR debug/49888 | |
3622 | * var-tracking.c (negative_power_of_two_p): New. | |
3623 | (global_get_addr_cache, local_get_addr_cache): New. | |
3624 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
3625 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
3626 | heading comment. | |
3627 | (vt_stack_offset_p): Remove. | |
3628 | (vt_canon_true_dep): Always canonicalize loc's address. | |
3629 | (clobber_overlapping_mems): Make sure we have a MEM. | |
3630 | (local_get_addr_clear_given_value): New. | |
3631 | (val_reset): Clear local cached entries. | |
3632 | (compute_bb_dataflow): Create and release the local cache. | |
3633 | Disable duplicate MEMs clobbering. | |
3634 | (emit_notes_in_bb): Clobber MEMs likewise. | |
3635 | (vt_emit_notes): Create and release the local cache. | |
3636 | (vt_initialize, vt_finalize): Create and release the global | |
3637 | cache, respectively. | |
1f6bc337 | 3638 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 3639 | |
0bfbca58 | 3640 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
3641 | |
3642 | PR libmudflap/53359 | |
3643 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
3644 | not found in the symtab. | |
3645 | ||
0bfbca58 | 3646 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 3647 | |
c350ba53 | 3648 | PR debug/56006 |
3aa03517 AO |
3649 | PR rtl-optimization/55547 |
3650 | PR rtl-optimization/53827 | |
3651 | PR debug/53671 | |
3652 | PR debug/49888 | |
3653 | * alias.c (offset_overlap_p): New, factored out of... | |
3654 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
3655 | the conservative special case for symbolic constants. Don't | |
3656 | adjust zero sizes on alignment. | |
3657 | ||
c664546f JL |
3658 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
3659 | ||
3660 | PR rtl-optimization/52573 | |
3661 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
3662 | REG_UNUSED for the same register. | |
3663 | ||
1bd3f750 MP |
3664 | 2013-01-17 Richard Biener <rguenther@suse.de> |
3665 | Marek Polacek <polacek@redhat.com> | |
3666 | ||
3667 | PR rtl-optimization/55833 | |
3668 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
3669 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
3670 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
3671 | Set it to true when we're removing a loop from hierarchy tree in | |
3672 | an irreducible region. | |
3673 | (fix_bb_placements): Adjust caller. | |
3674 | (fix_loop_placements): Likewise. | |
3675 | ||
e52a8b71 GJL |
3676 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
3677 | ||
3678 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
3679 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
3680 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
3681 | Remove ID. Adjust comments. | |
3682 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
3683 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
3684 | * config/avr/avr.c (avr_tolower): New static function. | |
3685 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
3686 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
3687 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
3688 | default expansion. | |
3689 | ||
8386a7ea JH |
3690 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
3691 | ||
610fb637 | 3692 | PR tree-optimization/55273 |
8386a7ea JH |
3693 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
3694 | ||
47876a2a | 3695 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
3696 | |
3697 | PR target/55981 | |
3698 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
3699 | store through atomic_store<mode>_1. | |
3700 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
3701 | ||
8222c37e MJ |
3702 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
3703 | ||
3704 | PR tree-optimizations/55264 | |
3705 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
3706 | for virtual methods. | |
3707 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
3708 | virtual methods before inlining is over. | |
3709 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
3710 | virtual functions. | |
3711 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
3712 | non-virtual. | |
3713 | ||
79f01c76 VM |
3714 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
3715 | ||
3716 | PR rtl-optimization/56005 | |
3717 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
3718 | pending reads for prefetch. | |
3719 | ||
d0b6bb1b IB |
3720 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
3721 | ||
aaf1e810 | 3722 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
3723 | (*cstoresi_neg_uxtw): New pattern. |
3724 | (*cmovsi_insn_uxtw): New pattern. | |
3725 | (*<optab>si3_uxtw): New pattern. | |
3726 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
3727 | (*<optab>si3_insn_uxtw): New pattern. | |
3728 | (*bswapsi2_uxtw): New pattern. | |
3729 | ||
cb9cf03b RB |
3730 | 2013-01-16 Richard Biener <rguenther@suse.de> |
3731 | ||
3732 | * tree-inline.c (tree_function_versioning): Remove set but | |
3733 | never used variable. | |
3734 | ||
2cfc56b9 RB |
3735 | 2013-01-16 Richard Biener <rguenther@suse.de> |
3736 | ||
3737 | PR tree-optimization/55964 | |
3738 | * tree-flow.h (rename_variables_in_loop): Remove. | |
3739 | (rename_variables_in_bb): Likewise. | |
3740 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
3741 | (copy_loop_before): Adjust and delete update-ssa status. | |
3742 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 3743 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
3744 | (rename_variables_in_loop): Remove. |
3745 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
3746 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
3747 | use available cfg machinery instead of duplicating it. | |
3748 | Update PHI nodes and perform poor-mans SSA update here. | |
3749 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
3750 | ||
c25a0c60 RB |
3751 | 2013-01-16 Richard Biener <rguenther@suse.de> |
3752 | ||
3753 | PR tree-optimization/54767 | |
3754 | PR tree-optimization/53465 | |
3755 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
3756 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
3757 | drop all symbolical range information. | |
3758 | (execute_vrp): Compute backedges. | |
3759 | ||
04b535af RB |
3760 | 2013-01-16 Richard Biener <rguenther@suse.de> |
3761 | ||
3762 | * doc/install.texi: Update CLooG and ISL requirements to | |
3763 | 0.18.0 and 0.11.1. | |
3764 | ||
8b0a1e0b CB |
3765 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
3766 | ||
3767 | PR target/55301 | |
3768 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
3769 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
3770 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
3771 | ||
3772 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
3773 | ||
3774 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
3775 | (UNSPECV_SP_SWITCH_E): New. | |
3776 | (sp_switch_1): Change to an unspec. | |
3777 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
3778 | replace $r15. | |
3779 | ||
3780 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
3781 | |
3782 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
3783 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
3784 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
3785 | (expand_mem_thread_fence): Ditto. | |
3786 | (expand_mem_signal_fence): Ditto. | |
3787 | (expand_atomic_load): Ditto. | |
3788 | (expand_atomic_store): Ditto. | |
3789 | ||
0bfbca58 | 3790 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
3791 | |
3792 | PR rtl-optimization/55547 | |
3793 | PR rtl-optimization/53827 | |
3794 | PR debug/53671 | |
3795 | PR debug/49888 | |
3796 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
3797 | AND adjustments. | |
3798 | ||
305e3ac1 JJ |
3799 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
3800 | ||
3801 | PR target/55940 | |
3802 | * function.c (thread_prologue_and_epilogue_insns): Always | |
3803 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
3804 | stack_realign_drap is false. | |
3805 | ||
f78ac4f2 JBG |
3806 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
3807 | ||
3808 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
3809 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
3810 | *call): Fix indention. | |
3811 | ||
a78a8cc4 TV |
3812 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
3813 | ||
3814 | PR target/55876 | |
3815 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
3816 | Update comment. | |
3817 | ||
0e80383f VM |
3818 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
3819 | ||
305e3ac1 | 3820 | PR rtl-optimization/55153 |
0e80383f VM |
3821 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
3822 | ||
207b5956 MJ |
3823 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
3824 | ||
3825 | PR tree-optimization/55920 | |
3826 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
3827 | accesses as grp_to_be_debug_replaced. | |
3828 | ||
a7818b54 JJ |
3829 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
3830 | ||
3831 | PR tree-optimization/55920 | |
3832 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
3833 | there is non-useless type conversion needed from debug rhs to lhs, | |
3834 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
3835 | ||
b0fe107e JM |
3836 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
3837 | Mikael Pettersson <mikpe@it.uu.se> | |
3838 | ||
3839 | PR target/43961 | |
3840 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
3841 | Thumb. | |
3842 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
3843 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
3844 | * final.c (shorten_branches): Update alignment of labels before | |
3845 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
3846 | ||
34ab62ee RB |
3847 | 2013-01-15 Richard Biener <rguenther@suse.de> |
3848 | ||
3849 | PR bootstrap/55961 | |
3850 | * system.h: Do not include gmp.h for building host tools. | |
3851 | ||
783a3a05 RB |
3852 | 2013-01-15 Richard Biener <rguenther@suse.de> |
3853 | ||
3854 | PR middle-end/55882 | |
3855 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
3856 | account for bitpos when computing alignment. | |
3857 | ||
3a579e09 VY |
3858 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
3859 | ||
3860 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
3861 | (ix86_target_macros_internal): Likewise. | |
3862 | ||
3863 | * config/i386/i386.c (m_CORE2I7): Removed. | |
3864 | (m_CORE_HASWELL): New macro. | |
3865 | (m_CORE_ALL): Likewise. | |
3866 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
3867 | (initial_ix86_arch_features): Likewise. | |
3868 | (processor_target_table): Initializations for Core avx2. | |
3869 | (cpu_names): New names "core-avx2". | |
3870 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
3871 | PROCESSOR_CORE_HASWELL. | |
3872 | (ix86_issue_rate): New case. | |
3873 | (ia32_multipass_dfa_lookahead): Likewise. | |
3874 | (ix86_sched_init_global): Likewise. | |
3875 | ||
3876 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
3877 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
3878 | (processor_type): New PROCESSOR_HASWELL. | |
3879 | ||
955f5a07 JJ |
3880 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
3881 | ||
ff784829 JJ |
3882 | PR tree-optimization/55955 |
3883 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
3884 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
3885 | ||
955f5a07 JJ |
3886 | PR tree-optimization/48766 |
3887 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
3888 | -ftrapv disable -fwrapv. | |
3889 | ||
aeb8b4e9 GJL |
3890 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3891 | ||
3892 | PR target/55974 | |
3893 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
3894 | etc. to 1 and not to __flash. | |
3895 | Use LL suffix for __INT24_MAX__ with -mint8. | |
3896 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
3897 | ||
1c494c6a GJL |
3898 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3899 | ||
3900 | * config/avr/avr-arch.h | |
3901 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
3902 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
3903 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
3904 | * config/avr/avr.c: Same. | |
3905 | * config/avr/avr-devices.c: Same. | |
3906 | * config/avr/driver-avr.c: Same. | |
3907 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
3908 | * config/avr/avr-mcus.def: Adjust comment. | |
3909 | ||
a50344cb TB |
3910 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
3911 | ||
88e784e6 UB |
3912 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
3913 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 3914 | |
47876a2a | 3915 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
3916 | Andi Kleen <ak@linux.intel.com> |
3917 | ||
3918 | PR target/55948 | |
3919 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
3920 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
3921 | memmodel flag. | |
3922 | ||
00892272 GJL |
3923 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3924 | ||
3925 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
3926 | * config/avr/avr-log.h: Same. | |
3927 | * config/avr/avr-arch.h: Same. | |
3928 | * config/avr/avr-devices.c: Same. | |
3929 | * config/avr/avr-dimode.md: Same. | |
3930 | * config/avr/predicates.md: Same. | |
3931 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 3932 | |
00892272 GJL |
3933 | * config/avr/avr-protos.h: Same. And: |
3934 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
3935 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
3936 | (expand_prologue): Rename to avr_expand_prologue. | |
3937 | (expand_epilogue): Rename to avr_expand_epilogue. | |
3938 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
3939 | (notice_update_cc): Rename to avr_notice_update_cc. | |
3940 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
3941 | * config/avr/avr.c: Same. | |
3942 | * config/avr/avr.h: Same. | |
3943 | * config/avr/avr.md: Remove trailing blanks. | |
3944 | (prologue): Use avr_expand_prologue. | |
3945 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
3946 | ||
7bb01996 RB |
3947 | 2013-01-14 Richard Biener <rguenther@suse.de> |
3948 | ||
3949 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
3950 | verify_location, collect_subblocks): New functions. | |
3951 | (verify_gimple_in_cfg): Verify that locations only reference | |
3952 | BLOCKs in the functions BLOCK tree. | |
3953 | ||
2724573f RB |
3954 | 2013-01-14 Richard Biener <rguenther@suse.de> |
3955 | ||
3956 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
3957 | PHI argument. | |
3958 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
3959 | unshare reference. | |
3960 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
3961 | (rewrite_close_phi_out_of_ssa): Likewise. | |
3962 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
3963 | debug expressions. | |
3964 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
3965 | propagated constants. | |
3966 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
3967 | can not be shared. | |
3968 | ||
9a0bbab6 GJL |
3969 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3970 | ||
3971 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
3972 | ||
45805f17 UB |
3973 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
3974 | ||
3975 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
3976 | MEMMODEL_MASK to determine memory model. | |
3977 | (atomic_store<mode>): Ditto from operands[2]. | |
3978 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
3979 | ||
9d60be38 JJ |
3980 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
3981 | ||
3982 | PR fortran/55935 | |
45805f17 | 3983 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
3984 | (fold_gimple_assign): Don't call unshare_expr here. |
3985 | (fold_ctor_reference): Call unshare_expr. | |
3986 | ||
e7f49d92 TG |
3987 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
3988 | ||
aaf1e810 EB |
3989 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
3990 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
3991 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 3992 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 3993 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
3994 | (tmpmultilib4): Ditto. |
3995 | (multilib_reuse): New multilib argument. | |
3996 | ||
fbd03a27 RS |
3997 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
3998 | ||
3999 | * Makefile.in: Update copyright. | |
4000 | ||
b3681f13 TV |
4001 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
4002 | ||
4003 | PR middle-end/55890 | |
4004 | * calls.c (expand_call): Check if arg_nr is valid. | |
4005 | ||
3f287e4b MM |
4006 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
4007 | ||
4008 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
4009 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
4010 | documentation. Add missing '__' in front of |
4011 | __builtin_ia32_packssdw256. | |
3f287e4b | 4012 | |
1abcd5eb AK |
4013 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4014 | ||
4015 | PR target/55719 | |
4016 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
4017 | NO_REGS for larl operands. | |
4018 | (s390_reload_larl_operand): Use s390_load_address instead of | |
4019 | emit_move_insn. | |
4020 | ||
980d0812 RB |
4021 | 2013-01-11 Richard Biener <rguenther@suse.de> |
4022 | ||
4023 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
4024 | (verify_node_sharing): ... here. | |
4025 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
4026 | ||
7cb9fd07 EB |
4027 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
4028 | ||
4029 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
4030 | Substitute TREECHECKING. | |
4031 | * configure: Regenerate. | |
4032 | * Makefile.in (TREECHECKING): New. | |
4033 | ||
47876a2a | 4034 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
4035 | |
4036 | PR tree-optimization/44061 | |
4037 | * tree-vrp.c (extract_range_basic): Compute zero as | |
4038 | value-range for __builtin_constant_p of function parameters. | |
4039 | ||
d1e082c2 RS |
4040 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
4041 | ||
45805f17 | 4042 | Update copyright years. |
d1e082c2 | 4043 | |
f85021b0 VM |
4044 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
4045 | ||
9d60be38 | 4046 | PR rtl-optimization/55672 |
0160442c VM |
4047 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
4048 | const to be eliminable. | |
f85021b0 | 4049 | |
7a8b1ec4 DE |
4050 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
4051 | ||
4052 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
4053 | * configure: Regenerate. | |
4054 | ||
ad2e5b71 RB |
4055 | 2013-01-10 Richard Biener <rguenther@suse.de> |
4056 | ||
ddf9322d | 4057 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 4058 | |
ffc5b2bb RB |
4059 | 2013-01-10 Richard Biener <rguenther@suse.de> |
4060 | ||
4061 | PR bootstrap/55792 | |
4062 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
4063 | locations for virtual PHI arguments. | |
4064 | (rewrite_update_phi_arguments): Likewise. | |
4065 | ||
e1f674e4 JS |
4066 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
4067 | ||
4068 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
4069 | on to assembler. | |
4070 | ||
a57fc743 JJ |
4071 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
4072 | ||
4073 | PR tree-optimization/55921 | |
4074 | * tree-complex.c (expand_complex_asm): New function. | |
4075 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
4076 | ||
0ff4390d AK |
4077 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4078 | ||
4079 | PR target/55718 | |
4080 | * config/s390/s390.c (s390_symref_operand_p) | |
4081 | (s390_loadrelative_operand_p): Merge the two functions. | |
4082 | (s390_check_qrst_address, print_operand_address): Add parameters | |
4083 | to s390_loadrelative_operand_p invokation. | |
4084 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
4085 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
4086 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
4087 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
4088 | ||
6f557e0e MS |
4089 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
4090 | ||
4091 | * dse.c (record_store): Remove unnecessary assert. | |
4092 | ||
7770c9e9 JH |
4093 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
4094 | ||
4095 | PR tree-optimization/55569 | |
4096 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
4097 | * cfgloop.h (scale_loop_profile): Likewise. | |
4098 | ||
a19b1432 JH |
4099 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
4100 | ||
4101 | PR lto/45375 | |
ddf9322d UB |
4102 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
4103 | functions. | |
a19b1432 JH |
4104 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
4105 | ||
9a002da8 RS |
4106 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
4107 | ||
4108 | PR middle-end/55114 | |
4109 | * expr.h (maybe_emit_group_store): Declare. | |
4110 | * expr.c (maybe_emit_group_store): New function. | |
4111 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
4112 | (expand_builtin_int_roundingfn_2): Likewise. | |
4113 | ||
511dcace VM |
4114 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
4115 | ||
e1f2b729 | 4116 | PR rtl-optimization/55829 |
511dcace VM |
4117 | * lra-constraints.c (match_reload): Add code for absent output. |
4118 | (curr_insn_transform): Add code for reloads of matched inputs | |
4119 | without output. | |
4120 | ||
7b0fe4f4 UB |
4121 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
4122 | ||
4123 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
4124 | attribute of movddup insn to DF. | |
4125 | (*vec_interleave_lowv2df): Ditto. | |
4126 | (vec_dupv2df): Ditto. | |
4127 | ||
870ca331 JH |
4128 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
4129 | ||
4130 | PR tree-optimiation/55875 | |
4131 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
4132 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 4133 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
4134 | (idx_infer_loop_bounds): Similarly here. |
4135 | (n_of_executions_at_most): Simplify | |
4136 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 4137 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
4138 | (scev_probably_wraps_p): Use max loop iterations info |
4139 | as a global bound first. | |
4140 | ||
6f575fe4 | 4141 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
4142 | Nick Clifton <nickc@redhat.com> |
4143 | ||
4144 | * config/v850/v850.md (cbranchsf4): New pattern. | |
4145 | (cstoresf4): New pattern. | |
4146 | (cbranchdf4): New pattern. | |
4147 | (cstoredf4): New pattern. | |
4148 | (movsicc): Disallow floating point comparisons. | |
4149 | (cmpsf_le_insn): Fix order of operators. | |
4150 | (cmpsf_lt_insn): Likewise. | |
4151 | (cmpsf_eq_insn): Likewise. | |
4152 | (cmpdf_le_insn): Likewise. | |
4153 | (cmpdf_lt_insn): Likewise. | |
4154 | (cmpdf_eq_insn): Likewise. | |
4155 | (cmpsf_ge_insn): Use LE comparison. | |
4156 | (cmpdf_ge_insn): Likewise. | |
4157 | (cmpsf_gt_insn): Use LT comparison. | |
4158 | (cmpdf_gt_insn): Likewise. | |
4159 | (cmpsf_ne_insn): Delete pattern. | |
4160 | (cmpdf_ne_insn): Delete pattern. | |
4161 | * config/v850/v850.c (v850_gen_float_compare): Use | |
4162 | gen_cmpdf_eq_insn for NE comparison. | |
4163 | (v850_float_z_comparison_operator) | |
4164 | (v850_float_nz_comparison_operator): Move from here ... | |
4165 | * config/v850/predicates.md: ... to here. Move GT and GE | |
4166 | comparisons into v850_float_z_comparison_operator. | |
4167 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
4168 | Delete prototype. | |
4169 | (v850_float_nz_comparison_operator): Likewise. | |
4170 | ||
f0d54148 JDA |
4171 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4172 | ||
4173 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
4174 | with calls to gen_insvsi/gen_insvdi. | |
4175 | ||
8f01beca VK |
4176 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
4177 | ||
4178 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
4179 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
4180 | ||
2aa579ad JJ |
4181 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
4182 | Jakub Jelinek <jakub@redhat.com> | |
4183 | ||
4184 | PR tree-optimization/48189 | |
4185 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
4186 | If nitercst is 0, don't predict the exit edge. | |
4187 | ||
6edc3e32 | 4188 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
4189 | |
4190 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
4191 | in asm_fprintf with reg_names. | |
4192 | (aarch64_print_operand_address): Likewise. | |
4193 | (aarch64_return_addr): Likewise. | |
4194 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
4195 | ||
f6f94d94 JDA |
4196 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4197 | ||
4198 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
4199 | (INT_U6_BITS): Likewise. | |
4200 | * config/pa/predicates.md (uint6_operand): New predicate. | |
4201 | (shift5_operand, shift6_operand): Likewise. | |
4202 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
4203 | arith32_operand. | |
4204 | (lshrdi3): Use shift6_operand. | |
4205 | (shrpsi4, shrpdi4): New insn patterns. | |
4206 | (extzv): Delete expander. | |
4207 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
4208 | predicates in unamed zero extract patterns. Tighten common constraint. | |
4209 | (extv): Delete expander. | |
4210 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
4211 | predicates in unamed sign extract patterns. Tighten common constraint. | |
4212 | (insv): Delete expander. | |
4213 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
4214 | predicates in unamed insert patterns. Tighten common constraint. | |
4215 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
4216 | DImode pattern to insert constant values of type 1...1xxxx. | |
4217 | ||
36b72910 JH |
4218 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
4219 | ||
4220 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
4221 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
4222 | issue. | |
36b72910 | 4223 | |
47876a2a | 4224 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
4225 | Uros Bizjak <ubizjak@gmail.com> |
4226 | ||
4227 | PR rtl-optimization/55845 | |
4228 | * df-problems.c (can_move_insns_across): Stop scanning at | |
4229 | volatile_insn_p source instruction or give up if | |
4230 | across_from .. across_to range contains any volatile_insn_p | |
4231 | instructions. | |
4232 | ||
4369c11e TB |
4233 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
4234 | ||
7b0fe4f4 UB |
4235 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
4236 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
4237 | Declare. | |
4369c11e | 4238 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 4239 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 4240 | |
aeb7e7c1 JJ |
4241 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
4242 | ||
4243 | PR fortran/55341 | |
4244 | * asan.c (asan_clear_shadow): New function. | |
4245 | (asan_emit_stack_protection): Use it. | |
4246 | ||
a02ad1aa TB |
4247 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
4248 | ||
4249 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
4250 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
4251 | with tab instead of space. | |
4252 | ||
f90d87f5 NC |
4253 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
4254 | ||
4255 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
4256 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
4257 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
4258 | MDBH registers. | |
f90d87f5 | 4259 | |
385eb93d JG |
4260 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
4261 | ||
4262 | * config/aarch64/aarch64-simd.md | |
4263 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
4264 | (aarch64_simd_bsl): Likewise. | |
4265 | (aarch64_vcond_internal<mode>): Likewise. | |
4266 | (vcond<mode><mode>): Likewise. | |
4267 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
4268 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
4269 | ||
4dcd1054 JG |
4270 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
4271 | ||
4272 | * config/aarch64/aarch64-builtins.c | |
4273 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
4274 | ||
4267a4a6 MJ |
4275 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
4276 | ||
4277 | PR debug/55579 | |
4278 | * tree-sra.c (analyze_access_subtree): Return true also after | |
4279 | potentially creating a debug-only replacement. | |
4280 | ||
5f4e6de3 JJ |
4281 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
4282 | ||
3138f224 JJ |
4283 | PR middle-end/55890 |
4284 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
4285 | ||
5f4e6de3 JJ |
4286 | PR tree-optimization/54120 |
4287 | * tree-vrp.c (range_fits_type_p): Don't allow | |
4288 | src_precision < precision from signed vr to unsigned_p | |
4289 | if vr->min or vr->max is negative. | |
4290 | (simplify_float_conversion_using_ranges): Test can_float_p | |
4291 | against CODE_FOR_nothing. | |
4292 | ||
f3ef18ff JJ |
4293 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
4294 | Richard Biener <rguenther@suse.de> | |
4295 | ||
4296 | PR middle-end/55851 | |
4297 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
4298 | types instead of just INTEGER_TYPE types. | |
4299 | ||
25c210f9 MK |
4300 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
4301 | ||
4302 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
4303 | TF_SIZE): Define. | |
f90d87f5 | 4304 | |
81826a7b SE |
4305 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
4306 | ||
4307 | PR target/42661 | |
4308 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
4309 | ||
35678514 GJL |
4310 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
4311 | ||
4312 | PR target/55897 | |
4313 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
4314 | .progmemx.data now. | |
4315 | ||
e5669488 GJL |
4316 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
4317 | ||
4318 | PR target/55897 | |
4319 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
4320 | (avr_addrspace_t): Add .section_name field. | |
4321 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
4322 | array size. | |
4323 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
4324 | NULL entry. Put __memx into .progmemx.data. | |
4325 | (progmem_section_prefix): Remove. | |
4326 | (avr_asm_init_sections): No need to initialize progmem_section. | |
4327 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
4328 | section name prefix. | |
4329 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
4330 | retrieve the progmem section. | |
4331 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
4332 | boundary to run over avr_addrspace[]. | |
4333 | (avr_register_target_pragmas): Ditto. | |
4334 | ||
656e6f37 JJ |
4335 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
4336 | ||
4337 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
4338 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
4339 | anchored symbols. | |
4340 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
4341 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
4342 | normal decls. | |
4343 | (output_object_block): For asan protected decls, emit asan padding | |
4344 | after their contents. | |
4345 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
4346 | (asan_finish_file): Test it here instead. | |
4347 | ||
6edc3e32 UB |
4348 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
4349 | Matthias Klose <doko@debian.org> | |
4350 | Doug Kwan <dougkwan@google.com> | |
4351 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
4352 | |
4353 | PR driver/55470 | |
4354 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
4355 | ||
4356 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
4357 | ||
4358 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
4359 | ||
7b0fe4f4 | 4360 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
4361 | |
4362 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
4363 | ||
2a095093 GJL |
4364 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
4365 | ||
f3b503f4 | 4366 | PR target/54461 |
2a095093 GJL |
4367 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
4368 | --with-avrlibc. | |
4369 | ||
383f9b34 TB |
4370 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
4371 | ||
4372 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
4373 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
4374 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
4375 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
4376 | vqmovun_high_s64): Fix source operand number and update copyright. | |
4377 | ||
3626621a RB |
4378 | 2013-01-07 Richard Biener <rguenther@suse.de> |
4379 | ||
4380 | PR middle-end/55890 | |
4381 | * gimple.h (gimple_call_builtin_p): New overload. | |
4382 | * gimple.c (validate_call): New function. | |
4383 | (gimple_call_builtin_p): Likewise. | |
4384 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
4385 | Use gimple_call_builtin_p. | |
4386 | (find_func_clobbers): Likewise. | |
4387 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
4388 | (strlen_optimize_stmt): Likewise. | |
4389 | ||
8b2ea410 JG |
4390 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
4391 | ||
4392 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
4393 | (vld1q_dup_*): Likewise. | |
4394 | (vld1_*): Likewise. | |
4395 | (vld1q_*): Likewise. | |
4396 | (vld1_lane_*): Likewise. | |
4397 | (vld1q_lane_*): Likewise. | |
4398 | ||
9713d329 RB |
4399 | 2013-01-07 Richard Biener <rguenther@suse.de> |
4400 | ||
4401 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
4402 | ||
3520f7cc JG |
4403 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
4404 | ||
4405 | * config/aarch64/aarch64-protos.h | |
4406 | (aarch64_const_double_zero_rtx_p): Rename to... | |
4407 | (aarch64_float_const_zero_rtx_p): ...this. | |
4408 | (aarch64_float_const_representable_p): New. | |
4409 | (aarch64_output_simd_mov_immediate): Likewise. | |
4410 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
4411 | move immediate case. | |
4412 | * config/aarch64/aarch64.c | |
4413 | (aarch64_const_double_zero_rtx_p): Rename to... | |
4414 | (aarch64_float_const_zero_rtx_p): ...this. | |
4415 | (aarch64_print_operand): Allow printing of new constants. | |
4416 | (aarch64_valid_floating_const): New. | |
4417 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
4418 | constants. | |
4419 | (aarch64_simd_valid_immediate): Likewise. | |
4420 | (aarch64_vect_float_const_representable_p): New. | |
4421 | (aarch64_float_const_representable_p): Likewise. | |
4422 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
4423 | (aarch64_output_simd_mov_immediate): New. | |
4424 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
4425 | (*movdf_aarch64): Likewise. | |
4426 | * config/aarch64/constraints.md (Ufc): New. | |
4427 | (Y): call aarch64_float_const_zero_rtx. | |
4428 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
4429 | ||
e167c04d RB |
4430 | 2013-01-07 Richard Biener <rguenther@suse.de> |
4431 | ||
4432 | PR tree-optimization/55888 | |
4433 | PR tree-optimization/55862 | |
4434 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
4435 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
4436 | not if it is contained therein. | |
4437 | ||
0139aaab GJL |
4438 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
4439 | ||
4440 | * config/avr/t-avr: Typo. | |
4441 | ||
4a176b23 GJL |
4442 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
4443 | ||
4444 | PR55243 | |
4445 | * config/avr/t-avr: Don't automatically rebuild | |
4446 | $(srcdir)/config/avr/t-multilib | |
4447 | $(srcdir)/config/avr/avr-tables.opt | |
4448 | $(srcdir)/doc/avr-mmcu.texi | |
4449 | (avr-mcus): New phony target to build them on request. | |
4450 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
4451 | * avr/avr-mcus.def: Adjust comments. | |
4452 | ||
c7afdc98 UB |
4453 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
4454 | ||
4455 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
4456 | ||
1ab05c31 RS |
4457 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
4458 | ||
4459 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
4460 | ||
488e3acc RS |
4461 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
4462 | ||
4463 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
4464 | ||
a89599d2 DE |
4465 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
4466 | ||
4467 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
4468 | to generate profiling. | |
4469 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
4470 | ||
70f09188 AP |
4471 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
4472 | ||
4473 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
4474 | New function. | |
4475 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
4476 | ||
918d445f UB |
4477 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
4478 | ||
4479 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
4480 | unconditionally. | |
4481 | (ix86_expand_move): Ditto. | |
4482 | (ix86_zero_extend_to_Pmode): Ditto. | |
4483 | (ix86_expand_call): Ditto. | |
4484 | (ix86_expand_special_args_builtin): Ditto. | |
4485 | (ix86_expand_builtin): Ditto. | |
4486 | ||
361618ec RB |
4487 | 2013-01-04 Richard Biener <rguenther@suse.de> |
4488 | ||
4489 | PR tree-optimization/55862 | |
4490 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
4491 | translating them through PHI nodes. | |
4492 | ||
87eab554 MJ |
4493 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
4494 | ||
4495 | PR tree-optimization/55755 | |
4496 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
4497 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
4498 | ||
33879b9f MP |
4499 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
4500 | ||
4501 | PR middle-end/55859 | |
4502 | * opts.c (default_options_optimization): Clarify error message. | |
4503 | ||
3068819a RB |
4504 | 2013-01-04 Richard Biener <rguenther@suse.de> |
4505 | ||
4506 | PR middle-end/55863 | |
4507 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
4508 | reassociation. | |
4509 | ||
0e4ae794 JDA |
4510 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4511 | ||
4512 | PR target/53789 | |
4513 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
4514 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
4515 | references. | |
0e4ae794 | 4516 | |
65c88cef RH |
4517 | 2013-01-03 Richard Henderson <rth@redhat.com> |
4518 | ||
4519 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
4520 | after eliminating TLS symbols. | |
4521 | ||
8ac16127 MG |
4522 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
4523 | ||
4524 | PR bootstrap/50167 | |
4525 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
4526 | * graphite-poly.c (debug_gmp_value): Likewise. | |
4527 | ||
bb664f09 UB |
4528 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
4529 | ||
4530 | PR target/55712 | |
4531 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
4532 | selected code model, define __code_mode_small__, __code_model_medium__, | |
4533 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
4534 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
4535 | xchg temporary register with %k. Declare temporary register as | |
4536 | early clobbered. | |
4537 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
4538 | ||
bcf1ef00 RB |
4539 | 2013-01-03 Richard Biener <rguenther@suse.de> |
4540 | ||
0506634a | 4541 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
4542 | (dump_subscript): Adjust. |
4543 | (finalize_ddr_dependent): Do not dump redundant info. | |
4544 | (analyze_siv_subscript): Adjust. | |
4545 | (subscript_dependence_tester): Likewise. | |
4546 | (compute_affine_dependence): Likewise. | |
4547 | ||
59fd17e3 RB |
4548 | 2013-01-03 Richard Biener <rguenther@suse.de> |
4549 | ||
4550 | Revert | |
4551 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
4552 | ||
4553 | PR tree-optimization/55857 | |
4554 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
4555 | re-alignment for invariant loads. | |
4556 | ||
4557 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
4558 | ||
4559 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 4560 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 4561 | |
595c2679 RB |
4562 | 2013-01-03 Richard Biener <rguenther@suse.de> |
4563 | ||
4564 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
4565 | for not vectorizing. | |
4566 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
4567 | not build INDIRECT_REFs, call get_name once only. | |
4568 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
4569 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
4570 | ||
90bb7d7a RB |
4571 | 2013-01-03 Richard Biener <rguenther@suse.de> |
4572 | ||
4573 | PR tree-optimization/55857 | |
4574 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
4575 | re-alignment for invariant loads. | |
4576 | ||
f09b77ca RB |
4577 | 2013-01-03 Richard Biener <rguenther@suse.de> |
4578 | ||
4579 | PR lto/55848 | |
4580 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
4581 | prefer a built-in decl. | |
4582 | ||
3461a16e JJ |
4583 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
4584 | ||
df8e2b4f JJ |
4585 | * gcc.c (process_command): Update copyright notice dates. |
4586 | * gcov.c (print_version): Likewise. | |
4587 | * gcov-dump.c (print_version): Likewise. | |
4588 | ||
3461a16e JJ |
4589 | PR rtl-optimization/55838 |
4590 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
4591 | iv0.step, iv1.step and step. | |
4592 | ||
8b5546d6 JJ |
4593 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
4594 | Marc Glisse <marc.glisse@inria.fr> | |
4595 | ||
4596 | PR tree-optimization/55832 | |
4597 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
4598 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
4599 | integer_{one,zero}_node. | |
4600 | ||
8ab1d2e9 JJ |
4601 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
4602 | ||
4603 | PR debug/54402 | |
4604 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
4605 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
4606 | VALUEs that have already | |
0506634a | 4607 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 4608 | |
5b9ad1d4 GP |
4609 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
4610 | ||
4611 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
4612 | ||
e25a6711 TJ |
4613 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
4614 | ||
4615 | * dumpfile.c (dump_loc): Print filename with location. | |
4616 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
4617 | new location_t parameter to emit complete unroll message with | |
4618 | new dump framework. | |
4619 | (canonicalize_loop_induction_variables): Compute loops location | |
4620 | and pass to try_unroll_loop_completely. | |
4621 | * loop-unroll.c (report_unroll_peel): New function. | |
4622 | (peel_loops_completely): Use new dump format with location | |
4623 | for main dumpfile message, and invoke report_unroll_peel on success. | |
4624 | (decide_unrolling_and_peeling): Ditto. | |
4625 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
4626 | by report_unroll_peel. | |
4627 | (decide_peel_completely): Ditto. | |
4628 | (decide_unroll_constant_iterations): Ditto. | |
4629 | (decide_unroll_runtime_iterations): Ditto. | |
4630 | (decide_peel_simple): Ditto. | |
4631 | (decide_unroll_stupid): Ditto. | |
4632 | * cfgloop.c (get_loop_location): New function. | |
4633 | * cfgloop.h (get_loop_location): Declare. | |
4634 | ||
77878621 ST |
4635 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
4636 | ||
4637 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
4638 | NULL. | |
4639 | ||
9e65d03e JDA |
4640 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4641 | ||
4642 | PR middle-end/55198 | |
4643 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
4644 | BLKmode objects when EXPAND_MEMORY is specified. | |
4645 | ||
6a7da30f ST |
4646 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
4647 | ||
4648 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
4649 | in loop predicate. | |
4650 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
4651 | ||
e78167f2 JM |
4652 | 2013-01-02 Jason Merrill <jason@redhat.com> |
4653 | ||
4654 | PR c++/55804 | |
4655 | * tree.c (build_array_type_1): Revert earlier change. | |
4656 | ||
8c075fb4 YZ |
4657 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
4658 | ||
4659 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
4660 | "cortex-a57". | |
4661 | * config/aarch64/aarch64-tune.md: Re-generate. | |
4662 | ||
0682ed3e RB |
4663 | 2013-01-02 Richard Biener <rguenther@suse.de> |
4664 | ||
4665 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 4666 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 4667 | |
b8f6a302 RB |
4668 | 2013-01-02 Richard Biener <rguenther@suse.de> |
4669 | ||
4670 | PR bootstrap/55784 | |
4671 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
4672 | * configure: Regenerate. | |
4673 | ||
04b80dbb RS |
4674 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
4675 | ||
4676 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
4677 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
4678 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
4679 | for the fallback case. | |
4680 | ||
635b0b0c RS |
4681 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
4682 | ||
4683 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
4684 | to be clear for sign changes. | |
4685 | ||
42d57399 JH |
4686 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
4687 | ||
4688 | * ipa-inline-analysis.c: Fix formatting. | |
4689 | ||
5bb6669d JJ |
4690 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
4691 | ||
4692 | PR tree-optimization/55831 | |
4693 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
4694 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 4695 | \f |
86a2db33 | 4696 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
4697 | |
4698 | Copying and distribution of this file, with or without modification, | |
4699 | are permitted in any medium without royalty provided the copyright | |
4700 | notice and this notice are preserved. |