diff options
author | Hongyu Wang <hongyu.wang@intel.com> | 2024-07-26 08:27:01 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2024-07-31 16:56:28 +0800 |
commit | a59c4e496fa916cb9a484a649aa1b4cebd6550f2 (patch) | |
tree | 11212f60106c11e33125c0df30a0832f547379ea /gcc/dwarf2codeview.cc | |
parent | d63b6d8b494483b0049370ff0dfeee0e1d10e54b (diff) | |
download | gcc-a59c4e496fa916cb9a484a649aa1b4cebd6550f2.zip gcc-a59c4e496fa916cb9a484a649aa1b4cebd6550f2.tar.gz gcc-a59c4e496fa916cb9a484a649aa1b4cebd6550f2.tar.bz2 |
i386: Mark target option with optimization when enabled with opt level [PR116065]
When introducing munroll-only-small-loops, the option was marked as
Target Save and added to -O2 default which makes attribute(optimize)
resets target option and causing error when cmdline has O1 and
funciton attribute has O2 and other target options. Mark this option
as Optimization to fix.
gcc/ChangeLog
PR target/116065
* config/i386/i386.opt (munroll-only-small-loops): Mark as
Optimization instead of Save.
gcc/testsuite/ChangeLog
PR target/116065
* gcc.target/i386/pr116065.c: New test.
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions