[Bug target/114775] on mingw __attribute__ ((__format__ (__printf__, ...))) doesn't recognize C99 specifiers

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114775 --- Comment #6 from Andrew Pinski --- (In reply to Nikita Kniazev from comment #5) > > So there is mingw_printf and gnu_printf attributes for mingw because at one > > point %ll didn't exist for mingw and nobody has updated it since then. > >

[Bug target/114775] on mingw __attribute__ ((__format__ (__printf__, ...))) doesn't recognize C99 specifiers

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114775 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/114775] on mingw __attribute__ ((__format__ (__printf__, ...))) doesn't recognize C99 specifiers

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114775 --- Comment #3 from Andrew Pinski --- If anything gnu_printf should be used instead for _bfd_error_handler and that would be a binutils issue and reported there ...

[Bug target/114775] on mingw __attribute__ ((__format__ (__printf__, ...))) doesn't recognize C99 specifiers

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114775 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > So there is mingw_printf and gnu_printf attributes for mingw because at one > point %ll didn't exist for mingw and nobody has updated it since then. Sorry I

[Bug target/114775] on mingw __attribute__ ((__format__ (__printf__, ...))) doesn't recognize C99 specifiers

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114775 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/114774] Missed DSE in simple code due to other stores being conditional

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|normal |enhancement CC||pinskia at gcc dot gnu.org Summary|Missed DSE in simple code |Missed DSE in simple code ||due to other stores being

[Bug c/114773] Raw string literals are not supported in C89 mode

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114773 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/gcc-4.5/changes.html Looks like it is on purpose: C++0x raw strings are supported for C++ and for C with -std=gnu99.

[Bug c++/114764] noexcept on a friend complains about incomplete type

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114764 --- Comment #1 from Andrew Pinski --- EDG also accepts it ...

[Bug libgomp/114765] linking to libgomp and setting CPU_PROC_BIND causes affinity reset

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114765 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/114771] GCC accepts invalid overloading of member function differing only in ref qualifier

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114771 --- Comment #1 from Andrew Pinski --- EDG also accepts this. so 3 out of 4 compilers out accept it. Maybe there is a defect report ...

[Bug c++/114772] pragma GCC target applied to earlier template function with __attribute__((warn_unused_result))

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114772 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/114763] Wduplicated-branches just check last else if-else case?

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114763 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c/114763] Wduplicated-branches just check last else if-else case?

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114763 --- Comment #1 from Andrew Pinski --- Note only the second case has if's 2 sides which are the same; it is basically `a ? b : (c ? d : d)`. While the first case you have `a ? b : (c ? d : b)` which is not supposed to warn about at all because

[Bug middle-end/114761] Ignored [[likely]] attribute with multiple if statements doing the same thing

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114761 --- Comment #3 from Andrew Pinski --- Is this based on real code or you just was looking at the differences between gcc and clang here?

[Bug middle-end/114761] Ignored [[likely]] attribute

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114761 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end --- Comment #2 from Andrew

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 --- Comment #6 from Andrew Pinski --- Will submit both patches once GCC 15 opens up.

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 --- Comment #5 from Andrew Pinski --- Created attachment 57979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57979=edit Patch 2/2

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 --- Comment #4 from Andrew Pinski --- Created attachment 57978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57978=edit Patch 1/2

[Bug tree-optimization/114761] Ignored [[likely]] attribute

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114761 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/114760] traling zero count detection failure

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114760 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 --- Comment #2 from Andrew Pinski --- Note gimple_assign_nontemporal_move_p is just for non temporal stores. There is no code handling non-temporal loads (which do exist on some targets, aarch64 for an example). I will also add a comment to

[Bug tree-optimization/114757] stringop-overflow warning with -fsanitize=address while building JDK

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

[Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678 --- Comment #11 from Andrew Pinski --- (In reply to Brecht Sanders from comment #10) > What is the status of GCC support for aarch64-w64-mingw32 ? > > I just tried GCC 14 snapshot 20240414 and it looks like it's still not > supported. > >

[Bug tree-optimization/114757] stringop-overflow warning with -fsanitize=address while building JDK

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114757 Andrew Pinski changed: What|Removed |Added Component|other |tree-optimization Blocks|

[Bug testsuite/114177] gcc.target/aarch64/sve/loop_add_6.c needs to be fixed for LLP64 targets

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |pinskia at gcc dot gnu.org Last reconfirmed||2024-04-17 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- mine.

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 --- Comment #8 from Andrew Pinski --- Note this linker relaxation code could be more forgiving here and not producing "wrong-code" but GCC should be fixed still.

[Bug target/114756] [14] RISC-V rv32imc miscompile with -fdata-sections

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114756 --- Comment #3 from Andrew Pinski --- Basically what is happening is the linker relaxation code is turning it into something which is wrong. But GCC's invalid use of %lo(n+4)(a5) with a (invalid) corresponding %hi(n) is confusing the relaxation

[Bug middle-end/100604] GCC generates invalid LO_SYM for unaligned global

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100604 Andrew Pinski changed: What|Removed |Added CC||patrick at rivosinc dot com ---

[Bug target/114756] [14] RISC-V rv32imc miscompile with -fdata-sections

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114756 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/114756] [14] RISC-V rv32imc miscompile with -fdata-sections

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114756 --- Comment #1 from Andrew Pinski --- lui a5,%hi(n) lw a2,%lo(n)(a5) lw a3,%lo(n+4)(a5) vs: lui a5,%hi(.LANCHOR0) addia5,a5,%lo(.LANCHOR0) lw a2,0(a5) lw

[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348 Bug 22348 depends on bug 23096, which changed state. Bug 23096 Summary: Wrong folding for FLOOR_MOD_EXPR https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23096 What|Removed |Added

[Bug middle-end/23096] Wrong folding for FLOOR_MOD_EXPR

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23096 Andrew Pinski changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING

[Bug c++/103696] pragma optimization is not applying to Lambdas

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103696 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug bootstrap/32497] (const_int INT_MIN) can cause warnings to show up while building insn-emit.c

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32497 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 Status|ASSIGNED

[Bug middle-end/23872] .original dump weirdness

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23872 --- Comment #9 from Andrew Pinski --- Created attachment 57968 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57968=edit Patch set that I will be submitting once GCC 15 opens up

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #6 from Andrew Pinski --- (In reply to Gejoe from comment #4) > Thanks Andrew for the info. > > So, does this mean that every program which was compiled earlier with one > step (ie. gcc --coverage srcfile.c) of gcc/g++ will have

[Bug middle-end/23872] .original dump weirdness

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23872 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > With the example in PR 86698 with the patches I will be posting, gcc now > does: > ``` > ;; Function f (null) > ;; enabled by -tree-original > > > { > int x

[Bug middle-end/23872] .original dump weirdness

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23872 --- Comment #7 from Andrew Pinski --- With the example in PR 86698 with the patches I will be posting, gcc now does: ``` ;; Function f (null) ;; enabled by -tree-original { int x = z++ , y; DECL_EXPR; return x; } ``` I am still

[Bug middle-end/86698] Misleading .original (generic) dump-file contents

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86698 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > The semicolon comes from print_declaration So this is just a dup of bug > 23872 in the end. > > *** This bug has been marked as a duplicate of bug 23872 ***

[Bug c/23872] .original dump weirdness

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23872 Andrew Pinski changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org --- Comment

[Bug middle-end/86698] Misleading .original (generic) dump-file contents

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

[Bug preprocessor/114748] [14 Regression] libcpp aclocal.m4 and configure incorrectly regenerated

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114748 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug preprocessor/114748] [14 Regression] libcpp aclocal.m4 and configure incorrectly regenerated

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114748 Andrew Pinski changed: What|Removed |Added Version|unknown |14.0 Summary|libcpp

[Bug preprocessor/114748] libcpp aclocal.m4 and configure incorrectly regenerated

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114748 --- Comment #2 from Andrew Pinski --- So I went back to the gcc 9.1.0 release and aclocal there didn't change and didn't have the include for override.m4 . I am trying to figure out where this changed ...

[Bug preprocessor/114748] libcpp aclocal.m4 and configure incorrectly regenerated

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114748 --- Comment #1 from Andrew Pinski --- The last time aclocal.m4 had an include for override.m4 was r9-3776-g22e052725189a4 . Are you sure you are using the correct autoconf/automake version?

[Bug target/114747] [13 only] [RISC-V RVV] Wrong SEW set for mixed-size intrinsics

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114747 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.3

[Bug driver/114330] needs_preprocessing field of struct compiler is unused

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114330 --- Comment #5 from Andrew Pinski --- The most annoying part of this is the struct compiler is initialized by */lang-specs.h and it looks like I missed one and the error message is not so obvious where the issue is.

[Bug driver/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #17 from Andrew Pinski --- Testing the removal of the code from the driver.

[Bug driver/104707] GCC doesn't give default lib path to the linker when multilib is off

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/114741] [14 regression] aarch64 sve: unnecessary fmov for scalar int bit operations

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114741 --- Comment #4 from Andrew Pinski --- (In reply to Wilco from comment #2) > It looks like the underlying bug is '^' being incorrectly treated like '?' > in record_reg_classes (which is never used during reload). Fixing that > results in the

[Bug c++/114050] Inconsistency in double/float constant evaluation between 32 and 64 bit

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114050 --- Comment #18 from Andrew Pinski --- (In reply to Vincent Lefèvre from comment #17) > (In reply to Jonathan Wakely from comment #13) > > -fexcess-precision does affect constants. > > Indeed, and this is a bug, as -fexcess-precision=fast was

[Bug target/114741] [14 regression] aarch64 sve: unnecessary fmov for scalar int bit operations

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |NEW CC||pinskia at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Andrew Pinski --- Confirmed.

[Bug other/114738] [14 Regression] Default DOCUMENTATION_ROOT_URL vs. release branches

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114738 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-04-16 Ever confirmed|0

[Bug c/92880] Documentation for Built-in Vector-Extensions should mention C99 Fixed-width ints as base types

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92880 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug target/114741] [14 regression] aarch64 sve: unnecessary fmov for scalar int bit operations

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114741 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added CC||gnu.ojxq8 at dralias dot com ---

[Bug c++/114740] i686-linux-gnu-g++ does not interpret floating point literals as double

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114740 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/114050] Inconsistency in double/float constant evaluation between 32 and 64 bit

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114050 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #11 from Andrew

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added CC||sjh at schilling dot dk --- Comment #12

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #3 from Andrew Pinski --- The "fix" was to how to build to be able to use gcov. Basically you build to an object file first and then link the object file to get the old behavior and the behavior that gcov expects.

[Bug tree-optimization/114736] ICE during SLP pass with gfortran-13 -O3 -mcpu=neoverse-v2

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114736 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Does -fno-cost-model affect the behavior here? Sorry -fno-vect-cost-model.

[Bug tree-optimization/114736] ICE during SLP pass with gfortran-13 -O3 -mcpu=neoverse-v2

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114736 --- Comment #3 from Andrew Pinski --- Does -fno-cost-model affect the behavior here?

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95365 Andrew Pinski changed: What|Removed |Added CC||gejoed at rediffmail dot com ---

[Bug c/114731] -Wincompatible-pointer-types false positive in combination with _Generic(3)

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114731 --- Comment #10 from Andrew Pinski --- (In reply to Alejandro Colomar from comment #9) > The related bug claims to be fixed in trunk. I can still reproduce mine in > gcc-14, from Debian RC-Buggy. Pedwarn warnings were not fixed ...

[Bug c/114731] -Wincompatible-pointer-types false positive in combination with _Generic(3)

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114731 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Also note clang has the same behavior . ICC does too. MSVC actually gets it right (need to use /std:clatest) and change time_t into long since time_t there is

[Bug c/114731] -Wincompatible-pointer-types false positive in combination with _Generic(3)

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114731 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Status|WAITING

[Bug c/114731] -Wincompatible-pointer-types false positive in combination with _Generic(3)

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114731 --- Comment #6 from Andrew Pinski --- Because the inner _Generic gets selected first and then outter one is selected. Also note clang has the same behavior . Note the syntax error is just a2i should not have a comma in it.

[Bug c/114730] should enum types be vector types?

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114730 --- Comment #1 from Andrew Pinski --- So it turns out before GCC 9, using enum vectors would ICE (PR 87286). It was asked then if we should reject them but there was no answer to question that but rather just fixing the ICE alone.

[Bug c/92880] Documentation for Built-in Vector-Extensions should mention C99 Fixed-width ints as base types

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92880 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c/114730] New: should enum types be vector types?

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take this C23 code: ``` #define vect16 __attribute__((vector_size(16))) enum tt : long {enumv}; extern vect16 enum tt t; ``` Currently GCC accepts

[Bug c++/66924] Bad diagnostic for parameter name used as non-type template argument

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66924 --- Comment #3 from Andrew Pinski --- Note the "parse error" part of the diagnostic is no longer there on the trunk (for GCC 14). clang produces: ``` :6:46: error: non-type template argument is not a constant expression 6 | auto f = []

[Bug c++/96353] GCC internal compiler error: in implicitly_declare_fn, at cp/method.c:2058 when using coverage

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

[Bug c++/96353] GCC internal compiler error: in implicitly_declare_fn, at cp/method.c:2058 when using coverage

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

[Bug c++/98352] [9/10/11 Regression] ICE in implicitly_declare_fn, at cp/method.c:2914 since r9-6097-g9d35a27a8353b57e

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98352 Andrew Pinski changed: What|Removed |Added Target Milestone|9.4 |11.0

[Bug ipa/95913] Capturing lambdas inlining behavior changed in GCC 10.x

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95913 --- Comment #3 from Andrew Pinski --- Created attachment 57954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57954=edit testcase

[Bug c++/110486] gcc rejects constant expression with consteval lambda

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110486 Andrew Pinski changed: What|Removed |Added Known to work||14.0 Keywords|

[Bug rtl-optimization/114729] RISC-V SPEC2017 507.cactu excessive spillls with -fschedule-insns

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114729 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra

[Bug c++/100172] ICE with "concept concept" keyword

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100172 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #4 from

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 102931, which changed state. Bug 102931 Summary: ICE explicit lambda call operator without template keyword https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102931 What|Removed |Added

[Bug c++/102931] ICE explicit lambda call operator without template keyword

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102931 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 Andrew Pinski changed: What|Removed |Added CC||johelegp at gmail dot com --- Comment

[Bug c++/102693] ICE in tsubst related to lambdas as template default parameters

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102693 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug c++/102693] ICE in tsubst related to lambdas as template default parameters

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102693 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/54367] [meta-bug] lambda expressions

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 102693, which changed state. Bug 102693 Summary: ICE in tsubst related to lambdas as template default parameters https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102693 What|Removed |Added

[Bug c++/109978] ICE in tsubst, at cp/pt.cc:15869: alias template + c array size deduction + lambda

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109978 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|DUPLICATE

[Bug c++/98500] ICE template template parameter with default parameter lambda

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98500 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-12-22 00:00:00 |2024-4-15 --- Comment #5 from Andrew

[Bug c++/114728] Coroutine called in short-circuit fold expression

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114728 Andrew Pinski changed: What|Removed |Added Depends on||101027 --- Comment #2 from Andrew

[Bug c++/114728] Coroutine called in short-circuit fold expression

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114728 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Andrew

[Bug c/114727] ICE with c23 with aligned attribute and .-g

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114727 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-04-15 Ever confirmed|0

[Bug tree-optimization/114725] Missed optimization: more precise range for and

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

[Bug tree-optimization/114725] Missed optimization: more precise range for and

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114725 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug c++/114625] requires { T{}; } wrongly returns true when T{} is ill-formed while in concept/decltype

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114625 Andrew Pinski changed: What|Removed |Added Summary|requires { T{}; } wrongly |requires { T{}; } wrongly

[Bug preprocessor/89373] macro expansion not counting braces correctly

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89373 Andrew Pinski changed: What|Removed |Added CC||willisahershey at gmail dot com ---

[Bug preprocessor/114726] Function-like-macro expansion containing compound literal won't compile

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114726 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug preprocessor/114726] Function-like-macro expansion containing compound literal won't compile

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114726 --- Comment #5 from Andrew Pinski --- That is { does not gets balanced in the preprocessor only ().

[Bug preprocessor/114726] Function-like-macro expansion containing compound literal won't compile

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114726 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/114724] [Regression] libstdc++prettyprinters/debug.[cc|cxx11.cc] failing to build

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114724 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/114722] Missed optimization: !e*d*e=>0, affected by useless instructions

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114722 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

<    1   2   3   4   5   6   7   8   9   10   >