https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #6)
> You can achieve result with the following command with C-Vise:
> cvise -c 'timeout 5 g++ -std=c++14  -march=znver3 -O2 -fno-strict-aliasing
> -Wall ArithmeticSubtermGeneralization.ii -w -Wfatal-errors 2>&1 | grep
> hashtab_chk_error && timeout 5 g++-13 ArithmeticSubtermGeneralization.ii -c
> -Wfatal-errors -w' ArithmeticSubtermGeneralization.ii
> 
> I'm currently reducing that right now..

No that is different because it only says if it reproduces with those specific
options which it does not have to.

timeout 5 g++ -std=c++14 -w -Wfatal-errors -fno-checking && (( timeout 5 g++
-std=c++14 ArithmeticSubtermGeneralization.ii -w -Wfatal-errors 2>&1 | grep 
hashtab_chk_error) || (timeout 5 g++ -std=c++14  -march=znver3 -O2
-fno-strict-aliasing -Wall ArithmeticSubtermGeneralization.ii -w -Wfatal-errors
2>&1 | grep  hashtab_chk_error))

is the more correct way of reducing it similar to my script :).

Reply via email to