public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/44873]  New: array function not fully defined
@ 2010-07-08 14:53 zeccav at gmail dot com
  2010-07-24 18:38 ` [Bug testsuite/44873] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zeccav at gmail dot com @ 2010-07-08 14:53 UTC (permalink / raw)
  To: gcc-bugs

In test case retarray.f90 at line 10 the array TEST is not fully defined.
I propose to put TEST=0 at line 31 and FOO=0 at line 39.
Best regards
Vittorio Zecca


-- 
           Summary: array function not fully defined
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zeccav at gmail dot com
  GCC host triplet: x86_64-unknown-linux-gnu


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


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

* [Bug testsuite/44873] array function not fully defined
  2010-07-08 14:53 [Bug testsuite/44873] New: array function not fully defined zeccav at gmail dot com
@ 2010-07-24 18:38 ` pinskia at gcc dot gnu dot org
  2010-07-25 22:14 ` zeccav at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-07-24 18:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-07-24 18:38 -------
>In test case retarray.f90 at line 10 the array TEST is not fully defined.

Yes it is not fully initialized but should that matter?  The testcase does not
depend on those elements.


-- 


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


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

* [Bug testsuite/44873] array function not fully defined
  2010-07-08 14:53 [Bug testsuite/44873] New: array function not fully defined zeccav at gmail dot com
  2010-07-24 18:38 ` [Bug testsuite/44873] " pinskia at gcc dot gnu dot org
@ 2010-07-25 22:14 ` zeccav at gmail dot com
  2010-07-25 22:25 ` jvdelisle at gcc dot gnu dot org
  2010-07-25 22:45 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: zeccav at gmail dot com @ 2010-07-25 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from zeccav at gmail dot com  2010-07-25 22:14 -------
Subject: Re:  array function not fully defined

The undefined elements of test are accessed at instruction "a =
test(6, 5) - a" however. It is just that the code probably violates
any Fortran standard. If the test case is fine with you it is fine
with me, anyway.


-- 


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


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

* [Bug testsuite/44873] array function not fully defined
  2010-07-08 14:53 [Bug testsuite/44873] New: array function not fully defined zeccav at gmail dot com
  2010-07-24 18:38 ` [Bug testsuite/44873] " pinskia at gcc dot gnu dot org
  2010-07-25 22:14 ` zeccav at gmail dot com
@ 2010-07-25 22:25 ` jvdelisle at gcc dot gnu dot org
  2010-07-25 22:45 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-07-25 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2010-07-25 22:24 -------
Generally, the gfortran testsuite test cases are testing specific features and
not necessarily strict Standard compliance.  There is no need to submit PRs for
test cases unless they fail unexpectedly or the specific behavior being tested
is accepting wrong results.  That does happen occasionally, but I think in this
case its a "does not matter"

Also, the compiler is required to detect certain wrong programs, but a lot of
the time, it is up to the programmer to get it right or suffer the undefined
behavior.


-- 


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


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

* [Bug testsuite/44873] array function not fully defined
  2010-07-08 14:53 [Bug testsuite/44873] New: array function not fully defined zeccav at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-25 22:25 ` jvdelisle at gcc dot gnu dot org
@ 2010-07-25 22:45 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-07-25 22:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2010-07-25 22:45 -------
Closing


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2010-07-25 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08 14:53 [Bug testsuite/44873] New: array function not fully defined zeccav at gmail dot com
2010-07-24 18:38 ` [Bug testsuite/44873] " pinskia at gcc dot gnu dot org
2010-07-25 22:14 ` zeccav at gmail dot com
2010-07-25 22:25 ` jvdelisle at gcc dot gnu dot org
2010-07-25 22:45 ` jvdelisle at gcc dot gnu dot 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).