This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Status of GCC 6 on x86_64 (Debian)


On 2016.01.22 at 11:27 -0800, Martin Michlmayr wrote:
> * Martin Michlmayr <tbm@hpe.com> [2016-01-21 21:09]:
> > * 13: test suite failures (segfaults and similar); not clear if the
> >   package or if GCC is at fault.
> 
> Rene Engelhard pointed me to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69327
> which might explain some of these segfaults.

My guess would be that most segfaults are caused by the much more
aggressive optimization based on the assumption that "this" must never
be NULL in C++. 

QT5, Chromium and Kdevelop all call methods from a NULL pointer and
crash for this reason. -fno-delete-null-pointer-checks is a workaround.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68853 for an analysis
of the Chromium crash.

-- 
Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]