------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-30
14:48 -------
Confirmed:
<<cleanup_point return <retval> = (const Foo &) (const Foo *) &TARGET_EXPR
<D.1580, (const Foo)
MIN_EXPR <(int) *b, (int) *a>>>>
why is there a cast to int in the MIN_EXPR.
This causes wrong code.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic, wrong-code
Known to fail| |3.4.0 4.0.0 3.3.2
Known to work| |3.1
Priority|P3 |P2
Last reconfirmed|0000-00-00 00:00:00 |2004-12-30 14:48:58
date| |
Summary|Wrong warning about |[3.3/3.4/4.0 Regression]
|returning a reference to a |Wrong warning about
|temporary |returning a reference to a
| |temporary
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19199