Commit 848af81e by Richard Guenther Committed by Richard Biener

re PR middle-end/41730 (ICE with -flto -fwhole-program)

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

	PR lto/41730
	* g++.dg/lto/20091022-1_0.C: New testcase.

From-SVN: r153455
parent f9c91f8a
2009-10-22 Richard Guenther <rguenther@suse.de>
PR lto/41730
* g++.dg/lto/20091022-1_0.C: New testcase.
2009-10-22 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/pr40556.c: New testcase.
......
// { dg-lto-do link }
// { dg-extra-ld-options "-fwhole-program" }
template <int dim>
struct AutoDerivativeFunction {
virtual void gradient_list (void);
};
template <int dim>
void AutoDerivativeFunction<dim>::gradient_list (void)
{
}
template class AutoDerivativeFunction<1>;
int main() {}
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