public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Fortran bootstrap broken
@ 2009-05-18 13:45 Tobias Burnus
  2009-05-18 13:59 ` Richard Guenther
  2009-05-18 14:52 ` Janus Weil
  0 siblings, 2 replies; 7+ messages in thread
From: Tobias Burnus @ 2009-05-18 13:45 UTC (permalink / raw)
  To: gcc; +Cc: Gerald Pfeifer, Janus Weil

Dear Gerald,

> /usr/test/gcc/gcc/fortran/intrinsic.c: In function 'add_sym':
> /usr/test/gcc/gcc/fortran/intrinsic.c:306: error: enum conversion in assignment is invalid in C++

Can you try whether the following patch works? If so, you can
commit it as obvious. (I cannot test/commit it until this evening.)

Tobias

Index: intrinsic.c
===================================================================
--- intrinsic.c (revision 147659)
+++ intrinsic.c (working copy)
@@ -303,7 +303,7 @@
       type = (bt) va_arg (argp, int);
       kind = va_arg (argp, int);
       optional = va_arg (argp, int);
-      intent = va_arg (argp, int);
+      intent = (sym_intent) va_arg (argp, int);

       if (sizing != SZ_NOTHING)
        nargs++;

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <200905181159.n4IBx3La062665@sputnik1.dbai.tuwien.ac.at>]

end of thread, other threads:[~2009-05-18 17:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-18 13:45 Fortran bootstrap broken Tobias Burnus
2009-05-18 13:59 ` Richard Guenther
2009-05-18 14:40   ` Andreas Schwab
2009-05-19  0:28   ` Joseph S. Myers
2009-05-18 14:52 ` Janus Weil
2009-05-18 15:26   ` Janus Weil
     [not found] <200905181159.n4IBx3La062665@sputnik1.dbai.tuwien.ac.at>
2009-05-18 13:21 ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).