public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/59882] New: dev-cpp/xsd: internal compiler error: Segmentation fault
@ 2014-01-19 17:27 nheghathivhistha at gmail dot com
  2014-01-19 22:27 ` [Bug other/59882] " nheghathivhistha at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: nheghathivhistha at gmail dot com @ 2014-01-19 17:27 UTC (permalink / raw)
  To: gcc-bugs

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

            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=31892&action=edit
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=native -mtune=native -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 ‘virtual Cult::Types::Fundamental::Void
CXX::Parser::{anonymous}::ArgList::traverse(XSDFrontend::SemanticGraph::Complex&)’:
/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ávněný přístup do paměti (SIGSEGV)
         traverse (SemanticGraph::Complex& c)
         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> 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: <gcc-bugs-return-440921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
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: <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 16895 invoked by uid 48); 19 Jan 2014 17:32:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.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: <bug-59880-4-1UJscf56jl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59880-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59880-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: 2014-01/txt/msg02063.txt.bz2
Content-length: 1027

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

Jakub Jelinek <jakub at gcc dot gnu.org> 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 <jakub at gcc dot gnu.org> ---
Ah, indeed, it is split because of the:
(define_insn_and_split "*lea<mode>"
  [(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)).


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-04  6:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 17:27 [Bug other/59882] New: dev-cpp/xsd: internal compiler error: Segmentation fault nheghathivhistha at gmail dot com
2014-01-19 22:27 ` [Bug other/59882] " nheghathivhistha at gmail dot com
2014-01-20  2:20 ` nheghathivhistha at gmail dot com
2014-01-20  6:38 ` [Bug ipa/59882] [4.9 Regression] " trippels at gcc dot gnu.org
2014-01-20  9:36 ` rguenth at gcc dot gnu.org
2014-02-03 22:00 ` hubicka at gcc dot gnu.org
2014-02-04  6:28 ` hubicka at gcc dot gnu.org
2014-02-04  6:32 ` hubicka at gcc dot gnu.org

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