From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25517 invoked by alias); 30 Dec 2013 17:15:42 -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 25488 invoked by uid 48); 30 Dec 2013 17:15:38 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/59626] [4.9 lto] /usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining Date: Mon, 30 Dec 2013 17:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on cc cf_known_to_work everconfirmed cf_known_to_fail 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-12/txt/msg02407.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59626 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-12-30 CC| |trippels at gcc dot gnu.org Known to work| |4.7.3 Ever confirmed|0 |1 Known to fail| |4.8.3, 4.9.0 --- Comment #1 from Markus Trippelsdorf --- markus@x4 % cat test.i long __readlinkat_alias() __asm__("readlinkat"); __inline __attribute__((__always_inline__))=20 long readlinkat(int p1, const char *p2, char *p3, unsigned long p4) { __readlinkat_alias(); } int main() { long (*b)(int, const char *, char *, unsigned long) =3D readlinkat; return b(0, 0, 0, 0); } (4.7.3 is fine with -std=3Dgnu99) markus@x4 % /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/gcc -std=3Dgnu99 -flto -r -nostdlib test.i -O2 -o /dev/null (4.9.0 fails) markus@x4 % gcc -std=3Dgnu99 -flto -r -nostdlib test.i -O2 -o /dev/null test.i: In function =E2=80=98main=E2=80=99: test.i:3:6: error: inlining failed in call to always_inline =E2=80=98readli= nkat=E2=80=99: recursive inlining long readlinkat(int p1, const char *p2, char *p3, unsigned long p4) { ^ test.i:4:21: error: called from here __readlinkat_alias(); ^ lto-wrapper: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.0/gcc returned 1 exit sta= tus /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/../../../../x86_64-pc-linux-gnu/bin/= ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status markus@x4 % gcc -std=3Dgnu99 -r -nostdlib test.i -O2 -o /dev/null markus@x4 % >>From gcc-bugs-return-438754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 30 17:17:23 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27132 invoked by alias); 30 Dec 2013 17:17:22 -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 27085 invoked by uid 48); 30 Dec 2013 17:17:19 -0000 From: "reichelt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59635] [c++1y] ICE with auto and ... as lambda parameter Date: Mon, 30 Dec 2013 17:17: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: reichelt at gcc dot gnu.org 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: keywords cc cf_known_to_fail 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-12/txt/msg02409.txt.bz2 Content-length: 575 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59635 Volker Reichelt changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code CC| |abutcher at gcc dot gnu.org Known to fail| |4.9.0 --- Comment #1 from Volker Reichelt --- Adam, this looks like your domain, would you mind having a look?