public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40149]  New: variable length still 6 ???
@ 2009-05-14 17:10 plivings at arb dot ca dot gov
  2009-05-14 17:46 ` [Bug fortran/40149] " kargl at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: plivings at arb dot ca dot gov @ 2009-05-14 17:10 UTC (permalink / raw)
  To: gcc-bugs

Failed on assigning values to an array in a simple loop with the following
structure:

" IARRAY2                   = 0
  DO I = 2, 341
     IARRAY2 = IARRAY2 + 1
     PBLJARRAYPT(I,I,NCSP0)       = IARRAY2
  ENDDO
"  

Is the length of variables still 6 nowadays?


-- 
           Summary: variable length still 6 ???
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: plivings at arb dot ca dot gov


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


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

* [Bug fortran/40149] variable length still 6 ???
  2009-05-14 17:10 [Bug fortran/40149] New: variable length still 6 ??? plivings at arb dot ca dot gov
@ 2009-05-14 17:46 ` kargl at gcc dot gnu dot org
  2009-06-12 17:17 ` bdavis at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-05-14 17:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from kargl at gcc dot gnu dot org  2009-05-14 17:46 -------
Fortran bug reports are never given a Severity of Blocker.
That value is reserved for problems with C/C++.

Please attach the smallest compilable example that
exhibits the problem and provide the exact command line
used.  Your small code snippet and your interpretation of
the problem is insufficient.

I just noticed that you reported the problem against 
4.1.2.  Updating to 4.4.0 and 4.3.x is  advised.

Finally, no 6 characters is no longer the limit and
it has never been the limit in gfortran.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
             Status|UNCONFIRMED                 |WAITING
           Priority|P3                          |P4


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


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

* [Bug fortran/40149] variable length still 6 ???
  2009-05-14 17:10 [Bug fortran/40149] New: variable length still 6 ??? plivings at arb dot ca dot gov
  2009-05-14 17:46 ` [Bug fortran/40149] " kargl at gcc dot gnu dot org
@ 2009-06-12 17:17 ` bdavis at gcc dot gnu dot org
  2009-06-12 18:03 ` plivings at arb dot ca dot gov
  2009-06-12 18:08 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2009-06-12 17:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bdavis at gcc dot gnu dot org  2009-06-12 17:17 -------
i created a compilable example from the code snippet given:

      INTEGER PBLJARRAYPT(341,341,1)
      INTEGER NCSP0,IARRAY2,I
      NCSP0 = 1
      IARRAY2 = 0
      DO I = 2, 341
         IARRAY2 = IARRAY2 + 1
         PBLJARRAYPT(I,I,NCSP0) = IARRAY2
      END DO
      PRINT*,'PBLJARRAYPT(2,2,1) = ',PBLJARRAYPT(2,2,1)
      PRINT*,'PBLJARRAYPT(3,3,1) = ',PBLJARRAYPT(3,3,1)
      PRINT*,'PBLJARRAYPT(341,341,1) = ',PBLJARRAYPT(341,341,1)

      END


When ran, it gives

 PBLJARRAYPT(2,2,1) =            1
 PBLJARRAYPT(3,3,1) =            2
 PBLJARRAYPT(341,341,1) =          340

which looks fine to me.

Unless more info is forthcoming on reproducing this bug, I think we should
close it with no further action taken.  

It's only been open a month, doesn't hurt to let it sit for another :)

--bud


-- 


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


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

* [Bug fortran/40149] variable length still 6 ???
  2009-05-14 17:10 [Bug fortran/40149] New: variable length still 6 ??? plivings at arb dot ca dot gov
  2009-05-14 17:46 ` [Bug fortran/40149] " kargl at gcc dot gnu dot org
  2009-06-12 17:17 ` bdavis at gcc dot gnu dot org
@ 2009-06-12 18:03 ` plivings at arb dot ca dot gov
  2009-06-12 18:08 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: plivings at arb dot ca dot gov @ 2009-06-12 18:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from plivings at arb dot ca dot gov  2009-06-12 18:03 -------
Subject: RE:  variable length still 6 ???

Bud,

Thanks for your response to my earlier bug report, and sorry for not
informing you earlier that the bug was apparently related to the
computer OS-Compiler mismatch.  I had the OS-compiler changed to 64-bit
from 32-bit, and the problem disappeared.

Thanks again for your attention and time.
With best regards,
Paul

-----Original Message-----
From: bdavis at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org] 
Sent: Friday, June 12, 2009 10:17 AM
To: Livingstone, Paul@ARB
Subject: [Bug fortran/40149] variable length still 6 ???



------- Comment #2 from bdavis at gcc dot gnu dot org  2009-06-12 17:17
-------
i created a compilable example from the code snippet given:

      INTEGER PBLJARRAYPT(341,341,1)
      INTEGER NCSP0,IARRAY2,I
      NCSP0 = 1
      IARRAY2 = 0
      DO I = 2, 341
         IARRAY2 = IARRAY2 + 1
         PBLJARRAYPT(I,I,NCSP0) = IARRAY2
      END DO
      PRINT*,'PBLJARRAYPT(2,2,1) = ',PBLJARRAYPT(2,2,1)
      PRINT*,'PBLJARRAYPT(3,3,1) = ',PBLJARRAYPT(3,3,1)
      PRINT*,'PBLJARRAYPT(341,341,1) = ',PBLJARRAYPT(341,341,1)

      END


When ran, it gives

 PBLJARRAYPT(2,2,1) =            1
 PBLJARRAYPT(3,3,1) =            2
 PBLJARRAYPT(341,341,1) =          340

which looks fine to me.

Unless more info is forthcoming on reproducing this bug, I think we
should
close it with no further action taken.  

It's only been open a month, doesn't hurt to let it sit for another :)

--bud


-- 


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


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

* [Bug fortran/40149] variable length still 6 ???
  2009-05-14 17:10 [Bug fortran/40149] New: variable length still 6 ??? plivings at arb dot ca dot gov
                   ` (2 preceding siblings ...)
  2009-06-12 18:03 ` plivings at arb dot ca dot gov
@ 2009-06-12 18:08 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-06-12 18:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2009-06-12 18:08 -------
Closing


-- 

jvdelisle at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-06-12 18:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14 17:10 [Bug fortran/40149] New: variable length still 6 ??? plivings at arb dot ca dot gov
2009-05-14 17:46 ` [Bug fortran/40149] " kargl at gcc dot gnu dot org
2009-06-12 17:17 ` bdavis at gcc dot gnu dot org
2009-06-12 18:03 ` plivings at arb dot ca dot gov
2009-06-12 18:08 ` 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).