------- Comment #2 from uleysky at gmail dot com  2008-09-29 02:07 -------
The priority must not be same. The only method to interact constructor function
with main is global variables. It is no reason to initialize global variables
after constructor function. Anyway,

Test ex_t __attribute__ ((init_priority(102)));
void Init() __attribute__ ((constructor(101)));

have no effect.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37667

Reply via email to