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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is not a GCC bug, 

You need to use -mcmodel=large if you have huge statically allocated arrays.

The default -mcmodel=medium does not support more than 2GB size arrays

See

https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/x86-Options.html#index-mcmodel_003dlarge-3

Reply via email to