[Bug middle-end/27445] create_tmp_var_raw (gimplify.c) inadventently asserts 'volatile' on temps
rth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat May 6 01:17:00 GMT 2006
------- Comment #11 from rth at gcc dot gnu dot org 2006-05-06 01:17 -------
(In reply to comment #9)
> I haven't looked into the rev. history, to see why/when this fix was made,
> but will ask the hypothetical: was this fix made to workaround the
> misbehavior in create_tmp_var_raw()?
One could perhaps argue this, but I would expect that a function named
"raw" would not do anything in the way of preprocessing. That it would
create a variable of exactly the type given.
I'm comfortable leaving the volatile removal in create_tmp_from_val;
that's where the bulk of our temporaries come from anyway.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27445
More information about the Gcc-bugs
mailing list