diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-01-08 21:43:10 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-05-06 03:51:31 -0400 |
commit | 0632f8686633a436f05425f01276f35aa29438c1 (patch) | |
tree | 3758c8f85663ad00b2ffea0c39f484b7725d34fa /gcc/tree-ssa-phiopt.c | |
parent | 55b93bbc2158203b776bf516cba0117208e2f649 (diff) | |
download | gcc-0632f8686633a436f05425f01276f35aa29438c1.zip gcc-0632f8686633a436f05425f01276f35aa29438c1.tar.gz gcc-0632f8686633a436f05425f01276f35aa29438c1.tar.bz2 |
[Ada] Set Raises_CE flag only in Apply_Compile_Time_Constraint_Error
gcc/ada/
* sem_ch4.adb (Analyze_Selected_Component): Remove explicit call
to Set_Raises_Constraint_Error on statically missing component.
* sem_eval.adb (Eval_Arithmetic_Op): Likewise for static
divisions by integer and real zeros.
* sem_util.adb (Apply_Compile_Time_Constraint_Error): Call
Set_Raises_Constraint_Error before exiting early in GNATprove
mode.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions