aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-08-23 09:44:06 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-09-03 10:16:52 +0200
commit9362abf5e81eb2e6e35f55f36ff8e7a31aef4e9d (patch)
treed0d5a7cbf36e9f2592f0e97fc903040ef1bb6be0 /gcc/fold-const.cc
parent0a862c5af5c603baab8715bbcca6890f77cc59e2 (diff)
downloadgcc-9362abf5e81eb2e6e35f55f36ff8e7a31aef4e9d.zip
gcc-9362abf5e81eb2e6e35f55f36ff8e7a31aef4e9d.tar.gz
gcc-9362abf5e81eb2e6e35f55f36ff8e7a31aef4e9d.tar.bz2
ada: Plug loophole exposed by previous change
The change causes more temporaries to be created at call sites for unaligned actual parameters, thus revealing that the machinery does not properly deal with unconstrained nominal subtypes for them. gcc/ada/ * gcc-interface/trans.cc (create_temporary): Deal with types whose size is self-referential by allocating the maximum size.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions