]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: target/113156 - Fix ICE due to missing "Save" on -m[long-]double= options.
authorAndrew Pinski <quic_apinski@quicinc.com>
Mon, 15 Jan 2024 09:31:36 +0000 (10:31 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Mon, 15 Jan 2024 09:41:53 +0000 (10:41 +0100)
commitf1b0b1e4454d160564090a4cc1fa649ccefdcb1e
treea18c3d85f1bb6254205913dc5f683b7fbb70ec89
parent8a1927856a10c5ff1b86504c345c8be449b53c30
AVR: target/113156 - Fix ICE due to missing "Save" on -m[long-]double= options.

Multilib options -mdouble= and -mlong-double= are not orthogonal:
TARGET_HANDLE_OPTION = avr-common.cc::avr_handle_option() sets them
such that  sizeof(double) <= sizeof(long double)  is always true.

gcc/
PR target/113156
* config/avr/avr.opt (-mdouble, -mlong-double): Add "Save" flag.
(-mbranch-cost): Set "Optimization" flag.
gcc/config/avr/avr.opt