public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zajec5 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/58092] BEQ (Branch on equal) jumps to wrong address (executes conditional code!)
Date: Wed, 07 Aug 2013 10:42:00 -0000	[thread overview]
Message-ID: <bug-58092-4-30aI2jfbQZ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58092-4@http.gcc.gnu.org/bugzilla/>

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

Rafał Miłecki <zajec5 at gmail dot com> changed:

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

--- Comment #9 from Rafał Miłecki <zajec5 at gmail dot com> ---
Not our bug
>From gcc-bugs-return-427515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Aug 07 10:53:24 2013
Return-Path: <gcc-bugs-return-427515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28059 invoked by alias); 7 Aug 2013 10:53:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27362 invoked by uid 48); 7 Aug 2013 10:52:52 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/58099] [4.8/4.9 Regression] [F03] over-zealous procedure-pointer error checking
Date: Wed, 07 Aug 2013 10:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: janus at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-58099-4-SI6QljEEMy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58099-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58099-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-08/txt/msg00439.txt.bz2
Content-length: 1246

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX099

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |janus at gcc dot gnu.org

--- Comment #8 from janus at gcc dot gnu.org ---
(In reply to janus from comment #7)
> The following patch makes the error go away, but (as expected) causes a
> failure of proc_ptr_result_8.f90 in the testsuite ...

... which can be made up for with this hunk:


Index: gcc/fortran/interface.c
==================================================================--- gcc/fortran/interface.c    (revision 201520)
+++ gcc/fortran/interface.c    (working copy)
@@ -1416,7 +1416,8 @@ gfc_compare_interfaces (gfc_symbol *s1, gfc_symbol
       if (s1->attr.function && s2->attr.function)
     {
       /* If both are functions, check result characteristics.  */
-      if (!check_result_characteristics (s1, s2, errmsg, err_len))
+      if (!check_result_characteristics (s1, s2, errmsg, err_len)
+          || !check_result_characteristics (s2, s1, errmsg, err_len))
         return 0;
     }


  parent reply	other threads:[~2013-08-07 10:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06 12:06 [Bug c/58092] New: " zajec5 at gmail dot com
2013-08-06 12:08 ` [Bug c/58092] " zajec5 at gmail dot com
2013-08-06 12:17 ` zajec5 at gmail dot com
2013-08-06 12:51 ` mikpe at it dot uu.se
2013-08-06 14:43 ` zajec5 at gmail dot com
2013-08-06 16:42 ` mikpe at it dot uu.se
2013-08-06 21:28 ` [Bug target/58092] " zajec5 at gmail dot com
2013-08-07  9:58 ` zajec5 at gmail dot com
2013-08-07 10:41 ` zajec5 at gmail dot com
2013-08-07 10:42 ` zajec5 at gmail dot com [this message]
2013-08-07 13:51 ` zajec5 at gmail dot com

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-58092-4-30aI2jfbQZ@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: link
Be 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).