[#6085] gcc.dg/torture/asm-subreg-1.c test fail with bfin-linux-uclibc

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6085] gcc.dg/torture/asm-subreg-1.c test fail with bfin-linux-uclibc

Submitted By: Vivi Li

Open Date

2010-07-01 06:46:09     Close Date

2010-07-19 02:49:05

Priority:

Medium High     Assignee:

Vivi Li

David Gibson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

2010R1

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2010R1

Is this bug repeatable?:

N/A     

Summary: gcc.dg/torture/asm-subreg-1.c test fail with bfin-linux-uclibc

Details:

 

gcc.dg/torture/asm-subreg-1.c test fail with bfin-linux-uclibc.

 

The failure always exists, not a regression bug.

 

--

FAIL: gcc.dg/torture/asm-subreg-1.c  -O1  (test for excess errors)

FAIL: gcc.dg/torture/asm-subreg-1.c  -O2  (test for excess errors)

FAIL: gcc.dg/torture/asm-subreg-1.c  -O3 -fomit-frame-pointer  (test for excess errors)

FAIL: gcc.dg/torture/asm-subreg-1.c  -O3 -g  (test for excess errors)

FAIL: gcc.dg/torture/asm-subreg-1.c  -Os  (test for excess errors)

--

 

 

Bellow is the detail:

--

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c   -O1   -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column -S -mcpu=bf561-0.5 -o asm-subreg-1.s    (timeout = 300)

 

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c: In function 'evas_common_convert_yuv_420p_601_rgba':

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:13: error: 'asm' operand requires impossible reload

compiler exited with status 1

 

FAIL: gcc.dg/torture/asm-subreg-1.c  -O1  (test for excess errors)

--

 

--

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c   -O2   -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column -S -mcpu=bf561-0.5 -o asm-subreg-1.s    (timeout = 300)

 

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c: In function 'evas_common_convert_yuv_420p_601_rgba':^M

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:13: error: 'asm' operand requires impossible reload^M

compiler exited with status 1

 

FAIL: gcc.dg/torture/asm-subreg-1.c  -O2  (test for excess errors)

--

 

--

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c   -O3 -fomit-frame-pointer   -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column -S -mcpu=bf561-0.5 -o asm-subreg-1.s    (timeout = 300)

 

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c: In function 'evas_common_convert_yuv_420p_601_rgba':

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:13: error: 'asm' operand requires impossible reload

compiler exited with status 1

 

FAIL: gcc.dg/torture/asm-subreg-1.c  -O3 -fomit-frame-pointer  (test for excess errors)

--

 

--

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c   -O3 -g   -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column -S -mcpu=bf561-0.5 -o asm-subreg-1.s    (timeout = 300)

 

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c: In function 'evas_common_convert_yuv_420p_601_rgba':

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:13: error: 'asm' operand requires impossible reload

compiler exited with status 1

 

FAIL: gcc.dg/torture/asm-subreg-1.c  -O3 -g  (test for excess errors)

--

 

--

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c   -Os   -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column -S -mcpu=bf561-0.5 -o asm-subreg-1.s    (timeout = 300)

 

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c: In function 'evas_common_convert_yuv_420p_601_rgba':

/home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:13: error: 'asm' operand requires impossible reload

compiler exited with status 1

 

FAIL: gcc.dg/torture/asm-subreg-1.c  -Os  (test for excess errors)

--

 

Follow-ups

 

--- David Gibson                                             2010-07-15 11:10:04

The test in question attempts to make use of the "X" asm() register

constraint - which instructs the compiler to use "Any operand

whatsoever".

For an architecture like Blackfin with such a restrictive register set, this

seems  like a dangerous and unpredictable thing to do.

Propose that we change the test to be unsupported on Blackfin.

 

--- Mike Frysinger                                           2010-07-15 11:16:53

sounds fine

 

--- David Gibson                                             2010-07-16 05:36:25

Testcase fixed, passed to Vivi for validation.

 

--- Vivi Li                                                  2010-07-19 02:49:05

OK, close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes