public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64
@ 2015-03-20 0:00 msebor at gcc dot gnu.org
2015-03-24 15:30 ` [Bug libstdc++/65480] " redi at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: msebor at gcc dot gnu.org @ 2015-03-20 0:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
Bug ID: 65480
Summary: libstdc++-prettyprinters/libfundts.cc test failures on
powepc64
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
The libstdc++-prettyprinters/libfundts.cc test fails the following assertions
on powerpc64 (all assertions pass on powerpc64le).
FAIL: libstdc++-prettyprinters/libfundts.cc print ab
got =>{_M_manager = @0x10020668: 0x100029b0
<std::experimental::fundamentals_v1::any::_Manager_internal<bool>::_S_manage(std::experimental::fundamentals_v1::any::_Op,
std::experimental::fundamentals_v1::any const*,
std::experimental::fundamentals_v1::any::_Arg*)>, _M_storage = {_M_ptr =
0x10029200, _M_buffer = {__data = "\000\000\000\000\020\002\222", __align =
{<No data fields>}}}}<=
expected =>std::experimental::any containing bool = {[contained value] =
false}<=
FAIL: libstdc++-prettyprinters/libfundts.cc print ai
got =>{_M_manager = @0x10020698: 0x10002b0c
<std::experimental::fundamentals_v1::any::_Manager_internal<int>::_S_manage(std::experimental::fundamentals_v1::any::_Op,
std::experimental::fundamentals_v1::any const*,
std::experimental::fundamentals_v1::any::_Arg*)>, _M_storage = {_M_ptr =
0x610000578, _M_buffer = {__data = "\000\000\000\006\020\000\005x", __align =
{<No data fields>}}}}<=
expected =>std::experimental::any containing int = {[contained value] = 6}<=
FAIL: libstdc++-prettyprinters/libfundts.cc print ap
got =>{_M_manager = @0x100206c8: 0x10002c68
<std::experimental::fundamentals_v1::any::_Manager_internal<void*>::_S_manage(std::experimental::fundamentals_v1::any::_Op,
std::experimental::fundamentals_v1::any const*,
std::experimental::fundamentals_v1::any::_Arg*)>, _M_storage = {_M_ptr = 0x0,
_M_buffer = {__data = "\000\000\000\000\000\000\000", __align = {<No data
fields>}}}}<=
expected =>std::experimental::any containing void * = {[contained value] =
0x0}<=
FAIL: libstdc++-prettyprinters/libfundts.cc print as
got =>{_M_manager = @0x10020710: 0x10002df4
<std::experimental::fundamentals_v1::any::_Manager_internal<std::string>::_S_manage(std::experimental::fundamentals_v1::any::_Op,
std::experimental::fundamentals_v1::any const*,
std::experimental::fundamentals_v1::any::_Arg*)>, _M_storage = {_M_ptr =
0x10041cf8, _M_buffer = {__data = "\000\000\000\000\020\004\034\370", __align =
{<No data fields>}}}}<=
expected =>std::experimental::any containing std::string = {[contained value] =
"stringy"}<=
FAIL: libstdc++-prettyprinters/libfundts.cc print as2
got =>{_M_manager = @0x10020740: 0x10002fe4
<std::experimental::fundamentals_v1::any::_Manager_internal<char
const*>::_S_manage(std::experimental::fundamentals_v1::any::_Op,
std::experimental::fundamentals_v1::any const*,
std::experimental::fundamentals_v1::any::_Arg*)>, _M_storage = {_M_ptr =
0x100065a0, _M_buffer = {__data = "\000\000\000\000\020\000e\240", __align =
{<No data fields>}}}}<=
expected =>std::experimental::any containing const char \* = {\[contained
value\] = 0x[[:xdigit:]]+ "stringiest"}<=
FAIL: libstdc++-prettyprinters/libfundts.cc print am
got =>{_M_manager = @0x10020770: 0x1000313c
<std::experimental::fundamentals_v1::any::_Manager_external<std::map<int,
double, std::less<int>, std::allocator<std::pair<int const, double> > >
>::_S_manage(std::experimental::fundamentals_v1::any::_Op,
std::experimental::fundamentals_v1::any const*,
std::experimental::fundamentals_v1::any::_Arg*)>, _M_storage = {_M_ptr =
0x10041d10, _M_buffer = {__data = "\000\000\000\000\020\004\035\020", __align =
{<No data fields>}}}}<=
expected =>std::experimental::any containing std::map with 3 elements = {[1] =
2, [3] = 4, [5] = 6}<=
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powepc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
@ 2015-03-24 15:30 ` redi at gcc dot gnu.org
2015-03-24 15:35 ` redi at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-03-24 15:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-24
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powepc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
2015-03-24 15:30 ` [Bug libstdc++/65480] " redi at gcc dot gnu.org
@ 2015-03-24 15:35 ` redi at gcc dot gnu.org
2020-12-02 21:38 ` [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64 redi at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-03-24 15:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The code to print the target object is pretty funky, but it seems like it isn't
even being used here; the output is just the raw output you'd get without a
pretty printer.
So why isn't GDB using the StdExpAnyPrinter for the type
std::experimental::fundamentals_v1::any? Hmm.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
2015-03-24 15:30 ` [Bug libstdc++/65480] " redi at gcc dot gnu.org
2015-03-24 15:35 ` redi at gcc dot gnu.org
@ 2020-12-02 21:38 ` redi at gcc dot gnu.org
2020-12-02 21:39 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2020-12-02 21:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
` (2 preceding siblings ...)
2020-12-02 21:38 ` [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64 redi at gcc dot gnu.org
@ 2020-12-02 21:39 ` cvs-commit at gcc dot gnu.org
2020-12-02 21:40 ` redi at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-12-02 21:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:dc2b372ed1b1e9af6db45051cff95478c7616807
commit r11-5683-gdc2b372ed1b1e9af6db45051cff95478c7616807
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Dec 2 21:39:08 2020 +0000
libstdc++: Fix std::any pretty printer [PR 68735]
This fixes errors seen on powerpc64 (big endian only) due to the
printers for std::any and std::experimental::any being unable to find
the manager function.
libstdc++-v3/ChangeLog:
PR libstdc++/65480
PR libstdc++/68735
* python/libstdcxx/v6/printers.py (function_pointer_to_name):
New helper function to get the name of a function from its
address.
(StdExpAnyPrinter.__init__): Use it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
` (3 preceding siblings ...)
2020-12-02 21:39 ` cvs-commit at gcc dot gnu.org
@ 2020-12-02 21:40 ` redi at gcc dot gnu.org
2021-01-11 15:04 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2020-12-02 21:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk. I will probably backport this too.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
` (4 preceding siblings ...)
2020-12-02 21:40 ` redi at gcc dot gnu.org
@ 2021-01-11 15:04 ` cvs-commit at gcc dot gnu.org
2021-01-11 17:44 ` cvs-commit at gcc dot gnu.org
2021-01-11 17:46 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-11 15:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:4fd49da23bf579b84940bd96bf942bd99cfa187a
commit r10-9249-g4fd49da23bf579b84940bd96bf942bd99cfa187a
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Dec 2 21:39:08 2020 +0000
libstdc++: Fix std::any pretty printer [PR 68735]
This fixes errors seen on powerpc64 (big endian only) due to the
printers for std::any and std::experimental::any being unable to find
the manager function.
libstdc++-v3/ChangeLog:
PR libstdc++/65480
PR libstdc++/68735
* python/libstdcxx/v6/printers.py (function_pointer_to_name):
New helper function to get the name of a function from its
address.
(StdExpAnyPrinter.__init__): Use it.
(cherry picked from commit dc2b372ed1b1e9af6db45051cff95478c7616807)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
` (5 preceding siblings ...)
2021-01-11 15:04 ` cvs-commit at gcc dot gnu.org
@ 2021-01-11 17:44 ` cvs-commit at gcc dot gnu.org
2021-01-11 17:46 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-11 17:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:2204b4121fa9cddb89dd52a8a0754a1ae0666efb
commit r8-10720-g2204b4121fa9cddb89dd52a8a0754a1ae0666efb
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Dec 2 21:39:08 2020 +0000
libstdc++: Fix std::any pretty printer [PR 68735]
This fixes errors seen on powerpc64 (big endian only) due to the
printers for std::any and std::experimental::any being unable to find
the manager function.
libstdc++-v3/ChangeLog:
PR libstdc++/65480
PR libstdc++/68735
* python/libstdcxx/v6/printers.py (function_pointer_to_name):
New helper function to get the name of a function from its
address.
(StdExpAnyPrinter.__init__): Use it.
(cherry picked from commit dc2b372ed1b1e9af6db45051cff95478c7616807)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
` (6 preceding siblings ...)
2021-01-11 17:44 ` cvs-commit at gcc dot gnu.org
@ 2021-01-11 17:46 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2021-01-11 17:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65480
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.0 |8.5
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 8.5 and 9.4 and 10.3
The gcc-9 commit didn't show up here but was r9-9172
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-01-11 17:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-20 0:00 [Bug libstdc++/65480] New: libstdc++-prettyprinters/libfundts.cc test failures on powepc64 msebor at gcc dot gnu.org
2015-03-24 15:30 ` [Bug libstdc++/65480] " redi at gcc dot gnu.org
2015-03-24 15:35 ` redi at gcc dot gnu.org
2020-12-02 21:38 ` [Bug libstdc++/65480] libstdc++-prettyprinters/libfundts.cc test failures on powerpc64 redi at gcc dot gnu.org
2020-12-02 21:39 ` cvs-commit at gcc dot gnu.org
2020-12-02 21:40 ` redi at gcc dot gnu.org
2021-01-11 15:04 ` cvs-commit at gcc dot gnu.org
2021-01-11 17:44 ` cvs-commit at gcc dot gnu.org
2021-01-11 17:46 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).