X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20020320-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20020320-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=05f72c65482c71183c196d229c962a5d04b5f9ea;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/20020320-1.c b/gcc/testsuite/gcc.c-torture/execute/20020320-1.c deleted file mode 100644 index 05f72c65..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/20020320-1.c +++ /dev/null @@ -1,23 +0,0 @@ -/* PR c/5354 */ -/* Verify that GCC preserves relevant stack slots. */ - -extern void abort(void); -extern void exit(int); - -struct large { int x, y[9]; }; - -int main() -{ - int fixed; - - fixed = ({ int temp1 = 2; temp1; }) - ({ int temp2 = 1; temp2; }); - if (fixed != 1) - abort(); - - fixed = ({ struct large temp3; temp3.x = 2; temp3; }).x - - ({ struct large temp4; temp4.x = 1; temp4; }).x; - if (fixed != 1) - abort(); - - exit(0); -}