public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/65532] New: [5 Regression] Unexpected error with legacy code (D1MACH)
@ 2015-03-24  0:55 anlauf at gmx dot de
  2015-03-24  2:08 ` [Bug fortran/65532] " anlauf at gmx dot de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: anlauf at gmx dot de @ 2015-03-24  0:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65532

            Bug ID: 65532
           Summary: [5 Regression] Unexpected error with legacy code
                    (D1MACH)
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anlauf at gmx dot de

Created attachment 35119
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35119&action=edit
Bug demo.

Dear all,

after updating to trunk rev. 221607, I found a problem which I reduced
to the attached example.

Commenting out the call to d1mach or commenting out in d1mach the
data statements in lines 21-25 makes the error messages disappear.

Here's the error messages I get:

% gfc-trunk -c gfcbug131.f90
gfcbug131.f90:10:23:

     INTEGER :: diver(4)
                       1
Error: Different shape for array assignment at (1) on dimension 1 (4 and 2)
gfcbug131.f90:8:23:

     INTEGER :: large(4)
                       1
Error: Different shape for array assignment at (1) on dimension 1 (4 and 2)
gfcbug131.f90:11:23:

     INTEGER :: LOG10(4)
                       1
Error: Different shape for array assignment at (1) on dimension 1 (4 and 2)
gfcbug131.f90:9:23:

     INTEGER :: right(4)
                       1
Error: Different shape for array assignment at (1) on dimension 1 (4 and 2)
gfcbug131.f90:7:23:

     INTEGER :: small(4)
                       1
Error: Different shape for array assignment at (1) on dimension 1 (4 and 2)


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

end of thread, other threads:[~2015-03-26 12:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-24  0:55 [Bug fortran/65532] New: [5 Regression] Unexpected error with legacy code (D1MACH) anlauf at gmx dot de
2015-03-24  2:08 ` [Bug fortran/65532] " anlauf at gmx dot de
2015-03-24  2:09 ` dominiq at lps dot ens.fr
2015-03-24  7:44 ` jakub at gcc dot gnu.org
2015-03-24 11:40 ` mikael at gcc dot gnu.org
2015-03-24 13:39 ` mikael at gcc dot gnu.org
2015-03-24 14:09 ` ktkachov at gcc dot gnu.org
2015-03-25  2:54 ` mikael at gcc dot gnu.org
2015-03-25 11:08 ` mikael at gcc dot gnu.org
2015-03-26 13:01 ` mikael 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).