This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not
- From: "vz-gcc at zeitlins dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2018 15:48:30 +0000
- Subject: [Bug c++/85091] Compiler generates different code depending on whether -Wnonnull -Woverloaded-virtual given or not
- Auto-submitted: auto-generated
- References: <bug-85091-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85091
--- Comment #32 from Vadim Zeitlin <vz-gcc at zeitlins dot org> ---
(In reply to Martin Liška from comment #31)
> Created attachment 43781 [details]
> Partially reduced test-case
>
> I've got 120KB partially reduced test-case. Any further reduction is not
> much possible. I'm able to reproduce that with -O1 -Woverloaded-virtual.
> It's super-weird issue, any ggc parameters adjustments do not make any
> change.
> I would recommend to create Debian-specific issue and somebody will need to
> investigate which patch is responsible for that.
Thanks Martin! I've created
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894302 for it now, pointing
to this bug and your test case.