Landing: cb0434704883

Project / Subsystem

gcc / i386

Date

2026-08-27

Author

Sun, Qin

Commit

cb0434704883beff653015f55b01d9efe7e4ab96

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
i386
patch_id
—
commit_hash
cb0434704883beff653015f55b01d9efe7e4ab96
source_type
github
headline
i386: Fix ICE with FP arithmetic units turned off
tldr
Corrects an internal compiler error when floating-point arithmetic units are disabled, particularly when mixing -msoft-float and -mfpmath=387.
author
Sun, Qin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • i386
  • • compiler error
  • • floating-point
discussion_id_link
—
bugzilla_pr
—
date
2026-08-27T00:00:00.000Z

This commit resolves an internal compiler error (ICE) that occurred on the i386 architecture when floating-point arithmetic units were disabled. The issue arose from an incorrect option check in i386-options.cc, particularly when compiling with -msoft-float and -mfpmath=387. The fix ensures that SSE arithmetic is used when 387 is disabled but SSE is available, preventing the ICE.