[Bug c/117809] feature request: attribute malloc but for non-function-return-value return values

2024-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117809 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/117825] [12/13/14/15 Regression] ICE on template with -Wformat-security (error reporting routines re-entered.)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #5 from And

[Bug c++/117825] [12/13/14/15 Regression] ICE on template with -Wformat-security (error reporting routines re-entered.)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/117825] [12/13/14/15 Regression] ICE on template with -Wformat-security (error reporting routines re-entered.)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 --- Comment #3 from Andrew Pinski --- Created attachment 59734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59734&action=edit C++11 testcase that fails all the way back to GCC 4.5.3 but worked in 4.4.7

[Bug analyzer/114897] ICE in get_or_create_widening_svalue, at analyzer/region-model-manager.cc:1336 since r13-3077-gbfca9505f6f

2024-11-27 Thread marcus.haehnel at kernkonzept dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114897 --- Comment #3 from Marcus Hähnel --- My apologies. Wrong bug report. Please ignore my comment.

[Bug c++/117825] [12/13/14/15 Regression] ICE on template with -Wformat-security (error reporting routines re-entered.)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 Andrew Pinski changed: What|Removed |Added Summary|ICE on template with|[12/13/14/15 Regression]

[Bug target/117811] [12/13/14/15 Regression] bad code for conditional right shift with autovec and neon

2024-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117811 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to fail|

[Bug middle-end/117823] sdot_prod pattern extended to floating point?

2024-11-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117823 --- Comment #3 from Hongtao Liu --- > Whether it needs -ffast-math depends on how it behaves with respect to > rounding I guess. If (float)bf16 * (float)bf16 + (float)bf16 * (float)bf16 > performs the float add without intermediate rounding for

[Bug c++/117825] ICE on template with -Wformat-security (error reporting routines re-entered.)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/j666o | |4z5e

[Bug c++/117825] ICE on template with -Wformat-security (error reporting routines re-entered.)

2024-11-27 Thread marcus.haehnel at kernkonzept dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 --- Comment #1 from Marcus Hähnel --- Another note: Having the return type of the wrap template not using decltype (and hard-coding it to int) will make this work and not have an ICE. So this seems to trigger when all of this is met: * A templ

[Bug analyzer/114897] ICE in get_or_create_widening_svalue, at analyzer/region-model-manager.cc:1336 since r13-3077-gbfca9505f6f

2024-11-27 Thread marcus.haehnel at kernkonzept dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114897 Marcus Hähnel changed: What|Removed |Added CC||marcus.haehnel@kernkonzept.

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2024-11-27 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #18 from Eugene Rozenfeld --- Hi Rama. I started looking at this. Below is what the info looks like for ha_innobase::build_template in the gcov file you shared. If you look near the end, you can see counts for calls to build_templat

[Bug fortran/78492] [OOP] Compiler segfault with non_overridable function in generic interface

2024-11-27 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492 --- Comment #8 from federico --- Amazing, thank you!

[Bug c++/117817] [13 Regression] Compile error when taking address of temporary array in sizeof operator

2024-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117817 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/117825] New: ICE on template with -Wformat-security (error reporting routines re-entered.)

2024-11-27 Thread marcus.haehnel at kernkonzept dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 Bug ID: 117825 Summary: ICE on template with -Wformat-security (error reporting routines re-entered.) Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity

[Bug target/117814] [15 Regression] arm/MVE: regressions after r15-4734-g63b6967b06b538

2024-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117814 Richard Biener changed: What|Removed |Added Summary|arm/MVE: regressions after |[15 Regression] arm/MVE:

[Bug ipa/117813] [14 Regression] GCC14 + -fsanitize=undefined + -Os + recursive_directory_iterator results in undefined reference

2024-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug ipa/117813] [14 Regression] GCC14 + -fsanitize=undefined + -Os + recursive_directory_iterator results in undefined reference

2024-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.3 --- Comment #6 from Richard Biene

[Bug fortran/78492] [OOP] Compiler segfault with non_overridable function in generic interface

2024-11-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/29670] [meta-bug] fortran interfaces

2024-11-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29670 Bug 29670 depends on bug 78492, which changed state. Bug 78492 Summary: [OOP] Compiler segfault with non_overridable function in generic interface https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492 What|Removed

[Bug c/117810] Feature request: attribute access but for (start, end) type interfaces

2024-11-27 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117810 --- Comment #3 from uecker at gcc dot gnu.org --- Not sure what this has to do with constexpr, but allowing expressions should be possible. WG21 is working on contracts to specify pre-. and postprocessing, but I am not sure advanced this is. I

[Bug ipa/117824] New: ipa-modref isn't documented ingccint

2024-11-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117824 Bug ID: 117824 Summary: ipa-modref isn't documented ingccint Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: documentation Severity: normal Priority:

[Bug middle-end/117823] sdot_prod pattern extended to floating point?

2024-11-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117823 --- Comment #1 from Hongtao Liu --- The vectorization maybe need ffast-math.

[Bug middle-end/117823] New: sdot_prod pattern extended to floating point?

2024-11-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117823 Bug ID: 117823 Summary: sdot_prod pattern extended to floating point? Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: mi

[Bug target/117734] Misses VNNI pmaddubsw qi->hi dot_prod

2024-11-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117734 Hongtao Liu changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug fortran/117765] Impure function within a BLOCK construct within a DO CONCURRENT

2024-11-27 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117765 --- Comment #10 from kargls at comcast dot net --- On 11/25/24 09:50, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117765 > > --- Comment #7 from anlauf at gcc dot gnu.org --- > The patch catches functions but

[Bug libstdc++/117822] New: [C++23] basic_stacktrace allocator-extended move constructor uses _Allocator instead of _AllocTraits

2024-11-27 Thread dieram3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117822 Bug ID: 117822 Summary: [C++23] basic_stacktrace allocator-extended move constructor uses _Allocator instead of _AllocTraits Product: gcc Version: 14.2.0 Status: UNCONFI

[Bug tree-optimization/117821] ~(unsigned smaller type)var_type, the ~ should prop over the truncation (nop too)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117821 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/117821] New: ~(unsigned smaller type)var_type, the ~ should prop over the truncation (nop too)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117821 Bug ID: 117821 Summary: ~(unsigned smaller type)var_type, the ~ should prop over the truncation (nop too) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywor

[Bug ipa/117782] template ICE in write_unscoped_name while using autofda bootstrap on aarch64

2024-11-27 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782 kugan at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|-

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 Andrew Pinski changed: What|Removed |Added CC||kugan at gcc dot gnu.org --- Comment #2

[Bug ipa/117782] template ICE in write_unscoped_name while using autofda bootstrap on aarch64

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #10 from Andrew P

[Bug ipa/117782] template ICE in write_unscoped_name while using autofda bootstrap on aarch64

2024-11-27 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782 --- Comment #9 from kugan at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #8) > Can you try again now that PR 117350 has actually been pushed? Thanks. This fixes.

[Bug c/117757] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_gimplify_expr, at c-family/c-gimplify.cc:810

2024-11-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117757 Joseph S. Myers changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug c/117757] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_gimplify_expr, at c-family/c-gimplify.cc:810

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117757 --- Comment #2 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:24dac1eab9c3b650826bbaa84dd64310910e647c commit r15-5741-g24dac1eab9c3b650826bbaa84dd64310910e647c Author: Joseph Myers Date: Thu

[Bug c/115644] [gcc][trunk] ICE if redeclare a variable with different type

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115644 --- Comment #4 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:24dac1eab9c3b650826bbaa84dd64310910e647c commit r15-5741-g24dac1eab9c3b650826bbaa84dd64310910e647c Author: Joseph Myers Date: Thu

[Bug libfortran/117820] Formatted output gives wrong result.

2024-11-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug libfortran/117820] New: Formatted output gives wrong result.

2024-11-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117820 Bug ID: 117820 Summary: Formatted output gives wrong result. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran

[Bug libfortran/117819] New: Formatted READ with BZ in format fails

2024-11-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117819 Bug ID: 117819 Summary: Formatted READ with BZ in format fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortra

[Bug libfortran/117819] Formatted READ with BZ in format fails

2024-11-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117819 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/86590] Codegen is poor when passing std::string by value with _GLIBCXX_EXTERN_TEMPLATE undefined

2024-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86590 --- Comment #37 from Jonathan Wakely --- _M_create is at line 144 of basic_string.tcc

[Bug target/116675] No blend constant permute for V8HImode with just SSE2

2024-11-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116675 --- Comment #7 from Hongtao Liu --- (In reply to Rainer Orth from comment #6) > The test is broken: > > +UNRESOLVED: gcc.target/i386/pr116675.c scan-assembler-times pand 4 > +UNRESOLVED: gcc.target/i386/pr116675.c scan-assembler-times pandn 4 >

[Bug sanitizer/88109] UBSAN can't work with vector operations

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

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2024-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 Bug 104552 depends on bug 104896, which changed state. Bug 104896 Summary: Messages use %<%s%> instead of the idiomatic %qs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104896 What|Removed |Added --

[Bug other/117815] RFE: provide a way to capture SARIF for all gcc invocations in a build

2024-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117815 --- Comment #3 from David Malcolm --- (In reply to David Malcolm from comment #1) > Created attachment 59732 [details] > Candidate patch > > Patch seems to work, but not yet bootstrapped, and doesn't have automated > test coverage. Successfull

[Bug c/104896] Messages use %<%s%> instead of the idiomatic %qs

2024-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104896 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org A

[Bug c++/87850] Add fix-it hint for "invalid conversion from 'X' to 'X*'"

2024-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87850 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/82892] Spelling hints do not take into account missing compiler options (e.g. -fopenmp)

2024-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82892 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/82892] Spelling hints do not take into account missing compiler options (e.g. -fopenmp)

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82892 --- Comment #4 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:5341eb669658c7c73d55021b10a4765bf4ce3078 commit r15-5739-g5341eb669658c7c73d55021b10a4765bf4ce3078 Author: David Malcolm Date: We

[Bug c++/87850] Add fix-it hint for "invalid conversion from 'X' to 'X*'"

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87850 --- Comment #5 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:5336b63fe81029cfd790208fbc69a08c70b82b01 commit r15-5738-g5336b63fe81029cfd790208fbc69a08c70b82b01 Author: David Malcolm Date: We

[Bug c/104896] Messages use %<%s%> instead of the idiomatic %qs

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104896 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:9f06b910a840d8ed06e27942bc23f260a0e0ccf3 commit r15-5737-g9f06b910a840d8ed06e27942bc23f260a0e0ccf3 Author: David Malcolm Date: W

[Bug ipa/86590] Codegen is poor when passing std::string by value with _GLIBCXX_EXTERN_TEMPLATE undefined

2024-11-27 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86590 Jan Hubicka changed: What|Removed |Added CC||mjambor at suse dot cz --- Comment #36 fro

[Bug c/117810] Feature request: attribute access but for (start, end) type interfaces

2024-11-27 Thread felix-gcc at fefe dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117810 --- Comment #2 from felix-gcc at fefe dot de --- Hmm, now that you mention it explicitly... Just like C++ iterators, max does not actually point at the last element in the array but at the first element behind the array. That appears to be more

[Bug c++/117472] pack of function parameters without a name

2024-11-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117472 Marek Polacek changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug other/117815] RFE: provide a way to capture SARIF for all gcc invocations in a build

2024-11-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117815 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2 fr

[Bug other/117815] RFE: provide a way to capture SARIF for all gcc invocations in a build

2024-11-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117815 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/91193] ICE on invalid: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in grokdeclarator, at c/c-decl.c:5956

2024-11-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91193 Joseph S. Myers changed: What|Removed |Added Known to work||15.0 Status|ASSIGNED

[Bug c/91193] ICE on invalid: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in grokdeclarator, at c/c-decl.c:5956

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91193 --- Comment #8 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:87492fb3fd5e7510983e0275a38ba95769335018 commit r15-5734-g87492fb3fd5e7510983e0275a38ba95769335018 Author: Joseph Myers Date: Wed

[Bug libstdc++/117210] [15 regression] error: 'llabs' is not a member of 'std'; did you mean 'labs'

2024-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117210 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/117650] __glibcxx_assert_fail should be marked __attribute__((cold))

2024-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117650 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/95215] [OMP] internal compiler error: in gimplify_expr, at gimplify.c:14079

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95215 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|-

[Bug fortran/37336] [F03] Finish derived-type finalization

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 97122, which changed state. Bug 97122 Summary: Spurious FINAL ... must be in the specification part of a MODULE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97122 What|Removed |Added --

[Bug fortran/97122] Spurious FINAL ... must be in the specification part of a MODULE

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97122 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|-

[Bug fortran/100094] Undefined pointers have incorrect rank when using optimization

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100094 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to fail||10.5.0 Target Milestone|--

[Bug fortran/46532] [OMP] missing error for loop bounds missing an attribute

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46532 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Target Milestone|-

[Bug ipa/117813] [14 Regression] GCC14 + -fsanitize=undefined + -Os + recursive_directory_iterator results in undefined reference

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813 --- Comment #4 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #3) > I don't know what the C4 constructor is for, but we should probably export > it. Well I tried with -static-libstdc++ and it fails with that option too. So I a

[Bug middle-end/43374] ICE with __builtin_isinf() and _Decimal argument

2024-11-27 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374 --- Comment #12 from Peter Bergner --- (In reply to Janis Johnson from comment #4) > The tests also fail on powerpc64-linux, although the first one gets the same > error with and without optimization. > > elm3c105% cat 43374-1.c > int func(_Deci

[Bug libstdc++/117650] __glibcxx_assert_fail should be marked __attribute__((cold))

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117650 --- Comment #7 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:17db5742a555d4f8fd5fa324adb6d1e5c55374be commit r15-5732-g17db5742a555d4f8fd5fa324adb6d1e5c55374be Author: Jonathan Wakely Date:

[Bug ipa/117813] [14 Regression] GCC14 + -fsanitize=undefined + -Os + recursive_directory_iterator results in undefined reference

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813 --- Comment #5 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #3) > I don't know what the C4 constructor is for, but we should probably export > it. So C4/C5 are internal and should always be inlined I think So maybe this is a

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2024-11-27 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 --- Comment #18 from Paul Eggert --- (In reply to uecker from comment #17) > Fairly limited, but if you only have specific cases where you need > this, this worked for me as a workaround: > > #define TRUNC4(x) { x[0], x[1], x[2], x[3] } > stati

[Bug libstdc++/117655] std::string::swap() could be much faster and smaller

2024-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117655 --- Comment #3 from Jonathan Wakely --- (In reply to Mathias Stearn from comment #2) > It looks like a similar optimization would make sense for > operator=(string&&): https://godbolt.org/z/Wo19fjKeK. I think this is missing the fix up, althoug

[Bug target/117818] vec_add incorrectly generates vadduwm for vector char const inputs.

2024-11-27 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117818 --- Comment #2 from Steven Munroe --- Same issues compiled for power9/10

[Bug fortran/100097] Unlimited polymorphic pointers and allocatables have incorrect rank

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100097 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||paal at levold dot net --- C

[Bug fortran/102275] Assumed rank, unlimited polymorphic pointer gives incorrect behaviour

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102275 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug libstdc++/116212] [13/14/15 regression] -Walloc-size-larger-than warning when building 20_util/specialized_algorithms/uninitialized_move/constrained.cc with -O3

2024-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116212 --- Comment #4 from Jonathan Wakely --- Ah yes I see it on 14. The warning is nonsense, none of the vectors used have a length greater than 4, and the largest size is sizeof(std::string). 4 * 32 is not in the range [18446744071562067968, 1844674

[Bug target/117818] vec_add incorrectly generates vadduwm for vector char const inputs.

2024-11-27 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117818 --- Comment #1 from Steven Munroe --- May be related to 117007

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2024-11-27 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --

[Bug ipa/117813] [14 Regression] GCC14 + -fsanitize=undefined + -Os + recursive_directory_iterator results in undefined reference

2024-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/117818] New: vec_add incorrectly generates vadduwm for vector char const inputs.

2024-11-27 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117818 Bug ID: 117818 Summary: vec_add incorrectly generates vadduwm for vector char const inputs. Product: gcc Version: 13.3.1 Status: UNCONFIRMED Severity: normal

[Bug c/117810] Feature request: attribute access but for (start, end) type interfaces

2024-11-27 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117810 uecker at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFI

[Bug fortran/117791] Segmentation fault when using -fcheck

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117791 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Known to fail|

[Bug libbacktrace/117812] zstd dependency 1.5.1

2024-11-27 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117812 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #2 f

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2024-11-27 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 Paul Eggert changed: What|Removed |Added CC||eggert at cs dot ucla.edu --- Comment #16

[Bug libstdc++/116212] [13/14/15 regression] -Walloc-size-larger-than warning when building 20_util/specialized_algorithms/uninitialized_move/constrained.cc with -O3

2024-11-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116212 --- Comment #3 from Sam James --- It looks fixed on trunk but I can hit it with 14 at least.

[Bug target/36503] x86 can use x >> -y for x >> 32-y

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503 --- Comment #15 from GCC Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:093584abb854559393e36cd4cdcf9dc4862dd046 commit r15-5731-g093584abb854559393e36cd4cdcf9dc4862dd046 Author: Uros Bizjak Date: Wed N

[Bug c++/117817] [13 Regression] Compile error when taking address of temporary array in sizeof operator

2024-11-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117817 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug fortran/117797] [13/14/15 Regression] ICE in gfc_get_array_span

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117797 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code Last rec

[Bug target/117811] [12/13/14/15 Regression] bad code for conditional right shift with autovec and neon

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117811 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug fortran/117798] Audit intrinsic subprograms with scalar INTENT(OUT) character strings

2024-11-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117798 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 See Also|

[Bug target/117811] [12/13/14/15 Regression] bad code for conditional right shift with autovec and neon

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117811 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Known to work|

[Bug c/117724] [15 regression] ICE when building libgit2 (error: ‘TYPE_CANONICAL’ is not compatible)

2024-11-27 Thread andres at anarazel dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117724 --- Comment #8 from Andres Freund --- FWIW, a few of postgres' CI instances (which intentionally track a snapshot gcc) are hitting this (see e.g. [1]). I reproduced the failure locally, applied the patch from [2], after which the build succeeds.

[Bug c++/117817] [13 Regression] Compile error when taking address of temporary array in sizeof operator

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117817 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-27 Status|UNCONFIRM

[Bug ipa/117813] GCC14 + -fsanitize=undefined + -Os + recursive_directory_iterator results in undefined reference

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |ipa --- Comment #2 from Andrew Pinski

[Bug c++/117817] New: Compile error when taking address of temporary array in sizeof operator

2024-11-27 Thread odion at efficios dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117817 Bug ID: 117817 Summary: Compile error when taking address of temporary array in sizeof operator Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: norm

[Bug libstdc++/117813] GCC14 + -fsanitize=undefined + -Os + recursive_directory_iterator results in undefined reference

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117813 Andrew Pinski changed: What|Removed |Added Component|ipa |libstdc++ --- Comment #1 from Andrew Pi

[Bug target/84211] [avr] Perform a post-reload register optimization pass

2024-11-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84211 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug rtl-optimization/117816] New: ICE: in rtl_verify_bb_insns, at cfgrtl.cc:2837: flow control insn inside a basic block with -O -favoid-store-forwarding -fnon-call-exceptions -fno-forward-propagate

2024-11-27 Thread zsojka at seznam dot cz via Gcc-bugs
fix=/repo/gcc-trunk//binary-trunk-20241127062712-r15-5717-g32f6485849c826-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241127 (experimental) (GCC)

[Bug c/117750] ICE: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in grokdeclarator, at c/c-decl.cc:6981

2024-11-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117750 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/117806] [14/15 Regression] ICE: in composite_type_internal with C23 tag compatibility and packed/aligned attribute on a field (defined 3 times)

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117806 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE: in

[Bug c/117806] ICE: in composite_type_internal, at c/c-typeck.cc:825

2024-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117806 --- Comment #3 from Andrew Pinski --- Created attachment 59729 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59729&action=edit Reduced testcase This reduced testcase has no errors and is valid C23 as far as I can tell.

  1   2   >