This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30313] [4.1/4.2/4.3 Regression] sizeof of expression including bit-field
- 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: 8 Jan 2007 04:06:17 -0000
- Subject: [Bug c/30313] [4.1/4.2/4.3 Regression] sizeof of expression including bit-field
- References: <bug-30313-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-08 04:06 -------
The problem here is that the type of the component_ref is the same as the int
so when we fold the x.i+0 into x.i, we don't have a NOP_EXPR.
Janis,
Can you do a regression hunt on this bug?
Thanks,
Andrew
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janis at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30313