This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30165] Gimplifier does not produce valid gimple for &(int)real_val
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2008 15:51:57 -0000
- Subject: [Bug middle-end/30165] Gimplifier does not produce valid gimple for &(int)real_val
- References: <bug-30165-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-09 15:51 -------
So, what is wrong with
MAIN__ ()
{
integer(kind=4) D.862;
integer(kind=4) D.863;
real(kind=4) res;
real(kind=4) t;
static integer(kind=4) options.0[7] = {68, 127, 0, 0, 0, 1, 0};
_gfortran_set_options (7, &options.0);
D.862 = (integer(kind=4)) t;
D.863 = _gfortran_selected_int_kind (&D.862);
res = (real(kind=4)) D.863;
}
(which is unchanged by the patch for PR30142).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30165