From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1982 invoked by alias); 26 Jun 2013 15:05:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1908 invoked by uid 48); 26 Jun 2013 15:05:02 -0000 From: "marxin.liska at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57729] New: Always inline: indirect function call with a yet undetermined callee Date: Wed, 26 Jun 2013 15:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: 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/msg01592.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57729 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 =E2=80=98js::regexp_exec(JSContext= *, unsigned int, JS::Value*)=E2=80=99: /ssd/firefox/js/src/builtin/RegExp.cpp:307:1: error: inlining failed in cal= l to always_inline =E2=80=98IsRegExp(JS::Value const&)=E2=80=99: indirect functi= on 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(); } JSBool js::regexp_exec(JSContext *cx, unsigned argc, Value *vp) { CallArgs args =3D 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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=3D57729 --- Comment #1 from Martin Li=C5=A1ka --- Created attachment 30379 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D30379&action=3Dedit 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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=3D57729 --- Comment #2 from Martin Li=C5=A1ka --- Created attachment 30380 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D30380&action=3Dedit 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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?id=57729 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markus at trippelsdorf dot de --- Comment #3 from Markus Trippelsdorf --- See Bug 57698.