Bug 89732 - FAIL: experimental/memory_resource/new_delete_resource.cc execution test
Summary: FAIL: experimental/memory_resource/new_delete_resource.cc execution test
Status: RESOLVED DUPLICATE of bug 77691
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 9.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-15 19:47 UTC by John David Anglin
Modified: 2019-05-20 16:14 UTC (History)
1 user (show)

See Also:
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2019-03-15 19:47:36 UTC
spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/test/gnu/gcc/objdir/./gc
c -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src -L/tes
t/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/objd
ir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gnu64/gcc/gcc-9/hppa6
4-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-9/hppa64-hp-hpux11.11/lib/ -isystem /op
t/gnu64/gcc/gcc-9/hppa64-hp-hpux11.11/include -isystem /opt/gnu64/gcc/gcc-9/hppa
64-hp-hpux11.11/sys-include -fchecking=1 -B/test/gnu/gcc/objdir/hppa64-hp-hpux11
.11/./libstdc++-v3/src/.libs -fmessage-length=0 -fno-show-column -ffunction-sect
ions -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++ -I/test/gnu/gcc/objdir/h
ppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/gcc/objd
ir/hppa64-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/lib
supc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/lib
stdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc -include bits/stdc++.h -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/filesystem/.libs -lm -o ./new_delete_resource.exe
PASS: experimental/memory_resource/new_delete_resource.cc (test for excess errors)
Setting LD_LIBRARY_PATH to :/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/../libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/../libgomp/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/../libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/../libgomp/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
spawn [open ...]
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc:130: void test03(): Assertion 'bytes_allocated == max(3, alignof(short))' failed.
FAIL: experimental/memory_resource/new_delete_resource.cc execution test
extra_tool_flags are:
  -include bits/stdc++.h

Revision 269442 was okay.
Comment 1 Jonathan Wakely 2019-03-15 20:50:43 UTC
(In reply to John David Anglin from comment #0)
> Revision 269442 was okay.

Are you sure? Neither the test nor the code it tests have changed since then.

Have you applied the patch from Bug 77691 comment 30? That could cause this (by invalidating the assumption in the test, meaning this test needs to be corrected if we commit that patch).
Comment 2 dave.anglin 2019-03-15 21:19:54 UTC
On 2019-03-15 4:50 p.m., redi at gcc dot gnu.org wrote:
> Have you applied the patch from Bug 77691 comment 30?
I have it installed.
Comment 3 Jonathan Wakely 2019-03-15 21:33:05 UTC
Yup, that would explain the failure then. I'll make the changes to this test to work with that patch.
Comment 4 Jonathan Wakely 2019-05-20 16:14:51 UTC
I'm closing this, since the patch that caused it isn't actually committed.

*** This bug has been marked as a duplicate of bug 77691 ***