[Bug middle-end/30165] Gimplifier does not produce valid gimple for &(int)real_val

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 9 15:58:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list