-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dhrystone.c:20:1: error: return type defaults to 'int' [-Wimplicit-int] #560
Comments
I ran into this same problem. I didn't have time to investigate so I just stayed on the old compiler, though I'd prefer to be able to use the latest. |
I tried to supress them however when I supress them and compile, it ran differently than the compiled one with gcc12. |
@pdonahue-ventana I found the problem. The newer compiler is better to vectorize the code as far as I understand. In both cases the march option was |
I switched my compiler from
riscv64-unknown-elf-gcc
version from 12 to 14. However, it causes this errordhrystone.c:20:1: error: return type defaults to 'int' [-Wimplicit-int]
, when I entermake benchmark
in the main folder. I am at this commit in riscv-tests repo. Detailed log is below:The text was updated successfully, but these errors were encountered: