public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/25046] MASK and ARRAY arguments of PRODUCT must have conformant shapes
Date: Sat, 26 Nov 2005 18:54:00 -0000	[thread overview]
Message-ID: <20051126185432.27316.qmail@sourceware.org> (raw)
In-Reply-To: <bug-25046-6642@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1681 bytes --]



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2005-11-26 18:54 -------
## gfortran ##
foo.f90: In function ‘s1’:
foo.f90:2: internal compiler error: Segmentation fault

## g95 ##
In file foo.f90:5

  write(6,*) PRODUCT(A,B)
                        1
Error: 'mask' argument of 'product' intrinsic at (1) must be conformable with
ARRAY parameter

## Intel ##
fortcom: Error: foo.f90, line 5: The shapes of the arguments do not conform.  
[PRODUCT]
  write(6,*) PRODUCT(A,B)
-----------------------^
fortcom: Warning: foo.f90, line 2: This name has not been given an explicit
type.   [N]
SUBROUTINE S1(N)
--------------^
fortcom: Info: foo.f90, line 2: This variable has not been used.   [N]
SUBROUTINE S1(N)
--------------^
compilation aborted for foo.f90 (code 1)
## Sun ##

  write(6,*) PRODUCT(A,B)
             ^
"foo.f90", Line = 5, Column = 14: ERROR: No specific intrinsic exists for the
intrinsic call "PRODUCT".


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-26 18:54:32
               date|                            |
            Summary|better diagnostic needed    |MASK and ARRAY arguments of
                   |                            |PRODUCT must have conformant
                   |                            |shapes


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


  reply	other threads:[~2005-11-26 18:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-26 17:44 [Bug fortran/25046] New: better diagnostic needed jv244 at cam dot ac dot uk
2005-11-26 18:54 ` fxcoudert at gcc dot gnu dot org [this message]
2006-02-04 22:04 ` [Bug fortran/25046] MASK and ARRAY arguments of PRODUCT must have conformant shapes tkoenig at gcc dot gnu dot org
2006-02-04 22:06 ` pinskia at gcc dot gnu dot org
2006-02-05  0:14 ` tkoenig at gcc dot gnu dot org
2006-02-05  0:16 ` tkoenig at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051126185432.27316.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).