diff options
author | Steve Baird <baird@adacore.com> | 2022-10-19 12:42:55 -0700 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-11-08 09:35:00 +0100 |
commit | f2fa41b442ae6b6ab1fbde82d31abcd986b9f1f3 (patch) | |
tree | 5e18471a3d34aee25efb740a4a1c5e58b7ef5851 /gcc/dce.h | |
parent | 270713d3f65243a089f4cdee04cd689422a95530 (diff) | |
download | gcc-f2fa41b442ae6b6ab1fbde82d31abcd986b9f1f3.zip gcc-f2fa41b442ae6b6ab1fbde82d31abcd986b9f1f3.tar.gz gcc-f2fa41b442ae6b6ab1fbde82d31abcd986b9f1f3.tar.bz2 |
ada: Improve handling of declare expressions in deferred-freezing contexts
In some cases where a declare expression occurs in a deferred-freezing
context (e.g., within the default value for a discriminant or for a formal
parameter, or within the expression of an expression function), the compiler
generates a bugbox.
gcc/ada/
* sem_ch3.adb
(Analyze_Object_Declaration): Do not perform expansion actions if
In_Spec_Expression is true.
Diffstat (limited to 'gcc/dce.h')
0 files changed, 0 insertions, 0 deletions