This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27445] create_tmp_var_raw (gimplify.c) inadventently asserts 'volatile' on temps
- From: "gary at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2006 16:12:06 -0000
- Subject: [Bug c/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 #3 from gary at intrepid dot com 2006-05-05 16:12 -------
(In reply to comment #1)
> Do you have a testcase this will better understand the problem and to see if
> your patch is correct?
I'm not sure how to demonstrate that there is a problem. I think it
is clear that the author of the function planned on using new_type
instaed of type, and that it is incorrect to assert 'volatile' on
a compiler temporary, but am uncertain as to whether asserting
'volatile' leads to any particular difficulties in the present
compiler. I'm hoping one of the gimplify developers can help
construct a test case, if applicable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27445