[Bug ipa/102067] SEGFAULT in varpool_node::get_constructor during lto1 when optimising or not using debug symbols

2021-08-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102067 --- Comment #20 from Martin Liška --- All right Matt, for now I would really recommend updating to gcc-11. I think it should help.

[Bug rtl-optimization/63315] -fcompare-debug bootstrap issue in libjava (fixup_abnormal_edges related)

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63315 --- Comment #3 from Andrew Pinski --- So I looked and I suspect in the end was the same issue as PR 69838. I have no way to prove this though.

[Bug target/98167] [x86] Failure to optimize operation on indentically shuffled operands into a shuffle of the result of the operation

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98167 --- Comment #17 from Andrew Pinski --- (In reply to Hongtao.liu from comment #16) > typedef int v4si __attribute__ ((vector_size(16))); > > v4si f(v4si a, v4si b) { > v4si a1 = __builtin_shufflevector (a, a, 2, 3 ,1 ,0); > v4si b1 =

[Bug target/98167] [x86] Failure to optimize operation on indentically shuffled operands into a shuffle of the result of the operation

2021-08-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98167 --- Comment #16 from Hongtao.liu --- typedef int v4si __attribute__ ((vector_size(16))); v4si f(v4si a, v4si b) { v4si a1 = __builtin_shufflevector (a, a, 2, 3 ,1 ,0); v4si b1 = __builtin_shufflevector (b, a, 2, 3 ,1 ,0); return a1

[Bug tree-optimization/102072] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on armeb

2021-08-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102072 --- Comment #6 from Jiu Fu Guo --- (In reply to Richard Earnshaw from comment #5) > (In reply to Jiu Fu Guo from comment #4) > > > I did not find arm big-endian yet, I'm trying to reproduce this issue on > > other targets... > > For testing

[Bug rtl-optimization/64525] Duplicate instructions in both paths in conditional code

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

[Bug libstdc++/102090] Placement-new is not constexpr

2021-08-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102090 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug libstdc++/69191] Wrong equality comparison between error_code and error_condition + segfault

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69191 Andrew Pinski changed: What|Removed |Added Resolution|--- |WORKSFORME

[Bug rtl-optimization/43056] __builtin_prefetch causes ICE: in rtl_verify_flow_info, at cfgrtl.c:2205 with -fsched2-use-superblocks

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43056 Andrew Pinski changed: What|Removed |Added Known to work||4.8.0 --- Comment #7 from Andrew Pinski

[Bug ipa/102067] SEGFAULT in varpool_node::get_constructor during lto1 when optimising or not using debug symbols

2021-08-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102067 --- Comment #19 from Martin Liška --- (In reply to Andrew Pinski from comment #18) > I wonder if this is fixed for GCC 10 by the patch which fixes PR 88220. This ICE is about variables for those we are unable loading a constructor.

[Bug target/101796] Miss optimization to optimized (vashl op0, (op1: const_duplicate_vector)) to (ashl op0 op1_inner)

2021-08-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101796 --- Comment #4 from Hongtao.liu --- (In reply to Andrew Pinski from comment #3) > Combine is able to do the combine but it fails as it does not match: > Trying 10, 9 -> 14: >10: r92:HI=0x3 > 9: r91:V32HI=vec_duplicate(r92:HI) >

[Bug target/98167] [x86] Failure to optimize operation on indentically shuffled operands into a shuffle of the result of the operation

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98167 --- Comment #19 from Andrew Pinski --- (In reply to Hongtao.liu from comment #18) > For vector integers it should be ok? > For vector floating point we can add condition > flag_unsafe_math_optimizations || !flag_trapping_math for the

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 --- Comment #2 from Martin Liška --- Started with r12-3136-g3673dcf6d6baeb67.

[Bug middle-end/102080] [12 Regression] avx512vl related ICE, on firefox-92 gcc ICEs: in expand_insn, at optabs.c:7946 by r12-2679

2021-08-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102080 --- Comment #14 from Martin Liška --- Even simpler test-case: #pragma GCC target "avx" typedef float __m256 __attribute__((__vector_size__(32))); __m256 _mm256_blendv_ps___Y, _mm256_blendv_ps___M, _mm256_mul_ps___A, _mm256_mul_ps___B,

[Bug middle-end/102080] [12 Regression] avx512vl related ICE, on firefox-92 gcc ICEs: in expand_insn, at optabs.c:7946 by r12-2679

2021-08-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102080 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug tree-optimization/102091] some interesting looking code in gimple_could_trap_p_1 in gimple.c

2021-08-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102091 --- Comment #2 from Andreas Schwab --- It helps to enable blink-matching-paren.

[Bug rtl-optimization/55153] [4.8 Regression] ICE: in begin_move_insn, at sched-ebb.c:205 with -fsched2-use-superblocks and __builtin_prefetch

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55153 --- Comment #7 from Andrew Pinski --- *** Bug 43056 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/43056] __builtin_prefetch causes ICE: in rtl_verify_flow_info, at cfgrtl.c:2205 with -fsched2-use-superblocks

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

[Bug ipa/102081] [12 regression] ICE building compiler starting with r12-3159

2021-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102081 Richard Biener changed: What|Removed |Added Version|9.4.1 |12.0 Target Milestone|---

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049

2021-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Summary|ICE on

[Bug sanitizer/102085] libsanitizer/asan/asan_errors.cpp:387: declaration and definition do not match ?

2021-08-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102085 Martin Liška changed: What|Removed |Added Resolution|--- |MOVED URL|

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[12 Regression]

[Bug libstdc++/80371] std::is_integral and std::is_floating_point fail with vector types

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80371 --- Comment #1 from Andrew Pinski --- GCC, ICC and clang all cause the assert to happen.

[Bug tree-optimization/102091] New: some interesting looking code in gimple_could_trap_p_1 in gimple.c

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102091 Bug ID: 102091 Summary: some interesting looking code in gimple_could_trap_p_1 in gimple.c Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/45178] CDDCE doesn't eliminate conditional code in infinite loop

2021-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45178 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:41439e1f6d2da1e86538c726f0603cffd5dd098e commit r12-3182-g41439e1f6d2da1e86538c726f0603cffd5dd098e Author: Richard Biener Date:

[Bug tree-optimization/45178] CDDCE doesn't eliminate conditional code in infinite loop

2021-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45178 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/102091] some interesting looking code in gimple_could_trap_p_1 in gimple.c

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

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

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

[Bug target/98167] [x86] Failure to optimize operation on indentically shuffled operands into a shuffle of the result of the operation

2021-08-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98167 --- Comment #18 from Hongtao.liu --- (In reply to Andrew Pinski from comment #17) > (In reply to Hongtao.liu from comment #16) > > typedef int v4si __attribute__ ((vector_size(16))); > > > > v4si f(v4si a, v4si b) { > > v4si a1 =

[Bug middle-end/102080] [12 Regression] avx512vl related ICE, on firefox-92 gcc ICEs: in expand_insn, at optabs.c:7946 by r12-2679

2021-08-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102080 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug target/101796] Miss optimization to optimized (vashl op0, (op1: const_duplicate_vector)) to (ashl op0 op1_inner)

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

[Bug libstdc++/69191] Wrong equality comparison between error_code and error_condition + segfault

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69191 --- Comment #18 from Andrew Pinski --- (In reply to Kristian Spangsege from comment #13) > I've now run into this problem too, and it seems to be general, not just > limited to Ubuntu. > > There is the code that I compile: So this comment #13

[Bug libstdc++/102090] Placement-new is not constexpr

2021-08-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102090 --- Comment #7 from Jakub Jelinek --- http://eel.is/c++draft/new.syn doesn't say placement new should be constexpr.

[Bug other/101711] Error when gcc cross compile libvtv

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug other/97465] cross build gcc with vtv enabled failed. Cannot find out headers in glibc why?

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

[Bug other/97465] cross build gcc with vtv enabled failed. Cannot find out headers in glibc why?

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97465 --- Comment #4 from Andrew Pinski --- I will try to find a simple way to reproduce this tomorrow.

[Bug tree-optimization/102072] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on armeb

2021-08-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102072 --- Comment #7 from Jiu Fu Guo --- For this case: it was generated as: l_12 = l_25 + 1; if (l_12 > n_13(D)) Here: cmp is ">", bound is "n_13", and "iv(base=l_xx, step=1)". This hits the assert in determine_exit_conditions. For members of

[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

2021-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476 --- Comment #5 from Jonathan Wakely --- Since language linkage of an entity without linkage makes no sense, it wouldn't make sense to even allow specifying language linkage in an unnamed namespace if it did nothing.

[Bug ipa/102067] SEGFAULT in varpool_node::get_constructor during lto1 when optimising or not using debug symbols

2021-08-27 Thread matt at godbolt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102067 --- Comment #21 from Matt Godbolt --- Thanks, I'd love to upgrade but in this instance I'm stuck on GCC 9.x until the rest of my company can move to it. Nothing annoys me more than having to say that, but ... at least we know what it is and

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 H.J. Lu changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #5 from

[Bug c++/102097] New: Error in selecting more specialized function in case of ambiguity

2021-08-27 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102097 Bug ID: 102097 Summary: Error in selecting more specialized function in case of ambiguity Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/51923] cxa_atexit test changed outcome with gld 2.22

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

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 H.J. Lu changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug c++/53868] Temporary for indirect binding is not destroyed when destructor from initializer temp throws

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53868 Andrew Pinski changed: What|Removed |Added Target|powerpc64-unknown-linux-gnu |

[Bug d/102093] New: d: Add --enable-d-flags= configure option to libphobos

2021-08-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102093 Bug ID: 102093 Summary: d: Add --enable-d-flags= configure option to libphobos Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/102072] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on armeb

2021-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102072 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/102094] New: d: ICE in gimple_register_canonical_type_1, at lto/lto-common.c:430

2021-08-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102094 Bug ID: 102094 Summary: d: ICE in gimple_register_canonical_type_1, at lto/lto-common.c:430 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug c/102096] New: Gcc unnecessarily initializes indeterminate variables passed across function boundaries

2021-08-27 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102096 Bug ID: 102096 Summary: Gcc unnecessarily initializes indeterminate variables passed across function boundaries Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 --- Comment #6 from Jiu Fu Guo --- Drafting patch to calculate three items: control, bound and cmp. diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 7af92d1c893..c6e4b24fd83 100644 --- a/gcc/tree-ssa-loop-niter.c

[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

2021-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476 --- Comment #6 from Jonathan Wakely --- Actually I suppose that's not true, since in theory C language linkage gives the function a different type, orthogonal from internal/external/no linkage, but nobody implements that.

[Bug c++/102092] New: [C++2b] Passing argument to auto template parameter modifies the value of argument inside function

2021-08-27 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102092 Bug ID: 102092 Summary: [C++2b] Passing argument to auto template parameter modifies the value of argument inside function Product: gcc Version: 12.0 Status:

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 Jiu Fu Guo changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/102072] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on armeb

2021-08-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102072 Jiu Fu Guo changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug fortran/58334] preprocessor behavior diffs under line continuation

2021-08-27 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug sanitizer/102095] New: Returned reference to temporary not caught by -fsanitize=undefined

2021-08-27 Thread loximann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102095 Bug ID: 102095 Summary: Returned reference to temporary not caught by -fsanitize=undefined Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 --- Comment #7 from Jiu Fu Guo --- If step is +-1, or if the 'iv base' is constant, the 'bound' would be calculated as const. Otherwise, the 'bound' maybe something like: "(max - base) / step * step + base". For this case, then runtime cost

[Bug target/102068] [AIX] field alignment ignores packed

2021-08-27 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102068 David Edelsohn changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/102099] New: Diagnostics do not consider the user's locale when printing source lines

2021-08-27 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102099 Bug ID: 102099 Summary: Diagnostics do not consider the user's locale when printing source lines Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

2021-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

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

[Bug testsuite/57606] Failure in testing stage 3 of gcc-4.7.2

2021-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57606 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/48097] gcc sometimes generates code that uses the buggy libgcc_s unwinder on darwin (originally exposed by Throw_2 failures in libjava testsuite under Xcode 4.0)

2021-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48097 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug other/102099] Diagnostics do not consider the user's locale when printing source lines

2021-08-27 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102099 --- Comment #1 from Lewis Hyatt --- Created attachment 51365 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51365=edit Tested patch

[Bug libstdc++/102090] Placement-new is not constexpr

2021-08-27 Thread friedkeenan at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102090 --- Comment #8 from friedkeenan at protonmail dot com --- Sorry for wasting your time with this bug report. It just didn't make sense to me why placement-new couldn't be constexpr

[Bug target/99557] [AIX] Alignment of double for struct and C++ classes

2021-08-27 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99557 David Edelsohn changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/102098] New: ICE when #include with -fmodules-ts -std=c++20

2021-08-27 Thread accelerator0099 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102098 Bug ID: 102098 Summary: ICE when #include with -fmodules-ts -std=c++20 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority:

[Bug libstdc++/102100] New: _GLIBCXX_ASSERTIONS information missing.

2021-08-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102100 Bug ID: 102100 Summary: _GLIBCXX_ASSERTIONS information missing. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/102092] [C++2b] Passing argument to auto template parameter modifies the value of argument inside function

2021-08-27 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102092 --- Comment #1 from Andrei-Edward Popa --- This is a link for code compilation in compiler explorer. https://godbolt.org/z/3jMr6Wze6

[Bug c++/79531] bad location when trying to define undeclared method

2021-08-27 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79531 --- Comment #3 from Tom Tromey --- (In reply to Andrew Pinski from comment #2) > Which seems ok, unless I am missing something. Looks good to me too, IMO you could close this bug.

[Bug c++/102101] New: Another spurious -Warray-bounds

2021-08-27 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102101 Bug ID: 102101 Summary: Another spurious -Warray-bounds Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/80371] std::is_integral and std::is_floating_point fail with vector types

2021-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80371 --- Comment #2 from Jonathan Wakely --- (In reply to jwjagersma from comment #0) > Testing with std::is_integral or std::is_floating_point fails for > vector types. I don't think that's supposed to happen. Says who? The docs on the attribute

[Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1.

2021-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102100 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Known to fail|

[Bug c++/77298] -Wnonnull-compare only emitted for code which is invoked

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

[Bug c++/65845] typeid doesn't work consistently on pure virtual classes

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

[Bug c/102103] missing warning for arrays

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #9 from Martin Sebor --- Created attachment 51366 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51366=edit Reduced test case. Attached is a reduced test case.

[Bug go/102102] New: [12 Regression] trunk 20210827 ftbfs libgo on x86_64-linux-gnux32

2021-08-27 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102102 Bug ID: 102102 Summary: [12 Regression] trunk 20210827 ftbfs libgo on x86_64-linux-gnux32 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/72753] sole flexible array member in a typedef rejected

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

[Bug libstdc++/102090] Placement-new is not constexpr

2021-08-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102090 --- Comment #9 from Jakub Jelinek --- One of the reasons might be that placement new returns void *, and cast of that to pointer to some other type is not valid in constant expressions. std::construct_at bypasses all of that just by being a

[Bug c++/77299] No warning for unused "INT64_MAX" and similar constants

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

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 Andrew Pinski changed: What|Removed |Added CC||wipedout at yandex dot ru --- Comment

[Bug c++/77557] gcc doesn't warn about code (clang does), __PRETTY_FUNCTION__ used in struct in function

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77557 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-27

[Bug c++/77566] Warnings (-Wextra) disappear for a public reference to the this pointer

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77566 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-27

[Bug c++/62165] Misleading error messages when using "impossible" brace initializer list

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

[Bug c++/60815] prologue line is wrong for templates

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60815 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|Inconsistent

[Bug c++/78704] operator-> pointer return type is not recognized as pointer type

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78704 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #10 from Martin Sebor --- With the reduced test case from attachment 51366 I get the same warning: $ gcc -O2 -S -Wall -std=c++20 -xc++ ListTest.cpp.i In constructor ‘double_iterator::double_iterator(single_iterator) [with T =

[Bug c++/92193] Poor diagnostics when a constexpr function call follows a failed static_assert

2021-08-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92193 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/65174] noexcept() returns true when operator delete with a NULL PTR that has a throwing destructor

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65174 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-10-17 00:00:00 |2021-8-27 Summary|noexcept()

[Bug c++/69698] [meta-bug] flexible array members

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Bug 69698 depends on bug 72753, which changed state. Bug 72753 Summary: sole flexible array member in a typedef rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72753 What|Removed |Added

[Bug c++/77299] No warning for unused "INT64_MAX" and similar constants

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Last reconfirmed|

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-08-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 102019, which changed state. Bug 102019 Summary: [12 Regression] UBSAN error: hwint.h:293:61: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' since

[Bug c++/102019] [12 Regression] UBSAN error: hwint.h:293:61: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' since r12-2975-g32c3a75390623a0470df52af13f78baddd562981

2021-08-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102019 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/78019] Local class with lambda in default member initializer cannot default-capture this

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78019 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Status|NEW

[Bug c/102103] New: missing warning for arrays

2021-08-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 Bug ID: 102103 Summary: missing warning for arrays Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/60924] __attribute__((no_sanitize_address)) and friends should (only?) be allowed at function definitions

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

[Bug middle-end/102101] spurious -Warray-bounds on a virtual function call and a derived class

2021-08-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102101 Martin Sebor changed: What|Removed |Added Blocks||56456 Summary|Another

[Bug c++/41437] No access control for classes in template functions

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 Andrew Pinski changed: What|Removed |Added CC||lhyatt at gmail dot com --- Comment #17

[Bug c++/58740] incorrect access check of static base class member in derived template class

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

[Bug rtl-optimization/70892] additional memory access generated in loop if destructor is inlined

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70892 Andrew Pinski changed: What|Removed |Added Component|middle-end |rtl-optimization Known to fail|

  1   2   3   >