Commit 4a759e75 by Richard Guenther Committed by Richard Biener

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
parent f8ed6dc5
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.
......
// { 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]; }
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