re PR middle-end/31490 (Compile error section type conflict)