Test unalignedassert falis on ARM64

Submitted by gladk

Assigned to Konstantinos Margaritis

Link to original bugzilla bug (#1103)
Version: 3.3 (current stable)
Operating system: Linux

Description

Created attachment 621
Fail log of unalignedassert

Hi all,

this bug can be the continuation of #907 (closed), so feel free to merge them.

In Debian we have faced also a compilation problem on arm64 platform [1].
I am able reproduce the same problem using unalignedassert-unittest on arm64.
The full log is attached. Here is the relevant part:

==========================
CMakeFiles/unalignedassert_2.dir/unalignedassert.cpp.o -c "/home/user/2/eigen3-3.3alpha1/test/unalignedassert.cpp"
In file included from /home/user/2/eigen3-3.3
alpha1/Eigen/Core:196:0,
from /home/user/2/eigen3-3.3alpha1/Eigen/QR:4,
from /home/user/2/eigen3-3.3
alpha1/test/main.h:252,
from /home/user/2/eigen3-3.3alpha1/test/packetmath.cpp:11:
In function 'float64x2_t vdupq_lane_f64(float64x1_t, int)',
inlined from 'Packet Eigen::internal::pmul(const Packet&, const Packet&) [with Packet = Eigen::internal::Packet1cd]' at /home/user/2/eigen3-3.3
alpha1/Eigen/src/Core/arch/NEON/Complex.h:329:22,
inlined from 'void packetmath() [with Scalar = std::complex<double>]' at /home/user/2/eigen3-3.3~alpha1/test/packetmath.cpp:158:3:
/usr/lib/gcc/aarch64-linux-gnu/5/include/arm_neon.h:14027:10: error: lane 1 out of range 0 - 0
return __aarch64_vdupq_lane_f64 (__a, __b);

On 3.2.6 the same code is compiling without problems, so it is a regression in 3.3.

[1] https://bugs.debian.org/803552

Thank you

Anton

Attachment 621, "Fail log of unalignedassert":
report

Blocking

#558 (closed)

Edited by Eigen Bugzilla