After isolating the double complex test (attached), I found that it only failed with the combination of -O2 and LTO. With -O1 or -O3 and LTO it was fine.
** Attachment added: "r-base-lto.tar.gz" https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+attachment/5582542/+files/r-base-lto.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1950283 Title: r-base: gfortran and gcc disagree on double complex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs