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
This commit is contained in:
parent
f9c91f8a90
commit
848af81ed5
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
13
gcc/testsuite/g++.dg/lto/20091022-1_0.C
Normal file
13
gcc/testsuite/g++.dg/lto/20091022-1_0.C
Normal file
@ -0,0 +1,13 @@
|
||||
// { 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() {}
|
Loading…
Reference in New Issue
Block a user