Commit 2ced58ea by Richard Guenther Committed by Richard Biener

re PR lto/41598 (bootstrap *using* lto fails)

2009-10-16  Richard Guenther  <rguenther@suse.de>

	PR lto/41598
	* gcc.dg/lto/20091016-1_0.c: New testcase.
	* gcc.dg/lto/20091016-1_1.c: Likewise.
	* gcc.dg/lto/20091016-1_a.h: Likewise.

From-SVN: r152904
parent 35f1e9f4
2009-10-16 Richard Guenther <rguenther@suse.de>
PR lto/41598
* gcc.dg/lto/20091016-1_0.c: New testcase.
* gcc.dg/lto/20091016-1_1.c: Likewise.
* gcc.dg/lto/20091016-1_a.h: Likewise.
2009-10-16 Richard Guenther <rguenther@suse.de>
PR lto/41715
* gfortran.dg/lto/20091015-1_0.f: New testcase.
* gfortran.dg/lto/20091015-1_1.f: Likewise.
......
/* { dg-lto-do link } */
/* { dg-lto-options {{-fPIC -shared -O2 -flto}} } */
typedef struct VEC_constructor_elt_gc { } VEC_constructor_elt_gc;
#include "20091016-1_a.h"
struct stmt_tree_s {
tree x_cur_stmt_list;
};
void *add_stmt (struct stmt_tree_s *x)
{
return &x->x_cur_stmt_list;
}
typedef struct VEC_constructor_elt_gcx { } VEC_constructor_elt_gc;
#include "20091016-1_a.h"
struct gcc_target {
void (* builtin_vec_perm) (tree*);
};
extern struct gcc_target targetm;
void dwarf2out_begin_prologue (tree t)
{
(*targetm.builtin_vec_perm) (&t);
}
struct die_arg_entry_struct {
tree arg;
};
void *gt_pch_p_20VEC_die_arg_entry_gc (struct die_arg_entry_struct *vec)
{
return &(vec->arg);
}
typedef union tree_node *tree;
union tree_node {
tree * use;
VEC_constructor_elt_gc *elts;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment