public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "r.langer at itv dot rwth-aachen.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/101241] New: Internal compiler error from MathFunctions.h in the eigen library Date: Mon, 28 Jun 2021 13:21:09 +0000 [thread overview] Message-ID: <bug-101241-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101241 Bug ID: 101241 Summary: Internal compiler error from MathFunctions.h in the eigen library Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: r.langer at itv dot rwth-aachen.de Target Milestone: --- I used a docker image of Clean Linux (version 34790) and installed gcc 11.1.1 with: swupd bundle-add c-basic wget The following commands produce the error: wget https://gitlab.com/libeigen/eigen/-/archive/3.4-rc1/eigen-3.4-rc1.tar.bz2 tar -xf eigen-3.4-rc1.tar.bz2 printf "#include <Eigen/Core>\n int main(int,char const*[]){}\n" > eigen_bug.cpp g++ eigen_bug.cpp -Ieigen-3.4-rc1/ -Ofast -ffast-math Expected output from the last command: In file included from eigen-3.4-rc1/Eigen/Core:171, from eigen_bug.cpp:1: eigen-3.4-rc1/Eigen/src/Core/MathFunctions.h:1036:71: internal compiler error: in maybe_default_option, at opts.c:332 1036 | template<> EIGEN_TMP_NOOPT_ATTRIB bool isnan_impl(const long double& x) { return __builtin_isnan(x); } | ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. The following works fine: g++ eigen_bug.cpp -Ieigen-3.4-rc1/ -O3 -ffast-math
next reply other threads:[~2021-06-28 13:21 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-28 13:21 r.langer at itv dot rwth-aachen.de [this message] 2021-06-28 13:59 ` [Bug c++/101241] " mpolacek at gcc dot gnu.org 2021-06-28 15:05 ` r.langer at itv dot rwth-aachen.de 2021-06-28 15:30 ` mpolacek at gcc dot gnu.org 2021-06-28 17:07 ` r.langer at itv dot rwth-aachen.de 2021-06-28 17:13 ` r.langer at itv dot rwth-aachen.de 2021-06-28 18:30 ` jakub at gcc dot gnu.org 2021-06-28 22:24 ` [Bug target/101241] " pinskia at gcc dot gnu.org 2021-06-28 22:38 ` r.langer at itv dot rwth-aachen.de 2021-06-28 22:46 ` pinskia at gcc dot gnu.org 2021-06-30 9:13 ` r.langer at itv dot rwth-aachen.de 2021-06-30 13:10 ` hjl.tools at gmail dot com 2021-06-30 18:25 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-101241-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).