From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7634 invoked by alias); 21 Jun 2013 13:07:45 -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 7559 invoked by uid 48); 21 Jun 2013 13:07:40 -0000 From: "marxin.liska at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57208] Latest chromium compilation fails with enabled LTO Date: Fri, 21 Jun 2013 13:07: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: 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: 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/msg01165.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57208 --- Comment #20 from Martin Li=C5=A1ka --- Link to ltrans16.cgraph dump: https://docs.google.com/file/d/0B0pisUJ80pO1c0JTTmR5Z1pQb28/edit?usp=3Dshar= ing >>From gcc-bugs-return-424787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 21 13:10:59 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9579 invoked by alias); 21 Jun 2013 13:10:59 -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 9478 invoked by uid 48); 21 Jun 2013 13:10:49 -0000 From: "marxin.liska at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57038] Latest libreoffice compilation fails with enabled LTO Date: Fri, 21 Jun 2013 13: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: RESOLVED 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: 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/msg01166.txt.bz2 Content-length: 20653 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57038 --- Comment #28 from Martin Li=C5=A1ka --- Gdb instruction dump of ScDocument::CalcAll, place where SIGSEGV was receiv= ed is marked with '>', address: 0x2aaab390c19d=20 + B+ =C2=A60x2aaab390c180 <_ZN10ScDocument7CalcAllEv> push %r15=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c182 <_ZN10ScDocument7CalcAllEv+2> push %r14=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c184 <_ZN10ScDocument7CalcAllEv+4> push %r13=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c186 <_ZN10ScDocument7CalcAllEv+6> push %r12=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c188 <_ZN10ScDocument7CalcAllEv+8> push %rbp=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c189 <_ZN10ScDocument7CalcAllEv+9> mov %rdi,%rbp= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c18c <_ZN10ScDocument7CalcAllEv+12> lea 0x21bc66(%r= ip),%rdi=20 # 0x2aaab3b27df9=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 = =C2=A6 =C2=A60x2aaab390c193 <_ZN10ScDocument7CalcAllEv+19> push %rbx=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c194 <_ZN10ScDocument7CalcAllEv+20> sub $0x18,%rsp= =20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c198 <_ZN10ScDocument7CalcAllEv+24> callq 0x2aaab33c8= af0 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 >=C2=A60x2aaab390c19d <_ZN10ScDocument7CalcAllEv+29> mov 0x1c8(%rbp)= ,%rbx=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1a4 <_ZN10ScDocument7CalcAllEv+36> test %rbx,%rbx= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1a7 <_ZN10ScDocument7CalcAllEv+39> je 0x2aaab390c= 29d <_ZN10ScDocument7CalcAllEv+285>=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1ad <_ZN10ScDocument7CalcAllEv+45> mov (%rbx),%r12= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1b0 <_ZN10ScDocument7CalcAllEv+48> mov 0x8(%rbx),%= rax=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1b4 <_ZN10ScDocument7CalcAllEv+52> test %r12,%r12= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1b7 <_ZN10ScDocument7CalcAllEv+55> je 0x2aaab390c= 1f5 <_ZN10ScDocument7CalcAllEv+117>=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1b9 <_ZN10ScDocument7CalcAllEv+57> mov (%r12,%rax,= 8),%r13=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1bd <_ZN10ScDocument7CalcAllEv+61> test %r13,%r13= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1c0 <_ZN10ScDocument7CalcAllEv+64> je 0x2aaab390c= 1f5 <_ZN10ScDocument7CalcAllEv+117>=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1c2 <_ZN10ScDocument7CalcAllEv+66> sub $0x18,%r13= =20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1c6 <_ZN10ScDocument7CalcAllEv+70> jne 0x2aaab390c= 1d6 <_ZN10ScDocument7CalcAllEv+86>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1c8 <_ZN10ScDocument7CalcAllEv+72> jmp 0x2aaab390c= 1f5 <_ZN10ScDocument7CalcAllEv+117>=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1ca <_ZN10ScDocument7CalcAllEv+74> nopw 0x0(%rax,%r= ax,1)=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1d0 <_ZN10ScDocument7CalcAllEv+80> sub $0x18,%r13= =20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1d4 <_ZN10ScDocument7CalcAllEv+84> je 0x2aaab390c= 1ee <_ZN10ScDocument7CalcAllEv+110>=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1d6 <_ZN10ScDocument7CalcAllEv+86> mov 0x10(%r13),= %rdi=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1da <_ZN10ScDocument7CalcAllEv+90> test %rdi,%rdi= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1dd <_ZN10ScDocument7CalcAllEv+93> je 0x2aaab390c= 1e5 <_ZN10ScDocument7CalcAllEv+101>=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1df <_ZN10ScDocument7CalcAllEv+95> mov (%rdi),%rax= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1e2 <_ZN10ScDocument7CalcAllEv+98> callq *0x18(%rax)= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1e5 <_ZN10ScDocument7CalcAllEv+101> mov 0x18(%r13),= %r13=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1e9 <_ZN10ScDocument7CalcAllEv+105> test %r13,%r13= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1ec <_ZN10ScDocument7CalcAllEv+108> jne 0x2aaab390c= 1d0 <_ZN10ScDocument7CalcAllEv+80>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c1ee <_ZN10ScDocument7CalcAllEv+110> mov (%rbx),%r12= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1f1 <_ZN10ScDocument7CalcAllEv+113> mov 0x8(%rbx),%= rax=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c1f5 <_ZN10ScDocument7CalcAllEv+117> lea 0x238ea4(%r= ip),%rcx=20 # 0x2aaab3b450a0 <_ZN5boost9unordered6detail19prime_list_templateImE5valueE.lto_priv.2744>= =20=20=20=20=20=20 =C2=A6 =C2=A60x2aaab390c1fc <_ZN10ScDocument7CalcAllEv+124> mov $0x28,%esi= =20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c201 <_ZN10ScDocument7CalcAllEv+129> jmp 0x2aaab390c= 206 <_ZN10ScDocument7CalcAllEv+134>=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =C2=A6 =C2=A60x2aaab390c203 <_ZN10ScDocument7CalcAllEv+131> mov %rdx,%rsi= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 =C2=A60x2aaab390c206 <_ZN10ScDocument7CalcAllEv+134> mov %rsi,%rdx= =20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 = =C2=A6 CalcAll called---------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---+ multi-thre Thread 0x2aaaa In: ScDocument::CalcAll=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Line: ?? PC: 0x2aaab390c19d (gdb) nexti 0x00002aaab390c182 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c184 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c186 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c188 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c189 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c18c in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c193 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c194 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c198 in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so 0x00002aaab390c19d in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so Program received signal SIGSEGV, Segmentation fault. 0x00002aaab390c19d in ScDocument::CalcAll() () from /ssd/libreoffice/solver/unxlngx6.pro/lib/libsclo.so (gdb) >>From gcc-bugs-return-424788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 21 13:27:13 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23340 invoked by alias); 21 Jun 2013 13:27:13 -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 22968 invoked by uid 48); 21 Jun 2013 13:27:08 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57631] [patch] spurious warning for avr interrupts with asm labels Date: Fri, 21 Jun 2013 13:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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/msg01167.txt.bz2 Content-length: 1769 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57631 --- Comment #5 from Georg-Johann Lay --- (In reply to pebbles from comment #4) > (In reply to Georg-Johann Lay from comment #3) >> Would you explain what you are trying to achieve? > > For one thing, I'm coding in C++, so the handlers may be mangled to the > wrong symbols unless I tell the compiler what to name them. The warning is > misleading at least in this case. The ISR macro is defined by AVR-LibC. It adds extern "C" to ISR if compiled for C++. Thus, the handlers are not mangled and names like __vector_ are used even if compiled for C++. Moreover, you should not use __vector_ firectly, use the support macros from avr/io.h and avr/interrupt.h. They work for C++. If not, please file a bug report against AVR-LibC. > In C++ it's conventional to place symbols inside namespaces or classes over > prefixing them with underscores. I'm writing a library and would like users > to be able to define the handlers with names and scopes that match the style > conventions of the project. Don't use __vector_ directly; use defines from AVR-LibC like INT0_vect etc. Cf. the AVR-LibC documentation. >> You can name the function __vectorFOO or __vector_my_ISR_function or >> whatever without raising a warning. > > But that requires reading the source of GCC, which I have begun doing but is > usually not a prerequisite for coding. The warning should tell me that > straight out. You should read the documentation of AVR-LibC, of course. You can add documentation parts to the GCC documentation if you find it helpful. However, users typically read the AVR-LibC manual because ISR and the vector names are supplyied by AVR-LibC's av/io.h and avr/interrupt.h.