re PR middle-end/28116 (ICE when building konverter with gcc-4.1 with -O3 [RSO])
2007-01-05 Richard Guenther <rguenther@suse.de> PR middle-end/28116 * g++.dg/opt/pr28116.C: New testcase. From-SVN: r120482
This commit is contained in:
parent
9477eb38c6
commit
a4f77ff7d3
|
@ -1,4 +1,9 @@
|
|||
2006-01-05 Tobias Burnus <burnus@net-b.de>
|
||||
2007-01-05 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/28116
|
||||
* g++.dg/opt/pr28116.C: New testcase.
|
||||
|
||||
2007-01-05 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/29624
|
||||
* gfortran.dg/alloc_alloc_expr_1.f90: Add check for
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3" } */
|
||||
|
||||
struct QDateTime
|
||||
{
|
||||
QDateTime addSecs( int secs ) const;
|
||||
int t;
|
||||
};
|
||||
QDateTime gridToDate(long x)
|
||||
{
|
||||
QDateTime date;
|
||||
date = date.addSecs(1);
|
||||
return date;
|
||||
}
|
||||
void whatsOnAt(long x, long y)
|
||||
{
|
||||
gridToDate(x);
|
||||
}
|
||||
|
Loading…
Reference in New Issue