Skip to content
Snippets Groups Projects
Commit 345ad67f authored by Iain Buclaw's avatar Iain Buclaw
Browse files

testsuite, d: Fix failing pr110406.d test

At some point during GCC 15 development, the compiler-generated code for
D ModuleInfo support now gets transformed into the following on x86:

    _12 = (uint) &__stop_minfo;
    _13 = (uint) &__start_minfo;
    _14 = (uint) &gdc.dso_slot;
    _15 = {1, _14, _13, _12};
    gdc.dso_initialized = 0;
    MEM <unsigned char[8]> [(void *)&D.1974 + 16B] = {};
    MEM <vector(4) uint> [(void *)&D.1974] = _15;
    _d_dso_registry (&D.1974);

This causes the scan-tree-dump-not test to fail. As ModuleInfo is not
what's being checked for in PR110406, remove its generation altogether.

gcc/testsuite/ChangeLog:

	* gdc.dg/torture/pr110406.d: Add -fno-moduleinfo to dg-options.
parent a0aa30fc
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment