[Bug c++/115233] New: constexpr RVO result is not determined as constant epression

2024-05-26 Thread konstantin.vladimirov at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Consider I have this type: --- struct Type { int a; const int& b; constexpr Type() : a(1), b(a) {} }; constexpr

[Bug ipa/114703] New: Missed devirtualization in rather simple case

2024-04-12 Thread konstantin.vladimirov at gmail dot com via Gcc-bugs
: ipa Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- See code here: https://godbolt.org/z/T9Ma7qe3E struct A { virtual int foo() { return 1; } }; struct B : A { int foo() override { return 2; } virtual int

[Bug c++/97220] New: Overload resolution works wrong when implicit conversion not exists

2020-09-27 Thread konstantin.vladimirov at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Minimal reproducer is here: https://godbolt.org/z/rd4e9a struct S { explicit S(int, int, int) {} }; struct T { T

[Bug middle-end/90796] New: GCC: O2 vs O3 output differs on simple test

2019-06-09 Thread konstantin.vladimirov at gmail dot com
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Reproduction: --- #include unsigned b[11]; unsigned c; int d, e, f; char en; int main() { for (; e < 100; e += 3) { printf("b[0] = %u

[Bug middle-end/89677] New: internal compiler error: in wide_int_to_tree_1, at tree.c:1549

2019-03-12 Thread konstantin.vladimirov at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Reproduction after creduce: --- a, b, d; unsigned c; float e, f, g; h() { float *i = for (; c < 10; c +

[Bug tree-optimization/86991] [8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6919

2019-02-13 Thread konstantin.vladimirov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86991 --- Comment #9 from Tilir --- One more test case: int b[11], e[11], c, d; void f() { unsigned g, h; for (; g < 11; g += 2) { c = 2; for (; c; c += 3) { h = 1; for (; h < 11; h++) e[h] = e[h] + d - b[g]; } }

[Bug tree-optimization/89238] New: cc1 hangs after

2019-02-07 Thread konstantin.vladimirov at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Reproduction after creduce: --- a, b, c, d, f, g, h, i, j, k; unsigned long e; l(m) { unsigned n = 0; unsigned long o = g + (e >> 5) - 7; for (; j; j++) g = g +

[Bug middle-end/89008] New: O2 and O1 results differ for simple test

2019-01-23 Thread konstantin.vladimirov at gmail dot com
-end Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Simple test: #include unsigned long a, c; unsigned b; int d, e; long f() { unsigned long g = 0; for (d = 0; d < 5; d += 2) for (e = 0; e <

[Bug tree-optimization/87645] New: gcc hangs up on vr_values::vrp_visit_assignment_or_call

2018-10-18 Thread konstantin.vladimirov at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Reproduction (after creduce, sorry for that code): typedef unsigned a[8]; a b, g; int c, d, e, f; int h() { unsigned

[Bug tree-optimization/87087] New: Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread konstantin.vladimirov at gmail dot com
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Reproduction (after creduce, sorry for that code): b; d; e() { unsigned f; unsigned g; int h; long i = 901380; for (;;) { d

[Bug tree-optimization/87074] New: Vectorization bug: O3 result differ from O2

2018-08-23 Thread konstantin.vladimirov at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Reproduction: long b; unsigned c[5]; unsigned long long d = 3; int e, f, g; void h() { for (; f < 11; f++) { b = g; for (e = 0; e <

[Bug tree-optimization/86991] New: internal compiler error: in vectorizable_reduction, at tree-vect-loop.c:6919

2018-08-17 Thread konstantin.vladimirov at gmail dot com
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Minimal reproduction: int b; extern unsigned c[]; unsigned d; long e; void f() { unsigned g, h

[Bug middle-end/85382] New: code compiled with fno-builtin uses builtin

2018-04-12 Thread konstantin.vladimirov at gmail dot com
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Minimized reproduction: double a, b; void f() { a = b * b * (628972 + b - 628972); } Compile with: gcc -msse4 -ffast-math -Os -S minimize.c -fno-builtin

[Bug c++/71822] New: [6.0/6.1 Regression] internal compiler error: in gimplify_expr, at gimplify.c:11025

2016-07-09 Thread konstantin.vladimirov at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Created attachment 38863 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38863=edit minimi

[Bug rtl-optimization/67751] New: redundant zero extension

2015-09-28 Thread konstantin.vladimirov at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Simple test: --- struct U { unsigned s: 1; }; struct V { unsigned short o: 7; unsigned short u: 1; }; extern struct U t[]; extern struct V d[]; unsigned foo

[Bug sanitizer/67136] New: sanitizer reports member access within null pointer for correct C++ code

2015-08-06 Thread konstantin.vladimirov at gmail dot com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot

[Bug middle-end/66876] New: vrp: changing unsigned to signed comparison

2015-07-15 Thread konstantin.vladimirov at gmail dot com
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Minimized test case (note explicit unsigned long cast): --- #include stdlib.h int a = 0xecfb39f5; unsigned short *d = (unsigned short *) a; int main (void

[Bug ipa/66751] New: Inline optimizes away function, keeping call to it in code

2015-07-03 Thread konstantin.vladimirov at gmail dot com
Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Created attachment 35903 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35903action=edit reproduction Using gcc 5.1.0 $ ~/x86

[Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2

2012-10-30 Thread konstantin.vladimirov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138 Bug #: 55138 Summary: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2 Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity:

[Bug c/53541] New: gcc-4.6.2 segfaults on dumping tree information

2012-05-31 Thread konstantin.vladimirov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53541 Bug #: 53541 Summary: gcc-4.6.2 segfaults on dumping tree information Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: major