This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/36795] crash with character allocatable array argument



------- Comment #4 from burnus at gcc dot gnu dot org  2008-07-17 21:12 -------
The problem is the following in matchexp.c:

gfc_get_parentheses (gfc_expr *e)
{
  gfc_expr *e2;

  /* This is a temporary fix, awaiting the patch for various
     other character problems.  The resolution and translation
     of substrings and concatenations are so kludged up that
     putting parentheses around them breaks everything.  */
  if (e->ts.type == BT_CHARACTER && e->ref)
    return e;

If one removes that part, this PR (and the one marked as duplicate) is solved.
I have not checked, whether this still opens Pandora's box.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]