[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc |
Date: |
Fri, 9 Feb 2024 07:12:04 -0500 (EST) |
Follow-up Comment #12, bug#65244 (group octave):
I don't see the compiler error for the example in comment #9 (after fixing the
typo at the end of the first line).
But looking at the generated assembly (without that intermediate constexpr
value), at least GCC and Clang seem to produce the same code with "normal" if
or with constexpr if even at -O0. (At least with a simple example where the
assembly doesn't get too complicated.)
So, just omitting the constexpr is probably good enough to make the code
compatible with C++11.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65244>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, (continued)
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Markus Mützel, 2024/02/08
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, John W. Eaton, 2024/02/08
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Markus Mützel, 2024/02/08
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Hendrik K, 2024/02/08
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Hendrik K, 2024/02/08
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Markus Mützel, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, anonymous, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Markus Mützel, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, anonymous, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, anonymous, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc,
Markus Mützel <=
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, anonymous, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Markus Mützel, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, anonymous, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, anonymous, 2024/02/09
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Hendrik K, 2024/02/10
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Hendrik K, 2024/02/10
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Rik, 2024/02/11
- [Octave-bug-tracker] [bug #65244] Simplify code complexity of perms.cc, Rik, 2024/02/13