[#6101] In libstdc++-4.3 test, 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test is unexpectedly pass

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

[#6101] In libstdc++-4.3 test, 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test is unexpectedly pass

Submitted By: Vivi Li

Open Date

2010-07-08 05:21:08     Close Date

2010-08-24 04:08:22

Priority:

Medium High     Assignee:

Steve Kilbane

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2010R1

Is this bug repeatable?:

N/A     

Summary: In libstdc++-4.3 test, 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test is unexpectedly pass

Details:

 

In libstdc++-4.3 test, 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test is unexpectedly pass with bfin-linux-uclibc/bfin-uclinux.

 

--

Executing on host: bfin-uclinux-g++ -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0  -DLOCALEDIR="." -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libstdc++-v3/testsuite/util /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc     ./libtestc++.a -Wl,-elf2flt=-s80000  -lm   -o ./12.exe    (timeout = 600)

spawn bfin-uclinux-g++ -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -DLOCALEDIR="." -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libstdc++-v3/testsuite/util /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc ./libtestc++.a -Wl,-elf2flt=-s80000 -lm -o ./12.exe^M

PASS: 27_io/basic_istream/extractors_arithmetic/char/12.cc (test for excess errors)

Executing on bfin-uclinux: /tmp/12.exe.29920    (timeout = 300)

Executing on bfin-uclinux: rm -f  /tmp/12.exe.29920    (timeout = 300)

Executed ./12.exe, status 0

XPASS: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test

--

 

Follow-ups

 

--- Steve Kilbane                                            2010-07-29 08:17:54

Hmm, interesting. PASS on simulator tests, XPASS on uclinux or linux-uclibc. I'm

guessing this is something to do with lax_strtofp.

 

--- Steve Kilbane                                            2010-08-04 05:30:51

Sigh. lax_strtofp is defined to be "target uses uClibc", which

explains why it's PASS for sim, but XPASS for linux or uclinux.

 

Unfortunately, it's not as simple as just (say) changing the lax_strtofp

condition to not apply to Blackfin, because there are three other tests in

libstdc++ that *do* fail on str-to-float conversions, which shift over from

XFAIL to FAIL if this condition no longer applies.

 

Need to be able to say that this particular test is XFAIL if (lax_strtofp

&& ! bfin-*-*), but TCL's syntax and DejaGnu's directives are defeating

me here.

 

--- Mike Frysinger                                           2010-08-04 12:47:26

but if the lax str-to-float conversion is always working for this test, then

what if we just drop the lax_strtofp condition from this test ?

 

--- Steve Kilbane                                            2010-08-05 01:56:26

I'm okay with that - I was assuming that it might then start failing for other

platforms besides Blackfin (I don't know, either way, if it does/would). If we

don't need to worry about that, then yes - let's just change the test.

 

--- Mike Frysinger                                           2010-08-05 02:51:59

uClibc behavior should be the same across arches

 

--- Steve Kilbane                                            2010-08-05 10:33:04

Fair enough. Okay, done.

 

--- Vivi Li                                                  2010-08-24 04:08:21

OK, close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes