[Bug c/99317] Missed warning

2021-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99317 --- Comment #1 from Andrew Pinski --- I dont think this is exactly a bug. The warning is a pedantic warning and with void*, things are implicitly converted by standard c rules.

[Bug c/99322] [11 Regression] ICE in change_scope, at final.c:1480

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

[Bug target/99038] aarch64_rtx_costs is missing tests for vector immediate forms

2021-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99038 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug c/99317] Missed warning

2021-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99317 --- Comment #3 from Andrew Pinski --- Right. basically what I am saying is: x ? void* : char* implies an implict conversion of the second operand to void*. Without the cast, there is no implict conversion in standard C, that is what the warning i

[Bug rtl-optimization/99346] [aarch64] ICE in gen_rtx_SUBREG, at emit-rtl.c:1021

2021-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99346 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from An

[Bug rtl-optimization/99346] [aarch64] ICE in gen_rtx_SUBREG, at emit-rtl.c:1021

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

[Bug middle-end/93235] [AArch64] ICE with __fp16 in a struct

2021-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93235 Andrew Pinski changed: What|Removed |Added CC||spop at gcc dot gnu.org --- Comment #5 f

[Bug rtl-optimization/99346] [aarch64] ICE in gen_rtx_SUBREG, at emit-rtl.c:1021

2021-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99346 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > This is a dup of bug 93235. I should note I reduced it to that bug report and looking at the expand/optimized dumps to see it was also.

[Bug c++/99354] spurious Wuninitialized warning diagnostic

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

[Bug tree-optimization/99364] Regression: loops not optimized to count to 0/-1

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

[Bug tree-optimization/22041] Reverse loop order for increased efficiency

2021-03-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22041 Andrew Pinski changed: What|Removed |Added CC||stefan at franke dot ms --- Comment #10

[Bug middle-end/99370] calling a virtual function in insufficient space silently folded to __builtin_unreachable

2021-03-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99370 --- Comment #1 from Andrew Pinski --- The problem is since this transformation is done during optimization, it could be done on a path that is not executed at all. This is why -fsanitize=undefined/-fsanitize=unreachable should be used if you wan

[Bug ipa/99373] unused static function not being removed in some cases after optimization

2021-03-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99373 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Summary|[missed o

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-03-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #

[Bug middle-end/44262] va_list usage missed optimization.

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44262 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-03-04 Status|UNCONFIRME

[Bug target/99384] Unoptimized tailcall with char and short as parameter (x86)

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

[Bug target/95453] Failure to avoid useless sign extension

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95453 Andrew Pinski changed: What|Removed |Added CC||jonathan.poelen at gmail dot com --- Co

[Bug target/95453] Failure to avoid useless sign extension

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

[Bug target/97607] Spurious sign extension

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97607 Andrew Pinski changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment #

[Bug target/97607] Spurious sign extension

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97607 Andrew Pinski changed: What|Removed |Added CC||mike.k at digitalcarbide dot com --- Co

[Bug target/93605] GCC suboptimal tail call optimization in trivial function forwarding with __attribute__((noinline))

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

[Bug c++/99393] Unoptimized tailcall with char and short as parameter (x86)

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

[Bug target/97607] Spurious sign extension

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97607 Andrew Pinski changed: What|Removed |Added CC||jonathan.poelen at gmail dot com --- Co

[Bug tree-optimization/99396] std::rotl and std::rotr do not invoke intrinsics, leading to serious performance issues

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99396 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |tree-optimization Status|UNC

[Bug tree-optimization/99396] std::rotl and std::rotr Does not convert into ROTATE on the gimple level

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99396 Andrew Pinski changed: What|Removed |Added Summary|std::rotl and std::rotr do |std::rotl and std::rotr

[Bug tree-optimization/99396] std::rotl and std::rotr Does not convert into ROTATE on the gimple level

2021-03-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99396 --- Comment #3 from Andrew Pinski --- (In reply to cqwrteur from comment #2) > I would like to see __builtin_cpp_rotl and __builtin_cpp_rotr to allow more > aggressive optimizations since rotl and rotr are so important for > cryptography. You do

[Bug target/99312] __ARM_ARCH is not implemented correctly when compiled with -march=armv8.1-a

2021-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99312 --- Comment #3 from Andrew Pinski --- (In reply to ktkachov from comment #2) > We intend to deprecate that macro going forward as it's not a useful way for > testing architecture features in aarch64. It made sense in the pre-Armv7-a > days, but n

[Bug target/99312] __ARM_ARCH is not implemented correctly when compiled with -march=armv8.1-a

2021-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99312 --- Comment #4 from Andrew Pinski --- ODP is one place where this is used: https://opendataplane.github.io/odp/structodp__system__info__t.html

[Bug target/99312] __ARM_ARCH is not implemented correctly when compiled with -march=armv8.1-a

2021-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99312 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/99410] Nios II Error: branch offset out of range

2021-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #1 from Andrew Pinski --- I think this is the same as https://sourceware.org/bugzilla/show_bug.cgi?id=27243 .

[Bug target/99432] ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99432 Andrew Pinski changed: What|Removed |Added Depends on||99422 --- Comment #1 from Andrew Pinski

[Bug target/99434] std::bit_cast generates more instructions than __builtin_bit_cast and memcpy with -march=native

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99434 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Target|

[Bug target/99434] std::bit_cast generates more instructions than __builtin_bit_cast and memcpy with -march=native

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99434 --- Comment #3 from Andrew Pinski --- (In reply to cqwrteur from comment #2) > (In reply to Andrew Pinski from comment #1) > > This is just a register allocation issue dealing with mulx and TImode. > > > > If mulq was used instead (that is witho

[Bug target/99437] [11 Regression] Error: immediate value out of range 1 to 8 at operand 3 -- `shrn v1.8b,v1.8h,15'

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99437 Andrew Pinski changed: What|Removed |Added Summary|Error: immediate value out |[11 Regression] Error:

[Bug target/99437] [11 Regression] Error: immediate value out of range 1 to 8 at operand 3 -- `shrn v1.8b,v1.8h,15'

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99437 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-03-07 Ever confirmed|0

[Bug target/98792] Fail to use SHRN instructions for narrowing shift on aarch64

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98792 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-03-07 Status|UNCONFIRME

[Bug target/99312] __ARM_ARCH is not implemented correctly when compiled with -march=armv8.1-a

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

[Bug middle-end/99370] calling a virtual function in insufficient space silently folded to __builtin_unreachable

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99370 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/99195] Optimise away vec_concat of 64-bit AdvancedSIMD operations with zeroes in aarch64

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99195 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug target/99432] ICE in extract_constrain_insn, at recog.c:2670 when building libgcc for i686

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

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 Andrew Pinski changed: What|Removed |Added CC||italolmm2018 at outlook dot com --- Comm

[Bug bootstrap/99438] [11 regression] libgcc/soft-fp/divtf3.c:51:1: error: unrecognizable insn

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

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 Andrew Pinski changed: What|Removed |Added CC||gerald at pfeifer dot com --- Comment #5

[Bug middle-end/98865] Missed transform of (a >> 63) * b

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98865 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-03-07 Severity|normal

[Bug debug/95431] inconsistent behaviors at -O2

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95431 --- Comment #2 from Andrew Pinski --- Looks correct at the gimple level: [t.c:6:3] # DEBUG BEGIN_STMT [t.c:6:16] one.0_1 ={v} one; [t.c:6:16] _2 = (char) one.0_1; [t.c:6:8] a1[0] = _2; [t.c:6:8] MEM [(char *)&a1 + 1B] = 770; [t.c:6:8

[Bug debug/95432] inconsistent behaviors at -O2

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95432 --- Comment #2 from Andrew Pinski --- Assembly: .loc 1 12 3 is_stmt 1 view .LVU12 .loc 1 10 8 is_stmt 0 view .LVU13 movaps %xmm0, (%rsp) .loc 1 11 8 view .LVU14 movaps %xmm0, 32(%rsp) .loc 1 12 13

[Bug rtl-optimization/95405] Unnecessary stores with std::optional

2021-03-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95405 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug gcov-profile/99443] [GCOV] No coverage with "Aborted(core dumped)"

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99443 --- Comment #1 from Andrew Pinski --- I think this is expected behavior. Aborting should not dump the coverage file at all as it should be used for an really bad unexitable situation only.

[Bug gcov-profile/99443] [GCOV] No coverage with "Aborted(core dumped)"

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99443 --- Comment #2 from Andrew Pinski --- This behavior might even be documented but I have not looked yet.

[Bug gcov-profile/99442] [GCOV] No coverage with "Segmentation fault (core dumped)"

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99442 --- Comment #1 from Andrew Pinski --- There is no way really to recover from a segfault in a manner that is suitable for all programs. The developer could set a sigv handler if they want to do any recovery from it. The library should not do it.

[Bug gcov-profile/99441] [GCOV] Wrong coverage with complex "if" condition

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99441 --- Comment #1 from Andrew Pinski --- So line 27 has a short cutting conditional included, so technically it is executed 30 times, one for each side of the &&.

[Bug lto/99447] [11 Regression] ICE (segfault) in lookup_page_table_entry

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99447 --- Comment #2 from Andrew Pinski --- Looks like a stack overflow while doing gc. To me die_struct GTY could use a recursive note added to it. That is just by looking at the backtrace.

[Bug debug/95432] inconsistent behaviors at -O2

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

[Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit

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

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 Andrew Pinski changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #8

[Bug gcov-profile/99443] [GCOV] No coverage with "Aborted(core dumped)"

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99443 --- Comment #4 from Andrew Pinski --- It is not well documented though. https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Gcov-and-Optimization.html#Gcov-and-Optimization Long-running applications can use the __gcov_reset and __gcov_dump facilities t

[Bug c/99455] internal compiler error: In function 'prb_reserve_in_last' in linux kernel

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

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 --- Comment #9 from Andrew Pinski --- *** Bug 99455 has been marked as a duplicate of this bug. ***

[Bug c++/99456] [11 regression] ABI breakage with some static initialization

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

[Bug debug/99457] gcc/gdb -gstabs+ is buggy.

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99457 --- Comment #1 from Andrew Pinski --- stabs support really should be removed.

[Bug debug/99457] gcc/gdb -gstabs+ is buggy.

2021-03-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99457 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2017-July/479552.html

[Bug rtl-optimization/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019

2021-03-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99467 Andrew Pinski changed: What|Removed |Added Version|unknown |11.0 Target Milestone|---

[Bug rtl-optimization/99470] Convert fixed index addition to array address offset

2021-03-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99470 --- Comment #1 from Andrew Pinski --- these two code are not equivalent at all due to overflows and such.

[Bug rtl-optimization/99470] Convert fixed index addition to array address offset

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

[Bug rtl-optimization/99470] Convert fixed index addition to array address offset

2021-03-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99470 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > The reason why int is not equivalent because signed integer overflow is > undefined plus doing the math in 64bit or 32bit would cause a huge > difference in some

[Bug tree-optimization/99473] redundant conditional zero-initialization not eliminated

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

[Bug debug/99334] Generated DWARF unwind table issue while on instructions where rbp is pointing to callers stack frame

2021-03-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99334 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/99491] [mips64] over-strict refusal to emit tail calls

2021-03-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99491 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/99548] Help me! Lost the fight against the compiler.

2021-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99548 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #1 from Andrew Pinski

[Bug lto/99559] LTO with -Os -ffreestanding -nodefaultlibs may generate call to memcpy, but fail linking even though memcpy is defined

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

[Bug lto/58203] memset/memcpy are discarded with -flto

2021-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58203 Andrew Pinski changed: What|Removed |Added CC||kabel at blackhole dot sk --- Comment #3

[Bug middle-end/99579] gmon.out not created with -O0 but otherwise is

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

[Bug middle-end/99608] gcc doesn't print diagnostics carets when file is passed through stdin

2021-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99608 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|driver

[Bug middle-end/99619] fails to infer local-dynamic TLS model from hidden visibility

2021-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99619 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/99620] Subtract with borrow (SBB) missed optimization

2021-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99620 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target Keywords|

[Bug target/99620] Subtract with borrow (SBB) missed optimization

2021-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99620 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu --- Comment #1 from And

[Bug target/99621] [8,9,10,11 REGRESSION] [bisected to 058e97ecf33ad0dfd926b3876a4bcf59ac9556ff] regression with -m32 -O1 -fcaller-saves -fexpensive-optimizations

2021-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99621 Andrew Pinski changed: What|Removed |Added Summary|[5-11 REGRESSION] [bisected |[8,9,10,11 REGRESSION]

[Bug tree-optimization/99632] missing warning accessing a trailing zero length array member of base class

2021-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99632 --- Comment #1 from Andrew Pinski --- The code is chopped off and does not declare the struct B.

[Bug target/99639] New: Duplicated constant in V2SI/V4SI

2021-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99639 Bug ID: 99639 Summary: Duplicated constant in V2SI/V4SI Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Prior

[Bug c/99649] GDB has issue to show backtrace if the breakpoint is in a function with more then 8 parameters - only for target aarch64-elf ILP32

2021-03-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99649 --- Comment #1 from Andrew Pinski --- Gdb support for ilp32 has never been committed so I dont see how you are using it.

[Bug target/99652] inline doesn't with -mno-sse

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

[Bug c++/99677] [[gnu::const]] attribute does not prevent dead global variable gets emitted.

2021-03-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99677 --- Comment #3 from Andrew Pinski --- I think this is a dup of bug 99456.

[Bug middle-end/99689] Initialized local variable becomes uninitialized after use

2021-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99689 Andrew Pinski changed: What|Removed |Added Component|c++ |middle-end Keywords|

[Bug libstdc++/99692] Lookup for operator<< skips global scope

2021-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99692 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Andrew Pin

[Bug libstdc++/99692] Lookup for operator<< skips global scope

2021-03-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99692 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Right the problem is here (and not with the compiler itself if there is a > problem): > /home/ubuntu/upstream-gcc/include/c++/11.0.1/ostream:747:46: error: no mat

[Bug c/99693] -O2 not move 'if' checks on const data outside the loops

2021-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99693 --- Comment #2 from Andrew Pinski --- Loop unswitching is correctly only turned on at -O3+. So you want to move it to -O2. Note loop unswitching can cause performance problems due to increase of usage of the icache and such.

[Bug target/99698] [aarch64] Impossible to accurately detect extensions using preprocessor

2021-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99698 --- Comment #1 from Andrew Pinski --- >AFAICT there is no way to reliably detect armv8.2-a. There is supposed to be See PR 99312 .

[Bug target/99706] [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 CC|

[Bug target/99706] [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-03-22 Status|UNCONFIRME

[Bug c/99707] missing -Woverflow warning in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 --- Comment #1 from Andrew Pinski --- Gcc does not know that x will be negative. Note: x == -1.0 is well defined. As x is converted to double from unsigned int. -Wconversion might warn about this but I have not tried.

[Bug c/99707] missing -Woverflow warning in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 --- Comment #2 from Andrew Pinski --- Also this might be caught at runtime with -fsanitizer=undefined but I have not tried yet. Since this is undefined behavior in this case unlike the original PR93806.

[Bug c/99707] missing -Woverflow warning in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 --- Comment #4 from Andrew Pinski --- The front end does not normally do constant prop if the variable is not a const/constexpr so the warning would be done in the middle end and might have false warnings so it might not be useful.

[Bug target/99706] [10/11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 Andrew Pinski changed: What|Removed |Added Version|11.0|10.1.0 Summary|[11 Regression

[Bug c++/69549] Named Address Spaces does not compile in C++

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549 --- Comment #6 from Andrew Pinski --- (In reply to Thiago Macieira from comment #5) > BTW, Clang solved this by making __seg_fs, __seg_gs macros that resolve to > __attribute__: > That way, they don't need to be deduced as qualifiers in C, l

[Bug middle-end/99736] Statement expression (gcc extension) cannot return struct with variable length array

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

[Bug c/29970] mixing ({...}) with VLA leads to massive breakage

2021-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29970 Andrew Pinski changed: What|Removed |Added CC||tunagul29 at icloud dot com --- Comment

[Bug c/99779] [GCC-10.1.0]A bug when assign to a pointer by function which process the pointer inside.

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

[Bug c/99784] `labels as values`can point to the wrong spot after optimization

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

gcc-bugs@gcc.gnu.org

2021-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96956 Andrew Pinski changed: What|Removed |Added CC||mh+gcc at glandium dot org --- Comment #

[Bug c++/99785] Awful lot of time spent building gl.cc in Firefox

2021-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99785 --- Comment #1 from Andrew Pinski --- -O0 -ftime-report: callgraph ipa passes : 6.16 ( 19%) 0.94 ( 20%) 7.10 ( 19%) 62M ( 6%) (NOTE this is the trunk with checking enabled and not GCC built with --enable-checking=release

  1   2   3   4   5   6   7   8   9   10   >