[#6086] gcc.dg/struct-ret-3.c test fail with bfin-linux-uclibc-gcc

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

[#6086] gcc.dg/struct-ret-3.c test fail with bfin-linux-uclibc-gcc

Submitted By: Vivi Li

Open Date

2010-07-01 07:06:57     Close Date

2010-07-14 23:09:53

Priority:

Medium High     Assignee:

Stuart Henderson

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/struct-ret-3.c test fail with bfin-linux-uclibc-gcc

Details:

 

gcc.dg/struct-ret-3.c test fail with bfin-linux-uclibc-gcc.

 

This is not a regression bug.

 

Bellow is the log:

--

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/struct-ret-3.c    -ansi -pedantic-errors -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column   -lm  -mcpu=bf561-0.5 -o ./struct-ret-3.exe    (timeout = 300)

In file included from /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.dg/struct-ret-3.c:6:^M

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/mman.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'^M

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/mman.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'^M

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/mman.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'^M

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/mman.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'^M

/home/test/work/cruise/temp/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/mman.h:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'^M

compiler exited with status 1

 

FAIL: gcc.dg/struct-ret-3.c (test for excess errors)

--

 

Follow-ups

 

--- Stuart Henderson                                         2010-07-02 11:00:26

this looks fine to me, each of those lines use the "inline" keyword

which should be disabled -ansi.

 

i suggest we update the test to use __inline__ when -ansi is enabled when

__STRICT_ANSI__ is defined.

 

any objections?

 

--- Stuart Henderson                                         2010-07-02 11:14:50

scratch that, it's in the header, so the header should be updated to use

__inline__.

 

--- Mike Frysinger                                           2010-07-02 11:23:32

sounds correct to me

 

--- Mike Frysinger                                           2010-07-02 11:24:51

(especially since i'm the one who added those stubs in the first place)

 

--- Stuart Henderson                                         2010-07-13 04:57:40

Fixed in trunk. v4710.

 

--- Vivi Li                                                  2010-07-14 23:06:20

OK, close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes