public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/36553] New: [4.4 Regression] regression due to revision 136821 Date: Tue, 17 Jun 2008 16:44:00 -0000 [thread overview] Message-ID: <bug-36553-12313@http.gcc.gnu.org/bugzilla/> (raw) At revision 136821 the following code: !module CHECK_SEM ! Submitted by Walt Brainerd, The Fortran Company ! GNU Fortran 95 (GCC 4.1.0 20050322 (experimental)) ! Windows XP ! Produces "a.exe has encountered a problem" window. ! Same problem if comments are removed so that ! the function is in a module. ! contains function CHECK_INTEGER4_RANK1 (EXPECTED, COMPUTED) integer(4), dimension(:), intent(in) :: EXPECTED, COMPUTED logical :: CHECK_INTEGER4_RANK1 CHECK_INTEGER4_RANK1 = all(COMPUTED == EXPECTED) end function CHECK_INTEGER4_RANK1 !end module CHECK_SEM program array_test !use CHECK_SEM logical :: CHECK_INTEGER4_RANK1 integer,dimension(-1:1,-1:1) :: mis1=1.1 logical,dimension(-1:1,-1:1) :: ml2=.true. print *, CHECK_INTEGER4_RANK1 (sum(mis1,dim=1,mask=ml2), (/8,5,12/)) end program array_test gives a "Bus error". The executable runs fine if I revert the patch. -- Summary: [4.4 Regression] regression due to revision 136821 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36553
next reply other threads:[~2008-06-17 16:44 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-06-17 16:44 dominiq at lps dot ens dot fr [this message] 2008-06-17 19:34 ` [Bug fortran/36553] " pault at gcc dot gnu dot org 2008-06-17 22:05 ` dominiq at lps dot ens dot fr 2008-06-18 0:19 ` jvdelisle at gcc dot gnu dot org 2008-06-18 4:28 ` jvdelisle at gcc dot gnu dot org 2008-06-18 4:57 ` jvdelisle at gcc dot gnu dot org 2008-06-18 5:34 ` burnus at gcc dot gnu dot org 2008-06-18 7:16 ` [Bug fortran/36553] Missing interface not detected in call to same file function pault at gcc dot gnu dot org 2009-04-10 20:50 ` dfranke at gcc dot gnu dot org 2009-04-10 22:41 ` dominiq at lps dot ens dot fr 2010-05-23 19:06 ` dfranke at gcc dot gnu dot org 2010-05-23 22:34 ` dfranke at gcc dot gnu dot org 2010-05-24 8:31 ` paul dot richard dot thomas at gmail dot com 2010-05-24 10:44 ` dfranke 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=bug-36553-12313@http.gcc.gnu.org/bugzilla/ \ --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).