[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2017-04-25 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 --- Comment #3 from Arnaud Desitter --- Interesting reference. Note that "virtual + final" can be useful even if the core guidelines discourage its use. struct A { virtual void f() final; }; struct B : A { // "void f()" cannot be defined };

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2017-04-25 Thread ol.rakhimov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 --- Comment #4 from ol.rakhimov at gmail dot com --- (In reply to Arnaud Desitter from comment #3) > Interesting reference. Note that "virtual + final" can be useful even if the > core guidelines discourage its use. > > struct A { > virtual voi

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #14 from Marek Polacek --- I believe this all section needs fixing and new testcases: 10793 tree arg00 = TREE_OPERAND (arg0, 0); 10794 tree arg01 = TREE_OPERAND (arg0, 1); 10795 tree arg10 = TREE_OPERAND

[Bug target/79430] [7/8 Regression] action of statement incorrectly optimised away

2017-04-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 --- Comment #73 from Thomas Koenig --- Created attachment 41265 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41265&action=edit Difference in assembly with and without the patch This is the difference in assembly generated. *.withpatch i

[Bug demangler/80513] demangler walks past trailing nul in mangled name in a bunch of cases

2017-04-25 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80513 --- Comment #1 from Richard Smith --- While we're here, this check for overflow in consume_count is nonsense, and any decent optimising compiler is going to optimise away the overflow check: https://github.com/gcc-mirror/gcc/blob/master/libibert

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-25 Thread gcc at zutt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #11 from jonne --- Doesn't seem to work, it cannot find the symbol. (gdb) break __asan_init Function "__asan_init" not defined. Make breakpoint pending on future shared library load? (y or [n]) y (I tried with three underscores too.

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 --- Comment #5 from Jonathan Wakely --- (In reply to Arnaud Desitter from comment #3) > Interesting reference. Note that "virtual + final" can be useful even if the > core guidelines discourage its use. > > struct A { > virtual void f() final;

[Bug demangler/80513] demangler walks past trailing nul in mangled name in a bunch of cases

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80513 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/80519] New: if(p)free(p) with -Os

2017-04-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80519 Bug ID: 80519 Summary: if(p)free(p) with -Os Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3

[Bug target/79430] [7/8 Regression] action of statement incorrectly optimised away

2017-04-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 --- Comment #74 from Thomas Koenig --- This part looks wrong: @@ -19206,8 +19196,9 @@ movq%r11, 112(%rsp) movq%rax, 96(%rsp) callintegral_over_z_part_isr.6797 -.LVL1464: +.LVL1465: .loc 1 3089 0 +

[Bug tree-optimization/80520] New: Performance regression from missing if-conversion

2017-04-25 Thread krister.walfridsson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520 Bug ID: 80520 Summary: Performance regression from missing if-conversion Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug c++/80521] New: Wrong line reported in error for missing template argument in friend class declaration.

2017-04-25 Thread carlo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80521 Bug ID: 80521 Summary: Wrong line reported in error for missing template argument in friend class declaration. Product: gcc Version: 7.0.1 Status: UNCONFIRMED S

[Bug c/80522] New: Enhancement request: __attribute((warn_untested_result))

2017-04-25 Thread joe at perches dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80522 Bug ID: 80522 Summary: Enhancement request: __attribute((warn_untested_result)) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/80523] New: -Wformat-overflow doesn't consider -fexec-charset

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80523 Bug ID: 80523 Summary: -Wformat-overflow doesn't consider -fexec-charset Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug tree-optimization/80523] -Wformat-overflow doesn't consider -fexec-charset

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80523 Martin Sebor changed: What|Removed |Added Keywords||diagnostic, wrong-code Status

[Bug target/80479] [7/8 Regression] strcmp() produces valgrind errors on ppc64le

2017-04-25 Thread jreiser at bitwagon dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80479 jreiser at bitwagon dot com changed: What|Removed |Added CC||jreiser at bitwagon dot com

[Bug target/79430] [7/8 Regression] action of statement incorrectly optimised away

2017-04-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 --- Comment #75 from Thomas Koenig --- To provide some more context, here is the code as compiled with the patch (correct version): callintegral_over_z_part_isr.6797 .LVL1464: .loc 1 3089 0 fldt496(%rsp) p

[Bug tree-optimization/80520] [7/8 Regression] Performance regression from missing if-conversion

2017-04-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

<    1   2