[Bug middle-end/27445] create_tmp_var_raw (gimplify.c) inadventently asserts 'volatile' on temps

Andrew Pinski pinskia@physics.uc.edu
Fri May 5 16:39:00 GMT 2006


> 
> 
> 
> ------- Comment #5 from gary at intrepid dot com  2006-05-05 16:37 -------
> (In reply to comment #4)
> > Then the real question is why do you think this is a bug?
> 
> 1. it is a bug to create temporaries and assert 'volatile' on them

Why do you say that?

> 2. there is code in create_tmp_var_raw() that creates a type with
> qualifiers removed, but this new_type is then not used at the
> moment.

I don't think create_tmp_var_raw should remove the quals.

-- Pinski



More information about the Gcc-bugs mailing list