This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/19472] [4.0 Regression] compiler internal error: in var_ann, at tree-flow-inline.h:34
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2005 21:48:09 -0000
- Subject: [Bug c/19472] [4.0 Regression] compiler internal error: in var_ann, at tree-flow-inline.h:34
- References: <20050116211058.19472.poirierg@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-16 21:48 -------
I think I know what this problem is, it relates to the following inline-asm:
asm( "" :: "m" ((long)x));
if you remove the cast (which is the correct thing to do, we no longer seg fault or cause an ICE).
The problem is we are not marking x as TREE_ADDRESSABLE.
I will look into fixing this.
Really this should be rejected but that is a different bug which cannot be fixed at this point because
there are too many code which does this, even inside gcc (longlong.h). And there is a already a bugzilla
about this.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|tree-optimization |c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19472