Skip to content

Commit cf0cfa5

Browse files
author
pinskia
committed
2004-05-21 Andrew Pinski <[email protected]>
PR middle-end/21331 PR tree-opt/21293 * gcc.c-torture/compile/pr21293.c: New test. * gcc.c-torture/execute/pr21331.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100045 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent a823664 commit cf0cfa5

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

gcc/testsuite/ChangeLog

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2004-05-21 Andrew Pinski <[email protected]>
2+
3+
PR middle-end/21331
4+
PR tree-opt/21293
5+
* gcc.c-torture/compile/pr21293.c: New test.
6+
* gcc.c-torture/execute/pr21331.c: New test.
7+
18
2004-05-20 Richard Henderson <[email protected]>
29

310
* g++.dg/other/stdarg3.C: Spell "hpux*" correctly.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* Testcase from Dale Johannesen <[email protected]>. */
2+
struct {
3+
double x[1];
4+
} g;
5+
void k( double *, double*);
6+
void h(int Tmp8)
7+
{
8+
int i;
9+
for(i = 1;i <= Tmp8;i++)
10+
k(&g.x[ + -1],&g.x[ Tmp8 + -1]);
11+
}
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
void abort (void);
2+
3+
int bar (void) { return -1; }
4+
5+
unsigned long
6+
foo ()
7+
{ unsigned long retval;
8+
retval = bar ();
9+
if (retval == -1) return 0;
10+
return 3; }
11+
12+
main ()
13+
{ if (foo () != 0) abort ();
14+
return 0; }
15+

0 commit comments

Comments
 (0)