public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57729] New: Always inline: indirect function call with a yet undetermined callee
@ 2013-06-26 15:05 marxin.liska at gmail dot com
  0 siblings, 0 replies; only message in thread
From: marxin.liska at gmail dot com @ 2013-06-26 15:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57729
           Summary: Always inline: indirect function call with a yet
                    undetermined callee
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin.liska at gmail dot com

Latest firefox could not be compiled due to always inline error.

/ssd/firefox/js/src/jsapi.h: In function ‘js::regexp_exec(JSContext*, unsigned
int, JS::Value*)’:
/ssd/firefox/js/src/builtin/RegExp.cpp:307:1: error: inlining failed in call to
always_inline ‘IsRegExp(JS::Value const&)’: indirect function call with a yet
undetermined callee
 IsRegExp(const Value &v)
 ^
In file included from /ssd/firefox/js/src/jsprvtd.h:24:0,
                 from /ssd/firefox/js/src/builtin/RegExp.h:10,
                 from /ssd/firefox/js/src/builtin/RegExp.cpp:7:
/ssd/firefox/js/src/jsapi.h:707:5: error: called from here
     if (Test(thisv))
     ^

Code snippet:
JS_ALWAYS_INLINE bool
IsRegExp(const Value &v)
{
    return v.isObject() && v.toObject().is<RegExpObject>();
}


JSBool
js::regexp_exec(JSContext *cx, unsigned argc, Value *vp)
{
    CallArgs args = CallArgsFromVp(argc, vp);
    return CallNonGenericMethod(cx, IsRegExp, regexp_exec_impl, args);
}

I found out that problematic commit is: 200179.
>From gcc-bugs-return-425214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 26 15:06:50 2013
Return-Path: <gcc-bugs-return-425214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3265 invoked by alias); 26 Jun 2013 15:06:50 -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 3227 invoked by uid 48); 26 Jun 2013 15:06:47 -0000
From: "marxin.liska at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57729] Always inline: indirect function call with a yet undetermined callee
Date: Wed, 26 Jun 2013 15:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin.liska at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-57729-4-MROCGEwNfn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57729-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57729-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg01593.txt.bz2
Content-length: 237

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

--- Comment #1 from Martin Liška <marxin.liska at gmail dot com> ---
Created attachment 30379
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30379&action=edit
RegExp.cpp
>From gcc-bugs-return-425215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 26 15:10:49 2013
Return-Path: <gcc-bugs-return-425215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6016 invoked by alias); 26 Jun 2013 15:10:49 -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 5972 invoked by uid 48); 26 Jun 2013 15:10:42 -0000
From: "marxin.liska at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57729] Always inline: indirect function call with a yet undetermined callee
Date: Wed, 26 Jun 2013 15:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin.liska at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-57729-4-xpXBIbMfCU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57729-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57729-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg01594.txt.bz2
Content-length: 234

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

--- Comment #2 from Martin Liška <marxin.liska at gmail dot com> ---
Created attachment 30380
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30380&action=edit
jsapi.h
>From gcc-bugs-return-425216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 26 15:16:54 2013
Return-Path: <gcc-bugs-return-425216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10922 invoked by alias); 26 Jun 2013 15:16:54 -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 10880 invoked by uid 48); 26 Jun 2013 15:16:51 -0000
From: "markus at trippelsdorf dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57729] Always inline: indirect function call with a yet undetermined callee
Date: Wed, 26 Jun 2013 15:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-57729-4-UCcPyHYMNK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57729-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57729-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-06/txt/msg01595.txt.bz2
Content-length: 417

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot de

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
See Bug 57698.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-26 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 15:05 [Bug c++/57729] New: Always inline: indirect function call with a yet undetermined callee marxin.liska at gmail dot com

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).