[Bug c++/119222] Conversion of inf to integer is not diagnosed

2025-03-15 Thread gwen3293940943 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #11 from Gwen Fu --- E , This is a bit complicated. But I think the problem must occur in the grammatical analysis or semantic analysis stage I would like to know in which file should the code for floating point (real number) typ

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2025-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #32 from Xi Ruoyao --- Or perhaps you can run a bisect. Unfortunately I don't have SPEC access.

[Bug middle-end/113546] [13/14/15 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 --- Comment #12 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/677723.html

[Bug rtl-optimization/118615] [15 Regression] Bootstrap failure on aarch64 after r15-2810

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #21 from Andrew Pinski --- Note when I was reducing coment #15, I ran into PR 119306 (which in turn is a dup of bug 113546) but still not the issue here because I still get a bootstrap comparison failure after the fix for that.

[Bug debug/104277] [meta-bug] gstatement-frontiers issues

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104277 Bug 104277 depends on bug 112703, which changed state. Bug 112703 Summary: [13/14/15 Regression] -fcompare-debug failure at -O1 and above https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112703 What|Removed |Added

[Bug middle-end/113546] [13/14/15 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 Andrew Pinski changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #11

[Bug debug/112703] [13/14/15 Regression] -fcompare-debug failure at -O1 and above

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112703 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/113546] [13/14/15 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 --- Comment #10 from Andrew Pinski --- Created attachment 60772 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60772&action=edit Patch which I am testing This fixes the problem here.

[Bug middle-end/113546] [13/14/15 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug rtl-optimization/113546] [13/14/15 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/113546] [13/14/15 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 --- Comment #7 from Andrew Pinski --- *** Bug 119306 has been marked as a duplicate of this bug. ***

[Bug middle-end/119306] [13/14/15 Regression] Compare debug on aarch64-linux-gnu with -O2

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119306 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug middle-end/119306] [13/14/15 Regression] Compare debug on aarch64-linux-gnu with -O2

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119306 --- Comment #1 from Andrew Pinski --- ``` [apinski@xeond2 gcc]$ diff -up a-t.cc.gkd a-t.gk.cc.gkd --- a-t.cc.gkd 2025-03-15 15:23:16.762213323 -0700 +++ a-t.gk.cc.gkd 2025-03-15 15:23:16.942213342 -0700 @@ -312,26 +312,26 @@ Declarations

[Bug middle-end/119306] [13/14/15 Regression] Compare debug on aarch64-linux-gnu with -O2

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119306 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4 Keywords|

[Bug middle-end/119306] New: [13/14/15 Regression] Compare debug on aarch64-linux-gnu with -O2

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119306 Bug ID: 119306 Summary: [13/14/15 Regression] Compare debug on aarch64-linux-gnu with -O2 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: compare-debu

[Bug cobol/119283] cobol FE uses memrchr unconditionally.

2025-03-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119283 --- Comment #3 from Iain Sandoe --- Created attachment 60770 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60770&action=edit Add implementation of memrchr to libiberty This is a trial implementation of adding memrchr to libiberty,

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2025-03-15 Thread ddvamp007 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 --- Comment #9 from Artyom Kolpakov --- Has this bug been fixed?

[Bug libstdc++/112490] infinite meta error in reverse_iterator::iterator>>

2025-03-15 Thread gessos.paul at yahoo dot gr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112490 --- Comment #12 from Chameleon --- No. It is ok. It was my bug.

[Bug c++/119305] [14 Regression] ICE in add_to_same_comdat_group with constexpr virtual and constexpr instance

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119305 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-03-15 Keywords|

[Bug c++/119305] [14 Regression] ICE in add_to_same_comdat_group with constexpr virtual and constexpr instance

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119305 Andrew Pinski changed: What|Removed |Added Summary|arm-none-eabi internal |[14 Regression] ICE in

[Bug c++/119222] Conversion of inf to integer is not diagnosed

2025-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #10 from Jonathan Wakely --- Because you didn't compile with -fsanitize=float-cast-overflow If you use that option, then SANITIZE_FLOAT_CAST will be set. But that is about adding instrumentation to give runtime diagnostics. This bu

[Bug c++/119305] New: arm-none-eabi internal compiler error: in add_to_same_comdat_group, at symtab.cc:492

2025-03-15 Thread patrick.huentelmann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119305 Bug ID: 119305 Summary: arm-none-eabi internal compiler error: in add_to_same_comdat_group, at symtab.cc:492 Product: gcc Version: 14.2.0 Status: UNCONFIRMED S

[Bug c++/119304] New: invalid placement new inside constexpr accetped for C++26

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119304 Bug ID: 119304 Summary: invalid placement new inside constexpr accetped for C++26 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: accepts-invalid, c++

[Bug c++/61105] [constexpr] poor diagnostic for new-expression in constant expression

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61105 --- Comment #11 from Andrew Pinski --- We get the error now: ``` :10:21: in 'constexpr' expansion of 'f()' :6:27: error: cast from 'void*' is not allowed in a constant expression before C++26 6 | int *p = new (&i) int (1); |

[Bug c++/119303] [12/13/14/15 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 --- Comment #3 from Andrew Pinski --- Most likely it is trying to print: ``` :8:34: warning: inline function 'typename e<(! c< >::d)>::g bar(_Tp) [with _Tp = int; typename e<(! c< >::d)>::g = void]' used but never defined inline typename e::d

[Bug c++/119303] [12/13/14/15 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 Andrew Pinski changed: What|Removed |Added Known to fail||7.1.0 Summary|ICE: error rep

[Bug c++/119303] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185) with -std=c++20

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 --- Comment #1 from Andrew Pinski --- Created attachment 60768 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60768&action=edit Reduced to C++98 testcase

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-15 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 Robert Dubner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/119303] New: ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185) with -std=c++20

2025-03-15 Thread zsojka at seznam dot cz via Gcc-bugs
six Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250315 (experimental) (GCC)

[Bug cobol/119302] New: cobol.3 manpage is installed without program_transform_name

2025-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119302 Bug ID: 119302 Summary: cobol.3 manpage is installed without program_transform_name Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

[Bug cobol/119302] cobol.3 manpage is installed without program_transform_name

2025-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119302 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug cobol/119301] cobol FE uses get_current_dir_name unconditionally

2025-03-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/60560] Problem allocating character array with assumed length

2025-03-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60560 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2025-03-15 Thread chz0808 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #31 from Chen Chen --- (In reply to Xi Ruoyao from comment #29) > For 15 r15-7525 is intended for this issue. But I don't know if it's a good > idea to backport it, as it's only a workaround, not a proper fix. > > Could someone try

[Bug target/118891] [14/15 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

2025-03-15 Thread marcus at mc dot pp.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 --- Comment #20 from marcus at mc dot pp.se --- Hi. Do you need more help to fix the broken autovectorization? Again, you don't need ARM hardware; here is how I could reproduce the miscompilation on a PPC64 host: ---8<--- wget https://distfile

[Bug other/119250] GCC configure fails to find the declaration of basename() on hosts that need

2025-03-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119250 --- Comment #7 from Iain Sandoe --- Created attachment 60766 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60766&action=edit patch under test This makes the configure test for basename use the same process as in libiberty so that the res

[Bug other/119218] libiberty configure test fails for basename on targets which declare it in .

2025-03-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218 Iain Sandoe changed: What|Removed |Added Attachment #60727|0 |1 is obsolete|

[Bug cobol/119301] cobol FE uses get_current_dir_name unconditionally

2025-03-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301 --- Comment #3 from Iain Sandoe --- Created attachment 60764 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60764&action=edit patch under test this works on Darwin... but not tested more widely yet/

[Bug cobol/119301] cobol FE uses get_current_dir_name unconditionally

2025-03-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301 --- Comment #4 from Iain Sandoe --- (In reply to Andrew Pinski from comment #1) > https://www.gnu.org/software/libc/manual/html_node/Working-Directory.html > > Describes how get_current_dir_name could be implemented. > > Since this is in the f

[Bug cobol/119301] cobol FE uses get_current_dir_name unconditionally

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug cobol/119301] cobol FE uses get_current_dir_name unconditionally

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301 --- Comment #1 from Andrew Pinski --- https://www.gnu.org/software/libc/manual/html_node/Working-Directory.html Describes how get_current_dir_name could be implemented. Since this is in the front-end, get_current_dir_name could be added to lib

[Bug cobol/119301] New: cobol FE uses get_current_dir_name unconditionally

2025-03-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301 Bug ID: 119301 Summary: cobol FE uses get_current_dir_name unconditionally Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Severity: normal Prio

[Bug c++/119222] Conversion of inf to integer is not diagnosed

2025-03-15 Thread gwen3293940943 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #9 from Gwen Fu --- I am sorry for my recklessness and carelessness! And thank you for your patient guidance. In gcc/convert.cc : func:convert_to_integer_1 : the case : case REAL_TYPE: if (sanitize_flags_p (SANITIZE_FLOAT_

[Bug ipa/119292] code deduplication in case of throw (improvement)

2025-03-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119292 --- Comment #4 from Sam James --- There was a GSoC project last year for better nothrow propagation as well (not for throw cloning though), see devel/nothrow-detection (not finished).

[Bug ipa/119292] code deduplication in case of throw (improvement)

2025-03-15 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119292 --- Comment #3 from Federico Kircheis --- (In reply to Andrew Pinski from comment #2) > . You where faster than me; but I cannot add this url to "See Also": https://developercommunity.visualstudio.com/t/code-deduplication-in-case-of-throw/1087

[Bug fortran/115271] [OpenMP] Declare variant not stored in Fortran module file

2025-03-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115271 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/119222] Conversion of inf to integer is not diagnosed

2025-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #8 from Jonathan Wakely --- ... as I already tried to explain in comment 4.

[Bug fortran/115271] [OpenMP] Declare variant not stored in Fortran module file

2025-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115271 --- Comment #6 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:6f3bca0db8645c2556e5a01669af4384bb230d87 commit r15-8067-g6f3bca0db8645c2556e5a01669af4384bb230d87 Author: Tobias Burnus Date: S

[Bug c++/119222] Conversion of inf to integer is not diagnosed

2025-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #7 from Andrew Pinski --- 1.0/0.0 is well defined with IEEE floating point to be defined as infinite. Warning about that is not right. What this bug is asking for is the warning converting infinite or NaN to an integral type

[Bug c++/119222] Conversion of inf to integer is not diagnosed

2025-03-15 Thread gwen3293940943 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #6 from Gwen Fu --- And also see "constexpr.cc in "gcc/cp": the function "potential_constant_expression_1": if (integer_zerop (denom)) { if (flags & tf_error) constexpr_error (input_locatio