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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Erich Löw from comment #5)
> I found in "7.7 C++-Specific Variable, Function, and Type Attributes" that
> the lowest supported cardinal (indicating highest prio) should be 101.
> 
> I tried to replace all occurrences of 99 with 101 and LATEST compiler 15.0.1
> is as well compiling smoothly tzdb.cc.
> 
> So... passing 2 or more times 99 as prio is maybe the root cause of problem.
> 
> -----------------------------------------------------------------
> 

https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Common-Function-Attributes.html#index-constructor-function-attribute

has:
Note that priorities 0-100 are reserved. 

init_priority attribute should most likely link back to the constructor
function attribute for the description of the priority .

Reply via email to