[Bug c++/107097] Implement floating point excess precision in C++

2022-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:16ec267063c8ce60769888d4097bcd158410adc8 commit r13-3291-g16ec267063c8ce60769888d4097bcd158410adc8 Author: Jakub Jelinek Date: F

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:98e341130f87984af07c884fea773c0bb3cc8821 commit r13-3290-g98e341130f87984af07c884fea773c0bb3cc8821 Author: Jakub Jelinek Date: F

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 --- Comment #6 from Jakub Jelinek --- Perhaps try to look up the implicit conversion using the semantic type (i.e. with EXCESS_PRECISION_EXPR not stripped) and then if it is a standard conversion (which exact?) from EXCESS_PRECISION to arithmeti

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 --- Comment #5 from Jakub Jelinek --- Seems in that case we loose the precision in: #0 fold_convert_loc (loc=0, type=, arg=) at ../../gcc/fold-const.cc:2436 #1 0x0049c414 in cxx_eval_constant_expression (ctx=0x7fffcc90, t=, lval=vc

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 Jakub Jelinek changed: What|Removed |Added Attachment #53667|0 |1 is obsolete|

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 --- Comment #3 from Jakub Jelinek --- The code is different though. C has that case EQ_EXPR: case NE_EXPR: case LE_EXPR: case GE_EXPR: case LT_EXPR: case GT_EXPR: /* Excess precision for implicit conversions of int

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/107097] Implement floating point excess precision in C++

2022-10-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/107097] Implement floating point excess precision in C++

2022-09-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107097 Jason Merrill changed: What|Removed |Added Last reconfirmed||2022-09-30 See Also|