https://bugs.kde.org/show_bug.cgi?id=360707

            Bug ID: 360707
           Summary: KDevelop crashes during parsing a project when it is
                    compiled with GCC 6.0
           Product: kdevelop
           Version: 4.90.91
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: jgrul...@redhat.com

Reproducible with KDevelop 4.7.3 or KDevelop 5.0 beta. We now have GCC 6.0 in
Fedora 24 and this makes KDevelop unusable.

Relevant information from GCC release notes:
Value range propagation now assumes that the this pointer of C++ member
functions is non-null. This eliminates common null pointer checks but also
breaks some non-conforming code-bases (such as Qt-5, Chromium, KDevelop). As a
temporary work-around -fno-delete-null-pointer-checks can be used. Wrong code
can be identified by using -fsanitize=undefined.

I tried to use "-fno-delete-null-pointer-checks" and that solution worked for
me. I can workaround this temporarily for our Fedora packages, but this should
be rather fixed in KDevelop itself.



Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to