From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14825 invoked by alias); 19 Jan 2014 17:27:55 -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 14815 invoked by uid 48); 19 Jan 2014 17:27:51 -0000 From: "nheghathivhistha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/59882] New: dev-cpp/xsd: internal compiler error: Segmentation fault Date: Sun, 19 Jan 2014 17:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nheghathivhistha 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 attachments.created 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: 2014-01/txt/msg02062.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59882 Bug ID: 59882 Summary: dev-cpp/xsd: internal compiler error: Segmentation fault Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: nheghathivhistha at gmail dot com Created attachment 31892 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D31892&action=3Dedit Preprocessed source file - not reduced Current trunk segfaults: x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/dev-cpp/xsd-3.3.0-r1/work/xsd-3.3.0/xsd -save-temps -fPIC -O2 -ggdb -march=3Dnative -mtune=3Dnative -mno-avx -mno-sse4.2 -mno-3dnow -o /var/tmp/portage/dev-cpp/xsd-3.3.0-r1/work/xsd-3.3.0/xsd/cxx/parser/driver-= source.o -c /var/tmp/portage/dev-cpp/xsd-3.3.0-r1/work/xsd-3.3.0/xsd/cxx/parser/driver-= source.cxx /var/tmp/portage/dev-cpp/xsd-3.3.0-r1/work/xsd-3.3.0/xsd/cxx/parser/driver-= source.cxx: In member function =E2=80=98virtual Cult::Types::Fundamental::Void CXX::Parser::{anonymous}::ArgList::traverse(XSDFrontend::SemanticGraph::Com= plex&)=E2=80=99: /var/tmp/portage/dev-cpp/xsd-3.3.0-r1/work/xsd-3.3.0/xsd/cxx/parser/driver-= source.cxx:520:9: internal compiler error: Neopr=C3=A1vn=C4=9Bn=C3=BD p=C5=99=C3=ADstup do pa= m=C4=9Bti (SIGSEGV) traverse (SemanticGraph::Complex& c) ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. I am c-reducing a test case with -O2 -ggdb -fPIC. >>From gcc-bugs-return-440921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jan 19 17:32:23 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16926 invoked by alias); 19 Jan 2014 17:32: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 16895 invoked by uid 48); 19 Jan 2014 17:32:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy Date: Sun, 19 Jan 2014 17:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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 short_desc everconfirmed 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: 2014-01/txt/msg02063.txt.bz2 Content-length: 1027 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-01-19 CC| |uros at gcc dot gnu.org Summary|Improve REE for implicit |ix86_avoid_lea_for_addr is |SI->DI zero-extend |buggy Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- Ah, indeed, it is split because of the: (define_insn_and_split "*lea" [(set (match_operand:SWI48 0 "register_operand" "=r") (match_operand:SWI48 1 "address_no_seg_operand" "Ts"))] splitter. I'd say it is a bug in ix86_avoid_lea_for_addr, that shouldn't have returned true in this case, where the second operand is (zero_extend:DI (reg:SI)).