This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27445] create_tmp_var_raw (gimplify.c) inadventently asserts 'volatile' on temps
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2006 01:17:03 -0000
- Subject: [Bug middle-end/27445] create_tmp_var_raw (gimplify.c) inadventently asserts 'volatile' on temps
- References: <bug-27445-9975@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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