This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instantiate some objects
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Jul 2017 14:01:50 +0000
- Subject: [Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instantiate some objects
- Auto-submitted: auto-generated
- References: <bug-81073-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073
--- Comment #12 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Thanks, (In reply to Jason Merrill from comment #9)
> Created attachment 41711 [details]
> patch to error on progmem with dynamic init
>
> Does this do what you had in mind?
Hi, thanks. Used to implement PR81407.
FYI, problem above was that the test was inside "if DECL_INITIAL == NULL".
When moved out of that condition, it works as expected.