aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/pow_m8_m8.c
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2025-02-01 22:55:22 +1100
committerNathaniel Shead <nathanieloshead@gmail.com>2025-02-04 11:42:29 +1100
commitd3627c78be116ef1941f6819d57c237e71c39444 (patch)
tree625ac38e35439d9ea632d4056519260654151813 /libgfortran/generated/pow_m8_m8.c
parent736e8eef6c0df860f9b0469f9f7cfb8c121a70a7 (diff)
downloadgcc-d3627c78be116ef1941f6819d57c237e71c39444.zip
gcc-d3627c78be116ef1941f6819d57c237e71c39444.tar.gz
gcc-d3627c78be116ef1941f6819d57c237e71c39444.tar.bz2
c++: Improve contracts support in modules [PR108205]
Modules makes some assumptions about types that currently aren't fulfilled by the types created in contracts logic. This patch ensures that exporting inline functions using contracts works again with modules. PR c++/108205 gcc/cp/ChangeLog: * contracts.cc (get_pseudo_contract_violation_type): Give names to generated FIELD_DECLs. (declare_handle_contract_violation): Mark contract_violation type as external linkage. (build_contract_handler_call): Ensure any builtin declarations created here aren't treated as attached to the current module. gcc/testsuite/ChangeLog: * g++.dg/modules/contracts-5_a.C: New test. * g++.dg/modules/contracts-5_b.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'libgfortran/generated/pow_m8_m8.c')
0 files changed, 0 insertions, 0 deletions