------- Comment #6 from fxcoudert at gcc dot gnu dot org  2006-10-02 11:35 
-------
That one is annoying. Reduced testcase is:

      FUNCTION X()
      ENTRY X1
      IF (X .GT. 0) CALL FOO(X)
      END

The error message is:

a.f: In function ‘master.0.x’:
a.f:3: error: invalid operand to binary operator
__result_master.0.xD.914

a.f:3: internal compiler error: verify_stmts failed


And the original tree dump is:

x ()
{
  return master.0.x (0);


x1 ()
{
  return master.0.x (1);


master.0.x (__entry)
{
  real4 __result_master.0.x;
  real4 x.0 [value-expr: __result_master.0.x];

  switch (__entry)
    {
      case 0:;
      goto L.2;
      case 1:;
      goto L.4;
    }
  L.2:;
  L.4:;
  if (x.0 > 0.0)
    {
      foo (&x.0);
    }
  else
    {
      (void) 0;
    }
  return __result_master.0.x;
}


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2006-06-04 15:16:36         |2006-10-02 11:35:36
               date|                            |


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

Reply via email to