public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/65751] New: Bogus &L in error message
@ 2015-04-13  9:12 burnus at gcc dot gnu.org
  2015-04-13 13:46 ` [Bug fortran/65751] " dominiq at lps dot ens.fr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2015-04-13  9:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65751

            Bug ID: 65751
           Summary: Bogus &L in error message
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

Wrong since r194622.

I am not sure whether it should be backported or not; backporting kind of
breaks the translation work - but otherwise, it is trivial.

diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c
index ab6f7a5..58e4cab 100644
--- a/gcc/fortran/expr.c
+++ b/gcc/fortran/expr.c
@@ -3632,7 +3632,7 @@ gfc_check_pointer_assign (gfc_expr *lvalue, gfc_expr
*rvalue)
               || (lvalue->ts.type == BT_DERIVED
                   && (lvalue->ts.u.derived->attr.is_bind_c
                       || lvalue->ts.u.derived->attr.sequence))))
-       gfc_error ("Data-pointer-object &L must be unlimited "
+       gfc_error ("Data-pointer-object must be unlimited "
                   "polymorphic, a sequence derived type or of a "
                   "type with the BIND attribute assignment at %L "
                   "to be compatible with an unlimited polymorphic "


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-05  9:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13  9:12 [Bug fortran/65751] New: Bogus &L in error message burnus at gcc dot gnu.org
2015-04-13 13:46 ` [Bug fortran/65751] " dominiq at lps dot ens.fr
2015-06-04 19:14 ` tkoenig at gcc dot gnu.org
2015-06-05  9:58 ` manu at gcc dot gnu.org

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