diff options
author | Javier Miranda <miranda@adacore.com> | 2023-09-19 13:54:28 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-10-10 14:12:28 +0200 |
commit | 85a0ce9086f92ad406bc7093a4a652929bbeb83d (patch) | |
tree | bc4f957b5e146a7928bbf7762a5f9712f9b3b546 /gcc/fold-const.cc | |
parent | a704603d458b1e55b561ddfb4e513581ee863ed6 (diff) | |
download | gcc-85a0ce9086f92ad406bc7093a4a652929bbeb83d.zip gcc-85a0ce9086f92ad406bc7093a4a652929bbeb83d.tar.gz gcc-85a0ce9086f92ad406bc7093a4a652929bbeb83d.tar.bz2 |
ada: Crash processing pragmas Compile_Time_Error and Compile_Time_Warning
gcc/ada/
* sem_attr.adb (Analyze_Attribute): Protect the frontend against
replacing 'Size by its static value if 'Size is not known at
compile time and we are processing pragmas Compile_Time_Warning or
Compile_Time_Errors.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions