[#7374] libgomp.c++/atomic-1.C -O0 execution test fails for SEGV

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

[#7374] libgomp.c++/atomic-1.C -O0 execution test fails for SEGV

Submitted By: Mingquan Pan

Open Date

2012-09-27 04:32:37     Close Date

2012-10-08 05:20:27

Priority:

Medium High     Assignee:

Mingquan Pan

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

BF548     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2012R2

Is this bug repeatable?:

N/A     

Summary: libgomp.c++/atomic-1.C -O0 execution test fails for SEGV

Details:

 

libgomp.c++/atomic-1.C  -O0  execution test fails for SEGV.

 

Running /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/libgomp.c++/c++.exp ...

Executing on host: bfin-uclinux-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/libgomp.c++/atomic-1.C  -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/.. -fmessage-length=0 -fopenmp  -O0  -O2  -Wl,-elf2flt=-s120000  -lstdc++ -lm  -mcpu=bf548-0.4  -o ./atomic-1.exe    (timeout = 300)

spawn bfin-uclinux-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/libgomp.c++/atomic-1.C -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/.. -fmessage-length=0 -fopenmp -O0 -O2 -Wl,-elf2flt=-s120000 -lstdc++ -lm -mcpu=bf548-0.4 -o ./atomic-1.exe^M

PASS: libgomp.c++/atomic-1.C  -O0  (test for excess errors)

Executing on bfin-uclinux: /tmp/atomic-1.exe.20566 {} {}   (timeout = 300)

spawn [open ...]^M

SEGV

XYZ139ZYX

Executing on bfin-uclinux: rm -f  /tmp/atomic-1.exe.20566    (timeout = 300)

spawn [open ...]^M

XYZ0ZYX

Executed ./atomic-1.exe, status 1

SEGV

FAIL: libgomp.c++/atomic-1.C  -O0  execution test

 

 

similar failing cases is listed below:

#########################################

#

# Comparing libgomp-4.3.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-uclinux: libgomp.c++/atomic-1.C  -O0  execution test

bfin-uclinux: libgomp.c++/atomic-1.C  -O1  execution test

bfin-uclinux: libgomp.c++/atomic-1.C  -O2  execution test

bfin-uclinux: libgomp.c++/atomic-1.C  -O3 -fomit-frame-pointer  execution test

bfin-uclinux: libgomp.c++/atomic-1.C  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test

bfin-uclinux: libgomp.c++/atomic-1.C  -O3 -fomit-frame-pointer -funroll-loops  execution test

bfin-uclinux: libgomp.c++/atomic-1.C  -O3 -g  execution test

bfin-uclinux: libgomp.c++/atomic-1.C  -Os  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -O0  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -O1  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -O2  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -O3 -fomit-frame-pointer  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -O3 -fomit-frame-pointer -funroll-loops  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -O3 -g  execution test

bfin-uclinux: libgomp.fortran/appendix-a/a.3.1.f90  -Os  execution test

bfin-uclinux: libgomp.fortran/condinc1.f  -O  execution test

bfin-uclinux: libgomp.fortran/condinc3.f90  -O  execution test

bfin-uclinux: libgomp.fortran/omp_cond1.f  -O  execution test

bfin-uclinux: libgomp.fortran/omp_cond3.F90  -O  execution test

 

 

tested kernel version:

Testing is running on target with following versions:

kernel:    Linux release 3.5.0-ADI-2012R1-pre-00842-g0de3a1e, build #22 Wed Sep 26 21:48:10 CST 2012

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5865)

user-dist: release svn-10809, build #6 Wed Sep 26 21:46:52 CST 2012

 

 

Follow-ups

 

--- Stuart Henderson                                         2012-09-28 12:30:24

This should be fixed.

 

--- Mingquan Pan                                             2012-10-08 06:21:55

Yes, it has no regression now. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes