[Bug tree-optimization/85186] ifcvt can peel iterations affecting code form, and causing vectorization not to happen

2018-04-03 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85186 --- Comment #4 from Hans-Peter Nilsson --- I forgot to mention that this is likely a regression since gcc-4.7-era, but I haven't proved that elsewhere than on the original target (not x86_64-linux / sse2).

[Bug tree-optimization/85186] ifcvt can peel iterations affecting code form, and causing vectorization not to happen

2018-04-03 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85186 --- Comment #3 from Hans-Peter Nilsson --- Created attachment 43836 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43836=edit case 4

[Bug tree-optimization/85186] ifcvt can peel iterations affecting code form, and causing vectorization not to happen

2018-04-03 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85186 --- Comment #2 from Hans-Peter Nilsson --- Created attachment 43835 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43835=edit case 3

[Bug tree-optimization/85186] ifcvt can peel iterations affecting code form, and causing vectorization not to happen

2018-04-03 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85186 --- Comment #1 from Hans-Peter Nilsson --- Created attachment 43834 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43834=edit case 2

[Bug tree-optimization/85186] New: ifcvt can peel iterations affecting code form, and causing vectorization not to happen

2018-04-03 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85186 Bug ID: 85186 Summary: ifcvt can peel iterations affecting code form, and causing vectorization not to happen Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug inline-asm/85185] Wider-than-expected load for struct member used as operand of inline-asm with memory clobber at -Og

2018-04-03 Thread zev+gccbug at bewilderbeest dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85185 --- Comment #2 from Zev Weiss --- I was wondering if I might be unwittingly violating some subtle rule like that; are the details of this documented? I don't see anything obvious in section 6.45.2.5 ("Input

[Bug c++/84943] [8 Regression] internal compiler error: in build_call_a, at cp/call.c:374

2018-04-03 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84943 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84943] [8 Regression] internal compiler error: in build_call_a, at cp/call.c:374

2018-04-03 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84943 --- Comment #5 from Alexandre Oliva --- Author: aoliva Date: Wed Apr 4 03:40:29 2018 New Revision: 259067 URL: https://gcc.gnu.org/viewcvs?rev=259067=gcc=rev Log: [PR c++/84943] mark function as used when taking its address fn[0]() ICEd

[Bug driver/85165] gcc (and g++) not complaining about few unknown file extensions like *.CC, *.Cc, *.cC

2018-04-03 Thread kiran0802 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85165 Kiran Alladi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug inline-asm/85185] Wider-than-expected load for struct member used as operand of inline-asm with memory clobber at -Og

2018-04-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85185 --- Comment #1 from Andrew Pinski --- I think the upper 16bits are considered as undefined when using inline-asm like this.

[Bug inline-asm/85185] New: Wider-than-expected load for struct member used as operand of inline-asm with memory clobber at -Og

2018-04-03 Thread zev+gccbug at bewilderbeest dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85185 Bug ID: 85185 Summary: Wider-than-expected load for struct member used as operand of inline-asm with memory clobber at -Og Product: gcc Version: 7.2.0 Status:

[Bug tree-optimization/85175] [8 regression] false-positive -Wformat-overflow= warning with gcc-8 -Os

2018-04-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85175 --- Comment #4 from Martin Sebor --- In general, sizing buffers for the minimum/maximum value of each directive's argument and choosing the appropriate length modifiers (e.g., %hhi for char or %hi for short) avoids these problems. The thinking

[Bug c++/85092] [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149

2018-04-03 Thread proski at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85092 --- Comment #7 from Pavel Roskin --- I confirm that the issue has been fixed in the project I'm working on. Thank you!

[Bug c/85182] _Static_assert is less than useful in a static inline

2018-04-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85182 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[Bug libstdc++/85183] [8 Regression] std::variant move assignment mishandles move-only types

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85183 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/85183] [8 Regression] std::variant move assignment mishandles move-only types

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85183 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Tue Apr 3 23:03:07 2018 New Revision: 259059 URL: https://gcc.gnu.org/viewcvs?rev=259059=gcc=rev Log: PR libstdc++/85183 fix std::variant move-assignment PR libstdc++/85183

[Bug libstdc++/85183] [8 Regression] std::variant move assignment mishandles move-only types

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85183 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug libstdc++/83625] std::experimental::filesystem::remove lstat()'s before remove() instead of checking errno

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83625 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/85184] New: Remove __glibcxx_assert uses from std::variant

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85184 Bug ID: 85184 Summary: Remove __glibcxx_assert uses from std::variant Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/85183] [8 Regression] std::variant move assignment mishandles move-only types

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

[Bug target/83562] broken destructors of thread_local objects on i686 mingw targets

2018-04-03 Thread alexandre.nunes at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562 Alexandre Pereira Nunes changed: What|Removed |Added CC||alexandre.nunes at gmail dot

[Bug libstdc++/85183] New: [8 Regression] std::variant move assignment mishandles move-only types

2018-04-03 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85183 Bug ID: 85183 Summary: [8 Regression] std::variant move assignment mishandles move-only types Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug c/85182] _Static_assert is less than useful in a static inline

2018-04-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85182 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/85182] _Static_assert is less than useful in a static inline

2018-04-03 Thread ajax at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85182 Adam Jackson changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/85182] _Static_assert is less than useful in a static inline

2018-04-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85182 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/85156] [8 Regression] ICE with -O1 -g: gimplification failed

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

[Bug rtl-optimization/85167] [6/7 Regression] shrink-wrap.c:333:15: runtime error with UBSAN

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

[Bug rtl-optimization/85167] [6/7/8 Regression] shrink-wrap.c:333:15: runtime error with UBSAN

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85167 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Apr 3 21:45:52 2018 New Revision: 259058 URL: https://gcc.gnu.org/viewcvs?rev=259058=gcc=rev Log: PR rtl-optimization/85167 * shrink-wrap.c

[Bug tree-optimization/85156] [8 Regression] ICE with -O1 -g: gimplification failed

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85156 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Apr 3 21:42:51 2018 New Revision: 259057 URL: https://gcc.gnu.org/viewcvs?rev=259057=gcc=rev Log: PR tree-optimization/85156 * builtins.c (fold_builtin_expect): Use

[Bug c/85182] _Static_assert is less than useful in a static inline

2018-04-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85182 --- Comment #1 from joseph at codesourcery dot com --- This is how static assertions are defined in C11, not a bug in GCC: it's a constraint violation if the constant expression compares equal to 0, regardless of the context in which the

[Bug c/85182] New: _Static_assert is less than useful in a static inline

2018-04-03 Thread ajax at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85182 Bug ID: 85182 Summary: _Static_assert is less than useful in a static inline Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/85166] [nvptx, libgfortran] Libgomp fortran tests using stop in offloaded fns fail to compile

2018-04-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85166 --- Comment #2 from Thomas Koenig --- Does this fix the problem? Index: minimal.c === --- minimal.c (Revision 259055) +++ minimal.c (Arbeitskopie) @@ -187,3 +187,17 @@

[Bug c++/85135] [7/8 Regression] ICE with invalid late-specified return type

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85135 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/85166] [nvptx, libgfortran] Libgomp fortran tests using stop in offloaded fns fail to compile

2018-04-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85166 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug c++/85133] [7/8 Regression] [concepts] ICE with invalid concept used in variadic template

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85133 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/67486] ira-color.c sanitizer detects signed integer overflow

2018-04-03 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67486 David Binderman changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org ---

[Bug c++/85118] [6/7/8 Regression] Error when using std::bind with a generic lambda - "cannot bind 'const volatile char&' to an rvalue of type 'const volatile char'"

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85118 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/67486] ira-color.c sanitizer detects signed integer overflow

2018-04-03 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67486 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c++/85141] [6/7/8 Regression] ICE with pointer arithmetic of static member function address

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85141 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85060] [7/8 Regression] Object cannot call its inherited member function "without object"

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85060 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85148] [6/7/8 Regression] ICE with NSDMI and this pointer

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85148 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85101] C++17 ICE in build_over_call, at cp/call.c:8149

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85101 Bug 85101 depends on bug 85092, which changed state. Bug 85092 Summary: [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85092 What|Removed

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113 --- Comment #3 from Jason Merrill --- Author: jason Date: Tue Apr 3 19:14:03 2018 New Revision: 259053 URL: https://gcc.gnu.org/viewcvs?rev=259053=gcc=rev Log: PR c++/85113 - ICE with constexpr and __builtin_constant_p. *

[Bug c++/85092] [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85092 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85092] [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85092 --- Comment #5 from Jason Merrill --- Author: jason Date: Tue Apr 3 19:13:42 2018 New Revision: 259052 URL: https://gcc.gnu.org/viewcvs?rev=259052=gcc=rev Log: PR c++/85092 - C++17 ICE with unused list constructor. * call.c

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113 --- Comment #2 from Jason Merrill --- Author: jason Date: Tue Apr 3 19:13:36 2018 New Revision: 259051 URL: https://gcc.gnu.org/viewcvs?rev=259051=gcc=rev Log: PR c++/85113 - ICE with constexpr and __builtin_constant_p. *

[Bug c++/85092] [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85092 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/85175] [8 regression] false-positive -Wformat-overflow= warning with gcc-8 -Os

2018-04-03 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85175 --- Comment #3 from Arnd Bergmann --- (In reply to Martin Sebor from comment #2) > So with the change above GCC is doing a better but imperfect job of > determining the range. Changing the variable to unsigned constrains the > lower bound to

[Bug c++/85118] [6/7/8 Regression] Error when using std::bind with a generic lambda - "cannot bind 'const volatile char&' to an rvalue of type 'const volatile char'"

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85118 --- Comment #6 from Jonathan Wakely --- ... and it's only a substitution failure anyway, not an error.

[Bug c++/85092] [8 Regression] ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85092 --- Comment #4 from Jason Merrill --- *** Bug 85101 has been marked as a duplicate of this bug. ***

[Bug c++/85101] C++17 ICE in build_over_call, at cp/call.c:8149

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85101 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85101] C++17 ICE in build_over_call, at cp/call.c:8149

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85101 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2018-04-03 Thread munroesj at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #5 from Steven Munroe --- You need to look at the generated asm code. And see what the compiler is doing. Basically it should be generating a vspltisw vr,si for vec_splat_s32. But if the immediate signed int (si) is greater than

[Bug c++/84768] [7 Regression] ICE with failed class template argument deduction because of invalid template parameter

2018-04-03 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84768 Paolo Carlini changed: What|Removed |Added Summary|[7/8 Regression] ICE with |[7 Regression] ICE with

[Bug c++/85118] [6/7/8 Regression] Error when using std::bind with a generic lambda - "cannot bind 'const volatile char&' to an rvalue of type 'const volatile char'"

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85118 Jonathan Wakely changed: What|Removed |Added Known to fail||6.4.0, 7.3.0, 8.0.1 --- Comment #5

[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84768] [7/8 Regression] ICE with failed class template argument deduction because of invalid template parameter

2018-04-03 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84768 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Apr 3 17:53:05 2018 New Revision: 259049 URL: https://gcc.gnu.org/viewcvs?rev=259049=gcc=rev Log: /cp 2018-04-03 Paolo Carlini PR

[Bug c++/85118] [6/7/8 Regression] Error when using std::bind with a generic lambda - "cannot bind 'const volatile char&' to an rvalue of type 'const volatile char'"

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85118 Jonathan Wakely changed: What|Removed |Added Attachment #43794|0 |1 is obsolete|

[Bug target/85181] New: Loading wrong source/dest registers for xviexpdp instruction with -O2 optimization

2018-04-03 Thread carll at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85181 Bug ID: 85181 Summary: Loading wrong source/dest registers for xviexpdp instruction with -O2 optimization Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug c++/85149] [8 Regression] False branch of if constexpr instantiated in generic lambda

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85149 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/64095] [C++14] Ellipsis at end of generic lambda parameter-declaration-clause should be parsed as a parameter pack

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64095 --- Comment #10 from Jason Merrill --- Author: jason Date: Tue Apr 3 17:46:35 2018 New Revision: 259047 URL: https://gcc.gnu.org/viewcvs?rev=259047=gcc=rev Log: PR c++/64095 - auto... parameter pack. * parser.c

[Bug c++/85060] [7/8 Regression] Object cannot call its inherited member function "without object"

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85060 --- Comment #6 from Jason Merrill --- Author: jason Date: Tue Apr 3 17:46:30 2018 New Revision: 259046 URL: https://gcc.gnu.org/viewcvs?rev=259046=gcc=rev Log: PR c++/85060 - wrong-code with call to base member in template. *

[Bug c++/85149] [8 Regression] False branch of if constexpr instantiated in generic lambda

2018-04-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85149 --- Comment #2 from Jason Merrill --- Author: jason Date: Tue Apr 3 17:41:12 2018 New Revision: 259043 URL: https://gcc.gnu.org/viewcvs?rev=259043=gcc=rev Log: PR c++/85149 - generic lambda and constexpr if. * pt.c

[Bug tree-optimization/85175] [8 regression] false-positive -Wformat-overflow= warning with gcc-8 -Os

2018-04-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85175 --- Comment #2 from Martin Sebor --- The warning appeared with r257857: r257857 | law | 2018-02-20 13:59:22 -0500 (Tue, 20 Feb 2018) | 8 lines PR middle-end/82123 PR tree-optimization/81592 PR middle-end/79257 *

[Bug c++/85140] [6/7 Regression] ICE with invalid use of alignas

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85140 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85147] [6/7 Regression] ICE with invalid variadic template-template parameter

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85147 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85134] [8 Regression] ICE with invalid constexpr in 'shared' OpenMP clause

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85134 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug driver/85165] gcc (and g++) not complaining about few unknown file extensions like *.CC, *.Cc, *.cC

2018-04-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85165 --- Comment #1 from Andrew Pinski --- I suspect this is a difference between windows and linux and due to case insensitivity rather than a difference in newer versions of GCC.

[Bug other/85161] [8 regression] Test case failures in libbacktrace on powerpc64 BE starting with r253456

2018-04-03 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85161 Bill Seurer changed: What|Removed |Added CC||seurer at linux dot vnet.ibm.com ---

[Bug gcov-profile/85179] [GCOV] A label followed with a blank statement is wrongly marked as not executed in Gcov

2018-04-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85179 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug gcov-profile/85178] [GCOV] for(;;) statement is wrongly marked as not executed when there is a int array in its body in Gcov

2018-04-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85178 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/85147] [6/7/8 Regression] ICE with invalid variadic template-template parameter

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85147 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Apr 3 16:22:05 2018 New Revision: 259040 URL: https://gcc.gnu.org/viewcvs?rev=259040=gcc=rev Log: PR c++/85147 * pt.c (fixed_parameter_pack_p_1): Punt if parm is

[Bug gcov-profile/83678] [GCOV] a pointer assignment before a break statment lead to incorrect coverage in gcov

2018-04-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83678 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gcov-profile/85178] [GCOV] for(;;) statement is wrongly marked as not executed when there is a int array in its body in Gcov

2018-04-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85178 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gcov-profile/85179] [GCOV] A label followed with a blank statement is wrongly marked as not executed in Gcov

2018-04-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85179 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85140] [6/7/8 Regression] ICE with invalid use of alignas

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85140 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Apr 3 16:21:02 2018 New Revision: 259039 URL: https://gcc.gnu.org/viewcvs?rev=259039=gcc=rev Log: PR c++/85140 * name-lookup.c (handle_namespace_attrs): Return early

[Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2018-04-03 Thread pc at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #4 from Paul Clarke --- Created attachment 43829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43829=edit unhelpful testcase $ gcc --version gcc (GCC) 8.0.1 20180402 (experimental) Copyright (C) 2018 Free Software Foundation,

[Bug c++/85134] [8 Regression] ICE with invalid constexpr in 'shared' OpenMP clause

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85134 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Apr 3 16:20:02 2018 New Revision: 259038 URL: https://gcc.gnu.org/viewcvs?rev=259038=gcc=rev Log: PR c++/85134 * decl.c (cp_finish_decl): If

[Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2018-04-03 Thread pc at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #3 from Paul Clarke --- (In reply to Steven Munroe from comment #0) > The rs6000/emmintrin.h implementation of _mm_slli_epi32 reports: > error: argument 1 must be a 5-bit signed literal > > For constant shift values > 15. I

[Bug target/85169] [8 Regression] wrong code with vector member insert

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

[Bug fortran/79854] diagnostics: gfc_conv_constant_to_tree should be gfc_internal_error

2018-04-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79854 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug middle-end/84514] powerpc sub optimal condition register reuse with extended inline asm

2018-04-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84514 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85169] [8 Regression] wrong code with vector member insert

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85169 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Apr 3 16:06:19 2018 New Revision: 259037 URL: https://gcc.gnu.org/viewcvs?rev=259037=gcc=rev Log: PR target/85169 * config/i386/i386.c (ix86_expand_vector_set): Use

[Bug rtl-optimization/85180] New: Infinite (?) loop in RTL DSE optimizer

2018-04-03 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180 Bug ID: 85180 Summary: Infinite (?) loop in RTL DSE optimizer Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/85118] [6/7/8 Regression] Error when using std::bind with a generic lambda - "cannot bind 'const volatile char&' to an rvalue of type 'const volatile char'"

2018-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85118 --- Comment #3 from Jonathan Wakely --- Started to be rejected with r233719 PR c++/69842 * method.c (forward_parm): Handle parameter packs. * lambda.c (maybe_add_lambda_conv_op): Use it for them. Still

[Bug target/85126] [8 regression] gcc.target/powerpc/pr69946.c fails on powerpc64 BE starting with r254213

2018-04-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85126 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/85126] [8 regression] gcc.target/powerpc/pr69946.c fails on powerpc64 BE starting with r254213

2018-04-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85126 --- Comment #1 from Segher Boessenkool --- Author: segher Date: Tue Apr 3 15:38:43 2018 New Revision: 259036 URL: https://gcc.gnu.org/viewcvs?rev=259036=gcc=rev Log: rs6000: Fix pr69946.c testcase (PR85126) After middle-end changes combine

[Bug libgcc/84292] __sync_add_and_fetch returns the old value instead of the new value

2018-04-03 Thread maryse.levavasseur at stormshield dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84292 --- Comment #4 from Maryse LEVAVASSEUR --- Hi Andreas, No problem for the delay, thanks for all !

[Bug target/85177] [8 Regression] wrong code with -O -fno-tree-ccp -fno-tree-sra -mavx512f

2018-04-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85177 --- Comment #1 from Jakub Jelinek --- Created attachment 43827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43827=edit gcc8-pr85177.patch Untested fix.

[Bug gcov-profile/85179] New: [GCOV] A label followed with a blank statement is wrongly marked as not executed in Gcov

2018-04-03 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85179 Bug ID: 85179 Summary: [GCOV] A label followed with a blank statement is wrongly marked as not executed in Gcov Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug c/39170] provide an option to silence -Wconversion warnings for bit-fields

2018-04-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39170 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug gcov-profile/85178] New: [GCOV] for(;;) statement is wrongly marked as not executed when there is a int array in its body in Gcov

2018-04-03 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85178 Bug ID: 85178 Summary: [GCOV] for(;;) statement is wrongly marked as not executed when there is a int array in its body in Gcov Product: gcc Version: 8.0 Status:

[Bug middle-end/85139] [8 Regression] Spurious format truncation warning

2018-04-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85139 --- Comment #2 from Martin Sebor --- To avoid the warning, cast the argument of the %04X directive to unsigned short: snprintf(s, sizeof(s), "usb:v%04Xp%04X*", (unsigned short)vn, (unsigned short)pn); (Note that even though casting an int to

[Bug debug/85176] ICE in force_decl_die, at dwarf2out.c:25910

2018-04-03 Thread v_lichevsky at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176 v_lichevsky at tut dot by changed: What|Removed |Added Summary|ICE in force_decl_die, at |ICE in force_decl_die, at

[Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)

2018-04-03 Thread steffen at sdaoden dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85128 --- Comment #12 from Steffen Nurpmeso --- Or you could compile with -std=c++98 Yes, thanks for the opportunity. I would rather not, the fix was simple and only affected this class and its specializations (of 383, 315 public interface). >

[Bug rtl-optimization/80791] [8 regression] test case gcc.dg/sms-1.c fail2 starting with r247885

2018-04-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791 --- Comment #18 from Bill Schmidt --- In the before case, it appears that later optimization is able to remove the i_12 add by adjusting the loop counter. After ivopts: i_12 = i_5 + 4; ivtmp.10_17 = ivtmp.10_18 + 32; Before SMS: r174 =

[Bug rtl-optimization/80791] [8 regression] test case gcc.dg/sms-1.c fail2 starting with r247885

2018-04-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791 --- Comment #17 from Bill Schmidt --- Sure. My point is that the modeling that's being done doesn't accurately predict the actual loop performance. What we need to do is figure out why.

[Bug gcov-profile/83678] [GCOV] a pointer assignment before a break statment lead to incorrect coverage in gcov

2018-04-03 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83678 --- Comment #1 from Yibiao Yang --- simpler reproducer: void main() { while (1) { int a; if (0) break; if (1) break; } } $ gcc-8 small.c -fprofile-arcs -ftest-coverage; ./a.out gcov-8 small.c; cat small.c.gcov

[Bug rtl-optimization/80791] [8 regression] test case gcc.dg/sms-1.c fail2 starting with r247885

2018-04-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791 --- Comment #16 from amker at gcc dot gnu.org --- (In reply to Bill Schmidt from comment #15) > It's a bit shift, but the result is still that it is now in the loop instead > of outside the loop, and the total cost of the loop has increased. But

  1   2   3   >