2010-04-30 Richard Guenther <rguenther@suse.de>
PR lto/43946
* passes.c (init_optimization_passes): Move pass_ipa_free_lang_data
first after all lowering passes.
* gcc.dg/lto/
20100430-1_0.c: New testcase.
From-SVN: r158935
+2010-04-30 Richard Guenther <rguenther@suse.de>
+
+ PR lto/43946
+ * passes.c (init_optimization_passes): Move pass_ipa_free_lang_data
+ first after all lowering passes.
+
2010-04-30 Steven Bosscher <steven@gcc.gnu.org>
* toplev.c: Include varray.h for statistics dumping.
/* Interprocedural optimization passes. */
p = &all_small_ipa_passes;
+ NEXT_PASS (pass_ipa_free_lang_data);
NEXT_PASS (pass_ipa_function_and_variable_visibility);
NEXT_PASS (pass_ipa_early_inline);
{
NEXT_PASS (pass_inline_parameters);
NEXT_PASS (pass_rebuild_cgraph_edges);
}
- NEXT_PASS (pass_ipa_free_lang_data);
NEXT_PASS (pass_early_local_passes);
{
struct opt_pass **p = &pass_early_local_passes.pass.sub;
+2010-04-30 Richard Guenther <rguenther@suse.de>
+
+ PR lto/43946
+ * gcc.dg/lto/20100430-1_0.c: New testcase.
+
2010-04-30 Jakub Jelinek <jakub@redhat.com>
PR debug/43942
--- /dev/null
+/* { dg-lto-do link } */
+/* { dg-lto-options {{-O2 -fprofile-arcs -flto -r -nostdlib}} } */
+
+void
+expand_stmt_with_iterators_1 (void)
+{
+ extern void expand_expr_stmt (void);
+ expand_expr_stmt ();
+}
+void
+iterator_expand (void)
+{
+ expand_stmt_with_iterators_1 ();
+}