]>
Commit | Line | Data |
---|---|---|
daf633ba DE |
1 | 2011-07-18 David Edelsohn <dje.gcc@gmail.com> |
2 | ||
3 | * doc/install.texi (Specific, *-ibm-aix*): AIX assembler bug. | |
4 | ||
4b4455e5 RG |
5 | 2011-07-18 Richard Guenther <rguenther@suse.de> |
6 | ||
7 | * gimplify.c (gimplify_expr): Use input_location, not saved_location | |
8 | when building new trees. | |
9 | ||
e002c7cb RG |
10 | 2011-07-18 Richard Guenther <rguenther@suse.de> |
11 | ||
12 | * expr.c (expand_expr_real_2): Properly truncate the BIT_NOT_EXPR | |
13 | expansion result to bitfield precision if required. | |
14 | ||
e44dbbe1 RO |
15 | 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16 | ||
17 | * config.gcc (i[3456x]86-*-netware*): Remove. | |
18 | ||
19 | * gthr-nks.h: Remove. | |
20 | * configure.ac (enable_threads): Remove nks. | |
21 | * configure: Regenerate. | |
22 | ||
23 | * config/i386/i386.c (ix86_encode_section_info): Remove netware | |
24 | reference. | |
25 | * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): Remove | |
26 | <netware.h> reference. | |
27 | ||
28 | * config/i386/netware-libgcc.c, | |
29 | gcc/config/i386/netware-libgcc.def, | |
30 | gcc/config/i386/netware-libgcc.exp, gcc/config/i386/netware.c, | |
31 | gcc/config/i386/netware.h, gcc/config/i386/netware.opt, | |
32 | gcc/config/i386/nwld.c, gcc/config/i386/nwld.h, | |
33 | gcc/config/i386/t-netware, gcc/config/i386/t-nwld: Remove | |
34 | ||
35 | * doc/extend.texi (Function Attributes, | |
36 | callee_pop_aggregate_return): Remove i?86-netware reference. | |
37 | * doc/install.texi (Configuration, --enable-threads): Remove nks. | |
38 | ||
fd862017 JDA |
39 | 2011-07-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
40 | ||
41 | PR target/49746 | |
42 | Revert: | |
43 | 2010-12-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
44 | ||
45 | * config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean | |
46 | patterns. | |
47 | ||
1ff24749 EB |
48 | 2011-07-17 Eric Botcazou <ebotcazou@adacore.com> |
49 | ||
50 | PR middle-end/49732 | |
51 | * tree.c (walk_tree_1) <DECL_EXPR>: Do not walk a pointed-to type. | |
52 | ||
a4a2c37d MK |
53 | 2011-07-16 Matthias Klose <doko@ubuntu.com> |
54 | ||
55 | * doc/install.texi: Document --enable-static-libjava. | |
56 | ||
ea6136a2 RH |
57 | 2011-07-15 Richard Henderson <rth@redhat.com> |
58 | ||
59 | * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges): | |
60 | Replace all three arguments by returning a VEC of edges. | |
61 | (add_labels_and_missing_jumps): Accept a VEC of edges, not bare | |
62 | pointers and counts. | |
63 | (fix_edges_for_rarely_executed_code): Merge ... | |
64 | (rest_of_handle_partition_blocks): ... into... | |
65 | (partition_hot_cold_basic_blocks): ... here. Return todo items if | |
66 | any work was performed. | |
67 | (pass_partition_blocks): Clear todo_flags_finish. | |
68 | ||
6545e33e PC |
69 | 2011-07-15 Paolo Carlini <paolo.carlini@oracle.com> |
70 | Jakub Jelinek <jakub@redhat.com> | |
71 | Jonathan Wakely <jwakely.gcc@gmail.com> | |
72 | ||
73 | PR libstdc++/49745 | |
74 | * gthr-posix.h: Do not include <unistd.h> unconditionally; use | |
75 | _GTHREADS_USE_MUTEX_TIMEDLOCK instead of _POSIX_TIMEOUTS. | |
76 | ||
6feeed06 JM |
77 | 2011-07-15 Jason Merrill <jason@redhat.com> |
78 | ||
79 | PR testsuite/49741 | |
80 | * Makefile.in ($(lang_checks_parallelized)): Allow --extra_opts | |
81 | rather than --tool_opts. | |
82 | ||
44762055 BS |
83 | 2011-07-15 Basile Starynkevitch <basile@starynkevitch.net> |
84 | ||
85 | * doc/plugins.texi (Building GCC plugins): gengtype needs its | |
0fa71447 | 86 | corresponding gtype.state. |
44762055 | 87 | |
1be0310c JDA |
88 | 2011-07-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
89 | ||
90 | PR target/49723 | |
91 | * config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT. | |
92 | ||
12c5ffe5 EB |
93 | 2011-07-15 Eric Botcazou <ebotcazou@adacore.com> |
94 | ||
95 | PR target/48220 | |
96 | * doc/md.texi (Standard Names): Document window_save. | |
97 | * cfgexpand.c (expand_debug_parm_decl): New function extracted from | |
98 | expand_debug_expr and expand_debug_source_expr. If the target has | |
99 | a window_save instruction, adjust the ENTRY_VALUE_EXP. | |
100 | (expand_debug_expr) <SSA_NAME>: Call expand_debug_parm_decl if the | |
101 | SSA_NAME_VAR is a parameter. | |
102 | (expand_debug_source_expr) <PARM_DECL>: Call expand_debug_parm_decl. | |
103 | * var-tracking.c (parm_reg_t): New type and associated vector type. | |
104 | (windowed_parm_regs): New variable. | |
105 | (adjust_insn): If the target has a window_save instruction and this | |
106 | is the instruction, make its effect on parameter registers explicit. | |
107 | (next_non_note_insn_var_location): New function. | |
108 | (emit_notes_in_bb): Use it instead of NEXT_INSN throughout. | |
109 | (vt_add_function_parameter): If the target has a window_save insn, | |
110 | adjust the incoming RTL and record that in windowed_parm_regs. | |
111 | (vt_finalize): Free windowed_parm_regs. | |
112 | ||
bcead286 BS |
113 | 2011-07-15 Bernd Schmidt <bernds@codesourcery.com> |
114 | ||
115 | * doc/invoke.texi (C6X Options): New section. | |
116 | * doc/md.texi (TI C6X family): New section. | |
117 | * config.gcc: Handle tic6x, in particular tic6x-*-elf and | |
118 | tic6x-*-uclinux. | |
119 | * longlong.h (add_ssaaaa, __umulsidi3, umul_ppmm, | |
120 | count_leading_zeros, count_trailing_zeros, UMUL_TIME, UDIV_TIME): | |
121 | Provide C6X definitions. | |
122 | * config/c6x/c6x.md: New file. | |
123 | * config/c6x/constraints.md: New file. | |
124 | * config/c6x/predicates.md: New file. | |
125 | * config/c6x/c6x-sched.md.in: New file. | |
126 | * config/c6x/c6x-sched.md: New file. | |
127 | * config/c6x/gensched.sh: New file. | |
128 | * config/c6x/c6x-mult.md.in: New file. | |
129 | * config/c6x/genmult.sh: New file. | |
130 | * config/c6x/c6x-mult.md: New file. | |
131 | * config/c6x/sync.md: New file. | |
132 | * config/c6x/c6x-protos.h: New file. | |
133 | * config/c6x/sfp-machine.h: New file. | |
134 | * config/c6x/c6x.c: New file. | |
135 | * config/c6x/c6x.h: New file. | |
136 | * config/c6x/crti.s: New file. | |
137 | * config/c6x/crtn.s: New file. | |
138 | * config/c6x/lib1funcs.asm: New file. | |
139 | * config/c6x/c6x-modes.def: New file. | |
140 | * config/c6x/genopt.sh: New file. | |
141 | * config/c6x/c6x.opt: New file. | |
142 | * config/c6x/c6x-tables.opt: New file. | |
143 | * config/c6x/c6x-opts.h: New file. | |
144 | * config/c6x/c6x-isas.def: New file. | |
145 | * config/c6x/elf.h: New file. | |
146 | * config/c6x/elf-common.h: New file. | |
147 | * config/c6x/uclinux-elf.h: New file. | |
148 | * config/c6x/t-c6x: New file. | |
149 | * config/c6x/t-c6x-elf: New file. | |
150 | * config/c6x/t-c6x-uclinux: New file. | |
151 | * config/c6x/t-c6x-softfp: New file. | |
152 | * config/c6x/gtd.c: New file. | |
153 | * config/c6x/gtf.c: New file. | |
154 | * config/c6x/ltd.c: New file. | |
155 | * config/c6x/ltf.c: New file. | |
156 | * config/c6x/ged.c: New file. | |
157 | * config/c6x/gef.c: New file. | |
158 | * config/c6x/led.c: New file. | |
159 | * config/c6x/lef.c: New file. | |
160 | * config/c6x/eqd.c: New file. | |
161 | * config/c6x/eqf.c: New file. | |
162 | * config/c6x/libgcc-c6xeabi.ver: New file. | |
163 | ||
aef0e7a8 BS |
164 | Revert |
165 | 2003-07-10 Eric Botcazou <ebotcazou@libertysurf.fr> | |
166 | PR rtl-optimization/11320 | |
167 | * sched-int.h (struct deps) [reg_conditional_sets]: New field. | |
168 | (struct sched_info) [compute_jump_reg_dependencies]: New prototype. | |
169 | * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to | |
170 | current_sched_info->compute_jump_reg_dependencies. Record which | |
171 | registers are used and which registers are set by the jump. | |
172 | Clear deps->reg_conditional_sets after a barrier. | |
173 | Set deps->reg_conditional_sets if the insn is a COND_EXEC. | |
174 | Clear deps->reg_conditional_sets if the insn is not a COND_EXEC. | |
175 | (init_deps): Initialize reg_conditional_sets. | |
176 | (free_deps): Clear reg_conditional_sets. | |
177 | * sched-ebb.c (compute_jump_reg_dependencies): New prototype. | |
178 | Mark registers live on entry of the fallthrough block and conditionally | |
179 | set as set by the jump. Mark registers live on entry of non-fallthrough | |
180 | blocks as used by the jump. | |
181 | * sched-rgn.c (compute_jump_reg_dependencies): New prototype. | |
182 | Mark new parameters as unused. | |
183 | ||
9bed2f0d AP |
184 | 2011-07-14 Andrew Pinski <pinskia@gmail.com> |
185 | ||
186 | PR tree-opt/49309 | |
187 | * tree-mudflap.c (mf_xform_derefs_1 <case MEM_REF>): | |
188 | Use fold_build2_loc instead of build2. | |
189 | Use the correct type for the new tree. | |
190 | ||
1f88caaa BS |
191 | 2011-07-14 Bernd Schmidt <bernds@codesourcery.com> |
192 | ||
193 | PR rtl-optimization/11320 | |
194 | * config/ia64/ia64.md (load_symptr_low): Show a MEM. | |
195 | * config/ia64/ia64.c (ia64_expand_load_address): Generate it. | |
196 | ||
d772f97c | 197 | 2011-07-14 Georg-Johann Lay <avr@gjlay.de> |
1f88caaa | 198 | |
d772f97c GJL |
199 | PR target/49487 |
200 | * config/avr/avr.md (rotl<mode>3): Generate SCRATCH instead | |
201 | of REG. | |
202 | (*rotw<mode>): Use const_int_operand for operand2. | |
203 | Use match_scatch for operand3. | |
204 | (*rotb<mode>): Ditto | |
205 | * config/avr/avr.c (avr_rotate_bytes): Treat SCRATCH. | |
206 | ||
1a5d20a4 RG |
207 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
208 | ||
209 | PR tree-optimization/49651 | |
210 | * tree-ssa-structalias.c (get_constraint_for_1): Properly | |
211 | handle dereferences with subvariables. | |
212 | ||
5fbcc0ed RG |
213 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
214 | ||
215 | * gimple-fold.c (fold_gimple_assign): Remove operand swapping. | |
216 | (fold_stmt_1): Do it here directly on gimple and as a first thing. | |
217 | ||
fbf3fee2 RG |
218 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
219 | ||
220 | * fold-const.c (fold_binary_loc): Convert the !bool_var result, | |
221 | not bool_var when folding bool_var != 1 or bool_var == 0. | |
222 | ||
b953c2b8 BS |
223 | 2011-07-14 Bernd Schmidt <bernds@codesourcery.com> |
224 | ||
225 | * haifa-sched.c (schedule_insns): Remove outdated comment. | |
226 | (schedule_block): When computing a known value for TODO_SPEC, | |
227 | just set it rather than using logical operations. | |
228 | (try_ready): Likewise. Use a local variable rather than a | |
229 | pointer to TODO_SPEC. Reorder an if statement to move the | |
230 | easy case to the then block. | |
231 | * sched-deps.c (dep_spec_p): New static function. | |
232 | (update_dep): Use it to decide whether to call | |
233 | change_spec_dep_to_hard. | |
234 | (get_back_and_forw_lists): Use it. | |
235 | (sd_resolve_dep): Likewise. | |
236 | (init_dep): If !USE_DEPS_LIST, use zero to initialize status. | |
237 | (haifa_note_mem_dep): Likewise. | |
238 | (check_dep): Likewise. | |
239 | (sd_add_dep): Also clear SPECULATIVE bits if not DO_SPECULATION. | |
240 | (sched_free_deps): Free in two passes. | |
241 | ||
1f098f07 RS |
242 | 2011-07-14 Richard Sandiford <richard.sandiford@linaro.org> |
243 | ||
244 | PR middle-end/49736 | |
245 | * expr.c (all_zeros_p): Undo bogus part of last change. | |
246 | ||
73059910 MK |
247 | 2011-07-14 Matthias Klose <doko@ubuntu.com> |
248 | ||
249 | * doc/extend.texi (optimize attribute): Fix typo. | |
250 | ||
bd5d002e RG |
251 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
252 | ||
253 | * gimplify.c (gimplify_expr): Only do required conversions. | |
254 | ||
eb1dcdff GJL |
255 | 2011-07-14 Georg-Johann Lay <avr@gjlay.de> |
256 | ||
257 | PR target/43746 | |
258 | * config/avr/elf.h (TARGET_ASM_SELECT_SECTION): Remove, | |
259 | i.e. use default_elf_select_section. | |
260 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Remove. | |
261 | (READONLY_DATA_SECTION_ASM_OP): Remove. | |
262 | (TARGET_ASM_NAMED_SECTION): Move from here... | |
263 | * config/avr/avr.c: ...to here. | |
264 | (avr_asm_init_sections): Set unnamed callback of | |
265 | readonly_data_section. | |
266 | (avr_asm_named_section): Make static. | |
267 | ||
d31fb329 RO |
268 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
269 | ||
270 | PR bootstrap/49739 | |
271 | * config.gcc (extra_parts): Add crtprec32.o crtprec64.o crtp | |
272 | rec80.o crtfastmath.o for Linux/x86. | |
273 | ||
26965010 BS |
274 | 2011-07-14 Bernd Schmidt <bernds@codesourcery.com> |
275 | ||
276 | * haifa-sched.c: Include "hashtab.h" | |
277 | (sched_no_dce): New global variable. | |
278 | (INSN_EXACT_TICK, INSN_TICK_ESTIMATE, FEEDS_BACKTRACK_INSN, | |
279 | SHADOW_P): New macros. | |
280 | (last_clock_var, cycle_issued_insns): Move declarations. | |
281 | (must_backtrack): New static variable. | |
282 | (struct delay_pair): New structure. | |
283 | (delay_htab, delay_htab_i2): New static variables. | |
284 | (delay_hash_i1, delay_hash_i2, delay_i1_eq, delay_i2_eq, | |
285 | record_delay_slot_pair, pair_delay, add_delay_dependencies): New | |
286 | functions. | |
287 | (dep_cost_1): If delay pairs exist, try to look up the insns and | |
288 | use the correct pair delay if we find them. | |
289 | (rank-for_schedule): Tweak priority for insns that must be scheduled | |
290 | soon to avoid backtracking. | |
291 | (queue_insn): Detect conditions which force backtracking. | |
292 | (ready_add): Likewise. | |
293 | (struct sched_block_state): Add member shadows_only_p. | |
294 | (struct haifa_save_data): New structure. | |
295 | (backtrack_queue): New static variable. | |
296 | (mark_backtrack_feeds, copy_insn_list, save_backtrack_point, | |
297 | unschedule_insns_until, restore_last_backtrack_point, | |
298 | free_topmost_backtrack_point, free_backtrack_queue, | |
299 | estimate_insn_tick, estimate_shadow_tick): New functions. | |
300 | (prune_ready_list): New arg shadows_only_p. All callers changed. | |
301 | If true, remove everything that isn't SHADOW_P. Look up delay | |
302 | pairs and estimate ticks to avoid scheduling the first insn too | |
303 | early. | |
304 | (verify_shadows): New function. | |
305 | (schedule_block): Add machinery to enable backtracking. | |
306 | (sched_init): Take sched_no_dce into account when setting | |
307 | DF_LR_RUN_DCE. | |
308 | (free_delay_pairs): New function. | |
309 | (init_h_i_d): Initialize INSN_EXACT_TICK. | |
310 | * Makefile.in (haifa-sched.o): Add $(HASHTAB_H). | |
311 | * sched-deps.c (sd_unresolve_dep): New function. | |
312 | * sched-int. (struct haifa_sched_info): New fields save_state | |
313 | and restore_state. | |
314 | (struct _haifa_insn_data): New fields exact_tick, tick_estimate, | |
315 | feeds_backtrack_insn and shadow_p. | |
316 | (DO_BACKTRACKING): New value in enum SCHED_FLAGS. | |
317 | (sched_no_dce): Declare variable. | |
318 | (record_delay_slot_pair, free_delay_pairs, add_delay_dependencies, | |
319 | sd_unresolve_dep): Declare functions. | |
320 | * modulo-sched.c (sms_sched_info): Clear the two new fields. | |
321 | * sched-rgn.c (rgn_const_sched_info): Likewise. | |
322 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
323 | * sched-ebb.c (save_ebb_state, restore_ebb_state): New functions. | |
324 | (ebb_sched_info): Add them for the two new fields. | |
325 | (add_deps_for_risky_insns): Call add_delay_dependencies. | |
326 | ||
1db75f6c MM |
327 | 2011-07-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
328 | ||
329 | * config/rs6000/rs6000.opt (-mpointers-to-nested-functions): | |
330 | Rename -mr11. | |
331 | * config/rs6000/rs6000.c (rs6000_trampoline_init): Ditto. | |
332 | (rs6000_call_indirect_aix): Ditto. | |
333 | * config/rs6000/rs6000.md (call_indirect_aix<ptrsize>): Ditto. | |
334 | (call_indirect_aix<ptrsize>_internal): Ditto. | |
335 | (call_indirect_aix<ptrsize>_nor11): Ditto. | |
336 | (call_indirect_aix<ptrsize>_internal2): Ditto. | |
337 | (call_value_indirect_aix<ptrsize>): Ditto. | |
338 | (call_value_indirect_aix<ptrsize>_internal): Ditto. | |
339 | (call_value_indirect_aix<ptrsize>_nor11): Ditto. | |
340 | (call_value_indirect_aix<ptrsize>_internal2): Ditto. | |
341 | * doc/invoke.texi (RS/6000 and PowerPC Options): Ditto. | |
342 | ||
e2995714 JM |
343 | 2011-07-13 Jason Merrill <jason@redhat.com> |
344 | ||
345 | * Makefile.in ($(lang_checks_parallelized)): Allow --tool_opts. | |
346 | ||
4dfe3ad5 UW |
347 | 2011-07-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
348 | ||
349 | * config/spu/spu.c (spu_init_libfuncs): Install __clrsbdi2. | |
350 | * config/spu/spu.md ("clrsb<mode>2"): New expander. | |
351 | ||
dddc6762 TS |
352 | 2011-07-13 Thomas Schwinge <thomas@schwinge.name> |
353 | ||
354 | * acinclude.m4 (gcc_GAS_CHECK_FEATURE): Use AS_ECHO instead of echo. | |
355 | * configure: Regenerate. | |
356 | ||
b4d80e56 UW |
357 | 2011-07-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
358 | ||
359 | * config/spu/spu.c (TARGET_ASM_FILE_START): Do not define. | |
360 | (asm_file_start): Remove. | |
361 | (spu_machine_dependent_reorg): Call compute_bb_for_insn and | |
362 | free_bb_for_insn around code that modifies insns before | |
363 | restarting df analysis. | |
364 | ||
9e34e53f RO |
365 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
366 | ||
367 | PR target/49541 | |
368 | * config/sol2.h (LIB_SPEC): Simplify. | |
369 | Move LIB_THREAD_LDFLAGS_SPEC ... | |
370 | (LINK_SPEC): ... here. | |
371 | ||
51564684 BS |
372 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
373 | ||
374 | * haifa-sched.c (struct sched_block_state): New. | |
375 | (schedule_block): Move some local variables into such a structure. | |
376 | ||
b3fe1584 RO |
377 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
378 | ||
379 | * config/i386/crtprec.c: Move to ../libgcc/config/i386. | |
380 | * config/i386/t-crtpc: Remove. | |
381 | * config/t-darwin (EXTRA_MULTILIB_PARTS): Remove. | |
382 | * config.gcc (i[34567]86-*-darwin*): Remove i386/t-crtpc from | |
383 | tmake_file. | |
384 | (x86_64-*-darwin*): Likewise. | |
385 | (i[34567]86-*-linux*): Likewise. | |
386 | (x86_64-*-linux*): Likewise. | |
387 | ||
388 | * config/i386/sol2.h (ENDFILE_SPEC): Redefine. | |
389 | Handle -mpc32, -mpc64, -mpc80. | |
390 | ||
35d8090d RO |
391 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
392 | ||
393 | * config/alpha/crtfastmath.c: Move to ../libgcc/config/alpha. | |
394 | * config/alpha/t-crtfm: Remove. | |
395 | * config/i386/crtfastmath.c: Move to ../libgcc/config/i386. | |
396 | * config/i386/t-crtfm: Remove. | |
397 | * config/ia64/crtfastmath.c: Move to ../libgcc/config/ia64. | |
398 | * config/mips/crtfastmath.c: Move to ../libgcc/config/mips. | |
399 | * config/sparc/crtfastmath.c: Move to ../libgcc/config/sparc. | |
400 | * config/sparc/t-crtfm: Remove. | |
401 | ||
402 | * config.gcc (alpha*-*-linux*): Remove alpha/t-crtfm from tmake_file. | |
403 | (alpha*-*-freebsd*): Likewise. | |
404 | (i[34567]86-*-darwin*): Remove i386/t-crtfm from tmake_file. | |
405 | (x86_64-*-darwin*): Likewise. | |
406 | (i[34567]86-*-linux*): Likewise. | |
407 | (x86_64-*-linux*): Likewise. | |
408 | (x86_64-*-mingw*): Likewise. | |
409 | (ia64*-*-elf*): Remove crtfastmath.o from extra_parts. | |
410 | (ia64*-*-freebsd*): Likewise. | |
411 | (ia64*-*-linux*): Likewise. | |
412 | (mips64*-*-linux*): Likewise. | |
413 | (mips*-*-linux*): Likewise. | |
414 | (sparc-*-linux*): Remove sparc/t-crtfm from tmake_file. | |
415 | (sparc64-*-linux*): Likewise. | |
416 | (sparc64-*-freebsd*): Likewise. | |
417 | ||
e141542e RO |
418 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
419 | ||
420 | * config/darwin-crt2.c: Move to ../libgcc/config/rs6000. | |
421 | * config/darwin-crt3.c: Move to ../libgcc/config. | |
422 | * config/t-darwin (EXTRA_MULTILIB_PARTS): Remove. | |
423 | ($(T)crt3$(objext)): Remove. | |
424 | * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Remove. | |
425 | ($(T)crt2$(objext)): Remove. | |
426 | * config.gcc (powerpc-*-darwin*): Remove extra_parts. | |
427 | (powerpc64-*-darwin*): Likewise. | |
428 | ||
72fbc381 L |
429 | 2011-07-13 H.J. Lu <hongjiu.lu@intel.com> |
430 | ||
431 | * config/i386/i386.c (x86_output_mi_thunk): Support ptr_mode | |
432 | != Pmode. | |
433 | ||
434 | * config/i386/i386.md (*addsi_1_zext): Renamed to ... | |
435 | (addsi_1_zext): This. | |
436 | ||
727a65e6 BS |
437 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
438 | ||
439 | * doc/tm.texi.in (TARGET_ASM_MERGEABLE_RODATA_PREFIX): Add hook. | |
440 | * doc/tm.texi: Regenerate. | |
441 | * target.def (mergeable_rodata_prefix: New defhookpod. | |
442 | * varasm.c (mergeable_string_section, mergeable_constant_section): | |
443 | Use it. Allocate name with alloca. | |
444 | ||
cb77b6cf L |
445 | 2011-07-13 H.J. Lu <hongjiu.lu@intel.com> |
446 | ||
447 | * doc/invoke.texi (x86): Remove -mfused-madd and add -mfma. | |
448 | ||
36fc3799 RS |
449 | 2011-07-13 Richard Sandiford <richard.sandiford@linaro.org> |
450 | ||
451 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Tighten | |
452 | overlap check. | |
453 | ||
953d0c90 RS |
454 | 2011-07-13 Richard Sandiford <richard.sandiford@linaro.org> |
455 | ||
456 | * tree.h (categorize_ctor_elements): Remove comment. Fix long line. | |
457 | (count_type_elements): Delete. | |
458 | (complete_ctor_at_level_p): Declare. | |
459 | * expr.c (flexible_array_member_p): New function, split out from... | |
460 | (count_type_elements): ...here. Make static. Replace allow_flexarr | |
461 | parameter with for_ctor_p. When for_ctor_p is true, return the | |
462 | number of elements that should appear in the top-level constructor, | |
463 | otherwise return an estimate of the number of scalars. | |
464 | (categorize_ctor_elements): Replace p_must_clear with p_complete. | |
465 | (categorize_ctor_elements_1): Likewise. Use complete_ctor_at_level_p. | |
466 | (complete_ctor_at_level_p): New function, borrowing union logic | |
467 | from old categorize_ctor_elements_1. | |
468 | (mostly_zeros_p): Return true if the constructor is not complete. | |
469 | (all_zeros_p): Update call to categorize_ctor_elements. | |
470 | * gimplify.c (gimplify_init_constructor): Update call to | |
471 | categorize_ctor_elements. Don't call count_type_elements. | |
472 | Unconditionally prevent clearing for variable-sized types, | |
473 | otherwise rely on categorize_ctor_elements to detect | |
474 | incomplete initializers. | |
475 | ||
9111c715 RG |
476 | 2011-07-13 Richard Guenther <rguenther@suse.de> |
477 | ||
478 | * tree-vrp.c (simplify_conversion_using_ranges): Make sure | |
479 | the final type is integral. | |
480 | ||
a19af9c4 BS |
481 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
482 | ||
483 | * sched-int.h (struct _dep): Add member cost. | |
484 | (DEP_COST, UNKNOWN_DEP_COST): New macros. | |
485 | * sched-deps.c (init_dep_1): Initialize DEP_COST. | |
486 | * haifa-sched.c (dep_cost_1): Use and set DEP_COST. | |
487 | (sched_change_pattern): Reset it for dependent insns. | |
488 | ||
2d1efe2d RO |
489 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
490 | ||
491 | * Makefile.in (CRT0STUFF_T_CFLAGS): Remove. | |
492 | ($(T)crt0.o, $(T)mcrt0.o, s-crt0): Remove. | |
493 | * config/i386/netware-crt0.c: Move to ../libgcc/config/i386. | |
494 | * config/i386/t-nwld (CRTSTUFF_T_CFLAGS, CRT0STUFF_T_CFLAGS): Remove. | |
495 | (CRT0_S, MCRT0_S): Remove. | |
496 | ($(T)libgcc.def, $(T)libc.def, $(T)libcpre.def, $(T)posixpre.def): | |
497 | Remove. | |
498 | (s-crt0): Remove. | |
499 | * config.gcc (i[3456x]86-*-netware*): Remove extra_parts. | |
500 | ||
e84a58ff EB |
501 | 2011-07-12 Eric Botcazou <ebotcazou@adacore.com> |
502 | ||
503 | * cse.c (insert_with_costs): Put semi-colon after empty loop body | |
504 | on the next line. | |
505 | * emit-rtl.c (push_to_sequence): Likewise. | |
506 | * haifa-sched.c (max_issue): Likewise. | |
507 | * matrix-reorg.c (add_allocation_site): Likewise. | |
508 | * postreload-gcse.c (eliminate_partially_redundant_load): Likewise. | |
509 | * reload.c (alternative_allows_const_pool_ref): Likewise. | |
510 | * sched-rgn.c (rgn_add_block): Likewise. | |
511 | (rgn_fix_recovery_cfg): Likewise. | |
512 | * tree.c (attribute_list_contained): Likewise. | |
513 | ||
3a4ffde6 UB |
514 | 2011-07-12 Uros Bizjak <ubizjak@gmail.com> |
515 | ||
516 | * config/i386/i386.c: Tidy processor feature bitmasks. | |
517 | (m_P4_NOCONA): New. | |
518 | ||
10b75750 AP |
519 | 2011-07-12 Andrew Pinski <pinskia@gmail.com> |
520 | ||
521 | PR rtl-opt/49474 | |
522 | * cprop.c (find_implicit_sets): Correct the condition. | |
523 | ||
4f42d714 RH |
524 | 2011-07-12 Richard Henderson <rth@redhat.com> |
525 | ||
526 | PR target/49713 | |
527 | * dwarf2out.h (dwarf_frame_regnum): Remove. | |
528 | * dwarf2out.c (based_loc_descr): Revert last change. Initialize regno | |
529 | earlier from DWARF_FRAME_REGNUM. Never use dbx_reg_number. | |
530 | * dwarf2cfi.c (dw_stack_pointer_regnum, dw_frame_pointer_regnum): New. | |
531 | (execute_dwarf2_frame): Initialize them. | |
532 | (DW_STACK_POINTER_REGNUM, DW_FRAME_POINTER_REGNUM): Remove; replace | |
533 | users of the macros with the variables. | |
534 | (expand_builtin_dwarf_sp_column): Revert last change. | |
535 | (expand_builtin_init_dwarf_reg_sizes): Likewise. Compute the | |
536 | result of DWARF_FRAME_REGNUM into a local variable. | |
537 | ||
3a5e4ad6 RH |
538 | 2011-07-12 Richard Henderson <rth@redhat.com> |
539 | ||
540 | PR target/49714 | |
541 | * config/i386/i386.c (x86_output_mi_thunk): Use | |
542 | machopic_indirect_call_target instead of machopic_indirection_name | |
543 | directly. | |
544 | ||
9e9bd455 LG |
545 | 2011-07-12 Laurent GUERBY <laurent@guerby.net> |
546 | Eric Botcazou <ebotcazou@adacore.com> | |
547 | ||
548 | * prefix.h: Wrap up in extern "C" block. | |
549 | ||
4d652a18 HJ |
550 | 2011-07-12 Harsha Jagasia <harsha.jagasia@amd.com> |
551 | ||
552 | AMD bdver2 Enablement | |
553 | * config.gcc (i[34567]86-*-linux* | ...): Add bdver2. | |
554 | (case ${target}): Add bdver2. | |
555 | * config/i386/driver-i386.c (host_detect_local_cpu): Let | |
556 | -march=native recognize bdver2 processors. | |
557 | * config/i386/i386-c.c (ix86_target_macros_internal): Add | |
558 | bdver2 def_and_undef | |
559 | * config/i386/i386.c (struct processor_costs bdver2_cost): New | |
560 | bdver2 cost table. | |
561 | (m_BDVER2): New definition. | |
562 | (m_AMD_MULTIPLE): Includes m_BDVER2. | |
563 | (initial_ix86_tune_features): Add bdver2 tuning. | |
564 | (processor_target_table): Add bdver2 entry. | |
565 | (static const char *const cpu_names): Add bdver2 entry. | |
566 | (ix86_option_override_internal): Add bdver2 instruction sets. | |
567 | (ix86_issue_rate): Add bdver2. | |
568 | (ix86_adjust_cost): Add bdver2. | |
569 | (has_dispatch): Add bdver2. | |
570 | * config/i386/i386.h (TARGET_BDVER2): New definition. | |
571 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_bdver2. | |
572 | (enum processor_type): Add PROCESSOR_BDVER2. | |
573 | * config/i386/i386.md (define_attr "cpu"): Add bdver2. | |
574 | * config/i386/i386.opt ( mdispatch-scheduler): Add bdver2 to | |
575 | description. | |
576 | ||
5756d08c RH |
577 | 2011-07-12 Richard Henderson <rth@redhat.com> |
578 | ||
579 | PR target/49714 | |
580 | * config/i386/i386.c (x86_output_mi_thunk): Fix mode for | |
581 | destination address in memory on some paths. | |
582 | ||
123148b5 BS |
583 | 2011-07-12 Bernd Schmidt <bernds@codesourcery.com> |
584 | ||
585 | * doc/tm.texi.in (FUNCTION_ARG_PADDING): Mention | |
586 | TARGET_FUNCTION_ARG_ROUND_BOUNDARY. | |
587 | (TARGET_FUNCTION_ARG_ROUND_BOUNDARY): Add hook. | |
588 | * function.c (locate_and_pad_parm): Take it into account. | |
589 | * target.def (function_arg_round_boundary): New hook. | |
590 | * targhooks.c (default_function_arg_round_boundary): New function. | |
591 | * targhooks.h (default_function_arg_round_boundary): Declare. | |
592 | * doc/tm.texi: Regenerate. | |
593 | ||
b7a83ad8 RG |
594 | 2011-07-12 Richard Guenther <rguenther@suse.de> |
595 | ||
596 | * tree-ssa-copyrename.c (rename_ssa_copies): Zero statistics. | |
597 | Do not perform no-op changes. | |
598 | ||
12c4ecb1 RS |
599 | 2011-07-12 Richard Sandiford <richard.sandiford@linaro.org> |
600 | ||
601 | * config/arm/predicates.md (neon_struct_operand): Make a normal | |
602 | predicate. | |
603 | (neon_struct_or_register_operand): New predicate. | |
604 | * config/arm/neon.md (movmisalign<mode>): Replace predicates | |
605 | with neon_struct_or_register_operand. | |
606 | (*movmisalign<mode>_neon_store, *movmisalign<mode>_neon_load): Use | |
607 | neon_struct_operand instead of memory_operand. | |
608 | ||
ab079773 MJ |
609 | 2011-07-12 Martin Jambor <mjambor@suse.cz> |
610 | ||
611 | * cgraph.h (cgraph_get_node_or_alias): Removed declaration. | |
612 | * cgraph.c (cgraph_get_node_or_alias): Removed. | |
613 | (change_decl_assembler_name): Changed all calls to | |
614 | cgraph_get_node_or_alias to a call to cgraph_get_node. | |
615 | (cgraph_make_decl_local): Likewise. | |
616 | * lto-symtab.c (lto_symtab_resolve_symbols): Likewise. | |
617 | * varasm.c (default_binds_local_p_1): Likewise. | |
618 | (decl_binds_to_current_def_p): Likewise. | |
619 | ||
d5fed62d JJ |
620 | 2011-07-12 Jakub Jelinek <jakub@redhat.com> |
621 | ||
622 | PR tree-optimization/49712 | |
623 | * tree-ssa-loop-im.c (gen_lsm_tmp_name): Handle TARGET_MEM_REF. | |
624 | ||
c0b6224a BS |
625 | 2011-07-11 Bernd Schmidt <bernds@codesourcery.com> |
626 | ||
627 | * genautomata.c (add_arc): Return void. All callers changed. | |
628 | (make_automaton): Remove dead code. | |
629 | ||
7263c6d7 RH |
630 | 2011-07-11 Richard Henderson <rth@redhat.com> |
631 | ||
632 | * dwarf2cfi.c (DW_STACK_POINTER_REGNUM): New. | |
633 | (DW_FRAME_POINTER_REGNUM): New. | |
634 | (expand_builtin_init_dwarf_reg_sizes): Use unsigned for rnum. | |
635 | (def_cfa_1): Do not convert reg to DWARF_FRAME_REGNUM here. | |
636 | (dwf_regno): New. | |
637 | (dwarf2out_flush_queued_reg_saves, dwarf2out_frame_debug_def_cfa, | |
638 | dwarf2out_frame_debug_adjust_cfa, dwarf2out_frame_debug_cfa_register, | |
639 | dwarf2out_frame_debug_cfa_expression, dwarf2out_frame_debug_expr): | |
640 | Use it. | |
641 | * dwarf2out.c (based_loc_descr): Use dwarf_frame_regnum. | |
642 | * dwarf2out.h (dwarf_frame_regnum): New. | |
643 | (struct cfa_loc): Document the domain of the reg member. | |
644 | ||
f9610d20 UB |
645 | 2011-07-11 Uros Bizjak <ubizjak@gmail.com> |
646 | ||
647 | * config/i386/i386.c (ix86_trampoline_init): Switch arms of if expr. | |
648 | Use offset everywhere. Always assert that offset <= TRAMPOLINE_SIZE. | |
649 | ||
96ae7458 JJ |
650 | 2011-07-11 Jakub Jelinek <jakub@redhat.com> |
651 | ||
652 | PR debug/49676 | |
653 | * dwarf2out.c (int_shift_loc_descriptor): New function. | |
654 | (int_loc_descriptor): If shorter, emit i as | |
655 | (i >> shift), shift, DW_OP_shl for suitable shift value. | |
656 | Similarly, try to optimize large negative values using | |
657 | DW_OP_neg of a positive value if shorter. | |
658 | (size_of_int_shift_loc_descriptor): New function. | |
659 | (size_of_int_loc_descriptor): Adjust to match int_loc_descriptor | |
660 | changes. | |
661 | (mem_loc_descriptor) <case CONST_INT>: Emit zero-extended constants | |
662 | that fit into DWARF2_ADDR_SIZE bytes as int_loc_descriptor + | |
663 | DW_OP_GNU_convert instead of DW_OP_GNU_const_type if the former | |
664 | is shorter. | |
665 | (resolve_addr_in_expr): Optimize DW_OP_plus_uconst with a large | |
666 | addend as added DW_OP_plus if it is shorter. | |
667 | ||
feffaec4 RO |
668 | 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
669 | ||
670 | * config/i386/sol2.h [!USE_GLD] (CTORS_SECTION_ASM_OP): Define. | |
671 | (DTORS_SECTION_ASM_OP): Define. | |
672 | ||
2d8d5935 RO |
673 | 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
674 | ||
675 | * config/dfp-bit.c, config/dfp-bit.h: Move to ../libgcc. | |
676 | * config/t-dfprules: Move to ../libgcc/config. | |
677 | * config.gcc (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, | |
678 | i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*, | |
679 | i[34567]86-*-kopensolaris*-gnu): Remove t-dfprules from tmake_file. | |
680 | (x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): | |
681 | Likewise. | |
682 | (i[34567]86-*-cygwin*): Likewise. | |
683 | (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise. | |
684 | (powerpc-*-linux*, powerpc64-*-linux*): Likewise. | |
685 | * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): Remove. | |
686 | (libgcc.mvars): Remove DFP_ENABLE, DFP_CFLAGS, D32PBIT_FUNCS, | |
687 | D64PBIT_FUNCS, D128PBIT_FUNCS. | |
688 | ||
dcc95c20 RG |
689 | 2011-07-11 Richard Guenther <rguenther@suse.de> |
690 | ||
691 | * tree-vrp.c (simplify_conversion_using_ranges): Manually | |
692 | translate the source value-range through the conversion chain. | |
693 | ||
28164eed RS |
694 | 2011-07-11 Richard Sandiford <richard.sandiford@linaro.org> |
695 | ||
696 | * expr.c (expand_expr_real_1): Use expand_insn for movmisalign. | |
697 | ||
f3054223 AL |
698 | 2011-07-11 Arthur Loiret <aloiret@debian.org> |
699 | ||
700 | * config.gcc (s390-*-linux*): If 'enabled_targets' is 'all', build | |
701 | a bi-arch compiler defaulting to 31-bit. In this case: | |
702 | (tmake_file): Add s390/t-linux64. | |
703 | * doc/install.texi: Add s390-linux to the list of targets supporting | |
704 | --enable-targets=all. | |
705 | ||
bd5ab709 AL |
706 | 2011-07-11 Arthur Loiret <aloiret@debian.org> |
707 | Matthias Klose <doko@debian.org> | |
708 | ||
709 | * config.gcc (mips*-*-linux*): If 'enabled_targets' is 'all', build | |
710 | a tri-arch compiler defaulting to 32-bit (ABI o32). In this case: | |
711 | (tm_file): Add mips/linux64.h. | |
712 | (tmake_file): Add mips/t-linux64. | |
713 | (tm_defines): Add MIPS_ABI_DEFAULT=ABI_32. | |
714 | * config/mips/linux64.h (DRIVER_SELF_SPECS): Use MULTILIB_ABI_DEFAULT | |
715 | instead of hardcoded mabi=n32. | |
716 | * config/mips/t-linux64 (MULTILIB_DIRNAMES): Set to 'n32 . 64' if | |
717 | tm_defines contains MIPS_ABI_DEFAULT ABI_32, to follow the glibc | |
718 | convention. | |
719 | ||
d3b7e946 AK |
720 | 2011-07-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
721 | ||
722 | * passes.c (init_optimization_passes): Add invariant motion pass | |
723 | after induction variable optimization. | |
724 | ||
7e4ec472 | 725 | 2011-07-11 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 726 | |
7e4ec472 GJL |
727 | PR target/39633 |
728 | * config/avr/avr.c (notice_update_cc): For ashiftrt:QI, only | |
729 | offsets 1..5 set cc0 in a usable way. | |
730 | ||
0e65e631 RG |
731 | 2011-07-11 Romain Geissler <romain.geissler@gmail.com> |
732 | ||
733 | * tree.h (call_expr_arg): Remove. | |
734 | (call_expr_argp): Likewise. | |
735 | ||
18970372 EB |
736 | 2011-07-11 Eric Botcazou <ebotcazou@adacore.com> |
737 | ||
738 | * config/sparc/sparc.md (save_register_window_1): Rename to... | |
739 | (window_save): ...this. | |
740 | * config/sparc/sparc.c (emit_save_register_window): Rename to... | |
741 | (emit_window_save): ...this. | |
742 | (sparc_expand_prologue): Adjust to above renaming. | |
743 | ||
9e419e38 L |
744 | 2011-07-10 H.J. Lu <hongjiu.lu@intel.com> |
745 | ||
746 | * config/i386/i386.c (ix86_trampoline_init): Use movl instead | |
747 | of movabs for x32. | |
748 | ||
3db72de3 RH |
749 | 2011-07-10 Richard Henderson <rth@redhat.com> |
750 | ||
751 | * config/i386/i386.c (x86_output_mi_thunk): Generate rtl and | |
752 | run final, instead of emitting text directly. | |
753 | ||
a1f91bca L |
754 | 2011-07-10 H.J. Lu <hongjiu.lu@intel.com> |
755 | ||
756 | * config/i386/i386.c (ix86_option_override_internal): Turn on | |
757 | OPTION_MASK_ISA_64BIT for TARGET_X32. Only allow small and | |
758 | small PIC models for TARGET_X32. | |
759 | ||
a50023f9 HPN |
760 | 2011-07-10 Hans-Peter Nilsson <hp@axis.com> |
761 | ||
9a0b29f0 HPN |
762 | PR target/49684 |
763 | * config/cris/t-elfmulti (CRTSTUFF_T_CFLAGS): Don't include | |
764 | $(LIBGCC2_CFLAGS). | |
765 | ||
a50023f9 HPN |
766 | PR bootstrap/49680 |
767 | * config/cris/cris.c (cris_asm_output_case_end): Robustify against | |
768 | stray notes and debug insns by using prev_nonnote_nondebug_insn | |
769 | instead of PREV_INSN. | |
770 | ||
948d330e RH |
771 | 2011-07-09 Richard Henderson <rth@redhat.com> |
772 | ||
773 | * defaults.h (DWARF2_ADDR_SIZE, DWARF_OFFSET_SIZE, | |
774 | DWARF_TYPE_SIGNATURE_SIZE): Move from ... | |
775 | * dwarf2out.c: ... here. | |
776 | (output_all_cfis): Remove. | |
777 | (dwarf2out_switch_text_section): Use output_cfis directly. | |
778 | (size_of_locs): Export. | |
779 | (output_loc_sequence, output_loc_sequence_raw): Export. | |
780 | (div_data_align, need_data_align_sf_opcode, dwarf_cfi_name, output_cfi, | |
781 | output_cfi_directive, dwarf2out_emit_cfi, output_cfis, output_cfa_loc, | |
782 | output_cfa_loc_raw): Move to ... | |
783 | * dwarfcfi.c: ... here. | |
784 | * dwarf2out.h: Update decls. | |
785 | ||
db42e39d RH |
786 | 2011-07-09 Richard Henderson <rth@redhat.com> |
787 | ||
788 | * defaults.h (DWARF_CIE_DATA_ALIGNMENT, DWARF_FRAME_RETURN_COLUMN, | |
789 | DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Move from ... | |
790 | * dwarf2cfi.c: ... here. | |
791 | (PTR_SIZE, DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE): Remove. | |
792 | (DWARF_ROUND, DWARF_CIE_ID): Remove. | |
793 | * dwarf2out.c (INCOMING_RETURN_ADDR_RTX): Remove. | |
794 | (DWARF2_FRAME_REG_OUT, DWARF_CIE_DATA_ALIGNMENT): Remove. | |
795 | (DWARF_FRAME_RETURN_COLUMN, DWARF_FRAME_REGNUM): Remove. | |
796 | ||
a8e5c0e7 RH |
797 | 2011-07-09 Richard Henderson <rth@redhat.com> |
798 | ||
799 | * dwarf2cfi.c (cie_return_save): New. | |
800 | (queue_reg_save): Use compare_reg_or_pc. | |
801 | (dwarf2out_flush_queued_reg_saves): Handle pc_rtx as return column. | |
802 | (dwarf2out_frame_debug_expr): Likewise. | |
803 | (dwarf2out_frame_debug_cfa_register): Record saved reg for pc too. | |
804 | (initial_return_save): Likewise. | |
805 | (execute_dwarf2_frame): Save and restore initial return save from | |
806 | the cie to the fde. | |
807 | * config/mips/mips.c (mips_frame_set): Remove special case for | |
808 | DWARF_FRAME_RETURN_COLUMN. | |
809 | ||
4a8ee122 RH |
810 | 2011-07-09 Richard Henderson <rth@redhat.com> |
811 | ||
812 | * dwarf2cfi.c (lookup_cfa): Remove. | |
813 | (execute_dwarf2_frame): Assert queues are empty on entry. | |
814 | Setup initial cfa directly, not via lookup_cfa. | |
815 | Don't clear args_size state here. | |
816 | ||
3edb53aa RH |
817 | 2011-07-09 Richard Henderson <rth@redhat.com> |
818 | ||
819 | * dwarf2cfi.c (add_cfi_vec): New. | |
820 | (add_cfi): Rename from add_fde_cfi. Add the element to add_cfi_vec. | |
821 | (def_cfa_1, reg_save): Remove for_cie argument. Update all callers. | |
822 | (execute_dwarf2_frame): Set add_cfi_vec. | |
823 | ||
ded49a7f RH |
824 | 2011-07-09 Richard Henderson <rth@redhat.com> |
825 | ||
826 | * defaults.h (ASM_COMMENT_START): Move here... | |
827 | * dwarf2asm.c: ... from here. | |
828 | * dwarf2out.c, final.c, vmsdbgout.c: Remove duplicates. | |
829 | * toplev.c: Remove ifndef tests of ASM_COMMENT_START. | |
830 | * varasm.c: Likewise. | |
831 | ||
45fba6d1 RH |
832 | 2011-07-09 Richard Henderson <rth@redhat.com> |
833 | ||
834 | PR debug/49686 | |
835 | * dwarf2cfi.c (dwarf2out_frame_debug): Don't set cfi_insn here... | |
836 | (create_cfi_notes): ... do it here instead. | |
837 | ||
5b696ba2 JJ |
838 | 2011-07-09 Jakub Jelinek <jakub@redhat.com> |
839 | ||
840 | PR debug/49676 | |
841 | * dwarf2out.c (size_of_int_loc_descriptor): New function. | |
842 | (address_of_int_loc_descriptor): Use it. | |
f9610d20 | 843 | (scompare_loc_descriptor): Optimize EQ/NE comparison with constant. |
5b696ba2 | 844 | |
8662b2ba RH |
845 | 2011-07-09 Richard Henderson <rth@redhat.com> |
846 | ||
847 | * config/pdp11/pdp11.md (define_c_enum "unspecv"): New. | |
848 | (prologue, epilogue): New. | |
849 | (return, *rts): New. | |
850 | (blockage, setd, seti): New. | |
851 | * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_PROLOGUE): Remove. | |
852 | (TARGET_ASM_FUNCTION_EPILOGUE): Remove. | |
853 | (pdp11_saved_regno): New. | |
854 | (pdp11_expand_prologue): Rename from pdp11_output_function_prologue; | |
855 | generate rtl instead of text. | |
856 | (pdp11_expand_epilogue): Similarly from pdp11_output_function_epilogue. | |
857 | (pdp11_sp_frame_offset): Export. Use pdp11_saved_regno. | |
858 | * config/pdp11/pdp11-protos.h: Update. | |
859 | ||
28b21ebb RH |
860 | 2011-07-09 Richard Henderson <rth@redhat.com> |
861 | ||
862 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't | |
863 | try to insert an rtl prologue here. | |
864 | (rs6000_output_function_epilogue): Similarly. | |
865 | * config/rs6000/rs6000.md (prologue): Emit a barrier to | |
866 | satisfy !TARGET_SCHED_PROLOG. | |
867 | (epilogue, sibcall_epilogue): Likewise. | |
868 | ||
0a222ba7 EB |
869 | 2011-07-09 Eric Botcazou <ebotcazou@adacore.com> |
870 | ||
871 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Move around. | |
872 | (FP_REG_P): Delete. | |
873 | (IN_OR_GLOBAL_P): Likewise. | |
874 | ||
2fda8e14 JM |
875 | 2011-07-08 Jason Merrill <jason@redhat.com> |
876 | ||
4063e61b JM |
877 | PR c++/45437 |
878 | * gimplify.c (goa_stabilize_expr): Handle RHS preevaluation in | |
879 | compound assignment. | |
880 | ||
2fda8e14 JM |
881 | * cgraph.c (cgraph_add_to_same_comdat_group): New. |
882 | * cgraph.h: Declare it. | |
883 | * ipa.c (function_and_variable_visibility): Make sure thunks | |
884 | have the right visibility. | |
885 | ||
830f11fe RH |
886 | 2011-07-08 Richard Henderson <rth@redhat.com> |
887 | ||
888 | PR bootstrap/49680 | |
889 | * dwarf2cfi.c (dwarf2out_frame_debug): Insert cfi notes after | |
890 | any tablejump vector. | |
891 | ||
965b2557 RH |
892 | PR bootstrap/49680 |
893 | * dwarf2cfi.c (create_cfi_notes): Flush queued saves at the | |
894 | end of the prologue. | |
895 | ||
70db9095 JJ |
896 | 2011-07-08 Jakub Jelinek <jakub@redhat.com> |
897 | ||
898 | PR target/49621 | |
899 | * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Use | |
f9610d20 | 900 | CONST0_RTX (dest_mode) instead of const0_rtx as second operand of NE. |
70db9095 JJ |
901 | * config/rs6000/vector.md (vector_select_<mode>, |
902 | vector_select_<mode>_uns): Change second operand of NE to | |
903 | CONST0_RTX (<MODE>mode) instead of const0_rtx. | |
904 | * config/rs6000/altivec.md (*altivec_vsel<mode>, | |
905 | *altivec_vsel<mode>_uns): Expect second operand of NE to be | |
906 | zero_constant of the corresponding vector mode. | |
907 | * config/rs6000/vsx.md (*vsx_xxsel<mode>, *vsx_xxsel<mode>_uns): | |
908 | Likewise. | |
909 | ||
e92c5020 SP |
910 | 2011-07-08 Sebastian Pop <sebastian.pop@amd.com> |
911 | ||
912 | * graphite-dependences.c (build_alias_set_powerset): Remove | |
913 | continue from loop, add one more assert. | |
914 | ||
3e4f8484 | 915 | 2011-07-08 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 916 | |
3e4f8484 GJL |
917 | PR target/46779 |
918 | * config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite. | |
919 | In particular, allow 8-bit values in r28 and r29. | |
920 | (avr_hard_regno_scratch_ok): Disallow any register that might be | |
921 | part of the frame pointer. | |
922 | (avr_hard_regno_rename_ok): Same. | |
923 | (avr_legitimate_address_p): Don't allow SUBREGs. | |
924 | ||
0094f21b JB |
925 | 2011-07-08 Julian Brown <julian@codesourcery.com> |
926 | ||
927 | * config/arm/neon.md (vec_shr_<mode>, vec_shl_<mode>): Disable in | |
928 | big-endian mode. | |
929 | (reduc_splus_<mode>, reduc_uplus_<mode>, reduc_smin_<mode>) | |
930 | (reduc_smax_<mode>, reduc_umin_<mode>, reduc_umax_<mode>) | |
931 | (neon_vec_unpack<US>_lo_<mode>, neon_vec_unpack<US>_hi_<mode>) | |
932 | (vec_unpack<US>_hi_<mode>, vec_unpack<US>_lo_<mode>) | |
933 | (neon_vec_<US>mult_lo_<mode>, vec_widen_<US>mult_lo_<mode>) | |
934 | (neon_vec_<US>mult_hi_<mode>, vec_widen_<US>mult_hi_<mode>) | |
935 | (vec_pack_trunc_<mode>, neon_vec_pack_trunc_<mode>): Disable for Q | |
936 | registers in big-endian mode. | |
937 | ||
9ae60101 BS |
938 | 2011-07-08 Bernd Schmidt <bernds@codesourcery.com> |
939 | ||
940 | * genattrtab.c (evaluate_eq_attr): Allow an attribute to be defined | |
941 | in terms of another. | |
942 | (write_attr_value): Write a cast if necessary. | |
943 | ||
c0a6a1ef BS |
944 | * defaults.h (REG_WORDS_BIG_ENDIAN): Provide a default. |
945 | * doc/tm.texi.in (WORDS_BIG_ENDIAN): Mention REG_WORDS_BIG_ENDIAN. | |
946 | (REG_WORDS_BIG_ENDIAN): Document. | |
947 | * doc/tm.texi: Regenerate. | |
948 | * reload.c (operands_match_p): Take it into account. | |
949 | (reload_adjust_reg_for_mode): Likewise. | |
950 | * rtlanal.c (subreg_get_info): Likewise. | |
951 | ||
b862187a RG |
952 | 2011-07-08 Richard Guenther <rguenther@suse.de> |
953 | ||
954 | * fold-const.c (fold_binary_loc): Remove index +p PTR -> PTR +p index | |
955 | folding. | |
956 | ||
e8e8c74b KT |
957 | 2011-07-08 Kai Tietz <ktietz@redhat.com> |
958 | ||
959 | * fold-const.c (fold_truth_andor): Factored out truth_andor | |
960 | label from fold_binary as function. | |
961 | (fold_binary_loc): Replace truth_andor lable | |
962 | by function fold_truth_andor. | |
963 | ||
6c3cb698 KY |
964 | 2011-07-08 Kirill Yukhin <kirill.yukhin@intel.com> |
965 | ||
966 | PR middle-end/49519 | |
967 | * calls.c (mem_overlaps_already_clobbered_arg_p): Additional | |
968 | check if address is stored in register. If so - give up. | |
969 | (check_sibcall_argument_overlap_1): Do not perform check of | |
970 | overlapping when it is call to address. | |
971 | ||
7d8d6d73 | 972 | 2011-07-08 Georg-Johann Lay <avr@gjlay.de> |
9ae60101 | 973 | |
7d8d6d73 GJL |
974 | * config/avr/avr.c (output_reload_insisf): Use 'REG_Z+1' instead |
975 | of magic '31'. | |
976 | ||
69660a70 BS |
977 | 2011-07-08 Bernd Schmidt <bernds@codesourcery.com> |
978 | ||
979 | * optabs.c (expand_binop): Use GET_MODE_PRECISION instead of | |
980 | GET_MODE_BITSIZE where appropriate. | |
981 | (widen_leading, expand_parity, expand_ctz, expand_ffs, | |
982 | expand_unop, expand_abs_nojump, expand_one_cmpl_abs_nojump, | |
983 | expand_float, expand_fix): Likewise. | |
984 | * expr.c (convert_move, convert_modes, expand_expr_real_2, | |
985 | expand_expr_real_1, reduce_to_bit_field_precision): Likewise. | |
986 | * stor-layout.c (get_mode_bounds): Likewise. | |
987 | * cfgexpand.c (convert_debug_memory_address, expand_debug_expr): | |
988 | Likewise. | |
989 | * convert.c (convert_to_integer): Likewise. | |
990 | * expmed.c (expand_shift_1): Likewise. | |
991 | ||
86cdf393 BS |
992 | * rtlanal.c (nonzero_bits1): Don't compare GET_MODE_SIZE against |
993 | a bitsize. | |
994 | ||
0d44736e BS |
995 | * optabs.c (expand_binop): Tighten conditions for doubleword |
996 | expansions. | |
f9610d20 | 997 | (widen_bswap): Assert that mode bitsize and precision are the same. |
0d44736e BS |
998 | * stor-layout.c (get_best_mode): Skip modes that have lower |
999 | precision than bitsize. | |
1000 | * recog.c (simplify_while_replacing): Assert that bitsize and | |
1001 | precision are the same. | |
1002 | ||
2c50b2c3 RO |
1003 | 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1004 | ||
1005 | * Makefile.in (LIBGCOV): Remove. | |
1006 | (libgcc.mvars): Remove LIBGCOV. | |
1007 | * libgov.c: Move to ../libgcc. | |
1008 | ||
a039d7c2 RO |
1009 | 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1010 | ||
1011 | * config/fixed-bit.c, config/fixed-bit.h: Move to ../libgcc. | |
1012 | ||
e923ef41 MJ |
1013 | 2011-07-08 Martin Jambor <mjambor@suse.cz> |
1014 | ||
1015 | * tree-sra.c (analyze_all_variable_accesses): Dump that a struture | |
1016 | is too big for total scalarization. | |
1017 | ||
b709e189 RH |
1018 | 2011-07-07 Richard Henderson <rth@redhat.com> |
1019 | ||
1020 | * config/alpha/elf.h (MIPS_DEBUGGING_INFO): Undef. | |
1021 | (DBX_DEBUGGING_INFO): Undef. | |
1022 | ||
2867fa7c RH |
1023 | 2011-07-07 Richard Henderson <rth@redhat.com> |
1024 | ||
1025 | * dwarf2out.c (output_cfi_directive): Export. Add FILE parameter. | |
1026 | Handle some opcodes specially for debugging. | |
1027 | * print-rtl.c: Include dwarf2out.h | |
1028 | (print_rtx): Handle NOTE_INSN_CFI. | |
1029 | * Makefile.in (print-rtl.o): Update. | |
1030 | ||
7644b3c7 RH |
1031 | 2011-07-07 Richard Henderson <rth@redhat.com> |
1032 | ||
1033 | * tree-pass.h (pass_dwarf2_frame): Declare. | |
1034 | * passes.c (init_optimization_passes): Add it. | |
1035 | * dwarf2cfi.c (dwarf2out_frame_debug): Make static. | |
1036 | (create_cfi_notes): Rename from dwarf2out_frame_debug_after_prologue; | |
1037 | make static, do not call add_cfis_to_fde. | |
1038 | (dwarf2out_frame_debug_init, dwarf2cfi_function_init, | |
1039 | dwarf2out_frame_init): Merge into... | |
1040 | (execute_dwarf2_frame): ... here. New function. | |
1041 | (dwarf2out_do_frame, dwarf2out_do_cfi_asm): Make boolean. Change | |
1042 | saved_do_cfi_asm to a tri-state variable. | |
1043 | (gate_dwarf2_frame, pass_dwarf2_frame): New. | |
1044 | * dwarf2out.c (dwarf2out_begin_prologue): Only allocate the fde | |
1045 | if it has yet to be done. Don't call dwarf2cfi_function_init. | |
1046 | * dwarf2out.h, debug.h: Update decls. | |
1047 | * final.c (final_start_function): Don't call | |
1048 | dwarf2out_frame_debug_init or dwarf2out_frame_debug_after_prologue. | |
1049 | * lto-streamer-in.c (lto_init_eh): Don't call dwarf2out_frame_init. | |
1050 | * toplev.c (lang_dependent_init): Likewise. | |
1051 | ||
a518b996 RH |
1052 | 2011-07-07 Richard Henderson <rth@redhat.com> |
1053 | ||
1054 | * dwarf2out.c (fde_table, fde_table_allocated, fde_table_in_use, | |
1055 | FDE_TABLE_INCREMENT): Replace with... | |
1056 | (fde_vec): ... this, a new vector. | |
1057 | (current_fde): Remove. Replace all users with cfun->fde. | |
1058 | (output_call_frame_info): Use FOR_EACH_VEC_ELT over fde_vec. | |
1059 | (size_of_aranges, dwarf2out_finish): Likewise. | |
1060 | (dwarf2out_alloc_current_fde): Break out from ... | |
1061 | (dwarf2out_begin_prologue): ... here. | |
1062 | (dwarf2out_frame_init): Remove. | |
1063 | * dwarf2cfi.c: Update all users of current_fde. | |
1064 | (dwarf2out_frame_init): Rename from dwarf2cfi_frame_init. | |
1065 | * dwarf2out.h: Update decls. | |
1066 | (dw_fde_node): Add fde_index member. | |
1067 | * function.h (struct function): Add fde member. | |
1068 | ||
89e25f95 BS |
1069 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
1070 | Richard Henderson <rth@redhat.com> | |
1071 | ||
1072 | * dwarf2cfi.c (add_cfi): Remove. | |
1073 | (dwarf2out_cfi_label): Remove force argument. Only generate the | |
1074 | label name. | |
1075 | (add_fde_cfi): Simplify the different code paths. | |
1076 | (add_cie_cfi): New. | |
1077 | (old_cfa, old_cfa_remember): New. | |
1078 | (def_cfa_1, reg_save): Remove label, add for_cie parameter. | |
1079 | (last_reg_save_label): Remove. | |
1080 | (dwarf2out_args_size, dwarf2out_stack_adjust, queue_reg_save, | |
1081 | dwarf2out_frame_debug_def_cfa, dwarf2out_frame_debug_adjust_cfa, | |
1082 | dwarf2out_frame_debug_cfa_offset, dwarf2out_frame_debug_cfa_register, | |
1083 | dwarf2out_frame_debug_cfa_expression, | |
1084 | dwarf2out_frame_debug_cfa_restore, | |
1085 | dwarf2out_frame_debug_cfa_window_save, | |
1086 | dwarf2out_frame_debug_expr): Remove label parameter. | |
1087 | (cfi_label_required_p, add_cfis_to_fde): New. | |
1088 | (dwarf2out_frame_debug_after_prologue): New. | |
1089 | (dwarf2cfi_frame_init): Initialize old_cfa. | |
1090 | (dwarf2out_frame_debug_restore_state): Likewise. | |
1091 | * dwarf2out.c (dwarf2out_emit_cfi): Only do output for cfi_asm. | |
1092 | (dwarf2out_switch_text_section): Don't clear dw_fde_current_label here. | |
1093 | * final.c (final_start_function): Call | |
1094 | dwarf2out_frame_debug_after_prologue. | |
1095 | ||
bc5612ed BS |
1096 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
1097 | Richard Henderson <rth@redhat.com> | |
1098 | ||
1099 | * dwarf2cfi.c (cfi_insn): New. | |
1100 | (dwarf2out_cfi_label): Don't emit cfi label here. | |
1101 | (add_fde_cfi): Create a NOTE_INSN_CFI. | |
1102 | (dwarf2out_frame_debug): Setup cfi_insn. | |
1103 | (dwarf2out_frame_debug_init): Loop over insns creating CFI notes. | |
1104 | (dwarf2out_cfi_begin_epilogue): Make static. | |
1105 | (dwarf2out_frame_debug_restore_state): Make static. | |
1106 | * dwarf2out.c (output_cfi_directive): Make static. | |
1107 | (dwarf2out_emit_cfi): New. | |
1108 | * dwarf2out.h: Update. | |
1109 | * final.c (final): Remove CFI notes. | |
1110 | (final_scan_insn): Don't call dwarf2out_cfi_begin_epilogue, | |
1111 | dwarf2out_frame_debug_restore_state, dwarf2out_frame_debug. | |
1112 | Handle NOTE_INSN_CFI and NOTE_INSN_CFI_LABEL. | |
1113 | * insn-notes.def (NOTE_INSN_CFI): New. | |
1114 | (NOTE_INSN_CFI_LABEL): New. | |
1115 | * rtl.h (union rtunion_def): Add rt_cfi member. | |
1116 | (XCFI, XCCFI, NOTE_CFI, NOTE_LABEL_NUMBER): New. | |
1117 | ||
647a1567 RH |
1118 | 2011-07-07 Richard Henderson <rth@redhat.com> |
1119 | ||
1120 | * dwarf2cfi.c: New file. | |
1121 | * Makefile.in (OBJS): Add it. | |
1122 | (GTFILES): Add dwarf2cfi.c and dwarf2out.h. | |
1123 | * gengtype.c (open_base_files): Include dwarf2out.h. | |
1124 | * coretypes.h (enum var_init_status): Move from ... | |
1125 | * rtl.h: ... here. | |
1126 | * dwarf2out.c (saved_do_cfi_asm, dwarf2out_do_frame, | |
1127 | dwarf2out_do_cfi_asm, cie_cfi_vec, dwarf2out_cfi_label_num, | |
1128 | expand_builtin_dwarf_sp_column, init_return_column_size, | |
1129 | expand_builtin_init_dwarf_reg_sizes, new_cfi, add_cfi, | |
1130 | dwarf2out_cfi_label, emit_cfa_remember, any_cfis_emitted, add_fde_cfi, | |
1131 | lookup_cfa_1, lookup_cfa, cfa, cfa_store, cfa_remember, args_size, | |
1132 | old_args_size, cfa_equal_p, def_cfa_1, reg_save, initial_return_save, | |
1133 | stack_adjust_offset, barrier_args_size, compute_barrier_args_size_1, | |
1134 | compute_barrier_args_size, dwarf2out_args_size, | |
1135 | dwarf2out_stack_adjust, dwarf2out_notice_stack_adjust, | |
1136 | queued_reg_saves, reg_saved_in_data, regs_saved_in_regs, | |
1137 | compare_reg_or_pc, record_reg_saved_in_reg, last_reg_save_label, | |
1138 | queue_reg_save, dwarf2out_flush_queued_reg_saves, | |
1139 | clobbers_queued_reg_save, reg_saved_in, cfa_temp, | |
1140 | dwarf2out_frame_debug_def_cfa, dwarf2out_frame_debug_adjust_cfa, | |
1141 | dwarf2out_frame_debug_cfa_offset, dwarf2out_frame_debug_cfa_register, | |
1142 | dwarf2out_frame_debug_cfa_expression, | |
1143 | dwarf2out_frame_debug_cfa_restore, | |
1144 | dwarf2out_frame_debug_cfa_window_save, dwarf2out_frame_debug_expr, | |
1145 | dwarf2out_frame_debug, dwarf2out_frame_debug_init, | |
1146 | dwarf2out_cfi_begin_epilogue, dwarf2out_frame_debug_restore_state, | |
1147 | get_cfa_from_loc_descr): Move to dwarf2cfi.c. | |
1148 | (dw_cfi_ref, dw_fde_ref, dw_cfi_oprnd_ref, enum dw_cfi_oprnd_type, | |
1149 | dw_cfi_oprnd, dw_cfi_node, cfi_vec, dw_cfa_location, dw_fde_node, | |
1150 | dw_val_ref, dw_die_ref, const_dw_die_ref, dw_loc_descr_ref, | |
1151 | dw_loc_list_ref, enum dw_val_class, dw_vec_const, dw_val_node, | |
1152 | dw_loc_descr_node): Move to dwarf2out.h. | |
1153 | (current_fde, output_cfi_directive, build_cfa_loc, get_address_mode, | |
1154 | mem_loc_descriptor): Export. | |
1155 | (build_cfa_aligned_loc): Export. Take CFA as a parameter. | |
1156 | (dwarf2out_frame_init): Extract CIE generation code to | |
1157 | dwarf2cfi_frame_init. | |
1158 | ||
b286d9ed EB |
1159 | 2011-07-07 Eric Botcazou <ebotcazou@adacore.com> |
1160 | ||
1161 | PR target/49660 | |
1162 | * config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Add | |
1163 | MASK_V8PLUS, remove commented out flag and reorder. | |
1164 | ||
c4603e7c JJ |
1165 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
1166 | ||
1167 | PR c/49644 | |
1168 | * c-typeck.c (build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with | |
1169 | one non-complex and one complex argument, call c_save_expr on both | |
1170 | operands. | |
1171 | ||
81361831 MJ |
1172 | 2011-07-07 Martin Jambor <mjambor@suse.cz> |
1173 | ||
1174 | PR middle-end/49495 | |
1175 | * cgraphunit.c (verify_edge_corresponds_to_fndecl): New function. | |
1176 | (verify_cgraph_node): Some functinality moved to | |
1177 | verify_edge_corresponds_to_fndecl, call it. | |
1178 | ||
1e4b2746 JM |
1179 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
1180 | ||
1181 | * config.gcc (*local*): Remove. | |
1182 | * doc/install-old.texi: Don't mention local configurations. | |
1183 | ||
d7ff1e11 JJ |
1184 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
1185 | ||
1186 | PR debug/49522 | |
1187 | * df-problems.c (dead_debug_reset): Remove dead_debug_uses | |
1188 | referencing debug insns that have been reset. | |
1189 | (dead_debug_insert_before): Don't assert reg is non-NULL, | |
1190 | instead return immediately if it is NULL. | |
1191 | ||
2492731a JM |
1192 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
1193 | ||
f9610d20 | 1194 | * config/i386/t-crtpic, config/i386/t-svr3dbx, config/pa/t-pa: Remove. |
2492731a | 1195 | |
9d9c740d BS |
1196 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
1197 | ||
1198 | * hw-doloop.c: New file. | |
1199 | * hw-doloop.h: New file. | |
1200 | * Makefile.in (OBJS): Add hw-doloop.o. | |
1201 | (hw-doloop.o): New rule. | |
1202 | ($(obj_out_file)): Add hw-doloop.h dependency. | |
1203 | * config/bfin/bfin.c: Include "hw-doloop.h". | |
1204 | (loop_info, DEF_VEC_P for loop_info, loop_info_d): Remove. | |
1205 | (bfin_dump_loops, bfin_bb_in_loop, bfin_scan_loop): Remove. | |
1206 | (hwloop_optimize): Renamed from bfin_optimize_loop. Argument | |
1207 | type changed to hwloop_info. Return bool, true if the loop was | |
1208 | successfully optimized. Remove code that was moved to | |
1209 | hw-doloop.c, and adjust other parts. | |
1210 | (hwloop_fail): New static function, containing parts that used | |
1211 | to be in bfin_optimize_loop. | |
1212 | (bfin_discover_loop, bfin_discover_loops, free_loops, | |
1213 | bfin_reorder_loops): Remove. | |
1214 | (hwloop_pattern_reg): New static function. | |
1215 | (bfin_doloop_hooks): New variable. | |
1216 | (bfin_reorg_loops): Remove most code, call reorg_loops. | |
1217 | * config/bfin/bfin.md (doloop_end splitter): Also enable if | |
1218 | loop counter is a memory_operand. | |
1219 | ||
f0ea7581 L |
1220 | 2011-07-07 H.J. Lu <hongjiu.lu@intel.com> |
1221 | ||
f9610d20 | 1222 | * config.gcc: Support --with-multilib-list for x86 Linux targets. |
f0ea7581 L |
1223 | |
1224 | * configure.ac: Mention x86-64 for --with-multilib-list. | |
1225 | * configure: Regenerated. | |
1226 | ||
1227 | * config/i386/gnu-user64.h (SPEC_64): Support x32. | |
1228 | (SPEC_32): Likewise. | |
1229 | (ASM_SPEC): Likewise. | |
1230 | (LINK_SPEC): Likewise. | |
1231 | (TARGET_THREAD_SSP_OFFSET): Likewise. | |
1232 | (TARGET_THREAD_SPLIT_STACK_OFFSET): Likewise. | |
1233 | (SPEC_X32): New. | |
1234 | ||
1235 | * config/i386/i386.h (TARGET_X32): New. | |
1236 | (TARGET_LP64): New. | |
1237 | (LONG_TYPE_SIZE): Likewise. | |
1238 | (POINTER_SIZE): Likewise. | |
1239 | (POINTERS_EXTEND_UNSIGNED): Likewise. | |
1240 | (OPT_ARCH64): Support x32. | |
1241 | (OPT_ARCH32): Likewise. | |
1242 | ||
1243 | * config/i386/i386.opt (mx32): New. | |
1244 | ||
1245 | * config/i386/kfreebsd-gnu64.h (GNU_USER_LINK_EMULATIONX32): New. | |
1246 | (GLIBC_DYNAMIC_LINKERX32): Likewise. | |
1247 | * config/i386/linux64.h (GNU_USER_LINK_EMULATIONX32): Likewise. | |
1248 | (GLIBC_DYNAMIC_LINKERX32): Likewise. | |
1249 | ||
1250 | * config/linux.h (UCLIBC_DYNAMIC_LINKERX32): New. | |
1251 | (BIONIC_DYNAMIC_LINKERX32): Likewise. | |
1252 | (GNU_USER_DYNAMIC_LINKERX32): Likewise. | |
1253 | ||
1254 | * config/i386/t-linux64: Support TM_MULTILIB_CONFIG. | |
1255 | ||
f9610d20 | 1256 | * doc/install.texi: Document --with-multilib-list for Linux/x86-64. |
f0ea7581 L |
1257 | |
1258 | * doc/invoke.texi: Document -mx32. | |
1259 | ||
38460025 RS |
1260 | 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org> |
1261 | ||
1262 | * doc/invoke.texi (mwords-little-endian): Deprecate. | |
1263 | * config/arm/arm.opt (mwords-little-endian): Likewise. | |
1264 | * config/arm/arm.c (arm_option_override): Warn about the deprecation | |
1265 | of -mwords-little-endian. | |
1266 | ||
3f125532 RS |
1267 | 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org> |
1268 | ||
1269 | * reload1.c (choose_reload_regs): Use mode sizes to check whether | |
1270 | an old reload register completely defines the required value. | |
1271 | ||
bbc210ab RG |
1272 | 2011-07-07 Richard Guenther <rguenther@suse.de> |
1273 | ||
1274 | * fold-const.c (fold_unary_loc): Do not strip sign-changes | |
1275 | for NEGATE_EXPR. | |
1276 | ||
29c5134a RG |
1277 | 2011-07-07 Richard Guenther <rguenther@suse.de> |
1278 | ||
1279 | * tree-vrp.c (simplify_conversion_using_ranges): New function. | |
1280 | (simplify_stmt_using_ranges): Call it. | |
1281 | ||
0816a42a KT |
1282 | 2011-07-07 Kai Tietz <ktietz@redhat.com> |
1283 | ||
1284 | * tree-ssa-forwprop.c (truth_valued_ssa_name): New function. | |
1285 | (lookup_logical_inverted_value): Likewise. | |
1286 | (simplify_bitwise_binary_1): Likewise. | |
1287 | (simplify_bitwise_binary): Use simplify_bitwise_binary_1. | |
1288 | ||
3ce9f090 JM |
1289 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
1290 | ||
1291 | * gcc.c (%[Spec]): Don't document. | |
1292 | (struct spec_list): Update comment. | |
1293 | (do_spec_1): Don't handle %[Spec]. | |
1294 | * doc/invoke.texi (%[@var{name}]): Remove documentation of spec. | |
1295 | ||
41dfca87 JM |
1296 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
1297 | ||
1298 | * common/common-target-def.h (TARGET_HAVE_NAMED_SECTIONS): Don't | |
1299 | default based on TARGET_ASM_NAMED_SECTION. | |
1300 | * common/common-target.def (have_named_sections): Default to true. | |
1301 | * common/config/default-common.c: Don't include tm.h. | |
1302 | * common/config/picochip/picochip-common.c | |
1303 | (TARGET_HAVE_NAMED_SECTIONS): Don't define. | |
1304 | * common/config/m32c/m32c-common.c: Remove. | |
1305 | * config.gcc (m32c*-*-*): Set target_has_targetm_common=no. | |
f9610d20 UB |
1306 | * config/alpha/osf5.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
1307 | * config/i386/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
1308 | * config/m68k/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
41dfca87 | 1309 | * config/pa/som.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
f9610d20 UB |
1310 | * config/pdp11/pdp11.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
1311 | * config/vax/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
41dfca87 | 1312 | |
19c44640 JJ |
1313 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
1314 | ||
1315 | PR middle-end/49640 | |
f9610d20 UB |
1316 | * gimplify.c (gimplify_compound_lval): For last 2 ARRAY_*REF operands |
1317 | and last COMPONENT_REF operand call gimplify_expr on it if non-NULL. | |
19c44640 | 1318 | |
891a2e42 RO |
1319 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1320 | ||
1321 | PR libmudflap/49550 | |
1322 | * gcc.c (MFWRAP_SPEC): Also wrap mmap64. | |
1323 | ||
fbdd5d87 RO |
1324 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1325 | ||
1326 | PR target/39150 | |
1327 | * configure.ac (gcc_cv_as_hidden): Also accept | |
1328 | x86_64-*-solaris2.1[0-9]*. | |
1329 | (gcc_cv_as_cfi_directive): Likewise. | |
1330 | (gcc_cv_as_comdat_group_group): Likewise. | |
1331 | (set_have_as_tls): Likewise. | |
1332 | * configure: Regenerate. | |
1333 | * config.gcc (i[34567]86-*-solaris2*): Also handle | |
1334 | x86_64-*-solaris2.1[0-9]*. | |
1335 | * config.host (i[34567]86-*-solaris2*): Likewise. | |
1336 | * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove. | |
1337 | * config/sol2-bi.h (ASM_CPU_DEFAULT_SPEC): Redefine. | |
1338 | [USE_GLD] (ARCH_DEFAULT_EMULATION): Define. | |
1339 | (TARGET_LD_EMULATION): Use it. | |
1340 | * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC): Define. | |
1341 | (SUBTARGET_CPU_EXTRA_SPECS): Add asm_cpu_default. | |
1342 | * config/i386/sol2-bi.h (ASM_CPU32_DEFAULT_SPEC): Define. | |
1343 | (ASM_CPU64_DEFAULT_SPEC): Define. | |
1344 | (ASM_CPU_SPEC): Use %(asm_cpu_default). | |
1345 | (ASM_SPEC): Redefine. | |
1346 | (DEFAULT_ARCH32_P): Define using TARGET_64BIT_DEFAULT. | |
1347 | * config/host-solaris.c [__x86_64__] (TRY_EMPTY_VM_SPACE): Reduce. | |
f9610d20 | 1348 | * doc/install.texi (Specific, amd64-*-solaris2.1[0-9]*): Document. |
fbdd5d87 RO |
1349 | (Specific, i?86-*-solaris2.10): Mention x86_64-*-solaris2.1[0-9]* |
1350 | configuration. | |
1351 | (Specific, x86_64-*-solaris2.1[0-9]*): Document. | |
1352 | ||
fcf7471a RO |
1353 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1354 | ||
1355 | * config/sol2.h (ASM_SPEC): Split into ... | |
1356 | (ASM_SPEC_BASE, ASM_PIC_SPEC): ... this. | |
1357 | * config/i386/sol2.h (ASM_SPEC): Define using ASM_SPEC_BASE. | |
1358 | * config/i386/sol2-bi.h (ASM_CPU_SPEC): Redefine. | |
1359 | (ASM_SPEC): Use ASM_SPEC_BASE. | |
1360 | * config/sparc/sol2.h (ASM_SPEC): Redefine. | |
1361 | ||
1e6a67d1 | 1362 | 2011-07-07 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 1363 | |
1e6a67d1 GJL |
1364 | * config/avr/avr.md (*reload_insi): Change predicate #1 to |
1365 | const_int_operand. Ditto for peep2 producing this insn. | |
1366 | Add argument to output_reload_insisf call. | |
1367 | (*movsi,*movsf): Add argument to output_movsisf call. | |
1368 | (*reload_insf): New insn and new peep2 to produce it. | |
1369 | * config/avr/avr-protos.h (output_movsisf): Change prototype. | |
1370 | (output_reload_insisf): Change prototype. | |
1371 | * config/avr/avr.c (avr_asm_len): New function. | |
1372 | (output_reload_insisf): Rewrite. | |
1373 | (output_movsisf): Change prototype. output_reload_insisf for | |
1374 | all CONST_INT and CONST_DOUBLE. ALlow moving 0.0f to memory. | |
1375 | (adjust_insn_length): Add argument to output_movsisf and | |
1376 | output_reload_insisf call. | |
1377 | ||
6a4bdc79 BS |
1378 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
1379 | ||
1380 | * emit-rtl.c (paradoxical_subreg_p): New function. | |
1381 | * rtl.h (paradoxical_subreg_p): Declare. | |
1382 | * combine.c (set_nonzero_bits_and_sign_copies, get_last_value, | |
1383 | apply_distributive_law, simplify_comparison, simplify_set): Use it. | |
1384 | * cse.c (record_jump_cond, cse_insn): Likewise. | |
1385 | * expr.c (force_operand): Likewise. | |
1386 | * rtlanal.c (num_sign_bit_copies1): Likewise. | |
1387 | * reload1.c (eliminate_regs_1, strip_paradoxical_subreg): Likewise. | |
1388 | * reload.c (push_secondary_reload, find_reloads_toplev): Likewise. | |
1389 | (push_reload): Use precision to check for paradoxical subregs. | |
1390 | * expmed.c (extract_bit_field_1): Likewise. | |
1391 | ||
46c9550f BS |
1392 | * machmode.h (HWI_COMPUTABLE_MODE_P): New macro. |
1393 | * combine.c (set_nonzero_bits_and_sign_copies): Use it. | |
1394 | (find_split-point, combine_simplify_rtx, simplify_if_then_else, | |
1395 | simplify_set, simplify_logical, expand_compound_operation, | |
1396 | make_extraction, force_to_mode, if_then_else_cond, extended_count, | |
1397 | try_widen_shift_mode, simplify_shift_const_1, simplify_comparison, | |
1398 | record_value_for_reg): Likewise. | |
1399 | * expmed.c (expand_widening_mult, expand_mult_highpart): Likewise. | |
1400 | * simplify-rtx. c (simplify_unary_operation_1, | |
1401 | simplify_binary_operation_1, simplify_const_relational_operation): | |
1402 | Likewise. | |
1403 | ||
5511bc5a BS |
1404 | * explow.c (trunc_int_for_mode): Use GET_MODE_PRECISION |
1405 | instead of GET_MODE_BITSIZE where appropriate. | |
1406 | * rtlanal.c (subreg_lsb_1, subreg_get_info, nonzero_bits1, | |
1407 | num_sign_bit_copies1, canonicalize_condition, low_bitmask_len, | |
1408 | init_num_sign_bit_copies_in_rep): Likewise. | |
1409 | * cse.c (fold_rtx, cse_insn): Likewise. | |
1410 | * loop-doloop.c (doloop_modify, doloop_optimize): Likewise. | |
1411 | * simplify-rtx.c (simplify_unary_operation_1, | |
1412 | simplify_const_unary_operation, simplify_binary_operation_1, | |
1413 | simplify_const_binary_operation, simplify_ternary_operation, | |
1414 | simplify_const_relational_operation, simplify_subreg): Likewise. | |
1415 | * combine.c (try_combine, find_split_point, combine_simplify_rtx, | |
1416 | simplify_if_then_else, simplify_set, expand_compound_operation, | |
1417 | expand_field_assignment, make_extraction, if_then_else_cond, | |
1418 | make_compound_operation, force_to_mode, make_field_assignment, | |
1419 | reg_nonzero_bits_for_combine, reg_num_sign_bit_copies_for_combine, | |
1420 | extended_count, try_widen_shift_mode, simplify_shift_const_1, | |
1421 | simplify_comparison, record_promoted_value, simplify_compare_const, | |
1422 | record_dead_and_set_regs_1): Likewise. | |
1423 | ||
d58c1a38 BS |
1424 | Revert: |
1425 | * simplify-rtx.c (simplify_const_binary_operation): Use the | |
f9610d20 UB |
1426 | shift_truncation_mask hook instead of performing modulo by width. |
1427 | Compare against mode precision, not bitsize. | |
d58c1a38 | 1428 | * combine.c (combine_simplify_rtx, simplify_shift_const_1): |
f9610d20 | 1429 | Use shift_truncation_mask instead of constructing the value manually. |
d58c1a38 | 1430 | |
76594d53 MM |
1431 | 2011-07-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
1432 | ||
1433 | * config/rs6000/rs6000-protos.h (rs6000_call_indirect_aix): New | |
1434 | declaration. | |
1435 | (rs6000_save_toc_in_prologue_p): Ditto. | |
1436 | ||
1437 | * config/rs6000/rs6000.opt (-mr11): New switch to disable loading | |
1438 | up the static chain (r11) during indirect function calls. | |
1439 | (-msave-toc-indirect): New undocumented debug switch. | |
1440 | ||
1441 | * config/rs6000/rs6000.c (struct machine_function): Add | |
1442 | save_toc_in_prologue field to note whether the prologue needs to | |
1443 | save the TOC value in the reserved stack location. | |
1444 | (rs6000_emit_prologue): Use TOC_REGNUM instead of 2. If we need | |
1445 | to save the TOC in the prologue, do so. | |
1446 | (rs6000_trampoline_init): Don't allow creating AIX style | |
1447 | trampolines if -mno-r11 is in effect. | |
1448 | (rs6000_call_indirect_aix): New function to create AIX style | |
1449 | indirect calls, adding support for -mno-r11 to suppress loading | |
1450 | the static chain, and saving the TOC in the prologue instead of | |
1451 | the call body. | |
1452 | (rs6000_save_toc_in_prologue_p): Return true if we are saving the | |
1453 | TOC in the prologue. | |
1454 | ||
1455 | * config/rs6000/rs6000.md (STACK_POINTER_REGNUM): Add more fixed | |
1456 | register numbers. | |
1457 | (TOC_REGNUM): Ditto. | |
1458 | (STATIC_CHAIN_REGNUM): Ditto. | |
1459 | (ARG_POINTER_REGNUM): Ditto. | |
1460 | (SFP_REGNO): Delete, unused. | |
1461 | (TOC_SAVE_OFFSET_32BIT): Add constants for AIX TOC save and | |
1462 | function descriptor offsets. | |
1463 | (TOC_SAVE_OFFSET_64BIT): Ditto. | |
1464 | (AIX_FUNC_DESC_TOC_32BIT): Ditto. | |
1465 | (AIX_FUNC_DESC_TOC_64BIT): Ditto. | |
1466 | (AIX_FUNC_DESC_SC_32BIT): Ditto. | |
1467 | (AIX_FUNC_DESC_SC_64BIT): Ditto. | |
f9610d20 UB |
1468 | (ptrload): New mode attribute for the appropriate load of a pointer. |
1469 | (call_indirect_aix32): Delete, rewrite AIX indirect function calls. | |
76594d53 MM |
1470 | (call_indirect_aix64): Ditto. |
1471 | (call_value_indirect_aix32): Ditto. | |
1472 | (call_value_indirect_aix64): Ditto. | |
1473 | (call_indirect_nonlocal_aix32_internal): Ditto. | |
1474 | (call_indirect_nonlocal_aix32): Ditto. | |
1475 | (call_indirect_nonlocal_aix64_internal): Ditto. | |
1476 | (call_indirect_nonlocal_aix64): Ditto. | |
1477 | (call): Rewrite AIX indirect function calls. Add support for | |
1478 | eliminating the static chain, and for moving the save of the TOC | |
1479 | to the function prologue. | |
1480 | (call_value): Ditto. | |
1481 | (call_indirect_aix<ptrsize>): Ditto. | |
1482 | (call_indirect_aix<ptrsize>_internal): Ditto. | |
1483 | (call_indirect_aix<ptrsize>_internal2): Ditto. | |
1484 | (call_indirect_aix<ptrsize>_nor11): Ditto. | |
1485 | (call_value_indirect_aix<ptrsize>): Ditto. | |
1486 | (call_value_indirect_aix<ptrsize>_internal): Ditto. | |
1487 | (call_value_indirect_aix<ptrsize>_internal2): Ditto. | |
1488 | (call_value_indirect_aix<ptrsize>_nor11): Ditto. | |
1489 | (call_nonlocal_aix32): Relocate in the rs6000.md file. | |
1490 | (call_nonlocal_aix64): Ditto. | |
1491 | ||
1492 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mr11 and | |
1493 | -mno-r11 documentation. | |
1494 | ||
49d6830d JW |
1495 | 2011-07-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
1496 | ||
1497 | PR other/49658 | |
1498 | * doc/extend.texi (Compound Literals): Fix typo. | |
1499 | ||
c884924f JG |
1500 | 2011-07-06 James Greenhalgh <james.greenhalgh@arm.com> |
1501 | ||
f9610d20 | 1502 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP. |
c884924f | 1503 | |
bf588455 BS |
1504 | 2011-07-06 Basile Starynkevitch <basile@starynkevitch.net> |
1505 | ||
1506 | * configure.ac (plugin-version.h): Generate | |
1507 | GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR, | |
1508 | GCCPLUGIN_VERSION_PATCHLEVEL, GCCPLUGIN_VERSION constant integer | |
1509 | macros. | |
1510 | ||
1511 | * configure: Regenerate. | |
1512 | ||
1513 | * doc/plugins.texi (Building GCC plugins): Mention | |
1514 | GCCPLUGIN_VERSION ... constant macros in plugin-version.h. | |
1515 | ||
d0edd768 BS |
1516 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
1517 | ||
1518 | * machmode.h (TRULY_NOOP_TRUNCATION_MODES_P): New macro. | |
1519 | * combine.c (make_extraction, gen_lowpart_or_truncate, | |
1520 | apply_distributive_law, simplify_comparison, | |
1521 | reg_truncated_to_mode, record_truncated_value): Use it. | |
1522 | * cse.c (notreg_cost): Likewise. | |
1523 | * expmed.c (store_bit_field_1, extract_bit_field_1): Likewise. | |
1524 | * expr.c (convert_move, convert_modes): Likewise. | |
1525 | * optabs.c (expand_binop, expand_unop): Likewise. | |
1526 | * postreload.c (move2add_last_label): Likewise. | |
1527 | * regmove.c (optimize_reg_copy_3): Likewise. | |
1528 | * rtlhooks.c (gen_lowpart_general): Likewise. | |
1529 | * simplify-rtx.c (simplify_unary_operation_1): Likewise. | |
1530 | ||
e5cabdfb JM |
1531 | 2011-07-06 Joseph Myers <joseph@codesourcery.com> |
1532 | ||
1533 | * config/rs6000/vxworks.h (WORDS_BIG_ENDIAN): Define. | |
1534 | ||
2d0c270f BS |
1535 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
1536 | ||
1537 | * cse.c (find_comparison_args): Use val_mode_signbit_set_p. | |
1538 | * simplify-rtx.c (mode_signbit_p): Use GET_MODE_PRECISION. | |
1539 | (val_mode_signbit_p, val_mode_signbit_set_p): New functions. | |
1540 | (simplify_const_unary_operation, simplify_binary_operation_1, | |
f9610d20 UB |
1541 | simplify_const_binary_operation, simplify_const_relational_operation): |
1542 | Use them. Use GET_MODE_MASK for masking and sign-extensions. | |
2d0c270f BS |
1543 | * combine.c (set_nonzero_bits_and_sign_copies, simplify_set, |
1544 | combine_simplify_rtx, force_to_mode, reg_nonzero_bits_for_combine, | |
1545 | simplify_shift_const_1, simplify_comparison): Likewise. | |
1546 | * expr.c (convert_modes): Likewise. | |
1547 | * rtlanal.c (nonzero_bits1, canonicalize_condition): Likewise. | |
f9610d20 | 1548 | * expmed.c (emit_cstore, emit_store_flag_1, emit_store_flag): Likewise. |
2d0c270f BS |
1549 | * rtl.h (val_mode_signbit_p, val_mode_signbit_set_p): Declare. |
1550 | ||
f9c08345 BS |
1551 | * simplify-rtx.c (simplify_ternary_operation): Remove dead code. |
1552 | ||
6d6c9525 RG |
1553 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
1554 | ||
1555 | PR tree-optimization/49645 | |
1556 | * c-decl.c (finish_decl): Also set DECL_HARD_REGISTER for global | |
1557 | register variables. | |
1558 | * tree-ssa-sccvn.c (vn_reference_op_eq): Disregard differences | |
1559 | in type qualification here ... | |
1560 | (copy_reference_ops_from_ref): ... not here. | |
1561 | (vn_reference_lookup_3): ... or here. | |
1562 | (copy_reference_ops_from_ref): Record decl bases as MEM[&decl]. | |
1563 | (vn_reference_lookup): Do the lookup with a valueized ao-ref. | |
1564 | ||
d1a6ec10 ILT |
1565 | 2011-07-06 Ian Lance Taylor <iant@google.com> |
1566 | ||
1567 | * doc/install.texi (Configuration): It's | |
1568 | --enable-gnu-indirect-function, not --enable-indirect-function. | |
1569 | ||
ff3e08af BS |
1570 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
1571 | ||
1572 | * simplify-rtx.c (simplify_const_binary_operation): Use the | |
f9610d20 UB |
1573 | shift_truncation_mask hook instead of performing modulo by width. |
1574 | Compare against mode precision, not bitsize. | |
ff3e08af | 1575 | * combine.c (combine_simplify_rtx, simplify_shift_const_1): |
f9610d20 | 1576 | Use shift_truncation_mask instead of constructing the value manually. |
ff3e08af | 1577 | |
a369b639 L |
1578 | 2011-07-06 H.J. Lu <hongjiu.lu@intel.com> |
1579 | ||
1580 | PR middle-end/47383 | |
1581 | * tree-ssa-address.c (addr_for_mem_ref): Use pointer_mode for | |
1582 | address computation and convert to address_mode if needed. | |
1583 | ||
1a072294 RG |
1584 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
1585 | ||
1586 | * tree.c (build_common_tree_nodes_2): Merge with | |
1587 | build_common_tree_nodes. | |
1588 | * tree.h (build_common_tree_nodes): Adjust prototype. | |
1589 | (build_common_tree_nodes_2): Remove. | |
1590 | * doc/tm.texi.in (lang_hooks.builtin_function): Adjust. | |
1591 | * doc/tm.texi (lang_hooks.builtin_function): Regenerate. | |
1592 | ||
f2c3a8ce JJ |
1593 | 2011-07-05 Jakub Jelinek <jakub@redhat.com> |
1594 | ||
1595 | PR tree-optimization/49618 | |
1596 | * tree-eh.c (tree_could_trap_p) <case CALL_EXPR>: For DECL_WEAK | |
1597 | t recurse on the decl. | |
1598 | <case FUNCTION_DECL, case VAR_DECL>: For DECL_WEAK decls | |
1599 | return true if expr isn't known to be defined in current | |
1600 | TU or some other LTO partition. | |
1601 | ||
3aa439ed MM |
1602 | 2011-07-05 Michael Meissner <meissner@linux.vnet.ibm.com> |
1603 | ||
1604 | * params.def (PARAM_CASE_VALUES_THRESHOLD): New parameter to | |
1605 | override CASE_VALUES_THRESHOLD. | |
1606 | ||
1607 | * stmt.c (toplevel): Include params.h. | |
1608 | (case_values_threshold): Use the --param case-values-threshold | |
1609 | value if non-zero, otherwise use machine dependent value. | |
1610 | (expand_case): Use case_values_threshold. | |
1611 | ||
1612 | * Makefile.in (stmt.o): Add $(PARAMS_H) dependency. | |
1613 | ||
1614 | * doc/invoke.texi (--param case-values-threshold): Document. | |
1615 | ||
49956667 RH |
1616 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1617 | ||
1618 | * dwarf2out.c (dwarf2out_cfi_label): Make static. | |
1619 | (dwarf2out_flush_queued_reg_saves): Make static. | |
1620 | (dwarf2out_reg_save): Remove. | |
1621 | (dwarf2out_return_save): Remove. | |
1622 | (dwarf2out_return_reg): Remove. | |
1623 | (dwarf2out_reg_save_reg): Remove. | |
1624 | (dwarf2out_def_cfa): Merge into ... | |
1625 | (dwarf2out_frame_init): ... here. | |
1626 | * dwarf2out.h, tree.h: Remove declarations as necessary. | |
1627 | ||
9f2ff8e5 RH |
1628 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1629 | ||
c2b40eba RH |
1630 | * config/ia64/ia64.c (ia64_dwarf_handle_frame_unspec): Remove. |
1631 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
1632 | (ia64_expand_epilogue): Emit an empty FRAME_RELATED_EXPR for | |
1633 | the alloc insn. | |
1634 | ||
7d3c6cd8 RH |
1635 | * config/ia64/ia64.c (ia64_emit_deleted_label_after_insn): Remove. |
1636 | (IA64_CHANGE_CFA_IN_EPILOGUE): Remove. | |
1637 | (process_epilogue): Don't call dwarf2out_def_cfa. | |
1638 | ||
5f740973 RH |
1639 | * config/ia64/ia64.c (ia64_expand_prologue): Use pc_rtx to |
1640 | indicate the return address save. | |
1641 | (process_cfa_register): Likewise. | |
1642 | ||
a1880147 RH |
1643 | * config/ia64/ia64.c (ia64_dwarf2out_def_steady_cfa): Remove. |
1644 | (process_cfa_adjust_cfa, ia64_asm_unwind_emit): Don't call it. | |
1645 | ||
9f2ff8e5 RH |
1646 | * config/ia64/ia64.c (ia64_expand_prologue): Emit REG_CFA_REGISTER |
1647 | for ar.pfs save at alloc insn. | |
1648 | ||
ddc6e7d6 RH |
1649 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1650 | ||
1651 | * config/arm/arm.c (arm_dwarf_handle_frame_unspec): Remove. | |
1652 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
1653 | (arm_expand_prologue): Use REG_CFA_REGISTER to mark the | |
1654 | stack pointer save. | |
1655 | (arm_unwind_emit_set): Don't recognize UNSPEC_STACK_ALIGN. | |
1656 | (arm_unwind_emit): Walk REG_NOTES for unwinding notes. Emit | |
1657 | proper unwind info for a REG_CFA_REGISTER save of stack pointer. | |
1658 | * config/arm/arm.md (UNSPEC_STACK_ALIGN): Remove. | |
1659 | ||
a3515605 RH |
1660 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1661 | ||
1662 | * config/vax/vax.md (define_c_enum unspecv): New. Define the | |
1663 | VUNSPEC_* constants here instead of via define_constants. | |
1664 | (VUNSPEC_PEM): New constant. | |
1665 | (procedure_entry_mask): New insn. | |
1666 | (prologue): New expander. | |
1667 | * config/vax/vax.c (vax_add_reg_cfa_offset): New. | |
1668 | (vax_expand_prologue): Rename from vax_output_function_prologue; | |
1669 | emit rtl instead of text. | |
1670 | (TARGET_ASM_FUNCTION_PROLOGUE): Remove. | |
1671 | (print_operand): Add 'x' prefix. | |
1672 | ||
a7adbbcb L |
1673 | 2011-07-05 H.J. Lu <hongjiu.lu@intel.com> |
1674 | ||
1675 | PR middle-end/47715 | |
1676 | * calls.c (precompute_register_parameters): Promote the function | |
1677 | argument before checking non-legitimate constant. | |
1678 | ||
cec11ec4 SP |
1679 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1680 | ||
1681 | PR tree-optimization/47654 | |
1682 | * graphite-blocking.c (pbb_strip_mine_time_depth): Do not return bool. | |
1683 | (lst_do_strip_mine_loop): Return an int. | |
1684 | (lst_do_strip_mine): Same. | |
1685 | (scop_do_strip_mine): Same. | |
1686 | (scop_do_block): Loop blocking should strip-mine at least two loops. | |
1687 | * graphite-interchange.c (lst_interchange_select_outer): Return an int. | |
1688 | (scop_do_interchange): Same. | |
1689 | * graphite-poly.h (scop_do_interchange): Update declaration. | |
1690 | (scop_do_strip_mine): Same. | |
1691 | ||
9b0d314a SP |
1692 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1693 | ||
1694 | * graphite-clast-to-gimple.c (precision_for_value): Removed. | |
1695 | (precision_for_interval): Removed. | |
1696 | (gcc_type_for_interval): Use mpz_sizeinbase. | |
1697 | ||
81d6d080 SP |
1698 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1699 | ||
1700 | * graphite-ppl.h (value_max): Correct computation of max. | |
1701 | ||
369e3430 SP |
1702 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1703 | ||
1704 | * graphite-clast-to-gimple.c (clast_name_to_index): Add missing space. | |
1705 | ||
fce5dddd RG |
1706 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
1707 | ||
1708 | * c-decl.c (c_init_decl_processing): Defer building common | |
1709 | tree nodes to c_common_nodes_and_builtins. | |
1710 | ||
12037899 RL |
1711 | 2011-07-05 Razya Ladelsky <razya@il.ibm.com> |
1712 | ||
1713 | PR tree-optimization/49580 | |
f9610d20 | 1714 | * tree-cfg.c (gimple_duplicate_sese_tail): Remove handling of |
12037899 | 1715 | the loop's number of iterations. |
f9610d20 UB |
1716 | * tree-parloops.c (transform_to_exit_first_loop): Add the |
1717 | handling of the loop's number of iterations before the call | |
12037899 | 1718 | to gimple_duplicate_sese_tail. |
28b21ebb | 1719 | Insert the stmt caclculating the new rhs of the loop's |
12037899 RL |
1720 | condition stmt to the preheader instead of iters_bb. |
1721 | ||
509a31f8 L |
1722 | 2011-07-05 H.J. Lu <hongjiu.lu@intel.com> |
1723 | ||
1724 | PR rtl-optimization/47449 | |
1725 | * fwprop.c (forward_propagate_subreg): Don't propagate hard | |
1726 | register nor zero/sign extended hard register. | |
1727 | ||
39becbac RG |
1728 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
1729 | ||
1730 | PR tree-optimization/49518 | |
1731 | PR tree-optimization/49628 | |
1732 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Skip | |
1733 | irrelevant and invariant data-references. | |
1734 | (vect_analyze_data_ref_access): For invariant loads clear the | |
1735 | group association. | |
1736 | ||
15923c25 JJ |
1737 | 2011-07-04 Jakub Jelinek <jakub@redhat.com> |
1738 | ||
af421d9c JJ |
1739 | PR rtl-optimization/49619 |
1740 | * combine.c (combine_simplify_rtx): In PLUS -> IOR simplification | |
1741 | pass VOIDmode as op0_mode to recursive call, and return temp even | |
1742 | when different from tor, just if it is not IOR of the original | |
1743 | PLUS arguments. | |
1744 | ||
707f9919 JJ |
1745 | PR rtl-optimization/49472 |
1746 | * simplify-rtx.c (simplify_unary_operation_1) <case NEG>: When | |
1747 | negating MULT, negate the second operand instead of first. | |
1748 | (simplify_binary_operation_1) <case MULT>: If one operand is | |
f9610d20 UB |
1749 | a NEG and the other is MULT, don't attempt to optimize by negation |
1750 | of the MULT operand if it only moves the NEG operation around. | |
707f9919 | 1751 | |
15923c25 JJ |
1752 | PR debug/49602 |
1753 | * tree-into-ssa.c (rewrite_debug_stmt_uses): Disregard | |
1754 | get_current_def return value if it can't be trusted to be | |
1755 | the current value of the variable in the current bb. | |
1756 | ||
0d5e0c1b UB |
1757 | 2011-07-04 Uros Bizjak <ubizjak@gmail.com> |
1758 | ||
1759 | PR target/49600 | |
1760 | * config/i386/i386.md (SSE2 int->float split): Push operand 1 in | |
1761 | general register to memory for !TARGET_INTER_UNIT_MOVES. | |
1762 | ||
db297e20 GJL |
1763 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
1764 | ||
1765 | PR target/44643 | |
1766 | * config/avr/avr.c (avr_insert_attributes): Use TYPE_READONLY | |
1767 | instead of TREE_READONLY. | |
1768 | ||
f451d14d GJL |
1769 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
1770 | ||
1771 | * doc/extend.texi (AVR Built-in Functions): Update documentation | |
1772 | of __builtin_avr_fmul*. | |
0d5e0c1b | 1773 | * config/avr/avr.c (avr_init_builtins): Don't depend on AVR_HAVE_MUL. |
f451d14d GJL |
1774 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Ditto. |
1775 | * config/avr/avr.md (fmul): Rename to fmul_insn. | |
1776 | (fmuls): Rename to fmuls_insn. | |
1777 | (fmulsu): Rename to fmulsu_insn. | |
1778 | (fmul,fmuls,fmulsu): New expander. | |
1779 | (*fmul.call,*fmuls.call,*fmulsu.call): New Insn. | |
1780 | * config/avr/t-avr (LIB1ASMFUNCS): Add _fmul, _fmuls, _fmulsu. | |
1781 | * config/avr/libgcc.S (__fmul): New function. | |
1782 | (__fmuls): New function. | |
1783 | (__fmulsu,__fmulsu_exit): New function. | |
1784 | ||
30f1e6de RG |
1785 | 2011-07-04 Richard Guenther <rguenther@suse.de> |
1786 | ||
1787 | PR tree-optimization/49615 | |
1788 | * tree-cfgcleanup.c (split_bbs_on_noreturn_calls): Fix | |
1789 | basic-block index check. | |
1790 | ||
6dab9931 GJL |
1791 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
1792 | ||
1793 | * longlong.h (count_leading_zeros, count_trailing_zeros, | |
1794 | COUNT_LEADING_ZEROS_0): Define for target avr if W_TYPE_SIZE is 16 | |
1795 | resp. 64. | |
1796 | ||
b5066d8b IR |
1797 | 2011-07-03 Ira Rosen <ira.rosen@linaro.org> |
1798 | ||
1799 | PR tree-optimization/49610 | |
1800 | * tree-vect-loop.c (vect_is_slp_reduction): Check that DEF_STMT has | |
1801 | a basic block. | |
1802 | ||
bc712852 EB |
1803 | 2011-07-02 Eric Botcazou <ebotcazou@adacore.com> |
1804 | Olivier Hainque <hainque@adacore.com> | |
1805 | Nicolas Setton <setton@adacore.com> | |
1806 | ||
1807 | * tree.h (TYPE_ARTIFICIAL): New flag. | |
1808 | * dwarf2out.c (modified_type_die): Add a DW_AT_artificial attribute to | |
1809 | the DIE of the type if it is artificial. | |
1810 | (gen_array_type_die): Likewise. | |
1811 | (gen_enumeration_type_die): Likewise. | |
1812 | (gen_struct_or_union_type_die): Likewise. | |
1813 | * lto-streamer-in.c (unpack_ts_base_value_fields): Use TYPE_ARTIFICIAL. | |
1814 | * lto-streamer-out.c (pack_ts_base_value_fields): Likewise. | |
1815 | ||
8b1bdcc5 JJ |
1816 | 2011-07-01 Jakub Jelinek <jakub@redhat.com> |
1817 | ||
1818 | * tree-object-size.c (pass_through_call): Handle | |
1819 | BUILT_IN_ASSUME_ALIGNED. | |
1820 | ||
06e88d73 MJ |
1821 | 2011-07-01 Martin Jambor <mjambor@suse.cz> |
1822 | ||
1823 | * tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. | |
1824 | ||
6bbec3e1 L |
1825 | 2011-07-01 H.J. Lu <hongjiu.lu@intel.com> |
1826 | ||
1827 | PR middle-end/48016 | |
1828 | * explow.c (update_nonlocal_goto_save_area): Use proper mode | |
1829 | for stack save area. | |
1830 | * function.c (expand_function_start): Likewise. | |
1831 | ||
e8fdf1cd RG |
1832 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
1833 | ||
1834 | PR middle-end/49596 | |
1835 | * cgraph.h (varpool_all_refs_explicit_p): Not analyzed nodes | |
1836 | may have unknown refs. | |
1837 | ||
80d3dd38 KT |
1838 | 2011-07-01 Kai Tietz <ktietz@redhat.com> |
1839 | ||
1840 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo. | |
1841 | ||
179fc656 RO |
1842 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1843 | ||
1844 | * config.gcc: Obsolete alpha*-dec-osf5.1, mips-sgi-irix6.5. | |
1845 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Document it. | |
1846 | (Specific, mips-sgi-irix6): Likewise. | |
1847 | ||
14a393a3 RO |
1848 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1849 | ||
1850 | PR libmudflap/49549 | |
1851 | * doc/sourcebuild.texi (Effective-Target Keywords): Document gld. | |
1852 | ||
3aecd443 JJ |
1853 | 2011-07-01 Jakub Jelinek <jakub@redhat.com> |
1854 | ||
1855 | * tree-pretty-print.c (dump_generic_code) <case CONSTRUCTOR>: Print | |
1856 | [idx]= and [idx1 ... idx2]= before initializers if needed for | |
1857 | array initializers. | |
1858 | ||
7474f719 CL |
1859 | 2011-07-01 Chen Liqin <liqin.gcc@gmail.com> |
1860 | ||
1861 | * config.gcc (score-*-elf): Remove score7.o. | |
1862 | * config/score/t-score-elf: Likewise. | |
1863 | * config/score/score.c: Merge score7 to score.c and | |
1864 | remove forwarding functions. | |
1865 | * config/score/score7.c: Deleted. | |
1866 | * config/score/score7.h: Deleted. | |
1867 | ||
ab70d825 RG |
1868 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
1869 | ||
1870 | PR tree-optimization/49603 | |
0d5e0c1b | 1871 | * tree-vect-stmts.c (vectorizable_load): Remove unnecessary assert. |
ab70d825 | 1872 | |
1ac93f10 MJ |
1873 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
1874 | ||
1875 | * tree-sra.c (struct access): Rename total_scalarization to | |
1876 | grp_total_scalarization | |
1877 | (completely_scalarize_var): New function. | |
1878 | (sort_and_splice_var_accesses): Set total_scalarization in the | |
1879 | representative access. | |
1880 | (analyze_access_subtree): Propagate total scalarization accross the | |
1881 | tree, no holes in totally scalarized trees, simplify coverage | |
1882 | computation. | |
1883 | (analyze_all_variable_accesses): Call completely_scalarize_var instead | |
1884 | of completely_scalarize_record. | |
1885 | ||
97f309c3 RH |
1886 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1887 | ||
1888 | * config/i386/i386.h (X86_TUNE_DEEP_BRANCH_PREDICTION): Remove. | |
1889 | (TARGET_DEEP_BRANCH_PREDICTION): Remove. | |
1890 | * config/i386/i386.c: Don't include dwarf2out.h. | |
1891 | (initial_ix86_tune_features): Remove X86_TUNE_DEEP_BRANCH_PREDICTION. | |
1892 | (output_set_got): Don't test TARGET_DEEP_BRANCH_PREDICTION, delete | |
1893 | all code dead thereafter. Don't do dwarf2out_flush_queued_reg_saves. | |
1894 | (ix86_expand_prologue): Set REG_CFA_FLUSH_QUEUE on set_got insn. | |
1895 | (machopic_output_stub): Don't test TARGET_DEEP_BRANCH_PREDICTION. | |
1896 | ||
ef284364 RH |
1897 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1898 | ||
1899 | * reg-notes.def (REG_CFA_FLUSH_QUEUE): New. | |
1900 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
1901 | * final.c (final_scan_insn): Look for it, and invoke | |
1902 | dwarf2out_frame_debug before the insn if found. | |
1903 | ||
c8412f97 RH |
1904 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1905 | ||
1906 | * dwarf2out.c (dwarf2out_frame_debug_cfa_offset): Allow PC_RTX | |
1907 | as a source, and interpret that as DWARF_FRAME_RETURN_COLUMN. | |
1908 | ||
e3f903d8 RH |
1909 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1910 | ||
1911 | * dwarf2out.c (struct reg_saved_in_data): Provide a typedef. | |
1912 | Define a vector of this type. | |
1913 | (regs_saved_in_regs): Use a VEC. | |
1914 | (num_regs_saved_in_regs): Remove. | |
1915 | (compare_reg_or_pc): New. | |
1916 | (record_reg_saved_in_reg): Split out from... | |
1917 | (dwarf2out_flush_queued_reg_saves): ... here. | |
1918 | (clobbers_queued_reg_save): Update for VEC. | |
1919 | (reg_saved_in): Likewise. | |
1920 | (dwarf2out_frame_debug_init): Likewise. | |
1921 | (dwarf2out_reg_save_reg): Use record_reg_saved_in_reg. | |
1922 | (dwarf2out_frame_debug_cfa_register): Likewise. | |
1923 | ||
e2c9010a EB |
1924 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
1925 | ||
1926 | PR tree-optimization/49572 | |
1927 | * tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the | |
1928 | type of the RHS instead of that of the LHS for the expression type. | |
1929 | ||
dbb07bbc EB |
1930 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
1931 | ||
1932 | * df-scan.c (df_get_entry_block_def_set): Use INCOMING_REGNO macro | |
1933 | unconditionally. | |
1934 | ||
1565af08 RG |
1935 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
1936 | ||
1937 | * opts.c (finish_options): Do not disable IPA-PTA during ltrans. | |
1938 | * tree-ssa-structalias.c (create_variable_info_for): Do not | |
1939 | add initial constraints for non-var-decls. Properly handle | |
1940 | globals in other ltrans partitions. | |
1941 | (intra_create_variable_infos): Manually create constraints for | |
1942 | the fake no-alias parameter. | |
1943 | (ipa_pta_execute): Dump the cgraph, handle ltrans partitions properly | |
1944 | and assert there are no clones. | |
1945 | ||
42373e0b RG |
1946 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
1947 | ||
1948 | PR tree-optimization/46787 | |
1949 | * tree-data-ref.c (dr_address_invariant_p): Remove. | |
1950 | (find_data_references_in_stmt): Invariant accesses are ok now. | |
0d5e0c1b | 1951 | * tree-vect-stmts.c (vectorizable_load): Handle invariant loads. |
42373e0b RG |
1952 | * tree-vect-data-refs.c (vect_analyze_data_ref_access): Allow |
1953 | invariant loads. | |
1954 | ||
7aa62ea1 MJ |
1955 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
1956 | ||
1957 | PR tree-optimization/49094 | |
1958 | * tree-sra.c (tree_non_mode_aligned_mem_p): New function. | |
1959 | (build_accesses_from_assign): Use it. | |
1960 | ||
f60f32b3 JJ |
1961 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
1962 | ||
d9048d16 JJ |
1963 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix |
1964 | handling of BUILT_IN_ASSUME_ALIGNED. | |
1965 | ||
f60f32b3 JJ |
1966 | PR debug/49364 |
1967 | * dwarf2out.c (output_abbrev_section): Don't return early | |
1968 | if abbrev_die_table_in_use is 1. | |
1969 | (dwarf2out_finish): Instead don't call output_abbrev_section | |
1970 | nor emit abbrev_section_label in that case. | |
1971 | ||
7cce15d4 NC |
1972 | 2011-06-30 Nick Clifton <nickc@redhat.com> |
1973 | ||
1974 | * config/v850/v850.h (CPP_SPEC): Define __v850e__ when compiling | |
1975 | for the V850E. | |
1976 | ||
ce7e54ff JJ |
1977 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
1978 | ||
1979 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix | |
1980 | handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK. | |
1981 | ||
83197f37 IR |
1982 | 2011-06-30 Ira Rosen <ira.rosen@linaro.org> |
1983 | ||
1984 | * tree-vect-loop.c (vect_determine_vectorization_factor): Handle | |
1985 | both pattern and original statements if necessary. | |
1986 | (vect_transform_loop): Likewise. | |
1987 | * tree-vect-patterns.c (vect_pattern_recog): Update documentation. | |
1988 | * tree-vect-stmts.c (vect_mark_relevant): Add new argument. | |
1989 | Mark the pattern statement only if the original statement doesn't | |
1990 | have its own uses. | |
1991 | (process_use): Call vect_mark_relevant with additional parameter. | |
1992 | (vect_mark_stmts_to_be_vectorized): Likewise. | |
1993 | (vect_get_vec_def_for_operand): Use vectorized pattern statement. | |
1994 | (vect_analyze_stmt): Handle both pattern and original statements | |
1995 | if necessary. | |
1996 | (vect_transform_stmt): Don't store vectorized pattern statement | |
1997 | in the original statement. | |
1998 | (vect_is_simple_use_1): Use related pattern statement only if the | |
1999 | original statement is irrelevant. | |
2000 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Likewise. | |
2001 | ||
dbb07bbc | 2002 | 2011-06-29 Changpeng Fang <changpeng.fang@amd.com> |
5c0d88e6 | 2003 | |
dbb07bbc EB |
2004 | * config/i386/i386.opt (mprefer-avx128): Redefine the flag as a Mask |
2005 | option. | |
2006 | * config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_AVX128_OPTIMAL | |
2007 | entry. | |
5c0d88e6 CF |
2008 | (TARGET_AVX128_OPTIMAL): New definition. |
2009 | * config/i386/i386.c (initial_ix86_tune_features): Initialize | |
2010 | X86_TUNE_AVX128_OPTIMAL entry. | |
2011 | (ix86_option_override_internal): Enable the generation | |
2012 | of the 128-bit instructions when TARGET_AVX128_OPTIMAL is set. | |
2013 | (ix86_preferred_simd_mode): Use TARGET_PREFER_AVX128. | |
2014 | (ix86_autovectorize_vector_sizes): Use TARGET_PREFER_AVX128. | |
2015 | ||
931050d0 EB |
2016 | 2011-06-29 Eric Botcazou <ebotcazou@adacore.com> |
2017 | ||
2018 | PR tree-optimization/49539 | |
2019 | * tree-ssa-forwprop.c (can_propagate_from): Check for abnormal SSA | |
2020 | names by means of stmt_references_abnormal_ssa_name. | |
2021 | (associate_plusminus): Call can_propagate_from before propagating | |
2022 | from definition statements. | |
2023 | (ssa_forward_propagate_and_combine): Remove superfluous newline. | |
2024 | ||
dfedbe40 RG |
2025 | 2011-06-29 Richard Guenther <rguenther@suse.de> |
2026 | ||
2027 | * doc/invoke.texi: Document -scev dump modifier. | |
2028 | * tree-pass.h (TDF_SCEV): New dump flag. | |
2029 | * tree-dump.c (dump_option_value_in): Add scev. | |
2030 | * tree-chrec.c: Replace all TDF_DETAILS checks with TDF_SCEV. | |
2031 | * tree-scalar-evolution.c: Likewise. | |
2032 | ||
3a86cfeb NS |
2033 | 2011-06-29 Nathan Sidwell <nathan@codesourcery.com> |
2034 | ||
2035 | * config/arm/unwind-arm.c (enum __cxa_type_match_result): New. | |
2036 | (cxa_type_match): Correct declaration. | |
0d5e0c1b UB |
2037 | (__gnu_unwind_pr_common): Reconstruct additional indirection |
2038 | when __cxa_type_match returns succeeded_with_ptr_to_base. | |
3a86cfeb | 2039 | |
f3678bfb UW |
2040 | 2011-06-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2041 | ||
2042 | PR rtl-optimization/49114 | |
2043 | * reload.c (struct replacement): Remove SUBREG_LOC member. | |
2044 | (push_reload): Do not set it. | |
2045 | (push_replacement): Likewise. | |
2046 | (subst_reload): Remove dead code. | |
2047 | (copy_replacements): Remove assertion. | |
2048 | (copy_replacements_1): Do not handle SUBREG_LOC. | |
2049 | (move_replacements): Likewise. | |
2050 | (find_replacement): Remove dead code. Use reload_adjust_reg_for_mode. | |
2051 | Detect subregs via recursive descent instead of via SUBREG_LOC. | |
2052 | ||
433ba0a5 | 2053 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 2054 | |
433ba0a5 GJL |
2055 | * config/avr/avr.c (avr_encode_section_info): Dispatch to |
2056 | default_encode_section_info. | |
2057 | ||
73f6eabc RS |
2058 | 2011-06-29 Richard Sandiford <richard.sandiford@linaro.org> |
2059 | ||
2060 | PR tree-optimization/49545 | |
2061 | * builtins.c (get_object_alignment_1): Update function comment. | |
2062 | Do not use DECL_ALIGN for functions, but test | |
2063 | TARGET_PTRMEMFUNC_VBIT_LOCATION instead. | |
2064 | * fold-const.c (get_pointer_modulus_and_residue): Don't check | |
2065 | for functions here. | |
2066 | * tree-ssa-ccp.c (get_value_from_alignment): Likewise. | |
2067 | ||
a0f33d3a JJ |
2068 | 2011-06-29 Jakub Jelinek <jakub@redhat.com> |
2069 | ||
2070 | PR debug/49567 | |
0d5e0c1b UB |
2071 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up for |
2072 | non-MODE_INT modes instead of asserting the mode has MODE_INT class. | |
a0f33d3a | 2073 | |
946c8b23 | 2074 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 2075 | |
946c8b23 | 2076 | PR target/34734 |
0d5e0c1b | 2077 | * config/avr/avr.c (avr_handle_progmem_attribute): Move warning |
946c8b23 GJL |
2078 | about uninitialized data attributed 'progmem' from here... |
2079 | (avr_encode_section_info): ...to this new function. | |
2080 | (TARGET_ENCODE_SECTION_INFO): New define. | |
2081 | (avr_section_type_flags): For data in ".progmem.data", remove | |
2082 | section flag SECTION_WRITE. | |
2083 | ||
9a63dee4 | 2084 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 2085 | |
9a63dee4 GJL |
2086 | * config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3, |
2087 | _xmulhisi3_exit. | |
2088 | * config/avr/libgcc.S (_xmulhisi3_exit): New Function. | |
2089 | (__mulhisi3): Optimize if have MUL*. Use XJMP instead of rjmp. | |
2090 | (__umulhisi3): Ditto. | |
2091 | * config/avr/avr.md (mulhisi3): New insn expender. | |
2092 | (umulhisi3): New insn expender. | |
2093 | (*mulhisi3_call): New insn. | |
2094 | (*umulhisi3_call): New insn. | |
2095 | ||
4374ce45 JM |
2096 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
2097 | ||
2098 | * Makefile.in (LIBGCC2_CFLAGS): Remove -D__GCC_FLOAT_NOT_NEEDED. | |
2099 | ||
94759030 RH |
2100 | 2011-06-28 Richard Henderson <rth@redhat.com> |
2101 | ||
2102 | * config/arm/arm.c (thumb_pop): Rename from thumb_pushpop. Delete | |
2103 | all code and arguments that handled pushes. Update all callers. | |
2104 | ||
d018b46e RH |
2105 | 2011-06-28 Richard Henderson <rth@redhat.com> |
2106 | ||
2107 | * config/arm/arm.c (arm_output_function_prologue): Don't call | |
2108 | thumb1_output_function_prologue. | |
2109 | (arm_expand_prologue): Avoid dead store. | |
2110 | (number_of_first_bit_set): Use ctz_hwi. | |
2111 | (thumb1_emit_multi_reg_push): New. | |
2112 | (thumb1_expand_prologue): Merge thumb1_output_function_prologue | |
2113 | to emit the entire prologue as rtl. | |
2114 | (thumb1_output_interwork): Split out from | |
2115 | thumb1_output_function_prologue. | |
2116 | (thumb1_output_function_prologue): Remove. | |
2117 | (arm_attr_length_push_multi): Handle thumb1. | |
2118 | * config/arm/arm.md (VUNSPEC_THUMB1_INTERWORK): New. | |
2119 | (prologue_thumb1_interwork): New. | |
2120 | (*push_multi): Allow thumb1; use push_mult_memory_operand. | |
2121 | * config/arm/predicates.md (push_mult_memory_operand): New. | |
2122 | ||
97269a23 EB |
2123 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
2124 | ||
2125 | * config/sparc/sync.md (*stbar): Delete. | |
2126 | (*membar_v8): New insn to implement UNSPEC_MEMBAR in SPARC-V8. | |
2127 | ||
4a9206ce EB |
2128 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
2129 | ||
2130 | * tree-ssa-dom.c (initialize_hash_element): Fix oversight. | |
2131 | ||
6138f9bd RO |
2132 | 2011-06-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2133 | ||
2134 | * config/sparc/sol2-64.h (TARGET_DEFAULT): Remove. | |
2135 | (TARGET_64BIT_DEFAULT): Define. | |
2136 | * config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front | |
2137 | of tm_file. | |
2138 | * config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define. | |
2139 | ||
a7d0d30f JM |
2140 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
2141 | ||
2142 | * common.opt (in_lto_p): New Variable entry. | |
2143 | * flags.h (in_lto_p): Move to common.opt. | |
2144 | * gcc.c: Include params.h. | |
2145 | (set_option_handlers): Also use common_handle_option and | |
2146 | target_handle_option. | |
0d5e0c1b | 2147 | (main): Call global_init_params, finish_params and init_options_struct. |
a7d0d30f JM |
2148 | * opts.c (debug_type_names): Move from toplev.c. |
2149 | (print_filtered_help): Access quiet_flag through opts pointer. | |
0d5e0c1b UB |
2150 | (common_handle_option): Return early in the driver for some options. |
2151 | Access in_lto_p, dwarf_version and warn_maybe_uninitialized through | |
2152 | opts pointer. | |
a7d0d30f JM |
2153 | * toplev.c (in_lto_p): Move to common.opt. |
2154 | (debug_type_names): Move to opts.c. | |
2155 | * Makefile.in (OBJS): Remove opts.o. | |
2156 | (OBJS-libcommon-target): Add opts.o. | |
2157 | (gcc.o): Update dependencies. | |
2158 | ||
420863a9 KT |
2159 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
2160 | ||
0d5e0c1b | 2161 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Improve type sinking. |
420863a9 | 2162 | |
0498a2be RR |
2163 | 2011-06-28 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2164 | ||
2165 | * config/arm/vfp.md ("*divsf3_vfp"): Replace '+' constraint modifier | |
2166 | with '=' constraint modifier. | |
2167 | (*divdf3_vfp): Likewise. | |
2168 | ("*mulsf3_vfp"): Likewise. | |
2169 | ("*muldf3_vfp"): Likewise. | |
2170 | ("*mulsf3negsf_vfp"): Likewise. | |
2171 | ("*muldf3negdf_vfp"): Likewise. | |
2172 | ||
4a68b724 NC |
2173 | 2011-06-28 Nick Clifton <nickc@redhat.com> |
2174 | ||
2175 | * config/mn10300/mn10300.h (LINK_SPEC): Do not use linker | |
2176 | relaxation when performing an incremental link. | |
2177 | ||
72a32729 KT |
2178 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
2179 | ||
2180 | * tree-ssa-math-opts.c (execute_optimize_bswap): Search | |
2181 | within BB from last to first. | |
2182 | ||
88a00ef7 JM |
2183 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
2184 | ||
2185 | * genattr-common.c: New. Based on genattr.c. | |
2186 | * Makefile.in (INSN_ATTR_H): Include insn-attr-common.h. | |
2187 | (MOSTLYCLEANFILES): Add insn-attr-common.h. | |
2188 | (opts.o): Update dependencies. | |
2189 | (.PRECIOUS): Add insn-attr-common.h. | |
2190 | (simple_rtl_generated_h): Add insn-attr-common.h. | |
2191 | (build/genattr-common.o): New. | |
2192 | (genprogrtl): Add attr-common. | |
2193 | * genattr.c (main): Include insn-attr-common.h. Don't generate | |
2194 | definitions of DELAY_SLOTS or INSN_SCHEDULING. | |
0d5e0c1b | 2195 | * opts.c: Include insn-attr-common.h instead of rtl.h and insn-attr.h. |
88a00ef7 | 2196 | |
880962ac GJL |
2197 | 2011-06-28 Georg-Johann Lay <avr@gjlay.de> |
2198 | ||
4a68b724 | 2199 | * config.gcc (tm_file): Add elfos.h and avr/elf.h for |
880962ac | 2200 | avr-*-* and avr-*-rtems* targets. |
4a68b724 | 2201 | |
880962ac GJL |
2202 | * config/avr/elf.h: New file. |
2203 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define. | |
2204 | (TARGET_ASM_SELECT_SECTION): Define. | |
2205 | (INIT_SECTION_ASM_OP): Undefine. | |
2206 | (FINI_SECTION_ASM_OP): Undefine. | |
2207 | (READONLY_DATA_SECTION_ASM_OP): Undefine. | |
2208 | (PCC_BITFIELD_TYPE_MATTERS): Undefine. | |
2209 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Undefine. | |
2210 | * config/avr/avr.h: | |
2211 | (PREFERRED_DEBUGGING_TYPE): Move to elf.h. | |
2212 | (TARGET_ASM_NAMED_SECTION): Move to elf.h. | |
2213 | (MAX_OFILE_ALIGNMENT): Move to elf.h. | |
2214 | (STRING_LIMIT): Move to elf.h. | |
2215 | (ASM_DECLARE_FUNCTION_NAME): Move to elf.h. | |
2216 | (ASM_DECLARE_OBJECT_NAME): Remove. | |
2217 | (ESCAPES): Remove. | |
2218 | (ASM_OUTPUT_SKIP): Remove. | |
2219 | (DWARF2_DEBUGGING_INFO): Remove. | |
2220 | (OBJECT_FORMAT_ELF): Remove. | |
2221 | (USER_LABEL_PREFIX): Remove. | |
2222 | (ASM_OUTPUT_EXTERNAL): Remove. | |
2223 | (ASM_OUTPUT_ASCII): Remove. | |
2224 | (TYPE_ASM_OP): Remove. | |
2225 | (SIZE_ASM_OP): Remove. | |
2226 | (WEAK_ASM_OP): Remove. | |
2227 | (STRING_ASM_OP): Remove. | |
2228 | (SET_ASM_OP): Remove. | |
2229 | (ASM_WEAKEN_LABEL): Remove. | |
2230 | (TYPE_OPERAND_FMT): Remove. | |
2231 | (ASM_DECLARE_FUNCTION_SIZE): Remove. | |
2232 | (ASM_FINISH_DECLARE_OBJECT): Remove. | |
2233 | (NO_DOLLAR_IN_LABEL): Remove. | |
2234 | (ASM_GENERATE_INTERNAL_LABEL): Remove. | |
2235 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
2236 | * config/avr/avr.c (avr_asm_output_aligned_decl_common): Use | |
2237 | ASM_OUTPUT_ALIGNED_LOCAL, ASM_OUTPUT_ALIGNED_COMMON. | |
2238 | (gas_output_ascii): Remove. | |
2239 | (gas_output_limited_string): Remove. | |
2240 | (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove. | |
2241 | * config/avr/avr-protos.h | |
2242 | (gas_output_ascii): Remove prototye. | |
2243 | (gas_output_limited_string): Remove prototype. | |
2244 | ||
a1b5eb93 RE |
2245 | 2011-06-27 Richard Earnshaw <rearnsha@arm.com> |
2246 | ||
2247 | PR target/48637 | |
2248 | * arm.c (arm_print_operand): Allow sym+offset. Don't abort on invalid | |
2249 | asm operands. | |
2250 | ||
310e71a8 JH |
2251 | 2011-06-27 Jan Hubicka <jh@suse.cz> |
2252 | ||
4a9206ce EB |
2253 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of |
2254 | node instead of references in node. | |
310e71a8 | 2255 | |
171da07a RH |
2256 | 2011-06-27 Richard Henderson <rth@redhat.com> |
2257 | ||
2258 | * config/alpha/alpha.c (vms_patch_builtins): Provide dummy definition. | |
2259 | * config/ia64/ia64.c (ia64_init_builtins): Call vms_patch_builtins | |
2260 | inside ifdef. | |
2261 | ||
dc2a58da JJ |
2262 | 2011-06-27 Jakub Jelinek <jakub@redhat.com> |
2263 | ||
56300785 JJ |
2264 | * c-decl.c (union lang_tree_node): Use it in chain_next expression. |
2265 | ||
45d439ac JJ |
2266 | * builtin-types.def (BT_FN_PTR_CONST_PTR_SIZE_VAR): New. |
2267 | * builtins.def (BUILT_IN_ASSUME_ALIGNED): New builtin. | |
2268 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call, | |
2269 | find_func_clobbers): Handle BUILT_IN_ASSUME_ALIGNED. | |
2270 | * tree-ssa-ccp.c (bit_value_assume_aligned): New function. | |
2271 | (evaluate_stmt, execute_fold_all_builtins): Handle | |
2272 | BUILT_IN_ASSUME_ALIGNED. | |
2273 | * tree-ssa-dce.c (propagate_necessity): Likewise. | |
2274 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1, | |
2275 | call_may_clobber_ref_p_1): Likewise. | |
2276 | * builtins.c (is_simple_builtin, expand_builtin): Likewise. | |
2277 | (expand_builtin_assume_aligned): New function. | |
2278 | * doc/extend.texi (__builtin_assume_aligned): Document. | |
2279 | ||
dc2a58da JJ |
2280 | PR debug/49544 |
2281 | * cselib.c (promote_debug_loc): If cselib_preserve_constants | |
2282 | and l has two DEBUG_INSN owned locs instead of just one, adjust | |
2283 | the second location's setting_insn too. | |
2284 | ||
0d72f628 RO |
2285 | 2011-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2286 | ||
2287 | PR libmudflap/38738 | |
2288 | * config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define. | |
2289 | ||
bebd619e NC |
2290 | 2011-06-27 Nick Clifton <nickc@redhat.com> |
2291 | ||
0d5e0c1b UB |
2292 | * config/mn10300/mn10300.md (clzsi2): Use XOR after BSCH to convert |
2293 | bit position of highest bit set into a count of the high zero bits. | |
bebd619e | 2294 | |
353b39fa EB |
2295 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
2296 | ||
2297 | * dwarf2out.c (TYPE_DECL_IS_STUB): Extend mechanism to all types. | |
2298 | ||
a7af037b EB |
2299 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
2300 | ||
2301 | PR lto/48492 | |
2302 | * dwarf2out.c (dwarf2out_finish): Do not attach a DIE on the limbo list | |
2303 | to a NULL parent. | |
2304 | ||
1c86160a RG |
2305 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
2306 | ||
2307 | PR tree-optimization/49394 | |
2308 | * passes.c (execute_one_pass): Restore current_pass after | |
2309 | applying IPA transforms. | |
2310 | ||
5da49a9d KT |
2311 | 2011-06-27 Kai Tietz <ktietz@redhat.com> |
2312 | ||
2313 | * tree-ssa-math-opts.c (do_shift_rotate): Zero bits | |
2314 | out of type precision after operation. | |
0d5e0c1b UB |
2315 | (find_bswap): Take for limit value the integer auto-promotion |
2316 | into account. | |
5da49a9d | 2317 | |
9242213f EB |
2318 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
2319 | ||
2320 | * reorg.c (fill_simple_delay_slots): Use stop_search_p to stop the | |
2321 | forward scan as well. | |
2322 | ||
db8b22ef TG |
2323 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
2324 | ||
2325 | PR target/44241 | |
2326 | * config/vms/vms-protos.h: New file. | |
2327 | * config/vms/vms-crtlmap.map: New file. | |
2328 | * config/vms/vms.c: New file. | |
2329 | * config/vms/make-crtlmap.awk: New file. | |
2330 | * config/vms/vms-crtl.h: File removed. | |
2331 | * config/vms/vms-crtl-64.h: File removed. | |
2332 | * config/vms/t-vms (vms-crtlmap.h, vms.o): New targets. | |
2333 | * config/alpha/vms64.h: Do not include vms-crtl-64.h | |
2334 | * config/alpha/alpha.c (alpha_init_builtins): Remove code to | |
2335 | clear some builtins on VMS. Calls vms_patch_builtins. | |
2336 | (avms_asm_output_external): Remove. | |
2337 | * config/alpha/vms.h (ASM_OUTPUT_EXTERNAL): Remove. | |
2338 | (struct crtl_name_spec): Remove | |
2339 | (DO_CTRL_NAMES): Remove. | |
2340 | * config/ia64/vms.h (struct crtl_name_spec): Remove | |
2341 | (DO_CTRL_NAMES): Remove. | |
2342 | * config/ia64/ia64.c (alpha_init_builtins): Remove code to | |
2343 | clear some builtins on VMS. Calls vms_patch_builtins. | |
2344 | (ia64_asm_output_external): Remove DO_CRTL_NAME. | |
2345 | * config/ia64/vms64.h: Do not include vms-crtl-64.h | |
0d5e0c1b | 2346 | * config.gcc (*-*-*vms*): Define extra_objs, target_gtfiles, tm_p_file. |
db8b22ef | 2347 | |
b213221d TG |
2348 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
2349 | ||
2350 | * config/alpha/alpha.c (alpha_end_function): Always generate .end | |
2351 | directive on VMS. | |
2352 | ||
157b9300 EB |
2353 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
2354 | ||
2355 | * config/sparc/sparc.c (sparc_frame_pointer_required): Return true if | |
2356 | the function receives nonlocal gotos. | |
2357 | ||
ccbf5bb4 RG |
2358 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
2359 | ||
2360 | PR tree-optimization/49536 | |
2361 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): | |
2362 | For non-scalar inner types use a scalar type according to | |
2363 | the scalar inner mode. | |
2364 | ||
fe4cd14b RG |
2365 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
2366 | ||
2367 | PR tree-optimization/49365 | |
2368 | * params.def (min-insn-to-prefetch-ratio): Reduce from 10 to 9. | |
2369 | ||
afc3f22f RS |
2370 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
2371 | ||
2372 | PR tree-optimization/49169 | |
2373 | * fold-const.c (get_pointer_modulus_and_residue): Don't rely on | |
2374 | the alignment of function decls. | |
2375 | ||
92590751 | 2376 | 2011-06-26 Iain Sandoe <iains@gcc.gnu.org> |
a45a766b IS |
2377 | |
2378 | PR target/47997 | |
2379 | * config/darwin.c (darwin_mergeable_string_section): Place string | |
2380 | constants in '.cstring' rather than '.const' when CF/NSStrings are | |
2381 | active. | |
2382 | ||
605354f3 EB |
2383 | 2011-06-26 Eric Botcazou <ebotcazou@adacore.com> |
2384 | ||
2385 | * config/sparc/sparc.c (save_local_or_in_reg_p): Adjust comment. | |
2386 | (emit_save_register_window): Likewise. | |
2387 | (sparc_expand_prologue): Use SIZE_INT_RTX and SIZE_RTX variables. | |
2388 | (sparc_flat_expand_prologue): Add comment. Always emit blockage. | |
2389 | Swap back %o7/%i7 in register naming. | |
2390 | ||
0e9197f5 IS |
2391 | 2011-06-25 Iain Sandoe <iains@gcc.gnu.org> |
2392 | ||
2393 | PR driver/49371 | |
2394 | * config/darwin.c (darwin_override_options): Improve warning when | |
2395 | mdynamic-no-pic is given together with fPIC/fpic, also warn when it | |
2396 | is given with fpie/fPIE. | |
2397 | * config/darwin.h (PIE_SPEC): New, (LINK_SPEC): Use PIE_SPEC. | |
2398 | * config/darwin9.h (PIE_SPEC): New. | |
53461199 | 2399 | |
605354f3 | 2400 | 2011-06-25 Basile Starynkevitch <basile@starynkevitch.net> |
53461199 BS |
2401 | |
2402 | * timevar.c (timevar_print): Increase width for display of timevar | |
2403 | name. | |
2404 | ||
f796c438 JJ |
2405 | 2011-06-24 Jakub Jelinek <jakub@redhat.com> |
2406 | ||
2407 | PR c++/46400 | |
2408 | * c-decl.c (union lang_tree_node): Use TYPE_NEXT_VARIANT | |
2409 | instead of TYPE_CHAIN for chain_next for types. | |
2410 | ||
a7289eaf RH |
2411 | 2011-06-24 Richard Henderson <rth@redhat.com> |
2412 | ||
2413 | * config/sparc/sparc.md (create_flat_frame_1<P:mode>): Remove. | |
2414 | (create_flat_frame_2<P:mode>, create_flat_frame_3<P:mode>): Remove. | |
2415 | * config/sparc/sparc.c (gen_create_flat_frame_1): Remove. | |
2416 | (gen_create_flat_frame_2, gen_create_flat_frame_3): Remove. | |
2417 | (sparc_flat_expand_prologue): Emit individual instructions | |
2418 | instead of one of the above. | |
2419 | ||
c4b9a87e ER |
2420 | 2011-06-24 Easwaran Raman <eraman@google.com> |
2421 | ||
2422 | PR rtl-optimization/49429 | |
2423 | PR target/49454 | |
2424 | * expr.c (emit_block_move_hints): Mark MEM_EXPR(x) and | |
2425 | MEM_EXPR(y) addressable if emit_block_move_via_libcall is | |
2426 | used to copy y into x. | |
2427 | * calls.c (initialize_argument_information): Mark | |
2428 | an argument addressable if it is passed by invisible reference. | |
2429 | (emit_library_call_value_1): Mark MEM_EXPR (val) addressable | |
2430 | if it is passed by reference. | |
2431 | ||
5ac6c59e L |
2432 | 2011-06-24 H.J. Lu <hongjiu.lu@intel.com> |
2433 | ||
2434 | PR rtl-optimization/49504 | |
2435 | * rtlanal.c (nonzero_bits1): Properly handle addition or | |
1f134bd6 L |
2436 | subtraction of a pointer in Pmode if pointers extend unsigned. |
2437 | (num_sign_bit_copies1): Likewise. | |
5ac6c59e | 2438 | |
b807e627 MJ |
2439 | 2011-06-24 Martin Jambor <mjambor@suse.cz> |
2440 | ||
2441 | PR tree-optimizations/49516 | |
2442 | * tree-sra.c (sra_modify_assign): Choose the safe path for | |
2443 | aggregate copies if we also did scalar replacements. | |
2444 | ||
9a1ea4b9 RR |
2445 | 2011-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2446 | ||
2447 | PR target/49335 | |
2448 | * config/arm/predicates.md (add_operator): New. | |
0d5e0c1b | 2449 | * config/arm/arm.md ("*arith_shiftsi"): Fix for SP reg usage in Thumb2. |
9a1ea4b9 | 2450 | |
949cfd0a AK |
2451 | 2011-06-24 Andi Kleen <ak@linux.intel.com> |
2452 | ||
2453 | * tree-sra.c (type_internals_preclude_sra_p): Add msg | |
2454 | parameter. Split up ifs and report reason in *msg. | |
2455 | (reject): Add. | |
2456 | (find_var_candiate): Add msg variable. | |
2457 | Split up ifs and report reason to reject. | |
2458 | (find_param_candidates): Add msg variable. | |
2459 | Pass msg to type_internals_preclude_sra_p. | |
2460 | ||
49e9c661 | 2461 | 2011-06-23 Jeff Law <law@redhat.com> |
ad3577df | 2462 | |
b0c11403 JL |
2463 | PR middle-end/48770 |
2464 | * reload.h (reload): Change to return a bool. | |
2465 | * ira.c (ira): If requested by reload, run a fast DCE pass after | |
2466 | reload has completed. Fix comment typo. | |
2467 | * reload1.c (need_dce): New file scoped static. | |
2468 | (reload): Set reload_completed here. Return whether or not a DCE | |
2469 | pass after reload is needed. | |
2470 | (delete_dead_insn): Set need_dce as needed. | |
2471 | ||
ad3577df JL |
2472 | PR middle-end/49465 |
2473 | * tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition | |
2474 | to detect threading through joiner block. If there was already | |
2475 | an edge to the new target, then do not change the PHI nodes. | |
2476 | ||
7cf64710 JJ |
2477 | 2011-06-23 Jakub Jelinek <jakub@redhat.com> |
2478 | ||
2479 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use | |
2480 | get_pointer_alignment to see if base isn't sufficiently aligned. | |
2481 | ||
febb1302 JH |
2482 | 2011-06-23 Jan Hubicka <jh@suse.cz> |
2483 | ||
2484 | PR tree-optimize/49373 | |
2485 | * tree-pass.h (all_late_ipa_passes): Declare. | |
2486 | * cgraphunit.c (init_lowered_empty_function): Fix properties. | |
4a9206ce EB |
2487 | (cgraph_optimize): Execute late passes; remove unreachable funcions |
2488 | after materialization. | |
2489 | * ipa-inline.c (gate_ipa_inline): Enable only when optimizing or | |
2490 | LTOing. | |
febb1302 JH |
2491 | * passes.c (all_late_ipa_passes): Declare. |
2492 | (dump_passes, register_pass): Handle late ipa passes. | |
4a9206ce EB |
2493 | (init_optimization_passes): Move ipa_pta to late passes; schedule |
2494 | fixup_cfg at beggining of all_passes. | |
febb1302 JH |
2495 | (apply_ipa_transforms): New function. |
2496 | (execute_one_pass): When doing simple ipa pass, apply all transforms. | |
2497 | ||
4c77620d JM |
2498 | 2011-06-23 Joseph Myers <joseph@codesourcery.com> |
2499 | ||
2500 | * params.c: Include common/common-target.h. Don't include tm.h. | |
2501 | (lang_independent_params): Move from toplev.c. | |
2502 | (global_init_params): New. | |
2503 | * params.h (global_init_params): Declare. | |
2504 | * target.def (default_params): Move to common-target.def. | |
2505 | * toplev.c (lang_independent_options): Remove. | |
2506 | (lang_independent_params): Move to params.c. | |
2507 | (general_init): Use global_init_params. | |
2508 | * common/common-target.def (option_default_params): Move from | |
2509 | target.def. | |
2510 | * common/config/ia64/ia64-common.c: Include params.h. | |
2511 | (ia64_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2512 | from ia64.c. | |
2513 | * common/config/rs6000/rs6000-common.c: Include params.h. | |
2514 | (rs6000_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2515 | from rs6000.c. | |
2516 | * common/config/sh/sh-common.c: Include params.h. | |
2517 | (sh_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2518 | from sh.c. | |
2519 | * common/config/spu/spu-common.c: Include params.h. | |
2520 | (spu_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2521 | from spu.c. | |
2522 | * config/ia64/ia64.c (ia64_option_default_params, | |
2523 | TARGET_OPTION_DEFAULT_PARAMS): Move to ia64-common.c. | |
2524 | * config/rs6000/rs6000.c (rs6000_option_default_params, | |
2525 | TARGET_OPTION_DEFAULT_PARAMS): Move to rs6000-common.c. | |
2526 | * config/sh/sh.c (sh_option_default_params, | |
2527 | TARGET_OPTION_DEFAULT_PARAMS): Move to sh-common.c. | |
2528 | * config/spu/spu.c (spu_option_default_params, | |
2529 | TARGET_OPTION_DEFAULT_PARAMS): Move to spu-common.c. | |
2530 | * Makefile.in (OBJS): Remove params.o. | |
2531 | (OBJS-libcommon-target): Add params.o. | |
2532 | (params.o, $(common_out_object_file)): Update dependencies. | |
2533 | * doc/tm.texi: Regenerate. | |
2534 | ||
6aad1e38 AM |
2535 | 2011-06-23 Alan Modra <amodra@gmail.com> |
2536 | ||
2537 | PR bootstrap/49383 | |
2538 | * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph | |
2539 | invocation for 2011-06-09 changes. | |
2540 | ||
4fb489e7 JJ |
2541 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
2542 | ||
fb79f500 JJ |
2543 | PR libgomp/49490 |
2544 | * omp-low.c (expand_omp_for_static_nochunk): Only | |
0d5e0c1b UB |
2545 | use n ceil/ nthreads size for the first n % nthreads threads in the |
2546 | team instead of all threads except for the last few ones which | |
fb79f500 JJ |
2547 | get less work or none at all. |
2548 | ||
4fb489e7 JJ |
2549 | PR debug/49496 |
2550 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Ignore debug | |
2551 | uses. | |
2552 | ||
9c7c9f10 RG |
2553 | 2011-06-22 Richard Guenther <rguenther@suse.de> |
2554 | ||
2555 | PR tree-optimization/49493 | |
2556 | * tree-ssa-structalias.c (get_constraint_for_ssa_var): | |
2557 | Refer to the alias target of variables. | |
2558 | (associate_varinfo_to_alias_1): Remove. | |
2559 | (ipa_pta_execute): Do not associate aliases with anything. | |
2560 | * cgraph.h (varpool_alias_aliased_node): Fix cut&paste errors. | |
2561 | (cgraph_function_node): Likewise. | |
2562 | (cgraph_function_or_thunk_node): Likewise. | |
2563 | (varpool_variable_node): Likewise. | |
2564 | ||
7cf13d1f NS |
2565 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
2566 | ||
0d5e0c1b | 2567 | * config/arm/arm.h (OPTION_DEFAULT_SPECS): Fix -mtls-dialect typo. |
7cf13d1f NS |
2568 | * config.gcc (arm*-*-linux*): Default to gnu tls. |
2569 | (arm*-*-*): Add --with-tls option. | |
2570 | (all_defaults): Add 'tls'. | |
2571 | ||
78a8eb4e RH |
2572 | 2011-06-22 Richard Henderson <rth@redhat.com> |
2573 | ||
2574 | * reg-notes.def (REG_CFA_WINDOW_SAVE): New. | |
2575 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
2576 | (dwarf2out_frame_debug_cfa_window_save): Rename from | |
2577 | dwarf2out_window_save; make static. | |
2578 | * tree.h (dwarf2out_window_save): Don't declare. | |
2579 | ||
2580 | * config/sparc/sparc.c (sparc_dwarf_handle_frame_unspec): Remove. | |
2581 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
2582 | (emit_save_register_window): Rename from gen_save_register_window; | |
2583 | emit the insn and add REG_CFA_* notes. | |
2584 | (sparc_expand_prologue): Update to match. | |
2585 | * config/sparc/sparc.md (save_register_window_1): Simplify from | |
2586 | save_register_window<P:mode>. | |
2587 | ||
3b4c46d7 L |
2588 | 2011-06-22 H.J. Lu <hongjiu.lu@intel.com> |
2589 | ||
2590 | PR target/49497 | |
2591 | * config/i386/i386.md (*lea_general_2): Always allow SImode. | |
2592 | (*lea_general_2_zext): Likewise. | |
2593 | (imul to lea peepholes): Use const359_operand and check | |
2594 | TARGET_PARTIAL_REG_STALL. | |
2595 | ||
2596 | * config/i386/predicates.md (const359_operand): New. | |
2597 | ||
4399cf59 MM |
2598 | 2011-06-22 Michael Matz <matz@suse.de> |
2599 | ||
2600 | * cgraphunit.c (assemble_thunk): Use correct return type. | |
2601 | ||
31a0c825 | 2602 | 2011-06-22 Dmitry Plotnikov <dplotnikov@ispras.ru> |
0d5e0c1b | 2603 | Dmitry Melnik <dm@ispras.ru> |
31a0c825 DP |
2604 | |
2605 | * config/arm/arm.c (neon_immediate_valid_for_shift): New function. | |
2606 | (neon_output_shift_immediate): Ditto. | |
2607 | * config/arm/arm-protos.h (neon_immediate_valid_for_shift): New | |
2608 | prototype. | |
2609 | (neon_output_shift_immediate): Ditto. | |
2610 | * config/arm/neon.md (vashl<mode>3): Modified constraint. | |
2611 | (vashr<mode>3_imm): New insn pattern. | |
2612 | (vlshr<mode>3_imm): Ditto. | |
2613 | (vashr<mode>3): Modified constraint. | |
2614 | (vlshr<mode>3): Ditto. | |
2615 | * config/arm/predicates.md (imm_for_neon_lshift_operand): New | |
2616 | predicate. | |
2617 | (imm_for_neon_rshift_operand): Ditto. | |
2618 | (imm_lshift_or_reg_neon): Ditto. | |
2619 | (imm_rshift_or_reg_neon): Ditto. | |
2620 | ||
2621 | * optabs.c (init_optabs): Init optab codes for vashl, vashr, vlshr. | |
2622 | ||
ddb555ed JJ |
2623 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
2624 | ||
36dc1a88 JJ |
2625 | * tree-ssa-ccp.c (evaluate_stmt): Try bitwise tracking for |
2626 | builtin calls even if likelyvalue is not CONSTANT. | |
2627 | Handle BUILT_IN_STRDUP and BUILT_IN_STRNDUP like BUILT_IN_MALLOC. | |
2628 | Return get_value_for_expr of first operand | |
2629 | for BUILT_IN_{MEM{CPY,MOVE,SET},STR{,N}CPY}{,_CHK}. | |
2630 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
2631 | BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK like | |
2632 | their non-checking counterparts. | |
2633 | (call_may_clobber_ref_p_1): Likewise. | |
2634 | (stmt_kills_ref_p_1): Handle BUILT_IN_MEM{{,P}CPY,MOVE,SET}_CHK | |
2635 | like their non-checking counterparts. | |
2636 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
2637 | Handle BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK | |
2638 | like their non-checking counterparts. | |
2639 | (find_func_clobbers): Likewise. | |
2640 | * tree-ssa-dce.c (propagate_necessity): Handle BUILT_IN_MEMSET_CHK | |
2641 | like BUILT_IN_MEMSET and BUILT_IN_CALLOC like BUILT_IN_MALLOC. | |
2642 | ||
41cd4957 JJ |
2643 | * dwarf2out.c (size_of_loc_descr, output_loc_operands, |
2644 | mark_base_types, hash_loc_operands, compare_loc_operands): Allow | |
2645 | DW_OP_GNU_convert and DW_OP_GNU_reinterpret to use constant instead | |
2646 | of base type reference as argument. | |
2647 | (resolve_addr_in_expr): Likewise. Fix keep computation. | |
2648 | (convert_descriptor_to_signed): Renamed to... | |
0d5e0c1b UB |
2649 | (convert_descriptor_to_mode): ... this. For wider types convert to |
2650 | unsigned instead of signed, for <= DWARF2_ADDR_SIZE convert to untyped. | |
41cd4957 JJ |
2651 | (typed_binop): New function. |
2652 | (scompare_loc_descriptor, ucompare_loc_descriptor, | |
2653 | minmax_loc_descriptor, mem_loc_descriptor): For wider integer modes | |
2654 | default to unsigned type instead of signed. | |
2655 | ||
ddb555ed JJ |
2656 | PR debug/47858 |
2657 | * gimple.h (enum gimple_debug_subcode): Add GIMPLE_DEBUG_SOURCE_BIND. | |
2658 | (gimple_build_debug_source_bind_stat): New prototype. | |
2659 | (gimple_build_debug_source_bind): Define. | |
2660 | (gimple_debug_source_bind_p, gimple_debug_source_bind_get_var, | |
2661 | gimple_debug_source_bind_get_value, | |
2662 | gimple_debug_source_bind_get_value_ptr, | |
2663 | gimple_debug_source_bind_set_var, | |
2664 | gimple_debug_source_bind_set_value): New inlines. | |
2665 | * gimple.c (gimple_build_debug_source_bind_stat): New function. | |
2666 | * gimple-pretty-print.c (dump_gimple_debug): Handle | |
2667 | GIMPLE_DEBUG_SOURCE_BIND. | |
2668 | * sese.c (rename_uses): Handle gimple_debug_source_bind_p. | |
2669 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
2670 | * tree-parloops.c (eliminate_local_variables, | |
2671 | separate_decls_in_region): Likewise. | |
2672 | (separate_decls_in_region_debug): Renamed from | |
2673 | separate_decls_in_region_debug_bind. Handle | |
2674 | gimple_debug_source_bind_p. | |
2675 | * tree.h (decl_debug_args_lookup, decl_debug_args_insert): New | |
2676 | prototypes. | |
2677 | (DECL_HAS_DEBUG_ARGS_P): Define. | |
2678 | (struct tree_function_decl): Add has_debug_args_flag field. | |
2679 | * tree.c (debug_args_for_decl): New variable. | |
2680 | (decl_debug_args_lookup, decl_debug_args_insert): New functions. | |
2681 | * tree-into-ssa.c (mark_def_sites): Handle uses in debug stmts. | |
2682 | (rewrite_debug_stmt_uses): New function. | |
2683 | (rewrite_stmt): Use it to rewrite debug stmt uses. | |
2684 | * rtl.def (DEBUG_PARAMETER_REF): New. | |
2685 | * rtl.h (DEBUG_PARAMETER_REF_DECL): Define. | |
2686 | * cselib.c (rtx_equal_for_cselib_1, cselib_hash_rtx): Handle | |
2687 | DEBUG_PARAMETER_REF. | |
2688 | * rtl.c (rtx_equal_p_cb, rtx_equal_p, iterative_hash_rtx): Likewise. | |
2689 | * print-rtl.c (print_rtx): Likewise. | |
2690 | * tree-sra.c (sra_ipa_reset_debug_stmts): Prefer replacing of | |
2691 | SSA_NAMEs with DEBUG_EXPR_DECLs initialized in source bind | |
2692 | debug stmts in the first bb. | |
2693 | * tree-inline.c (remap_ssa_name): If remapping default def | |
2694 | of a PARM_DECL fails, map to a DEBUG_EXPR_DECL set in | |
2695 | a source bind debug stmt. | |
2696 | (remap_gimple_stmt): Handle gimple_debug_source_bind_p. | |
2697 | (maybe_move_debug_stmts_to_successors): Likewise. | |
2698 | (copy_debug_stmt): Likewise. Avoid shadowing a variable. | |
2699 | (tree_function_versioning): If DECL_HAS_DEBUG_ARGS_P, copy | |
2700 | debug args vector from old_decl to new_decl. | |
2701 | * ipa-prop.c (ipa_modify_call_arguments): For optimized away | |
2702 | or modified parameters, add debug bind stmts before call | |
0d5e0c1b | 2703 | setting DEBUG_EXPR_DECL which is remembered in debug args vector. |
ddb555ed JJ |
2704 | * cfgexpand.c (expand_call_stmt): Call expand_debug_expr |
2705 | on DECL_DEBUG_EXPRs from debug args vector. | |
2706 | (expand_debug_source_expr): New function. | |
2707 | (expand_debug_locations): Use it for source bind insns. | |
2708 | (expand_gimple_basic_block): Handle gimple_debug_source_bind_p. | |
2709 | * var-tracking.c (prepare_call_arguments): Add debug args | |
2710 | to call_arguments if any. | |
2711 | * dwarf2out.c (dwarf_stack_op_name, size_of_loc_descr, | |
0d5e0c1b UB |
2712 | output_loc_operands, output_loc_operands_raw, resolve_addr_in_expr, |
2713 | compare_loc_operands): Handle DW_OP_GNU_parameter_ref. | |
ddb555ed JJ |
2714 | (get_ref_die_offset, parameter_ref_descriptor): New functions. |
2715 | (mem_loc_descriptor): Handle DEBUG_PARAMETER_REF. | |
2716 | (gen_subprogram_die): Handle parameters identified by | |
2717 | DEBUG_PARAMETER_REF. | |
2718 | ||
ccdc2164 NS |
2719 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
2720 | ||
2721 | * doc/invoke.texi (ARM Options): Document -mtls-dialect option. | |
2722 | * doc/install.texi (Configuration): Document --with-tls. | |
ccdc2164 NS |
2723 | * config/arm/arm.c (enum tls_reloc): Add TLS_DESCSEQ. |
2724 | (arm_call_tls_get_addr): Clean up. Assert not tls descriptor. | |
2725 | (arm_tls_descseq_addr): New. | |
2726 | (legitimize_tls_address): Add tlsdesc support. | |
2727 | (arm_cannot_copy_insn_p): Check for tlscall. | |
2728 | (arm_emit_tls_decoration): Likewise. | |
2729 | * config/arm/arm.h (TARGET_GNU2_TLS): New. | |
2730 | (OPTION_DEFAULT_SPECS): Add with-tls support. | |
2731 | * config/arm/arm.md (R1_REGNUM): Define. | |
2732 | (tlscall): New. | |
2733 | * config/arm/arm.opt (tls_type): New enumeration type and values. | |
2734 | (mtls-dialect): New switch. | |
2735 | * config/arm/arm-opts.h (enum tls_type): New. | |
2736 | ||
70e41a6a NP |
2737 | 2011-06-21 Nicola Pero <nicola.pero@meta-innovation.com> |
2738 | ||
2739 | * attribs.c (register_attribute): Added assert to check that all | |
2740 | attribute specs are registered with a name that is not empty and | |
2741 | does not start with '_'. | |
2742 | (decl_attributes): Avoid the lookup of the "naked" attribute spec | |
2743 | if the function has no attributes. | |
2744 | * tree.c (is_attribute_with_length_p): Removed. | |
2745 | (is_attribute_p): Removed. | |
0d5e0c1b | 2746 | (private_is_attribute_p): New. |
70e41a6a NP |
2747 | (private_lookup_attribute): New. |
2748 | (lookup_attribute): Removed. | |
2749 | (lookup_ident_attribute): New. | |
2750 | (remove_attribute): Require the first argument to be in the form | |
2751 | 'text', not '__text__'. Updated asserts. | |
2752 | (merge_attributes): Use lookup_ident_attributes instead of | |
2753 | lookup_attribute. | |
2754 | (merge_dllimport_decl_attributes): Use remove_attribute. | |
2755 | (attribute_list_contained): Likewise. | |
2756 | (attribute_list_equal): Immediately return 1 if the arguments are | |
2757 | identical pointers. | |
2758 | * tree.h (is_attribute_p): Made inline. Return a 'bool', not an | |
2759 | 'int'. Require the first argument to be in the form 'text', not | |
2760 | '__text__'. Require the second argument to be an identifier. | |
2761 | (lookup_attribute): Made inline. Require the first argument to be | |
2762 | in the form 'text', not '__text__'. | |
2763 | (private_is_attribute_p, private_lookup_attribute): New. | |
2764 | Updated comments. | |
0d5e0c1b | 2765 | |
e0a8ecf2 AM |
2766 | 2011-06-21 Andrew MacLeod <amacleod@redhat.com> |
2767 | ||
2768 | * builtins.c: Add sync_ or SYNC__ to builtin names. | |
2769 | * sync-builtins.def: Add sync_ or SYNC__ to builtin names. | |
2770 | * omp-low.c: Add sync_ or SYNC__ to builtin names. | |
2771 | ||
663827d3 | 2772 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
637c11bd | 2773 | |
663827d3 GJL |
2774 | PR target/33049 |
2775 | * config/avr/avr.md (extzv): New expander. | |
2776 | (*extzv): New insn. | |
2777 | (*extzv.qihi1, *extzv.qihi2): New insn-and-split. | |
2778 | * config/avr/constraints.md (C04): New constraint. | |
2779 | * doc/md.texi (Machine Constraints): Document it. | |
2780 | ||
146aef0b JJ |
2781 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
2782 | ||
2783 | PR middle-end/49489 | |
2784 | * builtins.c (expand_builtin_unop): Call expand_unop with 0 as | |
2785 | unsignedp argument instead of 1 for clrsb_optab. | |
2786 | (fold_builtin_bitop): Fix masking for width > HOST_BITS_PER_WIDE_INT | |
2787 | and < 2 * HOST_BITS_PER_WIDE_INT. Optimize BUILT_IN_CLRSB*. | |
2788 | (fold_builtin_1): Call fold_builtin_binop for BUILT_IN_CLRSB*. | |
2789 | * optabs.c (widen_leading): Call widen_operand and expand_unop | |
2790 | with 0 as unsignedp argument instead of 1 for clrsb_optab. | |
637c11bd | 2791 | (expand_unop): Subtract difference of mode sizes also for clrsb_optab. |
146aef0b | 2792 | |
c0503294 GJL |
2793 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
2794 | ||
2795 | * config/avr/avr.md (*jcindirect_jump): Fix build warning. | |
2796 | ||
3801c801 BS |
2797 | 2011-06-21 Bernd Schmidt <bernds@codesourcery.com> |
2798 | ||
0bddee8e BS |
2799 | * gensupport.c (add_define_attr): New static function. |
2800 | (is_predicable): Allow multi-alternative lists for the "predicable" | |
2801 | attribute. | |
2802 | (modify_attr_enabled_ce, alter_attrs_for_insn): New static functions. | |
2803 | (process_one_cond_exec): Call alter_attrs_for_insn. | |
2804 | * doc/md.texi (Defining Attributes): Mention some standard names. | |
2805 | (Conditional Execution): Update documentation for "predicable". | |
2806 | ||
3801c801 BS |
2807 | * doc/extend.texi (__builtin_clrsb, __builtin_clrsbl, |
2808 | __builtin_clrsbll): Document. | |
2809 | * doc/rtl.texi (clrsb): New entry. | |
2810 | * optabs.c (widen_leading): Renamed from widen_clz. New argument | |
2811 | UNOPTAB. All callers changed. Use UNOPTAB instead of clz_optab. | |
2812 | (expand_unop): Handle clrsb_optab. | |
2813 | (init_optabs): Initialize it. | |
2814 | * optabs.h (enum optab_index): New entry OTI_clrsb. | |
2815 | (clrsb_optab): Define. | |
2816 | * genopinit.c (optabs): Add an entry for it. | |
2817 | * builtins.c (expand_builtin): Handle clrsb builtin functions. | |
2818 | * builtins.def (BUILT_IN_CLRSB, BUILT_IN_CLRSBIMAX, BUILT_IN_CLRSBL, | |
2819 | BUILT_IN_CLRSBLL): New. | |
2820 | * rtl.def (CLRSB): New code. | |
2821 | * dwarf2out.c (mem_loc_descriptor): Handle it. | |
2822 | * simplify-rtx.c (simplify_const_unary_operation): Likewise. | |
2823 | Use op_mode rather than mode when optimizing ffs, clz, ctz, parity | |
2824 | and popcount. | |
2825 | * libgcc2.c (__clrsbSI2, __clrsbDI2): New functions. | |
2826 | * libgcc2.h (__clrsbSI2, __clrsbDI2): Define and declare. | |
2827 | (__ctzDI2): Move declaration. | |
2828 | * config/bfin/bfin.md (clrsbsi2): New expander. | |
2829 | (signbitssi2): Use the CLRSB rtx. | |
2830 | (clrsbhi2): Renamed from signbitshi2. Use the CLRSB rtx. | |
2831 | * config/bfin/bfin.c (bdesc_1arg): Changed accordingly. | |
2832 | ||
55f01229 RG |
2833 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
2834 | ||
637c11bd | 2835 | * ipa-inline-transform.c (inline_transform): Fix previous change. |
55f01229 | 2836 | |
5181cd6a IR |
2837 | 2011-06-21 Ira Rosen <ira.rosen@linaro.org> |
2838 | ||
2839 | PR tree-optimization/49478 | |
2840 | * tree-vect-loop.c (vectorizable_reduction): Handle DOT_PROD_EXPR | |
2841 | with constant operand. | |
2842 | ||
e4ee3d70 RG |
2843 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
2844 | ||
2845 | * ipa-inline-transform.c (inline_transform): Fix typo. | |
637c11bd | 2846 | |
7b7ec6c5 RG |
2847 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
2848 | ||
2849 | PR tree-optimization/49483 | |
2850 | * tree-vect-stmts.c (vectorizable_assignment): Also handle | |
2851 | VIEW_CONVERT_EXPR conversions. | |
2852 | ||
1b916ca6 JM |
2853 | 2011-06-21 Joseph Myers <joseph@codesourcery.com> |
2854 | ||
2855 | * config/avr/avr-mcus.def, config/avr/genopt.sh: New files. | |
2856 | * config/avr/avr-tables.opt: New file (generated). | |
2857 | * config.gcc (avr-*-*): Use avr/avr-tables.opt. | |
2858 | * config/avr/avr-devices.c (avr_mcu_types): Move contents to | |
2859 | avr-mcus.def. | |
2860 | * config/avr/avr.c (avr_help, TARGET_HELP): Remove. | |
2861 | (avr_option_override): Don't process -mmcu= argument here. Set | |
2862 | avr_current_device using avr_mcu_index. | |
637c11bd | 2863 | (avr_file_start): Use avr_current_device->name instead of avr_mcu_name. |
1b916ca6 JM |
2864 | * config/avr/avr.opt (mmcu=): Use Enum. |
2865 | * config/avr/t-avr (avr-devices.o): Update dependencies. | |
2866 | ($(srcdir)/config/avr/avr-tables.opt): New. | |
2867 | * target.def (help): Remove. | |
2868 | * doc/tm.texi.in (TARGET_HELP): Remove. | |
2869 | * doc/tm.texi: Regenerate. | |
2870 | * opts.c: Don't include target.h. | |
2871 | (common_handle_option): Don't call targetm.help. | |
2872 | * system.h (TARGET_HELP): Poison. | |
2873 | * Makefile.in (opts.o): Update dependencies. | |
2874 | ||
7ecfa34f RO |
2875 | 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2876 | ||
2877 | * config/usegld.h: New file. | |
2878 | * config/sol2.h (PREFERRED_DEBUGGING_TYPE): Remove. | |
2879 | (CPP_SUBTARGET_SPEC): Remove -compat-bsd support. | |
637c11bd | 2880 | (LIB_SPEC): Likewise. Search /lib. |
7ecfa34f RO |
2881 | (LINK_ARCH32_SPEC_BASE): Remove -compat-bsd support. |
2882 | (RDYNAMIC_SPEC): Handle GNU ld. | |
637c11bd UB |
2883 | [HAVE_LD_EH_FRAME_HDR && TARGET_DL_ITERATE_PHDR] (LINK_EH_SPEC): |
2884 | Define. | |
7ecfa34f RO |
2885 | (SUPPORTS_INIT_PRIORITY): Only disable for Sun ld. |
2886 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Define. | |
2887 | [!USE_GAS] (NO_DBX_BNSYM_ENSYM): Redefine. | |
2888 | (STACK_CHECK_STATIC_BUILTIN): Define. | |
2889 | * config/sol2.opt (compat-bsd): Remove. | |
2890 | * config/sol2-10.h (TARGET_C99_FUNCTIONS): Remove undef. | |
2891 | * config/sol2-bi.h: New file. | |
2892 | * config/sol2-gld.h: Remove. | |
2893 | * config/i386/sol2.h (TLS_COMMON_ASM_OP): Only define if !USE_GAS. | |
2894 | (NO_DBX_BNSYM_ENSYM): Remove. | |
2895 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
2896 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
2897 | Test USE_GLD instead of TARGET_GNU_LD. | |
2898 | * config/i386/sol2-10.h: Rename to ... | |
2899 | * config/i386/sol2-bi.h .. this. | |
2900 | (SUBTARGET_EXTRA_SPECS): Redefine. | |
2901 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Remove. | |
2902 | (MULTILIB_DEFAULTS): Remove. | |
2903 | (DEFAULT_ARCH32_P): Define. | |
2904 | (LINK_ARCH64_SPEC_BASE, LINK_ARCH64_SPEC): Remove. | |
2905 | (ARCH64_SUBDIR): Define. | |
2906 | Test USE_GLD instead of TARGET_GNU_LD. | |
2907 | (I386_EMULATION): Rename to ... | |
2908 | (ARCH32_EMULATION): ... this. | |
2909 | (X86_64_EMULATION): Rename to ... | |
2910 | (ARCH64_EMULATION): ... this. | |
2911 | (TARGET_LD_EMULATION): Remove. | |
2912 | (LINK_ARCH_SPEC): Remove. | |
2913 | * config/i386/sol2-gas.h: Remove. | |
2914 | * config/i386/t-sol2-10: Rename to ... | |
2915 | * config/i386/t-sol2-64: ... this. | |
2916 | * config/sparc/sol2.h (SPARC_DEFAULT_CMODEL): Redefine. | |
2917 | (AS_SPARC64_FLAG): Define. | |
2918 | (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC): Redefine. | |
2919 | (CPP_CPU64_DEFAULT_SPEC, ASM_CPU32_DEFAULT_SPEC): Redefine | |
2920 | depending on TARGET_CPU_DEFAULT. | |
2921 | (CPP_CPU_SPEC): Redefine. | |
2922 | (ASM_CPU_SPEC): Handle DEFAULT_ARCH32_P. | |
2923 | (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Redefine. | |
2924 | (CPP_ARCH32_SPEC, CPP_ARCH64_SPEC, CPP_ARCH_SPEC): Redefine. | |
2925 | (ASM_ARCH_SPEC, ASM_ARCH32_SPEC, ASM_ARCH64_SPEC, | |
2926 | ASM_ARCH_DEFAULT_SPEC): Redefine. | |
2927 | (SUBTARGET_EXTRA_SPECS): Add LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
2928 | LINK_ARCH_DEFAULT_SPEC. | |
2929 | [USE_GLD] (ARCH32_EMULATION, ARCH64_EMULATION): Define. | |
2930 | [USE_GLD] (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Redefine. | |
2931 | (ARCH64_SUBDIR): Define. | |
2932 | (LINK_ARCH64_SPEC): Redefine. | |
2933 | (CC1_SPEC): Redefine. | |
2934 | (OPTION_DEFAULT_SPECS): Redefine. | |
2935 | (MULTILIB_DEFAULTS): Define. | |
2936 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Redefine. | |
2937 | [USE_GAS && HAVE_AS_TLS] (TARGET_SUN_TLS, TARGET_GNU_TLS): Redefine. | |
2938 | [USE_GLD] (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undef. | |
2939 | (NO_DBX_BNSYM_ENSYM): Remove. | |
2940 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
2941 | (ASM_OUTPUT_ALIGN_WITH_NOP): Only define if !USE_GAS. | |
2942 | (TARGET_ASM_NAMED_SECTION): Likewise. | |
2943 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
2944 | * config/sparc/sol2-bi.h: Remove. | |
2945 | * config/sparc/sol2-gas-bi.h: Remove. | |
2946 | * config/sparc/sol2-gas.h: Remove. | |
2947 | * config/sparc/sol2-gld-bi.h: Remove. | |
2948 | * config.gcc (i[34567]86-*-solaris2*, sparc*-*-solaris2*): Move | |
2949 | common parts ... | |
2950 | (*-*-solaris2*): ... here. | |
2951 | ||
4b583c43 | 2952 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 2953 | |
4b583c43 | 2954 | PR other/43564 |
637c11bd UB |
2955 | * ipa-inline.c (can_inline_edge_p): Check |
2956 | !DECL_DISREGARD_INLINE_LIMITS. | |
2957 | ||
3bb556ad | 2958 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 2959 | |
3bb556ad CB |
2960 | PR middle-end/49139 |
2961 | * cgraphunit.c (process_function_and_variable_attributes): warn when | |
2962 | always_inline functions that are not inline. | |
637c11bd UB |
2963 | * ipa-inline-transform.c (inline_transform): Always call |
2964 | optimize_inline. | |
2965 | * tree-inline.c (tree_inlinable_function_p): Use error instead | |
2966 | of sorry. | |
3bb556ad | 2967 | (expand_call_inline): Likewise. |
637c11bd | 2968 | |
f1ee724c JJ |
2969 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
2970 | ||
2971 | * Makefile.in (dg_target_exps): Set. | |
2972 | (check_gcc_parallelize): Parallelize gcc testing into 10 jobs | |
2973 | instead of 7, try to divide it more evenly. | |
2974 | ||
2975 | 2011-06-20 Changpeng Fang <changpeng.fang@amd.com> | |
97ef5ae6 | 2976 | |
931050d0 | 2977 | PR target/49089 |
97ef5ae6 CF |
2978 | * config/i386/i386.c (avx256_split_unaligned_load): New definition. |
2979 | (avx256_split_unaligned_store): New definition. | |
2980 | (ix86_option_override_internal): Enable avx256 unaligned load/store | |
2981 | splitting only when avx256_split_unaligned_load/store is set. | |
2982 | ||
998c75b6 BS |
2983 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
2984 | ||
2985 | * regrename.c (scan_rtx_reg): Handle the case where we write to an | |
2986 | open chain in a smaller mode without failing the entire block. | |
2987 | ||
83a8cbda L |
2988 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
2989 | ||
2990 | PR middle-end/47725 | |
2991 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
2992 | extended hard registers. | |
2993 | ||
3a769784 AM |
2994 | 2011-06-21 Alan Modra <amodra@gmail.com> |
2995 | ||
2996 | * config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): Match | |
2997 | CONST high part large-toc address. | |
2998 | (rs6000_tls_referenced_p): Make static. | |
2999 | * config/rs6000/rs6000-protos.h (rs6000_tls_referenced_p): Delete. | |
3000 | ||
d1e32c4a L |
3001 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
3002 | ||
3003 | PR middle-end/47725 | |
3004 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
3005 | hard registers. | |
3006 | ||
c2954af9 RR |
3007 | 2011-06-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
3008 | ||
3009 | PR target/49385 | |
3010 | * config/arm/thumb2.md (*thumb2_movhi_insn): Make sure atleast | |
3011 | one of the operands is a register. | |
3012 | ||
a95015b6 KT |
3013 | 2011-06-20 Kai Tietz <ktietz@redhat.com> |
3014 | ||
637c11bd UB |
3015 | * fold-const.c (fold_binary_loc): Add missing folding for truth-not |
3016 | operations in combination with binary and. | |
a95015b6 | 3017 | |
49a30d00 BS |
3018 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
3019 | ||
3020 | * regrename.c (do_replace): Don't update notes. | |
3021 | ||
3bae1d98 AM |
3022 | 2011-06-20 Alan Modra <amodra@gmail.com> |
3023 | ||
3024 | * config/rs6000/rs6000.c (create_TOC_reference): Wrap high part | |
3025 | of toc-relative address in CONST. | |
3026 | (rs6000_delegitimize_address): Recognize changed address. | |
3027 | (rs6000_legitimize_reload_address): Likewise. | |
3028 | (rs6000_emit_move): Don't force these constants to memory. | |
3029 | * config/rs6000/rs6000.md (tls_gd, tls_gd_high): Wrap high part of | |
3030 | toc-relative address in CONST. | |
3031 | (tls_ld, tls_ld_high, tls_got_dtprel, tls_got_dtprel_high): Likewise. | |
3032 | (tls_got_tprel, tls_got_tprel_high, largetoc_high): Likewise. | |
3033 | ||
10937b0c L |
3034 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
3035 | ||
637c11bd | 3036 | * longlong.h (count_leading_zeros): Use long long builtin for x86-64. |
10937b0c L |
3037 | (count_trailing_zeros): Likewise. |
3038 | ||
0c587260 L |
3039 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
3040 | ||
3041 | PR other/49325 | |
3042 | * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Properly check if | |
3043 | .init_array can be used with .ctors on targets. | |
3044 | * configure: Regenerated. | |
3045 | ||
c020c92b EB |
3046 | 2011-06-18 Eric Botcazou <ebotcazou@adacore.com> |
3047 | ||
3048 | * tree-sra.c (type_internals_preclude_sra_p) <ARRAY_TYPE>: Return true | |
3049 | if the element type is volatile. | |
3050 | ||
cd35bcf7 JH |
3051 | 2011-06-18 Jan Hubicka <jh@suse.cz> |
3052 | ||
3053 | * lto-symtab.c (lto_varpool_replace_node): Remove code handling | |
3054 | extra name aliases. | |
3055 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
3056 | (lto_symtab_merge_cgraph_nodes): Update alias_of pointers. | |
3057 | * cgraphbuild.c (record_reference): Remove extra body alias code. | |
3058 | (mark_load): Likewise. | |
3059 | (mark_store): Likewise. | |
3060 | * cgraph.h (varpool_node): Remove extra_name filed; | |
3061 | add alias_of and extraname_alias. | |
3062 | (varpool_create_variable_alias, varpool_for_node_and_aliases): Declare. | |
3063 | (varpool_alias_aliased_node): New inline function. | |
3064 | (varpool_variable_node): New function. | |
3065 | * cgraphunit.c (handle_alias_pairs): Handle also variable aliases. | |
3066 | * ipa-ref.c (ipa_record_reference): Allow aliases on variables. | |
3067 | * lto-cgraph.c (lto_output_varpool_node): Update streaming. | |
3068 | (input_varpool_node): Likewise. | |
3069 | * lto-streamer-out.c (produce_symtab): Remove extra name aliases. | |
3070 | (varpool_externally_visible_p): Remove extra body alias code. | |
3071 | (function_and_variable_visibility): Likewise. | |
3072 | * tree-ssa-structalias.c (associate_varinfo_to_alias_1): New function. | |
3073 | (ipa_pta_execute): Use it. | |
3074 | * varpool.c (varpool_remove_node): Remove extra name alias code. | |
3075 | (varpool_mark_needed_node): Likewise. | |
3076 | (varpool_analyze_pending_decls): Analyze aliases. | |
3077 | (assemble_aliases): New functoin. | |
3078 | (varpool_assemble_decl): Use it. | |
3079 | (varpool_create_variable_alias): New function. | |
3080 | (varpool_extra_name_alias): Rewrite. | |
3081 | (varpool_for_node_and_aliases): New function. | |
3082 | ||
c96b4102 JJ |
3083 | 2011-06-18 Jakub Jelinek <jakub@redhat.com> |
3084 | ||
3085 | PR target/49411 | |
3086 | * config/i386/i386.c (ix86_expand_multi_arg_builtins): If | |
3087 | last_arg_constant and last argument doesn't match its predicate, | |
3088 | for xop_vpermil2<mode>3 error out and for xop_rotl<mode>3 | |
3089 | if it is CONST_INT, mask it, otherwise expand using rotl<mode>3. | |
3090 | (ix86_expand_sse_pcmpestr, ix86_expand_sse_pcmpistr): Fix | |
3091 | spelling of error message. | |
3092 | * config/i386/sse.md (sse4a_extrqi, sse4a_insertqi, | |
3093 | vcvtps2ph, *vcvtps2ph, *vcvtps2ph_store, vcvtps2ph256): Use | |
3094 | const_0_to_255_operand instead of const_int_operand. | |
3095 | ||
3096 | Revert: | |
3097 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
3098 | ||
3099 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
3100 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
3101 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
3102 | Check integer value of operand 3 in insn constraint. | |
3103 | ||
9a2091cd HPN |
3104 | 2011-06-17 Hans-Peter Nilsson <hp@axis.com> |
3105 | ||
3106 | PR rtl-optimization/48542 | |
3107 | * reload.c (find_equiv_reg): Stop looking when finding a | |
3108 | setjmp-type call. | |
3109 | * reload1.c (reload_as_needed): Invalidate all reload | |
3110 | registers when crossing a setjmp-type call. | |
3111 | ||
361b51c0 JL |
3112 | 2011-06-16 Jeff Law <law@redhat.com> |
3113 | ||
3114 | * tree-ssa-threadupdate.c (struct redirection_data): New field | |
3115 | intermediate_edge. | |
3116 | (THREAD_TARGET2): Define. | |
637c11bd | 3117 | (redirection_data_eq): Also check that the intermediate edge is equal. |
361b51c0 JL |
3118 | (lookup_redirection_data): Drop useless argument. Extract the |
3119 | outgoing_edge and intermediate edge from E. Callers updated. | |
3120 | (copy_phi_args, update_destination_phis): New functions. | |
3121 | (fix_duplicate_block_edges): Likewise. | |
3122 | (create_edge_and_update_destination_phis): Duplicate all the edges | |
3123 | hung off e->aux. Use copy_phi_args. | |
3124 | (create_duplicates): Use fix_duplicate_block_edges. | |
3125 | (fixup_template_block): Likewise. | |
3126 | (redirect_edges): If necessary, redirect the joiner block's incoming | |
3127 | edge to the duplicate of the joiner block. | |
3128 | (thread_block): Don't muck up loops when threading through a joiner | |
3129 | block. | |
637c11bd | 3130 | (thread_through_loop_header): Handle threading through a joiner block. |
361b51c0 JL |
3131 | (mark_threaded_blocks, register_jump_thread): Likewise. |
3132 | * tree-flow.h (register_jump_thread): Add new argument. Callers | |
3133 | updated. | |
3134 | * tree-ssa-threadedge.c (phi_args_equal_on_edges): New function. | |
3135 | (thread_across_edge): Handle threading through a joiner block. | |
637c11bd | 3136 | |
ee460e75 MJ |
3137 | 2011-06-16 Martin Jambor <mjambor@suse.cz> |
3138 | ||
3139 | PR tree-optimization/49343 | |
3140 | * tree-sra.c (build_ref_for_model): Use component_ref_field_offset to | |
3141 | calculate offset, provide 2nd operand for the new COMPONENT_REF. | |
3142 | ||
a285ba2e IS |
3143 | 2011-06-16 Iain Sandoe <iains@gcc.gnu.org> |
3144 | ||
3145 | * config/darwin-protos.h (machopic_select_rtx_section): Move to | |
3146 | inside RTX_CODE ifdef. | |
3147 | ||
0703f020 TV |
3148 | 2011-06-16 Tom de Vries <tom@codesourcery.com> |
3149 | ||
3150 | PR target/45098 | |
637c11bd UB |
3151 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): |
3152 | Disallow NULL pointer for pointer arithmetic. | |
0703f020 | 3153 | |
900c07da RR |
3154 | 2011-06-16 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
3155 | ||
3156 | PR target/49398 | |
3157 | Revert. | |
3158 | 2011-06-10 Wei Guozhi <carrot@google.com> | |
3159 | ||
3160 | PR target/45335 | |
3161 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
3162 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
3163 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
3164 | related peephole2. | |
3165 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
3166 | related peephole2. | |
3167 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
3168 | (arm_legitimate_ldrd_p): New prototype. | |
3169 | (arm_output_ldrd): New prototype. | |
3170 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
3171 | (arm_legitimate_ldrd_p): New function. | |
3172 | (arm_output_ldrd): New function. | |
3173 | ||
c020c92b | 3174 | 2011-06-16 Joern Rennecke <joern.rennecke@embecosm.com> |
d5cc9181 JR |
3175 | |
3176 | PR middle-end/46500 | |
3177 | * doc/tm.texi.in: Update Copyright date. | |
3178 | * doc/tm.texi: Regenerate. | |
3179 | * targhooks.c (default_setup_incoming_varargs): Replace | |
3180 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
3181 | (default_pretend_outgoing_varargs_named): Likewise. | |
3182 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
3183 | (hook_callee_copies_named): Likewise. | |
3184 | (default_function_arg_advance): Likewise. | |
3185 | (default_function_arg): Likewise. | |
3186 | (default_function_incoming_arg): Likewise. | |
3187 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
3188 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
3189 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
3190 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
3191 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
3192 | * targhooks.h (default_setup_incoming_varargs): Likewise. | |
3193 | (default_pretend_outgoing_varargs_named): Likewise. | |
3194 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
3195 | (hook_callee_copies_named): Likewise. | |
3196 | (default_function_arg_advance): Likewise. | |
3197 | (default_function_arg): Likewise. | |
3198 | (default_function_incoming_arg): Likewise. | |
3199 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
3200 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
3201 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
3202 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
3203 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
3204 | * target.def (pass_by_reference): Likewise. | |
3205 | (setup_incoming_varargs, strict_argument_naming): Likewise. | |
3206 | (pretend_outgoing_varargs_named, callee_copies): Likewise. | |
3207 | (arg_partial_bytes, function_arg_advance, function_arg): Likewise. | |
3208 | (function_incoming_arg): Likewise. | |
3209 | * target.h: Don't include "tm.h" . | |
3210 | (cumulative_args_t): New typedef. | |
3211 | [GCC_TM_H] (get_cumulative_args): New static inline function. | |
3212 | [GCC_TM_H] (pack_cumulative_args): Likewise. | |
3213 | * config/alpha/alpha.c (alpha_function_arg): Replace CUMULATIVE_ARGS* | |
3214 | argument type with cumulative_args_t. | |
3215 | (alpha_function_arg_advance, alpha_arg_partial_bytes): Likewise. | |
3216 | (alpha_pass_by_reference, alpha_setup_incoming_varargs): Likewise. | |
3217 | * config/frv/frv.c (frv_setup_incoming_varargs): Likewise. | |
3218 | (frv_arg_partial_bytes, frv_function_arg): Likewise. | |
3219 | (frv_function_incoming_arg, frv_function_arg_advance): Likewise. | |
3220 | (frv_function_arg_1): Likewise. | |
3221 | * config/s390/s390.c (s390_pass_by_reference): Likewise. | |
3222 | (s390_function_arg_advance, s390_function_arg): Likewise. | |
3223 | * config/m32c/m32c.c (m32c_function_arg): Likewise. | |
3224 | (m32c_pass_by_reference, m32c_function_arg_advance): Likewise. | |
3225 | (m32c_strict_argument_naming): Likewise. | |
3226 | * config/spu/spu.c (spu_pass_by_reference, spu_function_arg): Likewise. | |
3227 | (spu_function_arg_advance): Likewise. | |
3228 | (spu_setup_incoming_varargs): Likewise. Make static. | |
3229 | * config/spu/spu-protos.h (spu_setup_incoming_varargs): | |
3230 | Remove prototype. | |
3231 | * config/sparc/sparc.c (sparc_strict_argument_naming): Replace | |
3232 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
3233 | (sparc_pass_by_reference, sparc_function_arg_advance): Likewise. | |
3234 | (sparc_function_arg, sparc_function_incoming_arg): Likewise. | |
3235 | (sparc_arg_partial_bytes, sparc_function_arg_1): Likewise. | |
3236 | * config/mep/mep.c (mep_setup_incoming_varargs): Likewise. | |
3237 | (mep_pass_by_reference, mep_function_arg): Likewise. | |
3238 | (mep_function_arg_advance): Likewise. | |
3239 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. | |
3240 | (m32r_pass_by_reference, m32r_arg_partial_bytes): Likewise. | |
3241 | (m32r_function_arg, m32r_function_arg_advance): Likewise. | |
3242 | * config/rx/rx.c (rx_function_arg, rx_function_arg_advance): Likewise. | |
3243 | * config/i386/i386.c (ix86_function_arg_advance): Likewise. | |
3244 | (ix86_function_arg, ix86_pass_by_reference): Likewise. | |
3245 | (ix86_setup_incoming_varargs): Likewise. | |
3246 | * config/sh/sh.c (sh_setup_incoming_varargs): Likewise. | |
3247 | (sh_strict_argument_naming): Likewise. | |
3248 | (sh_pretend_outgoing_varargs_named, sh_pass_by_reference): Likewise. | |
3249 | (sh_callee_copies, sh_arg_partial_bytes): Likewise. | |
3250 | (sh_function_arg_advance, sh_function_arg): Likewise. | |
3251 | * config/pdp11/pdp11.c (pdp11_function_arg): Likewise. | |
3252 | (pdp11_function_arg_advance): Likewise. | |
3253 | * config/microblaze/microblaze.c (microblaze_function_arg_advance): | |
3254 | Likewise. | |
3255 | (microblaze_function_arg, function_arg_partial_bytes): Likewise. | |
3256 | * config/avr/avr.c (avr_function_arg): Likewise. | |
3257 | (avr_function_arg_advance): Likewise. | |
3258 | * config/xtensa/xtensa.c (xtensa_function_arg_advance): Likewise. | |
3259 | (xtensa_function_arg, xtensa_function_incoming_arg): Likewise. | |
3260 | (xtensa_function_arg_1): Likewise. | |
637c11bd UB |
3261 | * config/stormy16/stormy16.c (xstormy16_function_arg_advance): |
3262 | Likewise. | |
d5cc9181 JR |
3263 | (xstormy16_function_arg): Likewise. |
3264 | * config/fr30/fr30.c (fr30_setup_incoming_varargs): Likewise. | |
3265 | (fr30_arg_partial_bytes, fr30_function_arg): Likewise. | |
3266 | (fr30_function_arg_advance): Likewise. | |
3267 | * config/lm32/lm32.c (lm32_setup_incoming_varargs): Likewise. | |
3268 | (lm32_function_arg, lm32_function_arg_advance): Likewise. | |
3269 | * config/moxie/moxie.c (moxie_setup_incoming_varargs): Likewise. | |
3270 | (moxie_function_arg, moxie_function_arg_advance): Likewise. | |
3271 | (moxie_pass_by_reference, moxie_arg_partial_bytes): Likewise. | |
3272 | * config/cris/cris.c (cris_setup_incoming_varargs): Likewise. | |
3273 | (cris_pass_by_reference, cris_arg_partial_bytes): Likewise. | |
3274 | (cris_function_arg, cris_function_incoming_arg): Likewise. | |
3275 | (cris_function_arg_advance, cris_function_arg_1): Likewise. | |
3276 | * config/iq2000/iq2000.c (iq2000_setup_incoming_varargs): Likewise. | |
3277 | (iq2000_pass_by_reference, iq2000_arg_partial_bytes): Likewise. | |
3278 | (iq2000_function_arg, iq2000_function_arg_advance): Likewise. | |
3279 | * config/mn10300/mn10300.c (mn10300_pass_by_reference): Likewise. | |
3280 | (mn10300_function_arg, mn10300_function_arg_advance): Likewise. | |
3281 | (mn10300_arg_partial_bytes): Likewise. | |
3282 | * config/ia64/ia64.c (ia64_setup_incoming_varargs): Likewise. | |
3283 | (ia64_arg_partial_bytes, ia64_function_arg): Likewise. | |
3284 | (ia64_function_incoming_arg, ia64_function_arg_advance): Likewise. | |
3285 | (ia64_function_arg_1): Likewise. | |
3286 | * config/m68k/m68k.c (m68k_function_arg_advance): Likewise. | |
3287 | (m68k_function_arg): Likewise. | |
3288 | * config/rs6000/rs6000.c (rs6000_function_arg_advance): Likewise. | |
3289 | (rs6000_function_arg, setup_incoming_varargs): Likewise. | |
3290 | (rs6000_pass_by_reference, rs6000_arg_partial_bytes): Likewise. | |
3291 | * config/picochip/picochip.c (picochip_arg_partial_bytes): Likewise. | |
3292 | (picochip_function_arg, picochip_incoming_function_arg): Likewise. | |
3293 | (picochip_arg_advance): Likewise. | |
3294 | * config/mcore/mcore.c (mcore_setup_incoming_varargs): Likewise. | |
3295 | (mcore_arg_partial_bytes, mcore_function_arg): Likewise. | |
3296 | (mcore_function_arg_advance): Likewise. | |
3297 | * config/score/score.c (score_pass_by_reference): Likewise. | |
3298 | (score_function_arg_advance): Likewise. | |
3299 | (score_arg_partial_bytes): Likewise. Make static. | |
3300 | * config/score/score-protos.h (score_arg_partial_bytes): Don't declare. | |
3301 | * config/arm/arm.c (arm_arg_partial_bytes): Replace | |
3302 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
3303 | (arm_function_arg, arm_function_arg_advance): Likewise. | |
3304 | (arm_setup_incoming_varargs, arm_pass_by_reference): Likewise. | |
3305 | * config/pa/pa.c (pa_pass_by_reference): Likewise. | |
3306 | (pa_arg_partial_bytes, pa_function_arg_advance): Likewise. | |
3307 | (pa_function_arg): Likewise. | |
3308 | * config/mips/mips.c (mips_strict_argument_naming): Likewise. | |
3309 | (mips_function_arg, mips_function_arg_advance): Likewise. | |
3310 | (mips_arg_partial_bytes, mips_pass_by_reference): Likewise. | |
3311 | (mips_callee_copies, mips_setup_incoming_varargs): Likewise. | |
3312 | * config/vax/vax.c (vax_function_arg): Likewise. | |
3313 | (vax_function_arg_advance): Likewise. | |
3314 | * config/h8300/h8300.c (h8300_function_arg): Likewise. | |
3315 | (h8300_function_arg_advance): Likewise. | |
3316 | * config/v850/v850.c (v850_pass_by_reference): Likewise. | |
3317 | (v850_strict_argument_naming, v850_function_arg): Likewise. | |
3318 | (v850_arg_partial_bytes, v850_function_arg_advance): Likewise. | |
3319 | (v850_setup_incoming_varargs): Likewise. | |
3320 | * config/mmix/mmix.c (mmix_setup_incoming_varargs): Likewise. | |
3321 | (mmix_function_arg_advance, mmix_function_incoming_arg): Likewise. | |
3322 | (mmix_function_arg, mmix_pass_by_reference): Likewise. | |
3323 | (mmix_function_arg_1): Replace const CUMULATIVE_ARGS* argument type | |
3324 | with const void *. | |
3325 | * config/bfin/bfin.c (setup_incoming_varargs): Replace | |
3326 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
3327 | (bfin_function_arg_advance, bfin_function_arg): Likewise. | |
3328 | (bfin_arg_partial_bytes, bfin_pass_by_reference): Likewise. | |
3329 | * calls.c (emit_call_1): Change type of args_so_far to | |
3330 | cumulative_args_t. Changed all callers. | |
3331 | (initialize_argument_information): Likewise. | |
3332 | (expand_call, emit_library_call_value_1): Use pack_cumulative_args. | |
3333 | * dse.c (get_call_args): Likewise. | |
3334 | * expr.c (block_move_libcall_safe_for_call_parm): Likewise. | |
3335 | * function.c (pass_by_reference, reference_callee_copied): Likewise. | |
3336 | (struct assign_parm_data_all): Rename args_so_far to args_so_far_v. | |
3337 | New member args_so_far_v. Changed all users. | |
3338 | * var-tracking.c (prepare_call_arguments): Use pack_cumulative_args. | |
3339 | * config/iq2000/iq2000.c (iq2000_expand_prologue): Likewise. | |
3340 | * config/mips/mips.c (mips_output_args_xfer): Likewise. | |
3341 | * config/s390/s390.c (s390_call_saved_register_used): Likewise. | |
3342 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
637c11bd UB |
3343 | * config/microblaze/microblaze.c (microblaze_expand_prologue): |
3344 | Likewise. | |
d5cc9181 JR |
3345 | * config/m32r/m32r.c (m32r_return_in_memory): Adjust for changed |
3346 | m32r_pass_by_reference. | |
3347 | ||
51312233 IR |
3348 | 2011-06-16 Ira Rosen <ira.rosen@linaro.org> |
3349 | ||
3350 | * tree-vectorizer.h (vect_recog_func_ptr): Change the first | |
3351 | argument to be a VEC of statements. | |
637c11bd UB |
3352 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove the |
3353 | assert that pattern statements have to have their vector type set. | |
51312233 IR |
3354 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern): |
3355 | Change the first argument to be a VEC of statements. Update | |
3356 | documentation. | |
3357 | (vect_recog_dot_prod_pattern, vect_recog_pow_pattern): Likewise. | |
3358 | (vect_handle_widen_mult_by_const): New function. | |
637c11bd UB |
3359 | (vect_recog_widen_mult_pattern): Change the first argument to be a |
3360 | VEC of statements. Update documentation. Check that the constant is | |
3361 | INTEGER_CST. Support multiplication by a constant that fits an | |
3362 | intermediate type - call vect_handle_widen_mult_by_const. | |
51312233 IR |
3363 | (vect_pattern_recog_1): Update vect_recog_func_ptr and its |
3364 | call. Handle additional pattern statements if necessary. | |
3365 | ||
fd4df33d NC |
3366 | 2011-06-16 Nick Clifton <nickc@redhat.com> |
3367 | ||
3368 | PR target/49427 | |
3369 | * config.gcc: Set cpu_type to v850 for any V850 architecture. | |
3370 | (v850*-*-*): Delete explicit setting of tm_p_file, tmake_file, | |
3371 | md_file, extra_modes, out_file and extra_options are these are all | |
3372 | deduced from cpu_type. | |
3373 | ||
fbd05da0 GJL |
3374 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
3375 | ||
3376 | * config/avr/libgcc.S (__ashldi3, __ashrdi3, __lshrdi3): Set shift | |
3377 | truncation mask to 63. | |
3378 | ||
0ad8bb3b GJL |
3379 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
3380 | ||
3381 | PR target/49313 | |
3382 | PR target/29524 | |
3383 | * longlong.h: Add AVR support: | |
3384 | (count_leading_zeros): New macro. | |
3385 | (count_trailing_zeros): New macro. | |
3386 | (COUNT_LEADING_ZEROS_0): New macro. | |
637c11bd UB |
3387 | * config/avr/t-avr (LIB1ASMFUNCS): Add _ffssi2, _ffshi2, _loop_ffsqi2, |
3388 | _ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2, _paritydi2, _paritysi2, | |
3389 | _parityhi2, _popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2, | |
3390 | _bswapsi2, _bswapdi2, _ashldi3, _ashrdi3, _lshrdi3. | |
0ad8bb3b GJL |
3391 | (LIB2FUNCS_EXCLUDE): Add _clz. |
3392 | * config/avr/libgcc.S (XCALL): Move up in file. | |
3393 | (XJMP): New C Macro. | |
3394 | (DEFUN): New asm macro. | |
3395 | (ENDF): New asm macro. | |
3396 | (__ffssi2): New function. | |
3397 | (__ffshi2): New function. | |
3398 | (__loop_ffsqi2): New function. | |
3399 | (__ctzsi2): New function. | |
3400 | (__ctzhi2): New function. | |
3401 | (__clzdi2): New function. | |
3402 | (__clzsi2): New function. | |
3403 | (__clzhi2): New function. | |
3404 | (__paritydi2): New function. | |
3405 | (__paritysi2): New function. | |
3406 | (__parityhi2): New function. | |
59c1e10b | 3407 | (__parityqi2): New function. |
0ad8bb3b GJL |
3408 | (__popcounthi2): New function. |
3409 | (__popcountsi2): New function. | |
3410 | (__popcountdi2): New function. | |
3411 | (__popcountqi2): New function. | |
3412 | (__bswapsi2): New function. | |
3413 | (__bswapdi2): New function. | |
3414 | (__ashldi3): New function. | |
3415 | (__ashrdi3): New function. | |
3416 | (__lshrdi3): New function. | |
3417 | Fix suspicous lines. | |
3418 | ||
12430896 RG |
3419 | 2011-06-16 Richard Guenther <rguenther@suse.de> |
3420 | ||
3421 | * gimple.c (canonicalize_cond_expr_cond): (bool)x is not | |
3422 | the same as x != 0. | |
637c11bd UB |
3423 | * fold-const.c (fold_binary_loc): Do not fold X & 1 != 0 |
3424 | to (bool) X & 1. | |
12430896 RG |
3425 | * ipa-prop.c (ipa_analyze_indirect_call_uses): Also allow |
3426 | equality compares against zero for the lower bit. | |
3427 | ||
09302442 JJ |
3428 | 2011-06-16 Jakub Jelinek <jakub@redhat.com> |
3429 | ||
3430 | PR tree-optimization/49419 | |
3431 | * tree-vrp.c (execute_vrp): Call init_range_assertions | |
3432 | before estimate_numbers_of_iterations, call | |
3433 | free_number_of_iterations_estimates before calling | |
3434 | remove_range_assertions. | |
3435 | ||
81c41166 RE |
3436 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
3437 | ||
3438 | * modulo-sched.c (struct ps_insn): Remove row_rest_count field. | |
3439 | (struct partial_schedule): Add rows_length field. | |
3440 | (verify_partial_schedule): Check rows_length. | |
3441 | (ps_insert_empty_row): Handle rows_length. | |
3442 | (create_partial_schedule): Likewise. | |
3443 | (free_partial_schedule): Likewise. | |
3444 | (reset_partial_schedule): Likewise. | |
3445 | (create_ps_insn): Remove rest_count argument. | |
3446 | (remove_node_from_ps): Update rows_length. | |
3447 | (add_node_to_ps): Update rows_length and call create_ps_insn | |
3448 | without passing row_rest_count. | |
3449 | (rotate_partial_schedule): Update rows_length. | |
3450 | ||
d24dc7b3 RE |
3451 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
3452 | ||
3453 | * ddg.c (add_intra_loop_mem_dep): New function. | |
3454 | (build_intra_loop_deps): Call it. | |
3455 | ||
361b51c0 | 3456 | 2011-06-13 Jeff Law <law@redhat.com> |
2098e438 JL |
3457 | |
3458 | * df-problems.c (df_lr_local_compute): Manually CSE | |
3459 | PIC_OFFSET_TABLE_REGNUM. | |
3460 | * df-scan.c (df_get_regular_block_artificial_uses): Likewise. | |
3461 | (df_get_entry_block_def_set, df_get_exit_block_use_set): Likewise. | |
3462 | ||
85ce9375 JH |
3463 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3464 | ||
3465 | * cgraphunit.c (handle_alias_pairs): New function. | |
3466 | (cgraph_finalize_compilation_unit): Use it. | |
3467 | * ipa.c (cgraph_externally_visible_p): Remove hack marking asm names | |
3468 | as externally visible. | |
3469 | ||
a577c405 RG |
3470 | 2011-06-15 Richard Guenther <rguenther@suse.de> |
3471 | ||
3472 | * expr.c (expand_expr_real_2): Reduce all integral types to | |
3473 | bitfield precision. | |
3474 | (expand_expr_real_1): Likewise. | |
3475 | ||
93536c97 MJ |
3476 | 2011-06-15 Martin Jambor <mjambor@suse.cz> |
3477 | ||
3478 | PR tree-optimization/48613 | |
3479 | * ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if | |
3480 | ipa_node_params_vector is NULL. | |
fd4df33d | 3481 | |
ba45cfc4 JJ |
3482 | 2011-06-15 Jakub Jelinek <jakub@redhat.com> |
3483 | ||
3484 | PR debug/49382 | |
3485 | * dwarf2out.c (dw_loc_list_node): Add force field. | |
637c11bd UB |
3486 | (add_var_loc_to_decl): For PARM_DECL, attempt to keep the incoming |
3487 | location in the list, even if it is modified before first real insn. | |
ba45cfc4 | 3488 | (output_loc_list): Emit empty ranges with force flag set. |
637c11bd | 3489 | (dw_loc_list): If first range of a PARM_DECL is empty, set force flag. |
ba45cfc4 | 3490 | |
6fc5966f AM |
3491 | 2011-06-15 Alexander Monakov <amonakov@ispras.ru> |
3492 | ||
3493 | PR target/49349 | |
3494 | * sel-sched.c (find_place_for_bookkeeping): Add new parameter | |
3495 | (fence_to_rewind). Use it to notice when bookkeeping will be placed | |
3496 | above a fence. Update comments. | |
3497 | (generate_bookkeeping_insn): Rewind fence when bookkeeping code is | |
3498 | placed just above it. Do not allow NULL place_to_insert. | |
3499 | ||
9d5e7640 IR |
3500 | 2011-06-15 Ira Rosen <ira.rosen@linaro.org> |
3501 | ||
3502 | * tree-vect-loop-manip.c (remove_dead_stmts_from_loop): Remove. | |
3503 | (slpeel_tree_peel_loop_to_edge): Don't call | |
3504 | remove_dead_stmts_from_loop. | |
3505 | * tree-vect-loop.c (vect_determine_vectorization_factor): Don't | |
3506 | remove irrelevant pattern statements. For irrelevant statements | |
3507 | check if it is the last statement of a detected pattern, use | |
3508 | corresponding pattern statement instead. | |
3509 | (destroy_loop_vec_info): No need to remove pattern statements, | |
3510 | only free stmt_vec_info. | |
3511 | (vect_transform_loop): For irrelevant statements check if it is | |
3512 | the last statement of a detected pattern, use corresponding | |
3513 | pattern statement instead. | |
3514 | * tree-vect-patterns.c (vect_pattern_recog_1): Don't insert | |
3515 | pattern statements. Set basic block for the new statement. | |
3516 | (vect_pattern_recog): Update documentation. | |
3517 | * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Scan | |
3518 | operands of pattern statements. | |
3519 | (vectorizable_call): Fix printing. In case of a pattern statement | |
3520 | use the lhs of the original statement when creating a dummy | |
3521 | statement to replace the original call. | |
3522 | (vect_analyze_stmt): For irrelevant statements check if it is | |
3523 | the last statement of a detected pattern, use corresponding | |
3524 | pattern statement instead. | |
3525 | * tree-vect-slp.c (vect_schedule_slp_instance): For pattern | |
3526 | statements use gsi of the original statement. | |
3527 | ||
677f3fa8 JM |
3528 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
3529 | ||
3530 | * target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to | |
3531 | common/common-target-def.h. | |
3532 | * target.def (default_target_flags, handle_option, | |
3533 | supports_split_stack, optimization_table, init_struct, | |
3534 | except_unwind_info, unwind_tables_default, have_named_sections): | |
3535 | Move to common/common-target.def. | |
3536 | * target.h (enum opt_levels, struct default_options): Move to | |
3537 | common/common-target.h. | |
3538 | * targhooks.c (default_except_unwind_info, | |
3539 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
3540 | default_target_handle_option, empty_optimization_table): Move to | |
3541 | common/common-targhooks.c. | |
3542 | * targhooks.h (default_except_unwind_info, | |
3543 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
3544 | default_target_handle_option, empty_optimization_table): Move to | |
3545 | common/common-targhooks.h. | |
3546 | * common/common-target-def.h: Include common/common-targhooks.h. | |
3547 | (TARGET_HAVE_NAMED_SECTIONS): Define if TARGET_ASM_NAMED_SECTION | |
3548 | defined. | |
3549 | * common/common-target.def (handle_option, option_init_struct, | |
3550 | option_optimization_table, default_target_flags, | |
3551 | except_unwind_info, supports_split_stack, unwind_tables_default, | |
3552 | have_named_sections): Move from target.def. | |
3553 | (HOOK_PREFIX): Undefine at end of file. | |
3554 | * common/common-target.h: Include input.h. | |
3555 | (enum opt_levels, struct default_options): Move from target.h. | |
3556 | * common/common-targhooks.c, common/common-targhooks.h: New. | |
3557 | * config.gcc (target_has_targetm_common): Default to yes. | |
3558 | (moxie*): Set target_has_targetm_common=no. | |
3559 | (hppa*-*-*): Don't set target_has_targetm_common=yes. | |
3560 | * doc/tm.texi: Regenerate. | |
3561 | * Makefile.in (COMMON_TARGET_H): Add $(INPUT_H). | |
3562 | (C_TARGET_DEF_H): Add common/common-targhooks.h. | |
3563 | (GCC_OBJS): Remove vec.o. | |
3564 | (OBJS): Remove hooks.o and vec.o. | |
3565 | (OBJS-libcommon-target): Add vec.o, hooks.o and | |
3566 | common/common-targhooks.o. | |
3567 | (c-family/c-common.o, c-family/c-cppbuiltin.o, lto-opts.o, tree.o, | |
3568 | tree-tailcall.o, opts.o, toplev.o, varasm.o, function.o, except.o, | |
3569 | expr.o, explow.o, dbxout.o, dwarf2out.o, cfgrtl.o, haifa-sched.o, | |
3570 | cfglayout.o, $(out_object_file), $(common_out_object_file)): | |
3571 | Update dependencies. | |
3572 | (common/common-targhooks.o): New. | |
637c11bd | 3573 | * common/config/default-common.c: Include tm.h. Add FIXME comment. |
677f3fa8 JM |
3574 | * common/config/pa/pa-common.c: Include more headers. Take |
3575 | copyright dates from pa.c. | |
3576 | (pa_option_optimization_table, pa_handle_option, | |
3577 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS, | |
3578 | TARGET_HANDLE_OPTION): Move from pa.c. | |
3579 | * common/config/alpha/alpha-common.c, | |
3580 | common/config/arm/arm-common.c, common/config/avr/avr-common.c, | |
3581 | common/config/bfin/bfin-common.c, | |
3582 | common/config/cris/cris-common.c, | |
3583 | common/config/fr30/fr30-common.c, common/config/frv/frv-common.c, | |
3584 | common/config/h8300/h8300-common.c, | |
3585 | common/config/i386/i386-common.c, | |
3586 | common/config/ia64/ia64-common.c, | |
3587 | common/config/iq2000/iq2000-common.c, | |
3588 | common/config/lm32/lm32-common.c, | |
3589 | common/config/m32c/m32c-common.c, | |
3590 | common/config/m32r/m32r-common.c, | |
3591 | common/config/m68k/m68k-common.c, | |
3592 | common/config/mcore/mcore-common.c, | |
3593 | common/config/mep/mep-common.c, | |
3594 | common/config/microblaze/microblaze-common.c, | |
3595 | common/config/mips/mips-common.c, | |
3596 | common/config/mmix/mmix-common.c, | |
3597 | common/config/mn10300/mn10300-common.c, | |
3598 | common/config/pdp11/pdp11-common.c, | |
3599 | common/config/picochip/picochip-common.c, | |
3600 | common/config/rs6000/rs6000-common.c, | |
3601 | common/config/rx/rx-common.c, common/config/s390/s390-common.c, | |
3602 | common/config/score/score-common.c, common/config/sh/sh-common.c, | |
3603 | common/config/sparc/sparc-common.c, | |
3604 | common/config/spu/spu-common.c, common/config/v850/v850-common.c, | |
3605 | common/config/vax/vax-common.c, | |
3606 | common/config/xstormy16/xstormy16-common.c, | |
3607 | common/config/xtensa/xtensa-common.c: New. | |
3608 | * config/alpha/alpha.c: Include common/common-target.h. | |
3609 | (alpha_option_optimization_table, alpha_handle_option, | |
3610 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3611 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to alpha-common.c. | |
3612 | * config/arm/arm-protos.h (arm_except_unwind_info): Declare. | |
3613 | * config/arm/arm.c (arm_option_optimization_table, | |
3614 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3615 | TARGET_EXCEPT_UNWIND_INFO, arm_except_unwind_info): Move to | |
3616 | arm-common.c. | |
3617 | * config/avr/avr.c (avr_option_optimization_table, | |
3618 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
3619 | to avr-common.c. | |
3620 | * config/bfin/bfin.c (struct bfin_cpu): Move to bfin.h. | |
3621 | (bfin_cpus, bfin_handle_option, TARGET_HANDLE_OPTION, | |
3622 | TARGET_DEFAULT_TARGET_FLAGS): Move to bfin-common.c. | |
3623 | * config/bfin/bfin.h struct bfin_cpu): Move from bfin.c. | |
3624 | * config/cris/cris.c (cris_option_optimization_table, | |
3625 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3626 | TARGET_OPTION_OPTIMIZATION_TABLE, cris_handle_option): Move to | |
3627 | cris-common.c. | |
3628 | * config/fr30/fr30.c (fr30_option_optimization_table, | |
3629 | TARGET_EXCEPT_UNWIND_INFO, TARGET_OPTION_OPTIMIZATION_TABLE): Move | |
3630 | to fr30-common.c. | |
3631 | * config/frv/frv.c (frv_option_optimization_table, | |
3632 | MASK_DEFAULT_ALLOC_CC, TARGET_DEFAULT_TARGET_FLAGS, | |
3633 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to frv-common.c. | |
3634 | * config/h8300/h8300.c (h8300_option_optimization_table, | |
3635 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3636 | TARGET_EXCEPT_UNWIND_INFO): Move to h8300-common.c. | |
3637 | * config/i386/i386-protos.h (ix86_handle_option): Declare. | |
3638 | * config/i386/i386.c: Include common/common-target.h. | |
3639 | (OPTION_MASK_ISA_MMX_SET, OPTION_MASK_ISA_3DNOW_SET, | |
3640 | OPTION_MASK_ISA_SSE_SET, OPTION_MASK_ISA_SSE2_SET, | |
3641 | OPTION_MASK_ISA_SSE3_SET, OPTION_MASK_ISA_SSSE3_SET, | |
3642 | OPTION_MASK_ISA_SSE4_1_SET, OPTION_MASK_ISA_SSE4_2_SET, | |
3643 | OPTION_MASK_ISA_AVX_SET, OPTION_MASK_ISA_FMA_SET, | |
3644 | OPTION_MASK_ISA_SSE4_SET, OPTION_MASK_ISA_SSE4A_SET, | |
3645 | OPTION_MASK_ISA_FMA4_SET, OPTION_MASK_ISA_XOP_SET, | |
3646 | OPTION_MASK_ISA_LWP_SET, OPTION_MASK_ISA_AES_SET, | |
3647 | OPTION_MASK_ISA_PCLMUL_SET, OPTION_MASK_ISA_ABM_SET, | |
3648 | OPTION_MASK_ISA_BMI_SET, OPTION_MASK_ISA_TBM_SET, | |
3649 | OPTION_MASK_ISA_POPCNT_SET, OPTION_MASK_ISA_CX16_SET, | |
3650 | OPTION_MASK_ISA_SAHF_SET, OPTION_MASK_ISA_MOVBE_SET, | |
3651 | OPTION_MASK_ISA_CRC32_SET, OPTION_MASK_ISA_FSGSBASE_SET, | |
3652 | OPTION_MASK_ISA_RDRND_SET, OPTION_MASK_ISA_F16C_SET, | |
3653 | OPTION_MASK_ISA_MMX_UNSET, OPTION_MASK_ISA_3DNOW_UNSET, | |
3654 | OPTION_MASK_ISA_3DNOW_A_UNSET, OPTION_MASK_ISA_SSE_UNSET, | |
3655 | OPTION_MASK_ISA_SSE2_UNSET, OPTION_MASK_ISA_SSE3_UNSET, | |
3656 | OPTION_MASK_ISA_SSSE3_UNSET, OPTION_MASK_ISA_SSE4_1_UNSET, | |
3657 | OPTION_MASK_ISA_SSE4_2_UNSET, OPTION_MASK_ISA_AVX_UNSET, | |
3658 | OPTION_MASK_ISA_FMA_UNSET, OPTION_MASK_ISA_SSE4_UNSET, | |
3659 | OPTION_MASK_ISA_SSE4A_UNSET, OPTION_MASK_ISA_FMA4_UNSET, | |
3660 | OPTION_MASK_ISA_XOP_UNSET, OPTION_MASK_ISA_LWP_UNSET, | |
3661 | OPTION_MASK_ISA_AES_UNSET, OPTION_MASK_ISA_PCLMUL_UNSET, | |
3662 | OPTION_MASK_ISA_ABM_UNSET, OPTION_MASK_ISA_BMI_UNSET, | |
3663 | OPTION_MASK_ISA_TBM_UNSET, OPTION_MASK_ISA_POPCNT_UNSET, | |
3664 | OPTION_MASK_ISA_CX16_UNSET, OPTION_MASK_ISA_SAHF_UNSET, | |
3665 | OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_CRC32_UNSET, | |
3666 | OPTION_MASK_ISA_FSGSBASE_UNSET, OPTION_MASK_ISA_RDRND_UNSET, | |
3667 | OPTION_MASK_ISA_F16C_UNSET, ix86_handle_option, | |
3668 | ix86_option_optimization_table, ix86_option_init_struct, | |
3669 | ix86_supports_split_stack, TARGET_DEFAULT_TARGET_FLAGS, | |
3670 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3671 | TARGET_OPTION_INIT_STRUCT, TARGET_SUPPORTS_SPLIT_STACK): Move to | |
3672 | i386-common.c. | |
3673 | * config/i386/t-i386 (i386.o): Update dependencies. | |
3674 | * config/ia64/ia64-protos.h (ia64_except_unwind_info): Declare. | |
3675 | * config/ia64/ia64.c (ia64_option_optimization_table, | |
3676 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
3677 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3678 | ia64_handle_option): Move to ia64-common.c. | |
3679 | * config/iq2000/iq2000.c (iq2000_option_optimization_table, | |
3680 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to iq2000-common.c. | |
3681 | * config/lm32/lm32.c (lm32_option_optimization_table, | |
3682 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
3683 | to lm32-common.c. | |
3684 | * config/m32c/m32c.c (TARGET_HAVE_NAMED_SECTIONS): Move to | |
3685 | m32c-common.c. | |
3686 | * config/m32r/m32r.c (m32r_option_optimization_table, | |
3687 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3688 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
3689 | m32r_handle_option): Move to m32r-common.c. | |
3690 | (m32r_memory_move_cost): Remove comment referring to | |
3691 | TARGET_HANDLE_OPTION. | |
3692 | * config/m68k/m68k.c (TARGET_HANDLE_OPTION, m68k_handle_option): | |
3693 | Move to m68k-common.c. | |
3694 | * config/mcore/mcore.c (mcore_option_optimization_table, | |
3695 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3696 | TARGET_EXCEPT_UNWIND_INFO): Move to mcore-common.c. | |
3697 | * config/mep/mep.c (mep_option_optimization_table, | |
3698 | mep_handle_option, TARGET_HANDLE_OPTION, | |
3699 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS): | |
3700 | Move to mep-common.c. | |
3701 | * config/microblaze/microblaze.c | |
3702 | (microblaze_option_optimization_table, | |
3703 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3704 | TARGET_EXCEPT_UNWIND_INFO): Move to microblaze-common.c. | |
3705 | * config/mips/mips.c (mips_handle_option, | |
3706 | mips_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3707 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Move to | |
3708 | mips-common.c. | |
3709 | * config/mmix/mmix.c (mmix_option_optimization_table, | |
3710 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
3711 | Move to mmix-common.c. | |
3712 | * config/mn10300/mn10300.c (mn10300_option_optimization_table, | |
3713 | mn10300_handle_option, TARGET_EXCEPT_UNWIND_INFO, | |
3714 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3715 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to mn10300-common.c. | |
3716 | * config/pa/pa.c: Include common/common-target.h. | |
3717 | (pa_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3718 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3719 | pa_handle_option): Move to pa-common.c. | |
3720 | (pa_option_override): Use targetm_common.except_unwind_info. | |
3721 | (pa_asm_output_mi_thunk, pa_function_section): Use | |
3722 | targetm_common.have_named_sections. | |
3723 | * config/pdp11/pdp11.c (pdp11_option_optimization_table, | |
3724 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3725 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
3726 | pdp11_handle_option, pdp11_option_init_struct): Move to | |
3727 | pdp11-common.c. | |
3728 | * config/picochip/picochip.c (picochip_option_optimization_table, | |
3729 | TARGET_HAVE_NAMED_SECTIONS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3730 | TARGET_EXCEPT_UNWIND_INFO): Move to picochip-common.c. | |
3731 | * config/rs6000/rs6000.c: Include common/common-target.h. | |
3732 | (rs6000_option_optimization_table, TARGET_HANDLE_OPTION, | |
3733 | TARGET_OPTION_INIT_STRUCT, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3734 | TARGET_DEFAULT_TARGET_FLAGS, rs6000_option_init_struct, | |
3735 | rs6000_handle_option): Move to rs6000-common.c. | |
3736 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
3737 | * config/rx/rx.c (rx_handle_option, rx_option_optimization_table, | |
3738 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3739 | TARGET_EXCEPT_UNWIND_INFO): Move to rx-common.c. | |
3740 | * config/s390/s390.c (processor_flags_table, | |
3741 | s390_option_optimization_table, s390_option_init_struct, | |
3742 | s390_handle_option, TARGET_DEFAULT_TARGET_FLAGS, | |
3743 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3744 | TARGET_OPTION_INIT_STRUCT): Move to s390-common.c. | |
3745 | * config/s390/s390.h (processor_flags_table): Declare. | |
3746 | * config/score/score.c (score_option_optimization_table, | |
3747 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3748 | TARGET_OPTION_OPTIMIZATION_TABLE, MASK_ALL_CPU_BITS, | |
3749 | score_handle_option): Move to score-common.c. | |
3750 | * config/sh/sh.c (sh_option_optimization_table, | |
3751 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
3752 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3753 | sh_handle_option, sh_option_init_struct): Move to sh-common.c. | |
3754 | * config/sparc/sparc.c: Include common/common-target.h. | |
3755 | (sparc_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
3756 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to sparc-common.c. | |
3757 | * config/spu/spu.c (TARGET_DEFAULT_TARGET_FLAGS, | |
3758 | TARGET_OPTION_INIT_STRUCT, TARGET_EXCEPT_UNWIND_INFO, | |
3759 | spu_option_init_struct): Move to spu-common.c. | |
3760 | * config/stormy16/stormy16.c (xstorym16_option_optimization_table, | |
3761 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to xstormy16-common.c. | |
3762 | * config/v850/v850.c (small_memory_physical_max, | |
3763 | v850_handle_memory_optionn v850_handle_option, | |
3764 | v850_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
3765 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE): Move to | |
3766 | v850-common.c. | |
637c11bd | 3767 | * config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Move to vax-common.c. |
677f3fa8 JM |
3768 | * config/xtensa/xtensa.c (xtensa_option_optimization_table, |
3769 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
3770 | Move to xtensa-common.c. | |
3771 | * cfglayout.c: Include common/common-target.h. | |
3772 | (fixup_reorder_chain): Use targetm_common.have_named_sections. | |
3773 | * cfgrtl.c: Include common/common-target.h. | |
3774 | (force_nonfallthru_and_redirect, commit_one_edge_insertion): Use | |
3775 | targetm_common.have_named_sections. | |
3776 | * dbxout.c: Include common/common-target.h. | |
3777 | (dbxout_function_end): Use targetm_common.have_named_sections. | |
3778 | * defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Use | |
3779 | targetm_common.except_unwind_info. | |
3780 | * dwarf2out.c: Include common/common-target.h. | |
3781 | (dwarf2out_do_frame, dwarf2out_do_cfi_asm, | |
3782 | dwarf2out_begin_prologue, dwarf2out_frame_init, | |
3783 | dwarf2out_frame_finish, dwarf2out_assembly_start): Use | |
3784 | targetm_common.except_unwind_info. | |
3785 | * except.c: Include common/common-target.h. | |
3786 | (init_eh, finish_eh_generation, | |
3787 | output_one_function_exception_table): Use | |
3788 | targetm_common.except_unwind_info. | |
637c11bd | 3789 | (switch_to_exception_section): Use targetm_common.have_named_sections. |
677f3fa8 JM |
3790 | * explow.c: Include common/common-target.h. |
3791 | * expr.c: Include common/common-target.h. | |
637c11bd | 3792 | (build_personality_function): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
3793 | * function.c: Include common/common-target.h. |
3794 | (expand_function_end): Use targetm_common.except_unwind_info. | |
3795 | * haifa-sched.c: Include common/common-target.h. | |
637c11bd | 3796 | (sched_create_recovery_edges): Use targetm_common.have_named_sections. |
677f3fa8 JM |
3797 | * lto-opts.c: Include common/common-target.h instead of target.h. |
3798 | (lto_reissue_options): Use targetm_common.handle_option. | |
3799 | * opts.c: Include common/common-target.h. | |
3800 | (target_handle_option): Use targetm_common.handle_option. | |
3801 | (init_options_struct): Update comment referring to | |
3802 | targetm.target_option.optimization. Use | |
3803 | targetm_common.default_target_flags, | |
3804 | targetm_common.unwind_tables_default and | |
3805 | targetm_common.option_init_struct. | |
3806 | (default_options_optimization): Use | |
3807 | targetm_common.option_optimization_table. | |
3808 | (finish_options): Use targetm_common.except_unwind_info, | |
3809 | targetm_common.unwind_tables_default, | |
3810 | targetm_common.have_named_sections and | |
3811 | targetm_common.supports_split_stack. | |
3812 | * toplev.c: Include common/common-target.h. | |
3813 | (process_options): Use targetm_common.have_named_sections. | |
3814 | * tree-tailcall.c: Include common/common-target.h. | |
637c11bd | 3815 | (suitable_for_tail_call_opt_p): Use targetm_common.except_unwind_info. |
677f3fa8 | 3816 | * tree.c: Include common/common-target.h. |
637c11bd | 3817 | (build_common_builtin_nodes): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
3818 | * varasm.c: Include common/common-target.h. |
3819 | (resolve_unique_section, hot_function_section, | |
3820 | default_function_section): Use targetm_common.have_named_sections. | |
3821 | ||
d26c7090 ER |
3822 | 2011-06-14 Easwaran Raman <eraman@google.com> |
3823 | ||
3824 | PR rtl-optimization/44194 | |
3825 | * dse.c: Include tree-flow.h | |
3826 | (insn_info): Add new field non_frame_wild_read. | |
3827 | (group_info): Add new fields escaped_n and escaped_p. | |
3828 | (kill_on_calls): New variable. | |
3829 | (get_group_info): Initialize gi->escaped_n and gi->escaped_p. | |
3830 | (dse_step0): Initialize kill_on_calls. | |
3831 | (can_escape): New function. | |
3832 | (set_usage_bits): Add additional parameter; record information | |
3833 | about escaped locations. | |
637c11bd | 3834 | (record_store): Pass EXPR corresponding to MEM to set_usage_bits. |
d26c7090 ER |
3835 | (dse_step2_nospill): Set kill_on_calls based on |
3836 | group->escaped_n and group->escaped_n. | |
3837 | (add_wild_read): Refactor into... | |
3838 | (reset_active_stores): ... New function, and | |
3839 | (free_read_records): ... New function. | |
3840 | (add_non_frame_wild_read): New function. | |
3841 | (scan_insn): Call add_non_frame_wild_read on non-const calls. | |
637c11bd | 3842 | (scan_reads_nospill): Handle instructions with non_frame_wild_read. |
d26c7090 ER |
3843 | (dse_step5_nospill): Call scan_reads_nospill for instructions |
3844 | marked as non_frame_wild_read. | |
637c11bd | 3845 | (dse_step7): Free escaped_n, escaped_p and kill_on_calls bitmaps. |
d26c7090 | 3846 | |
c49a6962 JM |
3847 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
3848 | ||
3849 | * common/common-target-def.h, common/common-target.def, | |
3850 | common/common-target.h, common/config/default-common.c, | |
3851 | common/config/pa/pa-common.c: New files. | |
3852 | * Makefile.in (common_out_file, common_out_object_file, | |
3853 | COMMON_TARGET_H, COMMON_TARGET_DEF_H): New. | |
3854 | (OBJS-libcommon-target): Include $(common_out_object_file). | |
3855 | (prefix.o): Update dependencies. | |
3856 | ($(common_out_object_file), common/common-target-hooks-def.h, | |
3857 | s-common-target-hooks-def-h): New. | |
3858 | (s-tm-texi): Also check timestamp on common-target.def. | |
3859 | (build/genhooks.o): Update dependencies. | |
3860 | * config.gcc (common_out_file, target_has_targetm_common): Define. | |
3861 | * config/pa/som.h (ALWAYS_STRIP_DOTDOT): Replace with | |
3862 | TARGET_ALWAYS_STRIP_DOTDOT. | |
3863 | * configure.ac (common_out_object_file): Define. | |
3864 | (common_out_file, common_out_object_file): Substitute. | |
3865 | (common): Create directory. | |
3866 | * configure: Regenerate. | |
3867 | * doc/tm.texi.in (targetm_common): Document. | |
3868 | (TARGET_ALWAYS_STRIP_DOTDOT): Add @hook entry. | |
3869 | * doc/tm.texi: Regenerate. | |
3870 | * genhooks.c (hook_array): Also include common/common-target.def. | |
3871 | * prefix.c (tm.h): Don't include. | |
3872 | (common/common-target.h): Include. | |
3873 | (ALWAYS_STRIP_DOTDOT): Don't define. | |
3874 | (update_path): Use targetm_common.always_strip_dotdot instead of | |
3875 | ALWAYS_STRIP_DOTDOT. | |
3876 | * system.h (ALWAYS_STRIP_DOTDOT): Poison. | |
3877 | ||
22c5fa5f DL |
3878 | 2011-06-14 David Li <davidxl@google.com> |
3879 | ||
3880 | * passes.c (execute_function_todo): Remove TODO_dump_func. | |
3881 | (execute_one_pass): Remove TODO_dump_func. | |
3882 | (execute_function_dump): New function. | |
3883 | * tree-vrp.c: Remove TODO_dump_func. | |
3884 | * regrename.c: Remove TODO_dump_func. | |
3885 | * fwprop.c: Remove TODO_dump_func. | |
3886 | * tree-into-ssa.c: Remove TODO_dump_func. | |
3887 | * tree-complex.c: Remove TODO_dump_func. | |
3888 | * tracer.c: Remove TODO_dump_func. | |
3889 | * tree-loop-distribution.c: Remove TODO_dump_func. | |
3890 | * postreload-gcse.c: Remove TODO_dump_func. | |
3891 | * postreload.c: Remove TODO_dump_func. | |
3892 | * tree-ssa-loop-ch.c: Remove TODO_dump_func. | |
3893 | * tree-tailcall.c: Remove TODO_dump_func. | |
3894 | * ipa-cp.c: Remove TODO_dump_func. | |
3895 | * final.c: Remove TODO_dump_func. | |
3896 | * tree-emutls.c: Remove TODO_dump_func. | |
3897 | * omp-low.c: Remove TODO_dump_func. | |
3898 | * tree-ssa-dse.c: Remove TODO_dump_func. | |
3899 | * tree-ssa-uncprop.c: Remove TODO_dump_func. | |
3900 | * auto-inc-dec.c: Remove TODO_dump_func. | |
3901 | * reorg.c: Remove TODO_dump_func. | |
3902 | * tree-ssa-copyrename.c: Remove TODO_dump_func. | |
3903 | * tree-ssa-ccp.c: Remove TODO_dump_func. | |
3904 | * compare-elim.c: Remove TODO_dump_func. | |
3905 | * mode-switching.c: Remove TODO_dump_func. | |
3906 | * modulo-sched.c: Remove TODO_dump_func. | |
3907 | * tree-call-cdce.c: Remove TODO_dump_func. | |
3908 | * cse.c: Remove TODO_dump_func. | |
3909 | * web.c: Remove TODO_dump_func. | |
3910 | * tree-stdarg.c: Remove TODO_dump_func. | |
3911 | * lto-streamer-out.c: Remove TODO_dump_func. | |
3912 | * tree-ssa-math-opts.c: Remove TODO_dump_func. | |
3913 | * tree-ssa-dom.c: Remove TODO_dump_func. | |
3914 | * tree-nrv.c: Remove TODO_dump_func. | |
3915 | * loop-init.c: Remove TODO_dump_func. | |
3916 | * gimple-low.c: Remove TODO_dump_func. | |
3917 | * ipa-inline.c: Remove TODO_dump_func. | |
3918 | * tree-ssa-sink.c: Remove TODO_dump_func. | |
3919 | * jump.c: Remove TODO_dump_func. | |
3920 | * ifcvt.c: Remove TODO_dump_func. | |
3921 | * tree-ssa-loop.c: Remove TODO_dump_func. | |
3922 | * recog.c: Remove TODO_dump_func. | |
3923 | * dse.c: Remove TODO_dump_func. | |
3924 | * tree-ssa-ifcombine.c: Remove TODO_dump_func. | |
3925 | * matrix-reorg.c: Remove TODO_dump_func. | |
3926 | * tree-eh.c: Remove TODO_dump_func. | |
3927 | * regmove.c: Remove TODO_dump_func. | |
3928 | * function.c: Remove TODO_dump_func. | |
3929 | * tree-vectorizer.c: Remove TODO_dump_func. | |
3930 | * ipa-split.c: Remove TODO_dump_func. | |
3931 | * gcse.c: Remove TODO_dump_func. | |
3932 | * tree-if-conv.c: Remove TODO_dump_func. | |
3933 | * init-regs.c: Remove TODO_dump_func. | |
3934 | * tree-ssa-phiopt.c: Remove TODO_dump_func. | |
3935 | * implicit-zee.c: Remove TODO_dump_func. | |
3936 | * lower-subreg.c: Remove TODO_dump_func. | |
3937 | * bt-load.c: Remove TODO_dump_func. | |
3938 | * tree-dfa.c: Remove TODO_dump_func. | |
3939 | * except.c: Remove TODO_dump_func. | |
3940 | * emit-rtl.c: Remove TODO_dump_func. | |
3941 | * store-motion.c: Remove TODO_dump_func. | |
3942 | * cfgexpand.c: Remove TODO_dump_func. | |
3943 | * tree-cfgcleanup.c: Remove TODO_dump_func. | |
3944 | * cfgcleanup.c: Remove TODO_dump_func. | |
3945 | * tree-ssa-pre.c: Remove TODO_dump_func. | |
3946 | * tree-sra.c: Remove TODO_dump_func. | |
3947 | * tree-mudflap.c: Remove TODO_dump_func. | |
3948 | * tree-ssa-copy.c: Remove TODO_dump_func. | |
3949 | * cfglayout.c: Remove TODO_dump_func. | |
3950 | * tree-ssa-forwprop.c: Remove TODO_dump_func. | |
3951 | * tree-ssa-dce.c: Remove TODO_dump_func. | |
3952 | * ira.c: Remove TODO_dump_func. | |
3953 | * tree-ssa.c: Remove TODO_dump_func. | |
3954 | * integrate.c: Remove TODO_dump_func. | |
3955 | * tree-optimize.c: Remove TODO_dump_func. | |
3956 | * tree-ssa-phiprop.c: Remove TODO_dump_func. | |
3957 | * tree-object-size.c: Remove TODO_dump_func. | |
3958 | * combine.c: Remove TODO_dump_func. | |
3959 | * bb-reorder.c: Remove TODO_dump_func. | |
3960 | * cprop.c: Remove TODO_dump_func. | |
3961 | * var-tracking.c: Remove TODO_dump_func. | |
3962 | * tree-profile.c: Remove TODO_dump_func. | |
3963 | * tree-vect-generic.c: Remove TODO_dump_func. | |
3964 | * reg-stack.c: Remove TODO_dump_func. | |
3965 | * sched-rgn.c: Remove TODO_dump_func. | |
3966 | * tree-ssa-structalias.c: Remove TODO_dump_func. | |
3967 | * tree-switch-conversion.c: Remove TODO_dump_func. | |
3968 | * tree-cfg.c: Remove TODO_dump_func. | |
3969 | * tree-ssa-reassoc.c: Remove TODO_dump_func. | |
3970 | * combine-stack-adj.c: Remove TODO_dump_func. | |
3971 | * dce.c: Remove TODO_dump_func. | |
3972 | * tree-ssanames.c: Remove TODO_dump_func. | |
3973 | * regcprop.c: Remove TODO_dump_func. | |
3974 | ||
fa465762 L |
3975 | 2011-06-14 H.J. Lu <hongjiu.lu@intel.com> |
3976 | ||
3977 | PR middle-end/47364 | |
3978 | * builtins.c (expand_builtin_strlen): Expand strlen to Pmode | |
3979 | and properly handle result not in Pmode. | |
3980 | ||
7d8d16c3 RM |
3981 | 2011-06-14 Robert Millan <rmh@gnu.org> |
3982 | ||
3983 | * config/i386/kfreebsd-gnu.h: Resync with `config/i386/linux.h'. | |
3984 | * config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER): Resync with | |
3985 | `config/linux.h'. | |
3986 | ||
3987 | * config/i386/kfreebsd-gnu64.h: New file. | |
3988 | * config.gcc (x86_64-*-kfreebsd*-gnu): Replace `i386/kfreebsd-gnu.h' | |
3989 | with `i386/kfreebsd-gnu64.h'. | |
3990 | ||
3991 | * config/i386/linux64.h (GNU_USER_LINK_EMULATION32) | |
3992 | (GNU_USER_LINK_EMULATION64): New macros. | |
3993 | * config/i386/gnu-user64.h (LINK_SPEC): Rely on | |
3994 | `GNU_USER_LINK_EMULATION32' and `GNU_USER_LINK_EMULATION64' instead | |
3995 | of hardcoding `elf_i386' and `elf_x86_64'. | |
3996 | ||
0ccef3d2 NC |
3997 | 2011-06-14 Nick Clifton <nickc@redhat.com> |
3998 | ||
3999 | PR target/49403 | |
4000 | * config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter. | |
4001 | ||
4002 | PR target/49402 | |
4003 | * config.gcc(v850*-*-*): Avoid duplication of v850.opt. | |
4004 | ||
8a76c4a0 JJ |
4005 | 2011-06-14 Jakub Jelinek <jakub@redhat.com> |
4006 | ||
1ace6185 JJ |
4007 | PR fortran/49103 |
4008 | * tree.h (DECL_NONSHAREABLE): Define. | |
4009 | (struct tree_decl_common): Change decl_common_unused to | |
4010 | decl_nonshareable_flag. | |
4011 | * cfgexpand.c (expand_used_vars_for_block, clear_tree_used): | |
4012 | Ignore vars with DECL_NONSHAREABLE bit set. | |
4013 | * tree-cfg.c (gimple_duplicate_bb): Set DECL_NONSHAREABLE | |
4014 | on stores to automatic aggregate vars. | |
4015 | ||
8a76c4a0 JJ |
4016 | PR rtl-optimization/49390 |
4017 | Revert: | |
4018 | 2010-06-29 Bernd Schmidt <bernds@codesourcery.com> | |
4019 | ||
4020 | * cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare | |
4021 | MEM_ALIAS_SET. | |
4022 | ||
b4a9343c ZD |
4023 | 2011-06-14 Zdenek Dvorak <ook@ucw.cz> |
4024 | Tom de Vries <tom@codesourcery.com> | |
4025 | ||
4026 | PR target/45098 | |
4027 | * cfgloop.h (nb_iterations_upper_bound, nb_iterations_estimate): | |
4028 | Document changed semantics. | |
4029 | (max_stmt_executions, max_stmt_executions_int): Declare. | |
4030 | * tree-data-ref.c (estimated_loop_iterations) | |
4031 | (estimated_loop_iterations_int): Move functions... | |
4032 | * tree-ssa-loop-niter.c (estimated_loop_iterations) | |
4033 | (estimated_loop_iterations_int): here. | |
4034 | (record_estimate): Change nb_iterations_upper_bound and | |
4035 | nb_iterations_estimate semantics. | |
4036 | (max_stmt_executions, max_stmt_executions_int): New function. | |
4037 | * tree-data-ref.c (estimated_loop_iterations_tree): Rename to ... | |
4038 | (max_stmt_executions_tree): this. | |
4039 | (analyze_miv_subscript): Use max_stmt_executions_tree instead of | |
4040 | estimated_loop_iterations_tree. | |
4041 | tree-ssa-loop-ivopts.c (avg_loop_niter): Use | |
4042 | max_stmt_executions_int instead of estimated_loop_iterations_int. | |
4043 | * predict.c (predict_loops): Idem. | |
4044 | * tree-parloops.c (parallelize_loops): Idem. | |
4045 | * tree-data-ref.c (analyze_siv_subscript_cst_affine) | |
4046 | (compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine) | |
4047 | (init_omega_for_ddr_1): Idem. | |
4048 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse) | |
4049 | (loop_prefetch_arrays): Idem | |
4050 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Use | |
4051 | max_stmt_executions instead of estimated_loop_iterations. | |
4052 | * tree-data-ref.c (estimated_loop_iterations_tree): Idem. | |
4053 | * tree-vrp.c (adjust_range_with_scev): Use estimated_loop_iterations | |
4054 | instead of nb_iterations_upper_bound. | |
4055 | ||
d2640c43 JH |
4056 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
4057 | ||
4058 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Check the ref type. | |
4059 | ||
40873cdd RH |
4060 | 2011-06-14 Richard Henderson <rth@redhat.com> |
4061 | ||
4062 | PR debug/48459 | |
4063 | * dwarf2out.c (frame_pointer_fb_offset_valid): New. | |
4064 | (based_loc_descr): Assert it's true. | |
4065 | (compute_frame_pointer_to_fb_displacement): Set it, rather than | |
4066 | aborting immediately. | |
4067 | ||
73e8cb24 SL |
4068 | 2011-06-14 Sanjin Liu <scliu@faraday-tech.com> |
4069 | Mingfeng Wu <mingfeng@faraday-tech.com> | |
4070 | ||
4071 | * doc/invoke.texi: Re-add missing -mcpu docs for Faraday cores. | |
4072 | ||
f835f0a7 JH |
4073 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
4074 | ||
4075 | * ipa-cp.c (ipcp_iterate_stage): Revert accidental commit. | |
4076 | ||
ee6f1177 JH |
4077 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
4078 | ||
4079 | * cgraph.c (cgraph_make_decl_local): Handle DECL_ONE_ONLY | |
4080 | similarly to DECL_COMDAT. | |
4081 | * cgraphunit.c (cgraph_analyze_function): Likewise. | |
4082 | * ipa.c (function_and_variable_visibility): Likewise. | |
4083 | ||
618abf9a JH |
4084 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
4085 | ||
4086 | * lto-streamer-out.c (lto_output_ts_binfo_tree_pointers): Do not output | |
4087 | BINFO_VIRTUALS when streaming for ltrans unit. | |
4088 | ||
a45fe02f DE |
4089 | 2011-06-13 David Edelsohn <dje.gcc@gmail.com> |
4090 | ||
4091 | * config/rs6000/rs6000.md (movdi_mfpgpr): Remove POWER mnemonic. | |
4092 | (movdi_internal64): Same. | |
4093 | ||
4094 | 2011-06-13 Edmar Wienskoski <edmar@freescale.com> | |
4095 | ||
e641e495 | 4096 | PR target/44618 |
7d8d16c3 RM |
4097 | * config/rs6000/rs6000.md (save_gpregs_<mode>): Replaced pattern with |
4098 | a set of similar patterns, where the MATCH_OPERAND for the function | |
4099 | argument is replaced with individual references to hardware registers. | |
a45fe02f DE |
4100 | (save_fpregs_<mode>): Ditto |
4101 | (restore_gpregs_<mode>): Ditto | |
4102 | (return_and_restore_gpregs_<mode>): Ditto | |
4103 | (return_and_restore_fpregs_<mode>): Ditto | |
4104 | (return_and_restore_fpregs_aix_<mode>): Ditto | |
4105 | ||
8775a18b JH |
4106 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
4107 | ||
4108 | * ipa-utils.c (postorder_stack): New structure. | |
4109 | (ipa_reverse_postorder): Handle aliases. | |
4110 | ||
4111 | 2011-06-13 Jan Hubicka <jh@suse.cz> | |
4112 | ||
4113 | * ipa-inline.c (reset_edge_caches): Walk aliases. | |
4114 | (update_caller_keys): Do not test inlinability of aliases. | |
4115 | * ipa-inline-analysis.c (do_estimate_edge_time): Look through alias. | |
4116 | (do_estimate_growth): Fix typo. | |
4117 | ||
6c69a029 JH |
4118 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
4119 | ||
4120 | * ipa-inline-transform.c (+can_remove_node_now_p_1): Break out from... | |
4121 | (can_remove_node_now_p): ... here; handle same comdat groups. | |
4122 | (clone_inlined_nodes): Update use of can_remove_node_now_p add TODO. | |
4123 | (inline_call): Update use of can_remove_node_now_p. | |
4124 | ||
10c63ba4 | 4125 | 2011-06-13 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
495f8c14 | 4126 | |
10c63ba4 | 4127 | * config/h8300/h8300.md (bsetqi_msx, bclrqi_msx, bnotqi_msx): Added |
495f8c14 KP |
4128 | condition to disallow non-identical memory locations. |
4129 | (*andqi3_2, andqi3_1, iorqi3_1, xorqi3_1): Reorder insn to give | |
4130 | preference to bit manipulation instructions. | |
495f8c14 | 4131 | |
9aa3f5c5 JH |
4132 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
4133 | ||
4134 | * cgraph.c (cgraph_for_node_thunks_and_aliases, | |
4135 | cgraph_for_node_and_aliases): Fix thinko in recursive walking. | |
4136 | (nonremovable_p): New function. | |
4137 | (cgraph_can_remove_if_no_direct_calls_p): New function. | |
4138 | (used_from_object_file_p): New functoin. | |
10c63ba4 EB |
4139 | (cgraph_will_be_removed_from_program_if_no_direct_calls): Look for |
4140 | references from aliases. | |
9aa3f5c5 JH |
4141 | * cgraph.h (cgraph_can_remove_if_no_direct_calls_p): Bring offline. |
4142 | * ipa-inline.c (check_caller_edge): New function. | |
10c63ba4 EB |
4143 | (want_inline_function_called_once_p): Use it; accept aliases called |
4144 | once, too. | |
9aa3f5c5 JH |
4145 | * ipa-inline-analysis.c (do_estimate_growth): Remove FIXME. |
4146 | ||
30cecf17 RR |
4147 | 2011-06-13 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4148 | ||
4149 | PR target/48454 | |
4150 | * config/arm/neon.md (vec_pack_trunc): Set the lengths | |
4151 | correctly for the case with Quad vectors. | |
4152 | ||
29f85237 JJ |
4153 | 2011-06-13 Jakub Jelinek <jakub@redhat.com> |
4154 | Ira Rosen <ira.rosen@linaro.org> | |
4155 | ||
4156 | PR tree-optimization/49352 | |
4157 | * tree-vect-loop.c (vect_is_slp_reduction): Don't count debug uses at | |
4158 | all, make sure loop_use_stmt after the loop is a def stmt of a used | |
4159 | SSA_NAME that is the only one defined inside of the loop. Don't | |
4160 | check for COND_EXPR and GIMPLE_BINARY_RHS. | |
4161 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction only if | |
4162 | check_reduction is true. | |
4163 | ||
c3e3f090 JH |
4164 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
4165 | ||
4166 | PR middle-end/49373 | |
4167 | * ipa.c (cgraph_externally_visible_p): Check resolution info. | |
4168 | ||
516e0768 JH |
4169 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
4170 | ||
4171 | PR middle-end/48836 | |
4172 | * ipa-inline-transform.c: Include tree-pass.h | |
4173 | (inline_transform): Set TODO_update_ssa_only_virtuals. | |
4174 | * Makefile.in (ipa-inline-transform.o): Add tree-pass.h. | |
4175 | ||
903b0a8b JH |
4176 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
4177 | ||
4178 | PR middle-end/49378 | |
4179 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p): Rule out | |
4180 | aliases and thunks. | |
4181 | ||
44542f8e IR |
4182 | 2011-06-12 Ira Rosen <ira.rosen@linaro.org> |
4183 | ||
4184 | * tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent): | |
4185 | Take number of iterations to peel into account for equally frequent | |
4186 | misalignment values. | |
4187 | ||
ea89702b JH |
4188 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
4189 | ||
637c11bd UB |
4190 | * lto-streamer-out.c (produce_symtab): Stream out the newly |
4191 | represented aliases. | |
ea89702b | 4192 | |
380ed5ed JH |
4193 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
4194 | ||
637c11bd UB |
4195 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fix code setting |
4196 | varying args. | |
380ed5ed JH |
4197 | (ipa_update_after_lto_read): Likewise. |
4198 | (ipa_write_node_info): Do not sream call_with_var_arguments. | |
4199 | (ipa_read_node_info): Likewise. | |
4200 | ||
00cfc363 JH |
4201 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
4202 | ||
4203 | * ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto. | |
4204 | ||
39e2db00 JH |
4205 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
4206 | ||
4207 | * lto-symtab.c (lto_cgraph_replace_node): Kill same body alias code. | |
4208 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
4209 | (lto_symtab_merge_cgraph_nodes): Update merging of aliases. | |
4210 | * cgraph.c (same_body_aliases_done): New global var. | |
4211 | (cgraph_same_body_alias_1): Rename to ... | |
4212 | (cgraph_create_function_alias): ... this one; reorg to new | |
4213 | representation. | |
4214 | (cgraph_same_body_alias): Use cgraph_create_function_alias; | |
4215 | record references when asked to. | |
4216 | (cgraph_add_thunk): Fix formating. | |
4217 | (cgraph_get_node): Kill same body alias code. | |
4218 | (cgraph_node_for_asm): Likewise. | |
4219 | (cgraph_remove_same_body_alias): Remove. | |
4220 | (cgraph_remove_node): Kill same body alias code. | |
4221 | (cgraph_mark_address_taken_node): Mark also the aliased function | |
4222 | as having address taken. | |
4223 | (dump_cgraph_node): Dump same body aliases. | |
4224 | (cgraph_for_node_thunks_and_aliases): Update for new alias | |
4225 | representation. | |
4226 | (cgraph_for_node_and_aliases): Likewise. | |
4227 | * cgraph.h (same_body): Kll pointer. | |
4228 | (same_body_alias): Update comment. | |
4229 | (same_body_aliases_done): Declare. | |
4230 | (cgraph_remove_same_body_alias): Remove declaration. | |
4231 | (cgraph_create_function_alias): Declare. | |
4232 | (cgraph_process_same_body_aliases): Declare. | |
4233 | (cgraph_function_with_gimple_body_p): Check for alias. | |
4234 | (cgraph_can_remove_if_no_direct_calls_p): Look for aliases. | |
4235 | (cgraph_alias_aliased_node): New function. | |
4236 | (cgraph_function_node): Update for new aliases. | |
4237 | (cgraph_function_or_thunk_node): Likewise. | |
4238 | * ipa-inline-transform.c (can_remove_node_now_p): Look for aliases. | |
4239 | (inline_call): Remove dead aliases. | |
10c63ba4 EB |
4240 | * cgraphunit.c (cgraph_decide_is_function_needed): Disable assembler |
4241 | name hack for same body aliases. | |
39e2db00 JH |
4242 | (clone_of_p): Look through aliases. |
4243 | (verify_cgraph_node): Verify aliases. | |
4244 | (cgraph_analyze_function): Analyze aliases; fixup C++ bugs. | |
4245 | (cgraph_process_same_body_aliases): New function. | |
4246 | (process_function_and_variable_attributes): Disable weakref warning on | |
4247 | alias. | |
4248 | (cgraph_analyze_functions): Handle aliases. | |
4249 | (cgraph_mark_functions_to_output): Handle aliases same way as thunks. | |
4250 | (assemble_thunks): Rename to ... | |
4251 | (assemble_thunks_and_aliases): ... this one; handle aliases, too. | |
4252 | (cgraph_expand_function): Remove alias output code. | |
4253 | (cgraph_output_in_order): Skip aliases. | |
4254 | (cgraph_preserve_function_body_p): Aliases don't need preserving. | |
4255 | * ipa-ref.c (ipa_ref_use_name): Add alias reference. | |
4256 | (ipa_record_reference): Do not assert on alias references. | |
4257 | (ipa_ref_has_aliases_p): New function. | |
4258 | * ipa-ref.h (enum ipa_ref_use): Add IPA_REF_ALIAS. | |
4259 | (ipa_ref_has_aliases_p): Declare. | |
4260 | * lto-cgraph.c (lto_output_node): Handle aliases. | |
4261 | (input_node): Likewise. | |
4262 | * lto-streamer-out.c (lto_output): Skip aliases. | |
4263 | (produce_symtab): Kill same_body_alias code. | |
4264 | * ipa-utils.c (ipa_reverse_postorder): Add FIXME. | |
4265 | (ipa_reverse_postorder): Use cgraph_only_called_directly_or_aliased_p. | |
4266 | * ipa-inline.c (update_caller_keys): Walk aliases. | |
4267 | (inline_small_functions): Fix thinko in previous patch. | |
4268 | * ipa.c (cgraph_externally_visible_p): Do not walk aliases. | |
4269 | (function_and_variable_visibility): Do not walk same body aliases. | |
4270 | * tree-ssa-structalias.c (associate_varinfo_to_alias): New function. | |
4271 | (ipa_pta_execute): Use it. | |
4272 | ||
9ee65b55 UB |
4273 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> |
4274 | ||
4275 | * config/i386/sse.md (vec_dupv4sf): Correct mode of forced register. | |
4276 | (*vec_dupv2df): Rename from vec_dupv2df. | |
4277 | (vec_dupv2df): New expander. | |
4278 | ||
4279 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
4280 | ||
4281 | * config/i386/sse.md (AVX_VEC_DUP_MODE): Rename from AVX256MODE24P. | |
4282 | ||
4283 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
4284 | ||
4285 | * config/i386/i386.md: Use default value in "isa" attribute. | |
4286 | * config/i386/sse.md: Ditto. | |
4287 | * config/i386/mmx.md: Ditto. | |
4288 | ||
ba68a139 WG |
4289 | 2011-06-10 Wei Guozhi <carrot@google.com> |
4290 | ||
4291 | PR target/45335 | |
4292 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
4293 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
4294 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
4295 | related peephole2. | |
4296 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
4297 | related peephole2. | |
4298 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
4299 | (arm_legitimate_ldrd_p): New prototype. | |
4300 | (arm_output_ldrd): New prototype. | |
4301 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
4302 | (arm_legitimate_ldrd_p): New function. | |
4303 | (arm_output_ldrd): New function. | |
4304 | ||
deced1e2 XDL |
4305 | 2011-06-10 David Li <davidxl@google.com> |
4306 | ||
4307 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
4308 | * passes.c (passr_eq): New function. | |
4309 | (create_pass_tab): New function. | |
4310 | (pass_traverse): New function. | |
4311 | (dump_one_pass): New function. | |
4312 | (dump_pass_list): New function. | |
4313 | (dump_passes): New function. | |
4314 | ||
71fb4f92 JH |
4315 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4316 | ||
4317 | * cgraph.c (cgraph_set_nothrow_flag_1): Update cgraph after | |
4318 | setting the nothrow flag. | |
4319 | * ipa-reference.c (propagate): Skip aliases. | |
4320 | * ipa-pure-const.c (propagate_pure_const): Skip aliases. | |
4321 | (propagate_nothrow): Skip aliases; do not update cgraph. | |
4322 | (local_pure_const): Do not update cgraph. | |
4323 | * tree-profile.c (tree_profiling): Do fixup_cfg. | |
4324 | ||
41817394 JH |
4325 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4326 | ||
4327 | * ipa.c (cgraph_non_local_node_p_1): Break out from ...; | |
4328 | (cgraph_local_node_p): ... here; handle aliases. | |
4329 | (has_addr_references_p): Break out from ...; | |
4330 | (cgraph_remove_unreachable_nodes) ... here. | |
4331 | ||
fb37c1de JH |
4332 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4333 | ||
4334 | * opts.c (default_options): Enlist OPT_finline_functions_called_once. | |
9ee65b55 UB |
4335 | * common.opt (flag_inline_functions_called_once): Do not |
4336 | initialize to 1. | |
fb37c1de | 4337 | |
0818c24c JH |
4338 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4339 | ||
4340 | * ipa-cp.c (ipcp_versionable_function_p): Thunks are not versionable. | |
9ee65b55 UB |
4341 | (ipcp_initialize_node_lattices): Do not deal with aliases; |
4342 | Do not try to propagate through thunks. | |
0818c24c JH |
4343 | (ipcp_change_tops_to_bottom): Do not deal with aliases. |
4344 | ||
c8246dbe JH |
4345 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4346 | ||
9ee65b55 UB |
4347 | * ipa-prop.c (ipa_write_node_info): Stream jump functions |
4348 | for indirect calls. | |
c8246dbe JH |
4349 | (ipa_read_node_info): Likewise. |
4350 | ||
d7e2a1c1 BS |
4351 | 2011-06-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4352 | ||
4353 | PR lto/49302 | |
4354 | * tree-ssa-math-opts.c (powi_as_mults): Minor cleanup. | |
4355 | (build_and_insert_call): Likewise. | |
4356 | (build_and_insert_ref): New. | |
4357 | (gimple_expand_builtin_pow): Minor cleanup. | |
4358 | (gimple_expand_builtin_cabs): New. | |
4359 | (execute_cse_sincos): Add case for BUILT_IN_CABS. | |
9ee65b55 | 4360 | |
749f25d8 JH |
4361 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4362 | ||
4363 | * ipa-cp.c (ipcp_versionable_function_p): Aliases are not versionable. | |
4364 | (ipcp_cloning_candidate_p): Aliases are not clonning candidates. | |
4365 | (ipcp_initialize_node_lattices): We don't propagate through an aliases. | |
4366 | (ipcp_propagate_stage): Skip aliases when propagating. | |
4367 | (ipcp_need_redirect_p): Skip aliases. | |
4368 | (ipcp_insert_stage): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY and | |
4369 | collect_callers_of_node. | |
4370 | * ipa-prop.c (ipa_init_func_list): Do not analyze datastructures | |
4371 | for aliases. | |
4372 | (ipa_compute_jump_functions): Look through aliases. | |
4373 | ||
8340fbd7 RO |
4374 | 2011-06-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4375 | ||
4376 | * doc/sourcebuild.texi (Effective-Target Keywords, pie): Document it. | |
4377 | ||
9aaa7e47 HPN |
4378 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4379 | ||
4380 | * ira-costs.c: Remove #ifdefs on dead FORBIDDEN_INC_DEC_CLASSES. | |
4381 | Adjust comments. | |
4382 | * system.h (FORBIDDEN_INC_DEC_CLASSES): Poison. | |
4383 | ||
f1724940 JH |
4384 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4385 | ||
4386 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): | |
4387 | Update call of gimple_get_virt_method_for_binfo. | |
4388 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Remove | |
4389 | refuse_thunks parameter. | |
4390 | (gimple_fold_call): Update. | |
4391 | * ipa-prop.c (try_make_edge_direct_virtual_call): Update. | |
4392 | ||
a6f834c5 JH |
4393 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4394 | ||
4395 | * tree-sra.c (all_callers_have_enough_arguments_p): Rename to ... | |
4396 | (not_all_callers_have_enough_arguments_p): ... this one; turn into | |
4397 | worker for cgraph_for_node_and_aliases. | |
4398 | (convert_callers_for_node): Break out from ... | |
4399 | (convert_callers): ... here. | |
4400 | (modify_function): Use collect_callers_of_node. | |
4401 | (ipa_early_sra): Use cgraph_for_node_and_aliases. | |
4402 | ||
7871eee3 RG |
4403 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4404 | ||
4405 | PR tree-optimization/49361 | |
4406 | * fold-const.c (fold_binary_loc): Only fold x * x to pow (x, 2.0) | |
4407 | when not already in gimple form. | |
4408 | ||
dae957ae RG |
4409 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4410 | ||
4411 | PR bootstrap/49344 | |
4412 | * tree-ssa-math-opts.c (convert_mult_to_fma): Use | |
4413 | FOR_EACH_PHI_OR_STMT_USE. | |
4414 | ||
a5b1779f JH |
4415 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4416 | ||
4417 | * ipa-inline-transform.c (can_remove_node_now_p): Move out of... | |
4418 | (clone_inlined_nodes): ... here. | |
4419 | (inline_call): Use cgraph_function_or_thunk_node; redirect edge | |
4420 | to real destination prior inlining. | |
4421 | * ipa-inline.c (caller_growth_limits, can_inline_edge_p, | |
4422 | can_early_inline_edge_p, want_early_inline_function_p, | |
4423 | want_early_inline_function_p, want_inline_small_function_p, | |
4424 | want_inline_self_recursive_call_p, want_inline_function_called_once_p, | |
4425 | edge_badness, update_all_callee_keys, lookup_recursive_calls, | |
4426 | add_new_edges_to_heap, inline_small_functions, flatten_function, | |
4427 | inline_always_inline_functions, early_inline_small_functions): Use | |
4428 | cgraph_function_or_thunk_node. | |
4429 | * ipa-inline-analysis.c (evaluate_conditions_for_edge, | |
4430 | dump_inline_edge_summary, estimate_function_body_sizes): Likewise. | |
4431 | (do_estimate_edge_growth_1): Break out from ... | |
4432 | (do_estimate_growth) ... here; walk aliases. | |
4433 | (inline_generate_summary): Skip aliases. | |
4434 | ||
c1ae3ca5 RG |
4435 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4436 | ||
9ee65b55 UB |
4437 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Scan stmts |
4438 | forward when combining, visit inserted stmts when a stmt was changed. | |
c1ae3ca5 | 4439 | |
b504a918 PC |
4440 | 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com> |
4441 | ||
4442 | * tree.h (error_operand_p): Add. | |
4443 | * dbxout.c (dbxout_type_fields): Use the latter. | |
4444 | * c-decl.c (add_stmt): Likewise. | |
4445 | * gimplify.c (omp_add_variable, omp_notice_variable, | |
4446 | gimplify_scan_omp_clauses): Likewise. | |
4447 | ||
3f5ea9dc | 4448 | 2011-06-10 Georg-Johann Lay <avr@gjlay.de> |
b504a918 | 4449 | |
3f5ea9dc GJL |
4450 | * config/avr/avr.c (avr_function_arg_advance): Fix thinko about |
4451 | when a value is actually passed in regs. | |
4452 | ||
b11b0904 | 4453 | 2011-06-10 Eric Botcazou <ebotcazou@adacore.com> |
870c3cf8 | 4454 | Laurent Rougé <laurent.rouge@menta.fr> |
b11b0904 EB |
4455 | |
4456 | * doc/invoke.texi (SPARC options): Add -mflat. | |
4457 | * config/sparc/sparc.opt: Likewise. | |
4458 | * config/sparc/sparc-protos.h (sparc_expand_epilogue): Add parameter. | |
4459 | (sparc_flat_expand_prologue): Declare. | |
4460 | (sparc_flat_expand_epilogue): Likewise. | |
4461 | * config/sparc/sparc.h (CPP_CPU_SPEC): Do not handle -msoft-float. | |
4462 | (CPP_ENDIAN_SPEC): Replace with... | |
4463 | (CPP_OTHER_SPEC): ...this. Also handle -mflat and -msoft-float. | |
4464 | (CPP_SPEC): Adjust to above change. | |
4465 | (EXTRA_SPECS): Likewise. | |
4466 | (SPARC_INCOMING_INT_ARG_FIRST): Add TARGET_FLAT handling. | |
4467 | (INCOMING_REGNO): Likewise. | |
4468 | (OUTGOING_REGNO): Likewise. | |
4469 | (LOCAL_REGNO): Likewise. | |
4470 | (SETUP_FRAME_ADDRESSES): Likewise. | |
4471 | (FIXED_REGISTERS): Set 0 for %fp. | |
4472 | (CALL_USED_REGISTERS): Likewise. | |
4473 | (INITIAL_ELIMINATION_OFFSET): Pass current_function_is_leaf. | |
4474 | (EXIT_IGNORE_STACK): Define to 1 unconditionally. | |
4475 | (RETURN_ADDR_REGNUM): Define. | |
4476 | (RETURN_ADDR_RTX): Use it. | |
4477 | (INCOMING_RETURN_ADDR_REGNUM): Define. | |
4478 | (INCOMING_RETURN_ADDR_RTX): Use it. | |
4479 | (DWARF_FRAME_RETURN_COLUMN): Likewise. | |
4480 | (EH_RETURN_REGNUM): Define. | |
4481 | (EH_RETURN_STACKADJ_RTX): Use it. | |
4482 | (EH_RETURN_HANDLER_RTX): Delete. | |
4483 | (EPILOGUE_USES): Use them and add TARGET_FLAT handling. | |
4484 | * config/sparc/sparc.c (apparent_fsize, actual_fsize, num_gfregs): | |
4485 | Delete. | |
4486 | (struct machine_function): Add frame_size, apparent_frame_size, | |
4487 | frame_base_reg, frame_base_offset, n_global_fp_regs and | |
4488 | save_local_in_regs_p fields. | |
4489 | (sparc_frame_size, sparc_apparent_frame_size, sparc_frame_base_reg, | |
4490 | sparc_frame_base_offset, sparc_n_global_fp_regs, | |
4491 | sparc_save_local_in_regs_p): New macros. | |
4492 | (sparc_option_override): Error out if -fcall-saved-REG is specified | |
4493 | for Out registers. | |
4494 | (eligible_for_restore_insn): Fix formatting. | |
4495 | (eligible_for_return_delay): Likewise. Add TARGET_FLAT handling. | |
4496 | (eligible_for_sibcall_delay): Likewise. | |
4497 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Add MODE parameter. | |
4498 | (sparc_legitimate_address_p): Adjust to above change. | |
4499 | (save_global_or_fp_reg_p): New predicate. | |
4500 | (return_addr_reg_needed_p): Likewise. | |
4501 | (save_local_or_in_reg_p): Likewise. | |
4502 | (sparc_compute_frame_size): Use them. Add TARGET_FLAT handling. | |
4503 | (SORR_SAVE, SORR_RESTORE): Delete. | |
4504 | (sorr_pred_t): New typedef. | |
4505 | (sorr_act_t): New enum. | |
4506 | (save_or_restore_regs): Rename to... | |
4507 | (emit_save_or_restore_regs): ...this. Change type of LOW and HIGH | |
4508 | parameters, remove ACTION parameter, add LEAF_FUNCTION_P, SAVE_P, | |
4509 | ACTION_TRUE and ACTION_FALSE parameters. Implement more general | |
4510 | mechanism. Add CFI information for double-word saves in 32-bit mode. | |
4511 | (emit_adjust_base_to_offset): New function extracted from... | |
4512 | (emit_save_or_restore_regs): ...this. Rename the rest to... | |
4513 | (emit_save_or_restore_regs_global_fp_regs): ...this. | |
4514 | (emit_save_or_restore_regs_local_in_regs): New function. | |
4515 | (gen_create_flat_frame_[123]): New functions. | |
4516 | (sparc_expand_prologue): Use SIZE local variable. Adjust. | |
4517 | (sparc_flat_expand_prologue): New function. | |
4518 | (sparc_asm_function_prologue): Add TARGET_FLAT handling. | |
4519 | (sparc_expand_epilogue): Use SIZE local variable. Adjust. | |
4520 | (sparc_flat_expand_epilogue): New function. | |
4521 | (sparc_can_use_return_insn_p): Add TARGET_FLAT handling. | |
4522 | (output_return): Likewise. | |
4523 | (output_sibcall): Likewise. | |
4524 | (sparc_output_mi_thunk): Likewise. | |
4525 | (sparc_frame_pointer_required): Likewise. | |
4526 | (sparc_conditional_register_usage): If TARGET_FLAT, disable the leaf | |
4527 | function optimization. | |
4528 | * config/sparc/sparc.md (flat): New attribute. | |
4529 | (prologue): Add TARGET_FLAT handling. | |
4530 | (save_register_window): Disable if TARGET_FLAT. | |
4531 | (create_flat_frame_[123]): New patterns. | |
4532 | (epilogue): Add TARGET_FLAT handling. | |
4533 | (sibcall_epilogue): Likewise. | |
4534 | (eh_return): New expander. | |
4535 | (eh_return_internal): New insn and splitter. | |
4536 | (return_internal): Add TARGET_FLAT handling. | |
4537 | (untyped_return): Remove bogus test and use RETURN_ADDR_REGNUM. | |
4538 | (save_stack_nonlocal): Use RETURN_ADDR_REGNUM. | |
4539 | (nonlocal_goto): Add TARGET_FLAT handling. | |
4540 | * config/sparc/t-elf: Add -mflat multilib. | |
4541 | * config/sparc/t-leon: Likewise. | |
4542 | ||
fede8efa JH |
4543 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4544 | ||
4545 | * ipa-utils.c (searchc): Use cgraph_function_or_thunk_node. | |
4546 | * ipa-pure-const.c (analyze_function): Aliases don't need analysis. | |
4547 | (self_recursive_p): Use cgraph_function_node. | |
4548 | (propagate_pure_const): Likewise. | |
4549 | (propagate_nothrow): Likewise. | |
4550 | * ipa-reference.c (ipa_reference_get_not_read_global): Use | |
4551 | cgraph_function_node. | |
4552 | (propagate_bits): Likewise. | |
4553 | (propagate): Likewise. | |
4554 | ||
0127c76f RR |
4555 | 2011-06-10 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4556 | Richard Earnshaw <rearnsha@arm.com> | |
4557 | ||
9ee65b55 | 4558 | * config/arm/arm.c (const_ok_for_op): Check to see if mvn can be used. |
0127c76f RR |
4559 | * config/arm/vfp.md (*arm_movdi_vfp): Delete. |
4560 | (*thumb2_movdi_vfp): Delete. | |
4561 | (*arm_movdi_vfp_cortexa8): Delete. | |
4562 | (*movdi_vfp): Consolidate from *arm_movdi_vfp and *thumb2_movdi_vfp. | |
4563 | (*movdi_vfp_cortexa8): Likewise. | |
4564 | ||
f93fe5a0 RG |
4565 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4566 | ||
4567 | * stor-layout.c (initialize_sizetypes): Give names to all | |
4568 | sizetype kinds. | |
4569 | ||
f2164f87 IR |
4570 | 2011-06-10 Ira Rosen <ira.rosen@linaro.org> |
4571 | ||
4572 | PR tree-optimization/49318 | |
4573 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove | |
4574 | irrelevant pattern statements. | |
4575 | ||
3f91c962 HPN |
4576 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4577 | ||
3d223145 HPN |
4578 | * system.h (SETJMP_VIA_SAVE_AREA): Poison. |
4579 | ||
3f91c962 HPN |
4580 | PR bootstrap/49354 |
4581 | * ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast | |
4582 | to last assignment. | |
4583 | ||
b125ad45 JH |
4584 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
4585 | ||
4586 | * cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline; | |
4587 | do not recompute reachable flag. | |
4588 | (cgraph_finalize_function, cgraph_analyze_functions): Set | |
4589 | redefined_extern_inline here. | |
4590 | ||
be330ed4 JH |
4591 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
4592 | ||
4593 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ... | |
4594 | (cgraph_only_called_directly_p): ... this one; bring offline. | |
4595 | (resolution_used_from_other_file_p, cgraph_used_from_object_file_p, | |
4596 | varpool_used_from_object_file_p): Drop names from the declaratoin. | |
4597 | (cgraph_for_node_thunks_and_aliases, cgraph_for_node_and_aliases, | |
4598 | collect_callers_of_node): New. | |
4599 | (cgraph_function_node, cgraph_function_or_thunk_node): New functions. | |
4600 | (cgraph_edge_recursive_p): Use cgraph_function_node. | |
4601 | * cgraph.c (cgraph_add_thunk): Check that thunk is not already alias. | |
4602 | (cgraph_node_cannot_be_local_p_1): Break out from ... | |
4603 | (cgraph_node_can_be_local_p): ... here; walk aliases. | |
4604 | (cgraph_for_node_thunks_and_aliases): New function. | |
4605 | (cgraph_for_node_and_aliases): New function. | |
4606 | (cgraph_make_node_local_1): Break out from ... | |
9ee65b55 UB |
4607 | (cgraph_make_node_local) ... here; use |
4608 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4609 | (cgraph_set_nothrow_flag_1): Break out from ... |
9ee65b55 UB |
4610 | (cgraph_set_nothrow_flag) ... here; |
4611 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4612 | (cgraph_set_const_flag_1): Break out from ... |
9ee65b55 UB |
4613 | (cgraph_set_const_flag) ... here; |
4614 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4615 | (cgraph_set_pure_flag_1): Break out from ... |
9ee65b55 UB |
4616 | (cgraph_set_pure_flag) ... here; |
4617 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4618 | (cgraph_propagate_frequency_1): Break out from ... |
9ee65b55 UB |
4619 | (cgraph_propagate_frequency) ... here; use |
4620 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4621 | (cgraph_used_from_object_file_p): Do not care about aliases. |
9ee65b55 UB |
4622 | (cgraph_not_only_called_directly_p_1, cgraph_only_called_directly_p): |
4623 | New functions. | |
be330ed4 JH |
4624 | (collect_callers_of_node_1, collect_callers_of_node): New functions. |
4625 | ||
2ea91d6b HPN |
4626 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4627 | ||
4628 | PR rtl-optimization/49154 | |
4629 | * config/cris/cris.h (FIXED_REGISTERS): Include CRIS_CC0_REGNUM. | |
4630 | (enum reg_class): Add SRP_REGS and MOF_SRP_REGS. | |
4631 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS) | |
4632 | (PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Adjust to fit. | |
4633 | * config/cris/cris.h (cris_register_move_cost): Remove | |
4634 | !TARGET_V32 code. Tweak comments. | |
4635 | ||
9cf4fb5a JH |
4636 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
4637 | ||
4638 | * cgraphbuild.c (record_eh_tables): Mark personality function as having | |
4639 | address taken. | |
4640 | ||
6049a4c8 HPN |
4641 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4642 | ||
c577822e | 4643 | PR rtl-optimization/49154 |
9ee65b55 UB |
4644 | * ira-costs.c (setup_regno_cost_classes_by_mode): If there already |
4645 | is a matching slot in the hashtable, assign it to classes_ptr. | |
c577822e | 4646 | |
54e1e4f7 | 4647 | PR rtl-optimization/49154 |
6049a4c8 HPN |
4648 | * doc/tm.texi.in (Register Classes): Document rule for the narrowest |
4649 | register classes. | |
4650 | * doc/tm.texi: Regenerate. | |
4651 | ||
3be68b64 KK |
4652 | 2011-06-09 Kaz Kojima <kkojima@gcc.gnu.org> |
4653 | ||
4654 | PR target/49307 | |
4655 | * config/sh/sh.md (UNSPEC_CHKADD): New. | |
4656 | (chk_guard_add): New define_insn_and_split. | |
4657 | (symGOT_load): Use chk_guard_add instead of blockage. | |
4658 | ||
bf806a90 KT |
4659 | 2011-06-09 Kai Tietz <ktietz@redhat.com> |
4660 | ||
4661 | * libgcc2.c (L_trampoline): Include windows.h for mingw targets. | |
4662 | ||
d5a9738b EB |
4663 | 2011-06-09 Eric Botcazou <ebotcazou@adacore.com> |
4664 | ||
4665 | * config/sparc/sparc.md (return_internal): Adjust 'length' attribute. | |
4666 | ||
527e82c2 WG |
4667 | 2011-06-09 Wei Guozhi <carrot@google.com> |
4668 | ||
4669 | PR target/46975 | |
4670 | * config/arm/arm.md (*addsi3_carryin_compare0_<optab>): New pattern. | |
4671 | (peephole2 for conditional move): Generate 16 bit instructions. | |
4672 | ||
b8bc3a43 UB |
4673 | 2011-06-09 Uros Bizjak <ubizjak@gmail.com> |
4674 | ||
4675 | * config/i386/i386.md (*movdi_internal_rex64): Merge | |
4676 | alternatives 6 and 8. | |
4677 | ||
4745da6e DL |
4678 | 2011-06-09 David Li <davidxl@google.com> |
4679 | ||
4680 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
4681 | * passes.c (passr_eq): New function. | |
4682 | (create_pass_tab): New function. | |
4683 | (pass_traverse): New function. | |
4684 | (dump_one_pass): New function. | |
4685 | (dump_pass_list): New function. | |
4686 | (dump_passes): New function. | |
4687 | ||
bdf67bcb DL |
4688 | 2011-06-09 David Li <davidxl@google.com> |
4689 | ||
4690 | * tree-complex.c (tree_lower_complex): Gate cleanup. | |
4691 | * tree-stdarg.c (check_all_va_list_escapes): Ditto. | |
4692 | (execute_optimize_stdarg): Ditto. | |
4693 | * tree-eh.c (execute_lower_eh_dispatch): Ditto. | |
4694 | (execute_cleanup_eh_1): Ditto. | |
4695 | (execute_cleanup_eh): Ditto. | |
4696 | * gcse.c (gate_rtl_pre): Ditto. | |
4697 | (execute_rtl_pre): Ditto. | |
4698 | * except.c (finish_eh_generation): Ditto. | |
4699 | (convert_to_eh_region_ranges): Ditto. | |
4700 | * cprop.c (one_cprop_pass): Ditto. | |
4701 | ||
547fdef8 BS |
4702 | 2011-06-09 Bernd Schmidt <bernds@codesourcery.com> |
4703 | ||
4704 | PR target/48673 | |
4705 | * config/ia64/ia64.c (ia64_reorg): Clear BB_DISABLE_SCHEDULE flag | |
4706 | in all basic blocks. | |
4707 | ||
10e48e39 RO |
4708 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4709 | ||
4710 | * config/alpha/netbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
4711 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4712 | * config/alpha/osf5.h (ENABLE_EXECUTE_STACK): Remove. | |
4713 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4714 | * config/darwin.h (ENABLE_EXECUTE_STACK): Remove. | |
4715 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4716 | * config/i386/mingw32.h (MINGW_ENABLE_EXECUTE_STACK): Remove. | |
4717 | (ENABLE_EXECUTE_STACK): Remove. | |
4718 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4719 | [IN_LIBGCC2]: Don't include <windows.h>. | |
4720 | * config/i386/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
4721 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4722 | * config/i386/netbsd64.h (ENABLE_EXECUTE_STACK): Remove. | |
4723 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4724 | * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Remove. | |
4725 | * config/openbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
4726 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4727 | * config/sol2.h (ENABLE_EXECUTE_STACK): Remove. | |
4728 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4729 | * config/sparc/freebsd.h (ENABLE_EXECUTE_STACK): Remove. | |
4730 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4731 | * config/sparc/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
4732 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4733 | * config/alpha/alpha.c (alpha_trampoline_init): Test | |
4734 | HAVE_ENABLE_EXECUTE_STACK. | |
4735 | * config/i386/i386.c (ix86_trampoline_init): Likewise. | |
4736 | * config/sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
4737 | (sparc64_initialize_trampoline): Likewise. | |
4738 | * libgcc2.c [L_enable_execute_stack]: Remove. | |
4739 | * system.h (ENABLE_EXECUTE_STACK): Poison. | |
4740 | * doc/tm.texi.in (Trampolines, ENABLE_EXECUTE_STACK): Remove. | |
4741 | * doc/tm.texi: Regenerate. | |
4742 | * Makefile.in (LIBGCC2_CFLAGS): Add -fbuilding-libgcc. | |
4743 | ||
8ced31fe JJ |
4744 | 2011-06-09 Jakub Jelinek <jakub@redhat.com> |
4745 | ||
4746 | PR middle-end/49308 | |
4747 | * dce.c (reset_unmarked_insns_debug_uses): Avoid shadowing insn | |
4748 | variable. After resetting and rescanning insn continue with previous | |
4749 | statement. | |
4750 | ||
ee610fcd RO |
4751 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4752 | ||
4753 | * configure.ac (gcc_cv_as_hidden): Enable on *-*-darwin*. | |
4754 | (gcc_cv_ld_hidden): Likewise. | |
4755 | * configure: Regenerate. | |
4756 | * config/i386/i386.c (USE_HIDDEN_LINKONCE): Remove TARGET_MACHO. | |
4757 | (ix86_stack_protect_fail): Mark unused. | |
4758 | (TARGET_STACK_PROTECT_FAIL) [TARGET_MACHO]: Don't redefine. | |
4759 | * config/rs6000/rs6000.c (rs6000_assemble_visibility) | |
4760 | [TARGET_MACHO]: Don't define. | |
4761 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Likewise. | |
4762 | (TARGET_STACK_PROTECT_FAIL): Likewise. | |
4763 | (rs6000_stack_protect_fail): Mark unused. | |
4764 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark decl hidden if | |
b8bc3a43 | 4765 | USE_LINKONCE_INDIRECT. Don't emit .hidden expicitly. |
ee610fcd | 4766 | |
8f2e22ff AK |
4767 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
4768 | ||
4769 | * varasm.c (get_section): Print location of other conflict | |
4770 | for section conflicts. | |
4771 | ||
815cecbe AK |
4772 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
4773 | ||
4774 | * config/i386/driver-i386.c (host_detect_local_cpu): | |
4775 | Add model 0x2d Intel CPU. | |
4776 | ||
1460ec5c AK |
4777 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
4778 | ||
4779 | * reginfo.c (global_regs_decl): Add. | |
b8bc3a43 UB |
4780 | (globalize_reg): Add decl parameter. Compute location. Pass location |
4781 | to warnings and add inform. Store decl in global_regs_decl. | |
1460ec5c AK |
4782 | * rtl.h (globalize_reg): Update prototype. |
4783 | * varasm.c (make_decl_rtl): Pass decl to globalize_reg(). | |
4784 | ||
df17530a MX |
4785 | 2011-06-09 Mingjie Xing <mingjie.xing@gmail.com> |
4786 | ||
4787 | * treestruct.def (TS_TYPE_DECL): Fix the printable name typo. | |
4788 | ||
409fed48 KK |
4789 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
4790 | ||
4791 | PR target/49305 | |
4792 | * config/sh/predicates.md (general_movsrc_operand): Check | |
4793 | mode for memory with indexed address for QI and HImode. | |
4794 | (general_movdst_operand): Likewise. | |
4795 | ||
87c16a45 NP |
4796 | 2011-06-09 Nicola Pero <nicola.pero@meta-innovation.com> |
4797 | ||
b8bc3a43 | 4798 | * doc/objc.texi (Traditional GNU Objective-C runtime API): Updated. |
87c16a45 | 4799 | |
49931fcb AO |
4800 | 2011-06-08 Alexandre Oliva <aoliva@redhat.com> |
4801 | ||
4802 | * tree-flow-inline.h (op_iter_init): Reject GIMPLE_PHI stmts. | |
4803 | (num_ssa_operands): Likewise. | |
4804 | (op_iter_init_phiuse): Forward-declare. | |
4805 | (delink_stmt_imm_use): Iterate with FOR_EACH_PHI_OR_STMT_USE. | |
4806 | ||
29494d1f NC |
4807 | 2011-06-08 Nick Clifton <nickc@redhat.com> |
4808 | ||
4809 | * doc/invoke.texi (ARM Options): Update description of | |
4810 | -mthumb-interwork. | |
4811 | ||
4ffae7ff L |
4812 | 2011-06-08 H.J. Lu <hongjiu.lu@intel.com> |
4813 | ||
4814 | * config/i386/driver-i386.c (host_detect_local_cpu): Support | |
4815 | unknown Intel family 0x6 CPUs. | |
4816 | ||
d9c77712 MJ |
4817 | 2011-06-08 Martin Jambor <mjambor@suse.cz> |
4818 | ||
4819 | * tree-sra.c (mark_rw_status): Removed. | |
4820 | (analyze_access_subtree): New parameter parent instead of | |
4821 | mark_read and mark_write, propagate from that. | |
4822 | ||
b1def36c JB |
4823 | 2011-06-08 Julian Brown <julian@codesourcery.com> |
4824 | ||
4825 | * config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI | |
4826 | for double-precision helper functions in hard-float mode if only | |
4827 | single-precision arithmetic is supported in hardware. | |
4828 | ||
6c8e9fc9 AM |
4829 | 2011-06-08 Alexander Monakov <amonakov@ispras.ru> |
4830 | ||
4831 | PR rtl-optimization/49303 | |
4832 | * sel-sched.c (move_op): Use correct type for 'res'. Verify that | |
4833 | code_motion_path_driver returned 0 or 1. | |
4834 | (sel_region_finish): Clear h_d_i_d. | |
4835 | ||
c2bbcb0d KK |
4836 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
4837 | ||
4838 | * config/sh/sh.c (prepare_move_operands): Set pic register | |
4839 | appropriately for global and local dynamic tls models even | |
4840 | if flag_pic is unset. | |
4841 | ||
6976ae51 JM |
4842 | 2011-06-07 Jason Merrill <jason@redhat.com> |
4843 | ||
4844 | * pretty-print.h (ATTRIBUTE_GCC_PPDIAG): Use GCC_DIAG_STYLE if set. | |
4845 | ||
bb5b1f5e XDL |
4846 | 2011-06-07 Xinliang David Li <davidxl@google.com> |
4847 | * passes.c (enable_disable_pass): Handle assembler name. | |
4848 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
4849 | ||
91ffe356 RO |
4850 | 2011-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4851 | ||
4852 | PR tree-optimization/48497 | |
4853 | * doc/sourcebuild.texi (Directives, dg-additional-options): Document. | |
4854 | ||
06bc3ec7 BS |
4855 | 2011-06-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4856 | ||
4857 | PR tree-optimization/46728 | |
4858 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Change FIXME | |
4859 | to use gimple_val_nonnegative_real_p. | |
4860 | * gimple-fold.c (gimple_val_nonnegative_real_p): New function. | |
4861 | * gimple.h (gimple_val_nonnegative_real_p): New declaration. | |
29494d1f | 4862 | |
c074d740 L |
4863 | 2011-06-07 H.J. Lu <hongjiu.lu@intel.com> |
4864 | ||
4865 | * config/i386/i386.md (*movsf_internal): Optimize AVX check. | |
4866 | ||
8973b112 SG |
4867 | 2011-06-07 Sergey Grechanik <mouseentity@ispras.ru> |
4868 | ||
4869 | * config/arm/arm.c (coproc_secondary_reload_class): Return NO_REGS for | |
4870 | constant vectors. | |
4871 | ||
67b88453 RG |
4872 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
4873 | ||
4874 | * stor-layout.c (initialize_sizetypes): Initialize all | |
4875 | sizetypes based on target definitions. | |
4876 | (set_sizetype): Remove. | |
4877 | * tree.c (build_common_tree_nodes): Do not call set_sizetype. | |
4878 | * tree.h (set_sizetype): Remove. | |
4879 | ||
1dcad079 NC |
4880 | 2011-06-07 Nick Clifton <nickc@redhat.com> |
4881 | ||
4882 | * config.gcc: Unify V850 architecture options and add support for | |
4883 | newer V850 architectures. | |
4884 | * config/v850/t-v850e: Delete. | |
4885 | ||
009db074 RG |
4886 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
4887 | ||
4888 | * tree.c (build_common_tree_nodes): Also initialize size_type_node. | |
4889 | Call set_sizetype from here. | |
4890 | ||
f373314f AS |
4891 | 2011-06-07 Andrew Stubbs <ams@codesourcery.com> |
4892 | ||
4893 | * config/arm/arm.md (*maddhidi4tb, *maddhidi4tt): New define_insns. | |
4894 | (*maddhisi4tb, *maddhisi4tt): New define_insns. | |
4895 | ||
c536876e AS |
4896 | 2011-06-07 Bernd Schmidt <bernds@codesourcery.com> |
4897 | Andrew Stubbs <ams@codesourcery.com> | |
4898 | ||
4899 | * simplify-rtx.c (simplify_unary_operation_1): Canonicalize widening | |
4900 | multiplies. | |
4901 | * doc/md.texi (Canonicalization of Instructions): Document widening | |
4902 | multiply canonicalization. | |
4903 | ||
308dc890 JJ |
4904 | 2011-06-07 Jakub Jelinek <jakub@redhat.com> |
4905 | ||
4906 | PR gcov-profile/49299 | |
b8bc3a43 | 4907 | * value-prof.c (gimple_ic): Don't assume icall has a fallthru edge. |
308dc890 | 4908 | |
383d9c83 IR |
4909 | 2011-06-07 Ira Rosen <ira.rosen@linaro.org> |
4910 | ||
4911 | * tree-vectorizer.h (vect_recog_func_ptr): Make last argument to be | |
4912 | a pointer. | |
4913 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern, | |
4914 | vect_recog_widen_mult_pattern, vect_recog_dot_prod_pattern, | |
4915 | vect_recog_pow_pattern): Likewise. | |
4916 | (vect_pattern_recog_1): Remove declaration. | |
4917 | (widened_name_p): Remove declaration. Add new argument to specify | |
4918 | whether to check that both types are either signed or unsigned. | |
4919 | (vect_recog_widen_mult_pattern): Update documentation. Handle | |
4920 | unsigned patterns and multiplication by constants. | |
4921 | (vect_pattern_recog_1): Update vect_recog_func references. Use | |
4922 | statement information from the statement returned from pattern | |
4923 | detection functions. | |
4924 | (vect_pattern_recog): Update vect_recog_func reference. | |
4925 | * tree-vect-stmts.c (vectorizable_type_promotion): For widening | |
4926 | multiplication by a constant use the type of the other operand. | |
4927 | ||
4de4b0f2 RS |
4928 | 2011-06-06 Richard Sandiford <rdsandiford@googlemail.com> |
4929 | ||
4930 | PR rtl-optimization/49145 | |
4931 | * combine.c (make_compound_operation): Handle ZERO_EXTEND specially. | |
4932 | ||
a9d24544 JJ |
4933 | 2011-06-06 Jakub Jelinek <jakub@redhat.com> |
4934 | ||
99a5e049 JJ |
4935 | PR debug/49262 |
4936 | * dwarf2out.c (native_encode_initializer): Decrement count in each | |
4937 | iteration. | |
4938 | ||
04902d4c JJ |
4939 | PR debug/49294 |
4940 | * dwarf2out.c (mem_loc_descriptor) <do_shift>: Give up for | |
4941 | non-MODE_INT modes. | |
4942 | ||
a9d24544 JJ |
4943 | PR c++/49264 |
4944 | * gimple-fold.c (fold_stmt_1): Don't try to fold *& on the lhs | |
4945 | if stmt folded into nothing. | |
b8bc3a43 UB |
4946 | * tree-inline.c (fold_marked_statements): If a builtin at the end of |
4947 | a bb folded into nothing, just update cgraph edges and move to next bb. | |
a9d24544 JJ |
4948 | * cgraph.c (cgraph_update_edges_for_call_stmt_node): Allow new_stmt |
4949 | to be NULL. Don't compute count and frequency if new_call is NULL. | |
4950 | ||
47c79d56 DN |
4951 | 2011-06-04 Diego Novillo <dnovillo@google.com> |
4952 | ||
4953 | * Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H. | |
4954 | (cgraph.o): Likewise. | |
4955 | (cgraphunit.o): Likewise. | |
4956 | * cgraphunit.c: Include lto-streamer.h | |
4957 | (cgraph_finalize_compilation_unit): Call lto_streamer_hooks_init | |
4958 | if LTO is enabled. | |
4959 | * lto-streamer-in.c (unpack_value_fields): Call | |
4960 | streamer_hooks.unpack_value_fields if set. | |
4961 | (lto_materialize_tree): For unhandled nodes, first try to | |
4962 | call lto_streamer_hooks.alloc_tree, if it exists. | |
4963 | (lto_input_ts_decl_common_tree_pointers): Move reading of | |
4964 | DECL_INITIAL to lto_streamer_read_tree. | |
4965 | (lto_read_tree): Call lto_streamer_hooks.read_tree if set. | |
4966 | (lto_streamer_read_tree): New. | |
4967 | (lto_reader_init): Rename from lto_init_reader. | |
4968 | Move initialization code to lto/lto.c. | |
4969 | * lto-streamer-out.c (pack_value_fields): Call | |
4970 | streamer_hooks.pack_value_fields if set. | |
b8bc3a43 UB |
4971 | (lto_output_tree_ref): For tree nodes that are not normally indexable, |
4972 | call streamer_hooks.indexable_with_decls_p before giving up. | |
47c79d56 | 4973 | (lto_output_ts_decl_common_tree_pointers): Move handling |
b8bc3a43 UB |
4974 | for FUNCTION_DECL and TRANSLATION_UNIT_DECL to lto_streamer_write_tree. |
4975 | (lto_output_tree_header): Call streamer_hooks.is_streamable instead of | |
4976 | lto_is_streamable. Call lto_streamer_hooks.output_tree_header if set. | |
4977 | (lto_write_tree): Call lto_streamer_hooks.write_tree if set. | |
47c79d56 DN |
4978 | (lto_streamer_write_tree): New. |
4979 | (lto_output): Call lto_streamer_init directly. | |
4980 | (lto_writer_init): Remove. | |
4981 | * lto-streamer.c (streamer_hooks): New. | |
4982 | (lto_streamer_cache_create): Call streamer_hooks.preload_common_nodes | |
4983 | instead of lto_preload_common_nodes. | |
4984 | (lto_is_streamable): Move from lto-streamer.h | |
4985 | (lto_streamer_hooks_init): New. | |
4986 | (streamer_hooks): New. | |
4987 | (streamer_hooks_init): New. | |
4988 | * lto-streamer.h (struct output_block): Forward declare. | |
4989 | (struct lto_input_block): Likewise. | |
4990 | (struct data_in): Likewise. | |
4991 | (struct bitpack_d): Likewise. | |
4992 | (struct streamer_hooks): Declare. | |
4993 | (streamer_hooks): Declare. | |
4994 | (lto_streamer_hooks_init): Declare. | |
4995 | (lto_streamer_write_tree): Declare. | |
4996 | (lto_streamer_read_tree): Declare. | |
4997 | (streamer_hooks_init): Declare. | |
4998 | (lto_is_streamable): Move to lto-streamer.c | |
4999 | ||
22afe143 AK |
5000 | 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5001 | ||
5002 | * longlong.h (smul_ppmm): The resulting register pair contains the | |
5003 | higher order word first. | |
5004 | ||
3906ea1b BS |
5005 | 2011-06-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5006 | ||
5007 | PR tree-optimization/46728 | |
5008 | * builtins.c (powi_table): Remove. | |
5009 | (powi_lookup_cost): Remove. | |
5010 | (powi_cost): Remove. | |
5011 | (expand_powi_1): Remove. | |
5012 | (expand_powi): Remove. | |
5013 | (expand_builtin_pow_root): Remove. | |
5014 | (expand_builtin_pow): Remove. | |
5015 | (expand_builtin_powi): Eliminate handling of constant exponent. | |
5016 | (expand_builtin): Use expand_builtin_mathfn_2 for BUILT_IN_POW. | |
b8bc3a43 | 5017 | |
3598cabd AO |
5018 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
5019 | ||
5020 | * cprop.c (local_cprop_pass): Don't set changed for debug insns. | |
5021 | ||
a7a110bb AO |
5022 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
5023 | ||
5024 | * dce.c (reset_unmarked_insns_debug_uses): New. | |
5025 | (delete_unmarked_insns): Skip debug insns. | |
5026 | (prescan_insns_for_dce): Likewise. | |
5027 | (rest_of_handle_ud_dce): Reset debug uses of removed sets. | |
5028 | * reg-stack.c (subst_stack_regs_in_debug_insn): Signal when no | |
5029 | active reg can be found. | |
5030 | (subst_all_stack_regs_in_debug_insn): New. Reset debug insn then. | |
5031 | (convert_regs_1): Use it. | |
5032 | ||
6d8402ac AO |
5033 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
5034 | ||
5035 | * tree-pretty-print.c (dump_function_header): Add flags. | |
5036 | Don't dump decl_uid with nouid. | |
5037 | * tree-pretty-print.h (dump_function_header): Adjust. | |
5038 | * final.c (rest_of_clean_state): Pass dump_flags on, with nouid. | |
5039 | * passes.c (pass_init_dump_file): Pass dump_flags on. | |
5040 | * tree-cfg.c (gimple_dump_cfg): Pass flags on. | |
5041 | ||
f75e1f1e AO |
5042 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
5043 | ||
5044 | PR bootstrap/49270 | |
5045 | * ipa-inline-analysis.c (read_predicate): Initialize all clauses. | |
5046 | ||
275311c4 MP |
5047 | 2011-06-06 Mikael Pettersson <mikpe@it.uu.se> |
5048 | ||
5049 | PR tree-optimization/49243 | |
5050 | * calls.c (setjmp_call_p): Also check if fndecl has the | |
5051 | returns_twice attribute. | |
5052 | ||
aa4203e7 RO |
5053 | 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5054 | ||
5055 | * config/mips/iris6.h (ENDFILE_SPEC): Use crtfastmath.o if | |
5056 | -ffast-math etc. | |
5057 | ||
48f9d59a RH |
5058 | 2011-06-06 Richard Henderson <rth@redhat.com> |
5059 | Georg-Johann Lay <avr@gjlay.de> | |
5060 | ||
5061 | PR target/42210 | |
5062 | * config/avr/predicates.md (const1_operand, const_0_to_7_operand): | |
5063 | New predicates. | |
5064 | * config/avr/avr.md ("insv"): New insn expander. | |
5065 | ("*movbitqi.1-6.a", "*movbitqi.1-6.b", "*movbitqi.0", "*insv.io", | |
5066 | "*insv.not.io", "*insv.reg"): New insns. | |
5067 | ||
11494830 HPN |
5068 | 2011-06-06 Hans-Peter Nilsson <hp@bitrange.com> |
5069 | ||
5070 | PR target/49285 | |
b8bc3a43 UB |
5071 | * config/mmix/mmix.md ("truncdfsf2", "extendsfdf2"): Correct predicate |
5072 | to nonimmediate_operand from memory_operand for the operand that is to | |
5073 | be forced to memory by the expander. Lose the constraints. | |
11494830 | 5074 | |
679e70df EB |
5075 | 2011-06-05 Eric Botcazou <ebotcazou@adacore.com> |
5076 | ||
5077 | * config/sparc/sparc.c (output_return): Fix thinko in the output of an | |
5078 | EH return when delayed branches are disabled. | |
5079 | ||
4d3d7f15 UB |
5080 | 2011-06-05 Uros Bizjak <ubizjak@gmail.com> |
5081 | ||
5082 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: | |
5083 | Remove MODE_TI handling. Remove SSE1 handling in attribute "mode" | |
5084 | calculation. | |
5085 | (*movdf_internal_rex64) <case 6,7,8>: Remove MODE_TI handling. | |
5086 | Simplify MODE_V1DF and MODE_V2SF handling. | |
5087 | (*movsf_internal): Remove x constraint from alternative 7 of operand 1. | |
5088 | Simplify MODE_SF handling. | |
5089 | ||
a45c0557 JH |
5090 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
5091 | ||
5092 | PR tree-optimization/48893 | |
5093 | PR tree-optimization/49091 | |
5094 | PR tree-optimization/49179 | |
5095 | * ipa-inline-analysis.c (evaluate_conditions_for_known_args): | |
5096 | Bounds check. | |
5097 | ||
26740835 JH |
5098 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
5099 | ||
5100 | PR lto/48954 | |
b8bc3a43 UB |
5101 | * lto-cgraph.c (output_node_opt_summary): Handle NULL skip args |
5102 | bitmaps. | |
26740835 | 5103 | |
014ab419 JW |
5104 | 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com> |
5105 | ||
5106 | * doc/invoke.texi: Document -Wdelete-non-virtual-dtor. | |
5107 | ||
407bcba7 JJ |
5108 | 2011-06-04 Jakub Jelinek <jakub@redhat.com> |
5109 | ||
5110 | PR target/49281 | |
5111 | * config/i386/i386.md (*lea_general_4): Require INTVAL (operands[3]) | |
5112 | to be strictly smaller than 1 << shiftcount. | |
5113 | ||
e3195c52 JH |
5114 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
5115 | ||
5116 | PR tree-optimize/48929 | |
5117 | * ipa-inline-analysis.c (remap_edge_predicates): Fix handling | |
5118 | of empty predicate. | |
5119 | ||
047d33a0 AO |
5120 | 2011-06-04 Alexandre Oliva <aoliva@redhat.com> |
5121 | ||
5122 | PR debug/48333 | |
5123 | * calls.c (emit_call_1): Prefer the __builtin declaration of | |
5124 | builtin functions. | |
5125 | ||
dc587809 DN |
5126 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
5127 | ||
5128 | * lto-streamer-in.c (unpack_value_fields): Remove unneeded asserts. | |
5129 | (lto_input_tree_pointers): Likewise. | |
5130 | * lto-streamer-out.c (pack_value_fields): Likewise. | |
5131 | (lto_output_tree_pointers): Likewise. | |
5132 | * lto-streamer.h (lto_is_streamable): Add check for OMP_CLAUSE | |
5133 | and OPTIMIZATION_NODE. | |
5134 | ||
58cd1d70 RO |
5135 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5136 | ||
5137 | * config/alpha/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5138 | * config/alpha/osf5.h (MD_UNWIND_SUPPORT): Remove. | |
5139 | * config/alpha/vms.h (MD_UNWIND_SUPPORT): Remove. | |
5140 | * config/bfin/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5141 | * config/bfin/uclinux.h (MD_UNWIND_SUPPORT): Remove. | |
5142 | * config/i386/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5143 | * config/i386/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
5144 | * config/i386/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
5145 | * config/i386/mingw32.h (MD_UNWIND_SUPPORT): Remove. | |
5146 | * config/ia64/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5147 | * config/ia64/vms.h (MD_UNWIND_SUPPORT): Remove. | |
5148 | * config/m68k/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5149 | * config/mips/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5150 | * config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): Remove. | |
5151 | * config/pa/pa32-linux.h (MD_UNWIND_SUPPORT): Remove. | |
5152 | * config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Remove. | |
5153 | * config/rs6000/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5154 | * config/rs6000/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
5155 | * config/s390/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5156 | * config/s390/tpf.h (MD_UNWIND_SUPPORT): Remove. | |
5157 | * config/sh/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5158 | * config/sparc/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5159 | * config/sparc/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
5160 | * config/sparc/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
5161 | * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Remove. | |
5162 | * config/alpha/linux-unwind.h: Move to ../libgcc/config/alpha. | |
5163 | * config/alpha/osf5-unwind.h: Move to ../libgcc/config/alpha. | |
5164 | * config/alpha/vms-unwind.h: Move to ../libgcc/config/alpha. | |
5165 | * config/bfin/linux-unwind.h: Move to ../libgcc/config/bfin. | |
5166 | * config/i386/linux-unwind.h: Move to ../libgcc/config/i386. | |
5167 | * config/i386/sol2-unwind.h: Move to ../libgcc/config/i386. | |
5168 | * config/i386/w32-unwind.h: Move to ../libgcc/config/i386. | |
5169 | * config/ia64/linux-unwind.h: Move to ../libgcc/config/ia64. | |
5170 | * config/ia64/vms-unwind.h: Move to ../libgcc/config/ia64. | |
5171 | * config/m68k/linux-unwind.h: Move to ../libgcc/config/m68k. | |
5172 | * config/mips/linux-unwind.h: Move to ../libgcc/config/mips. | |
5173 | * config/pa/hpux-unwind.h: Move to ../libgcc/config/pa. | |
5174 | * config/pa/linux-unwind.h: Move to ../libgcc/config/pa. | |
5175 | * config/rs6000/darwin-unwind.h: Move to ../libgcc/config/rs6000. | |
5176 | * config/rs6000/linux-unwind.h: Move to ../libgcc/config/rs6000. | |
5177 | * config/s390/linux-unwind.h: Move to ../libgcc/config/s390. | |
5178 | * config/s390/tpf-unwind.h: Move to ../libgcc/config/s390. | |
5179 | * config/sh/linux-unwind.h: Move to ../libgcc/config/sh. | |
5180 | * config/sparc/linux-unwind.h: Move to ../libgcc/config/sparc. | |
5181 | * config/sparc/sol2-unwind.h: Move to ../libgcc/config/sparc. | |
5182 | * config/xtensa/linux-unwind.h: Move to ../libgcc/config/xtensa. | |
5183 | * config/darwin9.h (DARWIN_LIBSYSTEM_HAS_UNWIND): Remove. | |
5184 | * system.h (MD_UNWIND_SUPPORT): Poison. | |
5185 | * doc/tm.texi.in (Exception Handling, MD_UNWIND_SUPPORT): Remove. | |
5186 | * doc/tm.texi: Regenerate. | |
5187 | * unwind-dw2.c: Include md-unwind-support.h instead of | |
5188 | MD_UNWIND_SUPPORT. | |
5189 | * config/ia64/unwind-ia64.c: Likewise. | |
5190 | * config/xtensa/unwind-dw2-xtensa.c: Likewise. | |
5191 | ||
10c63ba4 | 5192 | 2011-06-03 Jack Howarth <howarth@bromo.med.uc.edu> |
34e0c8d5 JH |
5193 | |
5194 | * varpool.c (varpool_extra_name_alias): Return NULL, not false. | |
5195 | ||
1b7a0148 RH |
5196 | 2011-06-03 Richard Henderson <rth@redhat.com> |
5197 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
5198 | ||
5199 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__] | |
5200 | (sigill_hdlr): Correct insn, insn size. | |
5201 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Use movaps. | |
5202 | ||
737346fa RO |
5203 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5204 | ||
5205 | * config.gcc (mips-sgi-irix6.5*): Set tmake_file to mips/t-irix6 | |
5206 | t-slibgcc-dummy. | |
5207 | * config/mips/irix-crti.asm: Move to ../libgcc/config/mips/irix-crti.S. | |
5208 | * config/mips/irix-crtn.asm: Move to ../libgcc/config/mips/irix-crtn.S. | |
5209 | * config/mips/t-iris: Remove. | |
5210 | * config/mips/t-irix6: New file. | |
5211 | * config/mips/t-slibgcc-irix: Move to ../libgcc/config/mips. | |
5212 | ||
c192cee6 RO |
5213 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5214 | ||
5215 | * Makefile.in (LIB2ADDEHDEP): Remove. | |
5216 | * config/arm/t-bpabi (LIB2ADDEHDEP): Remove. | |
5217 | * config/arm/t-symbian (LIB2ADDEHDEP): Remove. | |
5218 | * config/picochip/t-picochip (LIB2ADDEHDEP): Remove. | |
5219 | * config/t-darwin (LIB2ADDEHDEP): Remove. | |
5220 | * config/t-freebsd (LIB2ADDEHDEP): Remove. | |
5221 | * config/t-linux (LIB2ADDEHDEP): Remove. | |
5222 | ||
d5828cc7 DN |
5223 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
5224 | ||
5225 | * lto-streamer-in.c (get_resolution): Move to lto/lto.c. | |
5226 | (lto_register_var_decl_in_symtab): Likewise. | |
5227 | (lto_register_function_decl_in_symtab): Likewise. | |
5228 | (lto_read_tree): Move VAR_DECL and FUNCTION_DECL registration | |
8929d9ea | 5229 | logic to uniquify_nodes. |
d5828cc7 | 5230 | |
ee33b5f0 RO |
5231 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5232 | ||
5233 | * config/alpha/t-osf5: Remove. | |
5234 | * config/alpha/t-osf-pthread: Remove. | |
5235 | * config.gcc (alpha*-dec-osf5.1*): Set tmake_file to t-slibgcc-dummy. | |
5236 | * mkmap-flat.awk: Handle osf_export for Tru64 UNIX linker -input file. | |
5237 | ||
16868d84 JB |
5238 | 2011-06-03 Julian Brown <julian@codesourcery.com> |
5239 | ||
5240 | * config/arm/arm-cores.def (strongarm, strongarm110, strongarm1100) | |
5241 | (strongarm1110): Use strongarm tuning. | |
4d3d7f15 | 5242 | * config/arm/arm-protos.h (tune_params): Add max_insns_skipped field. |
16868d84 JB |
5243 | * config/arm/arm.c (arm_strongarm_tune): New. |
5244 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
5245 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a5_tune) | |
5246 | (arm_cortex_a9_tune, arm_fa726te_tune): Add max_insns_skipped field | |
5247 | setting, using previous defaults or 1 for Cortex-A5. | |
5248 | (arm_option_override): Set max_insns_skipped from current tuning. | |
5249 | ||
1cec1285 NS |
5250 | 2011-06-03 Nathan Sidwell <nathan@codesourcery.com> |
5251 | ||
5252 | * doc/install.texi (Options specification): Document --with-specs. | |
5253 | ||
eed55426 RR |
5254 | 2011-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
5255 | ||
5256 | * config/arm/neon.md (orndi3_neon): Actually split it. | |
5257 | ||
d5b6cc25 AO |
5258 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
5259 | ||
5260 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. | |
5261 | * var-tracking.c (reverse_op): Limite recurse depth to 5. | |
5262 | ||
2ba42841 AO |
5263 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
5264 | ||
5265 | PR debug/47590 | |
5266 | * target.def (delay_sched2, delay_vartrack): New. | |
5267 | * doc/tm.texi.in: Update. | |
5268 | * doc/tm.texi: Rebuild. | |
5269 | * sched-rgn.c (gate_handle_sched2): Fail if delay_sched2. | |
5270 | * var-tracking.c (gate_handle_var_tracking): Likewise. | |
5271 | * config/bfin/bfin.c (bfin_flag_schedule_insns2): Drop. | |
5272 | (bfin_flag_var_tracking): Drop. | |
5273 | (output_file_start): Don't save and override flag_var_tracking. | |
5274 | (bfin_option_override): Ditto flag_schedule_insns_after_reload. | |
5275 | (bfin_reorg): Test original variables. | |
5276 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
5277 | * config/ia64/ia64.c (ia64_flag_schedule_insns2): Drop. | |
5278 | (ia64_flag_var_tracking): Drop. | |
5279 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
5280 | (ia64_file_start): Don't save and override flag_var_tracking. | |
5281 | (ia64_override_options_after_change): Ditto | |
5282 | flag_schedule_insns_after_reload. | |
5283 | (ia64_reorg): Test original variables. | |
5284 | * config/picochip/picochip.c (picochip_flag_schedule_insns2): Drop. | |
5285 | (picochip_flag_var_tracking): Drop. | |
5286 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
5287 | (picochip_option_override): Don't save and override | |
5288 | flag_schedule_insns_after_reload. | |
5289 | (picochip_asm_file_start): Ditto flag_var_tracking. | |
5290 | (picochip_reorg): Test original variables. | |
5291 | * config/spu/spu.c (spu_flag_var_tracking): Drop. | |
5292 | (TARGET_DELAY_VARTRACK): Define. | |
5293 | (spu_var_tracking): New. | |
5294 | (spu_machine_dependent_reorg): Call it. | |
5295 | (asm_file_start): Don't save and override flag_var_tracking. | |
5296 | ||
a700b5f0 KK |
5297 | 2011-06-02 Kaz Kojima <kkojima@gcc.gnu.org> |
5298 | ||
5299 | PR target/49163 | |
5300 | * config/sh/predicates.md (general_movsrc_operand): Return 0 | |
5301 | for memory and memory subreg of which address is an invalid | |
5302 | indexed address for QI and HImode. | |
5303 | (general_movdst_operand): Likewise. | |
5304 | ||
76015c34 EB |
5305 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
5306 | ||
5307 | * cse.c (cse_find_path): Refine change to exclude EDGE_ABNORMAL_CALL | |
5308 | edges only, when there is a non-local label in the function. | |
5309 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Likewise. | |
5310 | ||
4e76acd2 UB |
5311 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
5312 | ||
5313 | * config/i386/constraints.md (Y3): New register constraint. | |
5314 | * config/i386/sse.md (*vec_interleave_highv2df): Merge with | |
5315 | *sse3_interleave_highv2df and *sse2_interleave_highv2df. | |
5316 | (*vec_interleave_lowv2df): Merge with *sse3_interleave_lowv2df and | |
5317 | *sse2_interleave_lowv2df. | |
5318 | ||
288f605f JB |
5319 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
5320 | ||
5321 | * config/arm/arm-cores.def (cortex-a5): Use cortex_a5 tuning. | |
5322 | * config/arm/arm.c (arm_cortex_a5_branch_cost): New. | |
5323 | (arm_cortex_a5_tune): New. | |
5324 | ||
7ec70105 JB |
5325 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
5326 | ||
153668ec JB |
5327 | * config/arm/arm-protos.h (tune_params): Add branch_cost hook. |
5328 | * config/arm/arm.c (arm_default_branch_cost): New. | |
5329 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
5330 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune) | |
5331 | (arm_fa726_tune): Set branch_cost field using | |
5332 | arm_default_branch_cost. | |
5333 | * config/arm/arm.h (BRANCH_COST): Use branch_cost hook from | |
5334 | current_tune structure. | |
5335 | * dojump.c (tm_p.h): Include file. | |
5336 | ||
5337 | 2011-06-02 Julian Brown <julian@codesourcery.com> | |
5338 | ||
5339 | * config/arm/arm-cores.def (arm1156t2-s, arm1156t2f-s): Use v6t2 | |
5340 | tuning. | |
7ec70105 JB |
5341 | (cortex-a5, cortex-a8, cortex-a15, cortex-r4, cortex-r4f, cortex-m4) |
5342 | (cortex-m3, cortex-m1, cortex-m0): Use cortex tuning. | |
5343 | * config/arm/arm-protos.h (tune_params): Add prefer_constant_pool | |
5344 | field. | |
5345 | * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune) | |
5346 | (arm_xscale_tune, arm_9e_tune, arm_cortex_a9_tune) | |
5347 | (arm_fa726te_tune): Add prefer_constant_pool setting. | |
5348 | (arm_v6t2_tune, arm_cortex_tune): New. | |
5349 | * config/arm/arm.h (TARGET_USE_MOVT): Make dependent on | |
5350 | prefer_constant_pool setting. | |
5351 | ||
aad61732 UB |
5352 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
5353 | ||
4e76acd2 UB |
5354 | * config/i386/i386.c (standard_sse_constant_p) <case 1>: Simplify |
5355 | switch statement. | |
aad61732 UB |
5356 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: Ditto. |
5357 | (*movdf_internal) <case 6,7,8>: Ditto. | |
5358 | ||
4e76acd2 | 5359 | * config/i386/constraints.md (Y4): New register constraint. |
aad61732 UB |
5360 | * config/i386/sse.md (vec_set<mode>_0): Merge with |
5361 | *vec_set<mode>_0_sse4_1 and *vec_set<mode>_0_sse2. | |
5362 | (*vec_extractv2di_1): Merge from *vec_extractv2di_1_sse2 and | |
5363 | *vec_extractv2di_1_sse. | |
5364 | (*vec_concatv2di_rex64): Merge from *vec_concatv2di_rex64_sse4_1 | |
5365 | and *vec_concatv2di_rex64_sse. | |
5366 | ||
6e588138 SH |
5367 | 2011-06-02 Stuart Henderson <shenders@gcc.gnu.org> |
5368 | ||
5369 | PR target/48807 | |
5370 | * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Check return value | |
5371 | of cgraph_local_info for null before attempting to use it. | |
5372 | ||
bc6d3f91 EB |
5373 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
5374 | ||
5375 | * function.h (struct stack_usage): Remove dynamic_alloc_count field. | |
5376 | (current_function_dynamic_alloc_count): Delete. | |
5377 | * builtins.c (expand_builtin_setjmp_setup): Do not set calls_setjmp. | |
5378 | (expand_builtin_nonlocal_goto): Remove obsolete comment. | |
5379 | (expand_builtin_update_setjmp_buf): Remove dead code. | |
5380 | * cse.c (cse_find_path): Do not follow a single abnormal incoming edge. | |
5381 | * explow.c (allocate_dynamic_stack_space): Remove SETJMP_VIA_SAVE_AREA | |
5382 | support. | |
5383 | * function.c (instantiate_virtual_regs): Likewise. | |
5384 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Return false | |
5385 | for a block with a single abnormal incoming edge. | |
5386 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Define. | |
a21ede65 | 5387 | (SETJMP_VIA_SAVE_AREA): Delete. |
bc6d3f91 EB |
5388 | * config/sparc/sparc-protos.h (load_got_register): Declare. |
5389 | * config/sparc/sparc.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Define. | |
5390 | (load_got_register): Make global. | |
5391 | (sparc_frame_pointer_required): Add 'static'. | |
5392 | (sparc_can_eliminate): Likewise. Call sparc_frame_pointer_required. | |
5393 | (sparc_builtin_setjmp_frame_value): New function. | |
5394 | * config/sparc/sparc.md (UNSPECV_SETJMP): Remove. | |
5395 | (save_stack_nonlocal): New expander. | |
5396 | (restore_stack_nonlocal): Likewise. | |
5397 | (nonlocal_goto): Remove modes, adjust predicates and reimplement. | |
5398 | (nonlocal_goto_internal): New insn. | |
5399 | (goto_handler_and_restore): Delete. | |
5400 | (builtin_setjmp_setup): Likewise. | |
5401 | (do_builtin_setjmp_setup): Likewise. | |
5402 | (setjmp): Likewise. | |
5403 | (builtin_setjmp_receiver): New expander. | |
5404 | ||
69282fee DL |
5405 | 2011-06-01 David Li <davidxl@google.com> |
5406 | ||
5407 | PR middle-end/49261 | |
5408 | * tree-pretty-print.c (dump_function_header): Format cleanup. | |
5409 | ||
e95873dd KK |
5410 | 2011-06-01 Kaz Kojima <kkojima@gcc.gnu.org> |
5411 | ||
5412 | PR target/49238 | |
5413 | * config/sh/sh.c (expand_cbranchdi4): Use a scratch register if | |
5414 | needed when original operands are used for msw_skip comparison. | |
5415 | ||
88c15821 JJ |
5416 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
5417 | ||
5418 | PR debug/49250 | |
5419 | * var-tracking.c (add_uses, add_stores): Don't call | |
5420 | cselib_subst_to_values on ENTRY_VALUE. | |
5421 | ||
07233947 DN |
5422 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
5423 | ||
5424 | * lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call | |
5425 | output_record_start with LTO_null instead of output_zero. | |
5426 | (lto_output_ts_binfo_tree_pointers): Likewise. | |
5427 | (lto_output_tree): Likewise. | |
5428 | (output_eh_try_list): Likewise. | |
5429 | (output_eh_region): Likewise. | |
5430 | (output_eh_lp): Likewise. | |
5431 | (output_eh_regions): Likewise. | |
5432 | (output_bb): Likewise. | |
5433 | (output_function): Likewise. | |
5434 | (output_unreferenced_globals): Likewise. | |
5435 | * lto-streamer.h (enum LTO_tags): Reserve MAX_TREE_CODES | |
5436 | instead of NUM_TREE_CODES. | |
5437 | (lto_tag_is_tree_code_p): Check max value against MAX_TREE_CODES. | |
5438 | (lto_output_int_in_range): Change << to >> when shifting VAL. | |
5439 | ||
4ee3537a DN |
5440 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
5441 | ||
5442 | * lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): | |
5443 | Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes. | |
5444 | ||
02972eaf RS |
5445 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
5446 | ||
5447 | PR target/45074 | |
5448 | * optabs.h (valid_multiword_target_p): Declare. | |
5449 | * expmed.c (extract_bit_field_1): Check valid_multiword_target_p when | |
5450 | doing multi-word operations. | |
5451 | * optabs.c (expand_binop): Likewise. | |
5452 | (expand_doubleword_bswap): Likewise. | |
5453 | (expand_absneg_bit): Likewise. | |
5454 | (expand_unop): Likewise. | |
5455 | (expand_copysign_bit): Likewise. | |
5456 | (multiword_target_p): New function. | |
5457 | ||
4d41c2d1 RS |
5458 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
5459 | ||
5460 | PR rtl-optimization/48830 | |
5461 | PR rtl-optimization/48808 | |
5462 | PR rtl-optimization/48792 | |
5463 | * reload.c (push_reload): Check contains_reg_of_mode. | |
5464 | * reload1.c (strip_paradoxical_subreg): New function. | |
5465 | (gen_reload_chain_without_interm_reg_p): Use it to handle | |
5466 | paradoxical subregs. | |
5467 | (emit_output_reload_insns, gen_reload): Likewise. | |
5468 | ||
5f57dccb DL |
5469 | 2011-06-01 David Li <davidxl@google.com> |
5470 | ||
5471 | * predict.c : Change pass name | |
5472 | * ipa.c: Ditto. | |
5473 | * dce.c: Ditto. | |
5474 | * tree-profile.c: Ditto. | |
5475 | * except.c: Ditto. | |
5476 | ||
ea6cf778 DL |
5477 | 2011-06-01 David Li <davidxl@google.com> |
5478 | ||
5479 | * tree-pretty-print.c (dump_function_header): New function. | |
5480 | * final.c (rest_of_clean_state): Use header dumper. | |
5481 | * tree-cfg.c (gimple_dump_cfg): Use header dumper. | |
5482 | * passes.c (pass_init_dump_file): Use header dumper. | |
5483 | ||
ebdc0d4b JJ |
5484 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
5485 | ||
eeeb9b49 JJ |
5486 | * dwarf2out.c (compare_loc_descriptor, scompare_loc_descriptor, |
5487 | ucompare_loc_descriptor, minmax_loc_descriptor, clz_loc_descriptor, | |
5488 | popcount_loc_descriptor, bswap_loc_descriptor, rotate_loc_descriptor): | |
5489 | New functions. | |
5490 | (mem_loc_descriptor): Use them. | |
5491 | ||
ebdc0d4b JJ |
5492 | * var-tracking.c (create_entry_value): New function. |
5493 | (vt_add_function_parameter): Use it. | |
5494 | ||
0699e415 RO |
5495 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5496 | ||
5497 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]: | |
5498 | Include <signal.h>, <ucontext.h>. | |
5499 | (sigill_caught): Define. | |
5500 | (sigill_hdlr): New function. | |
5501 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Check if SSE | |
5502 | insns can be executed. | |
aad61732 | 5503 | * config/sol2.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc. |
0699e415 RO |
5504 | * config/sparc/sol2.h (ENDFILE_SPEC): Remove. |
5505 | ||
ca24c5ad RO |
5506 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5507 | ||
5508 | * config/t-slibgcc-darwin: Move to ... | |
aad61732 | 5509 | * config/t-slibgcc-dummy: ... this. Clarify comments. |
ca24c5ad RO |
5510 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*, |
5511 | powerpc-*-darwin*, powerpc64-*-darwin*): Reflect this. | |
5512 | (i[3456x]86-*-netware*): Add t-slibgcc-dummy to tmake_file. | |
aad61732 | 5513 | (i[34567]86-*-rtems*): Remove extra_parts. Use i386/t-rtems. |
ca24c5ad RO |
5514 | Remove i386/t-crtstuff from tmake_file. |
5515 | (i[34567]86-*-solaris2*): Remove t-svr4, | |
5516 | t-slibgcc-elf-ver, t-slibgcc-sld from tmake_file, add | |
5517 | t-slibgcc-dummy. | |
5518 | (sparc-*-elf*, sparc64-*-elf*): Remove tmake_file, extra_parts. | |
5519 | (sparc-*-rtems*, sparc64-*-rtems*): Remove sparc/t-crtin, | |
5520 | sparc/t-crtfm from tmake_file. | |
5521 | (sparc*-*-solaris2*): Remove sparc/t-sol2, sparc/t-crtfm, | |
5522 | t-slibgcc-elf-ver, t-slibgcc-sld, add t-slibgcc-dummy. | |
5523 | Remove extra_parts. | |
5524 | * config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define. | |
5525 | * config/i386/t-nwld (SHLIB_LINK): Remove. | |
5526 | * config/i386/t-rtems-i386: Rename to ... | |
5527 | * config/i386/t-rtems: ... this. | |
5528 | ($(T)crti.o, $(T)crtn.o): Remove. | |
5529 | (FPBIT, DPBIT, LIB2FUNCS_EXTRA): Remove. | |
5530 | (dp-bit.c, fp-bit.c, xp-bit.c): Remove. | |
5531 | (EXTRA_MULTILIB_PARTS, LIBGCC, INSTALL_LIBGCC): Remove. | |
5532 | * config/i386/t-sol2-10 (LIBGCC, INSTALL_LIBGCC, | |
5533 | EXTRA_MULTILIB_PARTS): Remove. | |
5534 | * config/sparc/t-sol2-64: Likewise. | |
5535 | * config/sparc/t-sol2: Remove. | |
5536 | * config/sparc/t-crtin: Remove. | |
5537 | * config/sparc/gmon-sol2.c: Move to ../libgcc/config. | |
5538 | * config/i386/gmon-sol2.c: Remove. | |
5539 | * config/i386/sol2-c1.asm: Move to ../libgcc/config/i386/sol2-c1.S. | |
5540 | * config/i386/sol2-ci.asm: Move to ../libgcc/config/i386/sol2-ci.S. | |
5541 | * config/i386/sol2-cn.asm: Move to ../libgcc/config/i386/sol2-cn.S. | |
5542 | * config/i386/sol2-gc1.asm: Remove. | |
5543 | * config/sparc/sol2-c1.asm: Move to ../libgcc/config/sparc/sol2-c1.S. | |
5544 | * config/sparc/sol2-ci.asm: Move to ../libgcc/config/sparc/sol2-ci.S. | |
5545 | * config/sparc/sol2-cn.asm: Move to ../libgcc/config/sparc/sol2-cn.S. | |
5546 | * config/t-slibgcc-sld: Remove. | |
5547 | ||
a78d13c3 JJ |
5548 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
5549 | ||
5550 | * dwarf2out.c (mem_loc_descriptor) <do_ucompare>: Call | |
5551 | base_type_for_mode with op_mode instead of mode. | |
5552 | ||
572070ef PB |
5553 | 2011-06-01 Paul Brook <paul@cpodesourcery.com> |
5554 | ||
5555 | * config/arm/arm-cores.def: Add cortex-r5. Add DIV flags to | |
5556 | Cortex-A15. | |
5557 | * config/arm/arm-tune.md: Regenerate. | |
5558 | * config/arm/arm-tables.opt: Regenerate. | |
5559 | * config/arm/arm.c (FL_DIV): Rename... | |
5560 | (FL_THUMB_DIV): ... to this. | |
5561 | (FL_ARM_DIV): Define. | |
5562 | (FL_FOR_ARCH7R, FL_FOR_ARCH7M): Use FL_THUMB_DIV. | |
5563 | (arm_arch_hwdiv): Remove. | |
5564 | (arm_arch_thumb_hwdiv, arm_arch_arm_hwdiv): New variables. | |
5565 | (arm_issue_rate): Add cortexr5. | |
5566 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set | |
5567 | __ARM_ARCH_EXT_IDIV__. | |
5568 | (TARGET_IDIV): Define. | |
5569 | (arm_arch_hwdiv): Remove. | |
5570 | (arm_arch_arm_hwdiv, arm_arch_thumb_hwdiv): New prototypes. | |
5571 | * config/arm/arm.md (tune_cortexr4): Add cortexr5. | |
5572 | (divsi3, udivsi3): New patterns. | |
5573 | * config/arm/thumb2.md (divsi3, udivsi3): Remove. | |
5574 | * doc/invoke.texi: Document ARM -mcpu=cortex-r5 | |
5575 | ||
11026b51 MJ |
5576 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
5577 | ||
5578 | * ipa-utils.c (ipa_dfs_info): New field scc_no. | |
5579 | * ipa-utils.c (searchc): Set scc_no. | |
5580 | ||
b6156cf2 MJ |
5581 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
5582 | ||
5583 | * ipa-utils.c (searchc_env): New field allow_overwritable. | |
5584 | (searchc): do not ignore edges to overwritable nodes if indicated | |
5585 | by env->allow_overwritable. | |
5586 | (ipa_reduced_postorder): Set env.allow_overwritable. | |
5587 | ||
6807da97 RG |
5588 | 2011-06-01 Richard Guenther <rguenther@suse.de> |
5589 | ||
5590 | * tree.c (free_lang_data): Do not reset boolean_type_node nor | |
5591 | char_type_node. | |
5592 | * lto-streamer.c (lto_record_common_node): Take node pointer, | |
5593 | do not register types. | |
5594 | (lto_preload_common_nodes): Explicitly skip preloading nodes | |
5595 | that differ between frontends. | |
5596 | ||
66bd20e7 | 5597 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
ddaf42bc PH |
5598 | |
5599 | * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from | |
5600 | NON_FLOAT_REGS. | |
5601 | ||
66bd20e7 | 5602 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
abdd692e PH |
5603 | |
5604 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Preserve from | |
5605 | parameter value for dump. Dump cost on outermost call only. | |
5606 | (rs6000_memory_move_cost): Dump cost on outermost call only. | |
5607 | ||
7351d8da JJ |
5608 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
5609 | ||
ead7c399 JJ |
5610 | * dwarf2out.c (resolve_addr_in_expr): Optimize away redundant |
5611 | DW_OP_GNU_convert ops. | |
5612 | ||
509f4495 JJ |
5613 | * cselib.c (promote_debug_loc): Allow l->next non-NULL for |
5614 | cselib_preserve_constants. | |
5615 | (cselib_lookup_1): If cselib_preserve_constants, | |
5616 | a new VALUE is being created for REG and there is a VALUE for the | |
5617 | same register in wider mode, add another loc with lowpart SUBREG of | |
5618 | the wider VALUE. | |
5619 | (cselib_subst_to_values): Handle ENTRY_VALUE. | |
5620 | * var-tracking.c (replace_expr_with_values): Return NULL for | |
5621 | ENTRY_VALUE too. | |
5622 | * dwarf2out.c (convert_descriptor_to_signed): New function. | |
5623 | (mem_loc_descriptor) <case ZERO_EXTEND>: Optimize using DW_OP_and | |
5624 | instead of two shifts. | |
5625 | (mem_loc_descriptor) <do_shift>: ZERO_EXTEND second argument to | |
5626 | the right mode if needed. | |
5627 | (mem_loc_descriptor) <case MOD>: For typed ops just use DW_OP_mod. | |
5628 | (mem_loc_descriptor) <case UNSIGNED_FIX>: Use | |
5629 | convert_descriptor_to_signed. | |
5630 | (mem_loc_descriptor) <case UDIV, CLZ, CTZ, FFS, POPCOUNT, PARITY, | |
5631 | BSWAP, ROTATE, ROTATERT>: Handle these rtls. | |
5632 | ||
7351d8da JJ |
5633 | PR target/48688 |
5634 | * config/i386/i386.md (*lea_general_4): New define_insn_and_split. | |
5635 | ||
5cc93ee0 UB |
5636 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
5637 | ||
5638 | * config/i386/i386.md: Use SWI248x instead of X87MODEI, SWI24 instead | |
5639 | of X87MODEI12 and SWI48x instead of SSEMODEI24. | |
5640 | (SWI248x): New mode iterator, rename from X87MODEI. | |
5641 | (X87MODEI): Remove mode iterator. | |
5642 | (X87MODEI12): Ditto. | |
5643 | (SSEMODEI24): Ditto. | |
5644 | ||
f0686e78 AO |
5645 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5646 | ||
5647 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): New. | |
5648 | * doc/invoke.texi: Document max-vartrack-expr-depth. | |
5649 | * var-tracking.c (EXPR_DEPTH): New. | |
5650 | (reverse_op, vt_expand_loc, vt_expand_loc_dummy): Use it. | |
5651 | ||
f3308413 AO |
5652 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5653 | ||
5654 | * config/i386/i386.c (ix86_rtx_costs): Drop NEG from sub for FMA. | |
5655 | * config/i386/sse.md: Add n to negated FMA pattern names. | |
5656 | ||
28c14a04 AO |
5657 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5658 | ||
5659 | * gcc.c (driver_handle_option): Fix disabling of -fcompare-debug. | |
5660 | ||
70efc82d AO |
5661 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5662 | ||
5cc93ee0 | 5663 | * gengtype-state.c (read_state_params_structs): Initialize previous. |
70efc82d | 5664 | |
6ba5d856 UB |
5665 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
5666 | ||
5667 | * config/i386/i386.md (*pushxf_nointeger): Merge alternatives 1 and 2. | |
5668 | (FP push_operand splitters): Merge {TF,XF,DF}mode splitters. | |
5669 | ||
5670 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> | |
5671 | ||
5672 | * config/i386/i386.md (*movtf_internal): Avoid allocating general | |
5673 | registers. Penalize F*r->o alternative to prevent partial memory | |
5674 | stalls. Slightly penalize *roF->*r alternative. Generate SSE | |
5675 | CONST_DOUBLE immediates when optimizing function for size. Do not move | |
5676 | CONST_DOUBLEs directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
5677 | (*movxf_internal): Slightly penalize Yx*roF->Yx*r alternative. | |
5678 | (*movdf_internal): Slightly penalize Yd*roF->Yd*r alternative. | |
5679 | (*movdf_internal_rex64): Slightly penalize rm->r, F->m and r->m | |
5680 | alternatives. | |
5681 | (*movsf_internal): Slightly penalize rmF->r and Fr->m alternatives. | |
5682 | ||
5683 | (fp_register_operand splitters): Use fp_register_operand | |
5684 | constraint. Do not use FP_REG_P in insn condition. | |
5685 | (any_fp_register_operand splitters): Use any_fp_register_operand | |
5686 | constraint. Do not use ANY_FP_REG_P in insn condition. | |
5687 | ||
533c07c5 JH |
5688 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
5689 | ||
5690 | * cgraph.h (cgraph_inline_failed_t): Give enum a name | |
5691 | * lto-cgraph.c (LDPR_NUM_KNOWN): New macro. | |
5692 | (LTO_cgraph_tags): Add LTO_cgraph_last_tag. | |
5693 | (lto_output_edge): Use output_enum and var_len_unsigned. | |
5694 | (lto_output_varpool_node): Likewise. | |
5695 | (input_overwrite_node): Do not take resolution parameter; | |
5696 | extract it from a bitpack. | |
5697 | (input_node): Do not read resolution; use input_enum and | |
5698 | var_len_unsigned. | |
5699 | (input_varpool_node): Likewise. | |
5700 | (input_edge): Likewise. | |
5701 | (input_cgraph_1): Likewise. | |
5702 | ||
2611db71 RG |
5703 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
5704 | ||
5705 | * gimple.c (gimple_register_canonical_type): Do not register | |
5706 | any types via gimple_register_type. | |
5707 | ||
b9e57365 JH |
5708 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
5709 | ||
5710 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Merge alias decl | |
5711 | of thunks. | |
5712 | ||
35979cc2 JJ |
5713 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
5714 | ||
5715 | PR rtl-optimization/49235 | |
5716 | * tree-ssa-address.c (gen_addr_rtx): Ignore base if it is const0_rtx. | |
5717 | (create_mem_ref_raw): Create MEM_REF even if base is INTEGER_CST. | |
5718 | ||
8f7de592 IR |
5719 | 2011-05-31 Ira Rosen <ira.rosen@linaro.org> |
5720 | ||
5721 | PR tree-optimization/49093 | |
5722 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for volatile | |
5723 | data references. | |
5724 | ||
8d8a3bda DS |
5725 | 2011-05-31 Dodji Seketeli <dodji@redhat.com> |
5726 | ||
5727 | PR debug/49047 | |
5728 | * dwarf2out.c (gen_subprogram_die): Emit linkage name attribute | |
6ba5d856 | 5729 | for concrete functions containing the code of cloned functions. |
8d8a3bda | 5730 | |
2e87621c RG |
5731 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
5732 | ||
5733 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): Rename | |
5734 | to ... | |
5735 | (forward_propagate_into_comparison_1): ... this. | |
5736 | (forward_propagate_comparison): Rename to ... | |
5737 | (forward_propagate_into_comparison): ... this. Split out | |
5738 | real forward propagation code to ... | |
5739 | (forward_propagate_comparison): ... this. | |
5740 | (forward_propagate_into_gimple_cond): Remove looping. | |
5741 | (forward_propagate_into_cond): Likewise. | |
5742 | (simplify_not_neg_expr): Return whether we have done something. | |
5743 | (simplify_gimple_switch): Likewise. | |
5744 | (tree_ssa_forward_propagate_single_use_vars): Rename to ... | |
5745 | (ssa_forward_propagate_and_combine): ... this. Re-structure | |
5746 | to do a forward forward-propagation walk on BBs and a backward | |
6ba5d856 | 5747 | stmt combining walk on BBs. Consistently re-scan changed statements. |
2e87621c RG |
5748 | (pass_forwprop): Adjust. |
5749 | ||
5a880d5d ILT |
5750 | 2011-05-30 Ian Lance Taylor <iant@google.com> |
5751 | ||
5752 | * godump.c (go_format_type): Correct length of name added to | |
5753 | obstack for anonymous field. | |
5754 | ||
5f133038 KK |
5755 | 2011-05-30 Kaz Kojima <kkojima@gcc.gnu.org> |
5756 | ||
5757 | PR target/49186 | |
5758 | * config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high | |
5759 | part of the second operand is 0. | |
5760 | ||
b17d5426 UB |
5761 | 2011-05-30 Uros Bizjak <ubizjak@gmail.com> |
5762 | ||
5763 | * config/i386/i386.md (*movxf_internal): Penalize FYx*r->o alternative | |
5764 | to prevent partial memory stalls. Do not move CONST_DOUBLEs directly | |
5765 | to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
5766 | (*movdf_internal_rex64): Do not penalize F->r alternative. | |
6ba5d856 | 5767 | (*movdf_internal): Penalize FYd*r->o alternative to prevent partial |
b17d5426 UB |
5768 | memory stalls. Generate SSE and x87 CONST_DOUBLE immediates only |
5769 | when optimizing function for size. Do not move CONST_DOUBLEs | |
5770 | directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
6ba5d856 UB |
5771 | (FP move splitters): Merge {TF,XF,DF}mode splitters. Do not handle |
5772 | SUBREGs. Do not check for MEM_P operands in the insn condition, | |
b17d5426 UB |
5773 | check for ANY_FP_REGNO_P instead. |
5774 | * config/i386/constraints.md (Yd): Enable GENERAL_REGS for | |
5775 | TARGET_64BIT and for TARGET_INTEGER_DFMODE_MOVES when optimizing | |
5776 | function for speed. | |
5777 | * config/i386/i386.c (ix86_option_override_internal): Do not | |
5778 | set TARGET_INTEGER_DFMODE_MOVES here. | |
5779 | ||
a0cd843f L |
5780 | 2011-05-30 H.J. Lu <hongjiu.lu@intel.com> |
5781 | ||
5782 | PR target/49168 | |
aad61732 | 5783 | * config/i386/i386.md (*movtf_internal): Handle misaligned load/store. |
a0cd843f | 5784 | |
006a5f38 JJ |
5785 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
5786 | ||
5787 | * dwarf2out.c (modified_type_die, gen_reference_type_die): Use | |
5788 | DW_TAG_rvalue_reference_type even for | |
5789 | -gdwarf-4 -fno-debug-types-section. | |
5790 | ||
6e96f98a BS |
5791 | 2011-05-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5792 | ||
5793 | PR tree-optimization/46728 | |
5794 | * tree-ssa-math-opts.c (build_and_insert_call): Reorder parms. | |
5795 | (build_and_insert_binop): New. | |
5796 | (gimple_expand_builtin_pow): Reorder args for | |
5797 | build_and_insert_call; use build_and_insert_binop; add more | |
5798 | optimizations for fractional exponents. | |
b17d5426 | 5799 | |
4f60111f NF |
5800 | 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org> |
5801 | ||
5802 | PR bootstrap/49190 | |
5803 | ||
5804 | Revert: | |
5805 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> | |
5806 | ||
5807 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
5808 | tree_common. | |
5809 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
5810 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
5811 | TS_BASE instead of TS_COMMON. | |
5812 | * varasm.c (assemble_name): Remove assert. | |
5813 | ||
3fd7879d RS |
5814 | 2011-05-30 Richard Sandiford <rdsandiford@googlemail.com> |
5815 | ||
5816 | * config.gcc: Keep obselete list sorted. | |
5817 | ||
80060f7a JJ |
5818 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
5819 | Eric Botcazou <ebotcazou@adacore.com> | |
5820 | ||
5821 | * var-tracking.c (vt_add_function_parameter): Remap incoming MEMs with | |
5822 | crtl->args.internal_arg_pointer based address to arg_pointer_rtx if | |
5823 | there is a DRAP register and arg_pointer_rtx is the CFA pointer. | |
5824 | (vt_init_cfa_base): Don't equate cfa_base_rtx if stack was realigned. | |
5825 | (vt_initialize): Initialize cfa_base_rtx if there is a DRAP register. | |
5826 | ||
17e99cdb RG |
5827 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5828 | ||
5829 | * gimple.c (gimple_types_compatible_p_1): Compare record | |
5830 | and union type members properly. | |
5831 | ||
42b05b6e RG |
5832 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5833 | ||
5834 | PR tree-optimization/49210 | |
6ba5d856 UB |
5835 | * ipa-split.c (split_function): Care for the case where the call |
5836 | result is not trivially convertible to the result holding variable. | |
42b05b6e | 5837 | |
f3321158 RG |
5838 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5839 | ||
5840 | PR tree-optimization/49218 | |
5841 | * tree-vrp.c (adjust_range_with_scev): Properly check whether | |
5842 | overflow occured. | |
5843 | ||
d12d8efe RG |
5844 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5845 | ||
5846 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): | |
5847 | New function split out from ... | |
5848 | (forward_propagate_into_gimple_cond): ... here. Adjust. | |
5849 | (forward_propagate_into_cond): Likewise. | |
5850 | (forward_propagate_comparison): Also propagate into | |
5851 | comparisons on assignment RHS. Change return value to | |
5852 | behave similar to forward_propagate_into_cond. | |
5853 | (tree_ssa_forward_propagate_single_use_vars): Handle | |
5854 | strict-overflow warnings properly for forward_propagate_comparison. | |
5855 | ||
df33b41f RO |
5856 | 2011-05-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5857 | ||
5858 | * configure.ac (gcc_cv_lto_plugin): Determine lto plugin support | |
5859 | from plugin linker. | |
5860 | * configure: Regenerate. | |
5861 | ||
69940d4d IR |
5862 | 2011-05-30 Ira Rosen <ira.rosen@linaro.org> |
5863 | ||
5864 | PR tree-optimization/49199 | |
5865 | * tree-vect-loop.c (vect_is_slp_reduction): Check that the | |
b17d5426 | 5866 | non-reduction operands are either defined in the loop or by induction. |
69940d4d | 5867 | |
226c52aa XDL |
5868 | 2011-05-29 Xinliang David Li <davidxl@google.com> |
5869 | ||
5870 | * opts-global.c (handle_common_deferred_options): Handle new options. | |
5871 | * passes.c (register_one_dump_file): Call register_pass_name. | |
5872 | (execute_one_pass): Check explicit enable/disable flag. | |
5873 | (passr_hash): New function. | |
5874 | (passr_eq): Ditto. | |
5875 | (register_pass_name): Ditto. | |
5876 | (get_pass_by_name): Ditto. | |
5877 | (pass_hash): Ditto. | |
5878 | (pass_eq): Ditto. | |
5879 | (enable_pass): Ditto. | |
5880 | (disable_pass): Ditto. | |
5881 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
5882 | ||
491d8eed UB |
5883 | 2011-05-29 Uros Bizjak <ubizjak@gmail.com> |
5884 | ||
5885 | * config/i386/i386.md (*movoi_internal_avx): Use | |
5886 | standard_sse_constant_opcode for alternative 0. | |
5887 | (*movti_internal_sse): Ditto. | |
5888 | (*movti_internal_rex64): Use standard_sse_constant_opcode for | |
5889 | alternative 2. | |
5890 | (*movdi_internal_rex64): Use standard_sse_constant_opcode for | |
5891 | sselog1 type moves. | |
5892 | (*movsi_internal): Ditto. | |
5893 | (*movdi_internal): Ditto. Add ssecvt type moves. | |
5894 | ||
eb93b31f EB |
5895 | 2011-05-29 Eric Botcazou <ebotcazou@adacore.com> |
5896 | ||
5897 | PR target/48830 | |
5898 | * rtlanal.c (simplify_subreg_regno): Adjust comment. | |
5899 | ||
3f831b7d JJ |
5900 | 2011-05-29 Jakub Jelinek <jakub@redhat.com> |
5901 | ||
5902 | PR rtl-optimization/49095 | |
5903 | * config/i386/predicates.md (plusminuslogic_operator): New predicate. | |
5904 | * config/i386/i386.md: Add peepholes for mem {+,-,&,|,^}= x; mem != 0. | |
5905 | ||
ee3ee488 RS |
5906 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
5907 | ||
5908 | PR target/43995 | |
5909 | * config/mips/mips.c (mips_pic_call_symbol_from_set): Add a | |
5910 | recurse_p argument. Only follow register copies if it is set, | |
5911 | and prevent mips_find_pic_call_symbol from recursing. | |
5912 | (mips_find_pic_call_symbol): Add a recurse_p argument. | |
5913 | Pass it to mips_pic_call_symbol_from_set. | |
5914 | (mips_annotate_pic_calls): Update accordingly. | |
5915 | ||
65f3dedb RS |
5916 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
5917 | ||
5918 | * emit-rtl.c (try_split): Use a loop to search for | |
5919 | NOTE_INSN_CALL_ARG_LOCATIONs. | |
5920 | ||
61e374ab RG |
5921 | 2011-05-29 Richard Guenther <rguenther@suse.de> |
5922 | ||
5923 | PR tree-optimization/49217 | |
5924 | * ipa-pure-const.c (propagate_pure_const): Fix typos. | |
5925 | ||
fac009a8 JH |
5926 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
5927 | ||
5928 | * lto-streamer-out.c (hash_string_slot_node): Hash string based on its | |
5929 | length. | |
5930 | (string_slot_free): Remove | |
5931 | (create_output_block): Initialize obstack. | |
5932 | (destroy_output_block): Free obstack. | |
5933 | (lto_string_index): Add PERSISTENT parameter; do not duplicate | |
5934 | the string unless it needs to be added into the hash. | |
5935 | (lto_output_string_with_length): Add persistent attribute; | |
5936 | handle NULL strings. | |
5937 | (lto_output_string): Add PERSISTENT parameter. | |
5938 | (output_string_cst, output_identifier): Simplify. | |
5939 | (lto_output_location_bitpack): Update. | |
5940 | (lto_output_builtin_tree): Update. | |
5941 | * lto-streamer.h (struct output_block): Add obstack. | |
491d8eed UB |
5942 | (lto_output_string, lto_output_string_with_length): Remove |
5943 | declarations; functions are static now. | |
fac009a8 | 5944 | |
fa766006 JH |
5945 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
5946 | ||
5947 | * lto-streamer-out.c (pack_ts_fixed_cst_value_fields, | |
5948 | pack_ts_decl_common_value_fields, pack_ts_decl_with_vis_value_fields, | |
5949 | pack_ts_function_decl_value_fields, lto_output_builtin_tree, | |
5950 | output_cfg, output_gimple_stmt): Use enum and variable length i/o. | |
5951 | * lto-streamer-in.c (input_cfg, input_gimple_stmt, | |
5952 | unpack_ts_fixed_cst_value_fields, unpack_ts_decl_common_value_fields, | |
5953 | unpack_ts_decl_with_vis_value_fields, | |
5954 | unpack_ts_type_common_value_fields, unpack_ts_block_value_fields, | |
5955 | lto_get_builtin_tree): Use enum and variable length i/o. | |
5956 | * basic-block.h (profile_status_d): Add PROFILE_LAST. | |
5957 | * lto-streamer.h (bp_pack_int_in_range, bp_unpack_int_in_range): | |
5958 | New functions. | |
5959 | (bp_pack_enum, bp_unpack_enum): New macros. | |
5960 | ||
e092158b RS |
5961 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
5962 | ||
5963 | * genrecog.c: Remove redundant forward declarations. | |
5964 | ||
7ca2afa0 RS |
5965 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
5966 | ||
5967 | * config.gcc: Deprecate mips*-*-openbsd*. | |
5968 | ||
a601a53a RS |
5969 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
5970 | ||
5971 | PR bootstrap/49195 | |
5972 | * genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP | |
5973 | for match_op_dup. | |
5974 | ||
fc64b448 AP |
5975 | 2011-05-27 Andrew Pinski <pinskia@gmail.com> |
5976 | ||
5977 | PR middle-end/48981 | |
5978 | * gengtype.c (vec_prefix_type): New function. | |
5979 | (note_def_vec): Use vec_prefix_type and change the length | |
5980 | attribute to be based on the prefix. | |
5981 | * vec.c: Include coretypes.h before vec.h. | |
5982 | (struct vec_prefix): Remove. | |
5983 | (vec_gc_p_reserve): Change the offsetof to sizeof. | |
5984 | (vec_gc_p_reserve_exact): Likewise. | |
5985 | (vec_heap_p_reserve): Likewise. | |
5986 | (vec_heap_p_reserve_exact): Likewise. | |
5987 | (vec_stack_o_reserve_1): Copy from +1 instead of from vec. | |
5988 | (vec_stack_p_reserve): Change the offsetof to sizeof. | |
5989 | (vec_stack_p_reserve_exact): Likewise. | |
5990 | * vec.h (struct vec_prefix): New struct definition. | |
5991 | (VEC_T(T,B)): Use vec_prefix instead of having num/alloc fields. | |
5992 | (VEC_T_GTY(T,B)): Likewise. | |
5993 | (DEF_VEC_FUNC_P(T)): Use prefix field. | |
5994 | (DEF_VEC_NONALLOC_FUNCS_O(T,A)): Likewise. | |
5995 | (DEF_VEC_NONALLOC_FUNCS_I(T,A)): Likewise. | |
5996 | ||
ba869341 BS |
5997 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5998 | ||
5999 | PR tree-optimization/46728 | |
6000 | * tree-ssa-math-opts.c (powi_as_mults_1): Add gimple_set_location. | |
6001 | (powi_as_mults): Add gimple_set_location. | |
6002 | (build_and_insert_call): New. | |
6003 | (gimple_expand_builtin_pow): Add handling for pow(x,y) when y is | |
6004 | 0.5, 0.25, 0.75, 1./3., or 1./6. | |
491d8eed | 6005 | |
d296760d AM |
6006 | 2011-05-27 Alexander Monakov <amonakov@ispras.ru> |
6007 | ||
6008 | * doc/contrib.texi: Update copyright years. | |
6009 | (Contributors): Add Zdenek Sojka. | |
6010 | ||
38e01f9e NF |
6011 | 2011-05-27 Nathan Froyd <froydnj@codesourcery.com> |
6012 | ||
6013 | * c-decl.c (c_push_function_context): Copy the current statement | |
6014 | list stack. | |
6015 | (add_stmt): Check building_stmt_list_p and push_stmt if necessary. | |
6016 | (finish_struct): Call building_stmt_list_p instead of checking | |
6017 | cur_stmt_list. | |
6018 | * c-parser.c (c_parser_postfix_expression): Likewise. | |
6019 | * c-typeck.c (c_end_compound_stmt): Likewise. | |
6020 | * print-tree.c (print_node) [STATEMENT_LIST]: Don't print TREE_CHAIN. | |
6021 | * tree-iterator.c (stmt_list_cache): Change to a VEC. | |
6022 | (alloc_stmt_list): Adjust for stmt_list_cache's new type. | |
6023 | (free_stmt_list): Likewise. | |
6024 | * tree.h (struct tree_statement_list): Include typed_tree instead | |
6025 | of tree_common. | |
6026 | * tree.c (initialize_tree_contains_struct): Mark TS_STATEMENT_LIST | |
6027 | as TS_TYPED instead of TS_COMMON. | |
6028 | ||
8950516e | 6029 | 2011-05-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
66bd20e7 | 6030 | Uros Bizjak <ubizjak@gmail.com> |
8950516e RO |
6031 | |
6032 | * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check for @tlsgdplt | |
6033 | (HAVE_AS_IX86_TLSGDPTL): Define. | |
6034 | (gcc_cv_as_ix86_tlsldmplt): Check for @tlsldmplt. | |
6035 | (HAVE_AS_IX86_TLSLDMPLT): Define. | |
6036 | * configure: Regenerate. | |
6037 | * config.in: Regenerate. | |
6038 | * config/i386/i386.c (ix86_print_operand): Handle code 'p'. | |
6039 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): If | |
6040 | TARGET_SUN_TLS, use @tlsgdplt or @plt. | |
6041 | (*tls_global_dynamic_64): Use @plt if TARGET_SUN_TLS. | |
6042 | (*tls_local_dynamic_base_32_gnu): If TARGET_SUN_TLS, use | |
6043 | @tlsldmplt or @plt. | |
6044 | (*tls_local_dynamic_base_64): Use @plt if TARGET_SUN_TLS. | |
6045 | ||
b0bd15f7 BS |
6046 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
6047 | ||
6048 | * sched-int.h (struct _haifa_deps_insn_data): New members cond | |
6049 | and reverse_cond. | |
6050 | (INSN_COND, INSN_REVERSE_COND): New macros. | |
6051 | * sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev | |
6052 | once. | |
6053 | (sched_get_condition_with_rev): Cache the results, and look them up | |
6054 | if possible. | |
6055 | (sched_analyze_insn): Destroy INSN_COND of previous insns if they | |
6056 | are clobbered by the current insn. | |
6057 | * target.def (exposed_pipline): New sched data hook. | |
6058 | * doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook. | |
6059 | * doc/tm.texi: Regenerate. | |
6060 | ||
fa65a9cf BS |
6061 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
6062 | ||
6063 | PR tree-optimization/49170 | |
6064 | * tree-ssa-math-opts.c (execute_cse_sincos): Add checks for | |
6065 | sincos or cexp. | |
b0bd15f7 | 6066 | |
c2299dfe RG |
6067 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
6068 | ||
6069 | PR middle-end/49189 | |
6070 | * fold-const.c (fold_unary_loc): Do not re-fold folding conversions | |
6071 | of comparisons. | |
6072 | ||
a95b23b4 BS |
6073 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
6074 | ||
6075 | * haifa-sched.c (sched_scan_info): Remove. | |
6076 | (schedule_block): Call sched_extend_luids rather than sched_init_luids | |
6077 | with NULL args. | |
6078 | (extend_bb, init_bb, extend_insn, init_insn, init_insns_in_bb): | |
6079 | Remove functions. | |
6080 | (sched_scan): Remove. | |
6081 | (sched_extend_luids): Renamed from luids_extend_insn and no longer | |
6082 | static. All callers changed. | |
6083 | (sched_init_insn_luid): Renamed from luids_init_insn and no longer | |
6084 | static. All callers changed. | |
6085 | (sched_init_luids): Remove all arguments except the first. All | |
6086 | callers changed. Don't use sched_scan. | |
6087 | (haifa_init_h_i_d): Likewise. | |
6088 | (haifa_init_insn): Call sched_extend_luids and sched_init_insn_luid | |
6089 | manually rather than using sched_init_luids. Likewise with | |
6090 | extend_h_i_d, init_h_i_d and haifa_init_h_i_d. | |
6091 | * sel-sched.c (sel_region_target_finish): Call sched_extend_luids | |
6092 | rather than sched_init_luids with NULL args. | |
6093 | * sel-sched-ir.c (new_insns): Remove variable. | |
6094 | (sched_scan): New static function, previously in haifa-sched.c. Remove | |
6095 | all arguments but the first two; all callers changed. | |
6096 | (sel_init_new_insn): Call sched_extend_luids and sched_init_insn_luid | |
6097 | rather than sched_init_luids. | |
6098 | (sel_init_bbs): Remove second argument. All callers changed. | |
6099 | (sel_add_bb): Call sched_extend_luids rather than sched_init_luids | |
6100 | with NULL arguments. | |
6101 | (create_insn_rtx_from_pattern): Likewise. | |
6102 | * sel-sched-ir.h (sel_init_bbs): Adjust declaration. | |
6103 | * sched-int.h (sched_init_luids, haifa_init_h_i_d): Likewise. | |
6104 | (sched_init_insn_luid, sched_extend_luids): Declare. | |
6105 | (sched_scan_info_def, sched_scan_info, sched_scan): Remove | |
6106 | declarations. | |
6107 | ||
f8f972fc RB |
6108 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
6109 | ||
6110 | PR middle-end/49177 | |
6111 | * fold-const.c (fold_unary_loc): Fold (T)(A CMP B) to | |
6112 | A CMP B ? (T) true : (T) false for non-integral types T again. | |
6113 | ||
51a9ed47 JH |
6114 | 2011-05-27 Jan Hubicka <jh@suse.cz> |
6115 | ||
6116 | * lto-streamer-out.c (lto_string_index): break out from...; offset by 1 | |
6117 | so 0 means NULL string. | |
6118 | (lto_output_string_with_length): ... here. | |
f8f972fc RB |
6119 | (lto_output_string, output_string_cst, output_identifier): Update |
6120 | handling of NULL strings. | |
51a9ed47 JH |
6121 | (lto_output_location_bitpack): New function. |
6122 | (lto_output_location): Use it. | |
6123 | (lto_output_tree_ref): Use output_record_start. | |
f8f972fc RB |
6124 | (pack_ts_type_common_value_fields): Pack aliagn & alias set in var |
6125 | len values. | |
6126 | * lto-streamer-in.c (string_for_index): Break out from ...; offset | |
6127 | values by 1. | |
491d8eed | 6128 | (input_string_internal): ... here; |
f8f972fc RB |
6129 | (input_string_cst, input_identifier, lto_input_string): Update handling |
6130 | of NULL strings. | |
51a9ed47 JH |
6131 | (lto_input_location_bitpack): New function |
6132 | (lto_input_location): Use it. | |
f8f972fc RB |
6133 | (unpack_ts_type_common_value_fields): Pack align & alias in var len |
6134 | values. | |
51a9ed47 JH |
6135 | * lto-streamer.h (bp_pack_val_len_unsigned, bp_pack_val_len_int, |
6136 | bp_unpack_val_len_unsigned, bp_unpack_val_len_int): Declare. | |
6137 | (bp_pack_value): Sanity check the value range. | |
6138 | * lto-section-in.c (bp_unpack_val_len_unsigned, bp_unpack_val_len_int): | |
6139 | New functions. | |
6140 | * lto-section-out.h (bp_pack_val_len_unsigned, bp_pack_val_len_int): | |
6141 | New functions. | |
6142 | ||
66bd20e7 | 6143 | 2011-05-27 Hariharan Sandanagobalane <hariharan@picochip.com> |
dc38fc2e HS |
6144 | |
6145 | * config/picochip/picochip.c (reorder_var_tracking_notes): Drop | |
6146 | call_arg_location instructions down the floor. | |
6147 | ||
574e418a VM |
6148 | 2011-05-26 Vladimir Makarov <vmakarov@redhat.com> |
6149 | ||
6150 | PR rtl-optimization/49154 | |
6151 | * ira.c (setup_pressure_classes): Process class without sublcasses | |
6152 | as a candidate for pressure classes. | |
6153 | ||
6a1a787e RS |
6154 | 2011-05-26 Richard Sandiford <rdsandiford@googlemail.com> |
6155 | ||
6156 | PR rtl-optimization/48575 | |
6157 | * genrecog.c (position_type): New enum. | |
6158 | (position): New structure. | |
6159 | (decision): Use position structure instead of a string. | |
6160 | (root_pos, peep2_insn_pos_list): New variables. | |
6161 | (next_position, compare_positions): New functions. | |
6162 | (new_decision): Use position structures instead of strings. | |
6163 | (maybe_both_true): Likewise. | |
6164 | (change_state): Likewise. | |
6165 | (write_tree): Likewise. | |
6166 | (make_insn_sequence): Likewise. | |
6167 | ||
92e948a8 NF |
6168 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
6169 | ||
6170 | * tree.c (initialize_tree_contains_struct): Mark TS_BLOCK as | |
6171 | TS_BASE instead of TS_COMMON. | |
6172 | (find_decls_types_r): Check for TS_TYPED structure before looking at | |
6173 | TREE_TYPE. | |
6174 | * tree.h (struct tree_block): Inherit from tree_base, not tree_common. | |
6175 | Add chain field. | |
6176 | (BLOCK_CHAIN): Use new chain field. | |
6177 | ||
66bd20e7 | 6178 | 2011-05-26 Pat Haugen <pthaugen@us.ibm.com> |
c61e40d3 PH |
6179 | |
6180 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Make LR/CTR | |
6181 | moves expensive on Power7 also. | |
6182 | ||
1f498652 RG |
6183 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
6184 | ||
6185 | * fold-const.c (fold_unary_loc): Remove bogus code. | |
6186 | ||
a2fc3e63 NF |
6187 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
6188 | ||
6189 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
6190 | tree_common. | |
6191 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
6192 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
6193 | TS_BASE instead of TS_COMMON. | |
6194 | * varasm.c (assemble_name): Remove assert. | |
6195 | ||
d11bf18f BS |
6196 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
6197 | ||
6198 | * Makefile.in (srcdirify): Change order so that libgcc_objdir is | |
6199 | substituted first. | |
6200 | * libgcc-std.ver: Delete file. | |
6201 | ||
ac8e1875 RG |
6202 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
6203 | ||
6204 | PR tree-optimization/48702 | |
6205 | * tree-ssa-address.c (create_mem_ref_raw): Create MEM_REFs | |
6206 | only when we know the base address is within bounds. | |
6207 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Do not | |
6208 | assume the base address of TARGET_MEM_REFs is in bounds. | |
6209 | ||
7e32e652 RO |
6210 | 2011-05-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6211 | ||
6212 | PR target/49099 | |
6213 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap | |
6214 | declaration in TARGET_SOLARIS. | |
6215 | ||
66bd20e7 | 6216 | 2011-05-26 Hariharan Sandanagobalane <hariharan@picochip.com> |
43660e0b HS |
6217 | |
6218 | * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator. | |
491d8eed | 6219 | The instruction is then expanded explicitly. |
43660e0b HS |
6220 | (supported_compare): Callable instruction. |
6221 | (compare): Likewise. | |
6222 | ||
1537737f JJ |
6223 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
6224 | ||
6225 | PR c++/49165 | |
6226 | * gimplify.c (shortcut_cond_r): Don't special case | |
6227 | COND_EXPRs if they have void type on one of their arms. | |
6228 | ||
7b1ac803 BS |
6229 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
6230 | ||
6231 | * haifa-sched.c (schedule-block): Reorder the inner scheduling loop | |
6232 | to reduce duplication, and to achieve a slightly more logical order | |
6233 | of operations. | |
6234 | ||
1aa9438f JJ |
6235 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
6236 | ||
6237 | PR tree-optimization/49161 | |
6238 | * tree-vrp.c (struct case_info): New type. | |
6239 | (compare_case_labels): Sort case_info structs instead of | |
6240 | trees, and not primarily by CASE_LABEL uids but by | |
6241 | label_for_block indexes. | |
6242 | (find_switch_asserts): Put case labels into struct case_info | |
6243 | array instead of TREE_VEC, adjust sorting, compare label_for_block | |
6244 | values instead of CASE_LABELs. | |
6245 | ||
50fed7bf RR |
6246 | 2011-05-26 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
6247 | ||
6248 | * config/arm/neon.md ("orn<mode>3_neon"): Canonicalize not. | |
6249 | ("orndi3_neon"): Likewise. | |
6250 | ("bic<mode>3_neon"): Likewise. | |
6251 | ||
48df3fa6 IR |
6252 | 2011-05-26 Ira Rosen <ira.rosen@linaro.org> |
6253 | ||
6254 | PR tree-optimization/49038 | |
6255 | * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): | |
6256 | Ensure at least one epilogue iteration if required by data | |
6257 | accesses with gaps. | |
6258 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
6259 | to mark loops that require peeling for gaps. | |
6260 | * tree-vect-loop.c (new_loop_vec_info): Initialize new field. | |
6261 | (vect_get_known_peeling_cost): Take peeling for gaps into | |
6262 | account. | |
6263 | (vect_transform_loop): Generate epilogue if required by data | |
6264 | access with gaps. | |
6265 | * tree-vect-data-refs.c (vect_analyze_group_access): Mark the | |
6266 | loop as requiring an epilogue if there are gaps in the end of | |
6267 | the strided group. | |
6268 | ||
53febcba ILT |
6269 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
6270 | ||
6271 | * godump.c (go_format_type): Output the first field with a usable | |
6272 | Go type, if any. | |
6273 | ||
dbbc4d4c ILT |
6274 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
6275 | ||
6276 | * godump.c (go_format_type): Check for invalid type names, pointer | |
6277 | target types, and struct field types. | |
6278 | ||
f03a5402 JM |
6279 | 2011-05-25 Jason Merrill <jason@redhat.com> |
6280 | ||
6281 | * print-tree.c (print_node): Only look at TREE_TYPE if TS_TYPED. | |
6282 | ||
c497c412 UB |
6283 | 2011-05-25 Uros Bizjak <ubizjak@gmail.com> |
6284 | ||
6285 | * config/i386/sse.md (*<sse>_maskcmp<mode>3_comm): New pattern. | |
6286 | ||
e470affe L |
6287 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
6288 | ||
6289 | * config/i386/i386.md (*movqi_extv_1)): Put back | |
6290 | "register_operand" check in "type" calculation. | |
6291 | (*movqi_extzv_2): Likewise. | |
6292 | ||
6c81b2bc L |
6293 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
6294 | ||
c497c412 | 6295 | * doc/extend.texi (X86 Built-in Functions): Update pause intrinsic. |
6c81b2bc | 6296 | |
0c007eb2 BS |
6297 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
6298 | ||
6299 | PR bootstrap/49160 | |
6300 | * libgcc2.h (__powisf2, __powidf2, __powitf2, __powixf2, | |
6301 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, | |
6302 | __divxc3, __divtc3): Wrap definitions in #ifndef. | |
6303 | ||
521ca78e L |
6304 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
6305 | ||
6306 | PR target/49142 | |
6307 | * config/i386/i386.md (*movqi_extv_1_rex64): Remove | |
6308 | "register_operand" check and replace q_regs_operand with | |
6309 | QIreg_operand in "type" calculation. | |
6310 | (*movqi_extv_1): Likewise. | |
6311 | (*movqi_extzv_2_rex64): Likewise. | |
6312 | (*movqi_extzv_2): Likewise. | |
6313 | ||
6314 | * config/i386/predicates.md (QIreg_operand): New. | |
6315 | ||
29f8b844 RG |
6316 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
6317 | ||
6318 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Fix | |
6319 | type-based offset disambiguation, streamline MEM_REF and | |
6320 | TARGET_MEM_REF handling. | |
6321 | ||
74838de3 L |
6322 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
6323 | ||
6324 | * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_PAUSE. | |
6325 | (bdesc_special_args): Add pause intrinsic. | |
6326 | ||
6327 | * config/i386/i386.md (UNSPEC_PAUSE): New. | |
6328 | (pause): Likewise. | |
6329 | (*pause): Likewise. | |
6330 | * config/i386/ia32intrin.h (__pause): Likewise. | |
6331 | ||
6332 | * doc/extend.texi (X86 Built-in Functions): Add documentation for | |
6333 | pause intrinsic. | |
6334 | ||
d24ad7d6 BS |
6335 | 2011-05-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
6336 | ||
6337 | PR tree-optimization/46728 | |
6338 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): New. | |
6339 | (execute_cse_sincos): Add switch case for BUILT_IN_POW. | |
c497c412 | 6340 | |
d9f8303f NF |
6341 | 2011-05-25 Nathan Froyd <froydnj@codesourcery.com> |
6342 | ||
6343 | * tree.h (struct tree_exp): Inherit from struct tree_typed. | |
6344 | * tree.c (initialize_tree_contains_struct): Mark TS_EXP as TS_TYPED | |
6345 | instead of TS_COMMON. | |
6346 | ||
cdbf4541 BS |
6347 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
6348 | ||
6349 | * libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if | |
6350 | LIBGCC2_GNU_PREFIX is defined. | |
6351 | (__N): New macro. | |
6352 | (__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2, | |
6353 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3, | |
6354 | __divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack, | |
6355 | __clz_tab): Define using __N. | |
6356 | (__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if | |
6357 | COMPAT_SIMODE_TRAPPING_ARITHMETIC. | |
6358 | * target.def (libfunc_gnu_prefix): New hook. | |
6359 | * doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document. | |
6360 | (TARGET_LIBFUNC_GNU_PREFIX): Add hook. | |
6361 | * doc/tm.texi: Regenerate. | |
6362 | * system.h (LIBGCC2_GNU_PREFIX): Poison. | |
6363 | * optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into | |
6364 | account. | |
6365 | (gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise. | |
6366 | (init_optabs): Likewise for the bswap libfuncs. | |
6367 | * tree.c (build_common_builtin_nodes): Likewise for complex multiply | |
6368 | and divide. | |
6369 | * config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir). | |
6370 | * config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise. | |
6371 | * libgcc-std.ver: Remove. | |
6372 | * Makefile.in (srcdirify): Handle $$(libgcc_objdir). | |
6373 | * config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for | |
6374 | libgcc-std.ver. | |
6375 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
6376 | * config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise. | |
6377 | * config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise. | |
6378 | * config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise. | |
6379 | * config/sparc/t-linux (SHLIB_MAPFILES): Likewise. | |
6380 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
6381 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
6382 | * config/fixed-bit.h (FIXED_OP): Define differently depending on | |
6383 | LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores. | |
6384 | (FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise. | |
6385 | ||
f242c0a5 JH |
6386 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
6387 | ||
6388 | * lto-streamer-out.c (output_record_start): Use lto_output_enum | |
6389 | (lto_output_tree): Use output_record_start. | |
6390 | * lto-streamer-in.c (input_record_start): Use lto_input_enum | |
6391 | (lto_get_pickled_tree): Use input_record_start. | |
6392 | * lto-section-in.c (lto_section_overrun): Turn into fatal error. | |
6393 | (lto_value_range_error): New function. | |
6394 | * lto-streamer.h (lto_value_range_error): Declare. | |
6395 | (lto_output_int_in_range, lto_input_int_in_range): New functions. | |
6396 | (lto_output_enum, lto_input_enum): New macros. | |
6397 | ||
a11e0df4 EB |
6398 | 2011-05-25 Eric Botcazou <ebotcazou@adacore.com> |
6399 | ||
6400 | * common.opt (flag_stack_usage_info): New variable. | |
6401 | (-Wstack-usage): New option. | |
6402 | * doc/invoke.texi (Warning options): Document -Wstack-usage. | |
6403 | * opts.c (common_handle_option) <OPT_Wstack_usage_>: New case. | |
6404 | <OPT_fstack_usage>: Likewise. | |
6405 | * toplev.c (output_stack_usage): Handle -Wstack-usage. | |
6406 | * calls.c (expand_call): Test flag_stack_usage_info variable instead | |
6407 | of flag_stack_usage. | |
6408 | (emit_library_call_value_1): Likewise. | |
6409 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
6410 | * function.c (instantiate_virtual_regs ): Likewise. | |
6411 | (prepare_function_start): Likewise. | |
6412 | (rest_of_handle_thread_prologue_and_epilogue): Likewise. | |
6413 | * config/alpha/alpha.c (alpha_expand_prologue): Likewise. | |
6414 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
6415 | (thumb1_expand_prologue): Likewise. | |
6416 | * config/avr/avr.c (expand_prologue): Likewise. | |
6417 | * config/i386/i386.c (ix86_expand_prologue): Likewise. | |
6418 | * config/ia64/ia64.c (ia64_expand_prologue): Likewise. | |
6419 | * config/m68k/m68k.c (m68k_expand_prologue): Likewise. | |
6420 | * config/mips/mips.c (mips_expand_prologue): Likewise. | |
6421 | * config/pa/pa.c (hppa_expand_prologue): Likewise. | |
6422 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise. | |
6423 | * config/s390/s390.c (s390_emit_prologue): Likewise. | |
6424 | * config/sh/sh.c (sh_expand_prologue): Likewise. | |
6425 | * config/sparc/sparc.c (sparc_expand_prologue): Likewise. | |
6426 | * config/spu/spu.c (spu_expand_prologue): Likewise. | |
6427 | ||
e7cfe241 RG |
6428 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
6429 | ||
6430 | * gimple.c (iterative_hash_canonical_type): Skip non-FIELD_DECLs. | |
6431 | (gimple_canonical_types_compatible_p): Likewise. | |
6432 | ||
c5235f4c JH |
6433 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
6434 | ||
6435 | PR middle-end/49062 | |
6436 | * ipa.c (function_and_variable_visibility): Only add to same | |
6437 | comdat group list if DECL_ONE_ONLY. | |
6438 | ||
8242a0f6 AB |
6439 | 2011-05-25 Andrey Belevantsev <abel@ispras.ru> |
6440 | ||
6441 | PR rtl-optimization/49014 | |
6442 | * config/i386/athlon.md (athlon_ssecomi): Change type to ssecomi. | |
6443 | ||
642a011d JJ |
6444 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
6445 | ||
6446 | PR target/49128 | |
6447 | * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. | |
6448 | ||
30a435d8 VM |
6449 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
6450 | ||
6451 | PR rtl-optimization/48757 | |
6452 | * ira-build.c (loop_with_eh_edge_p): Rename to | |
6453 | loop_with_complex_edge_p, check edges on complexity, make function | |
6454 | conditional. | |
6455 | (mark_loops_for_removal): Make call of loop_with_complex_edge_p | |
6456 | conditional. | |
6457 | ||
24d1bbc7 EB |
6458 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
6459 | ||
6460 | * config/sparc/sparc.c (sparc_option_override): If not set by the user, | |
6461 | force flag_ira_share_save_slots to 0. | |
6462 | ||
65773087 EB |
6463 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
6464 | ||
6465 | * var-tracking.c (compute_cfa_pointer): Adjust head comment. | |
6466 | (vt_initialize): Set PROLOGUE_BB unconditionally. | |
6467 | Add block comment about CFA_BASE_RTX machinery. | |
6468 | Reset FP_CFA_OFFSET to -1 on all invalid paths. | |
6469 | Call vt_init_cfa_base only if FP_CFA_OFFSET isn't equal to -1. | |
6470 | ||
4e26ba90 NP |
6471 | 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com> |
6472 | ||
6473 | PR objc/48187 | |
6474 | * c-parser.c (c_parser_objc_class_instance_variables): More robust | |
6475 | parsing of syntax error in ObjC instance variable lists. In | |
6476 | particular, avoid an infinite loop if there is a stray ']'. | |
6477 | Updated error message. | |
6478 | ||
936fd13c ILT |
6479 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
6480 | ||
6481 | * godump.c (go_define): Don't accept a string immediately after | |
6482 | another operand. | |
6483 | ||
f17333e3 ILT |
6484 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
6485 | ||
6486 | * godump.c (struct godump_container): Add invalid_hash field. | |
6487 | (go_format_type): Return false if type is found in invalid_hash. | |
6488 | (go_output_typedef): Add invalid type to invalid_hash. | |
6489 | (go_finish): Create and delete invalid_hash. | |
6490 | ||
d24ad7d6 | 6491 | 2011-05-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
c497c412 | 6492 | |
78be79d5 BS |
6493 | PR tree-optimization/46728 |
6494 | * tree-ssa-math-opts.c (powi_table): New. | |
6495 | (powi_lookup_cost): New. | |
6496 | (powi_cost): New. | |
6497 | (powi_as_mults_1): New. | |
6498 | (powi_as_mults): New. | |
6499 | (gimple_expand_builtin_powi): New. | |
6500 | (execute_cse_sincos): Add switch case for BUILT_IN_POWI. | |
6501 | (gate_cse_sincos): Remove sincos/cexp restriction. | |
f17333e3 | 6502 | |
caee412b RO |
6503 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6504 | ||
6505 | PR target/3746 | |
6506 | * config.gcc (alpha*-dec-osf5.1*): Only build mips-tfile, | |
6507 | mips-tdump native. | |
6508 | * mips-tfile.c: Remove CROSS_DIRECTORY_STRUCTURE handling. | |
6509 | * mips-tdump.c: Likewise. | |
6510 | ||
5eed4f27 L |
6511 | 2011-05-24 H.J. Lu <hongjiu.lu@intel.com> |
6512 | ||
6513 | PR target/49128 | |
6514 | * config/i386/driver-i386.c (host_detect_local_cpu): Always | |
6515 | add -mno-XXX. Handle FMA. | |
6516 | ||
8c5fdaae VM |
6517 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
6518 | ||
6519 | PR rtl-optimization/48633 | |
6520 | * ira-build.c (loop_with_eh_edge_p): New function. | |
6521 | (mark_loops_for_removal): Use it. | |
6522 | ||
6523 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> | |
113a5be6 VM |
6524 | |
6525 | PR rtl-optimization/48971 | |
6526 | * ira.c (setup_pressure_classes): Don't check register move cost | |
6527 | for classes with one registers. Don't add pressure class if there | |
6528 | is a pressure class with the same available hard registers. | |
6529 | Check contains_reg_of_mode. Fix a typo in collecting | |
6530 | temp_hard_regset. Ignore hard registers not belonging to a class. | |
6531 | ||
df1f7315 UB |
6532 | 2011-05-24 Uros Bizjak <ubizjak@gmail.com> |
6533 | ||
6534 | PR target/49133 | |
6535 | * config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative. | |
6536 | ||
ee0cb37c EB |
6537 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
6538 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
6539 | ||
6540 | PR gcov-profile/48845 | |
6541 | * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling. | |
6542 | ||
6a20ce76 RG |
6543 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
6544 | ||
6545 | * gimple.c (compare_type_names_p): Remove for_completion_p arg. | |
6546 | (gimple_compatible_complete_and_incomplete_subtype_p): Remove. | |
6547 | (gimple_types_compatible_p_1): Adjust. | |
6548 | (iterative_hash_canonical_type): Do not bother about complete vs. | |
6549 | incomplete types. | |
6550 | (gimple_canonical_types_compatible_p): Likewise. | |
6551 | ||
2fcb858c RO |
6552 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6553 | ||
6554 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Remove. | |
6555 | ||
96d91dcf RG |
6556 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
6557 | ||
6558 | PR bootstrap/49078 | |
6559 | * gimple.c (gimple_register_canonical_type): Revert | |
6560 | previous change. | |
6561 | * alias.c (get_alias_set): Only assert that TYPE_CANONICAL | |
6562 | does not for a tree for the case where it matters. Cache | |
6563 | pointer-type alias-sets. | |
6564 | ||
1ed1641d JM |
6565 | 2011-05-24 Joseph Myers <joseph@codesourcery.com> |
6566 | ||
6567 | * Makefile.in (GCC_OBJS): Remove opts-common.o and options.o. | |
6568 | (OBJS): Remove options.o, opts-common.o and prefix.o. | |
6569 | (OBJS-libcommon-target): New. | |
6570 | (ALL_HOST_BACKEND_OBJS): Include $(OBJS-libcommon-target). | |
6571 | (BACKEND): Include libcommon-target.a. | |
6572 | (MOSTLYCLEANFILES): Include libcommon-target.a. | |
6573 | (libcommon-target.a): New. | |
6574 | (xgcc$(exeext), cpp$(exeext)): Use libcommon-target.a instead of | |
6575 | prefix.o. | |
6576 | ||
57dfdff0 JM |
6577 | 2011-05-23 Joseph Myers <joseph@codesourcery.com> |
6578 | ||
6579 | * optc-save-gen.awk: New. Based on optc-gen.awk. Don't generate | |
6580 | parts of output shared with the driver. | |
6581 | * optc-gen.awk: Don't generate parts of output not shared with the | |
6582 | driver. | |
6583 | * opth-gen.awk: Remove GCC_DRIVER conditionals. | |
6584 | * doc/options.texi (SourcerInclude): Mention options-save.c. | |
6585 | * Makefile.in (GCC_OBJS): Use options.o instead of gcc-options.o. | |
6586 | (OBJS): Add options-save.o. | |
6587 | (options-save.c, options-save.o): New. | |
6588 | (options.o): Update dependencies. | |
6589 | (gcc-options.o): Remove. | |
6590 | (mostlyclean): Remove options-save.c. | |
6591 | ||
0e0d82a7 JJ |
6592 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
6593 | ||
9166988f JJ |
6594 | PR debug/49032 |
6595 | * dbxout.c: Include cgraph.h. | |
6596 | (dbxout_expand_expr): If a VAR_DECL is TREE_STATIC, not written | |
6597 | and without value expr, return NULL if no varpool node exists for | |
6598 | it or if it is not needed. | |
6599 | * Makefile.in (dbxout.o): Depend on $(CGRAPH_H). | |
6600 | ||
0e0d82a7 JJ |
6601 | PR c/49120 |
6602 | * c-decl.c (start_decl): Convert expr to void_type_node. | |
6603 | ||
65712d5c RS |
6604 | 2011-05-23 Richard Sandiford <rdsandiford@googlemail.com> |
6605 | ||
6606 | PR rtl-optimization/48826 | |
6607 | * emit-rtl.c (try_split): When splitting a call that is followed | |
6608 | by a NOTE_INSN_CALL_ARG_LOCATION, move the note after the new call. | |
6609 | ||
9025085e JJ |
6610 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
6611 | ||
6612 | * cfgexpand.c (expand_debug_expr): For unused non-addressable | |
6613 | parameters passed in memory prefer using DECL_INCOMING_RTL over | |
6614 | the pseudos it will be copied into. | |
6615 | ||
34a061be L |
6616 | 2011-05-23 H.J. Lu <hongjiu.lu@intel.com> |
6617 | ||
6618 | PR target/47315 | |
6619 | * config/i386/i386.c (ix86_option_override_internal): Save the | |
6620 | initial options after checking vzeroupper. | |
6621 | ||
c375a3a4 DL |
6622 | 2011-05-23 David Li <davidxl@google.com> |
6623 | ||
6624 | PR tree-optimization/48988 | |
6625 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): | |
6626 | Initialize has_valid_pred for each pred chain. | |
6627 | ||
e1caba18 RG |
6628 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
6629 | ||
6630 | * gimple.c (gimple_types_compatible_p_1): Always compare type names. | |
6631 | (iterative_hash_gimple_type): Always hash type names. | |
6632 | ||
dde05067 NF |
6633 | 2011-05-23 Nathan Froyd <froydnj@codesourcery.com> |
6634 | ||
6635 | * c-typeck.c (build_function_call_vec): Tweak call to | |
6636 | check_function_arguments. | |
6637 | ||
094f6ab3 RG |
6638 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
6639 | ||
6640 | PR tree-optimization/49115 | |
6641 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If the assignment | |
6642 | is not necessarily carried out, do not claim it kills the ref. | |
6643 | * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise. | |
6644 | ||
9a9822e1 RG |
6645 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
6646 | ||
6647 | PR middle-end/15419 | |
6648 | * builtins.c (fold_builtin_memory_op): Be less restrictive about | |
6649 | what pointer types we accept for folding. | |
6650 | ||
c8028650 RO |
6651 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6652 | ||
6653 | * gthr-gnat.c: Remove. | |
6654 | * gthr-gnat.h: Remove. | |
6655 | * Makefile.in (LIB2ADDEH): Remove $(srcdir)/gthr-gnat.c. | |
6656 | * config/t-freebsd (LIB2ADDEH): Likewise. | |
6657 | * config/t-linux (LIB2ADDEH): Likewise. | |
6658 | * config/t-sol2 (LIB2ADDEH): Likewise. | |
6659 | * config/ia64/t-vms (LIB2ADDEH): Likewise. | |
6660 | * configure.ac (target_thread_file): Remove gnat handling. | |
6661 | * configure: Regenerate. | |
6662 | * doc/install.texi (Configuration, --enable-threads): Remove gnat. | |
6663 | ||
15882fe9 TG |
6664 | 2011-05-23 Tristan Gingold <gingold@adacore.com> |
6665 | Eric Botcazou <ebotcazou@adacore.com> | |
6666 | ||
6667 | * gcov.c (create_file_names): If no object directory is specified, | |
6668 | keep the directory of the file. | |
6669 | ||
da90c957 RO |
6670 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6671 | ||
6672 | * configure.ac (enable_threads): Remove irix; add lynx, tpf; sort list. | |
6673 | * configure: Regenerate. | |
6674 | ||
7bba408b JJ |
6675 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
6676 | ||
6677 | PR middle-end/48973 | |
6678 | * expr.c (expand_expr_real_2) <case LT_EXPR>: If do_store_flag | |
6679 | failed and the comparison has a single bit signed type, use | |
6680 | constm1_rtx instead of const1_rtx for true value. | |
6681 | (do_store_flag): If ops->type is single bit signed type, disable | |
6682 | signel bit test optimization and pass -1 instead of 1 as last | |
6683 | parameter to emit_store_flag_force. | |
6684 | ||
bc69f7ff TV |
6685 | 2011-05-23 Tom de Vries <tom@codesourcery.com> |
6686 | ||
6687 | PR target/45098 | |
6688 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): New | |
6689 | function. | |
6690 | (infer_loop_bounds_from_undefined): Use new function. | |
6691 | ||
29cedf8e RS |
6692 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
6693 | ||
6694 | * config/mips/mips.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Delete. | |
6695 | (ASM_SPEC): Add a -O* option here. Pass -O0 for -noasmopt, | |
6696 | -O1 for -fno-delayed-branch, -O2 if optimization is enabled, | |
6697 | and -O0 otherwise. | |
6698 | (EXTRA_SPECS): Remove subtarget_asm_optimizing_spec. | |
6699 | ||
afe8b6ec EB |
6700 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
6701 | ||
6702 | * cfgcleanup.c (try_forward_edges): Do not update BB_FORWARDER_BLOCK. | |
6703 | (try_optimize_cfg): Update BB_FORWARDER_BLOCK if try_forward_edges | |
6704 | returns true. | |
6705 | ||
872dab53 RS |
6706 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
6707 | ||
6708 | * config/mips/mips.c (mips_default_arch): Honor MIPS_ISA_DEFAULT. | |
6709 | ||
145f6c5b EB |
6710 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
6711 | ||
6712 | * config/sparc/sparc.c (sparc_delegitimize_address): Handle | |
6713 | UNSPEC_MOVE_PIC pattern. | |
6714 | ||
8ac79835 EB |
6715 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
6716 | ||
6717 | * config.gcc (sparc-*-elf*): Add sparc/t-crtin. | |
6718 | (sparc-*-rtems*): Likewise. | |
6719 | (sparc64-*-elf*): Likewise. | |
6720 | (sparc64-*-rtems*): Likewise. | |
6721 | (sparc*-*-solaris2*): Likewise. Remove crti.o crtn.o extra parts. | |
6722 | * config/sparc/t-crtin: New file. | |
6723 | * config/sparc/t-sol2 (crti.o): Delete rule. | |
6724 | (crtn.o): Likewise. | |
6725 | * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Delete. | |
6726 | * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Likewise. | |
6727 | * config/sparc/sp64-elf.h (STARTFILE_SPEC): Tidy and add crti.o. | |
6728 | (ENDFILE_SPEC): Add crtn.o. | |
6729 | ||
5fb43dd8 TV |
6730 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
6731 | ||
6732 | PR middle-end/48689 | |
6733 | * fold-const.c (fold_checksum_tree): Guard TREE_CHAIN use with | |
6734 | CODE_CONTAINS_STRUCT (TS_COMMON). | |
6735 | ||
ccb1b17b JJ |
6736 | 2011-05-22 Jakub Jelinek <jakub@redhat.com> |
6737 | ||
6738 | PR middle-end/49029 | |
6739 | * expmed.c (extract_fixed_bit_field): Test whether target can be used | |
6740 | only after deciding which mode to use. | |
6741 | ||
50ad7db2 TV |
6742 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
6743 | ||
6744 | PR target/45098 | |
dc0a3366 | 6745 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Fix const test |
50ad7db2 TV |
6746 | for call to get_shiftadd_cost. |
6747 | ||
ef230b38 UB |
6748 | 2011-05-22 Uros Bizjak <ubizjak@gmail.com> |
6749 | ||
6750 | PR target/49104 | |
6751 | * config/i386/cpuid.h (bit_MMXEXT): New define. | |
6752 | ||
15f072f9 NC |
6753 | 2011-05-22 Nick Clifton <nickc@redhat.com> |
6754 | ||
6755 | * config/stormy16/stormy16.c (xstormy16_init_builtins): prevent | |
6756 | initialisation of non-existant args[2] element. Use args[] array | |
6757 | not arg[] array to pass arguments to build_function_type_list. | |
6758 | ||
e38fdc94 IR |
6759 | 2011-05-22 Ira Rosen <ira.rosen@linaro.org> |
6760 | ||
6761 | PR tree-optimization/49087 | |
ef230b38 | 6762 | * tree-vect-loop.c (vect_is_slp_reduction): Fail if LHS has no uses. |
e38fdc94 | 6763 | |
5b018c65 JM |
6764 | 2011-05-21 Jason Merrill <jason@redhat.com> |
6765 | ||
6766 | PR c++/49092 | |
6767 | * dwarf2out.c (tree_add_const_value_attribute_for_decl): Check for | |
6768 | static storage duration. | |
6769 | ||
abd9a770 EB |
6770 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
6771 | ||
6772 | * config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard | |
6773 | frame pointer. | |
6774 | ||
bd9a3248 EB |
6775 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
6776 | ||
6777 | * config/sparc/sparc.c (eligible_for_return_delay): Do not return | |
6778 | false if there are call-saved registers here... | |
6779 | (sparc_can_use_return_insn_p): ...but here instead. | |
6780 | (save_or_restore_regs): Fix thinko. | |
6781 | (sparc_expand_prologue): Use current_function_is_leaf. | |
6782 | (sparc_frame_pointer_required): Likewise. | |
6783 | ||
a5dfec9a NC |
6784 | 2011-05-21 Nick Clifton <nickc@redhat.com> |
6785 | ||
6786 | PR target/49098 | |
6787 | * config/rx/rx.c (rx_memory_move_cost): Note unused parameters. | |
6788 | ||
555c3771 NP |
6789 | 2011-05-21 Nicola Pero <nicola.pero@meta-innovation.com> |
6790 | ||
6791 | * gengtype.c (walk_type): Implemented "atomic" GTY option. | |
6792 | * doc/gty.texi (GTY Options): Document "atomic" GTY option. | |
6793 | ||
86fa5de4 JM |
6794 | 2011-05-21 Joseph Myers <joseph@codesourcery.com> |
6795 | ||
6796 | * opt-read.awk: New. Split out of optc-gen.awk and opth-gen.awk. | |
6797 | * optc-gen.awk: Move common code to opt-read.awk. | |
6798 | * opth-gen.awk: Likewise. | |
ef230b38 | 6799 | * Makefile.in (options.c, s-options-h): Update to use opt-read.awk. |
86fa5de4 | 6800 | |
bce33ab2 NF |
6801 | 2011-05-20 Nathan Froyd <froydnj@codesourcery.com> |
6802 | ||
6803 | * godump.c (go_format_type): Don't use TYPE_ARG_TYPES. | |
6804 | ||
e6450c11 TV |
6805 | 2011-05-20 Tom de Vries <tom@codesourcery.com> |
6806 | ||
6807 | PR target/45098 | |
6808 | * tree-ssa-loop-ivopts.c: Include expmed.h. | |
6809 | (get_shiftadd_cost): New function. | |
6810 | (force_expr_to_var_cost): Declare forward. Use get_shiftadd_cost. | |
6811 | ||
0e8b84ec JJ |
6812 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
6813 | ||
6814 | PR bootstrap/49086 | |
6815 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL | |
6816 | for PHI args that are SSA_NAME_IS_DEFAULT_DEF. | |
6817 | ||
946bdf67 JM |
6818 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
6819 | ||
6820 | * Makefile.in: Update comment referring to $(OBJS-common). | |
6821 | ||
c53aafdf ILT |
6822 | 2011-05-20 Ian Lance Taylor <iant@google.com> |
6823 | ||
6824 | * godump.c (go_output_typedef): Put enum constants in the macro | |
6825 | hash table to avoid duplicate Go const definitions. | |
6826 | ||
2691e6d7 JM |
6827 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
6828 | ||
6829 | * Makefile.in (LIBDEPS): Add libcommon.a. | |
6830 | (LIBS): Likewise. | |
6831 | (GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o. | |
6832 | (OBJS-common): Remove diagnostic.o, input.o, intl.o, | |
6833 | pretty-print.o and version.o. | |
6834 | (OBJS-libcommon): New. | |
6835 | (ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon). | |
6836 | (BACKEND): Add libcommon.a. | |
6837 | (MOSTLYCLEANFILES): Likewise. | |
6838 | (libcommon.a): New. | |
6839 | (xgcc$(exeext)): Don't explicitly use version.o and intl.o. | |
6840 | (cpp$(exeext)): Likewise. | |
6841 | (COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o, | |
6842 | pretty-print.o and input.o. | |
6843 | (lto-wrapper$(exeext)): Don't explicitly use intl.o. | |
6844 | (lto-wrapper.o): Depend on $(DIAGNOSTIC_H). | |
6845 | (errors.o): Remove. | |
6846 | (mips-tfile): Don't explicitly use version.o. | |
6847 | (mips-tdump): Likewise. | |
6848 | (gcov.o): Depend on $(DIAGNOSTIC_H). | |
6849 | (gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H). | |
6850 | (GCOV_OBJS): Remove intl.o, version.o and errors.o. | |
6851 | (GCOV_DUMP_OBJS): Remove version.o and errors.o. | |
6852 | * gcov-dump.c: Include intl.h and diagnostic.h. | |
6853 | (main): Initialize diagnostics. | |
6854 | * gcov.c: Include diagnostic.h. | |
6855 | (fnotice): Remove. | |
6856 | (main): Initialize diagnostics. | |
6857 | * lto-wrapper.c: Include diagnostic.h. | |
6858 | (main): Initialize diagnostics. | |
6859 | ||
252b3e8c MM |
6860 | 2011-05-20 Michael Matz <matz@suse.de> |
6861 | ||
6862 | * Makefile.in (OBJS-common, OBJS-md, OBJS-archive): Merge into OBJS. | |
6863 | ||
2ee36ba6 MM |
6864 | 2011-05-20 Michael Matz <matz@suse.de> |
6865 | Richard Guenther <rguenther@suse.de> | |
6866 | ||
6867 | * lto-streamer.c (lto_record_common_node): Don't track seen nodes, | |
6868 | use lto_streamer_cache_append directly instead of returning a VEC. | |
6869 | (preload_common_node): Remove. | |
6870 | (lto_get_common_nodes): Rename to lto_preload_common_nodes, don't | |
6871 | track seen nodes. | |
6872 | (lto_streamer_cache_create): Call lto_preload_common_nodes. | |
6873 | ||
90ff582f RG |
6874 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
6875 | ||
6876 | PR tree-optimization/49079 | |
6877 | * tree-dfa.c (get_ref_base_and_extent): Handle view-converting | |
6878 | MEM_REFs correctly for the trailing array access detection. | |
6879 | Special case constants the same way as decls for overall size | |
6880 | constraining. | |
6881 | ||
3cda91d8 UB |
6882 | 2011-05-20 Uros Bizjak <ubizjak@gmail.com> |
6883 | ||
6884 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Fix macro | |
6885 | argument expansion. | |
6886 | ||
6c66f733 JJ |
6887 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
6888 | ||
6889 | PR tree-optimization/49073 | |
3cda91d8 UB |
6890 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL if |
6891 | PHI argument is SSA_NAME, whose def_stmt is dominated by the PHI. | |
6c66f733 JJ |
6892 | * tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators. |
6893 | ||
0ea80a16 RG |
6894 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
6895 | ||
6896 | PR middle-end/48849 | |
6897 | * gimple.c (gimple_register_canonical_type): Compute TYPE_CANONICAL | |
6898 | of pointer types the same way the middle-end does. | |
6899 | ||
fb291a1e RG |
6900 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
6901 | ||
3cda91d8 UB |
6902 | * gimple.c (gimple_register_type_1): Do not fiddle with main-variant |
6903 | or pointer-to chains. Delay all fixup to uniquify_nodes. | |
fb291a1e | 6904 | |
37cb25ed QN |
6905 | 2011-05-19 Quentin Neill <quentin.neill@amd.com> |
6906 | ||
6907 | * config/i386/sse.md (fma4_fmsubadd): Use <ssemodesuffix>. | |
6908 | (fma4_fmaddsub): Likewise | |
6909 | ||
a30726a4 JH |
6910 | 2011-05-19 Jan Hubicka <jh@suse.cz> |
6911 | ||
6912 | * gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove. | |
6913 | (GIMPLE_TYPE_PAIR_SIZE): New macro. | |
6914 | (type_pair_cache): New static var. | |
6915 | (lookup_type_pair): Use fixed sized custom hash; make inline. | |
6916 | (gtc_visit, gimple_types_compatible_p, gimple_register_type_1): Update | |
6917 | calls of lookup_type_pair. | |
6918 | (print_gimple_types_stats): Remove cache stats. | |
6919 | (free_gimple_type_tables): Free type_pair_cache instead of gtc_visited | |
6920 | and gtc_ob. | |
6921 | ||
0955cf61 UB |
6922 | 2011-05-19 Uros Bizjak <ubizjak@gmail.com> |
6923 | ||
6924 | * config/i386/i386.c (option_override_internal): Enable TARGET_CMOVE | |
6925 | when TARGET_RDRND is active. | |
6926 | (ix86_expand_builtin) <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: | |
6927 | Generate dummy SImode target register when target is NULL. | |
6928 | ||
12d844c8 JM |
6929 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
6930 | ||
6931 | * config/arm/arm-fpus.def: New. | |
6932 | * config/arm/genopt.sh: Generate Enum and EnumValue entries from | |
6933 | arm-fpus.def. | |
6934 | * config/arm/arm-tables.opt: Regenerate. | |
6935 | * config/arm/arm.c (all_fpus): Move contents to arm-fpus.def. | |
6936 | (arm_option_override): Don't decode FPU name to string here. | |
6937 | * config/arm/arm.opt (mfpu=): Use Enum. | |
6938 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt, arm.o): | |
6939 | Update dependencies. | |
6940 | ||
9e350e99 JM |
6941 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
6942 | ||
6943 | * collect2.c: Include diagnostic.h. | |
6944 | (fatal_perror, fatal, error, fancy_abort): Remove. | |
6945 | (main): Set progname. Call xmalloc_set_program_name and | |
6946 | diagnostic_initialize. | |
6947 | (maybe_run_lto_and_relink, main, collect_execute, scan_prog_file, | |
6948 | scan_libraries, resolve_lib_name): Call fatal_error instead of | |
6949 | fatal and fatal_perror. | |
6950 | * collect2.h (error, fatal, fatal_perror): Don't declare. | |
6951 | * tlink.c: Include diagnostic-core.h. | |
6952 | (recompile_files): Call fatal_error instead of fatal_perror. | |
6953 | * Makefile.in (COLLECT2_OBJS): Include diagnostic.o, | |
6954 | pretty-print.o and input.o. | |
6955 | (collect2.o, tlink.o): Update dependencies. | |
6956 | ||
86ff4081 RO |
6957 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6958 | ||
6959 | * config/i386/i386.md (tls_initial_exec_64_sun): Add semicolon. | |
6960 | ||
2ca48caa RO |
6961 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6962 | ||
6963 | PR target/40483 | |
6964 | * configure.ac (gcc_cv_as_comdat_group_group): Check for Sun as | |
6965 | COMDAT group syntax, both SPARC and x86 variants. | |
6966 | (HAVE_COMDAT_GROUP): Also define if gcc_cv_as_comdat_group_group. | |
6967 | * configure: Regenerate. | |
6968 | * config/sol2.h (TARGET_SOLARIS): Define. | |
6969 | (PUSHSECTION_FORMAT): Remove. | |
6970 | (SECTION_NAME_FORMAT): Define. | |
6971 | * config/sol2.c: Include hashtab.h. | |
6972 | (solaris_output_init_fini): Replace PUSHSECTION_FORMAT by its | |
6973 | expansion, using SECTION_NAME_FORMAT. | |
6974 | (solaris_comdat_htab): New variable. | |
6975 | (struct comdat_entry): Define. | |
6976 | (comdat_hash): New function. | |
6977 | (comdat_eq): New function. | |
6978 | (solaris_elf_asm_comdat_section): New function. | |
6979 | (solaris_define_comdat_signature): New function. | |
6980 | (solaris_code_end): New function. | |
6981 | * config/sol2-protos.h (solaris_elf_asm_comdat_section): Declare. | |
6982 | (solaris_code_end): Declare. | |
6983 | * config/t-sol2 (sol2.o): Add $HASHTAB_H dependency. | |
6984 | * config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Call | |
6985 | solaris_code_end. | |
6986 | (i386_solaris_elf_named_section): Wrap in TARGET_SOLARIS. | |
6987 | Remove ATTRIBUTE_UNUSED. | |
6988 | [!USE_GAS]: Call solaris_elf_asm_comdat_section for | |
6989 | SECTION_LINKONCE sections if HAVE_COMDAT_GROUP. | |
0955cf61 | 6990 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Likewise. |
2ca48caa RO |
6991 | * config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Moved ... |
6992 | * config/i386/sol2.h (TARGET_ASM_NAMED_SECTION): ... here. | |
6993 | * config/sparc/sol2.h (TARGET_ASM_CODE_END): Redefine. | |
6994 | (PUSHSECTION_FORMAT): Remove. | |
6995 | (SECTION_NAME_FORMAT): Redefine. | |
6996 | ||
da5fb469 KT |
6997 | 2011-05-19 Kai Tietz <ktietz@redhat.com> |
6998 | ||
6999 | * tree-cfg.c (verify_gimple_assign_binary): Barf on | |
7000 | TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. | |
7001 | (gimplify_expr): Move TRUTH_AND|OR|XOR_EXPR to its binary form. | |
7002 | ||
1651e703 | 7003 | 2011-05-19 Anatoly Sokolov <aesok@post.ru> |
0967b228 AS |
7004 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7005 | ||
7006 | * config/t-sol2 (sol2.o): Add $(TARGET_H) dependency. | |
7007 | ||
e497b9bd RG |
7008 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
7009 | ||
7010 | PR middle-end/48985 | |
7011 | * tree-object-size.c (addr_object_size): If the pointed-to | |
7012 | variable is a decl use DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT. | |
7013 | ||
31b3ca64 RG |
7014 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
7015 | ||
7016 | * gimple.c (gimple_types_compatible_p_1): Compare names of | |
7017 | the types themselves. | |
7018 | (iterative_hash_gimple_type): And hash them that way. | |
7019 | (gimple_register_type_1): If we register a main variant properly | |
7020 | initialize the leader to ourselves. | |
7021 | ||
bb8d292d TV |
7022 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
7023 | ||
7024 | PR target/45098 | |
7025 | * tree-ssa-loop-ivopts.c (get_expr_id): Factored new function out of | |
7026 | get_loop_invariant_expr_id. | |
7027 | (get_loop_invariant_expr_id): Use get_expr_id. | |
7028 | (parm_decl_cost): New function. | |
7029 | (determine_use_iv_cost_condition): Use get_expr_id and parm_decl_cost. | |
7030 | Improve bound cost estimation. Use different inv_expr_id for elim and | |
7031 | express cases. | |
7032 | ||
a53c5024 TV |
7033 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
7034 | ||
7035 | PR target/45098 | |
7036 | * tree-ssa-loop-ivopts.c (determine_iv_cost): Prevent | |
7037 | cost_base.cost == 0. | |
7038 | ||
31f9eb59 L |
7039 | 2011-05-18 H.J. Lu <hongjiu.lu@intel.com> |
7040 | ||
7041 | PR target/49002 | |
66bd20e7 EB |
7042 | * config/i386/sse.md |
7043 | (avx_<ssemodesuffix><avxsizesuffix>_<ssemodesuffix>): Properly handle | |
7044 | load cast. | |
31f9eb59 | 7045 | |
681056ae JJ |
7046 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
7047 | ||
7048 | PR tree-optimization/49039 | |
7049 | * tree-vrp.c (extract_range_from_binary_expr): For | |
7050 | MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]> | |
7051 | return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>]. | |
7052 | ||
b5ee6752 TV |
7053 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
7054 | ||
7055 | PR target/45098 | |
7056 | * tree-ssa-loop-ivopts.c (computation_cost): Prevent cost of 0. | |
7057 | ||
0bda47a3 UB |
7058 | 2011-05-18 Uros Bizjak <ubizjak@gmail.com> |
7059 | ||
7060 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Split asm template. | |
7061 | (*tls_global_dynamic_64): Ditto. | |
7062 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
7063 | (*tls_local_dynamic_base_64): Ditto. | |
7064 | (tls_initial_exec_64_sun): Ditto. | |
7065 | ||
033b0805 SH |
7066 | 2011-05-18 Stuart Henderson <shenders@gcc.gnu.org> |
7067 | ||
7068 | * doc/invoke.texi (Blackfin Options): -mcpu accepts bf592. | |
7069 | * config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for | |
7070 | bf592-none. | |
7071 | * config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise. | |
7072 | * config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise. | |
7073 | * config/bfin/bfin.c (bfin_cpus): Add bf592. | |
7074 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
0bda47a3 | 7075 | __ADSPBF592__ and __ADSPBF59x__ for BFIN_CPU_BF592. |
033b0805 SH |
7076 | * config/bfin/bfin-opts.h (bfin_cpu_type): Add BFIN_CPU_BF592. |
7077 | * config/bfin/elf.h (LIB_SPEC): Add bf592. | |
7078 | ||
ba163417 JM |
7079 | 2011-05-18 Joseph Myers <joseph@codesourcery.com> |
7080 | ||
7081 | * config/arm/arm-opts.h (enum arm_fp16_format_type, enum | |
0bda47a3 | 7082 | arm_abi_type, enum float_abi_type, enum arm_tp_type): Move from arm.h. |
ba163417 JM |
7083 | * config/arm/arm.c (arm_float_abi, arm_fp16_format, arm_abi, |
7084 | target_thread_pointer, arm_structure_size_boundary, struct | |
7085 | float_abi, all_float_abis, struct fp16_format, all_fp16_formats, | |
7086 | struct abi_name, arm_all_abis): Remove. | |
0bda47a3 UB |
7087 | (arm_option_override) Don't process most enumerated option values here. |
7088 | Don't process target_fpe_name here. Work with integer not string for | |
7089 | structure size boundary; use separate diagnostics for each case. | |
ba163417 JM |
7090 | * config/arm/arm.h (enum float_abi_type, enum |
7091 | arm_fp16_format_type, enum arm_abi_type, enum arm_tp_type): Move | |
7092 | to arm-opts.h. | |
7093 | (arm_float_abi, arm_fp16_format, arm_abi, target_thread_pointer, | |
7094 | arm_structure_size_boundary): Remove. | |
7095 | * config/arm/arm.opt (mabi=): Use Enum and Init. | |
7096 | (arm_abi_type): New Enum and EnumValue entries. | |
7097 | (mfloat-abi=): Use Enum and Init. | |
7098 | (float_abi_type): New Enum and EnumValue entries. | |
0bda47a3 | 7099 | (mfp=, mfpe=): Replace by separate Alias entries for each argument. |
ba163417 JM |
7100 | (mfp16-format=): Use Enum and Init. |
7101 | (arm_fp16_format_type): New Enum and EnumValue entries. | |
7102 | (mstructure-size-boundary=): Use UInteger and Init. | |
7103 | (mtp=): Use Enum and Init. | |
7104 | (arm_tp_type): New Enum and EnumValue entries. | |
7105 | ||
179184e3 RG |
7106 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
7107 | ||
7108 | PR tree-optimization/49018 | |
7109 | * gimple.c (gimple_has_side_effects): Volatile asms have side-effects. | |
7110 | * tree-ssa-ifcombine.c (bb_no_side_effects_p): Use | |
7111 | gimple_has_side_effects. | |
7112 | ||
93b2a207 RG |
7113 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
7114 | ||
7115 | * gimple.c (gimple_register_type_1): New function, split out from ... | |
7116 | (gimple_register_type): ... here. Avoid infinite recursion. | |
7117 | ||
b010117a IR |
7118 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
7119 | ||
7120 | PR tree-optimization/41881 | |
7121 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
7122 | reduction_chains along with a macro for its access. | |
7123 | * tree-vect-loop.c (new_loop_vec_info): Initialize reduction chains. | |
7124 | (destroy_loop_vec_info): Free reduction chains. | |
7125 | (vect_analyze_loop_2): Return false if vect_analyze_slp() returns false. | |
7126 | (vect_is_slp_reduction): New function. | |
7127 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction. | |
7128 | (vect_create_epilog_for_reduction): Support SLP reduction chains. | |
7129 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Allow different | |
7130 | definition types for reduction chains. | |
7131 | (vect_supported_load_permutation_p): Don't allow permutations for | |
7132 | reduction chains. | |
7133 | (vect_analyze_slp_instance): Support reduction chains. | |
7134 | (vect_analyze_slp): Try to build SLP instance from reduction chains. | |
7135 | (vect_get_constant_vectors): Handle reduction chains. | |
7136 | (vect_schedule_slp_instance): Mark the first statement of the | |
7137 | reduction chain as reduction. | |
7138 | ||
e14c1050 IR |
7139 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
7140 | ||
7141 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use new | |
7142 | names for group elements access. | |
7143 | * tree-vectorizer.h (struct _stmt_vec_info): Use interleaving info for | |
7144 | reduction chains as well. Remove data reference and interleaving | |
7145 | related words from the fields names. | |
7146 | * tree-vect-loop.c (vect_transform_loop): Use new names for group | |
7147 | elements access. | |
7148 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain, | |
7149 | vect_insert_into_interleaving_chain, vect_update_interleaving_chain, | |
7150 | vect_update_interleaving_chain, vect_same_range_drs, | |
7151 | vect_analyze_data_ref_dependence, vect_update_misalignment_for_peel, | |
7152 | vect_verify_datarefs_alignment, vector_alignment_reachable_p, | |
7153 | vect_peeling_hash_get_lowest_cost, vect_enhance_data_refs_alignment, | |
7154 | vect_analyze_group_access, vect_analyze_data_ref_access, | |
7155 | vect_create_data_ref_ptr, vect_transform_strided_load, | |
7156 | vect_record_strided_load_vectors): Likewise. | |
7157 | * tree-vect-stmts.c (vect_model_simple_cost, vect_model_store_cost, | |
7158 | vect_model_load_cost, vectorizable_store, vectorizable_load, | |
7159 | vect_remove_stores, new_stmt_vec_info): Likewise. | |
7160 | * tree-vect-slp.c (vect_build_slp_tree, | |
7161 | vect_supported_slp_permutation_p, vect_analyze_slp_instance): Likewise. | |
7162 | ||
51c213f7 RG |
7163 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
7164 | ||
7165 | PR middle-end/48989 | |
7166 | * tree-cfg.c (verify_gimple_assign_unary): Adjust TRUTH op | |
7167 | operand verification. | |
7168 | (verify_gimple_assign_binary): Likewise. | |
7169 | * tree-ssa.c (useless_type_conversion_p): Preserve conversions | |
7170 | to non-1-precision BOOLEAN_TYPEs. | |
7171 | ||
8f5e5434 TV |
7172 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
7173 | ||
7174 | PR target/45098 | |
7175 | * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost. | |
7176 | ||
116bc3a4 JJ |
7177 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
7178 | ||
7179 | PR tree-optimization/49000 | |
7180 | * tree-ssa.c (execute_update_addresses_taken): Call | |
7181 | maybe_rewrite_mem_ref_base on debug stmt value. If it couldn't | |
7182 | be rewritten and decl has been marked for renaming, reset | |
7183 | the debug stmt. | |
7184 | ||
26a8964c JM |
7185 | 2011-05-17 Joseph Myers <joseph@codesourcery.com> |
7186 | ||
7187 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Use | |
7188 | enum_opts_set when testing if attributes have set -mfpmath=. | |
7189 | ||
82bd45d7 RS |
7190 | 2011-05-17 Richard Sandiford <rdsandiford@googlemail.com> |
7191 | ||
7192 | * config/mips/mips.c (mips_handle_option): Remove unused variable. | |
7193 | ||
267ffce3 UB |
7194 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> |
7195 | ||
7196 | * ipa-inline-analysis.c (inline_node_duplication_hook): Initialize | |
7197 | info->entry with 0 | |
7198 | * tree-inline.c (maybe_inline_call_in_expr): Initialize | |
7199 | id.transform_lang_insert_block with NULL. | |
7200 | ||
7201 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> | |
d9403b0d UB |
7202 | |
7203 | * config/i386/i386-protos.h (output_fix_trunc): Change arg 3 to bool. | |
7204 | (output_fp_compare): Change args 3 and 4 to bool. | |
7205 | (ix86_expand_call): Change arg 6 to bool. | |
7206 | (ix86_attr_length_immediate_default): Change arg 2 to bool. | |
7207 | (ix86_attr_length_vex_default): Change arg 3 to bool. | |
7208 | * config/i386/i386.md: Update all uses. | |
7209 | * config/i386/i386.c: Ditto. | |
7210 | (ix86_flags_dependent): Change return type to bool. | |
7211 | ||
5beaf664 RG |
7212 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
7213 | ||
7214 | * gimple.c (type_hash_pair_compare): Fix comparison. | |
7215 | ||
008bad7a RG |
7216 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
7217 | ||
7218 | * gimple.c (iterative_hash_gimple_type): Simplify singleton | |
7219 | case some more, fix final hash value of the non-singleton case. | |
7220 | ||
36461340 RG |
7221 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
7222 | ||
7223 | PR bootstrap/49013 | |
7224 | Revert | |
7225 | 2011-05-16 Richard Guenther <rguenther@suse.de> | |
7226 | ||
7227 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
7228 | type itself, not its main variant. | |
7229 | (iterative_hash_gimple_type): Likewise. | |
7230 | ||
6b6a59f3 RG |
7231 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
7232 | ||
7233 | * gimple.c (gimple_register_canonical_type): Use the main-variant | |
7234 | leader for computing the canonical type. | |
7235 | ||
4ffc4134 NC |
7236 | 2011-05-17 Nick Clifton <nickc@redhat.com> |
7237 | ||
a1d8754e NC |
7238 | * config/rx/rx.c (rx_memory_move_cost): Include cost of register |
7239 | moves. | |
7240 | ||
4ffc4134 NC |
7241 | * config/rx/rx.md: Add peephole to remove redundant extensions |
7242 | after loads. | |
39960f7a NC |
7243 | (bitset_in_memory): Use rx_restricted_mem_operand. |
7244 | (bitinvert_in_memory): Likewise. | |
7245 | (bitclr_in_memory): Likewise. | |
4ffc4134 | 7246 | |
b3db92ac KI |
7247 | 2011-05-17 Kazuhio Inaoka <kazuhiro.inaoka.ud@renesas.com> |
7248 | Nick Clifton <nickc@redhat.com> | |
7249 | ||
7250 | * config/rx/rx.md: Add peepholes to match a register move followed | |
7251 | by a comparison of the moved register. Replace these with an | |
7252 | addition of zero that does both actions in one instruction. | |
7253 | ||
8637e32a JJ |
7254 | 2011-05-17 Jakub Jelinek <jakub@redhat.com> |
7255 | ||
7256 | PR target/48986 | |
7257 | * config/i386/sync.md (sync_old_add<mode>): Relax operand 2 | |
7258 | predicate to allow CONST_INT. | |
7259 | (*sync_old_add_cmp<mode>): New insn and peephole2 for it. | |
7260 | ||
8023568e JM |
7261 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
7262 | ||
7263 | * opts-common.c (opt_enum_arg_to_value): New. | |
7264 | * opts.h (opt_enum_arg_to_value): Declare. | |
7265 | * config/i386/i386.opt (fpmath): Remove. | |
7266 | (mfpmath=): Use Enum, Init and Save. | |
7267 | (fpmath_unit): New Enum and EnumValue entries. | |
7268 | * config/i386/i386-c.c (ix86_pragma_target_parse): Update field | |
7269 | name for function fpmath state. | |
7270 | * config/i386/i386-opts.h (enum fpmath_unit): Move from i386.h. | |
7271 | * config/i386/i386.c: Include diagnostic.h. | |
7272 | (ix86_fpmath, IX86_FUNCTION_SPECIFIC_FPMATH): Remove. | |
d9403b0d | 7273 | (ix86_target_string): Take enum fpmath_unit value instead of string. |
8023568e | 7274 | (ix86_debug_options): Update call to ix86_target_string. |
d9403b0d | 7275 | (ix86_option_override_internal): Don't process fpmath strings here. |
8023568e JM |
7276 | (x86_function_specific_save, ix86_function_specific_restore): |
7277 | Don't handle fpmath state specially. | |
7278 | (ix86_function_specific_print): Pass fpmath state to | |
7279 | ix86_target_string instead of printing in this function. | |
7280 | (ix86_valid_target_attribute_inner_p): Take gcc_options pointer. | |
7281 | Handle enum attributes. | |
7282 | (IX86_ATTR_ENUM, ix86_opt_enum): New. | |
7283 | (ix86_valid_target_attribute_tree): Update option_strings | |
7284 | handling. Handle fpmath as enum option. | |
7285 | (ix86_can_inline_p): Update field names for function fpmath state. | |
7286 | (ix86_expand_builtin): Update call to ix86_target_string. | |
7287 | * config/i386/i386.h (enum fpmath_unit): Move to i386-opts.h. | |
7288 | (ix86_fpmath): Remove. | |
7289 | * config/i386/t-i386 (i386.o): Update dependencies. | |
7290 | ||
9e8d926e JM |
7291 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
7292 | ||
7293 | PR preprocessor/48677 | |
7294 | * cppspec.c (lang_specific_driver): Set new_decoded_options[0] | |
7295 | from decoded_options[0], not from itself. | |
7296 | ||
f6449011 UB |
7297 | 2011-05-16 Uros Bizjak <ubizjak@gmail.com> |
7298 | ||
7299 | * config/i386/constraints.md (z): New constraint. | |
7300 | * config/i386/i386.c (c): New mode attribute. | |
7301 | (*call): Merge insn pattern from *call_0, *call_1, *call_1_rex64 and | |
7302 | *call_1_rex64_large patterns using "P" mode iterator. Use "<c>zm" | |
7303 | constraint for operand 0. | |
7304 | (*call_vzeroupper): Ditto. | |
7305 | (*call_rex64_ms_sysv): Ditto. Use "rzm" constraint for operand 0. | |
7306 | (*call_rex64_ms_sysv_vzeroupper): Ditto. | |
7307 | (*call_pop): Merge insn pattern from *call_pop_0 and *call_pop_1. | |
7308 | Use "lzm" constraint for operand 0. | |
7309 | (*call_pop_vzeroupper): Ditto. | |
7310 | (*sibcall): Merge insn pattern from *sibcall_0, *sibcall_1 and | |
7311 | *sibcall_1_rex64 patterns using "P" mode iterator. Use "Uz" | |
7312 | constraint for operand 0. | |
7313 | (*sibcall_vzeroupper): Ditto. | |
7314 | (*sibcall_rex64_ms_sysv): Ditto. | |
7315 | (*sibcall_rex64_ms_sysv_vzeroupper): Ditto. | |
7316 | (*sibcall_pop): Merge insn pattern from *sibcall_pop_0 and | |
7317 | *sibcall_pop_1. Use "Uz" constraint for operand 0. | |
7318 | (*sibcall_pop_vzeroupper): Ditto. | |
7319 | (*call_value): Merge insn pattern from *call_value_0, *call_value_1, | |
7320 | *call_value_1_rex64 and *call_value_1_rex64_large patterns using "P" | |
7321 | mode iterator. Use "<c>zm" constraint for operand 1. | |
7322 | (*call_value_vzeroupper): Ditto. | |
7323 | (*call_value_rex64_ms_sysv): Ditto. Use "rzm" constraint | |
d9403b0d | 7324 | for operand 1. |
f6449011 UB |
7325 | (*call_value_rex64_ms_sysv_vzeroupper): Ditto. |
7326 | (*call_value_pop): Merge insn pattern from *call_value_pop_0 and | |
7327 | *call_value_pop_1. Use "lzm" constraint for operand 1. | |
7328 | (*call_value_pop_vzeroupper): Ditto. | |
7329 | (*sibcall_value): Merge insn pattern from *sibcall_value_0, | |
7330 | *sibcall_value_1 and *sibcall_value_1_rex64 patterns using "P" | |
7331 | mode iterator. Use "Uz" constraint for operand 1. | |
7332 | (*sibcall_value_vzeroupper): Ditto. | |
7333 | (*sibcall_value_rex64_ms_sysv): Ditto. | |
7334 | (*sibcall_value_rex64_ms_sysv_vzeroupper): Ditto. | |
7335 | (*sibcall_value_pop): Rename from *sibcall_pop_1. Use "Uz" | |
7336 | constraint for operand 1. | |
7337 | (*sibcall_value_pop_vzeroupper): Ditto. | |
7338 | (*tls_global_dynamic_64): Use constant_call_address_operand predicate | |
7339 | and "z" constraint for operand 2. | |
7340 | (*tls_global_dynamic_32_gnu): Ditto. | |
7341 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
7342 | (*tls_local_dynamic_base_64): Ditto. | |
7343 | (*tls_local_dynamic_32_once): Ditto. | |
7344 | * config/i386/i386.c (ix86_output_call_insn): Remove int_addr argument. | |
7345 | Update all callers. | |
7346 | * config/i386/i386-protos.h (ix86_output_call_insn): Update prototype. | |
7347 | ||
c11b6902 RG |
7348 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
7349 | ||
7350 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
7351 | type itself, not its main variant. | |
7352 | (iterative_hash_gimple_type): Likewise. | |
7353 | ||
1e83b5f1 RG |
7354 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
7355 | ||
f6449011 UB |
7356 | * gimple.c (iterative_hash_gimple_type): Re-instantiate change to |
7357 | always visit pointer target and function result and argument types. | |
1e83b5f1 | 7358 | |
62e36382 JM |
7359 | 2011-05-16 Jason Merrill <jason@redhat.com> |
7360 | ||
7361 | PR c++/48999 | |
7362 | * tree-inline.c (copy_statement_list): Put back recursion. | |
7363 | ||
687027a4 GJL |
7364 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
7365 | ||
7366 | PR target/27663 | |
7367 | PR target/41076 | |
7368 | * config/avr/predicates.md (const_8_16_24_operand): New predicate. | |
7369 | * config/avr/avr.md ("*ior<mode>qi.byte0", | |
7370 | "*ior<mode>qi.byte1-3"): New define_insn_and_split patterns. | |
7371 | ||
f24a5190 GJL |
7372 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
7373 | ||
7374 | PR target/45099 | |
7375 | * config/avr/avr.c (avr_function_arg_advance): Error if a fixed | |
7376 | register is needed for a function argument. | |
7377 | ||
3066f593 RG |
7378 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
7379 | ||
7380 | * gimple.c (struct type_hash_pair): New type. | |
7381 | (type_hash_pair_compare): New function. | |
f6449011 | 7382 | (iterative_hash_gimple_type): Mix in SCC member hashes in hash-order. |
3066f593 | 7383 | |
b2ab2cf4 RE |
7384 | 2011-05-16 Revital Eres <revital.eres@linaro.org> |
7385 | ||
f6449011 | 7386 | * modulo-sched.c (doloop_register_get): Check !DEBUG_INSN_P first. |
b2ab2cf4 | 7387 | |
dfb737fc UB |
7388 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
7389 | ||
7390 | * config/i386/i386.md (floating point move splitters): Fix | |
7391 | usage of standard_80387_constant_p. | |
f6449011 | 7392 | * config/i386/i386.c (ix86_preferred_reload_class): Ditto. |
dfb737fc | 7393 | |
8caa1de0 UB |
7394 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
7395 | ||
7396 | * config/i386/i386.md (*movdf_internal): Simplify insn condition. | |
7397 | ||
8a519095 EB |
7398 | 2011-05-14 Eric Botcazou <ebotcazou@adacore.com> |
7399 | ||
7400 | * tree-ssa-loop-im.c (SET_ALWAYS_EXECUTED_IN): New macro. | |
7401 | (fill_always_executed_in): Use [SET_]ALWAYS_EXECUTED_IN. | |
7402 | (tree_ssa_lim_finalize): Likewise. | |
7403 | ||
479fecd3 UB |
7404 | 2011-05-14 Uros Bizjak <ubizjak@gmail.com> |
7405 | ||
7406 | * config/i386/constraint.md (Yd, Yx): New register constraints. | |
7407 | * config/i386/i386.md (*pushdf): Merge with *pushdf_nointeger. Use | |
7408 | Yd conditional register constraint. | |
7409 | (*movtf_internal): Use standard_sse_constant_opcode. | |
7410 | (*movxf_internal): Merge with *movxf_internal_nointeger. Use | |
7411 | Yx conditional register constraint. | |
7412 | (*movdf_internal): Merge with *movdf_internal_nointeger. Use | |
7413 | Yd conditional register constraint. Use standard_sse_constant_p to | |
7414 | check for valid SSE constants and call standard_sse_constant_opcode to | |
7415 | output SSE insn. | |
7416 | (*movsf_internal): Use standard_sse_constant_p to check for valid SSE | |
7417 | constants and call standard_sse_constant_opcode to output SSE insn. | |
7418 | * config/i386/i386.c (ix86_option_ovverride_internal): Set | |
7419 | TARGET_INTEGER_DFMODE_MOVES for 64bit targets. Clear it when | |
7420 | optimize_size is set. | |
7421 | (standard_sse_constant_opcode): Output conditional AVX insn templates. | |
7422 | ||
2d8c9ad5 TB |
7423 | 2011-05-14 Tobias Burnus <burnus@net-b.de> |
7424 | ||
7425 | * doc/invoke.texi (-Ofast): Also enables -fstack-arrays. | |
7426 | ||
411a20d6 MJ |
7427 | 2011-05-13 Martin Jambor <mjambor@suse.cz> |
7428 | ||
7429 | * ipa-prop.c (ipa_cst_from_jfunc): New function. | |
7430 | * ipa-prop.h (ipa_cst_from_jfunc): Declare. | |
7431 | * ipa-inline-analysis.c (evaluate_conditions_for_edge): Use it. | |
7432 | (evaluate_conditions_for_ipcp_clone): Removed. | |
7433 | (estimate_ipcp_clone_size_and_time): Accept vector of known constants. | |
7434 | * ipa-cp.c (ipcp_estimate_growth): Build vector of known constants. | |
7435 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): Update. | |
7436 | ||
dc764d10 EB |
7437 | 2011-05-13 Eric Botcazou <ebotcazou@adacore.com> |
7438 | ||
7439 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Adjust dump message. | |
7440 | * regcprop.c (copyprop_hardreg_forward): Test MAY_HAVE_DEBUG_INSNS in | |
7441 | lieu of MAY_HAVE_DEBUG_STMTS. | |
7442 | * tree-cfgcleanup.c (remove_forwarder_block): Do not attempt to move | |
7443 | debug statements if !MAY_HAVE_DEBUG_STMTS. | |
7444 | ||
9f47a24e MT |
7445 | 2011-05-13 Martin Thuresson <martint@google.com> |
7446 | ||
7447 | PR gcov-profile/47793 | |
7448 | * libgcov.c (gcov_exit): Support relative profile paths. | |
7449 | * doc/invoke.texi (-fprofile-dir): Update for above change. | |
7450 | ||
b8a71aed RG |
7451 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
7452 | ||
7453 | * gimple.c (gimple_canonical_types_compatible_p): Do not use | |
7454 | type-pair caching, do not compare hashes. | |
7455 | ||
eb9f9259 NF |
7456 | 2011-05-13 Nathan Froyd <froydnj@codesourcery.com> |
7457 | ||
7458 | PR middle-end/48965 | |
7459 | * tree-cfg.c (edge_to_cases_cleanup): Return true. | |
7460 | (verify_expr) [CASE_LABEL_EXPR]: Add checking. | |
7461 | ||
3c6cbf7a KT |
7462 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
7463 | ||
7464 | * gimplify.c (gimplify_expr): Make sure operand is boolified. | |
7465 | * tree-cfg.c (verify_gimple_assign_unary): Check for boolean | |
7466 | compatible type for TRUTH_NOT_EXPR. | |
7467 | ||
2e7f5dc0 L |
7468 | 2011-05-13 H.J. Lu <hongjiu.lu@intel.com> |
7469 | ||
dc764d10 | 7470 | * config/i386/i386.c (ix86_save_reg): Change return type to bool. |
2e7f5dc0 L |
7471 | (ix86_hard_regno_mode_ok): Change return value to bool. Use |
7472 | can_create_pseudo_p (). | |
7473 | ||
e834e95c RG |
7474 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
7475 | ||
7476 | PR lto/48978 | |
7477 | * gimple.c (iterative_hash_gimple_type): Revert change in | |
7478 | pointer target and function result and argument hashing. | |
7479 | ||
34203483 UB |
7480 | 2011-05-13 Uros Bizjak <ubizjak@gmail.com> |
7481 | ||
7482 | * config/i386/i386.md (*movxf_internal): Use !can_create_pseudo (). | |
7483 | (*movxf_internal_nointeger): Ditto. | |
7484 | (*movdf_internal_rex64): Ditto. | |
7485 | (*movdf_internal): Ditto. | |
7486 | (*movdf_internal_nointeger): Ditto. | |
7487 | (*movsf_internal): Ditto. | |
7488 | (sincos splitters): Use can_create_pseudo (). | |
7489 | ||
7eb68c06 JM |
7490 | 2011-05-13 Joseph Myers <joseph@codesourcery.com> |
7491 | ||
7492 | * config/i386/i386-opts.h: New. | |
7493 | * gcc/config/i386/i386.c (stringop_alg, ix86_cmodel, | |
7494 | ix86_asm_dialect, ix86_regparm, ix86_abi, ix86_branch_cost, | |
7495 | ix86_section_threshold): Remove. | |
7496 | (ix86_handle_option): Move MAX_CODE_ALIGN define here. Handle | |
7497 | OPT_malign_loops_, OPT_malign_jumps_, OPT_malign_functions_ and | |
7498 | OPT_mbranch_cost_. | |
7499 | (ix86_option_override_internal): Don't decode strings for options | |
7500 | other than -march=, -mtune= and -mfpmath=. Don't allow for | |
7501 | __attribute__ uses in remaining diagnostics for options with | |
34203483 | 7502 | string arguments. Don't check for integer arguments being negative. |
7eb68c06 | 7503 | * gcc/config/i386/i386.h (enum stringop_alg, enum calling_abi, |
34203483 | 7504 | enum tls_dialect, enum cmodel, enum asm_dialect): Move to i386-opts.h. |
7eb68c06 JM |
7505 | (ix86_abi, ix86_tls_dialect, ix86_cmodel, ix86_asm_dialect, |
7506 | ix86_branch_cost, ix86_section_threshold): Remove. | |
7507 | * gcc/config/i386/i386.opt (config/i386/i386-opts.h): New | |
7508 | HeaderInclude. | |
7509 | (malign-functions=, malign-jumps=, malign-loops=): Use UInteger | |
7510 | but not Var. | |
7511 | (masm=): Use Enum and Init. | |
7512 | (asm_dialect): New Enum and EnumValue entries. | |
7513 | (mbranch-cost=): Use UInteger. | |
7514 | (mlarge-data-threshold=): Use UInteger and Init. | |
7515 | (mcmodel=): Use Enum and Init. | |
7516 | (cmodel): New Enum and EnumValue entries. | |
7517 | (mpc): Replace with separate mpc32, mpc64 and mpc80 entries. | |
7518 | (mpreferred-stack-boundary=, mincoming-stack-boundary=, | |
7519 | mregparm=): Use UInteger. | |
7520 | (mstringop-strategy=): Use Enum and Init. | |
7521 | (stringop_alg): New Enum and EnumValue entries. | |
7522 | (mtls-dialect=): Use Enum and Init. | |
7523 | (tls_dialect): New Enum and EnumValue entries. | |
7524 | (mabi=): Use Enum and Init. | |
7525 | (calling_abi): New Enum and EnumValue entries. | |
7526 | (mveclibabi=): Use Enum and Init. | |
7527 | (ix86_veclibabi): New Enum and EnumValue entries. | |
7528 | ||
f67e203c NC |
7529 | 2011-05-13 Nick Clifton <nickc@redhat.com> |
7530 | ||
34203483 UB |
7531 | * config/rx/rx.md (mov expander): Fix use of rx_legitimate_constant_p. |
7532 | * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename prototype. | |
f67e203c | 7533 | |
221df0b6 KT |
7534 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
7535 | ||
7536 | PR middle-end/48984 | |
7537 | * gimplify.c (gimplify_expr): Check for boolean_type_node instead | |
7538 | for BOOLEAN_TYPE for TRUTH-NOT/AND/OR/XOR. | |
7539 | (gimple_boolify): Check for cast for boolean_type_node instead for | |
7540 | BOOLEAN_TYPE. | |
7541 | ||
208cb8cb RG |
7542 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
7543 | ||
7544 | PR tree-optimization/48172 | |
7545 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Avoid | |
7546 | multiplying by number of iterations for equal step. | |
7547 | (vect_create_cond_for_alias_checks): Likewise. | |
7548 | ||
b88ecf55 AS |
7549 | 2011-05-13 Andreas Schwab <schwab@redhat.com> |
7550 | ||
7551 | * configure.ac: Use AS_HELP_STRING throughout. | |
7552 | * configure: Regenerate. | |
7553 | ||
569b527e L |
7554 | 2011-05-12 H.J. Lu <hongjiu.lu@intel.com> |
7555 | ||
34203483 | 7556 | * config/i386/i386.c (ix86_save_reg): Change maybe_eh_return to bool. |
569b527e L |
7557 | (ix86_emit_restore_regs_using_mov): Likewise. |
7558 | (ix86_emit_restore_sse_regs_using_mov): Likewise. | |
7559 | ||
8b9a1428 AS |
7560 | 2011-05-12 Anatoly Sokolov <aesok@post.ru> |
7561 | ||
7562 | * config/sparc/sparc.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, | |
7563 | SYMBOLIC_CONST, RTX_OK_FOR_BASE_P, RTX_OK_FOR_INDEX_P): Remove. | |
7564 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Move to... | |
7565 | * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P, | |
7566 | RTX_OK_FOR_OLO10_P): ...here. | |
7567 | (sparc_mode_dependent_address_p): Use symbolic_operand instead of | |
7568 | SYMBOLIC_CONST. | |
7569 | ||
1d15f620 KT |
7570 | 2011-05-12 Kai Tietz <ktietz@redhat.com> |
7571 | ||
7572 | * gimplify.c (gimple_boolify): Re-boolify expression | |
7573 | arguments even if expression type is of kind BOOLEAN_TYPE. | |
7574 | (gimplify_boolean_expr): Removed. | |
7575 | (gimplify_expr): Boolify truth opcodes AND, ANDIF, OR, ORIF, | |
7576 | and XOR. Additional take care that we keep expression's type. | |
7577 | * tree-cfg.c (verify_gimple_assign_binary): Adjust check for type | |
7578 | of TRUTH_AND|OR|XOR_EXPR. | |
7579 | ||
c2b5fc8d JJ |
7580 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
7581 | ||
7582 | PR tree-optimization/48975 | |
7583 | * tree-if-conv.c (combine_blocks): Call free_bb_predicate | |
7584 | on all bbs here and free and clear ifc_bbs at the end. | |
7585 | ||
61332f77 RG |
7586 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
7587 | ||
7588 | * gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle | |
7589 | NULLPTR_TYPE similar to VOID_TYPE. Defer type-leader lookup | |
7590 | until after simple checks. | |
7591 | (gimple_types_compatible_p): Likewise. | |
7592 | (iterative_hash_gimple_type): Always hash pointer targets | |
7593 | and function return and argument types. | |
7594 | (iterative_hash_canonical_type): Do not hash TYPE_QUALS, | |
7595 | hash TYPE_ALIGN. Do not hash TYPE_MIN/MAX_VALUE. | |
7596 | (gimple_canonical_types_compatible_p): Compare TREE_ADDRESSABLE, | |
7597 | handle NULLPTR_TYPE similar to VOID_TYPE. Handle non-aggregates | |
7598 | completely in the simple compare section. | |
7599 | (gimple_register_canonical_type): Query the cache again after | |
7600 | registering. | |
7601 | ||
e2a3a5f1 RG |
7602 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
7603 | ||
7604 | PR tree-optimization/48172 | |
7605 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Do not exclude | |
7606 | the number of iterations from the segment size calculation. | |
7607 | (vect_create_cond_for_alias_checks): Adjust. | |
7608 | ||
2c703f3a JJ |
7609 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
7610 | ||
7611 | PR debug/48967 | |
7612 | * var-tracking.c (use_narrower_mode_test) <case REG>: Return 1 | |
7613 | if validate_subreg fails. | |
7614 | ||
7615 | 2011-05-12 Hariharan Sandanagobalane <hariharan@picochip.com> | |
b27981e0 HS |
7616 | |
7617 | * ira.c (clarify_prohibited_class_mode_regs): Prevent the function from | |
7618 | accessing beyond the end of REGNO_REG_CLASS array by stopping the loop | |
7619 | early. | |
7620 | ||
87e91fca DD |
7621 | 2011-05-12 DJ Delorie <dj@redhat.com> |
7622 | ||
d53903d6 | 7623 | * config/rx/rx.c (rx_builtins): New arrays - holds builtin functions. |
87e91fca DD |
7624 | (ADD_RX_BUILTIN1, ADD_RX_BUILTIN2, ADD_RX_BUILTIN3): Install |
7625 | created builtin into rx_builtins array. | |
7626 | (rx_builtin_decl): New function. | |
34203483 | 7627 | (TARGET_BUITLIN_DECL): Define. Include gt-rx.h. |
87e91fca | 7628 | |
5f2f13fd DD |
7629 | 2011-05-12 DJ Delorie <dj@redhat.com> |
7630 | Nick Clifton <nickc@redhat.com> | |
7631 | ||
7632 | * config/rx/rx.h (HAVE_PRE_DECREMENT): Fix typo. | |
7633 | * config/rx/rx.c (CC_FLAG_FP): Fix comment. | |
7634 | (rx_is_legitimate_address): Add pre-decrement and post-increment | |
7635 | addressing in HImode and QImode. Fix test for out of range | |
7636 | REG+INT addressing. | |
87e91fca | 7637 | (rx_legitimate_constant_p): Rename to rx_is_legitimate_constant. |
34203483 | 7638 | (rx_align_for_label): Test label before extracting its usage count. |
5f2f13fd | 7639 | (rx_adjust_insn_lengths): Fix selection of insn codes. |
87e91fca | 7640 | (TARGET_LEGITIMATE_CONSTANT_P): Use renamed function. |
5f2f13fd | 7641 | |
57421f45 JM |
7642 | 2011-05-11 Jason Merrill <jason@redhat.com> |
7643 | ||
7644 | * tree.c (type_hash_canon): Use struct tree_type_non_common. | |
7645 | ||
898c90c0 EB |
7646 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
7647 | ||
7648 | * cfgrtl.c (commit_one_edge_insertion): Remove always-true test and | |
7649 | reindent the subsequent block. | |
7650 | ||
79bec923 ST |
7651 | 2011-05-11 Satoru Takabayashi <satorux@google.com> |
7652 | Paul Pluzhnikov <ppluzhnikov@google.com> | |
7653 | ||
34203483 | 7654 | * doc/install.texi (Configuration): Document --with-linker-hash-style. |
e77e2cbb PP |
7655 | * gcc.c (init_spec): Handle LINKER_HASH_STYLE. |
7656 | * config.in: Add LINKER_HASH_STYLE. | |
7657 | * configure.ac: Add --with-linker-hash-style. | |
7658 | * configure: Regenerate. | |
79bec923 | 7659 | |
d0340959 RG |
7660 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7661 | ||
7662 | PR middle-end/48964 | |
7663 | * gimple.c (iterative_hash_canonical_type): Fix typo. | |
7664 | ||
cb032fee UB |
7665 | 2011-05-11 Uros Bizjak <ubizjak@gmail.com> |
7666 | ||
7667 | * config/i386/i386.c (legitimize_tls_address) | |
479fecd3 | 7668 | <case TLS_MODEL_GLOBAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
7669 | expanders directly for TARGET_GNU2_TLS. Determine pic and |
7670 | __tls_get_addr symbol reference here. Update call to | |
7671 | gen_tls_global_dynamic_{32,64} for added arguments. | |
479fecd3 | 7672 | <case TLS_MODEL_LOCAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
7673 | expanders directly for TARGET_GNU2_TLS. Determine |
7674 | __tls_get_addr symbol reference here. Update call to | |
7675 | gen_tls_local_dynamic_base_{32,64} for added arguments. Attach | |
7676 | unique UNSPEC REG_EQUIV to libcall block. | |
7677 | (ix86_tls_get_addr): Declare static. | |
7678 | * config/i386/i386-protos.h (ix86_tls_get_addr): Remove declaration. | |
7679 | * config/i386/i386.md (tls_global_dynamic_32): Add operand 2 and 3. | |
7680 | Do not determine pic and __tls_get_addr symbol reference here. Do not | |
7681 | call gen_tls_dynamic_gnu2_32 for TARGET_GNU2_TLS. | |
7682 | (tls_local_dynamic_base_32): Ditto for operands 1 and 2. | |
7683 | (tls_global_dynamic_64): Add operand 2. Do not determine | |
7684 | __tls_get_addr symbol reference here. Do not call | |
7685 | gen_tls_dynamic_gnu2_64 for TARGET_GNU2_TLS here. | |
7686 | (tls_local_dynamic_base64): Ditto for operand 1. | |
7687 | ||
6d3cc8f0 EB |
7688 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
7689 | ||
7690 | * function.c (expand_function_start): Initialize stack_check_probe_note | |
7691 | only if the generic stack checking mechanism is used. | |
7692 | ||
51e020fc RG |
7693 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7694 | ||
7695 | PR tree-optimization/15256 | |
7696 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Canonicalize | |
7697 | (A & B) | C, combine (A op CST1) op CST2. | |
7698 | (tree_ssa_forward_propagate_single_use_vars): Only bother to | |
7699 | visit assigns that have uses. | |
7700 | ||
51545682 NF |
7701 | 2011-05-11 Nathan Froyd <froydnj@codesourcery.com> |
7702 | ||
cb032fee | 7703 | * ggc-page.c (extra_order_size_table): Use struct tree_type_non_common. |
51545682 NF |
7704 | * lto-streamer-in.c (unpack_ts_type_value_fields): Rename to... |
7705 | (unpack_ts_type_common_value_fields): ...this. Update comment. | |
7706 | (unpack_value_fields): Adjust for renaming. | |
7707 | (lto_input_ts_type_tree_pointers): Split into... | |
7708 | (lto_input_ts_type_common_tree_pointer): ...this and... | |
7709 | (lto_input_ts_type_non_common_tree_pointers): ...this. | |
7710 | (lto_input_tree_pointers): Adjust for above split. | |
7711 | * lto-streamer-out.c (pack_ts_type_value_fields): Rename to... | |
7712 | (pack_ts_type_common_value_fields): ...this. Update comment. | |
7713 | (lto_output_ts_type_tree_pointers): Split into... | |
7714 | (lto_output_ts_type_common_tree_pointers): ...this and... | |
7715 | (lto_output_ts_type_non_common_tree_pointers): ...this. | |
7716 | (lto_output_tree_pointers): Adjust for above split. | |
7717 | * lto-streamer.c (check_handled_ts_structures): Mark TS_TYPE_COMMON, | |
7718 | TS_TYPE_WITH_LANG_SPECIFIC, and TS_TYPE_NON_COMMON as handled. | |
7719 | * stor-layout.c (vector_type_mode): Adjust location of mode field. | |
7720 | * tree.h (MARK_TS_TYPE_COMMON, MARK_TS_TYPE_WITH_LANG_SPECIFIC): | |
7721 | Define. | |
7722 | (struct tree_type): Split into... | |
7723 | (struct tree_type_common: ...this and... | |
7724 | (struct tree_type_with_lang_specific): ...this and... | |
7725 | (struct tree_type_non_common): ...this. Adjust accessor macros | |
7726 | accordingly. | |
7727 | (TYPE_VALUES_RAW): Define. | |
7728 | (union tree_node): Update for above changes. | |
7729 | * tree.c (tree_node_structure_for_code) [tcc_type]: Return | |
7730 | TS_TYPE_NON_COMMON. | |
7731 | (initialize_tree_contains_struct) [TS_TYPE]: Use TS_TYPE_COMMON. | |
7732 | Add TS_TYPE_WITH_LANG_SPECIFIC and TS_TYPE_NON_COMMON. | |
7733 | (tree_code_size) [tcc_type]: Use struct tree_type_non_common. | |
7734 | * treestructu.def (TS_TYPE): Remove. | |
7735 | (TS_TYPE_COMMON, TS_TYPE_WITH_LANG_SPECIFIC, TS_TYPE_NON_COMMON): | |
7736 | Define. | |
7737 | ||
b03c3082 JJ |
7738 | 2011-05-11 Jakub Jelinek <jakub@redhat.com> |
7739 | ||
7740 | PR debug/48159 | |
7741 | * tree-ssa.c (reset_debug_uses): New function. | |
7742 | * tree-flow.h (reset_debug_uses): New prototype. | |
7743 | * tree-data-ref.c (stmts_from_loop): Ignore debug stmts. | |
7744 | * tree-loop-distribution.c (generate_loops_for_partition): Call | |
7745 | reset_debug_uses on the stmts that will be removed. Keep around | |
7746 | all debug stmts, don't count them as bits in partition bitmap. | |
7747 | (generate_builtin): Don't count debug stmts or labels as bits in | |
7748 | partition bitmap. | |
7749 | ||
b5e04de5 RG |
7750 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7751 | ||
7752 | * gimple.c (gimple_type_hash_1): Merge with ... | |
7753 | (gimple_type_hash): ... this. | |
7754 | (gtc_visit): Remove mode parameter and simplify accordingly. | |
7755 | (gimple_types_compatible_p_1): Likewise. | |
7756 | (gimple_types_compatible_p): Likewise. | |
7757 | (iterative_hash_gimple_type): Likewise. | |
7758 | (visit): Likewise. | |
7759 | (gimple_type_eq): Adjust. | |
7760 | ||
fc6970e4 RE |
7761 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7762 | ||
7763 | * ddg.c (create_ddg_dep_from_intra_loop_link): If a true dep edge | |
7764 | enters the branch create an anti edge in the opposite direction | |
7765 | to prevent the creation of reg-moves. | |
7766 | * modulo-sched.c: Adjust comment to reflect the fact we are | |
7767 | scheduling closing branch. | |
7768 | (PS_STAGE_COUNT): Rename to CALC_STAGE_COUNT and redefine. | |
7769 | (stage_count): New field in struct partial_schedule. | |
7770 | (calculate_stage_count): New function. | |
7771 | (normalize_sched_times): Rename to reset_sched_times and handle | |
7772 | incrementing the sched time of the nodes by a constant value | |
7773 | passed as parameter. | |
7774 | (duplicate_insns_of_cycles): Skip closing branch. | |
7775 | (sms_schedule_by_order): Schedule closing branch. | |
7776 | (ps_insn_find_column): Handle closing branch. | |
7777 | (sms_schedule): Call reset_sched_times and adjust the code to | |
7778 | support scheduling of the closing branch. | |
7779 | (ps_insert_empty_row): Update calls to normalize_sched_times | |
7780 | and rotate_partial_schedule functions. | |
7781 | ||
41a58a92 RG |
7782 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7783 | ||
7784 | PR middle-end/48953 | |
7785 | * tree-inline.c (remap_gimple_op_r): Also remap types of MEM_REFs. | |
7786 | ||
e9f8dcf9 JM |
7787 | 2011-05-11 Joseph Myers <joseph@codesourcery.com> |
7788 | ||
cb032fee UB |
7789 | * opts.c (finish_options): Move warning settings from process_options. |
7790 | * toplev.c (process_options): Move warning settings to finish_options. | |
e9f8dcf9 | 7791 | |
10c224a9 RG |
7792 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7793 | ||
7794 | PR tree-optimization/18041 | |
7795 | * tree-ssa-forwprop.c (simplify_bitwise_and): Rename to ... | |
7796 | (simplify_bitwise_binary): ... this. Handle operand conversions | |
7797 | by applying them to the result instead. | |
7798 | (tree_ssa_forward_propagate_single_use_vars): Adjust. CSE tree code. | |
7799 | ||
825b27de RG |
7800 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7801 | ||
7802 | * gimple.c (gimple_canonical_types_compatible_p): Split out | |
7803 | from gimple_types_compatible_p and friends. Do not recurse | |
7804 | to pointed-to types. | |
7805 | (gimple_canonical_type_eq): Use it. | |
7806 | (iterative_hash_canonical_type): Split out from | |
7807 | iterative_hash_gimple_type and friends. Do not recurse | |
7808 | to pointed-to types. | |
7809 | (gimple_canonical_type_hash): Use it, allocate the hash here. | |
7810 | ||
ca756625 RE |
7811 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7812 | ||
7813 | * modulo-sched.c (doloop_register_get): Ignore DEBUG_INSNs while | |
7814 | recognizing doloop. | |
7815 | ||
b8abece3 RE |
7816 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7817 | ||
7818 | * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn | |
7819 | instead of PREV_INSN. | |
7820 | ||
ce7b3761 RE |
7821 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7822 | ||
7823 | * modulo-sched.c (sms_schedule): Support new form of doloop pattern | |
7824 | * loop-doloop.c (doloop_condition_get): Likewise. | |
7825 | * config/arm/thumb2.md (*thumb2_addsi3_compare0): Remove "*". | |
7826 | (doloop_end): New. | |
7827 | * config/arm/arm.md (*addsi3_compare0): Remove "*". | |
7828 | ||
a9dc9d37 NF |
7829 | 2011-05-10 Nathan Froyd <froydnj@codesourcery.com> |
7830 | ||
7831 | * tree.def (CASE_LABEL_EXPR): Add an operand. | |
7832 | * tree.h (CASE_CHAIN): Use TREE_OPERAND instead of TREE_CHAIN. | |
7833 | ||
96703596 JM |
7834 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7835 | ||
7836 | * c-decl.c (c_override_global_bindings_to_false): Remove. | |
7837 | (global_bindings_p): Don't check | |
7838 | c_override_global_bindings_to_false. | |
7839 | * c-tree.h (c_override_global_bindings_to_false): Remove. | |
7840 | * c-typeck.c (composite_type): Don't set | |
7841 | c_override_global_bindings_to_false. | |
7842 | ||
dbcc9f08 MM |
7843 | 2011-05-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
7844 | ||
7845 | PR target/48857, 48495 | |
7846 | * config/rs6000/rs6000.h (VSX_SCALAR_MODE): Delete. | |
7847 | (VSX_MODE): Ditto. | |
7848 | (VSX_MOVE_MODE): Ditto. | |
7849 | (ALTIVEC_OR_VSX_VECTOR_MODE): New macro, combine all Altivec and | |
7850 | VSX vector types. Add V2DImode. | |
7851 | (HARD_REGNO_CALLER_SAVE_MODE): Use it instead of | |
7852 | ALTIVEC_VECTOR_MODE and VSX_VECTOR_MODE calls. | |
7853 | (MODES_TIEABLE_P): Ditto. | |
7854 | ||
7855 | * config/rs6000/rs6000.c (rs6000_emit_move): Use | |
7856 | ALTIVEC_OR_VSX_MODE instead of ALTIVEC_VECTOR_MODE and | |
7857 | VSX_VECTOR_MODE. | |
7858 | (init_cumulative_args): Ditto. | |
7859 | (rs6000_function_arg_boundary): Ditto. | |
7860 | (rs6000_function_arg_advance_1): Ditto. | |
7861 | (rs6000_function_arg): Ditto. | |
7862 | (rs6000_function_ok_for_sibcall): Ditto. | |
7863 | (emit_frame_save): Ditto. | |
7864 | (rs6000_function_value): Ditto. | |
7865 | (rs6000_libcall_value): Ditto. | |
7866 | ||
4a68b4ca JM |
7867 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7868 | ||
7869 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add | |
7870 | i386/darwin-lib.h to $libgcc_tm_file. | |
7871 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Remove. | |
7872 | ||
bcb521e9 JM |
7873 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7874 | ||
7875 | * doc/sourcebuild.texi (Back End): Mention contrib/config-list.mk. | |
7876 | ||
f10d3ac9 JM |
7877 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7878 | ||
cb032fee | 7879 | * config/rs6000/genopt.sh, config/rs6000/rs6000-cpus.def: New files. |
f10d3ac9 JM |
7880 | * config/rs6000/rs6000-tables.opt: New file (generated). |
7881 | * config.gcc (powerpc*-*-*, rs6000*-*-*): Add | |
7882 | rs6000/rs6000-tables.opt to extra_options. | |
7883 | * config/rs6000/rs6000-opts.h (RS6000_CPU_OPTION_NATIVE): Define. | |
7884 | * config/rs6000/rs6000.c (rs6000_select): Remove. | |
7885 | (processor_target_table): Move contents to rs6000-cpus.def. | |
7886 | (darwin_rs6000_override_options): Check | |
7887 | global_options_set.x_rs6000_cpu_index instead of | |
7888 | rs6000_select[1].string. | |
7889 | (rs6000_option_override_internal): Likewise. | |
7890 | (rs6000_handle_option): Don't assert that global structures are in | |
7891 | use. Don't handle OPT_mcpu_ and OPT_mtune_ here. | |
7892 | (rs6000_default_cpu): New variable. | |
7893 | (rs6000_file_start): Set it instead of local default_cpu. Check | |
7894 | rs6000_default_cpu, global_options_set.x_rs6000_cpu_index and | |
7895 | global_options_set.x_rs6000_tune_index instead of rs6000_select. | |
7896 | (rs6000_darwin_file_start): Check rs6000_default_cpu and | |
7897 | global_options_set.x_rs6000_cpu_index instead of rs6000_select. | |
7898 | * config/rs6000/rs6000.h (struct rs6000_cpu_select, | |
7899 | rs6000_select): Remove. | |
7900 | * config/rs6000/rs6000.opt (rs6000_cpu_index, rs6000_tune_index): | |
7901 | Remove. | |
7902 | (mcpu=, mtune=): Use Var, Init, Enum and Save. | |
7903 | * config/rs6000/t-rs6000 | |
7904 | ($(srcdir)/config/rs6000/rs6000-tables.opt): New. | |
7905 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
7906 | global_options_set.x_rs6000_cpu_index instead of | |
7907 | rs6000_select[1].string. | |
7908 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
7909 | global_options_set.x_rs6000_cpu_index instead of | |
7910 | rs6000_select[1].string. | |
7911 | ||
80cf2e08 JM |
7912 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7913 | ||
7914 | * config.gcc (libgcc_tm_file): Define instead of including files | |
7915 | from ../../libgcc/config/ in tm_file. | |
cb032fee | 7916 | * configure.ac (libgcc_tm_file_list, libgcc_tm_include_list): Define. |
80cf2e08 JM |
7917 | * configure: Regenerate. |
7918 | * Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list, | |
7919 | libgcc_tm.h, cs-libgcc_tm.h): New. | |
7920 | (TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list). | |
7921 | (clean): Remove libgcc_tm.h. | |
7922 | * config/arm/symbian.h (RENAME_LIBRARY): Remove. | |
7923 | * mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET. | |
7924 | * system.h (DECLARE_LIBRARY_RENAMES): Poison. | |
7925 | ||
fd01a351 GJL |
7926 | 2011-05-10 Georg-Johann Lay <avr@gjlay.de> |
7927 | ||
7928 | PR target/48896 | |
7929 | * config/avr/avr.c (avr_ret_register): Return unsigned int | |
7930 | instead of int. | |
7931 | (avr_function_value): Mark fn_decl_or_type as unused, don't pass | |
7932 | it to avr_libcall_value. | |
7933 | avr_expand_builtin): Use EXPAND_NORMAL as arg 4 in calls to | |
7934 | expand_expr. | |
7935 | (avr_expand_binop_builtin): Ditto. | |
7936 | (avr_expand_unop_builtin): Ditto. | |
7937 | ||
34cc3c86 DD |
7938 | 2011-05-10 DJ Delorie <dj@redhat.com> |
7939 | ||
7940 | * config/rx/rx.h (JUMP_ALIGN, LABEL_ALIGN, LOOP_ALIGN): Define. | |
7941 | (LABEL_ALIGN_AFTER_BARRIER): Pass label to rx_align_for_label | |
7942 | * config/rx/rx.c (rx_align_for_label): Add label and | |
7943 | uses_threshold parameters. Do not align when the label is not | |
7944 | used enough. | |
7945 | * config/rx/rx-protos.h (rx_align_for_label): Update prototype. | |
7946 | ||
be173289 RG |
7947 | 2011-05-10 Richard Guenther <rguenther@suse.de> |
7948 | ||
7949 | * tree-ssa-forwprop.c (combine_conversions): Pattern-match | |
7950 | a series of conversions and apply foldings similar to what | |
7951 | fold-const does. | |
7952 | (tree_ssa_forward_propagate_single_use_vars): Call it. | |
7953 | ||
e7f78021 JJ |
7954 | 2011-05-10 Jakub Jelinek <jakub@redhat.com> |
7955 | ||
6ae70ea2 JJ |
7956 | PR tree-optimization/48611 |
7957 | PR tree-optimization/48794 | |
7958 | * tree-eh.c (remove_unreachable_handlers): Don't remove regions | |
7959 | referenced from RESX or EH_DISPATCH arguments. | |
7960 | ||
e7f78021 JJ |
7961 | PR debug/48928 |
7962 | * dfp.c (decimal_to_decnumber): Handle conversion from | |
7963 | dconst{1,2,m1,half}. | |
7964 | ||
fca132b9 UB |
7965 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
7966 | ||
7967 | * config/i386/i386.c (ix86_autovectorize_vector_sizes): Return 0 | |
7968 | for !flag_prefer_avx128. | |
7969 | (ix86_preferred_simd_mode): Return word_mode for DFmode without SSE2. | |
7970 | ||
e4c03378 EB |
7971 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
7972 | ||
7973 | * fold-const.c (fold_range_test): Pass LOC to build_range_check. | |
7974 | (fold_ternary_loc): Use expr_location_or. | |
7975 | ||
805d6a75 L |
7976 | 2011-05-09 H.J. Lu <hongjiu.lu@intel.com> |
7977 | ||
7978 | PR debug/48853 | |
7979 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: If | |
7980 | POINTERS_EXTEND_UNSIGNED is defined, don't give up if mode is | |
7981 | Pmode and mem_mode is not VOIDmode. | |
7982 | ||
e4c03378 | 7983 | 2011-05-09 Ville Voutilainen <ville.voutilainen@gmail.com> |
b5da71d4 | 7984 | |
e4c03378 EB |
7985 | * tree.h (TYPE_UNQUALIFIED, TYPE_QUAL_CONST, TYPE_QUAL_VOLATILE, |
7986 | TYPE_QUAL_RESTRICT): Convert to enum. | |
b5da71d4 | 7987 | |
51e7f377 UB |
7988 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
7989 | ||
7990 | * config/i386/predicates.md (const_pow2_1_to_2_operand): Remove. | |
7991 | (const_pow2_1_to_8_operand): Ditto. | |
7992 | (const_pow2_1_to_128_operand): Ditto. | |
7993 | (const_pow2_1_to_32768_operand): Ditto. | |
7994 | * config/i386/mmx.md (*mmx_pinsrw): Use const_int_operand instead of | |
7995 | const_pow2_1_to_8_operand for operand 3 predicate. Use exact_log2 | |
7996 | in insn constraint to check integer value of operand 3. | |
7997 | * config/i386/sse.md (*vec_setv4sf_sse4_1): Ditto. | |
7998 | ||
7999 | (PINSR_MODE): New mode iterator. | |
8000 | (sse2p4_1): New mode attribute. | |
8001 | (<sse2p4_1>_pinsr<ssemodesuffix>): Merge insn from sse4_1_pinsrb, | |
8002 | sse2_pinsrw, sse4_1_pinsrd and sse4_1_pinsrq using PINSR_MODE mode | |
8003 | iterator. Use const_int_operand instead of | |
8004 | const_pow2_1_to_{2,8,128,32768}_operand for operand 3 predicate. Use | |
8005 | exact_log2 in insn constraint to check integer value of operand 3. | |
8006 | ||
8007 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
8008 | ||
8009 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
8010 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
8011 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
8012 | Check integer value of operand 3 in insn constraint. | |
8013 | ||
0ca8de87 RG |
8014 | 2011-05-09 Richard Guenther <rguenther@suse.de> |
8015 | ||
8016 | * lto-symtab.c (lto_cgraph_replace_node): Use types_compatible_p | |
8017 | for diagnostics. | |
8018 | (lto_symtab_merge): Likewise. Do not register types here. | |
8019 | (lto_symtab_merge_decls_2): Likewise. | |
8020 | (lto_symtab_merge_decls_1): Likewise. | |
8021 | * gimple.h (enum gtc_mode, gimple_types_compatible_p): Do not declare. | |
8022 | * gimple.c (enum gtc_mode): Declare. | |
8023 | (gimple_types_compatible_p): Make static. | |
8024 | ||
a9e6994a AK |
8025 | 2011-05-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8026 | ||
8027 | * config/s390/s390.md (TD/TF mem to reg move splitter): Make the | |
8028 | temporary register to match Pmode. | |
8029 | ||
fb55d62e UB |
8030 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
8031 | ||
8032 | * config/i386/sse.md (*vec_concatv4si): Merge from *vec_concatv4si_1 | |
8033 | and *vec_concatv4si_1_avx. | |
8034 | ||
eb1485a6 UB |
8035 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
8036 | ||
8037 | PR rtl-optimization/48927 | |
8038 | * ira-conflicts.c (commutative_constraint_p): Use | |
8039 | recog_data.alternative_enabled_p to disable alternatives where | |
8040 | "enabled" attribute is false. | |
8041 | (get_dup_num): Ditto. | |
8042 | * ira-lives.c (single_reg_class): Ditto. | |
8043 | (ira_implicitly_set_insn_hard_regs): Ditto. | |
8044 | ||
c46d001a EB |
8045 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
8046 | ||
8047 | * var-tracking.c (find_mem_expr_in_1pdv): Fix thinko. | |
8048 | (dataflow_set_preserve_mem_locs): Likewise. | |
8049 | ||
8050 | 2011-05-09 Philipp Thomas <pth@suse.de> | |
8051 | ||
6d9e7c41 PT |
8052 | * config/mep/mep.c (mep_validate_vliw): Syntax description |
8053 | should not be translated. | |
8054 | ||
d371df6f JM |
8055 | 2011-05-09 Joseph Myers <joseph@codesourcery.com> |
8056 | ||
8057 | * config/mips/genopt.sh, config/mips/mips-cpus.def: New files. | |
8058 | * config/mips/mips-tables.opt: New file (generated). | |
eb1485a6 | 8059 | * config.gcc (mips*-*-*): Add mips/mips-tables.opt to extra_options. |
d371df6f JM |
8060 | * config/mips/mips-opts.h (MIPS_ARCH_OPTION_FROM_ABI, |
8061 | MIPS_ARCH_OPTION_NATIVE): Define. | |
8062 | * config/mips/mips.c (mips_cpu_info_table): Move contents to | |
8063 | mips-cpus.def. | |
8064 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p, | |
8065 | mips_parse_cpu): Remove. | |
8066 | (mips_cpu_info_from_opt, mips_default_arch): New. | |
8067 | (mips_handle_option): Don't assert that global structures are in | |
8068 | use. Don't handle OPT_march_, OPT_mtune_ and OPT_mips here. | |
8069 | (mips_option_override): Use new variables and functions to set | |
eb1485a6 | 8070 | state of these options. Use strcmp to check for individual CPU names. |
d371df6f JM |
8071 | * config/mips/mips.h (MIPS_CPU_STRING_DEFAULT): Remove default |
8072 | definition. | |
8073 | * config/mips/mips.opt (march=): Use ToLower and Enum. | |
8074 | (mips): Use ToLower, Enum and Var. | |
8075 | (mtune=): Use ToLower and Enum. | |
8076 | * config/mips/t-mips ($(srcdir)/config/mips/mips-tables.opt): New. | |
8077 | ||
4fc07af9 JH |
8078 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
8079 | ||
8080 | * gimple.c (type_pair_hash, type_pair_eq, lookup_type_pair): | |
8081 | Arrange type pairs to be UID ordered. | |
8082 | (gimple_lookup_type_leader): Make inline. | |
8083 | ||
2cf320a8 NC |
8084 | 2011-05-09 Nick Clifton <nickc@redhat.com> |
8085 | ||
61d6def5 NC |
8086 | PR target/48899 |
8087 | * config/iq2000/iq2000.opt (iq2000_tune): Initialise to | |
8088 | PROCESSOR_DEFAULT. | |
8089 | ||
2cf320a8 NC |
8090 | PR target/48897 |
8091 | * config/mn10300/mn10300.c (extract_bundle): Remove spurious local | |
8092 | variable 's'. | |
8093 | ||
4f82319d CLT |
8094 | 2011-05-08 Chung-Lin Tang <cltang@codesourcery.com> |
8095 | ||
8096 | * combine.c (simplify_comparison): Abstract out parts into... | |
8097 | (simplify_compare_const): ... new function. | |
8098 | (try_combine): Generalize parallel arithmetic/compare combining | |
8099 | to call simplify_compare_const() and CANONICALIZE_COMPARE(). | |
8100 | ||
74605a11 JH |
8101 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
8102 | ||
8103 | * cgraph.c (cgraph_clone_node): Add call_duplication_hook parameter. | |
eb1485a6 UB |
8104 | (cgraph_create_virtual_clone): Call hooks once virtual clone |
8105 | is finished. | |
74605a11 | 8106 | * cgraph.h (cgraph_clone_node): Update prototype. |
eb1485a6 UB |
8107 | * ipa-cp.c (ipcp_estimate_growth): Use |
8108 | estimate_ipcp_clone_size_and_time. | |
74605a11 JH |
8109 | * ipa-inline-transform.c (clone_inlined_nodes): Update. |
8110 | * lto-cgraph.c (input_node): Update. | |
8111 | * ipa-inline.c (recursive_inlining): Update. | |
8112 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): New function. | |
8113 | (evaluate_conditions_for_known_args): Break out from ... | |
8114 | (evaluate_conditions_for_edge): ... here. | |
8115 | (evaluate_conditions_for_ipcp_clone): New function. | |
8116 | (inline_node_duplication_hook): Update clone summary based | |
8117 | on parameter map. | |
8118 | (estimate_callee_size_and_time): Rename to ... | |
8119 | (estimate_node_size_and_time): take NODE instead of EDGE; | |
8120 | take POSSIBLE_TRUTHS as argument. | |
8121 | (estimate_callee_size_and_time): Update. | |
8122 | (estimate_ipcp_clone_size_and_time): New function. | |
8123 | (do_estimate_edge_time): Update. | |
8124 | ||
5c049507 RG |
8125 | 2011-05-08 Richard Guenther <rguenther@suse.de> |
8126 | ||
8127 | PR middle-end/48908 | |
8128 | PR middle-end/48905 | |
8129 | * expmed.c (expand_shift_1): Compute adjusted constant shift | |
8130 | amount manually. | |
8131 | ||
f64c36ba EB |
8132 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
8133 | ||
8134 | * config/avr/avr.c (print_operand_address): Fix invalid RTL access. | |
8135 | ||
c461a957 EB |
8136 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
8137 | ||
8138 | * config/rs6000/rs6000.c (output_profile_hook): Fix thinko. | |
8139 | ||
7c74e556 JW |
8140 | 2011-05-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
8141 | ||
8142 | * doc/invoke.texi (-fuse-linker-plugin): Improve grammar. | |
8143 | ||
b4c0a884 JH |
8144 | 2011-05-07 Jan Hubicka <jh@suse.cz> |
8145 | ||
a9bcb3f0 EB |
8146 | * ipa-inline-transform.c (inline_call): Account when program size |
8147 | decreases. | |
b4c0a884 | 8148 | * ipa-inline.c (relative_time_benefit): New function. |
a9bcb3f0 EB |
8149 | (edge_badness): Reorganize to be power 2 based; fix thinko when |
8150 | computing badness for negative growth; update comments to match | |
8151 | reality; better dumps. | |
b4c0a884 | 8152 | |
c99c0026 EB |
8153 | 2011-05-07 Eric Botcazou <ebotcazou@adacore.com> |
8154 | ||
8155 | * langhooks.h (lang_hooks_for_types): Change global_bindings_p's return | |
8156 | type to bool and adjust comment. | |
8157 | * fold-const.c (fold_range_test): Adjust call to global_bindings_p. | |
8158 | (fold_mathfn_compare): Remove calls to global_bindings_p. | |
8159 | (fold_inf_compare): Likewise. | |
8160 | * stor-layout.c (variable_size): Adjust call to global_bindings_p. | |
8161 | * c-tree.h (global_bindings_p): Adjust prototype. | |
8162 | * c-decl.c (global_bindings_p): Return bool and simplify. | |
8163 | ||
1400c8e5 ZD |
8164 | 2011-05-07 Zdenek Dvorak <ook@ucw.cz> |
8165 | ||
8166 | PR tree-optimization/48837 | |
8167 | * tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls | |
8168 | when accumulator transformation is performed. | |
8169 | ||
5d0878e7 JH |
8170 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
8171 | ||
a9bcb3f0 EB |
8172 | * i386.h (ix86_tune_indices): Add |
8173 | X86_TUNE_SOFTWARE_PREFETCHING_BENEFICIAL. | |
eb1485a6 | 8174 | (TARGET_SOFTWARE_PREFETCHING_BENEFICIAL): New macro. |
a9bcb3f0 EB |
8175 | * i386.c (initial_ix86_tune_features): Add |
8176 | X86_SOFTARE_PREFETCHING_BENEFICIAL. | |
5d0878e7 JH |
8177 | (software_prefetching_beneficial_p): Remove predicate. |
8178 | (ix86_option_override_internal): Use new macro. | |
8179 | ||
58696ce5 JH |
8180 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
8181 | ||
8182 | * ipa-inline.c (update_callee_keys): Don't reset node growth cache. | |
8183 | ||
c47d0034 JH |
8184 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
8185 | ||
8186 | * cgraph.c (cgraph_add_thunk): Create real function node instead | |
8187 | of alias node; finalize it and mark needed/reachale; arrange visibility | |
8188 | to be right and add it into the corresponding same comdat group list. | |
8189 | (dump_cgraph_node): Dump thunks. | |
8190 | * cgraph.h (cgraph_first_defined_function, cgraph_next_defined_function, | |
a9bcb3f0 EB |
8191 | cgraph_function_with_gimple_body_p, |
8192 | cgraph_first_function_with_gimple_body, | |
c47d0034 JH |
8193 | cgraph_next_function_with_gimple_body): New functions. |
8194 | (FOR_EACH_FUNCTION_WITH_GIMPLE_BODY, FOR_EACH_DEFINED_FUNCTION): | |
8195 | New macros. | |
8196 | * ipa-cp.c (ipcp_need_redirect_p): Thunks can't be redirected. | |
8197 | (ipcp_generate_summary): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. | |
8198 | * cgraphunit.c (cgraph_finalize_function): Only look into possible | |
8199 | devirtualization when optimizing. | |
8200 | (verify_cgraph_node): Verify thunks. | |
8201 | (cgraph_analyze_function): Analyze thunks. | |
8202 | (cgraph_mark_functions_to_output): Output thunks only in combination | |
8203 | with function they are assigned to. | |
8204 | (assemble_thunk): Turn thunk into non-thunk; don't try to turn | |
8205 | alias into normal node. | |
8206 | (assemble_thunks): New functoin. | |
8207 | (cgraph_expand_function): Use it. | |
8208 | * lto-cgraph.c (lto_output_node): Stream thunks. | |
8209 | (input_overwrite_node): Stream in thunks. | |
8210 | * ipa-pure-const.c (analyze_function): Thunks do nothing interesting. | |
8211 | * lto-streamer-out.c (lto_output): Do not try to output thunk's body. | |
8212 | * ipa-inline.c (inline_small_functions): Use FOR_EACH_DEFINED_FUNCTION. | |
8213 | * ipa-inline-analysis.c (compute_inline_parameters): "Analyze" thunks. | |
8214 | (inline_analyze_function): Do not care about thunk jump functions. | |
8215 | (inline_generate_summary):Use FOR_EACH_DEFINED_FUNCTION. | |
a9bcb3f0 EB |
8216 | * ipa-prop.c (ipa_prop_write_jump_functions): Use |
8217 | cgraph_function_with_gimple_body_p. | |
8218 | * passes.c (do_per_function_toporder): Use | |
8219 | cgraph_function_with_gimple_body_p. | |
c47d0034 JH |
8220 | (execute_one_pass);Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. |
8221 | (ipa_write_summaries): Use cgraph_function_with_gimple_body_p. | |
8222 | (function_called_by_processed_nodes_p): Likewise. | |
8223 | ||
d8f426ec JM |
8224 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
8225 | ||
8226 | * config/rs6000/rs6000.opt (rs6000_ieeequad, rs6000_altivec_abi, | |
8227 | rs6000_spe_abi, rs6000_darwin64_abi): Remove TargetVariable | |
8228 | entries. | |
8229 | (mabi=): Replace with separate entries for mabi=altivec, | |
8230 | mabi=no-altivec, mabi=spe, mabi=no-spe, mabi=d64, mabi=d32, | |
8231 | mabi=ieeelongdouble and mabi=ibmlongdouble. | |
8232 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
8233 | check for -mabi=spe without SPE ABI support here. | |
8234 | (rs6000_handle_option): Replace OPT_mabi_ handling with | |
8235 | OPT_mabi_altivec and OPT_mabi_spe handling. | |
8236 | ||
80bde45b CC |
8237 | 2011-05-06 Cary Coutant <ccoutant@google.com> |
8238 | ||
8239 | * dwarf2out.c (contains_subprogram_definition): New function. | |
8240 | (should_move_die_to_comdat): Call it. | |
8241 | ||
a91926b9 JL |
8242 | 2011-05-06 Jeff Law <law@redhat.com> |
8243 | ||
8244 | * tree-ssa-threadupdate.c (create_block_for_threading): Do not call | |
8245 | remove_ctrl_stmt_and_useless_edges. | |
8246 | (create_duplicates): Call remove_ctrl_stmt_and_useless_edges. | |
8247 | (fixup_template_block, thread_single_edge): Likewise. | |
8248 | (mark_threaded_blocks): Use THREAD_TARGET. | |
8249 | ||
1fc1b66d AM |
8250 | 2011-05-06 Alan Modra <amodra@gmail.com> |
8251 | ||
8252 | PR target/48900 | |
8253 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use | |
8254 | const0_rtx as the arg to the dummy __tls_get_addr libcall. | |
8255 | ||
e194de64 UB |
8256 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
8257 | ||
8258 | * config/i386/i386.md (*movdf_internal_nointeger): Apply "*" | |
8259 | constraint modifier to "r". | |
8260 | ||
d740dc9e JM |
8261 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
8262 | ||
8263 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't handle and | |
8264 | fall through for OPT_mcmodel_. | |
8265 | ||
cab78b15 AK |
8266 | 2011-05-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8267 | ||
8268 | * config/s390/s390.c (s390_asm_trampoline_template): Comment | |
8269 | instruction sizes. | |
e194de64 | 8270 | (s390_trampoline_init): Replace UNITS_PER_WORD with UNITS_PER_LONG. |
cab78b15 | 8271 | |
ee6824ae RR |
8272 | 2011-05-06 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
8273 | ||
eb1485a6 UB |
8274 | PR target/47930 |
8275 | * config/arm/arm.opt (marm): Document it. | |
8276 | (mthumb): Reject negative variant. | |
ee6824ae | 8277 | |
9ef58464 UB |
8278 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
8279 | ||
8280 | PR target/48898 | |
8281 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
8282 | Fix typo in "ccvt" variable name. | |
8283 | ||
155b6176 TG |
8284 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
8285 | ||
8286 | PR target/48895 | |
8287 | * config/vms/vms-ar.c (main): Remove cwd variable. | |
8288 | ||
3becc47b JJ |
8289 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
8290 | ||
8291 | PR debug/48902 | |
8292 | * var-tracking.c (prepare_call_arguments): Move else before #endif. | |
8293 | ||
3d528853 NF |
8294 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> |
8295 | ||
8296 | * except.c (sjlj_emit_dispatch_table): Call build_case_label. | |
8297 | * gimplify.c (gimplify_switch_expr): Likewise. | |
8298 | * omp-low.c (expand_omp_sections): Likewise. | |
8299 | * tree-eh.c (lower_try_finally_switch): Likewise. | |
8300 | (lower_eh_dispatch): Likewise. | |
8301 | * tree.h (build_case_label): Declare. | |
8302 | * tree.c (build_case_label): Define. | |
8303 | ||
deb5046b JM |
8304 | 2011-05-05 Jason Merrill <jason@redhat.com> |
8305 | ||
8306 | PR c++/40975 | |
8307 | * tree-inline.c (copy_tree_r): Use copy_statement_list. | |
8308 | (copy_statement_list): Don't recurse. | |
8309 | * stor-layout.c (copy_self_referential_tree_r): Don't allow | |
8310 | STATEMENT_LIST. | |
8311 | ||
013c0411 JM |
8312 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
8313 | ||
8314 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't fall | |
8315 | through from -mfpu= handling. | |
8316 | * config/rs6000/rs6000.opt (mfpu=): Use Var and Init. | |
8317 | ||
a0905f8b BS |
8318 | 2011-05-05 Bernd Schmidt <bernds@codesourcery.com> |
8319 | ||
8320 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 10]: Handle | |
8321 | POST_MODIFY. | |
8322 | ||
fc4538e4 SE |
8323 | 2011-05-05 Steve Ellcey <sje@cup.hp.com> |
8324 | ||
8325 | * config.gcc (hppa*64*-*-hpux11*): Modify tm_file and extra_options | |
8326 | for 11.31. | |
8327 | (hppa[12]*-*-hpux11*): Ditto. | |
8328 | (ia64*-*-hpux*): Add ia64/hpux-unix2003.h to tm_file. | |
8329 | * config/ia64/hpux-unix2003.h: New. | |
8330 | * config/pa/pa-hpux1131.opt: New. | |
8331 | * config/pa/pa-hpux1131.h: New. | |
8332 | * config/pa/pa64-hpux.h (STARTFILE_SPEC): Use unix2003.o if requested. | |
8333 | * config/pa/pa-hpux.opt (flag_pa_unix): Check TARGET_HPUX_11_31 value. | |
4eec64ff | 8334 | * config/pa/pa.h (TARGET_HPUX_11_31): Provide default (0) value. |
fc4538e4 | 8335 | |
1e30c578 JJ |
8336 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
8337 | ||
8338 | PR debug/48853 | |
8339 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Pass mem_mode | |
8340 | instead of mode as 3rd argument to recursive call. | |
8341 | (mem_loc_descriptor) <case REG>: If POINTERS_EXTEND_UNSIGNED, don't | |
8342 | emit DW_OP_GNU_regval_type if mode is Pmode and mem_mode is not | |
8343 | VOIDmode. | |
8344 | (mem_loc_descriptor) <case SYMBOL_REF>: If POINTERS_EXTEND_UNSIGNED, | |
8345 | don't give up if mode is Pmode and mem_mode is not VOIDmode. | |
8346 | (mem_loc_descriptor) <case CONST_INT>: If POINTERS_EXTEND_UNSIGNED, | |
8347 | use int_loc_descriptor if mode is Pmode and mem_mode is not VOIDmode. | |
8348 | ||
d19eb620 JB |
8349 | 2011-05-05 Julian Brown <julian@codesourcery.com> |
8350 | ||
8351 | * config/arm/neon.md (vec_set<mode>_internal): Fix misplaced | |
8352 | parenthesis in D-register case. | |
8353 | ||
c860fe8c JM |
8354 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
8355 | ||
8356 | * opt-functions.awk (var_type_struct): Handle Enum options. | |
8357 | * optc-gen.awk: Don't check range of variables of character type. | |
8358 | * config/rs6000/rs6000.c (rs6000_sched_insert_nops_str, | |
8359 | rs6000_sched_costly_dep_str, rs6000_recip_name, rs6000_abi_name, | |
8360 | rs6000_sdata_name, rs6000_explicit_options): Remove. | |
8361 | (rs6000_option_override_internal): Check for -malign-power here. | |
8362 | Use global_options_set instead of rs6000_explicit_options. | |
8363 | (rs6000_parse_fpu_option): Remove. | |
8364 | (rs6000_handle_option): Access variables via opts and opts_set | |
8365 | pointers. Use error_at and warning_at. Add fall-through | |
8366 | comments. Don't handle OPT_mcmodel_, OPT_maix_struct_return, | |
8367 | OPT_msvr4_struct_return, OPT_mvrsave, OPT_mspe, OPT_mcall_, | |
8368 | OPT_msdata_, OPT_mtls_size_, OPT_mtraceback_, OPT_mfloat_gprs_, | |
8369 | OPT_msched_costly_dep_, OPT_malign_ or OPT_mrecip_ explicitly | |
8370 | here. Don't use rs6000_parse_fpu_option. | |
8371 | * config/rs6000/rs6000.h (fpu_type): Remove declaration. | |
8372 | * config/rs6000/rs6000.opt (rs6000_long_double_type_size, | |
8373 | rs6000_spe, rs6000_float_gprs): Remove TargetVariable entries. | |
8374 | (mrecip=): Use Var. | |
8375 | (mspe): Use Var and Save. | |
8376 | (mtraceback=): Use Enum and Var. | |
8377 | (rs6000_traceback_type): New Enum and EnumValue entries. | |
8378 | (mfloat-gprs=): Use Enum, Var and Save. | |
8379 | (rs6000_float_gprs): New Enum and EnumValue entries. | |
8380 | (mlong-double-): use Var and Save. | |
8381 | (msched-costly-dep=, minsert-sched-nops=): Use Var. | |
8382 | (malign-): Use Enum and Var. | |
8383 | (rs6000_alignment_flags): New Enum and EnumValue entries. | |
8384 | (mfpu=): Use Enum. | |
8385 | (fpu_type_t): New Enum and EnumValue entries. | |
8386 | * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8387 | global_options_set instead of rs6000_explicit_options. | |
8388 | * config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8389 | global_options_set instead of rs6000_explicit_options. | |
8390 | * config/rs6000/aix53.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8391 | global_options_set instead of rs6000_explicit_options. | |
8392 | * config/rs6000/aix61.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8393 | global_options_set instead of rs6000_explicit_options. | |
8394 | * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Use | |
8395 | global_options_set instead of rs6000_explicit_options. | |
8396 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
8397 | global_options_set instead of rs6000_explicit_options. | |
8398 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Remove commented-out | |
8399 | definition. | |
8400 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
8401 | global_options_set instead of rs6000_explicit_options. | |
8402 | * config/rs6000/linux64.opt (mcmodel=): Use Enum and Var. | |
8403 | (rs6000_cmodel): New Enum and EnumValue entries. | |
8404 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
8405 | global_options_set instead of rs6000_explicit_options. | |
8406 | * config/rs6000/sysv4.opt (mcall-, msdata=): Use Var. | |
8407 | (mtls-size=): Use Enum and Var. | |
8408 | (rs6000_tls_size): New Enum and EnumValue entries. | |
8409 | ||
0691dde9 MM |
8410 | 2011-05-05 Michael Matz <matz@suse.de> |
8411 | ||
8412 | * config/alpha/elf.h (ENDFILE_SPEC): Add Ofast. | |
8413 | * config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast. | |
8414 | * config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast. | |
8415 | * config/sparc/linux.h (ENDFILE_SPEC): Add Ofast. | |
8416 | * config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast. | |
8417 | * config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast. | |
8418 | * config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast. | |
8419 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast. | |
8420 | * config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast. | |
8421 | * config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast. | |
8422 | * config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast. | |
8423 | * config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast. | |
8424 | * config/i386/darwin.h (ENDFILE_SPEC): Add Ofast. | |
8425 | * config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast. | |
8426 | * config/ia64/linux.h (ENDFILE_SPEC): Add Ofast. | |
8427 | * config/mips/linux.h (ENDFILE_SPEC): Add Ofast. | |
8428 | ||
86529a49 RG |
8429 | 2011-05-05 Richard Guenther <rguenther@suse.de> |
8430 | ||
8431 | * expmed.c (expand_variable_shift): Rename to ... | |
8432 | (expand_shift_1): ... this. Take an expanded shift amount. | |
8433 | For rotates recurse directly not building trees for the shift amount. | |
8434 | (expand_variable_shift): Wrap around expand_shift_1. | |
8435 | (expand_shift): Adjust. | |
8436 | ||
d0228c2e JJ |
8437 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
8438 | ||
8439 | * gimplify.c (create_tmp_var_raw): Don't call build_type_variant. | |
8440 | ||
907a08d9 EB |
8441 | 2011-05-05 Eric Botcazou <ebotcazou@adacore.com> |
8442 | ||
8443 | * tree.h (get_pending_sizes): Remove prototype. | |
8444 | (put_pending_size): Likewise. | |
8445 | (put_pending_sizes): Likewise. | |
8446 | * stor-layout.c (pending_sizes): Delete. | |
8447 | (get_pending_sizes): Likewise. | |
8448 | (put_pending_size): Likewise. | |
8449 | (put_pending_sizes): Likewise. | |
8450 | (variable_size): Do not call put_pending_size and tidy up. | |
8451 | * function.h (struct function): Remove dont_save_pending_sizes_p. | |
8452 | * lto-streamer-in.c (input_function): Do not stream it. | |
8453 | * lto-streamer-out.c (output_function): Likewise. | |
8454 | * tree-inline.c (initialize_cfun): Do not copy it. | |
8455 | * c-decl.c (store_parm_decls): Do not set it. | |
8456 | * omp-low.c (create_task_copyfn): Likewise. | |
8457 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
8458 | ||
386d9c57 UB |
8459 | 2011-05-05 Uros Bizjak <ubizjak@gmail.com> |
8460 | ||
8461 | * config/i386/i386.md (*movdf_internal_rex64): Simplify nested "if" | |
8462 | conditions. | |
8463 | (*movdf_internal): Ditto. | |
8464 | (*movdf_internal_nointeger): Ditto. | |
8465 | (*movsf_internal): Ditto. | |
8466 | ||
a04a722b JM |
8467 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
8468 | ||
8469 | * c-decl.c (finish_decl): Don't call get_pending_sizes. | |
8470 | (grokparm): Add parameter expr. Pass it to grokdeclarator. | |
8471 | (push_parm_decl): Add parameter expr. Pass it to grokdeclarator. | |
8472 | (c_variable_size): Remove. | |
8473 | (grokdeclarator): Use save_expr instead of c_variable_size. Don't | |
8474 | call put_pending_sizes. | |
8475 | (get_parm_info): Add parameter expr. Use it to set | |
8476 | arg_info->pending_sizes. | |
8477 | (store_parm_decls): Use arg_info->pending_sizes instead or calling | |
8478 | get_pending_sizes. | |
8479 | * c-parser.c (c_parser_parms_declarator): Update call to | |
8480 | c_parser_parms_list_declarator. | |
8481 | (c_parser_parms_list_declarator): Take parameter expr. Update | |
8482 | call to push_parm_decl. Update recursive call. Don't call | |
8483 | get_pending_sizes. Update calls to get_parm_info. | |
8484 | (c_parser_objc_method_definition): Update calls to | |
8485 | c_parser_objc_method_decl and objc_start_method_definition. | |
386d9c57 | 8486 | (c_parser_objc_methodproto): Update call to c_parser_objc_method_decl. |
a04a722b JM |
8487 | (c_parser_objc_method_decl): Add parameter expr. Update call to |
8488 | grokparm. | |
386d9c57 | 8489 | (c_parser_objc_try_catch_finally_statement): Update call to grokparm. |
a04a722b JM |
8490 | * c-tree.h (struct c_arg_info.pending_sizes): Change to a tree. |
8491 | (get_parm_info, grokparm, push_parm_decl): Update prototypes. | |
8492 | ||
c92a6f97 MH |
8493 | 2011-05-05 Michael Hope <michael.hope@linaro.org> |
8494 | ||
386d9c57 UB |
8495 | PR pch/45979 |
8496 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for | |
8497 | __ARM_EABI__ hosts. | |
c92a6f97 | 8498 | |
07ea0048 UW |
8499 | 2011-05-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8500 | ||
8501 | * config/spu/spu.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
8502 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise. | |
8503 | (spu_output_mi_thunk): New function. | |
8504 | ||
d634bfa1 RO |
8505 | 2011-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8506 | ||
8507 | * config/sparc/sol2.h (ASM_OUTPUT_CALL): Use | |
8508 | targetm.asm_out.print_operand. | |
8509 | * config/sol2.c: Include target.h. | |
8510 | ||
40fda55b JH |
8511 | 2011-05-04 Jan Hubicka <jh@suse.cz> |
8512 | ||
8513 | * ipa-inline.c (reset_edge_caches): New function. | |
8514 | (update_caller_keys): Add check_inlinablity_for; do not | |
8515 | reset edge caches; remove now unnecesary loop. | |
386d9c57 | 8516 | (update_callee_keys): Add comments; reset node_growth_cache of callee. |
40fda55b JH |
8517 | (update_all_callee_keys): Likewise. |
8518 | (inline_small_functions): Sanity check cache; update code | |
8519 | recomputing it. | |
8520 | ||
0360f70d BS |
8521 | 2011-05-04 Bernd Schmidt <bernds@codesourcery.com> |
8522 | ||
8523 | PR rtl-optimization/47612 | |
8524 | * df-problems.c (can_move_insns_across): Don't pick a cc0 setter | |
8525 | as the last insn of the sequence to be moved. | |
8526 | ||
7a994646 TB |
8527 | 2011-05-04 Tobias Burnus <burnus@net-b.de> |
8528 | ||
8529 | PR fortran/48864 | |
8530 | * doc/invoke.texi (Ofast): Document that it | |
8531 | enables Fortran's -fno-protect-parens. | |
8532 | ||
7a2f7208 UB |
8533 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
8534 | ||
8535 | * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first. | |
8536 | ||
a2d42931 EB |
8537 | 2011-05-04 Eric Botcazou <ebotcazou@adacore.com> |
8538 | ||
8539 | * stor-layout.c (variable_size): Do not issue errors. | |
8540 | ||
f81b1a3d RG |
8541 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8542 | ||
8543 | * coverage.c (tree_coverage_counter_ref): Use integer_type_node | |
8544 | for array-ref indices. | |
8545 | (tree_coverage_counter_addr): Likewise. | |
8546 | (build_fn_info_type): Use size_int for index types. | |
8547 | (build_gcov_info): Likewise. | |
8548 | ||
c62c040f RG |
8549 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8550 | ||
8551 | * c-decl.c (check_bitfield_type_and_width): Do not pass NULL | |
8552 | to build_int_cst. | |
8553 | * c-typeck.c (really_start_incremental_init): Use bitsize_int | |
8554 | for constructor indices. | |
8555 | (push_init_level): Likewise. | |
8556 | ||
1e3287d0 RG |
8557 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8558 | ||
8559 | * explow.c (promote_mode): Move variable declarations before code. | |
8560 | ||
6c32445b NF |
8561 | 2011-05-04 Nathan Froyd <froydnj@codesourcery.com> |
8562 | ||
8563 | * tree.h (build_function_type_array): Declare. | |
8564 | (build_varargs_function_type_array): Declare. | |
8565 | (build_function_type_vec, build_varargs_function_type_vec): Define. | |
8566 | * tree.c (build_function_type_array_1): New function. | |
8567 | (build_function_type_array): New function. | |
8568 | (build_varargs_function_type_array): New function. | |
8569 | ||
fdabf269 RS |
8570 | 2011-05-04 Richard Sandiford <richard.sandiford@linaro.org> |
8571 | ||
8572 | * tree-vect-loop.c (vectorizable_reduction): Check reduction cost | |
8573 | before setting STMT_VINFO_TYPE. | |
8574 | ||
a207915a UW |
8575 | 2011-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8576 | ||
8577 | * config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference | |
8578 | instead of spu_pass_by_reference. | |
8579 | ||
5e617be8 AK |
8580 | 2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8581 | ||
8582 | * calls.c (emit_library_call_value_1): Invoke | |
8583 | promote_function_mode hook on libcall arguments. | |
8584 | * explow.c (promote_function_mode, promote_mode): Handle TYPE | |
8585 | argument being NULL. | |
8586 | * targhooks.c (default_promote_function_mode): Lisewise. | |
8587 | * config/s390/s390.c (s390_promote_function_mode): Likewise. | |
8588 | * config/sparc/sparc.c (sparc_promote_function_mode): Likewise. | |
8589 | ||
8590 | * doc/tm.texi: Document that TYPE argument might be NULL. | |
8591 | ||
486d04be SH |
8592 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8593 | ||
8594 | * config/bfin/bfin.c (bfin_cpus): Update silicon revisions. | |
8595 | ||
9b19b026 SH |
8596 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8597 | ||
8598 | From Bernd Schmidt | |
8599 | * config/bfin/bfin.md (addsi3): Add an alternative for IREGS. | |
8600 | ||
502bc3df RO |
8601 | 2011-05-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8602 | ||
8603 | * config/alpha/alpha.h (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB) | |
8604 | (MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE, ALIGN_SYMTABLE_OFFSET): | |
8605 | Move ... | |
8606 | * mips-tfile.c: ... here. | |
8607 | Don't include coretypes.h, tm.h, filenames.h. | |
8608 | (saber_stop): Remove definition and all calls. | |
8609 | [__SABER__]: Remove. | |
8610 | (__LINE__): Remove default. | |
8611 | (Size_t, Ptrdiff_t): Remove definitions. | |
8612 | Replace by size_t, ptrdiff_t. | |
8613 | [!MIPS_DEBUGGING_INFO]: Remove. | |
8614 | (SHASH_SIZE, THASH_SIZE): Remove defaults. | |
8615 | (progname): Add const. | |
8616 | (STATIC): Remove. | |
8617 | Replace all uses by static. | |
8618 | (ALIGN_SYMTABLE_OFFSET): Remove default. | |
8619 | * mips-tdump.c: Don't include coretypes.h, tm.h. | |
8620 | Remove !MIPS_IS_STAB guard. | |
8621 | * Makefile.in (mips-tfile.o): Remove $(RTL_H), coretypes.h, | |
8622 | $(TM_H), filenames.h dependencies. | |
8623 | (mips-tdump.o): Remove $(RTL_H), coretypes.h, $(TM_H) dependencies. | |
8624 | ||
991eb6ef SH |
8625 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8626 | ||
8627 | From Jie Zhang | |
8628 | *config/bfin/bfin.c (bfin_extra_live_on_entry): New. | |
8629 | (TARGET_EXTRA_LIVE_ON_ENTRY): Define. | |
8630 | ||
420ccc84 SH |
8631 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8632 | ||
8633 | From Bernd Schmidt | |
8634 | * config/bfin/bfin.h (FUNCTION_PROFILER): Take TARGET_LONG_CALLS into | |
8635 | account and save/restore RETS. | |
8636 | (PROFILE_BEFORE_PROLOGUE): Define. | |
8637 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add tab character. Correct | |
8638 | the push insn to use predecrement. | |
8639 | ||
9f8d69ee SH |
8640 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8641 | ||
8642 | From Jie Zhang | |
8643 | * config/bfin/bfin.c (bfin_expand_prologue): Don't clobber P2. | |
8644 | ||
662c03f4 NC |
8645 | 2011-05-04 Nick Clifton <nickc@redhat.com> |
8646 | ||
8647 | * config/mn10300/mn10300.c: Include cfgloop.h. | |
8648 | (DUMP): New macro. | |
8649 | (mn10300_insert_setlb_lcc): New function. Inserts a SETLB and a | |
8650 | Lcc or a FLcc insn into the instruction stream. | |
8651 | (mn10300_block_contains_call): New function. Returns true if the | |
8652 | given basic block contains a CALL insn. | |
8653 | (mn10300_loop_contains_call_insn): New function. Returns true if | |
8654 | the given loop contains a CALL insn. | |
8655 | (mn10300_scan_for_setlb_lcc): New function. Finds opportunities | |
8656 | to use the SETLB and Lcc or FLcc insns. | |
8657 | (mn10300_reorg): Invoke mn10300_scan_for_setlb_lcc when optimizing. | |
8658 | (TARGET_FLAGS): Add MASK_ALLOW_SETLB. | |
8659 | * config/mn10300/mn10300.opt (msetlb): New option. Used to | |
8660 | disable the SETLB optimization. | |
8661 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add | |
8662 | __SETLB__ or __NO_SETLB__. | |
8663 | * config/mn10300/mn10300.md (UNSPEC_SETLB): New constant. | |
8664 | (movsf_internal): Handle MDR register. | |
8665 | (cmpsi): Make visible. | |
8666 | (setlb): New pattern. | |
8667 | (Lcc): New pattern. | |
8668 | (FLcc): New pattern. | |
8669 | ||
843b6915 UB |
8670 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
8671 | ||
8672 | PR target/48860 | |
8673 | * config/i386/i386.md (*movdi_internal_rex64) Use %vmovd | |
8674 | for reg<->xmm moves. | |
8675 | * config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto. | |
8676 | (vec_concatv2di_rex64_sse): Ditto. | |
8677 | (*sse2_storeq_rex64): Do not emit %v prefix for mov{q} mnemonic. | |
8678 | (*vec_extractv2di_1_rex64): Ditto. | |
8679 | ||
8680 | Revert: | |
8681 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> | |
8682 | ||
8683 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
8684 | reg<->xmm moves. | |
8685 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. | |
8686 | ||
d35936ab RG |
8687 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8688 | ||
8689 | * tree.h (int_const_binop): Remove notrunc argument. | |
8690 | * fold-const.c (int_const_binop): Remove notrunc argument. Always | |
8691 | create integer constants that are properly truncated. | |
8692 | (extract_muldiv_1): Expand one notrunc int_const_binop caller. | |
8693 | (const_binop): Remove zero notrunc argument to int_const_binop. | |
8694 | (size_binop_loc): Likewise. | |
8695 | (fold_div_compare): Likewise. | |
8696 | (maybe_canonicalize_comparison_1): Likewise. | |
8697 | (fold_comparison): Likewise. | |
8698 | (fold_binary_loc): Likewise. | |
8699 | (multiple_of_p): Likewise. | |
8700 | * expr.c (store_constructor): Likewise. | |
8701 | * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise. | |
8702 | (maybe_fold_stmt_addition): Likewise. | |
8703 | * ipa-prop.c (ipa_modify_call_arguments): Likewise. | |
8704 | * stor-layout.c (layout_type): Likewise. | |
8705 | * tree-data-ref.c (tree_fold_divides_p): Likewise. | |
8706 | * tree-sra.c (build_ref_for_offset): Likewise. | |
8707 | (build_user_friendly_ref_for_offset): Likewise. | |
8708 | * tree-ssa-address.c (maybe_fold_tmr): Likewise. | |
8709 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
8710 | * tree-ssa-loop-niter.c (inverse): Likewise. | |
8711 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. | |
8712 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Likewise. | |
8713 | * tree-switch-conversion.c (check_range): Likewise. | |
8714 | (build_constructors): Likewise. | |
8715 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
8716 | * tree-vrp.c (set_and_canonicalize_value_range): Likewise. | |
8717 | (extract_range_from_assert): Likewise. | |
8718 | (vrp_int_const_binop): Likewise. | |
8719 | (extract_range_from_binary_expr): Likewise. | |
8720 | (extract_range_from_unary_expr): Likewise. | |
8721 | (check_array_ref): Likewise. | |
8722 | (find_case_label_range): Likewise. | |
8723 | (simplify_div_or_mod_using_ranges): Likewise. | |
8724 | * tree-cfg.c (group_case_labels_stmt): Use double-ints for | |
8725 | comparing case labels for merging. | |
8726 | ||
8992c063 MW |
8727 | 2011-05-03 Mark Wielaard <mjw@redhat.com> |
8728 | ||
8729 | * dwarf2out.c (debug_str_hash_forced): Removed. | |
8730 | (gen_label_for_indirect_string): Removed. | |
8731 | (get_debug_string_label): Removed. | |
8732 | (AT_string_form): Generate label directly. | |
8733 | (output_indirect_string): Test indirect_string_node for | |
8734 | DW_FORM_strp instead of checking label and refcount. | |
8735 | (prune_indirect_string): Removed. | |
8736 | (prune_unused_types): Don't check debug_str_hash_forced or | |
8737 | call prune_indirect_string. | |
8738 | ||
4868e6ea AO |
8739 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
8740 | ||
8741 | PR other/48093 | |
8742 | * doc/invoke.texi: Document -mtls-dialect and GCC_COMPARE_DEBUG. | |
8743 | ||
01a5c0ab AO |
8744 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
8745 | ||
8746 | PR debug/47994 | |
8747 | PR debug/47919 | |
8748 | * combine.c (try_combine): Skip debug insns at m_split tests. | |
8749 | ||
6ac00218 MW |
8750 | 2011-04-26 Mark Wielaard <mjw@redhat.com> |
8751 | ||
8752 | PR42288 | |
8753 | * dwarf2out.c (dwarf2out_finish): Always call output_aranges () | |
8754 | when info_section_emitted. | |
8755 | ||
3af42a7b JM |
8756 | 2011-05-03 Joseph Myers <joseph@codesourcery.com> |
8757 | ||
8758 | * config/mips/mips-opts.h: New. | |
8759 | * config/mips/mips.c (enum mips_r10k_cache_barrier_setting): Move | |
8760 | to mips-opts.h. | |
8761 | (mips_abi, mips_code_readable, mips_r10k_cache_barriee): Remove. | |
8762 | (mips_handle_option): Don't handle OPT_mabi_, OPT_mcode_readable_ | |
8763 | or OPT_mr10k_cache_barrier_ here. Access mips_cache_flush_func | |
8764 | via opts pointer. | |
8765 | * config/mips/mips.h (enum mips_code_readable_setting): Move to | |
8766 | mips-opts.h. | |
8767 | (mips_abi, mips_code_readable): Don't declare. | |
843b6915 | 8768 | * config/mips/mips.opt (config/mips/mips-opts.h): New HeaderInclude. |
3af42a7b JM |
8769 | (mabi=): Use Enum and Var. |
8770 | (mips_abi): New Enum and EnumValue entries. | |
8771 | (mcode-readable=): Use Enum and Var. | |
8772 | (mips_code_readable_setting): New Enum and EnumValue entries. | |
8773 | (mr10k-cache-barrier=): Use Enum and Var. | |
8774 | (mips_r10k_cache_barrier_setting): New Enum and EnumValue entries. | |
8775 | ||
1cb1a99f JH |
8776 | 2011-05-03 Jan Hubicka <jh@suse.cz> |
8777 | ||
8778 | * cgraph.h (cgraph_node_set_def, varpool_node_set_def): Move out of GTY; | |
8779 | replace hash by pointer map. | |
8780 | (cgraph_node_set_element_def, cgraph_node_set_element, | |
8781 | const_cgraph_node_set_element, varpool_node_set_element_def, | |
8782 | varpool_node_set_element, const_varpool_node_set_element): Remove. | |
8783 | (free_cgraph_node_set, free_varpool_node_set): New function. | |
8784 | (cgraph_node_set_size, varpool_node_set_size): Use vector size. | |
8785 | * tree-emutls.c: Free varpool node set. | |
8786 | * ipa-utils.c (cgraph_node_set_new, cgraph_node_set_add, | |
8787 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
8788 | debug_cgraph_node_set, free_cgraph_node_set, varpool_node_set_new, | |
8789 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
8790 | dump_varpool_node_set, free_varpool_node_set, debug_varpool_node_set): | |
8791 | Move here from ipa.c; implement using pointer_map | |
8792 | * ipa.c (cgraph_node_set_new, cgraph_node_set_add, | |
8793 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
8794 | debug_cgraph_node_set, varpool_node_set_new, | |
8795 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
8796 | dump_varpool_node_set, debug_varpool_node_set): | |
8797 | Move to ipa-uitls.c. | |
8798 | * passes.c (ipa_write_summaries): Update. | |
8799 | ||
7f31f4db SH |
8800 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8801 | ||
7a2f7208 UB |
8802 | From Mike Frysinger: |
8803 | * config/bfin/bfin.c (bfin_cpus[]): Add 0.4 for | |
8804 | bf542/bf544/bf547/bf548/bf549. | |
7f31f4db | 8805 | |
b70fce6d UB |
8806 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
8807 | ||
8808 | * expmed.c (extract_bit_field_1): Remove write-only variable "icode". | |
8809 | ||
265b1d82 SH |
8810 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8811 | ||
8812 | From Bernd Schmidt: | |
8813 | * config/bfin/bfin.md (MOVCC): New mode_macro. | |
8814 | (mov<mode>cc_insn1, mov<mode>cc_insn2, mov<mode>cc): Renamed from | |
8815 | movsicc_insn1, movsicc_insn2 and movsicc and macroized. Remove | |
8816 | comments from generated assembly. | |
8817 | ||
f0b568f3 SH |
8818 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8819 | ||
8820 | From Bernd Schmidt | |
8821 | * config/bfin/t-bfin (LIB1ASMFUNCS): Add muldi3 and umulsi3_highpart. | |
8822 | * config/bfin/t-bfin-elf (LIB1ASMFUNCS): Add muldi3. | |
8823 | * config/bfin/t-bfin-linux (LIB1ASMFUNCS): Add muldi3. | |
8824 | * config/bfin/t-bfin-uclinux (LIB1ASMFUNCS): Add muldi3. | |
8825 | * config/bfin/lib1funcs.asm (___muldi3): New function. | |
8826 | ||
2c67cf6e NF |
8827 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8828 | ||
8829 | * config/stormy16/stormy16 (xstormy16_init_builtins): Call | |
8830 | build_function_type_list instead of build_function_type. | |
8831 | Rearrange initialization of `args' to do so. | |
8832 | ||
f9ac28ad NF |
8833 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8834 | ||
8835 | * config/i386/i386.c (ix86_code_end): Call build_function_type_list | |
8836 | instead of build_function_type. | |
8837 | ||
22b8798c NF |
8838 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8839 | ||
8840 | * config/rs6000/rs6000.c (spe_init_builtins): Call | |
8841 | build_function_type_list instead of build_function_type. | |
8842 | (paired_init_builtins, altivec_init_builtins): Likewise. | |
8843 | (builtin_function_type): Likewise. | |
8844 | ||
4cb44528 NF |
8845 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8846 | ||
8847 | * config/sh/sh.c (sh_media_init_builtins): Call | |
8848 | build_function_type_list instead of build_function_type. | |
8849 | ||
4c203a6a NF |
8850 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8851 | ||
8852 | * config/sparc/sparc.c (sparc_file_end): Call | |
8853 | build_function_type_list instead of build_function_type. | |
8854 | ||
d6a3d62b NF |
8855 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8856 | ||
8857 | * config/alpha/alpha.c (alpha_init_builtins): Call | |
8858 | build_function_type_list instead of build_function_type. | |
8859 | ||
de530b86 NF |
8860 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8861 | ||
8862 | * config/xtensa/xtensa.c (xtensa_init_builtins): Call | |
8863 | build_function_type_list instead of build_function_type. | |
8864 | ||
baeec5f2 NF |
8865 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8866 | ||
8867 | * config/iq2000/i2000.c (iq2000_init_builtins): Call | |
8868 | build_function_type_list instead of build_function_type. | |
8869 | Delete `endlink' variable. | |
8870 | ||
c19afe52 NF |
8871 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8872 | ||
8873 | * config/avr/avr.c (avr_init_builtins): Call | |
8874 | build_function_type_list instead of build_function_type. | |
8875 | ||
a341df0a NF |
8876 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8877 | ||
8878 | * config/picochip/picochip.c (picochip_init_builtins): Call | |
8879 | build_function_type_list instead of build_function_type. | |
8880 | Delete `endlink' variable. | |
8881 | ||
2102b1e1 NF |
8882 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8883 | ||
8884 | * config/bfin/bfin.c (bfin_init_builtins): Call | |
8885 | build_function_type_list instead of build_function_type. | |
8886 | ||
9f111209 SH |
8887 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8888 | ||
8889 | From Bernd Schmidt | |
8890 | * config/bfin/bfin.md (rotrsi, rotlsi): Don't take INTVAL of anything | |
8891 | that's not CONST_INT. Seemingly redundant check is due to PR39768. | |
8892 | ||
7071d064 SH |
8893 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8894 | ||
8895 | From Jie Zhang: | |
8896 | * config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure | |
8897 | libbffastfp overrides libgcc when -mfast-fp. | |
8898 | ||
748f7574 | 8899 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
44fb48ef SH |
8900 | |
8901 | Originally from Bernd Schmidt | |
8902 | * config/bfin/uclinux.h (SUBTARGET_FDPIC_NOT_SUPPORTED): New macro. | |
8903 | * config/bfin/bfin.c (override_options): Test it and error if | |
8904 | TARGET_FDPIC. | |
8905 | ||
1a3a9152 SH |
8906 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8907 | ||
8908 | Originally From Bernd Schmidt | |
8909 | * config/bfin/bfin.c (override_options): Disable -fstack-limit for | |
8910 | FD-PIC. | |
8911 | ||
7134c090 JL |
8912 | 2011-05-03 Jeff Law <law@redhat.com> |
8913 | ||
8914 | * tree-ssa-threadupdate.c (THREAD_TARGET): define. | |
8915 | (remove_ctrl_stmt_and_useless_edges): Clear AUX field of outgoing edges. | |
8916 | (craete_edge_and_update_destination_phis): Use THREAD_TARGET rather | |
b70fce6d UB |
8917 | than accessing AUX field directly. Free the AUX field before |
8918 | clearing it. | |
7134c090 JL |
8919 | (thread_block, thread_through_loop_header): Likewise. |
8920 | (thread_single_edge, mark_threaded_blocks): Likewise. | |
8921 | (redirect_edges): Delay clearing the AUX field. Free the AUX field. | |
8922 | (register_jump_thread): Do not attempt to thread to a NULL edge. | |
b70fce6d | 8923 | |
2c7eebae BS |
8924 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
8925 | ||
8926 | * function.c (init_function_start): Call decide_function_section. | |
8927 | * varasm.c (decide_function_section): New function. | |
8928 | (assemble_start_function): When not using | |
8929 | flag_reorder_blocks_and_partition, don't compute in_cold_section_p | |
8930 | or first_function_block_is_cold. | |
8931 | * rtl.h (decide_function_section): Declare. | |
8932 | ||
17038fcf JJ |
8933 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
8934 | Jakub Jelinek <jakub@redhat.com> | |
8935 | ||
8936 | PR target/48774 | |
8937 | * config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode | |
8938 | only succeed if req_mode is the same as set_mode. | |
8939 | ||
3810076b BS |
8940 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
8941 | ||
8942 | * gengenrtl.c (special_rtx): PC, CC0 and RETURN are special. | |
8943 | * genemit.c (gen_exp): Handle RETURN. | |
8944 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
8945 | (init_emit_regs): Create pc_rtx, ret_rtx and cc0_rtx specially. | |
8946 | * rtl.c (copy_rtx): RETURN is shared. | |
8947 | * rtl.h (enum global_rtl_index): Add GR_RETURN. | |
8948 | (ret_rtx): New. | |
8949 | * jump.c (redirect_exp_1): Don't use gen_rtx_RETURN. | |
8950 | * config/s390/s390.c (s390_emit_epilogue): Likewise. | |
8951 | * config/rx/rx.c (gen_rx_rtsd_vector): Likewise. | |
8952 | * config/cris/cris.c (cris_expand_return): Likewise. | |
8953 | * config/m68k/m68k.c (m68k_expand_epilogue): Likewise. | |
8954 | * config/rs6000/rs6000.c (rs6000_make_savres_rtx, | |
8955 | rs6000_emit_epilogue, rs6000_output_mi_thunk): Likewise. | |
8956 | * config/picochip/picochip.c (picochip_expand_epilogue): Likewise. | |
8957 | * config/h8300/h8300.c (h8300_push_pop, h8300_expand_epilogue): | |
8958 | Likewise. | |
8959 | * config/v850/v850.c (expand_epilogue): Likewise. | |
8960 | * config/bfin/bfin.c (bfin_expand_call): Likewise. | |
8961 | * config/arm/arm.md (epilogue): Likewise. | |
8962 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Likewise. | |
8963 | * config/sparc/sparc.c (sparc_struct_value_rtx): Rename ret_rtx | |
8964 | variable to ret_reg. | |
8965 | ||
9efdb4ad RG |
8966 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
8967 | ||
8968 | PR lto/48846 | |
8969 | * lto-streamer-in.c (unpack_ts_decl_common_value_fields): | |
8970 | Stream decl_common.off_align instead of the derived DECL_OFFSET_ALIGN. | |
8971 | * lto-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
8972 | ||
60a45536 RG |
8973 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
8974 | ||
8975 | * c-decl.c (grokdeclarator): Instead of looking at | |
8976 | TREE_OVERFLOW check if the constant fits in the index type. | |
8977 | ||
3188ed59 RS |
8978 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
8979 | ||
8980 | * config/arm/neon.md (vec_load_lanes<mode><mode>): New expanders, | |
8981 | (vec_store_lanes<mode><mode>): Likewise. | |
8982 | ||
272c6793 RS |
8983 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
8984 | ||
8985 | * doc/md.texi (vec_load_lanes, vec_store_lanes): Document. | |
8986 | * optabs.h (COI_vec_load_lanes, COI_vec_store_lanes): New | |
8987 | convert_optab_index values. | |
8988 | (vec_load_lanes_optab, vec_store_lanes_optab): New convert optabs. | |
8989 | * genopinit.c (optabs): Initialize the new optabs. | |
8990 | * internal-fn.def (LOAD_LANES, STORE_LANES): New internal functions. | |
8991 | * internal-fn.c (get_multi_vector_move, expand_LOAD_LANES) | |
8992 | (expand_STORE_LANES): New functions. | |
8993 | * tree.h (build_array_type_nelts): Declare. | |
8994 | * tree.c (build_array_type_nelts): New function. | |
8995 | * tree-vectorizer.h (vect_model_store_cost): Add a bool argument. | |
8996 | (vect_model_load_cost): Likewise. | |
8997 | (vect_store_lanes_supported, vect_load_lanes_supported) | |
8998 | (vect_record_strided_load_vectors): Declare. | |
8999 | * tree-vect-data-refs.c (vect_lanes_optab_supported_p) | |
9000 | (vect_store_lanes_supported, vect_load_lanes_supported): New functions. | |
9001 | (vect_transform_strided_load): Split out statement recording into... | |
9002 | (vect_record_strided_load_vectors): ...this new function. | |
9003 | * tree-vect-stmts.c (create_vector_array, read_vector_array) | |
9004 | (write_vector_array, create_array_ref): New functions. | |
9005 | (vect_model_store_cost): Add store_lanes_p argument. | |
9006 | (vect_model_load_cost): Add load_lanes_p argument. | |
9007 | (vectorizable_store): Try to use store-lanes functions for | |
9008 | interleaved stores. | |
9009 | (vectorizable_load): Likewise load-lanes and loads. | |
9010 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Update call | |
9011 | to vect_model_store_cost. | |
9012 | (vect_build_slp_tree): Likewise vect_model_load_cost. | |
9013 | ||
0f6d54f7 RS |
9014 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
9015 | ||
9016 | * hooks.h (hook_bool_mode_uhwi_false): Declare. | |
9017 | * hooks.c (hook_bool_mode_uhwi_false): New function. | |
9018 | * target.def (array_mode_supported_p): New hook. | |
9019 | * doc/tm.texi.in (TARGET_ARRAY_MODE_SUPPORTED_P): Add @hook. | |
9020 | * doc/tm.texi: Regenerate. | |
9021 | * stor-layout.c (mode_for_array): New function. | |
9022 | (layout_type): Use it. | |
9023 | * config/arm/arm.c (arm_array_mode_supported_p): New function. | |
9024 | (TARGET_ARRAY_MODE_SUPPORTED_P): Define. | |
9025 | ||
b15eacc7 EB |
9026 | 2011-05-03 Eric Botcazou <ebotcazou@adacore.com> |
9027 | ||
9028 | PR target/48723 | |
9029 | * config/i386/i386.c (ix86_expand_prologue): Do not probe the stack | |
9030 | for -fstack-check if the size to allocate is negative. | |
9031 | ||
575bfb00 LC |
9032 | 2011-05-02 Lawrence Crowl <crowl@google.com> |
9033 | ||
9034 | * timevar.h (timevar_cond_start): Remove unused POP_TIMEVAR_AND_RETURN. | |
9035 | (timevar_cond_start): New for starting a timer only when it is not | |
9036 | already running. | |
9037 | (timevar_cond_stop): New for stopping a timer when it was not already | |
9038 | running. | |
9039 | ||
9040 | * timevar.c (timevar_stop): Enable start/stop timers to start again. | |
9041 | (timevar_cond_start): New as above. | |
9042 | (timevar_cond_stop): New as above. | |
9043 | ||
9044 | * timevar.def: Add start/stop timers for compiler phases, | |
9045 | TV_PHASE_SETUP, TV_PHASE_PARSING, TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, | |
9046 | TV_PHASE_DBGINFO (C), TV_PHASE_CHECK_DBGINFO (C++), TV_PHASE_GENERATE, | |
9047 | and TV_PHASE_FINALIZE. | |
9048 | Change push/pop timer TV_PARSE to TV_PARSE_GLOBAL. | |
9049 | Add push/pop timers TV_PARSE_STRUCT, TV_PARSE_ENUM, TV_PARSE_FUNC, | |
9050 | TV_PARSE_INLINE, TV_PARSE_INMETH, TV_TEMPLATE_INST. | |
9051 | Change push/pop timer TV_NAME_LOOKUP into a start/stop timer. | |
9052 | Make unused TV_OVERLOAD into a start/stop timer. | |
9053 | ||
9054 | Remove unused timers TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION. | |
9055 | Mark the strings for TV_NAME_LOOKUP and TV_OVERLOAD with a "|" | |
9056 | to indicate that they are start/stop timers. | |
9057 | ||
9058 | * toplev.c (compile_file): Change TV_PARSE to TV_PARSE_GLOBAL. | |
9059 | Add start/stop timers TV_PHASE_PARSING and TV_PHASE_GENERATE. | |
9060 | Move initialization to do_compile. | |
9061 | (do_compile): Add initialization from above. | |
9062 | Add start/stop timers TV_PHASE_SETUP and TV_PHASE_FINALIZE. | |
9063 | ||
9064 | * c-decl.c (c_write_global_declarations): Add start/stop of | |
9065 | TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, TV_PHASE_DBGINFO. | |
9066 | ||
9067 | * c-parser.c (c_parser_declaration_or_fndef): Push/pop TV_PARSE_FUNC | |
9068 | or TV_PARSE_INLINE, as appropriate. | |
9069 | (c_parser_enum_specifier): Push/pop TV_PARSE_ENUM. | |
9070 | (c_parser_struct_or_union_specifier): Push/pop TV_PARSE_STRUCT. | |
9071 | ||
3533b943 JM |
9072 | 2011-05-02 Jason Merrill <jason@redhat.com> |
9073 | ||
9074 | PR c++/40975 | |
9075 | * tree-inline.c (copy_tree_r): Handle STATEMENT_LIST. | |
9076 | ||
2609a0ce SM |
9077 | 2011-05-02 Simon Martin <simartin@users.sourceforge.net> |
9078 | ||
9079 | PR c/35445 | |
9080 | * c-decl.c (finish_decl): Only create a composite if the types are | |
9081 | compatible. | |
9082 | ||
6b0e4cbb JM |
9083 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
9084 | ||
9085 | * config/fr30/fr30-protos.h (Mmode): Don't define. | |
9086 | * config/m32r/m32r-protos.h (Mmode): Don't define. Expand | |
9087 | definition where used. | |
9088 | * config/mn10300/mn10300-protos.h (Mmode, Cstar, Rclas): Don't | |
9089 | define. Expand definitions where used. | |
9090 | * config/rx/rx-protos.h (Mmode, Fargs, Rcode): Don't define. | |
9091 | Expand definitions where used. | |
9092 | * config/rx/rx.c (rx_is_legitimate_address, rx_function_arg_size, | |
9093 | rx_function_arg, rx_function_arg_advance, | |
9094 | rx_function_arg_boundary): Expand definitions of those macros. | |
9095 | * config/v850/v850-protos.h (Mmode): Don't define. Expand | |
9096 | definition where used. | |
9097 | ||
4e938ce6 UB |
9098 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
9099 | ||
9100 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
9101 | reg<->xmm moves. | |
9102 | (*mov<mode>_internal): Merge with *mov<mode>_internal_avx. | |
9103 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. Merge | |
9104 | with *movv2sf_internal_rex64_avx. | |
9105 | (*movv2sf_internal): Merge with *movv2sf_internal_avx. | |
9106 | * config/i386/i386.md (*movdi_internal_rex64) <TYPE_SSEMOV>: | |
9107 | Use %v prefix in insn mnemonic to handle TARGET_AVX. | |
9108 | (*movdi_internal): Add "isa" attribute. Use "maybe_vex" instead of | |
9109 | "vex" in "prefix" attribute calculation. | |
9110 | (*movdf_internal): Output AVX mnemonics. Add "prefix" attribute. | |
9111 | ||
36019c19 SH |
9112 | 2011-05-02 Stuart Henderson <shenders@gcc.gnu.org> |
9113 | ||
7a2f7208 UB |
9114 | PR target/47951 |
9115 | * config/bfin/bfin.md (loop_end): Use matching constraints to ensure | |
9116 | inputs match the output. | |
36019c19 | 9117 | |
f69ea688 AS |
9118 | 2011-05-02 Andreas Schwab <schwab@linux-m68k.org> |
9119 | ||
9120 | PR target/47955 | |
9121 | * config/m68k/m68k.c (m68k_expand_prologue): Set | |
9122 | current_function_static_stack_size. | |
9123 | ||
c33406f5 JH |
9124 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
9125 | ||
9126 | * lto-streamer.c (lto_streamer_cache_insert_1, | |
9127 | lto_streamer_cache_lookup, lto_streamer_cache_create, | |
9128 | lto_streamer_cache_delete): Use pointer map instead of hashtable. | |
9129 | * lto-streamer.h (lto_streamer_cache_d): Turn node_map into pointer_map. | |
9130 | ||
47c94d21 JM |
9131 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
9132 | ||
9133 | * config/m68k/genopt.sh, config/m68k/m68k-isas.def, | |
9134 | config/m68k/m68k-microarchs.def, config/m68k/m68k-opts.h, | |
9135 | config/m68k/t-opts: New files. | |
9136 | * config/m68k/m68k-tables.opt: New file (generated). | |
9137 | * config.gcc (fido-*-*, m68k-*-*): Add m68k/m68k-tables.opt to | |
9138 | extra_options and m68k/t-opts to tmake_file. | |
9139 | * config/m68k/m68k.c (m68k_library_id_string): More to m68k.opt. | |
9140 | (all_isas): Initialize using m68k-isas.def. | |
9141 | (all_microarchs): Initialize using m68k-microarchs.def. | |
9142 | (m68k_find_selection): Remove. | |
9143 | (m68k_handle_option): Don't assert that global structures are in | |
9144 | use. Use error_at. Access variables via opts pointer. Don't | |
9145 | handle -march=, -mcpu= and -mtune= here. Set gcc_options fields | |
9146 | directly for -m68020-40 and -m68020-60. | |
9147 | (m68k_option_override): Set m68k_arch_entry, m68k_cpu_entry and | |
9148 | m68k_tune_entry here. | |
9149 | * config/m68k/m68k.h (enum uarch_type, enum target_device): Move | |
9150 | to m68k-opts.h. | |
9151 | (m68k_library_id_string): Remove declaration. | |
4e938ce6 | 9152 | * config/m68k/m68k.opt (config/m68k/m68k-opts.h): New HeaderInclude. |
47c94d21 JM |
9153 | (m68k_library_id_string): New Variable. |
9154 | (march=, mcpu=, mtune=): Use Enum and Var. | |
9155 | ||
e562bf36 RG |
9156 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
9157 | ||
9158 | * varasm.c (output_constructor_regular_field): Compute zero-based | |
9159 | index with double-ints. Make sure to ICE instead of producing | |
9160 | wrong code. | |
9161 | * cgraph.c (cgraph_add_thunk): Do not create new tree nodes | |
9162 | in asserts. Properly use a signed type. | |
9163 | ||
6bec6c98 UB |
9164 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
9165 | ||
9166 | * config/i386/sse.md (V): New mode iterator. | |
9167 | (V_128): Rename from SSEMODE. Make V2DF mode conditional on | |
9168 | TARGET_SSE2. | |
9169 | (V_256): Rename from AVX256MODE. | |
9170 | (VF): Make V4SF mode unconditional. Add TARGET_SSE instruction | |
9171 | condition to all users. | |
9172 | (VF1): Ditto. | |
9173 | (VF2): Make V2DF mode unconditional. Add TARGET_SSE2 instruction | |
9174 | condition to all users. | |
9175 | (VF_128): Make V4SF mode unconditional. | |
9176 | (VF_256): Rename from AVX256MODEF2P. | |
9177 | (VI4F_128): Rename from SSEMODE4S. | |
9178 | (VI8F_128): Rename from SSEMODE2D. | |
9179 | (VI4F_256): Rename from AVX256MODE8P. | |
9180 | (VI8F_256): Rename from AVX256MODE4P. | |
9181 | (avxsizesuffix): Add V16HI, V4DI, V8HI and V2DI modes. | |
9182 | (ssescalarmodesuffix): Remove SF and DF modes. | |
9183 | (SSEMODE124): Remove. | |
9184 | (SSEMODE1248): Ditto. | |
9185 | (SSEMODEF2P): Ditto. | |
9186 | (AVXMODEF2P): Ditto. | |
9187 | (AVXMODEFDP): Ditto. | |
9188 | (AVXMODEFSP): Ditto. | |
9189 | (VEC_EXTRACT_MODE): Make V16QI, V8HI, V4SI, V2DI, V4SF and V2DF modes | |
9190 | unconditional. | |
9191 | (VEC_EXTRACT_EVENODD_MODE): Rename from SSEMODE_EO. Make V4SF mode | |
9192 | unconditional. | |
9193 | (xop_pcmov_<mode><avxsizesuffix>): Merge from xop_pcmov_<mode> and | |
9194 | xop_pcmov_<mode>256. Use V mode iterator. | |
9195 | ||
9196 | Adjust RTX patterns globally for renamed mode attributes. | |
9197 | ||
2dfdcb4b UW |
9198 | 2011-05-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9199 | ||
9200 | * haifa-sched.c (sched_emit_insn): Emit insn before first | |
9201 | non-scheduled insn. Inform back-end about new insn. Add | |
9202 | new insn to scheduled_insns list. | |
9203 | ||
90bc4623 RG |
9204 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
9205 | ||
9206 | PR tree-optimization/48822 | |
9207 | * tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice. | |
9208 | (process_scc): Indicate which iteration we start. | |
9209 | ||
bc0fe8cb JH |
9210 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
9211 | ||
9212 | * lto-section-in.c (lto_input_1_unsigned): Move to lto-streamer.h | |
9213 | (lto_section_overrun): New. | |
9214 | * lto-section-out.c (append_block): Rename to ... | |
9215 | (lto_append_block): ... this one; export. | |
9216 | (lto_output_1_stream): Move lto lto-streamer.h | |
9217 | (lto_output_data_stream): Update. | |
9218 | * lto-streamer.h (lto_section_overrun, lto_append_block): Declare. | |
9219 | (lto_output_1_stream, lto_input_1_unsigned): Turn into inline | |
9220 | functions. | |
9221 | ||
f070a9d1 RG |
9222 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
9223 | ||
9224 | * tree.c (tree_code_counts): New global array. | |
9225 | (record_node_allocation_statistics): Count individual tree codes. | |
9226 | (dump_tree_statistics): Dump individual code stats. | |
9227 | ||
09dfe187 JH |
9228 | 2011-05-01 Jan Hubicka <jh@suse.cz> |
9229 | ||
9230 | * ipa-inline.c (caller_growth_limits): Fix thinko when | |
9231 | looking for largest stack frame. | |
9232 | * ipa-inline.h (dump_inline_summary): Declare. | |
9233 | * ipa-inline-analysis.c (dump_inline_edge_summary): Dump info | |
9234 | on stack usage. | |
9235 | (dump_inline_summary): Export. | |
9236 | (debug_inline_summary): Declare as DEBUG_FUNCTION. | |
9237 | ||
6f76a878 AS |
9238 | 2011-05-01 Anatoly Sokolov <aesok@post.ru> |
9239 | ||
9240 | * reginfo.c (memory_move_cost): Change rclass argument type form | |
9241 | 'enum reg_class' to reg_class_t. | |
9242 | * reload.h (memory_move_cost): Update prototype. | |
9243 | * postreload.c reload_cse_simplify_set): Change type dclass var to | |
9244 | reg_class_t. | |
9245 | * ira-int.h (ira_allocate_cost_vector, ira_free_cost_vector): | |
9246 | Update prototype. | |
9247 | (ira_allocate_and_set_costs): Change aclass argument type form | |
9248 | 'enum reg_class' to reg_class_t. | |
6bec6c98 | 9249 | * ira-build.c (ira_allocate_cost_vector, ira_free_cost_vector): |
6f76a878 AS |
9250 | Change aclass argument type to reg_class_t. |
9251 | (update_conflict_hard_reg_costs): Change type aclass and pref vars | |
9252 | to reg_class_t. | |
9253 | * gcc/ira.c (setup_class_subset_and_memory_move_costs): Adjust | |
9254 | memory_move_cost call. | |
9255 | ||
9256 | * config/ia64/ia64.c (ia64_register_move_cost): Remove 'from' and | |
9257 | 'to' local var. Rename from_i and to_i arguments to 'from' and 'to'. | |
9258 | Change type tmp var to reg_class_t. | |
9259 | ||
9a4ac625 JH |
9260 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
9261 | ||
9262 | * ipa-inline.c (can_inline_edge_p): Disregard limits when | |
9263 | inlining into function with flatten attribute. | |
9264 | (want_inline_small_function_p): Be more realistic about inlining | |
9265 | cold calls where callee size grows. | |
9266 | ||
dd8352ee JH |
9267 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
9268 | ||
9269 | * cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor | |
9270 | flags. | |
9271 | ||
46e43d2b AS |
9272 | 2011-04-30 Anatoly Sokolov <aesok@post.ru> |
9273 | ||
9274 | * config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, | |
9275 | PRINT_OPERAND_PUNCT_VALID_P): Remove. | |
9276 | * config/sparc/sparc-protos.h (print_operand): Remove declaration. | |
9277 | * config/sparc/sparc.c (TARGET_PRINT_OPERAND_PUNCT_VALID_P, | |
9278 | TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
9279 | (print_operand): Rename to... | |
9280 | (sparc_print_operand): ...this. Make static. Adjust | |
9281 | sparc_print_operand function call. | |
9282 | (sparc_print_operand_punct_valid_p, sparc_print_operand_address): New | |
9283 | functions. | |
9284 | ||
ecb62563 JH |
9285 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
9286 | ||
6bec6c98 | 9287 | PR middle-end/48752 |
ecb62563 JH |
9288 | * ipa-inline.c (early_inliner): Disable when doing late |
9289 | addition of function. | |
9290 | ||
edb9b69e JJ |
9291 | 2011-04-30 Jakub Jelinek <jakub@redhat.com> |
9292 | ||
be80a87e JJ |
9293 | * dwarf2out.c (get_address_mode): New inline. |
9294 | (mem_loc_descriptor): Add MEM_MODE parameter, adjust recursive calls, | |
9295 | if not dwarf_strict emit | |
9296 | DW_OP_GNU_{{const,regval,deref}_type,convert,reinterpret} when | |
9297 | desirable. Handle FLOAT_EXTEND, FLOAT_TRUNCATE, FLOAT, | |
9298 | UNSIGNED_FLOAT, FIX and UNSIGNED_FIX. Just return NULL for | |
9299 | FMA, STRICT_LOW_PART, CONST_VECTOR and CONST_FIXED. | |
9300 | (dwarf2out_frame_debug_cfa_expression, reg_loc_descriptor, | |
9301 | dw_loc_list_1, cst_pool_loc_descr, loc_list_from_tree): Adjust | |
9302 | mem_loc_descriptor callers. | |
9303 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
9304 | output_loc_operands_raw, hash_loc_operands, compare_loc_operands): | |
9305 | Handle DW_OP_GNU_const_type, DW_OP_GNU_regval_type, | |
9306 | DW_OP_GNU_deref_type, DW_OP_GNU_convert and DW_OP_GNU_reinterpret. | |
9307 | (base_types): New variable. | |
9308 | (get_base_type_offset, calc_base_type_die_sizes, | |
9309 | base_type_for_mode, mark_base_types, base_type_cmp, | |
9310 | move_marked_base_types): New functions. | |
9311 | (calc_die_sizes): Assert that die_offset is 0 or equal to | |
9312 | next_die_offset. | |
9313 | (loc_descriptor): Only handle here lowpart SUBREGs of REG, for | |
9314 | others defer to mem_loc_descriptor. Adjust mem_loc_descriptor | |
9315 | callers. If not dwarf_strict, call mem_loc_descriptor even for | |
9316 | non-MODE_INT modes or MODE_INT modes larger than DWARF2_ADDR_SIZE. | |
9317 | (gen_subprogram_die): Don't give up on call site parameters | |
9318 | with non-integral or large integral modes. Adjust | |
9319 | mem_loc_descriptor callers. | |
9320 | (prune_unused_types): Call prune_unused_types_mark on base_types | |
9321 | vector entries. | |
9322 | (resolve_addr): Call mark_base_types. | |
9323 | (dwarf2out_finish): Call move_marked_base_types. | |
9324 | ||
edb9b69e JJ |
9325 | PR tree-optimization/48809 |
9326 | * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned | |
9327 | type. | |
9328 | (gen_inbound_check): Don't compute index_expr - range_min in utype | |
9329 | again, instead reuse SSA_NAME initialized in build_arrays. | |
9330 | Remove two useless gsi_for_stmt calls. | |
9331 | ||
a6545a3d JL |
9332 | 2011-04-29 Jeff Law <law@redhat.com> |
9333 | ||
9334 | * tree-ssa-threadedge.c (thread_across_edge): Add missing return. | |
9335 | ||
af8bca3c MJ |
9336 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
9337 | ||
9338 | * cgraph.h (cgraph_postorder): Remove declaration. | |
9339 | * ipa-utils.h (ipa_free_postorder_info): Declare. | |
9340 | (ipa_reverse_postorder): Likewise. | |
9341 | * cgraphunit.c: Include ipa-utils.h. | |
9342 | (cgraph_expand_all_functions): Update call to ipa_reverse_postorder. | |
9343 | * ipa-inline.c: Include ipa-utils.h. | |
9344 | (ipa_inline): Update call to ipa_reverse_postorder. | |
9345 | * ipa-pure-const.c (propagate_pure_const): Update call to | |
9346 | ipa_reduced_postorder and ipa_print_order. Call | |
9347 | ipa_free_postorder_info to clean up. | |
9348 | (propagate_nothrow): Likewise. | |
9349 | * ipa-reference.c (propagate): Removed a useless call to | |
9350 | ipa_utils_reduced_inorder, updated a call to ipa_reduced_postorder | |
9351 | and ipa_print_order. Call ipa_free_postorder_info to clean up. | |
9352 | * ipa.c: Include ipa-utils.h. | |
9353 | (ipa_profile): Update call to ipa_reverse_postorder. | |
9354 | (cgraph_postorder): Moved to... | |
9355 | * ipa-utils.c (ipa_reverse_postorder): ...here and renamed. | |
9356 | (ipa_utils_print_order): Renamed to ipa_print_order. | |
9357 | (ipa_utils_reduced_inorder): Renamed to ipa_reduced_postorder. Updated | |
9358 | comments. | |
9359 | (ipa_free_postorder_info): New function. | |
9360 | * passes.c: Include ipa-utils.h. | |
9361 | (do_per_function_toporder): Update call to ipa_reverse_postorder. | |
9362 | (ipa_write_summaries): Likewise. | |
9363 | * Makefile.in (passes.o): Add IPA_UTILS_H to dependencies. | |
9364 | (cgraphunit.o): Likewise. | |
9365 | (ipa.o): Likewise. | |
9366 | (ipa-inline.o): Likewise. | |
9367 | ||
b15c64ee JH |
9368 | 2011-04-29 Jan Hubicka <jh@suse.cz> |
9369 | ||
9370 | * gcc.dg/tree-ssa/inline-10.c: New testcase. | |
9371 | * gcc.dg/tree-ssa/inline-9.c: Disable partial inlining. | |
9372 | * ipa-inline.h (clause_t): Turn into unsigned int. | |
9373 | * ipa-inline-analysis.c (add_clause): Do more simplification. | |
9374 | (and_predicates): Shortcut more cases. | |
9375 | (predicates_equal_p): Move forward; check that clauses are properly | |
9376 | ordered. | |
9377 | (or_predicates): Shortcut more cases. | |
9378 | (edge_execution_predicate): Rewrite as... | |
9379 | (set_cond_stmt_execution_predicate): ... this function; handle | |
9380 | __builtin_constant_p. | |
9381 | (set_switch_stmt_execution_predicate): New . | |
9382 | (compute_bb_predicates): New. | |
9383 | (will_be_nonconstant_predicate): Update TODO. | |
9384 | (estimate_function_body_sizes): Use compute_bb_predicates | |
9385 | and free them later, always try to estimate if stmt is constant. | |
9386 | (estimate_time_after_inlining, estimate_size_after_inlining): | |
9387 | Gracefully handle optimized out edges. | |
9388 | (read_predicate): Fix off by one error. | |
9389 | ||
a88fdc2a NP |
9390 | 2011-04-29 Nicola Pero <nicola.pero@meta-innovation.com> |
9391 | ||
9392 | * Makefile.in (ENABLE_MAINTAINER_RULES): New. | |
9393 | ||
d984c8ef XDL |
9394 | 2011-04-27 Xinliang David Li <davidxl@google.com> |
9395 | ||
9396 | * tree-profile.c (init_ic_make_global_vars): Set | |
9397 | tls attribute on ic vars. | |
9398 | * coverage.c (coverage_end_function): Initialize | |
9399 | function_list with zero. | |
9400 | ||
45a2c477 RG |
9401 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9402 | ||
9403 | * builtins.c (fold_builtin_classify_type): Use integer_type_node | |
9404 | for the type of the result. | |
9405 | (fold_builtin_isascii): Likewise. | |
9406 | (fold_builtin_toascii): Use integer_type_node where appropriate. | |
9407 | (fold_builtin_logb): Likewise. | |
9408 | (fold_builtin_frexp): Likewise. | |
9409 | (fold_builtin_strstr): Likewise. | |
9410 | (fold_builtin_strpbrk): Likewise. | |
9411 | (fold_builtin_fputs): Likewise. | |
9412 | (fold_builtin_sprintf): Likewise. | |
9413 | (fold_builtin_snprintf): Likewise. | |
9414 | (fold_builtin_printf): Likewise. | |
9415 | (do_mpfr_remquo): Use a proper type for the assigned constant. | |
9416 | (do_mpfr_lgamma_r): Likewise. | |
9417 | * dwarf2out.c (resolve_one_addr): Use size_int. | |
9418 | * except.c (init_eh): Likewise. | |
9419 | (assign_filter_values): Use integer_type_node for filter values. | |
9420 | (sjlj_emit_dispatch_table): Use integer_type_node for dispatch | |
9421 | indices. | |
9422 | * tree-cfg.c (move_stmt_eh_region_tree_nr): Use integer_type_node | |
9423 | for EH region numbers. | |
9424 | * tree-vrp.c (simplify_div_or_mod_using_ranges): Use integer_type_node | |
9425 | for the shift amount. | |
9426 | ||
eb6c3df1 RG |
9427 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9428 | ||
9429 | * expr.h (expand_shift): Rename to ... | |
9430 | (expand_variable_shift): ... this. | |
9431 | (expand_shift): Take a constant shift amount. | |
9432 | * expmed.c (expand_shift): Rename to ... | |
9433 | (expand_variable_shift): ... this. | |
9434 | (expand_shift): New wrapper around expand_variable_shift. | |
9435 | * expr.c (convert_move, emit_group_load_1, emit_group_store, | |
9436 | optimize_bitfield_assignment_op, store_field, expand_expr_real_2, | |
9437 | expand_expr_real_1, reduce_to_bit_field_precision): Adjust. | |
9438 | * expmed.c (store_fixed_bit_field, extract_bit_field_1, | |
9439 | extract_fixed_bit_field, extract_split_bit_field, expand_mult_const, | |
9440 | expand_mult, expand_widening_mult, expand_mult_highpart_adjust, | |
9441 | extract_high_half, expand_sdiv_pow2, expand_divmod, emit_cstore, | |
9442 | emit_store_flag_1, emit_store_flag): Likewise. | |
9443 | * builtins.c (expand_builtin_signbit): Likewise. | |
9444 | * calls.c (load_register_parameters): Likewise. | |
9445 | * function.c (assign_parm_setup_block): Likewise. | |
9446 | * lower-subreg.c (resolve_shift_zext): Likewise. | |
9447 | * optabs.c (widen_bswap, expand_abs_nojump, | |
9448 | expand_one_cmpl_abs_nojump, expand_float): Likewise. | |
9449 | * spu/spu.c (spu_expand_extv): Likewise. | |
9450 | * sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
9451 | ||
9f616812 RG |
9452 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9453 | ||
9454 | * tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node | |
9455 | for the remapped region number. | |
9456 | * predict.c (build_predict_expr): Use integer_type_node for the | |
9457 | predict kind. | |
9458 | * fold-const.c (fold_binary_loc): Use integer_type_node for | |
9459 | the shift amount. Use a proper type for the PLUS_EXPR operand. | |
9460 | ||
b823cdfe MM |
9461 | 2011-04-29 Michael Matz <matz@suse.de> |
9462 | ||
9463 | * lto-streamer.c (lto_streamer_cache_insert_1): Accept to override | |
9464 | other trees that just builtins. | |
9465 | (lto_record_common_node): Don't leave NULL TYPE_CANONICAL. | |
9466 | ||
413581ba RG |
9467 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9468 | ||
9469 | * tree-nested.c (get_trampoline_type): Use size_int. | |
9470 | (get_nl_goto_field): Likewise. | |
9471 | * tree-eh.c (lower_try_finally_switch): Use integer_type_node | |
9472 | for all indexes. | |
9473 | (lower_eh_constructs_2): Likewise. | |
9474 | (lower_resx): Likewise. | |
9475 | (lower_eh_dispatch): Likewise. | |
9476 | * tree-mudflap.c (mf_build_string): Use size_int. | |
9477 | (mudflap_register_call): Use integer_type_node for the flag. | |
9478 | (mudflap_enqueue_constant): Use size_int. | |
9479 | * tree-chrec.c (reset_evolution_in_loop): Copy CHREC_VAR | |
9480 | instead of rebuilding it. | |
9481 | ||
5c04e9f4 RG |
9482 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9483 | ||
9484 | * tree-ssa-structalias.c (get_fi_for_callee): Restructure. | |
9485 | Handle OBJ_TYPE_REF. | |
9486 | (find_func_aliases_for_call): Use it more consistently. | |
9487 | ||
5c24671b AO |
9488 | 2011-04-29 Alexandre Oliva <aoliva@redhat.com> |
9489 | ||
9490 | * haifa-sched.c (last_nondebug_scheduled_insn): New. | |
9491 | (rank_for_schedule): Use it. | |
9492 | (schedule_block): Set it. | |
9493 | ||
10adac51 XDL |
9494 | 2011-04-28 David Li <davidxl@google.com> |
9495 | ||
9496 | * tree.c (crc32_string): Use crc32_byte. | |
9497 | (crc32_byte): New function. | |
9498 | * tree.h (crc32_byte): New function. | |
9499 | * gcov.c (read_graph_file): Handle new cfg_cksum. | |
9500 | (read_count_file): Ditto. | |
9501 | * profile.c (instrument_values): Ditto. | |
9502 | (get_exec_counts): Ditto. | |
9503 | (read_profile_edge_counts): Ditto. | |
9504 | (compute_branch_probabilities): Ditto. | |
9505 | (compute_value_histograms): Ditto. | |
9506 | (branch_prob): Ditto. | |
9507 | (end_branch_prob): Ditto. | |
9508 | * coverage.c (read_counts_file): Ditto. | |
9509 | (get_coverage_counts): Ditto. | |
9510 | (tree_coverage_counter_addr): Ditto. | |
9511 | (coverage_checksum_string): Ditto. | |
9512 | (coverage_begin_output): Ditto. | |
9513 | (coverage_end_function): Ditto. | |
9514 | (build_fn_info_type): Ditto. | |
9515 | (build_fn_info_value): Ditto. | |
9516 | * libgcov.c (gcov_exit): Ditto. | |
9517 | * gcov-dump.c (tag_function): Ditto. | |
9518 | (compute_checksum): Remove. | |
9519 | ||
5d6358a5 AM |
9520 | 2011-04-29 Alan Modra <amodra@gmail.com> |
9521 | ||
9522 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
9523 | unspec plus offset. Tidy macho code. | |
9524 | ||
85ad2ef5 MJ |
9525 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
9526 | ||
9527 | * cgraphunit.c (cgraph_preserve_function_body_p): Accept a cgraph | |
9528 | node instead of a decl. Update all callers. | |
9529 | * cgraph.h: Update declaration. | |
9530 | ||
437f4a00 IR |
9531 | 2011-04-28 Ira Rosen <ira.rosen@linaro.org> |
9532 | ||
9533 | PR tree-optimization/48765 | |
9534 | * tree-vectorizer.h (vect_make_slp_decision): Return bool. | |
9535 | * tree-vect-loop.c (vect_analyze_loop_operations): Add new argument | |
9536 | to indicate if loop aware SLP is being used. Scan the statements | |
9537 | and update the vectorization factor according to the type of | |
9538 | vectorization before statement analysis. | |
9539 | (vect_analyze_loop_2): Get a return value from vect_make_slp_decision, | |
9540 | pass it to vect_analyze_loop_operations. | |
9541 | (vectorizable_reduction): Set number of copies to 1 in case of pure | |
9542 | SLP statement. | |
9543 | * tree-vect-stmts.c (vectorizable_conversion, | |
9544 | vectorizable_assignment, vectorizable_shift, | |
9545 | vectorizable_operation, vectorizable_type_demotion, | |
9546 | vectorizable_type_promotion, vectorizable_store, vectorizable_load): | |
9547 | Likewise. | |
9548 | (vectorizable_condition): Move the check that it is not SLP | |
9549 | vectorization before the number of copies check. | |
9550 | * tree-vect-slp.c (vect_make_slp_decision): Return TRUE if decided | |
9551 | to vectorize the loop using SLP. | |
9552 | ||
c6fc44f3 JJ |
9553 | 2011-04-28 Jakub Jelinek <jakub@redhat.com> |
9554 | ||
9555 | PR middle-end/48597 | |
9556 | * final.c (final_scan_insn): Call dwarf2out_frame_debug even for | |
9557 | inline asm. | |
9558 | ||
6c0170ea JM |
9559 | 2011-04-28 Joseph Myers <joseph@codesourcery.com> |
9560 | ||
9561 | * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | | |
9562 | *-*-kopensolaris*-gnu): Don't define SINGLE_LIBC. | |
9563 | (i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
9564 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
9565 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Don't use | |
9566 | linux*.h headers. | |
6bec6c98 | 9567 | * config/gnu-user.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Define. |
6c0170ea JM |
9568 | * config/i386/gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
9569 | * config/i386/kfreebsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
9570 | * config/i386/knetbsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
6bec6c98 | 9571 | * config/i386/kopensolaris-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
6c0170ea JM |
9572 | * config/i386/linux-unwind.h (x86_fallback_frame_state): Don't use |
9573 | REG_NAME. | |
9574 | * config/i386/linux.h (REG_NAME): Don't define. | |
9575 | * config/i386/linux64.h (REG_NAME): Don't define. | |
9576 | * config/linux.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): | |
9577 | Undefine before defining. | |
9578 | ||
970dabbd JH |
9579 | 2011-04-28 Jan Hubicka <jh@suse.cz> |
9580 | ||
6bec6c98 UB |
9581 | * ipa-inline-analysis.c (will_be_nonconstant_predicate): Take |
9582 | nonconstant_names array. | |
970dabbd JH |
9583 | (estimate_function_body_sizes): Build nonconstant_names array; handle |
9584 | BUILT_IN_CONSTANT_P. | |
9585 | ||
8d3e3924 RG |
9586 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
9587 | ||
9588 | PR bootstrap/48804 | |
9589 | Revert | |
9590 | 2011-04-28 Richard Guenther <rguenther@suse.de> | |
9591 | ||
9592 | * tree-ssa-structalias.c (solve_constraints): Build succ graph | |
9593 | as late as possible. | |
6bec6c98 | 9594 | |
8576f20a RG |
9595 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
9596 | ||
9597 | * tree-ssa-structalias.c (dump_constraint): Don't end the line. | |
9598 | (debug_constraint): Do it here. | |
9599 | (dump_constraints): And here. | |
9600 | (rewrite_constraints): And here. | |
9601 | (dump_constraint_edge): Remove. | |
9602 | (dump_constraint_graph): Rewrite to produce DOT output. | |
9603 | (solve_constraints): Build succ graph as late as possible. | |
9604 | Dump constraint graphs before and after solving. | |
9605 | ||
e38811ce RG |
9606 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
9607 | ||
9608 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
9609 | New function split out from ... | |
9610 | (find_func_aliases): ... here. Call it. | |
9611 | (find_func_aliases_for_call): Likewise. | |
9612 | ||
fbaf0d0c GDR |
9613 | 2011-04-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
9614 | ||
9615 | * internal-fn.h (internal_fn_name_array): Declare. | |
9616 | (internal_fn_flags_array): Likewise. | |
9617 | ||
cbb734aa UB |
9618 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
9619 | ||
9620 | * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, | |
9621 | ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp. | |
9622 | Move from sse.md. | |
9623 | (ssemodefsuffix): Remove. | |
9624 | (ssevecmodesuffix): New mode attribute. | |
9625 | (fix_trunc<mode>di_sse, fix_trunc<mode>si_sse, | |
9626 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit, | |
9627 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit, | |
9628 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit, | |
9629 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit, setcc_<mode>_sse, | |
9630 | *sqrt<mode>2_sse, sse4_1_round<mode>2, <smaxmin:code><mode>3, | |
9631 | *ieee_smin<mode>3, *ieee_smax<mode>3): Adjust assembler templates for | |
9632 | ssemodesuffix mode attribute. | |
9633 | (float splitters): Use ssevecmodesuffix mode attribute. | |
9634 | * config/i386/sse.md (ssescalarmode): Merge with avxscalarmode. | |
9635 | (sseinsmode): Rename from avxvecmode. | |
9636 | (avxsizesuffix): Rename from avxmodesuffix. | |
9637 | (sseintvecmode): Rename from avxpermvecmode. | |
9638 | (ssedoublevecmode): Rename from ssedoublesizemode. | |
9639 | (ssehalfvecmode): Rename from avxhalfvecmode. | |
9640 | (ssescalarmode): Rename from avxscalarmode. | |
9641 | (<sse>_comi, <sse>_ucomi, sse4a_movnt<mode>): Adjust assembler | |
9642 | templates for ssemodesuffix mode attribute. | |
9643 | (*andnot<mode>3, *<any_logic:code><mode>3): Use ssevecmodesuffix | |
9644 | mode attribute. | |
9645 | ||
9646 | Adjust RTX patterns globally for renamed mode attributes. | |
9647 | ||
991278ab JH |
9648 | 2011-04-27 Jan Hubcika <jh@suse.cz> |
9649 | ||
9650 | * ipa-inline.h (struct inline_edge_summary): Add predicate pointer. | |
9651 | * ipa-inline-analysis.c: Include alloc-pool.h. | |
9652 | (edge_predicate_pool): New. | |
9653 | (trye_predicate_p): New function | |
9654 | (false_predicate_p): New function. | |
9655 | (add_clause): Sanity check that false clauses are "optimized"; | |
9656 | never add clauses to predicate that is already known to be false. | |
9657 | (and_predicate): Use flase_predicate_p. | |
9658 | (evaulate_predicate): Rename to ... | |
9659 | (evaluate_predicate): ... this one; update all callers; assert | |
9660 | that false is not listed among possible truths. | |
9661 | (dump_predicate): Use true_predicate_p. | |
9662 | (account_size_time): Use false_predicate_p. | |
9663 | (evaulate_conditions_for_edge): Rename to ... | |
9664 | (evaluate_conditions_for_edge) ... this one. | |
9665 | (edge_set_predicate): New function. | |
9666 | (inline_edge_duplication_hook): Duplicate edge predicates. | |
9667 | (inline_edge_removal_hook): Free edge predicates. | |
cbb734aa | 9668 | (dump_inline_edge_summary): Add INFO parameter; dump edge predicates. |
991278ab JH |
9669 | (dump_inline_summary): Update. |
9670 | (estimate_function_body_sizes): Set edge predicates. | |
9671 | (estimate_calls_size_and_time): Handle predicates. | |
9672 | (estimate_callee_size_and_time): Update. | |
9673 | (remap_predicate): Add toplev_predicate; update comment. | |
9674 | (remap_edge_predicates): New function. | |
9675 | (inline_merge_summary): Compute toplev predicate; update. | |
9676 | (read_predicate): New function. | |
9677 | (read_inline_edge_summary): Use it. | |
9678 | (inline_read_section): Likewise. | |
9679 | (write_predicate): New function. | |
9680 | (write_inline_edge_summary): Use it. | |
9681 | (inline_write_summary): Likewise. | |
9682 | (inline_free_summary): Free alloc pool and edge summary vec. | |
9683 | ||
648b5f85 RG |
9684 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9685 | ||
9686 | * tree-ssa-structalias.c (changed_count): Remove. | |
9687 | (changed): Use a bitmap. | |
9688 | (unify_nodes): Adjust. | |
9689 | (do_sd_constraint): Likewise. | |
9690 | (do_ds_constraint): Likewise. | |
9691 | (do_complex_constraint): Likewise. | |
9692 | (solve_graph): Likewise. | |
9693 | ||
4d5dcfb2 JH |
9694 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
9695 | ||
9696 | * cgraphunit.c (cgraph_process_new_functions): Fix ordering issue. | |
9697 | ||
200eb7d2 UB |
9698 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
9699 | ||
9700 | * config/i386/predicates.md (avx_vpermilp_*_operand): Remove. | |
9701 | (avx_vperm2f128_*_operand): Ditto. | |
9702 | * config/i386/sse.md (*avx_vpermilp<mode>): Remove operand2 predicate. | |
9703 | Use avx_vpermilp_parallel in insn condition. | |
9704 | (*avx_vperm2f128<mode>_nozero): Remove operand3 predicate. | |
9705 | Use avx_vperm2f128_parallel in insn condition. | |
9706 | ||
7d6e2521 RG |
9707 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9708 | ||
9709 | * Makefile.in (tree-ssa-structalias.o): Remove | |
9710 | gt-tree-ssa-structalias.h dependency. | |
9711 | (GTFILES): Remove tree-ssa-structalias.c. | |
9712 | * tree.c (allocate_decl_uid): New function. | |
9713 | (make_node_stat): Use it. | |
9714 | (copy_node_stat): Likewise. | |
9715 | * tree.h (allocate_decl_uid): Declare. | |
9716 | * tree-ssa-alias.h (delete_alias_heapvars): Remove. | |
9717 | * tree-ssa.c (delete_tree_ssa): Do not call delete_alias_heapvars. | |
9718 | * tree-flow.h (struct var_ann_d): Remove is_heapvar flag. | |
200eb7d2 | 9719 | * tree-ssa-live.c (remove_unused_locals): Do not check is_heapvar flag. |
7d6e2521 RG |
9720 | * tree-ssa-structalias.c (heapvar_for_stmt): Remove. |
9721 | (struct heapvar_map): Likewise. | |
9722 | (heapvar_map_eq, heapvar_map_hash, heapvar_lookup, | |
9723 | heapvar_insert): Likewise. | |
9724 | (make_heapvar_for): Rename to ... | |
9725 | (make_heapvar): ... this. Simplify. | |
9726 | (fake_var_decl_obstack): New global var. | |
9727 | (build_fake_var_decl): New function. | |
9728 | (make_constraint_from_heapvar): Adjust. | |
9729 | (handle_lhs_call): Likewise. | |
9730 | (create_function_info_for): Likewise. | |
9731 | (intra_create_variable_infos): Likewise. | |
9732 | (init_alias_vars): Allocate fake_var_decl_obstack. | |
9733 | (init_alias_heapvars, delete_alias_heapvars): Remove. | |
9734 | (compute_points_to_sets): Do not call init_alias_heapvars. | |
9735 | (ipa_pta_execute): Likewise. | |
9736 | (delete_points_to_sets): Free fake_var_decl_obstack. | |
9737 | ||
526ed6c2 UW |
9738 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9739 | ||
9740 | * config/spu/divmovti4.c (union qword_UTItype): New data type. | |
9741 | (si_from_UTItype, si_to_UTItype): New functions. | |
9742 | (__udivmodti4): Use them to implement type-punning. | |
9743 | * config/spu/multi3.c (union qword_TItype): New data type. | |
9744 | (si_from_TItype, si_to_TItype): New functions. | |
9745 | (__multi3): Use them to implement type-punning. | |
9746 | ||
c187d33c UW |
9747 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9748 | ||
9749 | * config/spu/spu.c (spu_expand_epilogue): Do not emit barrier. | |
9750 | ||
40982661 JH |
9751 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
9752 | ||
9753 | * ipa-prop.c (function_insertion_hook_holder): New holder. | |
9754 | (ipa_add_new_function): New function. | |
200eb7d2 UB |
9755 | (ipa_register_cgraph_hooks, ipa_unregister_cgraph_hooks): |
9756 | Register/deregister holder. | |
40982661 | 9757 | |
9aef53ee RG |
9758 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9759 | ||
9760 | PR tree-optimization/48772 | |
200eb7d2 | 9761 | * tree-ssa-pre.c (eliminate): Update call stmts after elimination only. |
9aef53ee | 9762 | |
f63d806d RG |
9763 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9764 | ||
9765 | * tree-ssa-alias.c (indirect_refs_may_alias_p): Fix | |
9766 | TARGET_MEM_REF handling. | |
9767 | ||
e1ea7451 NC |
9768 | 2011-04-27 Nick Clifton <nickc@redhat.com> |
9769 | ||
9b5db25d NC |
9770 | * config/frv/frv.h (enum reg_class): Delete EVEN_ACC_REGS, |
9771 | ACC_REGS, FEVEN_REGS, FPR_REGS, EVEN_REGS. | |
9772 | (REG_CLASS_NAMES): Likewise. | |
9773 | (REG_CLASS_CONTENTS): Likewise. | |
9774 | (EVEN_ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9775 | (ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9776 | (FEVEN_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9777 | (FPR_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9778 | (EVEN_REGS): New macro. Alias for QUAD_REGS. | |
9779 | * config/frv/frv.c (frv_secondary_reload_class): Remove use of | |
9780 | duplicate register classes. | |
97d20907 | 9781 | (frv_class_likely_spilled_p): Likewise. |
9b5db25d NC |
9782 | (frv_register_move_cost): Likewise. |
9783 | ||
e1ea7451 NC |
9784 | * config/mcore/mcore.h (REGNO_REG_CLASS): Do not index beyond the |
9785 | end of the regno_reg_class array. | |
9786 | ||
5c2f94b4 JJ |
9787 | 2011-04-27 Jakub Jelinek <jakub@redhat.com> |
9788 | ||
9789 | PR c/48742 | |
9790 | * c-typeck.c (build_binary_op): Don't wrap arguments if | |
9791 | int_operands is true. | |
9792 | ||
57a944d7 KK |
9793 | 2011-04-26 Kaz Kojima <kkojima@gcc.gnu.org> |
9794 | ||
9795 | PR target/48767 | |
9796 | * config/sh/sh.c (sh_gimplify_va_arg_expr): Don't call | |
9797 | targetm.calls.must_pass_in_stack for void type. | |
9798 | ||
898b8927 JH |
9799 | 2011-04-26 Jan Hubicka <jh@suse.cz> |
9800 | ||
9801 | * cgraphbuild.c (build_cgraph_edges): Update call | |
9802 | of cgraph_create_edge and cgraph_create_indirect_edge. | |
9803 | * cgraph.c (cgraph_create_edge_including_clones, | |
9804 | cgraph_create_edge_1, cgraph_allocate_init_indirect_info, | |
9805 | cgraph_update_edges_for_call_stmt_node): Do not take nest | |
9806 | argument; do not initialize call_stmt_size/time. | |
9807 | (dump_cgraph_node): Do not dump nest. | |
9808 | (cgraph_clone_edge): Do not take loop_nest argument; | |
9809 | do not propagate it; do not clone call_stmt_size/time. | |
9810 | (cgraph_clone_node): Likewise. | |
9811 | (cgraph_create_virtual_clone): Update. | |
9812 | * cgraph.h (struct cgraph_edge): Remove | |
9813 | call_stmt_size/call_stmt_time/loop_nest. | |
9814 | (cgraph_create_edge, cgraph_create_indirect_edge, | |
9815 | cgraph_create_edge_including_clones, cgraph_clone_node): Update | |
9816 | prototype. | |
9817 | * tree-emutls.c (gen_emutls_addr): Update. | |
9818 | * ipa-inline-transform.c (update_noncloned_frequencies): Do not handle | |
9819 | loop_nest; handle indirect calls, too. | |
9820 | (clone_inlined_nodes): Do not care about updating inline summaries. | |
9821 | * cgraphunit.c (cgraph_copy_node_for_versioning): Update. | |
9822 | * lto-cgraph.c (lto_output_edge, input_node, input_edge): Do not | |
9823 | stream call_stmt_size/call_stmt_time/loop_nest. | |
9824 | * ipa-inline.c (edge_badness): Update. | |
9825 | (ipa_inline): dump summaries after inlining. | |
9826 | * ipa-inline.h (struct inline_edge_summary, inline_edge_summary_t): | |
200eb7d2 | 9827 | New. |
898b8927 JH |
9828 | (inline_edge_summary): New function. |
9829 | * ipa-inline-analysis.c (edge_duplication_hook_holder): New holder. | |
9830 | (inline_edge_removal_hook): Handle edge summaries. | |
9831 | (inline_edge_duplication_hook): New hook. | |
9832 | (inline_summary_alloc): Alloc hooks. | |
9833 | (initialize_growth_caches): Do not register removal hooks. | |
9834 | (free_growth_caches); Do not free removal hook. | |
9835 | (dump_inline_edge_summary): New function. | |
9836 | (dump_inline_summary): Use it. | |
9837 | (estimate_function_body_sizes, estimate_edge_size_and_time): Update. | |
9838 | (inline_update_callee_summaries): New function. | |
9839 | (inline_merge_summary): Use it. | |
9840 | (do_estimate_edge_time, do_estimate_edge_growth): Update. | |
9841 | (read_inline_edge_summary): New function. | |
9842 | (inline_read_section): Use it. | |
9843 | (write_inline_edge_summary): New function. | |
9844 | (inline_write_summary): Use it. | |
9845 | (inline_free_summary): Free edge new holders. | |
9846 | * tree-inline.c (copy_bb): Update. | |
9847 | ||
ffa03772 JM |
9848 | 2011-04-26 Jason Merrill <jason@redhat.com> |
9849 | ||
9850 | * tree-eh.c (lower_try_finally_switch): Create the label along with | |
9851 | the CASE_LABEL_EXPR. | |
9852 | ||
6d7b45ad DM |
9853 | 2011-04-26 David S. Miller <davem@davemloft.net> |
9854 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
9855 | ||
9856 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Specify alignment. | |
9857 | * configure: Regenerate. | |
9858 | ||
df10b6d4 MM |
9859 | 2011-04-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
9860 | ||
9861 | PR target/48258 | |
9862 | * config/rs6000/vector.md (UNSPEC_REDUC): New unspec for vector | |
9863 | reduction. | |
9864 | (VEC_reduc): New code iterator and splitters for vector reduction. | |
9865 | (VEC_reduc_name): Ditto. | |
9866 | (VEC_reduc_rtx): Ditto. | |
9867 | (reduc_<VEC_reduc_name>_v2df): Vector reduction expanders for VSX. | |
9868 | (reduc_<VEC_reduc_name>_v4sf): Ditto. | |
9869 | ||
9870 | * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Add | |
9871 | support for extracting SF on VSX. | |
9872 | ||
9873 | * config/rs6000/vsx.md (vsx_xscvspdp_scalar2): New insn for | |
9874 | generating xscvspdp. | |
9875 | (vsx_extract_v4sf): New insn to extract SF from V4SF vector. | |
9876 | (vsx_reduc_<VEC_reduc_name>_v2df): New insns and splitters for | |
9877 | double add, minimum, maximum vector reduction. | |
9878 | (vsx_reduc_<VEC_reduc_name>_v4sf): Ditto. | |
9879 | (vsx_reduc_<VEC_reduc_name>_v2df2_scalar): New combiner insn to | |
9880 | optimize double vector reduction. | |
9881 | (vsx_reduc_<VEC_reduc_name>_v4sf_scalar): Ditto. | |
9882 | ||
35a5db04 JM |
9883 | 2011-04-26 Joseph Myers <joseph@codesourcery.com> |
9884 | ||
9885 | * config/fr30/fr30.h (inhibit_libc): Don't define. | |
9886 | * config/m32r/m32r-protos.h: Correct comment. | |
9887 | * config/v850/v850.h (GHS_default_section_names, | |
9888 | GHS_current_section_names): Use tree, not union tree_node *. | |
9889 | ||
2f964ad6 XDL |
9890 | 2011-04-26 Xinliang David Li <davidxl@google.com> |
9891 | ||
200eb7d2 | 9892 | * tree-ssa-uninit.c (warn_uninitialized_phi): Pass warning code. |
2f964ad6 XDL |
9893 | * c-family/c-opts.c (c_common_handle_option): Set |
9894 | warn_maybe_uninitialized. | |
9895 | * opts.c (common_handle_option): Ditto. | |
9896 | * common.opt: New option. | |
9897 | * tree-ssa.c (warn_uninit): Add one more parameter. | |
9898 | (warn_uninitialized_var): Pass warning code. | |
9899 | * tree-flow.h: Interface change. | |
9900 | ||
9c7bd91a RO |
9901 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9902 | ||
200eb7d2 | 9903 | * config/mips/iris6.h (LOCAL_LABEL_PREFIX): Don't test TARGET_NEWABI. |
9c7bd91a RO |
9904 | (WINT_TYPE_SIZE): Use INT_TYPE_SIZE. |
9905 | (TARGET_OS_CPP_BUILTINS): Remove TARGET_IRIX6 guards. | |
9906 | ||
c2f36e21 RO |
9907 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9908 | ||
9909 | * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. | |
9910 | * config/mips/mips.opt (mmips-tfile): Remove. | |
9911 | ||
9912 | * doc/install.texi (Specific, mips-*-*): Move mips-tfile, | |
9913 | mips-tdump reference to ... | |
200eb7d2 | 9914 | (Specific, alpha*-dec-osf5.1): ... here. Adapt for Tru64 UNIX. |
c2f36e21 RO |
9915 | * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS |
9916 | reference by Tru64 UNIX. | |
9917 | ||
2c9da85b JJ |
9918 | 2011-04-26 Jakub Jelinek <jakub@redhat.com> |
9919 | ||
0c5f6539 JJ |
9920 | PR debug/48768 |
9921 | * tree-ssa.c (insert_debug_temp_for_var_def): If degenerate_phi_result | |
9922 | is error_mark_node, set value to NULL. | |
9923 | ||
2c9da85b JJ |
9924 | PR tree-optimization/48734 |
9925 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up | |
9926 | if return value from maybe_fold_*_comparsions isn't something | |
9927 | the code is prepared to handle. | |
9928 | ||
77fa1d54 UB |
9929 | 2011-04-26 Uros Bizjak <ubizjak@gmail.com> |
9930 | ||
9931 | * config/i386/predicates.md (ext_QIreg_operand): Remove extra | |
9932 | mode check. | |
9933 | (ext_QIreg_nomode_operands): Remove. | |
9934 | * config/i386/i386.md (*anddi_1): Use ext_QIreg_operand. | |
9935 | (*andsi_1): Ditto. | |
9936 | (*andhi_1): Ditto. | |
9937 | ||
0e2a6c2b AS |
9938 | 2011-04-26 Andrew Stubbs <ams@codesourcery.com> |
9939 | ||
9940 | * config/arm/arm.c (arm_gen_constant): Remove can_negate_initial. | |
9941 | ||
961562d8 RB |
9942 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
9943 | ||
9944 | * c-typeck.c (build_unary_op): Do not expand array-refs via | |
9945 | pointer arithmetic. Only adjust qualifiers for function types. | |
9946 | ||
9947 | 2011-04-26 Richard Guenther <rguenther@suse.de> | |
9948 | ||
9949 | PR middle-end/48694 | |
9950 | * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. | |
9951 | * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs | |
77fa1d54 UB |
9952 | compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees |
9953 | with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. | |
961562d8 | 9954 | |
a0d260fc PC |
9955 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
9956 | ||
6bec6c98 | 9957 | * doc/extend.texi: Document __underlying_type. |
a0d260fc | 9958 | |
4d583bb9 SB |
9959 | 2011-04-25 Segher Boessenkool <segher@kernel.crashing.org> |
9960 | ||
9961 | * config/rs6000/titan.md (automata_option "progress"): Remove. | |
9962 | ||
1f3fcdc3 JL |
9963 | 2011-04-25 Jeff Law <law@redhat.com> |
9964 | ||
9965 | * tree-vrp.c (identify_jump_threads): Handle GIMPLE_SWITCH too. | |
9966 | ||
e5b0dad8 JK |
9967 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
9968 | ||
9969 | * system.h (ENUM_BITFIELD): Remove. | |
9970 | ||
5157a881 | 9971 | 2011-04-25 Maxim Kuvyrkov <maxim@codesourcery.com> |
b15eacc7 | 9972 | Eric Botcazou <ebotcazou@adacore.com> |
5157a881 MK |
9973 | |
9974 | * combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals | |
9975 | for STORE_FLAG_VALUE==-1 case. | |
9976 | ||
ed4c109e RS |
9977 | 2011-04-24 Richard Sandiford <richard.sandiford@linaro.org> |
9978 | ||
9979 | PR target/43804 | |
9980 | * config/m68k/constraints.md (T): Allow PIC operands that satisfy | |
9981 | LEGITIMATE_PIC_OPERAND_P. | |
9982 | ||
f3181aa2 JH |
9983 | 2011-04-24 Jan Hubicka <jh@suse.cz> |
9984 | ||
9985 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Remove obsolette | |
9986 | WPA hack. | |
77fa1d54 UB |
9987 | * ipa-prop.h (ipa_get_param, ipa_is_param_used, |
9988 | ipa_param_cannot_devirtualize_p, ipa_param_types_vec_empty, | |
9989 | ipa_get_ith_jump_func, ipa_get_lattice): Fortify array bounds. | |
f3181aa2 JH |
9990 | * ipa-inline-analysis.c (add_clause): Fix clause ordering. |
9991 | (and_predicates, or_predicates, predicates_equal_p, evaulate_predicate): | |
9992 | Sanity check predicate length. | |
9993 | (remap_predicate): Likewise; sanity check jump functions. | |
9994 | (inline_read_section, inline_write_summary): Sanity check | |
9995 | predicate length. | |
9996 | ||
5307cbaa PC |
9997 | 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
9998 | ||
9999 | PR other/48748 | |
10000 | * doc/extend.texi (Type Traits): Document __is_standard_layout, | |
10001 | __is_literal_type, and __is_trivial; update throughout about | |
10002 | possibly cv-qualified void types. | |
10003 | ||
bebd5f99 GP |
10004 | 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
10005 | ||
10006 | * doc/sourcebuild.texi (Ada Tests): Adjust reference to ACATS | |
10007 | testsuite and make it version agnostic. | |
10008 | ||
7ee28a74 JH |
10009 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
10010 | ||
10011 | * ipa-inline-analysis.c (inline_write_summary): Fix thinko. | |
10012 | ||
16997bc0 JJ |
10013 | 2011-04-23 Jakub Jelinek <jakub@redhat.com> |
10014 | ||
10015 | PR c/48685 | |
10016 | * fold-const.c (fold_convert_loc): Add NOP_EXPR when casting | |
10017 | to VOID_TYPE even around MODIFY_EXPR. | |
10018 | ||
f94d4ab1 MS |
10019 | 2011-04-22 Mike Stump <mikestump@comcast.net> |
10020 | ||
1a84c183 | 10021 | * gensupport.c (read_md_rtx): Fix typo in comment. |
f94d4ab1 MS |
10022 | * config/cris/cris.opt (moverride-best-lib-options): Fix typo in |
10023 | comment. | |
10024 | ||
632b4f8e JH |
10025 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
10026 | ||
10027 | * gengtype.c (open_base_files): Add ipa-inline.h include. | |
77fa1d54 UB |
10028 | * ipa-cp.c (ipcp_get_lattice, ipcp_lattice_from_jfunc): Move to |
10029 | ipa-prop.c; update all uses. | |
632b4f8e | 10030 | * ipa-prop.c: (ipa_get_lattice, ipa_lattice_from_jfunc): ... here. |
77fa1d54 UB |
10031 | * ipa-inline-transform.c (inline_call): Use inline_merge_summary to |
10032 | merge summary of inlined function into former caller. | |
632b4f8e JH |
10033 | * ipa-inline.c (max_benefit): Remove. |
10034 | (edge_badness): Compensate for removal of benefits. | |
77fa1d54 UB |
10035 | (update_caller_keys): Use |
10036 | reset_node_growth_cache/reset_edge_growth_cache. | |
632b4f8e JH |
10037 | (update_callee_keys): Likewise. |
10038 | (update_all_callee_keys): Likewise. | |
77fa1d54 UB |
10039 | (inline_small_functions): Do not collect max_benefit; do not reset |
10040 | estimated_growth; call free_growth_caches and initialize_growth_caches. | |
10041 | * ipa-inline.h (struct condition, type clause_t, struct predicate, | |
10042 | struct size_time_entry): New structures. | |
632b4f8e | 10043 | (INLINE_SIZE_SCALE, INLINE_TIME_SCALE, MAX_CLAUSES): New constants. |
77fa1d54 UB |
10044 | (inline_summary): Remove size_inlining_benefit, time_inlining_benefit |
10045 | and estimated_growth. | |
632b4f8e JH |
10046 | (edge_growth_cache_entry): New structure. |
10047 | (node_growth_cache, edge_growth_cache): New global vars. | |
10048 | (estimate_growth): Turn into inline. | |
10049 | (inline_merge_summary, do_estimate_edge_growth, do_estimate_edge_time, | |
10050 | initialize_growth_caches, free_growth_caches): Declare. | |
10051 | (estimate_edge_growth): Rewrite. | |
10052 | (estimate_edge_time): Implement as inline cache lookup. | |
77fa1d54 UB |
10053 | (reset_node_growth_cache, reset_edge_growth_cache): New inline |
10054 | functions. | |
632b4f8e JH |
10055 | (MAX_TIME): Reduce to allow multiplicatoin by INLINE_SIZE_SCALE. |
10056 | (NUM_CONDITIONS): New constant. | |
10057 | (predicate_conditions): New enum. | |
10058 | (IS_NOT_CONSTANT): New constant. | |
10059 | (edge_removal_hook_holder): New var. | |
10060 | (node_growth_cache, edge_growth_cache): New global vars. | |
77fa1d54 UB |
10061 | (true_predicate, single_cond_predicate, false_predicate, |
10062 | not_inlined_predicate, add_condition, add_clause, and_predicates, | |
10063 | or_predicates, predicates_equal_p, evaulate_predicate, dump_condition, | |
10064 | dump_clause, dump_predicate, account_size_time, | |
632b4f8e JH |
10065 | evaulate_conditions_for_edge): New functions. |
10066 | (inline_summary_alloc): Move to heap. | |
10067 | (inline_node_removal_hook): Clear condition and entry vectors. | |
10068 | (inline_edge_removal_hook): New function. | |
10069 | (initialize_growth_caches, free_growth_caches): New function. | |
10070 | (dump_inline_summary): Update. | |
10071 | (edge_execution_predicate): New function. | |
10072 | (will_be_nonconstant_predicate): New function. | |
10073 | (estimate_function_body_sizes): Compute BB and constantness predicates. | |
10074 | (compute_inline_parameters): Do not clear estimated_growth. | |
10075 | (estimate_edge_size_and_time): New function. | |
10076 | (estimate_calls_size_and_time): New function. | |
10077 | (estimate_callee_size_and_time): New function. | |
10078 | (remap_predicate): New function. | |
10079 | (inline_merge_summary): New function. | |
10080 | (do_estimate_edge_time): New function based on... | |
10081 | (estimate_edge_time): ... this one. | |
10082 | (do_estimate_edge_growth): New function. | |
10083 | (do_estimate_growth): New function based on.... | |
10084 | (estimate_growth): ... this one. | |
10085 | (inline_analyze_function): Analyze after deciding on jump functions. | |
10086 | (inline_read_section): New function. | |
10087 | (inline_read_summary): Use it. | |
10088 | (inline_write_summary): Write all the new data. | |
10089 | * ipa-prop.c (ipa_get_param_decl_index): Export. | |
10090 | (ipa_lattice_from_jfunc): Move here from ipa-cp.c | |
77fa1d54 UB |
10091 | * ipa-prop.h (ipa_get_param_decl_index, ipa_lattice_from_jfunc): |
10092 | Declare. | |
10093 | (ipa_get_lattice): Move here from ipa-cp.c | |
632b4f8e JH |
10094 | * Makefile.in (GTFILES): Add ipa-inline.h and ipa-inline-analysis.c |
10095 | * params.def (PARAM_EARLY_INLINING_INSNS): Set to 11. | |
10096 | * cgraph.h (cgraph_clone_inlined_nodes, compute_inline_parameters, | |
10097 | cgraph_edge_inlinable_p): Remove. | |
10098 | * cgraphunit.c: Include ipainline.h | |
77fa1d54 UB |
10099 | (cgraph_process_new_functions): Update call of |
10100 | compute_inline_parameters. | |
632b4f8e | 10101 | |
1df5b0db RG |
10102 | 2011-04-22 Richard Guenther <rguenther@suse.de> |
10103 | ||
10104 | * tree.c (build_int_cst): Properly create canonicalized integer | |
10105 | constants. | |
10106 | (build_int_cst_type): Remove scary comments. | |
10107 | ||
ae01169c XDL |
10108 | 2011-04-22 Xinliang David Li <davidxl@google.com> |
10109 | ||
10110 | * toplev.c (process_options): Enable -Werror=coverage-mismatch | |
10111 | by default when -Wno-error is not specified. | |
10112 | * opts-global.c (decode_options): Remove call to | |
10113 | control_warning_options. | |
10114 | ||
93dfac24 JJ |
10115 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
10116 | ||
10117 | PR tree-optimization/48717 | |
10118 | * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and | |
10119 | ~A + A optimizations use build_int_cst_type instead of build_int_cst. | |
10120 | ||
1b5f5069 JM |
10121 | 2011-04-22 Joseph Myers <joseph@codesourcery.com> |
10122 | ||
10123 | * config/bfin/bfin-protos.h (Mmode): Don't define. Expand | |
10124 | definition where used. | |
10125 | ||
144f4153 JJ |
10126 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
10127 | ||
10128 | PR c/48716 | |
10129 | * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also | |
10130 | TREE_STATIC variables declared inside of some OpenMP construct. | |
10131 | ||
f9fd305b MJ |
10132 | 2011-04-22 Martin Jambor <mjambor@suse.cz> |
10133 | ||
10134 | PR middle-end/48585 | |
1d284ec5 | 10135 | * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. |
f9fd305b | 10136 | |
49819fef AM |
10137 | 2011-04-22 Alexander Monakov <amonakov@ispras.ru> |
10138 | ||
10139 | PR c/36750 | |
10140 | * c-typeck.c (pop_init_level): Do not warn about initializing | |
10141 | with ` = {0}'. | |
10142 | ||
401f6699 AM |
10143 | 2011-04-22 Alan Modra <amodra@gmail.com> |
10144 | ||
10145 | * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL | |
10146 | when returning call_cookie. | |
10147 | (rs6000_function_ok_for_sibcall): Allow sibcalls via function | |
10148 | pointers, to functions with no more vector args than the current | |
10149 | function, and some non-local calls for ABI_V4. | |
10150 | * config/rs6000/rs6000.md (sibcall_nonlocal_aix32, | |
10151 | sibcall_nonlocal_aix64): Combine to .. | |
10152 | (sibcall_nonlocal_aix<mode>): ..this. Handle function pointer calls. | |
10153 | (sibcall_value_nonlocal_aix32, sibcall_value_nonlocal_aix64): Combine.. | |
10154 | (sibcall_value_nonlocal_aix<mode>): ..likewise. | |
10155 | (*sibcall_nonlocal_sysv<mode>): Handle function pointer calls. | |
10156 | (sibcall_value_nonlocal_sysv<mode>): Likewise. Correct call cookie | |
10157 | operand. | |
10158 | * config/rs6000/darwin.md (sibcall_nonlocal_darwin64, | |
10159 | sibcall_value_nonlocal_darwin64, sibcall_symbolic_64, | |
10160 | sibcall_value_symbolic_64): Delete. | |
10161 | ||
903d1e67 XDL |
10162 | 2011-04-21 Xinliang David Li <davidxl@google.com> |
10163 | ||
10164 | * cgraph.h: Remove pid. | |
10165 | * cgraph.c: Remove pid. | |
10166 | * value-prof.c (init_node_map): New function. | |
10167 | (del_node_map): New function. | |
10168 | (find_func_by_funcdef_no): New function. | |
10169 | (gimple_ic_transform): Call new function. | |
10170 | * cgraphunit.c (cgraph_finalize_function): Remove pid. | |
10171 | * function.c (get_last_funcdef_no): New function. | |
10172 | * function.h (get_last_funcdef_no): New function. | |
10173 | * tree-profile.c (gimple_gen_ic_func_profiler): Pass funcdef_no | |
10174 | to libgcov function. | |
10175 | (tree-profiling): Call node map init and delete function. | |
10176 | ||
7378e95f ILT |
10177 | 2011-04-21 Ian Lance Taylor <iant@google.com> |
10178 | ||
10179 | * godump.c (go_format_type): Use exported Go name for anonymous | |
10180 | field name. | |
10181 | ||
e84a6fcf NF |
10182 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
10183 | ||
10184 | * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. | |
10185 | Call builtin_function_type_list instead of builtin_function_type. | |
10186 | (UNARY, BINARY, TRINARY, QUAD): Likewise. | |
10187 | ||
4fe058e2 NF |
10188 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
10189 | ||
10190 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Call | |
10191 | build_function_type_list instead of build_function_type. | |
10192 | Delete variable `endlink'. | |
10193 | ||
1ba0a2d2 NF |
10194 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
10195 | ||
10196 | * config/s390/s390.c (s390_init_builtins): Call | |
10197 | build_function_type_list instead of build_function_type. | |
10198 | ||
c0676219 NF |
10199 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
10200 | ||
10201 | * config/ia64/ia64.c (ia64_init_builtins): Call | |
10202 | build_function_type_list instead of builtin_function_type. | |
10203 | ||
6ddfda8a ER |
10204 | 2011-04-21 Easwaran Raman <eraman@google.com> |
10205 | ||
3a6448ea | 10206 | * cfgexpand.c (stack_var): Remove OFFSET... |
6ddfda8a ER |
10207 | (add_stack_var): ...and its reference here... |
10208 | (expand_stack_vars): ...and here. | |
10209 | (stack_var_cmp): Sort by descending order of size. | |
10210 | (partition_stack_vars): Change heuristic. | |
1d284ec5 | 10211 | (union_stack_vars): Fix to reflect changes in partition_stack_vars. |
6ddfda8a ER |
10212 | (dump_stack_var_partition): Add newline after each partition. |
10213 | ||
23756963 DA |
10214 | 2011-04-21 Dimitrios Apostolou <jimis@gmx.net> |
10215 | Jeff Law <law@redhat.com> | |
10216 | ||
77fa1d54 | 10217 | * gengtype-state.c (read_a_state_token): Fix argument to obstack_free. |
23756963 DA |
10218 | * gengtype.c (matching_file_name_substitute): Likewise. |
10219 | ||
aa2a43d2 RG |
10220 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
10221 | ||
10222 | PR lto/48703 | |
1d284ec5 | 10223 | * tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of DECL_NAME. |
aa2a43d2 | 10224 | |
4d931f41 EB |
10225 | 2011-04-21 Eric Botcazou <ebotcazou@adacore.com> |
10226 | ||
10227 | * gimple.c (walk_gimple_op) <GIMPLE_CALL>: Fix couple of oversights. | |
10228 | ||
f103fa7a RG |
10229 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
10230 | ||
10231 | * Makefile.in (site.exp): Do not use tmp0 but site.tmp as temporary | |
10232 | file name. | |
10233 | ||
e19f6650 RG |
10234 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
10235 | ||
10236 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle | |
10237 | MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. | |
10238 | Use DECL_P, not SSA_VAR_P. | |
10239 | (ptr_derefs_may_alias_p): Likewise. | |
10240 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
10241 | (decl_refs_may_alias_p): Likewise. | |
10242 | (refs_may_alias_p_1): Likewise. | |
10243 | (ref_maybe_used_by_call_p_1): Likewise. | |
10244 | (call_may_clobber_ref_p_1): Likewise. | |
10245 | (indirect_ref_may_alias_decl_p): Assume indirect refrences | |
10246 | are either MEM_REF or TARGET_MEM_REF. | |
10247 | (indirect_refs_may_alias_p): Likewise. | |
10248 | * calls.c (emit_call_1): Build a MEM_REF instead of an INDIRECT_REF | |
10249 | for MEM_EXPR of indirect calls. | |
10250 | ||
9d1831bb TG |
10251 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
10252 | ||
10253 | * vmsdbgout.c (write_srccorr): Compute file length from the string. | |
10254 | (dst_file_info_struct): Remove flen field. | |
10255 | (lookup_filename): Remove code that set flen field. | |
10256 | ||
f199c029 TG |
10257 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
10258 | ||
10259 | * config/ia64/ia64.c (ia64_start_function): Add a guard. | |
10260 | ||
2894086e UB |
10261 | 2011-04-21 Uros Bizjak <ubizjak@gmail.com> |
10262 | ||
10263 | PR target/48708 | |
10264 | * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate | |
10265 | vec_extract and vec_concat for non-SSE4_1 targets. | |
10266 | ||
53f94a5c RG |
10267 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
10268 | ||
10269 | * tree-ssa-alias.c (ref_maybe_used_by_stmt_p): Handle | |
10270 | return statements. | |
10271 | ||
f0dca5ba JM |
10272 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
10273 | ||
10274 | * config/i386/cygming.h (union tree_node, TREE): Don't define or | |
10275 | undefine. | |
10276 | (FILE): Don't undefine. | |
10277 | ||
984514ac JM |
10278 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
10279 | ||
10280 | * config/alpha/alpha.c (struct machine_function): Use rtx, not | |
10281 | struct rtx_def *. | |
10282 | * config/bfin/bfin.h (bfin_cc_rtx, bfin_rets_rtx): Use rtx, not | |
10283 | struct rtx_def *. | |
10284 | * config/cris/cris-protos.h (STDIO_INCLUDED): Don't define. | |
2894086e | 10285 | * config/h8300/h8300.h (struct cum_arg): Use rtx, not struct rtx_def *. |
984514ac JM |
10286 | * config/iq2000/iq2000.h (struct iq2000_args): Use rtx, not struct |
10287 | rtx_def *. | |
10288 | * config/m32c/m32c-protos.h (MM, UINT): Don't define. Expand | |
10289 | definitions where used. | |
10290 | * config/microblaze/microblaze.h (struct microblaze_args): Use | |
10291 | rtx, not struct rtx_def *. | |
10292 | * config/pa/pa-protos.h (return_addr_rtx): Use rtx, not struct | |
10293 | rtx_def *. | |
2894086e UB |
10294 | * config/pa/pa.h (hppa_pic_save_rtx): Use rtx, not struct rtx_def *. |
10295 | * config/pdp11/pdp11.h (cc0_reg_rtx): Use rtx, not struct rtx_def *. | |
984514ac JM |
10296 | * config/sh/sh-protos.h (sfunc_uses_reg, get_fpscr_rtx): Use rtx, |
10297 | not struct rtx_def *. | |
10298 | * config/sh/sh.h (sh_compare_op0, sh_compare_op1): Use rtx, not | |
10299 | struct rtx_def *. | |
10300 | * config/spu/spu-protos.h (spu_float_const): Use rtx, not struct | |
10301 | rtx_def *. | |
2894086e | 10302 | * config/spu/spu.c (spu_float_const): Use rtx, not struct rtx_def *. |
984514ac | 10303 | |
0b5a2724 RS |
10304 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
10305 | ||
10306 | * tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use | |
10307 | operand_equal_p to compare DR_BASE_ADDRESSes. | |
10308 | (vect_check_interleaving): Likewise. | |
10309 | ||
4b18d683 RS |
10310 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
10311 | ||
10312 | PR target/46329 | |
10313 | * config/arm/arm.c (arm_legitimate_constant_p_1): Return false | |
10314 | for all Neon struct constants. | |
10315 | ||
1a627b35 RS |
10316 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
10317 | ||
10318 | * target.def (legitimate_constant_p): New hook. | |
10319 | * doc/tm.texi.in (LEGITIMATE_CONSTANT_P): Replace with... | |
10320 | (TARGET_LEGITIMATE_CONSTANT_P): ...this. | |
10321 | * doc/tm.texi: Regenerate. | |
10322 | * hooks.h (hook_bool_mode_rtx_true): Declare. | |
10323 | * hooks.c (hook_bool_mode_rtx_true): Define. | |
10324 | * system.h (LEGITIMATE_CONSTANT_P): Poison. | |
10325 | * calls.c (precompute_register_parameters): Replace uses of | |
10326 | LEGITIMATE_CONSTANT_P with targetm.legitimate_constant_p. | |
10327 | (emit_library_call_value_1): Likewise. | |
10328 | * expr.c (move_block_to_reg, can_store_by_pieces, emit_move_insn) | |
10329 | (compress_float_constant, emit_push_insn, expand_expr_real_1): Likewise. | |
10330 | * ira-costs.c (scan_one_insn): Likewise. | |
10331 | * recog.c (general_operand, immediate_operand): Likewise. | |
10332 | * reload.c (find_reloads_toplev, find_reloads_address_part): Likewise. | |
10333 | * reload1.c (init_eliminable_invariants): Likewise. | |
10334 | ||
10335 | * config/alpha/alpha-protos.h (alpha_legitimate_constant_p): Add a | |
10336 | mode argument. | |
10337 | * config/alpha/alpha.h (LEGITIMATE_CONSTANT_P): Delete. | |
10338 | * config/alpha/alpha.c (alpha_legitimate_constant_p): Add a mode | |
10339 | argument. | |
10340 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10341 | * config/alpha/predicates.md (input_operand): Update call to | |
10342 | alpha_legitimate_constant_p. | |
10343 | ||
10344 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Delete. | |
10345 | * config/arm/arm.h (ARM_LEGITIMATE_CONSTANT_P): Likewise. | |
10346 | (THUMB_LEGITIMATE_CONSTANT_P, LEGITIMATE_CONSTANT_P): Likewise. | |
10347 | * config/arm/arm.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10348 | (arm_legitimate_constant_p_1, thumb_legitimate_constant_p) | |
10349 | (arm_legitimate_constant_p): New functions. | |
10350 | (arm_cannot_force_const_mem): Make static. | |
10351 | ||
10352 | * config/avr/avr.h (LEGITIMATE_CONSTANT_P): Delete. | |
10353 | ||
10354 | * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Delete. | |
10355 | * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Delete. | |
10356 | * config/bfin/bfin.c (expand_move): Use targetm.legitimate_constant_p | |
10357 | instead of bfin_legitimate_constant_p. | |
10358 | (bfin_legitimate_constant_p): Make static. Add a mode argument. | |
10359 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10360 | ||
10361 | * config/cris/cris.h (LEGITIMATE_CONSTANT_P): Delete. | |
10362 | ||
10363 | * config/fr30/fr30.h (LEGITIMATE_CONSTANT_P): Delete. | |
10364 | ||
10365 | * config/frv/frv-protos.h (frv_legitimate_constant_p): Delete. | |
10366 | * config/frv/frv.h (LEGITIMATE_CONSTANT_P): Delete. | |
10367 | * config/frv/frv.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10368 | (frv_legitimate_constant_p): Make static. Add a mode argument. | |
10369 | ||
10370 | * config/h8300/h8300-protos.h (h8300_legitimate_constant_p): Delete. | |
10371 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10372 | * config/h8300/h8300.c (h8300_legitimate_constant_p): Likewise. | |
10373 | ||
10374 | * config/i386/i386-protos.h (legitimate_constant_p): Delete. | |
10375 | * config/i386/i386.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10376 | * config/i386/i386.c (legitimate_constant_p): Rename to... | |
10377 | (ix86_legitimate_constant_p): ...this. Make static. Add a mode | |
10378 | argument. | |
10379 | (ix86_cannot_force_const_mem): Update accordingly. | |
10380 | (ix86_legitimate_address_p): Likewise. | |
10381 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10382 | * config/i386/i386.md: Update commentary. | |
10383 | ||
10384 | * config/ia64/ia64-protos.h (ia64_legitimate_constant_p): Delete. | |
10385 | * config/ia64/ia64.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10386 | * config/ia64/ia64.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10387 | (ia64_legitimate_constant_p): Make static. Add a mode argument. | |
10388 | ||
10389 | * config/iq2000/iq2000.h (LEGITIMATE_CONSTANT_P): Delete. | |
10390 | ||
10391 | * config/lm32/lm32-protos.h (lm32_legitimate_constant_p): Delete. | |
10392 | * config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10393 | * config/lm32/lm32.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10394 | (lm32_legitimate_constant_p): Make static. Add a mode argument. | |
10395 | ||
10396 | * config/m32c/m32c-protos.h (m32c_legitimate_constant_p): Delete. | |
10397 | * config/m32c/m32c.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10398 | * config/m32c/m32c.c (m32c_legitimate_constant_p): Likewise. | |
10399 | ||
10400 | * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Delete. | |
10401 | * config/m32r/m32r.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10402 | (m32r_legitimate_constant_p): New function. | |
10403 | ||
10404 | * config/m68k/m68k-protos.h (m68k_legitimate_constant_p): Declare. | |
10405 | * config/m68k/m68k.h (CONSTANT_ADDRESS_P): Call it instead of | |
10406 | LEGITIMATE_CONSTANT_P. | |
10407 | (LEGITIMATE_CONSTANT_P): Delete. | |
10408 | * config/m68k/m68k.c (m68k_expand_prologue): Call | |
10409 | m68k_legitimate_constant_p instead of LEGITIMATE_CONSTANT_P. | |
10410 | (m68k_legitimate_constant_p): New function. | |
10411 | * config/m68k/m68k.md: Update comments. | |
10412 | ||
10413 | * config/mcore/mcore.h (LEGITIMATE_CONSTANT_P): Delete. | |
10414 | * config/mcore/mcore.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10415 | (mcore_legitimate_constant_p): New function. | |
10416 | ||
10417 | * config/mep/mep-protos.h (mep_legitimate_constant_p): Delete. | |
10418 | * config/mep/mep.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10419 | * config/mep/mep.c (mep_legitimate_constant_p): Make static. | |
10420 | Add a mode argument. | |
10421 | (mep_legitimate_address): Update accordingly. | |
10422 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10423 | ||
10424 | * config/microblaze/microblaze-protos.h (microblaze_const_double_ok): | |
10425 | Delete. | |
10426 | * config/microblaze/microblaze.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10427 | * config/microblaze/microblaze.c (microblaze_const_double_ok): Make | |
10428 | static. Check OP's mode for VOIDmode. | |
10429 | (microblaze_legitimate_constant_p): New function. | |
10430 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10431 | ||
10432 | * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Delete. | |
10433 | * config/mips/mips.c (mips_legitimate_constant_p): New function. | |
10434 | (mips_cannot_force_const_mem): Use it instead of LEGITIMATE_CONSTANT_P. | |
10435 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10436 | * config/mips/predicates.md: Update comments. | |
10437 | ||
10438 | * config/mmix/mmix-protos.h (mmix_legitimate_constant_p): Delete. | |
10439 | * config/mmix/mmix.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10440 | * config/mmix/mmix.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10441 | (mmix_legitimate_constant_p): Make static, return a bool, and take | |
10442 | a mode argument. | |
10443 | (mmix_print_operand_address): Update accordingly. | |
10444 | ||
10445 | * config/mn10300/mn10300-protos.h (mn10300_legitimate_constant_p): | |
10446 | Delete. | |
10447 | * config/mn10300/mn10300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
2894086e UB |
10448 | * config/mn10300/mn10300.c (mn10300_legitimate_constant_p): Make |
10449 | static. Add a mode argument. | |
1a627b35 RS |
10450 | (TARGET_LEGITIMATE_CONSTANT_P): Define. |
10451 | ||
10452 | * config/moxie/moxie.h (LEGITIMATE_CONSTANT_P): Delete. | |
10453 | ||
10454 | * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Delete. | |
10455 | * config/pa/pa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10456 | (pa_legitimate_constant_p): New function. | |
10457 | ||
10458 | * config/picochip/picochip.h (LEGITIMATE_CONSTANT_P): Delete. | |
10459 | ||
10460 | * config/pdp11/pdp11.h (LEGITIMATE_CONSTANT_P): Delete. | |
10461 | * config/pdp11/pdp11.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10462 | (pdp11_legitimate_constant_p): New function. | |
10463 | ||
10464 | * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Delete. | |
10465 | * config/rs6000/rs6000.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10466 | (rs6000_legitimate_constant_p): New function. | |
10467 | ||
10468 | * config/rx/rx-protos.h (rx_is_legitimate_constant): Replace with... | |
10469 | (rx_legitimate_constant_p): ...this. | |
10470 | * config/rx/rx.h (LEGITIMATE_CONSTANT_P): Delete. | |
10471 | * config/rx/rx.c (rx_is_legitimate_constant): Replace with... | |
10472 | (rx_legitimate_constant_p): ...this. | |
10473 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10474 | * config/rx/rx.md (mov<register_modes:mode>): Update accordingly. | |
10475 | ||
10476 | * config/s390/s390-protos.h (legitimate_constant_p): Delete. | |
10477 | * config/s390/s390.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10478 | * config/s390/s390.c (legitimate_constant_p): Rename to... | |
10479 | (s390_legitimate_constant_p): ...this. Make static, return a bool, | |
10480 | and add a mode argument. | |
10481 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10482 | ||
10483 | * config/score/score.h (LEGITIMATE_CONSTANT_P): Delete. | |
10484 | ||
10485 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Delete. | |
10486 | * config/sh/sh.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10487 | (sh_legitimate_constant_p): New function. | |
10488 | ||
10489 | * config/sparc/sparc-protos.h (legitimate_constant_p): Delete. | |
10490 | * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Delete. | |
10491 | * config/sparc/sparc.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10492 | (legitimate_constant_p): Rename to... | |
10493 | (sparc_legitimate_constant_p): ...this. Make static. Add a mode | |
10494 | argument. | |
10495 | (constant_address_p): Update accordingly. | |
10496 | ||
10497 | * config/spu/spu-protos.h (spu_legitimate_constant_p): Add a mode | |
10498 | argument and return a bool. | |
10499 | * config/spu/spu.h (LEGITIMATE_CONSTANT_P): Delete. | |
10500 | * config/spu/spu.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10501 | (spu_legitimate_constant_p): Add a mode argument and return a bool. | |
10502 | (spu_rtx_costs): Update accordingly. | |
10503 | * config/spu/predicates.md (vec_imm_operand): Likewise. | |
10504 | ||
10505 | * config/stormy16/stormy16.h (LEGITIMATE_CONSTANT_P): Delete. | |
10506 | ||
10507 | * config/v850/v850.h (LEGITIMATE_CONSTANT_P): Delete. | |
10508 | * config/v850/v850.c (v850_legitimate_constant_p): New function. | |
10509 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10510 | ||
10511 | * config/vax/vax-protos.h (legitimate_constant_p): Delete. | |
10512 | * config/vax/vax.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10513 | * config/vax/vax.c (legitimate_constant_p): Likewise. | |
10514 | ||
10515 | * config/xtensa/xtensa.h (LEGITIMATE_CONSTANT_P): Delete. | |
10516 | * config/xtensa/xtensa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10517 | (xtensa_legitimate_constant_p): New function. | |
10518 | ||
fbbf66e7 RS |
10519 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
10520 | ||
10521 | * target.def (cannot_force_const_mem): Add a mode argument. | |
10522 | * doc/tm.texi.in (TARGET_CANNOT_FORCE_CONST_MEM): Update accordingly. | |
10523 | * doc/tm.texi: Regenerate. | |
10524 | * hooks.h (hook_bool_mode_rtx_false): Declare. | |
10525 | * hooks.c (hook_bool_mode_const_rtx_false): Fix commentary. | |
10526 | (hook_bool_mode_const_rtx_true): Likewise. | |
10527 | (hook_bool_mode_rtx_false): New function. | |
10528 | * reload.c (CONST_POOL_OK_P): Take a mode argument and require it | |
10529 | to be non-VOID. Update call to cannot_force_const_mem. | |
10530 | (find_reloads): Update accordingly. | |
10531 | * varasm.c (force_const_mem): Update call to cannot_force_const_mem. | |
10532 | * config/alpha/alpha.c (alpha_cannot_force_const_mem): Add a mode | |
10533 | argument. | |
10534 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Likewise. | |
10535 | * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Update call. | |
10536 | * config/arm/arm.c (arm_cannot_force_const_mem): Add a mode argument. | |
10537 | * config/bfin/bfin.c (bfin_cannot_force_const_mem): Likewise. | |
10538 | * config/frv/frv.c (frv_cannot_force_const_mem): Likewise. | |
10539 | * config/i386/i386.c (ix86_cannot_force_const_mem): Likewise. | |
10540 | * config/ia64/ia64.c (ia64_cannot_force_const_mem): Likewise. | |
10541 | * config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
10542 | (m68k_cannot_force_const_mem): ...this new function. | |
10543 | * config/mips/mips.c (mips_cannot_force_const_mem): Add a mode | |
10544 | argument. | |
10545 | (mips_const_insns, mips_legitimize_const_move): Update calls. | |
10546 | (mips_secondary_reload_class): Likewise. | |
10547 | * config/pa/pa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
10548 | (pa_cannot_force_const_mem): ...this new function. | |
2894086e | 10549 | * config/rs6000/rs6000.c (TARGET_CANNOT_FORCE_CONST_MEM): Reefine to... |
fbbf66e7 RS |
10550 | (rs6000_cannot_force_const_mem): ...this new function. |
10551 | * config/s390/s390.c (s390_cannot_force_const_mem): Add a mode | |
10552 | argument. | |
10553 | * config/sparc/sparc.c (sparc_cannot_force_const_mem): Likewise. | |
10554 | * config/xtensa/xtensa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine | |
10555 | to... | |
10556 | (xtensa_cannot_force_const_mem): ...this new function. | |
10557 | ||
b861891b NF |
10558 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
10559 | ||
10560 | * config/mips/mips.c (mips16_build_function_stub): Call | |
10561 | build_function_type_list instead of build_function_type. | |
10562 | (mips16_build_call_stub): Likewise. | |
10563 | ||
34149ed5 NF |
10564 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
10565 | ||
10566 | * config/mep/mep.c (mep_init_builtins): Call build_function_type_list | |
10567 | instead of build_function_type. | |
10568 | ||
12526412 NF |
10569 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
10570 | ||
10571 | * config/pa/pa.c (pa_init_builtins): Call build_function_type_list | |
10572 | instead of build_function_type. | |
10573 | ||
3b84d61f UB |
10574 | 2011-04-20 Uros Bizjak <ubizjak@gmail.com> |
10575 | ||
10576 | PR target/48678 | |
10577 | * config/i386/i386.md (insv): Change operand 0 constraint to | |
10578 | "register_operand". Change operand 1 and 2 constraint to | |
10579 | "const_int_operand". Expand to pinsr{b,w,d,q} * when appropriate. | |
10580 | * config/i386/sse.md (sse4_1_pinsrb): Export. | |
10581 | (sse2_pinsrw): Ditto. | |
10582 | (sse4_1_pinsrd): Ditto. | |
10583 | (sse4_1_pinsrq): Ditto. | |
10584 | * config/i386/i386-protos.h (ix86_expand_pinsr): Add prototype. | |
10585 | * config/i386/i386.c (ix86_expand_pinsr): New. | |
10586 | ||
4a25752b ER |
10587 | 2011-04-20 Easwaran Raman <eraman@google.com> |
10588 | ||
10589 | * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable | |
10590 | containing union type only with -fstrict-aliasing. | |
10591 | ||
04695783 JM |
10592 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
10593 | ||
10594 | Remove useless if-before-free tests. | |
10595 | * calls.c (expand_call, save_area): Likewise. | |
10596 | * cfgcleanup.c (try_forward_edges): Likewise. | |
10597 | * collect2.c (collect_execute): Likewise. | |
10598 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Likewise. | |
10599 | * config/mcore/mcore.c (mcore_expand_prolog): Likewise. | |
10600 | * coverage.c (coverage_checksum_string): Likewise. | |
10601 | * cse.c (init_cse_reg_info, delete_trivially_dead_insns): Likewise. | |
10602 | * cselib.c (cselib_init): Likewise. | |
10603 | * df-core.c (rest_of_handle_df_finish, df_analyze): Likewise. | |
10604 | (df_set_clean_cfg): Likewise. | |
10605 | * function.c (free_after_compilation): Likewise. | |
10606 | * gcc.c (do_spec_1, main): Likewise. | |
10607 | * gcov.c (create_file_names): Likewise. | |
10608 | * gensupport.c (identify_predicable_attribute): Likewise. | |
10609 | * graphite-clast-to-gimple.c (save_clast_name_index): Likewise. | |
10610 | * graphite-sese-to-poly.c (free_data_refs_aux): Likewise. | |
10611 | * haifa-sched.c (haifa_finish_h_i_d): Likewise. | |
10612 | * ipa-prop.c (ipa_free_node_params_substructures): Likewise. | |
10613 | * ipa-pure-const.c (local_pure_const): Likewise. | |
10614 | * ipa-reference.c (propagate): Likewise. | |
10615 | * ira-costs.c (free_ira_costs): Likewise. | |
10616 | * ira.c (free_register_move_costs, build_insn_chain): Likewise. | |
10617 | * matrix-reorg.c (mat_free): Likewise. | |
10618 | * prefix.c (get_key_value): Likewise. | |
10619 | * profile.c (compute_value_histograms): Likewise. | |
10620 | * reload1.c (free_reg_equiv): Likewise. | |
10621 | * sched-deps.c (free_deps): Likewise. | |
10622 | * sel-sched-ir.c (fence_clear): Likewise. | |
10623 | * sese.c (set_rename, if_region_set_false_region): Likewise. | |
10624 | * tree-data-ref.c (free_rdg): Likewise. | |
10625 | * tree-eh.c (lower_try_finally): Likewise. | |
10626 | * tree-ssa-coalesce.c (delete_coalesce_list): Likewise. | |
10627 | * tree-ssa-live.c (delete_var_map): Likewise. | |
10628 | * tree-ssa-loop-ivopts.c (free_loop_data): Likewise. | |
10629 | * tree-ssa-pre.c (phi_trans_add): Likewise. | |
10630 | ||
6788475a JJ |
10631 | 2011-04-20 Jakub Jelinek <jakub@redhat.com> |
10632 | ||
10633 | PR tree-optimization/48611 | |
10634 | * tree-eh.c (note_eh_region_may_contain_throw): Don't propagate | |
10635 | beyond ERT_MUST_NOT_THROW region. | |
10636 | ||
0eda4033 CM |
10637 | 2011-04-20 Catherine Moore <clm@codesourcery.com> |
10638 | ||
10639 | * config/mips/mips.opt (mfix-24k): New. | |
10640 | * config/mips/mips.h (ASM_SPEC): Handle -mfix-24k. | |
10641 | * config/mips/mips.md (length): Increase by 4 for stores if | |
10642 | fixing 24K errata. | |
10643 | * config/mips/mips.c (mips_reorg_process_insns): Do not allow | |
10644 | all noreorder if fixing 24K errata. | |
10645 | * doc/invoke.texi: Document mfix-24k. | |
10646 | ||
01475747 CLT |
10647 | 2011-04-20 Chung-Lin Tang <cltang@codesourcery.com> |
10648 | ||
10649 | * config/arm/arm.c (arm_legitimize_reload_address): For NEON | |
2894086e | 10650 | quad-word modes, reduce to 9-bit index range when above 1016 limit. |
01475747 | 10651 | |
bc2c1a60 AS |
10652 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
10653 | ||
10654 | * config/arm/arm.c (arm_gen_constant): Move movw support .... | |
10655 | (const_ok_for_op): ... to here. | |
10656 | ||
583722ee KT |
10657 | 2011-04-20 Kai Tietz <ktietz@redhat.com> |
10658 | ||
2894086e UB |
10659 | * fold-const.c (fold_binary_loc): Add handling for (X & ~Y) | (~X & Y) |
10660 | and (X && !Y) | (!X && Y) optimization to (X ^ Y). | |
583722ee | 10661 | |
422c0989 AS |
10662 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
10663 | ||
10664 | * config/arm/arm.c (arm_gen_constant): Remove redundant can_invert. | |
10665 | ||
d7978bff RG |
10666 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
10667 | ||
10668 | PR tree-optimization/47892 | |
10669 | * tree-if-conv.c (if_convertible_stmt_p): Const builtins | |
10670 | are if-convertible. | |
10671 | ||
818412ba EB |
10672 | 2011-04-20 Eric Botcazou <ebotcazou@adacore.com> |
10673 | ||
10674 | * config/alpha/vms.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not redefine. | |
10675 | ||
b501ce4e TG |
10676 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
10677 | ||
10678 | * config/alpha/vms.h (LINK_SPEC): Do not use vms-dwarf2.o for gnu-ld. | |
10679 | ||
516edfdd GJL |
10680 | 2011-04-20 Georg-Johann Lay <avr@gjlay.de> |
10681 | ||
10682 | PR target/18145 | |
10683 | ||
10684 | * config/avr/avr.h (TARGET_ASM_INIT_SECTIONS): Delete. | |
10685 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. | |
10686 | (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. | |
10687 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define. | |
10688 | (TARGET_ASM_NAMED_SECTION): Change to avr_asm_named_section. | |
10689 | ||
10690 | * config/avr/avr-protos.h (avr_asm_output_aligned_common): | |
10691 | New prototype. | |
10692 | ||
10693 | * config/avr/avr.c (TARGET_ASM_INIT_SECTIONS): Define. | |
10694 | (avr_asm_named_section, avr_asm_output_aligned_common, | |
10695 | avr_output_data_section_asm_op, avr_output_bss_section_asm_op): | |
10696 | New functions to update... | |
10697 | (avr_need_clear_bss_p, avr_need_copy_data_p): ...these new variables. | |
10698 | (avr_asm_init_sections): Overwrite section callbacks for | |
10699 | data_section, bss_section. | |
10700 | (avr_file_start): Move output of __do_copy_data, __do_clear_bss | |
10701 | from here to... | |
10702 | (avr_file_end): ...here. | |
10703 | ||
dafc9511 RG |
10704 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
10705 | ||
10706 | PR middle-end/48695 | |
10707 | * tree-ssa-alias.c (aliasing_component_refs_p): Compute base | |
2894086e | 10708 | objects and types here. Adjust for their offset before comparing. |
dafc9511 | 10709 | |
1da0876c RS |
10710 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
10711 | ||
10712 | * tree-vect-stmts.c (vectorizable_store): Only chain one related | |
10713 | statement per copy. | |
10714 | ||
25583c4f RS |
10715 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
10716 | ||
10717 | * Makefile.in (INTERNAL_FN_DEF, INTERNAL_FN_H): Define. | |
10718 | (GIMPLE_H): Include $(INTERNAL_FN_H). | |
10719 | (OBJS-common): Add internal-fn.o. | |
10720 | (internal-fn.o): New rule. | |
10721 | * internal-fn.def: New file. | |
10722 | * internal-fn.h: Likewise. | |
10723 | * internal-fn.c: Likewise. | |
10724 | * gimple.h: Include internal-fn.h. | |
10725 | (GF_CALL_INTERNAL): New gf_mask. | |
10726 | (gimple_statement_call): Put fntype into a union with a new | |
10727 | internal_fn field. | |
10728 | (gimple_build_call_internal): Declare. | |
10729 | (gimple_build_call_internal_vec): Likewise. | |
10730 | (gimple_call_same_target_p): Likewise. | |
10731 | (gimple_call_internal_p): New function. | |
10732 | (gimple_call_internal_fn): Likewise. | |
10733 | (gimple_call_fntype): Return null for internal calls. | |
10734 | (gimple_call_set_fntype): Assert that the function is not internal. | |
10735 | (gimple_call_set_fn): Likewise. | |
10736 | (gimple_call_set_fndecl): Likewise. | |
10737 | (gimple_call_set_internal_fn): New function. | |
10738 | (gimple_call_addr_fndecl): Handle null functions. | |
10739 | (gimple_call_return_type): Likewise null types. | |
10740 | * gimple.c (gimple_build_call_internal_1): New function. | |
10741 | (gimple_build_call_internal): Likewise. | |
10742 | (gimple_build_call_internal_vec): Likewise. | |
10743 | (gimple_call_same_target_p): Likewise. | |
10744 | (gimple_call_flags): Handle calls to internal functions. | |
10745 | (gimple_call_fnspec): New function. | |
10746 | (gimple_call_arg_flags, gimple_call_return_flags): Use it. | |
10747 | (gimple_has_side_effects): Handle null functions. | |
10748 | (gimple_rhs_has_side_effects): Likewise. | |
10749 | (gimple_call_copy_skip_args): Handle calls to internal functions. | |
10750 | * cfgexpand.c (expand_call_stmt): Likewise. | |
10751 | * expr.c (expand_expr_real_1): Assert that the call isn't internal. | |
10752 | * gimple-fold.c (gimple_fold_call): Handle null functions. | |
10753 | (gimple_fold_stmt_to_constant_1): Don't fold | |
10754 | calls to internal functions. | |
10755 | * gimple-low.c (gimple_check_call_args): Handle calls to internal | |
10756 | functions. | |
10757 | * gimple-pretty-print.c (dump_gimple_call): Likewise. | |
10758 | * ipa-prop.c (ipa_analyze_call_uses): Handle null functions. | |
10759 | * tree-cfg.c (verify_gimple_call): Handle calls to internal functions. | |
10760 | (do_warn_unused_result): Likewise. | |
10761 | * tree-eh.c (same_handler_p): Use gimple_call_same_target_p. | |
10762 | * tree-ssa-ccp.c (ccp_fold_stmt): Handle calls to internal functions. | |
10763 | * tree-ssa-dom.c (hashable_expr): Use the gimple statement to record | |
10764 | the target of a call. | |
10765 | (initialize_hash_element): Update accordingly. | |
10766 | (hashable_expr_equal_p): Use gimple_call_same_target_p. | |
10767 | (iterative_hash_hashable_expr): Handle calls to internal functions. | |
10768 | (print_expr_hash_elt): Likewise. | |
10769 | * tree-ssa-pre.c (can_value_number_call): Likewise. | |
10770 | (eliminate): Handle null functions. | |
10771 | * tree-ssa-sccvn.c (visit_use): Handle calls to internal functions. | |
10772 | * tree-ssa-structalias.c (get_fi_for_callee): Likewise. | |
10773 | (find_func_aliases): Likewise. | |
10774 | * value-prof.c (gimple_ic_transform): Likewise. | |
10775 | (gimple_indirect_call_to_profile): Likewise. | |
10776 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
10777 | * lto-streamer-out.c (output_gimple_stmt): Likewise. | |
10778 | ||
1a3118e9 JH |
10779 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
10780 | ||
10781 | * ipa-inline-transform.c (save_inline_function_body): Add comments. | |
9d12f71a EB |
10782 | * ipa-inline.c (inline_small_functions): Compute summaries first, |
10783 | populate heap later. | |
1a3118e9 | 10784 | |
fee8b6da JH |
10785 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
10786 | ||
10787 | * cgraph.h (save_inline_function_body): Remove. | |
10788 | * ipa-inline-transform.c: New file, broke out of... | |
10789 | * ipa-inline.c: ... this one; Update toplevel comment. | |
10790 | (ncalls_inlined, nfunctions_inlined): Move to ipa-inline-transform.c; | |
10791 | make global. | |
10792 | (update_noncloned_frequencies): Move to ipa-inline-transform.c | |
10793 | (cgraph_mark_inline_edge): Rename to inline_call; move to | |
10794 | ipa-inline-transform.c. | |
10795 | (cgraph_clone_inlined_nodes): Rename to clone_inlined_nodes; | |
10796 | move to ipa-inline-transform.c | |
10797 | (recursive_inlining, inline_small_functions, flatten_function, | |
10798 | ipa_inline, inline_always_inline_functions, | |
10799 | early_inline_small_functions): Update. | |
10800 | (inline_transform): Move to ipa-inline-transform.c. | |
10801 | * ipa-inline.h (inline_call, inline_transform, clone_inlined_nodes): | |
10802 | Declare. | |
10803 | * Makefile.in (ipa-inline-transform.o): New file. | |
10804 | * cgraphunit.c (save_inline_function_body): Move to | |
10805 | ipa-inline-transform.c | |
10806 | ||
f0679612 DD |
10807 | 2011-04-19 DJ Delorie <dj@redhat.com> |
10808 | ||
10809 | * config/m32c/m32c.c (m32c_emit_epilogue): Don't try to push | |
10810 | registers if we already know there aren't any. | |
10811 | (m32c_emit_epilogue): Don't emit a barrier here. | |
10812 | (m32c_emit_eh_epilogue): Likewise. | |
10813 | * config/m32c/blkmov.md (movstr): Don't fail on wrong-type | |
10814 | operands at expand time. | |
10815 | * config/m32c/m32c.h (WCHAR_TYPE_SIZE): Change to 4 to match "long | |
10816 | int" wchar type. | |
10817 | (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): Remove | |
10818 | duplicates. Provide aliases instead. | |
10819 | * config/m32c/prologue.md (eh_return): Emit a barrier here. | |
10820 | (eh_epilogue): Add a "(return)" here as a hint to other parts of | |
10821 | the compiler. | |
10822 | ||
32257ddc AS |
10823 | 2011-04-19 Anatoly Sokolov <aesok@post.ru> |
10824 | ||
10825 | * config/sparc/sparc.h (GENERAL_OR_I64, REGISTER_MOVE_COST): Remove. | |
10826 | * config/sparc/sparc.c (TARGET_REGISTER_MOVE_COST): Define. | |
10827 | (general_or_i64_p, sparc_register_move_cost): New function. | |
10828 | ||
60bea929 RO |
10829 | 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10830 | ||
10831 | * doc/install.texi (Configuration, --enable-threads): Remove mach. | |
3b84d61f | 10832 | Add lynx, mipssde. Sort table. |
60bea929 | 10833 | |
444b3995 | 10834 | 2011-04-19 Xinliang David Li <davidxl@google.com> |
3b84d61f | 10835 | |
9d12f71a EB |
10836 | * ipa-cp.c (ipcp_update_profiling): Assert that scale_completement is |
10837 | not negative. | |
444b3995 | 10838 | |
d708ce50 JJ |
10839 | 2011-04-19 Jakub Jelinek <jakub@redhat.com> |
10840 | ||
10841 | PR target/48678 | |
10842 | * config/i386/i386.md (movstrict<mode>): FAIL if operands[0] | |
10843 | is a SUBREG with non-MODE_INT mode inside of it. | |
10844 | ||
49c471e3 MJ |
10845 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
10846 | ||
10847 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Devirtualize | |
10848 | also according to actual contants. | |
10849 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): New function. | |
10850 | (gimple_fold_call): Use it. | |
10851 | * gimple.h (gimple_extract_devirt_binfo_from_cst): Declare. | |
10852 | ||
0004f992 MJ |
10853 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
10854 | ||
10855 | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Return false for scalar | |
10856 | non-pointer assignments. | |
10857 | ||
40591473 MJ |
10858 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
10859 | ||
10860 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Take into | |
10861 | account anc_offset and otr_type from the indirect edge info. | |
10862 | * ipa-prop.c (get_ancestor_addr_info): New function. | |
10863 | (compute_complex_ancestor_jump_func): Assignment analysis moved to | |
10864 | get_ancestor_addr_info, call it. | |
10865 | (ipa_note_param_call): Do not initialize information about polymorphic | |
10866 | calls, return the indirect call graph edge. Remove the last | |
10867 | parameter, adjust all callers. | |
10868 | (ipa_analyze_virtual_call_uses): Process also calls to ancestors of | |
10869 | parameters. Initialize polymorphic information in the indirect edge. | |
10870 | ||
abe36b81 EB |
10871 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
10872 | ||
10873 | PR lto/48148 | |
10874 | * gimple.c (gimple_types_compatible_p_1) <ENUMERAL_TYPE>: Do not merge | |
10875 | the types if they have different enumeration identifiers. | |
10876 | ||
e6416b30 JH |
10877 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
10878 | ||
10879 | * cgraph.h (cgraph_optimize_for_size_p): Declare. | |
10880 | * ipa-cp.c (ipcp_insert_stage): Use cgraph_optimize_for_size_p. | |
10881 | * predict.c (cgraph_optimize_for_size_p): Break out from ... | |
10882 | (optimize_function_for_size_p) ... here. | |
10883 | ||
d39132ea RG |
10884 | 2011-04-19 Richard Guenther <rguenther@suse.de> |
10885 | ||
10886 | PR lto/48207 | |
10887 | * tree.c (free_lang_data): Do not reset the decl-assembler-name | |
10888 | langhook. | |
10889 | ||
ff7037dc EB |
10890 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
10891 | ||
10892 | * tree-inline.c (expand_call_inline): Do not issue a -Winline warning | |
10893 | if DECL_NO_INLINE_WARNING_P is set on the function. | |
10894 | ||
c1ee2892 BS |
10895 | 2011-04-19 Bernd Schmidt <bernds@codesourcery.com> |
10896 | ||
10897 | PR fortran/47976 | |
10898 | * reload1.c (inc_for_reload): Return void. All callers changed. | |
10899 | (emit_input_reload_insns): Don't try to delete previous output | |
10900 | reloads to a register, or record spill_reg_store for autoincs. | |
fbb20b29 BS |
10901 | |
10902 | 2011-04-19 Basile Starynkevitch <basile@starynkevitch.net> | |
10903 | ||
10904 | * gengtype.h: Updated copyright year. | |
10905 | (struct input_file_st): Add inpisplugin field. | |
10906 | (type_fileloc): New function. | |
10907 | * gengtype.c | |
10908 | (write_typed_struct_alloc_def): Add gcc_assert. | |
10909 | (write_typed_alloc_defns): Ditto. Don't output for plugin files. | |
10910 | (write_typed_alloc_defns): Don't output for plugin files. | |
10911 | (input_file_by_name): Clear inpisplugin field. | |
10912 | (main): Set inpisplugin field for plugin files. | |
10913 | ||
897e0a89 NP |
10914 | 2011-04-19 Nicola Pero <nicola.pero@meta-innovation.com> |
10915 | ||
10916 | * gengtype-state.c (string_eq): New. | |
10917 | (read_state): Use string_eq instead of strcmp when creating the | |
10918 | state_ident_tab. | |
10919 | ||
363ee90e WG |
10920 | 2011-04-19 Wei Guozhi <carrot@google.com> |
10921 | ||
10922 | PR target/47855 | |
10923 | * config/arm/arm-protos.h (thumb1_legitimate_address_p): New prototype. | |
10924 | * config/arm/arm.c (thumb1_legitimate_address_p): Remove the static | |
10925 | linkage. | |
10926 | * config/arm/constraints.md (Uu): New constraint. | |
10927 | * config/arm/arm.md (*arm_movqi_insn): Compute attr "length". | |
10928 | ||
18a24fed TG |
10929 | 2011-04-19 Tristan Gingold <gingold@adacore.com> |
10930 | ||
10931 | * config.gcc (-*-*-*vms): Added. | |
10932 | (alpha64-dec-*vms*,alpha*-dec-*vms*, ia64-hp-*vms*): Common | |
10933 | definitions moved. | |
10934 | * config/vms/vms-ld.c: New file. | |
10935 | * config/vms/vms-ar.c: New file. | |
10936 | * config/vms/t-vmsnative: New file. | |
10937 | ||
1c13f168 XDL |
10938 | 2011-04-18 Xinliang David Li <davidxl@google.com> |
10939 | ||
10940 | * final.c (dump_basic_block_info): Use ASM_COMMENT_START. | |
10941 | ||
84825707 JJ |
10942 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
10943 | ||
10944 | PR middle-end/48661 | |
10945 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Return NULL | |
10946 | if TREE_TYPE (v) is non-NULL. | |
10947 | ||
10948 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Renamed from | |
10949 | gimple_get_virt_mehtod_for_binfo. | |
10950 | * gimple.h (gimple_get_virt_method_for_binfo): Likewise. | |
10951 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Adjust | |
10952 | callers. | |
10953 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
10954 | ||
7d4f8d02 | 10955 | 2011-04-18 Michael Matz <matz@suse.de> |
7254cb57 MM |
10956 | Steve Ellcey <sje@cup.hp.com> |
10957 | ||
7d4f8d02 EB |
10958 | * expr.c (expand_expr_real_2) <CASE_CONVERT>: If OP0 is a constant, |
10959 | use its mode as source mode if it isn't VOIDmode. | |
7254cb57 | 10960 | |
474e8e70 DCR |
10961 | 2011-04-18 Dennis, CHENG Renquan <crquan@fedoraproject.org> |
10962 | ||
10963 | * doc/passes.texi: Fill crossref nodes. | |
10964 | ||
cff41484 JM |
10965 | 2011-04-18 Jim Meyering <meyering@redhat.com> |
10966 | ||
7d4f8d02 | 10967 | Fix doubled-word typos in comments and strings |
cff41484 JM |
10968 | * config/alpha/vms-unwind.h: s/for for/for/ |
10969 | * config/arm/unwind-arm.h: Likewise. | |
10970 | * config/microblaze/microblaze.c: Likewise. | |
10971 | * config/sh/constraints.md: s/in in/in/ | |
10972 | * tree-cfg.c (verify_types_in_gimple_reference): Likewise. | |
10973 | ||
f60c2554 UB |
10974 | 2011-04-18 Uros Bizjak <ubizjak@gmail.com> |
10975 | ||
10976 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): Remove. | |
10977 | (AVX_FLOAT_MODE_P): Ditto. | |
10978 | (AVX128_VEC_FLOAT_MODE_P): Ditto. | |
10979 | (AVX256_VEC_FLOAT_MODE_P): Ditto. | |
10980 | (AVX_VEC_FLOAT_MODE_P): Ditto. | |
10981 | * config/i386/i386.md (UNSPEC_MASKLOAD): Remove. | |
10982 | (UNSPEC_MASKSTORE): Ditto. | |
10983 | * config/i386/sse.md (<sse>_movmsk<ssemodesuffix><avxmodesuffix>): | |
10984 | Merge from <sse>_movmsk<ssemodesuffix> and | |
10985 | avx_movmsk<ssemodesuffix>256. Use VF mode iterator. | |
10986 | (*sse2_maskmovdqu): Merge with *sse2_maskmovdqu_rex64. Use P mode | |
10987 | iterator. | |
10988 | (avx_maskload<ssemodesuffix><avxmodesuffix>): New expander. | |
10989 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Ditto. | |
10990 | (*avx_maskmov<ssemodesuffix><avxmodesuffix>): New insn. | |
10991 | ||
09a2806f JH |
10992 | 2011-04-18 Jan Hubicka <jh@suse.cz> |
10993 | ||
8a8dccb2 JH |
10994 | * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. |
10995 | ||
09a2806f JH |
10996 | * ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h |
10997 | (want_inline_function_called_once_p): Break out the logic from | |
10998 | ipa_inline. | |
10999 | (edge_badness): Ensure that profile is not misupdated. | |
11000 | (lookup_recursive_calls): Prioritize by call frequencies. | |
11001 | (inline_small_functions): Move program size estimates here; | |
11002 | actually process whole queue even when unit growth has been | |
11003 | met. (to properly compute inline_failed reasons and for the | |
f60c2554 | 11004 | case unit size decrease.) Revisit comments on recursive inlining. |
09a2806f JH |
11005 | (ipa_inline): Remove unit summary code; first inline hot calls |
11006 | of functions called once, cold calls next. | |
11007 | (order, nnodes): Remove unused variables. | |
11008 | * Makefile.in (ipa-inline.o): No longer depent on ggc files. | |
11009 | (GTFILES): Remove ipa-inline.c | |
11010 | * sel-sched.c (fill_insns): Silence uninitialized var warning. | |
11011 | ||
3eea52ef EB |
11012 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
11013 | ||
11014 | * dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype. | |
11015 | ||
229a1c59 | 11016 | 2011-04-18 Jie Zhang <jie@codesourcery.com> |
3eea52ef | 11017 | Richard Earnshaw <rearnsha@arm.com> |
229a1c59 JZ |
11018 | |
11019 | * arm.c (neon_builtin_type_bits): Remove. | |
11020 | (typedef enum neon_builtin_mode): New. | |
11021 | (T_MAX): Don't define. | |
11022 | (typedef enum neon_builtin_datum): Remove bits, codes[], | |
11023 | num_vars and base_fcode. Add mode, code and fcode. | |
11024 | (VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7, VAR8, VAR9 | |
11025 | VAR10): Change accordingly. | |
11026 | (neon_builtin_data[]): Change accordingly | |
11027 | (arm_init_neon_builtins): Change accordingly. | |
11028 | (neon_builtin_compare): Remove. | |
11029 | (locate_neon_builtin_icode): Remove. | |
11030 | (arm_expand_neon_builtin): Change accordingly. | |
11031 | ||
11032 | * arm.h (enum arm_builtins): Move to ... | |
11033 | * arm.c (enum arm_builtins): ... here; and rearrange builtin code. | |
11034 | ||
11035 | * arm.c (arm_builtin_decl): Declare. | |
11036 | (TARGET_BUILTIN_DECL): Define. | |
11037 | (enum arm_builtins): Correct ARM_BUILTIN_MAX. | |
11038 | (arm_builtin_decls[]): New. | |
11039 | (arm_init_neon_builtins): Store builtin declarations in | |
11040 | arm_builtin_decls[]. | |
11041 | (arm_init_tls_builtins): Likewise. | |
11042 | (arm_init_iwmmxt_builtins): Likewise. Refactor initialization code. | |
11043 | (arm_builtin_decl): New. | |
11044 | ||
75e802cc RG |
11045 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
11046 | ||
11047 | * tree.c (upper_bound_in_type): Build properly canonicalized | |
11048 | INTEGER_CSTs. | |
11049 | (lower_bound_in_type): Likewise. | |
11050 | ||
3b45a007 RG |
11051 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
11052 | ||
11053 | * gimple.h (gimple_call_addr_fndecl): New function. | |
11054 | (gimple_call_fndecl): Use it. | |
11055 | * gimple-fold.c (gimple_fold_call): Fold away OBJ_TYPE_REFs | |
11056 | for direct calls. | |
11057 | * tree-ssa-ccp.c (ccp_fold_stmt): Remove OBJ_TYPE_REF folding. | |
11058 | * tree-ssa-pre.c (eliminate): Also simplify indirect OBJ_TYPE_REFs. | |
11059 | ||
d25a79ea RG |
11060 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
11061 | ||
11062 | PR middle-end/48650 | |
11063 | * tree.c (build_string): STRING_CST is now derived from tree_typed. | |
11064 | ||
7d5fc814 EB |
11065 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
11066 | ||
11067 | PR lto/48492 | |
11068 | * cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a | |
11069 | DECL_IN_CONSTANT_POOL without RTL. | |
11070 | ||
7e7cfcf6 UW |
11071 | 2011-04-18 Ulrich Weigand <ulrich.weigand@linaro.org> |
11072 | Ira Rosen <ira.rosen@linaro.org> | |
11073 | ||
11074 | PR target/48252 | |
11075 | * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments | |
11076 | to match neon_vzip/vuzp/vtrn_internal. | |
11077 | * config/arm/neon.md (neon_vtrn<mode>_internal): Make both | |
11078 | outputs explicitly dependent on both inputs. | |
11079 | (neon_vzip<mode>_internal, neon_vuzp<mode>_internal): Likewise. | |
11080 | ||
49eab32e JJ |
11081 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
11082 | ||
11083 | PR tree-optimization/48616 | |
11084 | * tree-vect-stmts.c (vectorizable_shift): If SLP, determine | |
11085 | whether the shift is by scalar or vector based on whether all SLP | |
11086 | scalar stmts have the same rhs. | |
11087 | ||
e54170f4 CLT |
11088 | 2011-04-17 Chung-Lin Tang <cltang@codesourcery.com> |
11089 | ||
11090 | * config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC | |
11091 | memory operands. | |
11092 | ||
b14ee6c9 RS |
11093 | 2011-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
11094 | ||
269e0e18 | 11095 | PR target/43700 |
b14ee6c9 RS |
11096 | * config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global |
11097 | registers. | |
11098 | ||
10158cd3 JH |
11099 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
11100 | ||
11101 | * cgrpah.h (struct cgraph_node): Remove finalized_by_frontend. | |
7d5fc814 EB |
11102 | * cgrpahunit.c (cgraph_finalize_function): Do not set |
11103 | finalized_by_frontend. | |
10158cd3 JH |
11104 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream |
11105 | finalized_by_frontend. | |
11106 | ||
2e9bb6ba JH |
11107 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
11108 | ||
11109 | * cgraph.c (cgraph_clone_node): Do not handle vtable_method | |
11110 | * cgraph.h (struct cgraph_local_info): Drop vtable_method. | |
11111 | * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. | |
7d5fc814 EB |
11112 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable |
11113 | method. | |
2e9bb6ba JH |
11114 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in |
11115 | gimple-fold.c | |
11116 | * varasm.c (mark_decl_referenced): Drop vtable_method handling code. | |
11117 | ||
beb628e1 EB |
11118 | 2011-04-17 Eric Botcazou <ebotcazou@adacore.com> |
11119 | ||
11120 | PR lto/48538 | |
11121 | * lto-cgraph.c (merge_profile_summaries): Check that lto_file_data | |
11122 | is non-null before accessing it. | |
11123 | (input_cgraph): Remove trailing spaces. | |
11124 | ||
3e2fdd24 RE |
11125 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
11126 | ||
11127 | * params.def (sms-min-sc): New param flag. | |
11128 | * modulo-sched.c (sms_schedule): Use it. | |
11129 | * doc/invoke.texi (sms-min-sc): Document it. | |
11130 | ||
4c0f7679 JH |
11131 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
11132 | ||
11133 | * lto-symtab.c (lto_cgraph_replace_node): When call statement is | |
11134 | present, also set gimple_call_set_cannot_inline. | |
11135 | * ipa-inline.c: Update toplevel comment. | |
11136 | (MAX_TIME): Remove. | |
11137 | (cgraph_clone_inlined_nodes): Fix linebreaks. | |
11138 | (cgraph_check_inline_limits): Restructure to ... | |
11139 | (caller_growth_limits): ... this one; be more tolerant | |
11140 | on growth in nested inline chains; add explanatory comment; | |
11141 | fix stack accounting thinko introduced by previous patch. | |
11142 | (cgraph_default_inline_p): Remove. | |
11143 | (report_inline_failed_reason): New function. | |
11144 | (can_inline_edge_p): New function. | |
11145 | (can_early_inline_edge_p): New function. | |
11146 | (leaf_node_p): Move upwards in file. | |
11147 | (want_early_inline_function_p): New function. | |
11148 | (want_inline_small_function_p): New function. | |
11149 | (want_inline_self_recursive_call_p): New function. | |
11150 | (cgraph_edge_badness): Rename to ... | |
11151 | (edge_badness) ... this one; fix linebreaks. | |
11152 | (update_edge_key): Update call of edge_baddness; add | |
11153 | detailed dump about queue updates. | |
11154 | (update_caller_keys): Use can_inline_edge_p and | |
11155 | want_inline_small_function_p. | |
11156 | (cgraph_decide_recursive_inlining): Rename to... | |
11157 | (recursive_inlining): Use can_inline_edge_p and | |
f60c2554 UB |
11158 | want_inline_self_recursive_call_p; simplify and remove no longer |
11159 | valid FIXME. | |
4c0f7679 JH |
11160 | (cgraph_set_inline_failed): Remove. |
11161 | (add_new_edges_to_heap): Use can_inline_edge_p and | |
11162 | want_inline_small_function_p. | |
11163 | (cgraph_decide_inlining_of_small_functions): Rename to ... | |
11164 | (inline_small_functions): ... this one; cleanup; use | |
f60c2554 UB |
11165 | can/want predicates; cleanup debug ouput; work edges till fibheap |
11166 | is exhausted and do not stop once unit growth is reached; remove | |
11167 | later loop processing remaining edges. | |
4c0f7679 JH |
11168 | (cgraph_flatten): Rename to ... |
11169 | (flatten_function): ... this one; use can_inline_edge_p | |
11170 | and can_early_inline_edge_p predicates. | |
11171 | (cgraph_decide_inlining): Rename to ... | |
11172 | (ipa_inline): ... this one; remove unreachable nodes before | |
11173 | inlining functions called once; simplify the pass. | |
11174 | (cgraph_perform_always_inlining): Rename to ... | |
11175 | (inline_always_inline_functions): ... this one; use | |
f60c2554 | 11176 | DECL_DISREGARD_INLINE_LIMITS; use can_inline_edge_p predicate. |
4c0f7679 JH |
11177 | (cgraph_decide_inlining_incrementally): Rename to ... |
11178 | (early_inline_small_functions): ... this one; simplify | |
11179 | using new predicates; cleanup; make dumps prettier. | |
11180 | (cgraph_early_inlining): Rename to ... | |
11181 | (early_inliner): newer inline regular functions into always-inlines; | |
11182 | fix updating of call stmt summaries. | |
11183 | (pass_early_inline): Update for new names. | |
11184 | (inline_transform): Fix formating. | |
11185 | (gate_cgraph_decide_inlining): Rename to ... | |
11186 | (pass_ipa_inline): ... this one. | |
11187 | * ipa-inline.h (inline_summary): Remove disregard_inline_limits. | |
11188 | * ipa-inline-analysis.c (dump_inline_summary): Update. | |
11189 | (compute_inline_parameters): Do not compute disregard_inline_limits; | |
11190 | look for mismatching arguments. | |
11191 | (estimate_growth): Fix handlig of non-trivial self recursion. | |
11192 | (inline_read_summary): Do not read info->disregard_inline_limits. | |
11193 | (inline_write_summary): Do not write info->disregard_inline_limits. | |
beb628e1 EB |
11194 | * tree-inline.c (inline_forbidden_into_p, tree_can_inline_p): Remove |
11195 | and move all checks into can_inline_edge_p predicate; re-enable code | |
11196 | comparing optimization levels. | |
4c0f7679 JH |
11197 | (expand_call_inline): Do not test inline_forbidden_into_p. |
11198 | * Makefile.in (ipa-inline.o): Update arguments. | |
11199 | ||
54333b7c RE |
11200 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
11201 | ||
11202 | * ddg.c (free_ddg_all_sccs): Free sccs field in struct ddg_all_sccs. | |
11203 | ||
42c2bf92 RE |
11204 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
11205 | ||
11206 | * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. | |
11207 | ||
b183e9e0 MM |
11208 | 2011-04-17 Michael Matz <matz@suse.de> |
11209 | ||
11210 | PR tree-optimization/48622 | |
11211 | PR lto/48645 | |
11212 | * ipa-inline-analysis.c (inline_read_summary): Read size/time | |
11213 | in same order as they're written. | |
11214 | ||
b8a17fa2 JDA |
11215 | 2011-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11216 | ||
11217 | * config/pa/predicates.md: Reorganize and simplify predicates. | |
11218 | Eliminate duplicate code checks. | |
11219 | (arith_operand): Rename to arith14_operand | |
11220 | (reg_or_ior_operand): Rename to reg_or_cint_ior_operand. | |
11221 | * config/pa/pa.md: Use renamed operands. | |
11222 | * config/pa/pa-protos.h (symbolic_operand): Delete declaration. | |
11223 | (tls_symbolic_operand, function_label_operand, lhs_lshift_cint_operand, | |
11224 | arith11_operand, adddi3_operand, indexed_memory_operand, | |
11225 | symbolic_memory_operand, int11_operand, reg_or_cint_move_operand, | |
11226 | arith5_operand, uint5_operand, pic_label_operand, plus_xor_ior_operator, | |
11227 | borx_reg_operand, shadd_operand, arith_operand, read_only_operand, | |
11228 | move_dest_operand, move_src_operand, prefetch_cc_operand, | |
11229 | prefetch_nocc_operand, and_operand, ior_operand, arith32_operand, | |
11230 | uint32_operand, reg_before_reload_operand, reg_or_0_operand, | |
11231 | reg_or_0_or_nonsymb_mem_operand, pre_cint_operand, post_cint_operand, | |
11232 | div_operand, int5_operand, movb_comparison_operator, | |
11233 | ireg_or_int5_operand, call_operand_address, ior_operand, fp_reg_operand, | |
11234 | arith_double_operand, ireg_operand, lhs_lshift_operand, | |
11235 | pc_or_label_operand, non_hard_reg_operand, eq_neq_comparison_operator, | |
11236 | integer_store_memory_operand): Likewise. | |
11237 | * config/pa/pa.c (adddi3_operand): Move to predicates.md. | |
11238 | (integer_store_memory_operand, read_only_operand, | |
11239 | function_label_operand, borx_reg_operand, | |
11240 | non_hard_reg_operand): Likewise. | |
11241 | (eq_neq_comparison_operator): Delete unused operator. | |
11242 | (legitimize_pic_address): Use VOIDmode for mode argument in calls to | |
11243 | function_label_operand. | |
11244 | (emit_move_sequence): Likewise. | |
11245 | ||
8dfb9f16 UB |
11246 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
11247 | ||
11248 | * config/i386/sse.md (sseunpackmode): New mode attribute. | |
11249 | (ssepackmode): Ditto. | |
11250 | (vec_pack_trunc_<mode>): Macroize expander from | |
11251 | vec_pack_trunc_{v8hi,v4si,v2di} using VI248_128 mode iterator. | |
11252 | (vec_unpacks_lo_<mode>): Macroize expander from | |
11253 | vec_unpacks_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
11254 | (vec_unpacks_hi_<mode>): Macroize expander from | |
11255 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
11256 | (vec_unpacku_lo_<mode>): Macroize expander from | |
11257 | vec_unpacku_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
11258 | (vec_unpacku_hi_<mode>): Macroize expander from | |
11259 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
11260 | * config/i386/i386.c (ix86_expand_sse_unpack): Merge with | |
11261 | ix86_expand_sse4_unpack. | |
11262 | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): Remove. | |
11263 | ||
e7f23018 JH |
11264 | 2011-04-16 Jan Hubicka <jh@suse.cz> |
11265 | ||
11266 | * cgraphbuild.c: Include ipa-inline.h. | |
11267 | (reset_inline_failed): Use initialize_inline_failed. | |
11268 | * cgraph.c: Include ipa-inline.h. | |
11269 | (cgraph_create_node_1): Do not initialize estimated_growth. | |
11270 | (initialize_inline_failed): More to ipa-inline-analysis.c | |
11271 | (dump_cgraph_node): Do not dump inline flags. | |
11272 | * cgraph.h (cgraph_local_info): Remove inlineable, versionable | |
11273 | and disregard_inline_limits flags. | |
11274 | (cgrpah_global_info): Remove estimated_stack_size, stack_frame_offset, | |
11275 | time, size, estimated_growth. | |
8dfb9f16 UB |
11276 | * ipa-cp.c (ipcp_versionable_function_p, ipcp_generate_summary): |
11277 | Update. | |
e7f23018 JH |
11278 | * cgraphunit.c (cgraph_decide_is_function_needed): Use |
11279 | DECL_DISREGARD_INLINE_LIMITS. | |
11280 | (cgraph_analyze_function): Do not initialize | |
11281 | node->local.disregard_inline_limits. | |
11282 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream | |
11283 | inlinable, versionable and disregard_inline_limits. | |
11284 | * ipa-inline.c (cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, | |
8dfb9f16 UB |
11285 | cgraph_check_inline_limits, cgraph_default_inline_p, |
11286 | cgraph_edge_badness, update_caller_keys, update_callee_keys, | |
11287 | add_new_edges_to_heap): Update. | |
11288 | (cgraph_decide_inlining_of_small_function): Update; set | |
11289 | CIF_FUNCTION_NOT_INLINABLE for uninlinable functions. | |
e7f23018 JH |
11290 | (cgraph_decide_inlining, cgraph_edge_early_inlinable_p, |
11291 | cgraph_decide_inlining_incrementally): Update. | |
8dfb9f16 UB |
11292 | * ipa-inline.h (inline_summary): Add inlinable, versionable, |
11293 | disregard_inline_limits, estimated_stack_size, stack_frame_offset, | |
11294 | time, size and estimated_growth parameters. | |
e7f23018 JH |
11295 | (estimate_edge_growth): Update. |
11296 | (initialize_inline_failed): Declare. | |
11297 | * ipa-split.c: Include ipa-inline.h | |
11298 | (execute_split_functions): Update. | |
11299 | * ipa.c (cgraph_postorder): Use DECL_DISREGARD_INLINE_LIMITS. | |
11300 | (cgraph_remove_unreachable_nodes): Do not clear inlinable flag. | |
11301 | (record_cdtor_fn): Use DECL_DISREGARD_INLINE_LIMITS. | |
11302 | * ipa-inline-analysis.c (inline_node_removal_hook): Update; set | |
11303 | estimated_growth to INT_MIN. | |
11304 | (inline_node_duplication_hook): Likewise. | |
11305 | (dump_inline_summary): Dump new fields. | |
11306 | (compute_inline_parameters): Update. | |
11307 | (estimate_edge_time, estimate_time_after_inlining, | |
11308 | estimate_size_after_inlining, estimate_growth, inline_read_summary, | |
11309 | inline_write_summary): | |
11310 | (initialize_inline_failed): Move here from cgraph.c. | |
11311 | * tree-sra.c: Include ipa-inline.h. | |
11312 | (ipa_sra_preliminary_function_checks): Update. | |
f60c2554 UB |
11313 | * Makefile.in (cgraph.o, cgraphbuild.o): Add dependency on |
11314 | ipa-inline.h. | |
e7f23018 | 11315 | |
e81b8564 UB |
11316 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
11317 | ||
11318 | * config/i386/sse.md (V16): New mode iterator. | |
11319 | (VI1, VI8): Ditto. | |
11320 | (AVXMODEQI, AVXMODEDI): Remove. | |
11321 | (sse2, sse3): New mode attribute. | |
11322 | (mov<mode>): Use V16 mode iterator. | |
11323 | (*mov<mode>_internal): Merge with *avx_mov<mode>_internal. | |
11324 | (push<mode>1): Use V16 mode iterator. | |
11325 | (movmisalign<mode>): Ditto. | |
11326 | (<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
11327 | <sse>_movu<ssemodesuffix> and avx_movu<ssemodesuffix><avxmodesuffix>. | |
11328 | (*<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
11329 | *<sse>_movu<ssemodesuffix> and *avx_movu<ssemodesuffix><avxmodesuffix>. | |
11330 | (<sse2>_movdqu<avxmodesuffix>): Merge from sse2_movdqu and | |
11331 | avx_movdqu<avxmodesuffix>. | |
11332 | (*<sse2>_movdqu<avxmodesuffix>): Merge from *sse2_movdqu and | |
11333 | *avx_movdqu<avxmodesuffix>. | |
11334 | (<sse3>_lddqu<avxmodesuffix>) Merge from sse3_lddqu and | |
11335 | avx_lddqu<avxmodesuffix>. | |
11336 | (<sse>_movnt<mode>): Merge with avx_movnt<AVXMODEF2P:mode>. | |
11337 | (<sse2>_movnt<mode>): Merge from sse2_movntv2di and | |
11338 | avx_movnt<AVXMODEDI:mode>. | |
11339 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Update for | |
11340 | renamed sse_movups, sse2_movupd and sse2_movdqu patterns. | |
11341 | ||
4743d438 BS |
11342 | 2011-04-16 Bernd Schmidt <bernds@codesourcery.com> |
11343 | ||
11344 | PR target/48629 | |
11345 | * haifa-sched.c (prune_ready_list, schedule_block): Use | |
11346 | sched_pressure_p rather than flag_sched_pressure. | |
11347 | ||
748f7574 | 11348 | 2011-04-15 Pat Haugen <pthaugen@us.ibm.com> |
eb229cf4 PH |
11349 | |
11350 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
11351 | cgraph_get_node instead of cgraph_get_create_node. | |
11352 | ||
2ba172e0 JJ |
11353 | 2011-04-15 Jakub Jelinek <jakub@redhat.com> |
11354 | ||
11355 | * cfgexpand.c (expand_debug_expr): Use | |
11356 | simplify_gen_{unary,binary,ternary} instead of gen_rtx_*. | |
11357 | ||
63d2a353 MM |
11358 | 2011-04-15 Michael Matz <matz@suse.de> |
11359 | ||
11360 | * tree.h (ALLOCA_FOR_VAR_P): Rename to CALL_ALLOCA_FOR_VAR_P. | |
11361 | * builtins.c (expand_builtin): Use CALL_ALLOCA_FOR_VAR_P. | |
11362 | * function.c (gimplify_parameters): Ditto. | |
11363 | * gimplify.c (gimplify_vla_decl): Ditto. | |
11364 | ||
11365 | * gimple.h (enum gf_mask): Add GF_CALL_ALLOCA_FOR_VAR. | |
11366 | (gimple_call_set_alloca_for_var): New inline function. | |
11367 | (gimple_call_alloca_for_var_p): Ditto. | |
e81b8564 UB |
11368 | * gimple.c (gimple_build_call_from_tree): Remember |
11369 | CALL_ALLOCA_FOR_VAR_P state. | |
63d2a353 MM |
11370 | * cfgexpand.c (expand_call_stmt): Restore CALL_ALLOCA_FOR_VAR_P state. |
11371 | ||
11372 | * tree-inline.c (inline_forbidden_p_stmt): Don't reject alloca | |
11373 | calls if they were for VLA objects. | |
11374 | ||
dee74c34 MJ |
11375 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
11376 | ||
11377 | * ipa-prop.c (ipa_analyze_virtual_call_uses): Remove handling | |
11378 | of ADR_EXPRs. | |
11379 | ||
8e5837bc MJ |
11380 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
11381 | ||
11382 | PR middle-end/48601 | |
11383 | * tree-emutls.c (lower_emutls_function_body): Call | |
11384 | cgraph_get_create_node instead of cgraph_get_node. Do not assert the | |
11385 | result is non-NULL. | |
11386 | ||
0dc33c3c NP |
11387 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
11388 | ||
11389 | * c-decl.c (detect_field_duplicates): Call | |
11390 | objc_detect_field_duplicates instead of objc_get_interface_ivars. | |
11391 | ||
edcdea5b NF |
11392 | 2011-04-15 Nathan Froyd <froydnj@codesourcery.com> |
11393 | ||
11394 | * gimple.h (gimple_asm_clobbers_memory_p): Declare. | |
11395 | * gimple.c (gimple_asm_clobbers_memory_p): Define. | |
11396 | * ipa-pure-const.c (check_stmt): Call it. | |
11397 | * tree-ssa-operands.c (get_asm_expr_operands): Likewise. | |
11398 | ||
8456558d RG |
11399 | 2011-04-15 Richard Guenther <rguenther@suse.de> |
11400 | ||
11401 | PR tree-optimization/48290 | |
11402 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Propagate constants. | |
11403 | Properly decide inhibiting propagation based on the valueized | |
11404 | operand. Do loop-closed SSA form preserving here ... | |
11405 | (init_copy_prop): ... not here. | |
11406 | ||
266446be L |
11407 | 2011-04-15 H.J. Lu <hongjiu.lu@intel.com> |
11408 | ||
11409 | PR target/48612 | |
11410 | * config/i386/sse.md (*ieee_smin<mode>3): Switch mnemonics. | |
11411 | (*ieee_smax<mode>3): Likewise. | |
11412 | ||
17465c6e AK |
11413 | 2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11414 | ||
11415 | * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): | |
11416 | Replace match_operand with match_dup for the third operand in | |
11417 | these expanders. | |
11418 | ||
bce204e5 MK |
11419 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
11420 | ||
11421 | * combine.c (subst, combine_simlify_rtx): Add new argument, use it | |
11422 | to track processing of conditionals. Update all callers. | |
11423 | (try_combine, simplify_if_then_else): Update. | |
11424 | ||
3162fdf4 MK |
11425 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
11426 | ||
11427 | * config/m68k/m68k.c (m68k_sched_variable_issue): Handle | |
11428 | -fsched-pressure. | |
11429 | ||
79002a57 | 11430 | 2011-04-15 Georg-Johann Lay <avr@gjlay.de> |
e81b8564 | 11431 | |
79002a57 GJL |
11432 | * config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup |
11433 | instead of match_operand for operand 3. | |
11434 | ||
4fd3a105 RS |
11435 | 2011-04-15 Richard Sandiford <richard.sandiford@linaro.org> |
11436 | ||
11437 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
11438 | * genoutput.c (output_operand_data): Initialize it. | |
11439 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
11440 | (maybe_legitimize_operand): Use it when matching the original | |
11441 | op->value. | |
11442 | ||
ad19c4be EB |
11443 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
11444 | ||
11445 | * gimplify.c: Fix issues in comments throughout. | |
11446 | (voidify_wrapper_expr): Fix long line. | |
11447 | (build_stack_save_restore): Likewise. | |
11448 | (gimplify_loop_expr): Likewise. | |
11449 | (gimplify_compound_lval): Likewise. | |
11450 | (gimplify_init_ctor_eval): Likewise. | |
11451 | (gimplify_modify_expr_rhs): Likewise. | |
11452 | (omp_notice_threadprivate_variable): Likewise. | |
11453 | ||
b25aa0e8 | 11454 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
e7925582 | 11455 | |
b25aa0e8 EB |
11456 | * cfgexpand.c (expand_call_stmt): Convert the function type to the |
11457 | original one if this is not a builtin function. | |
e7925582 | 11458 | |
09db7afe JJ |
11459 | 2011-04-14 Jakub Jelinek <jakub@redhat.com> |
11460 | ||
11461 | PR target/48605 | |
11462 | * config/i386/sse.md (sse4_1_insertps): If operands[2] is a MEM, | |
11463 | offset it as needed based on top 2 bits in operands[3], change | |
11464 | MEM mode to SFmode and mask those 2 bits away from operands[3]. | |
11465 | ||
c59633d9 NP |
11466 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
11467 | ||
11468 | * c-parser.c (c_parser_objc_protocol_definition): Updated for | |
11469 | change from objc_declare_protocols() to objc_declare_protocol(). | |
11470 | ||
5e60198b UB |
11471 | 2011-04-14 Uros Bizjak <ubizjak@gmail.com> |
11472 | ||
11473 | * config/i386/sse.md (sse4_1): New mode attribute. | |
11474 | (<sse4_1>_blend<ssemodesuffix><avxmodesuffix>): Macroize from | |
11475 | avx_blend<ssemodesuffix><avxmodesuffix> and | |
11476 | sse4_1_blend<ssemodesuffix> using VF mode iterator. | |
11477 | (<sse4_1>_blendv<ssemodesuffix><avxmodesuffix>): Macroize from | |
11478 | avx_blendv<ssemodesuffix><avxmodesuffix> and | |
11479 | sse4_1_blendv<ssemodesuffix> using VF mode iterator. | |
11480 | (<sse4_1>_dp<ssemodesuffix><avxmodesuffix>): Macroize from | |
11481 | avx_dp<ssemodesuffix><avxmodesuffix> and | |
11482 | sse4_1_dp<ssemodesuffix> using VF mode iterator. | |
11483 | (sse4_1_mpsadbw): Merge with *avx_mpsadbw. | |
11484 | (sse4_1_packusdw): Merge with *avx_packusdw. | |
11485 | (sse4_1_pblendvb): Merge with *avx_pblendvb. | |
11486 | (sse4_1_pblendw): Merge with *avx_pblendw. | |
11487 | (avx_vtest<ssemodesuffix><avxmodesuffix>): Use VF mode iterator. | |
11488 | (<sse4_1>_round<ssemodesuffix><avxmodesuffix>): Macroize from | |
11489 | avx_round<ssemodesuffix>256 and sse4_1_round<ssemodesuffix> using | |
11490 | VF mode iterator. | |
11491 | (sse4_1_round<ssescalarmodesuffix>): Merge with | |
11492 | *avx_round<ssescalarmodesuffix>. | |
11493 | (aesenc): Merge with *avx_aesenc. | |
11494 | (aesenclast): Merge with *avx_aesenclast. | |
11495 | (aesdec): Merge with *avx_aesdec. | |
11496 | (aesdeclast): Merge with *avx_aesdeclast. | |
11497 | (pclmulqdq): Merge with *pclmulqdq. | |
11498 | * config/i386/predicates.md (reg_not_xmm0_operand_maybe_avx): | |
11499 | New predicate. | |
11500 | (nonimm_not_xmm0_operand_maybe_avx): Ditto. | |
11501 | ||
6f197850 L |
11502 | 2011-04-14 H.J. Lu <hongjiu.lu@intel.com> |
11503 | ||
11504 | PR middle-end/48608 | |
11505 | * cfgexpand.c (get_decl_align_unit): Renamed to ... | |
11506 | (align_local_variable): This. Update DECL_ALIGN. | |
11507 | (add_stack_var): Updated. | |
11508 | (expand_one_stack_var): Likewise. | |
11509 | ||
4a5ba3ed RG |
11510 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
11511 | ||
11512 | * tree-ssa-dse.c (struct dse_global_data, struct dse_block_local_data): | |
11513 | Remove. | |
11514 | (dse_initialize_block_local_data, dse_leave_block, | |
11515 | record_voperand_set, get_stmt_uid): Likewise. | |
11516 | (dse_possible_dead_store_p): Allow any kind of killing stmt. | |
11517 | (dse_optimize_stmt): Remove voperand set handling code. | |
11518 | Simplify and improve to handle any kind of killing stmt. | |
11519 | (dse_record_phi): Remove. | |
11520 | (dse_enter_block): Simplify. | |
11521 | (tree_ssa_dse): Likewise. | |
11522 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Handle some builtins. | |
11523 | ||
10a5dd5d JH |
11524 | 2011-04-14 Jan Hubicka <jh@suse.cz> |
11525 | ||
11526 | * cgraph.c (dump_cgraph_node): Do not dump inline summaries. | |
11527 | * cgraph.h (struct inline_summary): Move to ipa-inline.h | |
11528 | (cgraph_local_info): Remove inline_summary. | |
11529 | * ipa-cp.c: Include ipa-inline.h. | |
11530 | (ipcp_cloning_candidate_p, ipcp_estimate_growth, | |
11531 | ipcp_estimate_cloning_cost, ipcp_insert_stage): Use inline_summary | |
11532 | accesor. | |
11533 | * lto-cgraph.c (lto_output_node): Do not stream inline summary. | |
11534 | (input_overwrite_node): Do not set inline summary. | |
11535 | (input_node): Do not stream inline summary. | |
11536 | * ipa-inline.c (cgraph_decide_inlining): Dump inline summaries. | |
11537 | (cgraph_decide_inlining_incrementally): Do not try to estimate overall | |
11538 | growth; we do not have inline parameters computed for that anyway. | |
11539 | (cgraph_early_inlining): After inlining compute call_stmt_sizes. | |
11540 | * ipa-inline.h (struct inline_summary): Move here from ipa-inline.h | |
11541 | (inline_summary_t): New type and VECtor. | |
11542 | (debug_inline_summary, dump_inline_summaries): Declare. | |
11543 | (inline_summary): Use VOCtor. | |
11544 | (estimate_edge_growth): Kill hack computing call stmt size directly. | |
11545 | * lto-section-in.c (lto_section_name): Add inline section. | |
11546 | * ipa-inline-analysis.c: Include lto-streamer.h | |
11547 | (node_removal_hook_holder, node_duplication_hook_holder): New holders | |
11548 | (inline_node_removal_hook, inline_node_duplication_hook): New functions. | |
11549 | (inline_summary_vec): Define. | |
11550 | (inline_summary_alloc, dump_inline_summary, debug_inline_summary, | |
11551 | dump_inline_summaries): New functions. | |
5e60198b UB |
11552 | (estimate_function_body_sizes): Properly compute size/time of outgoing |
11553 | calls. | |
11554 | (compute_inline_parameters): Alloc inline_summary; do not compute | |
11555 | size/time of incomming calls. | |
10a5dd5d JH |
11556 | (estimate_edge_time): Avoid missing time summary hack. |
11557 | (inline_read_summary): Read inline summary info. | |
11558 | (inline_write_summary): Write inline summary info. | |
11559 | (inline_free_summary): Free all hooks and inline summary vector. | |
11560 | * lto-streamer.h: Add LTO_section_inline_summary section. | |
11561 | * Makefile.in (ipa-cp.o, ipa-inline-analysis.o): Update dependencies. | |
11562 | * ipa.c (cgraph_remove_unreachable_nodes): Fix dump file formating. | |
11563 | ||
b602d918 RS |
11564 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
11565 | ||
11566 | * tree-vectorizer.h (vect_strided_store_supported): Add a | |
11567 | HOST_WIDE_INT argument. | |
11568 | (vect_strided_load_supported): Likewise. | |
11569 | (vect_permute_store_chain): Return void. | |
11570 | (vect_transform_strided_load): Likewise. | |
11571 | (vect_permute_load_chain): Delete. | |
11572 | * tree-vect-data-refs.c (vect_strided_store_supported): Take a | |
11573 | count argument. Check that the count is a power of two. | |
11574 | (vect_strided_load_supported): Likewise. | |
11575 | (vect_permute_store_chain): Return void. Update after above changes. | |
11576 | Assert that the access is supported. | |
11577 | (vect_permute_load_chain): Likewise. | |
11578 | (vect_transform_strided_load): Return void. | |
11579 | * tree-vect-stmts.c (vectorizable_store): Update calls after | |
11580 | above interface changes. | |
11581 | (vectorizable_load): Likewise. | |
11582 | (vect_analyze_stmt): Don't check for strided powers of two here. | |
11583 | ||
ab4472fa RG |
11584 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
11585 | ||
11586 | PR tree-optimization/48590 | |
11587 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
11588 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
11589 | (call_may_clobber_ref_p_1): Handle BUILT_IN_ALLOCA and | |
11590 | BUILT_IN_STACK_SAVE. | |
11591 | * tree-ssa-dce.c (propagate_necessity): Handle | |
11592 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
11593 | ||
32dabdaf NP |
11594 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
11595 | ||
11596 | * c-parser.c (c_parser_objc_class_declaration): Updated call to | |
11597 | objc_declare_class. | |
11598 | ||
daade206 RG |
11599 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
11600 | ||
11601 | * tree.h (get_object_alignment_1): Declare. | |
11602 | * builtins.c (get_object_alignment_1): Split out worker from ... | |
11603 | (get_object_alignment): ... here. | |
11604 | * fold-const.c (get_pointer_modulus_and_residue): Use | |
11605 | get_object_alignment_1. | |
11606 | ||
920e8172 RS |
11607 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
11608 | ||
11609 | * tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra | |
11610 | type parameter. | |
11611 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add an aggr_type | |
11612 | parameter. Generalise code to handle arrays as well as vectors. | |
11613 | (vect_setup_realignment): Update accordingly. | |
11614 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
11615 | (vectorizable_load): Likewise. | |
11616 | ||
5ce1ee7f RS |
11617 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
11618 | ||
11619 | * tree-vect-stmts.c (vectorizable_load): Allocate and free dr_chain | |
11620 | within the per-copy loop. | |
11621 | ||
6438fe33 | 11622 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
0ea25ecd RS |
11623 | |
11624 | * tree-vect-stmts.c (vectorizable_load): Print the number of copies | |
11625 | in the dump file. | |
11626 | ||
6438fe33 | 11627 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
77b10485 RS |
11628 | |
11629 | * doc/options.texi (Negative): Explicitly mention that the | |
11630 | Negative chain must be circular. | |
11631 | ||
61e46a7d NF |
11632 | 2011-04-14 Nathan Froyd <froydnj@codesourcery.com> |
11633 | ||
11634 | * function.h (block_chainon): Declare. | |
11635 | * function.c (block_chainon): Define. | |
11636 | ||
43ea6502 | 11637 | 2011-04-14 Anatoly Sokolov <aesok@post.ru> |
5e60198b | 11638 | Eric Weddington <eric.weddington@atmel.com> |
748f7574 | 11639 | Georg-Johann Lay <avr@gjlay.de> |
5e60198b | 11640 | |
f60c2554 | 11641 | * config/avr/avr.c ("insn-codes.h", "optabs.h", "langhooks.h"): |
43ea6502 AS |
11642 | New Includes |
11643 | (avr_init_builtins, avr_expand_builtin, | |
11644 | avr_expand_delay_cycles, avr_expand_unop_builtin, | |
11645 | avr_expand_binop_builtin ): New functions. | |
11646 | (avr_builtin_id): New enum | |
11647 | (struct avr_builtin_description): New struct | |
11648 | (bdesc_1arg, bdesc_2arg): New arrays describing some RTL builtins. | |
11649 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
5e60198b | 11650 | |
43ea6502 | 11651 | * config/avr/avr.md (UNSPEC_FMUL, UNSPEC_FMULS, UNSPEC_FMULSU, |
5e60198b | 11652 | UNSPECV_ENABLE_IRQS, UNSPECV_NOP, UNSPECV_SLEEP, UNSPECV_WDR, |
43ea6502 AS |
11653 | UNSPECV_DELAY_CYCLES): new enumeration values |
11654 | (UNSPEC_SEI, UNSPEC_CLI): Remove enumeration values | |
11655 | ("enable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
11656 | ("disable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
11657 | ("*rotlqi3_4"): rename insn to "rotlqi3_4" | |
11658 | ("delay_cycles_1", "delay_cycles_2", "delay_cycles_3", | |
11659 | "delay_cycles_4", "nopv", "sleep", "wdr", "fmul", "fmuls", | |
11660 | "fmulsu"): New insns | |
5e60198b | 11661 | |
43ea6502 AS |
11662 | * config/avr/avr-c.c: fix line endings |
11663 | (avr_cpu_cpp_builtins): New builtin defines: __BUILTIN_AVR_NOP, | |
11664 | __BUILTIN_AVR_SEI, __BUILTIN_AVR_CLI, __BUILTIN_AVR_WDR, | |
11665 | __BUILTIN_AVR_SLEEP, __BUILTIN_AVR_SWAP, | |
11666 | __BUILTIN_AVR_DELAY_CYCLES, __BUILTIN_AVR_FMUL, | |
11667 | __BUILTIN_AVR_FMULS, __BUILTIN_AVR_FMULSU. | |
5e60198b | 11668 | |
43ea6502 AS |
11669 | * doc/extend.texi (AVR Built-in Functions): New node |
11670 | (Target Builtins): Add documentation of AVR | |
11671 | built-in functions. | |
11672 | ||
8a9b55f3 GJL |
11673 | 2011-04-14 Georg-Johann Lay <avr@gjlay.de> |
11674 | ||
11675 | PR target/44643 | |
11676 | * config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY | |
11677 | alone. Error if non-const data has attribute progmem. | |
11678 | ||
94bd1825 NF |
11679 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11680 | ||
11681 | * tree.h (struct tree_constructor): Include tree_typed instead of | |
11682 | tree_common. | |
11683 | * tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as | |
11684 | TS_TYPED instead of TS_COMMON. | |
11685 | ||
5e60198b | 11686 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
81b1e7eb UB |
11687 | |
11688 | * config/i386/sse.md (*sse2_uavgv16qi3): Merge with *avx_uavgv16qi3. | |
11689 | (*sse2_uavgv8hi3): Merge with *avx_uavgv8hi3. | |
11690 | (sse2_psadbw): Merge with *avx_psadbw. | |
11691 | (ssse3_phaddwv8hi3): Merge with *avx_phaddwv8hi3. | |
11692 | (ssse3_phadddv4si3): Merge with *avx_phadddv4si3. | |
11693 | (ssse3_phaddswv8hi3): Merge with *avx_phaddswv8hi3. | |
11694 | (ssse3_phsubwv8hi3): Merge with *avx_phsubwv8hi3. | |
11695 | (ssse3_phsubdv4si3): Merge with *avx_phsubdv4si3. | |
11696 | (ssse3_phsubswv8hi3): Merge with *avx_phsubswv8hi3. | |
11697 | (ssse3_pmaddubsw128): Merge with *avx_pmaddubsw128. | |
11698 | (*ssse3_pmulhrswv8hi3): Merge with *avx_pmulhrswv8hi3. | |
11699 | (ssse3_pshufbv16qi3): Merge with *avx_pshufbv16qi3. | |
11700 | (ssse3_psign<mode>3): Merge with *avx_psign<mode>3. | |
11701 | (ssse3_palignrti): Merge with *avx_palignrti. | |
11702 | ||
4b1a4694 NF |
11703 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11704 | ||
11705 | * tree-flow.h (struct gimple_df): Make free_ssanames a VEC. | |
11706 | * tree-ssanames.c (fini_ssanames): VEC_free it. | |
11707 | (make_ssa_name_fn): Update for VECness of free_ssanames. | |
11708 | (release_ssa_name, release_dead_ssa_names): Likewise. | |
11709 | * tree.h (struct tree_ssa_name): Include tree_typed instead of | |
11710 | tree_common. | |
11711 | * tree.c (initialize_tree_contains_struct): Mark TS_SSA_NAME as | |
11712 | TS_TYPED instead of TS_COMMON. | |
11713 | ||
4da3b811 NF |
11714 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11715 | ||
11716 | * postreload-gcse.c (gcse_after_reload_main): Add calls to | |
11717 | statistics_counter_event. | |
11718 | * tree-ssa-copyrename.c (stats): Define. | |
11719 | (rename_ssa_copies): Count coalesced SSA_NAMEs. Add call to | |
11720 | statistics_counter_event. | |
11721 | * tree-ssa-math-opts.c (reciprocal_stats, sincos_stats): Define. | |
11722 | (bswap_stats, widen_mul_stats): Define. | |
11723 | (insert_reciprocals): Increment rdivs_inserted. | |
11724 | (execute_cse_reciprocals): Zeroize reciprocal_stats. Increment | |
11725 | rfuncs_inserted. Add calls to statistics_counter_event. | |
11726 | (execute_cse_sincos_1): Increment inserted. | |
11727 | (execute_cse_sincos): Zeroize sincos_stats. Add call to | |
11728 | statistics_counter_event. | |
11729 | (execute_optimize_bswap): Zeroize bswap_stats. Increment fields | |
11730 | of bswap_stats. Add calls to statistics_counter_event. | |
11731 | (convert_mult_to_widen): Increment widen_mults_inserted. | |
11732 | (convert_plusminus_to_widen): Increment maccs_inserted. | |
11733 | (convert_mult_to_fma): Increment fmas_inserted. | |
11734 | (execute_optimize_widening_mul): Zeroize widen_mul_stats. Add | |
11735 | calls to statistics_counter_event. | |
11736 | ||
89fa552a VM |
11737 | 2011-04-13 Vladimir Makarov <vmakarov@redhat.com> |
11738 | ||
11739 | PR rtl-optimization/48455 | |
11740 | * ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of | |
11741 | `temp_costs->mem_cost'. | |
11742 | ||
03dfc36d JH |
11743 | 2011-04-13 Jan Hubicka <jh@suse.cz> |
11744 | ||
11745 | * ipa-inline.h: New file. | |
11746 | * ipa-inline-analysis.c: New file. Broken out of ... | |
11747 | * ipa-inline.c: ... this file; update toplevel comment; | |
11748 | include ipa-inline.h | |
11749 | (inline_summary): Move to ipa-inline.h | |
11750 | (cgraph_estimate_edge_time): Rename to estimate_edge_time; move to | |
11751 | ipa-inline-analysis.c. | |
7d4f8d02 EB |
11752 | (cgraph_estimate_time_after_inlining): Rename to |
11753 | estiamte_time_after_inlining; move to ipa-inline-analysis.c | |
03dfc36d JH |
11754 | (cgraph_estimate_edge_growth): Move to ipa-inline-analysis.c; rename |
11755 | to estimate_edge_growth. | |
11756 | (cgraph_estimate_size_after_inlining): Move to ipa-inline-analysis.c; | |
11757 | rename to estimate_size_after_inlining. | |
11758 | (cgraph_mark_inline_edge): Update for new naming convention. | |
11759 | (cgraph_check_inline_limits): Likewise. | |
11760 | (cgraph_edge_badness): Likewise. | |
11761 | (cgraph_decide_recursive_inlining): Likewise. | |
11762 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
11763 | (cgraph_decide_inlining_incrementally): Likewise. | |
7d4f8d02 EB |
11764 | (cgraph_estimate_growth): Rename to estimate_growth; move to |
11765 | ipa-inline-analysis.c. | |
03dfc36d JH |
11766 | (eliminated_by_inlining_prob): Move to ipa-inline-analysis.c. |
11767 | (estimate_function_body_sizes): Move to ipa-inline-analysis.c. | |
11768 | (compute_inline_parameters): Likewise. | |
11769 | (compute_inline_parameters_for_current): Likewise. | |
11770 | (pass_inline_parameters): Likewise. | |
11771 | (inline_indirect_intraprocedural_analysis): Likewise. | |
11772 | (analyze_function): Rename to inline_analyze_function; likewise. | |
11773 | (add_new_function): Move to ipa-inline-analysis.c. | |
11774 | (inline_generate_summary): Likewise. | |
11775 | (inline_read_summary): Likewise. | |
11776 | (inline_write_summary): Likewise. | |
11777 | * Makefile.in (ipa-inline-analysis.c): New file. | |
11778 | ||
7673c962 RO |
11779 | 2011-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11780 | ||
11781 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Remove GNU ld check. | |
11782 | * configure: Regenerate. | |
11783 | ||
9698252f NF |
11784 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11785 | ||
11786 | * tree.h (struct tree_int_cst, struct real_value): Include tree_typed | |
11787 | instead of tree_common. | |
11788 | (struct tree_fixed_cst, struct tree_string, struct tree_complex): | |
11789 | Likewise. | |
11790 | * tree.c (initialize_tree_contains_struct): Mark such nodes as being | |
11791 | TS_TYPED rather than TS_COMMON. | |
11792 | * print-tree.c (print_node) [STRING_CST]: Don't print TREE_CHAIN. | |
11793 | ||
3a7bfdd5 GJL |
11794 | 2011-04-01 Georg-Johann Lay <avr@gjlay.de> |
11795 | ||
11796 | PR target/45263 | |
86d83530 GJL |
11797 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Don't use |
11798 | r20 around calls of __tablejump_elpm__ | |
3a7bfdd5 | 11799 | |
20790697 JJ |
11800 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
11801 | ||
11802 | PR middle-end/48591 | |
11803 | * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is | |
11804 | NULL. | |
11805 | (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. | |
11806 | ||
094d7661 BS |
11807 | 2011-04-13 Bernd Schmidt <bernds@codesourcery.com> |
11808 | ||
11809 | * dwarf2out.c (struct dw_cfi_struct): Remove member dw_cfi_next. | |
11810 | (dw_cfi_ref): Add DEF_VEC_P and some DEF_VEC_ALLOC_Ps. | |
11811 | (cfi_vec): New typedef. | |
11812 | (struct dw_fde_struct): Make dw_fde_cfi a cfi_vec. Replace | |
11813 | dw_fde_switch_cfi with an integer dw_fde_switch_cfi_index. | |
11814 | (cie_cfi_vec): New static variable. | |
11815 | (cie_cfi_head): Delete. | |
11816 | (add_cfi): Accept a cfi_vec * as first argument. All callers and | |
11817 | declaration changed. Use vector rather than list operations. | |
11818 | (new_cfi): Don't initialize the dw_cfi_next field. | |
11819 | (add_fde_cfi): Allocate cie_cfi_vec if necessary. Use vector | |
11820 | rather than list operations. | |
11821 | (lookup_cfa): Use vector rather than list operations. | |
11822 | (output_cfis): New argument upto. Accept a cfi_vec rather than | |
11823 | a dw_cfi_ref list head as argument. All callers changed. | |
11824 | Iterate over the vector using upto as a maximum index. | |
11825 | (output_all_cfis): New static function. | |
11826 | (output_fde): Use vector rather than list operations. Use the | |
11827 | new upto argument for output_cfis rather than manipulating a | |
11828 | list. | |
11829 | (dwarf2out_begin_prologue): Change initializations to match | |
11830 | new struct members. | |
11831 | (dwarf2out_switch_text_section): Initialize dw_fde_switch_cfi_index | |
11832 | from the vector length rather than searching for the end of a list. | |
11833 | Use output_all_cfis. | |
11834 | (convert_cfa_to_fb_loc_list): Use vector rather than list operations. | |
11835 | ||
673a5740 NC |
11836 | 2011-04-13 Nick Clifton <nickc@redhat.com> |
11837 | ||
11838 | * config/rx/rx.md (movmemsi): Do not use this pattern when | |
11839 | volatile pointers are involved. | |
11840 | ||
1ee8b298 UB |
11841 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
11842 | ||
11843 | * config/i386/sse.md (pinsrbits): Remove. | |
11844 | (sse2_packsswb): Merge with *avx_packsswb. | |
11845 | (sse2_packssdw): Merge with *avx_packssdw. | |
11846 | (sse2_packuswb): Merge with *avx_packuswb. | |
11847 | (vec_interleave_highv16qi): Merge with *avx_interleave_highv16qi. | |
11848 | (vec_interleave_lowv16qi): Merge with *avx_interleave_lowv16qi. | |
11849 | (vec_interleave_highv8hi): Merge with *avx_interleave_highv8hi. | |
11850 | (vec_interleave_lowv8hi): Merge with *avx_interleave_lowv8hi. | |
11851 | (vec_interleave_highv4si): Merge with *avx_interleave_highv4si. | |
11852 | (vec_interleave_lowv4si): Merge with *avx_interleave_lowv4si. | |
11853 | (*sse4_1_pinsrb): Merge with *avx_pinsr<ssevecsize>. | |
11854 | (*sse2_pinsrw): Merge with *avx_pinsr<ssevecsize>. | |
11855 | (*sse4_1_pinsrd): Merge with *avx_pinsr<ssevecsize>. | |
11856 | (*sse4_1_pinsrq): Merge with *avx_pinsrq. | |
11857 | (sse2_loadld): Merge with *avx_loadld. | |
11858 | (*vec_extractv2di_1_rex64): Merge with *vec_extractv2di_1_rex64_avx. | |
11859 | (*vec_extractv2di_1_sse2): Merge with *vec_extractv2di_1_avx. | |
11860 | (*vec_concatv2si_sse4_1): Merge with *vec_concatv2si_avx. | |
11861 | (*vec_concatv2di_rex64_sse4_1): Merge with *vec_concatv2di_rex64_avx. | |
11862 | (vec_concatv2di): Merge with *vec_concatv2di_avx. | |
11863 | ||
81f653d6 NF |
11864 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
11865 | ||
11866 | * c-decl.c (union lang_tree_node): Check for TS_COMMON before | |
11867 | calling TREE_CHAIN. | |
11868 | * print-tree.c (print_node): Likewise. | |
11869 | * tree-inline.c (copy_tree_r): Likewise. | |
11870 | * c-lang.c (LANG_HOOKS_INIT_TS): Define. | |
11871 | * lto-streamer-in.c (lto_input_tree_pointers): Check for TS_TYPED | |
11872 | instead of TS_COMMON. | |
11873 | * lto-streamer-out.c (lto_output_tree_pointers): Likewise. | |
11874 | * tree.c (initialize_tree_contains_struct): Handle TS_TYPED. | |
11875 | (copy_node_stat): Zero TREE_CHAIN only if necessary. | |
11876 | (MARK_TS_BASE, MARK_TS_TYPED, MARK_TS_COMMON): Move these... | |
11877 | (MARK_TS_DECL_COMMON, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL): | |
11878 | ...and these... | |
11879 | (MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): ...and these... | |
11880 | * tree.h: ...here. | |
11881 | (TREE_CHAIN): Check for a TS_COMMON structure. | |
11882 | (TREE_TYPE): Check for a TS_TYPED structure. | |
11883 | ||
748f7574 | 11884 | 2011-04-12 Pat Haugen <pthaugen@us.ibm.com> |
ed940a4a PH |
11885 | |
11886 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
11887 | cgraph_get_create_node instead of cgraph_node. | |
11888 | ||
eb345401 NP |
11889 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
11890 | ||
11891 | * c-parser.c (c_parser_initelt): Updated call to | |
11892 | objc_build_message_expr. | |
11893 | (c_parser_postfix_expression): Likewise. | |
11894 | ||
a6c46762 KT |
11895 | 2011-04-12 Kai Tietz <ktietz@redhat.com> |
11896 | ||
11897 | * config/i386/mingw32.h (TARGET_SUBTARGET_DEFAULT): Add | |
11898 | MASK_MS_BITFIELD_LAYOUT bit. | |
11899 | ||
b4ccfed9 JJ |
11900 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
11901 | ||
11902 | * combine.c (update_cfg_for_uncondjump): Instead of testing at_end | |
11903 | assert it is always true. | |
11904 | (try_combine): Don't call update_cfg_for_uncondjump for noop non-jump | |
11905 | moves. | |
11906 | ||
0d8a2528 NP |
11907 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
11908 | ||
11909 | * c-parser.c (c_lex_one_token): Rewritten conditional used when | |
11910 | compiling Objective-C to be more efficient. | |
11911 | ||
06bd234a AF |
11912 | 2011-04-12 Axel Freyn <axel-freyn@gmx.de> |
11913 | ||
11914 | * opts-common.c (decode_cmdline_options_to_array): Remove variable | |
11915 | argv_copied. | |
11916 | ||
28569ac3 RS |
11917 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11918 | ||
11919 | * recog.h, genoutput.c, optabs.c: Revert last patch. | |
11920 | ||
ae59e00d RR |
11921 | 2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
11922 | ||
81b1e7eb UB |
11923 | PR target/48090 |
11924 | * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. | |
ae59e00d | 11925 | |
cff1b7e0 RS |
11926 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11927 | ||
11928 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
11929 | * genoutput.c (output_operand_data): Initialize it. | |
11930 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
11931 | (maybe_legitimize_operand): Use it when matching the original | |
11932 | op->value. | |
11933 | ||
77059241 RS |
11934 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11935 | ||
11936 | * genpreds.c (process_define_predicate): Move most processing | |
11937 | to gensupport.c. Continue to validate the expression. | |
11938 | * genrecog.c (did_you_mean_codes, compute_predicate_codes) | |
11939 | (process_define_predicate): Move processing to gensupport.c. | |
11940 | (main): Remove DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE cases. | |
11941 | * gensupport.c (did_you_mean_codes): Moved from genrecog.c. | |
11942 | (compute_predicate_codes): Moved from genrecog.c. Add lineno | |
11943 | argument. | |
11944 | (valid_predicate_name_p): New function, split out from old | |
11945 | genpreds.c:process_define_predicate. | |
11946 | (process_define_predicate): New function, combining code from | |
11947 | old genpreds.c and genrecog.c functions. | |
11948 | (process_rtx): Call it for DEFINE_PREDICATE and | |
11949 | DEFINE_SPECIAL_PREDICATE. | |
11950 | ||
6308e208 RS |
11951 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11952 | ||
11953 | * config/arm/arm.c (arm_print_operand): Use MEM_SIZE to get the | |
11954 | size of a '%A' memory reference. | |
11955 | (T_DREG, T_QREG): New neon_builtin_type_bits. | |
11956 | (arm_init_neon_builtins): Assert that the load and store operands | |
11957 | are neon_struct_operands. | |
11958 | (locate_neon_builtin_icode): Provide the neon_builtin_type_bits. | |
11959 | (NEON_ARG_MEMORY): New builtin_arg. | |
11960 | (neon_dereference_pointer): New function. | |
11961 | (arm_expand_neon_args): Add a neon_builtin_type_bits argument. | |
11962 | Handle NEON_ARG_MEMORY. | |
11963 | (arm_expand_neon_builtin): Update after above interface changes. | |
11964 | Use NEON_ARG_MEMORY for loads and stores. | |
11965 | * config/arm/predicates.md (neon_struct_operand): New predicate. | |
11966 | * config/arm/iterators.md (V_two_elem): Tweak formatting. | |
11967 | (V_three_elem): Use BLKmode for accesses that have no associated mode. | |
11968 | (V_four_elem): Tweak formatting. | |
11969 | * config/arm/neon.md (neon_vld1<mode>, neon_vld1_dup<mode>) | |
11970 | (neon_vst1_lane<mode>, neon_vst1<mode>, neon_vld2<mode>) | |
11971 | (neon_vld2_lane<mode>, neon_vld2_dup<mode>, neon_vst2<mode>) | |
11972 | (neon_vst2_lane<mode>, neon_vld3<mode>, neon_vld3_lane<mode>) | |
11973 | (neon_vld3_dup<mode>, neon_vst3<mode>, neon_vst3_lane<mode>) | |
11974 | (neon_vld4<mode>, neon_vld4_lane<mode>, neon_vld4_dup<mode>) | |
11975 | (neon_vst4<mode>): Replace pointer operand with a memory operand. | |
11976 | Use %A in the output template. | |
11977 | (neon_vld3qa<mode>, neon_vld3qb<mode>, neon_vst3qa<mode>) | |
11978 | (neon_vst3qb<mode>, neon_vld4qa<mode>, neon_vld4qb<mode>) | |
11979 | (neon_vst4qa<mode>, neon_vst4qb<mode>): Likewise, but halve | |
11980 | the width of the memory access. Remove post-increment. | |
11981 | * config/arm/neon-testgen.ml: Allow addresses to have an alignment. | |
11982 | ||
e5db8f2f NC |
11983 | 2011-04-12 Nick Clifton <nickc@redhat.com> |
11984 | ||
11985 | * config/v850/v850.c (expand_prologue): Do not use the CALLT | |
11986 | instruction for interrupt handlers if the target is the basic V850 | |
11987 | architecture. | |
11988 | (expand_epilogue): Likewise. | |
11989 | ||
74f091d6 JJ |
11990 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
11991 | ||
11992 | PR rtl-optimization/48549 | |
11993 | * combine.c (propagate_for_debug): Also stop after BB_END of | |
11994 | this_basic_block. Process LAST and just stop processing after it. | |
11995 | (combine_instructions): If last_combined_insn has been deleted, | |
11996 | set last_combined_insn to its PREV_INSN. | |
11997 | ||
f20ca725 RG |
11998 | 2011-04-12 Richard Guenther <rguenther@suse.de> |
11999 | ||
12000 | PR tree-optimization/46076 | |
12001 | * gimple.h (struct gimple_statement_call): Add fntype field. | |
12002 | (gimple_call_fntype): Adjust. | |
12003 | (gimple_call_set_fntype): New function. | |
12004 | * gimple.c (gimple_build_call_1): Set the call function type. | |
12005 | * gimplify.c (gimplify_call_expr): Preserve the function | |
12006 | type the frontend used for the call. | |
12007 | (gimplify_modify_expr): Likewise. | |
12008 | * lto-streamer-in.c (input_gimple_stmt): Input the call stmts | |
12009 | function type. | |
12010 | * lto-streamer-out.c (output_gimple_stmt): Output the call stmts | |
12011 | function type. | |
12012 | * tree-ssa.c (useless_type_conversion_p): Function pointer | |
12013 | conversions are useless. | |
12014 | ||
a358e188 MJ |
12015 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
12016 | ||
12017 | * cgraph.h (cgraph_node): Remove function declaration. | |
12018 | (cgraph_create_node): Declare. | |
12019 | (cgraph_get_create_node): Likewise. | |
12020 | * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1. | |
12021 | Updated all callers. | |
12022 | (cgraph_node): Renamed to cgraph_create_node, assert that a node for | |
12023 | the decl does not already exist. Call cgraph_get_create_node instead | |
12024 | of cgraph_node. | |
12025 | (cgraph_get_create_node): New function. | |
12026 | (cgraph_same_body_alias): Update comment. | |
12027 | (cgraph_set_call_stmt): Call cgraph_get_node instead of cgraph_node, | |
12028 | assert it does not return NULL. | |
12029 | (cgraph_update_edges_for_call_stmt): Likewise. | |
12030 | (cgraph_clone_edge): Likewise. | |
12031 | (cgraph_create_virtual_clone): Likewise. | |
12032 | (cgraph_update_edges_for_call_stmt_node): Call cgraph_get_create_node | |
12033 | instead of cgraph_node. | |
12034 | (cgraph_add_new_function): Call cgraph_create_node or | |
12035 | cgraph_get_create_node instead of cgraph_node. | |
12036 | * cgraphbuild.c (record_reference): Call cgraph_get_create_node | |
12037 | instead of cgraph_node. | |
12038 | (record_eh_tables): Likewise. | |
12039 | (mark_address): Likewise. | |
12040 | (mark_load): Likewise. | |
12041 | (build_cgraph_edges): Call cgraph_get_create_node instead | |
12042 | of cgraph_node. | |
12043 | (rebuild_cgraph_edges): Likewise. | |
12044 | * cgraphunit.c (cgraph_finalize_function): Call cgraph_get_create_node | |
12045 | instead of cgraph_node. | |
12046 | (cgraph_copy_node_for_versioning): Call cgraph_create_node instead of | |
12047 | cgraph_node. | |
12048 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Call | |
12049 | cgraph_create_node instead of cgraph_node. | |
12050 | * c-decl.c (finish_function): Call cgraph_get_create_node instead | |
12051 | of cgraph_node. | |
12052 | * lto-cgraph.c (input_node): Likewise. | |
12053 | * lto-streamer-in.c (input_function): Likewise. | |
12054 | * varasm.c (mark_decl_referenced): Likewise. | |
12055 | (assemble_alias): Likewise. | |
12056 | ||
fe660d7b MJ |
12057 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
12058 | ||
12059 | * tree-inline.c (tree_function_versioning): Call cgraph_get_node | |
12060 | instead of cgraph_node and assert it does not return NULL. | |
12061 | * lto-streamer-in.c (lto_read_body): Likewise. | |
12062 | * omp-low.c (new_omp_context): Likewise. | |
12063 | (create_task_copyfn): Likewise. | |
12064 | * tree-emutls.c (lower_emutls_function_body): Likewise. | |
12065 | * matrix-reorg.c (transform_allocation_sites): Likewise. | |
12066 | ||
bae5cddf JJ |
12067 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
12068 | ||
12069 | PR c/48552 | |
12070 | * c-typeck.c (build_asm_expr): Error out on attempts to use | |
12071 | void type outputs or inputs for constraints that allow reg or | |
12072 | don't allow memory. | |
12073 | ||
06eb52ca CLT |
12074 | 2011-04-11 Chung-Lin Tang <cltang@codesourcery.com> |
12075 | Richard Earnshaw <rearnsha@arm.com> | |
12076 | ||
12077 | PR target/48250 | |
12078 | * config/arm/arm.c (arm_legitimize_reload_address): Update cases | |
12079 | to use sign-magnitude offsets. Reject unsupported unaligned | |
12080 | cases. Add detailed description in comments. | |
12081 | * config/arm/arm.md (reload_outdf): Disable for ARM mode; change | |
12082 | condition from TARGET_32BIT to TARGET_ARM. | |
12083 | ||
648a616b NF |
12084 | 2011-04-11 Nathan Froyd <froydnj@codesourcery.com> |
12085 | ||
12086 | * tree.h (struct typed_tree): New. | |
12087 | (struct tree_common): Include it instead of tree_base. | |
12088 | (TREE_TYPE): Update for new location of type field. | |
12089 | (TYPE_USER_ALIGN, TYPE_PACKED): Refer to base field directly. | |
12090 | (DECL_USER_ALIGN, DECL_PACKED): Likewise. | |
12091 | (union tree_node): Add typed field. | |
12092 | * treestruct.def (TS_TYPED): New. | |
12093 | * lto-streamer.c (check_handled_ts_structures): Handle it. | |
12094 | * tree.c (MARK_TS_TYPED): New macro. | |
12095 | (MARK_TS_COMMON): Call it instead of MARK_TS_BASE. | |
12096 | ||
1e6d1da0 EB |
12097 | 2011-04-11 Eric Botcazou <ebotcazou@adacore.com> |
12098 | ||
12099 | * cfghooks.c (redirect_edge_and_branch_force): Localize variable. | |
12100 | (force_nonfallthru): Do not alter the loop nest if no basic block | |
12101 | was created. | |
12102 | ||
12103 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> | |
d8700b1c UB |
12104 | |
12105 | * config/i386/sse.md (VI): New mode iterator. | |
12106 | (SSEMODEI): Remove. | |
12107 | (AVX256MODEI): Ditto. | |
12108 | (AVXMODEF4P): Ditto. | |
12109 | (avxvecpsmode): Ditto. | |
12110 | (one_cmpl<mode>2): Enable for TARGET_SSE. Use VI mode iterator. | |
12111 | (sse2_andnot<mode>3): New expander. | |
12112 | (*andnot<mode>3): Merge with *sse2_andnot<mode>3 and | |
12113 | *avx_andnot<mode>3. Enable for TARGET_SSE. Use VI mode iterator. | |
12114 | (<any_logic:code><mode>3): Use VI mode iterator. | |
12115 | (*<any_logic:code><mode>3): Merge with *sse2_<any_logic:code><mode>3 | |
12116 | and *avx_<any_logic:code><mode>3. Use VI mode iterator. | |
12117 | (*andnottf3): Handle AVX three-operand constraints. | |
12118 | (*<any_logic:code>tf3): Handle AVX three-operand constraints. | |
12119 | ||
b1372d5d | 12120 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
d8700b1c | 12121 | Robert Millan <rmh@gnu.org> |
b1372d5d JM |
12122 | |
12123 | * config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h. | |
12124 | * config/i386/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER32, | |
12125 | GNU_USER_DYNAMIC_LINKER64): Define. | |
12126 | (REG_NAME): Don't undefine. | |
12127 | (MD_UNWIND_SUPPORT): Undefine. | |
12128 | * config/i386/knetbsd-gnu.h (GNU_USER_LINK_EMULATION): Define. | |
12129 | (REG_NAME): Don't undefine. | |
12130 | (MD_UNWIND_SUPPORT): Undefine. | |
d8700b1c | 12131 | * config/i386/kopensolaris-gnu.h (GNU_USER_LINK_EMULATION): Define. |
b1372d5d | 12132 | |
761c0c6e JM |
12133 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
12134 | ||
12135 | * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. | |
12136 | (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. | |
12137 | ||
26e0228f XDL |
12138 | 2011-04-11 Xinliang David Li <davidxl@google.com> |
12139 | ||
12140 | * value-profile.c (check_ic_target): New function. | |
12141 | (gimple_ic_transform): Sanity check indirect call target. | |
12142 | * gimple-low.c (gimple_check_call_args): Interface change. | |
12143 | (gimple_check_call_matching_types): New function. | |
12144 | * tree-inline.c (tree_can_inline_p): Call new function. | |
6075765d BS |
12145 | |
12146 | 2011-04-11 Basile Starynkevitch <basile@starynkevitch.net> | |
12147 | ||
12148 | * Makefile.in (PLUGIN_HEADERS): Add gimple-pretty-print.h | |
12149 | tree-pretty-print.h & realmpfr.h. | |
12150 | ||
a58dfa49 VM |
12151 | 2011-04-11 Vladimir Makarov <vmakarov@redhat.com> |
12152 | ||
12153 | PR middle-end/48464 | |
12154 | * ira.c (setup_pressure_classes): Fix typo in loop condition. | |
12155 | (setup_allocno_and_important_classes): Ditto. | |
12156 | ||
107fd1c1 JM |
12157 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
12158 | ||
12159 | * config/alpha/linux-elf.h (LINUX_DYNAMIC_LINKER): Rename to | |
12160 | GNU_USER_DYNAMIC_LINKER. | |
12161 | * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Change | |
12162 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12163 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Change | |
12164 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
12165 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
12166 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12167 | * config/bfin/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12168 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12169 | * config/bfin/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
12170 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12171 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Change | |
12172 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
12173 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
12174 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12175 | * config/frv/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12176 | GNU_USER_DYNAMIC_LINKER. | |
12177 | * config/gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
12178 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12179 | * config/i386/gnu-user.h (TARGET_OS_CPP_BUILTINS): Change | |
12180 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12181 | * config/i386/gnu-user64.h (TARGET_OS_CPP_BUILTINS): Change | |
12182 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12183 | * config/i386/linux.h (GNU_USER_DYNAMIC_LINKER): Remove. | |
12184 | * config/i386/linux64.h (GNU_USER_DYNAMIC_LINKER32, | |
12185 | GNU_USER_DYNAMIC_LINKER64): Remove. | |
12186 | * config/ia64/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12187 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12188 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12189 | GNU_USER_DYNAMIC_LINKER. | |
12190 | * config/kfreebsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
12191 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12192 | * config/knetbsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
12193 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12194 | * config/kopensolaris-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename | |
12195 | to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12196 | * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
12197 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12198 | (LINUX_DYNAMIC_LINKER): Rename to GNU_USER_DYNAMIC_LINKER. | |
12199 | (LINUX_DYNAMIC_LINKER32): Rename to GNU_USER_DYNAMIC_LINKER32. | |
12200 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
12201 | * config/lm32/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Change | |
12202 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12203 | * config/m32r/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12204 | GNU_USER_DYNAMIC_LINKER. | |
12205 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
12206 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12207 | * config/m68k/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12208 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12209 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12210 | GNU_USER_DYNAMIC_LINKER. | |
12211 | * config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
12212 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12213 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12214 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12215 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12216 | GNU_USER_DYNAMIC_LINKER. | |
12217 | * config/mips/linux64.h (LINUX_DYNAMIC_LINKERN32): Rename to | |
12218 | GNU_USER_DYNAMIC_LINKERN32. | |
12219 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKERN32 to | |
12220 | GNU_USER_DYNAMIC_LINKERN32. Change LINUX_DYNAMIC_LINKER64 to | |
12221 | GNU_USER_DYNAMIC_LINKER64. Change LINUX_DYNAMIC_LINKER32 to | |
12222 | GNU_USER_DYNAMIC_LINKER32. | |
12223 | * config/mn10300/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12224 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12225 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12226 | GNU_USER_DYNAMIC_LINKER. | |
12227 | * config/moxie/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
12228 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12229 | * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12230 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 12231 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 JM |
12232 | * config/rs6000/linux64.h (LINUX_DYNAMIC_LINKER32): Rename to |
12233 | GNU_USER_DYNAMIC_LINKER32. | |
12234 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
12235 | * config/rs6000/sysv4.h (LINUX_DYNAMIC_LINKER): Rename to | |
12236 | GNU_USER_DYNAMIC_LINKER. | |
12237 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12238 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12239 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
12240 | GNU_USER_DYNAMIC_LINKER32. Change LINUX_DYNAMIC_LINKER64 to | |
12241 | GNU_USER_DYNAMIC_LINKER64. | |
12242 | * config/sh/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12243 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12244 | (SUBTARGET_LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12245 | GNU_USER_DYNAMIC_LINKER. | |
12246 | * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12247 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12248 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
12249 | GNU_USER_DYNAMIC_LINKER. | |
12250 | * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Change | |
12251 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12252 | (LINK_ARCH32_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
12253 | GNU_USER_DYNAMIC_LINKER32. | |
12254 | (LINK_ARCH64_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
12255 | GNU_USER_DYNAMIC_LINKER64. | |
12256 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
12257 | GNU_USER_DYNAMIC_LINKER64. | |
12258 | * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12259 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
12260 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
12261 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 12262 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 | 12263 | |
e24609cf JM |
12264 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
12265 | ||
12266 | * config/i386/gnu-user.h: Copy from linux.h. Update comments. | |
12267 | (LINK_EMULATION, GLIBC_DYNAMIC_LINKER): Remove. | |
12268 | (SUBTARGET_EXTRA_SPECS): Use GNU_USER_LINK_EMULATION and | |
12269 | GNU_USER_DYNAMIC_LINKER. | |
12270 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
12271 | * config/i386/gnu-user64.h: Copy from linux64.h. Update comments. | |
12272 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64): Remove. | |
12273 | (LINK_SPEC): Use GNU_USER_DYNAMIC_LINKER32 and | |
12274 | GNU_USER_DYNAMIC_LINKER64. | |
12275 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
12276 | * config/i386/kfreebsd-gnu.h (LINK_EMULATION): Change to | |
12277 | GNU_USER_LINK_EMULATION. | |
12278 | * config/i386/linux.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, | |
12279 | DEFAULT_PCC_STRUCT_RETURN, TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, | |
12280 | ASM_COMMENT_START, DBX_REGISTER_NUMBER, NO_PROFILE_COUNTERS, | |
12281 | MCOUNT_NAME, SUBTARGET_FRAME_POINTER_REQUIRED, SIZE_TYPE, | |
12282 | PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS, | |
12283 | CPP_SPEC, CC1_SPEC): Remove. | |
12284 | (LINK_EMULATION): Change to GNU_USER_LINK_EMULATION. | |
12285 | (GNU_USER_DYNAMIC_LINKER): Define. | |
12286 | (ASM_SPEC, SUBTARGET_EXTRA_SPECS, LINK_SPEC, ENDFILE_SPEC, | |
12287 | ASM_OUTPUT_ALIGNED_BSS, ASM_OUTPUT_MAX_SKIP_ALIGN, | |
12288 | ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX, CRT_GET_RFIB_DATA, | |
12289 | LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE, | |
12290 | TARGET_ASM_FILE_END, STACK_CHECK_MOVING_SP, | |
12291 | STACK_CHECK_STATIC_BUILTIN, TARGET_THREAD_SSP_OFFSET, | |
12292 | TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
12293 | * config/i386/linux64.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC, | |
12294 | CC1_SPEC, DEFAULT_PCC_STRUCT_RETURN, | |
12295 | TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, SPEC_32, SPEC_64, ASM_SPEC, | |
12296 | LINK_SPEC, ENDFILE_SPEC, MULTILIB_DEFAULTS, LIBGCC2_HAS_TF_MODE, | |
12297 | LIBGCC2_TF_CEXT, TF_SIZE, TARGET_ASM_FILE_END): Remove. | |
12298 | (GNU_USER_DYNAMIC_LINKER32, GNU_USER_DYNAMIC_LINKER64): Define. | |
12299 | (STACK_CHECK_MOVING_SP, STACK_CHECK_STATIC_BUILTIN, | |
12300 | TARGET_THREAD_SSP_OFFSET, TARGET_CAN_SPLIT_STACK, | |
12301 | TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
12302 | * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
12303 | GNU_USER_DYNAMIC_LINKER. | |
12304 | * config/kfreebsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
12305 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
12306 | * config/knetbsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
12307 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
12308 | * config/kopensolaris-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
12309 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
12310 | * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | | |
12311 | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | | |
12312 | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | | |
d8700b1c | 12313 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Use the new headers. |
e24609cf | 12314 | |
b8ce4e94 KT |
12315 | 2011-04-11 Kai Tietz <ktietz@redhat.com> |
12316 | ||
12317 | PR target/9601 | |
12318 | PR target/11772 | |
12319 | * config/i386/i386-protos.h (ix86_get_callcvt): New prototype. | |
12320 | * config/i386/i386.c (ix86_handle_cconv_attribute): Adjust | |
12321 | comment. | |
12322 | (ix86_is_msabi_thiscall): Removed. | |
12323 | (ix86_is_type_thiscall): Likewise. | |
12324 | (ix86_get_callcvt): New function. | |
12325 | (ix86_comp_type_attributes): Simplify check. | |
12326 | (ix86_function_regparm): Use ix86_get_callcvt for calling | |
12327 | convention attribute checks. | |
12328 | (ix86_return_pops_args): Likewise. | |
12329 | (ix86_static_chain): Likewise. | |
12330 | (x86_this_parameter): Likewise. | |
12331 | (x86_output_mi_thunk): Likewise. | |
12332 | (ix86_function_type_abi): Optimize check for types without attributes. | |
12333 | * config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL, | |
12334 | IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM, | |
12335 | IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention | |
12336 | by flag-values. | |
12337 | (IX86_BASE_CALLCVT): Helper macro. | |
12338 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
12339 | Use ix86_get_callcvt for calling convention attribute checks and avoid | |
12340 | symbol-decoration for stdcall in TARGET_RTD case. | |
12341 | * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): | |
12342 | Likewise. | |
12343 | (gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN | |
12344 | for declaration. | |
12345 | ||
798dd0ba UB |
12346 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> |
12347 | ||
12348 | * config/i386/sse.md (VI_128): New mode iterator. | |
12349 | (VI12_128): Rename from SSEMODE12. | |
12350 | (VI14_128): Rename from SSEMODE14. | |
12351 | (VI124_128): New mode iterator. | |
12352 | (VI24_128): Rename from SSEMODE248. | |
12353 | (VI248_128): Rename from SSEMODE248. | |
12354 | (SSEMODE124C8): Remove. | |
12355 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
12356 | (*sse2_<plusminus_insn><mode>3): Merge with | |
12357 | *avx_<plusminus_insn><mode>3. | |
12358 | (*mulv8hi3): Merge with *avx_mulv8hi3. | |
12359 | (*<s>mulv8hi3_highpart): Merge with *avx_<s>mulv8hi3_highpart. | |
12360 | (*sse2_umulv2siv2di3): Merge with *avx_umulv2siv2di3. | |
12361 | (*sse2_pmaddwd): Merge with *avx_pmaddwd. | |
12362 | (*sse4_1_mulv4si3): Merge with *avx_mulv4si3. | |
12363 | (ashr<mode>3): Merge with *avx_ashr<mode>3. | |
12364 | (lshr<mode>3): Merge with *avx_lshr<mode>3. | |
12365 | (ashl<mode>3): Merge with *avx_ashl<mode>3. | |
12366 | (sse2_ashlv1ti3): Merge with *avx_ashlv1ti3. | |
12367 | (sse2_lshrv1ti3): Merge with *avx_lshrv1ti3. | |
12368 | (*sse4_1_<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
12369 | (*<smaxmin:code>v8hi3): Ditto. | |
12370 | (*sse4_1_<umaxmin:code><mode>3): Merge with *avx_<umaxmin:code><mode>3. | |
12371 | (*<smaxmin:code>v16qi3): Ditto. | |
12372 | (*sse4_1_eqv2di3): Merge with *avx_eq<mode>3. | |
12373 | (*sse2_eq<mode>3): Ditto. | |
12374 | (*sse4_2_eqv2di3): Merge with *avx_gt<mode>3. | |
12375 | (*sse2_gt<mode>3): Ditto. | |
12376 | (vcondv2di): Split out of vcond<mode>. | |
12377 | (vconduv2di): Split out of vcondu<mode>. | |
12378 | ||
956011be RG |
12379 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
12380 | ||
12381 | * gimplify.c (gimple_fold_indirect_ref): Check host_integerp | |
12382 | before calling tree_low_cst. | |
12383 | ||
e6313a78 RG |
12384 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
12385 | ||
12386 | * stor-layout.c (layout_type): Compute all array index size operations | |
12387 | in the original type. | |
12388 | (initialize_sizetypes): Add comment. | |
12389 | (set_sizetype): Do not set TREE_TYPE of a TREE_VEC. | |
12390 | ||
e69d7376 JM |
12391 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
12392 | ||
12393 | * common.opt (Tbss=, Tdata=, Ttext=): New options. | |
12394 | ||
9f9ebcdf MJ |
12395 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
12396 | ||
12397 | * cgraph.c (cgraph_local_info): Call cgraph_get_node instead | |
12398 | of cgraph_node, handle NULL return value. | |
12399 | (cgraph_global_info): Likewise. | |
12400 | (cgraph_rtl_info): Likewise. | |
12401 | * tree-inline.c (estimate_num_insns): Likewise. | |
12402 | * gimplify.c (unshare_body): Likewise. | |
12403 | (unvisit_body): Likewise. | |
12404 | (gimplify_body): Likewise. | |
12405 | * predict.c (optimize_function_for_size_p): Likewise. | |
12406 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
12407 | (call_may_clobber_ref_p_1): Likewise. | |
12408 | * varasm.c (function_section_1): Likewise. | |
12409 | (assemble_start_function): Likewise. | |
12410 | ||
581985d7 MJ |
12411 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
12412 | ||
12413 | * except.c (set_nothrow_function_flags): Call cgraph_get_node instead | |
12414 | of cgraph_node. | |
12415 | * final.c (rest_of_clean_state): Likewise. | |
12416 | * gimple-iterator.c (update_call_edge_frequencies): Likewise. | |
12417 | * passes.c (pass_init_dump_file): Likewise. | |
12418 | (execute_all_ipa_transforms): Likewise. | |
12419 | (function_called_by_processed_nodes_p): Likewise. | |
12420 | * predict.c (maybe_hot_frequency_p): Likewise. | |
12421 | (probably_never_executed_bb_p): Likewise. | |
12422 | (compute_function_frequency): Likewise. | |
12423 | * tree-nested.c (check_for_nested_with_variably_modified): Likewise. | |
12424 | (unnest_nesting_tree_1): Likewise. | |
12425 | (lower_nested_functions): Likewise. | |
12426 | * tree-optimize.c (execute_fixup_cfg): Likewise. | |
12427 | (tree_rest_of_compilation): Likewise. | |
12428 | * tree-profile.c (gimple_gen_ic_func_profiler): Likewise. | |
12429 | * tree-sra.c (ipa_early_sra): Likewise. | |
12430 | * tree-ssa-loop-ivopts.c (computation_cost): Likewise. | |
12431 | * config/i386/i386.c (ix86_compute_frame_layout): Likewise. | |
12432 | * ipa.c (record_cdtor_fn): Likewise. | |
12433 | * ipa-inline.c (cgraph_early_inlining): Likewise. | |
12434 | (compute_inline_parameters_for_current): Likewise. | |
12435 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
12436 | * ipa-pure-const.c (local_pure_const): Likewise. | |
12437 | * ipa-split.c (split_function): Likewise. | |
12438 | (execute_split_functions): Likewise. | |
12439 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
12440 | (rebuild_cgraph_edges): Likewise. | |
12441 | (cgraph_rebuild_references): Likewise. | |
12442 | (remove_cgraph_callee_edges): Likewise. | |
12443 | * cgraphunit.c (cgraph_mark_if_needed): Likewise. | |
12444 | (verify_cgraph_node): Likewise. | |
12445 | (cgraph_analyze_functions): Likewise. | |
12446 | (cgraph_preserve_function_body_p): Likewise. | |
12447 | (save_inline_function_body): Likewise. | |
12448 | (save_inline_function_body): Likewise. | |
12449 | * tree-inline.c (copy_bb): Likewise. | |
12450 | (optimize_inline_calls): Likewise. | |
12451 | ||
57dbdc5a MJ |
12452 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
12453 | ||
12454 | PR tree-optimization/48195 | |
12455 | * ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and | |
12456 | ipa_check_create_edge_args. | |
12457 | (ipcp_generate_summary): Do not call ipa_check_create_node_params and | |
12458 | ipa_check_create_edge_args. | |
12459 | * ipa-inline.c (inline_generate_summary): Do not call | |
12460 | ipa_check_create_node_params and ipa_check_create_edge_args. | |
12461 | * ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and | |
12462 | ipa_check_create_edge_args. | |
12463 | ||
d108e679 AS |
12464 | 2011-04-09 Anatoly Sokolov <aesok@post.ru> |
12465 | ||
12466 | * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function | |
12467 | instead of loop. | |
12468 | * sel-sched.c (mark_unavailable_hard_regs): Likewise. | |
12469 | * function.c (record_hard_reg_sets): Likewise. | |
12470 | * ira.c (compute_regs_asm_clobbered): Likewise. | |
12471 | * sched-deps.c (sched_analyze_1): Likewise. | |
12472 | * reload1.c (mark_reload_reg_in_use, choose_reload_regs): Likewise. | |
12473 | ||
3411bc59 XDL |
12474 | 2011-04-09 Xinliang David Li <davidxl@google.com> |
12475 | ||
12476 | PR tree-optimization/PR48484 | |
12477 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): Set | |
12478 | has_valid_pred lazily | |
12479 | ||
b365495a DS |
12480 | 2011-04-09 Duncan Sands <baldrick@free.fr> |
12481 | ||
12482 | * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. | |
12483 | ||
68bc509a EB |
12484 | 2011-04-08 Eric Botcazou <ebotcazou@adacore.com> |
12485 | ||
12486 | * combine.c (combine_validate_cost): Adjust comments. Set registered | |
12487 | cost of I0 to zero at the end, if any. | |
12488 | ||
041e059f XDL |
12489 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
12490 | ||
68bc509a EB |
12491 | * ipa-cp.c (ipcp_update_profiling): Correct negative scale factor due |
12492 | to insane profile data. | |
041e059f | 12493 | |
444b3995 XDL |
12494 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
12495 | ||
12496 | * ipa-cp.c (ipcp_update_profiling): Correct | |
12497 | negative scale factor due to insane profile data. | |
12498 | ||
6a801cf2 XDL |
12499 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
12500 | ||
12501 | * final.c (dump_basic_block_info): New function. | |
12502 | (final): Dump basic block. | |
12503 | (final_scan_insn): Remove old dump. | |
12504 | ||
d5f3624e SK |
12505 | 2011-04-08 Steven G. Kargl <kargl@gcc.gnu.org> |
12506 | ||
68bc509a EB |
12507 | PR target/47829 |
12508 | * config.gcc (i386-*-freebsd): Disable unwind table generation for | |
12509 | crtbegin/crtend. | |
d5f3624e | 12510 | |
42821aff MM |
12511 | 2011-04-08 Michael Matz <matz@suse.de> |
12512 | ||
12513 | PR middle-end/48389 | |
12514 | * jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New | |
12515 | functions. | |
12516 | (rebuild_jump_labels): Call rebuild_jump_labels_1. | |
12517 | * rtl.h (rebuild_jump_labels_chain): Declare. | |
12518 | * cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on | |
12519 | insns inserted on edges. | |
12520 | ||
ad7be009 JM |
12521 | 2011-04-08 Joseph Myers <joseph@codesourcery.com> |
12522 | ||
12523 | * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. | |
12524 | * config/arm/arm-arches.def: New. | |
12525 | * config/arm/arm-opts.h: New. | |
12526 | * config/arm/genopt.sh: New. | |
12527 | * config/arm/arm-tables.opt: New (generated). | |
12528 | * config/arm/arm.c (arm_handle_option, arm_target_help, | |
12529 | TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. | |
12530 | (all_architectures): Get most table contents from arm-arches.def. | |
12531 | (arm_option_override): Set arm_selected_arch, arm_selected_cpu and | |
12532 | arm_selected_tune here. | |
12533 | * config/arm/arm.h (enum processor_type): Move to arm-opts.h. | |
12534 | * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. | |
12535 | (march=, mcpu=, mtune=): Use Enum and Var. | |
12536 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. | |
12537 | (arm.o): Update dependencies. | |
ecbb6fb7 | 12538 | |
42821aff | 12539 | 2011-04-08 Basile Starynkevitch <basile@starynkevitch.net> |
ecbb6fb7 BS |
12540 | |
12541 | * gengtype.c (write_typed_alloc_def): New argument f. Use it instead | |
12542 | of header_file. | |
12543 | (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) | |
12544 | (write_typed_alloc_defns): Likewise. | |
12545 | (main): Calls write_typed_alloc_defns with output_header. | |
12546 | ||
8d189b3f VM |
12547 | 2011-04-08 Vladimir Makarov <vmakarov@redhat.com> |
12548 | ||
68bc509a | 12549 | PR inline-asm/48435 |
8d189b3f VM |
12550 | * ira-color.c (setup_profitable_hard_regs): Add comments. |
12551 | Don't take prohibited hard regs into account. | |
12552 | (setup_conflict_profitable_regs): Rename to | |
12553 | get_conflict_profitable_regs. | |
12554 | (check_hard_reg_p): Check prohibited hard regs. | |
12555 | ||
44f370bf NF |
12556 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
12557 | ||
12558 | * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. | |
12559 | * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. | |
12560 | * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. | |
12561 | ||
483d7ad3 JDA |
12562 | 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12563 | ||
12564 | PR target/48366 | |
12565 | * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of | |
b8a17fa2 | 12566 | move from floating point to shift amount register. |
483d7ad3 JDA |
12567 | (emit_move_sequence): Remove secondary reload support for floating |
12568 | point to shift amount amount register copies. | |
12569 | (pa_secondary_reload): Return GENERAL_REGS for floating point/shift | |
12570 | amount register copies. | |
12571 | * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount | |
12572 | register, return false if mode isn't a scalar integer mode. | |
12573 | * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise. | |
12574 | ||
97e03fa1 RG |
12575 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12576 | ||
12577 | * gimple.c (gimple_call_flags): Remove kludge. | |
12578 | ||
9d40778b AM |
12579 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12580 | ||
12581 | * sel-sched.c (sel_region_init): Move call to | |
12582 | sel_setup_region_sched_flags after setup_current_loop_nest. | |
12583 | ||
19ac7892 AB |
12584 | 2011-04-08 Andrey Belevantsev <abel@ispras.ru> |
12585 | ||
12586 | PR rtl-optimization/48272 | |
19ac7892 AB |
12587 | * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to |
12588 | init_insn_reg_pressure_info. Adjust a caller. | |
12589 | * sched-int.h (init_insn_reg_pressure_info): Declare. | |
12590 | * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info | |
12591 | when sched-pressure is enabled. | |
12592 | ||
0f8c63cc RG |
12593 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12594 | ||
12595 | * gimple.c (gimple_set_modified): Do not queue calls to | |
12596 | MODIFIED_NORETURN_CALLS here ... | |
12597 | * tree-ssa-operands.c (update_stmt_operands): ... but here. | |
12598 | ||
5e5a425e RG |
12599 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12600 | ||
12601 | PR lto/48467 | |
12602 | * toplev.c (lang_dependent_init): Do not open asm_out_file | |
12603 | in WPA mode, nor perform debug machinery initialization. | |
12604 | (finalize): Do not unlink asm_out_file in WPA mode. | |
12605 | ||
9bfc434b RG |
12606 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12607 | ||
12608 | * gimple.h (gimple_call_fntype): New function. | |
12609 | (gimple_call_return_type): Use it. | |
12610 | * expr.c (expand_expr_real_1): Use gimple_call_fntype. | |
12611 | * gimple-low.c (gimple_check_call_args): Likewise. | |
12612 | * gimple.c (gimple_call_flags): Likewise. | |
12613 | (gimple_call_arg_flags): Likewise. | |
12614 | (gimple_call_return_flags): Likewise. | |
12615 | * tree-cfg.c (verify_gimple_call): Likewise. | |
12616 | (do_warn_unused_result): Likewise. | |
12617 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
12618 | * value-prof.c (gimple_ic_transform): Fix fndecl check. | |
12619 | ||
7c1f0b40 DM |
12620 | 2011-04-08 Dmitry Melnik <dm@ispras.ru> |
12621 | ||
12622 | PR rtl-optimization/48235 | |
12623 | * sel-sched.c (code_motion_process_successors): Recompute the last | |
12624 | insn in basic block if control flow changed. | |
12625 | (code_motion_path_driver): Ditto. Recompute the first insn as well. | |
12626 | Update condition for ilist_remove. | |
12627 | ||
ea4d630f AM |
12628 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12629 | ||
12630 | PR rtl-optimization/48302 | |
12631 | * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype. | |
12632 | * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument. Use | |
12633 | it to record added preheader blocks. | |
12634 | * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument. Pass it | |
12635 | on to sel_add_loop_preheaders. | |
12636 | (sel_region_init): Move call to setup_current_loop_nest after | |
12637 | sel_init_bbs. | |
12638 | ||
07643d76 AM |
12639 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12640 | ||
12641 | PR target/48273 | |
12642 | * cfgloop.h (loop_has_exit_edges): New helper. | |
12643 | * sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs | |
12644 | non-clonable. | |
12645 | * sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops | |
12646 | that have no exit edges. | |
12647 | ||
1f3b2b4e AM |
12648 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12649 | ||
12650 | PR rtl-optimization/48442 | |
12651 | * sel-sched.c (init_seqno): Remove number_of_insns argument. Update | |
12652 | all callers. Adjust assert. | |
12653 | ||
554f1948 JJ |
12654 | 2011-04-08 Jakub Jelinek <jakub@redhat.com> |
12655 | ||
12656 | PR tree-optimization/48377 | |
12657 | * tree-vect-data-refs.c (vector_alignment_reachable_p): Set | |
12658 | is_packed to true even for types with smaller TYPE_ALIGN than | |
12659 | TYPE_SIZE. | |
12660 | ||
ddf72388 RG |
12661 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12662 | ||
12663 | PR bootstrap/48513 | |
12664 | * doc/tm.texi: Re-generate. | |
12665 | ||
0c27e2d8 WG |
12666 | 2011-04-08 Wei Guozhi <carrot@google.com> |
12667 | ||
12668 | PR target/47855 | |
12669 | * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. | |
12670 | * config/arm/arm.c (arm_attr_length_push_multi): New function. | |
12671 | * config/arm/arm.md (*push_multi): Change the length computation to | |
12672 | call a C function. | |
12673 | ||
07c5f94e AS |
12674 | 2011-04-08 Anatoly Sokolov <aesok@post.ru> |
12675 | ||
12676 | * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. | |
12677 | (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation. | |
12678 | * doc/tm.texi: Regenerate. | |
12679 | * system.h (ASM_OUTPUT_BSS): Poison. | |
12680 | * varasm.c (asm_output_bss): Remove function. | |
12681 | (emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro. | |
798dd0ba | 12682 | |
07c5f94e AS |
12683 | * config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. |
12684 | * config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. | |
12685 | * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. | |
12686 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
12687 | Likewise. | |
12688 | * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
12689 | Likewise. | |
12690 | * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
12691 | Likewise. | |
12692 | * config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
12693 | ||
5f2c36e1 JM |
12694 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
12695 | ||
12696 | * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on | |
12697 | EnumValue lines. | |
12698 | ||
39e7722b JM |
12699 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
12700 | ||
12701 | * config/m68k/m68k.c (m68k_handle_option): Don't handle | |
12702 | OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, | |
12703 | OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and | |
12704 | OPT_mcpu32. | |
12705 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
12706 | handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020, | |
12707 | -m68030, -m68040, -m68060, -mcpu32 and -m68332. | |
12708 | * config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040, | |
12709 | m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias. | |
12710 | * config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove. | |
12711 | (MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
12712 | (MULTILIB_MATCHES): Map -march= options to corresponding -mcpu= | |
12713 | options. Don't map other m68k options manually. Don't handle | |
12714 | old-style options as canonical. | |
12715 | (MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
798dd0ba | 12716 | * doc/install.texi (m68k-*-*): Document binutils version requirement. |
39e7722b | 12717 | |
cf103ca4 EB |
12718 | 2011-04-07 Eric Botcazou <ebotcazou@adacore.com> |
12719 | ||
12720 | * basic-block.h (force_nonfallthru): Move to... | |
12721 | * cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook. | |
12722 | (force_nonfallthru): ...here. | |
12723 | * cfghooks.c (force_nonfallthru): New function. | |
12724 | * cfgrtl.c (force_nonfallthru): Rename into... | |
12725 | (rtl_force_nonfallthru): ...this. | |
12726 | (commit_one_edge_insertion): Do not set AUX field. | |
12727 | (commit_edge_insertions): Do not discover new basic blocks. | |
12728 | (rtl_cfg_hooks): Add rtl_force_nonfallthru. | |
12729 | (cfg_layout_rtl_cfg_hooks): Likewise. | |
12730 | * function.c (thread_prologue_and_epilogue_insns): Remove bogus | |
12731 | ATTRIBUTE_UNUSED. Discover new basic blocks in the prologue insns. | |
12732 | * tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru. | |
12733 | ||
14431f58 AS |
12734 | 2011-04-07 Anatoly Sokolov <aesok@post.ru> |
12735 | ||
12736 | * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
12737 | Remove macros. | |
12738 | ||
3729983c UB |
12739 | 2011-04-07 Uros Bizjak <ubizjak@gmail.com> |
12740 | ||
12741 | * config/i386/sse.md: Update copyright year. | |
12742 | (avxcvtvecmode): Remove. | |
12743 | (sse_movhlps): Merge with *avx_movhlps. | |
12744 | (sse_movlhps): Merge with *avx_movlhps. | |
12745 | (vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf. | |
12746 | (vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf. | |
12747 | (sse_shufps_<mode>): Merge with *avx_shufps_<mode>. | |
12748 | (sse_loadhps): Merge with *avx_loadhps. | |
12749 | (sse_storelps): Merge with *avx_storelps. | |
12750 | (sse_loadlps): Merge with *avx_loadlps. | |
12751 | (sse_movss): Merge with *avx_movss. | |
12752 | (*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx. | |
12753 | (*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx. | |
12754 | (*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx. | |
12755 | (*vec_set<mode>_0_sse2): Split multi-unit alternative. | |
12756 | (vec_set<mode>_0): Ditto. | |
12757 | (*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx. | |
12758 | (sse4_1_insertps): Merge with *avx_insertps. | |
12759 | (*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df. | |
12760 | (*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df. | |
12761 | (vec_interleave_highv2di): Merge with *avx_interleave_highv2di. | |
12762 | (sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>. | |
12763 | (sse2_storehpd): Merge with *avx_storehpd. | |
12764 | (sse2_loadhpd): Merge with *avx_loadhpd. | |
12765 | (sse2_loadlpd): Merge with *avx_loadlpd. | |
12766 | (sse2_movsd): Merge with *avx_movsd. | |
12767 | (*vec_concatv2df): Merge with *vec_concatv2df. | |
12768 | ||
4e626909 JJ |
12769 | 2011-04-07 Jakub Jelinek <jakub@redhat.com> |
12770 | ||
12771 | PR debug/48343 | |
12772 | * combine.c (combine_instructions): Add last_combined_insn, | |
3729983c | 12773 | update it if insn is after it, pass it to all try_combine calls. |
4e626909 JJ |
12774 | (try_combine): Add last_combined_insn parameter, pass it instead of |
12775 | i3 to propagate_for_debug. | |
12776 | ||
3729983c | 12777 | 2011-04-07 Nick Clifton <nickc@redhat.com> |
5a10b0a9 NC |
12778 | |
12779 | * config/mn10300/mn10300.md (movqi_internal): Add alternatives | |
12780 | to handle MDR <-> data register transfers. | |
12781 | (movhi_internal): Likewise. | |
12782 | ||
20c03367 AM |
12783 | 2011-04-07 Alan Modra <amodra@gmail.com> |
12784 | ||
12785 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't compare against | |
12786 | previous stack info. | |
12787 | ||
bf22920b TV |
12788 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
12789 | ||
12790 | PR target/43920 | |
12791 | * cfgcleanup.c (try_crossjump_to_edge): Add dir parameter. Pass dir to | |
12792 | flow_find_cross_jump. Swap variables to implement backward replacement. | |
12793 | (try_crossjump_bb): Add argument to try_crossjump_to_edge. | |
12794 | ||
823918ae TV |
12795 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
12796 | ||
12797 | PR target/43920 | |
12798 | * cfgcleanup.c (walk_to_nondebug_insn): New function. | |
3729983c UB |
12799 | (flow_find_cross_jump): Use walk_to_nondebug_insn. Recalculate bb1 |
12800 | and bb2. | |
12801 | (try_crossjump_to_edge): Handle case that newpos1 or newpos2 is not | |
12802 | src1 or src2. Redirect edges to the last basic block. Update | |
12803 | frequency and count on multiple basic blocks in case of fallthru. | |
823918ae | 12804 | |
472c95f5 TV |
12805 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
12806 | ||
12807 | PR target/43920 | |
12808 | * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New | |
12809 | function. | |
3729983c UB |
12810 | (old_insns_match_p): Change return type. Replace return false/true |
12811 | with return dir_none/dir_both. Use can_replace_by. | |
12812 | (flow_find_cross_jump): Add dir_p parameter. Init replacement | |
12813 | direction from dir_p. Register replacement direction in dir, last_dir | |
12814 | and afterlast_dir. Handle new return type of old_insns_match_p using | |
472c95f5 TV |
12815 | merge_dir. Return replacement direction in dir_p. |
12816 | (flow_find_head_matching_sequence, outgoing_edges_match): Handle new | |
12817 | return type of old_insns_match_p. | |
12818 | (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. | |
12819 | * ifcvt.c ( cond_exec_process_if_block): Add argument to call to | |
12820 | flow_find_cross_jump. | |
12821 | * basic-block.h (enum replace_direction): New type. | |
12822 | (flow_find_cross_jump): Add parameter to declaration. | |
12823 | ||
a95d4000 UB |
12824 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
12825 | ||
12826 | * config/i386/sse.md (AVXMODEDCVTDQ2PS): Remove. | |
12827 | (AVXMODEDCVTPS2DQ): Ditto. | |
12828 | (VEC_FLOAT_MODE): Ditto. | |
12829 | (<sse>_andnot<mode>3): Merge with avx_andnot<mode>3. Use VF mode | |
12830 | iterator. Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
12831 | (<any_logic:code><mode>3): Use VF mode iterator. | |
12832 | (*<any_logic:code><mode>3): Merge with *avx_<any_logic:code><mode>3. | |
12833 | Use VF mode iterator. | |
12834 | (copysign<mode>3): Use VF mode iterator. | |
12835 | (*andnot<MODEF:mode>3): Merge with *avx_andnot<MODEF:mode>3. Handle | |
12836 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
12837 | (*<any_logic:code><MODEF:mode>3): Merge with | |
12838 | *avx_<any_logic:code><MODEF:mode>3. | |
12839 | (sse_cvtsi2ss): Merge with *avx_cvtsi2ss. | |
12840 | (sse_cvtsi2ssq): Merge with *avx_cvtsi2ssq. | |
12841 | (avx_cvtdq2ps256): Split from avx_cvtdq2ps<avxmodesuffix>. | |
12842 | (avx_cvtdq2ps<avxmodesuffix>): Remove. | |
12843 | (sse2_cvtdq2ps): Use %v modifier. | |
12844 | (avx_cvtps2dq256): Split from avx_cvtps2dq<avxmodesuffix>. | |
12845 | (avx_cvtps2dq<avxmodesuffix>): Remove. | |
12846 | (sse2_cvtps2dq): Use %v modifier. | |
12847 | (avx_cvttps2dq256): Split from avx_cvttps2dq<avxmodesuffix>. | |
12848 | (avx_cvttps2dq<avxmodesuffix>): Remove. | |
12849 | (sse2_cvttps2dq): Use %v modifier. | |
12850 | (sse2_cvtsi2sd): Merge with *avx_cvtsi2sd. | |
12851 | (sse2_cvtsi2sdq): Merge with *avx_cvtsi2sdq. | |
12852 | (sse2_cvtsd2siq): Fix insn template. | |
12853 | (sse2_cvtsd2siq_2): Ditto. | |
12854 | (sse2_cvttsd2siq): Ditto. | |
12855 | (sse2_cvtsd2ss): Merge with *avx_cvtsd2ss. | |
12856 | (sse2_cvtss2sd): Merge with *avx_cvtss2sd. | |
12857 | ||
ad01c437 JM |
12858 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
12859 | ||
12860 | * gcov-io.c: Use GCC Runtime Library Exception. | |
12861 | ||
fe846284 JJ |
12862 | 2011-04-06 Jakub Jelinek <jakub@redhat.com> |
12863 | ||
12864 | PR debug/48466 | |
12865 | * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use | |
12866 | as base_reg whatever register reg has been eliminated to, instead | |
12867 | of hardcoding STACK_POINTER_REGNUM. | |
12868 | ||
acce4e77 JM |
12869 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
12870 | ||
12871 | * doc/tm.texi.in: Document C target hooks as separate from general | |
12872 | target hooks. | |
12873 | * doc/tm.texi: Regenerate. | |
12874 | * genhooks.c (struct hook_desc): Add docname field. | |
12875 | (HOOK_VECTOR_1, DEFHOOKPOD, DEFHOOK, DEFHOOK_UNDOC). Initialize | |
12876 | docname field. | |
12877 | (hook_array): Include c-target.def. | |
12878 | (emit_documentation): Use docname field in output. | |
12879 | (emit_init_macros): Take docname argument. Only emit definitions | |
12880 | for hooks matching docname. | |
12881 | (main): Expect additional arguments in all cases. Pass argument | |
12882 | to emit_init_macros. | |
12883 | * target.def: Move initial macro definitions and comments to | |
12884 | target-hooks-macros.h. | |
12885 | (gcc_targetcm): Move to c-family/c-target.def. | |
12886 | * target.h (targetcm): Move declaration to c-family/c-target.h. | |
12887 | * targhooks.c (default_handle_c_option): Move to | |
12888 | c-family/c-opts.c. | |
12889 | * targhooks.h (default_handle_c_option): Move declaration to | |
12890 | c-family/c-common.h. | |
12891 | * target-hooks-macros.h: New file. | |
12892 | * config.gcc (target_has_targetcm): Define and use to add to | |
12893 | c_target_objs and cxx_target_objs. | |
12894 | * config/default-c.c: New file. | |
12895 | * config/darwin-c.c: Include c-target.h and c-target-def.h instead | |
12896 | of target.h and target-def.h. | |
12897 | (TARGET_HANDLE_C_OPTION, targetcm): Define later in file. | |
12898 | (darwin_objc_construct_string, darwin_cfstring_ref_p, | |
12899 | darwin_check_cfstring_format_arg): Make static. | |
12900 | (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
12901 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
12902 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): Define here. | |
12903 | * config/darwin-protos.h (darwin_objc_construct_string, | |
12904 | darwin_cfstring_ref_p, darwin_check_cfstring_format_arg): Don't | |
12905 | declare. | |
12906 | * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
12907 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
a95d4000 | 12908 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG, TARGET_HAS_TARGETCM): Remove. |
acce4e77 JM |
12909 | * config/t-darwin (darwin-c.o): Update dependencies. |
12910 | * system.h (TARGET_HAS_TARGETCM): Poison. | |
12911 | * Makefile.in (TARGET_H): Update. | |
12912 | (TARGET_DEF, C_TARGET_DEF, C_TARGET_H, C_TARGET_DEF_H): Define. | |
12913 | (c-family/c-format.o, c-family/c-opts.o): Update dependencies. | |
12914 | (default-c.o): New target. | |
12915 | (s-target-hooks-def-h): Pass "Target Hook" string to genhooks. | |
a95d4000 | 12916 | (c-family/c-target-hooks-def.h, s-c-target-hooks-def-h): New targets. |
acce4e77 JM |
12917 | (s-tm-texi): Pass -d option to genhooks. Also test timestamp on |
12918 | c-target.def. | |
12919 | (build/genhooks.o): Update dependencies. | |
12920 | ||
275b4baa | 12921 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
a95d4000 | 12922 | |
275b4baa RG |
12923 | * ipa-inline.c (enum inlining_mode): Remove. |
12924 | (cgraph_flatten): Use some other token. | |
12925 | (cgraph_edge_early_inlinable_p): New function, split out from ... | |
12926 | (cgraph_perform_always_inlining): New function, split out from ... | |
12927 | (cgraph_decide_inlining_incrementally): ... here. | |
12928 | (cgraph_mark_inline_edge): Adjust. | |
12929 | (cgraph_early_inlining): Re-structure. | |
12930 | (pass_early_inline): Require SSA form. | |
12931 | ||
f15b8bdf | 12932 | 2011-04-06 Andrew Stubbs <ams@codesourcery.com> |
9adc580c AS |
12933 | Julian Brown <julian@codesourcery.com> |
12934 | Mark Shinwell <shinwell@codesourcery.com> | |
12935 | ||
12936 | * config/arm/arm.h (arm_class_likely_spilled_p): Check against | |
12937 | LO_REGS only for Thumb-1. | |
12938 | (MODE_BASE_REG_CLASS): Restrict base registers to those which can | |
12939 | be used in short instructions when optimising for size on Thumb-2. | |
12940 | ||
516426da EB |
12941 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
12942 | ||
12943 | * gimple-low.c (lower_gimple_return): When not optimizing, force labels | |
12944 | associated with user returns to be preserved. | |
12945 | ||
96621ebf TG |
12946 | 2011-04-06 Tristan Gingold <gingold@adacore.com> |
12947 | ||
f15b8bdf EB |
12948 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index, |
12949 | symbol_queue_size, DBXOUT_DECR_NESTING, | |
96621ebf TG |
12950 | (DBXOUT_DECR_NESTING_AND_RETURN): Also define |
12951 | if XCOFF_DEBUGGING_INFO. | |
12952 | ||
07c0852e UB |
12953 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
12954 | ||
12955 | * config/i386/i386.md (attribute isa): New. | |
12956 | (attribute enabled): New. | |
12957 | (setcc_<mode>_sse): Merge from *{avx,sse}_setcc<mode>. | |
12958 | (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_mixed_avx. | |
12959 | (*fop_<mode>_comm_sse): Merge with *fop_<mode>_comm_avx. | |
12960 | (*fop_<mode>_1_mixed): Merge with *fop_<mode>_1_mixed_avx. | |
12961 | (*fop_<mode>_1_sse): Merge with *fop_<mode>_1_avx. | |
12962 | (<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
12963 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. | |
12964 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. | |
12965 | ||
12966 | * config/i386/sse.md (VF): New mode iterator. | |
12967 | (VF1): Ditto. | |
12968 | (VF2): Ditto. | |
12969 | (VF_128): Ditto. | |
12970 | (SSEMODEF4): Remove. | |
12971 | (attribute sse): Handle V8SF and V4DF modes. | |
12972 | (<absneg:code><mode>2): Use VF mode iterator. | |
12973 | (*absneg<mode>2): Merge from *{avx,sse}_absneg<mode>2. Use VF | |
12974 | mode iterator. | |
12975 | (<plusminus_insn><mode>3): Use VF mode iterator. | |
12976 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
12977 | Use VF mode iterator. | |
12978 | (<sse>_vm<plusminus_insn><mode>3): Merge with | |
12979 | *avx_vm<plusminus_insn><mode>3. Use VF_128 mode iterator. | |
12980 | (mul<mode>3): Use VF mode iterator. | |
12981 | (*mul<mode>3): Merge with *avx_mul<mode>3. Use VF mode iterator. | |
12982 | (<sse>_vmmul<mode>3): Merge with *avx_vmmul<mode>3. Use VF_128 | |
12983 | mode iterator. | |
12984 | (div<VF2:mode>3): Merge from divv2df3 and divv4df3. | |
12985 | (div<VF1:mode>3): Merge from divv4sf3 and divv8sf3. | |
12986 | (<sse>_div<mode>3): Merge with *avx_div<mode>3. Use VF mode iterator. | |
12987 | (<sse>_vmdiv<mode>3): Merge with *avx_vmdiv<mode>3. Use VF_128 | |
12988 | mode iterator. | |
12989 | (<sse>_rcp<mode>2): Merge from avx_rcpv8sf2 and sse_rcpv4sf2. | |
12990 | Use VF1 mode iterator. | |
12991 | (sse_vmrcpv4sf2): Merge with *avx_vmrcpv4sf2. | |
12992 | (sqrt<VF2:mode>2): New expander. | |
12993 | (sqrt<VF1:mode>2): Merge from sqrtv4sf2 and sqrtv8sf2. | |
12994 | (<sse>_sqrt<mode>2): Merge from avx_sqrtv8sf2, sse_sqrtv4sf, sqrtv4df2 | |
12995 | and sqrtv2df2. Use VF mode iterator. | |
12996 | (<sse>_vmsqrt<mode>2): Merge with *avx_vmsqrt<mode>2. Use VF_128 | |
12997 | mode iterator. | |
12998 | (rsqrt<VF1:mode>2): Merge from rsqrtv4sf2 and rsqrtv8sf2. | |
12999 | (<sse>_rsqrt<mode>2): Merge from avx_rsqrtv8sf2 and sse_rsqrt4sf2. | |
13000 | Use VF1 mode iterator. | |
13001 | (sse_vmrsqrtv4sf2): Merge with *avx_vmrsqrtv4sf2. | |
13002 | (<smaxmin:code><mode>3): Use VF mode iterator. | |
13003 | (*<smaxmin:code><mode>3_finite): Merge with | |
13004 | *avx_<smaxmin:code><mode>3_finite. Use VF mode iterator. | |
13005 | (*<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
13006 | (<sse>_vm<smaxmin:code><mode>2): Merge with | |
13007 | *avx_vm<smaxmin:code><mode>2. Use VF_128 mode iterator. | |
13008 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. Use VF | |
13009 | mode iterator. | |
13010 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. Use VF | |
13011 | mode iterator. | |
13012 | (sse3_addsubv2df3): Merge with *avx_addsubv2df3. | |
13013 | (sse3_addsubv4sf3): Merge with *avx_addsubv4sf3. | |
13014 | (sse3_h<plusminus_insn>v2df3): Merge with *avx_h<plusminus_insn>v2df3. | |
13015 | (sse3_h<plusminus_insn>v4sf3): Merge with *avx_h<plusminus_insn>v4sf3. | |
13016 | (avx_cmp<mode>3): Rename from avx_cmp<ssemodesuffix><mode>3. Use | |
13017 | VF mode iterator. | |
13018 | (avx_vmcmp<mode>3): Rename from avx_cmp<ssescalarmodesuffix><mode>3. | |
13019 | Use VF_128 mode iterator. | |
13020 | (<sse>_maskcmp<mode>3): Merge with *avx_maskcmp<mode>3. Use VF | |
13021 | mode iterator. | |
13022 | (<sse>_vmmaskcmp<mode>3): Merge with *avx_vmmaskcmp<mode>3. Use | |
13023 | VF_128 mode iterator. | |
13024 | (vcond<mode>): Use VF mode iterator. | |
13025 | * config/i386/predicates.md (sse_comparison_operator): Merge with | |
13026 | avx_comparison_float_operator. Do not declare as special_predicate. | |
13027 | * config/i386/i386.c (struct builtin_description): Update for renamed | |
13028 | compare patterns. | |
13029 | (ix86_expand_args_builtin): Ditto. | |
13030 | (ix86_expand_sse_compare_mask): Ditto. | |
13031 | ||
ff5d142c RG |
13032 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
13033 | ||
13034 | * tree-inline.c (estimate_num_insns): For calls simply account | |
13035 | for all passed arguments and a used return value. | |
13036 | ||
d7d1d041 | 13037 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
07c0852e | 13038 | |
d7d1d041 RG |
13039 | PR tree-optimization/47663 |
13040 | * cgraph.h (struct cgraph_edge): Add call_stmt_size and | |
13041 | call_stmt_time fields. | |
13042 | (cgraph_edge_inlinable_p): Declare. | |
13043 | (cgraph_edge_recursive_p): New inline function. | |
13044 | * cgraph.c (cgraph_create_edge_1): Initialize call_stmt_size. | |
13045 | (cgraph_clone_edge): Copy it. | |
13046 | * ipa-inline.c (cgraph_estimate_edge_time): New function. | |
13047 | Account for call stmt time. | |
13048 | (cgraph_estimate_time_after_inlining): Take edge argument. | |
13049 | (cgraph_estimate_edge_growth): Account call stmt size. | |
13050 | (cgraph_estimate_size_after_inlining): Take edge argument. | |
13051 | (cgraph_mark_inline_edge): Adjust. | |
13052 | (cgraph_check_inline_limits): Likewise. | |
13053 | (cgraph_recursive_inlining_p): Remove. | |
13054 | (cgraph_edge_badness): Use cgraph_edge_recursive_p. | |
13055 | (cgraph_decide_recursive_inlining): Take edge argument and | |
13056 | adjust. | |
13057 | (cgraph_decide_inlining_of_small_functions): Do not avoid | |
13058 | diags for recursive inlining here. | |
13059 | (cgraph_flatten): Adjust. | |
13060 | (cgraph_decide_inlining_incrementally): Likewise. | |
13061 | (estimate_function_body_sizes): Remove call cost handling. | |
13062 | (compute_inline_parameters): Initialize caller edge call costs. | |
13063 | (cgraph_estimate_edge_growth): New function. | |
13064 | (cgraph_estimate_growth): Use it. | |
13065 | (cgraph_edge_badness): Likewise. | |
13066 | (cgraph_check_inline_limits): Take an edge argument. | |
13067 | (cgraph_decide_inlining_of_small_functions): Adjust. | |
13068 | (cgraph_decide_inlining): Likewise. | |
13069 | * tree-inline.c (estimate_num_insns): Only account for call | |
13070 | return value if it is used. | |
13071 | (expand_call_inline): Avoid diagnostics on recursive inline | |
13072 | functions here. | |
13073 | * lto-cgraph.c (lto_output_edge): Output edge call costs. | |
13074 | (input_edge): Input edge call costs. | |
13075 | ||
2feb95f7 RO |
13076 | 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13077 | ||
13078 | * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. | |
13079 | ||
26fbd9c2 JW |
13080 | 2011-04-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
13081 | ||
13082 | * doc/invoke.texi (Spec Files): Fix typo. | |
13083 | ||
694dc0ca EB |
13084 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
13085 | ||
13086 | * profile.c (branch_prob): Move declaration of local variable. Remove | |
13087 | obsolete ??? comment. Expand the location explicitly instead of using | |
13088 | the LOCATION_FILE and LOCATION_LINE macros. | |
13089 | ||
4925d0d5 WG |
13090 | 2011-04-06 Wei Guozhi <carrot@google.com> |
13091 | ||
13092 | PR target/47855 | |
13093 | * config/arm/arm.md (arm_cmpsi_insn): Compute attr "length". | |
13094 | (arm_cond_branch): Likewise. | |
13095 | (arm_cond_branch_reversed): Likewise. | |
13096 | (arm_jump): Likewise. | |
13097 | (push_multi): Likewise. | |
13098 | * config/arm/constraints.md (Py): New constraint. | |
13099 | ||
f55dfa2f NF |
13100 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
13101 | ||
13102 | PR bootstrap/48471 | |
13103 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index): | |
13104 | Move these... | |
13105 | (symbol_queue_size, DBXOUT_DECR_NESTING): ...and these... | |
13106 | (DBXOUT_DECR_NESTING_AND_RETURN): ...and this under | |
13107 | #ifdef DBX_DEBUGGING_INFO. | |
13108 | ||
fca96842 BS |
13109 | 2011-04-05 Bernd Schmidt <bernds@codesourcery.com> |
13110 | ||
13111 | PR bootstrap/48403 | |
13112 | * haifa-sched.c (schedule_block): Increment cycle_issued_insns only | |
13113 | if old and new states differ. | |
13114 | ||
30b83e38 JM |
13115 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
13116 | ||
13117 | * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200, | |
13118 | OPT_m5206e, OPT_m528x, OPT_m5307, OPT_m5407 and OPT_mcfv4e. | |
13119 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
13120 | handle -m5200, -m5206e, -m528x, -m5307, -m5407 and -mcfv4e. | |
13121 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, | |
13122 | mcfv4e): Use Alias. | |
13123 | * config/m68k/t-mlibs (MULTILIB_MATCHES): Don't map legacy | |
13124 | ColdFire options to -mcpu= options. | |
13125 | ||
277a9aa5 JL |
13126 | 2011-04-05 Jeff Law <law@redhat.com> |
13127 | ||
13128 | * tree-ssa-threadupdate.c (determine_bb_domination_status): Always | |
13129 | check if BB is a successor of LOOP->header and return | |
13130 | NONDOMINATING if it is not, regardless of ENABLE_CHECKING. | |
13131 | ||
c1e2610e SB |
13132 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
13133 | ||
13134 | * cprop.c (struct reg_use): Remove. | |
13135 | (reg_use_table): Make an array of RTX. | |
13136 | (find_used_regs, constprop_register, local_cprop_pass, | |
13137 | bypass_block): Simplify users of reg_use_table. | |
13138 | (cprop_insn): Likewise. Iterate if copy propagation succeeded | |
13139 | on one of the uses found by find_used_regs. | |
13140 | ||
e532f586 NF |
13141 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
13142 | ||
13143 | PR bootstrap/48469 | |
13144 | * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links | |
13145 | declaration. | |
13146 | ||
3fb7c055 NF |
13147 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
13148 | ||
13149 | * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links | |
13150 | as an rtx. | |
13151 | (try_combine) [AUTO_INC_DEC]: Declare a local link rtx. | |
13152 | ||
b71b43d9 SB |
13153 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
13154 | ||
13155 | PR middle-end/48441 | |
13156 | * cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns. | |
13157 | ||
b405b274 NF |
13158 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
13159 | ||
13160 | * combine.c: Include obstack.h. | |
13161 | (struct insn_link): Define. | |
13162 | (uid_log_links): Adjust type. | |
13163 | (FOR_EACH_LOG_LINK): New macro. | |
13164 | (insn_link_obstack): Declare. | |
13165 | (alloc_insn_link): Define. | |
13166 | (create_log_links): Call it. Use FOR_EACH_LOG_LINK and adjust | |
13167 | type of link variables. | |
13168 | (find_single_use, insn_a_feeds_b, combine_instructions): Likewise. | |
13169 | (try_combine, record_promoted_values, distribute_notes): Likewise. | |
13170 | (distribute_links): Likewise. Tweak prototype. | |
13171 | (clear_log_links): Delete. | |
13172 | (adjust_for_new_dest): Call alloc_insn_link. | |
13173 | * Makefile.in (combine.o): Depend on $(OBSTACK_H). | |
13174 | ||
6409abe3 NF |
13175 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
13176 | ||
13177 | * gcse.c (modify_mem_list): Convert to an array of VECs. | |
13178 | (canon_modify_mem_list, compute_transp): Tweak formatting. | |
13179 | (alloc_gcse_mem): Likewise. Adjust for modify_mem_list change. | |
13180 | (load_killed_in_block_p): Likewise. | |
13181 | (record_last_mem_set_info): Likewise. | |
13182 | (clear_modify_mem_tables): Likewise. | |
13183 | ||
170d8157 TV |
13184 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
13185 | ||
13186 | PR middle-end/48461 | |
13187 | * function.c (emit_use_return_register_into_block): Only define if | |
13188 | HAVE_return. | |
13189 | ||
c5911a55 EB |
13190 | 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> |
13191 | ||
13192 | * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. | |
13193 | ||
abd016e6 JM |
13194 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
13195 | ||
13196 | * config/rx/rx-opts.h: New. | |
13197 | * config/rx/rx.c (rx_cpu_type): Remove. | |
13198 | (rx_handle_option): Don't assert that global structures are in | |
13199 | use. Access variables via opts pointer. Defer most handling of | |
13200 | OPT_mint_register_. Use error_at. | |
13201 | (rx_option_override): Handle deferred OPT_mint_register_ here. | |
13202 | * config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h. | |
13203 | * config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude. | |
13204 | (mcpu=): Use Enum and specifiy rx_cpu_type with Var. | |
13205 | (rx_cpu_types): New Enum and EnumValue entries. | |
13206 | (mint-register=): Use Defer and use Var accordingly. | |
13207 | ||
1ed13f83 NF |
13208 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
13209 | ||
13210 | * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete. | |
13211 | (debug_free_queue, debug_nesting, symbol_queue_index): Delete. | |
13212 | * final.c (debug_flush_symbol_queue, debug_queue_symbol): | |
13213 | Move these... | |
13214 | (debug_free_queue, debug_nesting, symbol_queue_index): | |
13215 | ...and these... | |
13216 | * dbxout.c: ...to here. Make static. | |
13217 | ||
6ce1edcf NF |
13218 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
13219 | ||
13220 | * gcse.c (modify_pair): Define. Define a VEC of it. | |
13221 | (canon_modify_mem_list): Convert to an array of VECs. | |
13222 | (free_insn_expr_list_list): Delete. | |
13223 | (clear_modify_mem_tables): Call VEC_free instead. | |
13224 | (record_last_mem_set_info): Don't modify canon_modify_mem_list. | |
13225 | (alloc_gcse_mem): Adjust for canon_modify_mem_list change. | |
13226 | (canon_list_insert, compute_transp): Likewise. | |
13227 | ||
c201ac94 TV |
13228 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
13229 | ||
13230 | PR target/43920 | |
13231 | * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing | |
13232 | for size. | |
13233 | ||
4c029f40 TV |
13234 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
13235 | ||
13236 | PR target/43920 | |
13237 | * function.c (emit_use_return_register_into_block): New function. | |
13238 | (thread_prologue_and_epilogue_insns): Use | |
13239 | emit_use_return_register_into_block. | |
13240 | ||
2a562b0a TV |
13241 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
13242 | ||
13243 | PR target/43920 | |
13244 | * cfgcleanup.c (flow_find_cross_jump): Don't count USE or CLOBBER as | |
13245 | insn. | |
13246 | ||
0248bceb TV |
13247 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
13248 | ||
13249 | * cfgcleanup.c (try_crossjump_bb): Remove 2 superfluous variables. | |
13250 | ||
ffa94123 YZ |
13251 | 2011-04-05 Yufeng Zhang <yufeng.zhang@arm.com> |
13252 | ||
798dd0ba UB |
13253 | * config/arm/arm.md (define_constants for unspec): Replace with |
13254 | define_c_enum. | |
13255 | (define_constants for unspecv): Replace with define_c_enum. | |
13256 | * config/arm/neon.md (define_constants for unspec): Replace with | |
13257 | define_c_enum. | |
ffa94123 | 13258 | |
3b8f9b46 RH |
13259 | 2011-04-04 Richard Henderson <rth@redhat.com> |
13260 | ||
720cf80f | 13261 | PR bootstrap/48400 |
3b8f9b46 RH |
13262 | * dwarf2out.c (output_line_info): Always emit line info from |
13263 | at least one section. | |
13264 | (dwarf2out_init): Create text_section_line_info here ... | |
13265 | (set_cur_line_info_table): ... not here. | |
13266 | ||
720cf80f | 13267 | 2011-04-04 Vladimir Makarov <vmakarov@redhat.com> |
e5b0e1ca VM |
13268 | |
13269 | PR target/48380 | |
13270 | * ira.c (ira): Call grow_reg_equivs when fix_reg_equiv_init is | |
720cf80f | 13271 | not called. |
e5b0e1ca | 13272 | |
720cf80f | 13273 | * ira-emit.c (emit_move_list): Update reg_equiv_init insn list. |
e5b0e1ca | 13274 | |
196565d4 SB |
13275 | 2011-04-04 Steven Bosscher <steven@gcc.gnu.org> |
13276 | ||
b77f9eab SB |
13277 | * cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'. |
13278 | (expr_equiv_p): Remove. | |
13279 | (insert_set_in_table): Look at <dest, src> pair instead of expr. | |
13280 | (hash_scan_set): Update call to insert_set_in_table. | |
13281 | (dump_hash_table): Dump <dest, src> pair. | |
13282 | (lookup_set): Simplify. Lookup <dest, src> pair. | |
13283 | (compute_transp): Remove, fold heavily simplified code into... | |
13284 | (compute_local_properties): ...here. Expect COMP and TRANSP | |
13285 | unconditionally. | |
13286 | (find_avail_set): Take set directly from struct expr. | |
13287 | (find_bypass-set): Likewise. | |
13288 | (bypass_block): Likewise. | |
13289 | (cprop_insn): Likewise. Remove redundant INSN_P test. | |
13290 | ||
384d7a55 SB |
13291 | * cprop.c (implicit_set_cond_p): Assume nothing about COND, move |
13292 | checks on form of COND from find_implicit_sets to here. | |
13293 | (find_implicit_sets): Cleanup control flow. Split critical edges | |
13294 | if it exposes implicit sets. Allocate/resize implicit_sets as | |
13295 | necessary. | |
13296 | (one_cprop_pass): Only delete unreachable blocks if local_cprop_pass | |
13297 | changed something. Run df_analyze after find_implicit_sets if any | |
13298 | edges were split. Do not allocate implicit_sets here. | |
13299 | ||
3084ce69 SB |
13300 | * cprop.c: s/gcse/cprop/ everywhere except for flag_gcse. |
13301 | (gcse_obstack): Renamed to cprop_obstack. | |
13302 | (GNEW, GNEWVEC, GNEWVAR): Remove. | |
13303 | (gmalloc): Remove. | |
13304 | (alloc_hash_table): Use XNEWVAR instead of GNEWVAR. | |
13305 | (GOBNEW, GOBNEWVAR): Adjust for gcse_obstack renaming. | |
13306 | (gcse_alloc): Likewise, and rename to cprop_alloc. | |
13307 | (alloc_gcse_men, free_gcse_mem): Remove. | |
13308 | (gcse_constant_p): Rename to cprop_constant_p, and adjust all callers. | |
13309 | (compute_hash_table_work): Allocate and free reg_set_bitmap here. | |
13310 | (one_cprop_pass): Likewise. Adjust for gcse_obstack renaming. | |
13311 | ||
196565d4 SB |
13312 | * cprop.c (oprs_not_set_p): Remove. |
13313 | (mark_set, mark_clobber): Remove. | |
13314 | (mark_oprs_set): Rewrite using DF_INSN_INFO_DEFS cache. | |
13315 | (reg_not_set_p): New function. | |
13316 | (find_avail_set): Use reg_not_set_p instead of oprs_not_set_p. | |
13317 | (cprop_insn): Likewise. | |
13318 | (cprop_jump): Use FOR_EACH_EDGE. | |
13319 | ||
9b69cf83 BS |
13320 | 2011-04-04 Bernd Schmidt <bernds@codesourcery.com> |
13321 | ||
13322 | PR bootstrap/48403 | |
13323 | * haifa-sched.c (nonscheduled_insns_begin): New static variable. | |
13324 | (rank_for_schedule): Use scheduled_insns vector instead of | |
13325 | last_scheduled_insn. | |
13326 | (ok_for_early_queue_removal): Likewise. | |
13327 | (queue_to_ready): Search forward in nonscheduled_insns_begin if | |
13328 | we have a dbg_cnt. | |
13329 | (choose_ready): Likewise. | |
13330 | (commit_schedule): Use VEC_iterate. | |
13331 | (schedule_block): Initialize nonscheduled_insns_begin. If we have | |
13332 | a dbg_cnt, use it and ensure the first insn is in the ready list. | |
13333 | (haifa_sched_init): Allocate scheduled_insns. | |
13334 | (sched_extend_ready_list): Don't allocate it; reserve space. | |
13335 | (haifa_sched_finish): Free it. | |
13336 | ||
24f48c2f JM |
13337 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
13338 | ||
13339 | * optc-gen.awk: Always remove type from Variable entry before | |
13340 | recording in var_seen. | |
13341 | ||
8effe856 EB |
13342 | 2011-04-04 Eric Botcazou <ebotcazou@adacore.com> |
13343 | ||
13344 | * cfghooks.c (tidy_fallthru_edges): Add ??? comment. | |
13345 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove | |
13346 | call to tidy_fallthru_edges. | |
13347 | ||
413519ae JM |
13348 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
13349 | ||
13350 | * doc/options.texi (ToLower): Document. | |
3729983c | 13351 | * opt-functions.awk (switch_bit_fields): Initialize cl_tolower field. |
413519ae JM |
13352 | * opts-common.c (decode_cmdline_option): Handle cl_tolower. |
13353 | * opts.h (cl_option): Add cl_tolower field. | |
13354 | * config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu= | |
13355 | arguments with lowercase strings. | |
13356 | * config/rx/rx.opt (mcpu=): Add ToLower. | |
13357 | * config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu= | |
13358 | argument. | |
13359 | ||
7d34a1b0 RS |
13360 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
13361 | ||
13362 | * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete. | |
13363 | ||
c30e7434 RS |
13364 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
13365 | ||
13366 | * config/vax/vax.c: Include reload.h. | |
13367 | ||
112a861d AS |
13368 | 2011-04-04 Anatoly Sokolov <aesok@post.ru> |
13369 | ||
13370 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove. | |
13371 | * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
13372 | (sparc_preferred_reload_class): New function. | |
13373 | ||
e8c6bb74 JJ |
13374 | 2011-04-04 Jakub Jelinek <jakub@redhat.com> |
13375 | ||
2aeaa366 | 13376 | PR debug/48401 |
e8c6bb74 JJ |
13377 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. |
13378 | Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC. | |
13379 | ||
2c081caf NF |
13380 | 2011-04-03 Nathan Froyd <froydnj@codesourcery.com> |
13381 | ||
13382 | * tree.h (struct tree_const_decl): Inherit from tree_decl_common. | |
13383 | * tree.c (initialize_tree_contains_struct): Adjust accordingly. | |
13384 | ||
53802f27 AS |
13385 | 2011-04-03 Anatoly Sokolov <aesok@post.ru> |
13386 | ||
13387 | * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. | |
13388 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
13389 | ||
e89964e3 MM |
13390 | 2011-04-03 Michael Matz <matz@suse.de> |
13391 | ||
13392 | * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets | |
13393 | and next_slot members. | |
13394 | (lto_streamer_cache_insert, lto_streamer_cache_insert_at, | |
13395 | lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes. | |
13396 | (lto_streamer_cache_append): Declare. | |
13397 | * lto-streamer.c (lto_streamer_cache_add_to_node_array): Use | |
13398 | unsigned index, remove offset parameter, ensure that we append | |
13399 | or update existing entries. | |
13400 | (lto_streamer_cache_insert_1): Use unsigned index, remove offset_p | |
13401 | parameter, update next_slot for append. | |
13402 | (lto_streamer_cache_insert): Use unsigned index, remove offset_p | |
13403 | parameter. | |
13404 | (lto_streamer_cache_insert_at): Likewise. | |
13405 | (lto_streamer_cache_append): New function. | |
13406 | (lto_streamer_cache_lookup): Use unsigned index. | |
13407 | (lto_streamer_cache_get): Likewise. | |
13408 | (lto_record_common_node): Don't test tree_node_can_be_shared. | |
13409 | (preload_common_node): Adjust call to lto_streamer_cache_insert. | |
13410 | (lto_streamer_cache_delete): Don't free offsets member. | |
13411 | * lto-streamer-out.c (eq_string_slot_node): Use memcmp. | |
13412 | (lto_output_string_with_length): Use lto_output_data_stream. | |
13413 | (lto_output_tree_header): Remove ix parameter, don't write it. | |
13414 | (lto_output_builtin_tree): Likewise. | |
13415 | (lto_write_tree): Adjust callers to above, don't track and write | |
13416 | offset, write unsigned index. | |
13417 | (output_unreferenced_globals): Don't emit all global vars. | |
13418 | (write_global_references): Use unsigned indices. | |
13419 | (lto_output_decl_state_refs): Likewise. | |
13420 | (write_symbol): Likewise. | |
13421 | * lto-streamer-in.c (lto_input_chain): Move earlier. | |
13422 | (input_function): Use unsigned index. | |
13423 | (input_alias_pairs): Don't read and then ignore all global vars. | |
13424 | (lto_materialize_tree): Remove ix_p parameter, don't read index, | |
13425 | don't pass it back, use lto_streamer_cache_append. | |
13426 | (lto_register_var_decl_in_symtab): Use unsigned index. | |
13427 | (lto_register_function_decl_in_symtab): Likewise. | |
13428 | (lto_get_pickled_tree): Don't read in or handle offset, read unsigned | |
13429 | index. | |
13430 | (lto_get_builtin_tree): Don't read index, use | |
13431 | lto_streamer_cache_append. | |
13432 | (lto_read_tree): Adjust call to lto_materialize_tree. | |
13433 | ||
13434 | * ipa-inline.c (cgraph_edge_badness): Move growth calculaton, | |
13435 | don't use function calls in arguments to MIN. | |
13436 | ||
13437 | * varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC | |
13438 | twice. | |
13439 | ||
13440 | * gimple.c (gimple_type_leader_entry): Mark deletable. | |
13441 | ||
b9a5b5b2 AM |
13442 | 2011-04-03 Alan Modra <amodra@gmail.com> |
13443 | ||
13444 | * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. | |
13445 | ||
ac6a641b MM |
13446 | 2011-04-03 Michael Matz <matz@suse.de> |
13447 | ||
13448 | * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not | |
13449 | an integer. | |
13450 | * tree.h (tree_decl_non_common.vindex): Adjust comment. | |
13451 | ||
0038d4e0 MM |
13452 | 2011-04-03 Michael Matz <matz@suse.de> |
13453 | ||
e9c18386 | 13454 | * cgraphbuild.c (record_reference): Canonicalize constructor values. |
0038d4e0 MM |
13455 | * gimple-fold.c (canonicalize_constructor_val): Accept being called |
13456 | without function context. | |
13457 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear | |
13458 | current_function_decl and cfun. | |
13459 | ||
91f2fae8 MM |
13460 | 2011-04-03 Michael Matz <matz@suse.de> |
13461 | ||
13462 | * tree.c (decl_init_priority_insert): Don't create entry for | |
13463 | default priority. | |
13464 | (decl_fini_priority_insert): Ditto. | |
13465 | (fields_compatible_p, find_compatible_field): Remove. | |
13466 | * tree.h (fields_compatible_p, find_compatible_field): Remove. | |
13467 | * gimple.c (gimple_compare_field_offset): Adjust block comment. | |
13468 | ||
da29e070 EB |
13469 | 2011-04-03 Eric Botcazou <ebotcazou@adacore.com> |
13470 | ||
13471 | * combine.c (try_combine): Remove useless local variable. | |
13472 | ||
4979c28b | 13473 | 2011-04-03 Richard Guenther <rguenther@suse.de> |
91f2fae8 | 13474 | Ira Rosen <ira.rosen@linaro.org> |
4979c28b RG |
13475 | |
13476 | * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all | |
13477 | non-variable offsets and compare the remaining bases of the two | |
13478 | accesses instead of looking for exact same data-ref. | |
13479 | ||
b4ddcaee KT |
13480 | 2011-04-02 Kai Tietz <ktietz@redhat.com> |
13481 | ||
f90298e1 KT |
13482 | PR target/48416 |
13483 | * i386.c (ix86_function_arg_boundary): Fix printf formatter. | |
13484 | ||
b4ddcaee KT |
13485 | * i386.c (ix86_is_msabi_thiscall): New helper function. |
13486 | (ix86_is_type_thiscall): New helper function. | |
13487 | (ix86_comp_type_attributes): Handle thiscall for method-functions | |
13488 | special. | |
13489 | (init_cumulative_args): Likewise. | |
13490 | (find_drap_reg): Likewise. | |
13491 | (ix86_static_chain): Likewise. | |
13492 | (x86_this_parameter): Likewise. | |
13493 | (x86_output_mi_thunk): Likewise. | |
13494 | ||
2a9d769a | 13495 | 2011-04-01 Olivier Hainque <hainque@adacore.com> |
91f2fae8 MM |
13496 | Nicolas Setton <setton@adacore.com> |
13497 | Eric Botcazou <ebotcazou@adacore.com> | |
2a9d769a OH |
13498 | |
13499 | * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. | |
13500 | (add_gnat_descriptive_type_attribute): New function. | |
13501 | (gen_array_type_die): Call it. | |
13502 | (gen_enumeration_type_die): Likewise. | |
13503 | (gen_struct_or_union_type_die): Likewise. | |
13504 | (modified_type_die): Likewise. | |
13505 | * langhooks.h (lang_hooks_for_types): New descriptive_type hook. | |
13506 | * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. | |
13507 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. | |
13508 | ||
15a03a11 JJ |
13509 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
13510 | ||
13511 | PR bootstrap/48148 | |
13512 | * dwarf2out.c (resolve_addr): Don't call force_decl_die | |
13513 | if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. | |
13514 | ||
13515 | Revert: | |
13516 | 2011-03-17 Richard Guenther <rguenther@suse.de> | |
13517 | ||
13518 | PR bootstrap/48148 | |
13519 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
13520 | origin for decls in other ltrans units. | |
13521 | (input_varpool_node): Likewise. | |
13522 | ||
19228b93 JJ |
13523 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
13524 | ||
13525 | PR middle-end/48335 | |
13526 | * expr.c (expand_assignment): Handle all possibilities | |
13527 | if TO_RTX is CONCAT. | |
e9c18386 | 13528 | * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. |
19228b93 JJ |
13529 | (store_split_bit_field): If SUBREG_REG (op0) or |
13530 | op0 itself has smaller mode than word, return it | |
13531 | for offset 0 and const0_rtx for out-of-bounds stores. | |
13532 | If word is const0_rtx, skip it. | |
13533 | ||
88cb339e N |
13534 | 2011-04-01 Naveen H.S <naveen.S@kpitcummins.com> |
13535 | ||
13536 | * config/h8300/h8300.c (print_operand_address): Rename to... | |
13537 | (h8300_print_operand_address): ...this. Make static. Adjust comments. | |
13538 | Call h8300_print_operand and h8300_print_operand_address instead of | |
13539 | print_operand and print_operand_address. Declare. | |
13540 | (print_operand): Renake to... | |
13541 | (h8300_print_operand): ...this. Make static. Adjust comments. | |
13542 | Call h8300_print_operand instead of print_operand. Declare. | |
13543 | (h8300_print_operand_punct_valid_p): Moved from h8300.h file. | |
13544 | (h8300_register_move_cost): Likewise. | |
13545 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND | |
13546 | TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. | |
13547 | * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND | |
13548 | PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. | |
13549 | * config/h8300/h8300-protos.h (print_operand): Delete. | |
13550 | (print_operand_address): Delete. | |
13551 | ||
756d6ee9 RH |
13552 | 2011-04-01 Richard Henderson <rth@redhat.com> |
13553 | ||
13554 | PR 48400 | |
13555 | * dwarf2out.c (dwarf2out_source_line): Disable discriminators | |
13556 | in strict mode before dwarf4. Re-order tests to early out | |
13557 | before switching sections. | |
13558 | ||
ceaaaeab NF |
13559 | 2011-04-01 Nathan Froyd <froydnj@codesourcery.com> |
13560 | ||
13561 | * config/h8300/constraints.md: New file. | |
13562 | * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, | |
13563 | satisfies_constraint_L, and satisfies_constraint_N for peephole2s. | |
13564 | (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. | |
13565 | * config/h8300/predicates.md (bit_operand): Likewise. | |
13566 | (incdec_operand): Use satisfies_constraint_M and | |
13567 | satisfies_constraint_O. Don't use C code block. | |
13568 | * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. | |
13569 | * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. | |
13570 | (compute_mov_length): Use satisfies_constraint_G. | |
13571 | (fix_bit_operand): Use satisfies_constraint_U. | |
13572 | * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. | |
13573 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. | |
13574 | (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. | |
13575 | (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. | |
13576 | (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. | |
13577 | (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. | |
13578 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
13579 | (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. | |
13580 | (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. | |
13581 | (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. | |
13582 | (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. | |
13583 | (EXTRA_MEMORY_CONSTRAINT): Delete. | |
13584 | ||
08ae38e0 AP |
13585 | 2011-04-01 Andrew Pinski <pinskia@gmail.com> |
13586 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
13587 | ||
13588 | PR target/48262 | |
13589 | * config/rs6000/vector.md (movmisalign<mode>): Allow for memory | |
13590 | operands, as per the specifications. | |
13591 | ||
13592 | * config/rs6000/altivec.md (vec_extract_evenv4si): Correct modes. | |
13593 | (vec_extract_evenv4sf): Ditto. | |
13594 | (vec_extract_evenv8hi): Ditto. | |
13595 | (vec_extract_evenv16qi): Ditto. | |
13596 | (vec_extract_oddv4si): Ditto. | |
13597 | ||
bdb0b0f6 MW |
13598 | 2011-03-31 Mark Wielaard <mjw@redhat.com> |
13599 | ||
13600 | * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or | |
13601 | high_pc attribute if the CU has no associated code. Only output | |
13602 | DW_AT_entry_pc for CU if not generating strict dwarf and | |
13603 | dwarf_version < 4. | |
13604 | ||
722279e4 BS |
13605 | 2011-04-01 Bernd Schmidt <bernds@codesourcery.com> |
13606 | ||
13607 | * dwarf2out.h (dwarf2out_frame_debug_init): Declare. | |
13608 | * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken | |
13609 | out of ... | |
13610 | (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. | |
13611 | * final.c (final_start_function): Call the new function rather | |
13612 | than using a NULL argument for dwarf2out_frame_debug. | |
13613 | ||
c5dd277d BS |
13614 | * ifcvt.c (cond_exec_process_insns): Disallow converting a block |
13615 | that contains the prologue. | |
13616 | ||
ec4efea9 BS |
13617 | * haifa-sched.c (queue_insn): New arg REASON. All callers |
13618 | changed. Print it in debugging output. | |
13619 | ||
2a6a0d80 BS |
13620 | * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. |
13621 | ||
86014d07 BS |
13622 | * sched-ebb.c (begin_schedule_ready): Remove second argument. |
13623 | Split most of the code into... | |
13624 | (begin_move_insn): ... here. New function. | |
13625 | (ebb_sched_info): Add a pointer to it. | |
13626 | * haifa-sched.c (scheduled_insns): New static variable. | |
13627 | (sched_extend_ready_list): Allocate it. | |
13628 | (schedule_block): Use it to record the order of scheduled insns. | |
13629 | Perform RTL changes to move insns only after all scheduling | |
13630 | decisions have been made. | |
13631 | * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the | |
13632 | begin_move_insn field. | |
13633 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
13634 | * sched-int.h (struct haifa_sched_info): Remove second argument | |
13635 | from begin_schedule_ready hook. Add new member begin_move_insn. | |
13636 | * sched-rgn.c (begin_schedule_ready): Remove second argument. | |
13637 | (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. | |
13638 | ||
9d701248 BS |
13639 | * haifa-sched.c (prune_ready_list): New function, broken out of |
13640 | schedule_block. | |
13641 | (schedule_block): Use it. | |
13642 | ||
1ca1dad5 UW |
13643 | 2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
13644 | ||
13645 | * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. | |
13646 | ||
49568e45 KT |
13647 | 2011-04-01 Kai Tietz <ktietz@redhat.com> |
13648 | ||
13649 | * config.gcc (*-*-mingw*): Allow as option the | |
13650 | posix threading model. | |
07c0852e | 13651 | * config/i386/mingw32.h (SPEC_PTHREAD1, SPEC_PTHREAD2): |
49568e45 KT |
13652 | New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT |
13653 | definition. | |
13654 | (CPP_SPEC): Add pthread/no-pthread handling. | |
13655 | (LIB_SPEC): Likewise. | |
13656 | * config/i386/mingw-w64.h (CPP_SPEC):Likewise. | |
13657 | (LIB_SPEC): Likewise. | |
13658 | * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New | |
13659 | flag to pass -pthread option for shared libgcc build. | |
13660 | (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread | |
13661 | for shared libgcc build. | |
13662 | * config/i386/t-mingw-pthread: New file. | |
13663 | * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): | |
13664 | New define to enable use of library pthread by default. | |
13665 | * config/i386/mingw.opt (pthread): New driver option. | |
13666 | (no-pthread): New driver option. | |
e9c18386 | 13667 | * config/i386/cygming.opt: Make sure trailing empty line is retained. |
49568e45 KT |
13668 | * config/i386/mingw-w64.opt: Likewise. |
13669 | ||
748f7574 | 13670 | 2011-04-01 Gary Funck <gary@intrepid.com> |
636b4106 GF |
13671 | |
13672 | * c-decl.c (grokdeclarator): Fix formatting. | |
13673 | ||
f04713ee RS |
13674 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
13675 | ||
13676 | * expr.c (emit_block_move_via_movmem): Use n_generator_args | |
13677 | instead of n_operands. | |
13678 | (set_storage_via_setmem): Likewise. | |
13679 | * optabs.c (maybe_gen_insn): Likewise. | |
13680 | * config/arm/arm.c (arm_init_neon_builtins): Likewise. | |
13681 | * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. | |
13682 | (mips_expand_builtin_direct): Likewise. | |
13683 | * config/spu/spu.c (expand_builtin_args): Likewise. | |
13684 | ||
b29387ee RS |
13685 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
13686 | ||
13687 | * recog.h (insn_data_d): Add n_generator_args. | |
13688 | * genoutput.c (data): Likewise. | |
13689 | (output_insn_data): Print it. | |
13690 | (max_opno, num_dups): Delete. | |
13691 | (scan_operands): Just fill in "d->operand[...]". | |
13692 | (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. | |
13693 | ||
e792559a RS |
13694 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
13695 | ||
13696 | * gensupport.h (pattern_stats): New structure. | |
13697 | * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. | |
13698 | * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. | |
13699 | (max_operand_1, max_operand_vec): Delete. | |
13700 | (gen_insn, gen_expand, gen_split): Use get_pattern_stats. | |
13701 | ||
e8110d6f NF |
13702 | 2011-03-31 Nathan Froyd <froydnj@codesourcery.com> |
13703 | ||
13704 | * emit-rtl.c (emit_pattern_after_setloc): New function. | |
13705 | (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. | |
13706 | (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. | |
13707 | (emit_pattern_after): New function. | |
13708 | (emit_insn_after, emit_jump_insn_after): Call it. | |
13709 | (emit_call_insn_after, emit_debug_insn_after): Likewise. | |
13710 | (emit_pattern_before_setloc): New function. | |
13711 | (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. | |
13712 | (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): | |
13713 | Likewise. | |
13714 | (emit_pattern_before): New function. | |
13715 | (emit_insn_before, emit_jump_insn_before): Call it. | |
13716 | (emit_call_insn_before, emit_debug_insn_before): Likewise. | |
13717 | ||
576f85f1 RH |
13718 | 2011-03-31 Richard Henderson <rth@redhat.com> |
13719 | ||
13720 | * dwarf2out.c (dw_separate_line_info_ref): Remove. | |
13721 | (dw_separate_line_info_entry): Remove. | |
13722 | (enum dw_line_info_opcode): New. | |
13723 | (dw_line_info_entry): Use it. | |
13724 | (dw_line_info_table, dw_line_info_table_p): New. | |
13725 | (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. | |
13726 | (line_info_table, line_info_label_num): Remove. | |
13727 | (line_info_table_in_use): Remove. | |
13728 | (separate_line_info_table): Remove. | |
13729 | (separate_line_info_table_allocated): Remove. | |
13730 | (separate_line_info_table_in_use): Remove. | |
13731 | (LINE_INFO_TABLE_INCREMENT): Remove. | |
13732 | (line_info_label_num): New. | |
13733 | (cur_line_info_table): New. | |
13734 | (text_section_line_info, cold_text_section_line_info): New. | |
13735 | (separate_line_info): New. | |
13736 | (SEPARATE_LINE_CODE_LABEL): Remove. | |
13737 | (print_dwarf_line_table): Remove. | |
13738 | (debug_dwarf): Don't dump it. | |
13739 | (output_one_line_info_table): New. | |
13740 | (output_line_info): Use it. | |
13741 | (new_line_info_table): New. | |
13742 | (set_cur_line_info_table): New. | |
13743 | (dwarf2out_switch_text_section): Use it. | |
13744 | (dwarf2out_begin_function): Likewise. | |
13745 | (push_dw_line_info_entry): New. | |
13746 | (dwarf2out_source_line): Rewrite for new line info tables. | |
13747 | (dwarf2out_init): Remove dead initailizations. | |
13748 | ||
300d83d9 JM |
13749 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
13750 | ||
13751 | * opts.h (cl_option): Add comments to fields. Add bit-fields for | |
13752 | various flags. | |
13753 | (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, | |
13754 | CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, | |
13755 | CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, | |
13756 | CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. | |
13757 | (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. | |
13758 | * opt-functions.awk (flag_init, switch_bit_fields): New. | |
13759 | (switch_flags): Don't handle flags moved to bit-fields. Don't | |
13760 | generate CL_MISSING_OK or CL_SAVE. | |
13761 | * optc-gen.awk: Update to generate bit-field output as well as | |
13762 | flags field. | |
13763 | * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver | |
13764 | bit-field instead of CL_REJECT_DRIVER flag. | |
13765 | * opts-common.c (generate_canonical_option, | |
13766 | decode_cmdline_option): Use bit-fields instead of CL_* flags. | |
13767 | * opts.c (maybe_default_option): Use cl_reject_negative bit-field | |
13768 | instead of CL_REJECT_NEGATIVE flag. | |
13769 | * toplev.c (print_switch_values): Use cl_report bit-field instead | |
13770 | of CL_REPORT flag. | |
13771 | ||
d4d73ce2 EB |
13772 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
13773 | ||
13774 | * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop | |
13775 | a zero minimum index only if it is redundant. | |
13776 | ||
b8faca75 VM |
13777 | 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> |
13778 | ||
13779 | PR rtl-optimization/48381 | |
13780 | * ira-color.c (assign_hard_reg): Use hard reg set intersection | |
13781 | instead of ira_class_hard_reg_index for calculating conflicting | |
13782 | hard registers. | |
13783 | ||
7d11cebe SB |
13784 | 2011-03-31 Steven Bosscher <steven@gcc.gnu.org> |
13785 | ||
13786 | * cprop.c: Clean up hash table building. | |
13787 | (reg_avail_info): Remove. | |
13788 | (oprs_available_p): Remove. | |
13789 | (record_last_reg_set_info): Remove. | |
13790 | (record_last_set_info): Remove. | |
13791 | (reg_available_p): New function. | |
13792 | (gcse_constant_p): Do not treat unfolded conditions as constants. | |
13793 | (make_set_regs_unavailable): New function. | |
13794 | (hash_scan_set): Simplify with new reg_available_p. | |
13795 | (compute_hash_table_work): Traverse insns stream only once. | |
13796 | Do not compute reg_avail_info. Traverse insns in reverse order. | |
13797 | Record implicit sets after recording explicit sets from the block. | |
13798 | ||
98faf84f MM |
13799 | 2011-03-31 Michael Matz <matz@suse.de> |
13800 | ||
e9c18386 | 13801 | * builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. |
98faf84f | 13802 | |
f52d97da AS |
13803 | 2011-03-31 Anatoly Sokolov <aesok@post.ru> |
13804 | ||
13805 | * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. | |
13806 | * config/h8300/h8300-protos.h (h8300_get_index): Remove. | |
13807 | * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
13808 | (h8300_mode_dependent_address_p): New function. | |
13809 | (h8300_get_index): Make static. | |
13810 | ||
e16b6fd0 JL |
13811 | 2011-03-31 Jeff Law <law@redhat.com> |
13812 | ||
10c51983 JL |
13813 | * reload1.c (elimination_effects): Fix typo in recent change. |
13814 | ||
e9c18386 | 13815 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid |
e16b6fd0 JL |
13816 | typo potentially leading to null pointer dereference. |
13817 | ||
13818 | * caller-save.c (new_saved_hard_reg): Eliminate return value. | |
13819 | (setup_save_areas): Corresponding changes to avoid useless | |
13820 | assignments. | |
13821 | ||
13822 | * jump.c (reversed_comparison_code_parts): Avoid successive return | |
13823 | statements when REVERSE_CONDITION is defined. | |
13824 | ||
13825 | * expr.c (expand_assignment): Avoid useless assignments. | |
13826 | (expand_expr_real_1): Likewise. | |
13827 | (expand_expr_real_2): Avoid useless statements. | |
13828 | ||
13829 | * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. | |
13830 | ||
13831 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. | |
13832 | ||
13833 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless | |
13834 | statements. | |
13835 | ||
13836 | * stmt.c (expand_expr_stmt): Avoid useless assignment. | |
13837 | ||
eb1eb914 JM |
13838 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
13839 | ||
13840 | PR target/47109 | |
13841 | * doc/tm.texi.in (TARGET_VERSION): Remove. | |
13842 | * doc/tm.texi: Regenerate. | |
13843 | * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. | |
13844 | * collect2.c (main): Don't use TARGET_VERSION. | |
13845 | * mips-tdump.c (main): Don't use TARGET_VERSION. | |
13846 | * mips-tfile.c (main): Don't use TARGET_VERSION. | |
e9c18386 | 13847 | * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. |
eb1eb914 JM |
13848 | * config/rs6000/vxworksae.h: Remove. |
13849 | * config/alpha/alpha.h (TARGET_VERSION): Remove. | |
13850 | * config/alpha/freebsd.h (TARGET_VERSION): Remove. | |
13851 | * config/alpha/linux-elf.h (TARGET_VERSION): Remove. | |
13852 | * config/alpha/netbsd.h (TARGET_VERSION): Remove. | |
13853 | * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
13854 | * config/arm/arm.h (TARGET_VERSION): Remove. | |
13855 | * config/arm/coff.h (TARGET_VERSION): Remove. | |
13856 | * config/arm/ecos-elf.h (TARGET_VERSION): Remove. | |
13857 | * config/arm/elf.h (TARGET_VERSION): Remove. | |
13858 | * config/arm/freebsd.h (TARGET_VERSION): Remove. | |
13859 | * config/arm/linux-elf.h (TARGET_VERSION): Remove. | |
13860 | * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. | |
13861 | * config/arm/pe.h (TARGET_VERSION): Remove. | |
13862 | * config/arm/rtems-elf.h (TARGET_VERSION): Remove. | |
13863 | * config/arm/semi.h (TARGET_VERSION): Remove. | |
13864 | * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. | |
13865 | * config/arm/unknown-elf.h (TARGET_VERSION): Remove. | |
13866 | * config/arm/vxworks.h (TARGET_VERSION): Remove. | |
13867 | * config/avr/avr.h (TARGET_VERSION): Remove. | |
13868 | * config/bfin/bfin.h (TARGET_VERSION): Remove. | |
13869 | * config/fr30/fr30.h (TARGET_VERSION): Remove. | |
13870 | * config/frv/frv.h (TARGET_VERSION): Remove. | |
13871 | * config/h8300/h8300.h (TARGET_VERSION): Remove. | |
13872 | * config/i386/cygwin.h (TARGET_VERSION): Remove. | |
13873 | * config/i386/darwin.h (TARGET_VERSION): Remove. | |
13874 | * config/i386/darwin64.h (TARGET_VERSION): Remove. | |
13875 | * config/i386/djgpp.h (TARGET_VERSION): Remove. | |
13876 | * config/i386/freebsd.h (TARGET_VERSION): Remove. | |
13877 | * config/i386/freebsd64.h (TARGET_VERSION): Remove. | |
13878 | * config/i386/gnu.h (TARGET_VERSION): Remove. | |
13879 | * config/i386/i386-interix.h (TARGET_VERSION): Remove. | |
13880 | * config/i386/i386elf.h (TARGET_VERSION): Remove. | |
13881 | * config/i386/linux.h (TARGET_VERSION): Remove. | |
13882 | * config/i386/linux64.h (TARGET_VERSION): Remove. | |
13883 | * config/i386/lynx.h (TARGET_VERSION): Remove. | |
13884 | * config/i386/mingw32.h (TARGET_VERSION): Remove. | |
13885 | * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. | |
13886 | * config/i386/netbsd64.h (TARGET_VERSION): Remove. | |
13887 | * config/i386/netware.h (TARGET_VERSION): Remove. | |
13888 | * config/i386/nto.h (TARGET_VERSION): Remove. | |
13889 | * config/i386/openbsd.h (TARGET_VERSION): Remove. | |
13890 | * config/i386/vxworks.h (TARGET_VERSION): Remove. | |
13891 | * config/ia64/elf.h (TARGET_VERSION): Remove. | |
13892 | * config/ia64/freebsd.h (TARGET_VERSION): Remove. | |
13893 | * config/ia64/hpux.h (TARGET_VERSION): Remove. | |
13894 | * config/ia64/linux.h (TARGET_VERSION): Remove. | |
13895 | * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
13896 | * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, | |
13897 | TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
13898 | * config/lm32/lm32.h (TARGET_VERSION): Remove. | |
13899 | * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. | |
13900 | * config/m32c/m32c.h (TARGET_VERSION): Remove. | |
13901 | * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. | |
13902 | * config/m32r/m32r.h (TARGET_VERSION): Remove. | |
13903 | * config/m68k/linux.h (TARGET_VERSION): Remove. | |
13904 | * config/m68k/m68k.h (TARGET_VERSION): Remove. | |
13905 | * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. | |
13906 | * config/m68k/uclinux.h (TARGET_VERSION): Remove. | |
13907 | * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. | |
13908 | * config/mep/mep.h (TARGET_VERSION): Remove. | |
13909 | * config/microblaze/microblaze.h (MICROBLAZE_VERSION, | |
13910 | MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
13911 | * config/mips/iris6.h (MACHINE_TYPE): Remove. | |
13912 | * config/mips/linux.h (TARGET_VERSION): Remove. | |
13913 | * config/mips/netbsd.h (MACHINE_TYPE): Remove. | |
13914 | * config/mips/vxworks.h (TARGET_VERSION): Remove. | |
13915 | * config/mmix/mmix.h (TARGET_VERSION): Remove. | |
13916 | * config/mn10300/linux.h (TARGET_VERSION): Remove. | |
13917 | * config/mn10300/mn10300.h (TARGET_VERSION): Remove. | |
13918 | * config/pa/pa.h (TARGET_VERSION): Remove. | |
13919 | * config/pdp11/pdp11.h (TARGET_VERSION): Remove. | |
13920 | * config/picochip/picochip.h (TARGET_VERSION): Remove. | |
13921 | * config/rs6000/aix.h (TARGET_VERSION): Remove. | |
13922 | * config/rs6000/darwin.h (TARGET_VERSION): Remove. | |
13923 | * config/rs6000/darwin64.h (TARGET_VERSION): Remove. | |
13924 | * config/rs6000/eabi.h (TARGET_VERSION): Remove. | |
13925 | * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. | |
13926 | * config/rs6000/eabisim.h (TARGET_VERSION): Remove. | |
13927 | * config/rs6000/eabispe.h (TARGET_VERSION): Remove. | |
13928 | * config/rs6000/freebsd.h (TARGET_VERSION): Remove. | |
13929 | * config/rs6000/linux.h (TARGET_VERSION): Remove. | |
13930 | * config/rs6000/linux64.h (TARGET_VERSION): Remove. | |
13931 | * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. | |
13932 | * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. | |
13933 | * config/rs6000/lynx.h (TARGET_VERSION): Remove. | |
13934 | * config/rs6000/netbsd.h (TARGET_VERSION): Remove. | |
13935 | * config/rs6000/sysv4.h (TARGET_VERSION): Remove. | |
13936 | * config/rs6000/vxworks.h (TARGET_VERSION): Remove. | |
13937 | * config/s390/linux.h (TARGET_VERSION): Remove. | |
13938 | * config/s390/s390.h (TARGET_VERSION): Remove. | |
13939 | * config/s390/tpf.h (TARGET_VERSION): Remove. | |
13940 | * config/score/score.h (TARGET_VERSION): Remove. | |
13941 | * config/sh/linux.h (TARGET_VERSION): Remove. | |
13942 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, | |
13943 | TARGET_VERSION_CPU, TARGET_VERSION): Remove. | |
13944 | * config/sh/sh.h (TARGET_VERSION): Remove. | |
13945 | * config/sh/sh64.h (TARGET_VERSION): Remove. | |
13946 | * config/sh/superh.h (TARGET_VERSION): Remove. | |
13947 | * config/sh/vxworks.h (TARGET_VERSION): Remove. | |
13948 | * config/sparc/freebsd.h (TARGET_VERSION): Remove. | |
13949 | * config/sparc/linux.h (TARGET_VERSION): Remove. | |
13950 | * config/sparc/linux64.h (TARGET_VERSION): Remove. | |
13951 | * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, | |
13952 | TARGET_NAME32, TARGET_NAME): Remove. | |
13953 | * config/sparc/openbsd64.h (TARGET_VERSION): Remove. | |
13954 | * config/sparc/sp-elf.h (TARGET_VERSION): Remove. | |
13955 | * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. | |
13956 | * config/sparc/sysv4.h (TARGET_VERSION): Remove. | |
13957 | * config/sparc/vxworks.h (TARGET_VERSION): Remove. | |
13958 | * config/spu/spu.h (TARGET_VERSION): Remove. | |
13959 | * config/stormy16/stormy16.h (TARGET_VERSION): Remove. | |
13960 | * config/v850/v850.h (TARGET_VERSION): Remove. | |
13961 | * config/vax/linux.h (TARGET_VERSION): Remove. | |
13962 | * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. | |
13963 | * config/xtensa/elf.h (TARGET_VERSION): Remove. | |
13964 | * config/xtensa/linux.h (TARGET_VERSION): Remove. | |
13965 | ||
ace31bca EB |
13966 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
13967 | ||
13968 | PR target/48142 | |
13969 | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate | |
13970 | frame-related from frame-unrelated adjustments to the stack pointer. | |
13971 | ||
76f9db36 JJ |
13972 | 2011-03-31 Jakub Jelinek <jakub@redhat.com> |
13973 | ||
13974 | * common.opt (fdebug-types-section): Move earlier. | |
13975 | * doc/invoke.texi: Fix up -fno-debug-types-section documentation. | |
13976 | ||
b7826465 AT |
13977 | 2011-03-31 Andreas Tobler <andreast@fgznet.ch> |
13978 | ||
13979 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel | |
13980 | var. | |
13981 | ||
1290e54c NF |
13982 | 2011-03-30 Nathan Froyd <froydnj@codesourcery.com> |
13983 | ||
13984 | * tree.h (CASE_CHAIN): Define. | |
13985 | * tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it. | |
13986 | (gimple_redirect_edge_and_branch): Likewise. | |
13987 | ||
bddc98e1 VM |
13988 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
13989 | ||
13990 | PR middle-end/48367 | |
13991 | * ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost | |
13992 | calculation. | |
13993 | ||
c865e437 JL |
13994 | 2011-03-30 Jeff Law <law@redhat.com> |
13995 | ||
b3750213 | 13996 | * PR bootstrap/48371 |
c865e437 JL |
13997 | * reload1.c (reload): Fix botch in last change. |
13998 | ||
13999 | * reload.h (struct reload): Fix typo introduced in last change. | |
14000 | ||
2cdf9574 JM |
14001 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
14002 | ||
14003 | * config/arm/arm.opt (mhard-float, msoft-float): Mark | |
14004 | Undocumented. Remove help text. | |
14005 | * doc/invoke.texi (ARM Options): Don't document -msoft-float and | |
14006 | -mhard-float. | |
14007 | ||
666a21a2 JM |
14008 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
14009 | ||
14010 | * doc/options.texi (NegativeAlias): Document. | |
14011 | (Alias): Mention NegativeAlias. | |
14012 | * opt-functions.awk: Handle NegativeAlias. | |
e9c18386 | 14013 | * optc-gen.awk: Disallow NegativeAlias with multiple Alias arguments. |
666a21a2 JM |
14014 | * opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS. |
14015 | * opts.h (CL_NEGATIVE_ALIAS): Define. | |
14016 | * config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove. | |
14017 | (rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and | |
14018 | OPT_mspe_. | |
14019 | * config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with | |
14020 | Alias entries. | |
14021 | * config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
14022 | mno-spe and mno-isel instead of mspe=no and -misel=no. | |
14023 | ||
0fa4e351 MW |
14024 | 2011-03-29 Mark Wielaard <mjw@redhat.com> |
14025 | ||
14026 | * common.opt (fdebug-types-section): New flag. | |
14027 | * doc/invoke.texi: Document new -fno-debug-types-section flag. | |
14028 | * dwarf2out.c (use_debug_types): New define. | |
14029 | (struct die_struct): Mark die_id with GTY desc use_debug_types. | |
14030 | (print_die): Guard output of type unit signatures using | |
14031 | use_debug_types. | |
14032 | (build_abbrev_table): Replace assert of dwarf_version >= 4 | |
14033 | with assert on use_debug_types. | |
14034 | (size_of_die): Likewise. | |
14035 | (unmark_dies): Likewise. | |
14036 | (value_format): Decide AT_ref_external form on use_debug_types. | |
14037 | (output_die): Replace dwarf_version version check guard with | |
14038 | use_debug_types where appropriate. | |
14039 | (modified_type_die): Likewise. | |
14040 | (gen_reference_type_die): Likewise. | |
14041 | (dwarf2out_start_source_file): Likewise. | |
14042 | (dwarf2out_end_source_file): Likewise. | |
14043 | (prune_unused_types_walk_attribs): Likewise. | |
14044 | (dwarf2out_finish): Likewise. | |
14045 | ||
4648deb4 VM |
14046 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
14047 | ||
14048 | * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. | |
14049 | ||
4f431835 RS |
14050 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
14051 | ||
14052 | PR rtl-optimization/48332 | |
14053 | * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated | |
14054 | mode of input operand N and modeN to its actual mode. | |
14055 | ||
f2034d06 JL |
14056 | 2011-03-30 Jeff Law <law@redhat.com> |
14057 | ||
14058 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
14059 | define accessor macro. | |
14060 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
14061 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
14062 | (reg_equiv_init): Likewise. | |
14063 | (reg_equivs_size): New variable. | |
14064 | (reg_equiv_init_size): Remove. | |
14065 | (allocate_initial_values): Move prototype to here from.... | |
14066 | * integrate.h (allocate_initial_values): Remove prototype. | |
14067 | * integrate.c: Include reload.h. | |
14068 | (allocate_initial_values): Corresponding changes. | |
14069 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
14070 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
14071 | (update_equiv_regs): Corresponding changes. | |
14072 | (ira): Corresponding changes. | |
14073 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
14074 | (push_secondary_reload): Corresponding changes. | |
14075 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
14076 | (make_memloc, find_reloads_address): Corresponding changes. | |
14077 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
14078 | (find_reloads_address_1): Corresponding changes. | |
14079 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
14080 | (refers_to_regno_for_reload_p): Corresponding changes. | |
14081 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
14082 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
14083 | * reload1.c: Include ggc.h. | |
14084 | (grow_reg_equivs): New function. | |
14085 | (replace_pseudos_in, reload): Corresponding changes. | |
14086 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
14087 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
14088 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
14089 | (delete_output_reload): Likewise. | |
14090 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
14091 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
14092 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
14093 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
14094 | changes. | |
14095 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
14096 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
e9c18386 | 14097 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding changes. |
f2034d06 JL |
14098 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. |
14099 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
14100 | changes. | |
14101 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
14102 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
14103 | ||
159b81b0 RS |
14104 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
14105 | ||
14106 | PR target/47551 | |
14107 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
14108 | structure modes. Don't check neon_vector_mem_operand for | |
14109 | vector or structure modes. | |
14110 | ||
a6217191 RS |
14111 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
14112 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
14113 | ||
14114 | PR target/43590 | |
14115 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
14116 | operand 1 and reshuffle the operands to match. | |
14117 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
14118 | ||
bd837408 CS |
14119 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
14120 | ||
6955d771 | 14121 | PR driver/48208 |
bd837408 | 14122 | * config/c.opt (F): Added 'Driver' to -F option. |
e9c18386 | 14123 | |
6955d771 | 14124 | PR driver/48260 |
bd837408 CS |
14125 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
14126 | handler function. | |
14127 | * config/darwin.opt: Added '-arch' option. | |
14128 | ||
e9c0470a NC |
14129 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
14130 | ||
14131 | * config/rx/rx.md: Add peepholes and patterns to combine | |
14132 | extending loads and simple arithmetic instructions. | |
14133 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
e9c18386 UB |
14134 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. |
14135 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
e9c0470a | 14136 | modes to use pre-decrement and post-increment addressing. |
e9c18386 | 14137 | (rx_is_restricted_memory_address): Add range checking of REG+INT |
e9c0470a | 14138 | addresses. |
e9c18386 UB |
14139 | (rx_print_operand): Add support for %Q. Fix handling of %Q. |
14140 | (rx_memory_move_cost): Adjust cost of stores. | |
14141 | (rx_adjust_insn_length): New function. | |
e9c0470a | 14142 | |
8a87e7ab JJ |
14143 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
14144 | ||
14145 | PR c/48305 | |
14146 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
14147 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
14148 | matching arg00/arg01 types. | |
14149 | ||
12486e03 EB |
14150 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
14151 | ||
14152 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
14153 | last_location to UNKNOWN_LOCATION. | |
14154 | ||
0b99eef6 L |
14155 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
14156 | ||
14157 | PR target/48349 | |
14158 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
14159 | FLOAT_SSE_REGS. | |
14160 | ||
023592aa JM |
14161 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
14162 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
14163 | ||
14164 | PR bootstrap/48337 | |
14165 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
14166 | Init(PROCESSOR_V7). | |
14167 | (sparc_cpu): Likewise. | |
14168 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
14169 | PROCESSOR_V7. | |
14170 | ||
ad3b266b VM |
14171 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
14172 | ||
14173 | PR target/48336 | |
14174 | PR middle-end/48342 | |
14175 | PR rtl-optimization/48345 | |
14176 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
14177 | hard regs for given mode from profitable regs when doing secondary | |
14178 | allocation. | |
14179 | ||
633c9126 JL |
14180 | 2011-03-29 Jeff Law <law@redhat.com> |
14181 | ||
14182 | PR bootstrap/48327 | |
14183 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
14184 | do_not_duplicate field. | |
14185 | (lookup_redirection_data): Corresponding changes. | |
14186 | (create_duplicates): Always create a template block. | |
14187 | (redirect_edges): Remove code which reused the original block | |
14188 | when it was going to become unreachable code. | |
14189 | (thread_block): Don't set do_not_duplicate field. | |
14190 | ||
eb50f63a JM |
14191 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
14192 | ||
14193 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
14194 | Make type argument unsigned. | |
14195 | * lto-streamer.h (lto_register_user_option): Make type argument | |
14196 | unsigned. | |
14197 | * opth-gen.awk: Make CL_* macros unsigned. | |
14198 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
14199 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
14200 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
14201 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
14202 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
14203 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
14204 | (find_opt): Make lang_mask argument unsigned. | |
14205 | ||
76763a6d VM |
14206 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
14207 | ||
14208 | PR rtl-optimization/48331 | |
14209 | PR rtl-optimization/48334 | |
14210 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
14211 | for any used algorithm. | |
14212 | ||
5c82436e VM |
14213 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
14214 | ||
14215 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
14216 | to parent_max. | |
14217 | ||
7a81008b UB |
14218 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
14219 | ||
14220 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
14221 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
14222 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
14223 | set_mem_alias_set. | |
14224 | (alpha_expand_epilogue): Ditto. | |
14225 | ||
86c8d1f6 IR |
14226 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
14227 | ||
14228 | PR tree-optimization/48290 | |
14229 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
14230 | vectorization, check that relevant phis in the basic block after | |
14231 | the inner loop are really inner loop's exit phis. | |
14232 | ||
0d12220f RS |
14233 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
14234 | ||
e8cf17e7 | 14235 | PR debug/48190 |
0d12220f RS |
14236 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
14237 | (cached_dw_loc_list_def): New structure. | |
14238 | (cached_dw_loc_list): New typedef. | |
14239 | (cached_dw_loc_list_table): New variable. | |
14240 | (cached_dw_loc_list_table_hash): New function. | |
14241 | (cached_dw_loc_list_table_eq): Likewise. | |
14242 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
14243 | Cache the list when the parameter is true. | |
14244 | (gen_formal_parameter_die): Update caller. | |
14245 | (gen_variable_die): Likewise. | |
14246 | (dwarf2out_finish): Likewise. | |
14247 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
14248 | while generating debug info for the decl. | |
14249 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
14250 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
14251 | (resolve_addr): Cache the result of resolving a chain of | |
14252 | location lists. | |
14253 | ||
1756cb66 VM |
14254 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
14255 | ||
14256 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
14257 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 14258 | |
1756cb66 VM |
14259 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
14260 | after regstat_init_n_sets_and_refs. | |
14261 | ||
14262 | * ira.c: Add more comments at the top. | |
14263 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
14264 | Add comments how we compute the register pressure classes. | |
14265 | (setup_allocno_and_important_classes): Add more comments. | |
14266 | (setup_class_translate_array, reorder_important_classes) | |
14267 | (setup_reg_class_relations): Add comments. | |
14268 | ||
14269 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
14270 | start of the file. | |
14271 | ||
14272 | * ira-color.c: Add 2011 to the Copyright line. | |
14273 | (assign_hard_reg): Add more comments. | |
14274 | (improve_allocation): Ditto. | |
14275 | ||
14276 | * ira-costs.c: Add 2011 to the Copyright line. | |
14277 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
14278 | comments. | |
14279 | (setup_regno_cost_classes_by_mode): Ditto. | |
14280 | ||
14281 | Initial patches from ira-improv branch: | |
14282 | ||
14283 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
14284 | ||
f60c2554 | 14285 | * ira-build.c (ira_create_object): Remove initialization of |
1756cb66 VM |
14286 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. |
14287 | (ira_create_allocno): Remove initialization of | |
14288 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
14289 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
14290 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
14291 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
14292 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
14293 | Initialize ALLOCNO_ADD_DATA. | |
14294 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
14295 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
14296 | ALLOCNO_REG. | |
14297 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
14298 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
14299 | ||
14300 | * ira.c (ira_reallocate): Remove. | |
14301 | (setup_pressure_classes): Call | |
14302 | ira_init_register_move_cost_if_necessary. Use | |
14303 | ira_register_move_cost instead of ira_get_register_move_cost. | |
14304 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
14305 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
14306 | ||
14307 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
14308 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
14309 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
14310 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
14311 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
14312 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
14313 | Fix formatting. | |
7a81008b | 14314 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
14315 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
14316 | (struct allocno_color_data): New. | |
14317 | (allocno_color_data_t): New typedef. | |
14318 | (allocno_color_data): New definition. | |
14319 | (ALLOCNO_COLOR_DATA): New macro. | |
14320 | (struct object_color_data): New. | |
14321 | (object_color_data_t): New typedef. | |
14322 | (object_color_data): New definition. | |
14323 | (OBJECT_COLOR_DATA): New macro. | |
14324 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
14325 | ira_init_register_move_cost_if_necessary. Use | |
14326 | ira_register_move_cost instead of ira_get_register_move_cost. | |
14327 | (move_spill_restore, update_curr_costs): Ditto. | |
14328 | (allocno_spill_priority): Make it inline. | |
7a81008b | 14329 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
14330 | (struct coalesce_data, coalesce_data_t): New. |
14331 | (allocno_coalesce_data): New definition. | |
14332 | (ALLOCNO_COALESCE_DATA): New macro. | |
14333 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
14334 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
14335 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
14336 | (coalesce_allocnos): Ditto. | |
14337 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
14338 | (collect_spilled_coalesced_allocnos): Ditto. | |
14339 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
14340 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
14341 | (coalesce_spill_slots): Ditto. | |
14342 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
14343 | free allocno_coalesce_data. | |
14344 | ||
14345 | * ira-conflicts.c: Fix formatting. | |
14346 | (process_regs_for_copy): Call | |
14347 | ira_init_register_move_cost_if_necessary. Use | |
14348 | ira_register_move_cost instead of ira_get_register_move_cost. | |
14349 | (build_object_conflicts): Optimize. | |
14350 | ||
14351 | * ira-costs.c (record_reg_classes): Optimize. Call | |
14352 | ira_init_register_move_cost_if_necessary. Use | |
14353 | ira_register_move_cost, ira_may_move_in_cost, and | |
14354 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
14355 | ira_get_may_move_cost. | |
14356 | (record_address_regs): Ditto. | |
14357 | (scan_one_insn): Optimize. | |
14358 | (find_costs_and_classes): Optimize. | |
14359 | (process_bb_node_for_hard_reg_moves): Call | |
14360 | ira_init_register_move_cost_if_necessary. Use | |
14361 | ira_register_move_cost instead of ira_get_register_move_cost. | |
14362 | ||
14363 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
14364 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
14365 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
14366 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
14367 | definitions. | |
14368 | (ira_initiate_emit_data, ira_finish_emit_data) | |
14369 | (create_new_allocno): New functions. | |
7a81008b | 14370 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
14371 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
14372 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
14373 | ||
14374 | * ira-int.h: Fix some comments. | |
7a81008b UB |
14375 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
14376 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
14377 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
14378 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
14379 | add_data. | |
14380 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
14381 | bitfield after mode. Make hard_regno a short int. Make | |
14382 | hard_regno short. Remove first_coalesced_allocno and | |
14383 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
14384 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
14385 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
14386 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
14387 | temp, colorable_p. Add new member add_data. | |
14388 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
14389 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
14390 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
14391 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
14392 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
14393 | (ALLOCNO_ADD_DATA): New macro. | |
14394 | (ira_emit_data_t): New typedef. | |
14395 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
14396 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
14397 | from struct ira_allocno. | |
14398 | (ALLOCNO_EMIT_DATA): New macro. | |
14399 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
14400 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 14401 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
14402 | (OBJECT_ADD_DATA): New macro. |
14403 | (ira_reallocate): Remove. | |
14404 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
14405 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
14406 | (ira_init_register_move_cost_if_necessary): New. | |
14407 | (ira_object_conflict_iter_next): Merge into | |
14408 | ira_object_conflict_iter_cond. | |
7a81008b | 14409 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 | 14410 | |
f60c2554 | 14411 | * ira-live.c (process_single_reg_class_operands): Call |
1756cb66 VM |
14412 | ira_init_register_move_cost_if_necessary. Use |
14413 | ira_register_move_cost instead of ira_get_register_move_cost. | |
14414 | ||
14415 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
14416 | ||
14417 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
14418 | ||
14419 | * ira-costs.c: Fix formatting. | |
14420 | (cost_classes, cost_classes_num): Remove. | |
14421 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
14422 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
14423 | (cost_classes_del, cost_classes_htab): New. | |
14424 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
14425 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
14426 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 14427 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
14428 | (record_reg_classes): Use regno_cost_classes instead of |
14429 | cost_classes. Move checking opposite operand up. | |
14430 | (record_address_regs): Use regno_cost_classes | |
14431 | instead of cost_classes. | |
14432 | (scan_one_insn): Ditto. Use always general register. | |
14433 | (print_allocno_costs): Use regno_cost_classes instead of | |
14434 | cost_classes. | |
14435 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
14436 | (find_costs_and_classes): Set up cost classes for each registers. | |
14437 | Use also their mode for this. Use regno_cost_classes instead of | |
14438 | cost_classes. | |
14439 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
14440 | cost_classes. | |
14441 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
14442 | (ira_costs, ira_set_pseudo_classes): Call | |
14443 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
14444 | ||
14445 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
14446 | ||
14447 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
14448 | ||
14449 | * target.def (ira_cover_classes): Remove. | |
14450 | ||
7a81008b | 14451 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
14452 | |
14453 | * doc/tm.texi.in: Ditto. | |
14454 | ||
14455 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
14456 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 14457 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
14458 | |
14459 | * targhooks.c (default_ira_cover_classes): Remove. | |
14460 | ||
14461 | * targhooks.h (default_ira_cover_classes): Ditto. | |
14462 | ||
14463 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
14464 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
14465 | ira_pressure_classes and ira_pressure_classes_num instead of | |
14466 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
14467 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
14468 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
14469 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
14470 | ||
14471 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
14472 | classes from the file. | |
14473 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
14474 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
14475 | (struct ira_object): New members profitable_hard_regs, | |
14476 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
14477 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
14478 | cover_class_cost and updated_cover_class_cost to class_cost and | |
14479 | updated_class_cost. Remove splay_removed_p and | |
14480 | left_conflict_size. Add new members colorable_p. | |
14481 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
14482 | (ALLOCNO_COLORABLE_P): New macro. | |
14483 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
14484 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
14485 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
14486 | (OBJECT_...): Rename parameter C to O. | |
14487 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
14488 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
14489 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
14490 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
14491 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
14492 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
14493 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
14494 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
14495 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
14496 | x_ira_reg_class_subunion. | |
14497 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
14498 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
14499 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
14500 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 14501 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
14502 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
14503 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
14504 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
14505 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
14506 | ira_tune_allocno_costs. | |
14507 | (ira_debug_hard_regs_forest): New. | |
14508 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
14509 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 14510 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
14511 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
14512 | cover_class to aclass. | |
14513 | (ira_allocate_and_accumulate_costs): Ditto. | |
14514 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
14515 | ||
14516 | * opts.c (decode_options): Remove ira_cover_class check. | |
14517 | ||
14518 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
14519 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
14520 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
14521 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
14522 | (splay-tree.h): Remove include. | |
14523 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
14524 | before copy_freq_compare_func. | |
14525 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
14526 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
14527 | New definitions. | |
14528 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
14529 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
14530 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
14531 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
14532 | (create_new_object_hard_regs_node): Ditto. | |
14533 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 14534 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
14535 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
14536 | Ditto. | |
14537 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
14538 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
14539 | (remove_unused_object_hard_regs_nodes): Ditto. | |
14540 | (enumerate_object_hard_regs_nodes): Ditto. | |
14541 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
14542 | (object_hard_regs_subnode_t): Ditto. | |
14543 | (struct object_hard_regs_subnode): Ditto. | |
14544 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
14545 | (setup_object_hard_regs_subnode_index): Ditto. | |
14546 | (get_object_hard_regs_subnodes_num): Ditto. | |
14547 | (form_object_hard_regs_nodes_forest): Ditto. | |
14548 | (finish_object_hard_regs_nodes_tree): Ditto. | |
14549 | (finish_object_hard_regs_nodes_forest): Ditto. | |
14550 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 14551 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
14552 | (pseudos_have_intersected_live_ranges_p): Rename to |
14553 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
14554 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
14555 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
14556 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
14557 | reg does not belong the class. | |
14558 | (assign_hard_reg): Process only profitable hard regs. | |
14559 | (uncolorable_allocnos_num): Make it scalar. | |
14560 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
14561 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
14562 | and ira_reg_class_max_nregs. | |
14563 | (bucket_allocno_compare_func): Check frequency first. | |
14564 | (sort_bucket): Add compare function as a parameter. | |
14565 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
14566 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
14567 | (push_allocno_to_stack): Rewrite for checking new allocno | |
14568 | colorability. | |
7a81008b | 14569 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
14570 | (push_only_colorable): Pass new parameter to sort_bucket. |
14571 | (push_allocno_to_spill): Remove. | |
14572 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
14573 | (splay_tree_allocate, splay_tree_free): Remove. | |
14574 | (allocno_spill_sort_compare): New function. | |
14575 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
14576 | build and use splay tree. Choose first allocno in uncolorable | |
14577 | allocno bucket to spill. Remove setting spill cost. | |
14578 | (all_conflicting_hard_regs): Remove. | |
14579 | (setup_allocno_available_regs_num): Check only profitable hard | |
14580 | regs. Print info about hard regs nodes. | |
14581 | (setup_allocno_left_conflicts_size): Remove. | |
14582 | (put_allocno_into_bucket): Don't call | |
7a81008b | 14583 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
14584 | (improve_allocation): New. |
14585 | (color_allocnos): Call setup_profitable_hard_regs, | |
14586 | form_object_hard_regs_nodes_forest, improve_allocation, | |
14587 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
14588 | (print_loop_title): Use pressure classes. | |
14589 | (color_allocnso): Ditto. | |
14590 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
14591 | and allocnos_for_spilling. | |
14592 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
14593 | {first,next}_coalesced_allocno. | |
14594 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
14595 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
14596 | prohibited_class_mode_regs. | |
14597 | ||
14598 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
14599 | formatting. | |
14600 | (update_allocno_pressure_excess_length): Use pressure classes. | |
14601 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
14602 | class. | |
14603 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
14604 | pressure class. Use ira_reg_class_nregs instead of | |
14605 | ira_reg_class_max_nregs. | |
14606 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
14607 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
14608 | (single_reg_class): Use ira_reg_class_nregs instead of | |
14609 | ira_reg_class_max_nregs. | |
14610 | (process_bb_node_lives): Use pressure classes. | |
14611 | ||
14612 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
14613 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
14614 | (change_loop): Use pressure classes. | |
14615 | (modify_move_list): Call ira_set_allocno_class instead of | |
14616 | ira_set_allocno_cover_class. | |
14617 | ||
14618 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
14619 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
14620 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
14621 | ALLOCNO_UPDATED_CLASS_COST instead of | |
14622 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
14623 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
14624 | (ira_create_allocno): Remove initialization of | |
14625 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
14626 | ALLOCNO_COLORABLE_P. | |
14627 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
14628 | Update conflict regs for the objects. | |
14629 | (create_cap_allocno): Remove assert. Don't propagate | |
14630 | ALLOCNO_AVAILABLE_REGS_NUM. | |
14631 | (ira_free_allocno_costs): New function. | |
14632 | (finish_allocno): Change a part of code into call of | |
14633 | ira_free_allocno_costs. | |
14634 | (low_pressure_loop_node_p): Use pressure classes. | |
14635 | (object_range_compare_func): Don't compare classes. | |
14636 | (setup_min_max_conflict_allocno_ids): Ditto. | |
14637 | ||
14638 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
14639 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
14640 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
14641 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
14642 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
14643 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
14644 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
14645 | STACK_REG_COVER_CLASS. | |
14646 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
14647 | (move_loop_invariants): Initialize and finalize regstat. | |
14648 | ||
14649 | * ira.c: Remove mentioning cover classes from the file. Add | |
14650 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
14651 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
14652 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
14653 | setup_class_subset_and_memory_move_costs. | |
14654 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
14655 | (setup_cover_and_important_classes): Rename to | |
14656 | setup_allocno_and_important_classes. | |
14657 | (setup_class_translate_array): New. | |
14658 | (setup_class_translate): Call it for allocno and pressure classes. | |
14659 | (cover_class_order): Rename to allocno_class_order. | |
14660 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
14661 | of ira_class_translate. | |
14662 | (reorder_important_classes): Set up ira_important_class_nums. | |
14663 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
14664 | (print_class_cover): Rename to print_classes. Add parameter. | |
14665 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
14666 | Print pressure classes too. | |
14667 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
14668 | setup_reg_subclasses. | |
7a81008b | 14669 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
14670 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
14671 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 14672 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
14673 | (clarify_prohibited_class_mode_regs): New function. |
14674 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
14675 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
14676 | (ira_init_once): Initialize them. | |
14677 | (free_register_move_costs): Process them. | |
14678 | (ira_init): Move calls of find_reg_classes and | |
14679 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
14680 | Call clarify_prohibited_class_mode_regs. | |
14681 | (ira_no_alloc_reg): Remove. | |
14682 | (too_high_register_pressure_p): Use pressure classes. | |
14683 | ||
14684 | * sched-deps.c: Remove mentioning cover classes from the file. | |
14685 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
14686 | ira_pressure_classes and ira_pressure_classes_num instead of | |
14687 | ira_reg_class_cover_size and ira_reg_class_cover. | |
14688 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
14689 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
14690 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
14691 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
14692 | ||
14693 | * ira.h: Add 2010 to Copyright. | |
14694 | (ira_no_alloc_reg): Remove external. | |
14695 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
14696 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
14697 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
14698 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
14699 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
14700 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
14701 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
14702 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
14703 | x_ira_no_alloc_regs. | |
7a81008b | 14704 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
14705 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
14706 | ira_allocno_classes_num and ira_allocno_classes. | |
14707 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
14708 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
14709 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
14710 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
14711 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
14712 | (ira_no_alloc_regs): New. | |
14713 | ||
14714 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
14715 | classes from the file. Use ALLOCNO_CLASS instead of | |
14716 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
14717 | ALLOCNO_COVER_CLASS_COST. | |
14718 | (regno_cover_class): Rename to regno_aclass. | |
14719 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
14720 | ira_reg_class_union. | |
14721 | (record_address_regs): Check overflow. | |
14722 | (scan_one_insn): Ditto. | |
7a81008b | 14723 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
14724 | (print_pseudo_costs): Use REG_N_REFS. |
14725 | (find_costs_and_classes): Use classes intersected with them on the | |
14726 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
14727 | ira_reg_class_union. Use ira_allocno_class_translate and | |
14728 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
14729 | Modify code for finding regno_aclass. Setup preferred classes for | |
14730 | the next pass. | |
14731 | (setup_allocno_cover_class_and_costs): Rename to | |
14732 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
14733 | regno_cover_class. Use ira_set_allocno_class instead of | |
14734 | ira_set_allocno_cover_class. | |
14735 | (init_costs, finish_costs): Use regno_aclass instead of | |
14736 | regno_cover_class. | |
14737 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
14738 | setup_allocno_cover_class_and_costs. | |
14739 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
14740 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
14741 | by processing objects. Use ira_reg_class_max_nregs instead of | |
14742 | ira_reg_class_nregs. | |
14743 | ||
14744 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
14745 | ||
14746 | * sched-int.h: Remove mentioning cover classes from the file. | |
14747 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
14748 | ||
14749 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
14750 | classes from the file. | |
14751 | (struct reg_pref): Rename coverclass into allocnoclass. | |
14752 | (reg_cover_class): Rename to reg_allocno_class. | |
14753 | ||
7a81008b | 14754 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
14755 | |
14756 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
14757 | ||
14758 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
14759 | ||
14760 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
14761 | ||
14762 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
14763 | ||
14764 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
14765 | ||
14766 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
14767 | ||
14768 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
14769 | ||
14770 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
14771 | ||
14772 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
14773 | ||
14774 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
14775 | (i386_ira_cover_classes): Ditto. | |
14776 | ||
14777 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
14778 | ||
14779 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
14780 | ||
14781 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
14782 | ||
14783 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
14784 | ||
14785 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
14786 | ||
14787 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
14788 | ||
14789 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
14790 | (mips_ira_cover_classes): Ditto. | |
14791 | ||
14792 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
14793 | ||
14794 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
14795 | ||
14796 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
14797 | ||
14798 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
14799 | ||
14800 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
14801 | ||
14802 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
14803 | (IRA_COVER_CLASSES_VSX): Ditto. | |
14804 | ||
14805 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
14806 | (rs6000_ira_cover_classes): Ditto. | |
14807 | ||
14808 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
14809 | ||
14810 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
14811 | ||
14812 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
14813 | ||
14814 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
14815 | ||
14816 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
14817 | ||
14818 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
14819 | ||
14820 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
14821 | ||
14822 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
14823 | ||
14824 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
14825 | ||
14826 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
14827 | ||
2b80199f JJ |
14828 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
14829 | ||
71dae1fe JJ |
14830 | PR debug/48253 |
14831 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
14832 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
14833 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
14834 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
14835 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
14836 | fields. | |
14837 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
14838 | true, otherwise dw_fde_{begin,end}. | |
14839 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
14840 | instead of dw_fde_switched_sections. | |
14841 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
14842 | fields, initialize new fields. Initialize in_std_section | |
14843 | unconditionally from the first partition. | |
14844 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
14845 | dw_fde_second_begin is non-NULL. | |
14846 | (dwarf2out_switch_text_section): Stop initializing removed | |
14847 | dw_fde_struct fields, initialize new fields, initialize | |
14848 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
14849 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
14850 | (struct var_loc_list_def): Add last_before_switch field. | |
14851 | (arange_table, arange_table_allocated, arange_table_in_use, | |
14852 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
14853 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
14854 | hunks in fdes, instead of looking at arange_table_in_use. | |
14855 | (output_aranges): Add aranges_length argument, don't call | |
14856 | size_of_aranges here. Instead of using aranges_table* | |
14857 | emit ranges for fdes when !in_std_section resp. | |
14858 | !second_in_std_section. | |
14859 | (dw_loc_list): Break ranges crossing section switch. | |
14860 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 14861 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
14862 | (gen_subprogram_die): Don't call add_arange. Use |
14863 | dw_fde_{begin,end} for first partition and if switched | |
14864 | section dw_fde_second_{begin,end} for the second. | |
14865 | (var_location_switch_text_section_1, | |
14866 | var_location_switch_text_section): New functions. | |
14867 | (dwarf2out_begin_function): Initialize cold_text_section even | |
14868 | when function_section () isn't text_section. | |
14869 | (prune_unused_types): Don't walk arange_table. | |
14870 | (dwarf2out_finish): Don't needlessly test | |
14871 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
14872 | If info_section_emitted, call size_of_aranges and if it indicates | |
14873 | non-empty .debug_aranges, call output_aranges with the computed | |
14874 | size. Stop using removed dw_fde_struct fields, use | |
14875 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
14876 | for second. | |
14877 | ||
2b80199f JJ |
14878 | PR debug/48203 |
14879 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
14880 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
14881 | is a hard REG. | |
14882 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
14883 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
14884 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
14885 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
14886 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
14887 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
14888 | ENTRY_VALUE_EXPs. | |
14889 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
14890 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
14891 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
14892 | (preserve_only_constants): Don't clear VALUES forwaring | |
14893 | ENTRY_VALUE to some other VALUE. | |
14894 | ||
8a445129 RS |
14895 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
14896 | ||
14897 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
14898 | instead of GEN_INT. | |
14899 | ||
c82fee88 EB |
14900 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
14901 | ||
14902 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
14903 | block before expanding the statement. | |
14904 | (expand_gimple_stmt_1): Likewise. Set them here... | |
14905 | (expand_gimple_stmt): ...and not here. Tidy. | |
14906 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
14907 | unknown. | |
14908 | ||
e45425ec SB |
14909 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
14910 | ||
14911 | * Makefile.in: New rule for cprop.o. | |
14912 | * gcse.c: Move constant/copy propagation to cprop.c. | |
14913 | (compute_local_properties): Only handle expression tables. | |
14914 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
14915 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
14916 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
14917 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 14918 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
14919 | compute_cprop_data, find_used_regs, try_replace_reg, |
14920 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
14921 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
14922 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
14923 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
14924 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
14925 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
14926 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
14927 | moved from gcse.c to here with minor cleanups in duplicated code. | |
14928 | ||
c09d5426 L |
14929 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
14930 | ||
14931 | * config/i386/i386.c (flag_opts): Fix a typo in | |
14932 | -mavx256-split-unaligned-store. | |
14933 | ||
9eaa7740 AS |
14934 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
14935 | ||
14936 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
14937 | LIBCALL_VALUE): Remove macros. | |
14938 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
14939 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
14940 | (h8300_function_value, h8300_libcall_value, | |
14941 | h8300_function_value_regno_p): New functions. | |
14942 | ||
dcec2be2 AS |
14943 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
14944 | ||
14945 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
14946 | ||
520af9ec JL |
14947 | 2011-03-28 Jeff Law <law@redhat.com> |
14948 | ||
14949 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
14950 | create_edge_and_update_destination_phis as needed. | |
14951 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
14952 | All callers updated. | |
14953 | (thread_block): Do not update the profile when threading around | |
14954 | intermediate blocks. | |
14955 | (thread_single_edge): Likewise. | |
14956 | (determine_bb_domination_status): If BB is not a successor of the | |
14957 | loop header, return NONDOMINATING. | |
14958 | (register_jump_thread): Note when we register a jump thread around | |
14959 | an intermediate block. | |
14960 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
14961 | (thread_across_edge): Use it. | |
14962 | ||
7450b54f TG |
14963 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
14964 | ||
14965 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
14966 | when for_return is 2. | |
14967 | ||
649beb33 JL |
14968 | 2011-03-28 Jeff Law <law@redhat.com> |
14969 | ||
14970 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
14971 | lhs assignment. | |
14972 | (canonicalize_values_star, set_variable_part): Likewise. | |
14973 | (clobber_variable_part, delete_variable_part): Likewise. | |
14974 | ||
d5b8da97 SB |
14975 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
14976 | ||
14977 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
14978 | ||
322dd859 MJ |
14979 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
14980 | ||
14981 | * tree-inline.c (expand_call_inline): Do not check that destination | |
14982 | node is analyzed. | |
14983 | (optimize_inline_calls): Assert that destination node is analyzed. | |
14984 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
14985 | not call tree_lowering_passes. | |
14986 | * cgraph.h (cgraph_analyze_function): Declare. | |
14987 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
14988 | ||
aa53e58b JM |
14989 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
14990 | ||
14991 | * config/sparc/sparc-opts.h: New. | |
14992 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
14993 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
14994 | (sparc_option_override): Store processor_type enumeration rather | |
14995 | than string in cpu_default. Remove name and enumeration from | |
14996 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
14997 | without using sparc_select. Use target_flags_explicit instead of | |
14998 | fpu_option_set. | |
14999 | * config/sparc/sparc.h (enum processor_type): Move to | |
15000 | sparc-opts.h. | |
15001 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
15002 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
15003 | HeaderInclude entry. | |
15004 | (mcpu=, mtune=): Use Var and Enum. | |
15005 | (sparc_processor_type): New Enum and EnumValue entries. | |
15006 | ||
dd350eba RO |
15007 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15008 | Iain Sandoe <iains@gcc.gnu.org> | |
15009 | ||
15010 | PR target/48245 | |
15011 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
15012 | ||
1b29f05e EB |
15013 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
15014 | ||
15015 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
15016 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
15017 | Insert new statements at it in lieu of STMT. | |
15018 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
15019 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
15020 | (vectorizable_load): Likewise. | |
15021 | ||
506e6808 UB |
15022 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
15023 | ||
15024 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
15025 | (divtf3): Ditto. | |
15026 | (multf3): Ditto. | |
15027 | (subtf3): Ditto. | |
15028 | ||
2e939ee9 L |
15029 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
15030 | ||
15031 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
15032 | unaligned 256bit load/store. | |
15033 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
15034 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
15035 | ||
5e85ab88 JDA |
15036 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15037 | ||
15038 | PR target/48288 | |
15039 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
15040 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
15041 | (iorsi3): Likewise. | |
15042 | ||
47be3d6d AS |
15043 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
15044 | ||
506e6808 | 15045 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 15046 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
15047 | * config/mips/mips-protos.h (mips_function_value): Remove. |
15048 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
15049 | (mips_function_value_1): ... this. Make static. Handle receiving |
15050 | the function type in 'fn_decl_or_type' argument. | |
15051 | (mips_function_value, mips_libcall_value, | |
15052 | mips_function_value_regno_p): New function. | |
15053 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
15054 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
15055 | ||
d253656a L |
15056 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
15057 | ||
15058 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
15059 | and -mavx256-split-unaligned-store. | |
15060 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
15061 | load/store by default. | |
15062 | (ix86_avx256_split_vector_move_misalign): New. | |
15063 | (ix86_expand_vector_move_misalign): Use it. | |
15064 | ||
15065 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
15066 | -mavx256-split-unaligned-store. | |
15067 | ||
15068 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
15069 | 256bit load/store. Generate unaligned store on misaligned memory | |
15070 | operand. | |
15071 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
15072 | 256bit load/store. | |
15073 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
15074 | ||
15075 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
15076 | -mavx256-split-unaligned-store. | |
15077 | ||
1ea9206a RS |
15078 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
15079 | ||
15080 | PR target/38598 | |
15081 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
15082 | Update commentary. | |
15083 | ||
b99ce2a8 RS |
15084 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
15085 | ||
15086 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
15087 | opno arguments with an expand_operand. Use create_input_operand. | |
15088 | (mips_prepare_builtin_target): Delete. | |
15089 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
15090 | functions. | |
15091 | (mips_expand_builtin_direct): Use create_output_operand and | |
15092 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
15093 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
15094 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
15095 | ||
69d52339 IR |
15096 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
15097 | ||
15098 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
15099 | function. | |
15100 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
15101 | ||
ba5e9aca EB |
15102 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
15103 | ||
15104 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
15105 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
15106 | basic blocks and call commit_edge_insertions directly. | |
15107 | (fixup_abnormal_edges): Move from here to... | |
15108 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
15109 | on the edges and return whether some have actually been inserted. | |
15110 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
15111 | compensation code. | |
15112 | ||
5d369d58 AB |
15113 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
15114 | ||
15115 | PR rtl-optimization/48144 | |
15116 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
15117 | (merge_expr_data): ... here. | |
15118 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
15119 | Update all callers. Call merge_history_vect when an expression | |
15120 | is found in both sets. | |
15121 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
15122 | ||
f082c000 AM |
15123 | 2011-03-26 Alan Modra <amodra@gmail.com> |
15124 | ||
15125 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
15126 | cmodel medium addresses. | |
15127 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
15128 | 64-bit gpr loads and stores. | |
15129 | (rs6000_secondary_reload_ppc64): New function. | |
15130 | * config/rs6000/rs6000-protos.h: Declare it. | |
15131 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
15132 | ||
8ac5e12e AM |
15133 | 2011-03-26 Alan Modra <amodra@gmail.com> |
15134 | ||
15135 | PR target/47487 | |
15136 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
15137 | GNU Go in traceback table. | |
15138 | ||
c2654ded RH |
15139 | 2011-03-25 Richard Henderson <rth@redhat.com> |
15140 | ||
15141 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
15142 | if there are exactly 6 operands. | |
15143 | (set_storage_via_setmem): Similarly. | |
15144 | ||
ba78087b KT |
15145 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
15146 | ||
15147 | * collect2.c (write_c_file_stat): Handle backslash | |
15148 | as right-hand directory separator. | |
15149 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
15150 | checking just for slash. | |
15151 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
15152 | instead of checking for trailing slash. | |
15153 | * gcc.c (record_temp_file): Use filename_cmp instead | |
15154 | of strcmp. | |
15155 | (do_spec_1): Likewise. | |
15156 | (replace_outfile_spec_function): Likewise. | |
15157 | (is_directory): Use filename_ncmp instead of strncmp. | |
15158 | (print_multilib_info): Likewise. | |
15159 | * gcov.c (find_source): Use filename_cmp instead | |
15160 | instead of strcmp. | |
15161 | (make_gcov_file_name): Fix order of slash/backslash | |
15162 | checks. | |
15163 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
15164 | (add_standard_paths): Likewise. | |
15165 | * mips-tfile.c (saber_stop): Handle backslash. | |
15166 | * prefix.c (update_path): Use filename_ncmp instead of | |
15167 | strncmp. | |
15168 | * profile.c (output_location): Use filename_cmp instead | |
15169 | of strcmp. | |
15170 | * read-md.c (handle_toplevel_file): Handle backslash. | |
15171 | * tlink.c (frob_extension): Likewise. | |
15172 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
15173 | strcmp. | |
15174 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
15175 | * tree.c (get_file_function_name): Likewise. | |
15176 | * gengtype.c (read_input_list): Likewise. | |
15177 | (get_file_realbasename): Likewise. | |
15178 | (get_output_file_with_visibility): Use filename_cmp | |
15179 | instead of strcmp. | |
15180 | ||
75f6ec9a RS |
15181 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
15182 | ||
15183 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
15184 | case to VFPv1. | |
15185 | ||
6c4e2997 NF |
15186 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
15187 | ||
15188 | * fold-const.c (expr_location_or): New function. | |
15189 | (fold_truth_not_expr): Call it. | |
15190 | ||
0edf1bb2 JL |
15191 | 2011-03-25 Jeff Law <law@redhat.com> |
15192 | ||
15193 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
15194 | va_end. | |
15195 | * c-family/c-common.c (def_fn_type): Likewise. | |
15196 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
15197 | * emit-rtl.c (gen_rtvec): Likewise. | |
15198 | * lto/lto-lang.c (def_fn_type): Likewise. | |
15199 | ||
fdc2de95 RG |
15200 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
15201 | ||
15202 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
15203 | also generate copies. | |
15204 | (fini_copy_prop): Handle constant values properly. | |
15205 | ||
21385db0 JJ |
15206 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
15207 | ||
15208 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
15209 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
15210 | (hash_loc_operands, compare_loc_operands): Handle | |
15211 | DW_OP_GNU_entry_value. | |
15212 | ||
6510e8bb KT |
15213 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
15214 | ||
15215 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
15216 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
15217 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
15218 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
15219 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
15220 | and change default behavior for 32-bit MS_ABI. | |
15221 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
15222 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
15223 | 32-bit, too. | |
15224 | (ix86_cfun_abi): Likewise. | |
15225 | (ix86_maybe_switch_abi): Adjust comment. | |
15226 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
15227 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
15228 | instead of checking for SYSV_ABI. | |
15229 | (ix86_nsaved_sseregs): Likewise. | |
15230 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
15231 | to 16 bytes. | |
15232 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
15233 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
15234 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
15235 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
15236 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
15237 | ||
34019e28 RG |
15238 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
15239 | ||
15240 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
15241 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
15242 | (verify_gimple): Remove. | |
15243 | * tree-cfg.c (verify_gimple_call): Merge verification | |
15244 | from verify_stmts. | |
15245 | (verify_gimple_phi): Merge verification from verify_stmts. | |
15246 | (verify_gimple_label): New function. | |
15247 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
15248 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
15249 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
15250 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
15251 | (verify_gimple_in_cfg): New function. | |
15252 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
15253 | * tree-ssa.c (verify_ssa): Likewise. | |
15254 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
15255 | ||
605896f5 RG |
15256 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
15257 | ||
15258 | * passes.c (init_optimization_passes): Add FRE pass after | |
15259 | early SRA. | |
15260 | ||
7baa7c13 BS |
15261 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
15262 | Andrew Stubbs <ams@codesourcery.com> | |
15263 | ||
15264 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
15265 | for Cortex-A8. | |
15266 | (arm_movdi_vfp_cortexa8): New pattern. | |
15267 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
15268 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
15269 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
15270 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
15271 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
15272 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
15273 | ||
45dbce1b NF |
15274 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
15275 | ||
4ff08abf | 15276 | PR bootstrap/48282 |
45dbce1b NF |
15277 | Revert: |
15278 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
15279 | ||
15280 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
15281 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
15282 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
15283 | * passes.c (init_optimization_passes): Move | |
15284 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
15285 | ||
ac9a30ae KT |
15286 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
15287 | ||
15288 | * c-typeck.c (comptypes_internal): Replace target | |
15289 | hook call of comp_type_attributes by version in tree.c file. | |
15290 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
15291 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
15292 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
15293 | (attribute_value_equal): New static helper function. | |
15294 | (comp_type_attributes): New function. | |
15295 | (merge_attributes): Use attribute_value_equal for comparison. | |
15296 | (attribute_list_contained): Likewise. | |
15297 | * tree.h (comp_type_attributes): New prototype. | |
15298 | ||
afdac116 RG |
15299 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
15300 | ||
15301 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
15302 | of complex types at -O0. | |
15303 | (verify_gimple_assign_binary): Likewise. | |
15304 | (verify_gimple_assign_ternary): Likewise. | |
15305 | ||
ec6165f8 MW |
15306 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
15307 | ||
15308 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
15309 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
15310 | ||
2a5ac39a MW |
15311 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
15312 | ||
15313 | PR debug/48041 | |
15314 | * dwarf2out.c (output_abbrev_section): Only write table when | |
15315 | abbrev_die_table_in_use > 1. | |
15316 | ||
e533b2a4 RH |
15317 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15318 | ||
15319 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
15320 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
15321 | (alpha_expand_unaligned_load_words): Use extql. | |
15322 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
15323 | (emit_insxl): Handle all modes for consistency. | |
15324 | ||
0b2a7367 RH |
15325 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15326 | ||
15327 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
15328 | (alpha_expand_unaligned_load): Likewise. | |
15329 | (alpha_expand_unaligned_store): Likewise. | |
15330 | (alpha_expand_unaligned_load_words): Likewise. | |
15331 | (alpha_expand_unaligned_store_words): Likewise. | |
15332 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
15333 | (alpha_split_lock_test_and_set_12): Likewise. | |
15334 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
15335 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
15336 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
15337 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
15338 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
15339 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
15340 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
15341 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
15342 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
15343 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
15344 | (extwl, extll, extql): Similarly. | |
15345 | (inswh, inslh, insqh): Similarly. | |
15346 | (mskbl, mskwl, mskll, mskql): Similarly. | |
15347 | (mskwh, msklh, mskqh): Similarly. | |
15348 | ||
315b2bef RH |
15349 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15350 | ||
15351 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
15352 | (attribute enabled): Handle them. | |
15353 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
15354 | ||
67102517 RH |
15355 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15356 | ||
15357 | * config/alpha/alpha.md (attribute isa): Add vms. | |
15358 | (attribute enabled): Handle it. | |
15359 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
15360 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
15361 | (*movtf): Rename from *movtf_internal for consistency. | |
15362 | (*movsi): Merge with *movsi_nt_vms. | |
15363 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
15364 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
15365 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
15366 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
15367 | ||
6aba5cb4 RH |
15368 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15369 | ||
15370 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
15371 | (extendqisi2, extendhisi2): Likewise. | |
15372 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
15373 | (extendhidi2): Similarly. | |
15374 | ||
bdfb351b RH |
15375 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15376 | ||
15377 | * config/alpha/alpha.md (attribute isa): New. | |
15378 | (attribute enabled): New. | |
15379 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
15380 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
15381 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
15382 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
15383 | ||
6abe71eb RH |
15384 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15385 | ||
15386 | * config/alpha/predicates.md (input_operand): Revert last change; | |
15387 | update comment to mention 32-bit VMS rather than Windows. | |
15388 | ||
7114321e NF |
15389 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
15390 | ||
15391 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
15392 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
15393 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
15394 | * passes.c (init_optimization_passes): Move | |
15395 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
15396 | ||
c8679567 EB |
15397 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
15398 | ||
15399 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
15400 | ||
27173058 UB |
15401 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
15402 | ||
15403 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
15404 | correctly. | |
15405 | ||
6f0c9f06 JJ |
15406 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
15407 | ||
15408 | PR debug/48204 | |
15409 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
15410 | real_convert when changing mode class with FLOAT_EXTEND. | |
15411 | ||
662666e5 NC |
15412 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
15413 | ||
15414 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
15415 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
15416 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
15417 | align_loops and align_labels if not set by the user. | |
15418 | (rx_align_for_label): New function. | |
15419 | (rx_max_skip_for_label): New function. | |
15420 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
15421 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
15422 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
15423 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
15424 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
15425 | ||
2b99b2b8 RS |
15426 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
15427 | ||
15428 | PR rtl-optimization/48263 | |
15429 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
15430 | and original commutative_p handling. Use maybe_gen_insn. | |
15431 | ||
ccecd6ea AK |
15432 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15433 | ||
15434 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
15435 | parameter and return true there if the full address has been | |
15436 | reloaded. | |
15437 | (find_reloads_toplev): Pass address_reloaded flag. | |
15438 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
15439 | ||
67295642 JL |
15440 | 2011-03-24 Jeff Law <law@redhat.com> |
15441 | ||
15442 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
15443 | unused variable "ann". | |
15444 | (remove_unused_locals): Likewise. | |
15445 | ||
15446 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
15447 | statement. | |
15448 | ||
15449 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
15450 | after it is freed. | |
15451 | ||
212aa74f AK |
15452 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15453 | ||
15454 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
15455 | for invalid symbolic addresses. | |
15456 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
15457 | larl operands. | |
15458 | ||
fe784e0d EB |
15459 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
15460 | ||
15461 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
15462 | the argument in calls to fold_truth_not_expr. | |
15463 | ||
63ee8641 NF |
15464 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
15465 | ||
15466 | * tree.c (record_node_allocation_statistics): New function. | |
15467 | (make_node_stat, copy_node_stat, build_string): Call it. | |
15468 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
15469 | (build1_stat, build_omp_clause): Likewise. | |
15470 | ||
61be2a1c RS |
15471 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
15472 | ||
15473 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
15474 | last commit. | |
15475 | ||
a881aaa7 RG |
15476 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15477 | ||
15478 | PR tree-optimization/48271 | |
15479 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
15480 | blocks that still exist. | |
15481 | ||
dbaa912c RG |
15482 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15483 | ||
15484 | PR tree-optimization/48270 | |
15485 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
15486 | not free datarefs before ddrs. | |
15487 | ||
1d60cc55 EB |
15488 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
15489 | ||
15490 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
15491 | from the address built for a reference with variable offset. | |
15492 | ||
c78dd519 UB |
15493 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
15494 | ||
15495 | PR target/48237 | |
15496 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
15497 | alternatives that can be handled with movq or movabsq insn. | |
15498 | (*movdf_internal): Disable for !TARGET_64BIT. | |
15499 | (*movdf_internal_nointeger): Ditto. | |
15500 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
15501 | ||
b25b9e8f NF |
15502 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
15503 | ||
15504 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
15505 | (FUNCTION_ARG_ADVANCE): Likewise. | |
15506 | * tm.texi.in: Change references to them to hook references. | |
15507 | * tm.texi: Regenerate. | |
c78dd519 | 15508 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
15509 | (default_function_incoming_arg): Likewise. |
15510 | (default_function_arg_advance): Likewise. | |
c78dd519 | 15511 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
15512 | (function_arg_advance): Likewise. |
15513 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
15514 | ||
190b2187 RG |
15515 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15516 | ||
15517 | PR middle-end/48269 | |
15518 | * tree-object-size.c (addr_object_size): Do not double-account | |
15519 | for MEM_REF offsets. | |
15520 | ||
a183b5c7 DN |
15521 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
15522 | ||
15523 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 15524 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
15525 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
15526 | Update all users. | |
15527 | (lto_input_string): Rename from input_string. Make extern. | |
15528 | Update all users. | |
15529 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
15530 | output_string_with_length. | |
15531 | Output 0 to indicate a non-NULL string. Update all callers to | |
15532 | not emit 0. | |
15533 | (lto_output_string): Rename from output_string. Make extern. | |
15534 | Update all users. | |
15535 | (lto_output_decl_state_streams): Make extern. | |
15536 | (lto_output_decl_state_refs): Make extern. | |
15537 | * lto-streamer.h (lto_input_string): Declare. | |
15538 | (lto_input_data_block): Declare. | |
15539 | (lto_output_string): Declare. | |
15540 | (lto_output_string_with_length): Declare. | |
15541 | (lto_output_decl_state_streams): Declare. | |
15542 | (lto_output_decl_state_refs): Declare. | |
15543 | ||
cfef45c8 RG |
15544 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15545 | ||
15546 | PR tree-optimization/46562 | |
15547 | * tree.c (build_invariant_address): New function. | |
15548 | * tree.h (build_invariant_address): Declare. | |
15549 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
15550 | a renamed function moved ... | |
15551 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
15552 | Take valueization callback parameter. | |
15553 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
15554 | * gimple-fold.h: New file. | |
15555 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
15556 | (ccp_fold, fold_const_aggregate_ref, | |
15557 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
15558 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
15559 | get_base_constructor): Move ... | |
15560 | * gimple-fold.c: ... here. | |
15561 | (gimple_fold_stmt_to_constant_1): New function | |
15562 | split out from ccp_fold. Take a valueization callback parameter. | |
15563 | Valueize all operands. | |
15564 | (gimple_fold_stmt_to_constant): New wrapper function. | |
15565 | (fold_const_aggregate_ref_1): New function split out from | |
15566 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
15567 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
15568 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
15569 | invariant POINTER_PLUS_EXPRs to invariant form. | |
15570 | (vn_valueize): New function. | |
15571 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
15572 | * tree-vrp.c (vrp_valueize): New function. | |
15573 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
15574 | to fold statements to constants. | |
15575 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
15576 | function declarations. | |
15577 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
15578 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
15579 | ||
5e0a7e40 RS |
15580 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
15581 | ||
15582 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
15583 | mode check. | |
15584 | ||
bfe068c3 IR |
15585 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
15586 | ||
15587 | * doc/invoke.texi (max-stores-to-sink): Document. | |
15588 | * params.h (MAX_STORES_TO_SINK): Define. | |
15589 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
15590 | if either vectorization or if-conversion is disabled. | |
15591 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
15592 | tree-vect-data-refs.c vect_equal_offsets. | |
15593 | (dr_equal_offsets_p): New function. | |
15594 | (find_data_references_in_bb): Remove static. | |
15595 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
15596 | (dr_equal_offsets_p): Likewise. | |
15597 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
15598 | (vect_drs_dependent_in_basic_block): Update calls to | |
15599 | vect_equal_offsets. | |
15600 | (vect_check_interleaving): Likewise. | |
15601 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
15602 | (cond_if_else_store_replacement): Rename to... | |
15603 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
15604 | documentation. | |
15605 | (cond_if_else_store_replacement): New function. | |
15606 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
15607 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
15608 | ||
4908b0bf CLT |
15609 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
15610 | ||
15611 | PR target/46934 | |
15612 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
15613 | to subtract lower bound instead of GEN_INT(). | |
15614 | ||
2be478a2 JW |
15615 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
15616 | ||
15617 | PR other/48179 | |
15618 | PR other/48221 | |
15619 | PR other/48234 | |
15620 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
15621 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
15622 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
15623 | ||
0c617be4 JL |
15624 | 2011-03-23 Jeff Law <law@redhat.com> |
15625 | ||
15626 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
15627 | before removing the edge. | |
15628 | ||
15629 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
15630 | it may have been freed by redirect_branch_edge or | |
15631 | redirect_edge_succ_nodup. | |
15632 | ||
58da96fe RG |
15633 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
15634 | ||
c78dd519 | 15635 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
15636 | (check_va_list_escapes): Likewise. |
15637 | (check_all_va_list_escapes): Likewise. | |
15638 | ||
b8beb4d1 RG |
15639 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
15640 | ||
15641 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
15642 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
15643 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
15644 | (alias.o): Likewise. | |
15645 | (ipa-type-escape.o): Remove. | |
15646 | (ipa-struct-reorg.o): Likewise. | |
15647 | (GTFILES): Remove ipa-struct-reorg.c. | |
15648 | * alias.c: Do not include ipa-type-escape.h. | |
15649 | * tree-ssa-alias.c: Likewise. | |
15650 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
15651 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
15652 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
15653 | and ipa-type-escape passes. | |
15654 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
15655 | (pass_ipa_struct_reorg): Likewise. | |
15656 | * ipa-struct-reorg.h: Remove. | |
15657 | * ipa-struct-reorg.c: Likewise. | |
15658 | * ipa-type-escape.h: Likewise. | |
15659 | * ipa-type-escape.c: Likewise. | |
15660 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
15661 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
15662 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
15663 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
15664 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
15665 | ||
f137aa63 AK |
15666 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15667 | ||
15668 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
15669 | cpu attribute value. | |
15670 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
15671 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
15672 | * config/s390/s390.c (processor_flags_table): New constant array. | |
15673 | (s390_handle_arch_option): Remove. | |
15674 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
15675 | and OPT_mwarn_framesize_ handling. | |
15676 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
15677 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
15678 | warnings. | |
15679 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
15680 | * config/s390/s390.opt (s390_tune, s390_arch) | |
15681 | (march=): Replace s390_arch_option enum and values with | |
15682 | processor_type. Set variable name to s390_arch. Set | |
15683 | initialization value. | |
15684 | (mtune=): Replace s390_arch_option with processor_type. Set | |
15685 | variable name to s390_tune. Set initialization value. | |
15686 | ||
bf90208f JB |
15687 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
15688 | ||
15689 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
15690 | accesses which are not naturally aligned. | |
15691 | ||
3460fdf3 RS |
15692 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
15693 | ||
15694 | PR target/47553 | |
15695 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
15696 | ||
a5c7d693 RS |
15697 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
15698 | ||
15699 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
15700 | parameter from "int" to "enum insn_code". | |
15701 | (expand_operand_type): New enum. | |
15702 | (expand_operand): New structure. | |
15703 | (create_expand_operand): New function. | |
15704 | (create_fixed_operand, create_output_operand): Likewise | |
15705 | (create_input_operand, create_convert_operand_to): Likewise. | |
15706 | (create_convert_operand_from, create_address_operand): Likewise. | |
15707 | (create_integer_operand): Likewise. | |
15708 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
15709 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
15710 | (expand_insn, expand_jump_insn): Likewise. | |
15711 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
15712 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
15713 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
15714 | (expand_builtin_lock_release): Likewise. | |
15715 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
15716 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
15717 | and use the default handling in that case. | |
15718 | * expmed.c (check_predicate_volatile_ok): Delete. | |
15719 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
15720 | (emit_cstore): Likewise. | |
15721 | * expr.c (emit_block_move_via_movmem): Likewise. | |
15722 | (set_storage_via_setmem, expand_assignment): Likewise. | |
15723 | (emit_storent_insn, try_casesi): Likewise. | |
15724 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
15725 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
15726 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
15727 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
15728 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
15729 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
15730 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
15731 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
15732 | (expand_sync_lock_test_and_set): Likewise. | |
15733 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
15734 | (emit_unop_insn): Likewise. | |
15735 | (expand_copysign_absneg): Change icode to an insn_code. | |
15736 | (create_convert_operand_from_type): New function. | |
15737 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
15738 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
15739 | (expand_insn, expand_jump_insn): Likewise. | |
15740 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
15741 | than const_int_operand for operand 2. | |
15742 | ||
78fadbab AK |
15743 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15744 | ||
15745 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
15746 | if possible. | |
15747 | ||
5f02387d NF |
15748 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
15749 | ||
15750 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
15751 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
15752 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
15753 | (emit_pattern_after_noloc): New function. | |
15754 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
15755 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
15756 | ||
fdf3e18a NF |
15757 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
15758 | ||
15759 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
15760 | (__ffsDI2): Likewise. | |
15761 | ||
42d085c1 RH |
15762 | 2011-03-22 Richard Henderson <rth@redhat.com> |
15763 | ||
15764 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
15765 | of !TARGET_ABI_OPEN_VMS. | |
15766 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
15767 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
15768 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
15769 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
15770 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
15771 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
15772 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
15773 | ||
cabbe12a JM |
15774 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15775 | ||
15776 | * config/s390/s390-opts.h: New. | |
15777 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
15778 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
15779 | s390_stack_guard): Remove. | |
15780 | (s390_handle_arch_option): Return void. Take enum | |
15781 | s390_arch_option value instead of string and searching array. | |
15782 | (s390_handle_option): Don't assert that global structures are in | |
15783 | use. Access variables via opts pointer. Use error_at. Don't use | |
15784 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
15785 | s390_handle_arch_option. | |
15786 | (s390_option_override): Update call to s390_handle_arch_option. | |
15787 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
15788 | diagnostic. Use %wd for HOST_WIDE_INT. | |
15789 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
15790 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
15791 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
15792 | HeaderInclude entry. | |
15793 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
15794 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
15795 | (s390_arch_option): New Enum and EnumValue entries. | |
15796 | (march=): Use Enum instead of Var. | |
15797 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
15798 | (mtune=): Use Enum. | |
15799 | ||
05b12036 JM |
15800 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15801 | ||
15802 | * config/score/score.c (score_handle_option): Don't assert that | |
15803 | global structures are in use. Access target_flags via opts | |
15804 | pointer. Use value of -march= option to determine target_flags | |
15805 | settings. | |
15806 | * config/score/score.opt (march=): Use Enum. | |
15807 | (score_arch): New Enum and EnumValue entries. | |
15808 | ||
dd51e35a JM |
15809 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15810 | ||
15811 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
15812 | (mep_option_override): Move register handling for -mivc2 from | |
15813 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
15814 | instead of option_mtiny_specified. | |
15815 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
15816 | assert that global structures are in use. Defer part of -mivc2 | |
15817 | handling and move it to mep_option_override. | |
15818 | * config/mep/mep.opt (IVC2): New Mask entry. | |
15819 | (mivc2): Use Var and Defer instead of Mask. | |
15820 | ||
4a8d3d91 JM |
15821 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15822 | ||
15823 | * config/v850/v850-opts.h: New. | |
15824 | * config/v850/v850.c (small_memory): Replace with | |
15825 | small_memory_physical_max array. Make that array static const. | |
15826 | (v850_handle_memory_option): Take integer value of argument. Take | |
15827 | gcc_options pointer, option text and location. Return void. | |
15828 | Update for changes to small memory structures. | |
15829 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
15830 | assert that global structures are in use. Update calls to | |
15831 | v850_handle_memory_option. | |
c78dd519 UB |
15832 | (v850_encode_data_area): Update references to small memory settings. |
15833 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
15834 | (enum small_memory_type): Move to v850-opts.h. |
15835 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
15836 | HeaderInclude entry. | |
15837 | (small_memory_max): New Variable entry. | |
15838 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
15839 | (mtda, mzda): Likewise. | |
15840 | ||
117fdbfa JM |
15841 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15842 | ||
15843 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
15844 | pointer. Don't assert that global structures are in use. | |
15845 | ||
d715091c JM |
15846 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15847 | ||
15848 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
15849 | via opts pointer. Don't assert that global structures are in use. | |
15850 | ||
1bb721dc JM |
15851 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15852 | ||
15853 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
15854 | (munix=93): Use Var. | |
15855 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
15856 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
15857 | * config/pa/pa-opts.h: New. | |
15858 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
15859 | (pa_handle_option): Don't assert that global structures are in | |
15860 | use. Access target_flags via opts pointer. Don't handle | |
15861 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
15862 | OPT_munix_98 here. | |
15863 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
15864 | ||
cd8d8754 JM |
15865 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15866 | ||
15867 | * config/mn10300/mn10300-opts.h: New. | |
15868 | * config/mn10300/mn10300.c (mn10300_processor, | |
15869 | mn10300_tune_string): Remove. | |
15870 | (mn10300_handle_option): Don't assert that global structures are | |
15871 | in use. Access mn10300_processor via opts pointer. Don't handle | |
15872 | OPT_mtune_ here. | |
15873 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
15874 | mn10300-opts.h. | |
15875 | (mn10300_processor): Remove. | |
15876 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
15877 | HeaderInclude entry. | |
15878 | (mn10300_processor): New Variable entry. | |
15879 | (mtune=): Use Var. | |
15880 | ||
24e6e6b1 JM |
15881 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15882 | ||
15883 | * config/microblaze/microblaze.c: Don't include opts.h. | |
15884 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
15885 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
15886 | (mno-clearbss): Use Var and Warn. | |
15887 | ||
8a784afb JM |
15888 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15889 | ||
15890 | * config/m32r/m32r-opts.h: New. | |
15891 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
15892 | (m32r_handle_option): Don't assert that global structures are in | |
15893 | use. Access target_flags and m32r_cache_flush_func via opts | |
15894 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
15895 | OPT_mno_flush_trap here. | |
15896 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
15897 | include of m32r-opts.h. | |
15898 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
15899 | HeaderInclude entry. | |
15900 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
15901 | (mmodel=): Use Enum and Var. | |
15902 | (m32r_model): New Enum and EnumValue entries. | |
15903 | (mno-flush-trap): Use Var. | |
15904 | (msdata=): Use Enum and Var. | |
15905 | (m32r_sdata): New Enum and EnumValue entries. | |
15906 | ||
bbfc9a8c JM |
15907 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15908 | ||
15909 | * config/m32c/m32c.c: Don't include opts.h. | |
15910 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
15911 | m32c_handle_option): Remove. | |
15912 | (m32c_option_override): Check global_options_set.x_target_memregs | |
15913 | instead of target_memregs_set. | |
15914 | * config/m32c/m32c.h (target_memregs): Remove. | |
15915 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
15916 | variable. | |
15917 | ||
e24b8335 JM |
15918 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15919 | ||
15920 | * config/iq2000/iq2000-opts.h: New. | |
15921 | * config/iq2000/iq2000.c: Don't include opts.h. | |
15922 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 15923 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
15924 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
15925 | HeaderInclude entry. | |
15926 | (iq2000_tune): New Variable entry. | |
15927 | (march=): Add comment. Use Enum. | |
15928 | (iq2000_arch): New Enum and EnumValue entries. | |
15929 | (mcpu=): Use Enum and Var. | |
15930 | (iq2000_tune): New Enum and EnumValue entries. | |
15931 | ||
e6cc0c98 JM |
15932 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15933 | ||
15934 | * config/ia64/ia64-opts.h: New. | |
15935 | * config/ia64/ia64.c (ia64_tune): Remove. | |
15936 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
15937 | here. Use error_at. | |
15938 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
15939 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
15940 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
15941 | HeaderInclude entry. | |
15942 | (ia64_tune): New Variable entry. | |
15943 | (mfixed-range=): Use Defer and Var. | |
15944 | (mtune=): Use Enum and Var. | |
15945 | (ia64_tune): New Enum and EnumValue entries. | |
15946 | ||
db25893c JM |
15947 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15948 | ||
15949 | * config/frv/frv-opts.h: New. | |
15950 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
15951 | frv-opts.h. | |
15952 | (frv_cpu_type): Remove. | |
15953 | * config/frv/frv.c: Don't include opts.h. | |
15954 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 15955 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
15956 | (frv_cpu_type): New Variable entry. |
15957 | (frv_cpu): New Enum and EnumValue entries. | |
15958 | ||
6c223f5d JM |
15959 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15960 | ||
15961 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
15962 | opts pointer. Don't assert that global structures are in use. | |
15963 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
15964 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
15965 | ||
bbd399cf JM |
15966 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15967 | ||
15968 | * config/bfin/bfin-opts.h: New. | |
15969 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
15970 | bfin_si_revision, bfin_workarounds): Remove. | |
15971 | (bfin_cpus): Make static const. | |
15972 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
15973 | not bfin_lib_id_given. | |
15974 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
15975 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 15976 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
15977 | * config/bfin/bfin.h: Include bfin-opts.h. |
15978 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
15979 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
15980 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
15981 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
15982 | entries. | |
15983 | ||
5e1b4d5a JM |
15984 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15985 | ||
15986 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
15987 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
15988 | or -msoft-float here. | |
15989 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
15990 | -msoft-float and -mhard-float. | |
c78dd519 | 15991 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
15992 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
15993 | msoft-float. | |
15994 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
15995 | -msoft-float. | |
15996 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
15997 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
15998 | not mhard-float. | |
15999 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
16000 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
16001 | -mhard-float. | |
16002 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
16003 | msoft-float. | |
16004 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
16005 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
16006 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
16007 | -msoft-float. | |
16008 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
16009 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
16010 | mhard-float and msoft-float. | |
16011 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
16012 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
16013 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
16014 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
16015 | mhard-float. | |
16016 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
16017 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
16018 | msoft-float. | |
16019 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
16020 | not mhard-float. | |
16021 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
16022 | not msoft-float. | |
16023 | ||
800d1de1 RH |
16024 | 2011-03-22 Richard Henderson <rth@redhat.com> |
16025 | ||
16026 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
16027 | TARGET_ABI_WINDOWS_NT. | |
16028 | (alpha_output_function_end_prologue): Likewise. | |
16029 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
16030 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
16031 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
16032 | (trap, *movsi_nt_vms): Likewise. | |
16033 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
16034 | (*tablejump_osf_nt_internal): Remove. | |
16035 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
16036 | ||
c59ddd2b JM |
16037 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
16038 | ||
16039 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
16040 | via opts pointer. Use error_at. Don't assert that global | |
16041 | structures are in use. | |
16042 | ||
1333f97f JM |
16043 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
16044 | ||
16045 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
16046 | (ix86_handle_option): Access ix86_isa_flags and | |
16047 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
16048 | global structures are in use. | |
16049 | (ix86_function_specific_save, ix86_function_specific_restore): | |
16050 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 16051 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
16052 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
16053 | x_ix86_isa_flags_explicit. | |
16054 | ||
75db85d8 RH |
16055 | 2011-03-22 Richard Henderson <rth@redhat.com> |
16056 | ||
16057 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
16058 | (alpha_option_override, direct_return): Likewise. | |
16059 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
16060 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
16061 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
16062 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
16063 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
16064 | (alpha_init_libfuncs): Likewise. | |
16065 | (struct machine_function): Remove unicosmk members. | |
16066 | (print_operand) ['t']: Remove. | |
16067 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
16068 | unicosmk_output_module_name, unicosmk_output_common, | |
16069 | current_section_align, unicosmk_output_text_section_asm_op, | |
16070 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
16071 | unicosmk_section_type_flags, unicosmk_unique_section, | |
16072 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
16073 | unicosmk_output_align, unicosmk_defer_case_vector, | |
16074 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
16075 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
16076 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
16077 | unicosmk_extern_head, unicosmk_output_default_externs, | |
16078 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
16079 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
16080 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
16081 | * config/alpha/alpha-protos.h: Update. | |
16082 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
16083 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
16084 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
16085 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
16086 | (*mulsi_se, mulvsi3): Likewise. | |
16087 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
16088 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
16089 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
16090 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
16091 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
16092 | (*movdi_nofix): Remove r/U alternative. | |
16093 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
16094 | * config/alpha/constraints.md ("U"): Remove. | |
16095 | * config/alpha/predicates.md (call_operand"): Don't test | |
16096 | TARGET_ABI_UNICOSMK. | |
16097 | ||
96e45421 JM |
16098 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
16099 | ||
16100 | * target.def (handle_option): Take gcc_options and | |
16101 | cl_decoded_option pointers and location_t. | |
16102 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
16103 | * doc/tm.texi: Regenerate. | |
16104 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
16105 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
16106 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
16107 | targetm.handle_option call. | |
16108 | * opts.c (target_handle_option): Update call to | |
16109 | targetm.handle_option. Remove assertions about values now passed | |
16110 | down to hook. | |
16111 | * targhooks.c (default_target_handle_option): New. | |
16112 | * targhooks.h (default_target_handle_option): Declare. | |
16113 | * config/alpha/alpha.c: Include opts.h. | |
16114 | (alpha_handle_option): Update to new hook interface. | |
16115 | * config/arm/arm.c: Include opts.h. | |
16116 | (arm_handle_option): Update to new hook interface. | |
16117 | * config/arm/t-arm (arm.o): Update dependencies. | |
16118 | * config/bfin/bfin.c: Include opts.h. | |
16119 | (bfin_handle_option): Update to new hook interface. | |
16120 | * config/cris/cris.c: Include opts.h. | |
16121 | (cris_handle_option): Update to new hook interface. | |
16122 | * config/frv/frv.c: Include opts.h. | |
16123 | (frv_handle_option): Update to new hook interface. | |
16124 | * config/i386/i386.c: Include opts.h. | |
16125 | (ix86_handle_option): Update to new hook interface. | |
16126 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
16127 | for call to ix86_handle_option. | |
16128 | * config/i386/t-i386 (i386.o): Update dependencies. | |
16129 | * config/ia64/ia64.c: Include opts.h. | |
16130 | (ia64_handle_option): Update to new hook interface. | |
16131 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
16132 | * config/iq2000/iq2000.c: Include opts.h. | |
16133 | (iq2000_handle_option): Update to new hook interface. | |
16134 | * config/m32c/m32c.c: Include opts.h. | |
16135 | (m32c_handle_option): Update to new hook interface. | |
16136 | * config/m32r/m32r.c: Include opts.h. | |
16137 | (m32r_handle_option): Update to new hook interface. | |
16138 | * config/m68k/m68k.c: Include opts.h. | |
16139 | (m68k_handle_option): Update to new hook interface. | |
16140 | * config/mep/mep.c: Include opts.h. | |
16141 | (mep_handle_option): Update to new hook interface. | |
16142 | * config/microblaze/microblaze.c: Include opts.h. | |
16143 | (microblaze_handle_option): Update to new hook interface. | |
16144 | * config/mips/mips.c: Include opts.h. | |
16145 | (mips_handle_option): Update to new hook interface. | |
16146 | * config/mn10300/mn10300.c: Include opts.h. | |
16147 | (mn10300_handle_option): Update to new hook interface. | |
16148 | * config/pa/pa.c: Include opts.h. | |
16149 | (pa_handle_option): Update to new hook interface. | |
16150 | * config/pdp11/pdp11.c: Include opts.h. | |
16151 | (pdp11_handle_option): Update to new hook interface. | |
16152 | * config/rs6000/rs6000.c: Include opts.h. | |
16153 | (rs6000_handle_option): Update to new hook interface. | |
16154 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
16155 | * config/rx/rx.c: Include opts.h. | |
16156 | (rx_handle_option): Update to new hook interface. | |
16157 | * config/s390/s390.c: Include opts.h. | |
16158 | (s390_handle_option): Update to new hook interface. | |
16159 | * config/score/score.c: Include opts.h. | |
16160 | (score_handle_option): Update to new hook interface. | |
16161 | * config/sh/sh.c: Include opts.h. | |
16162 | (sh_handle_option): Update to new hook interface. | |
16163 | * config/sparc/sparc.c: Include opts.h. | |
16164 | (sparc_handle_option): Update to new hook interface. | |
16165 | * config/v850/v850.c: Include opts.h. | |
16166 | (v850_handle_option): Update to new hook interface. | |
16167 | ||
66017846 JM |
16168 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
16169 | ||
16170 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
16171 | unknown -Wno- options. | |
16172 | (driver_wrong_lang_callback): Save options directly instead of via | |
16173 | driver_unknown_option_callback. | |
16174 | ||
e8b97ccd EB |
16175 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
16176 | ||
16177 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
16178 | simplifying a nested COMPARE on the RHS. | |
16179 | ||
ebb9f8b0 JM |
16180 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
16181 | ||
16182 | * config/alpha/gnu.h: Remove. | |
16183 | * config/arc: Remove directory. | |
16184 | * config/arm/netbsd.h: Remove. | |
16185 | * config/arm/t-pe: Remove. | |
16186 | * config/crx: Remove directory. | |
16187 | * config/i386/netbsd.h: Remove. | |
16188 | * config/m68hc11: Remove directory. | |
16189 | * config/m68k/uclinux-oldabi.h: Remove. | |
16190 | * config/mcore/mcore-pe.h: Remove. | |
16191 | * config/mcore/t-mcore-pe: Remove. | |
16192 | * config/netbsd-aout.h: Remove. | |
16193 | * config/rs6000/gnu.h: Remove. | |
16194 | * config/sh/sh-symbian.h: Remove. | |
16195 | * config/sh/symbian-base.c: Remove. | |
16196 | * config/sh/symbian-c.c: Remove. | |
16197 | * config/sh/symbian-cxx.c: Remove. | |
16198 | * config/sh/symbian-post.h: Remove. | |
16199 | * config/sh/symbian-pre.h: Remove. | |
16200 | * config/sh/t-symbian: Remove. | |
16201 | * config/svr3.h: Remove. | |
16202 | * config/vax/netbsd.h: Remove. | |
16203 | * config.build: Don't handle i[34567]86-*-pe. | |
16204 | * config.gcc: Remove handling of deprecations for most deprecated | |
16205 | targets. | |
16206 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
16207 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
16208 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
16209 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
16210 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
16211 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
16212 | Remove cases. | |
16213 | * config.host: Don't handle i[34567]86-*-pe. | |
16214 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
16215 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
16216 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
16217 | -mcall-gnu. | |
16218 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
16219 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
16220 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
16221 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
16222 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
16223 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
16224 | conditional on SYMBIAN. | |
16225 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
16226 | * configure: Regenerate. | |
16227 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
16228 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
16229 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
16230 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
16231 | (m68k-uclinuxoldabi): Don't mention. | |
16232 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
16233 | Remove. | |
16234 | (-mcall-gnu): Remove. | |
16235 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
16236 | families): Remove constraint documentation. | |
16237 | ||
999a7d80 MS |
16238 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
16239 | ||
16240 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
16241 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
16242 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
16243 | ||
45540bcf MM |
16244 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
16245 | ||
16246 | PR target/48226 | |
16247 | * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If we see a | |
16248 | vector when peeking at the next token for vector, don't expand the | |
16249 | keywords. | |
16250 | ||
980a0ff4 GJL |
16251 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
16252 | ||
16253 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
16254 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
16255 | * config/avr/avr.c (init_cumulative_args) | |
16256 | (avr_function_arg_advance): Use it. | |
16257 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
16258 | sibcall epilogues. | |
16259 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
16260 | (avr_function_ok_for_sibcall): ...this new function. | |
16261 | (avr_lookup_function_attribute1): New static Function. | |
16262 | (avr_naked_function_p, interrupt_function_p) | |
16263 | (signal_function_p, avr_OS_task_function_p) | |
16264 | (avr_OS_main_function_p): Use it. | |
16265 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
16266 | ("sibcall_epilogue"): New expander. | |
16267 | ("*call_insn", "*call_value_insn"): New insn. | |
16268 | ("call_insn", "call_value_insn"): Remove | |
16269 | ("call", "call_value", "epilogue"): Change expander to handle | |
16270 | sibling calls. | |
16271 | ||
49168734 NC |
16272 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
16273 | ||
16274 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
16275 | options list. | |
16276 | (Optimization Options): Add missing @gol. | |
16277 | (Directory Options): Likewise. | |
16278 | (i386 and x86-64 Options): Likewise. | |
16279 | (RS6000 and PowerPC Options): Likewise. | |
16280 | (i386 and x86-64 Windows Options): Likewise. | |
16281 | (V850 Options): Add text missing from descriptions. | |
16282 | ||
bdfe906f RH |
16283 | 2011-03-22 Richard Henderson <rth@redhat.com> |
16284 | ||
16285 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
16286 | (avr_incoming_return_addr_rtx): New. | |
16287 | (emit_push_byte): New. | |
16288 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
16289 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
16290 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
16291 | (emit_pop_byte): New. | |
16292 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
16293 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
16294 | (INCOMING_RETURN_ADDR_RTX): New. | |
16295 | (INCOMING_FRAME_SP_OFFSET): New. | |
16296 | (ARG_POINTER_CFA_OFFSET): New. | |
16297 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
16298 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
16299 | (pophi): Remove. | |
16300 | ||
d090a5aa RH |
16301 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
16302 | ||
fdf3e18a NF |
16303 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
16304 | ||
16305 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
16306 | (FUNCTION_ARG_ADVANCE): Likewise. | |
16307 | * tm.texi.in: Change references to them to hook references. | |
16308 | * tm.texi: Regenerate. | |
16309 | * targhooks.c (default_function_arg): Eliminate check for target | |
16310 | macro. | |
16311 | (default_function_incoming_arg): Likewise. | |
16312 | (default_function_arg_advance): Likewise. | |
c78dd519 | 16313 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
16314 | (function_arg_advance): Likewise. |
16315 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
16316 | ||
009d3fcf NF |
16317 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
16318 | ||
16319 | * tree.c (build_call_1): New function. | |
16320 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
16321 | ||
7bec30e1 RG |
16322 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
16323 | ||
16324 | PR tree-optimization/48228 | |
16325 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
16326 | for single-arg PHIs. | |
16327 | ||
0b7e851b AB |
16328 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
16329 | ||
16330 | PR rtl-optimization/48143 | |
16331 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
16332 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
16333 | sse2_cvtps2pd): Likewise. | |
16334 | ||
d89afca5 AK |
16335 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16336 | ||
16337 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
16338 | ||
f471fe72 RG |
16339 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
16340 | ||
16341 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
16342 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
16343 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
16344 | and REALIGN_LOAD_EXPR. | |
16345 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
16346 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
16347 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
16348 | DOT_PROD_EXPR case ... | |
16349 | (expand_expr_real_2): ... here. | |
16350 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
16351 | and REALIGN_LOAD_EXPR. | |
16352 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
16353 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
16354 | (vect_create_epilog_for_reduction): Likewise. | |
16355 | (vectorizable_reduction): Likewise. | |
16356 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
16357 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
16358 | ||
f2f81d57 EB |
16359 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
16360 | ||
16361 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
16362 | ||
ab081dd6 AK |
16363 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16364 | ||
16365 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
16366 | handling for PLTOFF/GOTOFF. | |
16367 | ||
6fd5332b NC |
16368 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
16369 | ||
16370 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
16371 | trailing backslash from the end of the macro definition. | |
16372 | ||
01841ac0 AK |
16373 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16374 | ||
16375 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
16376 | and PLT unspecs. | |
16377 | ||
2ef6ce06 RS |
16378 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
16379 | ||
16380 | * expr.h (prepare_operand): Move to... | |
16381 | * optabs.h (prepare_operand): ...here and change the insn code | |
16382 | parameter from "int" to "enum insn_code". | |
16383 | (insn_operand_matches): Declare. | |
16384 | * expr.c (init_expr_target): Use insn_operand_matches. | |
16385 | (compress_float_constant): Likewise. | |
16386 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
16387 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
16388 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
16389 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
16390 | Likewise. | |
2ef6ce06 RS |
16391 | (gen_cond_trap): Likewise. |
16392 | (prepare_operand): Likewise. Change icode to an insn_code. | |
16393 | (insn_operand_matches): New function. | |
16394 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
16395 | * reload1.c (gen_reload): Likewise. | |
16396 | * targhooks.c (default_secondary_reload): Likewise. | |
16397 | ||
9e43ad68 UB |
16398 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
16399 | ||
9a96da32 UB |
16400 | * config/alpha/alpha.md (unspec): New define_c_enum. |
16401 | (unspecv): Ditto. | |
16402 | ||
16403 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
16404 | ||
16405 | PR debug/48214 | |
9e43ad68 UB |
16406 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
16407 | between a call and its CALL_ARG_LOCATION note. | |
16408 | ||
31408f60 EB |
16409 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
16410 | ||
16411 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
16412 | ||
16413 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
16414 | |
16415 | PR c/42544 | |
16416 | PR c/48197 | |
16417 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
16418 | to opN and then zero-extended to result type, set primopN to opN. | |
16419 | ||
9dfd55f5 DJ |
16420 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
16421 | ||
16422 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
16423 | for barrier handlers. | |
16424 | ||
f3c33d9d MM |
16425 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
16426 | ||
16427 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
16428 | UNSPEC constants to be in the unspec enumeration, and redefine | |
16429 | all UNSPECV constants to be in the unspecv enumeration, so that | |
16430 | dumps print which unspec/unspec_volatile this is. | |
16431 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
16432 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
16433 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
16434 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
16435 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
16436 | ||
16437 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
16438 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
16439 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
16440 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
16441 | ||
ac43f774 RG |
16442 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16443 | ||
16444 | * params.def (lto-min-partition): Fix typo. | |
16445 | ||
411cdbd8 RG |
16446 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16447 | ||
16448 | PR c/47939 | |
16449 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
16450 | for array types. Drop flag_gen_aux_info check. | |
16451 | ||
1cd9e416 RG |
16452 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16453 | ||
16454 | PR translation/47911 | |
16455 | * params.def (lto-partitions): Fix typo. | |
16456 | (lto-min-partition): Fix wording. | |
16457 | ||
ada5ad67 AT |
16458 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
16459 | ||
16460 | * config/rs6000/t-freebsd: Remove duplication from file. | |
16461 | ||
f9613c9a RG |
16462 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16463 | ||
16464 | PR middle-end/47661 | |
16465 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
16466 | ||
9bfbc1eb RG |
16467 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16468 | ||
16469 | PR lto/48210 | |
16470 | * params.def (lto-partitions): Require at least 1 partition. | |
16471 | ||
a2268084 RO |
16472 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16473 | ||
16474 | * gthr-solaris.h: Remove. | |
16475 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
16476 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
16477 | (LIB_SPEC): Likewise. | |
16478 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 16479 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
16480 | (sparc*-*-solaris2*): Likewise. |
16481 | * configure.ac (enable_threads): Enable solaris support. | |
16482 | * configure: Regenerate. | |
9e43ad68 | 16483 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
16484 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
16485 | solaris. | |
16486 | ||
c43d9a1b RO |
16487 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16488 | ||
16489 | * config.gcc: Obsolete *-*-solaris2.8*. | |
16490 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
16491 | ||
084239f4 RO |
16492 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16493 | ||
16494 | PR bootstrap/48135 | |
16495 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
16496 | reference. Solaris 8 perl works. | |
16497 | ||
64cadbe7 RO |
16498 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16499 | ||
16500 | PR bootstrap/48135 | |
16501 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
16502 | Explain support library version requirements. | |
16503 | ||
eb975109 RO |
16504 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16505 | ||
16506 | PR bootstrap/48135 | |
16507 | * doc/install.texi (Prerequisites): Move Perl to build | |
16508 | requirements. Always necessary on Solaris 2 with Sun ld. | |
16509 | ||
8a509ffd RO |
16510 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16511 | ||
16512 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
16513 | binutils 2.21. | |
16514 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
16515 | (Specific, i?86-*-solaris2.10): Likewise. | |
16516 | (Specific, mips-sgi-irix6): Likewise. | |
16517 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
16518 | Update for binutils 2.21. | |
16519 | ||
8fbc58a1 RO |
16520 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16521 | ||
16522 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
16523 | Allow -fuse-linker-plugin for non-default plugin linker. | |
16524 | * configure: Regenerate. | |
16525 | ||
7e84ad0b NP |
16526 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
16527 | ||
16528 | PR bootstrap/48167 | |
16529 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
16530 | ||
2f36e14b JJ |
16531 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
16532 | ||
16533 | PR target/48213 | |
16534 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
16535 | lowpart_subreg if orig_x has BLKmode. | |
16536 | ||
62d784f7 KT |
16537 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
16538 | ||
16539 | PR target/12171 | |
9e43ad68 UB |
16540 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
16541 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
16542 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
16543 | initializers. | |
62d784f7 KT |
16544 | * config/alpha/alpha.c: Likewise. |
16545 | * config/arc/arc.c: Likewise. | |
16546 | * config/arm/arm.c: Likewise. | |
16547 | * config/avr/avr.c: Likewise. | |
16548 | * config/bfin/bfin.c: Likewise. | |
16549 | * config/crx/crx.c: Likewise. | |
16550 | * config/darwin.h: Likewise. | |
16551 | * config/h8300/h8300.c: Likewise. | |
16552 | * config/i386/cygming.h: Likewise. | |
16553 | * config/i386/i386.c: Likewise. | |
16554 | * config/ia64/ia64.c: Likewise. | |
16555 | * config/m32c/m32c.c: Likewise. | |
16556 | * config/m32r/m32r.c: Likewise. | |
16557 | * config/m68hc11/m68hc11.c: Likewise. | |
16558 | * config/m68k/m68k.c: Likewise. | |
16559 | * config/mcore/mcore.c: Likewise. | |
16560 | * config/mep/mep.c: Likewise. | |
16561 | * config/microblaze/microblaze.c: Likewise. | |
16562 | * config/mips/mips.c: Likewise. | |
16563 | * config/rs6000/rs6000.c: Likewise. | |
16564 | * config/rx/rx.c: Likewise. | |
16565 | * config/sh/sh.c: Likewise. | |
16566 | * config/sol2.h: Likewise. | |
16567 | * config/sparc/sparc.c: Likewise. | |
16568 | * config/spu/spu.c: Likewise. | |
16569 | * config/stormy16/stormy16.c: Likewise. | |
16570 | * config/v850/v850.c: Likewise. | |
16571 | ||
54833ec0 CLT |
16572 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
16573 | ||
16574 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
16575 | (xor (and A B) C) case when B and C are both constants. | |
16576 | ||
14a41392 MX |
16577 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
16578 | ||
16579 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
16580 | ||
806c3492 EB |
16581 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
16582 | ||
16583 | PR bootstrap/48168 | |
16584 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
16585 | ||
65e0a0f3 JJ |
16586 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
16587 | ||
16588 | PR rtl-optimization/48156 | |
16589 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
16590 | assume df and df_lr are not NULL. | |
16591 | ||
b6a75dda RR |
16592 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
16593 | ||
16594 | PR debug/48023 | |
16595 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
16596 | between a call and its CALL_ARG_LOCATION note. | |
16597 | ||
5969b52d KK |
16598 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
16599 | ||
16600 | PR debug/48178 | |
16601 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
16602 | between a call and its corresponding CALL_ARG_LOCATION note. | |
16603 | ||
f773c2bd AS |
16604 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
16605 | ||
16606 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
16607 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
16608 | * haifa-sched.c (setup_ref_regs): Ditto. | |
16609 | * caller-save.c (add_used_regs_1): Ditto. | |
16610 | * dse.c (look_for_hardregs): Ditto. | |
16611 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
16612 | * sched-rgn.c (check_live_1): Ditto. | |
16613 | ||
8bf872f9 JM |
16614 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
16615 | ||
16616 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
16617 | redefining a typedef with variably modified type. | |
16618 | ||
ff8e2159 JM |
16619 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
16620 | ||
16621 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
16622 | unions with no tag by default. | |
16623 | * doc/extend.texi (Unnamed Fields): Update. | |
16624 | ||
16cc4440 UB |
16625 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
16626 | ||
16627 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
16628 | Rewrite using indirect functions. | |
16629 | (lwp_slwpcb): Ditto. | |
16630 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
16631 | (avx_vinsertf128<mode>): Ditto. | |
16632 | ||
e101e12e AK |
16633 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16634 | ||
16635 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
16636 | unspecs. | |
16637 | ||
4627c7fb AK |
16638 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16639 | ||
16640 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 16641 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 16642 | |
2d36b47f MK |
16643 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
16644 | ||
16645 | PR rtl-optimization/48170 | |
16646 | * gcse.c (hoist_code): Remove bogus asserts. | |
16647 | ||
2a3d7659 JL |
16648 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
16649 | ||
16650 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
16651 | computation for prologue/epilogue. | |
16652 | ||
34c3ef05 RO |
16653 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16654 | ||
16655 | * Makefile.in (check-consistency): Remove. | |
16656 | ||
81f2b976 JJ |
16657 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
16658 | ||
16659 | PR debug/48176 | |
16660 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
16661 | arange_table_in_use is 0, but either text_section_used or | |
16662 | cold_text_section_used is true. Don't call it if | |
16663 | !info_section_emitted. | |
16664 | ||
68fd7765 AS |
16665 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
16666 | ||
16667 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
16668 | FUNCTION_VALUE_REGNO_P): Remove. | |
16669 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
16670 | Remove. | |
16671 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
16672 | (avr_function_value_regno_p): New function. | |
16673 | (avr_libcall_value): Make static. Add 'func' argument. | |
16674 | (avr_function_value): Make static. Rename 'func' argument to | |
16675 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
16676 | avr_ret_register function instead of RET_REGISTER macro. | |
b8bc3a43 | 16677 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. |
68fd7765 | 16678 | |
b4ef8aac JM |
16679 | 2011-03-18 Jason Merrill <jason@redhat.com> |
16680 | ||
16681 | PR c++/23372 | |
16682 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
16683 | ||
09a52fc3 RG |
16684 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
16685 | ||
16686 | * doc/install.texi (--enable-gold): Remove. | |
16687 | (--with-plugin-ld): Document. | |
16688 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
16689 | ||
2a3d7659 | 16690 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
16691 | |
16692 | PR middle-end/47790 | |
16693 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
16694 | again after expansion changes. | |
16695 | ||
2abbb0fe CLT |
16696 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
16697 | ||
16698 | * combine.c (try_combine): Do simplification only call of | |
16699 | subst() on i2 even when i1 is present. Update comments. | |
16700 | ||
2efd0aa6 KK |
16701 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
16702 | ||
16703 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
16704 | and UNSPEC_PCREL_SYMOFF. | |
16705 | ||
30a49b23 AK |
16706 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16707 | ||
16708 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
16709 | definitions. | |
16710 | ||
419e1853 JJ |
16711 | 2011-03-18 Richard Henderson <rth@redhat.com> |
16712 | Jakub Jelinek <jakub@redhat.com> | |
16713 | ||
16714 | PR bootstrap/48161 | |
16715 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
16716 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
16717 | ||
37875856 L |
16718 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16719 | ||
16720 | PR middle-end/47725 | |
16721 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
16722 | extended hard registers. | |
16723 | ||
76069764 L |
16724 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16725 | ||
16726 | PR middle-end/47725 | |
16727 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
16728 | hard registers. | |
16729 | ||
24da2019 AS |
16730 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
16731 | ||
16732 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
16733 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
16734 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
16735 | Change return type to bool. | |
16736 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
16737 | ||
a82ff31f JJ |
16738 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
16739 | ||
8b29c87a JJ |
16740 | PR debug/48163 |
16741 | * var-tracking.c (prepare_call_arguments): If CALL target | |
16742 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
16743 | pc instead of looking it up using cselib_lookup and use | |
16744 | Pmode for it if x has VOIDmode. | |
16745 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
16746 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
16747 | ||
a82ff31f JJ |
16748 | PR debug/48163 |
16749 | * function.c (assign_parms): For data.passed_pointer parms | |
16750 | use MEM of data.entry_parm instead of data.entry_parm itself | |
16751 | as DECL_INCOMING_RTL. | |
16752 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
16753 | also when passed and declared mode is the same, DECL_RTL | |
16754 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
16755 | a MEM too. | |
16756 | ||
82ce305c JL |
16757 | 2011-03-16 Jeff Law <law@redhat.com> |
16758 | ||
16759 | PR rtl-optimization/37273 | |
16760 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
16761 | handle them like argument loads from stack slots. Do not double | |
16762 | count memory for memory constants and argument loads from stack slots. | |
16763 | ||
fe58e02b L |
16764 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16765 | ||
16766 | PR debug/48160 | |
16767 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
16768 | ||
6fc4dbc7 L |
16769 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16770 | ||
16771 | PR target/48171 | |
16772 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
16773 | ||
db3ed0b3 JJ |
16774 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
16775 | ||
8054a389 JJ |
16776 | PR bootstrap/48153 |
16777 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
16778 | if dwarf_strict. | |
16779 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
16780 | Clear call_arg_locations and call_arg_loc_last always. | |
16781 | ||
db3ed0b3 JJ |
16782 | PR middle-end/48152 |
16783 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
16784 | passed by reference, adjust argtype and mode. | |
16785 | ||
1bce4ff3 RG |
16786 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
16787 | ||
16788 | PR middle-end/48134 | |
16789 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
16790 | a value make sure to fold the statement. | |
16791 | ||
7c71147d CLT |
16792 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
16793 | ||
16794 | PR target/43872 | |
16795 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
16796 | return condition with !cfun->calls_alloca. | |
16797 | ||
0e1ee172 RG |
16798 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
16799 | ||
16800 | PR bootstrap/48148 | |
16801 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
16802 | origin for decls in other ltrans units. | |
16803 | (input_varpool_node): Likewise. | |
16804 | ||
f8bce518 RG |
16805 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
16806 | ||
16807 | PR middle-end/48165 | |
16808 | * tree-object-size.c (compute_object_offset): Properly return | |
16809 | the offset operand of MEM_REFs as sizetype. | |
16810 | ||
1b6fa860 JJ |
16811 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
16812 | ||
dabd47e7 JJ |
16813 | PR rtl-optimization/48141 |
16814 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
16815 | * dse.c: Include params.h. | |
16816 | (active_local_stores_len): New variable. | |
16817 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
16818 | to NULL. | |
16819 | (record_store, check_mem_read_rtx): Decrease it when removing | |
16820 | from the chain. | |
16821 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
16822 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
16823 | set active_local_stores to NULL before the addition. | |
16824 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
16825 | ||
1b6fa860 JJ |
16826 | PR rtl-optimization/48141 |
16827 | * dse.c (record_store): If no positions are needed in an insn | |
16828 | that cannot be deleted, at least unchain it from active_local_stores. | |
16829 | ||
7b5cb7d6 DS |
16830 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
16831 | ||
16832 | PR debug/47510 | |
16833 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
16834 | (lookup_type_die_strip_naming_typedef): ... here. | |
16835 | (get_context_die): Use it. | |
16836 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
16837 | the anonymous struct named by the naming typedef. | |
16838 | ||
585e9d9d L |
16839 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
16840 | ||
16841 | PR target/48154 | |
16842 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
16843 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
16844 | ||
6261ab0e JL |
16845 | 2011-03-16 Jeff Law <law@redhat.com> |
16846 | ||
16847 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 16848 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 16849 | |
0b0081ec RG |
16850 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16851 | ||
16852 | PR tree-optimization/48149 | |
16853 | * fold-const.c (fold_binary_loc): Fold | |
16854 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
16855 | ||
64a3d647 RG |
16856 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16857 | ||
16858 | PR tree-optimization/26134 | |
16859 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
16860 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
16861 | (non_rewritable_mem_ref_base): Handle complex type component | |
16862 | accesses, constrain offsets for vector and complex extracts | |
16863 | more properly. | |
16864 | ||
ef13324e RG |
16865 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16866 | ||
16867 | PR tree-optimization/48146 | |
16868 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
16869 | operands avoiding the need for renaming. | |
16870 | ||
f0eddb90 RG |
16871 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16872 | ||
16873 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
16874 | constant folding. Move MEM_REF canonicalization first. | |
16875 | Rely on fold_const_aggregate_ref for initializer folding. | |
16876 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
16877 | ||
e42348b8 JJ |
16878 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
16879 | ||
29f10e71 JJ |
16880 | PR middle-end/48136 |
16881 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
16882 | arg0/arg1 or their arguments are always fold converted to matching | |
16883 | types. | |
16884 | ||
e42348b8 JJ |
16885 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
16886 | to nargs. | |
16887 | ||
55b46574 RO |
16888 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16889 | ||
16890 | PR lto/46944 | |
16891 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
16892 | Handle in-tree gold. | |
16893 | (ld_vers): Extract binutils version for gold. | |
16894 | (gcc_cv_ld_hidden): Handle gold here. | |
16895 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
16896 | * configure: Regenerate. | |
16897 | * config.in: Regenerate. | |
16898 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
16899 | -fuse-linker-plugin otherwise. | |
16900 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
16901 | (LINK_COMMAND_SPEC): Use it. | |
16902 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
16903 | ||
2b1c5433 JJ |
16904 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
16905 | ||
c2969d8e JJ |
16906 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
16907 | * calls.c: Remove debug.h include. | |
16908 | (emit_call_1): Don't call virtual_call_token debug hook. | |
16909 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
16910 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
16911 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
16912 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
16913 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
16914 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
16915 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
16916 | dwarf2out_virtual_call): Remove. | |
16917 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
16918 | copy_call_info and virtual_call hooks. | |
16919 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
16920 | debug_dcall_section and debug_vcall_section. | |
16921 | (prune_unused_types): Don't mark nodes from dcall_table. | |
16922 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
16923 | * final.c (final_scan_insn): Don't call direct_call or | |
16924 | virtual_call debug hooks. | |
16925 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
16926 | virtual_call_token, copy_call_info and virtual_call hooks. | |
16927 | (debug_nothing_uid): Remove prototype. | |
16928 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
16929 | copy_call_info and virtual_call hooks. | |
16930 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
16931 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
16932 | * debug.c (do_nothing_debug_hooks): Likewise. | |
16933 | (debug_nothing_uid): Remove. | |
16934 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
16935 | * common.opt (-fenable-icf-debug): Likewise. | |
16936 | ||
325f5379 JJ |
16937 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
16938 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
16939 | call's MEM. Handle functions returning aggregate through a hidden | |
16940 | first pointer. For virtual calls add clobbered pc to call arguments | |
16941 | chain. | |
16942 | * dwarf2out.c (gen_subprogram_die): Emit | |
16943 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
16944 | can't be emitted. | |
16945 | ||
a58a8e4b JJ |
16946 | PR debug/45882 |
16947 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
16948 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
16949 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
16950 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
16951 | * print-rtl.c (print_rtx): Likewise. | |
16952 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
16953 | * var-tracking.c (vt_add_function_parameter): Adjust | |
16954 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
16955 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
16956 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
16957 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
16958 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
16959 | ||
2b1c5433 JJ |
16960 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
16961 | Call var_location debug hook even on CALL_INSNs. | |
16962 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
16963 | * rtl.def (ENTRY_VALUE): New. | |
16964 | * dwarf2out.c: Include cfglayout.h. | |
16965 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
16966 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
16967 | (struct call_arg_loc_node): New type. | |
16968 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
16969 | tail_call_site_count): New variables. | |
16970 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
16971 | DW_TAG_GNU_call_site_parameter. | |
16972 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
16973 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
16974 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
16975 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
16976 | and DW_AT_GNU_all_source_call_sites. | |
16977 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
16978 | (add_src_coords_attributes): Don't add enything if | |
16979 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
16980 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
16981 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
16982 | (gen_call_site_die): New function. | |
16983 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
16984 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
16985 | (dwarf2out_function_decl): Clear call_arg_locations, | |
16986 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
16987 | to -1 and free block_map. | |
16988 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
16989 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
16990 | followed by any real instructions. | |
16991 | (dwarf2out_begin_function): Set call_site_count and | |
16992 | tail_call_site_count to 0. | |
16993 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
16994 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
16995 | attempt to force a DIE for it and worst case remove the attribute. | |
16996 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
16997 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
16998 | the decl itself. | |
16999 | * var-tracking.c: Include tm_p.h. | |
17000 | (vt_stack_adjustments): For calls call note_register_arguments. | |
17001 | (argument_reg_set): New variable. | |
17002 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
17003 | ensure the VALUE is resolved. | |
17004 | (call_arguments): New variable. | |
17005 | (prepare_call_arguments): New function. | |
17006 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
17007 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
17008 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
17009 | always use the best expression. | |
17010 | (vt_expand_loc): Add ignore_cur_loc argument. | |
17011 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
17012 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
17013 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
17014 | note for all calls. | |
17015 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
17016 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
17017 | argument. Don't call cselib_preserve_only_values and | |
17018 | cselib_reset_table. | |
17019 | (note_register_arguments): New function. | |
17020 | (vt_initialize): Compute argument_reg_set. Call | |
17021 | vt_add_function_parameters before processing basic blocks instead of | |
17022 | afterwards. For calls call prepare_call_arguments before calling | |
17023 | cselib_process_insn. | |
17024 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
17025 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
17026 | (var-tracking.o): Depend on $(TM_P_H). | |
17027 | * cfglayout.h (insn_scope): New prototype. | |
17028 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
17029 | * cfglayout.c (insn_scope): No longer static. | |
17030 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
17031 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
17032 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
17033 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
17034 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
17035 | ||
9ef13bd0 AM |
17036 | 2011-03-16 Alan Modra <amodra@gmail.com> |
17037 | ||
17038 | PR target/45844 | |
17039 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
17040 | create invalid offset address for vsx splat insn. | |
17041 | * config/rs6000/predicates.md (splat_input_operand): New. | |
17042 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
17043 | ||
56b67510 XDL |
17044 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
17045 | ||
17046 | PR c/47837 | |
17047 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
17048 | (normalize_preds): New function. | |
17049 | (is_use_properly_guarded): Normalize def predicates. | |
17050 | ||
80fffdef RR |
17051 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
17052 | ||
732f37c6 | 17053 | PR target/46788 |
80fffdef RR |
17054 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
17055 | in the output template. | |
17056 | ||
930672ad RG |
17057 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
17058 | ||
17059 | PR middle-end/47650 | |
17060 | * tree-pretty-print.c (dump_function_declaration): Properly | |
17061 | dump unprototyped and varargs function types. | |
17062 | ||
c7ee7b45 RG |
17063 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
17064 | ||
17065 | PR tree-optimization/13954 | |
17066 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
17067 | and friends. | |
17068 | ||
b2ad5e37 RG |
17069 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
17070 | ||
17071 | PR tree-optimization/48037 | |
17072 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
17073 | selects into BIT_FIELD_REFs. | |
17074 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
17075 | vector select. | |
17076 | ||
7ee93d4e JJ |
17077 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
17078 | ||
17079 | PR tree-optimization/48129 | |
17080 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
17081 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
17082 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
17083 | ||
e106efc7 RG |
17084 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
17085 | ||
17086 | PR tree-optimization/41490 | |
17087 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
17088 | value but with VUSE. | |
17089 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
17090 | return statements. | |
17091 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
17092 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
17093 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
17094 | ||
17dea42f RG |
17095 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
17096 | ||
17097 | PR middle-end/48031 | |
17098 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
17099 | or variable-indexed array accesses when in gimple form. | |
17100 | ||
01c77a60 RG |
17101 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
17102 | ||
16cc4440 | 17103 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 17104 | |
77b0791e AM |
17105 | 2011-03-15 Alan Modra <amodra@gmail.com> |
17106 | ||
17107 | PR target/48032 | |
17108 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
17109 | presume symbol_refs without a symbol_ref_decl are suitably | |
17110 | aligned, nor other trees we may see here. Handle anchor symbols. | |
17111 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
17112 | Check cmodel=medium addresses. Adjust all calls. | |
17113 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
17114 | creating cmodel=medium optimized access to locals. | |
17115 | * config/rs6000/constraints.md (R): Pass QImode to | |
17116 | legitimate_constant_pool_address_p. | |
17117 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
17118 | legitimate_constant_pool_address_p. | |
17119 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
17120 | Update prototype. | |
17121 | ||
35f61ba4 MM |
17122 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
17123 | ||
17124 | PR target/48053 | |
17125 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
17126 | 64-bit constants being loaded into registers other than GPRs such | |
17127 | as loading 0 into a VSX register. | |
17128 | ||
07332e6d RO |
17129 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17130 | ||
16cc4440 | 17131 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 17132 | |
de888d90 JJ |
17133 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
17134 | ||
ba3ceb2d JJ |
17135 | PR middle-end/47917 |
17136 | * builtins.c (fold_builtin_snprintf): New function. | |
17137 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
17138 | (fold_builtin_4): Likewise. | |
17139 | ||
2e64f8b8 JJ |
17140 | PR middle-end/38878 |
17141 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
17142 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
17143 | and C - X == X also strip nops from +/-/p+ operand. | |
17144 | When optimizing -X == C, fold C to arg0's type. | |
17145 | ||
de888d90 JJ |
17146 | PR debug/47946 |
17147 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
17148 | emit it as add_AT_int instead of add_AT_unsigned. | |
17149 | ||
17150 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
17151 | |
17152 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
17153 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
17154 | * config.in, configure: Rebuild. | |
17155 | * configure.ac: Check for sys/sdt.h. | |
17156 | ||
d34abfd2 UB |
17157 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
17158 | ||
17159 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
17160 | (ROUND_CEIL): Ditto. | |
17161 | (ROUND_TRUNC): Ditto. | |
17162 | (ROUND_MXCSR): Ditto. | |
17163 | (ROUND_NO_EXC): Ditto. | |
17164 | (rint<mode>2): Use new defines instead of numerical constants. | |
17165 | (floor<mode>2): Ditto. | |
17166 | (ceil<mode>2): Ditto. | |
17167 | (btrunc<mode>2): Ditto. | |
17168 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
17169 | aliases. | |
17170 | * config/i386/i386.c (enum ix86_builtins): Add | |
17171 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
17172 | (struct builtin_description): Add | |
17173 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
17174 | (ix86_expand_sse_round): New static function. | |
17175 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
17176 | function types. | |
17177 | (ix86_builtin_vectorized_function): Handle | |
17178 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
17179 | ||
87f9e23d TT |
17180 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
17181 | ||
17182 | * c-parser.c (c_parser_asm_string_literal): Clear | |
17183 | warn_overlength_strings. | |
17184 | ||
b3ab9ea2 TT |
17185 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
17186 | ||
17187 | * c-parser.c (disable_extension_diagnostics): Save | |
17188 | warn_overlength_strings. | |
17189 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
17190 | ||
6bd73dd8 JJ |
17191 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
17192 | ||
17193 | * BASE-VER: Change to 4.7.0. | |
17194 | ||
7f4d6e1b RG |
17195 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
17196 | ||
17197 | PR middle-end/48098 | |
17198 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
17199 | and reality. | |
17200 | ||
c6104ef1 JJ |
17201 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
17202 | ||
17203 | PR bootstrap/48102 | |
d34abfd2 | 17204 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 17205 | |
dfa95e19 AT |
17206 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
17207 | ||
f60c2554 | 17208 | * config/rs6000/freebsd.h (RELOCATABLE_NEEDS_FIXUP): Define in |
dfa95e19 AT |
17209 | terms of target_flags_explicit. Adjust copyright year. |
17210 | ||
17211 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
17212 | * config/rs6000/t-freebsd: New file. Add override for | |
17213 | LIB2FUNCS_EXTRA. | |
17214 | ||
bb322018 CD |
17215 | 2011-03-13 Chris Demetriou <cgd@google.com> |
17216 | ||
17217 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
17218 | (-fno-diagnostics-show-option): this, to reflect current default. | |
17219 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
17220 | ||
12b1c80b PB |
17221 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
17222 | ||
17223 | PR target/48053 | |
17224 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
17225 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
17226 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
17227 | mode is not V2DImode or V2DFmode. | |
17228 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
17229 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
17230 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
17231 | registers to 0. | |
17232 | (movdi_internal64): Likewise. | |
17233 | ||
57d598f7 SP |
17234 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
17235 | ||
17236 | PR tree-optimization/47127 | |
17237 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
17238 | parameter. | |
17239 | (set_cloog_options): Same. | |
17240 | (scop_to_clast): Same. | |
17241 | (print_clast_stmt): Do not call cloog_state_malloc and | |
17242 | cloog_state_free. | |
17243 | (print_generated_program): Same. | |
17244 | (gloog): Same. | |
17245 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
17246 | (scop_to_clast): Adjust declaration. | |
17247 | * graphite.c (cloog_state): Defined here. | |
17248 | (graphite_initialize): Call cloog_state_malloc. | |
17249 | (graphite_finalize): Call cloog_state_free. | |
17250 | ||
f231b5ff JM |
17251 | 2011-03-11 Jason Merrill <jason@redhat.com> |
17252 | ||
17253 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
17254 | * tree.h: Adjust. | |
17255 | ||
6a4e2bd5 JM |
17256 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
17257 | ||
17258 | * config/sparc/sparc.c (sparc_option_override): Use | |
17259 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
17260 | ||
a758fd67 RG |
17261 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
17262 | ||
17263 | PR tree-optimization/48067 | |
17264 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
17265 | multiplication result will be only used once on the target | |
17266 | stmt. | |
17267 | ||
03dfda54 RG |
17268 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
17269 | ||
17270 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
17271 | ||
5f11a50a RG |
17272 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
17273 | ||
17274 | PR lto/48073 | |
17275 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
17276 | from IDENTIFIER_NODEs. | |
17277 | ||
4074f163 JJ |
17278 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
17279 | ||
17280 | PR middle-end/48044 | |
17281 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
17282 | all vnode->force_output nodes as needed. | |
17283 | ||
30f7cdcd JM |
17284 | 2011-03-11 Jason Merrill <jason@redhat.com> |
17285 | ||
17286 | PR c++/48069 | |
17287 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
17288 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
17289 | ||
62ecfeb8 MJ |
17290 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
17291 | ||
17292 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
17293 | cgraph_node. | |
17294 | ||
e89e03ab JJ |
17295 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
17296 | ||
17297 | PR tree-optimization/48063 | |
17298 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
17299 | inline functions called once if !tree_can_inline_p (node->callers). | |
17300 | ||
efbe978b | 17301 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 17302 | |
efbe978b EB |
17303 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
17304 | extra_objs. | |
9d6193a7 CL |
17305 | * config/score/score3.c: Delete. |
17306 | * config/score/score3.h: Delete. | |
17307 | * config/score/mul-div.S: Delete. | |
17308 | * config/score/sfp-machine.h: Add new file. | |
17309 | * config/score/constraints.md: Add new file. | |
17310 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 17311 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
17312 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
17313 | (score7_extra_constraint): Delete. | |
efbe978b | 17314 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
17315 | * config/score/score.c: Remove score3 and score5 define and code. |
17316 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 17317 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
17318 | * config/score/score.opt: Remove score3 and score5 options. |
17319 | ||
5de27cca JDA |
17320 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17321 | ||
17322 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
17323 | when _HPUX_SOURCE is defined. | |
17324 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
17325 | ||
18d92053 JM |
17326 | 2011-03-10 Jason Merrill <jason@redhat.com> |
17327 | ||
17328 | PR c++/48029 | |
17329 | * stor-layout.c (layout_type): Don't set structural equality | |
17330 | on arrays of incomplete type. | |
17331 | * tree.c (type_hash_eq): Handle comparing them properly. | |
17332 | ||
67a2f76d JJ |
17333 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
17334 | ||
17335 | PR debug/48043 | |
18d92053 | 17336 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
17337 | result mode matches original rtl mode. |
17338 | ||
d845b2f9 NC |
17339 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
17340 | ||
17341 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 17342 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 17343 | |
db7ec035 JJ |
17344 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
17345 | ||
17346 | PR rtl-optimization/47866 | |
17347 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
17348 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
17349 | if target wasn't scalar. | |
17350 | * function.c (assign_stack_temp_for_type): Assert that neither | |
17351 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
17352 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
17353 | macro. | |
17354 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
17355 | ||
5d304e47 AK |
17356 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
17357 | ||
17358 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
17359 | * config/s390/s390.c (s390_label_align): New function. | |
17360 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
17361 | ||
93b826f0 MM |
17362 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
17363 | ||
17364 | PR target/47755 | |
17365 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
17366 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
17367 | (output_vec_const_move): Ditto. | |
17368 | ||
ef78aed6 AS |
17369 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
17370 | ||
17371 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
17372 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
17373 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
17374 | Change 'rclass' argument and result type to reg_class_t. | |
17375 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
17376 | ||
5f892aa0 GJL |
17377 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
17378 | ||
9e43ad68 UB |
17379 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
17380 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
17381 | (TARGET_MEMORY_MOVE_COST): Define. | |
17382 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 17383 | |
32bd2409 JJ |
17384 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
17385 | ||
530a4800 JJ |
17386 | PR debug/47881 |
17387 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
17388 | removed anything. | |
17389 | ||
32bd2409 JJ |
17390 | PR tree-optimization/48022 |
17391 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
17392 | for EQ/NE_EXPR. | |
17393 | ||
c7148991 JJ |
17394 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
17395 | ||
17396 | PR debug/47991 | |
17397 | * var-tracking.c (find_use_val): Return NULL for | |
17398 | cui->sets && cui->store_p BLKmode MEMs. | |
17399 | ||
43070a6e AS |
17400 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
17401 | ||
17402 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
17403 | Remove. | |
17404 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
17405 | xstormy16_print_operand_address): Remove. | |
17406 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
17407 | xstormy16_print_operand_address): Make static. | |
17408 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
17409 | ||
efbe978b | 17410 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
17411 | |
17412 | PR target/47862 | |
17413 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
17414 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
17415 | before definition. | |
17416 | ||
cec8ac0b ZD |
17417 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
17418 | ||
17419 | PR bootstrap/48000 | |
17420 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
17421 | if FROM is BASE_LOOP's header. | |
17422 | ||
59527282 PW |
17423 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
17424 | ||
17425 | * gimplify.c (gimplify_function_tree): Fix building calls | |
17426 | to __builtin_return_address. | |
17427 | ||
617718f7 AM |
17428 | 2011-03-07 Alan Modra <amodra@gmail.com> |
17429 | ||
17430 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
17431 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
17432 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
17433 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
17434 | return_mode args. | |
17435 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
17436 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
17437 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
17438 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
17439 | * config/rs6000/rs6000.c | |
17440 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
17441 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
17442 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
17443 | (rs6000_file_start): ..here. | |
17444 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
17445 | file scope variables. | |
17446 | (call_ABI_of_interest): New function. | |
17447 | (init_cumulative_args): Set above vars when function return value | |
17448 | is a float, vector, or small struct. | |
17449 | (rs6000_function_arg_advance_1): Likewise for function args. | |
17450 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
17451 | references float args. | |
17452 | ||
38528d50 MX |
17453 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
17454 | ||
17455 | * doc/cfg.texi: Remove "See" before @ref. | |
17456 | * doc/invoke.texi: Likewise. | |
17457 | ||
f42cf4f4 JM |
17458 | 2011-03-05 Jason Merrill <jason@redhat.com> |
17459 | ||
17460 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
17461 | ||
804a304d AG |
17462 | 2011-03-05 Anthony Green <green@moxielogic.com> |
17463 | ||
17464 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
17465 | ||
634ee309 ZD |
17466 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
17467 | ||
17468 | PR rtl-optimization/47899 | |
17469 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
17470 | to flow_loop_nested_p when moving the loop upward. | |
17471 | ||
6fe471c8 RE |
17472 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
17473 | ||
17474 | PR target/47719 | |
17475 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
17476 | ||
cc58ceee JJ |
17477 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
17478 | ||
17479 | PR tree-optimization/47967 | |
17480 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
17481 | VIEW_CONVERT_EXPR for mismatching sizes. | |
17482 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
17483 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
17484 | give up on versioning. | |
17485 | ||
ea868305 AM |
17486 | 2011-03-05 Alan Modra <amodra@gmail.com> |
17487 | ||
17488 | PR target/47986 | |
17489 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
17490 | full cmodel medium/large lo_sum + high addresses. | |
17491 | ||
bc6ce334 AK |
17492 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
17493 | ||
17494 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
17495 | pool references in UNSPEC_LTREL_OFFSET. | |
17496 | ||
87e7b310 JH |
17497 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
17498 | ||
17499 | PR lto/47497 | |
17500 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
17501 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
17502 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
17503 | Add node pointers. | |
87e7b310 JH |
17504 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
17505 | cgraph_add_thunk): Add node pointers. | |
17506 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
17507 | associated to right node. | |
17508 | (input_node): Update use of cgraph_same_body_alias | |
17509 | and cgraph_add_thunk. | |
17510 | ||
d9c64246 CF |
17511 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
17512 | ||
17513 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
17514 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
17515 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 17516 | |
08707076 RS |
17517 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
17518 | ||
17519 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
17520 | ||
52517c81 AM |
17521 | 2011-03-04 Alan Modra <amodra@gmail.com> |
17522 | ||
17523 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
17524 | ||
b147c5b9 RG |
17525 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
17526 | ||
17527 | PR middle-end/47968 | |
17528 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
17529 | vec_extract patterns can handle. | |
17530 | ||
8750672f RG |
17531 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
17532 | ||
17533 | PR middle-end/47975 | |
17534 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
17535 | ||
9eac0f2a RH |
17536 | 2011-03-04 Richard Henderson <rth@redhat.com> |
17537 | ||
17538 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
17539 | (emit_stack_restore): Likewise. | |
17540 | * expr.h: Update to match. | |
17541 | * builtins.c, calls.c, stmt.c: Likewise. | |
17542 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
17543 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
17544 | * function.c (expand_function_end): Insert the emit_stack_save | |
17545 | sequence before parm_birth_insn instead of after. | |
17546 | ||
dfee1406 UB |
17547 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
17548 | ||
17549 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
17550 | (ssse3_pmaddubsw128): Ditto. | |
17551 | (ssse3_pmaddubsw): Ditto. | |
17552 | ||
f1d4c3de SE |
17553 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
17554 | ||
17555 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
17556 | ||
71f3a3f5 JJ |
17557 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
17558 | ||
423ed416 JJ |
17559 | PR c/47963 |
17560 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
17561 | on TYPE_SIZE_UNIT if it is a DECL. | |
17562 | ||
71f3a3f5 JJ |
17563 | PR debug/47283 |
17564 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
17565 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
17566 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
17567 | MEM_EXPR on op0. | |
17568 | ||
4b1a5c0d RG |
17569 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
17570 | ||
17571 | PR middle-end/47283 | |
17572 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
17573 | match comment. | |
17574 | (refs_may_alias_p_1): For release branches return true if | |
17575 | we are confused by our input. | |
17576 | ||
b46616fd AK |
17577 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
17578 | ||
17579 | * config/s390/s390.c (s390_function_value): Rename to ... | |
17580 | (s390_function_and_libcall_value): ... this. | |
17581 | (s390_function_value): New function. | |
17582 | (s390_libcall_value): New function. | |
dfee1406 | 17583 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
17584 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
17585 | target macro definitions. | |
17586 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
17587 | ||
46d8fabb JM |
17588 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
17589 | ||
17590 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
17591 | * config/i386/linux64.h (CC1_SPEC): Define. | |
17592 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
17593 | ||
6b1ce545 AS |
17594 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
17595 | ||
17596 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
17597 | Remove. | |
17598 | * config/stormy16/stormy16.c: Include reload.h. | |
17599 | (xstormy16_memory_move_cost): New function. | |
17600 | (TARGET_MEMORY_MOVE_COST): Define. | |
17601 | ||
34161e98 RS |
17602 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
17603 | ||
17604 | PR rtl-optimization/47925 | |
17605 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
17606 | with side effects. Remove the more-specific check for volatile asms. | |
17607 | ||
f60a97cf AM |
17608 | 2011-03-02 Alan Modra <amodra@gmail.com> |
17609 | ||
17610 | PR target/47935 | |
17611 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
17612 | toc relative addresses for valid offsets. | |
17613 | ||
f2ca11ca RG |
17614 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
17615 | ||
17616 | PR tree-optimization/47890 | |
17617 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
17618 | related stmt properly. | |
17619 | ||
7a00d9ea RG |
17620 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
17621 | ||
17622 | PR lto/47924 | |
17623 | * lto-streamer.c (lto_record_common_node): Also register | |
17624 | the canonical type. | |
17625 | ||
06c7edcc RG |
17626 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
17627 | ||
17628 | PR lto/46911 | |
17629 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
17630 | Do not stream DECL_ABSTRACT_ORIGIN. | |
17631 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
17632 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
17633 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
17634 | Do not stream DECL_ABSTRACT_ORIGIN. | |
17635 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
17636 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
17637 | ||
998871e9 AS |
17638 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
17639 | ||
17640 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
17641 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 17642 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
17643 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
17644 | Add 'outgoing' argument. | |
17645 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
17646 | function. | |
17647 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
17648 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
17649 | ||
94369251 KT |
17650 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
17651 | ||
17652 | PR debug/28047 | |
17653 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
17654 | (lookup_filename): Likewise. | |
b2e2ea67 | 17655 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 17656 | |
80a832cd JJ |
17657 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
17658 | Jakub Jelinek <jakub@redhat.com> | |
17659 | ||
17660 | PR middle-end/47893 | |
17661 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
17662 | (assign_stack_local_1): Change last argument type to int. | |
17663 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
17664 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 17665 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
17666 | (assign_stack_local): Adjust caller. |
17667 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
17668 | of assign_stack_local, pass 0 as last argument. | |
17669 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
17670 | callers. | |
17671 | ||
1b500976 JJ |
17672 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
17673 | ||
f61c6f34 JJ |
17674 | PR debug/47283 |
17675 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
17676 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
17677 | Pmode and ptr_mode. Handle some simple cases of extending if | |
17678 | POINTERS_EXTEND_UNSIGNED < 0. | |
17679 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
17680 | Call convert_debug_memory_address. | |
17681 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
17682 | convert_debug_memory_address. | |
17683 | ||
1b500976 JJ |
17684 | PR middle-end/46790 |
17685 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
17686 | * configure: Regenerated. | |
17687 | * config.in: Regenerated. | |
17688 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 17689 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 17690 | |
2f2935b6 MJ |
17691 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
17692 | ||
17693 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
17694 | the description to match the printed values. | |
17695 | ||
474086eb RG |
17696 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
17697 | ||
17698 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
17699 | of the copied scope tree. | |
17700 | ||
15bf6f3a RW |
17701 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
17702 | ||
17703 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
17704 | wrongly) nested tables. | |
17705 | ||
f6b439c9 JJ |
17706 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
17707 | ||
17708 | PR middle-end/47903 | |
17709 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
17710 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
17711 | r isn't op0 nor op1. | |
17712 | ||
1d8ca2c7 GJL |
17713 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
17714 | ||
17715 | * config/avr/avr.md: Remove magic comment for emacs. | |
17716 | ||
593fca4b GJL |
17717 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
17718 | ||
17719 | PR target/45261 | |
17720 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
17721 | (avr_help): New function. | |
17722 | (TARGET_HELP): Define. | |
17723 | ||
6609216e GJL |
17724 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
17725 | ||
17726 | PR target/42240 | |
17727 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
17728 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
17729 | ||
03d458af GP |
17730 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
17731 | ||
17732 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
17733 | (ARM Options): Ditto. | |
17734 | (i386 and x86-64 Options): Ditto. | |
17735 | (RX Options): Ditto. | |
17736 | (SPARC Options): Ditto. | |
17737 | ||
1c379b78 TC |
17738 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
17739 | ||
17740 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
17741 | FreeBSD 6 and later. Generally use cpu generic. | |
17742 | ||
d5ed058c | 17743 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 17744 | |
d5ed058c GP |
17745 | * doc/cpp.texi: Update copyright years. |
17746 | ||
509d65dd | 17747 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 17748 | |
509d65dd | 17749 | PR target/46898 |
308d39cd SB |
17750 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
17751 | ||
509d65dd | 17752 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 17753 | |
509d65dd | 17754 | PR target/46898 |
308d39cd SB |
17755 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
17756 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
17757 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
17758 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 17759 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
17760 | (gen_int_relational): Move declarations to start of function. |
17761 | ||
822ba6d7 EB |
17762 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
17763 | ||
17764 | PR tree-optimization/45470 | |
17765 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
17766 | can throw internally only. | |
17767 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
17768 | ||
ef795fc2 AS |
17769 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
17770 | ||
17771 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
17772 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
17773 | * config/stormy16/stormy16-protos.h | |
17774 | (xstormy16_preferred_reload_class): Remove. | |
17775 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
17776 | static. Change 'rclass' argument and return type to reg_class_t. | |
17777 | (TARGET_PREFERRED_RELOAD_CLASS, | |
17778 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
17779 | ||
1c3277ee RG |
17780 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
17781 | ||
17782 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
17783 | in debug statements. | |
17784 | ||
67e18edb JM |
17785 | 2011-02-23 Jason Merrill <jason@redhat.com> |
17786 | ||
17787 | * common.opt (fabi-version): Document v5 and v6. | |
17788 | ||
b14fad9d RG |
17789 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
17790 | ||
17791 | PR tree-optimization/47849 | |
17792 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
17793 | ||
7fcf46f5 JZ |
17794 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
17795 | ||
17796 | * opts-common.c (decode_cmdline_option): Print empty string | |
17797 | argument as "" in decoded->orig_option_with_args_text. | |
17798 | * gcc.c (execute): Print empty string argument as "" | |
17799 | in the verbose output. | |
17800 | (do_spec_1): Keep empty string argument. | |
17801 | ||
f85b70fd NF |
17802 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
17803 | ||
17804 | * config.gcc: Declare score-* and crx-* obsolete. | |
17805 | ||
b152a615 JZ |
17806 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
17807 | ||
17808 | PR rtl-optimization/47763 | |
17809 | * web.c (web_main): Ignore naked clobber when replacing register. | |
17810 | ||
bb6e77bc AS |
17811 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
17812 | ||
17813 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
17814 | Remove. | |
17815 | ||
68bf6491 SP |
17816 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
17817 | ||
17818 | PR doc/47848 | |
17819 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
17820 | ||
88ee1fc7 MS |
17821 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
17822 | ||
17823 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
17824 | assembler. | |
17825 | * configure: Regenerate. | |
17826 | ||
6042d1dd CLT |
17827 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
17828 | ||
17829 | PR rtl-optimization/46002 | |
17830 | * ira-color.c (update_copy_costs): Change class intersection | |
17831 | test to reg_class_contents[] test of 'hard_regno'. | |
17832 | ||
7de97f9e JM |
17833 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
17834 | ||
17835 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
17836 | than Driver option. | |
17837 | * config/hpux11.opt (mt): Likewise. | |
17838 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
17839 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
17840 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
17841 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
17842 | ||
d1d46f9f MS |
17843 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
17844 | ||
17845 | PR target/47822 | |
17846 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
17847 | tree so we can get save the type. | |
17848 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
17849 | for CFString instead of trying to use past the end of the builtins. | |
17850 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
17851 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
17852 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
17853 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
17854 | Rename to darwin_builtin_cfstring. | |
17855 | (darwin_init_cfstring_builtins): Return the built type. | |
17856 | ||
23e0d930 UB |
17857 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
17858 | ||
17859 | PR target/47840 | |
17860 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
17861 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
17862 | ||
192997cf AS |
17863 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
17864 | ||
17865 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
17866 | * config/stormy16/stormy16-protos.h | |
17867 | (xstormy16_mode_dependent_address_p): Remove. | |
17868 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
17869 | Make static. Change return type to bool. Change argument type to | |
17870 | const_rtx. Remove dead code. | |
17871 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
17872 | ||
e292d003 RG |
17873 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
17874 | ||
17875 | PR lto/47820 | |
17876 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
17877 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
17878 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
17879 | TUs context. | |
23e0d930 | 17880 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
17881 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
17882 | ||
77f846e9 RG |
17883 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
17884 | ||
17885 | PR lto/47822 | |
17886 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
17887 | the TU decl BLOCK_VARS. | |
23e0d930 | 17888 | |
b2cddfc8 AO |
17889 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
17890 | ||
17891 | PR debug/47620 | |
17892 | PR debug/47630 | |
17893 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
17894 | for debug insns. | |
17895 | ||
becf4c11 RG |
17896 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
17897 | ||
17898 | PR lto/47647 | |
17899 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
17900 | Remove lazy BLOCK_VARS streaming. | |
17901 | (lto_input_ts_block_tree_pointers): Likewise. | |
17902 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
17903 | ||
27f98305 JM |
17904 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
17905 | ||
17906 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
17907 | ||
064bf3f4 JM |
17908 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
17909 | ||
17910 | * config/i386/biarch32.h, config/i386/mach.h, | |
17911 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
17912 | ||
9215ddc3 JJ |
17913 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
17914 | ||
17915 | PR target/47800 | |
17916 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
17917 | operands[1] original mode in the first insn. | |
17918 | ||
8b021004 MS |
17919 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
17920 | ||
65ded153 | 17921 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 17922 | |
f84ae14c JH |
17923 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
17924 | ||
17925 | PR middle-end/47788 | |
65ded153 EB |
17926 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
17927 | to zero when the function is not inlinable at all. | |
f84ae14c | 17928 | |
eddabc80 JDA |
17929 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17930 | ||
17931 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
17932 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
17933 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
17934 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
17935 | * config/pa/t-pa64: Likewise. | |
17936 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
17937 | ||
ca3da783 JJ |
17938 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
17939 | ||
17940 | PR driver/47787 | |
17941 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
17942 | ||
430aa868 JDA |
17943 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17944 | ||
17945 | PR target/47792 | |
17946 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
17947 | ||
4bf7ff7e AS |
17948 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
17949 | ||
17950 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
17951 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
17952 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
17953 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
17954 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
17955 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
17956 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
17957 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
17958 | m32r_legitimate_address_p): New functions. | |
17959 | * config/m32r/constraints.md (constraint "S"): Don't use | |
17960 | STORE_PREINC_PREDEC_P. | |
17961 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
17962 | ||
7efcf910 CLT |
17963 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
17964 | ||
17965 | PR rtl-optimization/46178 | |
17966 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
17967 | compute ira_hard_regno_cover_class[]. | |
17968 | ||
237d6259 RG |
17969 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
17970 | ||
17971 | PR lto/47798 | |
17972 | * lto-streamer.h (lto_global_var_decls): Declare. | |
17973 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
17974 | statics for global var processing. | |
17975 | ||
12d80acc RG |
17976 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
17977 | ||
17978 | PR tree-optimization/47737 | |
17979 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
17980 | edge dominance check. | |
17981 | ||
abfea58d JJ |
17982 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
17983 | ||
17984 | PR debug/47780 | |
17985 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
17986 | avoid invalid rtx sharing. | |
17987 | ||
f73c8882 GP |
17988 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
17989 | ||
17990 | * doc/cpp.texi (Obsolete Features): Add background on the | |
17991 | origin of assertions. | |
17992 | ||
d764a8e6 IS |
17993 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
17994 | ||
17995 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 17996 | objc_abi == 2. |
d764a8e6 IS |
17997 | * config/darwin.c (output_objc_section_asm_op): Added support for |
17998 | ABI v1 and v2. | |
17999 | (is_objc_metadata): New. | |
18000 | (darwin_objc2_section): New. | |
18001 | (darwin_objc1_section): New. | |
18002 | (machopic_select_section): Added support for ABI v1 and v2. | |
18003 | (darwin_emit_objc_zeroed): New. | |
18004 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
18005 | appropriately. | |
18006 | (darwin_asm_output_aligned_decl_common): Same. | |
18007 | (darwin_asm_output_aligned_decl_local): Same. | |
18008 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
18009 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
18010 | compiling Objective-C code for the NeXT runtime, default to using | |
18011 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
18012 | ||
0a8134ca JM |
18013 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
18014 | ||
18015 | * common.opt (optimize_fast): New Variable. | |
18016 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
18017 | instead of local variable ofast. | |
18018 | ||
0a256240 NP |
18019 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
18020 | ||
18021 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
18022 | (fobjc-nilcheck): Documented. | |
18023 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
18024 | version. | |
18025 | ||
fa381cb2 JM |
18026 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
18027 | ||
18028 | PR driver/47390 | |
18029 | * common.opt (export-dynamic): New Driver option. | |
18030 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
18031 | ||
5437eaa6 JM |
18032 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
18033 | ||
18034 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
18035 | ||
bb7e6d55 AO |
18036 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
18037 | Jan Hubicka <jh@suse.cz> | |
18038 | ||
18039 | PR debug/47106 | |
18040 | PR debug/47402 | |
18041 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
18042 | (estimated_stack_frame_size): Use referenced vars. | |
18043 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
18044 | that were referenced in the original function. Test src_fn | |
18045 | rather than cfun. Drop redundant get_var_ann. | |
18046 | (setup_one_parameter): Drop redundant get_var_ann. | |
18047 | (declare_return_variable): Likewise. | |
18048 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
18049 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
18050 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
18051 | disregard_inline_limits here. | |
bb7e6d55 AO |
18052 | (compute_inlinable_for_current, pass_inlinable): New. |
18053 | (pass_inline_parameters): Require PROP_referenced_vars. | |
18054 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 18055 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
18056 | (cgraph_analyze_function): Set .disregard_inline_limits. |
18057 | * tree-sra.c (convert_callers): Compute inliner parameters | |
18058 | only for functions already in SSA form. | |
18059 | ||
f181a8a7 JM |
18060 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
18061 | ||
18062 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
18063 | -mlittle-endian-data. | |
18064 | ||
c6869789 JM |
18065 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
18066 | ||
18067 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
18068 | -mno-fpu, not -fpu and -no-fpu. | |
18069 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
18070 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
18071 | ||
fbf4bfd3 UB |
18072 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
18073 | ||
18074 | PR target/43653 | |
18075 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
18076 | input reload with PLUS RTX. | |
18077 | ||
70be5dc7 JM |
18078 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
18079 | ||
18080 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
18081 | of InverseVar(MDMX). | |
18082 | ||
30b1646e JM |
18083 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
18084 | ||
18085 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
18086 | --m4-340. | |
18087 | ||
ab7b71e9 JM |
18088 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
18089 | ||
18090 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
18091 | ||
466f3f08 JM |
18092 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
18093 | ||
18094 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
18095 | ||
8226cd7b JM |
18096 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
18097 | ||
18098 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
18099 | ||
45cab1d7 JM |
18100 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
18101 | ||
18102 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
18103 | %{muser-extend-enabled}. | |
18104 | ||
65aab64f RG |
18105 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
18106 | ||
18107 | PR tree-optimization/47738 | |
18108 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
18109 | the TODO from tree_predictive_commoning. | |
18110 | ||
fc2fa4fb JL |
18111 | 2011-02-15 Jeff Law <law@redhat.com> |
18112 | ||
18113 | Revert | |
18114 | 2011-01-25 Jeff Law <law@redhat.com> | |
18115 | ||
18116 | PR rtl-optimization/37273 | |
18117 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
18118 | handle them like argument loads from stack slots. Do not double | |
18119 | count memory for memory constants and argument loads from stack slots. | |
18120 | ||
4e380b8e L |
18121 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
18122 | ||
18123 | PR middle-end/47725 | |
18124 | * combine.c (cant_combine_insn_p): Revert the last change. | |
18125 | ||
e3a69bb4 MM |
18126 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
18127 | ||
18128 | PR target/47755 | |
18129 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
18130 | mode for vector constants. Remove code that checks for TImode. | |
18131 | ||
de650422 AO |
18132 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
18133 | ||
18134 | PR debug/47106 | |
18135 | PR debug/47402 | |
18136 | * cgraph.h (compute_inline_parameters): Return void. | |
18137 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
18138 | ||
30925d94 AO |
18139 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
18140 | ||
18141 | PR debug/47106 | |
18142 | PR debug/47402 | |
18143 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
18144 | rather than decl. | |
18145 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
18146 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
18147 | ||
1b9a784a AO |
18148 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
18149 | ||
18150 | PR debug/47106 | |
18151 | PR debug/47402 | |
18152 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
18153 | Adjust all users. Pass FN to... | |
18154 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
18155 | fn argument. | |
18156 | * ipa-struct-reorg.c: Adjust. | |
18157 | * tree-dfa.c: Adjust. | |
18158 | * tree-into-ssa.c: Adjust. | |
18159 | * tree-sra.c: Adjust. | |
18160 | * tree-ssa-alias.c: Adjust. | |
18161 | * tree-ssa-live.c: Adjust. | |
18162 | * tree-ssa.c: Adjust. | |
18163 | * tree-ssanames.c: Adjust. | |
18164 | * tree-tailcall.c: Adjust. | |
18165 | ||
27c6b086 AO |
18166 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
18167 | ||
18168 | PR debug/47106 | |
18169 | PR debug/47402 | |
18170 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
18171 | Adjust all callers. | |
18172 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
18173 | * tree-flow-inline.h: Adjust. | |
18174 | * gimple-pretty-print.c: Adjust. | |
18175 | * tree-into-ssa.c: Adjust. | |
18176 | * tree-ssa.c: Adjust. | |
18177 | * cfgexpand.c: Adjust. | |
18178 | ||
679e8183 NF |
18179 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
18180 | ||
fbf4bfd3 UB |
18181 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
18182 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
18183 | (EXTRA_CONSTRAINT): Delete. | |
18184 | * config/iq2000/constraints.md: New file. | |
18185 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
18186 | (define_insn ""): Delete. |
18187 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
18188 | unsupported constraint letters from patterns. | |
18189 | (call_value, call_value_internal1): Likewise. | |
18190 | (call_value_multiple_internal1): Likewise. | |
18191 | ||
a45d420a NC |
18192 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
18193 | ||
18194 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
18195 | (struct liw_data): New data structure describing an LIW candidate | |
18196 | instruction. | |
18197 | (extract_bundle): Use struct liw_data. Allow small integer | |
18198 | operands for some instructions. | |
18199 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
18200 | parameter. Add comments describing the checks. Fix bug when | |
18201 | assigning the source of liw1 to the source of liw2. | |
18202 | (liw_candidate): Delete. Code moved into extract_bundle. | |
18203 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
18204 | before swapping. | |
18205 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
18206 | Allows registers and small integer constants. | |
18207 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
18208 | integers in the range -8 to +7 inclusive. | |
18209 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
18210 | for moving a small integer into a register. Give this alternative | |
18211 | LIW attributes. | |
18212 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
18213 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
18214 | using the J,K,L and M constraints, | |
18215 | (liw): Remove SI mode on second operands to allow for HI and QI | |
18216 | mode values. | |
18217 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
18218 | instruction. | |
18219 | ||
8a73faf1 L |
18220 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
18221 | ||
18222 | PR middle-end/47725 | |
18223 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
18224 | hard registers. | |
18225 | ||
48feba28 RG |
18226 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
18227 | ||
18228 | PR tree-optimization/47743 | |
18229 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
18230 | for a non-type-compatible VN lookup bail out. | |
18231 | ||
ad1c1eeb NF |
18232 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
18233 | ||
18234 | * config/fr30/constraints.md: New file. | |
18235 | * config/fr30/fr30.md: Include it. | |
18236 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
18237 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
18238 | (EXTRA_CONSTRAINT): Delete. | |
18239 | ||
49ac143d NF |
18240 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
18241 | ||
18242 | * config/frv/constraints.md: New file. | |
18243 | * config/frv/predicates.md: Include it. | |
18244 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
18245 | (frv_option_override): Don't initialize it. | |
18246 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
18247 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
18248 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
18249 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
18250 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
18251 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
18252 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
18253 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
18254 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
18255 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
18256 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
18257 | ||
c95f9494 JJ |
18258 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
18259 | ||
18260 | PR middle-end/47581 | |
18261 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
18262 | if frame size is 0 in a leaf function. | |
18263 | ||
13aed611 RO |
18264 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18265 | ||
18266 | PR pch/14940 | |
18267 | * config/alpha/host-osf.c: New file. | |
18268 | * config/alpha/x-osf: New file. | |
18269 | * config.host (alpha*-dec-osf*): Use it. | |
18270 | ||
b09c3081 AS |
18271 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
18272 | ||
18273 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
18274 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
18275 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
18276 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
18277 | type to const_rtx. | |
18278 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
18279 | ||
d634083b NF |
18280 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
18281 | ||
18282 | * config/stormy16/constraints.md: New file. | |
18283 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
18284 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
18285 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
18286 | Delete. | |
18287 | (xstormy16_legitiamte_address_p): Declare. | |
18288 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
18289 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
18290 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 18291 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
18292 | Un-staticize. |
18293 | (xstormy16_extra_constraint_p): Delete. | |
18294 | ||
c7dd803e EB |
18295 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
18296 | ||
18297 | PR tree-optimization/46494 | |
18298 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
18299 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
18300 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
18301 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
18302 | * modulo-sched.c (pass_sms): Likewise. | |
18303 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
18304 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
18305 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
18306 | (pass_tree_loop_done): Likewise. | |
18307 | * tree-ssa-pre.c (execute_pre): Likewise. | |
18308 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
18309 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
18310 | * tree-vrp.c (pass_vrp): Likewise. | |
18311 | ||
c6150df6 NF |
18312 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
18313 | ||
c7dd803e EB |
18314 | * config/v850/constraints.md: New file. |
18315 | * config/v850/v850.md: Include it. | |
18316 | * config/v850/predicates.md (reg_or_0_operand): Use | |
18317 | satisfies_constraint_G. | |
18318 | (special_symbolref_operand): Use satisfies_constraint_K. | |
18319 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
18320 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
18321 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
18322 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
18323 | (EXTRA_CONSTRAINT): Delete. | |
18324 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
18325 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
18326 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 18327 | |
30dd1ea3 AS |
18328 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
18329 | ||
18330 | PR target/47696 | |
18331 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
18332 | description. | |
18333 | ||
944f4bb3 NF |
18334 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
18335 | ||
18336 | * config/mcore/constraints.md: New file. | |
18337 | * config/mcore/mcore.md: Include it. | |
18338 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
18339 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
18340 | (REG_CLASS_FROM_LETTER): Delete. | |
18341 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
18342 | insn_const_int_ok_for_constraint. | |
18343 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
18344 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
18345 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
18346 | (EXTRA_CONSTRAINT): Delete. | |
18347 | ||
ad56a54c RO |
18348 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18349 | ||
18350 | PR ada/41929 | |
18351 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
18352 | (IS_SIGHANDLER): Define. | |
18353 | (sparc64_is_sighandler): New function, split off from | |
18354 | sparc64_fallback_frame_state. | |
18355 | (sparc_is_sighandler): New function, split off from | |
18356 | sparc_fallback_frame_state. | |
18357 | (sparc64_fallback_frame_state): Merge with ... | |
18358 | (sparc_fallback_frame_state): ... this into ... | |
18359 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
18360 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
18361 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
18362 | stack instead of hardcoded offsets. | |
ad56a54c | 18363 | |
fbf4bfd3 | 18364 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
18365 | |
18366 | PR target/45808 | |
18367 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
18368 | ||
029c8f3e RW |
18369 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18370 | ||
18371 | * configure: Regenerate. | |
18372 | ||
a016dc83 JM |
18373 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
18374 | ||
18375 | PR driver/45731 | |
18376 | * gcc.c (asm_options): Correct spec matching --target-help. | |
18377 | ||
8957a0ec MJ |
18378 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
18379 | ||
18380 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
18381 | to gimple call error. | |
18382 | ||
6ef828bc MS |
18383 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
18384 | ||
18385 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
18386 | comments in backslash regions. | |
18387 | ||
a4015be5 MS |
18388 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
18389 | Jakub Jelinek <jakub@redhat.com> | |
18390 | Iain Sandoe <iains@gcc.gnu.org> | |
18391 | ||
18392 | PR target/47324 | |
18393 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
18394 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
18395 | (output_loc_sequence): Likewise. | |
18396 | (output_loc_operands_raw): Likewise. | |
18397 | (output_loc_sequence_raw): Likewise. | |
18398 | (output_cfa_loc): Likewise. | |
18399 | (output_loc_list): Suppress register number adjustment when | |
18400 | calling output_loc_sequence() | |
18401 | (output_die): Likewise. | |
18402 | ||
5378dda2 AS |
18403 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
18404 | ||
18405 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
18406 | Remove macros. | |
18407 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
18408 | xtensa_memory_move_cost): New functions. | |
18409 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
18410 | ||
f3d533d3 AO |
18411 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
18412 | ||
18413 | PR lto/47225 | |
18414 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
18415 | in the current directory. | |
18416 | * configure: Rebuilt. | |
18417 | ||
9d53403c IS |
18418 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
18419 | ||
18420 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 18421 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
18422 | correct indents of the preceding block. |
18423 | ||
a350a6c8 IS |
18424 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
18425 | ||
18426 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
18427 | the switch. | |
18428 | ||
bab79a40 JM |
18429 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
18430 | ||
18431 | * common.opt (nostartfiles): New Driver option. | |
18432 | ||
1bbc6693 XDL |
18433 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
18434 | ||
18435 | PR tree-optimization/47707 | |
18436 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
18437 | ||
1da7d8c0 EB |
18438 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
18439 | ||
18440 | PR tree-optimization/47420 | |
18441 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
18442 | ||
18443 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
18444 | |
18445 | PR rtl-optimization/47614 | |
18446 | * rtl.h (check_for_inc_dec): Declare. | |
18447 | * dse.c (check_for_inc_dec): Externalize... | |
18448 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
18449 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
18450 | ||
4df47bca JM |
18451 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
18452 | ||
18453 | PR driver/47678 | |
18454 | * gcc.c (main): Do not compile inputs if there were errors in | |
18455 | option handling. | |
18456 | * opts-common.c (read_cmdline_option): Check for wrong language | |
18457 | after other error checks. | |
18458 | ||
61502ca8 NF |
18459 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
18460 | ||
18461 | * cgraph.c: Fix comment typos. | |
18462 | * cgraph.h: Likewise. | |
18463 | * cgraphunit.c: Likewise. | |
18464 | * ipa-cp.c: Likewise. | |
18465 | * ipa-inline.c: Likewise. | |
18466 | * ipa-prop.c: Likewise. | |
18467 | * ipa-pure-const.c: Likewise. | |
18468 | * ipa-ref.c: Likewise. | |
18469 | * ipa-reference.c: Likewise. | |
18470 | ||
b63f974e JJ |
18471 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
18472 | ||
d50c5e0c JJ |
18473 | PR debug/47684 |
18474 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 18475 | |
6dd2a13c RO |
18476 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18477 | ||
18478 | PR testsuite/47400 | |
18479 | * doc/sourcebuild.texi (Require Support): Document | |
18480 | dg-require-ascii-locale. | |
18481 | ||
4a087ccf MX |
18482 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
18483 | ||
18484 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
18485 | ||
a4403164 DD |
18486 | 2011-02-10 DJ Delorie <dj@redhat.com> |
18487 | ||
18488 | * config/m32c/m32c.c (m32c_option_override): Disable | |
18489 | -fcombine-stack-adjustments until flag value tracking and compare | |
18490 | optimization can be rewritten. | |
18491 | ||
4fac45bd PB |
18492 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
18493 | ||
18494 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
18495 | PROCESSOR_POWER7. | |
18496 | (PROCESSOR_DEFAULT64): Likewise. | |
18497 | ||
72602cd1 RH |
18498 | 2011-02-10 Richard Henderson <rth@redhat.com> |
18499 | ||
18500 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
18501 | change from 2011-02-03. | |
18502 | * config/rx/rx.c (flags_from_code): Likewise. | |
18503 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
18504 | is valid, n/pz otherwise. | |
18505 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
18506 | ||
ea57f573 RG |
18507 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
18508 | ||
ea4c3e65 | 18509 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 18510 | |
92b1d23b RG |
18511 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
18512 | ||
18513 | PR tree-optimization/47677 | |
18514 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
18515 | ||
525a2d06 JJ |
18516 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
18517 | ||
18518 | PR target/47665 | |
18519 | * combine.c (make_compound_operation): Only change shifts into | |
18520 | multiplication for SCALAR_INT_MODE_P. | |
18521 | ||
06c969bd JZ |
18522 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
18523 | ||
18524 | PR testsuite/47622 | |
18525 | Revert | |
18526 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
18527 | PR debug/42631 | |
18528 | * web.c (entry_register): Don't clobber the number of the | |
18529 | first uninitialized reference in used[]. | |
18530 | ||
282ec48e RG |
18531 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
18532 | ||
18533 | PR tree-optimization/47664 | |
18534 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
18535 | all edges again. | |
18536 | ||
df98c3e8 DE |
18537 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
18538 | ||
d0f21cd6 DE |
18539 | PR target/46481 |
18540 | PR target/47032 | |
df98c3e8 DE |
18541 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
18542 | PROCESSOR_POWER7. | |
18543 | (PROCESSOR_DEFAULT64): Same. | |
18544 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
18545 | ||
67b6839f RO |
18546 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18547 | ||
18548 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
18549 | ||
4fd73214 MJ |
18550 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
18551 | ||
18552 | PR middle-end/45505 | |
18553 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
18554 | grp_scalar_write. Changed description of assignment read and write | |
18555 | flags. | |
18556 | (dump_access): Dump new flags, reorder all of them. | |
18557 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
18558 | to detect multiple scalar reads. | |
18559 | (analyze_access_subtree): Use the new scalar read write flags instead | |
18560 | of the old flags. Adjusted comments. | |
18561 | ||
91140cd3 DD |
18562 | 2011-02-08 DJ Delorie <dj@redhat.com> |
18563 | ||
18564 | PR target/47548 | |
18565 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
18566 | patterns. | |
18567 | ||
4254bbfe JM |
18568 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18569 | ||
18570 | * config/m68k/uclinux.opt: New. | |
18571 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
18572 | ||
f1fda84e JM |
18573 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18574 | ||
18575 | * config/cris/elf.opt (sim): New Driver option. | |
18576 | ||
4933ae74 JM |
18577 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18578 | ||
18579 | * config/xtensa/elf.opt: New. | |
18580 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
18581 | ||
4ad70280 JM |
18582 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18583 | ||
18584 | * config/vax/elf.opt: New. | |
18585 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
18586 | ||
20893707 JM |
18587 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18588 | ||
18589 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
18590 | ||
b8e7038e JM |
18591 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18592 | ||
18593 | * config/gnu-user.opt: New. | |
18594 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
18595 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
18596 | *-*-uclinux*): Use gnu-user.opt. | |
18597 | ||
e1c5225a TS |
18598 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
18599 | ||
18600 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
18601 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
18602 | ||
5e46b0c6 ILT |
18603 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
18604 | ||
18605 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
18606 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
18607 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
18608 | (fassociative-math, freciprocal-math): Likewise. | |
18609 | (funsafe-math-optimizations): Likewise. | |
18610 | * opth-gen.awk: Handle SetByCombined. | |
18611 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 18612 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
18613 | (set_unsafe_math_optimizations_flags): Likewise. |
18614 | * doc/options.texi (Option properties): Document SetByCombined. | |
18615 | ||
32243d46 JM |
18616 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18617 | ||
18618 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
18619 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
18620 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
18621 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
18622 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
18623 | ||
479c1fb3 SP |
18624 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
18625 | ||
18626 | PR tree-optimization/46834 | |
18627 | PR tree-optimization/46994 | |
18628 | PR tree-optimization/46995 | |
18629 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
18630 | (detect_commutative_reduction): Call used_outside_reduction. | |
18631 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
18632 | translate_scalar_reduction_to_array only when at least one | |
18633 | loop-phi/close-phi tuple has been detected. | |
18634 | ||
3865a06f RG |
18635 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
18636 | ||
18637 | PR middle-end/47639 | |
18638 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
18639 | stmts here ... | |
18640 | (expand_vector_operations): ... not here. Cleanup EH info | |
18641 | and the CFG if required. | |
18642 | ||
62902f3f RG |
18643 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
18644 | ||
18645 | PR tree-optimization/47641 | |
18646 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
18647 | require type compatibility. | |
18648 | ||
0efb9d64 AK |
18649 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
18650 | ||
18651 | * gimple-low.c (lower_function_body): Don't remove the location of | |
18652 | the return statement here. | |
18653 | (lower_gimple_return): Do it here instead but only if the return | |
18654 | statement is actually used twice. | |
18655 | ||
034b8ae4 RG |
18656 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
18657 | ||
18658 | PR tree-optimization/47632 | |
18659 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
18660 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
18661 | necessary, remove EH info properly. | |
18662 | (forward_propagate_into_gimple_cond): Adjust caller. | |
18663 | (forward_propagate_into_cond): Likewise. | |
18664 | (forward_propagate_comparison): Likewise. | |
18665 | (tree_ssa_forward_propagate_single_use_vars): Make | |
18666 | forward_propagate_comparison case similar to the two others. | |
18667 | ||
298362c8 NC |
18668 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
18669 | ||
18670 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
18671 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
18672 | (liw_bundling): New automaton. | |
18673 | (liw): New attribute. | |
18674 | (liw_op): New attribute. | |
18675 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
18676 | (movsi_internal): Add LIW attributes. | |
18677 | (andsi3): Likewise. | |
18678 | (iorsi3): Likewise. | |
18679 | (xorsi3): Likewise. | |
18680 | (addsi3): Separate register and immediate alternatives. | |
18681 | Add LIW attributes. | |
18682 | (subsi3): Likewise. | |
18683 | (cmpsi): Likewise. | |
18684 | (aslsi3): Likewise. | |
18685 | (lshrsi3): Likewise. | |
18686 | (ashrsi3): Likewise. | |
18687 | (liw): New pattern. | |
18688 | * config/mn10300/mn10300.c (liw_op_names): New | |
18689 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
18690 | (extract_bundle): New function. | |
18691 | (check_liw_constraints): New function. | |
18692 | (liw_candidate): New function. | |
18693 | (mn10300_bundle_liw): New function. | |
18694 | (mn10300_reorg): New function. | |
18695 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
18696 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
18697 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
18698 | __LIW__ or __NO_LIW__. | |
18699 | * doc/invoke.texi: Describe the -mliw command line option. | |
18700 | ||
90488014 JDA |
18701 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18702 | ||
18703 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
18704 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
18705 | pthread_mutex_unlock): Remove. | |
18706 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
18707 | * config/pa/t-pa64: Likewise. | |
18708 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
18709 | shared libc if not linking against libpthread. | |
18710 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
18711 | ||
689ff841 IS |
18712 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
18713 | ||
18714 | PR target/47558 | |
18715 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
18716 | on 10.6 and later to ensure that we always use the unwinder from | |
18717 | the system. Only add -no_compact_unwind when tarteting darwin | |
18718 | 10.6 or later. | |
18719 | ||
821014aa SE |
18720 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
18721 | ||
18722 | PR target/46997 | |
18723 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
18724 | (vec_interleave_lowv2sf): Ditto. | |
18725 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
18726 | (vec_extract_oddv2sf): Ditto. | |
18727 | ||
41cf94fb MS |
18728 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
18729 | ||
62dea57d | 18730 | PR target/42333 |
41cf94fb MS |
18731 | Add __ieee_divdc3 entry point. |
18732 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
18733 | entry point. | |
18734 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
18735 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
18736 | * config/darwin.c (darwin_rename_builtins): Add. | |
18737 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
18738 | ||
ee09a3dd MM |
18739 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
18740 | ||
18741 | PR target/47636 | |
18742 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
18743 | for the condition. | |
18744 | ||
83296cd0 MS |
18745 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
18746 | ||
ea4c3e65 | 18747 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 18748 | |
0f4e946f DC |
18749 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
18750 | ||
18751 | PR target/47534 | |
18752 | * config/avr/libgcc.S (exit): Move .endfunc | |
18753 | ||
1ec87690 RG |
18754 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
18755 | ||
18756 | PR tree-optimization/47615 | |
18757 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
18758 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
18759 | (run_scc_vn): Initialize it. | |
18760 | (visit_reference_op_load): Use it. | |
18761 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
18762 | ||
b46ae6da UW |
18763 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
18764 | ||
18765 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
18766 | DImode trapping arithmetic libfuncs. | |
18767 | ||
c0aae19c RG |
18768 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
18769 | ||
18770 | PR tree-optimization/47621 | |
18771 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
18772 | two duplicates ... | |
18773 | (execute_update_addresses_taken): ... here. Make it more | |
18774 | conservative in what we accept. | |
18775 | ||
295d926b JM |
18776 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
18777 | ||
18778 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
18779 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
18780 | ||
bdeb2471 JM |
18781 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
18782 | ||
18783 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
18784 | ||
d5d3781a SB |
18785 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
18786 | ||
18787 | * doc/invoke.texi: Remove reference to compiler internals from | |
18788 | user documentation. | |
18789 | ||
18790 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
18791 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
18792 | ||
c42c09fc JJ |
18793 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
18794 | ||
18795 | PR middle-end/47610 | |
18796 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 18797 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 18798 | |
beea2755 JZ |
18799 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
18800 | ||
18801 | PR debug/42631 | |
18802 | * web.c (entry_register): Don't clobber the number of the | |
18803 | first uninitialized reference in used[]. | |
18804 | ||
a130584a SP |
18805 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
18806 | ||
18807 | PR tree-optimization/46194 | |
18808 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
18809 | (build_classic_dist_vector_1): Do not represent classic distance | |
18810 | vectors when the access functions are variating in different loops. | |
18811 | ||
962101ac JM |
18812 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
18813 | ||
18814 | * config/mips/iris6.opt: New. | |
18815 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
18816 | ||
55eaaa5b RH |
18817 | 2011-02-04 Richard Henderson <rth@redhat.com> |
18818 | Steve Ellcey <sje@cup.hp.com> | |
18819 | ||
18820 | PR target/46997 | |
18821 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
18822 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
18823 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
18824 | (ia64_unpack_sign): New. | |
18825 | (ia64_expand_unpack): Rewrite using new routines. | |
18826 | (ia64_expand_widen_sum): Ditto. | |
18827 | (ia64_expand_dot_prod_v8qi): Ditto. | |
18828 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
18829 | routines, add endian check. | |
18830 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
18831 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
18832 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
18833 | (vec_widen_smult_hi_v4hi): Ditto. | |
18834 | (vec_widen_umult_lo_v4hi): Ditto. | |
18835 | (vec_widen_umult_hi_v4hi): Ditto. | |
18836 | (mulv2si3): Change endian checks. | |
18837 | (sdot_prodv4hi): Rewrite with new calls. | |
18838 | (udot_prodv4hi): New. | |
18839 | (vec_pack_ssat_v4hi): Add endian check. | |
18840 | (vec_pack_usat_v4hi): Ditto. | |
18841 | (vec_pack_ssat_v2si): Ditto. | |
18842 | (max1_even): Rename from max1_r, add endian check. | |
18843 | (max1_odd): Rename from max1_l, add endian check. | |
18844 | (*mux1_rev): Format change. | |
18845 | (*mux1_mix): Ditto. | |
18846 | (*mux1_shuf): Ditto. | |
18847 | (*mux1_alt): Ditto. | |
18848 | (*mux1_brcst_v8qi): Use new predicate. | |
18849 | (vec_extract_evenv8qi): Remove endian check. | |
18850 | (vec_extract_oddv8qi): Ditto. | |
18851 | (vec_interleave_lowv4hi): Format change. | |
18852 | (vec_interleave_highv4hi): Ditto. | |
18853 | (mix2_even): Rename from mix2_r, add endian check. | |
18854 | (mix2_odd): Rename from mux2_l, add endian check. | |
18855 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
18856 | (vec_extract_evenodd_helper): Format change. | |
18857 | (vec_extract_evenv4hi): Remove endian check. | |
18858 | (vec_extract_oddv4hi): Remove endian check. | |
18859 | (vec_interleave_lowv2si): Format change. | |
18860 | (vec_interleave_highv2si): Format change. | |
18861 | (vec_initv2si): Remove endian check. | |
18862 | (vecinit_v2si): Add endian check. | |
18863 | (reduc_splus_v2sf): Add endian check. | |
18864 | (reduc_smax_v2sf): Ditto. | |
18865 | (reduc_smin_v2sf): Ditto. | |
18866 | (vec_initv2sf): Remove endian check. | |
18867 | (fpack): Add endian check. | |
18868 | (fswap): Add endian check. | |
18869 | (vec_interleave_highv2sf): Add endian check. | |
18870 | (vec_interleave_lowv2sf): Add endian check. | |
18871 | (fmix_lr): Add endian check. | |
18872 | (vec_setv2sf): Format change. | |
18873 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
18874 | (*vec_extractv2sf_1_be): New. | |
18875 | (vec_pack_trunc_v4hi): Add endian check. | |
18876 | (vec_pack_trunc_v2si): Format change. | |
18877 | ||
dcde5957 JJ |
18878 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
18879 | ||
18880 | PR inline-asm/23200 | |
18881 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 18882 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
18883 | (stmt_is_replaceable_p): New function. |
18884 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
18885 | callers. | |
18886 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
18887 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
18888 | SSA_NAME_DEF_STMT. | |
18889 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
18890 | ||
a64a8e5a JM |
18891 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
18892 | ||
18893 | * config/rs6000/xilinx.opt: New. | |
18894 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
18895 | ||
4da2ed2f JM |
18896 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
18897 | ||
18898 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
18899 | ||
a6e508f9 AS |
18900 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
18901 | ||
18902 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
18903 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
18904 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
18905 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
18906 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
18907 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
18908 | (xtensa_preferred_reload_class): Make static. Change return and | |
18909 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
18910 | Use CONST_DOUBLE_P predicate. | |
18911 | (xtensa_preferred_output_reload_class): New function. | |
18912 | (xtensa_secondary_reload): Make static. | |
18913 | ||
82dc0de3 JM |
18914 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
18915 | ||
18916 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
18917 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
18918 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
18919 | ||
7fece979 JJ |
18920 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
18921 | ||
18922 | PR middle-end/31490 | |
18923 | * output.h (SECTION_RELRO): Define. | |
18924 | (SECTION_MACH_DEP): Adjust. | |
18925 | (get_variable_section): New prototype. | |
18926 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
18927 | (varpool_assemble_pending_decls): Call it. | |
18928 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
18929 | * cgraphunit.c (cgraph_output_in_order): Call | |
18930 | varpool_finalize_named_section_flags. | |
18931 | * varasm.c (get_section): Allow section flags conflicts between | |
18932 | relro and read-only sections if the section hasn't been declared yet. | |
18933 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
18934 | (get_variable_section): No longer static. | |
18935 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
18936 | readonly sections that need relocations. | |
18937 | (decl_readonly_section_1): New function. | |
18938 | (decl_readonly_section): Use it. | |
18939 | ||
18940 | Revert: | |
509d65dd | 18941 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
18942 | Steve Ellcey <sje@cup.hp.com> |
18943 | ||
18944 | PR middle-end/31490 | |
18945 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
18946 | if section attribute used. | |
18947 | ||
d18d5478 JJ |
18948 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
18949 | ||
18950 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
18951 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
18952 | (darwin_init_sections): Remove assertion. | |
18953 | ||
6479ed4b NC |
18954 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
18955 | ||
18956 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
18957 | lt and ge. | |
38be4072 | 18958 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
18959 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
18960 | instead of "n" and "pz". | |
18961 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
18962 | CC_FLAG_S. | |
18963 | ||
89843f5d JJ |
18964 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
18965 | ||
65450d64 JJ |
18966 | PR target/47312 |
18967 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
18968 | fma, expand FMA_EXPR as fma{,f,l} call. | |
18969 | ||
7d58701c JJ |
18970 | PR lto/47274 |
18971 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
18972 | copy them into a unsigned char variable and pass address of it to | |
18973 | lto_output_data_stream. | |
18974 | ||
89843f5d JJ |
18975 | PR target/47564 |
18976 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
18977 | around backend_init_target and lang_dependent_init_target calls. | |
18978 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
18979 | (verify_cgraph_node): Don't call set_cfun here. Use | |
18980 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
18981 | Set error_found for incorrectly represented calls to thunks. | |
18982 | ||
4deef538 AO |
18983 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
18984 | ||
18985 | PR debug/43092 | |
18986 | PR rtl-optimization/43494 | |
18987 | * rtl.h (for_each_inc_dec_fn): New type. | |
18988 | (for_each_inc_dec): Declare. | |
18989 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
18990 | (for_each_inc_dec_find_inc_dec): New fn. | |
18991 | (for_each_inc_dec_find_mem): New fn. | |
18992 | (for_each_inc_dec): New fn. | |
18993 | * dse.c (struct insn_size): Remove. | |
18994 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
18995 | (emit_inc_dec_insn_before): New fn. | |
18996 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
18997 | (canon_address): Pass mem modes to cselib_lookup. | |
18998 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
18999 | (cselib_lookup_from_insn): Likewise. | |
19000 | (cselib_subst_to_values): Likewise. | |
19001 | * cselib.c (find_slot_memmode): New var. | |
19002 | (cselib_find_slot): New fn. Use it instead of | |
19003 | htab_find_slot_with_hash everywhere. | |
19004 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
19005 | (autoinc_split): New fn. | |
19006 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
19007 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
19008 | Deal with autoinc. Special-case recursion into MEMs. | |
19009 | (cselib_hash_rtx): Likewise. | |
19010 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
19011 | address and MEM modes. | |
19012 | (cselib_subst_to_values): Add memmode, pass it on. | |
19013 | Deal with autoinc. | |
19014 | (cselib_lookup): Add memmode argument, pass it on. | |
19015 | (cselib_lookup_from_insn): Add memmode. | |
19016 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
19017 | (struct cselib_record_autoinc_data): New. | |
19018 | (cselib_record_autoinc_cb): New fn. | |
19019 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
19020 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
19021 | (cselib_process_insn): ... here. | |
19022 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
19023 | to cselib_lookup. | |
19024 | (add_uses): Likewise, also to cselib_subst_to_values. | |
19025 | (add_stores): Likewise. | |
19026 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
19027 | cselib_subst_to_values. | |
19028 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
19029 | * gcse.c (do_local_cprop): Adjusted. | |
19030 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
19031 | (reload_cse_simplify_operands): Adjusted. | |
19032 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
19033 | ||
1551d44a AO |
19034 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
19035 | ||
19036 | PR tree-optimization/45122 | |
19037 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
19038 | unsafe assumptions when there's more than one loop exit. | |
19039 | ||
c9485473 MM |
19040 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
19041 | ||
19042 | PR target/47272 | |
19043 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
19044 | Document using vector double with the load/store builtins, and | |
19045 | that the load/store builtins always use Altivec instructions. | |
19046 | ||
19047 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
19048 | to use altivec memory instructions, even on VSX. | |
19049 | (vector_altivec_store_<mode>): Ditto. | |
19050 | ||
19051 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
19052 | function. | |
19053 | ||
19054 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
19055 | V2DF, V2DI support to load/store overloaded builtins. | |
19056 | ||
19057 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
19058 | altivec load/store builtins for V2DF/V2DI types. | |
19059 | ||
19060 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
19061 | set avoid indexed addresses on power6 if -maltivec. | |
19062 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
19063 | vector_altivec_load/vector_altivec_store builtins. | |
19064 | (altivec_expand_st_builtin): Ditto. | |
19065 | (altivec_expand_builtin): Add VSX memory builtins. | |
19066 | (rs6000_init_builtins): Add V2DI types to internal types. | |
19067 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
19068 | load/store builtins. | |
19069 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
19070 | for Altivec. | |
19071 | ||
19072 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
19073 | vec_vsx_ld and vec_vsx_st. | |
19074 | (vsx_store_<mode>): Ditto. | |
19075 | ||
19076 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
19077 | variables to hold long long types for VSX vector memory builtins. | |
19078 | (RS6000_BTI_unsigned_long_long): Ditto. | |
19079 | (long_long_integer_type_internal_node): Ditti. | |
19080 | (long_long_unsigned_type_internal_node): Ditti. | |
19081 | ||
19082 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
19083 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
19084 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
19085 | ||
19086 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
19087 | short cuts. | |
19088 | (vec_vsx_st): Ditto. | |
19089 | ||
b24d1acf JM |
19090 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
19091 | ||
19092 | * config/pa/pa-hpux10.opt: New. | |
19093 | * config/hpux11.opt (pthread): New Driver option. | |
19094 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
19095 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
19096 | ||
aa18dd0f JM |
19097 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
19098 | ||
19099 | * config/ia64/vms.opt: New. | |
19100 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
19101 | ||
28fc3eee MM |
19102 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
19103 | ||
19104 | PR target/47580 | |
19105 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
19106 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
19107 | generator functions. | |
19108 | (vsx_floatuns<VSi><mode>2): Ditto. | |
19109 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
19110 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
19111 | ||
b5838b1f JM |
19112 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
19113 | ||
19114 | * config/i386/djgpp.opt (posix): New Driver option. | |
19115 | ||
0db8fa89 GP |
19116 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
19117 | ||
19118 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
19119 | Move to the unsupported targets list. | |
19120 | ||
9cd4f22a PB |
19121 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
19122 | ||
19123 | PR rtl-optimization/47525 | |
19124 | * df-scan.c: Update copyright years. | |
19125 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
19126 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
19127 | ||
9ed8059c RO |
19128 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19129 | ||
19130 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
19131 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
19132 | (ASM_OUTPUT_ASCII): Remove. | |
19133 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
19134 | ||
2a737389 JL |
19135 | 2011-02-02 Jeff Law <law@redhat.com> |
19136 | ||
19137 | PR middle-end/47543 | |
19138 | * reload.c (find_reloads_address): Handle reg+d address where both | |
19139 | components are invalid by reloading the entire address. | |
19140 | ||
9dac82c4 SP |
19141 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
19142 | Richard Guenther <rguenther@suse.de> | |
19143 | ||
19144 | PR tree-optimization/40979 | |
19145 | PR bootstrap/47044 | |
19146 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
19147 | and DCE to clean up. | |
19148 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
19149 | ||
14dd9aab SP |
19150 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
19151 | ||
19152 | PR tree-optimization/47576 | |
19153 | PR tree-optimization/47555 | |
19154 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
19155 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
19156 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
19157 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
19158 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
19159 | ||
5cbf5c20 RG |
19160 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
19161 | ||
19162 | PR tree-optimization/47566 | |
19163 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
19164 | ||
83d70792 AO |
19165 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
19166 | ||
e829c321 AO |
19167 | PR debug/47106 |
19168 | PR debug/47402 | |
19169 | * tree-inline.c (declare_return_variable): Remove unused caller | |
19170 | variable. | |
19171 | ||
83d70792 AO |
19172 | PR debug/47106 |
19173 | PR debug/47402 | |
19174 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
19175 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
19176 | * tree-nrv.c (tree_nrv): Likewise. | |
19177 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
19178 | (dump_scope_block): Likewise. | |
19179 | (remove_unused_locals): Likewise. | |
19180 | ||
aaa2ac93 AO |
19181 | PR debug/47106 |
19182 | PR debug/47402 | |
19183 | * tree-inline.c (declare_return_variable): Add result decl to | |
19184 | local decls only once. | |
19185 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
19186 | as referenced. | |
19187 | ||
a59d15cf AO |
19188 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
19189 | ||
19190 | PR debug/47498 | |
19191 | PR debug/47501 | |
19192 | PR debug/45136 | |
19193 | PR debug/45130 | |
19194 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
19195 | debug insns. | |
19196 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
19197 | treatment of boundary debug insns. | |
38be4072 | 19198 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
19199 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
19200 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
19201 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
19202 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
19203 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
19204 | boundary debug insns. | |
19205 | * final.c (rest_of_clean_state): Clear notes' BB. | |
19206 | ||
6fc2f091 JM |
19207 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
19208 | ||
19209 | * config/openbsd.opt (assert=): New Driver option. | |
19210 | ||
fc523387 JM |
19211 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
19212 | ||
19213 | * config/i386/nto.opt: New. | |
19214 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
19215 | ||
6d9821e5 JM |
19216 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
19217 | ||
19218 | * config/i386/netware.opt: New. | |
19219 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
19220 | ||
cef932d4 JM |
19221 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
19222 | ||
19223 | * config/interix.opt (posix): New Driver option. | |
19224 | ||
22843acd DD |
19225 | 2011-02-01 DJ Delorie <dj@redhat.com> |
19226 | ||
56490b74 DD |
19227 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
19228 | ||
22843acd DD |
19229 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
19230 | class for A0/A1. | |
19231 | ||
199c8f2f SP |
19232 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
19233 | ||
19234 | PR tree-optimization/47561 | |
19235 | * toplev.c (process_options): Print the Graphite flags. Add | |
19236 | flag_loop_flatten to the list of options requiring Graphite. | |
19237 | ||
926bcf22 JM |
19238 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
19239 | ||
19240 | * config/i386/cygming.opt (posix): New Driver option. | |
19241 | ||
59793c51 JM |
19242 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
19243 | ||
19244 | * config/arm/vxworks.opt: New. | |
19245 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
19246 | ||
183c38a4 JM |
19247 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
19248 | ||
19249 | * config/alpha/elf.opt: New. | |
19250 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
19251 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
19252 | ||
9939e416 RG |
19253 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
19254 | ||
19255 | PR tree-optimization/47559 | |
19256 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
19257 | store-motion on references that can throw. | |
19258 | ||
4a3c9687 BS |
19259 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
19260 | ||
19261 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
19262 | * tree-pass.h (TDF_CSELIB): New macro. | |
19263 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
19264 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
19265 | ||
dd3b31fb L |
19266 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
19267 | ||
19268 | PR driver/47547 | |
19269 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
19270 | is HOST_BIT_BUCKET. | |
19271 | ||
19272 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
19273 | HOST_BIT_BUCKET. | |
19274 | ||
34c1de79 RG |
19275 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
19276 | ||
19277 | PR tree-optimization/47555 | |
19278 | Revert | |
19279 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
19280 | ||
19281 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
19282 | ||
dd2804d2 SB |
19283 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
19284 | ||
19285 | PR gcc/46692 | |
19286 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
19287 | ||
3fd3b156 RG |
19288 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
19289 | ||
19290 | PR tree-optimization/47541 | |
19291 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
19292 | sure to have a field at offset zero. | |
19293 | ||
f16072b6 JM |
19294 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
19295 | ||
19296 | * config/arc/arc.opt (EB, EL): New Driver options. | |
19297 | ||
6456cf2e JM |
19298 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
19299 | ||
19300 | * config/alpha/osf5.opt: New. | |
19301 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
19302 | ||
cdde6ab4 JM |
19303 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
19304 | ||
19305 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
19306 | ||
7633415c SP |
19307 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
19308 | ||
19309 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
19310 | -floop-interchange. | |
19311 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
19312 | is an alias of -floop-interchange and that it requires the | |
19313 | Graphite infrastructure. | |
19314 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
19315 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
19316 | ||
0425d6f5 JJ |
19317 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
19318 | Richard Guenther <rguenther@suse.de> | |
19319 | ||
19320 | PR tree-optimization/47538 | |
19321 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
19322 | type instead of r1type, except for comparisons. For right | |
19323 | shifts and comparisons punt if there are mismatches in | |
19324 | sizetype vs. non-sizetype types. | |
19325 | ||
500b16c3 RO |
19326 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19327 | ||
19328 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
19329 | avx_runtime. | |
19330 | ||
e279edb0 RO |
19331 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19332 | ||
19333 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
19334 | version number. | |
19335 | * configure: Regenerate. | |
19336 | ||
c6092243 RO |
19337 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19338 | ||
19339 | * configure.ac (gcc_cv_ld_static_option): Define. | |
19340 | (gcc_cv_ld_dynamic_option): Define. | |
19341 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
19342 | instead. | |
19343 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
19344 | (LD_STATIC_OPTION): Define. | |
19345 | (LD_DYNAMIC_OPTION): Define. | |
19346 | * configure: Regenerate. | |
19347 | * config.in: Regenerate. | |
19348 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
19349 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
19350 | ||
d7862be3 NC |
19351 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
19352 | ||
19353 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
19354 | registers inside interrupt handlers if the handler is not a leaf | |
19355 | function. | |
19356 | ||
ba4ec0e0 NC |
19357 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
19358 | ||
19359 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
19360 | reg_renumber returning an INVALID_REGNUM. | |
19361 | ||
29a63921 AO |
19362 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
19363 | ||
19364 | PR libgcj/44341 | |
19365 | * doc/install.texi: Document host options discarded when cross | |
19366 | configuring target libraries. | |
19367 | ||
ef591d3f AO |
19368 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
19369 | ||
19370 | Reverted: | |
19371 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
19372 | PR debug/45136 | |
19373 | PR debug/45130 | |
19374 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
19375 | debug insns. | |
19376 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
19377 | treatment of boundary debug insns. | |
38be4072 | 19378 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
19379 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
19380 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
19381 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
19382 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
19383 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
19384 | boundary debug insns. | |
19385 | * final.c (rest_of_clean-state): Clear notes' BB. | |
19386 | ||
61052244 AM |
19387 | 2011-01-31 Alan Modra <amodra@gmail.com> |
19388 | ||
19389 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
19390 | toc relative expressions as we do in print_operand_address. | |
19391 | ||
c4c8962b KH |
19392 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
19393 | ||
19394 | * doc/extend.texi: Follow spelling conventions. | |
19395 | * doc/invoke.texi: Fix a typo. | |
19396 | ||
e543b94c JM |
19397 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
19398 | ||
19399 | * config/hpux11.opt: New. | |
19400 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
19401 | ia64*-*-hpux*): Use hpux11.opt. | |
19402 | ||
509d65dd | 19403 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
19404 | |
19405 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
19406 | to tmake_file. | |
19407 | ||
7be03a0e GP |
19408 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
19409 | ||
19410 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
19411 | support sites. | |
19412 | ||
419d1d37 GP |
19413 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
19414 | ||
b596ed64 GP |
19415 | * doc/install.texi (Binaries): Remove outdated reference for |
19416 | Motorola 68HC11/68HC12 downloads. | |
19417 | ||
19418 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 19419 | |
419d1d37 GP |
19420 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
19421 | Drepper's paper. | |
19422 | ||
4406d0e9 JW |
19423 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
19424 | ||
19425 | PR bootstrap/47147 | |
19426 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
19427 | used by NetBSD. | |
19428 | ||
38be4072 | 19429 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
19430 | |
19431 | * value-prof.c (check_counter): Corrected error message. | |
19432 | ||
0cd98787 JZ |
19433 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
19434 | ||
19435 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
19436 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
19437 | arm_legitimize_reload_address. | |
38be4072 | 19438 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 19439 | |
9b798ac5 ILT |
19440 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
19441 | ||
19442 | * godump.c (go_define): Ignore macros whose definitions include | |
19443 | two adjacent operands. | |
19444 | ||
591e29d9 JJ |
19445 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
19446 | ||
19447 | PR target/42894 | |
19448 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
19449 | instead of x itself. | |
19450 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
19451 | itself into REG_EQUAL note. | |
19452 | ||
62dcc44a JM |
19453 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
19454 | ||
19455 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
19456 | ||
c9f58b9a RO |
19457 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19458 | ||
19459 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
19460 | -Bstatic/-Bdynamic. | |
19461 | * configure: Regenerate. | |
19462 | ||
5f02b9db JM |
19463 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
19464 | ||
19465 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
19466 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
19467 | ||
5df97412 AS |
19468 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
19469 | ||
19470 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
19471 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
19472 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
19473 | (s390_preferred_reload_class): Make static. Change return and | |
19474 | 'rclass' argument type to reg_class_t. | |
19475 | ||
779d4b91 JH |
19476 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
19477 | ||
19478 | PR middle-end/46949 | |
19479 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
19480 | (process_function_and_variable_attributes): Check defined weakrefs. | |
19481 | ||
e80b21ed MJ |
19482 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
19483 | ||
19484 | PR tree-optimization/47228 | |
19485 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
19486 | build_ref_for_offset. | |
19487 | ||
6dcc4f31 UW |
19488 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19489 | ||
19490 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
19491 | ||
509d65dd | 19492 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
19493 | |
19494 | PR rtl-optimization/46856 | |
19495 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
19496 | separate cc0 setter and user on cc0 targets. | |
19497 | ||
04af8788 NP |
19498 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
19499 | ||
19500 | PR c/43082 | |
19501 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
19502 | passed a VOID_TYPE expression, immediately emit an error and | |
19503 | return error_mark_node. | |
19504 | ||
f7a60085 JL |
19505 | 2011-01-26 Jeff Law <law@redhat.com> |
19506 | ||
19507 | PR rtl-optimization/47464 | |
19508 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
19509 | rather than may_trap_p as needed. | |
19510 | ||
5c2917ec DD |
19511 | 2011-01-26 DJ Delorie <dj@redhat.com> |
19512 | ||
19513 | PR rtl-optimization/46878 | |
19514 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
19515 | setter/user dependency as well. | |
19516 | ||
bef16e87 EB |
19517 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
19518 | ||
19519 | PR rtl-optimization/44469 | |
19520 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
19521 | after removing trivially dead basic blocks. | |
19522 | ||
c75d884b JM |
19523 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19524 | ||
19525 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
19526 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
19527 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
19528 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
19529 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
19530 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
19531 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
19532 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
19533 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
19534 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
19535 | ||
d3153553 JM |
19536 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19537 | ||
19538 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
19539 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
19540 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
19541 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
19542 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
19543 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
19544 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
19545 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
19546 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
19547 | ||
b89b1e9d JM |
19548 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19549 | ||
19550 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
19551 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
19552 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
19553 | ||
12eb1a9c JM |
19554 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19555 | ||
19556 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
19557 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
19558 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
19559 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
19560 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
19561 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
19562 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
19563 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
19564 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
19565 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
19566 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
19567 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
19568 | ||
e435f098 SE |
19569 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
19570 | ||
19571 | PR target/46997 | |
19572 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
19573 | (*mux2): Ditto. | |
19574 | (vec_extract_evenodd_help): Ditto. | |
19575 | (vec_extract_evenv4hi): Ditto. | |
19576 | (vec_extract_oddv4hi): Ditto. | |
19577 | (vec_interleave_lowv2si): Ditto. | |
19578 | (vec_interleave_highv2si): Ditto. | |
19579 | (vec_extract_evenv2si): Ditto. | |
19580 | (vec_extract_oddv2si: Ditto. | |
19581 | (vec_pack_trunc_v2si): Ditto. | |
19582 | ||
34f0eee0 JH |
19583 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
19584 | ||
19585 | PR target/47237 | |
19586 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
19587 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
19588 | signature can change. | |
19589 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
19590 | can change. | |
19591 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
19592 | (cgraph_function_versioning): We can not change signature of functions | |
19593 | that don't allow that. | |
19594 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
19595 | (lto_input_node): Likewise. | |
38be4072 UB |
19596 | * ipa-inline.c (compute_inline_parameters): Compute |
19597 | local.can_change_signature. | |
34f0eee0 | 19598 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
19599 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
19600 | functions that can not change signature. | |
34f0eee0 | 19601 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
19602 | init_cumulative_args): Do not use local calling conventions |
19603 | for functions that can not change signature. | |
34f0eee0 | 19604 | |
980ca891 JH |
19605 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
19606 | ||
19607 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
19608 | ||
768e3c60 RG |
19609 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
19610 | ||
19611 | PR tree-optimization/47190 | |
61052244 AM |
19612 | * cgraphunit.c (process_common_attributes): New function. |
19613 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 19614 | |
21d6a1c7 RG |
19615 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
19616 | ||
19617 | PR lto/47423 | |
19618 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
19619 | function. | |
19620 | ||
48bb58b1 AO |
19621 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
19622 | ||
19623 | PR debug/45454 | |
19624 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
19625 | non-debug insns from moving up. | |
19626 | ||
58c741a6 DK |
19627 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
19628 | ||
19629 | PR target/40125 | |
19630 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
19631 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
19632 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
19633 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
19634 | * config/i386/t-dlldir: New file. | |
19635 | (SHLIB_DLLDIR): Define. | |
19636 | * config/i386/t-dlldir-x: New file. | |
19637 | (SHLIB_DLLDIR): Define. | |
19638 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
19639 | (SHLIB_INSTALL): Use it. | |
19640 | ||
bff99262 CLT |
19641 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
19642 | ||
19643 | PR target/47246 | |
19644 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
19645 | lower bound of the allowed Thumb-2 coprocessor load/store | |
19646 | index range to -256. Add explaining comment. | |
19647 | ||
82c03907 ILT |
19648 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
19649 | ||
19650 | * godump.c (go_define): Improve lexing of macro expansion to only | |
19651 | accept expressions which match Go spec. | |
19652 | ||
47ea1edf DK |
19653 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
19654 | ||
d4dba752 | 19655 | PR c++/43601 |
47ea1edf DK |
19656 | * tree.c (handle_dll_attribute): Handle it. |
19657 | * doc/extend.texi (@item dllexport): Mention it. | |
19658 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
19659 | ||
744f0946 ILT |
19660 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
19661 | ||
19662 | PR tree-optimization/26854 | |
19663 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
19664 | (decl_jump_unsafe): Move higher in file, with no other change. | |
19665 | (bind): Set has_jump_unsafe_decl if appropriate. | |
19666 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
19667 | (check_earlier_gotos): Likewise. | |
19668 | (c_check_switch_jump_warnings): Likewise. | |
19669 | ||
5734f2b3 JW |
19670 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
19671 | ||
19672 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
19673 | (-fprofile-dir): Minor grammatical fixes. | |
19674 | (-fbranch-probabilities): Likewise. | |
19675 | ||
9bdbdcef AO |
19676 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
19677 | ||
19678 | PR debug/45136 | |
19679 | PR debug/45130 | |
19680 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
19681 | debug insns. | |
19682 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
19683 | treatment of boundary debug insns. | |
38be4072 | 19684 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
19685 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
19686 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
19687 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
19688 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
19689 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
19690 | boundary debug insns. | |
19691 | * final.c (rest_of_clean-state): Clear notes' BB. | |
19692 | ||
b305e3da SP |
19693 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19694 | ||
19695 | * Makefile.in (LAMBDA_H): Removed. | |
19696 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
19697 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
19698 | lambda-trans.o, and tree-loop-linear.o. | |
19699 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
19700 | (tree-loop-linear.o): Remove rule. | |
19701 | (lambda-mat.o): Same. | |
19702 | (lambda-trans.o): Same. | |
19703 | (lambda-code.o): Same. | |
19704 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
19705 | (tree-vect-slp.o): Same. | |
19706 | * hwint.h (gcd): Moved here. | |
19707 | (least_common_multiple): Same. | |
19708 | * lambda-code.c: Removed. | |
19709 | * lambda-mat.c: Removed. | |
19710 | * lambda-trans.c: Removed. | |
19711 | * lambda.h: Removed. | |
19712 | * tree-loop-linear.c: Removed. | |
19713 | * lto-symtab.c: Do not include lambda.h. | |
19714 | * omega.c (gcd): Removed. | |
19715 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
19716 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
19717 | (lambda_vector_copy): Same. | |
19718 | (lambda_matrix_copy): Same. | |
19719 | (lambda_matrix_id): Same. | |
19720 | (lambda_vector_first_nz): Same. | |
19721 | (lambda_matrix_row_add): Same. | |
19722 | (lambda_matrix_row_exchange): Same. | |
19723 | (lambda_vector_mult_const): Same. | |
19724 | (lambda_vector_negate): Same. | |
19725 | (lambda_matrix_row_negate): Same. | |
19726 | (lambda_vector_equal): Same. | |
19727 | (lambda_matrix_right_hermite): Same. | |
19728 | * tree-data-ref.h: Do not include lambda.h. | |
19729 | (lambda_vector): Moved here. | |
19730 | (lambda_matrix): Same. | |
19731 | (dependence_level): Same. | |
19732 | (lambda_transform_legal_p): Removed declaration. | |
19733 | (lambda_collect_parameters): Same. | |
19734 | (lambda_compute_access_matrices): Same. | |
19735 | (lambda_vector_gcd): Same. | |
19736 | (lambda_vector_new): Same. | |
19737 | (lambda_vector_clear): Same. | |
19738 | (lambda_vector_lexico_pos): Same. | |
19739 | (lambda_vector_zerop): Same. | |
19740 | (lambda_matrix_new): Same. | |
19741 | * tree-flow.h (least_common_multiple): Removed declaration. | |
19742 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
19743 | (LTM_MATRIX): Same. | |
19744 | (LTM_ROWSIZE): Same. | |
19745 | (LTM_COLSIZE): Same. | |
19746 | (LTM_DENOMINATOR): Same. | |
19747 | (lambda_trans_matrix_new): Same. | |
19748 | (lambda_matrix_vector_mult): Same. | |
19749 | (lambda_transform_legal_p): Same. | |
19750 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
19751 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
19752 | (gate_tree_linear_transform): Removed. | |
19753 | (pass_linear_transform): Removed. | |
19754 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
19755 | flag_loop_interchange. | |
19756 | ||
6bdfdb96 JJ |
19757 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
19758 | ||
19759 | PR tree-optimization/47265 | |
19760 | PR tree-optimization/47443 | |
19761 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
19762 | if name still has some uses. | |
19763 | ||
e4cba915 MJ |
19764 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
19765 | ||
19766 | PR tree-optimization/47382 | |
19767 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
19768 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
19769 | ||
509d65dd | 19770 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
19771 | |
19772 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
19773 | sjlj_except_unwind_info. | |
19774 | ||
194313e2 RG |
19775 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
19776 | ||
19777 | PR tree-optimization/47426 | |
19778 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
19779 | visible functions results escape. | |
19780 | ||
147a0bcf JJ |
19781 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
19782 | ||
19783 | PR target/45701 | |
19784 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
19785 | (arm_get_frame_offsets): Use it. | |
19786 | ||
db963b52 SP |
19787 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19788 | Jakub Jelinek <jakub@redhat.com> | |
19789 | ||
19790 | PR tree-optimization/47271 | |
19791 | * tree-if-conv.c (bb_postdominates_preds): New. | |
19792 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
19793 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
19794 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
19795 | ||
bcddd3b9 NC |
19796 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
19797 | ||
19798 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
19799 | * config/rx/rx.c (rx_function_value): Likewise. | |
19800 | (rx_promote_function_mode): Likewise. | |
19801 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
19802 | in order to make it legitimate. | |
38be4072 UB |
19803 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
19804 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
19805 | (addsi3_unspec): Delete. |
19806 | (subdi3): Do not accept immediate operands. | |
19807 | (subdi3_internal): Likewise. | |
19808 | ||
7e6cb022 JL |
19809 | 2011-01-25 Jeff Law <law@redhat.com> |
19810 | ||
19811 | PR rtl-optimization/37273 | |
19812 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
19813 | handle them like argument loads from stack slots. Do not double | |
19814 | count memory for memory constants and argument loads from stack slots. | |
19815 | ||
9ffa621e JJ |
19816 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
19817 | ||
19818 | PR tree-optimization/47427 | |
19819 | PR tree-optimization/47428 | |
19820 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
19821 | coalesce if the new root var would be TREE_READONLY. | |
19822 | ||
5bd6e652 RG |
19823 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
19824 | ||
19825 | PR middle-end/47414 | |
19826 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
19827 | correct type for TBAA. | |
19828 | ||
7c48ea69 SP |
19829 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19830 | ||
19831 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
19832 | (close_phi_written_to_memory): Call for_each_index with | |
19833 | dr_indices_valid_in_loop. | |
19834 | ||
38013f25 SP |
19835 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19836 | ||
19837 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
19838 | when it is initialized. | |
19839 | ||
5c640e29 SP |
19840 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19841 | ||
19842 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
19843 | call to graphite_find_data_references_in_stmt. | |
19844 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
19845 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
19846 | call to graphite_find_data_references_in_stmt. | |
19847 | (analyze_drs_in_stmts): Same. | |
19848 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
19849 | in which the scalar analysis of indices is performed. | |
19850 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
19851 | (find_data_references_in_stmt): Update call to create_data_ref. | |
19852 | (graphite_find_data_references_in_stmt): Same. | |
19853 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
19854 | declaration. | |
19855 | (create_data_ref): Same. | |
19856 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
19857 | call to create_data_ref. | |
19858 | ||
ac53c069 SP |
19859 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19860 | ||
19861 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 19862 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 19863 | |
3d17df15 SP |
19864 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19865 | ||
19866 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
19867 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
19868 | ||
c513da01 SP |
19869 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19870 | ||
19871 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
19872 | in a reduction PBB. | |
19873 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
19874 | that have already been marked as PBB_IS_REDUCTION. | |
19875 | ||
3a292d59 SP |
19876 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19877 | ||
19878 | * graphite-scop-detection.c (same_close_phi_node): New. | |
19879 | (remove_duplicate_close_phi): New. | |
19880 | (make_close_phi_nodes_unique): New. | |
19881 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
19882 | ||
ba858447 SP |
19883 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19884 | ||
19885 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
19886 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
19887 | of both data references to be the same. | |
19888 | ||
8d865c56 SP |
19889 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19890 | ||
38be4072 UB |
19891 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
19892 | the gdim parameter. | |
19893 | (build_lexicographical_constraint): Adjust call to | |
19894 | ppl_powerset_is_empty. | |
8d865c56 SP |
19895 | (dependence_polyhedron): Same. |
19896 | (graphite_legal_transform_dr): Same. | |
19897 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
19898 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
19899 | parameter. | |
8d865c56 SP |
19900 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
19901 | ||
50034a36 SP |
19902 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19903 | ||
19904 | * graphite-sese-to-poly.c | |
19905 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
19906 | (close_phi_written_to_memory): New. | |
19907 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
19908 | and unshare_expr. | |
19909 | ||
0deada9e SP |
19910 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19911 | ||
19912 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
19913 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
19914 | #if PPL_VERSION_MINOR < 11. | |
19915 | ||
d7d3d6af SP |
19916 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19917 | ||
19918 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
19919 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
19920 | (free_poly_ddr): Moved close by new_poly_ddr. | |
19921 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
19922 | Early return NULL when ppl_powerset_is_empty returns true. | |
19923 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
19924 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
19925 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
19926 | (graphite_carried_dependence_level_k): Same. | |
19927 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
19928 | (dot_transformed_deps_stmt_1): Removed. | |
19929 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
19930 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
19931 | (dot_deps_1): Call dot_deps_2. | |
19932 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
19933 | graphite-cloog-util.h. | |
19934 | ||
28c5db57 SP |
19935 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19936 | ||
19937 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
19938 | (build_lexicographical_constraint): Same. | |
19939 | (dependence_polyhedron_1): Same. | |
19940 | (graphite_legal_transform_dr): Same. | |
19941 | (graphite_carried_dependence_level_k): Same. | |
19942 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
19943 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
19944 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
19945 | ||
5168d98f SP |
19946 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19947 | ||
19948 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
19949 | the "a followed by b" relation and document it. | |
19950 | ||
4a40293a SP |
19951 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19952 | ||
19953 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
19954 | iteration when the bag of constraints is empty. | |
19955 | ||
271fb6fa SP |
19956 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19957 | ||
19958 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
19959 | ||
92d23680 SP |
19960 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19961 | ||
19962 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
19963 | nest and two loop depths as parameters. | |
19964 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
19965 | lst_perfect_nestify. | |
19966 | ||
2f51deff SP |
19967 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19968 | ||
19969 | * graphite-dependences.c (print_pddr): Call | |
19970 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
19971 | ||
07f3593c SP |
19972 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19973 | ||
19974 | * graphite-ppl.c (debug_gmp_value): New. | |
19975 | * graphite-ppl.h (debug_gmp_value): Declared. | |
19976 | ||
3fae6099 TG |
19977 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
19978 | ||
19979 | * doc/install.texi: Document availability of cloog-0.16. | |
19980 | ||
1c3ba85b SP |
19981 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
19982 | ||
19983 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
19984 | invalid postdominance info. | |
19985 | ||
e8ba94fc JH |
19986 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
19987 | ||
19988 | PR c/21659 | |
19989 | * doc/extend.texi (weak pragma): Drop claim that it must | |
19990 | appear before definition. | |
19991 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
19992 | that DECL is not output at a time it is declared weak. | |
19993 | ||
2b6e2d13 KZ |
19994 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
19995 | ||
19996 | * machmode.def: Fixed comments. | |
1c3ba85b | 19997 | |
9841210f KT |
19998 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
19999 | ||
20000 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
20001 | ||
20002 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
20003 | |
20004 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 20005 | WORDS_BIG_ENDIAN. |
e046112d | 20006 | |
a6c5070a L |
20007 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
20008 | ||
20009 | PR target/46519 | |
20010 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
20011 | (block_info): Add scanned and prev. | |
20012 | (move_or_delete_vzeroupper_2): Return if the basic block | |
20013 | has been scanned and the upper 128bit state is unchanged | |
20014 | from the last scan. | |
20015 | (move_or_delete_vzeroupper_1): Return true if the exit | |
20016 | state is changed. | |
20017 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
20018 | work-list based algorithm based on vt_find_locations in | |
20019 | var-tracking.c. | |
20020 | ||
20021 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
20022 | ||
a40d79d7 NC |
20023 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
20024 | ||
20025 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
20026 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
20027 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
20028 | then define __v850e1__. | |
20029 | * doc/invoke.texi: Document -mv850es. | |
20030 | ||
440eb8de RH |
20031 | 2011-01-24 Richard Henderson <rth@redhat.com> |
20032 | ||
20033 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
20034 | compound unordered comparisons. | |
20035 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
20036 | * config/rx/rx-protos.h: Update. | |
20037 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
20038 | (cbranchsf4): Don't call rx_split_fp_compare. | |
20039 | (*cbranchsf4): Use rx_split_cbranch. | |
20040 | (*cmpsf): Don't accept "i" constraint. | |
20041 | (*conditional_branch): Only valid after reload. | |
20042 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
20043 | ||
3ff79f99 MM |
20044 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
20045 | ||
20046 | PR target/47385 | |
20047 | * config/rs6000/altivec.md (vector constant splitters): Add | |
20048 | support for creating vector single precision constants if -mvsx is | |
20049 | used and we would create the constant using Altivec primitives. | |
20050 | ||
ff3d9d08 BS |
20051 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
20052 | Richard Sandiford <rdsandiford@googlemail.com> | |
20053 | ||
20054 | PR rtl-optimization/47166 | |
20055 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
20056 | mechanism for PRE_MODIFY and POST_MODIFY. | |
20057 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
20058 | reloadreg. | |
20059 | ||
7fcaf152 AS |
20060 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
20061 | ||
8788adb6 | 20062 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 20063 | |
d09b58c4 JH |
20064 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
20065 | ||
20066 | PR lto/47333 | |
20067 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
20068 | ||
e8ff8c5a JH |
20069 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
20070 | ||
20071 | PR tree-optimization/43884 | |
20072 | PR lto/44334 | |
8788adb6 | 20073 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
20074 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
20075 | ||
ccaed3ba AS |
20076 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
20077 | ||
20078 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
20079 | * config/s390/s390.c (s390_register_move_cost, | |
20080 | s390_memory_move_cost): New. | |
20081 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
20082 | ||
0cecee06 UW |
20083 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
20084 | ||
20085 | PR middle-end/47401 | |
20086 | * except.c (sjlj_assign_call_site_values): Move setting the | |
20087 | crtl->uses_eh_lsda flag to ... | |
20088 | (sjlj_mark_call_sites): ... here. | |
20089 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
20090 | (sjlj_build_landing_pads): In a function with no landing pads | |
20091 | that still has must-not-throw regions, generate code to register | |
20092 | a personality function with empty LSDA. | |
20093 | ||
e692f276 RH |
20094 | 2011-01-21 Richard Henderson <rth@redhat.com> |
20095 | ||
1b7ae0b7 RH |
20096 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
20097 | ||
3843787f RH |
20098 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
20099 | ||
e692f276 RH |
20100 | * compare-elim.c: New file. |
20101 | * Makefile.in (OBJS-common): Add it. | |
20102 | (compare-elim.o): New. | |
20103 | * common.opt (fcompare-elim): New. | |
20104 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
20105 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
20106 | * passes.c (init_optimization_passes): Add it. | |
20107 | * recog.h: Protect against re-inclusion. | |
20108 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
20109 | * doc/invoke.texi (-fcompare-elim): Document it. | |
20110 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
20111 | * doc/tm.texi: Rebuild. | |
20112 | ||
9a7c2050 NC |
20113 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
20114 | ||
20115 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
20116 | rx_split_fp_compare. | |
20117 | ||
15ba5696 NC |
20118 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
20119 | ||
20120 | * config/rx/rx.md (UNSPEC_CONST): New. | |
20121 | (deallocate_and_return): Wrap the amount popped off the stack in | |
20122 | an UNSPEC_CONST in order to stop it being rejected by | |
20123 | -mmax-constant-size. | |
20124 | (pop_and_return): Add a "(return)" rtx. | |
20125 | (call): Drop the immediate operand. | |
20126 | (call_internal): Likewise. | |
20127 | (call_value): Likewise. | |
20128 | (call_value_internal): Likewise. | |
20129 | (sibcall_internal): Likewise. | |
20130 | (sibcall_value_internal): Likewise. | |
20131 | (sibcall): Likewise. Generate an explicit call using | |
20132 | sibcall_internal. | |
20133 | (sibcall_value): Likewise. | |
20134 | (mov<>): FAIL if a constant operand is not legitimate. | |
20135 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 20136 | |
38be4072 | 20137 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
20138 | (ok_for_max_constant): New function. |
20139 | (gen_safe_add): New function. | |
20140 | (rx_expand_prologue): Use gen_safe_add. | |
20141 | (rx_expand_epilogue): Likewise. | |
20142 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
20143 | UNSPEC CONSTs. | |
20144 | ||
caaf13d3 JL |
20145 | 2011-01-21 Jeff Law <law@redhat.com> |
20146 | ||
20147 | PR tree-optimization/47053 | |
20148 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
20149 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
20150 | statements are deleted. | |
20151 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
20152 | is nonempty, then purge dead edges and cleanup the CFG. | |
20153 | ||
12c30f2f AO |
20154 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
20155 | ||
20156 | PR debug/47402 | |
20157 | Temporarily revert: | |
20158 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
20159 | PR debug/47106 | |
20160 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
20161 | ||
7360d2ac JJ |
20162 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
20163 | ||
aaa52a96 JJ |
20164 | PR middle-end/45566 |
20165 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
20166 | notes from other section in hot/cold partitioning even if | |
20167 | last_action is -3. Increment call_site_base. | |
20168 | ||
7360d2ac JJ |
20169 | PR rtl-optimization/47366 |
20170 | * fwprop.c (forward_propagate_into): Return bool. If | |
20171 | any changes are made, -fnon-call-exceptions is used and | |
20172 | REG_EH_REGION note is present, call purge_dead_edges | |
20173 | and return true if it purged anything. | |
20174 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
20175 | any EH edges were purged. | |
20176 | ||
e90b336f JL |
20177 | 2011-01-21 Jeff Law <law@redhat.com> |
20178 | ||
20179 | PR rtl-optimization/41619 | |
20180 | * caller-save.c (setup_save_areas): Break out code to determine | |
20181 | which hard regs are live across calls by examining the reload chains | |
20182 | so that it is always used. | |
20183 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
20184 | ||
3ffe07e1 JJ |
20185 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
20186 | ||
20187 | PR tree-optimization/47355 | |
20188 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
20189 | NOP has non-debug uses beyond PHIs in new_bb. | |
20190 | ||
1c7d0b34 AO |
20191 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
20192 | ||
20193 | PR debug/47106 | |
20194 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
20195 | that are annotated as used. | |
20196 | (estimated_stack_frame_size): Don't set TREE_USED. | |
20197 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
20198 | ||
f99cc488 RG |
20199 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
20200 | ||
20201 | PR middle-end/47395 | |
20202 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
20203 | ||
3bc27de7 RG |
20204 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
20205 | ||
20206 | PR tree-optimization/47365 | |
20207 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
20208 | (vn_reference_lookup_pieces): Adjust. | |
20209 | (vn_reference_lookup): Likewise. | |
20210 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
20211 | (vn_reference_lookup_3): Only look through kills if in | |
20212 | VN_WALKREWRITE mode. | |
20213 | (vn_reference_lookup_pieces): Adjust. | |
20214 | (vn_reference_lookup): Likewise. | |
20215 | (visit_reference_op_load): Likewise. | |
20216 | (visit_reference_op_store): Likewise. | |
20217 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
20218 | (compute_avail): Likewise. | |
20219 | (eliminate): Likewise. | |
20220 | ||
d8debb1d JJ |
20221 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
20222 | ||
20223 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
20224 | DECL_IGNORED_P non-reg vars if they are used. | |
20225 | ||
3a2df831 JJ |
20226 | PR tree-optimization/47391 |
20227 | * varpool.c (const_value_known_p): Return false if | |
20228 | decl is volatile. | |
20229 | ||
1dd584a2 KT |
20230 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
20231 | ||
20232 | PR bootstrap/47215 | |
20233 | * config/i386/i386.c (ix86_local_alignment): Handle | |
20234 | case for va_list_type_node is nil. | |
20235 | (ix86_canonical_va_list_type): Likewise. | |
20236 | ||
7f9f095e AM |
20237 | 2011-01-21 Alan Modra <amodra@gmail.com> |
20238 | ||
20239 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
20240 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
20241 | ||
837b01f6 RR |
20242 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
20243 | ||
20244 | * config/arm/arm.md (define_attr type): Rename f_load | |
20245 | and f_store to f_fpa_load and f_fpa_store. Update. | |
20246 | (write_conflict): Deal with rename fallout. | |
20247 | (*push_fp_multi): Likewise. | |
20248 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
20249 | (f_store): Use f_fpa_store. | |
20250 | (*movsf_fpa): Likewise. | |
20251 | (*movdf_fpa): Likewise. | |
20252 | (*movxf_fpa): Likewise. | |
20253 | (*thumb2_movsf_fpa): Likewise. | |
20254 | (*thumb2_movdf_fpa): Likewise. | |
20255 | (*thumb2_movxf_fpa): Likewise. | |
20256 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
20257 | f_loadd and f_stored. | |
20258 | (*thumb2_movdi_vfp): Likewise. | |
20259 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
20260 | (*thumb2_movsi_vfp): Likewise. | |
20261 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
20262 | Use f_loads instead of f_load. | |
20263 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
20264 | ||
a1a79768 AS |
20265 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
20266 | ||
20267 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
20268 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
20269 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
20270 | (xtensa_mode_dependent_address_p): New function. | |
20271 | (constantpool_address_p): Make static. Change return type to bool. | |
20272 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
20273 | ||
427f6cec AO |
20274 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
20275 | ||
20276 | PR debug/46583 | |
20277 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
20278 | ||
583ac69c JJ |
20279 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
20280 | ||
20281 | PR debug/47283 | |
20282 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
20283 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
20284 | etc. handling. | |
20285 | ||
93e452ed RG |
20286 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
20287 | ||
20288 | PR middle-end/47370 | |
20289 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
20290 | the pointer operand of MEM_REFs. | |
20291 | ||
28fc44f3 JJ |
20292 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
20293 | ||
20294 | PR tree-optimization/46130 | |
20295 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
20296 | PHIs other than for retval or if split_function would not adjust it, | |
20297 | refuse to split. | |
20298 | ||
ddd268f2 RG |
20299 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
20300 | ||
20301 | PR tree-optimization/47167 | |
20302 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
20303 | Revert previous change, only avoid enumeral type changes. | |
20304 | ||
882020aa MS |
20305 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
20306 | ||
20307 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
20308 | * doc/tm.texi (BRANCH_COST): Likewise. | |
20309 | ||
7edb6247 DS |
20310 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
20311 | ||
20312 | PR c++/47291 | |
20313 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
20314 | (gen_scheduled_generic_parms_dies): New functions. |
20315 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
20316 | generation for the end of CU compilation. | |
20317 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 20318 | |
23d5ed5d AO |
20319 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
20320 | ||
20321 | PR debug/46240 | |
20322 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
20323 | debug bind stmt on merge edges. | |
20324 | ||
37d6a488 AO |
20325 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
20326 | ||
20327 | PR debug/47079 | |
20328 | PR debug/46724 | |
20329 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
20330 | implicit arguments, and recurse on VALUE_EXPRs. | |
20331 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
20332 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
20333 | ||
689f2c82 AO |
20334 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
20335 | ||
20336 | * c-parser.c (c_parser_for_statement): Initialize | |
20337 | collection_expression. | |
20338 | ||
03029de4 JM |
20339 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
20340 | ||
20341 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
20342 | ||
3e03217e JM |
20343 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
20344 | ||
20345 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
20346 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
20347 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
20348 | ||
5bbe9b3f JM |
20349 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
20350 | ||
20351 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
20352 | (NO_SHARED_LIB_SUPPORT): Remove. | |
20353 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
20354 | ||
368e0b39 JM |
20355 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
20356 | ||
20357 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
20358 | %{call_shared}. | |
20359 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
20360 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
20361 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
20362 | %{call_shared} and conditionals on these options not being passed. | |
20363 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
20364 | %{call_shared}. | |
20365 | ||
ed7656f6 JJ |
20366 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
20367 | ||
68457901 JJ |
20368 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
20369 | simplify. | |
20370 | ||
ed7656f6 JJ |
20371 | * ipa-split.c: Spelling fixes. |
20372 | ||
e0d1958f RH |
20373 | 2011-01-19 Richard Henderson <rth@redhat.com> |
20374 | ||
20375 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
20376 | (*mulsi3): Likewise. | |
20377 | ||
27098b6b RH |
20378 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
20379 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
20380 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
20381 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
20382 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
20383 | ||
d6be7c36 UW |
20384 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
20385 | ||
20386 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
20387 | ||
b1efde2a RH |
20388 | 2011-01-19 Richard Henderson <rth@redhat.com> |
20389 | ||
44217823 RH |
20390 | * config/mn10300/mn10300.md (addsi3_flags): New. |
20391 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
20392 | (subsi3_flags, subc_internal, subdi3): New. | |
20393 | (subdi3_internal, *subdi3_degenerate): New. | |
20394 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
20395 | ||
37a185d7 RH |
20396 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
20397 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
20398 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
20399 | * config/mn10300/mn10300-protos.h: Update. | |
20400 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
20401 | (return_ret): Likewise. Rename from return_internal_regs. | |
20402 | (return_internal): Remove. | |
20403 | ||
040c5757 RH |
20404 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
20405 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
20406 | (mn10300_legitimate_constant_p): Likewise. | |
20407 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
20408 | (mn10300_frame_size): New. | |
20409 | (mn10300_expand_prologue): Use it. | |
20410 | (mn10300_expand_epilogue): Likewise. | |
20411 | (mn10300_initial_offset): Likewise. | |
20412 | * config/mn10300/mn10300-protos.h: Update. | |
20413 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
20414 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
20415 | (prologue, epilogue, return_internal): Tidy output code. | |
20416 | (mn10300_store_multiple_operation, return): Likewise. | |
20417 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
20418 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
20419 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
20420 | (load_pic, am33_load_pic): New. | |
20421 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
20422 | ||
bad41521 RH |
20423 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
20424 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
20425 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
20426 | (cc_flags_for_mode, cc_flags_for_code): New. | |
20427 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
20428 | overflow flag is not valid. Validate that the flags we need | |
20429 | for the comparison are valid. | |
20430 | (mn10300_output_cmp): Remove. | |
20431 | (mn10300_output_add): New. | |
20432 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
20433 | (mn10300_split_cbranch): New. | |
20434 | (mn10300_match_ccmode): New. | |
20435 | (mn10300_split_and_operand_count): New. | |
20436 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
20437 | to the function. | |
20438 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
20439 | (addsi3): ... here. Use mn10300_output_add. | |
20440 | (*addsi3_flags): New. | |
20441 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
20442 | (subsi3): ... here. Use attribute isa. | |
20443 | (*subsi3_flags): New. | |
20444 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
20445 | when possible. | |
20446 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
20447 | (andsi3): ... here. | |
20448 | (*andsi3_flags): New. | |
20449 | (andsi3 splitters): New. | |
20450 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
20451 | (iorsi3): ... here. | |
20452 | (*iorsi3_flags): New. | |
20453 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
20454 | (xorsi3): ... here. | |
20455 | (*xorsi3_flags): New. | |
20456 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
20457 | (one_cmplsi2): ... here. | |
20458 | (*one_cmplsi2_flags): New. | |
20459 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
20460 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
20461 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
20462 | use matching constraints to eliminate a self-comparison. | |
20463 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
20464 | Use int_mode_flags to match CC_REG. | |
20465 | (*cbranchsi4_btst, *btstsi): New. | |
20466 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
20467 | mn10300_split_cbranch. | |
20468 | (*am33_cmpsf): Rename from am33_cmpsf. | |
20469 | (*float_conditional_branch): Rename from float_conditional_branch. | |
20470 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
20471 | (zero_extendqisi2): ... here. | |
20472 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
20473 | (zero_extendhisi2): ... here. | |
20474 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
20475 | (extendqisi2): ... here. | |
20476 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
20477 | (extendhisi2): ... here. | |
20478 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
20479 | (ashlsi3): ... here. | |
20480 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
20481 | (lshrsi3): ... here. | |
20482 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
20483 | (ashrsi3): ... here. | |
20484 | (consecutive add peephole): Remove. | |
20485 | * config/mn10300/predicates.md (label_ref_operand): New. | |
20486 | (int_mode_flags): New. | |
20487 | (CCZN_comparison_operator): New. | |
20488 | ||
9efb4993 RH |
20489 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
20490 | (throughput_42_latency_43): New reservation. | |
20491 | (mulsidi3, umulsidi3): New expanders. | |
20492 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
20493 | the MDR register to allocation; separately allocate the low and | |
20494 | high parts of the DImode result. | |
20495 | (umulsidi3_internal): Similarly. | |
20496 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
20497 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
20498 | (udivsi3, umodsi3): Remove. | |
20499 | (udivmodsi4, divmodsi4): New expanders. | |
20500 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
20501 | (*divmodsi4): Simiarly. | |
20502 | (ext_internal): New. | |
20503 | ||
c25a21f5 RH |
20504 | * config/mn10300/constraints.md ("z"): New constraint. |
20505 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
20506 | (FIXED_REGISTERS): Don't fix MDR. | |
20507 | (CALL_USED_REGSITERS): Reformat nicely. | |
20508 | (REG_ALLOC_ORDER): Add MDR. | |
20509 | (enum regclass): Add MDR_REGS. | |
20510 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
20511 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
20512 | (REGNO_REG_CLASS): Handle MDR_REG. | |
20513 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
20514 | (mn10300_register_move_cost): Likewise. | |
20515 | * config/mn10300/mn10300.md (MDR_REG): New. | |
20516 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
20517 | ||
36846b26 RH |
20518 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
20519 | POST_MODIFY. | |
20520 | (mn10300_secondary_reload): Tidy combination reload classes. | |
20521 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
20522 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
20523 | (mn10300_regno_in_class_p): New. | |
20524 | (mn10300_legitimize_reload_address): New. | |
20525 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
20526 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
20527 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
20528 | SP_OR_GENERAL_REGS. | |
20529 | (REG_CLASS_NAMES): Update to match. | |
20530 | (REG_CLASS_CONTENTS): Likewise. | |
20531 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
20532 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
20533 | (REGNO_IN_RANGE_P): Remove. | |
20534 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
20535 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
20536 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
20537 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
20538 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
20539 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
20540 | (REGNO_GENERAL_P): New. | |
20541 | (HAVE_POST_MODIFY_DISP): New. | |
20542 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
20543 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
20544 | * config/mn10300/mn10300-protos.h: Update. | |
20545 | ||
8b119bb6 RH |
20546 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
20547 | DATA_REGS for AM33 stack-pointer destination. | |
20548 | (mn10300_preferred_output_reload_class): Likewise. | |
20549 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
20550 | into a form appropriate for ... | |
20551 | (TARGET_SECONDARY_RELOAD): New. | |
20552 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
20553 | * config/mn10300/mn10300-protos.h: Update. | |
20554 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
20555 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
20556 | moves of sp to non-address registers. | |
20557 | ||
b1efde2a RH |
20558 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
20559 | (*movqi_internal): ... here. | |
20560 | (*am33_movhi, *mn10300_movhi): Merge into... | |
20561 | (*movhi_internal): ... here. | |
20562 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
20563 | as the source/destination of moves from/to SP. | |
20564 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 20565 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
20566 | any integer constant constraint. Only allow for AM33-2. Tidy |
20567 | all of the alternative outputs. | |
20568 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
20569 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
20570 | for MN103. | |
20571 | (udivsi3, umodsi3): New patterns for MN103 only. | |
20572 | ||
b899fd78 JR |
20573 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
20574 | ||
20575 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
20576 | can lead to ICEs. | |
20577 | * doc/tm.texi: Regenerate. | |
20578 | ||
afaaa67d JJ |
20579 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
20580 | ||
2e0642cd JJ |
20581 | PR rtl-optimization/47337 |
20582 | * dce.c (check_argument_store): New function. | |
20583 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
20584 | ||
afaaa67d JJ |
20585 | PR tree-optimization/47290 |
20586 | * tree-eh.c (infinite_empty_loop_p): New function. | |
20587 | (cleanup_empty_eh): Use it. | |
20588 | ||
d2cd871f SE |
20589 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
20590 | ||
20591 | PR target/46997 | |
20592 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
20593 | (a64_expand_widen_sum): Ditto. | |
20594 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
20595 | (vec_extract_evenodd_help): Ditto. | |
20596 | (vec_extract_evenv4hi): Ditto. | |
20597 | (vec_extract_oddv4hi): Ditto. | |
20598 | (vec_extract_evenv2si): Ditto. | |
20599 | (vec_extract_oddv2si): Ditto. | |
20600 | (vec_extract_evenv2sf): Ditto. | |
20601 | (vec_extract_oddv2sf): Ditto. | |
20602 | (vec_pack_trunc_v4hi: Ditto. | |
20603 | (vec_pack_trunc_v2si): Ditto. | |
20604 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
20605 | (vec_interleave_highv8qi): Ditto. | |
20606 | (mix1_r): Ditto. | |
20607 | (vec_extract_oddv8qi): Ditto. | |
20608 | (vec_interleave_lowv4hi): Ditto. | |
20609 | (vec_interleave_highv4hi): Ditto. | |
20610 | (vec_interleave_lowv2si): Ditto. | |
20611 | (vec_interleave_highv2si): Ditto. | |
20612 | ||
41a1208a JDA |
20613 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20614 | ||
20615 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
20616 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
20617 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
20618 | (pa_c_mode_for_suffix): New. | |
20619 | (TARGET_EXPAND_BUILTIN): Define. | |
20620 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
20621 | (pa_builtins): Define. | |
20622 | (pa_init_builtins): Register __float128 type and init new support | |
20623 | builtins. | |
20624 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
20625 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
20626 | ||
1ecad98e EB |
20627 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
20628 | ||
20629 | PR middle-end/46894 | |
20630 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
20631 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
20632 | are defined. | |
20633 | ||
d4f2460a UW |
20634 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
20635 | ||
20636 | PR tree-optimization/47179 | |
20637 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
20638 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
20639 | ||
4994da65 RG |
20640 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
20641 | ||
20642 | PR rtl-optimization/47216 | |
20643 | * emit-rtl.c: Include tree-flow.h. | |
20644 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
20645 | of replicating it with different semantics. | |
20646 | * Makefile.in (emit-rtl.o): Adjust. | |
20647 | ||
1eb458d1 RR |
20648 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
20649 | ||
38be4072 | 20650 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 20651 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 20652 | |
e7ef91dc JJ |
20653 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
20654 | ||
20655 | PR rtl-optimization/47299 | |
20656 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 20657 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
20658 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
20659 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
20660 | before using it. | |
20661 | ||
535b7874 RW |
20662 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
20663 | ||
20664 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
20665 | spacing after 'e.g.', typos, comma, hyphenation. | |
20666 | ||
27bf36f3 RH |
20667 | 2011-01-17 Richard Henderson <rth@redhat.com> |
20668 | ||
8a5b5449 RH |
20669 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
20670 | (rx_restricted_mem_operand): New. | |
20671 | (rx_shift_operand): Use register_operand. | |
20672 | (rx_source_operand, rx_compare_operand): Likewise. | |
20673 | * config/rx/rx.md (addsi3_flags): New expander. | |
20674 | (adddi3): Rewrite as expander. | |
20675 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
20676 | (subsi3_flags): New expander. | |
20677 | (subdi3): Rewrite as expander. | |
20678 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
20679 | ||
784f69be RH |
20680 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
20681 | (rx_init_builtins): Remove sat builtin. | |
20682 | (rx_expand_builtin): Likewise. | |
20683 | * config/rx/rx.md (ssaddsi3): New. | |
20684 | (*sat): Rename from sat. Represent the CC_REG input. | |
20685 | ||
f033541c RH |
20686 | * config/rx/predicates.md (rshift_operator): New. |
20687 | * config/rx/rx.c (rx_expand_insv): Remove. | |
20688 | * config/rx/rx-protos.h: Update. | |
20689 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
20690 | operand to the canonical position. | |
20691 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
20692 | (*bitclr, *bitclr_in_memory): Similarly. | |
20693 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
20694 | (insv): Retain the zero_extract in the expansion. | |
20695 | ||
34fee389 RH |
20696 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
20697 | (bswaphi2, bitinvert, revw): Likewise. | |
20698 | ||
265c835f RH |
20699 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
20700 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
20701 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
20702 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
20703 | (bitset, bitset_in_memory): Likewise. | |
20704 | (bitinvert, bitinvert_in_memory): Likewise. | |
20705 | (bitclr, bitclr_in_memory): Likewise. | |
20706 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
20707 | (rx_strend, rx_cmpstrn): Likewise. | |
20708 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
20709 | (bitop peep2 patterns): Remove. | |
20710 | ||
b4d83be3 RH |
20711 | * config/rx/rx.c (rx_match_ccmode): New. |
20712 | * config/rx/rx-protos.h: Update. | |
20713 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
20714 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
20715 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
20716 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
20717 | (fix_truncsfsi2, floatsisf2): Likewise. | |
20718 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
20719 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
20720 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
20721 | (*subsi3_flags, *xorsi3_flags): New. | |
20722 | ||
d0acb939 RH |
20723 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
20724 | ||
c06fc3d9 RH |
20725 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
20726 | unsplit comparison operations. | |
20727 | ||
2882702b RH |
20728 | * config/rx/rx.md (movsicc): Split after reload. |
20729 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
20730 | (*stcc): New pattern. | |
20731 | ||
6f7310f2 RH |
20732 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
20733 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
20734 | * config/rx/rx.md (cstoresi4): Split after reload. | |
20735 | (*sccc): New pattern. | |
20736 | ||
e963cb1a RH |
20737 | * config/rx/predicates.md (label_ref_operand): New. |
20738 | (rx_z_comparison_operator): New. | |
20739 | (rx_zs_comparison_operator): New. | |
20740 | (rx_fp_comparison_operator): New. | |
20741 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
20742 | Validate that the flags are set properly for the comparison. | |
20743 | (rx_gen_cond_branch_template): Remove. | |
20744 | (rx_cc_modes_compatible): Remove. | |
20745 | (mode_from_flags): New. | |
20746 | (flags_from_code): Rename from flags_needed_for_conditional. | |
20747 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
20748 | (rx_select_cc_mode): Likewise. | |
20749 | (rx_split_fp_compare): New. | |
20750 | (rx_split_cbranch): New. | |
20751 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
20752 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
20753 | (*cbranchsf4): Similarly. | |
20754 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
20755 | match_operator and rx_split_cbranch. | |
20756 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
20757 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
20758 | (*cmpsi): Rename from cmpsi. | |
20759 | (*tstsi): Rename from tstsi. | |
20760 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
20761 | (*conditional_branch): Rename from conditional_branch. | |
20762 | (*reveresed_conditional_branch): Remove. | |
20763 | (b<code>): Remove expander. | |
20764 | * config/rx/rx-protos.h: Update. | |
20765 | ||
af530bb4 RH |
20766 | * config/rx/rx.c (rx_compare_redundant): Remove. |
20767 | * config/rx/rx.md (cmpsi): Don't use it. | |
20768 | * config/rx/rx-protos.h: Update. | |
20769 | ||
27bf36f3 RH |
20770 | * config/rx/rx-modes.def (CC_F): New mode. |
20771 | * config/rx/rx.c (rx_select_cc_mode): New. | |
20772 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
20773 | * config/rx/rx-protos.h: Update. | |
20774 | ||
d7fde127 RH |
20775 | 2011-01-17 Richard Henderson <rth@redhat.com> |
20776 | ||
20777 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
20778 | ||
6ff38230 RG |
20779 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
20780 | ||
20781 | PR tree-optimization/47313 | |
20782 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
20783 | handling before copying the body. Properly deal with | |
20784 | by-reference result in SSA form. | |
20785 | ||
114ce554 ILT |
20786 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
20787 | ||
bf5cd92b | 20788 | PR target/47219 |
114ce554 ILT |
20789 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
20790 | (struct_value_alias_set): Don't define. | |
20791 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
20792 | struct_value_alias_set. | |
20793 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
20794 | set_mem_alias_set. | |
20795 | (sparc_struct_value_rtx): Likewise. | |
20796 | ||
98c6d93c L |
20797 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
20798 | ||
20799 | PR target/47318 | |
7a81008b | 20800 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
20801 | (_mm_maskstore_pd): Likewise. |
20802 | (_mm_maskload_ps): Likewise. | |
20803 | (_mm_maskstore_ps): Likewise. | |
20804 | (_mm256_maskload_pd): Change mask to __m256i. | |
20805 | (_mm256_maskstore_pd): Likewise. | |
20806 | (_mm256_maskload_ps): Likewise. | |
20807 | (_mm256_maskstore_ps): Likewise. | |
20808 | ||
20809 | * config/i386/i386-builtin-types.def: Updated. | |
20810 | (ix86_expand_special_args_builtin): Likewise. | |
20811 | ||
20812 | * config/i386/i386.c (bdesc_special_args): Update | |
20813 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
20814 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
20815 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
20816 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
20817 | ||
20818 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
20819 | Use <avxpermvecmode> on mask register. | |
20820 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
20821 | ||
b9361af2 | 20822 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
20823 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
20824 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
20825 | |
20826 | PR target/46655 | |
20827 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
20828 | if <= USHRT_MAX in 32-bit mode. | |
20829 | ||
b7ae9eb5 RW |
20830 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
20831 | ||
20832 | * doc/install.texi (Configuration, Specific): Wrap long | |
20833 | lines in examples. Allow line wrapping in long options | |
20834 | and URLs where beneficial for PDF output. | |
20835 | ||
4377fad9 RS |
20836 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
20837 | ||
20838 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
20839 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
20840 | ||
55959ffa | 20841 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 20842 | |
55959ffa EB |
20843 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
20844 | ||
20845 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
20846 | ||
20847 | PR tree-optimization/47276 | |
be46831f JH |
20848 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
20849 | declarations as needed. | |
20850 | ||
05842ff5 MJ |
20851 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
20852 | ||
20853 | * common.opt (fdevirtualize): New flag. | |
20854 | * doc/invoke.texi (Option Summary): Document it. | |
20855 | * opts.c (default_options_table): Add devirtualize flag. | |
20856 | * ipa-prop.c (detect_type_change): Return immediately if | |
20857 | devirtualize flag is not set. | |
20858 | (detect_type_change_ssa): Likewise. | |
20859 | (compute_known_type_jump_func): Likewise. | |
20860 | (ipa_analyze_virtual_call_uses): Likewise. | |
20861 | ||
f65cf2b7 MJ |
20862 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
20863 | ||
20864 | PR tree-optimization/45934 | |
20865 | PR tree-optimization/46302 | |
20866 | * ipa-prop.c (type_change_info): New type. | |
20867 | (stmt_may_be_vtbl_ptr_store): New function. | |
20868 | (check_stmt_for_type_change): Likewise. | |
20869 | (detect_type_change): Likewise. | |
20870 | (detect_type_change_ssa): Likewise. | |
20871 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
20872 | (compute_complex_ancestor_jump_func): Likewise. | |
20873 | (compute_known_type_jump_func): Likewise. | |
20874 | (compute_scalar_jump_functions): Likewise. | |
20875 | (ipa_analyze_virtual_call_uses): Likewise. | |
20876 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
20877 | ||
eb5bb0fd JM |
20878 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20879 | ||
20880 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
20881 | * config/i386/i386.opt (msse5): New Alias. | |
20882 | ||
f2060fbe JM |
20883 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20884 | ||
20885 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
20886 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
20887 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
20888 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
20889 | ||
3a7b4385 JM |
20890 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20891 | ||
20892 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
20893 | -mcpu options. | |
20894 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
20895 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
20896 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
20897 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
20898 | Likewise. | |
20899 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
20900 | ||
a7b778f8 JM |
20901 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20902 | ||
38be4072 | 20903 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 20904 | |
a7edae0a MS |
20905 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
20906 | ||
20907 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
20908 | * config/fr30/fr30.md: Likweise | |
20909 | (movsi_push): Likewise. | |
20910 | (movsi_pop): Likewise. | |
20911 | (enter_func): Likewise. | |
20912 | * config/moxie/moxie.md (movsi_push): Likewise. | |
20913 | (movsi_pop): Likewise. | |
20914 | ||
cbabf03f JM |
20915 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20916 | ||
20917 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
20918 | %{no_archive} %{exact_version}. | |
20919 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
20920 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
20921 | %{no_archive} %{exact_version}. | |
20922 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
20923 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
20924 | * config/mips/vxworks.h: Likewise. | |
20925 | ||
438da41a JM |
20926 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20927 | ||
38be4072 | 20928 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 20929 | |
da290a42 JM |
20930 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20931 | ||
20932 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
20933 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
20934 | ||
8989d00e JM |
20935 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20936 | ||
20937 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
20938 | -nodefaultlib. | |
20939 | ||
a3010a69 JM |
20940 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20941 | ||
20942 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
20943 | for mcpu not cpu. | |
20944 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
20945 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
20946 | not cpu. | |
20947 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
20948 | Don't handle -shlib. | |
20949 | ||
e7f2f537 JM |
20950 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20951 | ||
20952 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
20953 | (CC1_SPEC): Don't handle -profile. | |
20954 | ||
34830bfd JM |
20955 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20956 | ||
20957 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
20958 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
20959 | ||
b2d36e74 JM |
20960 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20961 | ||
20962 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
20963 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
20964 | ||
dabadc52 JM |
20965 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20966 | ||
20967 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
20968 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
20969 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
20970 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
20971 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
20972 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
20973 | LINK_SPEC): Likewise. | |
20974 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
20975 | ||
43ee6785 JM |
20976 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20977 | ||
20978 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
20979 | %{version:-v}. | |
20980 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
20981 | ||
45e79dfd JM |
20982 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20983 | ||
20984 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
20985 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
20986 | ||
37e9e71d JM |
20987 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20988 | ||
20989 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
20990 | ||
bb127cd8 RO |
20991 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
20992 | ||
20993 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
20994 | supports -Bstatic/-Bdynamic. | |
20995 | * configure: Regenerate. | |
20996 | ||
89a012ea | 20997 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 20998 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
20999 | |
21000 | PR target/46037 | |
21001 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
21002 | when checking debug_info_level. Test write_symbols instead of | |
21003 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
21004 | ||
7352c013 RG |
21005 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
21006 | ||
21007 | PR tree-optimization/47179 | |
21008 | * target.def (ref_may_alias_errno): New target hook. | |
21009 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
21010 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
21011 | (default_ref_may_alias_errno): New function. | |
21012 | * target.h (struct ao_ref_s): Declare. | |
21013 | * tree-ssa-alias.c: Include target.h. | |
21014 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
21015 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
21016 | (targhooks.o): Likewise. | |
21017 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
21018 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
21019 | ||
9a6c9288 RG |
21020 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
21021 | ||
21022 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
21023 | ||
0fdb0d27 RG |
21024 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
21025 | ||
21026 | PR tree-optimization/47280 | |
21027 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
21028 | return CFG changes. | |
21029 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
21030 | CFG changes from associate_plusminus. | |
21031 | ||
8f66db3b RG |
21032 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
21033 | ||
21034 | PR middle-end/47281 | |
21035 | Revert | |
21036 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
21037 | ||
280d9630 EB |
21038 | PR tree-optimization/46076 |
21039 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
21040 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 21041 | |
6c0c92e6 RG |
21042 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
21043 | ||
21044 | PR tree-optimization/47286 | |
280d9630 | 21045 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 21046 | |
db09f943 MJ |
21047 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
21048 | ||
21049 | PR middle-end/46823 | |
21050 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
21051 | ||
dde8a3a4 AS |
21052 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
21053 | ||
21054 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
21055 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
21056 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
21057 | xtensa_function_value_regno_p): New functions. | |
21058 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
21059 | ||
a2b63a20 KT |
21060 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
21061 | ||
21062 | PR c++/47213 | |
21063 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
21064 | PE specific hook. | |
21065 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
21066 | New function prototype. | |
21067 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
21068 | Warn only if attribute was specified by user. | |
21069 | ||
b41f0b34 MM |
21070 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
21071 | ||
21072 | PR target/47251 | |
21073 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
21074 | floating point. | |
21075 | (floatunsdidf2_fcfidu): Ditto. | |
21076 | ||
3f3c098d AK |
21077 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
21078 | ||
21079 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
21080 | 'output_operand_lossage'. | |
21081 | (print_operand): Likewise. | |
21082 | ||
29fa95ed JL |
21083 | 2011-01-13 Jeff Law <law@redhat.com> |
21084 | ||
280d9630 | 21085 | PR rtl-optimization/39077 |
29fa95ed JL |
21086 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
21087 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
21088 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
21089 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
21090 | * gcse.c (prune_insertions_deletions): New function. | |
21091 | (compute_pre_data): Use it. | |
21092 | ||
71d12276 DS |
21093 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
21094 | ||
21095 | PR debug/PR46973 | |
21096 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
21097 | static function. | |
61052244 | 21098 | (prune_unused_types_mark): Use it. |
71d12276 | 21099 | |
9b0f04e7 AB |
21100 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
21101 | ||
21102 | PR rtl-optimization/45352 | |
1c3ba85b | 21103 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 21104 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 21105 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 21106 | |
d6a3e264 RH |
21107 | 2011-01-12 Richard Henderson <rth@redhat.com> |
21108 | ||
a49b692a RH |
21109 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
21110 | (TARGET_MD_ASM_CLOBBERS): New. | |
21111 | ||
126b1483 RH |
21112 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
21113 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
21114 | ||
f3d9d2e0 RH |
21115 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
21116 | (clzsi2, *bsch): New patterns. | |
21117 | ||
d84760c9 RH |
21118 | * config/mn10300/mn10300.md (INT): New mode iterator. |
21119 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
21120 | ||
ec815d65 RH |
21121 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
21122 | flag_split_wide_types. | |
21123 | ||
d6a3e264 RH |
21124 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
21125 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
21126 | load and a direct branch. | |
21127 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
21128 | ||
0f8ab434 AS |
21129 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
21130 | ||
21131 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
21132 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
21133 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
21134 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
21135 | ||
d8a24b65 KT |
21136 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
21137 | ||
21138 | PR debug/47209 | |
21139 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
21140 | of type. | |
21141 | ||
56e22cab JH |
21142 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
21143 | ||
21144 | PR driver/47244 | |
21145 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
21146 | (PLUGIN_COND_CLOSE): New macro. | |
21147 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
21148 | ||
4b18b3c2 RG |
21149 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
21150 | ||
21151 | PR lto/47259 | |
21152 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
21153 | register variables in a MEM_REF. | |
21154 | ||
8e38461c JM |
21155 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
21156 | ||
21157 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
21158 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
21159 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
21160 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
21161 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
21162 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
21163 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
21164 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
21165 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
21166 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
21167 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
21168 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
21169 | * config/gnu-user.h: New. Copied from linux.h. | |
21170 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
21171 | GNU_USER_TARGET_STARTFILE_SPEC. | |
21172 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
21173 | GNU_USER_TARGET_ENDFILE_SPEC. | |
21174 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
21175 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
21176 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
21177 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
21178 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
21179 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
21180 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
21181 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
21182 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
21183 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
21184 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
21185 | GNU_USER_TARGET_CC1_SPEC. | |
21186 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
21187 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
21188 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
21189 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
21190 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
21191 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
21192 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
21193 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
21194 | ||
a570fc16 RG |
21195 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
21196 | ||
21197 | PR other/46946 | |
21198 | * doc/invoke.texi (ffast-math): Document it is turned on | |
21199 | with -Ofast. | |
21200 | ||
b0223c3e JH |
21201 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
21202 | ||
21203 | PR tree-optimization/47233 | |
ca1e00b3 EB |
21204 | * opts.c (common_handle_option): Disable ipa-reference with profile |
21205 | feedback. | |
b0223c3e | 21206 | |
1c3ba85b | 21207 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
21208 | |
21209 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
21210 | error message. |
21211 | ||
d853ee42 NP |
21212 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
21213 | ||
21214 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
21215 | comments. No changes in code. | |
21216 | ||
4053a5a0 ILT |
21217 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
21218 | ||
21219 | * godump.c (go_output_var): Don't output the variable if there is | |
21220 | already a type with the same name. | |
21221 | ||
fa3e04d2 ILT |
21222 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
21223 | ||
21224 | * godump.c (go_format_type): Don't generate float80. | |
21225 | ||
885fe07c RH |
21226 | 2011-01-11 Richard Henderson <rth@redhat.com> |
21227 | ||
72d6e3c5 RH |
21228 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
21229 | declaration. Rewrite for both speed and size. | |
21230 | (mn10300_address_cost_1): Remove. | |
21231 | (mn10300_register_move_cost): New. | |
21232 | (mn10300_memory_move_cost): New. | |
21233 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
21234 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
21235 | extensions, shifts, BSWAP, CLZ. | |
21236 | (mn10300_wide_const_load_uses_clr): Remove. | |
21237 | (TARGET_REGISTER_MOVE_COST): New. | |
21238 | (TARGET_MEMORY_MOVE_COST): New. | |
21239 | * config/mn10300/mn10300-protos.h: Update. | |
21240 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
21241 | ||
df37c023 RH |
21242 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
21243 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
21244 | * config/mn10300/mn10300-protos.h: Update. | |
21245 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
21246 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
21247 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
21248 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
21249 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 21250 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 21251 | |
85a337b5 RH |
21252 | * config/mn10300/constraints.md ("c"): Rename from "A". |
21253 | ("A", "D"): New constraint letters. | |
21254 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
21255 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
21256 | ||
a5c727e3 RH |
21257 | * config/mn10300/mn10300.md (isa): New attribute. |
21258 | (enabled): New attribute. | |
21259 | ||
0d9e23f4 RH |
21260 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
21261 | (abssf2, negsf2): Define only for hardware fp. | |
21262 | (sqrtsf2): Reformat. | |
21263 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
21264 | ||
c157b3f0 RH |
21265 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
21266 | (DEBUGGER_AUTO_OFFSET): Remove. | |
21267 | (DEBUGGER_ARG_OFFSET): Remove. | |
21268 | ||
cc909bba RH |
21269 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
21270 | Emit register stores with the same offsets as the hardware. | |
21271 | (mn10300_store_multiple_operation): Don't check that the register | |
21272 | save offsets are monotonic. | |
21273 | * config/mn10300/mn10300-protos.h: Update. | |
21274 | ||
e3b5c2f3 RH |
21275 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
21276 | ||
885fe07c RH |
21277 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
21278 | in terms of the value on the stack, not the MDR register. | |
21279 | ||
6e701822 JH |
21280 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
21281 | ||
21282 | PR lto/45721 | |
21283 | PR lto/45375 | |
21284 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
21285 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
21286 | propagate_aliases_backward): Declare. | |
21287 | * lto-streamer-out.c (struct sets): New sturcture. | |
21288 | (trivally_defined_alias): New function. | |
21289 | (output_alias_pair_p): Rewrite. | |
21290 | (output_unreferenced_globals): Fix output of alias pairs. | |
21291 | (produce_symtab): Likewise. | |
21292 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
21293 | as needed in lto. | |
21294 | * varasm.c (symbol_alias_set_t): Remove. | |
21295 | (symbol_alias_set_destroy): Export. | |
21296 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
21297 | based on ... | |
21298 | (compute_visible_aliases): ... this one; remove. | |
21299 | (trivially_visible_alias): New | |
21300 | (trivially_defined_alias): New. | |
21301 | (remove_unreachable_alias_pairs): Rewrite. | |
21302 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
21303 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
21304 | in LTO mode. | |
21305 | ||
1b248907 RG |
21306 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
21307 | ||
21308 | PR tree-optimization/46076 | |
21309 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
21310 | unprototyped to empty argument list function types are useless. | |
21311 | ||
b1923f0a RG |
21312 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
21313 | ||
21314 | PR middle-end/45235 | |
21315 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
21316 | volatile MEMs as MEM_READONLY_P. | |
21317 | ||
e98965af RG |
21318 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
21319 | ||
21320 | PR tree-optimization/47239 | |
21321 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
21322 | ||
9f9ca914 JL |
21323 | 2011-01-11 Jeff Law <law@redhat.com> |
21324 | ||
1ee3ea05 | 21325 | PR tree-optimization/47086 |
9f9ca914 JL |
21326 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
21327 | IVs from statements that might throw. | |
21328 | ||
345fdcb7 JH |
21329 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
21330 | ||
21331 | PR lto/45375 | |
21332 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
21333 | ||
c459c97b JH |
21334 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
21335 | ||
21336 | PR lto/45375 | |
21337 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
21338 | when correcting profile. | |
21339 | ||
06c9eb51 JH |
21340 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
21341 | ||
21342 | PR lto/46083 | |
21343 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
21344 | DECL_FINI_PRIORITY. | |
21345 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
21346 | Restore DECL_FINI_PRIORITY. | |
21347 | ||
ae9fd815 RW |
21348 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
21349 | ||
21350 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
21351 | @deftypefn statements. Ensure presence of return value. Wrap | |
21352 | overlong @deftypefn lines. | |
21353 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
21354 | descriptions of removed functions. | |
21355 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
21356 | of multi-word return value in @deftypefn statement. | |
21357 | ||
0ecb4a7c RW |
21358 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
21359 | ||
21360 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
21361 | (Conditional Expressions, Logical Operators) | |
21362 | (Statement and operand traversals): Do not indent smallexample | |
21363 | code. Fix duplicate function argument in example. | |
21364 | ||
2e5e346d JL |
21365 | 2011-01-10 Jeff Law <law@redhat.com> |
21366 | ||
1ee3ea05 | 21367 | PR tree-optimization/47141 |
2e5e346d JL |
21368 | * ipa-split.c (split_function): Handle case where we are |
21369 | returning a value and the return block has a virtual operand phi. | |
21370 | ||
cf9712cc JH |
21371 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
21372 | ||
1c3ba85b | 21373 | PR tree-optimization/47234 |
cf9712cc JH |
21374 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
21375 | (pass_feedback_split_functions): Declare. | |
21376 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
21377 | tree-profile. | |
21378 | * ipa-split.c (gate_split_functions): Update comments; disable | |
21379 | split-functions for profile_arc_flag and branch_probabilities. | |
21380 | (gate_feedback_split_functions): New function. | |
21381 | (execute_feedback_split_functions): New function. | |
21382 | (pass_feedback_split_functions): New global var. | |
21383 | ||
94cd932c L |
21384 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
21385 | ||
21386 | PR lto/46760 | |
21387 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
21388 | calling gimple_call_set_cannot_inline. | |
21389 | ||
fbbfcaf1 IS |
21390 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
21391 | ||
21392 | * config/darwin-sections.def: Remove unused section. | |
21393 | ||
d06865bf DK |
21394 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
21395 | ||
21396 | PR c++/47218 | |
21397 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
21398 | ||
96bbfbac NP |
21399 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
21400 | ||
21401 | PR objc/47232 | |
21402 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
21403 | error message. | |
21404 | ||
1ba6516f KT |
21405 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
21406 | ||
21407 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
21408 | to switch back to function's section. | |
21409 | ||
0c5d770e IS |
21410 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
21411 | ||
21412 | PR gcc/46902 | |
21413 | PR testsuite/46912 | |
21414 | * plugin.c: Move include of dlfcn.h from here... | |
21415 | * system.h: ... to here. | |
21416 | ||
21417 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
21418 | |
21419 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
21420 | file name. | |
21421 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
21422 | two extra empty pages in PDF output. | |
21423 | ||
046608a3 NP |
21424 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
21425 | ||
21426 | PR objc/47078 | |
21427 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
21428 | for error recovery purposes behave as if it was not specified so | |
21429 | that the default type is usd. | |
21430 | ||
8cb114b9 JH |
21431 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21432 | ||
21433 | PR tree-optmization/46469 | |
21434 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
21435 | nodes with external decls; handle weakrefs merging correctly. | |
21436 | ||
b294a75e JM |
21437 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
21438 | ||
21439 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
21440 | not false. | |
21441 | ||
96bdf9b4 JH |
21442 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21443 | ||
f60c2554 | 21444 | * doc/invoke.texi (-flto, -fuse-linker-plugin): Update defaults |
96bdf9b4 JH |
21445 | and no longer claim that gold is required for linker plugin. |
21446 | * configure: Regenerate. | |
21447 | * gcc.c (PLUGIN_COND): New macro. | |
21448 | (LINK_COMMAND_SPEC): Use it. | |
21449 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
21450 | * config.in (HAVE_LTO_PLUGIN): New. | |
21451 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
21452 | HAVE_LTO_PLUGIN. | |
21453 | ||
17afc0fe JH |
21454 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21455 | ||
21456 | PR tree-optimization/46367 | |
21457 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
21458 | when we can update original. | |
21459 | (cgraph_mark_inline_edge): Sanity check. | |
21460 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
21461 | ||
d4c48c0f UW |
21462 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21463 | ||
21464 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
21465 | ||
96f5b137 L |
21466 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
21467 | ||
21468 | PR driver/42445 | |
21469 | * gcc.c (%>S): New. | |
21470 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
21471 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
21472 | (do_spec_1): Handle "%>". | |
21473 | ||
21474 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
21475 | ||
c6a8f6de JJ |
21476 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
21477 | ||
c21bbd7a JJ |
21478 | PR target/47201 |
21479 | * config/i386/i386.c (ix86_delegitimize_address): If | |
21480 | simplify_gen_subreg fails, return orig_x. | |
21481 | ||
c6a8f6de JJ |
21482 | PR bootstrap/47187 |
21483 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
21484 | lhs of the call properly. | |
21485 | ||
fe95fbf9 JH |
21486 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21487 | ||
21488 | PR lto/45375 | |
21489 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
21490 | ||
14d11d40 IS |
21491 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
21492 | ||
72e961c8 EB |
21493 | * target.def (function_switched_text_sections): New hook. |
21494 | * doc/tm.texi: Regenerated. | |
21495 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 21496 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
21497 | (final_scan_insn): Call function_switched_text_sections when a |
21498 | mid-function section change occurs. | |
14d11d40 | 21499 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
21500 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
21501 | Likewise. | |
14d11d40 | 21502 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 21503 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 21504 | |
0b764288 IS |
21505 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
21506 | ||
21507 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
21508 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
21509 | the secondary code fragment when outputting for DWARF == 2. | |
21510 | ||
2ac6bb04 AS |
21511 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
21512 | ||
21513 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
21514 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
21515 | Remove. | |
21516 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
21517 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
21518 | ||
9f82de11 EB |
21519 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
21520 | ||
21521 | PR debug/46704 | |
280d9630 EB |
21522 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
21523 | when it is not empty. | |
9f82de11 EB |
21524 | |
21525 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 21526 | |
1ed72abf | 21527 | Bobcat Enablement |
14b52538 | 21528 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 21529 | (case ${target}): Add btver1. |
14b52538 | 21530 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 21531 | -march=native recognize btver1 processors. |
14b52538 | 21532 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 21533 | btver1 def_and_undef |
14b52538 | 21534 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
21535 | btver1 cost table. |
21536 | (m_BTVER1): New definition. | |
21537 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
21538 | (initial_ix86_tune_features): Add btver1 tune. | |
21539 | (processor_target_table): Add btver1 entry. | |
21540 | (static const char *const cpu_names): Add btver1 entry. | |
21541 | (software_prefetching_beneficial_p): Add btver1. | |
21542 | (ix86_option_override_internal): Add btver1 instruction sets. | |
21543 | (ix86_issue_rate): Add btver1. | |
21544 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 21545 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
21546 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
21547 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
21548 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
21549 | ||
e1a973d8 RO |
21550 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21551 | ||
21552 | PR target/43309 | |
21553 | * config/i386/i386.c (legitimize_tls_address) | |
21554 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
21555 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
21556 | (tls_initial_exec_64_sun): New pattern. | |
21557 | ||
c73f67c5 GP |
21558 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
21559 | ||
21560 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
21561 | of the description of -wrapper. | |
21562 | ||
bc4c6f9c JM |
21563 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
21564 | ||
21565 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
21566 | rdynamic, threads): New Driver options. | |
21567 | ||
adb75db0 RO |
21568 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21569 | ||
21570 | PR target/38118 | |
21571 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
21572 | if coming from .tdata. | |
21573 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
21574 | ||
402c1cb4 JH |
21575 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
21576 | ||
21577 | PR lto/47188 | |
21578 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
21579 | ||
a4da6485 RO |
21580 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21581 | ||
21582 | PR other/45915 | |
21583 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
21584 | --version output if supported. | |
21585 | * configure: Regenerate. | |
21586 | ||
028dbdf4 JM |
21587 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
21588 | ||
21589 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
21590 | Driver options. | |
21591 | ||
dfe776dd JJ |
21592 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
21593 | ||
21594 | PR c/47150 | |
21595 | * c-convert.c (convert): When converting a complex expression | |
21596 | other than COMPLEX_EXPR to a different complex type, ensure | |
21597 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
21598 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
21599 | when converting COMPLEX_TYPE. | |
21600 | ||
210dedfe IR |
21601 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
21602 | ||
21603 | PR tree-optimization/47139 | |
21604 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
21605 | only the last reduction value is used outside the loop. Update | |
21606 | documentation. | |
21607 | ||
cd33a412 JM |
21608 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
21609 | ||
21610 | * config/rtems.opt: New. | |
21611 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
21612 | ||
819edd94 CF |
21613 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
21614 | ||
21615 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
21616 | processors do not support 3DNow instructions. | |
21617 | ||
dc242c4a UW |
21618 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21619 | ||
21620 | * config/spu/spu.c (spu_option_override): Set parameter | |
21621 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
21622 | ||
be286227 JH |
21623 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
21624 | ||
21625 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
21626 | at the command line. | |
21627 | ||
644e637f MJ |
21628 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
21629 | ||
21630 | PR lto/47162 | |
21631 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
21632 | deltas on streamed outgoing edges. | |
21633 | (output_node_opt_summary): Output info for outgoing edges only when | |
21634 | the node is in new parameter set. | |
21635 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
21636 | aforementioned functions. Update its forward declaration and its | |
21637 | callee too. | |
21638 | ||
7bd11157 TT |
21639 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
21640 | ||
21641 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
21642 | operator to c_finish_omp_atomic. | |
21643 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
21644 | (build_unary_op): Update. | |
21645 | (build_modify_expr): Update. | |
21646 | (build_asm_expr): Update. | |
21647 | ||
f626b979 UW |
21648 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21649 | ||
21650 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
21651 | newly inserted insns. | |
21652 | (pad_bb): Likewise. | |
21653 | (spu_emit_branch_hint): Likewise. | |
21654 | (insert_hbrp_for_ilb_runout): Likewise. | |
21655 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
21656 | schedule_insns returns. | |
21657 | ||
4c825c02 UW |
21658 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21659 | ||
21660 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
21661 | ||
5e9fba51 EB |
21662 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
21663 | ||
21664 | PR tree-optimization/47005 | |
21665 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
21666 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
21667 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
21668 | reference and one of the accesses in the group is non_addressable. | |
21669 | ||
3ebb5ca6 EB |
21670 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
21671 | ||
21672 | PR tree-optimization/47056 | |
21673 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
21674 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
21675 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
21676 | ||
d5d4d14e EB |
21677 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
21678 | ||
21679 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
21680 | initializer. Skip view conversions from aggregate types. | |
21681 | ||
d996ef70 KT |
21682 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
21683 | ||
21684 | PR bootstrap/47055 | |
21685 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
21686 | ||
509d65dd | 21687 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
21688 | |
21689 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
21690 | obvious typo. | |
21691 | ||
55c623b5 UW |
21692 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21693 | ||
21694 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
21695 | on empty epilogue sequences. | |
21696 | ||
b98d6b35 JM |
21697 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
21698 | ||
21699 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
21700 | non-static): New Driver options. | |
21701 | ||
a0d43bac JZ |
21702 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
21703 | ||
21704 | PR driver/47137 | |
21705 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
21706 | for all assembly languages. | |
21707 | ||
2b18eb32 MX |
21708 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
21709 | ||
21710 | * config/mips/loongson3a.md: New file. | |
21711 | * config/mips/mips.md: Include loongson3a.md. | |
21712 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
21713 | TUNE_LOONGSON_3A. | |
21714 | ||
42a48c4f EB |
21715 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
21716 | ||
21717 | PR middle-end/47017 | |
21718 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
21719 | instead of convert_memory_address_addr_space on the base expression. | |
21720 | ||
9c1732c4 UW |
21721 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21722 | ||
21723 | * config/spu/spu.c (spu_option_override): Update error text | |
21724 | for bad -march= / -mtune= values. | |
21725 | ||
aa474365 UW |
21726 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21727 | ||
21728 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
21729 | if branch-hint optimization will be performed. | |
21730 | ||
9766135b JJ |
21731 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
21732 | ||
371556ee JJ |
21733 | PR tree-optimization/47148 |
21734 | * ipa-split.c (split_function): Convert arguments to | |
21735 | DECL_ARG_TYPE if possible. | |
21736 | ||
1ac12fa2 JJ |
21737 | PR tree-optimization/47155 |
21738 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
21739 | when computing uns. | |
21740 | ||
9766135b JJ |
21741 | PR rtl-optimization/47157 |
21742 | * combine.c (try_combine): If undobuf.other_insn becomes | |
21743 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
21744 | and set *new_direct_jump_p too. | |
21745 | ||
f4a2e571 SP |
21746 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
21747 | ||
21748 | PR tree-optimization/47021 | |
21749 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
21750 | ||
9f8e43c0 JJ |
21751 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
21752 | ||
21753 | * gcc.c (process_command): Update copyright notice dates. | |
21754 | * gcov.c (print_version): Likewise. | |
21755 | * gcov-dump.c (print_version): Likewise. | |
21756 | * mips-tfile.c (main): Likewise. | |
21757 | * mips-tdump.c (main): Likewise. | |
21758 | ||
1a2e38f3 MJ |
21759 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21760 | ||
21761 | PR tree-optimization/46801 | |
21762 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
21763 | aggregate fields start at byte boundary instead of the bit-field flag. | |
21764 | ||
56b721c5 L |
21765 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
21766 | ||
21767 | PR driver/47137 | |
21768 | * gcc.c (main): Revert revision 168407. | |
21769 | ||
839d549b MJ |
21770 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21771 | ||
21772 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
21773 | ||
4ce99a20 | 21774 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
21775 | |
21776 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
21777 | vector optab to expand vector/scalar shift, update gimple to vector. | |
21778 | ||
76df0ae6 MJ |
21779 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21780 | ||
21781 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
21782 | a thunk. | |
21783 | ||
ce47fda3 MJ |
21784 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21785 | ||
21786 | PR tree-optimization/46984 | |
21787 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
21788 | HOST_WIDE_INT. | |
21789 | (cgraph_create_indirect_edge): Fixed line length. | |
21790 | (cgraph_indirect_call_info): Declare. | |
21791 | (cgraph_make_edge_direct) Update declaration. | |
21792 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
21793 | (cgraph_create_indirect_edge): Use it. | |
21794 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
21795 | callees. | |
21796 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
21797 | the new thunk_delta representation. | |
21798 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
21799 | HOST_WIDE_INT. | |
21800 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
21801 | (ipa_read_indirect_edge_info): Likewise. | |
21802 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
21803 | (output_node_opt_summary): Call it on all outgoing edges. | |
21804 | (input_edge_opt_summary): New function. | |
21805 | (input_node_opt_summary): Call it on all outgoing edges. | |
21806 | ||
1e67fa1f L |
21807 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
21808 | ||
21809 | PR driver/47137 | |
21810 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
21811 | ||
6656b2ac EB |
21812 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
21813 | ||
21814 | * regrename.c: Add general comment describing the pass. | |
21815 | (struct du_head): Remove 'length' field. | |
21816 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
21817 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
21818 | Force renaming to the preferred class (if any) in the first pass and do | |
21819 | not consider registers that belong to it in the second pass. | |
21820 | (create_new_chain): Do not set 'length' field. | |
21821 | (scan_rtx_reg): Likewise. | |
21822 | ||
bc470c24 JJ |
21823 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
21824 | ||
4e996296 JJ |
21825 | PR tree-optimization/47140 |
21826 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
21827 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
21828 | to bit_value_binop. | |
21829 | ||
bc470c24 | 21830 | PR rtl-optimization/47028 |
6656b2ac EB |
21831 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
21832 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 21833 | |
5af62fcd | 21834 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
21835 | |
21836 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
21837 | Remove the word "see" before "@pxref". | |
21838 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
21839 | ||
0e20c89f JH |
21840 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
21841 | ||
6656b2ac EB |
21842 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
21843 | memory. | |
0e20c89f | 21844 | |
220e83ca KT |
21845 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
21846 | ||
21847 | PR target/38662 | |
6656b2ac | 21848 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 21849 | |
ad41bd84 | 21850 | \f |
797103eb | 21851 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
21852 | |
21853 | Copying and distribution of this file, with or without modification, | |
21854 | are permitted in any medium without royalty provided the copyright | |
21855 | notice and this notice are preserved. |