drm/radeon/r600_cs: Build failures with GCC 16

Brahmajit Das listout at listout.xyz
Mon Aug 11 09:08:47 UTC 2025


On 11.08.2025 10:48, Christian König wrote:
...snip...
> 
> Looks valid to me. Potentially just copy&pasted from some older HW generation and not correctly adjusted for r600.
> 
> But the HW handled here is >15 years and the code easily >10 years old. I'm really wondering why gcc only complains now?
> 
> Regards,
> Christian.
> 
> > 
> > Would really appreciate some feedback.
> > (CC-ed Dave)
> > 
> 
That option -Werror=unused-but-set-variable= is new in GCC 16, maybe
that's why it was never caught before?

Would you like me to send a patch?
-- 
Regards,
listout


More information about the amd-gfx mailing list