]>
Commit | Line | Data |
---|---|---|
6d14c006 JH |
1 | 2009-04-15 Jan Hubicka <jh@suse.cz> |
2 | ||
3 | * builtins.def (va_start, va_end, va_copy): Mark nothrow. | |
4 | ||
5afaa917 NS |
5 | 2009-04-15 Nathan Sidwell <nathan@codesourcery.com> |
6 | ||
7 | * config/rs6000/rs6000.c (rs6000_init_builtins): Set TYPE_NAME of | |
8 | our distinct integral and vector types. | |
9 | ||
3b482fca RAE |
10 | 2009-04-15 Rafael Avila de Espindola <espindola@google.com> |
11 | ||
12 | * class.c (build_vtbl_ref_1): Remove call to assemble_external. | |
13 | * init.c (build_vtbl_address): Remove call to assemble_external. | |
14 | ||
6cd1d2e2 DJ |
15 | 2009-04-14 Daniel Jacobowitz <dan@codesourcery.com> |
16 | ||
17 | * config/rs6000/rs6000.c (rs6000_dwarf_register_span): Fix debug | |
18 | output for other floating point modes. | |
19 | ||
dab71827 DN |
20 | 2009-04-14 Diego Novillo <dnovillo@google.com> |
21 | ||
22 | * diagnostic.c (diagnostic_report_diagnostic): Do not | |
23 | warn about loaded plugins for DK_ERROR and DK_WARNING. | |
24 | * c-decl.c (declspecs_add_type): Move call to | |
25 | invoke_plugin_callbacks ... | |
26 | * c-parser.c (c_parser_declspecs): ... here. | |
27 | * plugin.c (dump_active_plugins): Tidy output. | |
28 | ||
68a607d8 DN |
29 | 2009-04-14 Diego Novillo <dnovillo@google.com> |
30 | Le-Chun Wu <lcwu@google.com> | |
31 | ||
32 | * configure.ac: Add --enable-plugin support. | |
33 | Define ENABLE_PLUGIN and PLUGINLIBS when specified. | |
34 | * Makefile.in (PLUGIN_H): Define. | |
35 | Export ENABLE_PLUGIN and GMPINC to site.exp. | |
36 | Add PLUGINLIBS to link command. | |
37 | Add/modify dependencies for plugin.o and files including plugin.h. | |
38 | (plugin.o): New. | |
39 | * config.in: Regenerate. | |
40 | ||
41 | * opts.c (common_handle_option): Handle OPT_fplugin_ and | |
42 | OPT_fplugin_arg_. | |
43 | ||
44 | 2009-04-14 Le-Chun Wu <lcwu@google.com> | |
45 | ||
46 | * tree-pass.h (register_one_dump_file): Add a prototype for | |
47 | register_one_dump_file. | |
48 | * toplev.c (compile_file): Call initialize_plugins. | |
49 | (do_compile): Call invoke_plugin_callbacks. | |
50 | (toplev_main): Call invoke_plugin_callbacks. | |
51 | * common.opt: Add -fplugin= and -fplugin-arg-. | |
52 | * gcc-plugin.h: New public header file for plugins to include. | |
53 | * plugin.c: New source file. | |
54 | * plugin.h: New internal header file. | |
55 | * passes.c (register_one_dump_file): Make it external. | |
56 | ||
57 | * c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks. | |
58 | ||
59 | 2009-04-14 Diego Novillo <dnovillo@google.com> | |
60 | ||
61 | * doc/plugins.texi: New. | |
62 | * doc/gccint.texi: Add reference to Plugins chapter. | |
63 | * doc/invoke.texi: Document -fplugin and -fplugin-arg | |
64 | * diagnostic.c (diagnostic_report_diagnostic): Warn about | |
65 | loaded plugins, if any. | |
66 | * timevar.def (TV_PLUGIN_INIT): Define. | |
67 | (TV_PLUGIN_RUN): Define. | |
68 | * plugin.c: Include timevar.h | |
69 | (plugins_active_p): New. | |
70 | (dump_active_plugins): New. | |
71 | (debug_active_plugins): New. | |
72 | ||
50617257 JM |
73 | 2009-04-14 Joseph Myers <joseph@codesourcery.com> |
74 | ||
75 | * config/sol2.h (LINK_ARCH32_SPEC_BASE): Use %R with absolute | |
76 | library paths. | |
77 | * config/sparc/sol2-bi.h (LINK_ARCH64_SPEC_BASE): Likewise. | |
78 | ||
b32f6fff KH |
79 | 2009-04-14 Kazu Hirata <kazu@codesourcery.com> |
80 | ||
81 | * config/arm/arm.c (arm_rtx_costs_1): Treat a minus with a shift | |
82 | the same as a minus without a shift. | |
83 | ||
85d04fa2 NC |
84 | 2009-04-14 Nick Clifton <nickc@redhat.com> |
85 | ||
86 | * config/stormy16/stormy16.md (ineqbranch_1): Do not assume that | |
87 | comparisons with small integers will always produce a short | |
88 | branch. | |
89 | ||
e495a0c8 RAE |
90 | 2009-04-14 Rafael Avila de Espindola <espindola@google.com> |
91 | ||
92 | Merge: | |
93 | ||
94 | 2008-12-19 Diego Novillo <dnovillo@google.com> | |
95 | ||
68a607d8 | 96 | * cgraph.c (dump_cgraph_node): Show memory address of NODE. |
e495a0c8 | 97 | |
587aa063 RG |
98 | 2000-04-14 Richard Guenther <rguenther@suse.de> |
99 | ||
100 | * tree-cfg.c (verify_gimple_assign_unary): Adjust vector code | |
101 | verification. | |
102 | (verify_gimple_assign_binary): Likewise. Handle shifts and | |
103 | rotates correctly. | |
104 | (verify_gimple_phi): Print the mismatched argument position. | |
105 | * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer): | |
106 | Fix types. | |
107 | (vect_update_init_of_dr): Likewise. | |
108 | * matrix-reorg.c (transform_access_sites): Do what the | |
109 | comment suggests. | |
110 | * omp-low.c (expand_omp_atomic_pipeline): Use the correct types. | |
111 | ||
9eca1774 ME |
112 | 2009-04-13 Michael Eager <eager@eagercon.com> |
113 | ||
114 | * config/rs6000/rs6000-c.c: generate defines if rs6000_xilinx_fpu: | |
115 | _XFPU, _XFPU_SP_LITE, _XFPU_SP_FULL, _XFPU_DP_LITE, _XFPU_DP_FULL | |
116 | * config/rs6000/xilinx.h: New. Spec for powerpc-xilinx-eabi | |
117 | * config.gcc (powerpc-xilinx-eabi): add xilinx.h to tm_file, | |
118 | remove duplicate config | |
119 | ||
b0e2d008 DR |
120 | 2009-04-13 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> |
121 | ||
122 | * ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump | |
123 | file_name:line_number type locator of the call site. | |
124 | ||
1244a8b7 VM |
125 | 2009-04-13 Vladimir Makarov <vmakarov@redhat.com> |
126 | ||
127 | * genautomata.c: Put blank after comma. | |
128 | (automaton_decls): New. | |
129 | (struct unit_usage): Add comments to member next. | |
130 | (store_alt_unit_usage): Keep the list ordered. | |
131 | (unit_present_on_list_p, equal_alternatives_p): New. | |
132 | (check_regexp_units_distribution): Check units distribution | |
133 | correctness correctly. | |
134 | (main): Don't write automata if error is found. Return correct | |
135 | exit code. | |
136 | ||
137 | * config/m68k/cf.md (cfv4_ds): Remove. | |
138 | (cfv4_pOEP1, cfv4_sOEP1, cfv4_pOEP2,cfv4_sOEP2, cfv4_pOEP3, | |
139 | cfv4_sOEP3): Assign to cfv4_oep instead of cfv4_ds. | |
140 | ||
141 | * config/rs6000/power4.md (lsuq_power4, iq_power4, fpq_power4, | |
142 | power4-load-ext, power4-store, power4-store-update, | |
143 | power4-fpstore, power4-fpstore-update, power4-two, power4-three, | |
144 | power4-insert, power4-compare, power4-lmul-cmp, power4-imul-cmp, | |
145 | power4-lmul, , power4-imul, power4-imul3, power4-sdiv, | |
146 | power4-sqrt, power4-isync): Modify reservation to make correct | |
147 | unit distribution to automata. | |
148 | ||
149 | * config/rs6000/power5.md (iq_power5, fpq_power5, power5-store, | |
150 | power5-store-update, power5-two, power5-three, power5-lmul, | |
151 | power5-imul, power5-imul3, power5-sdiv, power5-sqrt): Ditto. | |
152 | ||
f7dd1864 AN |
153 | 2009-04-13 Adam Nemet <anemet@caviumnetworks.com> |
154 | ||
155 | * except.c (pass_set_nothrow_function_flags): Set name and add | |
156 | TODO_dump_func. | |
157 | (set_nothrow_function_flags): Mention in the dump file when | |
158 | changing a function to nothrow. | |
159 | ||
59a1171f OS |
160 | 2009-04-13 Ozkan Sezer <sezeroz@gmail.com> |
161 | ||
162 | PR/39066 | |
163 | * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__ | |
164 | instead of unsigned long. | |
165 | ||
934c2060 RR |
166 | 2009-04-13 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
167 | ||
f7dd1864 AN |
168 | * config/arm/arm.c (return_used_this_function): Remove. |
169 | (arm_output_function_prologue): Remove use of | |
934c2060 | 170 | return_used_this_function. |
f7dd1864 | 171 | (output_return_instruction): Replace use of |
934c2060 RR |
172 | return_used_this_function |
173 | by cfun->machine->return_used_this_function. | |
f7dd1864 AN |
174 | (arm_output_epilogue): Likewise. |
175 | (arm_output_function_epilogue): Likewise. | |
176 | (thumb_unexpanded_epilogue): Likewise. | |
177 | * config/arm/arm.h (struct machine_function): | |
934c2060 | 178 | New member return_used_this_function. |
f7dd1864 | 179 | |
ae5cc016 MM |
180 | 2009-04-12 Mark Mitchell <mark@codesourcery.com> |
181 | ||
182 | * doc/install.texi: Correct description of default directory for | |
183 | --with-gxx-include-dir. | |
184 | ||
a0ce68df | 185 | 2009-04-12 Eric Botcazou <ebotcazou@adacore.com> |
849d624b EB |
186 | |
187 | * fold-const.c (build_range_check): Properly deal with enumeral and | |
188 | boolean base types. | |
189 | ||
3906a4a1 SB |
190 | 2009-04-12 Steven Bosscher <steven@gcc.gnu.org> |
191 | ||
192 | * doc/invoke.texi (max_gcse_passes): Remove documentation. | |
193 | * params.def (PARAM_MAX_GCSE_PASSES): Remove. | |
194 | * params.h (MAX_GCSE_PASSES): Remove. | |
195 | * gcse.c (gcse_main): Run CPROP1, PRE or HOIST, and CPROP2 | |
196 | in sequence. Remove ability to run multiple passes. | |
197 | (bypass_jumps): Report run as third CPROP pass. | |
198 | ||
efaadb93 AN |
199 | 2009-04-12 Adam Nemet <anemet@caviumnetworks.com> |
200 | ||
201 | PR middle-end/39651 | |
202 | * except.c (can_throw_external): Look at each insn in a SEQUENCE | |
203 | when deciding whether the whole SEQUENCE can throw. | |
204 | ||
4c48007b UB |
205 | 2009-04-12 Uros Bizjak <ubizjak@gmail.com> |
206 | ||
207 | PR target/39740 | |
208 | * config/alpha/predicates.md (local_symbolic_operand): Return 1 for | |
209 | offseted label references. | |
210 | ||
b4104018 JH |
211 | 2009-04-11 Jan Hubicka <jh@suse.cz> |
212 | ||
213 | * tree-ssa-pre.c (eliminate): Fix call of update_stmt. | |
214 | ||
32848948 RG |
215 | 2009-04-11 Richard Guenther <rguenther@suse.de> |
216 | ||
217 | PR middle-end/39732 | |
218 | * tree-inline.c (declare_return_variable): Mark DECL_BY_REFERENCE | |
219 | return variables as TREE_ADDRESSABLE. | |
220 | ||
8810712e RG |
221 | 2009-04-11 Richard Guenther <rguenther@suse.de> |
222 | ||
223 | PR tree-optimization/39713 | |
224 | * tree-ssa-sccvn.c (vn_get_expr_for): Make sure built | |
225 | reference trees have SSA_NAME operands. | |
226 | ||
fa78c0c1 RG |
227 | 2009-04-11 Richard Guenther <rguenther@suse.de> |
228 | ||
229 | PR c/39712 | |
230 | * c-gimplify.c (c_gimplify_expr): Adjust check for mismatched | |
231 | address expressions. | |
232 | ||
4d722130 DK |
233 | 2009-04-11 Dave Korn <dave.korn.cygwin@gmail.com> |
234 | ||
235 | * config/i386/cygwin-stdint.h (INT_LEAST32_TYPE): Update to | |
236 | match changes in Cygwin 1.7 | |
237 | (UINT_LEAST32_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE, | |
238 | UINT_FAST16_TYPE, UINT_FAST32_TYPE): Likewise. | |
239 | ||
567a90f5 PB |
240 | 2009-04-10 Paolo Bonzini <bonzini@gnu.org> |
241 | ||
242 | PR tree-optimization/39701 | |
243 | * doc/invoke.texi (Optimization Options): Document change in | |
244 | meaning and initialization of -fdelete-null-pointer-checks. | |
245 | ||
1ad2f450 L |
246 | 2009-04-10 H.J. Lu <hongjiu.lu@intel.com> |
247 | ||
248 | PR middle-end/39701 | |
249 | * common.opt (-fdelete-null-pointer-checks): Initialize to 1. | |
250 | ||
251 | * opts.c (decode_options): Don't set flag_delete_null_pointer_checks | |
252 | here. | |
253 | ||
254 | * doc/invoke.texi: Update -fdelete-null-pointer-checks. | |
255 | ||
1afc5373 CF |
256 | 2009-04-10 Chao-ying Fu <fu@mips.com> |
257 | ||
258 | * doc/tm.texi (Instruction Output): Document | |
259 | TARGET_ASM_FINAL_POSTSCAN_INSN. | |
260 | * target.h (final_postscan_insn): New field in asm_out. | |
261 | * target-def.h (TARGET_ASM_FINAL_POSTSCAN_INSN): New define. | |
262 | (TARGET_ASM_OUT): Add TARGET_ASM_FINAL_POSTSCAN_INSN. | |
263 | * final.c (final_scan_insn): Call | |
264 | targetm.asm_out.final_postscan_insn after outputting | |
265 | an asm macro and a normal instruction. | |
266 | ||
267 | * config/mips/mips.h (FINAL_PRESCAN_INSN): New define. | |
268 | * config/mips/mips-protos.h (mips_final_prescan_insn): Declare. | |
269 | * config/mips/mips.c (mips_at_reg_p): New for_each_rtx callback. | |
270 | (mips_final_prescan_insn, mips_final_postscan_insn): New functions. | |
271 | (TARGET_ASM_FINAL_POSTSCAN_INSN): New define. | |
272 | ||
4d35e75c PB |
273 | 2009-04-10 Paolo Bonzini <bonzini@gnu.org> |
274 | ||
275 | PR middle-end/39701 | |
1ad2f450 L |
276 | * fold-const.c (tree_single_nonzero_warnv_p): Pass non-static |
277 | variables as non-NULL even with -fdelete-null-pointer-checks. | |
4d35e75c | 278 | |
62c49b83 L |
279 | 2009-04-10 H.J. Lu <hongjiu.lu@intel.com> |
280 | ||
281 | * config/rs6000/darwin-vecsave.asm: Remove extra "*/". | |
282 | ||
80558628 L |
283 | 2009-04-09 H.J. Lu <hongjiu.lu@intel.com> |
284 | ||
285 | PR target/39678 | |
286 | * config/i386/i386.c (classify_argument): Handle SCmode with | |
287 | (bit_offset % 64) != 0. | |
288 | ||
8c70d28b SL |
289 | 2009-04-09 Sandra Loosemore <sandra@codesourcery.com> |
290 | ||
291 | * doc/invoke.texi (Optimize Options): Add cross-reference to | |
292 | -Q --help=optimizers examples. | |
293 | ||
e1ff19bf BE |
294 | 2009-04-10 Ben Elliston <bje@au.ibm.com> |
295 | ||
296 | PR target/36800 | |
297 | * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Do not set | |
298 | regalign for the reg == fpr and TDmode case. | |
299 | ||
52daca75 DA |
300 | 2009-04-09 David Ayers <ayers@fsfe.org> |
301 | ||
302 | PR objc/29200 | |
303 | * objc/objc-act.c (warn_with_method): Remove helper function. | |
304 | (check_duplicates): Call warning and inform directly. | |
305 | (really_start_method): Likewise. | |
306 | ||
b45f0e58 PB |
307 | 2009-04-09 Paolo Bonzini <bonzini@gnu.org> |
308 | ||
309 | * expmed.c (expand_divmod): Always use a comparison for a division | |
310 | by a large unsigned integer. | |
311 | ||
1ad2f450 L |
312 | * fold-const.c (tree_single_nonzero_warnv_p): Always treat decls |
313 | for things others than variables or functions as nonzero. | |
b45f0e58 | 314 | |
748086b7 JJ |
315 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
316 | ||
317 | * unwind-compat.c: Change copyright header to refer to version | |
318 | 3 of the GNU General Public License with version 3.1 of the | |
319 | GCC Runtime Library Exception and to point readers at the | |
7a715bba | 320 | COPYING3 and COPYING3.RUNTIME files and the FSF's license web page. |
748086b7 JJ |
321 | * config/alpha/crtfastmath.c: Likewise. |
322 | * config/alpha/linux-unwind.h: Likewise. | |
323 | * config/alpha/qrnnd.asm: Likewise. | |
324 | * config/alpha/vms-crt0-64.c: Likewise. | |
325 | * config/alpha/vms-crt0.c: Likewise. | |
326 | * config/alpha/vms-dwarf2.asm: Likewise. | |
327 | * config/alpha/vms-dwarf2eh.asm: Likewise. | |
328 | * config/alpha/vms-psxcrt0-64.c: Likewise. | |
329 | * config/alpha/vms-psxcrt0.c: Likewise. | |
330 | * config/alpha/vms_tramp.asm: Likewise. | |
331 | * config/arc/initfini.c: Likewise. | |
332 | * config/arc/lib1funcs.asm: Likewise. | |
333 | * config/arm/bpabi-v6m.S: Likewise. | |
334 | * config/arm/bpabi.S: Likewise. | |
335 | * config/arm/bpabi.c: Likewise. | |
336 | * config/arm/crti.asm: Likewise. | |
337 | * config/arm/crtn.asm: Likewise. | |
338 | * config/arm/ieee754-df.S: Likewise. | |
339 | * config/arm/ieee754-sf.S: Likewise. | |
340 | * config/arm/lib1funcs.asm: Likewise. | |
341 | * config/arm/libunwind.S: Likewise. | |
342 | * config/arm/linux-atomic.c: Likewise. | |
343 | * config/arm/mmintrin.h: Likewise. | |
344 | * config/arm/pr-support.c: Likewise. | |
345 | * config/arm/unaligned-funcs.c: Likewise. | |
346 | * config/arm/unwind-arm.c: Likewise. | |
347 | * config/arm/unwind-arm.h: Likewise. | |
348 | * config/avr/libgcc.S: Likewise. | |
349 | * config/bfin/crti.s: Likewise. | |
350 | * config/bfin/crtlibid.s: Likewise. | |
351 | * config/bfin/crtn.s: Likewise. | |
352 | * config/bfin/lib1funcs.asm: Likewise. | |
353 | * config/bfin/linux-unwind.h: Likewise. | |
354 | * config/cris/arit.c: Likewise. | |
355 | * config/cris/cris_abi_symbol.c: Likewise. | |
356 | * config/darwin-64.c: Likewise. | |
357 | * config/darwin-crt2.c: Likewise. | |
358 | * config/darwin-crt3.c: Likewise. | |
359 | * config/darwin.h: Likewise. | |
360 | * config/dbxelf.h: Likewise. | |
361 | * config/dfp-bit.c: Likewise. | |
362 | * config/dfp-bit.h: Likewise. | |
363 | * config/elfos.h: Likewise. | |
364 | * config/fixed-bit.c: Likewise. | |
365 | * config/fixed-bit.h: Likewise. | |
366 | * config/fp-bit.c: Likewise. | |
367 | * config/fp-bit.h: Likewise. | |
368 | * config/fr30/crti.asm: Likewise. | |
369 | * config/fr30/crtn.asm: Likewise. | |
370 | * config/fr30/lib1funcs.asm: Likewise. | |
371 | * config/freebsd-spec.h: Likewise. | |
372 | * config/frv/cmovd.c: Likewise. | |
373 | * config/frv/cmovh.c: Likewise. | |
374 | * config/frv/cmovw.c: Likewise. | |
375 | * config/frv/frvbegin.c: Likewise. | |
376 | * config/frv/frvend.c: Likewise. | |
377 | * config/frv/lib1funcs.asm: Likewise. | |
378 | * config/glibc-stdint.h: Likewise. | |
379 | * config/h8300/clzhi2.c: Likewise. | |
380 | * config/h8300/crti.asm: Likewise. | |
381 | * config/h8300/crtn.asm: Likewise. | |
382 | * config/h8300/ctzhi2.c: Likewise. | |
383 | * config/h8300/fixunssfsi.c: Likewise. | |
384 | * config/h8300/lib1funcs.asm: Likewise. | |
385 | * config/h8300/parityhi2.c: Likewise. | |
386 | * config/h8300/popcounthi2.c: Likewise. | |
387 | * config/i386/ammintrin.h: Likewise. | |
388 | * config/i386/att.h: Likewise. | |
389 | * config/i386/avxintrin.h: Likewise. | |
390 | * config/i386/biarch64.h: Likewise. | |
391 | * config/i386/bmmintrin.h: Likewise. | |
392 | * config/i386/cpuid.h: Likewise. | |
393 | * config/i386/cross-stdarg.h: Likewise. | |
394 | * config/i386/crtfastmath.c: Likewise. | |
395 | * config/i386/crtprec.c: Likewise. | |
396 | * config/i386/cygming-crtbegin.c: Likewise. | |
397 | * config/i386/cygming-crtend.c: Likewise. | |
398 | * config/i386/cygwin.asm: Likewise. | |
399 | * config/i386/emmintrin.h: Likewise. | |
400 | * config/i386/gmm_malloc.h: Likewise. | |
401 | * config/i386/gthr-win32.c: Likewise. | |
402 | * config/i386/i386.h: Likewise. | |
403 | * config/i386/immintrin.h: Likewise. | |
404 | * config/i386/linux-unwind.h: Likewise. | |
405 | * config/i386/linux64.h: Likewise. | |
406 | * config/i386/mm3dnow.h: Likewise. | |
407 | * config/i386/mmintrin-common.h: Likewise. | |
408 | * config/i386/mmintrin.h: Likewise. | |
409 | * config/i386/nmmintrin.h: Likewise. | |
410 | * config/i386/pmm_malloc.h: Likewise. | |
411 | * config/i386/pmmintrin.h: Likewise. | |
412 | * config/i386/smmintrin.h: Likewise. | |
413 | * config/i386/sol2-c1.asm: Likewise. | |
414 | * config/i386/sol2-ci.asm: Likewise. | |
415 | * config/i386/sol2-cn.asm: Likewise. | |
416 | * config/i386/sol2-gc1.asm: Likewise. | |
417 | * config/i386/tmmintrin.h: Likewise. | |
418 | * config/i386/unix.h: Likewise. | |
419 | * config/i386/w32-unwind.h: Likewise. | |
420 | * config/i386/wmmintrin.h: Likewise. | |
421 | * config/i386/x86-64.h: Likewise. | |
422 | * config/i386/x86intrin.h: Likewise. | |
423 | * config/i386/xmmintrin.h: Likewise. | |
424 | * config/ia64/crtbegin.asm: Likewise. | |
425 | * config/ia64/crtend.asm: Likewise. | |
426 | * config/ia64/crtfastmath.c: Likewise. | |
427 | * config/ia64/crti.asm: Likewise. | |
428 | * config/ia64/crtn.asm: Likewise. | |
429 | * config/ia64/fde-glibc.c: Likewise. | |
430 | * config/ia64/lib1funcs.asm: Likewise. | |
431 | * config/ia64/linux-unwind.h: Likewise. | |
432 | * config/ia64/quadlib.c: Likewise. | |
433 | * config/ia64/unwind-ia64.c: Likewise. | |
434 | * config/linux.h: Likewise. | |
435 | * config/m32c/m32c-lib1.S: Likewise. | |
436 | * config/m32c/m32c-lib2-trapv.c: Likewise. | |
437 | * config/m32c/m32c-lib2.c: Likewise. | |
438 | * config/m32r/initfini.c: Likewise. | |
439 | * config/m68hc11/larith.asm: Likewise. | |
440 | * config/m68hc11/m68hc11-crt0.S: Likewise. | |
441 | * config/m68k/cf.md: Likewise. | |
442 | * config/m68k/crti.s: Likewise. | |
443 | * config/m68k/crtn.s: Likewise. | |
444 | * config/m68k/lb1sf68.asm: Likewise. | |
445 | * config/m68k/linux-unwind.h: Likewise. | |
446 | * config/mcore/crti.asm: Likewise. | |
447 | * config/mcore/crtn.asm: Likewise. | |
448 | * config/mcore/lib1.asm: Likewise. | |
449 | * config/mips/linux-unwind.h: Likewise. | |
450 | * config/mips/loongson.h: Likewise. | |
451 | * config/mips/mips16.S: Likewise. | |
452 | * config/mmix/crti.asm: Likewise. | |
453 | * config/mmix/crtn.asm: Likewise. | |
454 | * config/pa/fptr.c: Likewise. | |
455 | * config/pa/hpux-unwind.h: Likewise. | |
456 | * config/pa/lib2funcs.asm: Likewise. | |
457 | * config/pa/linux-atomic.c: Likewise. | |
458 | * config/pa/linux-unwind.h: Likewise. | |
459 | * config/pa/milli64.S: Likewise. | |
460 | * config/pa/quadlib.c: Likewise. | |
461 | * config/pa/stublib.c: Likewise. | |
462 | * config/picochip/libgccExtras/adddi3.asm: Likewise. | |
463 | * config/picochip/libgccExtras/ashlsi3.asm: Likewise. | |
464 | * config/picochip/libgccExtras/ashlsi3.c: Likewise. | |
465 | * config/picochip/libgccExtras/ashrsi3.asm: Likewise. | |
466 | * config/picochip/libgccExtras/ashrsi3.c: Likewise. | |
467 | * config/picochip/libgccExtras/cmpsi2.asm: Likewise. | |
468 | * config/picochip/libgccExtras/divmod15.asm: Likewise. | |
469 | * config/picochip/libgccExtras/divmodhi4.asm: Likewise. | |
470 | * config/picochip/libgccExtras/divmodsi4.asm: Likewise. | |
471 | * config/picochip/libgccExtras/longjmp.asm: Likewise. | |
472 | * config/picochip/libgccExtras/lshrsi3.asm: Likewise. | |
473 | * config/picochip/libgccExtras/lshrsi3.c: Likewise. | |
474 | * config/picochip/libgccExtras/parityhi2.asm: Likewise. | |
475 | * config/picochip/libgccExtras/popcounthi2.asm: Likewise. | |
476 | * config/picochip/libgccExtras/setjmp.asm: Likewise. | |
477 | * config/picochip/libgccExtras/subdi3.asm: Likewise. | |
478 | * config/picochip/libgccExtras/ucmpsi2.asm: Likewise. | |
479 | * config/picochip/libgccExtras/udivmodhi4.asm: Likewise. | |
480 | * config/picochip/libgccExtras/udivmodsi4.asm: Likewise. | |
481 | * config/rs6000/750cl.h: Likewise. | |
482 | * config/rs6000/altivec.h: Likewise. | |
483 | * config/rs6000/biarch64.h: Likewise. | |
484 | * config/rs6000/crtresfpr.asm: Likewise. | |
485 | * config/rs6000/crtresgpr.asm: Likewise. | |
486 | * config/rs6000/crtresxfpr.asm: Likewise. | |
487 | * config/rs6000/crtresxgpr.asm: Likewise. | |
488 | * config/rs6000/crtsavfpr.asm: Likewise. | |
489 | * config/rs6000/crtsavgpr.asm: Likewise. | |
490 | * config/rs6000/darwin-asm.h: Likewise. | |
491 | * config/rs6000/darwin-fallback.c: Likewise. | |
492 | * config/rs6000/darwin-fpsave.asm: Likewise. | |
493 | * config/rs6000/darwin-ldouble.c: Likewise. | |
494 | * config/rs6000/darwin-tramp.asm: Likewise. | |
495 | * config/rs6000/darwin-unwind.h: Likewise. | |
496 | * config/rs6000/darwin-vecsave.asm: Likewise. | |
497 | * config/rs6000/darwin-world.asm: Likewise. | |
498 | * config/rs6000/e500crtres32gpr.asm: Likewise. | |
499 | * config/rs6000/e500crtres64gpr.asm: Likewise. | |
500 | * config/rs6000/e500crtres64gprctr.asm: Likewise. | |
501 | * config/rs6000/e500crtrest32gpr.asm: Likewise. | |
502 | * config/rs6000/e500crtrest64gpr.asm: Likewise. | |
503 | * config/rs6000/e500crtresx32gpr.asm: Likewise. | |
504 | * config/rs6000/e500crtresx64gpr.asm: Likewise. | |
505 | * config/rs6000/e500crtsav32gpr.asm: Likewise. | |
506 | * config/rs6000/e500crtsav64gpr.asm: Likewise. | |
507 | * config/rs6000/e500crtsav64gprctr.asm: Likewise. | |
508 | * config/rs6000/e500crtsavg32gpr.asm: Likewise. | |
509 | * config/rs6000/e500crtsavg64gpr.asm: Likewise. | |
510 | * config/rs6000/e500crtsavg64gprctr.asm: Likewise. | |
511 | * config/rs6000/eabi-ci.asm: Likewise. | |
512 | * config/rs6000/eabi-cn.asm: Likewise. | |
513 | * config/rs6000/eabi.asm: Likewise. | |
514 | * config/rs6000/linux-unwind.h: Likewise. | |
515 | * config/rs6000/linux64.h: Likewise. | |
516 | * config/rs6000/paired.h: Likewise. | |
517 | * config/rs6000/paired.md: Likewise. | |
518 | * config/rs6000/ppc64-fp.c: Likewise. | |
519 | * config/rs6000/ppu_intrinsics.h: Likewise. | |
520 | * config/rs6000/rs6000.h: Likewise. | |
521 | * config/rs6000/si2vmx.h: Likewise. | |
522 | * config/rs6000/sol-ci.asm: Likewise. | |
523 | * config/rs6000/sol-cn.asm: Likewise. | |
524 | * config/rs6000/spe.h: Likewise. | |
525 | * config/rs6000/spu2vmx.h: Likewise. | |
526 | * config/rs6000/sysv4.h: Likewise. | |
527 | * config/rs6000/tramp.asm: Likewise. | |
528 | * config/rs6000/vec_types.h: Likewise. | |
529 | * config/s390/linux-unwind.h: Likewise. | |
530 | * config/s390/tpf-unwind.h: Likewise. | |
531 | * config/score/crti.asm: Likewise. | |
532 | * config/score/crtn.asm: Likewise. | |
533 | * config/sh/crt1.asm: Likewise. | |
534 | * config/sh/crti.asm: Likewise. | |
535 | * config/sh/crtn.asm: Likewise. | |
536 | * config/sh/divtab-sh4-300.c: Likewise. | |
537 | * config/sh/divtab-sh4.c: Likewise. | |
538 | * config/sh/divtab.c: Likewise. | |
539 | * config/sh/lib1funcs-4-300.asm: Likewise. | |
540 | * config/sh/lib1funcs-Os-4-200.asm: Likewise. | |
541 | * config/sh/lib1funcs.asm: Likewise. | |
542 | * config/sh/lib1funcs.h: Likewise. | |
543 | * config/sh/linux-atomic.asm: Likewise. | |
544 | * config/sh/linux-unwind.h: Likewise. | |
545 | * config/sh/shmedia.h: Likewise. | |
546 | * config/sh/sshmedia.h: Likewise. | |
547 | * config/sh/ushmedia.h: Likewise. | |
548 | * config/sparc/crtfastmath.c: Likewise. | |
549 | * config/sparc/linux-unwind.h: Likewise. | |
550 | * config/sparc/sol2-c1.asm: Likewise. | |
551 | * config/sparc/sol2-ci.asm: Likewise. | |
552 | * config/sparc/sol2-cn.asm: Likewise. | |
553 | * config/spu/divmodti4.c: Likewise. | |
554 | * config/spu/divv2df3.c: Likewise. | |
555 | * config/spu/float_disf.c: Likewise. | |
556 | * config/spu/float_unsdidf.c: Likewise. | |
557 | * config/spu/float_unsdisf.c: Likewise. | |
558 | * config/spu/float_unssidf.c: Likewise. | |
559 | * config/spu/mfc_multi_tag_release.c: Likewise. | |
560 | * config/spu/mfc_multi_tag_reserve.c: Likewise. | |
561 | * config/spu/mfc_tag_release.c: Likewise. | |
562 | * config/spu/mfc_tag_reserve.c: Likewise. | |
563 | * config/spu/mfc_tag_table.c: Likewise. | |
564 | * config/spu/multi3.c: Likewise. | |
565 | * config/spu/spu_internals.h: Likewise. | |
566 | * config/spu/spu_intrinsics.h: Likewise. | |
567 | * config/spu/spu_mfcio.h: Likewise. | |
568 | * config/spu/vec_types.h: Likewise. | |
569 | * config/spu/vmx2spu.h: Likewise. | |
570 | * config/stormy16/stormy16-lib2.c: Likewise. | |
571 | * config/svr4.h: Likewise. | |
572 | * config/sync.c: Likewise. | |
573 | * config/v850/lib1funcs.asm: Likewise. | |
574 | * config/vxlib-tls.c: Likewise. | |
575 | * config/vxlib.c: Likewise. | |
576 | * config/vxworks-dummy.h: Likewise. | |
577 | * config/xtensa/crti.asm: Likewise. | |
578 | * config/xtensa/crtn.asm: Likewise. | |
579 | * config/xtensa/ieee754-df.S: Likewise. | |
580 | * config/xtensa/ieee754-sf.S: Likewise. | |
581 | * config/xtensa/lib1funcs.asm: Likewise. | |
582 | * config/xtensa/lib2funcs.S: Likewise. | |
583 | * config/xtensa/linux-unwind.h: Likewise. | |
584 | * config/xtensa/unwind-dw2-xtensa.c: Likewise. | |
585 | * config/xtensa/unwind-dw2-xtensa.h: Likewise. | |
586 | * coretypes.h: Likewise. | |
587 | * crtstuff.c: Likewise. | |
588 | * defaults.h: Likewise. | |
589 | * dwarf2.h: Likewise. | |
590 | * emutls.c: Likewise. | |
591 | * gbl-ctors.h: Likewise. | |
592 | * gcov-io.h: Likewise. | |
593 | * ginclude/float.h: Likewise. | |
594 | * ginclude/iso646.h: Likewise. | |
595 | * ginclude/stdarg.h: Likewise. | |
596 | * ginclude/stdbool.h: Likewise. | |
597 | * ginclude/stddef.h: Likewise. | |
598 | * ginclude/stdfix.h: Likewise. | |
599 | * ginclude/stdint-gcc.h: Likewise. | |
600 | * ginclude/tgmath.h: Likewise. | |
601 | * gthr-aix.h: Likewise. | |
602 | * gthr-dce.h: Likewise. | |
603 | * gthr-gnat.c: Likewise. | |
604 | * gthr-gnat.h: Likewise. | |
605 | * gthr-lynx.h: Likewise. | |
606 | * gthr-mipssde.h: Likewise. | |
607 | * gthr-nks.h: Likewise. | |
608 | * gthr-posix.c: Likewise. | |
609 | * gthr-posix.h: Likewise. | |
610 | * gthr-posix95.h: Likewise. | |
611 | * gthr-rtems.h: Likewise. | |
612 | * gthr-single.h: Likewise. | |
613 | * gthr-solaris.h: Likewise. | |
614 | * gthr-tpf.h: Likewise. | |
615 | * gthr-vxworks.h: Likewise. | |
616 | * gthr-win32.h: Likewise. | |
617 | * gthr.h: Likewise. | |
618 | * libgcc2.c: Likewise. | |
619 | * libgcc2.h: Likewise. | |
620 | * libgcov.c: Likewise. | |
621 | * tsystem.h: Likewise. | |
622 | * typeclass.h: Likewise. | |
623 | * unwind-c.c: Likewise. | |
624 | * unwind-compat.h: Likewise. | |
625 | * unwind-dw2-fde-compat.c: Likewise. | |
626 | * unwind-dw2-fde-darwin.c: Likewise. | |
627 | * unwind-dw2-fde-glibc.c: Likewise. | |
628 | * unwind-dw2-fde.c: Likewise. | |
629 | * unwind-dw2-fde.h: Likewise. | |
630 | * unwind-dw2.c: Likewise. | |
631 | * unwind-dw2.h: Likewise. | |
632 | * unwind-generic.h: Likewise. | |
633 | * unwind-pe.h: Likewise. | |
634 | * unwind-sjlj.c: Likewise. | |
635 | * unwind.inc: Likewise. | |
636 | * config/arm/neon-gen.ml: Change generated copyright header to | |
637 | refer to version 3 of the GNU General Public License with | |
638 | version 3.1 of the GCC Runtime Library Exception and to point | |
639 | readers at the COPYING3 and COPYING3.RUNTIME files and the | |
640 | FSF's license web page. | |
641 | * config/arm/arm_neon.h: Regenerate. | |
642 | ||
643 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
644 | ||
645 | * config/cris/cris.md: Change copyright header to refer to version | |
646 | 3 of the GNU General Public License. | |
647 | * doc/install.texi2html: Change copyright header to refer to version | |
648 | 3 of the GNU General Public License and to point readers at the | |
649 | COPYING3 file and the FSF's license web page. | |
650 | * config/vax/linux.h: Likewise. | |
651 | ||
4a77c72b PB |
652 | 2009-04-09 Paolo Bonzini <bonzini@gnu.org> |
653 | ||
1ad2f450 L |
654 | * config/i386/i386.md (cmpcc): New. |
655 | * config/i386/sync.md (sync_compare_and_swap*): Set FLAGS_REG. | |
656 | (sync_compare_and_swap_cc*): Delete. | |
657 | ||
658 | * config/s390/s390.c (s390_compare_emitted): Remove. | |
659 | (s390_emit_compare): Handle MODE_CC s390_compare_op0 like | |
660 | s390_compare_emitted used to be handled. Assert that modes match. | |
661 | (s390_emit_compare_and_swap): Use s390_emit_compare, do not | |
662 | refer to sync_compare_and_swap_ccsi. | |
663 | * config/s390/s390.h (s390_compare_emitted): Remove. | |
664 | * config/s390/s390.md (seq): Look for MODE_CC s390_compare_op0 | |
665 | instead of s390_compare_emitted. | |
666 | (stack_protect_test, sync_compare_and_swap_cc): Set s390_compare_op0 | |
667 | instead of s390_compare_emitted. | |
668 | * config/s390/s390.md (cmpcc): New. | |
669 | (sync_compare_and_swapqi, sync_compare_and_swaphi): Clobber | |
670 | CC_REGNUM, do not pretend it's set. | |
671 | (sync_compare_and_swap_cc*): Delete. | |
672 | * config/s390/predicates.md (cc_reg_operand): New. | |
673 | ||
674 | * expr.c (sync_compare_and_swap_cc): Delete. | |
675 | * optabs.h (sync_compare_and_swap_cc): Delete. | |
676 | * optabs.c (prepare_cmp_insn): Ignore which specific CCmode | |
677 | is being used with can_compare_p. | |
678 | (emit_cmp_and_jump_insn_1): Likewise when looking in the optab. | |
679 | (find_cc_set): New. | |
680 | (expand_bool_compare_and_swap): Do not use sync_compare_and_swap_cc, | |
681 | look for a MODE_CC set instead. Use emit_store_flag. | |
682 | (expand_compare_and_swap_loop): Likewise, with some additional | |
683 | complication to avoid a force_reg when useless. Use | |
684 | emit_cmp_and_jump_insns. | |
685 | * genopinit.c (optabs): Delete sync_compare_and_swap_cc. | |
686 | * doc/md.texi (sync_compare_and_swap_cc): Merge with | |
687 | sync_compare_and_swap documentation. | |
4a77c72b | 688 | |
0c0efb33 JH |
689 | 2009-04-09 Jan Hubicka <jh@suse.cz> |
690 | ||
691 | * except.c (find_prev_try): Break out from .... | |
692 | (duplicate_eh_regions): ... here; properly update prev_try pointers | |
693 | when duplication part of tree. | |
694 | (dump_eh_tree): Improve dumping. | |
695 | (verify_eh_region): New. | |
696 | (verify_eh_tree): Use it. | |
697 | ||
22a65a54 RG |
698 | 2009-04-06 Richard Guenther <rguenther@suse.de> |
699 | ||
700 | * c-gimplify.c (c_gimplify_expr): Fix the invalid GENERIC | |
701 | &ARRAY addresses by adjusting their types and prepending | |
702 | a conversion. | |
703 | * tree-cfg.c (verify_gimple_assign_single): Verify that | |
704 | addresses are correct. | |
705 | ||
f76968e6 RG |
706 | 2009-04-09 Richard Guenther <rguenther@suse.de> |
707 | ||
708 | * tree-ssa-ccp.c (maybe_fold_stmt_addition): Move non-constant | |
709 | indices into an array reference if possible. | |
710 | * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): | |
711 | Fold POINTER_PLUS_EXPR statements with invariant address. | |
712 | ||
c90c5fb5 AM |
713 | 2009-04-09 Alan Modra <amodra@bigpond.net.au> |
714 | ||
715 | PR target/39634 | |
716 | * config.gcc (powerpc64-*-linux*): Always build biarch. | |
717 | ||
17cede2e JM |
718 | 2009-04-09 Joseph Myers <joseph@codesourcery.com> |
719 | ||
720 | PR c/39613 | |
721 | * c-typeck.c (do_case): If case label is not an INTEGER_CST, fold | |
722 | it and pedwarn if this results in an INTEGER_CST. | |
723 | ||
a3337ea2 KG |
724 | 2009-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
725 | ||
726 | * doc/install.texi: Update minimum GMP version. Remove obsolete | |
727 | text in MPFR section. | |
728 | ||
ce9ba79b JJ |
729 | 2009-04-08 Jakub Jelinek <jakub@redhat.com> |
730 | ||
731 | * dwarf2out.c (class_scope_p): New static inline. | |
732 | (class_or_namespace_scope_p): Use it. | |
733 | (gen_variable_die): Use DW_TAG_member tag for static data member | |
734 | declarations instead of DW_TAG_variable. | |
735 | ||
4f0ae266 JJ |
736 | PR middle-end/39573 |
737 | * omp-low.c (expand_omp_taskreg): Finalize taskreg static local_decls | |
738 | variables. | |
739 | ||
d27f0ddc RG |
740 | 2009-04-08 Richard Guenther <rguenther@suse.de> |
741 | ||
742 | * tree-ssa-sccvn.c (valueize_refs): Do not continue to | |
743 | valueize random data. | |
744 | ||
557cc596 DE |
745 | 2009-04-08 David Edelsohn <edelsohn@gnu.org> |
746 | ||
747 | * config.gcc (aix tm_file): Add aix-stdint.h. | |
748 | (aix tm clause use_gcc_stdint): Set to wrap. | |
749 | * config/rs6000/aix-stdint.h: New file. | |
750 | ||
75ccc1e7 RG |
751 | 2009-04-08 Richard Guenther <rguenther@suse.de> |
752 | ||
753 | PR middle-end/36291 | |
754 | * tree-dfa.c (add_referenced_var): Do not recurse into | |
755 | global initializers. | |
756 | * tree-ssa-ccp.c (get_symbol_constant_value): Add newly | |
757 | exposed variables. | |
758 | (fold_const_aggregate_ref): Likewise. | |
759 | ||
c6963675 PB |
760 | 2009-04-08 Paolo Bonzini <bonzini@gnu.org> |
761 | ||
6c44cf79 L |
762 | * recog.c (ordered_comparison_operator): New. |
763 | * gensupport.c (std_preds): Add it. | |
c6963675 PB |
764 | * doc/md.texi (Machine-Independent Predicates): Document it. |
765 | ||
6d07ad98 JH |
766 | 2009-04-08 Jan Hubicka <jh@suse.cz> |
767 | ||
768 | * tree-eh.c (cleanup_eh): When not optimizing, do not try EH merging. | |
769 | * function.h (rtl_eh): Remove exception_handler_label_map. | |
770 | * except.c (ehl_hash, ehl_eq, add_ehl_entry, | |
771 | remove_exception_handler_label, for_each_eh_label_1): Remove. | |
772 | (rtl_remove_unreachable_regions): Remove. | |
773 | (convert_from_eh_region_ranges): Do not remove unreachable regions. | |
774 | (find_exception_handler_labels): Don't build the hashtable. | |
775 | (maybe_remove_eh_handler): Remove. | |
776 | (for_each_eh_label): Rewrite to walk the tree. | |
777 | (rest_of_handle_eh): Do not cleanup cfg prior EH construction. | |
778 | * except.h (maybe_remove_eh_handler): Remove. | |
779 | * passes.c (init_optimization_passes): Schedule second EH cleanup | |
780 | before out-of-ssa. | |
781 | * cfgrtl.c (rtl_delete_block, rtl_merge_blocks, | |
782 | cfg_layout_merge_blocks): Do not call maybe_remove_eh_handler. | |
783 | ||
7ddf71e3 PB |
784 | 2009-04-08 Paolo Bonzini <bonzini@gnu.org> |
785 | ||
786 | * genoutput.c (validate_optab_operands): New. | |
787 | (gen_insn, gen_expand): Call it. | |
788 | ||
789 | * genflags.c (gen_insn): Detect misused iterators. | |
790 | (main): Pass line_no to gen_insn, exit with status 1 on error. | |
791 | ||
792 | * genextract.c (line_no): Make global. | |
793 | (VEC_safe_set_locstr): Change assertion to error message. | |
794 | (main): Exit with status 1 on error. | |
795 | ||
4d84fe7c JM |
796 | 2009-04-08 Joseph Myers <joseph@codesourcery.com> |
797 | ||
798 | PR c/39614 | |
799 | PR c/39673 | |
800 | * c-common.h (C_MAYBE_CONST_EXPR_PRE, C_MAYBE_CONST_EXPR_EXPR, | |
801 | C_MAYBE_CONST_EXPR_INT_OPERANDS, C_MAYBE_CONST_EXPR_NON_CONST, | |
802 | EXPR_INT_CONST_OPERANDS): Remove duplicate definitions. | |
803 | * c-convert.c (convert): Do not call fold on results of conversion | |
804 | functions when the result is a C_MAYBE_CONST_EXPR. | |
805 | * c-parser.c (c_parser_postfix_expression): Do not fold condition | |
806 | of __builtin_choose_expr. | |
807 | * c-typeck.c (remove_c_maybe_const_expr): New. | |
808 | (build_unary_op, build_conditional_expr, build_compound_expr, | |
809 | build_binary_op, c_objc_common_truthvalue_conversion): Call | |
810 | remove_c_maybe_const_expr on any input C_MAYBE_CONST_EXPR with | |
811 | integer operands. | |
812 | ||
d1d1c602 BM |
813 | 2009-04-08 Bingfeng Mei <bmei@broadcom.com> |
814 | ||
815 | * fold-const.c (const_binop): Combine two VECTOR_CST under operation | |
6c44cf79 | 816 | CODE to produce a new one. Add a prototype to use fold_convert_const |
d1d1c602 | 817 | |
8e481a2c DS |
818 | 2009-04-08 Danny Smith <dannysmith@users.sourceforge.net> |
819 | ||
820 | PR bootstrap/39660 | |
821 | * config/i386/host-mingw32.c (mingw32_gt_pch_use_address): Don't | |
822 | mix declarations and code. | |
823 | ||
ee618c17 BE |
824 | 2009-04-08 Ben Elliston <bje@au.ibm.com> |
825 | ||
826 | * gcc.c: Replace `CC' with `GCC' throughout. | |
827 | ||
f2a758a2 L |
828 | 2009-04-07 H.J. Lu <hongjiu.lu@intel.com> |
829 | ||
830 | * doc/invoke.texi: Document Atom support. | |
831 | ||
6ea2bd47 JM |
832 | 2009-04-07 Jason Merrill <jason@redhat.com> |
833 | ||
834 | PR c++/25185 | |
835 | * c-common.h, c-common.c: Add flag_pretty_templates. | |
836 | * c-opts.c (c_common_handle_option): Set it. | |
837 | * c.opt: Add -fno-pretty-templates. | |
838 | * doc/invoke.texi (C++ Dialect Options): Likewise. | |
839 | ||
fcb82ab0 UB |
840 | 2009-04-07 Uros Bizjak <ubizjak@gmail.com> |
841 | ||
842 | * config/ia64/ia64.c (ia64_builtins): Add IA64_BUILTIN_HUGE_VALQ. | |
843 | (ia64_init_builtins): Handle IA64_BUILTIN_HUGE_VALQ. | |
844 | (ia64_expand_builtin): Likewise. | |
845 | ||
dc5e7298 MJ |
846 | 2009-04-07 Martin Jambor <mjambor@suse.cz> |
847 | ||
848 | * tree-ssa-alias.c (refs_may_alias_p_1): Check for | |
849 | is_gimple_min_invariant rather than CONSTANT_CLASS_P so that invariant | |
850 | ADDR_EXPRS are include too. | |
851 | ||
0609b355 RG |
852 | 2009-04-07 Richard Guenther <rguenther@suse.de> |
853 | ||
854 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Non-aliased | |
855 | decls are only used if passes as parameters or if they are | |
856 | local statics and the call is not to a builtin. | |
857 | (call_may_clobber_ref_p_1): Likewise. | |
858 | ||
d8e535fa PB |
859 | 2009-04-07 Paolo Bonzini <bonzini@gnu.org> |
860 | ||
861 | * expr.c (do_store_flag): Remove last argument. Simplify code | |
862 | to avoid duplication of tests already done by can_compare_p. | |
863 | (expand_expr_real_1): Adjust caller. | |
864 | ||
c3c64f50 PB |
865 | 2009-04-07 Paolo Bonzini <bonzini@gnu.org> |
866 | ||
fcb82ab0 UB |
867 | * optabs.c (can_compare_p): Test the predicate of a |
868 | cbranch and cstore pattern. | |
c3c64f50 | 869 | |
9a53bc17 PB |
870 | 2009-04-07 Paolo Bonzini <bonzini@gnu.org> |
871 | ||
fcb82ab0 UB |
872 | * expr.c (convert_move): Use emit_store_flag instead of |
873 | "emulating" it. | |
9a53bc17 | 874 | |
67b8f1c1 PB |
875 | 2009-04-07 Paolo Bonzini <bonzini@gnu.org> |
876 | ||
fcb82ab0 UB |
877 | * config/i386/i386.c (ix86_compare_emitted): Remove. |
878 | (ix86_expand_compare, ix86_expand_branch): Handle MODE_CC | |
879 | ix86_compare_op0 like ix86_compare_emitted used to be handled. | |
880 | * config/i386/i386.h (ix86_compare_emitted): Remove. | |
881 | * config/i386/i386.md (stack_protect_test): Set ix86_compare_op0 | |
882 | instead of ix86_compare_emitted. | |
883 | * config/i386/sync.md (sync_compare_and_swap_cc): Likewise. | |
67b8f1c1 | 884 | |
44509946 AS |
885 | 2009-04-07 Andrew Stubbs <ams@codesourcery.com> |
886 | ||
887 | * config.gcc (sh-*-*): Add sysroot-suffix.h to tm_file. | |
888 | Add t-sysroot-suffix to tmake_file. | |
889 | * config/print-sysroot-suffix.sh: New file. | |
890 | * config/t-sysroot-suffix: New file. | |
891 | ||
ca22d882 BE |
892 | 2009-04-07 Ben Elliston <bje@au.ibm.com> |
893 | ||
894 | * libgcc2.c (INFINITY): Use __builtin_huge_val, not __builtin_inf, | |
895 | as the latter produces a warning when the target does not support | |
896 | infinity. | |
897 | ||
95aac11b BE |
898 | 2009-04-07 Ben Elliston <bje@au.ibm.com> |
899 | ||
900 | * dfp.c: Replace type punning assignments with memcpy throughout. | |
901 | * Makefile.in (dfp.o-warn): Remove. | |
902 | ||
633dd061 AM |
903 | 2009-04-07 Alan Modra <amodra@bigpond.net.au> |
904 | ||
905 | PR target/39634 | |
906 | * config.gcc: Merge powerpc-*-linux* and powerpc64-*-linux*. | |
907 | Include soft-fp/t-softfp after rs6000/t-linux64. | |
908 | ||
fe0a25ec EB |
909 | 2009-04-06 Eric Botcazou <ebotcazou@adacore.com> |
910 | ||
911 | * stor-layout.c (set_sizetype): Use the full precision of their | |
912 | machine mode for bitsize types. | |
913 | ||
0c011bc3 L |
914 | 2009-04-06 H.J. Lu <hongjiu.lu@intel.com> |
915 | ||
916 | * config/i386/i386.md: Revert 2 accidental checkins. | |
917 | ||
b6837b94 JY |
918 | 2009-04-06 Joey Ye <joey.ye@intel.com> |
919 | Xuepeng Guo <xuepeng.guo@intel.com> | |
920 | H.J. Lu <hongjiu.lu@intel.com> | |
921 | ||
922 | Atom pipeline model, tuning and insn selection. | |
923 | * config.gcc (atom): Add atom config options and target. | |
924 | ||
925 | * config/i386/atom.md: New. | |
926 | ||
927 | * config/i386/i386.c (atom_cost): New cost. | |
928 | (m_ATOM): New macro flag. | |
929 | (initial_ix86_tune_features): Set m_ATOM. | |
930 | (x86_accumulate_outgoing_args): Likewise. | |
931 | (x86_arch_always_fancy_math_387): Likewise. | |
932 | (processor_target): Add Atom cost. | |
933 | (cpu_names): Add Atom cpu name. | |
934 | (override_options): Set Atom ISA. | |
935 | (ix86_issue_rate): New case PROCESSOR_ATOM. | |
936 | (ix86_adjust_cost): Likewise. | |
937 | ||
938 | * config/i386/i386.h (TARGET_ATOM): New target macro. | |
939 | (ix86_tune_indices): Add X86_TUNE_OPT_AGU. | |
940 | (TARGET_OPT_AGU): New target option. | |
941 | (target_cpu_default): Add TARGET_CPU_DEFAULT_atom. | |
942 | (processor_type): Add PROCESSOR_ATOM. | |
943 | ||
944 | * config/i386/i386.md (cpu): Add new value "atom". | |
945 | (use_carry, movu): New attr. | |
946 | (atom.md): Include atom.md. | |
947 | (adddi3_carry_rex64): Set attr "use_carry". | |
948 | (addqi3_carry): Likewise. | |
949 | (addhi3_carry): Likewise. | |
950 | (addsi3_carry): Likewise. | |
951 | (*addsi3_carry_zext): Likewise. | |
952 | (subdi3_carry_rex64): Likewise. | |
953 | (subqi3_carry): Likewise. | |
954 | (subhi3_carry): Likewise. | |
955 | (subsi3_carry): Likewise. | |
956 | (x86_movdicc_0_m1_rex64): Likewise. | |
957 | (*x86_movdicc_0_m1_se): Likewise. | |
958 | (x86_movsicc_0_m1): Likewise. | |
959 | (*x86_movsicc_0_m1_se): Likewise. | |
960 | (*adddi_1_rex64): Emit add insn as much as possible. | |
961 | (*addsi_1): Likewise. | |
962 | (return_internal): Set atom_unit. | |
963 | (return_internal_long): Likewise. | |
964 | (return_pop_internal): Likewise. | |
965 | (*rcpsf2_sse): Set atom_sse_attr attr. | |
966 | (*qrt<mode>2_sse): Likewise. | |
967 | (*prefetch_sse): Likewise. | |
968 | ||
969 | * config/i386/i386-c.c (ix86_target_macros_internal): New case | |
970 | PROCESSOR_ATOM. | |
971 | (ix86_target_macros_internal): Likewise. | |
972 | ||
973 | * config/i386/sse.md (cpu): Set attr "atom_sse_attr". | |
974 | (*prefetch_sse_rex): Likewise. | |
975 | (sse_rcpv4sf2): Likewise. | |
976 | (sse_vmrcpv4sf2): Likewise. | |
977 | (sse_sqrtv4sf2): Likewise. | |
978 | (<sse>_vmsqrt<mode>2): Likewise. | |
979 | (sse_ldmxcsr): Likewise. | |
980 | (sse_stmxcsr): Likewise. | |
981 | (*sse_sfence): Likewise. | |
982 | (sse2_clflush): Likewise. | |
983 | (*sse2_mfence): Likewise. | |
984 | (*sse2_lfence): Likewise. | |
985 | (avx_movup<avxmodesuffixf2c><avxmodesuffix>): Set attr "movu". | |
986 | (<sse>_movup<ssemodesuffixf2c>): Likewise. | |
987 | (avx_movdqu<avxmodesuffix>): Likewise. | |
988 | (avx_lddqu<avxmodesuffix>): Likewise. | |
989 | (sse2_movntv2di): Change attr "type" to "ssemov". | |
990 | (sse2_movntsi): Likewise. | |
991 | (rsqrtv8sf2): Change attr "type" to "sseadd". | |
992 | (sse3_addsubv2df3): Set attr "atom_unit". | |
993 | (sse3_h<plusminus_insn>v4sf3): Likewise. | |
994 | (*sse2_pmaddwd): Likewise. | |
995 | (*vec_extractv2di_1_rex64): Likewise. | |
996 | (*vec_extractv2di_1_avx): Likewise. | |
997 | (sse2_psadbw): Likewise. | |
998 | (ssse3_phaddwv8hi3): Likewise. | |
999 | (ssse3_phaddwv4hi3): Likewise. | |
1000 | (ssse3_phadddv4si3): Likewise. | |
1001 | (ssse3_phadddv2si3): Likewise. | |
1002 | (ssse3_phaddswv8hi3): Likewise. | |
1003 | (ssse3_phaddswv4hi3): Likewise. | |
1004 | (ssse3_phsubwv8hi3): Likewise. | |
1005 | (ssse3_phsubwv4hi3): Likewise. | |
1006 | (ssse3_phsubdv4si3): Likewise. | |
1007 | (ssse3_phsubdv2si3): Likewise. | |
1008 | (ssse3_phsubswv8hi3): Likewise. | |
1009 | (ssse3_phsubswv4hi3): Likewise. | |
1010 | (ssse3_pmaddubsw128): Likewise. | |
1011 | (sse3_pmaddubsw: Likewise. | |
1012 | (ssse3_palignrti): Likewise. | |
1013 | (ssse3_palignrdi): Likewise. | |
1014 | ||
53e350d3 GP |
1015 | 2009-04-06 Gerald Pfeifer <gerald@pfeifer.com> |
1016 | ||
1017 | * doc/install.texi (Specific): Fix two cross-references to MinGW. | |
1018 | ||
439ef907 RG |
1019 | 2009-04-06 Richard Guenther <rguenther@suse.de> |
1020 | ||
1021 | PR tree-optimization/28868 | |
1022 | * tree-ssa-pre.c (inserted_phi_names): New bitmap to keep track | |
1023 | of which PHI results we inserted. | |
1024 | (insert_into_preds_of_block): Record inserted PHIs. | |
1025 | (eliminate): Eliminate redundant PHI nodes. | |
1026 | (init_pre): Init inserted_phi_names. | |
1027 | ||
4bad83f5 RG |
1028 | 2009-04-06 Richard Guenther <rguenther@suse.de> |
1029 | ||
1030 | PR tree-optimization/39643 | |
1031 | * tree-ssa-ccp.c (ccp_fold): Fold REALPART_EXPRs and | |
1032 | IMAGPART_EXPRs of complex constants. | |
1033 | (execute_fold_all_builtins): If we folded a call queue | |
1034 | TODO_update_address_taken. | |
1035 | ||
570c4247 JH |
1036 | 2009-04-06 Jan Hubicka <jh@suse.cz> |
1037 | ||
1038 | PR middle-end/39659 | |
1039 | * except.c (remove_unreachable_regions): Propagate may_contain_throw | |
1040 | flag. | |
1041 | ||
a460d7a1 AS |
1042 | 2009-04-06 Andrew Stubbs <ams@codesourcery.com> |
1043 | ||
1044 | * config/sh/lib1funcs.asm (ic_invalidate): Move ICBI out of the | |
1045 | delay slot. | |
1046 | (ic_invalidate_array): Likewise. | |
1047 | ||
6bdf8c2e HS |
1048 | 2009-04-06 Hariharan Sandanagobalane <hariharan@picochip.com> |
1049 | ||
1050 | * calls.c (emit_library_call_value_1): Fix a problem with parameter | |
1051 | alignment for library calls. | |
1052 | ||
7d253f6e DS |
1053 | 2009-04-06 Danny Smith <dannysmith@users.sourceforge.net> |
1054 | ||
1055 | * config.gcc (mingw32 tm_file): Add mingw-stdint.h. | |
1056 | (mingw32 tm clause use_gcc_stdint): Set to wrap. | |
1057 | * config/i386/mingw-stdint.h: New file. | |
1058 | ||
941c3614 RB |
1059 | 2009-04-05 Richard Guenther <rguenther@suse.de> |
1060 | ||
1061 | PR tree-optimization/39648 | |
1062 | * tree-ssa-sccvn.c (vn_reference_fold_indirect): Work around | |
1063 | our &A vs. &A[0] IL deficiencies. | |
1064 | ||
12633413 JH |
1065 | 2009-04-04 Jan Hubicka <jh@suse.cz> |
1066 | ||
941c3614 RB |
1067 | * except.c (sjlj_find_directly_reachable_regions): Be ready for |
1068 | removed toplevel regions. | |
12633413 JH |
1069 | (sjlj_mark_call_sites): Likewise. |
1070 | ||
bb2aaded DK |
1071 | 2009-04-04 Dave Korn <dave.korn.cygwin@gmail.com> |
1072 | ||
1073 | * config.gcc (cygwin tm_file): Add cygwin-stdint.h. | |
1074 | (cygwin tm clause use_gcc_stdint): Set to wrap. | |
1075 | * config/i386/cygwin-stdint.h: New file. | |
1076 | ||
86290011 RG |
1077 | 2009-04-04 Richard Guenther <rguenther@suse.de> |
1078 | ||
1079 | * Makefile.in (tree-ssa-copy.o): Add $(CFGLOOP_H) dependency. | |
1080 | * tree-ssa-copy.c (init_copy_prop): Do not propagate through | |
1081 | single-argument PHIs if we are in loop-closed SSA form. | |
1082 | * tree-vect-loop-manip.c (slpeel_add_loop_guard): Pass extra guards | |
1083 | for the pre-condition. | |
1084 | (slpeel_tree_peel_loop_to_edge): Likewise. | |
1085 | (vect_build_loop_niters): Take an optional sequence to append stmts. | |
1086 | (vect_generate_tmps_on_preheader): Likewise. | |
1087 | (vect_do_peeling_for_loop_bound): Take extra guards for the | |
1088 | pre-condition. | |
1089 | (vect_do_peeling_for_alignment): Adjust. Unconditionally apply | |
1090 | the cost model check. | |
1091 | (vect_loop_versioning): Take stmt and stmt list to put pre-condition | |
7a715bba | 1092 | guards if we are going to peel. Do not apply versioning in that case. |
86290011 RG |
1093 | * tree-vectorizer.h (vect_loop_versioning): Adjust declaration. |
1094 | (vect_do_peeling_for_loop_bound): Likewise. | |
1095 | * tree-vect-loop.c (vect_transform_loop): If we are peeling for | |
1096 | loop bound only record extra pre-conditions, do not apply loop | |
1097 | versioning. | |
1098 | ||
5eeeac64 RG |
1099 | 2009-04-04 Richard Guenther <rguenther@suse.de> |
1100 | ||
1101 | * tree-ssa-operands.c (pop_stmt_changes): Remove automatic | |
1102 | renaming code. | |
1103 | ||
1ff7d06b JH |
1104 | 2009-04-04 Jan Hubicka <jh@suse.cz> |
1105 | ||
1106 | * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use | |
1107 | last_basic_block for size of bb->index indexed array. | |
1108 | * bt-load.c (compute_defs_uses_and_gen, compute_kill, | |
1109 | compute_out, link_btr_uses, build_btr_def_use_webs, | |
1110 | build_btr_def_use_webs, migrate_btr_defs): Likewise. | |
1111 | ||
14925fcd JH |
1112 | 2009-04-04 Jan Hubicka <jh@suse.cz> |
1113 | ||
1114 | * except.c (remove_eh_handler_and_replace): Break out from ... | |
1115 | (remove_eh_handler): ... here. | |
1116 | (bring_to_root): New function. | |
1117 | (remove_unreachable_regions): Collect MUST_NOT_THROW, unify runtime | |
1118 | handled ones, bring others to root of tree. | |
1119 | ||
4e6d1743 JH |
1120 | 2009-04-04 Jan Hubicka <jh@suse.cz> |
1121 | ||
4cb735f7 JH |
1122 | * tree-eh.c (tree_empty_eh_handler_p): Pattern match more curefully. |
1123 | (all_phis_safe_to_merge): New function. | |
1124 | (update_info): New structure. | |
1125 | (make_eh_edge_and_update_phi, update_eh_edges): New functions. | |
1126 | (cleanup_empty_eh): Update SSA if possible. | |
4e6d1743 | 1127 | |
c6803d43 RG |
1128 | 2009-04-04 Richard Guenther <rguenther@suse.de> |
1129 | ||
1130 | * tree-ssa.c (verify_ssa): With -O0 we do not need VOPs. | |
1131 | * tree-ssa-operands.c (append_vdef): Do not append VOPs at -O0. | |
1132 | (append_vuse): Likewise. | |
1133 | ||
54f5943c JJ |
1134 | 2009-04-04 Jakub Jelinek <jakub@redhat.com> |
1135 | ||
1136 | * unwind-dw2.h (_Unwind_FrameState): Add REG_UNDEFINED enum value. | |
1137 | * unwind-dw2.c (execute_cfa_program): Set how to REG_UNDEFINED | |
1138 | instead of REG_UNSAVED for DW_CFA_undefined. | |
1139 | (uw_update_context_1): Handle REG_UNDEFINED the same as REG_UNSAVED. | |
1140 | (uw_update_context): If RA column is REG_UNDEFINED, mark it as | |
1141 | outermost frame. | |
1142 | ||
aad2bccb RE |
1143 | 2009-04-04 Richard Earnshaw <rearnsha@arm.com> |
1144 | ||
1145 | PR target/39501 | |
1146 | * arm.md (movsfcc): Disable if not TARGET_HARD_FLOAT. | |
1147 | * testsuite/gcc.c-torture/execute/pr39501.c: New file. | |
1148 | * testsuite/gcc.c-torture/execute/pr39501.x: New file. | |
1149 | ||
aa7069aa RG |
1150 | 2009-04-04 Richard Guenther <rguenther@suse.de> |
1151 | ||
1152 | PR tree-optimization/8781 | |
1153 | PR tree-optimization/37892 | |
1154 | * tree-ssa-sccvn.h (vn_reference_fold_indirect): Declare. | |
1155 | * tree-ssa-sccvn.c (vn_reference_fold_indirect): New function. | |
1156 | (valueize_refs): Call it for *& valueizations. | |
1157 | (shared_reference_ops_from_ref): Rename to ... | |
1158 | (valueize_shared_reference_ops_from_ref): ... this and valueize. | |
1159 | (shared_reference_ops_from_call): Rename to ... | |
1160 | (valueize_shared_reference_ops_from_call): ... this and valueize. | |
1161 | (vn_reference_lookup): Update. | |
1162 | (visit_reference_op_call): Likewise. | |
1163 | * tree-ssa-pre.c (phi_translate_1): Fold *&. | |
1164 | (eliminate): Value-replace the call address in call statements. | |
1165 | ||
cd15ad3e RG |
1166 | 2009-04-04 Richard Guenther <rguenther@suse.de> |
1167 | ||
1168 | PR tree-optimization/39636 | |
1169 | * tree-ssa-forwprop.c | |
1170 | (forward_propagate_addr_into_variable_array_index): Check for | |
1171 | GIMPLE_ASSIGN before accessing the rhs code. | |
1172 | ||
462f3262 JM |
1173 | 2009-04-03 Jason Merrill <jason@redhat.com> |
1174 | ||
1175 | * stor-layout.c (set_sizetype): Set TYPE_CANONICAL. | |
1176 | ||
6adb807e SE |
1177 | 2009-04-03 Steve Ellcey <sje@cup.hp.com> |
1178 | ||
1179 | * config/ia64/ia64.md (extendsfdf2, extendsfxf2, extenddfxf2, | |
1180 | truncdfsf2, truncxfsf2, truncxfdf2, floatdixf2, fix_truncsfdi2, | |
1181 | fix_truncdfdi2, fix_truncxfdi2, fix_truncxfdi2_alts, floatunsdisf2, | |
1182 | floatunsdidf2, floatunsdixf2, fixuns_truncsfdi2, fixuns_truncdfdi2, | |
1183 | fixuns_truncxfdi2, fixuns_truncxfdi2_alts, divsi3_internal, | |
1184 | smuldi3_highpart, umuldi3_highpart, ctzdi2, *getf_exp_xf, | |
1185 | divdi3_internal_lat, divdi3_internal_thr, mulditi3, *mulditi3_internal, | |
1186 | umulditi3, *umulditi3_internal, addsf3, mulsf3, abssf2, negsf2, | |
1187 | *nabssf2, sminsf3, smaxsf3, *maddsf4, *msubsf4, *nmulsf3, *nmaddsf4, | |
1188 | *nmaddsf4_alts, divsf3, *sqrt_approx, sqrtsf2, sqrtsf2_internal_thr, | |
1189 | adddf3, *adddf3_trunc, muldf3, *muldf3_trunc, absdf2, negdf2, *nabsdf2, | |
1190 | smindf3, smaxdf3, *madddf4, *madddf4_trunc, *msubdf4, *msubdf4_trunc, | |
1191 | *nmuldf3, *nmuldf3_trunc, *nmadddf4, *nmadddf4_alts, *nmadddf4_truncsf, | |
1192 | *nmadddf4_truncsf_alts, divdf3, sqrtdf2, sqrtdf2_internal_thr, divxf3, | |
1193 | sqrtxf2, sqrtxf2_internal_thr, *recip_approx): | |
1194 | Use fr_reg_or_fp01_operand instead of fr_register_operand | |
1195 | ||
1196 | * config/ia64/div.md (extend<mode>rf2, truncrf<mode>2, | |
1197 | recip_approx_rf, divsf3_internal_thr, divsf3_internal_lat, | |
1198 | divdf3_internal_thr, divdf3_internal_lat divxf3_internal): Ditto. | |
1199 | ||
174b3107 VM |
1200 | 2009-04-03 Vladimir Makarov <vmakarov@redhat.com> |
1201 | ||
b844e5d8 L |
1202 | PR rtl-optimization/39607 |
1203 | PR rtl-optimization/39631 | |
7a715bba UB |
1204 | |
1205 | Revert: | |
1206 | ||
174b3107 VM |
1207 | 2009-03-30 Vladimir Makarov <vmakarov@redhat.com> |
1208 | * reload.c (push_reload, find_dummy_reload): Use df_get_live_out | |
1209 | instead of DF_LR_OUT. | |
1210 | * ira-lives.c (process_bb_node_lives): Ditto. | |
1211 | * ira-color.c (ira_loop_edge_freq): Use df_get_live_{out,in} | |
1212 | instead of DF_LR_{OUT,IN}. | |
1213 | * ira-emit.c (generate_edge_moves, add_ranges_and_copies): Ditto. | |
1214 | * ira-build.c (create_bb_allocnos, create_loop_allocnos): Ditto. | |
1215 | ||
535b544a SB |
1216 | 2009-04-03 Steven Bosscher <steven@gcc.gnu.org> |
1217 | ||
1218 | * omp-low.c (pass_expand_omp): Don't claim to provide PROP_gimple_lomp. | |
1219 | (execute_lower_omp): Always run but take the short way out if -fopenmp | |
1220 | is not given. | |
1221 | (gate_lower_omp): Remove, forcing the pass manager to always run the | |
1222 | pass and always set PROP_gimple_lomp. | |
1223 | (pass_lower_omp): Remove gate function. | |
1224 | * matrix-reorg.c (pass_ipa_matrix_reorg): Don't claim to provide | |
1225 | PROP_trees. Instead, require it. | |
1226 | * ipa-cp.c (pass_ipa_cp): Likewise. | |
1227 | * ipa-inline.c (pass_early_inline): Don't claim to provide PROP_cfg. | |
1228 | (pass_ipa_early_inline, pass_inline_parameters, pass_ipa_inline): Idem. | |
1229 | * tree-profile.c (pass_tree_profile): Don't claim to provide PROP_cfg | |
1230 | and PROP_gimple_leh. | |
1231 | ||
5006671f RG |
1232 | 2009-04-03 Richard Guenther <rguenther@suse.de> |
1233 | ||
1234 | PR middle-end/13146 | |
1235 | PR tree-optimization/23940 | |
1236 | PR tree-optimization/33237 | |
1237 | PR middle-end/33974 | |
1238 | PR middle-end/34093 | |
1239 | PR tree-optimization/36201 | |
1240 | PR tree-optimization/36230 | |
1241 | PR tree-optimization/38049 | |
1242 | PR tree-optimization/38207 | |
1243 | PR tree-optimization/38230 | |
1244 | PR tree-optimization/38301 | |
1245 | PR tree-optimization/38585 | |
1246 | PR middle-end/38895 | |
1247 | PR tree-optimization/38985 | |
1248 | PR tree-optimization/39299 | |
1249 | * tree-ssa-structalias.h: Remove. | |
1250 | * tree-ssa-operands.h (NULL_USE_OPERAND_P): Make of type use_operand_p. | |
1251 | (NULL_DEF_OPERAND_P): Make of type def_operand_p. | |
1252 | (struct vuse_element_d): Remove. | |
1253 | (struct vuse_vec_d): Likewise. | |
1254 | (VUSE_VECT_NUM_ELEM, VUSE_VECT_ELEMENT_NC, VUSE_ELEMENT_PTR_NC, | |
1255 | VUSE_ELEMENT_VAR_NC, VUSE_VECT_ELEMENT, VUSE_ELEMENT_PTR, | |
1256 | SET_VUSE_VECT_ELEMENT, SET_VUSE_ELEMENT_VAR, SET_VUSE_ELEMENT_PTR, | |
1257 | VUSE_ELEMENT_VAR): Likewise. | |
1258 | (struct voptype_d): Likewise. | |
1259 | (NUM_VOP_FREE_BUCKETS): Likewise. | |
1260 | (struct ssa_operands): Remove vop_free_buckets and mpt_table fields. | |
1261 | (struct stmt_operands_d): Remove. | |
1262 | (VUSE_OP_PTR, VUSE_OP, SET_VUSE_OP, VUSE_NUM, VUSE_VECT, | |
1263 | VDEF_RESULT_PTR, VDEF_RESULT, VDEF_OP_PTR, VDEF_OP, SET_VDEF_OP, | |
1264 | VDEF_NUM, VDEF_VECT): Likewise. | |
1265 | (copy_virtual_operands): Remove. | |
1266 | (operand_build_cmp): Likewise. | |
1267 | (create_ssa_artificial_load_stmt): Likewise. | |
1268 | (enum ssa_op_iter_type): Remove ssa_op_iter_vdef. | |
1269 | (struct ssa_operand_iterator_d): Remove vuses, vdefs, mayusesm | |
1270 | vuse_index and mayuse_index members. Pack and move done and iter_type | |
1271 | members to the front. | |
1272 | (SSA_OP_VMAYUSE): Remove. | |
1273 | (SSA_OP_VIRTUAL_USES): Adjust. | |
1274 | (FOR_EACH_SSA_VDEF_OPERAND): Remove. | |
1275 | (unlink_stmt_vdef): Declare. | |
1276 | (add_to_addressable_set): Remove. | |
1277 | * tree-vrp.c (stmt_interesting_for_vrp): Adjust. | |
1278 | (vrp_visit_stmt): Likewise. | |
1279 | * doc/tree-ssa.texi (Alias analysis): Update. | |
1280 | * doc/invoke.texi (max-aliased-vops): Remove docs. | |
1281 | (avg-aliased-vops): Likewise. | |
1282 | * tree-into-ssa.c (syms_to_rename): Remove. | |
1283 | (need_to_update_vops_p): Likewise. | |
1284 | (need_to_initialize_update_ssa_p): Rename to ... | |
1285 | (update_ssa_initialized_fn): ... this. Track function we are | |
1286 | initialized for. | |
1287 | (symbol_marked_for_renaming): Simplify. | |
1288 | (add_new_name_mapping): Do not set need_to_update_vops_p. | |
1289 | (dump_currdefs): Use SYMS_TO_RENAME. | |
1290 | (rewrite_update_stmt): Always walk all uses/defs. | |
1291 | (dump_update_ssa): Adjust. | |
1292 | (init_update_ssa): Take function argument. Track what we are | |
1293 | initialized for. | |
1294 | (delete_update_ssa): Reset SYMS_TO_RENAME and update_ssa_initialized_fn. | |
1295 | (create_new_def_for): Initialize for cfun, assert we are initialized | |
1296 | for cfun. | |
1297 | (mark_sym_for_renaming): Simplify. | |
1298 | (mark_set_for_renaming): Do not initialize update-ssa. | |
1299 | (need_ssa_update_p): Simplify. Take function argument. | |
1300 | (name_mappings_registered_p): Assert we ask for the correct function. | |
1301 | (name_registered_for_update_p): Likewise. | |
1302 | (ssa_names_to_replace): Likewise. | |
1303 | (release_ssa_name_after_update_ssa): Likewise. | |
1304 | (update_ssa): Likewise. Use SYMS_TO_RENAME. | |
1305 | (dump_decl_set): Do not print a newline. | |
1306 | (debug_decl_set): Do it here. | |
1307 | (dump_update_ssa): And here. | |
1308 | * tree-ssa-loop-im.c (move_computations): Adjust. | |
1309 | (movement_possibility): Likewise. | |
1310 | (determine_max_movement): Likewise. | |
1311 | (gather_mem_refs_stmt): Likewise. | |
1312 | * tree-dump.c (dequeue_and_dump): Do not handle SYMBOL_MEMORY_TAG | |
1313 | or NAME_MEMORY_TAG. | |
1314 | * tree-complex.c (update_all_vops): Remove. | |
1315 | (expand_complex_move): Adjust. | |
1316 | * tree-ssa-loop-niter.c (chain_of_csts_start): Use NULL_TREE. | |
1317 | Simplify test for memory referencing statement. Exclude | |
1318 | non-invariant ADDR_EXPRs. | |
1319 | * tree-pretty-print.c (dump_generic_node): Do not handle memory tags. | |
1320 | * tree-loop-distribution.c (generate_memset_zero): Adjust. | |
1321 | (rdg_flag_uses): Likewise. | |
1322 | * tree-tailcall.c (suitable_for_tail_opt_p): Remove memory-tag | |
1323 | related code. | |
1324 | (tree_optimize_tail_calls_1): Also split the | |
1325 | edge from the entry block if we have degenerate PHI nodes in | |
1326 | the first basic block. | |
1327 | * tree.c (init_ttree): Remove memory-tag related code. | |
1328 | (tree_code_size): Likewise. | |
1329 | (tree_node_structure): Likewise. | |
1330 | (build7_stat): Re-write to be build6_stat. | |
1331 | * tree.h (MTAG_P, TREE_MEMORY_TAG_CHECK, TMR_TAG): Remove. | |
1332 | (SSA_VAR_P): Adjust. | |
1333 | (struct tree_memory_tag): Remove. | |
1334 | (struct tree_memory_partition_tag): Likewise. | |
1335 | (union tree_node): Adjust. | |
1336 | (build7): Re-write to be build6. | |
1337 | * tree-pass.h (pass_reset_cc_flags): Remove. | |
1338 | (TODO_update_address_taken): New flag. | |
1339 | (pass_simple_dse): Remove. | |
1340 | * ipa-cp.c (ipcp_update_callgraph): Update SSA form. | |
1341 | * params.h (MAX_ALIASED_VOPS): Remove. | |
1342 | (AVG_ALIASED_VOPS): Likewise. | |
1343 | * omp-low.c (expand_omp_taskreg): Update SSA form. | |
1344 | * tree-ssa-dse.c (dse_optimize_stmt): Properly query if the rhs | |
1345 | aliases the lhs in a copy stmt. | |
1346 | * tree-ssa-dse.c (struct address_walk_data): Remove. | |
1347 | (memory_ssa_name_same): Likewise. | |
1348 | (memory_address_same): Likewise. | |
1349 | (get_kill_of_stmt_lhs): Likewise. | |
1350 | (dse_possible_dead_store_p): Simplify, use the oracle. Handle | |
1351 | unused stores. Look through PHI nodes into post-dominated regions. | |
1352 | (dse_optimize_stmt): Simplify. Properly remove stores. | |
1353 | (tree_ssa_dse): Compute dominators. | |
1354 | (execute_simple_dse): Remove. | |
1355 | (pass_simple_dse): Likewise. | |
1356 | * ipa-reference.c (scan_stmt_for_static_refs): Open-code | |
1357 | gimple_loaded_syms and gimple_stored_syms computation. | |
1358 | * toplev.c (dump_memory_report): Dump alias and pta stats. | |
1359 | * tree-ssa-sccvn.c (vn_reference_compute_hash): Simplify. | |
1360 | (vn_reference_eq): Likewise. | |
1361 | (vuses_to_vec, copy_vuses_from_stmt, vdefs_to_vec, | |
1362 | copy_vdefs_from_stmt, shared_lookup_vops, shared_vuses_from_stmt, | |
1363 | valueize_vuses): Remove. | |
1364 | (get_def_ref_stmt_vuses): Simplify. Rename to ... | |
1365 | (get_def_ref_stmt_vuse): ... this. | |
1366 | (vn_reference_lookup_2): New function. | |
1367 | (vn_reference_lookup_pieces): Use walk_non_aliased_vuses for | |
1368 | walking equivalent vuses. Simplify. | |
1369 | (vn_reference_lookup): Likewise. | |
1370 | (vn_reference_insert): Likewise. | |
1371 | (vn_reference_insert_pieces): Likewise. | |
1372 | (visit_reference_op_call): Simplify. | |
1373 | (visit_reference_op_load): Likewise. | |
1374 | (visit_reference_op_store): Likewise. | |
1375 | (init_scc_vn): Remove shared_lookup_vuses initialization. | |
1376 | (free_scc_vn): Remove shared_lookup_vuses freeing. | |
1377 | (sort_vuses, sort_vuses_heap): Remove. | |
1378 | (get_ref_from_reference_ops): Export. | |
1379 | * tree-ssa-sccvn.h (struct vn_reference_s): Replace vuses | |
1380 | vector with single vuse pointer. | |
1381 | (vn_reference_lookup_pieces, vn_reference_lookup, | |
1382 | vn_reference_insert, vn_reference_insert_pieces): Adjust prototypes. | |
1383 | (shared_vuses_from_stmt): Remove. | |
1384 | (get_ref_from_reference_ops): Declare. | |
1385 | * tree-ssa-loop-manip.c (slpeel_can_duplicate_loop_p): Adjust. | |
1386 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Remove | |
1387 | memory-tag related code. | |
1388 | * tree-ssa-ccp.c (get_symbol_constant_value): Remove memory-tag code. | |
1389 | (likely_value): Add comment, skip static-chain of call statements. | |
1390 | (surely_varying_stmt_p): Adjust. | |
1391 | (gimplify_and_update_call_from_tree): Likewise. | |
1392 | (execute_fold_all_builtins): Do not rebuild alias info. | |
1393 | (gimplify_and_update_call_from_tree): Properly update VOPs. | |
1394 | * tree-ssa-loop-ivopts.c (get_ref_tag): Remove. | |
1395 | (copy_ref_info): Remove memory-tag related code. | |
1396 | * tree-call-cdce.c (tree_call_cdce): Rename the VOP. | |
1397 | * ipa-pure-const.c (check_decl): Remove memory-tag related code. | |
1398 | (check_stmt): Open-code gimple_loaded_syms and gimple_stored_syms | |
1399 | computation. | |
1400 | * tree-ssa-dom.c (gimple_p): Remove typedef. | |
1401 | (eliminate_redundant_computations): Adjust. | |
1402 | (record_equivalences_from_stmt): Likewise. | |
1403 | (avail_expr_hash): Likewise. | |
1404 | (avail_expr_eq): Likewise. | |
7a715bba | 1405 | * tree-ssa-propagate.c (update_call_from_tree): Properly update VOPs. |
5006671f RG |
1406 | (stmt_makes_single_load): Likewise. |
1407 | (stmt_makes_single_store): Likewise. | |
1408 | * tree-ssa-alias.c: Rewrite completely. | |
1409 | (debug_memory_partitions, dump_mem_ref_stats, debug_mem_ref_stats, | |
1410 | debug_mem_sym_stats, dump_mem_sym_stats_for_var, | |
1411 | debug_all_mem_sym_stats, debug_mp_info, update_mem_sym_stats_from_stmt, | |
1412 | delete_mem_ref_stats, create_tag_raw, dump_points_to_info, | |
1413 | dump_may_aliases_for, debug_may_aliases_for, new_type_alias): | |
1414 | Remove public functions. | |
1415 | (pass_reset_cc_flags): Remove. | |
1416 | (pass_build_alias): Move ... | |
1417 | * tree-ssa-structalias.c (pass_build_alias): ... here. | |
1418 | * tree-ssa-alias.c (may_be_aliased): Move ... | |
1419 | * tree-flow-inline.h (may_be_aliased): ... here. | |
1420 | tree-ssa-alias.c (struct count_ptr_d, count_ptr_derefs, | |
1421 | count_uses_and_derefs): Move ... | |
1422 | * gimple.c: ... here. | |
1423 | * gimple.h (count_uses_and_derefs): Declare. | |
1424 | * tree-ssa-alias.c (dump_alias_stats, ptr_deref_may_alias_global_p, | |
1425 | ptr_deref_may_alias_decl_p, ptr_derefs_may_alias_p, | |
1426 | same_type_for_tbaa, nonaliasing_component_refs_p, decl_refs_may_alias_p, | |
1427 | indirect_ref_may_alias_decl_p, indirect_refs_may_alias_p, | |
1428 | ref_maybe_used_by_call_p, ref_maybe_used_by_stmt_p, | |
1429 | call_may_clobber_ref_p, stmt_may_clobber_ref_p, maybe_skip_until, | |
1430 | get_continuation_for_phi, walk_non_aliased_vuses, walk_aliased_vdefs): | |
1431 | New functions. | |
1432 | * tree-dfa.c (refs_may_alias_p): Move ... | |
1433 | * tree-ssa-alias.c (refs_may_alias_p): ... here. Extend. | |
1434 | * tree-ssa-alias.h: New file. | |
1435 | * tree-ssa-sink.c (is_hidden_global_store): Adjust. | |
1436 | (statement_sink_location): Likewise. | |
1437 | * opts.c (decode_options): Do not adjust max-aliased-vops or | |
1438 | avg-aliased-vops values. | |
1439 | * timevar.def (TV_TREE_MAY_ALIAS): Remove. | |
1440 | (TV_CALL_CLOBBER): Likewise. | |
1441 | (TV_FLOW_SENSITIVE): Likewise. | |
1442 | (TV_FLOW_INSENSITIVE): Likewise. | |
1443 | (TV_MEMORY_PARTITIONING): Likewise. | |
1444 | (TV_ALIAS_STMT_WALK): New timevar. | |
1445 | * tree-ssa-loop-ivcanon.c (empty_loop_p): Adjust. | |
1446 | * tree-ssa-address.c (create_mem_ref_raw): Use build6. | |
1447 | (get_address_description): Remove memory-tag related code. | |
1448 | * tree-ssa-ifcombine.c (bb_no_side_effects_p): Adjust. | |
1449 | * treestruct.def (TS_MEMORY_TAG, TS_MEMORY_PARTITION_TAG): Remove. | |
1450 | * tree-eh.c (cleanup_empty_eh): Do not leave stale SSA_NAMEs | |
1451 | and immediate uses in statements. Document. | |
1452 | * gimple-pretty-print.c (dump_gimple_mem_ops): Adjust. | |
1453 | (dump_symbols): Remove. | |
1454 | (dump_gimple_mem_ops): Do not dump loaded or stored syms. | |
1455 | * alias.c (get_deref_alias_set): New function split out from ... | |
1456 | (get_alias_set): ... here. | |
1457 | * alias.h (get_deref_alias_set): Declare. | |
1458 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Remove unused | |
1459 | type parameter. Remove restrict pointer handling. Create a | |
1460 | ref-all pointer in case type-based alias sets do not conflict. | |
1461 | (vect_analyze_data_refs): Remove SMT related code. | |
1462 | * tree-vect-stmts.c (vectorizable_store): Re-instantiate TBAA assert. | |
1463 | (vectorizable_load): Likewise. | |
1464 | * tree-data-ref.h (struct dr_alias): Remove symbol_tag field. | |
1465 | (DR_SYMBOL_TAG, DR_VOPS): Remove. | |
1466 | * tree-data-ref.c (dr_may_alias_p): Use the alias-oracle. | |
1467 | Ignore vops and SMTs. | |
1468 | (dr_analyze_alias): Likewise.. | |
1469 | (free_data_ref): Likewise. | |
1470 | (create_data_ref): Likewise. | |
1471 | (analyze_all_data_dependences): Likewise. | |
1472 | (get_references_in_stmt): Adjust. | |
1473 | * tree-flow-inline.h (gimple_aliases_computed_p, | |
1474 | gimple_addressable_vars, gimple_call_clobbered_vars, | |
1475 | gimple_call_used_vars, gimple_global_var, may_aliases, memory_partition, | |
1476 | factoring_name_p, mark_call_clobbered, clear_call_clobbered, | |
1477 | compare_ssa_operands_equal, symbol_mem_tag, set_symbol_mem_tag, | |
1478 | gimple_mem_ref_stats): Remove. | |
1479 | (gimple_vop): New function. | |
1480 | (op_iter_next_use): Remove vuses and mayuses cases. | |
1481 | (op_iter_next_def): Remove vdefs case. | |
1482 | (op_iter_next_tree): Remove vuses, mayuses and vdefs cases. | |
1483 | (clear_and_done_ssa_iter): Do not set removed fields. | |
1484 | (op_iter_init): Likewise. Skip vuse and/or vdef if requested. | |
1485 | Assert we are not iterating over vuses or vdefs if not also | |
1486 | iterating over uses or defs. | |
1487 | (op_iter_init_use): Likewise. | |
1488 | (op_iter_init_def): Likewise. | |
1489 | (op_iter_next_vdef): Remove. | |
1490 | (op_iter_next_mustdef): Likewise. | |
1491 | (op_iter_init_vdef): Likewise. | |
1492 | (compare_ssa_operands_equal): Likewise. | |
1493 | (link_use_stmts_after): Handle vuse operand. | |
1494 | (is_call_used): Use is_call_clobbered. | |
1495 | (is_call_clobbered): Global variables are always call clobbered, | |
1496 | query the call-clobbers bitmap. | |
1497 | (mark_call_clobbered): Ignore global variables. | |
1498 | (clear_call_clobbered): Likewise. | |
1499 | * tree-ssa-coalesce.c (create_outofssa_var_map): Adjust | |
1500 | virtual operands sanity check. | |
1501 | * tree.def (NAME_MEMORY_TAG, SYMBOL_MEMORY_TAG, MEMORY_PARTITION_TAG): | |
1502 | Remove. | |
1503 | (TARGET_MEM_REF): Remove TMR_TAG operand. | |
1504 | * tree-dfa.c (add_referenced_var): Initialize call-clobber state. | |
1505 | Remove call-clobber related code. | |
1506 | (remove_referenced_var): Likewise. Do not clear mpt or symbol_mem_tag. | |
1507 | (dump_variable): Do not dump SMTs, memory stats, may-aliases or | |
1508 | partitions or escape reason. | |
1509 | (get_single_def_stmt, get_single_def_stmt_from_phi, | |
1510 | get_single_def_stmt_with_phi): Remove. | |
1511 | (dump_referenced_vars): Tidy. | |
1512 | (get_ref_base_and_extent): Allow bare decls. | |
1513 | (collect_dfa_stats): Adjust. | |
1514 | * graphite.c (rename_variables_in_stmt): Adjust. | |
1515 | (graphite_copy_stmts_from_block): Likewise. | |
1516 | (translate_clast): Likewise. | |
1517 | * tree-ssa-pre.c (struct bb_bitmap_sets): Add expr_dies bitmap. | |
1518 | (EXPR_DIES): New. | |
1519 | (translate_vuse_through_block): Use the oracle. | |
1520 | (phi_translate_1): Adjust. | |
1521 | (value_dies_in_block_x): Use the oracle. Cache the outcome | |
1522 | in EXPR_DIES. | |
1523 | (valid_in_sets): Check if the VUSE for | |
1524 | a REFERENCE is available. | |
1525 | (eliminate): Do not remove stmts during elimination, | |
1526 | instead queue and remove them afterwards. | |
1527 | (do_pre): Do not rebuild alias info. | |
1528 | (pass_pre): Run TODO_rebuild_alias before PRE. | |
1529 | * tree-ssa-live.c (remove_unused_locals): Remove memory-tag code. | |
1530 | * tree-sra.c (sra_walk_function): Use gimple_references_memory_p. | |
1531 | (mark_all_v_defs_stmt): Remove. | |
1532 | (mark_all_v_defs_seq): Adjust. | |
1533 | (sra_replace): Likewise. | |
1534 | (scalarize_use): Likewise. | |
1535 | (scalarize_copy): Likewise. | |
1536 | (scalarize_init): Likewise. | |
1537 | (scalarize_ldst): Likewise. | |
1538 | (todoflags): Remove. | |
1539 | (tree_sra): Do not rebuild alias info. | |
1540 | (tree_sra_early): Adjust. | |
1541 | (pass_sra): Run TODO_update_address_taken before SRA. | |
1542 | * tree-predcom.c (set_alias_info): Remove. | |
1543 | (prepare_initializers_chain): Do not call it. | |
1544 | (mark_virtual_ops_for_renaming): Adjust. | |
1545 | (mark_virtual_ops_for_renaming_list): Remove. | |
1546 | (initialize_root_vars): Adjust. | |
1547 | (initialize_root_vars_lm): Likewise. | |
1548 | (prepare_initializers_chain): Likewise. | |
1549 | * tree-ssa-copy.c (may_propagate_copy): Remove memory-tag related code. | |
1550 | (may_propagate_copy_into_stmt): Likewise. | |
1551 | (merge_alias_info): Do nothing for now. | |
1552 | (propagate_tree_value_into_stmt): Adjust. | |
1553 | (stmt_may_generate_copy): Likewise. | |
1554 | * tree-ssa-forwprop.c (tidy_after_forward_propagate_addr): Do | |
1555 | not mark symbols for renaming. | |
1556 | (forward_propagate_addr_expr): Match up push/pop_stmt_changes | |
1557 | with the same statement, make sure to update the new pointed-to one. | |
1558 | * tree-ssa-dce.c (eliminate_unnecessary_stmts): Do not copy | |
1559 | call statements, do not mark symbols for renaming. | |
1560 | (mark_operand_necessary): Dump something. | |
1561 | (ref_may_be_aliased): New function. | |
1562 | (mark_aliased_reaching_defs_necessary_1): New helper function. | |
1563 | (mark_aliased_reaching_defs_necessary): Likewise. | |
1564 | (mark_all_reaching_defs_necessary_1): Likewise. | |
1565 | (mark_all_reaching_defs_necessary): Likewise. | |
1566 | (propagate_necessity): Do not process virtual PHIs. For | |
1567 | non-aliased loads mark all reaching definitions as necessary. | |
1568 | For aliased loads and stores mark the immediate dominating | |
1569 | aliased clobbers as necessary. | |
1570 | (visited): New global static. | |
1571 | (perform_tree_ssa_dce): Free visited bitmap after propagating | |
1572 | necessity. | |
1573 | (remove_dead_phis): Perform simple dead virtual PHI removal. | |
1574 | (remove_dead_stmt): Properly unlink virtual operands when | |
1575 | removing stores. | |
1576 | (eliminate_unnecessary_stmts): Schedule PHI removal after | |
1577 | stmt removal. | |
1578 | * tree-ssa-ter.c (is_replaceable_p): Adjust. | |
1579 | (process_replaceable): Likewise. | |
1580 | (find_replaceable_in_bb): Likewise. | |
1581 | * tree-ssa.c (verify_ssa_name): Verify all VOPs are | |
1582 | based on the single gimple vop. | |
1583 | (verify_flow_insensitive_alias_info): Remove. | |
1584 | (verify_flow_sensitive_alias_info): Likewise. | |
1585 | (verify_call_clobbering): Likewise. | |
1586 | (verify_memory_partitions): Likewise. | |
1587 | (verify_alias_info): Likewise. | |
1588 | (verify_ssa): Adjust.. | |
1589 | (execute_update_addresses_taken): Export. Update SSA | |
1590 | manually. Optimize only when optimizing. Use a local bitmap. | |
1591 | (pass_update_address_taken): Remove TODO_update_ssa, add | |
1592 | TODO_dump_func. | |
1593 | (pass_update_address_taken): Just use TODO_update_address_taken. | |
1594 | (init_tree_ssa): Do not initialize addressable_vars. | |
1595 | (verify_ssa): Verify new VUSE / VDEF properties. | |
1596 | Verify that all stmts definitions have the stmt as SSA_NAME_DEF_STMT. | |
1597 | Do not call verify_alias_info. | |
1598 | (delete_tree_ssa): Clear the VUSE, VDEF operands. | |
1599 | Do not free the loaded and stored syms bitmaps. Reset the escaped | |
1600 | and callused solutions. Do not free addressable_vars. | |
1601 | Remove memory-tag related code. | |
1602 | (warn_uninitialized_var): Aliases are always available. | |
1603 | * tree-ssa-loop-prefetch.c (gather_memory_references): Adjust. | |
1604 | * lambda-code.c (can_put_in_inner_loop): Adjust. | |
1605 | (can_put_after_inner_loop): Likewise. | |
1606 | (perfect_nestify): Likewise. | |
1607 | * tree-vect-stmts.c (vect_stmt_relevant_p): Adjust. | |
1608 | (vect_gen_widened_results_half): Remove CALL_EXPR handling. | |
1609 | (vectorizable_conversion): Do not mark symbols for renaming. | |
1610 | * tree-inline.c (remap_gimple_stmt): Clear VUSE/VDEF. | |
1611 | (expand_call_inline): Unlink the calls virtual operands before | |
1612 | replacing it. | |
1613 | (tree_function_versioning): Do not call update_ssa if we are not | |
1614 | updating clones. Simplify. | |
1615 | * tree-ssa-phiprop.c (phivn_valid_p): Adjust. | |
1616 | (propagate_with_phi): Likewise.. | |
1617 | * tree-outof-ssa.c (create_temp): Remove memory tag and call | |
1618 | clobber code. Assert we are not aliased or global. | |
1619 | * tree-flow.h: Include tree-ssa-alias.h | |
1620 | (enum escape_type): Remove. | |
1621 | (struct mem_sym_stats_d): Likewise. | |
1622 | (struct mem_ref_stats_d): Likewise. | |
1623 | (struct gimple_df): Add vop member. Remove global_var, | |
1624 | call_clobbered_vars, call_used_vars, addressable_vars, | |
1625 | aliases_compted_p and mem_ref_stats members. Add syms_to_rename, | |
1626 | escaped and callused members. | |
1627 | (struct ptr_info_def): Remove all members, add points-to solution | |
1628 | member pt. | |
1629 | (struct var_ann_d): Remove in_vuse_list, in_vdef_list, | |
1630 | call_clobbered, escape_mask, mpt and symbol_mem_tag members. | |
1631 | * Makefile.in (TREE_FLOW_H): Add tree-ssa-alias.h. | |
1632 | (tree-ssa-structalias.o): Remove tree-ssa-structalias.h. | |
1633 | (tree-ssa-alias.o): Likewise. | |
1634 | (toplev.o): Add tree-ssa-alias.h | |
1635 | (GTFILES): Remove tree-ssa-structalias.h, add tree-ssa-alias.h. | |
1636 | * gimple.c (gimple_set_bb): Fix off-by-one error. | |
1637 | (is_gimple_reg): Do not handle memory tags. | |
1638 | (gimple_copy): Also copy virtual operands. | |
1639 | Delay updating the statement. Do not reset loaded and stored syms. | |
1640 | (gimple_set_stored_syms): Remove. | |
1641 | (gimple_set_loaded_syms): Likewise. | |
1642 | (gimple_call_copy_skip_args): Copy the virtual operands | |
1643 | and mark the new statement modified. | |
1644 | * tree-ssa-structalias.c (may_alias_p): Remove. | |
1645 | (set_uids_in_ptset): Take the alias set to prune with as | |
1646 | parameter. Fold in the alias test of may_alias_p. | |
1647 | (compute_points_to_sets): Compute whether a ptr is dereferenced | |
1648 | in a local sbitmap. | |
1649 | (process_constraint): Deal with &ANYTHING on the lhs, reject all | |
1650 | other ADDRESSOF constraints on the lhs. | |
1651 | (get_constraint_for_component_ref): Assert that we don't get | |
1652 | ADDRESSOF constraints from the base of the reference. | |
1653 | Properly generate UNKNOWN_OFFSET for DEREF if needed. | |
1654 | (struct variable_info): Remove collapsed_to member. | |
1655 | (get_varinfo_fc): Remove. | |
1656 | (new_var_info): Do not set collapsed_to. | |
1657 | (dump_constraint): Do not follow cycles. | |
1658 | (dump_constraint_graph): Likewise. | |
1659 | (build_pred_graph): Likewise. | |
1660 | (build_succ_graph): Likewise. | |
1661 | (rewrite_constraints): Likewise. | |
1662 | (do_simple_structure_copy): Remove. | |
1663 | (do_rhs_deref_structure_copy): Remove. | |
1664 | (do_lhs_deref_structure_copy): Remove. | |
1665 | (collapse_rest_of_var): Remove. | |
1666 | (do_structure_copy): Re-implement. | |
1667 | (pta_stats): New global variable. | |
1668 | (dump_pta_stats): New function. | |
1669 | (struct constraint_expr): Make offset signed. | |
1670 | (UNKNOWN_OFFSET): Define special value. | |
1671 | (dump_constraint): Dump UNKNOWN_OFFSET as UNKNOWN. | |
1672 | (solution_set_expand): New helper function split out from ... | |
1673 | (do_sd_constraint): ... here. | |
1674 | (solution_set_add): Handle UNKNOWN_OFFSET. Handle negative offsets. | |
1675 | (do_ds_constraint): Likewise. | |
1676 | (do_sd_constraint): Likewise. Do not special-case ESCAPED = *ESCAPED | |
1677 | and CALLUSED = *CALLUSED. | |
1678 | (set_union_with_increment): Make inc argument signed. | |
1679 | (type_safe): Remove. | |
1680 | (get_constraint_for_ptr_offset): Handle unknown and negative | |
1681 | constant offsets. | |
1682 | (first_vi_for_offset): Handle offsets before start. Bail | |
1683 | out early for offsets beyond the variable extent. | |
1684 | (first_or_preceding_vi_for_offset): New function. | |
1685 | (init_base_vars): Add ESCAPED = ESCAPED + UNKNOWN_OFFSET constraint. | |
1686 | Together with ESCAPED = *ESCAPED this properly computes reachability. | |
1687 | (find_what_var_points_to): New function. | |
1688 | (find_what_p_points_to): Implement in terms of find_what_var_points_to. | |
1689 | (pt_solution_reset, pt_solution_empty_p, pt_solution_includes_global, | |
1690 | pt_solution_includes_1, pt_solution_includes, pt_solutions_intersect_1, | |
1691 | pt_solutions_intersect): New functions. | |
1692 | (compute_call_used_vars): Remove. | |
1693 | (compute_may_aliases): New main entry into PTA computation. | |
1694 | * gimple.h (gimple_p): New typedef. | |
1695 | (struct gimple_statement_base): Remove references_memory_p. | |
1696 | (struct gimple_statement_with_memory_ops_base): Remove | |
1697 | vdef_ops, vuse_ops, stores and loads members. Add vdef and vuse | |
1698 | members. | |
1699 | (gimple_vuse_ops, gimple_set_vuse_ops, gimple_vdef_ops, | |
1700 | gimple_set_vdef_ops, gimple_loaded_syms, gimple_stored_syms, | |
1701 | gimple_set_references_memory): Remove. | |
1702 | (gimple_vuse_op, gimple_vdef_op, gimple_vuse, gimple_vdef, | |
1703 | gimple_vuse_ptr, gimple_vdef_ptri, gimple_set_vuse, gimple_set_vdef): | |
1704 | New functions. | |
1705 | * tree-cfg.c (move_block_to_fn): Fix off-by-one error. | |
1706 | (verify_expr): Allow RESULT_DECL. | |
1707 | (gimple_duplicate_bb): Do not copy virtual operands. | |
1708 | (gimple_duplicate_sese_region): Adjust. | |
1709 | (gimple_duplicate_sese_tail): Likewise. | |
1710 | (mark_virtual_ops_in_region): Remove. | |
1711 | (move_sese_region_to_fn): Do not call it. | |
1712 | * passes.c (init_optimization_passes): Remove pass_reset_cc_flags | |
1713 | and pass_simple_dse. | |
1714 | (execute_function_todo): Handle TODO_update_address_taken, | |
1715 | call execute_update_addresses_taken for TODO_rebuild_alias. | |
1716 | (execute_todo): Adjust. | |
1717 | (execute_one_pass): Init dump files early. | |
1718 | * ipa-struct-reorg.c (finalize_var_creation): Do not mark vars | |
1719 | call-clobbered. | |
1720 | (create_general_new_stmt): Clear vops. | |
1721 | * tree-ssa-reassoc.c (get_rank): Adjust. | |
1722 | * tree-vect-slp.c (vect_create_mask_and_perm): Do not mark | |
1723 | symbols for renaming. | |
1724 | * params.def (PARAM_MAX_ALIASED_VOPS): Remove. | |
1725 | (PARAM_AVG_ALIASED_VOPS): Likewise. | |
1726 | * tree-ssanames.c (init_ssanames): Allocate SYMS_TO_RENAME. | |
1727 | (duplicate_ssa_name_ptr_info): No need to copy the shared bitmaps. | |
7a715bba | 1728 | * tree-ssa-operands.c: Simplify for new virtual operand representation. |
5006671f RG |
1729 | (operand_build_cmp, copy_virtual_operands, |
1730 | create_ssa_artificial_load_stmt, add_to_addressable_set, | |
1731 | gimple_add_to_addresses_taken): Remove public functions. | |
1732 | (unlink_stmt_vdef): New function. | |
1733 | ||
457d1d00 AM |
1734 | 2009-04-03 Alan Modra <amodra@bigpond.net.au> |
1735 | ||
1736 | * config.gcc (powerpc-*-linux*): Merge variants. | |
1737 | ||
e19da24c CF |
1738 | 2009-04-02 Chao-ying Fu <fu@mips.com> |
1739 | James Grosbach <james.grosbach@microchip.com> | |
1740 | ||
1741 | * config/mips/mips.c (mips_frame_info): Add acc_mask, num_acc, | |
1742 | num_cop0_regs, acc_save_offset, cop0_save_offset, acc_sp_offset, | |
1743 | cop0_sp_offset. | |
1744 | (machine_function): Add interrupt_handler_p, use_shadow_register_set_p, | |
1745 | keep_interrupts_masked_p, use_debug_exception_return_p. | |
1746 | (mips_attribute_table): Add interrupt, use_shadow_register_set, | |
1747 | keep_interrupts_masked, use_debug_exception_return. | |
1748 | (mips_interrupt_type_p, mips_use_shadow_register_set_p, | |
1749 | mips_keep_interrupts_masked_p, mips_use_debug_exception_return_p): | |
1750 | New functions. | |
1751 | (mips_function_ok_for_sibcall): Return false for interrupt handlers. | |
1752 | (mips_print_operand): Process COP0 registers to print $0 .. $31 | |
1753 | correctly for GAS to process. | |
1754 | (mips_interrupt_extra_call_saved_reg_p): New function. | |
1755 | (mips_cfun_call_saved_reg_p): For interrupt handlers, we need to check | |
1756 | extra registers. | |
1757 | (mips_cfun_might_clobber_call_saved_reg_p): Likewise. | |
1758 | (mips_compute_frame_info): Add supports for interrupt context that | |
1759 | includes doubleword accumulators and COP0 registers. | |
1760 | (mips_for_each_saved_acc): New function. | |
1761 | (mips_for_each_saved_gpr_and_fpr): Change the function name from | |
1762 | mips_for_each_saved_reg. | |
1763 | (mips_save_reg): Save accumulators. | |
1764 | (mips_kernel_reg_p): A new for_each_rtx callback. | |
1765 | (mips_expand_prologue): Support interrupt handlers. | |
1766 | (mips_restore_reg): Restore accumulators. | |
1767 | (mips_expand_epilogue): Support interrupt handlers. | |
1768 | (mips_can_use_return_insn): Return false for interrupt handlers. | |
1769 | (mips_epilogue_uses): New function. | |
1770 | * config/mips/mips.md (UNSPEC_ERET, UNSPEC_DERET, UNSPEC_DI, | |
1771 | UNSPEC_EHB, UNSPEC_RDPGPR, UNSPEC_COP0): New UNSPEC. | |
1772 | (mips_eret, mips_deret, mips_di, mips_ehb, mips_rdpgpr, | |
1773 | cop0_move): New instructions. | |
1774 | * config/mips/mips-protos.h (mips_epilogue_uses): Declare. | |
1775 | * config/mips/mips.h (K0_REG_NUM, K1_REG_NUM, KERNEL_REG_P): New | |
1776 | defines. | |
1777 | (COP0_STATUS_REG_NUM, COP0_CAUSE_REG_NUM, COP0_EPC_REG_NUM): | |
1778 | New defines. | |
1779 | (CAUSE_IPL, SR_IPL, SR_EXL, SR_IE): New defines. | |
1780 | (MIPS_PROLOGUE_TEMP_REGNUM, MIPS_EPILOGUE_TEMP_REGNUM): For | |
1781 | interrupt handlers, we use K0 as the temporary register. | |
1782 | (EPILOGUE_USES): Change to a function call. | |
1783 | * config/mips/sde.h (MIPS_EPILOGUE_TEMP_REGNUM): For interrupt | |
1784 | handlers, we use K0 as the temporary register. | |
1785 | ||
1786 | * doc/extend.texi (Function Attributes): Document interrupt, | |
1787 | use_shadow_register_set, keep_interrupts_masked, | |
1788 | use_debug_exception_return for MIPS attributes. | |
1789 | ||
aa1ca044 AM |
1790 | 2009-04-03 Alan Modra <amodra@bigpond.net.au> |
1791 | ||
1792 | * config.gcc (powerpc64-*-gnu*): Add rs6000/default64.h to tm_file. | |
1793 | Remove a number of t-files from tmake_file. | |
1794 | * config/rs6000/sysv4.opt (mprototype): Name variable target_prototype. | |
1795 | * config/rs6000/sysv4.h (TARGET_PROTOTYPE): Define. | |
1796 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set | |
1797 | target_prototype, not TARGET_PROTOTYPE. | |
1798 | (LINK_OS_GNU_SPEC): Define. | |
1799 | * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Delete tramp.S | |
1800 | and darwin-ldoubdle.c. | |
1801 | ||
14fdc613 MM |
1802 | 2009-04-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
1803 | ||
1804 | PR driver/39293 | |
1805 | * gcc.c (save_temps_flag): Add support for -save-temps=obj. | |
1806 | (cpp_options): Ditto. | |
1807 | (default_compilers): Ditto. | |
1808 | (display_help): Ditto. | |
1809 | (process_command): Ditto. | |
1810 | (do_spec_1): Ditto. | |
1811 | (set_input): Use lbasename instead of duplicate code. | |
1812 | (save_temps_prefix): New static for -save-temps=obj. | |
1813 | (save_temps_length): Ditto. | |
1814 | ||
1815 | * doc/invoke.texi (-save-temps=obj): Document new variant to | |
1816 | -save-temps switch. | |
1817 | ||
d3aa398e JL |
1818 | 2009-04-02 Jeff Law <law@redhat.com> |
1819 | ||
1820 | * reload1.c (fixup_eh_region_notes): Remove write-only "trap_count" | |
1821 | variable. | |
1822 | ||
83f0ccb8 L |
1823 | 2009-04-02 H.J. Lu <hongjiu.lu@intel.com> |
1824 | ||
1825 | * configure.ac: Support -Bstatic/-Bdynamic for linker version > 2. | |
1826 | * configure: Regenerated. | |
1827 | ||
dcb6e951 RAE |
1828 | 2009-04-02 Rafael Avila de Espindola <espindola@google.com> |
1829 | ||
1830 | * c-decl.c (merge_decls): Make sure newdecl and olddecl don't | |
1831 | share the argument list. | |
1832 | ||
d85478c2 RAE |
1833 | 2009-04-02 Rafael Avila de Espindola <espindola@google.com> |
1834 | ||
1835 | Merge | |
1836 | ||
1837 | 2009-02-12 Diego Novillo <dnovillo@google.com> | |
1838 | ||
83f0ccb8 L |
1839 | * varpool.c (debug_varpool): New. |
1840 | * cgraph.h (debug_varpool): Declare. | |
d85478c2 | 1841 | |
34f42a49 JH |
1842 | 2009-04-02 Jan Hubicka <jh@suse.cz> |
1843 | ||
1844 | * passes.c (init_optimization_passes): Remove two copies of ehcleanup | |
1845 | pass. | |
1846 | ||
a4747b4a L |
1847 | 2009-04-02 H.J. Lu <hongjiu.lu@intel.com> |
1848 | ||
1849 | * config/i386/i386.c (ix86_abi): Move initialization to ... | |
1850 | (override_options): Here. | |
1851 | ||
63a9de54 CB |
1852 | 2009-04-02 Christian Bruel <christian.bruel@st.com> |
1853 | ||
1854 | * config/sh/sh.c (sh_dwarf_register_span): New function. | |
1855 | (TARGET_DWARF_REGISTER_SPAN): Define. | |
1856 | * config/sh/sh-protos.h (sh_dwarf_register_span): Declare. | |
1857 | ||
2f0fa28e IR |
1858 | 2009-04-02 Ira Rosen <irar@il.ibm.com> |
1859 | ||
1860 | PR tree-optimization/39595 | |
1861 | * tree-vect-slp.c (vect_build_slp_tree): Check that the size of | |
1862 | interleaved loads group is not greater than the SLP group size. | |
1863 | ||
bbf7ce11 RAE |
1864 | 2009-04-02 Rafael Avila de Espindola <espindola@google.com> |
1865 | ||
1866 | * builtins.c (is_builtin_name): New. | |
1867 | (called_as_built_in): Use is_builtin_name. | |
1868 | * tree.h (is_builtin_name): New. | |
1869 | * varasm.c (incorporeal_function_p): Use is_builtin_name | |
1870 | ||
47e4dfcf AS |
1871 | 2009-04-02 Andrew Stubbs <ams@codesourcery.com> |
1872 | ||
1873 | * config/sh/linux-unwind.h: Disable when inhibit_libc is defined. | |
1874 | ||
d0940d56 DS |
1875 | 2009-04-02 Dodji Seketeli <dodji@redhat.com> |
1876 | ||
1877 | PR c++/26693 | |
1878 | * c-decl.c: (clone_underlying_type): Move this ... | |
1879 | * c-common.c (set_underlying_type): ... here. | |
1880 | Also, make sure the function properly sets TYPE_STUB_DECL() on | |
1881 | the newly created typedef variant type. | |
1882 | * c-common.h (is_typedef_decl, set_underlying_type): Declare ... | |
7a715bba UB |
1883 | * c-common.c (is_typedef_decl, set_underlying_type): ... new entry |
1884 | points. | |
d0940d56 | 1885 | |
bf1cbdc6 RG |
1886 | 2009-04-02 Richard Guenther <rguenther@suse.de> |
1887 | ||
1888 | PR tree-optimization/37221 | |
1889 | * tree-flow.h (degenerate_phi_result): Declare. | |
1890 | * tree-ssa-dom.c (degenerate_phi_result): Export. | |
1891 | * tree-scalar-evolution.c (analyze_initial_condition): If | |
1892 | the initial condition is defined by a degenerate PHI node | |
1893 | use the degenerate value. | |
1894 | ||
87cfb32c EB |
1895 | 2009-04-01 Eric Botcazou <ebotcazou@adacore.com> |
1896 | ||
1897 | PR rtl-optimization/39588 | |
1898 | * combine.c (merge_outer_ops): Do not set the constant when this | |
1899 | is not necessary. | |
1900 | (simplify_shift_const_1): Do not modify it either in this case. | |
1901 | ||
bbb6eae8 SB |
1902 | 2009-04-01 Steven Bosscher <steven@gcc.gnu.org> |
1903 | ||
1904 | * config/ia64/ia64.c (ia64_handle_option): Inform user that Itanium1 | |
1905 | tuning is deprecated if -mtune value is set to an Itanium1 variant. | |
1906 | ||
839a3b8a JJ |
1907 | 2009-04-01 Janis Johnson <janis187@us.ibm.com> |
1908 | ||
1909 | PR c/29027 | |
1910 | * c-lex.c (interpret_float): Default (no suffix) is double. | |
1911 | ||
667e8acb XDL |
1912 | 2009-04-1 Xinliang David Li <davidxl@google.com> |
1913 | ||
1914 | * config/i386/i386.c (legitimate_constant_p): Recognize | |
1915 | all one vector constant. | |
1916 | ||
9332c6eb | 1917 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1918 | |
1919 | * gcc/config/vax/vax.c: Add #includes to silence warnings. | |
1920 | Change #include order to silence two warnings. | |
1921 | ||
9332c6eb | 1922 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1923 | |
1924 | * gcc/config/vax/linux.h (TARGET_DEFAULT): Add the MASK_QMATH flag bit. | |
1925 | (ASM_SPEC): Pass -k to the assembler for PIC code. | |
1926 | ||
9332c6eb | 1927 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1928 | |
1929 | * gcc/config.gcc: Add vax-*-linux* to the switch. | |
1930 | * gcc/config/vax/linux.h: New file. (TARGET_VERSION, | |
1931 | TARGET_OS_CPP_BUILTINS, TARGET_DEFAULT, CPP_SPEC, LINK_SPEC): Define. | |
1932 | ||
9332c6eb | 1933 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1934 | |
1935 | * gcc/config/vax/vax.c (vax_output_int_move, adjacent_operands_p): | |
1936 | Use predicate macros instead of GET_CODE() == foo. | |
1937 | * gcc/config/vax/vax.md (movsi_2, movstrictqi, and<mode>3, ashrsi3, | |
1938 | ashlsi3, rotrsi3, <unnamed>): Likewise. | |
1939 | ||
9332c6eb | 1940 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1941 | |
1942 | * gcc/config/vax/builtins.md (jbbssiqi, jbbssihi, jbbssisi, jbbcciqi, | |
1943 | jbbccihi, jbbccisi): Remova trailing whitespace. | |
1944 | * gcc/config/vax/constraints.md: Likewise. | |
1945 | * gcc/config/vax/elf.h: (ASM_PREFERRED_EH_DATA_FORMAT): Likewise. | |
1946 | * gcc/config/vax/openbsd1.h (OBSD_OLD_GAS): Likewise. | |
1947 | * gcc/config/vax/predicates.md: Likewise. | |
1948 | * gcc/config/vax/vax.c (print_operand_address, vax_output_int_move, | |
1949 | vax_expand_addsub_di_operands, adjacent_operands_p): Likewise. | |
1950 | * gcc/config/vax/vax.h: Likewise. | |
1951 | * gcc/config/vax/vax.md (nonlocal_goto): Likewise. | |
1952 | ||
9332c6eb | 1953 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1954 | |
1955 | * gcc/config/vax/vax.c (vax_float_literal, vax_output_int_move) | |
1956 | (indirectable_address_p, adjacent_operands_p): Add spaces around | |
1957 | braces. | |
1958 | * gcc/config/vax/vax-protos.h (adjacent_operands_p): Likewise. | |
1959 | ||
9332c6eb | 1960 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1961 | |
1962 | * gcc/config/vax/vax.c (legitimate_constant_address_p, | |
1963 | legitimate_constant_p, indirectable_address_p, nonindexed_address_p, | |
1964 | index_term_p, reg_plus_index_p, legitimate_address_p, | |
1965 | vax_mode_dependent_address_p): Update comments to match functions | |
1966 | modified by the recent int->bool conversion. | |
1967 | ||
9332c6eb | 1968 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1969 | |
1970 | * gcc/config/vax/builtins.md: Update copyright message. | |
1971 | * gcc/config/vax/constraints.md: Likewise. | |
1972 | * gcc/config/vax/netbsd-elf.h: Likewise. | |
1973 | * gcc/config/vax/predicates.md: Likewise. | |
1974 | * gcc/config/vax/vax-protos.h: Likewise. | |
1975 | * gcc/config/vax/vax.c: Likewise. | |
1976 | * gcc/config/vax/vax.h: Likewise. | |
1977 | * gcc/config/vax/vax.md: Likewise. | |
1978 | * gcc/config/vax/vax.opt: Likewise. | |
1979 | ||
9332c6eb | 1980 | 2009-04-01 Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de> |
c4e75102 MT |
1981 | |
1982 | * gcc/config/vax/builtins.md (ffssi2, ffssi2_internal, | |
1983 | sync_lock_test_and_set<mode>, sync_lock_release<mode>): Fix indention. | |
1984 | * gcc/config/vax/constraints.md (B, R): Likewise. | |
1985 | * gcc/config/vax/predicates.md (external_memory_operand, | |
1986 | nonimmediate_addsub_di_operand): Likewise. | |
1987 | * gcc/config/vax/vax.c (vax_output_int_add): Likewise. | |
1988 | * gcc/config/vax/vax.md (movsi, movsi_2, mov<mode>, call_value, | |
1989 | untyped_call): Likewise. | |
1990 | ||
9332c6eb | 1991 | 2009-04-01 Matt Thomas <matt@3am-software.com> |
c4e75102 | 1992 | |
7a715bba UB |
1993 | * config/vax/predicates.md: New file. |
1994 | (symbolic_operand, local_symbolic_operand, external_symbolic_operand, | |
c4e75102 MT |
1995 | external_const_operand, nonsymbolic_operand, external_memory_operand, |
1996 | indirect_memory_operand, indexed_memory_operand, | |
1997 | illegal_blk_memory_operand, illegal_addsub_di_memory_operand, | |
1998 | nonimmediate_addsub_di_operand, general_addsub_di_operand): New | |
1999 | predicate. | |
7a715bba UB |
2000 | * config/vax/constraints.md: New file. |
2001 | (Z0, U06, U08, U16, CN6, S08, S16, I, J, K, L, M, N, O, G, Q, B, R, T): | |
2002 | New constraint. | |
2003 | * config/vax/builtins.md: New file. | |
2004 | (ffssi2, ffssi2_internal, sync_lock_test_and_set<mode>, jbbssiqi, | |
2005 | jbbssihi, jbbssisi, sync_lock_release<mode>, jbbcciqi, jbbccihi, | |
2006 | jbbccisi): Define. | |
c4e75102 MT |
2007 | * config/vax/vax.opt (mqmath): Add option. |
2008 | * config/vax/vax.md (isfx): Extend with DI. | |
2009 | (VAXintQH, VAXintQHSD): Define. | |
2010 | (tst<mode>, cmp<mode>, *bit<mode>, movmemhi1, truncsiqi2, truncsihi2, | |
2011 | mulsidi3, add<mode>3, sub<mode>, mul<mode>3, div<mode>3, and<mode>, | |
2012 | and<mode>_const_int, ior<mode>3, xor<mode>3, neg<mode>2, | |
2013 | one_cmpl<mode>2, ashlsi3, lshrsi3, rotlsi3): Update constraints. | |
2014 | (movdi): Update constraints and use vax_output_int_move(). | |
2015 | (movsi, movsi_2, pushlclsymreg, pushextsymreg, movlclsymreg, | |
2016 | movextsymreg, adddi3, adcdi3, subdi3, sbcdi3, pushextsym, movextsym, | |
2017 | pushlclsym, movlclsym, movaddr<mode>, pushaddr<mode>, | |
2018 | nonlocal_goto): New. | |
2019 | (mov<mode>): Extend accepted operand types. | |
2020 | (subdi3_old): Rename from subdi3, change update constraints and use | |
2021 | a new implementation. | |
2022 | * gcc/config/vax/vax.h (PCC_BITFIELD_TYPE_MATTERS): Add space. | |
2023 | (FRAME_POINTER_CFA_OFFSET, IRA_COVER_CLASSES, CLASS_MAX_NREGS, | |
2024 | MOVE_RATIO, CLEAR_RATIO): Define. | |
2025 | (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P, | |
2026 | CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Delete. | |
2027 | (PRINT_OPERAND): Redefine using a function instead of inlined code. | |
2028 | * gcc/config/vax/vax.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Define. | |
2029 | (split_quadword_operands): Make static and really allow variable | |
2030 | splitting. | |
2031 | (print_operand_address): Update for PIC generation. | |
2032 | (print_operand, vax_builtin_setjmp_frame_value, vax_output_int_subtract, | |
2033 | indexable_address_p, fixup_mathdi_operand, | |
2034 | vax_expand_addsub_di_operands, adjacent_operands_p): New. | |
2035 | (vax_float_literal, legitimate_constant_p, | |
2036 | indirectable_constant_address_p, index_term_p, | |
2037 | reg_plus_index_p): Return bool instead of int. | |
2038 | (vax_rtx_costs): Fix cost for CONST_INT, indent and use HOST_WIDE_INT | |
2039 | where needed. | |
2040 | (vax_output_int_move, vax_output_int_add): Extend to allow PIC | |
2041 | generation. | |
2042 | (vax_output_conditional_branch): Indent. | |
2043 | (legitimate_constant_address_p, indirectable_constant_address_p, | |
2044 | indirectable_address_p, nonindexed_address_p, legitimate_address_p, | |
2045 | vax_mode_dependent_address_p): Return bool instead of int, update for | |
2046 | PIC generation. | |
2047 | * config/vax/vax-protos.h (legitimate_constant_address_p, | |
2048 | legitimate_constant_p, legitimate_address_p, | |
2049 | vax_mode_dependent_address_p): Change declaration to bool. | |
2050 | (legitimate_pic_operand_p, adjacent_operands_p, print_operand, | |
2051 | vax_expand_addsub_di_operands, vax_output_int_subtract, | |
2052 | vax_output_movmemsi): Declare. | |
2053 | (split_quadword_operands, vax_float_literal): Delete declaration. | |
2054 | * config/vax/netbsd-elf.h (CC1_SPEC, CC1PLUS_SPEC) Define. | |
2055 | * config/vax/elf.h (NO_EXTERNAL_INDIRECT_ADDRESS, | |
2056 | VAX_CC1_AND_CC1PLUS_SPEC, ASM_PREFERRED_EH_DATA_FORMAT, | |
2057 | ASM_OUTPUT_DWARF_PCREL): Define. | |
2058 | (ASM_SPEC): Change definition to allow PIC generation. | |
2059 | ||
9332c6eb L |
2060 | 2009-04-01 Steve Ellcey <sje@cup.hp.com> |
2061 | ||
2062 | * doc/sourcebuild.texi: Update front-end requirements. | |
2063 | ||
d93e052c JJ |
2064 | 2009-04-01 Jakub Jelinek <jakub@redhat.com> |
2065 | ||
2066 | PR target/39226 | |
2067 | * config/rs6000/rs6000.md (andsi3_internal5_nomc, | |
2068 | anddi3_internal2_nomc, anddi3_internal3_nomc): Removed. | |
2069 | (booldi3_internal3): Use boolean_or_operator instead of | |
2070 | boolean_operator. | |
2071 | ||
6ccb2a4a JM |
2072 | 2009-04-01 Joseph Myers <joseph@codesourcery.com> |
2073 | ||
2074 | PR c/39605 | |
2075 | * c-decl.c (grokdeclarator): Pedwarn for file-scope array | |
2076 | declarator whose size is not an integer constant expression but | |
2077 | folds to an integer constant, then treat it as a constant | |
2078 | subsequently. | |
2079 | ||
299b87f8 RG |
2080 | 2009-04-01 Richard Guenther <rguenther@suse.de> |
2081 | ||
2082 | * fold-const.c (fold_plusminus_mult_expr): Do not fold | |
2083 | i * 4 + 2 to (i * 2 + 1) * 2. | |
2084 | ||
b85eb797 JJ |
2085 | 2009-04-01 Jakub Jelinek <jakub@redhat.com> |
2086 | ||
2087 | PR c/37772 | |
2088 | * c-parser.c (c_parser_asm_statement): Skip until close paren and | |
2089 | return if c_parser_asm_string_literal returned NULL. | |
2090 | ||
235e1fe8 NC |
2091 | 2009-04-01 Nick Clifton <nickc@redhat.com> |
2092 | ||
2093 | * config/m32c/m32c.h (LIBGCC2_UNITS_PER_WORD): Define if not | |
2094 | already defined. | |
2095 | * config/m32c/t-m32c (LIB2FUNCS_EXTRA): Add m32c-lib2-trapv.c. | |
2096 | * config/m32c/m32c-lib2.c: Remove unused typedefs. Rename the | |
2097 | other typedefs to avoid conflicts with libgcc2.c. Define labels | |
2098 | to gain 16-bit bit-manipulation functions from libgcc2.c and then | |
2099 | include it. | |
2100 | * config/m32c/m32c-lib2-trapv.c: New file. Define labels | |
2101 | to gain 16-bit trapping arithmetic functions from libgcc2.c and | |
2102 | then include it. | |
2103 | ||
d6868399 RAE |
2104 | 2009-04-01 Rafael Avila de Espindola <espindola@google.com> |
2105 | ||
7a715bba UB |
2106 | * varasm.c (default_function_rodata_section): Declare DOT as |
2107 | const char*. | |
d6868399 | 2108 | |
73d21f56 KT |
2109 | 2009-04-01 Kai Tietz <kai.tietz@onevision.com> |
2110 | Andrey Galkin <agalkin@hypercom.com> | |
2111 | ||
2112 | PR/39492 | |
2113 | * config/i386/host-mingw32.c (mingw32_gt_pch_use_address): | |
2114 | Make object_name unique for each process. | |
2115 | ||
03742a9b JJ |
2116 | 2009-04-01 Jakub Jelinek <jakub@redhat.com> |
2117 | ||
2118 | PR other/39591 | |
2119 | * omp-low.c (remove_exit_barrier): Don't optimize if there are any | |
2120 | addressable variables in the parallel that could go out of scope while | |
2121 | running queued tasks. | |
2122 | ||
4223ff5f AS |
2123 | 2009-04-01 Anatoly Sokolov <aesok@post.ru> |
2124 | ||
2125 | * config/avr/avr.h (avr_case_values_threshold): Remove declaration. | |
2126 | (CASE_VALUES_THRESHOLD): Redefine. | |
2127 | * config/avr/avr.c (avr_override_options): Remove initialization of | |
2128 | avr_case_values_threshold variable. | |
2129 | (avr_case_values_threshold): Remove variable. Add new function. | |
2130 | * config/avr/avr-protos.h (avr_case_values_threshold): Declare. | |
2131 | * config/avr/avr.opt (mno-tablejump): Remove option. | |
2132 | * doc/invoke.texi (AVR Options): Remove -mno-tablejump. | |
2133 | ||
e893f6f3 DD |
2134 | 2009-04-01 DJ Delorie <dj@redhat.com> |
2135 | ||
2136 | * varasm.c (default_function_rodata_section): Don't assume | |
2137 | anything about where the first '.' in the section name is. | |
2138 | ||
b246d100 AM |
2139 | 2009-04-01 Alan Modra <amodra@bigpond.net.au> |
2140 | ||
2141 | * config/rs6000/rs6000.c (rs6000_emit_stack_reset): Delete redundant | |
2142 | rs6000_emit_stack_tie. | |
2143 | ||
d3e37a9e ILT |
2144 | 2009-03-31 Ian Lance Taylor <iant@google.com> |
2145 | ||
2146 | * tree-eh.c (tree_remove_unreachable_handlers): Compare | |
2147 | gimple_code with GIMPLE_RESX, not RESX. | |
2148 | ||
c1b61fca JM |
2149 | 2009-03-31 Joseph Myers <joseph@codesourcery.com> |
2150 | ||
2151 | * c-common.c (c_get_ident): New. | |
7a715bba | 2152 | (c_common_nodes_and_builtins): Call it for type names that may be NULL. |
c1b61fca | 2153 | |
c2d2ad48 BE |
2154 | 2009-04-01 Ben Elliston <bje@au.ibm.com> |
2155 | ||
2156 | * config/rs6000/sysv4.opt (msdata): Improve option description. | |
2157 | ||
13d1a6e7 SE |
2158 | 2009-03-31 Steve Ellcey <sje@cup.hp.com> |
2159 | ||
2160 | * config/ia64/ia64.md (divsf3_internal_lat): Remove. | |
2161 | (divdf3_internal_lat): Remove. | |
2162 | (divxf3_internal_lat): Remove. | |
2163 | (divxf3_internal_thr): Remove. | |
2164 | (divxf): Use divxf3_internal. | |
2165 | * config/ia64/div.md (divsf3_internal_lat): New. | |
2166 | (divdf3_internal_lat): New. | |
2167 | (divxf3_internal): New. | |
2168 | ||
207bf79d JM |
2169 | 2009-03-31 Joseph Myers <joseph@codesourcery.com> |
2170 | ||
2171 | PR c/448 | |
2172 | * Makefile.in (USE_GCC_STDINT): Define. | |
2173 | (stmp-int-hdrs): Install stdint.h if applicable. | |
2174 | * c-common.c (CHAR16_TYPE): Define in terms of UINT_LEAST16_TYPE | |
2175 | if known. | |
2176 | (CHAR32_TYPE): Define in terms of UINT_LEAST32_TYPE if known. | |
2177 | (SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE, INT32_TYPE, INT64_TYPE, | |
2178 | UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE, | |
2179 | INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, | |
2180 | INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, | |
2181 | UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE, | |
2182 | INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE, | |
2183 | UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, | |
2184 | UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE): Define. | |
2185 | (c_common_nodes_and_builtins): Initialize | |
2186 | underlying_wchar_type_node. Do not initialize | |
2187 | signed_wchar_type_node or unsigned_wchar_type_node. Initialize | |
2188 | nodes for new types. | |
2189 | (c_stddef_cpp_builtins): Define macros for new types. | |
2190 | * c-common.h (CTI_SIGNED_WCHAR_TYPE, CTI_UNSIGNED_WCHAR_TYPE): | |
2191 | Remove. | |
2192 | (CTI_UNDERLYING_WCHAR_TYPE, CTI_SIG_ATOMIC_TYPE, CTI_INT8_TYPE, | |
2193 | CTI_INT16_TYPE, CTI_INT32_TYPE, CTI_INT64_TYPE, CTI_UINT8_TYPE, | |
2194 | CTI_UINT16_TYPE, CTI_UINT32_TYPE, CTI_UINT64_TYPE, | |
2195 | CTI_INT_LEAST8_TYPE, CTI_INT_LEAST16_TYPE, CTI_INT_LEAST32_TYPE, | |
2196 | CTI_INT_LEAST64_TYPE, CTI_UINT_LEAST8_TYPE, CTI_UINT_LEAST16_TYPE, | |
2197 | CTI_UINT_LEAST32_TYPE, CTI_UINT_LEAST64_TYPE, CTI_INT_FAST8_TYPE, | |
2198 | CTI_INT_FAST16_TYPE, CTI_INT_FAST32_TYPE, CTI_INT_FAST64_TYPE, | |
2199 | CTI_UINT_FAST8_TYPE, CTI_UINT_FAST16_TYPE, CTI_UINT_FAST32_TYPE, | |
2200 | CTI_UINT_FAST64_TYPE, CTI_INTPTR_TYPE, CTI_UINTPTR_TYPE): Define. | |
2201 | (signed_wchar_type_node, unsigned_wchar_type_node): Remove. | |
2202 | (underlying_wchar_type_node, sig_atomic_type_node, int8_type_node, | |
2203 | int16_type_node, int32_type_node, int64_type_node, | |
2204 | uint8_type_node, uint16_type_node, c_uint32_type_node, | |
2205 | c_uint64_type_node, int_least8_type_node, int_least16_type_node, | |
2206 | int_least32_type_node, int_least64_type_node, | |
2207 | uint_least8_type_node, uint_least16_type_node, | |
2208 | uint_least32_type_node, uint_least64_type_node, | |
2209 | int_fast8_type_node, int_fast16_type_node, int_fast32_type_node, | |
2210 | int_fast64_type_node, uint_fast8_type_node, uint_fast16_type_node, | |
2211 | uint_fast32_type_node, uint_fast64_type_node, intptr_type_node, | |
2212 | uintptr_type_node): Define. | |
2213 | * c-cppbuiltin.c (builtin_define_constants, | |
2214 | builtin_define_type_minmax): New. | |
2215 | (builtin_define_stdint_macros): Define more macros. | |
2216 | (c_cpp_builtins): Define more limit macros. | |
2217 | (type_suffix): New. | |
2218 | (builtin_define_type_max): Define in terms of | |
2219 | builtin_define_type_minmax. Remove is_long parameter. All | |
2220 | callers changed. | |
2221 | * config.gcc (use_gcc_stdint): Define. | |
2222 | (tm_file): Add glibc-stdint.h for targets using glibc or uClibc. | |
2223 | Add newlib-stdint.h for generic targets. | |
2224 | * config/glibc-stdint.h, config/newlib-stdint.h, | |
2225 | ginclude/stdint-gcc.h, ginclude/stdint-wrap.h: New. | |
2226 | * config/m32c/m32c.h (UINTPTR_TYPE): Define. | |
2227 | * config/score/score.h (UINTPTR_TYPE): Define. | |
2228 | * config/sol2.h (SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE, | |
2229 | INT32_TYPE, INT64_TYPE, UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, | |
2230 | UINT64_TYPE, INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, | |
2231 | INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, | |
2232 | UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE, | |
2233 | INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE, | |
2234 | UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, | |
2235 | UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE): Define. | |
2236 | * config/spu/spu.h (STDINT_LONG32): Define. | |
2237 | * configure.ac (use_gcc_stdint): Substitute. | |
2238 | * configure: Regenerate. | |
2239 | * doc/cpp.texi (__SIG_ATOMIC_TYPE__, __INT8_TYPE__, | |
2240 | __INT16_TYPE__, __INT32_TYPE__, __INT64_TYPE__, __UINT8_TYPE__, | |
2241 | __UINT16_TYPE__, __UINT32_TYPE__, __UINT64_TYPE__, | |
2242 | __INT_LEAST8_TYPE__, __INT_LEAST16_TYPE__, __INT_LEAST32_TYPE__, | |
2243 | __INT_LEAST64_TYPE__, __UINT_LEAST8_TYPE__, __UINT_LEAST16_TYPE__, | |
2244 | __UINT_LEAST32_TYPE_, __UINT_LEAST64_TYPE__, __INT_FAST8_TYPE__, | |
2245 | __INT_FAST16_TYPE__, __INT_FAST32_TYPE__, __INT_FAST64_TYPE__, | |
2246 | __UINT_FAST8_TYPE__, __UINT_FAST16_TYPE__, __UINT_FAST32_TYPE__, | |
2247 | __UINT_FAST64_TYPE__, __INTPTR_TYPE__, __UINTPTR_TYPE__, | |
2248 | __WINT_MAX__, __SIZE_MAX__, __PTRDIFF_MAX__, __UINTMAX_MAX__, | |
2249 | __SIG_ATOMIC_MAX__, __INT8_MAX__, __INT16_MAX__, __INT32_MAX__, | |
2250 | __INT64_MAX__, __UINT8_MAX__, __UINT16_MAX__, __UINT32_MAX__, | |
2251 | __UINT64_MAX__, __INT_LEAST8_MAX__, __INT_LEAST16_MAX__, | |
2252 | __INT_LEAST32_MAX__, __INT_LEAST64_MAX__, __UINT_LEAST8_MAX__, | |
2253 | __UINT_LEAST16_MAX__, __UINT_LEAST32_MAX__, __UINT_LEAST64_MAX__, | |
2254 | __INT_FAST8_MAX__, __INT_FAST16_MAX__, __INT_FAST32_MAX__, | |
2255 | __INT_FAST64_MAX__, __UINT_FAST8_MAX__, __UINT_FAST16_MAX__, | |
2256 | __UINT_FAST32_MAX__, __UINT_FAST64_MAX__, __INTPTR_MAX__, | |
2257 | __UINTPTR_MAX__, __WCHAR_MIN__, __WINT_MIN__, __SIG_ATOMIC_MIN__, | |
2258 | __INT8_C, __INT16_C, __INT32_C, __INT64_C, __UINT8_C, __UINT16_C, | |
2259 | __UINT32_C, __UINT64_C, __INTMAX_C, __UINTMAX_C): Document. | |
2260 | * doc/tm.texi (SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE, INT32_TYPE, | |
2261 | INT64_TYPE, UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE, | |
2262 | INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, | |
2263 | INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, | |
2264 | UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE, | |
2265 | INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE, | |
2266 | UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, | |
2267 | UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE): Document. | |
2268 | ||
ed853664 BS |
2269 | 2009-03-31 Bernd Schmidt <bernd.schmidt@analog.com> |
2270 | ||
2271 | * loop-iv.c (suitable_set_for_replacement): Renamed from | |
2272 | simplify_using_assignment; changed to return bool and to accept new | |
2273 | args DEST and SRC. Return true iff we find a source/destination pair | |
2274 | that can be used to make a replacement, and fill SRC and DEST if so. | |
2275 | Remove arg ALTERED. Don't deal with altered regs here. All callers | |
2276 | changed. | |
2277 | (simplify_using_initial_values): Deal with altered regs here and track | |
2278 | more precisely the effect they have on the validity of our expression. | |
2279 | ||
1569e190 BS |
2280 | * loop-iv.c (simplify_using_condition): A condition of the form |
2281 | (EQ REG CONST) can be used to simply make a substitution. | |
2282 | (simplify_using_initial_values): Keep track of conditions we have seen | |
2283 | and keep using them to simplify new expressions, while applying the | |
2284 | same substitutions to them as to the expression. | |
2285 | ||
1d1eb80c BS |
2286 | * simplify-rtx.c (simplify_relational_operation_1): Simplify |
2287 | (LTU (PLUS a C) C) or (LTU (PLUS a C) a) to (GEU a -C); likewise with | |
2288 | GEU/LTU reversed. | |
2289 | ||
28af33b0 BS |
2290 | * loop-iv.c (determine_max_iter): New arg OLD_NITER. All callers |
2291 | changed. Use this when trying to improve the upper bound. | |
2292 | Generate the comparison by using simplify_gen_relational. | |
2293 | ||
b30321cd BS |
2294 | * loop-iv.c (simple_rhs_p): Allow more kinds of expressions. |
2295 | ||
60081874 BS |
2296 | * loop-iv.c (replace_single_def_regs, replace_in_expr): New static |
2297 | functions. | |
2298 | (simplify_using_assignment, simplify_using_initial_values): Call | |
2299 | replace_in_expr to make replacements. Call replace_single_def_regs | |
2300 | once on the initial version of the expression. | |
2301 | ||
bebc6e07 RR |
2302 | 2009-03-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2303 | ||
fcb82ab0 | 2304 | PR target/27237 |
bebc6e07 RR |
2305 | * doc/invoke.texi (ARM Options): Update documentation for -mthumb. |
2306 | ||
6b12efe9 RG |
2307 | 2009-03-31 Richard Guenther <rguenther@suse.de> |
2308 | ||
2309 | PR middle-end/31029 | |
2310 | * fold-const.c (fold_binary): Fold X +- Y CMP X to Y CMP 0 for | |
2311 | equality comparisons. Fold C - X CMP X if C % 2 == 1. | |
2312 | ||
108f6c2f RG |
2313 | 2009-03-31 Richard Guenther <rguenther@suse.de> |
2314 | ||
2315 | * tree.h (div_if_zero_remainder): Declare. | |
2316 | * fold-const.c (div_if_zero_remainder): Export. | |
2317 | * tree-ssa-forwprop.c | |
2318 | (forward_propagate_addr_into_variable_array_index): Handle | |
2319 | constant array index addition outside of the variable index. | |
2320 | ||
8f612190 JM |
2321 | 2009-03-31 Joseph Myers <joseph@codesourcery.com> |
2322 | ||
2323 | PR target/39592 | |
2324 | * config/i386/i386.md (*floatunssi<mode>2_1, two unnamed | |
2325 | define_splits, floatunssi<mode>2): Require x87 conversions from | |
2326 | DImode to be permitted. | |
2327 | ||
47580d22 JM |
2328 | 2009-03-31 Joseph Myers <joseph@codesourcery.com> |
2329 | ||
2330 | PR preprocessor/15638 | |
2331 | * c-common.c (c_cpp_error): Handle CPP_DL_FATAL. | |
2332 | ||
ba4d8f9d RG |
2333 | 2009-03-31 Richard Guenther <rguenther@suse.de> |
2334 | ||
2335 | PR middle-end/23401 | |
2336 | PR middle-end/27810 | |
2337 | * tree.h (DECL_GIMPLE_FORMAL_TEMP_P): Remove. | |
2338 | (struct tree_decl_with_vis): Remove gimple_formal_temp member. | |
2339 | * tree-eh.c (lower_eh_constructs_2): Move LHS assignment to | |
2340 | a separate statement. | |
2341 | * gimplify.c (pop_gimplify_context): Remove formal temp handling. | |
2342 | (lookup_tmp_var): Likewise. | |
2343 | (is_gimple_formal_tmp_or_call_rhs): Remove. | |
2344 | (is_gimple_reg_or_call_rhs): Rename to ... | |
2345 | (is_gimple_reg_rhs_or_call): ... this. | |
2346 | (is_gimple_mem_or_call_rhs): Rename to ... | |
2347 | (is_gimple_mem_rhs_or_call): ... this. | |
2348 | (internal_get_tmp_var): Use is_gimple_reg_rhs_or_call. Set | |
2349 | DECL_GIMPLE_REG_P only if is_formal is true. | |
2350 | (gimplify_compound_lval): Use is_gimple_reg. Remove workaround | |
2351 | for non-proper post-modify expression gimplification. | |
2352 | (gimplify_self_mod_expr): For post-modify expressions gimplify | |
2353 | the lvalue to a minimal lvalue. | |
2354 | (rhs_predicate_for): Remove formal temp case. | |
2355 | (gimplify_modify_expr_rhs): Likewise. | |
2356 | (gimplify_addr_expr): Use is_gimple_reg. | |
2357 | (gimplify_expr): Remove formal temp cases. | |
2358 | (gimple_regimplify_operands): Likewise. | |
2359 | * tree-ssa-pre.c (get_or_alloc_expr_for): Treat EXC_PTR_EXPR | |
2360 | and FILTER_EXPR like constants. | |
2361 | * gimple.c (walk_gimple_op): Fix val_only initialization, use | |
2362 | is_gimple_reg. | |
2363 | (is_gimple_formal_tmp_rhs): Remove. | |
2364 | (is_gimple_reg_rhs): Remove special casing. | |
2365 | (is_gimple_mem_rhs): Fix. | |
2366 | (is_gimple_reg): Move DECL_GIMPLE_REG_P handling earlier. | |
2367 | (is_gimple_formal_tmp_var): Remove. | |
2368 | (is_gimple_formal_tmp_reg): Likewise. | |
2369 | (is_gimple_min_lval): Allow invariant component ref parts. | |
2370 | * gimple.h (is_gimple_formal_tmp_rhs, is_gimple_formal_tmp_var, | |
2371 | is_gimple_formal_tmp_reg): Remove declarations. | |
2372 | * tree-cfg.c (verify_expr): Verify that variables with address | |
2373 | taken do not have DECL_GIMPLE_REG_P set. | |
2374 | * tree-mudflap.c (mf_build_check_statement_for): Use | |
2375 | force_gimple_operand instead of gimplify_expr. | |
2376 | ||
8de9b877 AZ |
2377 | 2009-03-31 Ayal Zaks <zaks@il.ibm.com> |
2378 | ||
2379 | * modulo-sched.c (sms_schedule_by_order): Pass the actual | |
2380 | schedulable rows to compute_split_row. | |
2381 | ||
b5e3caf2 BE |
2382 | 2009-03-31 Ben Elliston <bje@au.ibm.com> |
2383 | ||
2384 | PR target/31635 | |
2385 | * config/rs6000/rs6000.c (rs6000_handle_option): Handle | |
2386 | OPT_mvrsave. | |
2387 | ||
9752c4ad AM |
2388 | 2009-03-31 Alan Modra <amodra@bigpond.net.au> |
2389 | ||
2390 | * doc/invoke.texi (RS/6000 and PowerPC Options):Document mtls-markers. | |
2391 | * configure.ac (HAVE_AS_TLS_MARKERS): New gas feature check. | |
2392 | * configure: Regenerate. | |
2393 | * config.in: Regenerate. | |
2394 | * config/rs6000/rs6000.opt (mtls-markers): Add. | |
2395 | * config/rs6000/rs6000.h (TARGET_TLS_MARKERS): Define. | |
2396 | * config/rs6000/rs6000.md (tls_gd_aix, tls_gd_sysv): Add splitter. | |
2397 | (tls_ld_aix, tls_ld_sysv): Likewise. | |
2398 | (tls_gd, tls_gd_call_aix, tls_gd_call_sysv): New insns. | |
2399 | (tls_ld, tls_ld_call_aix, tls_ld_call_sysv): Likewise. | |
2400 | ||
b597d1b6 AM |
2401 | 2009-03-31 Alan Modra <amodra@bigpond.net.au> |
2402 | ||
2403 | * config/spu/spu.c (spu_expand_prologue): Delete redundant code. | |
2404 | ||
a203a221 JH |
2405 | 2009-03-30 Jan Hubicka <jh@suse.cz> |
2406 | ||
b597d1b6 AM |
2407 | * tree-eh.c (make_eh_edges): Set probability 100% to first edge |
2408 | out of RESX. | |
2409 | (tree_remove_unreachable_handlers): Cleanup EH predecestor | |
2410 | detection and label handling. | |
a203a221 | 2411 | |
5b0c0b2c VM |
2412 | 2009-03-30 Vladimir Makarov <vmakarov@redhat.com> |
2413 | ||
2414 | * ira-int.h (ira_allocno): Rename left_conflicts_num to | |
2415 | left_conflicts_size. | |
2416 | (ALLOCNO_LEFT_CONFLICTS_NUM): Rename to | |
2417 | ALLOCNO_LEFT_CONFLICTS_SIZE. | |
2418 | ||
2419 | * ira-color.c (allocno_spill_priority, push_allocno_to_stack, | |
2420 | remove_allocno_from_bucket_and_push, | |
2421 | allocno_spill_priority_compare, push_allocnos_to_stack, | |
2422 | setup_allocno_available_regs_num): Use ALLOCNO_LEFT_CONFLICTS_SIZE | |
2423 | instead of ALLOCNO_LEFT_CONFLICTS_NUM. | |
2424 | (setup_allocno_left_conflicts_num): Ditto. Rename to | |
2425 | setup_allocno_left_conflicts_size. | |
2426 | (put_allocno_into_bucket): Use ALLOCNO_LEFT_CONFLICTS_SIZE | |
2427 | instead of ALLOCNO_LEFT_CONFLICTS_NUM and | |
2428 | setup_allocno_left_conflicts_size instead of | |
2429 | setup_allocno_left_conflicts_num. | |
2430 | ||
2431 | * ira-build.c (ira_create_allocno): Use | |
2432 | ALLOCNO_LEFT_CONFLICTS_SIZE instead of | |
2433 | ALLOCNO_LEFT_CONFLICTS_NUM. | |
2434 | ||
9a48a93f VM |
2435 | 2009-03-30 Vladimir Makarov <vmakarov@redhat.com> |
2436 | ||
2437 | * reload.c (push_reload, find_dummy_reload): Use df_get_live_out | |
2438 | instead of DF_LR_OUT. | |
2439 | ||
2440 | * ira-lives.c (process_bb_node_lives): Ditto. | |
2441 | ||
2442 | * ira-color.c (ira_loop_edge_freq): Use df_get_live_{out,in} | |
2443 | instead of DF_LR_{OUT,IN}. | |
2444 | ||
2445 | * ira-emit.c (generate_edge_moves, add_ranges_and_copies): Ditto. | |
2446 | ||
2447 | * ira-build.c (create_bb_allocnos, create_loop_allocnos): Ditto. | |
2448 | ||
4c936d4f JH |
2449 | 2009-03-30 Jan Hubicka <jh@suse.cz> |
2450 | ||
2451 | * except.c (label_to_region_map): Fix thinko. | |
2452 | ||
f4d9f129 SE |
2453 | 2009-03-30 Steve Ellcey <sje@cup.hp.com> |
2454 | ||
2455 | PR middle-end/38237 | |
2456 | * tree.h (tree_find_value): New declaration. | |
2457 | * tree.c (tree_find_value): New function. | |
2458 | * varasm.c (assemble_external): Avoid duplicate entries on lists. | |
2459 | ||
b3f27c15 JJ |
2460 | 2009-03-30 Jakub Jelinek <jakub@redhat.com> |
2461 | ||
2462 | PR debug/39563 | |
2463 | * c-decl.c (struct c_binding): Add locus field. | |
2464 | (bind): Add locus argument, set locus field from it. | |
2465 | (pop_scope): For b->nested VAR_DECL or FUNCTION_DECL, | |
2466 | add a DECL_EXTERNAL copy of b->decl to current BLOCK_VARS. | |
2467 | (push_file_scope, pushtag, pushdecl, pushdecl_top_level, | |
2468 | implicitly_declare, undeclared_variable, lookup_label, | |
2469 | declare_label, c_make_fname_decl, c_builtin_function, | |
2470 | c_builtin_function_ext_scope, store_parm_decls_newstyle): Adjust | |
2471 | bind callers. | |
2472 | ||
680e8a00 L |
2473 | 2008-03-30 H.J. Lu <hongjiu.lu@intel.com> |
2474 | ||
2475 | PR target/38781 | |
2476 | * config/i386/i386.c (classify_argument): Check total size of | |
2477 | structure. | |
2478 | ||
133f9369 MJ |
2479 | 2009-03-30 Martin Jambor <mjambor@suse.cz> |
2480 | ||
2481 | * ipa-prop.h (jump_func_type): Rename IPA_UNKNOWN, IPA_CONST, | |
2482 | IPA_CONST_MEMBER_PTR, and IPA_PASS_THROUGH to IPA_JF_UNKNOWN, | |
2483 | IPA_JF_CONST, IPA_JF_CONST_MEMBER_PTR, and IPA_JF_PASS_THROUGH | |
2484 | respectively. | |
2485 | ||
2486 | * tree-dfa.c (get_ref_base_and_extent): Return -1 maxsize if | |
2487 | seen_variable_array_ref while also traversing a union. | |
2488 | ||
2489 | * tree-inline.c (optimize_inline_calls): Do not call | |
2490 | cgraph_node_remove_callees. | |
2491 | * cgraphbuild.c (remove_cgraph_callee_edges): New function. | |
2492 | (pass_remove_cgraph_callee_edges): New variable. | |
2493 | * passes.c (init_optimization_passes): Add | |
2494 | pass_remove_cgraph_callee_edges after early inlining and before all | |
2495 | late intraprocedural passes. | |
2496 | ||
2497 | * omp-low.c (expand_omp_taskreg): Always set current_function_decl. | |
2498 | ||
1190f2eb PB |
2499 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
2500 | ||
2501 | * config/sparc/sparc.md (*nand<V64mode>_vis, *nand<V32mode>_vis): | |
2502 | Fix typos in names. | |
2503 | ||
fedc1775 PB |
2504 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
2505 | ||
fcb82ab0 UB |
2506 | * combine.c (simplify_comparison): Use have_insn_for. |
2507 | * dojump.c (do_jump): Likewise. | |
fedc1775 | 2508 | |
65c5ae8b PB |
2509 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
2510 | ||
2511 | * config/sparc/sparc.c (sparc_compare_emitted): Remove. | |
2512 | (gen_compare_reg, emit_v9_brxx_insn): Handle MODE_CC | |
2513 | sparc_compare_op0 like sparc_compare_emitted used to be handled. | |
2514 | (sparc_expand_compare_and_swap_12): Set sparc_compare_op0 | |
2515 | instead of sparc_compare_emitted. | |
2516 | * config/sparc/sparc.h (sparc_compare_emitted): Remove. | |
2517 | * config/sparc/sparc.md (stack_protect_test): Set sparc_compare_op0 | |
2518 | instead of sparc_compare_emitted. | |
2519 | ||
d25aa7ab PB |
2520 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
2521 | ||
2522 | * bb-reorder.c (partition_hot_cold_basic_blocks): Do not | |
2523 | enter/exit cfglayout mode. | |
2524 | (pass_partition_block): Require it. | |
2525 | * combine.c (find_single_use, reg_dead_at_p): Use CFG. | |
2526 | (combine_instructions): Track basic blocks instead of labels. | |
2527 | (update_cfg_for_uncondjump): New. | |
2528 | (try_combine): Use it. Update jumps after rescanning. | |
2529 | (pass_combine): Require PROP_cfglayout. | |
2530 | * passes.c (pass_outof_cfg_layout_mode): Move after regmove. | |
2531 | ||
9c9e26f5 PB |
2532 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
2533 | ||
fcb82ab0 UB |
2534 | * cfglayout.c (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode): |
2535 | Provide/destroy PROP_cfglayout respectively. | |
2536 | * gcse.c (pass_jump_bypass, pass_gcse): Require it. | |
2537 | * tree-pass.h (PROP_cfglayout): New. | |
9c9e26f5 | 2538 | |
28ddeea1 PB |
2539 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
2540 | ||
2541 | * fold-const.c (const_binop, fold_convert_const_real_from_fixed, | |
2542 | fold_convert_const_fixed_from_fixed, | |
2543 | fold_convert_const_fixed_from_int, | |
2544 | fold_convert_const_fixed_from_real, fold_negate_const): Do not | |
2545 | set TREE_CONSTANT_OVERFLOW. | |
2546 | * tree.def: Remove mention of TREE_CONSTANT_OVERFLOW. | |
2547 | * tree.h (TREE_CONSTANT_OVERFLOW): Delete. | |
2548 | ||
ebfd146a IR |
2549 | 2009-03-30 Ira Rosen <irar@il.ibm.com> |
2550 | ||
2551 | * tree-vect-loop-manip.c: New file. | |
2552 | * tree-vectorizer.c: Update documentation and included files. | |
2553 | (vect_loop_location): Make extern. | |
2554 | (rename_use_op): Move to tree-vect-loop-manip.c | |
2555 | (rename_variables_in_bb, rename_variables_in_loop, | |
2556 | slpeel_update_phis_for_duplicate_loop, | |
2557 | slpeel_update_phi_nodes_for_guard1, | |
2558 | slpeel_update_phi_nodes_for_guard2, slpeel_make_loop_iterate_ntimes, | |
2559 | slpeel_tree_duplicate_loop_to_edge_cfg, slpeel_add_loop_guard, | |
2560 | slpeel_can_duplicate_loop_p, slpeel_verify_cfg_after_peeling, | |
2561 | set_prologue_iterations, slpeel_tree_peel_loop_to_edge, | |
2562 | find_loop_location): Likewise. | |
2563 | (new_stmt_vec_info): Move to tree-vect-stmts.c. | |
2564 | (init_stmt_vec_info_vec, free_stmt_vec_info_vec, free_stmt_vec_info, | |
2565 | get_vectype_for_scalar_type, vect_is_simple_use, | |
2566 | supportable_widening_operation, supportable_narrowing_operation): | |
2567 | Likewise. | |
2568 | (bb_in_loop_p): Move to tree-vect-loop.c. | |
2569 | (new_loop_vec_info, destroy_loop_vec_info, | |
2570 | reduction_code_for_scalar_code, report_vect_op, | |
2571 | vect_is_simple_reduction, vect_is_simple_iv_evolution): Likewise. | |
2572 | (vect_can_force_dr_alignment_p): Move to tree-vect-data-refs.c. | |
2573 | (vect_supportable_dr_alignment): Likewise. | |
2574 | * tree-vectorizer.h (tree-data-ref.h): Include. | |
2575 | (vect_loop_location): Declare. | |
2576 | Reorganize function declarations according to the new file structure. | |
2577 | * tree-vect-loop.c: New file. | |
2578 | * tree-vect-analyze.c: Remove. Move functions to tree-vect-data-refs.c, | |
2579 | tree-vect-stmts.c, tree-vect-slp.c, tree-vect-loop.c. | |
2580 | * tree-vect-data-refs.c: New file. | |
2581 | * tree-vect-patterns.c (timevar.h): Don't include. | |
2582 | * tree-vect-stmts.c: New file. | |
2583 | * tree-vect-transform.c: Remove. Move functions to tree-vect-stmts.c, | |
2584 | tree-vect-slp.c, tree-vect-loop.c. | |
2585 | * Makefile.in (OBJS-common): Remove tree-vect-analyze.o and | |
2586 | tree-vect-transform.o. Add tree-vect-data-refs.o, tree-vect-stmts.o, | |
2587 | tree-vect-loop.o, tree-vect-loop-manip.o, tree-vect-slp.o. | |
2588 | (tree-vect-analyze.o): Remove. | |
2589 | (tree-vect-transform.o): Likewise. | |
2590 | (tree-vect-data-refs.o): Add rule. | |
2591 | (tree-vect-stmts.o, tree-vect-loop.o, tree-vect-loop-manip.o, | |
2592 | tree-vect-slp.o): Likewise. | |
2593 | (tree-vect-patterns.o): Remove redundant dependencies. | |
2594 | (tree-vectorizer.o): Likewise. | |
2595 | * tree-vect-slp.c: New file. | |
2596 | ||
40a1cfba RW |
2597 | 2009-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2598 | ||
2599 | * optc-gen.awk: Warn if an option flag has multiple different | |
2600 | help strings. | |
2601 | ||
a9a7a9a2 SP |
2602 | 2009-03-30 Sebastian Pop <sebastian.pop@amd.com> |
2603 | ||
2604 | * doc/invoke.texi (-floop-interchange, -floop-strip-mine, | |
2605 | -floop-block): Document dependences on PPL, CLooG and Graphite. | |
2606 | ||
8ce94e44 JM |
2607 | 2009-03-30 Joseph Myers <joseph@codesourcery.com> |
2608 | ||
2609 | PR rtl-optimization/323 | |
2610 | * c-common.c (c_fully_fold, convert_and_check, | |
2611 | c_common_truthvalue_conversion): Handle EXCESS_PRECISION_EXPR. | |
2612 | (c_fully_fold_internal): Disallow EXCESS_PRECISION_EXPR. | |
2613 | * c-common.def (EXCESS_PRECISION_EXPR): New. | |
2614 | * c-cppbuiltin.c (builtin_define_float_constants): Define | |
2615 | constants with enough digits for long double. | |
2616 | * c-lex.c (interpret_float): Interpret constant with excess | |
2617 | precision where appropriate. | |
2618 | * c-opts.c (c_common_post_options): Set | |
2619 | flag_excess_precision_cmdline. Give an error for | |
2620 | -fexcess-precision=standard for C++ for processors where the | |
2621 | option is significant. | |
2622 | * c-parser.c (c_parser_conditional_expression): Handle excess | |
2623 | precision in condition. | |
2624 | * c-typeck.c (convert_arguments): Handle arguments with excess | |
2625 | precision. | |
2626 | (build_unary_op): Move excess precision outside operation. | |
2627 | (build_conditional_expr): Likewise. | |
2628 | (build_compound_expr): Likewise. | |
2629 | (build_c_cast): Do cast on operand of EXCESS_PRECISION_EXPR. | |
2630 | (build_modify_expr): Handle excess precision in RHS. | |
2631 | (convert_for_assignment): Handle excess precision in converted | |
2632 | value. | |
2633 | (digest_init, output_init_element, process_init_element): Handle | |
2634 | excess precision in initializer. | |
2635 | (c_finish_return): Handle excess precision in return value. | |
2636 | (build_binary_op): Handle excess precision in operands and add | |
2637 | excess precision as needed for operation. | |
2638 | * common.opt (-fexcess-precision=): New option. | |
2639 | * config/i386/i386.h (X87_ENABLE_ARITH, X87_ENABLE_FLOAT): New. | |
2640 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
2641 | For standard excess precision, output explicit conversion to and | |
2642 | truncation from XFmode. | |
2643 | (*float<SSEMODEI24:mode><X87MODEF:mode>2_1, | |
2644 | *float<SSEMODEI24:mode><X87MODEF:mode>2_i387_with_temp, | |
2645 | *float<SSEMODEI24:mode><X87MODEF:mode>2_i387, two unnamed | |
2646 | define_splits, floatdi<X87MODEF:mode>2_i387_with_xmm, two unnamed | |
2647 | define_splits, *floatunssi<mode>2_1, two unnamed define_splits, | |
2648 | floatunssi<mode>2, add<mode>3, sub<mode>3, mul<mode>3, divdf3, | |
2649 | divsf3, *fop_<mode>_comm_i387, *fop_<mode>_1_i387, | |
2650 | *fop_<MODEF:mode>_2_i387, *fop_<MODEF:mode>_3_i387, | |
2651 | *fop_df_4_i387, *fop_df_5_i387, *fop_df_6_i387, two unnamed | |
2652 | define_splits, sqrt<mode>2): Disable where appropriate for | |
2653 | standard excess precision. | |
2654 | * convert.c (convert_to_real): Do not shorten arithmetic to type | |
2655 | for which excess precision would be used. | |
2656 | * defaults.h (TARGET_FLT_EVAL_METHOD_NON_DEFAULT): Define. | |
2657 | * doc/invoke.texi (-fexcess-precision=): Document option. | |
2658 | (-mfpmath=): Correct index entry. | |
2659 | * flags.h (enum excess_precision, flag_excess_precision_cmdline, | |
2660 | flag_excess_precision): New. | |
2661 | * langhooks.c (lhd_post_options): Set | |
2662 | flag_excess_precision_cmdline. | |
2663 | * opts.c (common_handle_option): Handle -fexcess-precision=. | |
2664 | * toplev.c (flag_excess_precision_cmdline, flag_excess_precision, | |
2665 | init_excess_precision): New. | |
2666 | (lang_dependent_init_target): Call init_excess_precision. | |
2667 | * tree.c (excess_precision_type): New. | |
2668 | * tree.h (excess_precision_type): Declare. | |
2669 | ||
1e57bf47 JM |
2670 | 2009-03-30 Joseph Myers <joseph@codesourcery.com> |
2671 | ||
2672 | PR c/35235 | |
2673 | * c-typeck.c (build_component_ref): Do not copy qualifiers from | |
2674 | non-lvalue to component. | |
2675 | ||
148e4216 JM |
2676 | 2009-03-29 Joseph Myers <joseph@codesourcery.com> |
2677 | ||
2678 | PR preprocessor/34695 | |
2679 | * Makefile.in (c-opts.o): Depend on c-tree.h. | |
2680 | * c-common.c: Move down include of diagnostic.h. | |
2681 | (done_lexing, c_cpp_error): New. | |
2682 | * c-common.h (done_lexing): Declare. | |
2683 | * c-decl.c (c_write_global_declarations): Don't check cpp_errors | |
2684 | (parse_in). | |
2685 | * c-opts.c: Include c-tree.h. | |
2686 | (c_common_init_options): Set preprocessor error callback. | |
2687 | (c_common_handle_option): Do not set preprocessor | |
2688 | inhibit_warnings, warnings_are_errors, warn_system_headers, | |
2689 | pedantic_errors or inhibit_warnings flags. | |
2690 | (c_common_post_options): Do not check cpp_errors (parse_in). | |
2691 | (c_common_finish): Do not output dependencies if there were | |
2692 | errors. Do not check return value of cpp_finish. | |
2693 | * c-ppoutput.c (pp_file_change): Set input_location. | |
2694 | * c-tree.h (c_cpp_error): Declare. | |
2695 | * diagnostic.c (diagnostic_set_info_translated): Also initialize | |
2696 | override_column. | |
2697 | (diagnostic_build_prefix): Check override_column. | |
2698 | * diagnostic.h (diagnostic_info): Add override_column field. | |
2699 | (diagnostic_override_column): Define. | |
2700 | ||
2ec5deb5 PB |
2701 | 2009-03-28 Paolo Bonzini <bonzini@gnu.org> |
2702 | ||
ba20e309 UB |
2703 | * c-common.c (c_expand_expr, c_staticp): Remove. |
2704 | * c-common.def (COMPOUND_LITERAL_EXPR): Delete. | |
2705 | * c-common.h (emit_local_var, c_staticp, COMPOUND_LITERAL_EXPR_DECL, | |
2706 | COMPOUND_LITERAL_EXPR_DECL_EXPR): Remove. | |
2707 | * c-gimplify.c (gimplify_compound_literal_expr, | |
2708 | optimize_compound_literals_in_ctor): Remove. | |
2709 | (c_gimplify_expr): Remove COMPOUND_LITERAL_EXPR handling. | |
2710 | * c-objc-common.h (LANG_HOOKS_STATICP): Remove. | |
2711 | * c-semantics.c (emit_local_var): Remove. | |
2712 | ||
2713 | * langhooks-def.h (lhd_expand_expr): Remove. | |
2714 | * langhooks.c (lhd_expand_expr): Remove. | |
2715 | * langhooks.h (LANG_HOOKS_DEF): Remove LANG_HOOKS_EXPAND_EXPR. | |
2716 | ||
2717 | * expr.c (expand_expr_real_1): Move COMPOUND_LITERAL_EXPR | |
2718 | handling from c-semantics.c; don't call into langhook. | |
2719 | (expand_expr_addr_expr_1): Check that we don't get non-GENERIC trees. | |
2720 | * gimplify.c (gimplify_compound_literal_expr, | |
2721 | optimize_compound_literals_in_ctor): Move from c-gimplify.c. | |
2722 | (gimplify_init_constructor): Call optimize_compound_literals_in_ctor. | |
2723 | (gimplify_modify_expr_rhs, gimplify_expr): Handle COMPOUND_LITERAL_EXPR | |
2724 | as was done in c-gimplify.c. | |
2725 | * tree.c (staticp): Move COMPOUND_LITERAL_EXPR handling from c_staticp. | |
2726 | * tree.h (COMPOUND_LITERAL_EXPR_DECL, COMPOUND_LITERAL_EXPR_DECL_EXPR): | |
2727 | Move from c-common.h. | |
2728 | * tree.def (COMPOUND_LITERAL_EXPR): Move from c-common.def. | |
2ec5deb5 PB |
2729 | |
2730 | * tree.c (staticp): Do not call langhook. | |
2731 | * langhooks.c (lhd_staticp): Delete. | |
2732 | * langhooks-def.h (lhd_staticp): Delete prototype. | |
2733 | (LANG_HOOKS_STATICP): Delete. | |
2734 | (LANG_HOOKS_INITIALIZER): Delete LANG_HOOKS_STATICP. | |
2735 | ||
ba20e309 UB |
2736 | * doc/c-tree.texi (Expression nodes): Refer to DECL_EXPRs |
2737 | instead of DECL_STMTs. | |
2ec5deb5 | 2738 | |
928c19bb JM |
2739 | 2009-03-29 Joseph Myers <joseph@codesourcery.com> |
2740 | ||
2741 | PR c/456 | |
2742 | PR c/5675 | |
2743 | PR c/19976 | |
2744 | PR c/29116 | |
2745 | PR c/31871 | |
2746 | PR c/35198 | |
2747 | * builtins.c (fold_builtin_sincos): Build COMPOUND_EXPR in | |
2748 | void_type_node. | |
2749 | (fold_call_expr): Return a NOP_EXPR from folding rather than the | |
2750 | contained expression. | |
ba20e309 | 2751 | * c-common.c (c_fully_fold, c_fully_fold_internal, c_save_expr): New. |
928c19bb JM |
2752 | (c_common_truthvalue_conversion): Use c_save_expr. Do not fold |
2753 | conditional expressions for C. | |
2754 | (decl_constant_value_for_optimization): Move from | |
ba20e309 | 2755 | decl_constant_value_for_broken_optimization in c-typeck.c. Check |
928c19bb JM |
2756 | whether optimizing and that the expression is a VAR_DECL not of |
2757 | array type instead of doing such checks in the caller. Do not | |
2758 | check pedantic. Call gcc_unreachable for C++. | |
2759 | * c-common.def (C_MAYBE_CONST_EXPR): New. | |
2760 | * c-common.h (c_fully_fold, c_save_expr, | |
2761 | decl_constant_value_for_optimization): New prototypes. | |
2762 | (C_MAYBE_CONST_EXPR_PRE, C_MAYBE_CONST_EXPR_EXPR, | |
2763 | C_MAYBE_CONST_EXPR_INT_OPERANDS, C_MAYBE_CONST_EXPR_NON_CONST, | |
2764 | EXPR_INT_CONST_OPERANDS): Define. | |
2765 | * c-convert.c (convert): Strip nops from expression. | |
2766 | * c-decl.c (groktypename): Take extra parameters expr and | |
2767 | expr_const_operands. Update call to grokdeclarator. | |
2768 | (start_decl): Update call to grokdeclarator. Add statement for | |
2769 | expressions used in type of decl. | |
2770 | (grokparm): Update call to grokdeclarator. | |
2771 | (push_parm_decl): Update call to grokdeclarator. | |
2772 | (build_compound_literal): Add parameter non_const and build a | |
2773 | C_MAYBE_COSNT_EXPR if applicable. | |
2774 | (grokdeclarator): Take extra parameters expr and | |
2775 | expr_const_operands. Track expressions used in declaration | |
2776 | specifiers and declarators. Fold array sizes and track whether | |
2777 | they are constant expressions and whether they are integer | |
2778 | constant expressions. | |
2779 | (parser_xref_tag): Set expr and expr_const_operands fields in | |
2780 | return value. | |
2781 | (grokfield): Update call to grokdeclarator. | |
2782 | (start_function): Update call to grokdeclarator. | |
2783 | (build_null_declspecs): Set expr and expr_const_operands fields in | |
2784 | return value. | |
2785 | (declspecs_add_type): Handle expressions in typeof specifiers. | |
2786 | * c-parser.c (c_parser_declspecs): Set expr and | |
2787 | expr_const_operands fields for declaration specifiers. | |
2788 | (c_parser_enum_specifier): Likewise. | |
2789 | (c_parser_struct_or_union_specifier): Likewise. | |
2790 | (c_parser_typeof_specifier): Likewise. Update call to | |
2791 | groktypename. Fold expression as needed. Return expressions with | |
2792 | type instead of adding statements. | |
2793 | (c_parser_attributes): Update calls to c_parser_expr_list. | |
2794 | (c_parser_statement_after_labels): Fold expression before passing | |
2795 | to objc_build_throw_stmt. | |
2796 | (c_parser_condition): Fold expression. | |
2797 | (c_parser_asm_operands): Fold expression. | |
2798 | (c_parser_conditional_expression): Use c_save_expr. Update call | |
2799 | to build_conditional_expr. | |
2800 | (c_parser_alignof_expression): Update call to groktypename. | |
2801 | (c_parser_postfix_expression): Preserve C_MAYBE_CONST_EXPR as | |
2802 | original_code. Fold expression argument of va_arg. Create | |
2803 | C_MAYBE_CONST_EXPR to preserve side effects of expressions in type | |
2804 | argument to va_arg. Update calls to groktypename. Fold array | |
2805 | index for offsetof. Verify that first argument to | |
2806 | __builtin_choose_expr has integer type. | |
2807 | (c_parser_postfix_expression_after_paren_type): Update calls to | |
2808 | groktypename and build_compound_literal. Handle expressions with | |
2809 | side effects in type name. | |
2810 | (c_parser_postfix_expression_after_primary): Update call to | |
2811 | c_parser_expr_list. Set original_code for calls to | |
2812 | __builtin_constant_p. | |
2813 | (c_parser_expr_list): Take extra parameter fold_p. Fold | |
2814 | expressions if requested. | |
2815 | (c_parser_objc_type_name): Update call to groktypename. | |
2816 | (c_parser_objc_synchronized_statement): Fold expression. | |
2817 | (c_parser_objc_receiver): Fold expression. | |
2818 | (c_parser_objc_keywordexpr): Update call to c_parser_expr_list. | |
2819 | (c_parser_omp_clause_num_threads, c_parser_omp_clause_schedule, | |
2820 | c_parser_omp_atomic, c_parser_omp_for_loop): Fold expressions. | |
2821 | * c-tree.h (CONSTRUCTOR_NON_CONST): Define. | |
2822 | (struct c_typespec): Add elements expr and expr_const_operands. | |
2823 | (struct c_declspecs): Add elements expr and expr_const_operands. | |
2824 | (groktypename, build_conditional_expr, build_compound_literal): | |
2825 | Update prototypes. | |
2826 | (in_late_binary_op): Declare. | |
2827 | * c-typeck.c (note_integer_operands): New function. | |
2828 | (in_late_binary_op): New variable. | |
2829 | (decl_constant_value_for_broken_optimization): Move to c-common.c | |
2830 | and rename to decl_constant_value_for_optimization. | |
2831 | (default_function_array_conversion): Do not strip nops. | |
2832 | (default_conversion): Do not call | |
2833 | decl_constant_value_for_broken_optimization. | |
2834 | (build_array_ref): Do not fold result. | |
2835 | (c_expr_sizeof_expr): Fold operand. Use C_MAYBE_CONST_EXPR for | |
2836 | result when operand is a VLA. | |
2837 | (c_expr_sizeof_type): Update call to groktypename. Handle | |
2838 | expressions included in type name. Use C_MAYBE_CONST_EXPR for | |
2839 | result when operand names a VLA type. | |
2840 | (build_function_call): Update call to build_compound_literal. | |
2841 | Only fold result for calls to __builtin_* functions. Strip | |
2842 | NOP_EXPR from INTEGER_CST returned from such functions. Fold | |
2843 | the function designator. | |
2844 | (convert_arguments): Fold arguments. Update call to | |
2845 | convert_for_assignment. | |
2846 | (build_unary_op): Handle increment and decrement of | |
2847 | C_MAYBE_CONST_EXPR. Move lvalue checks for increment and | |
2848 | decrement earlier. Fold operand of increment and decrement. | |
2849 | Handle address of C_MAYBE_CONST_EXPR. Only fold expression being | |
2850 | built for integer operand. Wrap returns that are INTEGER_CSTs | |
2851 | without being integer constant expressions or that have integer | |
2852 | constant operands without being INTEGER_CSTs. | |
2853 | (lvalue_p): Handle C_MAYBE_CONST_EXPR. | |
2854 | (build_conditional_expr): Add operand ifexp_bcp. Track whether | |
2855 | result is an integer constant expression or can be used in | |
2856 | unevaluated parts of one and avoid folding and wrap as | |
2857 | appropriate. Fold operands before possibly doing -Wsign-compare | |
2858 | warnings. | |
2859 | (build_compound_expr): Wrap result for C99 if operands can be used | |
2860 | in integer constant expressions. | |
2861 | (build_c_cast): Update call to digest_init. Do not ignore | |
2862 | overflow from casting floating-point constants to integers. Wrap | |
2863 | results that could be confused with integer constant expressions, | |
2864 | null pointer constants or floating-point constants. | |
2865 | (c_cast_expr): Update call to groktypename. Handle expressions | |
2866 | included in type name. | |
2867 | (build_modify_expr): Handle modifying a C_MAYBE_CONST_EXPR. Fold | |
2868 | lhs inside possible SAVE_EXPR. Fold RHS before assignment. | |
2869 | Update calls to convert_for_assignment. | |
2870 | (convert_for_assignment): Take new parameter | |
2871 | null_pointer_constant. Do not strip nops or call | |
2872 | decl_constant_value_for_broken_optimization. Set | |
2873 | in_late_binary_op for conversions to boolean. | |
2874 | (store_init_value): Update call to digest_init. | |
2875 | (digest_init): Take new parameter null_pointer_constant. Do not | |
2876 | call decl_constant_value_for_broken_optimization. pedwarn for | |
2877 | initializers not constant expressions. Update calls to | |
2878 | convert_for_assignment. | |
2879 | (constructor_nonconst): New. | |
2880 | (struct constructor_stack): Add nonconst element. | |
2881 | (really_start_incremental_init, push_init_level, pop_init_level): | |
2882 | Handle constructor_nonconst and nonconst element. | |
2883 | (set_init_index): Call constant_expression_warning for array | |
2884 | designators. | |
2885 | (output_init_element): Fold value. Set constructor_nonconst as | |
2886 | applicable. pedwarn for initializers not constant expressions. | |
2887 | Update call to digest_init. Call constant_expression_warning | |
2888 | where constant initializers are required. | |
2889 | (process_init_element): Use c_save_expr. | |
2890 | (c_finish_goto_ptr): Fold expression. | |
2891 | (c_finish_return): Fold return value. Update call to | |
2892 | convert_for_assignment. | |
2893 | (c_start_case): Fold switch expression. | |
2894 | (c_process_expr_stmt): Fold expression. | |
2895 | (c_finish_stmt_expr): Create C_MAYBE_CONST_EXPR as needed to | |
ba20e309 | 2896 | ensure statement expression is not evaluated in constant expression. |
928c19bb JM |
2897 | (build_binary_op): Track whether results are integer constant |
2898 | expressions or may occur in such, disable folding and wrap results | |
2899 | as applicable. Fold operands for -Wsign-compare warnings unless | |
2900 | in_late_binary_op. | |
2901 | (c_objc_common_truthvalue_conversion): Handle results folded to | |
2902 | integer constants that are not integer constant expressions. | |
2903 | * doc/extend.texi: Document when typeof operands are evaluated, | |
2904 | that condition of __builtin_choose_expr is an integer constant | |
2905 | expression, and more about use of __builtin_constant_p in | |
2906 | initializers. | |
2907 | ||
5babbcc0 RG |
2908 | 2009-03-29 Richard Guenther <rguenther@suse.de> |
2909 | ||
2910 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Properly | |
2911 | propagate addresses of array references. | |
2912 | ||
0340f2ba SB |
2913 | 2009-03-29 Steven Bosscher <steven@gcc.gnu.org> |
2914 | ||
2915 | * regmove.c (perhaps_ends_bb_p): Remove. | |
2916 | (optimize_reg_copy_1): Don't call perhaps_ends_bb_p. Get basic block | |
2917 | from INSN and check that the main loop stays within that basic block. | |
2918 | (optimize_reg_copy_1, optimize_reg_copy_3, fixup_match_2): Likewise. | |
2919 | (regmove_forward_pass): Split out from regmove_optimize. Use | |
2920 | FOR_EACH_BB and FOR_BB_INSNS instead of traversing the insns stream. | |
2921 | (regmove_backward_pass): Split out from regmove_optimize. Use | |
2922 | FOR_EACH_BB_REVERSE and FOR_BB_INSNS_REVERS_SAFE. | |
2923 | (regmove_optimize): Simplify. | |
2924 | ||
eeae74a1 L |
2925 | 2009-03-29 H.J. Lu <hongjiu.lu@intel.com> |
2926 | ||
2927 | PR target/39545 | |
2928 | * config/i386/i386.c (classify_argument): Ignore flexible array | |
2929 | member in struct and warn ABI change. | |
2930 | ||
a24078b2 L |
2931 | 2009-03-29 H.J. Lu <hongjiu.lu@intel.com> |
2932 | ||
2933 | * config/i386/i386-protos.h (ix86_agi_dependent): New. | |
2934 | ||
2935 | * config/i386/i386.c (ix86_agi_dependent): Rewrite. | |
2936 | (ix86_adjust_cost): Updated. | |
2937 | ||
a8da523f JH |
2938 | 2009-03-29 Jan Hubicka <jh@suse.cz> |
2939 | ||
2940 | PR middle-end/28850 | |
2941 | * tree-pass.h (pass_cleanup_eh): New function. | |
2942 | (remove_unreachable_regions): Break code handling RTL | |
2943 | to rtl_remove_unreachable_regions; remove ERT_MUST_NOT_THROW | |
2944 | that can not be reached by runtime. | |
2945 | (can_be_reached_by_runtime): New function. | |
2946 | (label_to_region_map): New function. | |
2947 | (num_eh_regions): New function. | |
2948 | (rtl_remove_unreachable_regions): New function. | |
2949 | (convert_from_eh_region_ranges): Call rtl_remove_unreachable_regions. | |
2950 | (remove_eh_region): New function. | |
2951 | * except.h: Include sbitmap and vecprim. | |
2952 | (remove_eh_region, remove_unreachable_regions, label_to_region_map, | |
2953 | num_eh_regions): Declare. | |
2954 | * passes.c (init_optimization_passes): Schedule cleanup_eh. | |
ba20e309 | 2955 | * Makefile.in (EXCEPT_H): New; replace all uses of except.h by it. |
a8da523f JH |
2956 | * tree-eh.c (tree_remove_unreachable_handlers): New function. |
2957 | (tree_empty_eh_handler_p): New function. | |
2958 | (cleanup_empty_eh): New function. | |
2959 | (cleanup_eh): New function. | |
2960 | (pass_cleanup_eh): New function. | |
2961 | ||
98f358e5 JH |
2962 | 2009-03-29 Jan Hubicka <jh@suse.cz> |
2963 | ||
2964 | * except.c (verify_eh_tree): Fix handling of fun!=cfun; be ready | |
2965 | for removed regions. | |
2966 | ||
13a9fa44 JH |
2967 | 2009-03-29 Jan Hubicka <jh@suse.cz> |
2968 | ||
2969 | * except.c (dump_eh_tree): Dump all datastructures. | |
2970 | ||
e38cf733 JH |
2971 | 2009-03-29 Jan Hubicka <jh@suse.cz> |
2972 | ||
2973 | * except.c (duplicate_eh_regions_0): Handle AKA bitmap. | |
2974 | (duplicate_eh_regions_1): Likewise. | |
2975 | (duplicate_eh_regions): Likewise; cleanup code gorwing the region | |
2976 | vector; call EH verification. | |
2977 | (foreach_reachable_handler, can_throw_internal_1, can_throw_external_1): | |
2978 | Be ready for region being removed. | |
2979 | ||
12802c2b JH |
2980 | 2009-03-29 Jan Hubicka <jh@suse.cz> |
2981 | ||
2982 | * bitmap.c (bitmap_last_set_bit): New function. | |
2983 | * bitmap.h (bitmap_last_set_bit): Declare. | |
2984 | ||
4ea80a41 DA |
2985 | 2009-03-29 David Ayers <ayers@fsfe.org> |
2986 | ||
2987 | PR objc/27377 | |
2988 | * c-typeck.c (build_conditional_expr): Emit ObjC warnings | |
2989 | by calling objc_compare_types and surpress warnings about | |
2990 | incompatible C pointers that are compatible ObjC pointers. | |
2991 | ||
2992 | 2009-03-29 Adam Nemet <anemet@caviumnetworks.com> | |
3dc9eaa6 AN |
2993 | |
2994 | * cgraphbuild.c (build_cgraph_edges, rebuild_cgraph_edges): Don't | |
2995 | call initialize_inline_failed. | |
2996 | (initialize_inline_failed): Move it from here ... | |
2997 | * cgraph.c (initialize_inline_failed): ... to here. | |
2998 | (cgraph_create_edge): Call initialize_inline_failed rather than | |
2999 | setting inline_failed directly. | |
3000 | ||
7fb0ee07 BE |
3001 | 2009-03-29 Ben Elliston <bje@au.ibm.com> |
3002 | ||
3003 | PR target/32542 | |
3004 | * sysv4.opt (msdata): Improve comment. | |
3005 | * linux64.h (ASM_SPEC32): Do not pass -memb when -msdata is given. | |
3006 | * sysv4.h (SVR4_ASM_SPEC): Likewise. | |
3007 | ||
0be77bf2 BE |
3008 | 2009-03-29 Ben Elliston <bje@au.ibm.com> |
3009 | ||
3010 | PR target/30451 | |
3011 | * config/rs6000/rs6000.md (*movti_ppc64): Correct the order of | |
3012 | load and store attributes. | |
3013 | ||
593812b6 BE |
3014 | 2009-03-29 Ben Elliston <bje@au.ibm.com> |
3015 | ||
3016 | * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_HUGE_VALQ. | |
3017 | (ix86_init_builtins): Add built-in function __builtin_huge_valq. | |
3018 | (ix86_expand_builtin): Handle IX86_BUILTIN_HUGE_VALQ. | |
3019 | * doc/extend.texi (X86 Built-in Functions): Add index entries for | |
3020 | __builtin_infq and __builtin_huge_valq. | |
3021 | ||
8272d11d AS |
3022 | 2009-03-28 Anatoly Sokolov <aesok@post.ru> |
3023 | ||
3024 | * config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and | |
3025 | atmega8m1 devices. | |
3026 | * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). | |
3027 | * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.) | |
3028 | ||
74fe548b XDL |
3029 | 2009-03-28 Xinliang David Li <davidxl@google.com> |
3030 | ||
3031 | * tree-ssa-ccp.c (ccp_finalize): Add dbg_count support. | |
3032 | (do_dbg_cnt): New function. | |
3033 | ||
33977f81 JH |
3034 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3035 | ||
3036 | Merge from pretty-ipa: | |
3037 | ||
3038 | 2009-03-27 Jan Hubicka <jh@suse.cz> | |
ba20e309 | 3039 | |
33977f81 JH |
3040 | * cgraph.c (dump_cgraph_node): Add replace output flag by process. |
3041 | * tree-pass.h (function_called_by_processed_nodes_p): Declare. | |
3042 | * passes.c (function_called_by_processed_nodes_p): New. | |
3043 | * ipa-pure-const.c (check_call): Fix handling of operands. | |
3044 | (analyze_function): Dump debug output for skipped bodies. | |
3045 | (local_pure_const): Use function_called_by_processed_nodes_p. | |
3046 | * dwarf2out.c (reference_to_unused): Use output. | |
3047 | * passes.c (do_per_function_toporder): Likewise. | |
3048 | ||
3049 | 2008-11-12 Jan Hubicka <jh@suse.cz> | |
3050 | ||
3051 | * tree-pass.h (pass_fixup_cfg, pass_local_pure_const): Declare. | |
3052 | * ipa-pure-const.c (funct_state_d): Add can throw field; make | |
3053 | state_set_in_source enum | |
3054 | (check_decl): Ignore memory tags; do not set fake looping flags; | |
3055 | dump diagnostics. | |
3056 | (check_operand, check_tree, check_rhs_var, check_lhs_var, | |
3057 | get_asm_expr_operands, scan_function_op, scan_function_stmt): Remove. | |
3058 | (check_call, analyze_function): Rewrite. | |
3059 | (check_stmt): New. | |
3060 | (add_new_function): Update call of analyze_function. | |
3061 | (generate_summary): Add call of analyze_function. | |
3062 | (propagate): Propagate can_throw; handle state_set_in_source correctly. | |
3063 | (local_pure_const): New function. | |
3064 | (pass_local_pure_const): New pass. | |
3065 | * ipa-inline.c (inline_transform): Set after_inlining. | |
3066 | * tree-eh.c (stmt_can_throw_external): New. | |
3067 | * tree-optimize.c (execute_fixup_cfg): Do not set after_inlining; | |
3068 | work with aliasing built. | |
3069 | * tree-flow.h (stmt_can_throw_external): New. | |
3070 | * passes.c (init_optimization_passes): Schedule fixup_cfg pass early; | |
3071 | and local pure/const pass in early and late optimization queue. | |
ba20e309 | 3072 | |
617f3897 MJ |
3073 | 2009-03-28 Martin Jambor <mjambor@suse.cz> |
3074 | ||
3075 | * fold-const.c (get_pointer_modulus_and_residue): New parameter | |
3076 | allow_func_align. | |
3077 | (fold_binary): Allow function decl aligment consideration is the | |
3078 | second argument is integer constant one. | |
3079 | * tree-ssa-forwprop.c (simplify_bitwise_and): New function. | |
3080 | (tree_ssa_forward_propagate_single_use_vars): Handle assing statements | |
3081 | with BIT_AND_EXPR on the RHS by calling simplify_bitwise_and. | |
3082 | ||
fe89fbc5 JH |
3083 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3084 | ||
3085 | * dwarf2out.c (dwarf2out_begin_prologue): Use crtl->nothrow | |
3086 | * tree-eh.c (stmt_could_throw_p): Remove check for WEAK decls. | |
3087 | * function.h (rtl_data): Add nothrow flag. | |
3088 | * except.c (set_nothrow_function_flags): Use crtl->nothrow; | |
3089 | set DECL_NOTHROW for AVAILABLE functions. | |
3090 | ||
574872ff JJ |
3091 | 2009-03-28 Jakub Jelinek <jakub@redhat.com> |
3092 | ||
b3bf8855 JJ |
3093 | * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If macro |
3094 | following vector keyword has expansion starting with pixel or bool | |
3095 | keyword, expand vector to __vector and pixel or bool to __pixel or | |
3096 | __bool. | |
3097 | ||
574872ff JJ |
3098 | PR c++/39554 |
3099 | * opts.c (warning_disallowed_functions, warn_disallowed_functions, | |
3100 | warn_if_disallowed_function_p): Removed. | |
3101 | (common_handle_option): Don't handle OPT_Wdisallowed_function_list_. | |
3102 | * c-parser.c (c_parser_postfix_expression_after_primary): Don't call | |
3103 | warning_if_disallowed_function_p. | |
3104 | * flags.h (warn_if_disallowed_function_p, | |
3105 | warn_disallowed_functions): Removed. | |
3106 | * common.opt (Wdisallowed-function-list=): Removed. | |
3107 | * doc/invoke.texi (-Wdisallowed-function-list=): Removed. | |
3108 | ||
b005da11 RG |
3109 | 2009-03-28 Richard Guenther <rguenther@suse.de> |
3110 | ||
3111 | PR tree-optimization/38723 | |
3112 | * tree-ssa-pre.c (compute_avail): Add all default definitions to | |
3113 | the entry block. | |
3114 | ||
1de812a6 JH |
3115 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3116 | ||
3117 | * tree-ssa-structalias.c (ipa_pta_execute): Fix bogus node->analyzed | |
3118 | test introduced by my previous patch. | |
3119 | ||
fbb789d4 RG |
3120 | 2009-03-28 Richard Guenther <rguenther@suse.de> |
3121 | ||
3122 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Do not leave | |
3123 | the PHIs value undefined. | |
3124 | ||
6f1873a1 JH |
3125 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3126 | ||
3127 | * tree-pass.h (pass_fixup_cfg): New pass. | |
3128 | * ipa-inline.c (inline_transform): Set | |
3129 | always_inline_functions_inlined/after_inlining. | |
3130 | * tree-optimize.c (execute_fixup_cfg): Do not set them here. | |
3131 | (pass_fixup_cfg): New pass. | |
3132 | * passes.c (init_optimization_passes): Add fixup_cfg. | |
3133 | ||
17021bc8 RG |
3134 | 2009-03-28 Richard Guenther <rguenther@suse.de> |
3135 | ||
3136 | PR tree-optimization/38458 | |
3137 | * tree-ssa-copy.c (copy_prop_visit_phi_node): For the first | |
3138 | argument use the arguments copy-of value. | |
3139 | ||
e8114fba RG |
3140 | 2009-03-28 Richard Guenther <rguenther@suse.de> |
3141 | ||
3142 | PR tree-optimization/38180 | |
3143 | * tree-ssa-ccp.c (get_default_value): Simplify. | |
3144 | (likely_value): Likewise. | |
3145 | (surely_varying_stmt_p): Properly handle VOP case. | |
3146 | (ccp_initialize): Likewise. | |
3147 | (ccp_fold): Handle propagating through *&. | |
3148 | (fold_const_aggregate_ref): Also handle decls. | |
3149 | ||
257eb6e3 JH |
3150 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3151 | ||
3152 | * cgraph.c (dump_cgraph_node): Add replace output flag by process. | |
3153 | * cgraph.h (cgraph_node): Likewise. | |
3154 | * cgraphunit.c (cgraph_process_new_functions): Set process flag. | |
3155 | (cgraph_reset_node): Use process flag. | |
3156 | (cgraph_mark_functions_to_output): Likewise. | |
3157 | (cgraph_expand_function): Likewise. | |
3158 | (cgraph_expand_all_functions): Likewise. | |
3159 | (cgraph_output_in_order): Likewise. | |
3160 | * dwarf2out.c (reference_to_unused): Likewise. | |
3161 | * passes.c do_per_function_toporder): Likewise. | |
3162 | ||
61a05df1 JH |
3163 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3164 | ||
3165 | Bring from lto-branch: | |
ba20e309 | 3166 | |
61a05df1 JH |
3167 | 2008-09-03 Doug Kwan <dougkwan@google.com> |
3168 | ||
3169 | * cgraphbuild.c (initialize_inline_failed): Use cgraph_inline_failed_t | |
3170 | enums instead of reason strings. | |
3171 | * cgraph.c (cgraph_create_edge): Same. | |
3172 | (cgraph_inline_failed_string): New function. | |
3173 | * cgraph.h (cgraph_inline_failed_t): New enum type. | |
3174 | (cgraph_inline_failed_string): New prototype. | |
3175 | (struct cgraph_edge): Change type of INLINED_FAILED from constant | |
3176 | char pointer to cgraph_inline_failed_t. | |
3177 | (cgraph_inline_p): Adjust prototype to use cgraph_inline_failed_t. | |
3178 | (cgraph_default_inline_p): Ditto. | |
3179 | * gcc/cgraphunit.c (cgraph_inline_p): Change type of parameter REASON | |
3180 | to cgraph_inline_failed_t pointer. | |
3181 | * cif-code.def: New file. | |
3182 | * ipa-inline.c (cgraph_mark_inline_edge): Use an enum instead of a | |
3183 | reason string. | |
3184 | (cgraph_check_inline_limits): Change type of REASON to pointer to | |
3185 | cgraph_inline_failed_t. Replace reason strings with enums. | |
3186 | (cgraph_default_inline_p): Ditto. | |
3187 | (cgraph_recursive_inlining_p): Ditto. | |
3188 | (update_caller_keys): Change type of FAILED_REASON to | |
3189 | cgraph_inline_failed_t. | |
3190 | (cgraph_set_inline_failed): Change type of REASON to pointer to | |
3191 | cgraph_inline_failed_t. Call cgraph_inline_failed_string to | |
3192 | convert enums to strings for text output. | |
3193 | (cgraph_decide_inlining_of_small_function): Change FAILED_REASON | |
3194 | to be of type cgraph_inline_failed_t. Replace reason strings with | |
3195 | enums. Call cgraph_inline_failed_string to covert enums | |
3196 | to strings for text output. | |
3197 | (cgraph_decide_inlining): Replace reason strings with enums. | |
3198 | (cgraph_decide_inlining_incrementally): Change type of FAILED_REASON | |
3199 | to cgraph_inline_failed_t type. Call cgraph_inline_failed_string | |
3200 | for text output. | |
3201 | * tree-inline.c (expand_call_inline): Change type of REASON | |
3202 | to cgraph_inline_failed_t. Replace reason strings with enums. | |
3203 | Call cgraph_inline_failed_string for text output. | |
3204 | * Makefile.in (CGRAPH_H): Add cif-code.def to dependencies. | |
3205 | (cgraph.o): Ditto. | |
3206 | ||
144e8aac JH |
3207 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3208 | ||
3209 | * cgraph.c (cgraph_node, cgraph_remove_node, dump_cgraph_node, | |
3210 | cgraph_clone_node): Remove master clone handling. | |
3211 | (cgraph_is_master_clone, cgraph_master_clone): Remove. | |
3212 | * cgraph.h (master_clone): Remove. | |
3213 | (cgraph_is_master_clone, cgraph_master_clone): Remove. | |
3214 | * ipa-type-escape.c (type_escape_execute): Remove use of master clone. | |
3215 | (tree-ssa-structalias.c (ipa_pta_execute): Likewise. | |
3216 | ||
4a371c8d JH |
3217 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3218 | ||
3219 | * cgraph.c (cgraph_function_body_availability): Functions declared | |
3220 | inline are always safe to assume that it is not going to be replaced. | |
3221 | ||
6cdb0ee3 RG |
3222 | 2009-03-28 Richard Guenther <rguenther@suse.de> |
3223 | ||
3224 | PR tree-optimization/38513 | |
3225 | * tree-ssa-pre.c (eliminate): Remove redundant stores. | |
3226 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle | |
3227 | EXC_PTR_EXPR and FILTER_EXPR. | |
3228 | (get_ref_from_reference_ops): Likewise. | |
3229 | ||
8ca1fd76 RG |
3230 | 2009-03-28 Richard Guenther <rguenther@suse.de> |
3231 | ||
3232 | PR tree-optimization/38968 | |
3233 | * tree-vect-analyze.c (vect_compute_data_ref_alignment): | |
3234 | Use FLOOR_MOD_EXPR to compute misalignment. | |
3235 | ||
a254e44d RG |
3236 | 2009-03-28 Richard Guenther <rguenther@suse.de> |
3237 | ||
3238 | PR tree-optimization/37795 | |
3239 | * tree.h (combine_comparisons): Declare. | |
3240 | * fold-const.c (combine_comparisons): Export. | |
3241 | * tree-ssa-ifcombine.c (ifcombine_ifandif): Optimize two successive | |
3242 | comparisons. | |
3243 | (ifcombine_iforif): Use combine_comparisons. | |
3244 | ||
a8ee227c JH |
3245 | 2009-03-28 Jan Hubicka <jh@suse.cz> |
3246 | ||
3247 | * tree-eh.c (inlinable_call_p): New function. | |
3248 | (make_eh_edges): Use it. | |
3249 | (verify_eh_edges): Use it. | |
3250 | (stmt_can_throw_external, stmt_can_throw_internal): Use it. | |
3251 | * except.c (reachable_next_level): Add inlinable_function argument | |
3252 | (sjlj_find_directly_reachable_regions): Update. | |
3253 | (add_reachable_handler): Do not set saw_any_handlers. | |
3254 | (reachable_next_level): Handle MUST_NOT_THROW more curefully. | |
3255 | (foreach_reachable_handler, can_throw_internal_1, can_throw_external_1): | |
3256 | Add new inlinable call parameter. | |
3257 | (can_throw_internal, can_throw_external): Update. | |
3258 | * except.h (can_throw_internal_1, can_throw_external_1, | |
3259 | foreach_reachable_handler): Update declaration. | |
3260 | ||
52c0e446 JM |
3261 | 2009-03-28 Joseph Myers <joseph@codesourcery.com> |
3262 | ||
3263 | * config/arm/t-arm-coff, config/h8300/coff.h, | |
3264 | config/i386/i386-aout.h, config/i386/i386-coff.h, | |
3265 | config/libgloss.h, config/m68k/coff.h, config/m68k/m68k-aout.h, | |
3266 | config/pdp11/2bsd.h, config/rs6000/aix41.h, | |
3267 | config/rs6000/aix41.opt, config/rs6000/t-newas, config/sh/coff.h, | |
3268 | fix-header.c, fixproto, gen-protos.c, protoize.c, scan-decls.c, | |
3269 | scan-types.sh, scan.c, scan.h, sort-protos, sys-protos.h, | |
3270 | sys-types.h: Remove. | |
3271 | * Makefile.in: Remove protoize and fixproto support and references | |
3272 | in comments. | |
3273 | (SYSCALLS.c.X-warn, TARGET_GETGROUPS_T, STMP_FIXPROTO, | |
3274 | PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, FIXPROTO_DEFINES): | |
3275 | Remove. | |
3276 | (ALL_HOST_OBJS): Remove $(PROTO_OBJS). | |
3277 | (MOSTLYCLEANFILES): Remove protoize$(exeext) and | |
3278 | unprotoize$(exeext). | |
3279 | (rest.encap): Don't depend on $(STMP_FIXPROTO) | |
3280 | (.PHONY): Don't depend on proto. | |
3281 | (libgcc-support): Don't depend on $(STMP_FIXPROTO). | |
3282 | (proto, PROTO_OBJS, protoize$(exeext), unprotoize$(exeext), | |
3283 | protoize.o, unprotoize.o, SYSCALLS.c.X, test-protoize-simple, | |
3284 | deduced.h, GEN_PROTOS_OBJS, build/gen-protos$(build_exeext), | |
3285 | build/gen-protos.o, build/scan.o, xsys-protos.h, | |
3286 | build/fix-header$(build_exeext), build/fix-header.o, | |
3287 | build/scan-decls.o, fixhdr.ready, stmp-fixproto, | |
3288 | stmp-install-fixproto): Remove. | |
3289 | (mostlyclean): Don't remove xsys-protos.hT, SYSCALLS.c.X, | |
3290 | SYSCALLS.c or fixproto files. | |
3291 | (install-common): Don't install protoize. | |
3292 | (install-headers-tar, install-headers-cpio, install-headers-cp): | |
3293 | Don't depend on $(STMP_FIXPROTO). | |
3294 | (install-mkheaders): Don't depend on $(STMP_FIXPROTO). Don't | |
3295 | install fixproto files or write out fixproto settings. | |
3296 | (uninstall): Don't uninstall protoize. | |
3297 | * config.gcc (use_fixproto): Remove. | |
3298 | (arm-*-coff*, armel-*-coff*, h8300-*-*, i[34567]86-*-aout*, | |
3299 | i[34567]86-*-coff*, m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, | |
3300 | rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*, sh-*-*): Remove. | |
3301 | * config/m32r/t-linux (STMP_FIXPROTO): Remove. | |
3302 | * config/m68k/m68k.c: Remove M68K_TARGET_COFF-conditional code. | |
3303 | * config/mips/t-iris (FIXPROTO_DEFINES): Remove. | |
3304 | * config/pa/t-pa-hpux (FIXPROTO_DEFINES): Remove. | |
3305 | * config/pdp11/pdp11.c: Remove TWO_BSD-conditional code. | |
3306 | * config/t-svr4 (FIXPROTO_DEFINES): Remove. | |
3307 | * config/t-vxworks (STMP_FIXPROTO): Remove. | |
3308 | * configure.ac (AC_TYPE_GETGROUPS, TARGET_GETGROUPS_T, | |
3309 | STMP_FIXPROTO): Remove. | |
3310 | * config.in, configure: Regenerate. | |
3311 | * crtstuff.c (gid_t, uid_t): Don't undefine. | |
3312 | * doc/install.texi: Change m68k-coff to m68k-elf in example. | |
3313 | (arm-*-coff, arm-*-aout: Remove target entries. | |
3314 | (*-ibm-aix*): Mention removal of support for AIX 4.2 and older. | |
3315 | Remove mention of AIX 4.1. | |
3316 | (m68k-*-*): Remove mention of m68k-*-aout and m68k-*-coff*. | |
3317 | * doc/invoke.texi (Running Protoize): Remove. | |
3318 | * doc/trouble.texi (Actual Bugs): Remove mention of fixproto. | |
3319 | (Protoize Caveats): Remove. | |
3320 | * tsystem.h: Update comments on headers assumed to exist. | |
3321 | ||
20a07f44 VM |
3322 | 2009-03-27 Vladimir Makarov <vmakarov@redhat.com> |
3323 | ||
3324 | * genautomata.c: Add a new year to the copyright. Add a new | |
3325 | reference. | |
3326 | (struct insn_reserv_decl): Add comments for member bypass_list. | |
3327 | (find_bypass): Remove. | |
3328 | (insert_bypass): New. | |
3329 | (process_decls): Use insert_bypass. | |
3330 | (output_internal_insn_latency_func): Output all bypasses with the | |
3331 | same input insn in one switch case. | |
3332 | ||
3333 | * rtl.def (define_bypass): Describe bypass choice. | |
3334 | * doc/md.texi (define_bypass): Ditto. | |
3335 | ||
3a0d06c1 RB |
3336 | 2009-03-27 Richard Guenther <rguenther@suse.de> |
3337 | ||
3338 | * gimplify.c (mark_addressable): Export. | |
3339 | * tree-flow.h (mark_addressable): Declare. | |
3340 | * tree-ssa-loop-manip.c (create_iv): Mark the base addressable. | |
3341 | * tree-ssa.c (verify_phi_args): Verify that address taken | |
3342 | variables have TREE_ADDRESSABLE set. | |
3343 | ||
3344 | 2009-03-27 Richard Guenther <rguenther@suse.de> | |
3345 | ||
3346 | * fold-const.c (build_fold_addr_expr_with_type_1): Rename back to ... | |
3347 | (build_fold_addr_expr_with_type): ... this. Remove in_fold handling. | |
3348 | Do not mark decls TREE_ADDRESSABLE. | |
3349 | (build_fold_addr_expr): Adjust. | |
3350 | (fold_addr_expr): Remove. | |
3351 | (fold_unary): Use build_fold_addr_expr. | |
3352 | (fold_comparison): Likewise. | |
3353 | (split_address_to_core_and_offset): Likewise. | |
3354 | * coverage.c (tree_coverage_counter_addr): Mark the array decl | |
3355 | TREE_ADDRESSABLE. | |
3356 | * gimplify.c (mark_addressable): Do not exclude RESULT_DECLs. | |
3357 | (gimplify_modify_expr_to_memcpy): Mark source and destination | |
3358 | addressable. | |
3359 | * omp-low.c (create_omp_child_function): Mark the object decl | |
3360 | TREE_ADDRESSABLE. | |
3361 | (lower_rec_input_clauses): Mark the var we take the address of | |
3362 | TREE_ADDRESSABLE. | |
3363 | (lower_omp_taskreg): Mark the sender decl TREE_ADDRESSABLE. | |
3364 | ||
2ac26e15 L |
3365 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
3366 | ||
3367 | PR middle-end/39315 | |
3368 | * cfgexpand.c (expand_one_stack_var_at): Change alignment | |
3369 | limit to MAX_SUPPORTED_STACK_ALIGNMENT. | |
3370 | ||
472c7fbd RG |
3371 | 2009-03-27 Richard Guenther <rguenther@suse.de> |
3372 | ||
3373 | PR tree-optimization/39120 | |
3374 | * tree-ssa-structalias.c (handle_rhs_call): Fill out return | |
3375 | constraints. | |
3376 | (handle_lhs_call): Process return constraints. Add escape | |
3377 | constraints if necessary. | |
3378 | (handle_const_call): Fill out return constraints. Make nested | |
3379 | case more precise. Avoid consttmp if possible. | |
3380 | (handle_pure_call): Fill out return constraints. Avoid | |
3381 | callused if possible. | |
3382 | (find_func_aliases): Simplify call handling. | |
3383 | ||
3384 | 2009-03-27 Richard Guenther <rguenther@suse.de> | |
3385 | ||
3386 | PR tree-optimization/39120 | |
3387 | * tree-ssa-structalias.c (do_sd_constraint): Do not use CALLUSED | |
3388 | as a representative. | |
3389 | (solve_graph): Do propagate CALLUSED. | |
3390 | (handle_pure_call): Use a scalar constraint from CALLUSED for | |
3391 | the return value. | |
3392 | (find_what_p_points_to): CALLUSED shall not appear in poins-to | |
3393 | solutions. | |
3394 | ||
d9223014 L |
3395 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
3396 | ||
3397 | PR c/39323 | |
3398 | * c-common.c (handle_aligned_attribute): Properly check alignment | |
3399 | overflow. Use (1U << i) instead of (1 << i). | |
3400 | ||
ba20e309 | 3401 | * emit-rtl.c (get_mem_align_offset): Use "unsigned int" for align. |
d9223014 L |
3402 | |
3403 | * expr.h (get_mem_align_offset): Updated. | |
3404 | ||
3405 | * tree.h (tree_decl_common): Change align to "unsigned int" and | |
3406 | move it before pointer_alias_set. | |
3407 | ||
689b689c L |
3408 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
3409 | Jakub Jelinek <jakub@redhat.com> | |
3410 | ||
3411 | PR target/38034 | |
3412 | * config/ia64/sync.md (cmpxchg_rel_<mode>): Replace input | |
3413 | gr_register_operand with gr_reg_or_0_operand. | |
3414 | (cmpxchg_rel_di): Likewise. | |
3415 | (sync_lock_test_and_set<mode>): Likewise. | |
3416 | ||
c619e982 L |
3417 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
3418 | ||
3419 | * jump.c (rtx_renumbered_equal_p): Use subreg_get_info. | |
3420 | (true_regnum): Likewise. | |
3421 | ||
3422 | * rtlanal.c (subreg_info): Moved to ... | |
3423 | * rtl.h (subreg_info): Here. New. | |
3424 | (subreg_get_info): New. | |
3425 | ||
3426 | * rtlanal.c (subreg_get_info): Make it extern. | |
3427 | ||
51212b32 L |
3428 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
3429 | ||
3430 | PR target/39472 | |
3431 | * config/i386/i386.c (ix86_abi): New. | |
3432 | (override_options): Handle -mabi=. | |
ba20e309 | 3433 | (ix86_function_arg_regno_p): Replace DEFAULT_ABI with ix86_abi. |
51212b32 L |
3434 | (ix86_call_abi_override): Likewise. |
3435 | (init_cumulative_args): Likewise. | |
3436 | (function_arg_advance): Likewise. | |
3437 | (function_arg_64): Likewise. | |
3438 | (function_arg): Likewise. | |
3439 | (ix86_pass_by_reference): Likewise. | |
3440 | (ix86_function_value_regno_p): Likewise. | |
3441 | (ix86_build_builtin_va_list_abi): Likewise. | |
3442 | (setup_incoming_varargs_64): Likewise. | |
3443 | (is_va_list_char_pointer): Likewise. | |
3444 | (ix86_init_machine_status): Likewise. | |
ba20e309 | 3445 | (ix86_reg_parm_stack_space): Use enum calling_abi on call_abi. |
51212b32 L |
3446 | (ix86_function_type_abi): Return enum calling_abi. Rewrite |
3447 | for 64bit. Replace DEFAULT_ABI with ix86_abi. | |
ba20e309 | 3448 | (ix86_function_abi): Make it static and return enum calling_abi. |
51212b32 L |
3449 | (ix86_cfun_abi): Return enum calling_abi. Replace DEFAULT_ABI |
3450 | with ix86_abi. | |
3451 | (ix86_fn_abi_va_list): Updated. | |
3452 | ||
3453 | * config/i386/i386.h (ix86_abi): New. | |
3454 | (STACK_BOUNDARY): Replace DEFAULT_ABI with ix86_abi. | |
3455 | (CONDITIONAL_REGISTER_USAGE): Likewise. | |
3456 | (CUMULATIVE_ARGS): Change call_abi type to enum calling_abi. | |
3457 | (machine_function): Likewise. | |
3458 | ||
3459 | * config/i386/i386.md (untyped_call): Replace DEFAULT_ABI | |
3460 | with ix86_abi. | |
3461 | * config/i386/cygming.h (TARGET_64BIT_MS_ABI): Likewise. | |
3462 | (STACK_BOUNDARY): Likewise. | |
3463 | * config/i386/mingw32.h (EXTRA_OS_CPP_BUILTINS): Likewise. | |
3464 | ||
3465 | * config/i386/i386.opt (mabi=): New. | |
3466 | ||
3467 | * config/i386/i386-protos.h (ix86_cfun_abi): Changed to | |
3468 | return enum calling_abi. | |
3469 | (ix86_function_type_abi): Likewise. | |
3470 | (ix86_function_abi): Removed. | |
3471 | ||
3472 | * doc/invoke.texi: Document -mabi= option for x86. | |
3473 | ||
7338ea63 KG |
3474 | 2009-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3475 | ||
3476 | * builtins.c (real_dconstp): Delete. | |
3477 | (fold_builtin_logarithm): Remove inaccurate log(e) special case. | |
3478 | ||
68599f33 DS |
3479 | 2009-03-27 Dodji Seketeli <dodji@redhat.com> |
3480 | Jakub Jelinek <jakub@redhat.com> | |
3481 | ||
3482 | PR debug/37959 | |
3483 | * dwarf2out.c (dwarf_attr_name): Handle DW_AT_explicit attribute. | |
3484 | (gen_subprogram_die): When a function is explicit, generate the | |
3485 | DW_AT_explicit attribute. | |
3486 | * langhooks.h (struct lang_hooks_for_decls): Add | |
3487 | function_decl_explicit_p langhook. | |
3488 | * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P): Define. | |
3489 | (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P. | |
3490 | ||
9f5e9983 JJ |
3491 | 2009-03-27 Jakub Jelinek <jakub@redhat.com> |
3492 | ||
64d7685c JJ |
3493 | * builtins.c (fold_builtin_memory_op): Optimize memmove |
3494 | into memcpy if we can prove source and destination don't overlap. | |
3495 | ||
9f5e9983 JJ |
3496 | * tree-inline.c: Include gt-tree-inline.h. |
3497 | (clone_fn_id_num): New variable. | |
3498 | (clone_function_name): New function. | |
3499 | (tree_function_versioning): Use it. | |
3500 | * Makefile.in (GTFILES): Add tree-inline.c. | |
3501 | ||
e54d52a8 MM |
3502 | 2009-03-27 Mark Mitchell <mark@codesourcery.com> |
3503 | ||
3504 | * BASE-VER: Change to 4.5.0. | |
3505 | ||
e9d51dc6 XDL |
3506 | 2009-03-27 Xinliang David Li <davidxl@google.com> |
3507 | ||
3508 | PR tree-optimization/39557 | |
3509 | * tree-ssa.c (warn_uninitialized_vars): free postdom info. | |
3510 | ||
4577cea1 XDL |
3511 | 2009-03-27 Xinliang David Li <davidxl@google.com> |
3512 | ||
3513 | PR tree-optimization/39548 | |
3514 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy | |
3515 | candidate check. | |
3516 | ||
0f7464f4 L |
3517 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
3518 | ||
3519 | * c-common.c (pointer_int_sum): Use %wd on return from | |
3520 | tree_low_cst. | |
3521 | ||
a8847a7f L |
3522 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
3523 | ||
3524 | * c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC | |
3525 | on return from tree_low_cst. | |
3526 | ||
b0957daf AP |
3527 | 2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> |
3528 | ||
3529 | PR c++/36799 | |
ba20e309 UB |
3530 | * ginclude/stdarg.h (va_copy): Define also for |
3531 | __GXX_EXPERIMENTAL_CXX0X__. | |
b0957daf | 3532 | |
a5f805df MLI |
3533 | 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3534 | ||
3535 | PR c++/35652 | |
3536 | * builtins.h (c_strlen): Do not warn here. | |
3537 | * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum. | |
3538 | * c-common.c (pointer_int_sum): Take an explicit location. | |
3539 | Warn about offsets out of bounds. | |
3540 | * c-common.h (pointer_int_sum): Adjust declaration. | |
3541 | ||
6f401211 RW |
3542 | 2009-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3543 | ||
a5f805df MLI |
3544 | * doc/invoke.texi (i386 and x86-64 Windows Options): Fix texinfo |
3545 | markup glitch. | |
6f401211 | 3546 | |
5a59b39e JJ |
3547 | 2009-03-26 Jakub Jelinek <jakub@redhat.com> |
3548 | ||
3549 | PR c++/39554 | |
3550 | * opts.c (warn_if_disallowed_function_p): Don't assume | |
3551 | get_callee_fndecl must return non-NULL. | |
3552 | ||
d5f89b53 VM |
3553 | 2009-03-26 Vladimir Makarov <vmakarov@redhat.com> |
3554 | ||
3555 | PR rtl-optimization/39522 | |
3556 | * reload1.c (reload_as_needed): Invalidate reg_last_reload_reg too | |
3557 | when reg_reloaded_valid is set. | |
3558 | ||
61238a79 UW |
3559 | 2009-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3560 | ||
3561 | * config/spu/divv2df3.c: New file. | |
3562 | * config/spu/t-spu-elf (LIB2FUNCS_STATIC_EXTRA): Add it. | |
3563 | (DPBIT_FUNCS): Filter out _div_df. | |
3564 | ||
03f8829b BS |
3565 | 2009-03-26 Bernd Schmidt <bernd.schmidt@analog.com> |
3566 | ||
3567 | * config/bfin/bfin.c (bfin_optimize_loop): If the LSETUP goes before | |
3568 | a jump insn, count that jump in the distance to the loop start. | |
3569 | ||
9fdcdc74 KK |
3570 | 2009-03-25 Kaz Kojima <kkojima@gcc.gnu.org> |
3571 | ||
3572 | PR target/39523 | |
3573 | * config/sh/sh.c (calc_live_regs): Fix condition for global | |
3574 | registers except PIC_OFFSET_TABLE_REGNUM. | |
3575 | ||
46994828 KT |
3576 | 2009-03-25 Kai Tietz <kai.tietz@onevision.com> |
3577 | ||
3578 | PR/39518 | |
3579 | * doc/invoke.texi (-mconsole): New. | |
3580 | (-mcygwin): New. | |
3581 | (-mno-cygwin): New. | |
3582 | (-mdll): New. | |
3583 | (-mnop-fun-dllimport): New. | |
3584 | (-mthread): New. | |
3585 | (-mwin32): New. | |
3586 | (-mwindows): New. | |
3587 | (sub section "i386 and x86-64 Windows Options"): New. | |
3588 | ||
370017b4 RC |
3589 | 2009-03-25 Ralf Corsépius <ralf.corsepius@rtems.org> |
3590 | ||
3591 | * config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC. | |
3592 | * config/rs6000/t-rtems: Remove MULTILIB_EXTRA_OPTS. | |
3593 | ||
ae560440 RG |
3594 | 2009-03-25 Richard Guenther <rguenther@suse.de> |
3595 | ||
3596 | PR middle-end/39497 | |
3597 | * Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead | |
3598 | of -Wno-error. | |
3599 | ||
cd510f15 AM |
3600 | 2009-03-25 Andrey Belevantsev <abel@ispras.ru> |
3601 | ||
3602 | * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when | |
3603 | neither of haifa/selective schedulers are working. | |
3604 | ||
44ab0f0e RW |
3605 | 2009-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3606 | ||
3607 | * doc/invoke.texi (Debugging Options): Fix description of | |
3608 | -fno-merge-debug-strings. | |
3609 | ||
ad9646c7 HPN |
3610 | 2009-03-24 Hans-Peter Nilsson <hp@axis.com> |
3611 | ||
e6142656 HPN |
3612 | * config/cris/libgcc.ver: New version-script. |
3613 | * config/cris/t-linux (SHLIB_MAPFILES): Use it. | |
3614 | ||
ad9646c7 HPN |
3615 | * configure.ac <GAS features, nop mnemonic>: Add pattern |
3616 | crisv32-*-* for "nop". | |
ba20e309 | 3617 | <GAS features, Thread-local storage>: Add item for CRIS and CRIS v32. |
ad9646c7 HPN |
3618 | * configure: Regenerate. |
3619 | ||
09ac4473 IR |
3620 | 2009-03-24 Ira Rosen <irar@il.ibm.com> |
3621 | ||
3622 | PR tree-optimization/39529 | |
3623 | * tree-vect-transform.c (vect_create_data_ref_ptr): Call | |
3624 | mark_sym_for_renaming for the tag copied to the new vector | |
3625 | pointer. | |
3626 | ||
d94a427e AL |
3627 | 2009-03-24 Arthur Loiret <aloiret@debian.org> |
3628 | ||
ba20e309 | 3629 | * config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha. |
d94a427e AL |
3630 | * config/alpha/linux.h (host_detect_local_cpu): Declare, add to |
3631 | EXTRA_SPEC_FUNCTIONS. | |
3632 | (MCPU_MTUNE_NATIVE_SPECS, DRIVER_SELF_SPECS): New macros. | |
3633 | * config/alpha/driver-alpha.c, config/alpha/x-alpha: New. | |
3634 | * doc/invoke.texi (DEC Alpha Options): Document 'native' value for | |
3635 | -march and -mtune options. | |
3636 | ||
722d07aa RC |
3637 | 2009-03-24 Ralf Corsépius <ralf.corsepius@rtems.org> |
3638 | ||
3639 | * config/m68k/t-rtems: Add m5329 multilib. | |
3640 | ||
603f5959 DS |
3641 | 2009-03-24 Dodji Seketeli <dodji@redhat.com> |
3642 | Jakub Jelinek <jakub@redhat.com> | |
3643 | ||
3644 | PR debug/39524 | |
3645 | * dwarf2out.c (gen_variable_die): Avoid adding duplicate declaration | |
3646 | nodes. | |
3647 | ||
c5cdb03f JJ |
3648 | 2009-03-23 Jakub Jelinek <jakub@redhat.com> |
3649 | ||
3650 | PR c/39495 | |
3651 | * c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression | |
3652 | instead of c_parser_expression_conv, if original_code isn't one of the | |
3653 | 4 allowed comparison codes, fail. | |
3654 | ||
3691626c RG |
3655 | 2009-03-23 Richard Guenther <rguenther@suse.de> |
3656 | ||
3657 | * cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts. | |
3658 | * tree.h (struct tree_type): Likewise. | |
3659 | * reload.h (struct insn_chain): Likewise. | |
3660 | * dwarf2out.c (struct dw_loc_descr_struct): Likewise. | |
3661 | * function.h (struct function): Likewise. | |
3662 | * tree-ssa-structalias.c (struct equiv_class_label): Likewise. | |
3663 | ||
88ccb72a JJ |
3664 | 2009-03-23 Jakub Jelinek <jakub@redhat.com> |
3665 | ||
3666 | PR tree-optimization/39516 | |
3667 | * lambda-code.c (perfect_nestify): Fix type of the uboundvar variable. | |
3668 | ||
a583a67e BM |
3669 | 2009-03-23 Bingfeng Mei <bmei@broadcom.com> |
3670 | ||
3671 | * config.gcc (need_64bit_hwint): Make clear that need_64bit_hwint | |
3672 | should be set true if BITS_PER_WORD of target is bigger than 32 | |
3673 | ||
f82162f8 HPN |
3674 | 2009-03-22 Hans-Peter Nilsson <hp@axis.com> |
3675 | ||
3676 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): | |
3677 | Translate -B-options to -rpath-link. Correct existing | |
3678 | rpath-link and conditionalize on !nostdlib. | |
3679 | ||
048fd785 RW |
3680 | 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3681 | ||
3682 | * doc/extend.texi (Function Attributes, Variable Attributes): | |
3683 | Fix typos. | |
3684 | * doc/invoke.texi (Debugging Options, Optimize Options) | |
3685 | (i386 and x86-64 Options, MCore Options): Likewise. | |
3686 | ||
6e75c1a9 JJ |
3687 | 2009-03-20 Jakub Jelinek <jakub@redhat.com> |
3688 | ||
3689 | PR debug/37890 | |
3690 | * dwarf2out.c (gen_namespace_die): Add context_die argument and use | |
3691 | it for block local namespace aliases. | |
3692 | (gen_decl_die): Pass context_die to gen_namespace_die. | |
3693 | ||
ea1199ee JJ |
3694 | 2009-03-19 Jakub Jelinek <jakub@redhat.com> |
3695 | ||
3696 | PR c/39495 | |
3697 | * c-omp.c (c_finish_omp_for): Allow NE_EXPR with TREE_TYPE (decl)'s | |
3698 | minimum or maximum value. | |
3699 | ||
58929c10 AO |
3700 | 2009-03-19 Alexandre Oliva <aoliva@redhat.com> |
3701 | ||
3702 | * reginfo.c (globalize_reg): Recompute derived reg sets. | |
3703 | ||
234952b3 OS |
3704 | 2009-03-19 Ozkan Sezer <sezeroz@gmail.com> |
3705 | ||
3706 | PR target/39063 | |
3707 | * libgcc2.c (mprotect): Do not use signed arguments for | |
3708 | VirtualProtect, use DWORD arguments. Also fix the 'may | |
3709 | be used uninitialized' warning for the np variable. | |
3710 | ||
f57c2f04 JJ |
3711 | 2009-03-19 Jakub Jelinek <jakub@redhat.com> |
3712 | ||
3713 | PR target/39496 | |
3714 | * config/i386/i386.c (ix86_function_regparm): Don't optimize local | |
3715 | functions using regparm calling conventions when not optimizing. | |
3716 | (ix86_function_sseregparm): Similarly for sseregparm calling | |
3717 | conventions. | |
3718 | ||
9e517d61 LF |
3719 | 2009-03-19 Li Feng <nemokingdom@gmail.com> |
3720 | ||
3721 | PR middle-end/39500 | |
3722 | * tree-data-ref.c (analyze_subscript_affine_affine): There is no | |
3723 | dependence if the first conflict is after niter iterations. | |
3724 | ||
8ef20026 HPN |
3725 | 2009-03-19 Hans-Peter Nilsson <hp@axis.com> |
3726 | ||
3727 | PR middle-end/38609 | |
3728 | * config/cris/cris.h (FRAME_POINTER_REQUIRED): Force for all | |
3729 | functions with dynamic stack-pointer adjustments. | |
3730 | ||
64e4a1a6 BE |
3731 | 2009-03-19 Ben Elliston <bje@au.ibm.com> |
3732 | ||
3733 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix -msdata-data | |
3734 | option; change to -msdata=data. | |
3735 | ||
9a0f3e86 RW |
3736 | 2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3737 | ||
3738 | * c.opt: Unify help texts for -Wdeprecated, -Wsystem-headers, | |
3739 | and -fopenmp. | |
3740 | ||
09bc5979 EB |
3741 | 2009-03-18 Eric Botcazou <ebotcazou@adacore.com> |
3742 | ||
3743 | PR target/35180 | |
3744 | * config/sparc/sparc.md (do_builtin_setjmp_setup): Prettify asm output. | |
3745 | ||
332459cd SL |
3746 | 2009-03-18 Sandra Loosemore <sandra@codesourcery.com> |
3747 | ||
3748 | * doc/invoke.texi (Code Gen Options): Expand discussion of | |
3749 | -fno-common. | |
3750 | ||
8f5929e1 JJ |
3751 | 2009-03-18 Jakub Jelinek <jakub@redhat.com> |
3752 | ||
3753 | * dse.c (struct group_info): Reorder fields for 64-bit hosts. | |
3754 | * matrix-reorg.c (struct matrix_info): Likewise. | |
3755 | * tree-ssa-loop-ivopts.c (struct ivopts_data): Likewise. | |
3756 | * rtl.h (struct mem_attrs): Likewise. | |
3757 | * df.h (struct df): Likewise. | |
3758 | * tree-data-ref.h (struct data_dependence_relation): Likewise. | |
3759 | * ira-int.h (struct ira_allocno): Likewise. | |
3760 | * df-scan.c (struct df_collection_rec): Likewise. | |
3761 | * ira.c (struct equivalence): Likewise. | |
3762 | * function.c (struct temp_slot): Likewise. | |
3763 | * cfgloop.h (struct loop): Likewise. | |
3764 | ||
d130d647 JJ |
3765 | PR debug/39485 |
3766 | * function.c (use_register_for_decl): When not optimizing, disregard | |
3767 | register keyword for variables with types containing methods. | |
3768 | ||
9968d233 SP |
3769 | 2009-03-18 Sebastian Pop <sebastian.pop@amd.com> |
3770 | ||
3771 | PR middle-end/39447 | |
3772 | * graphite.c (exclude_component_ref): Renamed contains_component_ref_p. | |
3773 | (is_simple_operand): Call contains_component_ref_p before calling data | |
3774 | reference analysis that would fail on COMPONENT_REFs. | |
3775 | ||
3776 | * tree-vrp.c (search_for_addr_array): Fix formatting. | |
3777 | ||
69484bfd RG |
3778 | 2009-03-18 Richard Guenther <rguenther@suse.de> |
3779 | ||
3780 | * tree-vect-transform.c (vect_loop_versioning): Fold the | |
3781 | generated comparisons. | |
3782 | * tree-vectorizer.c (set_prologue_iterations): Likewise. | |
3783 | (slpeel_tree_peel_loop_to_edge): Likewise. | |
3784 | ||
66811228 RW |
3785 | 2009-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3786 | ||
0631b69f RW |
3787 | PR middle-end/37805 |
3788 | * opts.c (print_specific_help): In addition to `undocumented', | |
3789 | accept `separate' and `joined' flags if passed alone. Describe | |
3790 | output by the first matched one of those. | |
3791 | (common_handle_option): Skip over empty strings. | |
3792 | * gcc.c (display_help): Fix help string for `--help='. | |
3793 | * doc/invoke.texi (Option Summary, Overall Options): With | |
3794 | `--help=', classes and qualifiers can both be repeated, but | |
3795 | only the latter can be negated. One should not pass only | |
3796 | negated qualifiers. Fix markup and examples. | |
3797 | ||
66811228 RW |
3798 | Revert |
3799 | 2008-10-14 Jakub Jelinek <jakub@redhat.com> | |
3800 | PR middle-end/37805 | |
3801 | * opts.c (common_handle_option): Don't ICE on -fhelp=joined | |
3802 | and -fhelp=separate. | |
3803 | ||
3c072c6b JY |
3804 | 2009-03-17 Jing Yu <jingyu@google.com> |
3805 | ||
3806 | PR middle-end/39378 | |
80c65208 JY |
3807 | * function.h (struct rtl_data): Move is_thunk from here... |
3808 | (struct function): ...to here. | |
3809 | * cp/method.c (use_thunk): Change is_thunk from crtl to cfun. | |
3c072c6b JY |
3810 | * varasm.c (assemble_start_function): Change is_thunk from crtl to |
3811 | cfun. | |
80c65208 JY |
3812 | * config/alpha/alpha.c (alpha_sa_mask): Change is_thunk from crtl to |
3813 | cfun. | |
3814 | (alpha_does_function_need_gp, alpha_start_function): Likewise. | |
3815 | (alpha_output_function_end_prologue): Likewise. | |
3816 | (alpha_end_function, alpha_output_mi_thunk_osf): Likewise. | |
3817 | * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise. | |
3818 | (rs6000_output_function_epilogue): Likewise. | |
3819 | * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise. | |
3c072c6b | 3820 | |
9ade279b UB |
3821 | 2009-03-17 Uros Bizjak <ubizjak@gmail.com> |
3822 | ||
3823 | PR target/39482 | |
3824 | * config/i386/i386.md (*truncdfsf_mixed): Avoid combining registers | |
3825 | from different units in a single alternative. | |
3826 | (*truncdfsf_i387): Ditto. | |
3827 | (*truncxfsf2_mixed): Ditto. | |
3828 | (*truncxfdf2_mixed): Ditto. | |
3829 | ||
16e60c17 JJ |
3830 | 2009-03-17 Jakub Jelinek <jakub@redhat.com> |
3831 | ||
98381eb4 JJ |
3832 | * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Allow |
3833 | non-NAMESPACE_DECL IMPORTED_DECL_ASSOCIATED_DECL. | |
3834 | ||
df5deb18 JJ |
3835 | PR debug/39474 |
3836 | * tree-ssa-live.c (remove_unused_locals): Don't remove local | |
3837 | unused non-artificial variables when not optimizing. | |
3838 | ||
a3f596ba JJ |
3839 | PR debug/39471 |
3840 | * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Emit | |
3841 | DW_TAG_imported_module even if decl is IMPORTED_DECL with | |
3842 | NAMESPACE_DECL in its DECL_INITIAL. | |
3843 | ||
6b2b8871 JJ |
3844 | PR middle-end/39443 |
3845 | * optabs.c (set_user_assembler_libfunc): New function. | |
3846 | * expr.h (set_user_assembler_libfunc): New prototype. | |
3847 | * c-common.c: Include libfuncs.h. | |
3848 | (set_builtin_user_assembler_name): Call set_user_assembler_libfunc | |
3849 | for memcmp, memset, memcpy, memmove and abort. | |
3850 | * Makefile.in (c-common.o): Depend on libfuncs.h. | |
3851 | ||
16e60c17 JJ |
3852 | PR debug/39412 |
3853 | * dwarf2out.c (gen_inlined_enumeration_type_die, | |
3854 | gen_inlined_structure_type_die, gen_inlined_union_type_die, | |
3855 | gen_tagged_type_instantiation_die): Removed. | |
3856 | (gen_decl_die): For TYPE_DECL_IS_STUB with non-NULL decl_origin | |
3857 | do nothing. | |
3858 | ||
4d936aca JJ |
3859 | 2009-03-17 Janis Johnson <janis187@us.ibm.com> |
3860 | ||
3861 | PR testsuite/38526 | |
3862 | * Makefile.in (site.exp): Rename TEST_GCC_EXEC_PREFIX and comment | |
3863 | its use. | |
3864 | (check-%): Don't set GCC_EXEC_PREFIX when invoking runtest. | |
3865 | (check-parallel-%): Ditto. | |
3866 | (check-consistency): Ditto. | |
3867 | ||
4e9b2e50 KT |
3868 | 2009-03-17 Kai Tietz <kai.tietz@onevision.com> |
3869 | ||
3870 | * ipa-struct-reorg.c (create_general_new_stmt): Initialize | |
3871 | local variable rhs by NULL_TREE. | |
3872 | ||
21440b2d L |
3873 | 2009-03-17 H.J. Lu <hongjiu.lu@intel.com> |
3874 | ||
3875 | PR target/39477 | |
9ade279b | 3876 | * doc/extend.texi: Correct register behavior for regparm on Intel 386. |
21440b2d | 3877 | |
d8905c6a L |
3878 | 2009-03-17 H.J. Lu <hongjiu.lu@intel.com> |
3879 | ||
3880 | PR target/39476 | |
9ade279b | 3881 | * config/i386/i386.c (ix86_function_regparm): Rewrite for 64bit. |
d8905c6a L |
3882 | |
3883 | 2009-03-17 H.J. Lu <hongjiu.lu@intel.com> | |
435a61d3 L |
3884 | |
3885 | PR target/39473 | |
3886 | * config/i386/i386.c (ix86_expand_call): Check extra clobbers | |
3887 | for ms->sysv ABI calls only in 64bit mode. | |
3888 | ||
3889 | * config/i386/i386.md (untyped_call): Support 32bit. | |
3890 | ||
cdcabece L |
3891 | 2009-03-16 H.J. Lu <hongjiu.lu@intel.com> |
3892 | ||
3893 | * doc/extend.texi: Replace x86_65 with x86_64. | |
3894 | ||
97b4ba9f JJ |
3895 | 2009-03-16 Jakub Jelinek <jakub@redhat.com> |
3896 | ||
3897 | PR tree-optimization/39455 | |
3898 | * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Fix types | |
3899 | mismatches for POINTER_TYPE_P (type). | |
3900 | (number_of_iterations_le): Likewise. | |
3901 | ||
83c191e1 HS |
3902 | 2009-03-16 Hariharan Sandanagobalane <hariharan@picochip.com> |
3903 | ||
3904 | * config/picochip/picochip.c: Removed profiling support. | |
3905 | * config/picochip/picochip.md: Removed profiling instruction. | |
3906 | * config/picochip/picochip.h: Removed profiling builtin. | |
3907 | ||
f38095f3 JM |
3908 | 2009-03-16 Joseph Myers <joseph@codesourcery.com> |
3909 | ||
3910 | * doc/install.texi (--with-host-libstdcxx): Document. | |
3911 | ||
2cb4817b AS |
3912 | 2009-03-14 Anatoly Sokolov <aesok@post.ru> |
3913 | ||
3914 | PR target/34299 | |
3915 | * config/avr/avr.c (avr_handle_fndecl_attribute): Move code for | |
3916 | generate a warning if the function name does not begin with | |
3917 | "__vector" and the function has either the 'signal' or 'interrupt' | |
3918 | attribute, from here to ... | |
3919 | (avr_declare_function_name): ...here. New function. | |
3920 | * config/avr/avr.h (ASM_DECLARE_FUNCTION_NAME): Redefine. | |
3921 | * config/avr/avr-protos.h (avr_declare_function_name): Declare. | |
3922 | ||
39b2ac74 JJ |
3923 | 2009-03-14 Jakub Jelinek <jakub@redhat.com> |
3924 | ||
3925 | PR bootstrap/39454 | |
3926 | * cse.c (fold_rtx): Don't modify original const_arg1 when | |
3927 | canonicalizing SHIFT_COUNT_TRUNCATED shift count, do it on a | |
3928 | separate variable instead. | |
3929 | * rtlanal.c (nonzero_bits1) <case ASHIFTRT>: Don't assume anything | |
3930 | from out of range shift counts. | |
3931 | (num_sign_bit_copies1) <case ASHIFTRT, case ASHIFT>: Similarly. | |
3932 | ||
f7a82dee CM |
3933 | 2008-03-13 Catherine Moore <clm@codesourcery.com> |
3934 | ||
9ade279b | 3935 | * gcc/config/i386/x-mingw32 (host-mingw32.o): Replace |
f7a82dee CM |
3936 | diagnostic.h with $(DIAGNOSTIC_H). |
3937 | ||
03a18198 JJ |
3938 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
3939 | ||
3940 | PR target/39431 | |
3941 | * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): New | |
3942 | predicate. | |
3943 | * config/i386/sync.md (sync_compare_and_swap<mode>, | |
3944 | sync_compare_and_swap_cc<mode>): For DImode with -m32 -fpic check | |
3945 | if operands[1] is cmpxchg8b_pic_memory_operand, if not force address | |
3946 | into a register. | |
3947 | (sync_double_compare_and_swapdi_pic, | |
3948 | sync_double_compare_and_swap_ccdi_pic): Require operand 1 to be | |
3949 | cmpxchg8b_pic_memory_operand instead of just memory_operand. | |
3950 | ||
122c59c7 L |
3951 | 2009-03-12 H.J. Lu <hongjiu.lu@intel.com> |
3952 | ||
3953 | PR target/39445 | |
9ade279b | 3954 | * config/i386/i386.c (ix86_expand_push): Don't set memory alignment. |
122c59c7 | 3955 | |
cec8874f L |
3956 | 2009-03-12 H.J. Lu <hongjiu.lu@intel.com> |
3957 | ||
3958 | PR target/39327 | |
3959 | * config/i386/sse.md (avx_addsubv8sf3): Correct item bits. | |
3960 | (avx_addsubv4df3): Likewise. | |
3961 | (*avx_addsubv4sf3): Likewise. | |
3962 | (sse3_addsubv4sf3): Likewise. | |
3963 | ||
bbb52802 L |
3964 | 2009-03-12 H.J. Lu <hongjiu.lu@intel.com> |
3965 | ||
3966 | PR target/38824 | |
9ade279b | 3967 | * config/i386/i386.md: Compare REGNO on the new peephole2 patterns. |
bbb52802 | 3968 | |
a812fb07 VM |
3969 | 2009-03-12 Vladimir Makarov <vmakarov@redhat.com> |
3970 | ||
3971 | PR debug/39432 | |
3972 | * ira-int.h (struct allocno): Fix comment for calls_crossed_num. | |
3973 | * ira-conflicts.c (ira_build_conflicts): Prohibit call used | |
3974 | registers for allocnos created from user-defined variables. | |
3975 | ||
4caab5ba UW |
3976 | 2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3977 | ||
3978 | PR target/39181 | |
3979 | * config/spu/spu.c (spu_expand_mov): Handle invalid subregs | |
3980 | of non-integer mode as well. | |
3981 | ||
498e51ca AN |
3982 | 2009-03-11 Adam Nemet <anemet@caviumnetworks.com> |
3983 | ||
3984 | * gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P | |
3985 | for functions for which the parameter types are unknown. | |
3986 | ||
9bfaf89d JJ |
3987 | 2009-03-11 Jakub Jelinek <jakub@redhat.com> |
3988 | ||
3989 | PR target/39137 | |
9ade279b | 3990 | * cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT macro. |
9bfaf89d JJ |
3991 | * defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined. |
3992 | * config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define. | |
3993 | * config/i386/i386.c (ix86_local_alignment): For | |
3994 | -m32 -mpreferred-stack-boundary=2 use 32-bit alignment for | |
3995 | long long variables on the stack to avoid dynamic realignment. | |
3996 | Allow the first argument to be a decl rather than type. | |
3997 | * doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document. | |
3998 | ||
18a3bdcb NC |
3999 | 2009-03-11 Nick Clifton <nickc@redhat.com> |
4000 | ||
4001 | PR target/5362 | |
40190a76 NC |
4002 | * config/mcore/mcore.opt: Remove deprecated m4align and m8align |
4003 | options. | |
4004 | Add description to mno-lsim option. | |
4005 | * config/mcore/mcore.h: Remove comment about deprecated m4align | |
4006 | option. | |
4007 | (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN. | |
4008 | * doc/invoke.texi: Add description of mno-lsim and | |
4009 | mstack-increment options. | |
4010 | ||
18a3bdcb NC |
4011 | * config/fr30/fr30.opt: Document the -mno-lsim option. |
4012 | * doc/invoke.texi: Add descriptions of the FR30's -msmall-model | |
4013 | and -mno-lsim options. | |
4014 | ||
dc215785 UW |
4015 | 2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4016 | ||
4017 | * fold-const.c (fold_comparison): Only call fold_inf_compare | |
4018 | if the mode supports infinities. | |
4019 | ||
7716876b JM |
4020 | 2009-03-11 Jason Merrill <jason@redhat.com> |
4021 | ||
4022 | PR debug/39086 | |
4023 | * tree-nrv.c (tree_nrv): Don't do this optimization if the front | |
4024 | end already did. Notice GIMPLE_CALL modifications of the result. | |
4025 | Don't copy debug information from an ignored decl or a decl from | |
4026 | another function. | |
4027 | ||
ddef83d2 RG |
4028 | 2009-03-10 Richard Guenther <rguenther@suse.de> |
4029 | Nathan Froyd <froydnj@codesourcery.com> | |
4030 | ||
4031 | PR middle-end/37850 | |
9ade279b | 4032 | * libgcc2.c (__mulMODE3): Use explicit assignments to form the result. |
ddef83d2 RG |
4033 | (__divMODE3): Likewise. |
4034 | ||
9a9ba8d9 JJ |
4035 | 2009-03-09 Jakub Jelinek <jakub@redhat.com> |
4036 | ||
4037 | PR tree-optimization/39394 | |
4038 | * gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and | |
4039 | DECL_SIZE_UNIT of variable length FIELD_DECLs. | |
4040 | ||
929b7fc3 AK |
4041 | 2009-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4042 | ||
4043 | * recog.c (verfiy_changes): Disallow renaming of hard regs in | |
4044 | inline asms for register asm ("") declarations. | |
4045 | ||
1803581d EB |
4046 | 2009-03-09 Eric Botcazou <ebotcazou@adacore.com> |
4047 | ||
4048 | * fold-const.c (fold_unary): Fix comment. | |
4049 | ||
8454d27e JH |
4050 | 2009-03-07 Jan Hubicka <jh@suse.cz> |
4051 | ||
4052 | PR target/39361 | |
969a5433 JJ |
4053 | * tree-inline.c (setup_one_parameter): Do replacement of const |
4054 | argument by constant in SSA form. | |
8454d27e | 4055 | |
3a695389 UW |
4056 | 2009-03-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4057 | ||
4058 | PR middle-end/38028 | |
4059 | * function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to | |
4060 | determine alignment passed to assign_stack_local. | |
4061 | (assign_parms_unsplit_complex): Likewise. | |
4062 | * except.c (sjlj_build_landing_pads): Likewise. | |
4063 | ||
9f0e7885 JJ |
4064 | 2009-03-06 Jakub Jelinek <jakub@redhat.com> |
4065 | ||
65401a0b JJ |
4066 | PR middle-end/39360 |
4067 | * tree-flow.h (add_referenced_var): Return bool instead of void. | |
4068 | * tree-dfa.c (add_referenced_var): Return result of | |
4069 | referenced_var_check_and_insert call. | |
4070 | * tree-inline.c (expand_call_inline): Call add_referenced_var instead | |
4071 | of referenced_var_check_and_insert. | |
4072 | ||
9f0e7885 | 4073 | PR debug/39372 |
9ade279b | 4074 | * dwarf2out.c (add_abstract_origin_attribute): Return origin_die. |
9f0e7885 JJ |
4075 | (gen_variable_die): Emit DW_AT_location on abstract static variable's |
4076 | DIE, don't emit it if abstract origin already has it. | |
4077 | * tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any | |
4078 | BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless. | |
4079 | ||
3b664bd1 JBG |
4080 | 2009-03-06 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
4081 | ||
ba20e309 | 4082 | * genpreds.c (needs_variable): Fix parentheses at variable name |
3b664bd1 JBG |
4083 | detection. |
4084 | (write_tm_constrs_h): Indent generated code. | |
4085 | ||
d8f8ca80 RR |
4086 | 2009-03-06 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4087 | ||
4088 | * doc/extend.texi (Function Attributes): Add documentation | |
4089 | for isr attributes. | |
4090 | ||
6c3d550c JJ |
4091 | 2009-03-06 Jakub Jelinek <jakub@redhat.com> |
4092 | ||
4093 | PR debug/39387 | |
4094 | * dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL | |
4095 | take locus from its DECL_SOURCE_LOCATION instead of input_location. | |
4096 | ||
f9e96751 BS |
4097 | 2009-03-05 Bernd Schmidt <bernd.schmidt@analog.com> |
4098 | ||
4099 | * config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark | |
4100 | the loop as bad. | |
4101 | ||
ee0ee7e2 JJ |
4102 | 2009-03-05 Jakub Jelinek <jakub@redhat.com> |
4103 | ||
4104 | PR debug/39379 | |
4105 | * tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs | |
4106 | with blocks containing IMPORTED_DECLs in BLOCK_VARS. | |
4107 | ||
6c6094f1 UB |
4108 | 2009-03-05 Uros Bizjak <ubizjak@gmail.com> |
4109 | ||
4110 | * config/i386/i386.md (R8_REG, R9_REG): New constants. | |
4111 | * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named | |
4112 | constants instead of magic numbers. | |
4113 | (HARD_REGNO_CALLER_SAVE_MODE): Ditto. | |
4114 | (QI_REG_P): Ditto. | |
4115 | * config/i386/i386.c (x86_64_int_parameter_registers): Ditto. | |
4116 | (x86_64_ms_abi_int_parameter_registers): Ditto. | |
4117 | (x86_64_int_return_registers): Ditto. | |
09f8a8d3 | 4118 | (ix86_maybe_switch_abi): Ditto. |
6c6094f1 UB |
4119 | (ix86_expand_call): Ditto for clobbered_registers array. |
4120 | (ix86_hard_regno_mode_ok): Ditto. | |
4121 | (x86_extended_QIreg_mentioned_p): Ditto. | |
4122 | ||
b267bd41 R |
4123 | 2009-03-05 J"orn Rennecke <joern.rennecke@arc.com> |
4124 | ||
6c6094f1 | 4125 | PR tree-optimization/39349 |
1f3ad3f0 R |
4126 | * cse.c (cse_insn): Fix loop to stop at VOIDmode. |
4127 | ||
b267bd41 R |
4128 | * combine.c (gen_lowpart_for_combine): Use omode when generating |
4129 | clobber. | |
4130 | ||
1242bc9d R |
4131 | 2009-03-04 J"orn Rennecke <joern.rennecke@arc.com> |
4132 | ||
6c6094f1 | 4133 | PR rtl-optimization/39235 |
1242bc9d R |
4134 | * loop-iv.c (get_simple_loop_desc): Use XCNEW. |
4135 | ||
48f03606 ZD |
4136 | 2009-03-04 Zdenek Dvorak <ook@ucw.cz> |
4137 | ||
4138 | * graphite.c (nb_reductions_in_loop): Update simple_iv arguments. | |
4139 | ||
b505e785 RG |
4140 | 2009-03-04 Richard Guenther <rguenther@suse.de> |
4141 | ||
4142 | PR tree-optimization/39362 | |
4143 | * tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs | |
4144 | that occur in abnormal PHIs should be varying. | |
4145 | ||
f017bf5e ZD |
4146 | 2009-03-04 Zdenek Dvorak <ook@ucw.cz> |
4147 | ||
4148 | * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): | |
4149 | Extend comments. | |
4150 | (simple_iv): Take loop as an argument instead of statement. | |
4151 | * tree-scalar-evolution.h (simple_iv): Declaration changed. | |
4152 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls | |
4153 | to simple_iv. | |
4154 | * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev): | |
4155 | Ditto. | |
4156 | * tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto. | |
4157 | * matrix-reorg.c (analyze_transpose): Ditto. | |
4158 | * tree-data-ref.c (dr_analyze_innermost): Ditto. | |
4159 | * tree-vect-analyze.c (vect_analyze_data_refs): Ditto. | |
4160 | * tree-predcom.c (ref_at_iteration): Ditto. | |
4161 | * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto. | |
4162 | ||
6a66f28e RG |
4163 | 2009-03-04 Richard Guenther <rguenther@suse.de> |
4164 | ||
4165 | PR tree-optimization/39358 | |
4166 | * tree-ssa-structalias.c (do_sd_constraint): Fix check for | |
4167 | escaped_id and callused_id. | |
4168 | (solve_graph): Likewise. | |
4169 | ||
57e454ee RG |
4170 | 2009-03-04 Richard Guenther <rguenther@suse.de> |
4171 | ||
4172 | PR tree-optimization/39339 | |
4173 | * tree-sra.c (try_instantiate_multiple_fields): Make it | |
4174 | no longer ICE on the above. | |
4175 | ||
a6fe9ed4 JM |
4176 | 2009-03-03 Joseph Myers <joseph@codesourcery.com> |
4177 | ||
4178 | * emit-rtl.c (adjust_address_1): Reduce offset to a signed value | |
4179 | that fits within Pmode. | |
4180 | ||
dc672951 SE |
4181 | 2009-03-03 Steve Ellcey <sje@cup.hp.com> |
4182 | ||
4183 | PR middle-end/10109 | |
4184 | * tm.texi (LIBCALL_VALUE): Update description. | |
4185 | ||
8b9d598f SE |
4186 | 2009-03-03 Steve Ellcey <sje@cup.hp.com> |
4187 | ||
4188 | PR middle-end/34443 | |
4189 | * doc/extend.texi (section): Update description. | |
4190 | ||
13e4e36e L |
4191 | 2009-03-03 H.J. Lu <hongjiu.lu@intel.com> |
4192 | ||
4193 | PR middle-end/39345 | |
4194 | * tree-inline.c (remapped_type): New. | |
4195 | (can_be_nonlocal): Call remapped_type instead of remap_type. | |
4196 | ||
067dd3c9 JJ |
4197 | 2009-03-03 Jakub Jelinek <jakub@redhat.com> |
4198 | ||
4199 | PR fortran/39354 | |
4200 | * gimplify.c (goa_stabilize_expr): Handle tcc_comparison, | |
4201 | TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR. | |
4202 | ||
9bd9f738 RG |
4203 | 2009-03-03 Richard Guenther <rguenther@suse.de> |
4204 | ||
4205 | PR middle-end/39272 | |
4206 | * tree.c (tree_nonartificial_location): New function. | |
4207 | * tree.h (tree_nonartificial_location): Declare. | |
4208 | * builtins.c (expand_builtin_memory_chk): Provide location | |
4209 | of the call location for artificial function pieces. | |
4210 | (maybe_emit_chk_warning): Likewise. | |
4211 | (maybe_emit_sprintf_chk_warning): Likewise. | |
4212 | (maybe_emit_free_warning): Likewise. | |
4213 | * expr.c (expand_expr_real_1): Likewise. | |
4214 | ||
f07049c8 JJ |
4215 | 2009-03-03 Jakub Jelinek <jakub@redhat.com> |
4216 | ||
4217 | PR tree-optimization/39343 | |
4218 | * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if | |
4219 | COMPONENT_REF t has ARRAY_TYPE. | |
4220 | ||
7d4fba4a SP |
4221 | 2009-03-02 Sebastian Pop <sebastian.pop@amd.com> |
4222 | ||
4223 | PR middle-end/39335 | |
4224 | * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert | |
4225 | when the type precision of the induction variable should be | |
4226 | larger than the type precision of nit. | |
4227 | (gen_parallel_loop): Update use of canonicalize_loop_ivs. | |
4228 | * graphite.c (graphite_loop_normal_form): Same. | |
4229 | * tree-flow.h (canonicalize_loop_ivs): Update declaration. | |
4230 | ||
78168632 UB |
4231 | 2009-03-02 Uros Bizjak <ubizjak@gmail.com> |
4232 | ||
4233 | * config/i386/i386.md (ST?_REG, MM?_REG): New constants. | |
4234 | (*call_1_rex64_ms_sysv): Use named constants instead of magic | |
6c6094f1 | 4235 | numbers to describe clobbered registers. |
78168632 | 4236 | (*call_value_0_rex64_ms_sysv): Ditto. |
6c6094f1 UB |
4237 | * config/i386/mmx.md (mmx_emms): Ditto. |
4238 | (mmx_femms): Ditto. | |
78168632 | 4239 | |
63553059 RS |
4240 | 2009-03-02 Richard Sandiford <rdsandiford@googlemail.com> |
4241 | ||
4242 | * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling | |
4243 | of ABI_64. | |
4244 | ||
500a1f85 UW |
4245 | 2009-03-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4246 | ||
4247 | * config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define. | |
4248 | (spu_section_type_flags): New function. | |
4249 | ||
962aae34 UB |
4250 | 2009-03-02 Uros Bizjak <ubizjak@gmail.com> |
4251 | ||
4252 | * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy | |
4253 | reg_class_contents of FLOAT_REGS into a temporary. | |
4254 | ||
6dfb529c | 4255 | 2009-03-02 Richard Guenther <rguenther@suse.de> |
962aae34 | 4256 | Ira Rosen <irar@il.ibm.com> |
6dfb529c RG |
4257 | |
4258 | PR tree-optimization/39318 | |
4259 | * tree-vect-transform.c (vectorizable_call): Transfer the EH region | |
4260 | information to the vectorized statement. | |
4261 | ||
6b5629db UB |
4262 | 2009-03-01 Uros Bizjak <ubizjak@gmail.com> |
4263 | ||
434426d2 UB |
4264 | * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i" |
4265 | variable. Use defined names instead of magic constants for REX SSE | |
4266 | registers. | |
6b5629db | 4267 | |
14e5b285 RG |
4268 | 2009-03-01 Richard Guenther <rguenther@suse.de> |
4269 | ||
4270 | PR tree-optimization/39331 | |
4271 | * omp-low.c (lower_send_shared_vars): Do not receive new | |
4272 | values for the reference of DECL_BY_REFERENCE parms or results. | |
4273 | ||
526d73ab JH |
4274 | 2009-03-01 Jan Hubicka <jh@suse.cz> |
4275 | ||
4276 | PR debug/39267 | |
4277 | * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS, | |
4278 | BLOCK_NONLOCALIZED_VAR): New macros. | |
4279 | (tree_block): Add nonlocalized_vars. | |
f4ea99bd EB |
4280 | * dwarf2out.c (gen_formal_parameter_die, gen_variable_die, |
4281 | gen_decl_die): Add origin argument. Allow generation of die with | |
4282 | origin at hand only. | |
526d73ab | 4283 | (gen_member_die, gen_type_die_with_usage, force_decl_die, |
f4ea99bd EB |
4284 | declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use |
4285 | of gen_*. | |
526d73ab JH |
4286 | (gen_block_die): Fix checking for unused blocks. |
4287 | (process_scope_var): Break out from .... ; work with origins only. | |
4288 | (decls_for_scope) ... here; process nonlocalized list. | |
4289 | (dwarf2out_ignore_block): Look for nonlocalized vars. | |
f4ea99bd EB |
4290 | * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized |
4291 | vars. | |
526d73ab JH |
4292 | (dump_scope_block): Dump them. |
4293 | * tree-inline.c (remap_decls): Handle nonlocalized vars. | |
4294 | (remap_block): Likewise. | |
4295 | (can_be_nonlocal): New predicate. | |
4296 | (copy_bind_expr, copy_gimple_bind): Update use of remap_block. | |
4297 | ||
7a9d3fe8 RW |
4298 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4299 | ||
4300 | * configure: Regenerate. | |
4301 | ||
b3cdf3cb RW |
4302 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4303 | ||
a16d1645 | 4304 | * optc-gen.awk: No need to duplicate option flags twice. |
9ade279b | 4305 | Reuse help texts for duplicate options which do not have any. |
a16d1645 | 4306 | |
1156c176 RW |
4307 | * gcc.c (display_help): Document --version. |
4308 | ||
033505fc RW |
4309 | * gcc.c (main): If print_help_list and verbose_flag, ensure |
4310 | driver output comes before subprocess output. | |
4311 | ||
4d077054 RW |
4312 | * optc-gen.awk: Assign all remaining fields to help string, |
4313 | space-separated, for multi-line help in *.opt. | |
4314 | ||
a072f1cf RW |
4315 | * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only. |
4316 | -Wno-pedantic-ms-format is for MinGW targets only. | |
4317 | ||
b3cdf3cb RW |
4318 | * doc/options.texi (Option file format): Fix bad indentation, |
4319 | restoring dropped sentence. | |
4320 | ||
a3aadcc5 JH |
4321 | 2009-02-28 Jan Hubicka <jh@suse.cz> |
4322 | ||
4323 | * tree-inline.c (tree_function_versioning): Output debug info. | |
4324 | ||
1cf5abb3 JH |
4325 | 2009-02-28 Jan Hubicka <jh@suse.cz> |
4326 | ||
4327 | PR debug/39267 | |
4328 | * tree-inline.c (setup_one_parameter): Do not copy propagate | |
4329 | arguments when not optimizing. | |
4330 | ||
c4d3f42f L |
4331 | 2009-02-28 H.J. Lu <hongjiu.lu@intel.com> |
4332 | ||
4333 | PR target/39327 | |
4334 | * config/i386/sse.md (avx_addsubv8sf3): Correct item bits. | |
4335 | (avx_addsubv4df3): Likewise. | |
4336 | (*avx_addsubv4sf3): Likewise. | |
4337 | (sse3_addsubv4sf3): Likewise. | |
4338 | (*avx_addsubv2df3): Likewise. | |
4339 | (sse3_addsubv2df3): Likewise. | |
4340 | (avx_unpckhps256): Correct item selectors. | |
4341 | (avx_unpcklps256): Likewise. | |
4342 | (avx_unpckhpd256): Likewise. | |
4343 | (avx_unpcklpd256): Likewise. | |
4344 | ||
eb50f5f4 JH |
4345 | 2009-02-28 Jan Hubicka <jh@suse.cz> |
4346 | ||
4347 | * tree-inline.c (expand_call_inline): Avoid duplicate declarations of | |
4348 | static vars. | |
4349 | (copy_arguments_for_versioning): If var is declared don't declare it. | |
4350 | (tree_function_versioning): First setup substitutions and then copy | |
4351 | args. | |
4352 | ||
26140130 JH |
4353 | 2009-02-27 Jan Hubicka <jh@suse.cz> |
4354 | ||
4355 | PR debug/39267 | |
4356 | * cgraph.h (varpool_output_debug_info): Remove. | |
4357 | * cgraphunit.c (varpool_output_debug_info): Remove. | |
4358 | * dwarf2out.c (deferred_locations_struct): New struct | |
4359 | (deferred_locations): New type. | |
4360 | (deferred_locations_list): New static var. | |
4361 | (deffer_location): New function. | |
4362 | (gen_variable_die): Use it. | |
4363 | (decls_for_scope): Output info on local static vars. | |
4364 | (dwarf2out_finish): Process deferred locations. | |
4365 | * varpool.c (varpool_output_debug_info): Remove. | |
4366 | ||
cff7525f JH |
4367 | 2009-02-27 Jan Hubicka <jh@suse.cz> |
4368 | ||
4369 | PR debug/39267 | |
4370 | * tree.h (TREE_PROTECTED): Fix comment. | |
4371 | (BLOCK_HANDLER_BLOCK): Remove. | |
4372 | (struct tree_block): Remove handler_block add body_block. | |
4373 | (inlined_function_outer_scope_p): New. | |
4374 | (is_body_block): Remove. | |
4375 | * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK. | |
4376 | * dwarf2out.c (is_inlined_entry_point): Remove. | |
4377 | (add_high_low_attributes): Use inlined_function_outer_scope_p. | |
f10a1c6c EB |
4378 | (gen_block_die): Use is_inlined_entry_point check. Remove body block |
4379 | code. | |
cff7525f JH |
4380 | * langhooks.h (struct lang_hooks): Remove no_bodu_blocks. |
4381 | * gimplify.c (gimplify_expr): Gimplify body blocks. | |
f10a1c6c EB |
4382 | * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper |
4383 | block with multiple subblocks. | |
cff7525f JH |
4384 | (dump_scope_block): Prettier output; dump more flags and info. |
4385 | (dump_scope_blocks): New. | |
4386 | (remove_unused_locals): Use dump_scope_blocks. | |
4387 | * tree-flow.h (dump_scope_blocks): Declare. | |
4388 | * tree-cfg.c (execute_build_cfg): Dump scope blocks. | |
4389 | * stmt.c (is_body_block): Remove. | |
4390 | * tree-inline.c (remap_block): Copy BODY_BLOCK info. | |
4391 | * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove. | |
4392 | ||
c20993b9 SP |
4393 | 2009-02-27 Sebastian Pop <sebastian.pop@amd.com> |
4394 | ||
4395 | PR middle-end/39308 | |
4396 | * graphite.c (graphite_loop_normal_form): Do not call | |
4397 | number_of_iterations_exit from a gcc_assert. | |
4398 | ||
e3cba5e5 AK |
4399 | 2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4400 | ||
ba20e309 | 4401 | * gcc/config/s390/s390.c (s390_swap_cmp): Look for conditional |
e3cba5e5 AK |
4402 | jumps if COND is NULL. |
4403 | (find_cond_jump): New function. | |
4404 | (s390_z10_optimize_cmp): Handling for reg-reg compares added. | |
4405 | * gcc/config/s390/s390.md: Remove z10_cobra attribute value. | |
4406 | ||
9dadeeb8 UB |
4407 | 2009-02-26 Uros Bizjak <ubizjak@gmail.com> |
4408 | ||
4409 | * config/alpha/alpha.h (alpha_expand_mov): Return false if | |
4410 | force_const_mem returns NULL_RTX. | |
4411 | ||
625d3251 EB |
4412 | 2009-02-26 Jan Hubicka <jh@suse.cz> |
4413 | ||
4414 | PR debug/39267 | |
4415 | * cgraph.h (varpool_output_debug_info): Remove. | |
4416 | * cgraphunit.c (varpool_output_debug_info): Remove. | |
4417 | * dwarf2out.c (deferred_locations_struct): New struct | |
4418 | (deferred_locations): New type. | |
4419 | (deferred_locations_list): New static var. | |
4420 | (deffer_location): New function. | |
4421 | (gen_variable_die): Use it. | |
4422 | (decls_for_scope): Output info on local static vars. | |
4423 | (dwarf2out_finish): Process deferred locations. | |
4424 | * varpool.c (varpool_output_debug_info): Remove. | |
4425 | ||
38432148 | 4426 | 2009-02-25 H.J. Lu <hongjiu.lu@intel.com> |
8592acaf L |
4427 | |
4428 | PR rtl-optimization/39241 | |
4429 | * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls | |
4430 | to subreg_offset_representable_p. | |
4431 | ||
62d049cf PB |
4432 | 2009-02-25 Paolo Bonzini <bonzini@gnu.org> |
4433 | ||
4434 | * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass | |
4435 | execute function prototype. Get f and nregs from max_reg_num | |
4436 | and get_insns. Remove the first backward pass as it's dead, | |
4437 | guard the forward pass by flag_expensive_optimizations. | |
4438 | (rest_of_handle_regmove): Delete. | |
4439 | (pass_regmove): Replace it with regmove_optimize. | |
4440 | ||
f618d33e MJ |
4441 | 2009-02-25 Martin Jambor <mjambor@suse.cz> |
4442 | ||
4443 | PR tree-optimization/39259 | |
4444 | * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and | |
6c6094f1 | 4445 | calls_alloca function flags. |
f618d33e MJ |
4446 | (copy_bb): Set calls_setjmp and alls_alloca function flags if such |
4447 | calls are detected. | |
4448 | ||
c8a05f7c PB |
4449 | 2009-02-25 Paolo Bonzini <bonzini@gnu.org> |
4450 | ||
4451 | * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones, | |
4452 | flags_set_1_rtx, flags_set_1_set): Delete. | |
4453 | (regmove_optimize): Do not call mark_flags_life_zones. | |
4454 | ||
6d2538f5 JB |
4455 | 2009-02-24 Julian Brown <julian@codesourcery.com> |
4456 | ||
4457 | PR target/35965 | |
4458 | * config/arm/arm.c (require_pic_register): Only set | |
4459 | cfun->machine->pic_reg once per function. | |
4460 | ||
a2fa6772 SL |
4461 | 2009-02-24 Sandra Loosemore <sandra@codesourcery.com> |
4462 | ||
4463 | * doc/invoke.texi (Link Options): Document an easier way to pass | |
9dadeeb8 | 4464 | options that take arguments to the GNU linker using -Xlinker and -Wl. |
a2fa6772 | 4465 | |
5472de36 SE |
4466 | 2009-02-24 Steve Ellcey <sje@cup.hp.com> |
4467 | ||
4468 | PR target/33785 | |
4469 | * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description. | |
4470 | ||
844216f3 RG |
4471 | 2009-02-24 Richard Guenther <rguenther@suse.de> |
4472 | ||
4473 | PR debug/39285 | |
4474 | * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs. | |
4475 | ||
71adbef3 | 4476 | 2009-02-24 Richard Guenther <rguenther@suse.de> |
8592acaf | 4477 | Zdenek Dvorak <ook@ucw.cz> |
71adbef3 RG |
4478 | |
4479 | PR tree-optimization/39233 | |
4480 | * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers | |
4481 | from converting them to a generic type. | |
4482 | ||
f1a558e0 SP |
4483 | 2009-02-23 Sebastian Pop <sebastian.pop@amd.com> |
4484 | ||
4485 | PR tree-optimization/39260 | |
4486 | * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block | |
4487 | contains a condition with a real type. | |
4488 | (build_scop_conditions_1): Conditions are always last_stmt of a bb. | |
4489 | ||
d8028f2c JM |
4490 | 2009-02-23 Jason Merrill <jason@redhat.com> |
4491 | ||
4492 | PR c++/38880 | |
4493 | * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check | |
4494 | narrowing_initializer_constant_valid_p. | |
4495 | (narrowing_initializer_constant_valid_p): Don't return | |
4496 | null_pointer_node for adding a pointer to itself. | |
4497 | ||
9283b513 JH |
4498 | 2009-02-23 Jan Hubicka <jh@suse.cz> |
4499 | ||
4500 | PR c/12245 | |
9dadeeb8 UB |
4501 | * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when |
4502 | resizing. | |
9283b513 | 4503 | |
61e04322 JH |
4504 | 2009-02-23 Jan Hubicka <jh@suse.cz> |
4505 | ||
9dadeeb8 UB |
4506 | PR tree-optimization/37709 |
4507 | * tree.c (block_ultimate_origin): Move here from dwarf2out. | |
4508 | * tree.h (block_ultimate_origin): Declare. | |
4509 | * dwarf2out.c (block_ultimate_origin): Move to tree.c | |
61e04322 JH |
4510 | * tree-ssa-live.c (remove_unused_scope_block_p): |
4511 | Eliminate blocks containig no instructions nor live variables nor | |
4512 | nested blocks. | |
4513 | (dump_scope_block): New function. | |
4514 | (remove_unused_locals): Enable removal of dead blocks by default; | |
9dadeeb8 | 4515 | enable dumping at TDF_DETAILS. |
61e04322 | 4516 | |
38432148 | 4517 | 2009-02-21 H.J. Lu <hongjiu.lu@intel.com> |
5339d3ea L |
4518 | |
4519 | * config/i386/i386.c (classify_argument): Don't allow COImode | |
4520 | and OImode. | |
4521 | (function_arg_advance_32): Don't allow OImode. | |
4522 | (function_arg_32): Likewise. | |
4523 | (function_value_32): Likewise. | |
4524 | (return_in_memory_32): Likewise. | |
4525 | (function_arg_64): Remove OImode comment. | |
4526 | ||
38432148 | 4527 | 2009-02-21 H.J. Lu <hongjiu.lu@intel.com> |
f161e158 L |
4528 | |
4529 | PR target/39261 | |
4530 | * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use | |
4531 | ix86_expand_vector_set for V4DImode in 64bit mode only. | |
4532 | (ix86_expand_vector_init_one_var): Likewise. | |
4533 | ||
dcd739a6 SP |
4534 | 2009-02-21 Sebastian Pop <sebastian.pop@amd.com> |
4535 | ||
4536 | * graphite.c (graphite_trans_loop_block): Adjust tile size to 51. | |
4537 | ||
6c3b938d RS |
4538 | 2009-02-21 Richard Sandiford <rdsandiford@googlemail.com> |
4539 | ||
8e361f23 | 4540 | PR bootstrap/39257 |
6c3b938d RS |
4541 | * loop-iv.c: Revert last change. |
4542 | * emit-rtl.c: Likewise. | |
4543 | ||
38432148 | 4544 | 2009-02-21 H.J. Lu <hongjiu.lu@intel.com> |
4c64d3dd L |
4545 | |
4546 | PR target/39256 | |
4547 | * config/i386/i386.c (type_natural_mode): Remove an extra | |
4548 | space in the warning message. | |
4549 | (function_value_32): Handle 32-byte vector modes. | |
4550 | (return_in_memory_32): Likewise. | |
4551 | ||
2ec62529 RS |
4552 | 2009-02-21 Richard Sandiford <rdsandiford@googlemail.com> |
4553 | ||
4554 | * loop-iv.c (truncate_value): New function. | |
4555 | (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead | |
4556 | of lowpart_subreg. | |
4557 | (lowpart_subreg): Move to... | |
4558 | * emit-rtl.c: ...here. | |
4559 | ||
ecb8c3cc | 4560 | 2009-02-21 Danny Smith <dannysmith@users.sourceforge.net> |
f814e489 | 4561 | |
ecb8c3cc DS |
4562 | * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert |
4563 | accidental and undocumented change at revision 140860. | |
4564 | ||
ae46a823 JM |
4565 | 2009-02-21 Joseph Myers <joseph@codesourcery.com> |
4566 | ||
4567 | * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to | |
4568 | take gimple_seq * arguments. | |
4569 | (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to | |
4570 | types_compatible_p langhook. | |
4571 | ||
07d8efe3 | 4572 | 2009-02-20 Mark Mitchell <mark@codesourcery.com> |
f814e489 | 4573 | Joseph Myers <joseph@codesourcery.com> |
07d8efe3 MM |
4574 | |
4575 | * config/arm/arm.c (arm_builtin_va_list): New function. | |
4576 | (arm_expand_builtin_va_start): Likewise. | |
4577 | (arm_gimplify_va_arg_expr): Likewise. | |
4578 | (TARGET_BUILD_BUILTIN_VA_LIST): Define. | |
4579 | (TARGET_BUILD_BUILTIN_VA_START): Likewise. | |
4580 | (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise. | |
4581 | (va_list_type): New variable. | |
4582 | (arm_mangle_type): Mangle va_list_type appropriately. | |
4583 | ||
b1fb9f56 JJ |
4584 | 2009-02-20 Jakub Jelinek <jakub@redhat.com> |
4585 | ||
4586 | PR middle-end/39157 | |
4587 | * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H). | |
4588 | * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define. | |
4589 | * params.def (loop-invariant-max-bbs-in-loop): New parameter. | |
4590 | * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop | |
4591 | parameter to 1000 for -O1 by default. | |
4592 | * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new | |
4593 | parameter. | |
4594 | * loop-invariant.c: Include params.h. | |
4595 | (move_loop_invariants): Don't call move_single_loop_invariants on | |
4596 | very large loops. | |
4597 | ||
5bc0807c JM |
4598 | 2009-02-20 Jaka Mocnik <jaka@xlab.si> |
4599 | ||
4600 | * calls.c (emit_library_call_value_1): Use slot_offset instead of | |
4601 | offset when calculating bounds for indexing stack_usage_map. Fixes | |
4602 | a buffer overflow with certain target setups. | |
4603 | ||
c69cd1f5 JJ |
4604 | 2009-02-20 Jakub Jelinek <jakub@redhat.com> |
4605 | ||
4606 | PR target/39240 | |
4607 | * calls.c (expand_call): Clear try_tail_call if caller and callee | |
4608 | disagree in promotion of function return value. | |
4609 | ||
09812622 JJ |
4610 | 2009-02-19 Jakub Jelinek <jakub@redhat.com> |
4611 | ||
4612 | PR target/39175 | |
4613 | * c-common.c (c_determine_visibility): If visibility changed and | |
4614 | DECL_RTL has been already set, call make_decl_rtl to update symbol | |
4615 | flags. | |
4616 | ||
68017cb4 L |
4617 | 2009-02-19 H.J. Lu <hongjiu.lu@intel.com> |
4618 | ||
4619 | PR c++/39188 | |
4620 | * varasm.c (assemble_variable): Don't check DECL_NAME when | |
4621 | globalizing a variable. | |
4622 | ||
ab4194da JM |
4623 | 2009-02-19 Joseph Myers <joseph@codesourcery.com> |
4624 | ||
4625 | PR c/38483 | |
4626 | * builtins.c (gimplify_va_arg_expr): Evaluate the va_list | |
4627 | expression before any __builtin_trap call. | |
4628 | * c-typeck.c (build_function_call): Convert and check function | |
4629 | arguments before generating a call to a trap. Evaluate the | |
4630 | function arguments before the trap. | |
4631 | ||
6b67572e UB |
4632 | 2009-02-19 Uros Bizjak <ubizjak@gmail.com> |
4633 | ||
4634 | PR target/39228 | |
4635 | * config/i386/i386.md (isinfxf2): Split from isinf<mode>2. | |
4636 | (UNSPEC_FXAM_MEM): New unspec. | |
4637 | (fxam<mode>2_i387_with_temp): New insn and split pattern. | |
4638 | (isinf<mode>2): Use MODEF mode iterator. Force operand[1] through | |
4639 | memory using fxam<mode>2_i387_with_temp to remove excess precision. | |
4640 | ||
9e39dba6 RG |
4641 | 2009-02-19 Richard Guenther <rguenther@suse.de> |
4642 | ||
4643 | PR tree-optimization/39207 | |
4644 | PR tree-optimization/39074 | |
4645 | * tree-ssa-structalias.c (storedanything_id, var_storedanything, | |
4646 | storedanything_tree): New. | |
4647 | (do_ds_constraint): Simplify ANYTHING shortcutting. Update | |
6b67572e | 4648 | the STOREDANYTHING solution if the lhs solution contains ANYTHING. |
9e39dba6 RG |
4649 | (build_succ_graph): Add edges from STOREDANYTHING to all |
4650 | non-direct nodes. | |
4651 | (init_base_vars): Initialize STOREDANYTHING. | |
4652 | (compute_points_to_sets): Free substitution info after | |
4653 | building the succ graph. | |
4654 | (ipa_pta_execute): Likewise. | |
4655 | ||
4656 | * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers | |
4657 | field. | |
4658 | (do_ds_constraint): Do not add to special var or non-pointer | |
4659 | field solutions. | |
4660 | (type_could_have_pointers): Split out from ... | |
4661 | (could_have_pointers): ... here. For arrays use the element type. | |
4662 | (create_variable_info_for): Initialize may_have_pointers. | |
4663 | (new_var_info): Likewise. | |
4664 | (handle_lhs_call): Make the HEAP variable unknown-sized. | |
4665 | (intra_create_variable_infos): Use a type with pointers for | |
4666 | PARM_NOALIAS, make it unknown-sized. | |
4667 | ||
fd7b2603 L |
4668 | 2009-02-18 H.J. Lu <hongjiu.lu@intel.com> |
4669 | ||
4670 | PR target/39224 | |
6b67572e | 4671 | * config/i386/i386.c (ix86_return_in_memory): Properly check ABI. |
fd7b2603 | 4672 | |
98b80692 JM |
4673 | 2009-02-18 Jason Merrill <jason@redhat.com> |
4674 | ||
4675 | PR target/39179 | |
4676 | * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero | |
4677 | value if DECL_EXTERNAL. | |
4678 | * tree-sra.c (sra_walk_gimple_assign): Likewise. | |
4679 | * target.h (gcc_target::binds_local_p): Clarify "module". | |
4680 | * tree.h (TREE_PUBLIC): Clarify "module". | |
4681 | ||
0705d3f4 L |
4682 | 2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com> |
4683 | ||
4684 | PR target/38891 | |
4685 | * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of | |
4686 | initialization for MS_ABI prior to the hunk of !TARGET_MMX. | |
4687 | ||
bce08d50 L |
4688 | 2009-02-17 H.J. Lu <hongjiu.lu@intel.com> |
4689 | ||
4690 | PR target/39082 | |
4691 | * c.opt (Wabi): Support C and ObjC. | |
4692 | (Wpsabi): New. | |
4693 | ||
4694 | * c-opts.c (c_common_handle_option): Handle OPT_Wabi. | |
4695 | ||
4696 | * config/i386/i386.c (classify_argument): Warn once about the ABI | |
4697 | change when passing union with long double. | |
4698 | ||
4699 | * doc/invoke.texi: Update -Wabi for warning psABI changes. | |
4700 | ||
5600f233 JM |
4701 | 2009-02-18 Joseph Myers <joseph@codesourcery.com> |
4702 | ||
4703 | PR c/35447 | |
4704 | * c-parser.c (c_parser_compound_statement): Always enter and leave | |
4705 | a scope. | |
4706 | ||
8cd01fe6 JDA |
4707 | 2009-02-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4708 | ||
4709 | PR target/34587 | |
4710 | * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define. | |
4711 | ||
418df9d7 JJ |
4712 | 2009-02-18 Jakub Jelinek <jakub@redhat.com> |
4713 | ||
4714 | PR tree-optimization/36922 | |
4715 | * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR. | |
4716 | * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1): | |
4717 | Likewise. | |
4718 | ||
082d2ebb RS |
4719 | 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com> |
4720 | ||
4721 | * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm | |
4722 | to 0 for EABI64. | |
4723 | ||
17de576c RS |
4724 | 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com> |
4725 | ||
4726 | * config/mips/mips.md (type): Reclassify lui_movf as "unknown". | |
4727 | ||
6d8d5435 RS |
4728 | 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com> |
4729 | ||
4730 | * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid | |
4731 | tree sharing. | |
4732 | ||
e69ff910 RB |
4733 | 2009-02-17 Ruan Beihong <ruanbeihong@gmail.com> |
4734 | Richard Sandiford <rdsandiford@googlemail.com> | |
4735 | ||
4736 | * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete. | |
4737 | * config/mips/loongson.md (reduc_uplus_<mode>): Rename to... | |
4738 | (loongson_biadd): ...this. | |
4739 | ||
6b24ee26 RG |
4740 | 2009-02-17 Richard Guenther <rguenther@suse.de> |
4741 | ||
4742 | PR tree-optimization/39202 | |
4743 | * tree-ssa-structalias.c (do_structure_copy): Before collapsing | |
4744 | a var make sure to follow existing collapses. | |
4745 | ||
91ab2c86 RG |
4746 | 2009-02-17 Richard Guenther <rguenther@suse.de> |
4747 | ||
4748 | PR middle-end/39214 | |
4749 | * langhooks.c (lhd_print_error_function): Check for NULL block. | |
4750 | ||
73a63870 RG |
4751 | 2009-02-17 Richard Guenther <rguenther@suse.de> |
4752 | ||
4753 | PR tree-optimization/39204 | |
4754 | * tree-ssa-pre.c (phi_translate_1): Lookup the value-number | |
4755 | of the PHI arg. | |
4756 | ||
0e08f686 UB |
4757 | 2009-02-17 Uros Bizjak <ubizjak@gmail.com> |
4758 | ||
4759 | * config/soft-fp/double.h: Update from glibc CVS. | |
4760 | ||
a60b7ddb RG |
4761 | 2009-02-17 Richard Guenther <rguenther@suse.de> |
4762 | ||
4763 | PR tree-optimization/39207 | |
4764 | * tree-ssa-structalias.c (find_what_p_points_to): Do not emit | |
4765 | strict-aliasing warnings for pointers pointing to NULL. | |
4766 | ||
a47e20fd JM |
4767 | 2009-02-16 Joseph Myers <joseph@codesourcery.com> |
4768 | ||
4769 | PR c/35446 | |
4770 | * c-parser.c (c_parser_braced_init): Call pop_init_level when | |
4771 | skipping until next close brace. | |
4772 | ||
50aab7dc L |
4773 | 2009-02-16 H.J. Lu <hongjiu.lu@intel.com> |
4774 | ||
4775 | PR target/37049 | |
4776 | * config/i386/i386.c (ix86_expand_push): Set memory alignment | |
4777 | to function argument boundary. | |
4778 | ||
68e53db0 HS |
4779 | 2009-02-16 Hariharan Sandanagobalane <hariharan@picochip.com> |
4780 | ||
4781 | * config/picochip/picochip.md (lea_add): Allow any nonimmediate | |
4782 | in the lea_add. Reload eventually constraints it properly. | |
4783 | * config/picochip/constraints.md : Remove the target constraint | |
4784 | "b", since it is not needed anymore. | |
4785 | ||
09e361bb JJ |
4786 | 2009-02-16 Jakub Jelinek <jakub@redhat.com> |
4787 | ||
4788 | * gthr-dce.h: Uglify function parameter and local variable names. | |
4789 | * gthr-gnat.h: Likewise. | |
4790 | * gthr-mipssde.h: Likewise. | |
4791 | * gthr-nks.h: Likewise. | |
4792 | * gthr-posix95.h: Likewise. | |
4793 | * gthr-posix.h: Likewise. | |
4794 | * gthr-rtems.h: Likewise. | |
4795 | * gthr-single.h: Likewise. | |
4796 | * gthr-solaris.h: Likewise. | |
4797 | * gthr-tpf.h: Likewise. | |
4798 | * gthr-vxworks.h: Likewise. | |
4799 | * gthr-win32.h: Likewise. | |
4800 | ||
47f5a48f L |
4801 | 2009-02-15 H.J. Lu <hongjiu.lu@intel.com> |
4802 | ||
4803 | PR target/39196 | |
4804 | * config/i386/i386.md: Restrict the new peephole2 to move | |
4805 | between MMX/SSE registers. | |
4806 | ||
68c9ab45 RG |
4807 | 2009-02-15 Richard Guenther <rguenther@suse.de> |
4808 | ||
4809 | Revert | |
4810 | 2009-02-13 Richard Guenther <rguenther@suse.de> | |
4811 | ||
4812 | * configure.ac: Enable LFS. | |
4813 | * configure: Re-generate. | |
4814 | * config.in: Likewise. | |
4815 | ||
d7815554 UW |
4816 | 2009-02-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4817 | ||
4818 | * config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw, | |
4819 | spu_srqwbyte, spu_srqwbytebc): Define. | |
4820 | * config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw, | |
4821 | spu_srqwbyte, spu_srqwbytebc): New overloaded builtins. | |
4822 | * config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>", | |
4823 | "shrqby_<mode>"): New insn-and-split patterns. | |
4824 | * config/spu/spu.c (expand_builtin_args): Determine and return | |
4825 | number of operands using spu_builtin_description data. | |
4826 | (spu_expand_builtin_1): Use it. | |
4827 | ||
c208436c SE |
4828 | 2009-02-13 Steve Ellcey <sje@cup.hp.com> |
4829 | ||
4830 | PR target/38056 | |
4831 | * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check | |
4832 | TARGET_CONST_GP. | |
4833 | ||
c2e7ba7e L |
4834 | 2009-02-13 H.J. Lu <hongjiu.lu@intel.com> |
4835 | ||
4836 | PR target/39149 | |
4837 | * config/i386/i386.c (override_options): Correct warning | |
6c6094f1 | 4838 | messages for -malign-loops, -malign-jumps and -malign-functions. |
c2e7ba7e | 4839 | |
72f4e3a7 L |
4840 | 2009-02-13 H.J. Lu <hongjiu.lu@intel.com> |
4841 | ||
4842 | PR target/39152 | |
4843 | * config/i386/i386.md: Restrict the new peephole2 to move | |
4844 | between the general purpose registers. | |
4845 | ||
53f648e2 L |
4846 | 2009-02-13 H.J. Lu <hongjiu.lu@intel.com> |
4847 | ||
4848 | PR target/39162 | |
4849 | * config/i386/i386.c (type_natural_mode): Add a new argument. | |
6b67572e | 4850 | Return the original mode and warn ABI change if vector size is 32byte. |
53f648e2 L |
4851 | (function_arg_advance): Updated. |
4852 | (function_arg): Likewise. | |
4853 | (ix86_function_value): Likewise. | |
4854 | (ix86_return_in_memory): Likewise. | |
4855 | (ix86_sol10_return_in_memory): Likewise. | |
4856 | (ix86_gimplify_va_arg): Likewise. | |
4857 | (function_arg_32): Don't warn ABX ABI change here. | |
4858 | (function_arg_64): Likewise. | |
4859 | ||
38432148 | 4860 | 2009-02-13 Bernd Schmidt <bernd.schmidt@analog.com> |
b1c92d54 BS |
4861 | |
4862 | * loop-iv.c (implies_p): In the final case, test that operands 0 | |
4863 | of the two comparisons match. | |
4864 | ||
dd2139e7 BS |
4865 | * config/bfin/bfin.c (find_prev_insn_start): New function. |
4866 | (bfin_optimize_loop): Use it in some cases instead of PREV_INSN. | |
4867 | (find_next_insn_start): Move. | |
4868 | ||
601b3e1a RG |
4869 | 2009-02-13 Richard Guenther <rguenther@suse.de> |
4870 | ||
4871 | * configure.ac: Enable LFS. | |
4872 | * configure: Re-generate. | |
4873 | * config.in: Likewise. | |
4874 | ||
f007042e JM |
4875 | 2009-02-13 Joseph Myers <joseph@codesourcery.com> |
4876 | ||
4877 | PR c/35444 | |
4878 | * c-parser.c (c_parser_parms_list_declarator): Discard pending | |
4879 | sizes on syntax error after some arguments have been parsed. | |
4880 | ||
3f238e8b JJ |
4881 | 2009-02-12 Jakub Jelinek <jakub@redhat.com> |
4882 | ||
4883 | * doc/invoke.texi (-fira): Remove. | |
4884 | ||
328e13b7 L |
4885 | 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> |
4886 | ||
4887 | * caller-save.c: Replace regclass.c with reginfo.c in comments. | |
4888 | * recog.c: Likewise. | |
4889 | * rtl.h: Likewise. | |
4890 | ||
c252db20 L |
4891 | 2009-02-12 Uros Bizjak <ubizjak@gmail.com> |
4892 | ||
4893 | * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2. | |
4894 | (umul_ppmm): Likewise. | |
4895 | (count_leading_zeros): Likewise. | |
4896 | (count_trailing_zeros): Likewise. | |
4897 | (UMUL_TIME): Likewise. | |
4898 | ||
4899 | 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> | |
4900 | ||
ba181049 UB |
4901 | * config.gcc (ia64*-*-linux*): Add ia64/t-fprules-softfp and |
4902 | soft-fp/t-softfp to tmake_file. | |
c252db20 L |
4903 | |
4904 | * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New. | |
ba181049 UB |
4905 | (ia64_expand_compare): Use HPUX library for TFmode only for HPUX. |
4906 | (ia64_builtins) [IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ, | |
4907 | IA64_BUILTIN_INFQ]: New. | |
c252db20 L |
4908 | (ia64_init_builtins): Initialize __builtin_infq, |
4909 | __builtin_fabsq and __builtin_copysignq if not HPUX. | |
4910 | (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ, | |
4911 | IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ. | |
4912 | ||
4913 | * config/ia64/lib1funcs.asm (__divtf3): Define only if | |
4914 | SHARED is defined. | |
4915 | (__fixtfti): Likewise. | |
4916 | (__fixunstfti): Likewise. | |
4917 | (__floattitf): Likewise. | |
4918 | ||
4919 | * config/ia64/libgcc-glibc.ver: New. | |
4920 | * config/ia64/t-fprules-softfp: Likewise. | |
4921 | * config/ia64/sfp-machine.h: Likewise. | |
4922 | ||
4923 | * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New. | |
4924 | (LIBGCC2_TF_CEXT): Likewise. | |
4925 | (TF_SIZE): Likewise. | |
4926 | (TARGET_INIT_LIBFUNCS): Likewise. | |
4927 | ||
ba181049 | 4928 | * config/ia64/t-glibc (SHLINB_MAPFILES): |
6b67572e | 4929 | Add $(srcdir)/config/ia64/libgcc-glibc.ver. |
c252db20 | 4930 | |
f13eae6a L |
4931 | 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> |
4932 | ||
4933 | * config/i386/i386.c (construct_container): Rewrite processing | |
4934 | BLKmode with X86_64_SSE_CLASS. | |
4935 | ||
12019aec L |
4936 | 2009-02-12 Paolo Bonzini <bonzini@gnu.org> |
4937 | ||
4938 | PR target/39152 | |
4939 | * config/i386/i386.md: Replace simplify_replace_rtx with | |
4940 | replace_rtx in the new peephole2. | |
4941 | ||
28c11eb3 NS |
4942 | 2009-02-12 Nathan Sidwell <nathan@codesourcery.com> |
4943 | ||
4944 | * doc/invoke.texi (Optimize Options): Stop claiming inlining and | |
4945 | loop unrolling do not happen at -O2. | |
4946 | ||
c7b94907 MM |
4947 | 2009-02-12 Michael Matz <matz@suse.de> |
4948 | ||
4949 | * gcc.c (ASM_DEBUG_SPEC): Check for -g0. | |
4950 | ||
61e98967 JJ |
4951 | 2009-02-12 Jakub Jelinek <jakub@redhat.com> |
4952 | ||
4953 | * dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die | |
4954 | for -g3. | |
4955 | ||
a2a237b5 BE |
4956 | 2009-02-12 Ben Elliston <bje@au.ibm.com> |
4957 | ||
4958 | * config/rs6000/rs6000.md (allocate_stack): Use _stack form of | |
4959 | patterns when updating the back chain. Missed in the 2009-02-10 | |
4960 | change. | |
4961 | ||
853eda8d JJ |
4962 | 2009-02-11 Janis Johnson <janis187@us.ibm.com> |
4963 | ||
4964 | * doc/extend.texi (Decimal Floating Types): Update identifier of | |
4965 | draft TR and list of missing support. | |
4966 | ||
3ad6b266 JJ |
4967 | 2009-02-11 Jakub Jelinek <jakub@redhat.com> |
4968 | ||
4969 | PR middle-end/39154 | |
4970 | * gimplify.c (omp_notice_variable): If adding GOVD_SEEN | |
4971 | bit to variable length decl's flags, add it also to its | |
4972 | pointer replacement variable. | |
4973 | ||
b058b753 UB |
4974 | 2009-02-11 Uros Bizjak <ubizjak@gmail.com> |
4975 | Jakub Jelinek <jakub@redhat.com> | |
4976 | ||
4977 | PR target/39118 | |
4978 | * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant. | |
4979 | (memory_blockage): New expander. | |
4980 | (*memory_blockage): New insn pattern. | |
4981 | * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage | |
4982 | instead of general blockage at the end of function prologue when | |
4983 | frame pointer is used to access red zone area. Do not emit blockage | |
4984 | when profiling, it is emitted in generic code. | |
4985 | (ix86_expand_epilogue): Emit memory_blockage at the beginning of | |
4986 | function epilogue when frame pointer is used to access red zone area. | |
4987 | ||
bab64f23 PB |
4988 | 2009-02-11 Paolo Bonzini <bonzini@gnu.org> |
4989 | ||
0ce6dcfa | 4990 | PR target/38824 |
bab64f23 PB |
4991 | * config/i386/i386.md: Add two new peephole2 to avoid mov followed |
4992 | by arithmetic with memory operands. | |
4993 | * config/i386/predicates.md (commutative_operator): New. | |
4994 | ||
8fd94bda JJ |
4995 | 2009-02-10 Janis Johnson <janis187@us.ibm.com> |
4996 | ||
4997 | * doc/extend.texi (Fixed-Point Types): Break long paragraphs into | |
4998 | bulleted lists. | |
4999 | ||
794511d2 EB |
5000 | 2009-02-10 Eric Botcazou <ebotcazou@adacore.com> |
5001 | ||
5002 | * alias.h (record_alias_subset): Declare. | |
5003 | * alias.c (record_alias_subset): Make global. | |
5004 | ||
6da7fc87 NC |
5005 | 2009-02-10 Nick Clifton <nickc@redhat.com> |
5006 | ||
5007 | * tree-parloops.c: Change license to GPLv3. | |
5008 | * ipa-struct-reorg.c: Change license to GPLv3. | |
5009 | * ipa-struct-reorg.h: Change license to GPLv3. | |
5010 | ||
a03813c8 SE |
5011 | 2009-02-10 Steve Ellcey <sje@cup.hp.com> |
5012 | ||
5013 | PR c/39084 | |
5014 | * c-decl.c (start_struct): Return NULL on error. | |
5015 | ||
fc3103e7 JJ |
5016 | 2009-02-10 Jakub Jelinek <jakub@redhat.com> |
5017 | ||
9b43d37b JJ |
5018 | PR middle-end/39124 |
5019 | * cfgloopmanip.c (remove_path): Call remove_bbs after | |
5020 | cancel_loop_tree, not before it. | |
5021 | ||
fc3103e7 | 5022 | PR target/39139 |
b058b753 | 5023 | * function.h (struct function): Add has_local_explicit_reg_vars bit. |
fc3103e7 JJ |
5024 | * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER |
5025 | VAR_DECLs were seen. | |
5026 | * tree-ssa-live.c (remove_unused_locals): Recompute | |
5027 | cfun->has_local_explicit_reg_vars. | |
5028 | * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode | |
5029 | copies or clearings if cfun->has_local_explicit_reg_vars. | |
5030 | ||
dbf9ee15 UB |
5031 | 2009-02-10 Uros Bizjak <ubizjak@gmail.com> |
5032 | ||
5033 | PR target/39118 | |
5034 | * config/i386/i386.c (expand_prologue): Emit blockage at the end | |
5035 | of function prologue when frame pointer is used to access | |
5036 | red zone area. | |
5037 | ||
bdec4dc7 RG |
5038 | 2009-02-10 Richard Guenther <rguenther@suse.de> |
5039 | ||
5040 | PR middle-end/39127 | |
5041 | * gimplify.c (gimple_regimplify_operands): Always look if | |
5042 | we need to create a temporary. | |
5043 | ||
7cae94fc RG |
5044 | 2009-02-10 Richard Guenther <rguenther@suse.de> |
5045 | ||
5046 | PR tree-optimization/39132 | |
5047 | * tree-loop-distribution.c (todo): New global var. | |
5048 | (generate_memset_zero): Trigger TODO_rebuild_alias. | |
5049 | (tree_loop_distribution): Return todo. | |
5050 | ||
a8800687 L |
5051 | 2009-02-10 H.J. Lu <hongjiu.lu@intel.com> |
5052 | ||
5053 | PR target/39119 | |
5054 | * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS. | |
5055 | (x86_64_reg_class_name): Removed. | |
5056 | (classify_argument): Return 0 if bytes > 32. Return 0 if the | |
5057 | first one isn't X86_64_SSE_CLASS or any other ones aren't | |
5058 | X86_64_SSEUP_CLASS when size > 16bytes. Don't turn | |
5059 | X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one | |
5060 | is X86_64_SSEUP_CLASS. Set AVX modes to 1 X86_64_SSE_CLASS | |
5061 | and 3 X86_64_SSEUP_CLASS. | |
5062 | (construct_container): Remove X86_64_AVX_CLASS. Handle 4 | |
5063 | registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS. | |
5064 | ||
d4bacef0 BE |
5065 | 2009-02-10 Ben Elliston <bje@au.ibm.com> |
5066 | ||
5067 | * config/rs6000/rs6000.md (allocate_stack): Always use an update | |
5068 | form instruction to update the stack back chain word, even if the | |
5069 | user has disabled the generation of update instructions. | |
5070 | (movdi_<mode>_update_stack): New. | |
5071 | (movsi_update_stack): Likewise. | |
5072 | * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise, | |
5073 | always use an update form instruction to update the stack back | |
5074 | chain word. | |
5075 | ||
01d7d2f3 SP |
5076 | 2009-02-09 Sebastian Pop <sebastian.pop@amd.com> |
5077 | ||
5078 | PR middle-end/38953 | |
b058b753 UB |
5079 | * graphite.c (if_region_set_false_region): After moving a region in |
5080 | the false branch of a condition, remove the empty dummy basic block. | |
01d7d2f3 SP |
5081 | (gloog): Remove wrong fix for PR38953. |
5082 | ||
e41e2ab4 UW |
5083 | 2009-02-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5084 | ||
5085 | * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code | |
5086 | generation due to implicit sign extension. | |
5087 | ||
4bb07c5d EB |
5088 | 2009-02-09 Eric Botcazou <ebotcazou@adacore.com> |
5089 | ||
5090 | PR middle-end/38981 | |
5091 | * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs | |
5092 | at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST. | |
5093 | ||
f060a261 RG |
5094 | 2009-02-09 Richard Guenther <rguenther@suse.de> |
5095 | ||
5096 | PR middle-end/35202 | |
5097 | * convert.c (convert_to_real): Disable (float)fn((double)x) | |
5098 | to fnf(x) conversion if errno differences may occur and | |
5099 | -fmath-errno is set. | |
5100 | ||
5a7e237c AS |
5101 | 2009-02-07 Anatoly Sokolov <aesok@post.ru> |
5102 | ||
5103 | * config/avr/avr.c (avr_mcu_t): Add ata6289 device. | |
5104 | * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). | |
5105 | * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). | |
5106 | ||
feab5a67 JM |
5107 | 2009-02-06 Joseph Myers <joseph@codesourcery.com> |
5108 | ||
5109 | PR c/35434 | |
5110 | * c-common.c (handle_alias_attribute): Disallow attribute for | |
5111 | anything not a FUNCTION_DECL or VAR_DECL. | |
5112 | ||
90ef2296 JJ |
5113 | 2009-02-06 Janis Johnson <janis187@us.ibm.com> |
5114 | ||
5115 | PR c/39035 | |
5116 | * real.c (do_compare): Special-case compare of zero against | |
5117 | decimal float value. | |
5118 | ||
1de2c900 JM |
5119 | 2009-02-06 Joseph Myers <joseph@codesourcery.com> |
5120 | ||
5121 | PR c/36432 | |
5122 | * c-decl.c (grokdeclarator): Don't treat [] declarators in fields | |
5123 | as indicating flexible array members unless the field itself is | |
5124 | being declarared as the incomplete array. | |
5125 | ||
e901811a JH |
5126 | 2009-02-06 Jan Hubicka <jh@suse.cz> |
5127 | ||
5128 | PR tree-optimization/38844 | |
5129 | * ipa-inline.c (try_inline): Stop inlining recursion when edge | |
5130 | is already inlined. | |
5131 | ||
3cfa762b RG |
5132 | 2009-02-06 Richard Guenther <rguenther@suse.de> |
5133 | ||
5134 | PR middle-end/38977 | |
5135 | * tree-cfg.c (need_fake_edge_p): Force a fake edge for | |
5136 | fork because we may expand it as __gcov_fork. | |
5137 | ||
8506528c NC |
5138 | 2009-02-06 Nick Clifton <nickc@redhat.com> |
5139 | ||
dbf9ee15 | 5140 | * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero. |
8506528c | 5141 | |
85169114 PB |
5142 | 2009-02-06 Paolo Bonzini <bonzini@gnu.org> |
5143 | ||
5144 | PR tree-optimization/35659 | |
5145 | * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq | |
5146 | vn_phi_eq): Shortcut if hashcode does not match. | |
5147 | (vn_reference_op_compute_hash): Do not call iterative_hash_expr for | |
5148 | NULL operands. | |
5149 | * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available, | |
5150 | and avoid iterative_hash_expr. | |
5151 | (FOR_EACH_VALUE_ID_IN_SET): New. | |
5152 | (value_id_compare): Remove. | |
5153 | (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to | |
5154 | sort expressions by value id. | |
5155 | ||
6d39673d KK |
5156 | 2009-02-05 Kaz Kojima <kkojima@gcc.gnu.org> |
5157 | ||
5158 | PR target/38991 | |
5159 | * config/sh/predicates.md (general_movsrc_operand): Don't check | |
5160 | the subreg of system registers here. | |
5161 | ||
e6e1c050 JJ |
5162 | 2009-02-05 Jakub Jelinek <jakub@redhat.com> |
5163 | ||
5164 | PR c++/39106 | |
5165 | * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P | |
5166 | on the copied decl. | |
5167 | ||
65a74b5d PB |
5168 | 2009-02-05 Paolo Bonzini <bonzini@gnu.org> |
5169 | ||
5170 | PR rtl-optimization/39110 | |
5171 | * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned | |
5172 | addresses, not aligned ones. | |
5173 | ||
08e14b2a DB |
5174 | 2009-02-05 Daniel Berlin <dberlin@dberlin.org> |
5175 | Richard Guenther <rguenther@suse.de> | |
5176 | ||
5177 | PR tree-optimization/39100 | |
5178 | * tree-ssa-structalias.c (do_ds_constraint): Actually do what the | |
5179 | comment says and add edges. | |
5180 | ||
5006381c JM |
5181 | 2009-02-05 Joseph Myers <joseph@codesourcery.com> |
5182 | ||
5183 | PR c/35435 | |
5184 | * c-common.c (handle_tls_model_attribute): Ignore attribute for | |
5185 | non-VAR_DECLs without checking DECL_THREAD_LOCAL_P. | |
5186 | ||
b0789219 TG |
5187 | 2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de> |
5188 | ||
5189 | * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use, | |
5190 | sese_build_livein_liveouts_bb, sese_build_livein_liveouts, | |
5191 | register_bb_in_sese, new_sese, free_sese): Moved. | |
5192 | (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains, | |
5193 | outermost_loop_in_scop, build_scop_iteration_domain, | |
5194 | expand_scalar_variables_ssa_name, get_vdef_before_scop, | |
5195 | limit_scops): Use bb_in_sese_p instead of bb_in_scop_p. | |
5196 | Use loop_in_sese_p instead of loop_in_scop_p. | |
5197 | (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B. | |
5198 | (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B. | |
5199 | (scopdet_basic_block_info): Fix bug in scop detection. | |
5200 | (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop, | |
5201 | eq_loop_to_cloog_loop): Remove. | |
5202 | (nb_loops_around_loop_in_scop, nb_loop | |
5203 | ref_nb_loops): Moved here... | |
5204 | * graphite.h (ref_nb_loops): ... from here. | |
5205 | (struct scop): Remove bbs_b bitmap and loop2cloog_loop. | |
5206 | (loop_domain_dim, loop_iteration_vector_dim): Remove. | |
5207 | (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed. | |
5208 | * testsuite/gcc.dg/graphite/scop-19.c: New | |
5209 | ||
48e8382e PB |
5210 | 2009-02-04 Paolo Bonzini <bonzini@gnu.org> |
5211 | Hans-Peter Nilsson <hp@axis.com> | |
5212 | ||
5213 | PR rtl-optimization/37889 | |
5214 | * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments. | |
5215 | Move offset handling from PLUS to before the switch. Use new | |
5216 | arguments when considering SYMBOL_REFs too. | |
5217 | (rtx_addr_can_trap_p): Pass dummy offset and size. | |
5218 | (enum may_trap_p_flags): Remove. | |
5219 | (may_trap_p_1): Pass size from MEM_SIZE. | |
5220 | ||
5221 | PR rtl-optimization/38921 | |
5222 | * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p. | |
5223 | * rtl.h (may_trap_after_code_motion_p): Delete prototype. | |
5224 | * rtlanal.c (may_trap_after_code_motion_p): Delete. | |
5225 | (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags. | |
5226 | ||
69349ea5 L |
5227 | 2009-02-04 H.J. Lu <hongjiu.lu@intel.com> |
5228 | ||
5229 | AVX Programming Reference (January, 2009) | |
5230 | * config/i386/sse.md (*vpclmulqdq): New. | |
5231 | ||
b545e411 JJ |
5232 | 2009-02-04 Jakub Jelinek <jakub@redhat.com> |
5233 | ||
5234 | PR tree-optimization/38977 | |
5235 | PR gcov-profile/38292 | |
bf9b2cc9 | 5236 | * calls.c (special_function_p): Disregard __builtin_ prefix. |
b545e411 | 5237 | |
5b43bf05 HS |
5238 | 2009-02-04 Hariharan Sandanagobalane <hariharan@picochip.com> |
5239 | ||
5240 | * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow | |
5241 | non-indexable addresses even before reload. | |
5242 | ||
062c4bb3 JM |
5243 | 2009-02-03 Joseph Myers <joseph@codesourcery.com> |
5244 | ||
5245 | PR c/29129 | |
5246 | * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators | |
5247 | as having variable size. Do not give an error for unnamed | |
5248 | parameters with [*] declarators. Give a warning for type names | |
5249 | with [*] declarators and mark them as variable size. | |
5250 | * c-parser.c (c_parser_sizeof_expression): Do not give an error | |
5251 | for sizeof applied to [*] type names. | |
5252 | ||
6175f578 AP |
5253 | 2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com> |
5254 | ||
5255 | PR C++/36607 | |
5256 | * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE. | |
5257 | ||
d4f4bc84 JJ |
5258 | 2009-02-03 Jakub Jelinek <jakub@redhat.com> |
5259 | ||
5260 | * gcc.c (process_command): Update copyright notice dates. | |
5261 | * gcov.c (print_version): Likewise. | |
5262 | * gcov-dump.c (print_version): Likewise. | |
5263 | * mips-tfile.c (main): Likewise. | |
5264 | * mips-tdump.c (main): Likewise. | |
5265 | ||
f6294de7 JM |
5266 | 2009-02-03 Joseph Myers <joseph@codesourcery.com> |
5267 | ||
5268 | PR c/35433 | |
5269 | * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT | |
5270 | for composite type involving a zero-length array type. | |
5271 | ||
754ccf7c JJ |
5272 | 2009-02-03 Jakub Jelinek <jakub@redhat.com> |
5273 | ||
70f16287 JJ |
5274 | PR target/35318 |
5275 | * function.c (match_asm_constraints_1): Skip over | |
5276 | initial optional % in the constraint. | |
5277 | ||
754ccf7c JJ |
5278 | PR inline-asm/39059 |
5279 | * c-parser.c (c_parser_postfix_expression): If fixed point is not | |
5280 | supported, don't accept FIXED_CSTs. | |
5281 | * c-decl.c (finish_declspecs): Error if fixed point is not supported | |
5282 | and _Sat is used without _Fract/_Accum. Set specs->type to | |
5283 | integer_type_node for cts_fract/cts_accum if fixed point is not | |
5284 | supported. | |
5285 | ||
965fdadf CM |
5286 | 2009-02-02 Catherine Moore <clm@codesourcery.com> |
5287 | ||
dbf9ee15 | 5288 | * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls. |
965fdadf | 5289 | |
2e8a796f RS |
5290 | 2009-02-02 Richard Sandiford <rdsandiford@googlemail.com> |
5291 | ||
5292 | * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro. | |
5293 | (ABI_HAS_64BIT_SYMBOLS): Use it. | |
5294 | (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS. | |
5295 | ||
e0079468 PB |
5296 | 2009-02-02 Paul Brook <paul@codesourcery.com> |
5297 | ||
5298 | * config/arm/arm.md (arm_addsi3): Add r/r/k alternative. | |
5299 | ||
eca72963 JJ |
5300 | 2009-02-02 Jakub Jelinek <jakub@redhat.com> |
5301 | ||
5302 | PR inline-asm/39058 | |
5303 | * recog.h (asm_operand_ok): Add constraints argument. | |
5304 | * recog.c (asm_operand_ok): Likewise. If it is set, for digits | |
5305 | recurse on matching constraint. | |
5306 | (check_asm_operands): Pass constraints as 3rd argument to | |
5307 | asm_operand_ok. Don't look up matching constraint here. | |
5308 | * stmt.c (expand_asm_operands): Pass NULL as 3rd argument | |
5309 | to asm_operand_ok. | |
5310 | ||
b5bde9ff BE |
5311 | 2009-02-02 Ben Elliston <bje@au.ibm.com> |
5312 | ||
5313 | * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and | |
5314 | TARGET_NARROW_VOLATILE_BITFIELD macro names. | |
5315 | ||
30f3e427 JDA |
5316 | 2009-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5317 | ||
be7659ba JDA |
5318 | * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker |
5319 | information. Remove some obsolete information. Reorganize. | |
5320 | ||
30f3e427 JDA |
5321 | * config/pa/fptr.c: Revert license to GPL 2. |
5322 | * config/pa/milli64.S: Likewise. | |
5323 | ||
3cbfaf98 DK |
5324 | 2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com> |
5325 | ||
5326 | PR target/38904 | |
5327 | * mkmap-flat.awk (END): Use pe_dll command-line arg to pass | |
5328 | LIBRARY name in, instead of hard-coding it. | |
5329 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add an | |
5330 | extra target make frag to tmake_files according to EH model. | |
5331 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
5332 | * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Add new target | |
5333 | frags that define makefile variable EH_MODEL appropriately. | |
5334 | * config/i386/cygming.h (DWARF2_UNWIND_INFO): Add comment. | |
5335 | * config/i386/cygwin.h (LIBGCC_EH_EXTN): Define to nothing or | |
5336 | to "-sjlj" according to type of EH configured. | |
5337 | (LIBGCC_SONAME): Concatenate it to shared library base name. | |
5338 | * config/i386/mingw32.h (LIBGCC_EH_EXTN): Define to "_dw2" or | |
5339 | to "_sjlj" according to type of EH configured. | |
5340 | (LIBGCC_SONAME): Concatenate it to shared library base name. | |
5341 | * config/i386/t-cygming (SHLIB_SONAME): Use EH_MODEL. | |
5342 | (SHLIB_LINK): Add missing semicolon to if-else construct. | |
5343 | (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as | |
5344 | string value of "pe_dll" command-line option. | |
5345 | * config/i386/t-cygwin (SHLIB_EH_EXTENSION): New helper. | |
5346 | (SHLIB_SONAME): Use it when overriding t-cygming default. | |
5347 | (SHLIB_IMPLIB): Override t-cygming default. | |
5348 | (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as | |
5349 | string value of "pe_dll" command-line option. | |
5350 | ||
8d0b6068 DK |
5351 | 2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com> |
5352 | ||
5353 | PR target/38952 | |
5354 | * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New. | |
bf9b2cc9 | 5355 | (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it. |
8d0b6068 | 5356 | |
14c28276 RG |
5357 | 2009-01-31 Richard Guenther <rguenther@suse.de> |
5358 | ||
5359 | PR tree-optimization/38937 | |
5360 | * tree-ssa-structalias.c (do_sd_constraint): Do not shortcut | |
5361 | computing the transitive closure. | |
5362 | ||
5f4d82c2 RG |
5363 | 2009-01-30 Richard Guenther <rguenther@suse.de> |
5364 | ||
5365 | PR tree-optimization/39041 | |
5366 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): | |
5367 | Propagate variable indices only if the types match for this stmt. | |
5368 | ||
d0728ae0 JJ |
5369 | 2009-01-30 Jakub Jelinek <jakub@redhat.com> |
5370 | ||
5371 | PR target/39013 | |
5372 | * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared | |
5373 | inline but never defined. | |
5374 | ||
6b67572e | 5375 | 2009-01-30 Wolfgang Gellerich <gellerich@de.ibm.com> |
9fec758d WG |
5376 | |
5377 | * config/s390/s390.md (*insv<mode>_reg_extimm): Removed. | |
5378 | (*insv_h_di_reg_extimm): New insn. | |
5379 | (*insv_l<mode>_reg_extimm): New insn. | |
5380 | ||
5381 | 2009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com> | |
9e8be1e4 HS |
5382 | |
5383 | * config/picochip/picochip.c (flag_conserve_stack): set | |
5384 | PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under | |
5385 | fconserve-stack. Reduce call-overhead used by inliner. | |
5386 | ||
9fec758d | 5387 | 2009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com> |
df9198ab HS |
5388 | |
5389 | PR/38157 | |
5390 | * common.opt (flag_conserve_stack): Initialised to zero. | |
5391 | ||
7f1c539c KT |
5392 | 2009-01-30 Kai Tietz <kai.tietz@onevision.com> |
5393 | ||
5394 | PR/39002 | |
5395 | * config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs. | |
5396 | (ix86_expand_epilogue): Take nsseregs in account to use proper restore | |
5397 | method. | |
5398 | ||
3631be48 L |
5399 | 2009-01-29 H.J. Lu <hongjiu.lu@intel.com> |
5400 | ||
5401 | * ira-color.c (allocno_reload_assign): Update comments. | |
5402 | * regmove.c (regmove_optimize): Likewise. | |
5403 | ||
5404 | * ra.h: Removed. | |
5405 | ||
416ac4d4 RM |
5406 | 2009-01-29 Robert Millan <rmh@aybabtu.com> |
5407 | ||
5408 | * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu). | |
5409 | * gcc/config/i386/kopensolaris-gnu.h: New file. Undefine | |
5410 | `MD_UNWIND_SUPPORT'. | |
5411 | * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h). | |
5412 | ||
d5e54bc1 KH |
5413 | 2009-01-29 Kazu Hirata <kazu@codesourcery.com> |
5414 | ||
5415 | PR tree-optimization/39007 | |
5416 | * tree-loop-distribution.c (generate_builtin): Use | |
5417 | recompute_dominator to compute the immediate dominator of the | |
5418 | basic block just after the loop. | |
5419 | ||
38432148 | 5420 | 2009-01-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
e9e077fa RO |
5421 | |
5422 | * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA] | |
5423 | (ASM_OUTPUT_DWARF_PCREL): Define. | |
5424 | ||
38432148 | 5425 | 2009-01-29 Vladimir Makarov <vmakarov@redhat.com> |
2af2dbdc VM |
5426 | |
5427 | * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description. | |
5428 | * doc/passes.texi: Remove entries about regclass, local-alloc, and | |
5429 | global. Modify entries about regmove and IRA. | |
5430 | ||
5431 | * ra-conflict.c: Remove the file. | |
5432 | ||
5433 | * reload.c (push_reload, find_dummy_reload): Remove flag_ira. | |
5434 | ||
5435 | * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove. | |
5436 | (pass_regclass_init): Rename to pass_reginfo_init. | |
5437 | ||
5438 | * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira. | |
5439 | ||
5440 | * toplev.h (flag_ira): Remove. | |
5441 | ||
5442 | * caller-save.c (setup_save_areas): Remove flag_ira. | |
5443 | ||
bf9b2cc9 | 5444 | * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto. |
2af2dbdc VM |
5445 | |
5446 | * global.c: Remove the file. | |
5447 | ||
ba20e309 | 5448 | * opts.c (decode_options): Remove flag_ira. |
2af2dbdc VM |
5449 | |
5450 | * hard-reg-set.h (losing_caller_save_reg_set): Remove. | |
5451 | ||
5452 | * regmove.c: Modify file description. | |
5453 | (find_use_as_address, try_auto_increment): Define them only if | |
5454 | AUTO_INC_DEC is defined. | |
5455 | (replacement_quality, replace_in_call_usage, fixup_match_1, | |
5456 | stable_and_no_regs_but_for_p): Remove. | |
5457 | (reg_set_in_bb): Make it static. | |
5458 | (regmove_optimize): Remove flag_ira and code which worked for | |
5459 | !flag_ira. | |
5460 | ||
5461 | * local-alloc.c: Remove the file. | |
5462 | ||
5463 | * common.opt (fira): Remove. | |
5464 | ||
5465 | * ira.c: Include except.h. | |
5466 | (eliminable_regset): Move from global.c. | |
5467 | (mark_elimination): Ditto. Remove flag_ira. | |
5468 | (reg_renumber, struct equivalence, reg_equiv, equiv_mem, | |
5469 | equiv_mem_modified, validate_equiv_mem_from_store, | |
5470 | validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p, | |
5471 | contains_replace_regs, memref_referenced_p, memref_used_between_p, | |
5472 | no_equiv, recorded_label_ref): Move from local-alloc.c. | |
5473 | (update_equiv_regs): Ditto. Make it static. | |
5474 | (print_insn_chain, print_insn_chains): Move it from global.c. | |
bf9b2cc9 | 5475 | (pseudo_for_reload_consideration_p): Ditto. Remove flag_ira. |
2af2dbdc VM |
5476 | (build_insn_chain): Ditto. Make it static. |
5477 | (ra_init_live_subregs): Move from ra-conflict.c. Make it static. | |
5478 | Rename to init_live_subregs. | |
5479 | (gate_ira): Remove flag_ira. | |
5480 | ||
5481 | * regclass.c: Rename reginfo.c. Change file description. | |
5482 | (FORBIDDEN_INC_DEC_CLASSES): Remove. | |
dbf9ee15 | 5483 | (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): Remove. |
2af2dbdc VM |
5484 | (init_reg_sets_1): Remove code for evaluation of |
5485 | reg_class_superclasses and losing_caller_save_reg_set. | |
5486 | (init_regs): Remove init_reg_autoinc. | |
5487 | (struct costs, costs, init_cost, ok_for_index_p_nonstrict, | |
5488 | ok_for_base_p_nonstrict): Remove. | |
bf9b2cc9 | 5489 | (regclass_init): Rename to reginfo_init. Don't initialize init_cost. |
2af2dbdc VM |
5490 | (pass_regclass_init): Rename to pass_reginfo_init. Modify |
5491 | corresponding entries. | |
5492 | (dump_regclass, record_operand_costs, scan_one_insn, | |
5493 | init_reg_autoinc, regclass, record_reg_classes, copy_cost, | |
5494 | record_address_regs, auto_inc_dec_reg_p): Remove. | |
5495 | (gt-regclass.h): Rename to gt-reginfo.h. | |
5496 | ||
5497 | * rtl.h (dump_global_regs, retry_global_alloc, | |
bf9b2cc9 | 5498 | build_insn_chain, dump_local_alloc, update_equiv_regs): Remove. |
2af2dbdc VM |
5499 | |
5500 | * Makefile.in (RA_H): Remove. | |
5501 | (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o. | |
5502 | Rename regclass.o to reginfo.o. | |
5503 | (regclass.o): Rename to reginfo.o. Rename gt-regclass.h to | |
5504 | gt-reginfo.h. | |
5505 | (global.o, local-alloc.o, ra-conflict.o): Remove entries. | |
5506 | (GTFILES): Rename regclass.c to reginfo.c. | |
5507 | ||
5508 | * passes.c (init_optimization_passes): Remove pass_local_alloc and | |
bf9b2cc9 | 5509 | pass_global_alloc. Rename pass_regclass_init to pass_reginfo_init. |
2af2dbdc VM |
5510 | |
5511 | * reload1.c (compute_use_by_pseudos, reload, count_pseudo, | |
5512 | count_spilled_pseudo, find_reg, alter_reg, delete_output_reload): | |
5513 | Remove flag_ira. | |
6b67572e | 5514 | (finish_spills): Ditto. Remove code for !flag_ira. |
2af2dbdc | 5515 | |
c95b2534 | 5516 | 2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com> |
00b251a0 KZ |
5517 | |
5518 | PR middle-end/35854 | |
5519 | * doc/invoke.texi (rtl debug options): Complete rewrite. | |
5520 | * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec" | |
5521 | to auto_inc_dec". | |
5522 | * mode-switching.c (pass_mode_switching): Rename pass from | |
5523 | "mode-sw" to "mode_sw". | |
5524 | * except.c (pass_convert_to_eh_ranges): Rename pass from | |
5525 | "eh-ranges" to "eh_ranges". | |
5526 | * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg" | |
5527 | to "subreg1". | |
5528 | ||
5529 | ||
72a54528 AM |
5530 | 2009-01-29 Andrey Belevantsev <abel@ispras.ru> |
5531 | Alexander Monakov <amonakov@ispras.ru> | |
5532 | ||
5533 | PR middle-end/38857 | |
5534 | * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard | |
5535 | register. | |
5536 | (move_exprs_to_boundary): Change return type and pass through | |
5537 | should_move from move_op. Relax assert. Update usage ... | |
5538 | (schedule_expr_on_boundary): ... here. Use should_move instead of | |
5539 | cant_move. | |
5540 | (move_op_orig_expr_found): Indicate that insn was disconnected from | |
5541 | stream. | |
5542 | (code_motion_process_successors): Do not call after_merge_succs | |
5543 | callback if original expression was not found when traversing any of | |
5544 | the branches. | |
5545 | (code_motion_path_driver): Change return type. Update prototype. | |
5546 | (move_op): Update comment. Add a new parameter (should_move). Update | |
5547 | prototype. Set *should_move based on indication provided by | |
5548 | move_op_orig_expr_found. | |
5549 | ||
001b9eb6 PH |
5550 | 2009-01-28 Pat Haugen <pthaugen@us.ibm.com> |
5551 | ||
5552 | * doc/invoke.texi (avoid-indexed-addresses): Document new option. | |
5553 | * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare. | |
5554 | * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option. | |
5555 | * config/rs6000/rs6000.c (rs6000_override_options): Default | |
5556 | avoid-indexed-addresses on for Power6, off for everything else. | |
5557 | (avoiding_indexed_address_p): New function. | |
5558 | (rs6000_legitimize_address): Use it. | |
5559 | (rs6000_legitimate_address): Likewise. | |
5560 | * config/rs6000/rs6000.md (movXX_updateX): Likewise | |
5561 | ||
59dc4898 KH |
5562 | 2009-01-28 Kazu Hirata <kazu@codesourcery.com> |
5563 | ||
5564 | PR tree-optimization/38997 | |
5565 | * tree-loop-distribution.c (generate_memset_zero): Use | |
5566 | POINTER_PLUS_EXPR for a pointer addition. | |
5567 | ||
07da44ab AK |
5568 | 2009-01-28 Andreas Krebbel <krebbel1@de.ibm.com> |
5569 | ||
5570 | * config/s390/s390.md (bswap<mode>2): New pattern added. | |
5571 | ||
cdc15d23 WG |
5572 | 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com> |
5573 | ||
5574 | * config/s390/s390.md (*tls_load_31): Added type attribute. | |
5575 | ||
d46f24b6 WG |
5576 | 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com> |
5577 | ||
5578 | * config/s390/s390.md: Fix a few comments. | |
5579 | ||
729e750f WG |
5580 | 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com> |
5581 | ||
5582 | * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute. | |
5583 | (*tm<mode>_full): Fixed z10prop attribute. | |
5584 | (*tst<mode>_extimm): Fixed z10prop attribute. | |
5585 | (*tst<mode>_cconly_extimm): Fixed z10prop attribute. | |
5586 | (*tstqiCCT_cconly): Fixed z10prop attribute. | |
5587 | (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute. | |
5588 | (*movsi_larl): Fixed z10prop attribute. | |
5589 | (*movsi_zarch): Fixed z10prop attribute. | |
5590 | (*movsi_eas): Fixed z10prop attribute. | |
5591 | (*movhi): Fixed z10prop attribute. | |
5592 | (*movqi): Fixed z10prop attribute. | |
5593 | (*movstrictqi): Fixed z10prop attribute. | |
5594 | (*mov<mode>): Fixed z10prop attribute. | |
5595 | (*movcc): Fixed z10prop attribute. | |
5596 | (*sethighpartdi_64): Fixed z10prop attribute. | |
5597 | (*zero_extendhi<mode>2_z10): Fixed z10prop attribute. | |
5598 | (*negdi2_sign_cc): Fixed z10prop attribute. | |
5599 | (*negdi2_sign): Fixed z10prop attribute. | |
5600 | (*absdi2_sign_cc): Fixed z10prop attribute. | |
5601 | (*absdi2_sign): Fixed z10prop attribute. | |
5602 | (*negabsdi2_sign_cc): Fixed z10prop attribute. | |
5603 | (*negabsdi2_sign): Fixed z10prop attribute. | |
5604 | (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute. | |
5605 | (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute. | |
5606 | (doloop_si64): Fixed z10prop attribute. | |
5607 | (doloop_si31): Fixed z10prop attribute. | |
5608 | (doloop_long): Fixed z10prop attribute. | |
5609 | (indirect_jump): Fixed z10prop attribute. | |
5610 | (nop): Fixed z10prop attribute. | |
5611 | (main_base_64): Fixed z10prop attribute. | |
5612 | (reload_base_64): Fixed z10prop attribute. | |
5613 | ||
c7789bfb JJ |
5614 | 2009-01-28 Jakub Jelinek <jakub@redhat.com> |
5615 | ||
5616 | PR rtl-optimization/38740 | |
6b67572e UB |
5617 | * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling |
5618 | if !optimize. | |
c7789bfb JJ |
5619 | * config/mips/mips.c (mips_reorg): Likewise. |
5620 | ||
de081cfd RG |
5621 | 2009-01-28 Richard Guenther <rguenther@suse.de> |
5622 | ||
5623 | PR tree-optimization/38926 | |
5624 | * tree-ssa-pre.c (add_to_value): Assert we add only expressions | |
5625 | with the correct value id to a value. | |
5626 | (do_regular_insertion): Use the value number of edoubleprime | |
5627 | for the value number of the expr. | |
5628 | ||
5629 | Revert | |
5630 | 2008-08-21 Richard Guenther <rguenther@suse.de> | |
bf9b2cc9 | 5631 | |
d748c406 UB |
5632 | * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting |
5633 | a PHI ask VN if it is already available. | |
5634 | * tree-ssa-sccvn.h (vn_phi_lookup): Declare. | |
5635 | * tree-ssa-sccvn.c (vn_phi_lookup): Export. | |
de081cfd | 5636 | |
a9d386a1 JJ |
5637 | 2009-01-28 Jakub Jelinek <jakub@redhat.com> |
5638 | ||
5639 | PR middle-end/38934 | |
5640 | * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR | |
5641 | set to varying whenever max has TREE_OVERFLOW set, similarly | |
5642 | for GE_EXPR and GT_EXPR and TREE_OVERFLOW min. | |
5643 | ||
97a170cd RG |
5644 | 2009-01-28 Richard Guenther <rguenther@suse.de> |
5645 | ||
5646 | PR middle-end/38908 | |
5647 | * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly | |
5648 | uninitialized aggregate uses in call arguments. | |
5649 | ||
89ebafc6 PB |
5650 | 2009-01-28 Paolo Bonzini <bonzini@gnu.org> |
5651 | ||
5652 | PR tree-optimization/38984 | |
5653 | * tree-ssa-structalias.c (get_constraints_for_1): Do not use | |
5654 | the nothing_id variable if -fno-delete-null-pointer-checks. | |
5655 | ||
bef3c57b UB |
5656 | 2009-01-28 Uros Bizjak <ubizjak@gmail.com> |
5657 | ||
5658 | PR target/38988 | |
5659 | * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref. | |
5660 | (set_got_offset_rex64): Ditto. | |
5661 | ||
0c6390fa L |
5662 | 2009-01-27 H.J. Lu <hongjiu.lu@intel.com> |
5663 | ||
5664 | PR target/38941 | |
5665 | * doc/extend.texi: Improve local variable with asm reg. | |
5666 | ||
bee6fa6d AN |
5667 | 2009-01-27 Adam Nemet <anemet@caviumnetworks.com> |
5668 | ||
5669 | * c.opt (Wpacked-bitfield-compat): Change init value to -1. | |
5670 | * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat | |
5671 | was not supplied then set warn_packed_bitfield_compat to the | |
5672 | default value of 1. | |
5673 | * stor-layout.c (place_field): Check warn_packed_bitfield_compat | |
5674 | against 1. | |
5675 | ||
b5c3dfbb RG |
5676 | 2009-01-27 Richard Guenther <rguenther@suse.de> |
5677 | ||
5678 | PR tree-optimization/38503 | |
5679 | * cfgexpand.c (expand_gimple_basic_block): Ignore | |
5680 | GIMPLE_CHANGE_DYNAMIC_TYPE during expansion. | |
5681 | * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune | |
5682 | variables that cannot have TBAA applied. | |
5683 | (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE | |
5684 | statements. | |
5685 | ||
d748c406 | 5686 | 2009-01-27 Uros Bizjak <ubizjak@gmail.com> |
576de5cb UB |
5687 | |
5688 | PR middle-end/38969 | |
5689 | * calls.c (initialize_argument_information): Do not wrap complex | |
5690 | arguments in SAVE_EXPR. | |
5691 | ||
9112bb38 AT |
5692 | 2009-01-26 Andreas Tobler <a.tobler@schweiz.org> |
5693 | ||
5694 | * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo. | |
5efb79fc | 5695 | (INSTALL_LIBGCC): Revert typo commit. |
9112bb38 | 5696 | |
4757704f RG |
5697 | 2009-01-26 Richard Guenther <rguenther@suse.de> |
5698 | ||
5699 | PR tree-optimization/38745 | |
5700 | * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL | |
5701 | from special handling. | |
5702 | ||
e3e6cff4 RG |
5703 | 2009-01-26 Richard Guenther <rguenther@suse.de> |
5704 | ||
5705 | PR tree-optimization/38745 | |
5706 | * tree-ssa.c (execute_update_addresses_taken): Do not include | |
5707 | variables that cannot possibly be a register in not_reg_needs. | |
5708 | Do not clear TREE_ADDRESSABLE on vars that may not become | |
5709 | registers. | |
5710 | * tree-ssa.c (update_alias_info_1): Include those in the set | |
5711 | of addressable vars. | |
5712 | ||
dc874b53 RG |
5713 | 2009-01-26 Richard Guenther <rguenther@suse.de> |
5714 | ||
5715 | PR middle-end/38851 | |
5716 | * Makefile.in (tree-ssa-dse.o): Add langhooks.h. | |
5717 | * tree-ssa-dse.c: Include langhooks.h | |
5718 | (execute_simple_dse): Remove stores with zero size. | |
5719 | ||
849421a3 JJ |
5720 | 2009-01-24 Jakub Jelinek <jakub@redhat.com> |
5721 | ||
5722 | PR c/38957 | |
5723 | * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way | |
5724 | as PLUS_EXPR. | |
5725 | ||
82f70421 JB |
5726 | 2009-01-24 Julian Brown <julian@codesourcery.com> |
5727 | ||
5728 | * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add | |
5729 | config/arm/linux-atomic.c. | |
5730 | * config/arm/linux-atomic.c: New. | |
5731 | ||
863412d6 EB |
5732 | 2009-01-24 Eric Botcazou <ebotcazou@adacore.com> |
5733 | ||
5734 | * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete. | |
5735 | * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise. | |
5736 | * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise. | |
5737 | ||
8c684300 L |
5738 | 2009-01-24 H.J. Lu <hongjiu.lu@intel.com> |
5739 | ||
5740 | PR c/38938 | |
93f1527a | 5741 | * c-opts.c (c_common_handle_option): Update warn_pointer_sign |
8c684300 L |
5742 | properly. |
5743 | ||
b840fb02 SP |
5744 | 2009-01-24 Sebastian Pop <sebastian.pop@amd.com> |
5745 | ||
5746 | PR tree-optimization/38953 | |
5747 | * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa. | |
5748 | (scop_adjust_phis_for_liveouts): Initialize false_i to zero. | |
5749 | (gloog): Split the exit of the scop when the scop exit is a loop exit. | |
5750 | (graphite_transform_loops): Only call cleanup_tree_cfg if gloog | |
5751 | changed the CFG. | |
5752 | ||
ecee559f PB |
5753 | 2009-01-24 Paul Brook <paul@codesourcery.com> |
5754 | ||
5755 | * config/arm/neon.md (neon_type): Move to arm.md. | |
5756 | (neon_mov<VSTRUCT>): Add neon_type attribute. | |
5757 | * config/arm/arm.md (neon_type): Move to here. | |
5758 | (conds): Add "unconditioal" and use as default for NEON insns. | |
5759 | ||
61ad0914 BE |
5760 | 2009-01-24 Ben Elliston <bje@au.ibm.com> |
5761 | ||
5762 | * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from | |
5763 | void *' warning from -Wc++-compat. | |
5764 | * Makefile.in (dominance.o-warn): Remove. | |
5765 | ||
38432148 | 5766 | 2009-01-23 Paolo Bonzini <bonzini@gnu.org> |
9bacafeb PB |
5767 | |
5768 | PR tree-optimization/38932 | |
5769 | * fold-const.c (fold_unary_ignore_overflow): New. | |
5770 | * tree.h (fold_unary_ignore_overflow): Declare. | |
5771 | * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow. | |
5772 | * tree-ssa-sccvn.c (visit_reference_op_load, | |
5773 | simplify_unary_expression): Likewise. | |
5774 | ||
2cd36c22 AN |
5775 | 2009-01-22 Adam Nemet <anemet@caviumnetworks.com> |
5776 | ||
5777 | * c-decl.c (finish_struct): Move code to set DECL_PACKED after | |
5778 | DECL_BIT_FIELD is alreay known. Also inherit packed for bitfields | |
5779 | regardless of their type. | |
5780 | * c-common.c (handle_packed_attribute): Don't ignore packed on | |
5781 | bitfields. | |
5782 | * c.opt (Wpacked-bitfield-compat): New warning option. | |
5783 | * stor-layout.c (place_field): Warn if offset of a field changed. | |
5784 | * doc/extend.texi (packed): Mention the ABI change. | |
5785 | * doc/invoke.texi (-Wpacked-bitfield-compat): Document. | |
5786 | (Warning Options): Add it to the list. | |
5787 | ||
e4e624ab L |
5788 | 2009-01-22 H.J. Lu <hongjiu.lu@intel.com> |
5789 | ||
5790 | * c-opts.c (c_common_post_options): Fix a typo in comments. | |
5791 | ||
d0ea0759 SE |
5792 | 2009-01-22 Steve Ellcey <sje@cup.hp.com> |
5793 | ||
5794 | PR middle-end/38615 | |
5795 | * gimplify.c (gimplify_init_constructor): Fix promotion of const | |
5796 | variables to static. | |
5797 | * doc/invoke.texi (-fmerge-all-constants): Update description. | |
5798 | ||
87673f84 UB |
5799 | 2009-01-22 Uros Bizjak <ubizjak@gmail.com> |
5800 | ||
5801 | PR target/38931 | |
5802 | * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2. | |
5803 | (*movdi_1_rex64): Use type "mmx" for alternative 5. | |
5804 | ||
96339268 RE |
5805 | 2009-01-22 Richard Earnshaw <rearnsha@arm.com> |
5806 | ||
5807 | * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to | |
5808 | a word boundary. | |
5809 | (LOCAL_ALIGNMENT): Similarly. | |
5810 | ||
442dc742 | 5811 | 2009-01-22 Mark Shinwell <shinwell@codesourcery.com> |
87673f84 | 5812 | Joseph Myers <joseph@codesourcery.com> |
442dc742 MS |
5813 | |
5814 | * config/arm/arm.c (all_architectures): Add iWMMXt2 entry. | |
5815 | * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2. | |
5816 | * config/arm/arm-tune.md: Regenerate. | |
5817 | * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and | |
5818 | -march=iwmmxt2. | |
5819 | ||
9b34732e MS |
5820 | 2009-01-22 Mark Shinwell <shinwell@codesourcery.com> |
5821 | ||
5822 | * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI | |
5823 | version number to five. | |
5824 | ||
03c2a308 DS |
5825 | 2009-01-22 Dodji Seketeli <dodji@redhat.com> |
5826 | ||
5827 | PR c++/38930 | |
ba20e309 | 5828 | * c-decl.c (clone_underlying_type): Revert PR c++/26693 changes. |
03c2a308 DS |
5829 | * c-common.c (set_underlying_type): Likewise. |
5830 | (is_typedef_decl ): Likewise | |
5831 | * tree.h: Likewise | |
5832 | (set_underlying_type): Likewise. | |
5833 | (is_typedef_type): Likewise. | |
5834 | ||
1240d76e VM |
5835 | 2009-01-21 Vladimir Makarov <vmakarov@redhat.com> |
5836 | ||
5837 | PR middle-end/38587 | |
5838 | * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos | |
5839 | crossing setjmps. | |
5840 | ||
b8a1087d DK |
5841 | 2009-01-21 Dave Korn <dave.korn.cygwin@gmail.com> |
5842 | ||
5843 | PR bootstrap/37660 | |
5844 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): New helper macro. | |
5845 | (LIBGCC_SPEC): Don't define. | |
5846 | (REAL_LIBGCC_SPEC): Define instead, using SHARED_LIBGCC_SPEC. | |
5847 | ||
435da628 UB |
5848 | 2009-01-21 Uros Bizjak <ubizjak@gmail.com> |
5849 | ||
5850 | PR rtl-optimization/38879 | |
5851 | * alias.c (base_alias_check): Unaligned access via AND address can | |
5852 | alias all surrounding object types except those with sizes equal | |
5853 | or wider than the size of unaligned access. | |
5854 | ||
d597b3ce DS |
5855 | 2009-01-21 Dodji Seketeli <dodji@redhat.com> |
5856 | ||
5857 | PR c++/26693 | |
ba20e309 | 5858 | * c-decl.c (clone_underlying_type): Move this ... |
d597b3ce | 5859 | * c-common.c (set_underlying_type): ... here. |
435da628 | 5860 | Also, make sure the function properly sets TYPE_STUB_DECL() on |
d597b3ce DS |
5861 | the newly created typedef variant type. |
5862 | (is_typedef_decl ): New entry point. | |
5863 | * tree.h: Added a new member member_types_needing_access_check to | |
5864 | struct tree_decl_non_common. | |
5865 | (set_underlying_type): New entry point. | |
5866 | (is_typedef_type): Likewise. | |
5867 | ||
71a6fe66 BM |
5868 | 2009-01-21 Bingfeng Mei <bmei@broadcom.com> |
5869 | ||
5870 | * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p): | |
5871 | Check whether two instructions have memory references that | |
5872 | belong to conflicting alias sets. walk_mems_1 and walk_mems_2 | |
5873 | are helper functions for traversing. | |
5874 | * alias.h (insn_alias_sets_confilict_p): New prototypes. | |
5875 | * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p | |
5876 | not to draw dependency edge for instructions with non-conflicting | |
5877 | alias sets. | |
5878 | ||
5a248274 JM |
5879 | 2009-01-20 Joseph Myers <joseph@codesourcery.com> |
5880 | ||
5881 | PR other/38758 | |
6b67572e UB |
5882 | * longlong.h: Update copyright years. Use soft-fp license notice. |
5883 | Sync __clz_tab declaration with glibc. | |
5a248274 | 5884 | |
4b84f3de SE |
5885 | 2009-01-20 Steve Ellcey <sje@cup.hp.com> |
5886 | ||
5887 | PR target/30687 | |
5888 | * doc/extend.texi (syscall_linkage): New. | |
5889 | (version_id): Modify. | |
5890 | ||
37348bf1 | 5891 | 2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com> |
435da628 | 5892 | Richard Guenther <rguenther@suse.de> |
37348bf1 AP |
5893 | |
5894 | PR tree-optimization/38747 | |
5895 | PR tree-optimization/38748 | |
5896 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE | |
5897 | conversion if the base address is an indirect reference and the | |
5898 | aliasing sets could cause issues. | |
5899 | ||
d0a58904 SP |
5900 | 2009-01-20 Sebastian Pop <sebastian.pop@amd.com> |
5901 | ||
5902 | * common.opt (fgraphite, fgraphite-identity): Add comment for | |
5903 | explaining why these options are not documented. | |
5904 | ||
71e7afb2 SP |
5905 | 2009-01-20 Sebastian Pop <sebastian.pop@amd.com> |
5906 | ||
5907 | * graphite.c (stmt_simple_for_scop_p): Also handle cases when | |
5908 | gimple_call_lhs is NULL. | |
5909 | ||
38432148 | 5910 | 2009-01-20 Paolo Bonzini <bonzini@gnu.org> |
09efeca1 PB |
5911 | |
5912 | PR target/38868 | |
5913 | * emit-rtl.c (adjust_address_1): Make sure memref is never | |
5914 | overwritten. | |
5915 | ||
cbb8dee3 BE |
5916 | 2009-01-20 Ben Elliston <bje@au.ibm.com> |
5917 | ||
5918 | * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove | |
435da628 | 5919 | const qualifier from arg parameter. Remove unnecessary cast to char *. |
cbb8dee3 BE |
5920 | * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove |
5921 | const qualifier from arg 2. | |
5922 | ||
72c66596 IS |
5923 | 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
5924 | ||
435da628 | 5925 | * config/darwin.h: Add static-libgfortran to LINK_SPEC. |
72c66596 | 5926 | |
f68211cd VM |
5927 | 2009-01-19 Vladimir Makarov <vmakarov@redhat.com> |
5928 | ||
5929 | PR c/38869 | |
5930 | * rtl.h (reinit_regs): New prototype. | |
5931 | * regclass.c: Include ira.h. | |
5932 | (reinit_regs): New. | |
5933 | * Makefile.in (regclass.o): Add ira.h. | |
5934 | * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs. | |
5935 | ||
6e4f1168 L |
5936 | 2009-01-18 H.J. Lu <hongjiu.lu@intel.com> |
5937 | ||
5938 | PR target/38736 | |
5939 | * c-common.c (handle_aligned_attribute): Use | |
5940 | ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for | |
5941 | default alignment value. | |
5942 | ||
5943 | * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__. | |
5944 | ||
5945 | * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New. | |
5946 | * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise. | |
5947 | ||
5948 | * doc/extend.texi: Update __attribute__ ((aligned)). Document | |
5949 | __BIGGEST_ALIGNMENT__. | |
5950 | ||
5951 | * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE. | |
5952 | ||
890065bf RG |
5953 | 2009-01-18 Richard Guenther <rguenther@suse.de> |
5954 | ||
5955 | PR tree-optimization/38819 | |
5956 | * tree-flow.h (operation_could_trap_helper_p): Declare. | |
5957 | * tree-eh.c (operation_could_trap_helper_p): Export. | |
5958 | * tree-ssa-sccvn.h (vn_nary_may_trap): Declare. | |
5959 | * tree-ssa-sccvn.c (vn_nary_may_trap): New function. | |
5960 | * tree-ssa-pre.c (insert_into_preds_of_block): Check if we | |
5961 | are about to insert a possibly trapping instruction and fail | |
5962 | in this case. | |
5963 | ||
a729d731 AS |
5964 | 2009-01-18 Andreas Schwab <schwab@suse.de> |
5965 | ||
5966 | * doc/install.texi (Configuration): Remove obsolete paragraph | |
5967 | about use of --with-gnu-ld with --with-gnu-as. | |
5968 | ||
a640c13b KH |
5969 | 2009-01-18 Kazu Hirata <kazu@codesourcery.com> |
5970 | ||
5971 | * doc/extend.texi, doc/gimple.texi, doc/invoke.texi, | |
5972 | doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos. | |
5973 | Follow spelling conventions. | |
5974 | ||
dba2cc0c BE |
5975 | 2009-01-18 Ben Elliston <bje@au.ibm.com> |
5976 | ||
5977 | * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate | |
5978 | C++ warning about implicit conversion from void * to struct | |
5979 | bitmap_head_def *. | |
5980 | (bitmap_obstack_free): Likewise for bitmap_element *. | |
bc127c63 | 5981 | * Makefile.in (bitmap.o-warn): Remove. |
dba2cc0c | 5982 | |
2207a498 DK |
5983 | 2009-01-17 Dave Korn <dave.korn.cygwin@gmail.com> |
5984 | ||
5985 | * Makefile.in (BACKENDLIBS): Reorder to match dependencies. | |
5986 | ||
8137e465 SP |
5987 | 2009-01-17 Sebastian Pop <sebastian.pop@amd.com> |
5988 | Tobias Grosser <tobi.grosser@amd.com> | |
5989 | ||
5990 | * graphite.c (graphite_trans_scop_block): Do not block single | |
5991 | nested loops. | |
5992 | ||
5be1c58c AO |
5993 | 2009-01-16 Alexandre Oliva <aoliva@redhat.com> |
5994 | ||
5995 | * ebitmap.h (ebitmap_iter_init): Initialize all fields. | |
5996 | * ipa-struct-reorg.c (gen_struct_type): Replace known-true | |
5997 | test with assertion. | |
5998 | ||
786ce82d RG |
5999 | 2009-01-16 Richard Guenther <rguenther@suse.de> |
6000 | ||
6001 | PR tree-optimization/38835 | |
6002 | PR middle-end/36227 | |
6003 | * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT) | |
6004 | and INT + PTR -> (INT)(PTR p+ INT) folding. | |
6005 | * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR. | |
6006 | ||
c1cb09ad AN |
6007 | 2009-01-16 Adam Nemet <anemet@caviumnetworks.com> |
6008 | ||
6009 | PR target/38554 | |
6010 | * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift | |
6011 | the subreg from a lowpart subreg if it is also casting the value. | |
6012 | ||
bcab4e19 SP |
6013 | 2009-01-16 Sebastian Pop <sebastian.pop@amd.com> |
6014 | Tobias Grosser <tobi.grosser@amd.com> | |
6015 | ||
6016 | * graphite.c (compare_prefix_loops): New. | |
6017 | (build_scop_canonical_schedules): Rewritten. | |
6018 | (graphite_transform_loops): Move build_scop_canonical_schedules | |
6019 | after build_scop_iteration_domain. | |
6020 | ||
0b040072 SP |
6021 | 2009-01-16 Sebastian Pop <sebastian.pop@amd.com> |
6022 | Tobias Grosser <tobi.grosser@amd.com> | |
6023 | ||
6024 | * graphite.c (add_conditions_to_domain): Add the loops to | |
6025 | the dimension of the iteration domain. Do copy the domain | |
6026 | only when it exists. | |
6027 | (build_scop_conditions_1): Do not call add_conditions_to_domain. | |
6028 | (add_conditions_to_constraints): New. | |
6029 | (can_generate_code_stmt, can_generate_code): Removed. | |
6030 | (gloog): Do not call can_generate_code. | |
6031 | (graphite_transform_loops): Call add_conditions_to_constraints | |
6032 | after building the iteration domain. | |
6033 | ||
56c6a499 JJ |
6034 | 2009-01-16 Jakub Jelinek <jakub@redhat.com> |
6035 | ||
6036 | PR tree-optimization/38789 | |
6037 | * tree-ssa-threadedge.c | |
6038 | (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to | |
6039 | __builtin_constant_p. | |
6040 | ||
c95b2534 | 6041 | 2009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com> |
cd3f1729 KZ |
6042 | |
6043 | * dce.c (delete_unmarked_insns): Reversed the order that insns are | |
6044 | examined before deleting them. | |
6045 | ||
c433cb14 RE |
6046 | 2009-01-16 Richard Earnshaw <rearnsha@arm.com> |
6047 | ||
6048 | * function.c (aggregate_value_p): Correctly extract the function | |
6049 | type from CALL_EXPR_FN lookup. | |
6050 | ||
c95b2534 | 6051 | 2009-01-16 Hariharan Sandanagobalane <hariharan@picochip.com> |
27d62fa4 HS |
6052 | |
6053 | * config/picochip/picochip.c (picochip_override_options): Revert | |
6054 | CFI asm flag disable commited previously. | |
6055 | ||
c77bb78f SP |
6056 | 2009-01-15 Sebastian Pop <sebastian.pop@amd.com> |
6057 | Tobias Grosser <tobi.grosser@amd.com> | |
6058 | Jan Sjodin <jan.sjodin@amd.com> | |
6059 | ||
6060 | * graphite.c (scan_tree_for_params): On substractions negate | |
6061 | all the coefficients of the term. | |
6062 | (clast_to_gcc_expression_red): New. Handle reduction expressions | |
6063 | of more than two operands. | |
6064 | (clast_to_gcc_expression): Call clast_to_gcc_expression_red. | |
6065 | (get_vdef_before_scop): Handle also the case of default definitions. | |
6066 | ||
574af2d6 RS |
6067 | 2009-01-15 Richard Sandiford <rdsandiford@googlemail.com> |
6068 | ||
6069 | * caller-save.c (add_used_regs_1, add_used_regs): New functions. | |
6070 | (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes. | |
6071 | Also use them when walking CALL_INSN_FUNCTION_USAGE. | |
6072 | ||
e939805b L |
6073 | 2009-01-15 H.J. Lu <hongjiu.lu@intel.com> |
6074 | Joey Ye <joey.ye@intel.com> | |
6075 | ||
6076 | PR middle-end/37843 | |
6077 | * cfgexpand.c (expand_stack_alignment): Don't update stack | |
6078 | boundary nor check incoming stack boundary here. | |
6079 | (gimple_expand_cfg): Update stack boundary and check incoming | |
6080 | stack boundary here. | |
6081 | ||
c95b2534 | 6082 | 2009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com> |
750900db | 6083 | |
435da628 | 6084 | * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments. |
750900db | 6085 | |
0196c95e JJ |
6086 | 2009-01-14 Jakub Jelinek <jakub@redhat.com> |
6087 | ||
6088 | PR rtl-optimization/38245 | |
6089 | * calls.c (expand_call): Add stack arguments to | |
6090 | CALL_INSN_FUNCTION_USAGE even for pure calls (when | |
6091 | ACCUMULATE_OUTGOING_ARGS) and even for args partially passed | |
6092 | in regs and partially in memory or BLKmode arguments. | |
6093 | (emit_library_call_value_1): Add stack arguments to | |
6094 | CALL_INSN_FUNCTION_USAGE even for pure calls (when | |
6095 | ACCUMULATE_OUTGOING_ARGS). | |
6096 | * dce.c: Include tm_p.h. | |
6097 | (find_call_stack_args): New function. | |
6098 | (deletable_insn_p): Call it for CALL_P insns. Add ARG_STORES | |
6099 | argument. | |
6100 | (mark_insn): Call find_call_stack_args for CALL_Ps. | |
6101 | (prescan_insns_for_dce): Walk insns backwards in bb rather than | |
6102 | forwards. Allocate and free arg_stores bitmap if needed, pass it | |
6103 | down to deletable_insn_p, don't mark stores set in arg_stores | |
6104 | bitmap, clear the bitmap at the beginning of each bb. | |
6105 | * Makefile.in (dce.o): Depend on $(TM_P_H). | |
6106 | ||
6df6bcfa MM |
6107 | 2009-01-14 Michael Meissner <gnu@the-meissners.org> |
6108 | ||
6109 | PR target/22599 | |
435da628 UB |
6110 | * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f' |
6111 | to make sure the insn is a conditional test (bug 22599). Reformat a | |
6112 | few long lines. | |
6df6bcfa | 6113 | |
765ec70c SP |
6114 | 2009-01-14 Sebastian Pop <sebastian.pop@amd.com> |
6115 | ||
6116 | PR middle-end/38431 | |
6117 | * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New. | |
6118 | (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi. | |
6119 | (gloog): Do not call cleanup_tree_cfg. | |
6120 | (graphite_transform_loops): Call cleanup_tree_cfg after all | |
6121 | scops have been code generated. | |
6122 | ||
7de2b688 BS |
6123 | 2009-01-14 Basile Starynkevitch <basile@starynkevitch.net> |
6124 | * doc/gty.texi (Invoking the garbage collector): Added new node | |
6125 | and section documenting ggc_collect. | |
6126 | ||
10bd6c5c RG |
6127 | 2009-01-14 Richard Guenther <rguenther@suse.de> |
6128 | ||
6129 | PR tree-optimization/38826 | |
6130 | PR middle-end/38477 | |
6131 | * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer | |
6132 | initialization notes only if we actually emitted a warning. | |
6133 | (intra_create_variable_infos): Add constraints for a result decl | |
6134 | that is passed by hidden reference. | |
6135 | (build_pred_graph): Mark all related variables non-direct on | |
6136 | address-taking. | |
6137 | ||
9c7c70ee NC |
6138 | 2009-01-14 Nick Clifton <nickc@redhat.com> |
6139 | ||
6140 | * ira-conflicts.c: Include addresses.h for the definition of | |
6141 | base_reg_class. | |
435da628 UB |
6142 | (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS. |
6143 | * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h. | |
9c7c70ee | 6144 | |
cf0c2a60 VM |
6145 | 2009-01-13 Vladimir Makarov <vmakarov@redhat.com> |
6146 | ||
6147 | PR target/38811 | |
6148 | * Makefile.in (ira-lives.o): Add except.h. | |
6149 | ||
6150 | * ira-lives.c: Include except.h. | |
6151 | (process_bb_node_lives): Process can_throw_internal. | |
6152 | ||
d3302fd3 JJ |
6153 | 2009-01-13 Jakub Jelinek <jakub@redhat.com> |
6154 | ||
6155 | PR rtl-optimization/38774 | |
6156 | * combine.c (simplify_set): When undoing cc_use change, don't do | |
6157 | PUT_CODE on the newly created comparison, but instead put back the | |
6158 | old comparison. | |
6159 | ||
7ab23fd0 JM |
6160 | 2009-01-13 Joseph Myers <joseph@codesourcery.com> |
6161 | ||
6162 | * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march | |
6163 | values. Remove duplicate arm8 entry. | |
6164 | ||
f9344488 SP |
6165 | 2009-01-13 Sebastian Pop <sebastian.pop@amd.com> |
6166 | ||
6167 | PR tree-optimization/38786 | |
6168 | * graphite.c (expand_scalar_variables_ssa_name): New, outlined from | |
6169 | the SSA_NAME case of expand_scalar_variables_expr. | |
6170 | Set the type of an expression to the type of its assign statement. | |
6171 | (expand_scalar_variables_expr): Also gather the scalar computation | |
6172 | used to index the memory access. Do not pass loop_p. | |
6173 | Fix comment. Stop recursion on tcc_constant or tcc_declaration. | |
6174 | (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr | |
bef3c57b UB |
6175 | the gimple_stmt_iterator where it inserts new code. |
6176 | Do not pass loop_p. | |
f9344488 SP |
6177 | (copy_bb_and_scalar_dependences): Do not pass loop_p. |
6178 | (translate_clast): Update call to copy_bb_and_scalar_dependences. | |
6179 | ||
2d8bb84d SP |
6180 | 2009-01-13 Sebastian Pop <sebastian.pop@amd.com> |
6181 | ||
6182 | * graphite.h (debug_value): Removed. | |
6183 | * graphite.c (debug_value): Removed. | |
6184 | ||
ff128632 RE |
6185 | 2009-01-13 Richard Earnshaw <rearnsha@arm.com> |
6186 | ||
435da628 UB |
6187 | * config/arm/arm.c (output_move_double): Don't synthesize thumb-2 |
6188 | ldrd/strd with two 32-bit instructions. | |
ff128632 | 6189 | |
d5a0a47b RE |
6190 | 2009-01-13 Richard Earnshaw <rearnsha@arm.com> |
6191 | ||
435da628 UB |
6192 | * config/arm/arm.c (struct processors): Pass for speed down into |
6193 | cost helper functions. | |
d5a0a47b RE |
6194 | (const_ok_for_op): Handle COMPARE and inequality nodes. |
6195 | (arm_rtx_costs_1): Rewrite. | |
6196 | (arm_size_rtx_costs): Update prototype. | |
6197 | (arm_rtx_costs): Pass speed down to helper functions. | |
6198 | (arm_slowmul_rtx_costs): Rework cost calculations. | |
6199 | (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise. | |
6200 | (arm_9e_rtx_costs): Likewise. | |
6201 | ||
26d5bf5b UB |
6202 | 2009-01-13 Uros Bizjak <ubizjak@gmail.com> |
6203 | ||
6204 | * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit | |
435da628 | 6205 | relocations of local symbols wider than UNITS_PER_WORD are not valid. |
26d5bf5b UB |
6206 | (alpha_legitimize_address): Do not split local symbols wider than |
6207 | UNITS_PER_WORD into HIGH/LO_SUM parts. | |
6208 | ||
5d14e3d5 DS |
6209 | 2009-01-13 Danny Smith <dannysmith@users.sourceforge.net> |
6210 | ||
6211 | PR bootstrap/38580 | |
6212 | * gcc.c (process_command): Replace call to execvp with calls | |
6213 | to pex_one and exit. | |
6214 | ||
33faafca AS |
6215 | 2009-01-03 Anatoly Sokolov <aesok@post.ru> |
6216 | ||
6217 | PR target/29141 | |
6218 | * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm. | |
6219 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add | |
6220 | variant for devices with 3-byte PC. | |
ba20e309 | 6221 | (__tablejump_elpm__): New. |
33faafca | 6222 | |
634b5df5 JJ |
6223 | 2009-01-12 Jakub Jelinek <jakub@redhat.com> |
6224 | ||
6225 | PR c/32041 | |
6226 | * c-parser.c (c_parser_postfix_expression): Allow `->' in | |
6227 | offsetof member-designator, handle it as `[0].'. | |
6228 | ||
2842bb86 JDA |
6229 | 2009-01-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6230 | ||
6231 | * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk | |
6232 | function when not using named sections on targets with named sections | |
6233 | if branch distance is less than 262132. | |
6234 | ||
76ee70f6 RE |
6235 | 2009-01-12 Richard Earnshaw <rearnsha@arm.com> |
6236 | ||
6237 | * combine.c (combine_instructions): Recompute | |
6238 | optimize_this_for_speed_p for each BB in the main combine loop. | |
6239 | ||
f56e675d TB |
6240 | 2009-01-12 Tomas Bily <tbily@suse.cz> |
6241 | ||
6242 | PR middlend/38385 | |
26d5bf5b UB |
6243 | * tree-loop-distribution.c (prop_phis): New function. |
6244 | (generate_builtin): Call prop_phis. | |
6245 | * testsuite/gcc.dg/tree-ssa/pr38385.c: New file. | |
f56e675d | 6246 | |
c2152239 JJ |
6247 | 2009-01-12 Jakub Jelinek <jakub@redhat.com> |
6248 | ||
6249 | PR tree-optimization/38807 | |
6250 | * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at | |
6251 | gimple_visited_p unless stmt is GIMPLE_ASSIGN. | |
6252 | ||
0e510b3e AN |
6253 | 2009-01-11 Adam Nemet <anemet@caviumnetworks.com> |
6254 | ||
6255 | * expmed.c (store_bit_field_1): Properly truncate the paradoxical | |
6256 | subreg of op0 to the original op0. | |
6257 | ||
c95b2534 | 6258 | 2009-01-11 Laurent GUERBY <laurent@guerby.net> |
10270471 LG |
6259 | |
6260 | * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc. | |
6261 | ||
53a7ff9a MS |
6262 | 2009-01-11 Markus Schoepflin <markus.schoepflin@comsoft.de> |
6263 | ||
6264 | PR debug/7055 | |
6265 | * gcc/mips-tfile.c (parse_def): Fix parsing of def strings | |
6266 | starting with digits. | |
6267 | ||
b3a796bc JJ |
6268 | 2009-01-10 Jakub Jelinek <jakub@redhat.com> |
6269 | ||
6270 | PR target/38695 | |
6271 | * config/arm/arm.c (arm_is_long_call_p): Don't call | |
6272 | arm_function_in_section_p if decl isn't a FUNCTION_DECL. | |
6273 | ||
b21b850e SB |
6274 | 2009-01-09 Steven Bosscher <steven@gcc.gnu.org> |
6275 | ||
6276 | * regrename.c (regrename_optimize): Fix dumping. | |
6277 | (find_oldest_value_reg): Preserve REG_POINTER. | |
6278 | (copy_hardreg_forward_1): Likewise. | |
6279 | ||
e0e10d3a DN |
6280 | 2009-01-09 Diego Novillo <dnovillo@google.com> |
6281 | ||
bf9b2cc9 | 6282 | * gimple.h (struct gimple_statement_base) <uid>: Document |
e0e10d3a DN |
6283 | the restrictions on its use. |
6284 | (gimple_uid): Tidy. | |
6285 | (gimple_set_uid): Tidy. | |
6286 | ||
c9da2ae8 JJ |
6287 | 2009-01-09 Jakub Jelinek <jakub@redhat.com> |
6288 | ||
6289 | * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add | |
6290 | zero guard even if align_bytes != 0 and count is smaller than | |
6291 | size_needed. | |
6292 | ||
38432148 | 6293 | 2009-01-09 Vladimir Makarov <vmakarov@redhat.com> |
a174c19c VM |
6294 | |
6295 | PR rtl-optimization/38495 | |
26d5bf5b | 6296 | * ira-emit.c (print_move_list, ira_debug_move_list): New functions. |
a174c19c VM |
6297 | (add_range_and_copies_from_move_list): Print all added ranges. |
6298 | Add ranges to memory optimized destination. | |
6299 | ||
260fda3d JJ |
6300 | 2009-01-09 Jakub Jelinek <jakub@redhat.com> |
6301 | ||
6f6278ad JJ |
6302 | PR target/38686 |
6303 | PR target/38708 | |
6304 | * config/i386/i386.c (override_options): Reject | |
6305 | -mstringop-strategy=rep_8byte with -m32. | |
6306 | (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed | |
6307 | to 1. Do count comparison against epilogue_size_needed at compile | |
6308 | time even when count_exp was constant forced into register. For | |
6309 | size_needed don't jump to epilogue, instead just avoid aligning | |
6310 | and invoke the body algorithm. If need_zero_guard, add zero guard | |
6311 | even if count is non-zero, but smaller than size_needed + number of | |
6312 | bytes that could be stored for alignment. | |
6313 | (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed | |
6314 | to 1. If need_zero_guard, add zero guard even if count is non-zero, | |
6315 | but smaller than size_needed + number of bytes that could be stored | |
6316 | for alignment. Compare size_needed with epilogue_size_needed instead | |
6317 | of desired_align - align, don't adjust size_needed, pass | |
6318 | epilogue_size_needed to the epilogue expanders. | |
6319 | ||
260fda3d | 6320 | PR c/35742 |
26d5bf5b | 6321 | * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR. |
260fda3d | 6322 | |
67b846fa JDA |
6323 | 2009-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6324 | ||
6325 | * pa.c (last_address): Change to unsigned. | |
6326 | (update_total_code_bytes): Change argument to unsigned. Don't | |
6327 | check if insn addresses are set. | |
6328 | (pa_output_function_epilogue): Set last_address to UINT_MAX if insn | |
6329 | addresses are not set. | |
6330 | (pa_asm_output_mi_thunk): Handle wrap when updating last_address. | |
6331 | ||
91c82473 NC |
6332 | 2009-01-09 Nick Clifton <nickc@redhat.com> |
6333 | ||
6334 | * config/sh/symbian.c: Replace uses of DECL_INLINE with | |
6335 | DECL_DECLARED_INLINE_P. | |
6336 | ||
4017e262 JJ |
6337 | 2009-01-09 Jakub Jelinek <jakub@redhat.com> |
6338 | ||
0a49e5c2 JJ |
6339 | PR middle-end/38347 |
6340 | * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of | |
6341 | GET_MODE (op0) in operand_subword_force calls. | |
6342 | ||
4017e262 JJ |
6343 | PR middle-end/38771 |
6344 | * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR, | |
6345 | fold_convert arg0 operands to TREE_TYPE (op0) first. | |
6346 | ||
7cd06356 VM |
6347 | 2009-01-08 Vladimir Makarov <vmakarov@redhat.com> |
6348 | ||
6349 | * params.def (ira-max-conflict-table-size): Decrease default value | |
6350 | to 1000. | |
6351 | ||
96867bbd JJ |
6352 | 2009-01-08 Jakub Jelinek <jakub@redhat.com> |
6353 | ||
6354 | PR tree-optimization/37031 | |
6355 | * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy | |
6356 | on parameter_set. | |
6357 | (build_access_matrix): Reserve correct size for AM_MATRIX vector, | |
6358 | allocate it using gc instead of heap, use VEC_quick_push instead of | |
6359 | VEC_safe_push. | |
6360 | * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc | |
6361 | instead of heap, use VEC_quick_push instead of VEC_safe_push. | |
6362 | * tree-data-ref.h (struct access_matrix): Change matrix to gc | |
6363 | allocated vector from heap allocated. | |
6364 | * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector. | |
6365 | * tree-loop-linear.c (linear_transform_loops): Allocate nest | |
6366 | vector only after perfect_loop_nest_depth call. | |
6367 | ||
68f61c3d SP |
6368 | 2009-01-08 Sebastian Pop <sebastian.pop@amd.com> |
6369 | Jan Sjodin <jan.sjodin@amd.com> | |
6370 | ||
6371 | PR tree-optimization/38559 | |
6372 | * graphite.c (debug_value, copy_constraint, | |
6373 | swap_constraint_variables, scale_constraint_variable, ): New. | |
6374 | (get_lower_bound, get_upper_bound): Removed. | |
6375 | (graphite_trans_bb_strip_mine): Clean up this code that works | |
6376 | only for constant number of iterations. Fully copy upper and | |
6377 | lower bound constraints, not only the constant part of them. | |
6378 | * graphite.h (debug_value): Declared. | |
6379 | ||
82567e33 IR |
6380 | 2009-01-08 Ira Rosen <irar@il.ibm.com> |
6381 | ||
6382 | PR tree-optimization/37194 | |
6383 | * tree-vect-transform.c (vect_estimate_min_profitable_iters): | |
6384 | Don't add the cost of cost model guard in prologue to scalar | |
6385 | outside cost in case of known number of iterations. | |
6386 | ||
7da13f1d NF |
6387 | 2009-01-07 Nathan Froyd <froydnj@codesourcery.com> |
6388 | Alan Modra <amodra@bigpond.net.au> | |
6389 | ||
6390 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for | |
6391 | non-word-aligned REG+CONST addressing. | |
6392 | ||
c0f64575 UB |
6393 | 2009-01-07 Uros Bizjak <ubizjak@gmail.com> |
6394 | ||
6395 | PR target/38706 | |
6396 | * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call | |
6397 | free_after_compilation when outputting a thunk. | |
6398 | (alpha_output_mi_thunk_osf): Assert that we are processing a thunk. | |
6399 | Do not call free_after_compilation here. | |
6400 | ||
301b6a4e UB |
6401 | 2009-01-07 Uros Bizjak <ubizjak@gmail.com> |
6402 | ||
6403 | * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE. | |
301b6a4e UB |
6404 | (ix86_valid_target_attribute_inner_p): Ditto. |
6405 | ||
6a114766 JS |
6406 | 2009-01-07 Jan Sjodin <jan.sjodin@amd.com> |
6407 | ||
6408 | PR tree-optimization/38492 | |
6409 | PR tree-optimization/38498 | |
6410 | * tree-check.c (operator_is_linear, scev_is_linear_expression): New. | |
6411 | * tree-chrec.h (scev_is_linear_expression): Declared. | |
6412 | * graphite.c (graphite_cannot_represent_loop_niter): New. | |
6413 | (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter. | |
6414 | (graphite_loop_normal_form): Use gcc_assert. | |
6415 | (scan_tree_for_params): Use CASE_CONVERT. | |
6416 | (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New. | |
6417 | (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes. | |
6418 | Use gcc_assert. Discard scops that contain unhandled cases. | |
6419 | (build_scop_conditions): Return a boolean status for unhandled cases. | |
6420 | (strip_mine_profitable_p): Print the loop number, not its depth. | |
6421 | (is_interchange_valid): Pass the depth of the loop nest, don't | |
6422 | recompute it wrongly. | |
6423 | (graphite_trans_bb_block): Same. | |
6424 | (graphite_trans_bb_block): Print tentative of loop blocking. | |
6425 | (graphite_trans_scop_block): Do not print that the loop has been | |
6426 | blocked. | |
6427 | (graphite_transform_loops): Do not handle scops that contain condition | |
6428 | scalar phi nodes. | |
6429 | ||
65b82caa L |
6430 | 2009-01-07 H.J. Lu <hongjiu.lu@intel.com> |
6431 | ||
6432 | AVX Programming Reference (December, 2008) | |
6433 | * config/i386/avxintrin.h (_mm256_stream_si256): New. | |
6434 | (_mm256_stream_pd): Likewise. | |
6435 | (_mm256_stream_ps): Likewise. | |
6436 | ||
6437 | * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256, | |
6438 | IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256. | |
6439 | (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI. | |
6440 | (bdesc_special_args): Add __builtin_ia32_movntdq256, | |
6441 | __builtin_ia32_movntpd256 and __builtin_ia32_movntps256. | |
6442 | (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI. | |
6443 | (ix86_expand_special_args_builtin): Likewise. | |
6444 | ||
6445 | * config/i386/sse.md (AVXMODEDI): New. | |
6446 | (avx_movnt<mode>): Likewise. | |
6447 | (avx_movnt<mode>): Likewise. | |
6448 | (<sse>_movnt<mode>): Remove AVX support. | |
6449 | (sse2_movntv2di): Likewise. | |
6450 | ||
cef158f9 RG |
6451 | 2009-01-07 Richard Guenther <rguenther@suse.de> |
6452 | ||
6453 | PR middle-end/38751 | |
6454 | * fold-const.c (extract_muldiv): Remove obsolete comment. | |
6455 | (fold_plusminus_mult_expr): Undo MINUS_EXPR | |
6456 | to PLUS_EXPR canonicalization for the canonicalization. | |
6457 | ||
246cb5be GP |
6458 | 2009-01-07 Gerald Pfeifer <gerald@pfeifer.com> |
6459 | ||
6460 | * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit | |
6461 | hosted cross-compilers generating less efficient code. | |
6462 | ||
84b9b872 RS |
6463 | 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
6464 | ||
6465 | * function.h (rtl_data): Add a dbr_scheduled_p field. | |
6466 | * reorg.c (dbr_schedule): Set it. | |
6467 | (gate_handle_delay_slots): Check it. | |
6468 | * config/mips/mips.c (mips_base_delayed_branch): Delete. | |
6469 | (mips_reorg): Check flag_delayed_branch instead of | |
6470 | mips_base_delayed_branch. | |
6471 | (mips_override_options): Don't set mips_base_delayed_branch | |
6472 | or flag_delayed_branch. | |
6473 | ||
ace984c8 RS |
6474 | 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
6475 | ||
6476 | PR rtl-optimization/38426. | |
6477 | * ira.c (ira): Set current_function_is_leaf earlier. | |
6478 | ||
7ad7809b JJ |
6479 | 2009-01-06 Jakub Jelinek <jakub@redhat.com> |
6480 | ||
6481 | PR rtl-optimization/38722 | |
6482 | * combine.c (try_combine): Don't modify PATTERN (i3) and notes | |
6483 | too early, only set a flag and modify after last possible | |
6484 | undo_all point. | |
6485 | ||
c52ec948 JJ |
6486 | 2009-01-06 Janis Johnson <janis187@us.ibm.com> |
6487 | ||
6488 | PR c/34252 | |
6489 | * ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN. | |
6490 | * real.c (decimal_single_format): Correct values of emin and emax. | |
6491 | (decimal_double_format): Ditto. | |
6492 | (decimal_quad_format): Ditto. | |
6493 | * c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust | |
6494 | computation of DECnn_MIN and DECnn_MAX for corrected values of | |
6495 | emin and emax. Define __DECnn_SUBNORMAL_MIN__ instead of | |
6496 | __DECnn_MIN__, and adjust its computation for the corrected value | |
6497 | of emin. | |
6498 | ||
300240e1 JH |
6499 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
6500 | ||
6501 | PR target/38744 | |
435da628 | 6502 | * config/i386/i386.c (ix86_expand_call): Use ARRAY_SIZE. |
300240e1 | 6503 | |
271c069e GP |
6504 | 2009-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
6505 | ||
6506 | * doc/contrib.texi (Contributors): Slightly adjust the end note. | |
6507 | Add Robert Clark to the list of testers. | |
6508 | ||
64e4c301 | 6509 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
c95b2534 | 6510 | Kai Tietz <kai.tietz@onevision.com> |
64e4c301 | 6511 | |
435da628 UB |
6512 | * config/i386/i386.md (*msabi_syvabi): Add SSE regs clobbers. |
6513 | * config/i386/i386.c (ix86_expand_call): Add clobbers. | |
64e4c301 | 6514 | |
7650b83e | 6515 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
c95b2534 | 6516 | Kai Tietz <kai.tietz@onevision.com> |
7650b83e | 6517 | |
435da628 UB |
6518 | * config/i386/i386.h (CONDITIONAL_CALL_USAGE): SSE regs are not used |
6519 | for w64 ABI. | |
6520 | * config/i386/i386.c (struct ix86_frame): Add padding0 and nsseregs. | |
7650b83e JH |
6521 | (ix86_nsaved_regs): Count only general purpose regs. |
6522 | (ix86_nsaved_sseregs): New. | |
6523 | (ix86_compute_frame_layout): Update nsseregs; set preferred alignment | |
6524 | to 16 for w64; compute padding and size of sse reg save area. | |
301b6a4e UB |
6525 | (ix86_emit_save_regs, ix86_emit_save_regs_using_mov): Save only |
6526 | general purpose regs. | |
7650b83e JH |
6527 | (ix86_emit_save_sse_regs_using_mov): New. |
6528 | (ix86_expand_prologue): Save SSE regs if needed. | |
6529 | (ix86_emit_restore_regs_using_mov): Use only general purpose regs. | |
6530 | (ix86_emit_restore_sse_regs_using_mov): New. | |
6531 | (ix86_expand_epilogue): Save SSE regs if needed. | |
6532 | ||
9aa5c1b2 | 6533 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
c95b2534 | 6534 | Kai Tietz <kai.tietz@onevision.com> |
9aa5c1b2 | 6535 | |
435da628 UB |
6536 | * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Enable for MSABI |
6537 | * config/i386/i386.c (init_cumulative_args): Disallow calls of MSABI | |
6538 | functions when accumulate outgoing args is off. | |
9aa5c1b2 | 6539 | |
f7556aae L |
6540 | 2009-01-06 H.J. Lu <hongjiu.lu@intel.com> |
6541 | ||
6542 | PR bootstrap/38742 | |
6543 | * ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING | |
6544 | before using pseudos_have_intersected_live_ranges_p. | |
6545 | ||
6546 | * ira-int.h (ira_assert): Always define. | |
6547 | ||
e47b7d04 L |
6548 | 2009-01-06 H.J. Lu <hongjiu.lu@intel.com> |
6549 | ||
6550 | AVX Programming Reference (December, 2008) | |
6551 | * config/i386/avxintrin.h (_mm_permute2_pd): Removed. | |
6552 | (_mm256_permute2_pd): Likewise. | |
6553 | (_mm_permute2_ps): Likewise. | |
6554 | (_mm256_permute2_ps): Likewise. | |
6555 | * config/i386/i386.md (UNSPEC_VPERMIL2): Likewise. | |
6556 | * config/i386/sse.md (avx_vpermil2<mode>3): Likewise. | |
6557 | ||
6558 | * config/i386/i386.c (ix86_builtins): Remove | |
6559 | IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS, | |
6560 | IX86_BUILTIN_VPERMIL2PD256 and IX86_BUILTIN_VPERMIL2PS256. | |
6561 | (ix86_builtin_type): Remove V8SF_FTYPE_V8SF_V8SF_V8SI_INT, | |
6562 | V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT | |
6563 | and V2DF_FTYPE_V2DF_V2DF_V2DI_INT. | |
6564 | (bdesc_args): Remove __builtin_ia32_vpermil2pd, | |
6565 | __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256 and | |
6566 | __builtin_ia32_vpermil2ps256. | |
6567 | (ix86_init_mmx_sse_builtins): Updated. | |
6568 | (ix86_expand_args_builtin): Likewise. | |
6569 | ||
44b86471 JDA |
6570 | 2009-01-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6571 | ||
e47b7d04 L |
6572 | * pa.c (output_call): Relocate non-jump insns in the delay slot of |
6573 | long absolute calls when generating PA 2.0 code. | |
44b86471 | 6574 | |
311aab06 VM |
6575 | 2009-01-05 Vladimir Makarov <vmakarov@redhat.com> |
6576 | ||
6577 | PR rtl-optimization/38583 | |
6578 | * params.h (IRA_MAX_CONFLICT_TABLE_SIZE): New macro. | |
6579 | ||
6580 | * params.def (ira-max-conflict-table-size): New. | |
6581 | ||
6582 | * doc/invoke.texi (ira-max-conflict-table-size): Decribe. | |
6583 | ||
6584 | * ira.h (ira_conflicts_p): New external definition. | |
6585 | ||
6586 | * ira-conflicts.c (build_conflict_bit_table): Do not build too big | |
6587 | table. Report this. Return result of building. | |
6588 | (ira_build_conflicts): Use ira_conflicts_p. Check result of | |
6589 | building conflict table. | |
6590 | ||
301b6a4e | 6591 | * ira-color.c (fast_allocation): Use num instead of ira_allocnos_num. |
311aab06 VM |
6592 | (ira_color): Use ira_conflicts_p. |
6593 | ||
6594 | * global.c: Include ira.h. | |
6595 | (pseudo_for_reload_consideration_p, build_insn_chain): Use | |
6596 | ira_conflicts_p. | |
6597 | ||
6598 | * Makefile.in (global.o): Add ira.h. | |
6599 | ||
6600 | * ira-build.c (mark_all_loops_for_removal, | |
6601 | propagate_some_info_from_allocno): New. | |
6602 | (remove_unnecessary_allocnos): Call | |
6603 | propagate_some_info_from_allocno. | |
6604 | (remove_low_level_allocnos): New. | |
6605 | (remove_unnecessary_regions): Add parameter. Call | |
6606 | mark_all_loops_for_removal and remove_low_level_allocnos. Pass | |
6607 | parameter to remove_unnecessary_regions. | |
6608 | (ira_build): Remove all regions but root if the conflict table was | |
6609 | not built. Update conflict hard regs for allocnos crossing calls. | |
6610 | ||
6611 | * ira.c (ira_conflicts_p): New global. | |
6612 | (ira): Define and use ira_conflicts_p. | |
6613 | ||
6614 | * reload1.c (compute_use_by_pseudos, reload, count_pseudo, | |
6615 | count_spilled_pseudo, find_reg, alter_reg, finish_spills, | |
301b6a4e | 6616 | emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p. |
311aab06 | 6617 | |
5641785f BE |
6618 | 2009-01-06 Ben Elliston <bje@au.ibm.com> |
6619 | ||
6620 | * gengtype-lex.l (YY_NO_INPUT): Define. | |
6621 | ||
e4e5261f AP |
6622 | 2009-01-05 Andrew Pinski <andrew_pinski@playstation.sony.com> |
6623 | ||
6624 | PR c/34911 | |
5641785f BE |
6625 | * c-common.c (handle_vector_size_attribute): Also reject |
6626 | BOOLEAN_TYPE types. | |
e4e5261f | 6627 | |
7b10257f SP |
6628 | 2009-01-05 Sebastian Pop <sebastian.pop@amd.com> |
6629 | ||
6630 | PR tree-optimization/38492 | |
6631 | * graphite.c (rename_map_elt, debug_rename_elt, | |
301b6a4e UB |
6632 | debug_rename_map_1, debug_rename_map, new_rename_map_elt, |
6633 | rename_map_elt_info, eq_rename_map_elts, | |
6634 | get_new_name_from_old_name, bb_in_sese_p): Moved around. | |
7b10257f SP |
6635 | (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use. |
6636 | (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb. | |
6637 | (sese_build_livein_liveouts): New. | |
6638 | (new_sese, free_sese): New. | |
6639 | (new_scop): Call new_sese. | |
6640 | (free_scop): Call free_sese. | |
6641 | (rename_variables_from_edge, rename_phis_end_scop): Removed. | |
6642 | (register_old_new_names): Renamed register_old_and_new_names. | |
6643 | (register_scop_liveout_renames, add_loop_exit_phis, | |
6644 | insert_loop_close_phis, struct igp, | |
6645 | default_liveout_before_guard, add_guard_exit_phis, | |
6646 | insert_guard_phis, copy_renames): New. | |
6647 | (translate_clast): Call insert_loop_close_phis and insert_guard_phis. | |
6648 | (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge. | |
6649 | (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts. | |
6650 | (scop_adjust_phis_for_liveouts): New. | |
6651 | (gloog): Call scop_adjust_phis_for_liveouts. | |
6652 | ||
6653 | * graphite.h (struct sese): Documented. Added fields liveout, | |
301b6a4e | 6654 | num_ver and livein. |
7b10257f SP |
6655 | (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New. |
6656 | (new_sese, free_sese, sese_build_livein_liveouts): Declared. | |
6657 | (struct scop): Added field liveout_renames. | |
6658 | (SCOP_LIVEOUT_RENAMES): New. | |
6659 | ||
9761fcc7 HJ |
6660 | 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> |
6661 | ||
6662 | PR tree-optimization/38510 | |
6663 | * graphite.c (recompute_all_dominators): Call mark_irreducible_loops. | |
6664 | (translate_clast): Call recompute_all_dominators before | |
6665 | graphite_verify. | |
6666 | (gloog): Call recompute_all_dominators before graphite_verify. | |
6667 | ||
6668 | 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> | |
c95b2534 | 6669 | Jan Sjodin <jan.sjodin@amd.com> |
9761fcc7 HJ |
6670 | |
6671 | PR tree-optimization/38500 | |
6672 | * graphite.c (create_sese_edges): Call fix_loop_structure after | |
6673 | splitting blocks. | |
6674 | ||
c95b2534 | 6675 | 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
48a01864 JS |
6676 | |
6677 | * config.gcc: Add m32r*-*-rtems*. | |
6678 | * config/m32r/rtems.h: New file. | |
6679 | ||
fc0cd180 BE |
6680 | 2009-01-05 Ben Elliston <bje@au.ibm.com> |
6681 | ||
6682 | * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir. | |
6683 | (.po.pox): Likewise. | |
6684 | (po/gcc.pot): Likewise. | |
6685 | ||
3106d8e5 DM |
6686 | 2009-01-04 David S. Miller <davem@davemloft.net> |
6687 | ||
6688 | * config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete. | |
6689 | (STARTING_FRAME_OFFSET): Always set to zero. | |
6690 | ||
0009b473 RS |
6691 | 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com> |
6692 | ||
6693 | * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Add commentary. | |
6694 | * tree-cfg.c (verify_gimple_assign_binary): Allow shifts of | |
6695 | fixed-point types, and vectors of the same. | |
6696 | ||
4f24c6d6 RS |
6697 | 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com> |
6698 | ||
6699 | * config/mips/sync.md (*mb_barrier): Rename to... | |
6700 | (*memory_barrier): ...this. | |
6701 | ||
1df48f5c JW |
6702 | 2009-01-04 Jonathan Wakely <jwakely.gcc@gmail.com> |
6703 | ||
6704 | * doc/extend.texi (Function Attributes): Move @cindex after @item | |
eefe5da0 | 6705 | for 'artificial' and 'flatten'. Fix grammar for 'externally_visible' |
1df48f5c JW |
6706 | and put in alphabetical order. Fix 'target' name and put in order. |
6707 | * doc/invoke.texi (-Wstrict-null-sentinel, -fipa-matrix-reorg): Fix | |
6708 | typos. | |
6709 | ||
1a8c13b3 UB |
6710 | 2009-01-04 Uros Bizjak <ubizjak@gmail.com> |
6711 | ||
6712 | * config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB. | |
6713 | (memory_barrier): Expand as unspec instead of unspec_volatile. | |
6714 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
6715 | (*memory_barrier): Define as unspec instead of unspec_volatile. | |
6716 | Use (match_dup 0) as input operand. | |
6717 | ||
6718 | * config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR. | |
6719 | * config/sparc/sync.md (memory_barrier): Expand as unspec instead of | |
6720 | unspec_volatile. Remove mem:BLK from insn operands. Use Pmode | |
6721 | scratch register. Remove operand 1. | |
6722 | (*stbar): Define as unspec instead of unspec_volatile. | |
6723 | Use (match_dup 0) as input operand, remove (const_int 8). | |
6724 | (*membar): Define as unspec instead of unspec_volatile. | |
6725 | Use (match_dup 0) as input operand, remove input operand 2. | |
6726 | ||
6727 | * config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW. | |
6728 | (memory_barrier): Expand as unspec instead of unspec_volatile. | |
6729 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
6730 | (*memory_barrier): Define as unspec instead of unspec_volatile. | |
6731 | Use (match_dup 0) as input operand. | |
6732 | ||
6733 | * config/ia64/sync.md (memory_barrier): Redefine as expander pattern. | |
6734 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
6735 | Set volatile flag on operand 0. | |
6736 | (*memory_barrier): New insn pattern. | |
6737 | ||
6738 | * config/rs6000/sync.md (memory_barrier): Remove mem:BLK from | |
6739 | insn operands. | |
6740 | (*memory_barrier): Use (match_dup 0) as input operand. | |
6741 | ||
6742 | * config/mips/sync.md (memory_barrier): Redefine as expander pattern. | |
6743 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
6744 | Set volatile flag on operand 0. | |
301b6a4e | 6745 | (*mb_internal): New insn pattern. |
1a8c13b3 UB |
6746 | |
6747 | * config/alpha/sync.md (*memory_barrier): Rename from *mb_internal. | |
6748 | ||
fb0703f7 SB |
6749 | 2009-01-04 Steven Bosscher <steven@gcc.gnu.org> |
6750 | ||
6751 | PR middle-end/38586 | |
6752 | * function.c (struct temp_slot): Move to the section of the file | |
6753 | that deals with temp slots. Remove field 'address'. | |
6754 | (temp_slot_address_table): New hash table of address -> temp slot. | |
6755 | (struct temp_slot_address_entry): New struct, items for the table. | |
6756 | (temp_slot_address_compute_hash, temp_slot_address_hash, | |
6757 | temp_slot_address_eq, insert_temp_slot_address): Support functions | |
6758 | for the new table. | |
6759 | (find_temp_slot_from_address): Rewrite to use the new hash table. | |
6760 | (remove_unused_temp_slot_addresses): Remove addresses of temp | |
6761 | slots that have been made available. | |
6762 | (remove_unused_temp_slot_addresses_1): Call-back for htab_traverse, | |
6763 | worker function for remove_unused_temp_slot_addresses. | |
6764 | (assign_stack_temp_for_type): Don't clear the temp slot address list. | |
6765 | Add the temp slot address to the address -> temp slot map. | |
6766 | (update_temp_slot_address): Update via insert_temp_slot_address. | |
6767 | (free_temp_slots): Call remove_unused_temp_slot_addresses. | |
6768 | (pop_temp_slots): Likewise. | |
6769 | (init_temp_slots): Allocate the address -> temp slot map, or empty | |
6770 | the map if it is already allocated. | |
6771 | (prepare_function_start): Initialize temp slot processing. | |
6772 | ||
b5a430f3 SB |
6773 | 2009-01-04 Steven Bosscher <steven@gcc.gnu.org> |
6774 | ||
6775 | PR middle-end/38584 | |
6776 | * cfgexpand.c (estimate_stack_frame_size): Simplify the estimate: | |
6777 | Calculate the size of all stack vars assuming no packing of stack | |
6778 | vars will happen, replacing a quadratic algorithm with a linear one. | |
6779 | ||
5d560619 JJ |
6780 | 2009-01-03 Jakub Jelinek <jakub@redhat.com> |
6781 | ||
6782 | PR target/38707 | |
6783 | * expmed.c (store_bit_field_1): Don't modify op0 if movstrict insn | |
6784 | can't be used. | |
6785 | ||
953a7caa DN |
6786 | 2009-01-03 Diego Novillo <dnovillo@google.com> |
6787 | ||
6788 | * doc/contrib.texi: Update contributions. | |
6789 | ||
5f26a230 JJ |
6790 | 2009-01-03 Jakub Jelinek <jakub@redhat.com> |
6791 | ||
493aa551 JJ |
6792 | PR c++/38705 |
6793 | * builtins.c (fold_builtin_memory_op): Give up if either operand | |
6794 | is volatile. Set srctype or desttype to non-qualified version | |
6795 | of the other type. | |
6796 | ||
5f26a230 JJ |
6797 | PR c/38700 |
6798 | * builtins.c (fold_builtin_expect): Only check DECL_WEAK for VAR_DECLs | |
6799 | and FUNCTION_DECLs. | |
6800 | ||
c95b2534 | 6801 | 2009-01-02 Kenneth Zadeck <zadeck@naturalbridge.com> |
fafe34f9 KZ |
6802 | |
6803 | PR rtl-optimization/35805 | |
6804 | * df-problems.c (df_lr_finalize): Add recursive call to resolve lr | |
6805 | problem if fast dce is able to remove any instructions. | |
6806 | * dce.c (dce_process_block): Fix dump message. | |
6807 | ||
0b355794 MM |
6808 | 2009-01-02 Mark Mitchell <mark@codesourcery.com> |
6809 | ||
6810 | PR 33649 | |
6811 | * tree-ssa-pre.c (compute_antic): Correct loop bounds. | |
6812 | ||
0cf0d02b JJ |
6813 | 2009-01-02 Jakub Jelinek <jakub@redhat.com> |
6814 | ||
6815 | PR middle-end/38690 | |
6816 | * tree-flow.h (op_code_prio, op_prio): New prototypes. | |
6817 | * tree-pretty-print.c (op_code_prio): New function. | |
6818 | (op_prio): No longer static. Use op_code_prio. | |
6819 | * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs): | |
6820 | Use op_prio and op_code_prio to determine if () should be | |
6821 | printed around operand(s) or not. | |
6822 | ||
6823 | * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs, | |
6824 | dump_gimple_call, dump_gimple_switch, dump_gimple_cond, | |
6825 | dump_gimple_label, dump_gimple_try, dump_symbols, dump_gimple_phi, | |
6826 | dump_gimple_mem_ops, dump_bb_header, dump_bb_end, pp_cfg_jump): Use | |
6827 | pp_character instead of pp_string for single letter printing. | |
6828 | ||
e3606f3b RS |
6829 | 2009-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
6830 | ||
6831 | * doc/extend.texi: Fix '#pragma GCC option' typo. | |
6832 | ||
c95b2534 | 6833 | 2009-01-02 Richard Guenther <rguenther@suse.de> |
00f39bd5 | 6834 | |
a5f061dc RG |
6835 | * doc/install.texi (--enable-checking): Mention different |
6836 | default for stage1. | |
6837 | (--enable-stage1-checking): Document. | |
00f39bd5 | 6838 | |
26de0bcb AP |
6839 | 2009-01-01 Andrew Pinski <pinskia@gmail.com> |
6840 | ||
6841 | PR middle-end/30142 | |
6842 | * tree-cfg.c (verify_expr): Add INDIRECT_REF case. Change MODIFY_EXPR | |
6843 | case to be an error. | |
6844 | ||
7a7d8fab BE |
6845 | 2009-01-02 Ben Elliston <bje@au.ibm.com> |
6846 | ||
6847 | * config/fp-bit.h (pack_d): Constify argument. | |
6848 | * config/fp-bit.c (makenan): Constify return type. Remove casts. | |
6849 | (isnan): Constify argument. | |
6850 | (isinf): Likewise. | |
6851 | (iszero): Likewise. | |
6852 | (pack_d): Likewise. | |
6853 | (_fpadd_parts): Constify return type. | |
6854 | (_fpmul_parts): Likewise. | |
6855 | (_fpdiv_parts): Likewise. | |
6856 | ||
b295aee2 JJ |
6857 | 2009-01-01 Jakub Jelinek <jakub@redhat.com> |
6858 | ||
6859 | PR c/36489 | |
6860 | * c-typeck.c (add_pending_init): Add IMPLICIT argument. Only | |
6861 | warn about overwriting initializer with side-effects or | |
6862 | -Woverride-init if !IMPLICIT. | |
6863 | (output_init_element): Likewise. Pass IMPLICIT down to | |
6864 | add_pending_init. | |
6865 | (process_init_element): Add IMPLICIT argument. Pass it down | |
6866 | to output_init_element. | |
6867 | (push_init_element, pop_init_level, set_designator): Adjust | |
6868 | process_init_element callers. | |
6869 | (set_nonincremental_init, set_nonincremental_init_from_string): | |
6870 | Adjust add_pending_init callers. | |
6871 | (output_pending_init_elements): Adjust output_init_element callers. | |
6872 | * c-tree.h (process_init_element): Adjust prototype. | |
6873 | * c-parser.c (c_parser_initelt, c_parser_initval): Adjust | |
6874 | process_init_element callers. |