public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38936]  New: F2003: ASSOCIATE construct
@ 2009-01-22 14:00 burnus at gcc dot gnu dot org
  2009-01-22 17:27 ` [Bug fortran/38936] " domob at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-01-22 14:00 UTC (permalink / raw)
  To: gcc-bugs

ASSOCIATE is a nice Fortran 2003 feature. I found the following at
comp.lang.fortran and I want to make sure it gets tested when ASSOCIATE is
implemented. Thus I opened this PR.
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/ebf1e5abedc91cdc

Test case:

implicit none
integer :: x(5), y(5), a(5), i
 x = [13.0, 23.0, 27.0, 0.0, 37.0 ]
 y = [1.0, 3.0, 5.0, 7.0, 11.0 ]
 a = 0.0
ASSOCIATE (z => x + y)
  do i = 1, 5
     a(i) = z(i)*3.0
  end do
END ASSOCIATE
print *, a
end

Using ifort 11, the result is:
42          78          96          21         144


-- 
           Summary: F2003: ASSOCIATE construct
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 20585
             nThis:


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


^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <bug-38936-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-10-12 13:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-22 14:00 [Bug fortran/38936] New: F2003: ASSOCIATE construct burnus at gcc dot gnu dot org
2009-01-22 17:27 ` [Bug fortran/38936] " domob at gcc dot gnu dot org
2009-01-25 10:19 ` tkoenig at gcc dot gnu dot org
2009-10-09 12:08 ` [Bug fortran/38936] F2003: ASSOCIATE construct / improved SELECT TYPE (a=>expr) burnus at gcc dot gnu dot org
2010-05-08 13:24 ` domob at gcc dot gnu dot org
2010-06-10 14:48 ` domob at gcc dot gnu dot org
2010-06-10 16:50 ` domob at gcc dot gnu dot org
2010-08-15 19:46 ` domob at gcc dot gnu dot org
2010-08-15 20:25 ` domob at gcc dot gnu dot org
2010-08-16  8:59 ` domob at gcc dot gnu dot org
2010-08-17  8:20 ` domob at gcc dot gnu dot org
2010-08-17  8:24 ` domob at gcc dot gnu dot org
2010-08-21 16:57 ` domob at gcc dot gnu dot org
2010-08-21 16:59 ` domob at gcc dot gnu dot org
2010-08-26 19:50 ` domob at gcc dot gnu dot org
2010-08-26 19:54 ` domob at gcc dot gnu dot org
2010-09-23  8:38 ` domob at gcc dot gnu dot org
     [not found] <bug-38936-4@http.gcc.gnu.org/bugzilla/>
2010-10-12 13:31 ` domob at gcc dot gnu.org
2010-10-12 13:38 ` domob 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).