https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #18 from CVS Commits ---
The releases/gcc-10 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:52921a6c7249ac5d0aa58231ae45997bebd2bc67
commit r10-11347-g52921a6c7249ac5d0aa58231ae45997bebd2bc67
Author: Jakub
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #17 from CVS Commits ---
The releases/gcc-11 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:200854895c55ec999f38fce9086e711173a4a01a
commit r11-10689-g200854895c55ec999f38fce9086e711173a4a01a
Author: Jakub
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #16 from CVS Commits ---
The releases/gcc-12 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:bc1ee711eeab4b0d55463cd153747d30c69225c7
commit r12-9127-gbc1ee711eeab4b0d55463cd153747d30c69225c7
Author: Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #15 from Jakub Jelinek ---
Fixed on the trunk so far.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #14 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:8b775b4c48a3cc4ef5c50e56144aea02da2e9cc6
commit r13-4726-g8b775b4c48a3cc4ef5c50e56144aea02da2e9cc6
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #13 from Marc Glisse ---
(In reply to Jakub Jelinek from comment #12)
> Doing it on the match.pd side doesn't look right, there could be many other
> optimizations that result in something similar.
$ grep -c non_lvalue match.pd
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #11 from Marc Glisse ---
Did you try adding "non_lvalue" in match.pd? It looks less intrusive. Although
in the long term your approach seems better and the failures should be fixable.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Jakub Jelinek changed:
What|Removed |Added
Assignee|jakub at gcc dot gnu.org |unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Jakub Jelinek changed:
What|Removed |Added
Attachment #53642|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #8 from Marc Glisse ---
(simplify
(bit_not (bit_not @0))
@0)
while in an other place we have
(simplify
(bit_and @0 integer_all_onesp)
(non_lvalue @0))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Marek Polacek changed:
What|Removed |Added
CC||nir.livne at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #6 from Jason Liam ---
The bug was discovered here:
https://stackoverflow.com/questions/73877384/stdis-same-different-results-beween-compilers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #4 from Jonathan Wakely ---
Or as a compile-time test, not run-time:
template struct is_same { static constexpr bool value = false; };
template struct is_same { static constexpr bool value = true; };
int main() {
bool b =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #3 from Jason Liam ---
(In reply to Jonathan Wakely from comment #1)
> Reduced to remove the library dependency:
>
> enum Cat { prvalue, lvalue, xvalue };
>
> template
> struct value_category {
> // Or can be an integral or
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #2 from Jason Liam ---
Here is another reduced demo: https://godbolt.org/z/hGhfrKrad
```
#include
int main() {
bool b = true;
std::cout << std::is_same::value << "\n";
auto bb = (!(!b));
std::cout <<
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Jonathan Wakely changed:
What|Removed |Added
Keywords||wrong-code
20 matches
Mail list logo