PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / spellcheck-options-3.c
blob115cef178bd8365c44642b5533e19ed2270256f4
1 /* Verify that we provide a hint if the user misspells an option argument
2 (PR middle-end/77475). */
4 /* { dg-do compile } */
5 /* { dg-options "-mmemcpy-strategy=unroled_looop:8:align" } */
6 /* { dg-error "wrong strategy name 'unroled_looop' specified for option '-mmemcpy_strategy='" "" { target *-*-* } 0 } */
7 /* { dg-message "valid arguments to '-mmemcpy_strategy=' are: \[^\n\r]*; did you mean 'unrolled_loop'?" "" { target *-*-* } 0 } */