re PR c++/20995 (ICE in const_binop, at fold-const.c:1391)
PR c++/20995 * g++.dg/opt/pr20995-1.C: New test case. From-SVN: r98745
This commit is contained in:
parent
817b4ef432
commit
c2cab3e97a
|
@ -1,3 +1,8 @@
|
|||
2005-04-25 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
PR c++/20995
|
||||
* g++.dg/opt/pr20995-1.C: New test case.
|
||||
|
||||
2005-04-25 Devang Patel <dpatel@apple.com>
|
||||
|
||||
* gcc.dg/stabs-attrib-vect-darwin.c: New test.
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
template<int N> void foo()
|
||||
{
|
||||
double d = (N ? 0.0 : 0) + 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue