https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
--- Comment #11 from Dmitriano ---
It was UB in my code, I dereference a pointer to an object that does not exist.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
--- Comment #10 from Martin Sebor ---
With the reduced test case from attachment 51366 I get the same warning:
$ gcc -O2 -S -Wall -std=c++20 -xc++ ListTest.cpp.i
In constructor ‘double_iterator::double_iterator(single_iterator) [with T =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
--- Comment #9 from Martin Sebor ---
Created attachment 51366
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51366=edit
Reduced test case.
Attached is a reduced test case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
--- Comment #8 from Dmitriano ---
(In reply to Dmitriano from comment #7)
> (In reply to Richard Biener from comment #6)
> > It sounds like the usual upcasting of a link-only node which is strictly
> > non-conforming and can also result in TBAA
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
--- Comment #7 from Dmitriano ---
(In reply to Richard Biener from comment #6)
> It sounds like the usual upcasting of a link-only node which is strictly
> non-conforming and can also result in TBAA issues but it's wide-spread.
> Note I didn't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
--- Comment #6 from Richard Biener ---
It sounds like the usual upcasting of a link-only node which is strictly
non-conforming and can also result in TBAA issues but it's wide-spread. Note I
didn't look into the source at all.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
Martin Sebor changed:
What|Removed |Added
Blocks||56456
CC|