[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

[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:

[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

[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

[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)

[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 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:

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 --- Comment #4 from Martin Sebor --- Author: msebor Date: Tue Apr 25 17:58:32 2017 New Revision: 247264 URL: https://gcc.gnu.org/viewcvs?rev=247264=gcc=rev Log: PR tree-optimization/80497 - ICE at -O1 and above on valid code on x86_64-linux-gnu

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 Martin Sebor changed: What|Removed |Added Keywords||patch Status|ASSIGNED

[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 #11 from Marek Polacek --- Author: mpolacek Date: Tue Apr 25 17:02:27 2017 New Revision: 247260 URL: https://gcc.gnu.org/viewcvs?rev=247260=gcc=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) : Convert

[Bug bootstrap/80486] spurious -Walloc-size-larger-than and -Wstringop-overflow in dominance.c during profiledbootstrap

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80486 Martin Sebor changed: What|Removed |Added Keywords||patch Status|UNCONFIRMED

[Bug bootstrap/80486] spurious -Walloc-size-larger-than and -Wstringop-overflow in dominance.c during profiledbootstrap

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80486 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #50 from Jonathan Wakely --- (In reply to ktkachov from comment #3) > Started with r225465. > Something to do with alignment. > I wonder if it's related to PR69841 ? Seems to be the same. Maybe PR 80149 too?

[Bug c++/80518] -Wsuggest-override does not warn about missing override on destructor

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from

[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 #2 from Jonathan Wakely --- https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rh-override says that virtual functions should use exactly one of virtual, override or final. Which agrees with the suggestion

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 --- Comment #3 from Martin Sebor --- Author: msebor Date: Tue Apr 25 17:40:58 2017 New Revision: 247262 URL: https://gcc.gnu.org/viewcvs?rev=247262=gcc=rev Log: PR tree-optimization/80497 - ICE at -O1 and above on valid code on x86_64-linux-gnu

[Bug target/70799] STV pass does not convert DImode shifts

2017-04-25 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70799 --- Comment #10 from uros at gcc dot gnu.org --- Author: uros Date: Tue Apr 25 17:45:22 2017 New Revision: 247263 URL: https://gcc.gnu.org/viewcvs?rev=247263=gcc=rev Log: PR target/70799 * config/i386/i386.c

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #48 from Yichao Yu --- Thanks for fixing this. I didn't follow all the comments since I'm not familiar with the C++ ABI so just to make sure I understand what's happening is it that the bug is caused by a inconsistency in C++ ABI for

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #10 from Markus Trippelsdorf --- See also https://cplusplus.github.io/EWG/ewg-active.html#162

[Bug c++/80518] New: -Wsuggest-override does not warn about missing override on destructor

2017-04-25 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518 Bug ID: 80518 Summary: -Wsuggest-override does not warn about missing override on destructor Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #49 from rguenther at suse dot de --- On April 25, 2017 5:20:29 PM GMT+02:00, "jakub at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 > >--- Comment #39 from Jakub Jelinek ---

[Bug bootstrap/80486] spurious -Walloc-size-larger-than and -Wstringop-overflow in dominance.c during profiledbootstrap

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80486 --- Comment #2 from Martin Sebor --- Author: msebor Date: Tue Apr 25 17:18:39 2017 New Revision: 247261 URL: https://gcc.gnu.org/viewcvs?rev=247261=gcc=rev Log: PR bootstrap/80486 - spurious -Walloc-size-larger-than and -Wstringop-overflow in

[Bug tree-optimization/79824] [7 Regression] Failure to peel for gaps leads to read beyond mapped memory

2017-04-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79824 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug target/70799] STV pass does not convert DImode shifts

2017-04-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70799 Uroš Bizjak changed: What|Removed |Added Target||x86 Status|ASSIGNED

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

2017-04-25 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #12 from Dmitry Babokin --- int var; long a; long foo() { int i = !(1 & 808U ^ 1 & var) >> 0; long l = 0 % ((a & 1) != (3053241240409UL & 1)); return i+l; }

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #46 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 16:47:32 2017 New Revision: 247259 URL: https://gcc.gnu.org/viewcvs?rev=247259=gcc=rev Log: PR target/77728 * config/arm/arm.c: Include gimple.h.

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Summary|[5/6/7/8 Regression]|[5/6 Regression]

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #9 from Markus Trippelsdorf --- But for C++: [[noreturn]] int main() { while(true) ; } is warning free in clang++ and icpc.

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #43 from Richard Earnshaw --- Hmm, so how about just inserting the warning in the broken compilers?

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #44 from Jakub Jelinek --- Works for me. That would mean roughly applying the two patches, but instead of doing else if (res < 0) do if (res) (and something similar for aarch64).

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 --- Comment #6 from seurer at gcc dot gnu.org --- Author: seurer Date: Tue Apr 25 16:16:13 2017 New Revision: 247256 URL: https://gcc.gnu.org/viewcvs?rev=247256=gcc=rev Log: [PATCH, rs6000] pr80482 Relax vector builtin parameter checks PR

[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 #10 from Marek Polacek --- Author: mpolacek Date: Tue Apr 25 16:39:57 2017 New Revision: 247257 URL: https://gcc.gnu.org/viewcvs?rev=247257=gcc=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) : Convert

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #45 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 16:46:34 2017 New Revision: 247258 URL: https://gcc.gnu.org/viewcvs?rev=247258=gcc=rev Log: PR target/77728 * config/arm/arm.c: Include gimple.h.

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[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=edit Difference in assembly with and without the patch This is the difference in assembly generated. *.withpatch is the

[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:

[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

[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()

[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 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 #13 from Marek Polacek --- Thanks, reproduced, will look into it.

[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

[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 =

[Bug c++/80518] -Wsuggest-override does not warn about missing override on destructor

2017-04-25 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518 --- Comment #2 from Arnaud Desitter --- Interesting. Shame that there is no rationale. I suppose that "-Wsuggest-override=2" could warn about "override" missing for destructor.

[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 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/80511] [8 Regression] gcc.dg/Wstrict-overflow-18.c

2017-04-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511 --- Comment #1 from Marc Glisse --- https://gcc.gnu.org/viewcvs/gcc?view=revision=247123

[Bug plugins/80514] New: --enable-plugin and config/gcc-plugin.m4

2017-04-25 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80514 Bug ID: 80514 Summary: --enable-plugin and config/gcc-plugin.m4 Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:27:01 2017 New Revision: 247126 URL: https://gcc.gnu.org/viewcvs?rev=247126=gcc=rev Log: PR rtl-optimization/80500 * loop-unroll.c

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:27:47 2017 New Revision: 247127 URL: https://gcc.gnu.org/viewcvs?rev=247127=gcc=rev Log: PR rtl-optimization/80500 * loop-unroll.c

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:28:43 2017 New Revision: 247128 URL: https://gcc.gnu.org/viewcvs?rev=247128=gcc=rev Log: PR rtl-optimization/80501 * combine.c

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:29:21 2017 New Revision: 247129 URL: https://gcc.gnu.org/viewcvs?rev=247129=gcc=rev Log: PR rtl-optimization/80501 * combine.c

[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #9 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:37:50 2017 New Revision: 247132 URL: https://gcc.gnu.org/viewcvs?rev=247132=gcc=rev Log: S/390: PR80080: Optimize atomic patterns. The attached patch optimizes the

[Bug c/80515] New: __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 Bug ID: 80515 Summary: __attribute__ ((__noreturn__)) false alarm for 'main' Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:41:41 2017 New Revision: 247133 URL: https://gcc.gnu.org/viewcvs?rev=247133=gcc=rev Log: S/390: PR79895: Fix TImode constant handling The P constraint letter is

[Bug target/80464] [7/8 regression] S/390: ICE failed to split vector move

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:43:49 2017 New Revision: 247134 URL: https://gcc.gnu.org/viewcvs?rev=247134=gcc=rev Log: S/390: PR80464: Split MEM->GPR vector moves We do this already for TImode

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #3 from rguenther at suse dot de --- On Mon, 24 Apr 2017, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 > > --- Comment #2 from Steve Kargl --- > On Mon, Apr 24, 2017 at

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #9 from Georg-Johann Lay --- (In reply to Uroš Bizjak from comment #8) > Happens in fre3 pass. That's not the whole story. With -fdisable-tree-fre3 the code is still wrong. I need at least: -fdisable-tree-fre3 -fdisable-tree-pre

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #2 from Marc Glisse --- The implicit "return 0;" is only in C++ IIRC. I vaguely remember discussions advertising the use of noreturn on main to indicate that the compiler does not need to emit the cleanup/exit code for global

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/80511] [8 Regression] gcc.dg/Wstrict-overflow-18.c

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511 Richard Biener changed: What|Removed |Added Keywords||xfail Target Milestone|---

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Attachment #41259|0 |1 is obsolete|

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #3 from Markus Trippelsdorf --- (In reply to Marc Glisse from comment #2) > The implicit "return 0;" is only in C++ IIRC. No, C99 also has an implicit return 0;.

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org ---

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Attachment #41261|0 |1 is obsolete|

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #11 from Richard Biener --- Ugh. Another thing is that the tree aliasing machinery tells us that the two copies of 'reg' do not alias because they are "distinct" VAR_DECLs.

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #12 from Uroš Bizjak --- (In reply to Richard Biener from comment #10) > But I really wonder if it is ok to omit constraints from the asm marking > the register variable as changed. The register is not changed in the asm, please

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #13 from rguenther at suse dot de --- On Tue, 25 Apr 2017, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 > > --- Comment #12 from Uroš Bizjak --- > (In reply to Richard Biener from comment

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #14 from Uroš Bizjak --- (In reply to rguent...@suse.de from comment #13) > On Tue, 25 Apr 2017, ubizjak at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 > > > > --- Comment #12 from Uroš Bizjak ---

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #6 from rguenther at suse dot de --- On Tue, 25 Apr 2017, trippels at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 > > Markus Trippelsdorf changed: > >What|Removed

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Attachment #41262|0 |1 is obsolete|

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Paul Hua changed: What|Removed |Added CC||paul.hua.gm at gmail dot com --- Comment #7

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #35 from Jakub Jelinek --- Created attachment 41264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41264=edit gcc7-pr77728-aarch64.patch Similarly adjusted AArch64 patch. In the earlier AArch64 patch, warning_alignment didn't

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Apr 25 09:26:37 2017 New Revision: 247159 URL: https://gcc.gnu.org/viewcvs?rev=247159=gcc=rev Log: 2017-04-25 Richard Biener PR

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #3 from Richard Biener --- Ok, so sinking now handles calls but the testcase still isn't fixed because PRE interferes (testsuite disables PRE). Still mine.

[Bug rtl-optimization/80474] ipa-cp wrongly adding LO(symbol) twice

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80474 --- Comment #3 from Richard Biener --- How to configure a cross? --target=mips-o32 isn't valid. For the reduced testcase what are we looking for?

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Andreas Schwab changed: What|Removed |Added Status|RESOLVED|REOPENED Last

[Bug c++/80516] New: No error for bad type-specifier-seq in template parameter

2017-04-25 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80516 Bug ID: 80516 Summary: No error for bad type-specifier-seq in template parameter Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Richard Biener changed: What|Removed |Added Status|WAITING |ASSIGNED Blocks|

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[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 Arnaud Desitter changed: What|Removed |Added CC||arnaud02 at users dot sourceforge.

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #10 from Richard Biener --- Author: rguenth Date: Tue Apr 25 10:07:58 2017 New Revision: 247171 URL: https://gcc.gnu.org/viewcvs?rev=247171=gcc=rev Log: 2017-04-25 Richard Biener PR middle-end/80509

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Bug 79814 depends on bug 80509, which changed state. Bug 80509 Summary: ICE in cc1 during selftests https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 What|Removed |Added

[Bug rtl-optimization/80501] [6 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] Wrong|[6 Regression] Wrong code

[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #10 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:11:48 2017 New Revision: 247189 URL: https://gcc.gnu.org/viewcvs?rev=247189=gcc=rev Log: S/390: PR80080: Optimize atomic patterns. The attached patch optimizes the

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:15:44 2017 New Revision: 247190 URL: https://gcc.gnu.org/viewcvs?rev=247190=gcc=rev Log: S/390: PR79895: Fix TImode constant handling The P constraint letter is

[Bug target/80464] [7/8 regression] S/390: ICE failed to split vector move

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:18:52 2017 New Revision: 247191 URL: https://gcc.gnu.org/viewcvs?rev=247191=gcc=rev Log: S/390: PR80464: Split MEM->GPR vector moves We do this already for TImode

[Bug c++/80516] No error for bad type-specifier-seq in template parameter

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80516 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #15 from Richard Biener --- Author: rguenth Date: Tue Apr 25 12:15:44 2017 New Revision: 247208 URL: https://gcc.gnu.org/viewcvs?rev=247208=gcc=rev Log: 2017-04-25 Richard Biener PR

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[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 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug ada/78845] Inverse (Real_Matrix) result has wrong bounds

2017-04-25 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78845 --- Comment #4 from Arnaud Charlet --- Author: charlet Date: Tue Apr 25 12:44:16 2017 New Revision: 247214 URL: https://gcc.gnu.org/viewcvs?rev=247214=gcc=rev Log: PR ada/78845 * a-ngcoar.adb, a-ngrear.adb (Inverse): call

[Bug ada/78845] Inverse (Real_Matrix) result has wrong bounds

2017-04-25 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78845 Arnaud Charlet changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/80177] wrong fixit hint for misspelled static_assert: __cpp_static_assert

2017-04-25 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80177 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Tue Apr 25 13:34:50 2017 New Revision: 247233 URL: https://gcc.gnu.org/viewcvs?rev=247233=gcc=rev Log: Fix spelling suggestions for reserved words (PR c++/80177) gcc/cp/ChangeLog:

[Bug c++/80177] wrong fixit hint for misspelled static_assert: __cpp_static_assert

2017-04-25 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80177 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #11 from Steve Kargl --- On Tue, Apr 25, 2017 at 10:08:30AM +, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 > > --- Comment #10 from Richard Biener --- > Author: rguenth > Date: Tue Apr

  1   2   >