Skip to content
Snippets Groups Projects
Commit cf0cfa5a authored by pinskia's avatar pinskia
Browse files

2004-05-21 Andrew Pinski <pinskia@physics.uc.edu>

        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
parent a8236644
No related branches found
No related tags found
No related merge requests found
2004-05-21 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/21331
PR tree-opt/21293
* gcc.c-torture/compile/pr21293.c: New test.
* gcc.c-torture/execute/pr21331.c: New test.
2004-05-20 Richard Henderson <rth@redhat.com>
 
* g++.dg/other/stdarg3.C: Spell "hpux*" correctly.
......
/* Testcase from Dale Johannesen <dalej@gcc.gnu.org>. */
struct {
double x[1];
} g;
void k( double *, double*);
void h(int Tmp8)
{
int i;
for(i = 1;i <= Tmp8;i++)
k(&g.x[ + -1],&g.x[ Tmp8 + -1]);
}
void abort (void);
int bar (void) { return -1; }
unsigned long
foo ()
{ unsigned long retval;
retval = bar ();
if (retval == -1) return 0;
return 3; }
main ()
{ if (foo () != 0) abort ();
return 0; }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment