public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/18857] New: MATMUL failing with ALLOCATED matrices, unless base indices given Date: Mon, 06 Dec 2004 18:58:00 -0000 [thread overview] Message-ID: <20041206185831.18857.paulthomas2@wanadoo.fr> (raw) The below fails with CYGWIN_NT_5.1 + Windows XP (SP2) on AMD Athlon XP2600+ (M) assertion "a->base == 0" failed: file "../../../gcc-4.0- 20041205/libgfortran/generated/matmul_r8.c", line 157 Aborted (core dumped) This does not happen on my Athlon XP1700 machine, nor on a PIV. I have built the 20041205 cvs and tried various snapshots, all with the same result. !unless matmul line is substituted program test_matmul INTEGER, parameter :: n=2,m=2 real(kind=8), dimension(:,:),allocatable :: unity,x,w allocate(unity(N,N),x(N,M),w(N,M)) unity(:,1)=(/1,0/) ; x(:,1) =(/1,2/) unity(:,2)=(/0,1/) ; x(:,2) =(/3,4/) w=matmul(unity,x) !crashes !w(1:,1:)=matmul(unity(1:,1:),x(1:,1:)) !does not print *,all(w.eq.w) deallocate(unity,x,w) end program test_matmul -- Summary: MATMUL failing with ALLOCATED matrices, unless base indices given Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paulthomas2 at wanadoo dot fr CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18857
next reply other threads:[~2004-12-06 18:58 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-06 18:58 paulthomas2 at wanadoo dot fr [this message] 2004-12-06 21:29 ` [Bug libfortran/18857] " pinskia at gcc dot gnu dot org 2004-12-08 23:44 ` tobi at gcc dot gnu dot org 2005-04-19 18:51 ` [Bug fortran/18857] " tkoenig at gcc dot gnu dot org 2005-04-25 14:13 ` tobi at gcc dot gnu dot org 2005-04-25 15:35 ` paulthomas2 at wanadoo dot fr 2005-04-25 20:31 ` paulthomas2 at wanadoo dot fr 2005-04-25 20:47 ` Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-04-26 12:56 ` paulthomas2 at wanadoo dot fr 2005-04-29 9:52 ` [Bug libfortran/18857] " paulthomas2 at wanadoo dot fr 2005-04-29 10:29 ` tobi at gcc dot gnu dot org 2005-04-29 14:59 ` paulthomas2 at wanadoo dot fr 2005-04-29 16:34 ` Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-05-24 21:59 ` [Bug libfortran/18857] [4.0 only] " tkoenig at gcc dot gnu dot org 2005-07-08 1:37 ` mmitchel at gcc dot gnu dot org 2005-07-15 20:48 ` cvs-commit at gcc dot gnu dot org 2005-07-15 20:50 ` tkoenig at gcc dot gnu dot org 2005-07-15 20:50 ` 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=20041206185831.18857.paulthomas2@wanadoo.fr \ --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: linkBe 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).