diff options
author | Richard Biener <rguenther@suse.de> | 2025-02-03 14:27:01 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-02-04 08:34:48 +0100 |
commit | a55e14b239181381204c615335929b3316d75370 (patch) | |
tree | af3264e2dee4eec6af19244721537afbda50aad7 /libgfortran/generated/pow_m8_m8.c | |
parent | d3627c78be116ef1941f6819d57c237e71c39444 (diff) | |
download | gcc-a55e14b239181381204c615335929b3316d75370.zip gcc-a55e14b239181381204c615335929b3316d75370.tar.gz gcc-a55e14b239181381204c615335929b3316d75370.tar.bz2 |
lto/113207 - fix free_lang_data_in_type
When we process function types we strip volatile and const qualifiers
after building a simplified type variant (which preserves those).
The qualified type handling of both isn't really compatible, so avoid
bad interaction by swapping this, first dropping const/volatile
qualifiers and then building the simplified type thereof.
PR lto/113207
* ipa-free-lang-data.cc (free_lang_data_in_type): First drop
const/volatile qualifiers from function argument types,
then build a simplified type.
* gcc.dg/pr113207.c: New testcase.
Diffstat (limited to 'libgfortran/generated/pow_m8_m8.c')
0 files changed, 0 insertions, 0 deletions