[Bug c++/34022] Rvalue references and std::forward() broken with built-in types

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 8 02:01:00 GMT 2007



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-11-08 02:01 -------
<<cleanup_point <<< Unknown tree: expr_stmt
  bar ((char &) &TARGET_EXPR <D.3338, *forward ((char &) (char *) t)>) >>>
>>;

vs:
<<cleanup_point <<< Unknown tree: expr_stmt
  bar ((struct S &) (struct S *) forward ((struct S &) (struct S *) t)) >>>
>>;


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-08 02:01:11
               date|                            |


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



More information about the Gcc-bugs mailing list