FAIL: gcc.c-torture/execute/pr28651.c execution, -O0 FAIL: gcc.c-torture/execute/pr28651.c execution, -O1 FAIL: gcc.c-torture/execute/pr28651.c execution, -O2 FAIL: gcc.c-torture/execute/pr28651.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/pr28651.c execution, -O3 -g FAIL: gcc.c-torture/execute/pr28651.c execution, -Os This is marked as a testsuite issue because the tests don't actually fail, at least when run manually.
Confirmed, it happens everywhere.
It only happens on the mainline - is dejagnu passing arguments to the testcases?
I cannot reproduce this with make check-gcc RUNTESTFLAGS="execute.exp=pr28651.c" ii dejagnu 1.4.4.cvs20060709-2 ii expect 5.43.0-7 Janis, any idea?
I use dejagnu 1.4.4 release. Anyways just get rid of the check inside the testcase for argc, and mark the other function as non inliniable.
Sure - that would be the obvious fix if passing arguments is the problem. But I'd like someone to confirm that first.
Subject: Bug 28703 Author: rguenth Date: Mon Aug 14 16:05:37 2006 New Revision: 116129 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116129 Log: 2006-08-14 Richard Guenther <rguenther@suse.de> PR testsuite/28703 * gcc.c-torture/execute/pr28651.c: Do not use argc to avoid optimization, instead forbid inlining. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.c-torture/execute/pr28651.c
Fixed.
Subject: Re: FAIL: gcc.c-torture/execute/pr28651.c execution > Fixed. It doesn't appear to have been fixed on the 4.1 branch yet. Dave
Never saw it on the branch.
Subject: Bug 28703 Author: janis Date: Mon Nov 13 23:01:09 2006 New Revision: 118782 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118782 Log: Backport from mainline: 2006-08-14 Richard Guenther <rguenther@suse.de> PR testsuite/28703 * gcc.c-torture/execute/pr28651.c: Do not use argc to avoid optimization, instead forbid inlining. Modified: branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/execute/pr28651.c
Subject: Bug 28703 Author: rguenth Date: Thu Jan 25 19:05:19 2007 New Revision: 121181 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121181 Log: 2007-01-25 Richard Guenther <rguenther@suse.de> Backport from mainline: 2006-08-11 Richard Guenther <rguenther@suse.de> PR middle-end/28651 * simplify-rtx.c (simplify_const_relational_operation): Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison codes. * gcc.c-torture/execute/pr28651.c: New testcase. 2006-08-14 Richard Guenther <rguenther@suse.de> PR testsuite/28703 * gcc.c-torture/execute/pr28651.c: Do not use argc to avoid optimization, instead forbid inlining. Added: branches/gcc-4_0-branch/gcc/testsuite/gcc.c-torture/execute/pr28651.c - copied, changed from r116079, trunk/gcc/testsuite/gcc.c-torture/execute/pr28651.c Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/simplify-rtx.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog