This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/71050] New: [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71050

            Bug ID: 71050
           Summary: [7 regression] test case gcc.target/powerpc/lhs-1.c
                    fails starting with r236066
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

Executing on host: /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/ linker_plugin40918.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -flto
-fuse-linker-plugin  -lm    -o linker_plugin40918.exe    (timeout = 300)
spawn /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/ linker_plugin40918.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -flto -fuse-linker-plugin
-lm -o linker_plugin40918.exe
Executing on host: /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/lhs-1.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -O2 -mcpu=power5
-ffat-lto-objects -S   -o lhs-1.s    (timeout = 300)
spawn /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/lhs-1.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -mcpu=power5
-ffat-lto-objects -S -o lhs-1.s
PASS: gcc.target/powerpc/lhs-1.c (test for excess errors)
FAIL: gcc.target/powerpc/lhs-1.c scan-assembler-times nop 3
                === gcc Summary ===

# of expected passes            1
# of unexpected failures        1

The test case is looking for nops but there are a bunch of extra instructions
being generated.

  stfd 1,0(4)
  lwz 3,4(4)

to this:

  stfd 1,-16(1)
  stfd 1,0(4)
  ld 3,-16(1)
  srdi 3,3,32

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]