https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403
--- Comment #12 from Hadula, Tomasz ---
> The reduced testcase doesn't have the pattern you describe in
> the description.
Well, of course, I couldn't verify that for sure, because the reduced testcase
was so severely mutilated that I couldn't p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403
--- Comment #11 from Jonathan Wakely ---
(In reply to Richard Biener from comment #10)
> McCpId* pCpId = static_cast(&newCpId);
>
> and it's further use. You can't use an object of McId via a pointer to
> McCpId but you call
>
> pCpId-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403
Richard Biener changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403
--- Comment #9 from Hadula, Tomasz ---
Created attachment 38148
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38148&action=edit
Reduced testcase
I reduced the size of the testcase
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403
--- Comment #8 from Hadula, Tomasz ---
When I compile with devirtualization disabled (i.e. with -fno-devirtualize) the
null pointer check is where it was supposed to be.
Any clue why?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403
--- Comment #7 from Hadula, Tomasz ---
Created attachment 38094
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38094&action=edit
Preprocessed source generated by gcc -v -save-temps
Unfortunately I had to compress it with gzip as the file s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403
--- Comment #6 from Hadula, Tomasz ---
Created attachment 38093
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38093&action=edit
Output from gcc -v -save-temps
Generated by g++ -v -save-temps