This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]