aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/git_commit.py
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2025-09-22 13:11:12 -0300
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-10-28 11:24:06 +0100
commit9f88ab6a60cf0222fba4952acff022f3cc5b9ff3 (patch)
tree166679e249e90dab03a90dfe116aba95fbd463b5 /contrib/gcc-changelog/git_commit.py
parent284af1c03d705f3b912732240878c22500307f90 (diff)
downloadgcc-9f88ab6a60cf0222fba4952acff022f3cc5b9ff3.zip
gcc-9f88ab6a60cf0222fba4952acff022f3cc5b9ff3.tar.gz
gcc-9f88ab6a60cf0222fba4952acff022f3cc5b9ff3.tar.bz2
ada: do not Set_Is_Imported on exception names
Exception names don't get the Is_Imported flag set even when they're imported from CPP. With the flag set, we end up referencing an external variable instead of defining the exception data structure as expected, and aspect Import behaves differently from pragma Import. Refrain from calling Set_Is_Imported when analyzing an exception's Import aspect. gcc/ada/ChangeLog: * sem_ch13.adb (Analyze_Aspect_Export_Import): Skip Set_Is_Imported on E_Exception. * sem_prag.adb (Process_Import_Or_Interface): Explain why not Set_Is_Imported.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions