[Bug c/53037] warn_if_not_aligned(X)

2017-08-18 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 --- Comment #30 from H. Peter Anvin --- On August 18, 2017 3:52:12 PM CDT, "hjl.tools at gmail dot com" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 > >--- Comment #29 from H.J. Lu --- >(In reply to

[Bug target/80210] ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow

2017-08-18 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80210 --- Comment #8 from Peter Bergner --- Fixed on trunk. I'm testing backports to the open release branches and will commit them after the trunk patch has aged a bit (next week?).

[Bug middle-end/64928] [5/6/7/8 Regression] Inordinate cpu time and memory usage in "phase opt and generate" with -ftest-coverage -fprofile-arcs

2017-08-18 Thread lucier at math dot purdue.edu
_64-pc-linux-gnu Configured with: ../../gcc-mainline/configure --prefix=/pkgs/gcc-mainline --enable-checking=release --enable-languages=c --disable-multilib --enable-gather-detailed-mem-stats Thread model: posix gcc version 8.0.0 20170818 (experimental) [trunk revision 251188] (

[Bug tree-optimization/46805] ICE: SIGSEGV in optab_for_tree_code (optabs.c:407) with -O -fno-tree-scev-cprop -ftree-vectorize

2017-08-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46805 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Fri Aug 18 23:56:28 2017 New Revision: 251192 URL: https://gcc.gnu.org/viewcvs?rev=251192=gcc=rev Log: jit: fix segfault with autovectorization (PR tree-optimization/46805) libgccjit

[Bug target/81850] [mingw/cygwin] -mabi=sysv ignored

2017-08-18 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81850 --- Comment #1 from Daniel Santos --- I have a patch that I've tested and will be submitting it shortly (I can't change the assigned to field yet).

[Bug target/80210] ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow

2017-08-18 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80210 --- Comment #7 from Peter Bergner --- Author: bergner Date: Fri Aug 18 23:41:41 2017 New Revision: 251190 URL: https://gcc.gnu.org/viewcvs?rev=251190=gcc=rev Log: gcc/ PR target/80210 * config/rs6000/rs6000.c

[Bug middle-end/70879] Missed jump threading opportunity with multiple != conditions

2017-08-18 Thread amacleod at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70879 --- Comment #5 from Andrew Macleod --- On 08/18/2017 06:13 PM, law at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70879 > > Jeffrey A. Law changed: > > What|Removed |Added >

[Bug tree-optimization/47413] Constant Propagation and Virtual Function Tables

2017-08-18 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47413 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/70879] Missed jump threading opportunity with multiple != conditions

2017-08-18 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70879 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/19794] [meta-bug] Jump threading related bugs

2017-08-18 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19794 Bug 19794 depends on bug 70879, which changed state. Bug 70879 Summary: Missed jump threading opportunity with multiple != conditions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70879 What|Removed |Added

[Bug middle-end/81897] [5.4/6.4/7.2/8 Regression] spurious -Wmaybe-uninitialized warning

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81897 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug fortran/81898] New: Issue with polymorphic container class

2017-08-18 Thread jdhughes at usgs dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81898 Bug ID: 81898 Summary: Issue with polymorphic container class Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/80164] ICE in gfc_format_decoder at gcc/fortran/error.c:933

2017-08-18 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80164 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/80164] ICE in gfc_format_decoder at gcc/fortran/error.c:933

2017-08-18 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80164 --- Comment #15 from Jerry DeLisle --- Author: jvdelisle Date: Fri Aug 18 21:36:50 2017 New Revision: 251189 URL: https://gcc.gnu.org/viewcvs?rev=251189=gcc=rev Log: 2017-08-18 Jerry DeLisle Backport from

[Bug c/53037] warn_if_not_aligned(X)

2017-08-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 --- Comment #29 from H.J. Lu --- (In reply to r...@cebitec.uni-bielefeld.de from comment #28) > > --- Comment #27 from H.J. Lu --- > > > What are error messages? > > None, the warnings are simply missing. > > Rainer Sparc defines

[Bug target/81572] [7/8 Regression] gcc-7 regression: unnecessary vector regmove on compare

2017-08-18 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81572 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug go/81893] [8 regression] compilation error in libgo starting with r251127

2017-08-18 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81893 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug go/81893] [8 regression] compilation error in libgo starting with r251127

2017-08-18 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81893 --- Comment #4 from ian at gcc dot gnu.org --- Author: ian Date: Fri Aug 18 20:17:26 2017 New Revision: 251188 URL: https://gcc.gnu.org/viewcvs?rev=251188=gcc=rev Log: PR go/81893 runtime: only use PPC GNU/Linux register code on

[Bug c/53037] warn_if_not_aligned(X)

2017-08-18 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 --- Comment #28 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #27 from H.J. Lu --- > What are error messages? None, the warnings are simply missing. Rainer

[Bug c/53037] warn_if_not_aligned(X)

2017-08-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 --- Comment #27 from H.J. Lu --- (In reply to Rainer Orth from comment #26) > Several of the new tests FAIL on Solaris/SPARC (both 32 and 64-bit): > > +FAIL: g++.dg/pr53037-2.C -std=gnu++11 (test for warnings, line 16) > +FAIL:

[Bug c/53037] warn_if_not_aligned(X)

2017-08-18 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #26

[Bug fortran/69834] [OOP] Collision in derived type hashes

2017-08-18 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69834 --- Comment #16 from Paul Thomas --- Dear Jerry, Thanks for your confirmation of my feeling about this. I have enough on my plate as it is! Cheers Paul

[Bug fortran/80657] [7/8 Regression] Loop in character function declaration

2017-08-18 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80657 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug middle-end/81897] New: spurious -Wmaybe-uninitialized warning

2017-08-18 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81897 Bug ID: 81897 Summary: spurious -Wmaybe-uninitialized warning Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/81896] New: omp target enter data not recognized

2017-08-18 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81896 Bug ID: 81896 Summary: omp target enter data not recognized Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/81894] Typo in x86 built-in function list

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81894 Jonathan Wakely changed: What|Removed |Added Keywords||documentation Target|

[Bug go/81893] [8 regression] compilation error in libgo starting with r251127

2017-08-18 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81893 --- Comment #3 from Ian Lance Taylor --- Thanks. I think https://golang.org/cl/57110 should fix the problem.

[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c

2017-08-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 --- Comment #6 from Bill Schmidt --- Patch submitted: https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01145.html

[Bug go/81893] [8 regression] compilation error in libgo starting with r251127

2017-08-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81893 --- Comment #2 from seurer at gcc dot gnu.org --- Yes, it compiles OK on LE. Note that I saw the errors on both power7 and power8 BE systems and using different versions of gcc to build.

[Bug fortran/69834] [OOP] Collision in derived type hashes

2017-08-18 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69834 Jerry DeLisle changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug fortran/79072] ICE with class(*) pointer function result and character value

2017-08-18 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79072 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org ---

[Bug c++/81514] g++.dg/lookup/missing-std-include-2.C FAILs on Solaris

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

[Bug c++/81514] g++.dg/lookup/missing-std-include-2.C FAILs on Solaris

2017-08-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81514 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Fri Aug 18 18:12:47 2017 New Revision: 251186 URL: https://gcc.gnu.org/viewcvs?rev=251186=gcc=rev Log: C++: fix ordering of missing std #include suggestion (PR c++/81514)

[Bug fortran/81827] Large compile time with derived-type rrays

2017-08-18 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81827 Paul Thomas changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug libstdc++/81891] [5/6/7 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 Jonathan Wakely changed: What|Removed |Added Known to work||8.0 Target Milestone|---

[Bug preprocessor/81794] "would be stringified in traditional C" warning should be controlled by -Wtraditional

2017-08-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81794 --- Comment #2 from David Malcolm --- Please can you turn it into a patch that contains both the fix *and* the new testcase? (e.g. gcc.dg/pragma-diag-8.c)

[Bug libstdc++/81891] [5/6/7/8 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri Aug 18 17:46:57 2017 New Revision: 251185 URL: https://gcc.gnu.org/viewcvs?rev=251185=gcc=rev Log: PR libstdc++/81891 fix double-free in hashtable constructor PR

[Bug c++/50169] "new struct X {{}};" incorrectly treated as an invalid struct-definition

2017-08-18 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/44283] bad error recovery for explicit template instantiation in wrong namespace

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44283 Eric Gallager changed: What|Removed |Added Keywords||error-recovery

[Bug preprocessor/81794] "would be stringified in traditional C" warning should be controlled by -Wtraditional

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81794 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/80529] Split "C++ style comments are not allowed in ISO C90" pedwarn into its own warning flag

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80529 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c++/52130] missing check for matching underlying type during instantiation of enum member of class template

2017-08-18 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52130 --- Comment #3 from Richard Smith --- The diagnostic in #1 is not only wrong for this case, it's also a rejects-valid in the case where the underlying types match. I've filed https://gcc.gnu.org/PR81895 for that.

[Bug c++/81895] New: gcc rejects out-of-line definition of enum member of class template under -pedantic-errors

2017-08-18 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81895 Bug ID: 81895 Summary: gcc rejects out-of-line definition of enum member of class template under -pedantic-errors Product: gcc Version: 7.2.1 Status: UNCONFIRMED

[Bug c++/80684] poor error message and fix-it hint for a function with an argument of undeclared type

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80684 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/80529] Split "C++ style comments are not allowed in ISO C90" pedwarn into its own warning flag

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80529 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[Bug c++/80567] bogus fixit hint for undeclared memset: else

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80567 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug web/81894] New: Typo in x86 built-in function list

2017-08-18 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81894 Bug ID: 81894 Summary: Typo in x86 built-in function list Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web

[Bug go/81893] [8 regression] compilation error in libgo starting with r251127

2017-08-18 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81893 --- Comment #1 from Ian Lance Taylor --- Did you test powerpc64 little endian?

[Bug libstdc++/81891] [5/6/7/8 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 --- Comment #3 from Jonathan Wakely --- I think this might be all we need to do to fix it: --- a/libstdc++-v3/include/bits/hashtable.h +++ b/libstdc++-v3/include/bits/hashtable.h @@ -973,17 +973,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION

[Bug libstdc++/81891] [5/6/7/8 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 Jonathan Wakely changed: What|Removed |Added CC||fdumont at gcc dot gnu.org ---

[Bug libstdc++/81891] [5/6/7/8 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug preprocessor/81419] GCC wrongly suggests function-like macro as fixit hint for undefined object-like macro

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81419 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug go/81893] New: [8 regression] compilation error in libgo starting with r251127

2017-08-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81893 Bug ID: 81893 Summary: [8 regression] compilation error in libgo starting with r251127 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/80763] [7/8 Regression] -O3 causes error: inline clone in same comdat group list

2017-08-18 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80763 --- Comment #8 from David Binderman --- (In reply to David Binderman from comment #7) > Still seems to be broken, over a month later. Still broken, a couple of months even later ...

[Bug c++/52801] improve selective typedef unwrapping

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52801 Eric Gallager changed: What|Removed |Added Keywords||diagnostic, error-recovery

[Bug c++/52320] missing destructor call after thrown exception in initializer

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52320 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/81891] [5/6/7/8 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

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

[Bug tree-optimization/81892] suboptimal code for a if (p) free(p) else free(p)

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81892 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/52130] missing check for matching underlying type during instantiation of enum member of class template

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52130 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid

[Bug tree-optimization/81892] suboptimal code for a if (p) free(p) else free(p)

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81892 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization See Also|

[Bug tree-optimization/81892] New: suboptimal code for a if (p) free(p) else free(p)

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81892 Bug ID: 81892 Summary: suboptimal code for a if (p) free(p) else free(p) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/81673] Harmful SLP vectorization

2017-08-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81673 Martin Jambor changed: What|Removed |Added Depends on||80689 --- Comment #5 from Martin Jambor

[Bug c++/48829] g++ no warning initializing a variable using itself

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48829 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80689] 128 bit loads generated for structure copying with gcc 7.1.0 and leads to STLF stalls in avx2 targets.

2017-08-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80689 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/80528] reimplement gnulib's "useless-if-before-free" script as a compiler warning

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80528 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/51789] GCC does not consider SFINAE in template parameter list of template parameter pack

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51789 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid

[Bug c++/52130] missing check for matching underlying type during instantiation of enum member of class template

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52130 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/51789] GCC does not consider SFINAE in template parameter list of template parameter pack

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51789 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/71003] __extension__ silences pedwarn for "\e" in C but not in C++

2017-08-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71003 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/81327] cast to void* does not suppress -Wclass-memaccess

2017-08-18 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327 --- Comment #1 from Ville Voutilainen --- Note that this currently blocks building Qt with gcc 8. We could work around it by turning our void* casts to char* casts, but we have a preference for fixing this problem in the compiler.

[Bug c++/50169] "new struct X {{}};" incorrectly treated as an invalid struct-definition

2017-08-18 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 --- Comment #4 from Ville Voutilainen --- I have sent this to Core for consideration.

[Bug libstdc++/81891] New: heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-08-18 Thread pdziepak at quarnos dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 Bug ID: 81891 Summary: heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws Product: gcc Version: 7.1.1 Status: UNCONFIRMED

[Bug lto/81847] ICE with LTO enabled

2017-08-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 --- Comment #6 from Martin Liška --- Created attachment 42004 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42004=edit A bit smaller test-case Smaller test-cast which needs to add --param lto-min-partition=1. Problem is following, we

[Bug c++/71527] wrong type mismatch while template argument deduction/substitution

2017-08-18 Thread benni.buch at gmail dot com
#2 from Benjamin Buch --- Bug does still exist in: $ g++ --version g++ (GCC) 8.0.0 20170818 (experimental) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS

[Bug inline-asm/81890] asm memory constraints are difficult and not well documented

2017-08-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81890 Alan Modra changed: What|Removed |Added Keywords||documentation

[Bug inline-asm/81890] New: asm memory constraints are difficult and not well documented

2017-08-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81890 Bug ID: 81890 Summary: asm memory constraints are difficult and not well documented Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/81877] [7/8 Regression] Incorrect results with lto and -fipa-cp and -fipa-cp-clone

2017-08-18 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81877 --- Comment #13 from Alexander Monakov --- > More rigorously defining the semantic of loop->safelen (the > middle-end term) is necessary nevertheless. I believe omp ordered > doesn't have any middle-end representation? Except on nvptx, 'omp

[Bug c++/51545] missing -Wparentheses diagnostic with compound assignment used as condition

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51545 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug c++/51234] ambiguity in mangling function attribute

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51234 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/49531] Doesn't resolve to conversion function template specialization in expressions

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49531 Eric Gallager changed: What|Removed |Added Keywords||rejects-valid

[Bug middle-end/81889] [7 Regression] bogus warnings with -Wmaybe-uninitialized -O3

2017-08-18 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 janus at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/47256] "--sysroot" option is not passed to COLLECT_GCC_OPTIONS

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/81889] New: [7 Regression] bogus warnings with -Wmaybe-uninitialized -O3

2017-08-18 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 Bug ID: 81889 Summary: [7 Regression] bogus warnings with -Wmaybe-uninitialized -O3 Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/26748] gimplify_expr_stmt in cp-gimplifer.c does warnings

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26748 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/49224] [C++0x] Scoped enumeration instantiated even if not required

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49224 Eric Gallager changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/49224] [C++0x] Scoped enumeration instantiated even if not required

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49224 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c++/50456] attributes ignored on member templates

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50456 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/81887] pragma omp ordered simd ignored under -fopenmp-simd

2017-08-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81887 --- Comment #1 from Richard Biener --- See also PR81877 for some discussion and an example where SLP vectorization can break 'ordered'.

[Bug c++/81888] [7/8 Regression] Structured bindings stopped working

2017-08-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81888 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug ipa/81877] [7/8 Regression] Incorrect results with lto and -fipa-cp and -fipa-cp-clone

2017-08-18 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81877 --- Comment #12 from rguenther at suse dot de --- On Fri, 18 Aug 2017, amonakov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81877 > > --- Comment #11 from Alexander Monakov --- > (In reply to Richard Biener from

[Bug libstdc++/81885] operator-> not checked by -D_GLIBCXX_ASSERTIONS

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81885 --- Comment #3 from Jonathan Wakely --- In fact it's the idiomatic way to get a real pointer from any kind of smart pointer, e.g. fancy pointers used by allocators (which don't necessarily have a get member function). There's even a proposal to

[Bug c++/50169] "new struct X {{}};" incorrectly treated as an invalid struct-definition

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 --- Comment #3 from Jonathan Wakely --- EDG rejects it too: "gr.cc", line 3: error: expected a declaration new struct A {{ }}; ^ "gr.cc", line 3: error: type definition is not allowed new struct A {{ }};

[Bug tree-optimization/81884] [6/7/8 Regression] Invalid code generation with zero size arrays or flexible array members

2017-08-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81884 Richard Biener changed: What|Removed |Added Attachment #42000|0 |1 is obsolete|

[Bug tree-optimization/81884] [6/7/8 Regression] Invalid code generation with zero size arrays or flexible array members

2017-08-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81884 --- Comment #3 from Richard Biener --- Regresses gfortran.dg/reassoc_4.f because we no longer DSE @@ -207,6 +207,7 @@ _28 = *weight_94(D); _29 = _27 * _28; _30 = _10 + _29; + *s_91(D)[_9] = _30; _173 = _12 + 9; _174 = _17 +

[Bug c++/81888] New: Structured bindings stopped working

2017-08-18 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81888 Bug ID: 81888 Summary: Structured bindings stopped working Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/81885] operator-> not checked by -D_GLIBCXX_ASSERTIONS

2017-08-18 Thread joerg.rich...@pdv-fs.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81885 --- Comment #2 from Jörg Richter --- Okay, I see your point. But I think calling operator->() to get the pointer is not a very common use-case. Its more like get() is the right function for this task.

[Bug c++/45033] "delete" does overload resolution for class operands, but shouldn't.

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45033 --- Comment #2 from Jonathan Wakely --- Clang only rejects it in C++98 or C++11 mode, it accepts it for C++14. EDG accepts it unconditionally.

[Bug libstdc++/81885] operator-> not checked by -D_GLIBCXX_ASSERTIONS

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81885 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/50445] Rejects use of constant expression using a pointer non-type template parameter

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50445 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/50169] "new struct X {{}};" incorrectly treated as an invalid struct-definition

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

  1   2   >