https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52477

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Resolving as invalid based on comment #3.  The manual does seem to suggest that
this should work:

   "The priorities for constructor and destructor functions are the same as
those specified for namespace-scope C++ objects (see C++ Attributes)."

Let me add a blurb to make clear that the order between C++ ctors and functions
declared attribute constructor is unspecified.

Blurb posted for review:
https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00863.html

Reply via email to