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

--- Comment #51 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Erich Löw from comment #50)
> Q_1
> What would happen if saying (just hypothetically)
> --> All prios in range 0 ... 2^^16 - 1 are allowed
> --> Imho consequence of removing split in reserved and not-reserved prios.

It would be impossible for the compiler and standard library to safely
implement the requirements of the C++ standard. There's a reason we have a
reserved range that user code is not allowed to use. If users were allowed to
use 1-101 then we'd need to reserve negative values for the standard library to
use.

> Q_2
> Without usage of [[gnu::init_priority(xxxxx)].... to what prio maps it?

See Bug 65115

Reply via email to