------- Comment #7 from manu at gcc dot gnu dot org  2009-02-06 15:46 -------
Still fails in GCC 4.4. My understanding is that this code in fold_builtin_n 

  if (ret)
    {
      ret = build1 (NOP_EXPR, TREE_TYPE (ret), ret);
=>    TREE_NO_WARNING (ret) = 1;
      return ret;
    }

creates a NOP(s), where the NOP tree is marked nowarning. Then, at some moment
later, the nowarning is copied to the tree corresponding to s. In my opinion,
this is the bug: the nowarning bit should not pass to s.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
OtherBugsDependingO|                            |24639
              nThis|                            |
   Last reconfirmed|2006-02-01 04:33:56         |2009-02-06 15:46:39
               date|                            |


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

Reply via email to