This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/63332] New: problem with VERIFY in ext/random/k_distribution/operators/serialize.cc execution test


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63332

            Bug ID: 63332
           Summary: problem with VERIFY in
                    ext/random/k_distribution/operators/serialize.cc
                    execution test
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: richard at netbsd dot org

Created attachment 33531
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33531&action=edit
testsuite module updated with couts showing issue is with VERIFY

Working with gcc49 on SunOS 5.11 i386 (Omnios) and pkgsrc (32-bit trunk)
I came across the following failure:

FAIL: ext/random/k_distribution/operators/serialize.cc execution test

scratching my head a bit, I added some outputs and found that the problem is
with VERIFY and not with the functions being tested.

here is my output with the attached (modified) serialize.cc:
$ ./a.out
u: 2.00000000000000000e+00 1.50000000000000000e+00 3.00000000000000000e+00
2.00000000000000000e+00 5.00000000000000000e-01 0.00000000000000000e+00
1.00000000000000000e+00 1 -1.08681804426135680e+00 3.00000000000000000e+00
5.00000000000000000e-01 0.00000000000000000e+00 1.00000000000000000e+00 1
1.89131873404367808e-01
v: 2.00000000000000000e+00 1.50000000000000000e+00 3.00000000000000000e+00
2.00000000000000000e+00 5.00000000000000000e-01 0.00000000000000000e+00
1.00000000000000000e+00 1 -1.08681804426135680e+00 3.00000000000000000e+00
5.00000000000000000e-01 0.00000000000000000e+00 1.00000000000000000e+00 1
1.89131873404367808e-01
Assertion failed: u == v, file serialize.cc, line 48, function test01
Abort (core dumped)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]