------- Comment #1 from rguenth at gcc dot gnu dot org  2007-06-08 10:36 -------
Confirmed.

{
  struct foo x = {.mem1=0, .mem2=-1};

  <<cleanup_point   struct foo x = {.mem1=0, .mem2=-1};>>;
  <<cleanup_point <<< Unknown tree: expr_stmt
  bar (x.mem2 == (TARGET_EXPR <D.2011, {}>).mem2) >>>
>>;
  return <retval> = 0;
}

2.95 used zero for .mem2 initialization.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to fail|                            |3.3.6 4.1.2 4.2.0
      Known to work|                            |2.95.4
   Last reconfirmed|0000-00-00 00:00:00         |2007-06-08 10:36:51
               date|                            |
            Summary|wrong POD type              |[4.1/4.2/4.3 Regression]
                   |initialization with pointer |wrong POD type
                   |to member                   |initialization with pointer
                   |                            |to member


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32245

Reply via email to