https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
--- Comment #6 from Dimitry Andric ---
After some bisecting, it turns out this behavior changed due to the following
upstream commit: https://reviews.llvm.org/rL313784 ("Remove offset size check
in nullptr arithmetic handling") and https://
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
Rodney W. Grimes changed:
What|Removed |Added
CC||toolch...@freebsd.org
--
You a
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
Florian Smeets changed:
What|Removed |Added
Assignee|toolch...@freebsd.org |a...@freebsd.org
--- Comment #5 f
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
--- Comment #4 from la...@fit.vutbr.cz ---
test case was for constant, which was optimized to immediate, here is another
with variable:
#include
#include
#define EX_TMP_VAR(ex, n) ((temp_variable*)(((char*)(ex)) +
((int)(n
#d
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
--- Comment #3 from la...@fit.vutbr.cz ---
Patch seems to be ok. I've only changed installed header files in
/usr/local/include/php/Zend, recompiled/reinstalled opcache, restarted apache
and it runs.
I've reduced problem to:
#include
#incl
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
--- Comment #2 from Florian Smeets ---
I reported this to dim@ when clang 6 was merged to head. He created the patch I
attached. It didn't work in my case, I'm still using USE_GCC in my lang/php56
port. I haven't had the time to dig further
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
Florian Smeets changed:
What|Removed |Added
CC||f...@freebsd.org
--- Comment #1 f
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723
Mark Linimon changed:
What|Removed |Added
Assignee|b...@freebsd.org|toolch...@freebsd.org
--
You are r