re PR c++/45382 (internal compiler error: tree code ‘call_expr’ is not supported in gimple streams)
2010-10-14 Richard Guenther <rguenther@suse.de> PR lto/45382 * g++.dg/lto/20101014-2_0.C: New testcase. From-SVN: r165471
This commit is contained in:
parent
f8ed6dc529
commit
4a759e75ab
@ -1,3 +1,8 @@
|
||||
2010-10-14 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/45382
|
||||
* g++.dg/lto/20101014-2_0.C: New testcase.
|
||||
|
||||
2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* gcc.target/i386/avx-copysign-vec.c: Add -mtune=generic.
|
||||
|
8
gcc/testsuite/g++.dg/lto/20101014-2_0.C
Normal file
8
gcc/testsuite/g++.dg/lto/20101014-2_0.C
Normal file
@ -0,0 +1,8 @@
|
||||
// { dg-lto-do assemble }
|
||||
|
||||
template<class T, unsigned long l>
|
||||
inline unsigned long foo (T (&)[l]) { return l; }
|
||||
|
||||
struct S { char *s[4]; S (); };
|
||||
|
||||
S::S () { typedef int T[foo (s) == 4 ? 1 : -1]; }
|
Loading…
x
Reference in New Issue
Block a user