Bug 97066 - [11 Regression] regression caused by r11-3207
Summary: [11 Regression] regression caused by r11-3207
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 11.0
: P3 normal
Target Milestone: 11.0
Assignee: Feng Xue
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-16 07:28 UTC by Hongtao.liu
Modified: 2020-09-17 06:20 UTC (History)
4 users (show)

See Also:
Host: x86_64-pc-linux-gnu
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2020-09-16 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hongtao.liu 2020-09-16 07:28:43 UTC
Commit r11-3207 caused.

FAIL: gcc.dg/tree-ssa/20030807-10.c scan-tree-dump-times vrp1 " >> 2" 1
FAIL: gcc.dg/tree-ssa/20030807-10.c scan-tree-dump-times vrp1 " & 3" 1
FAIL: gcc.dg/ifcvt-3.c scan-rtl-dump ce1 "3 true changes made"

with gcc configure as

../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r11-3207/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap
Comment 1 Feng Xue 2020-09-16 08:13:31 UTC
Both cases will be simplified with new pattern, and this is correct. Will change test code to make that not happen.
Comment 2 GCC Commits 2020-09-16 12:21:36 UTC
The master branch has been updated by Feng Xue <fxue@gcc.gnu.org>:

https://gcc.gnu.org/g:f419a0158950034ed9996ae860b0c8df03731119

commit r11-3228-gf419a0158950034ed9996ae860b0c8df03731119
Author: Feng Xue <fxue@os.amperecomputing.com>
Date:   Wed Sep 16 16:21:14 2020 +0800

    testsuite/97066 - minor change to bypass plusminus-with-convert rule
    
    The following testcases will be simplified by the new rule
    (T)(A) +- (T)(B) -> (T)(A +- B), so could not keep code pattern
    expected by test-check. Adjust test code to suppress simplification.
    
    2020-09-16  Feng Xue  <fxue@os.amperecomputing.com>
    
    gcc/testsuite/
            PR testsuite/97066
            * gcc.dg/ifcvt-3.c: Modified to suppress simplification.
            * gcc.dg/tree-ssa/20030807-10.c: Likewise.
Comment 3 Hongtao.liu 2020-09-17 06:20:06 UTC
Fixed in GCC11.