Hi everyone,

This patch fixes PR127624, where a segmentation fault occurs if
-Wunused-local-typedefs is enabled via a pragma mid-function after being
disabled at the function start. The fix lazily allocates cfun->language on
demand.

Bootstrapped and regression tested on x86_64-pc-linux-gnu.

Attached is the patch file.

Attachment: 0001-c-Fix-ICE-with-unused-local-typedefs-and-pragmas-PR1.patch
Description: Binary data

Reply via email to