Bug 29 - A microblaze compiled wctomb() fails a unit test.
Summary: A microblaze compiled wctomb() fails a unit test.
Status: RESOLVED INVALID
Alias: None
Product: ELLCC
Classification: Unclassified
Component: ecc (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- normal
Assignee: Richard Pennington
URL:
Depends on:
Blocks: 36
  Show dependency tree
 
Reported: 2012-01-14 06:00 CST by Richard Pennington
Modified: 2017-07-29 10:42 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Pennington 2012-01-14 06:00:30 CST
See test/src/libs/stdlib/001stdlib.c:

PASS: 001stdlib.c:144: Stdlib(Stdlib): L'a' is a one byte multibyte character
FAIL: 001stdlib.c:145: Stdlib(Stdlib): L'a' is 'a'
FAIL: 001stdlib.c:145: Stdlib(Stdlib): L'a' is 'a'
Stdlib unit tests completed
    53 tests run
    1 test failed
../../../../../src/libs/stdlib/000test.c unit tests completed
    53 tests run
    1 test failed
make[4]: *** [check] Error 1
Comment 1 Richard Pennington 2012-01-20 04:32:38 CST
This test fails because it uses a variable length array as the destination. This is really a problem with microblaze handling of variable length arrays.
Comment 2 Richard Pennington 2012-01-20 04:33:20 CST
*** Bug 38 has been marked as a duplicate of this bug. ***
Comment 3 Richard Pennington 2012-01-22 08:21:26 CST
Fixed in revision 2768.
Comment 4 Richard Pennington 2013-08-31 16:50:28 CDT
Reopening:

/home/rich/ellcc/bin/ecc -o c -target microblaze-ellcc-linux  000test.o 001vla.o  -lm
/home/rich/ellcc/bin/qemu-microblaze c   || exit 1
C Test Group VLA in ../../../../../src/lang/c/001vla.c
FAIL: 001vla.c:13: C(VLA): VLA assignment worked 16
FAIL: 001vla.c:13: C(VLA): VLA assignment worked 16
C unit tests completed
    1 tests run
    1 test failed
C unit tests completed
    1 tests run
    1 test failed
    0 tests did not fail as expected
make[4]: *** [check] Error 1
make[4]: Leaving directory `/home/rich/ellcc/test/obj/microblaze/linux/lang/c'
Comment 5 Richard Pennington 2013-10-01 06:23:07 CDT
Magically fixed.
Comment 6 Richard Pennington 2017-07-29 10:39:07 CDT
These bugs are obsolete with the new build and deployment process.
Comment 7 Richard Pennington 2017-07-29 10:42:06 CDT
These bugs are obsolete with the new build and deployment process.