[Bug c++/71154] Attributes for an explicit template instantiation are ignored

2016-07-21 Thread abbeyj+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71154 --- Comment #3 from James Abbatiello --- Andrew Pinsky, I'm not sure I understand your comment. Why would the visibility of D be affected by the visibility of C? If I change your test case so that C is declared as

[Bug c++/71774] [4.9/5/6/7 regression] Bogus "is protected" error when list-initializing a base class with a defaulted protected constructor and a virtual function

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71774 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/71561] [5/6/7 Regression] ICE with -Wall on valid C++ code on x86_64-linux-gnu: in potential_constant_expression_1, at cp/constexpr.c:5249

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71561 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71728] [5 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 Jason Merrill changed: What|Removed |Added CC||su at cs dot ucdavis.edu --- Comment #7

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #8 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:57:43 2016 New Revision: 238631 URL: https://gcc.gnu.org/viewcvs?rev=238631=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71274] [5/6 Regression] deprecated static const member of struct raises warning without use

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71274 Jason Merrill changed: What|Removed |Added Summary|[5/6/7 Regression] |[5/6 Regression] deprecated

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:51:22 2016 New Revision: 238630 URL: https://gcc.gnu.org/viewcvs?rev=238630=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:51:15 2016 New Revision: 238629 URL: https://gcc.gnu.org/viewcvs?rev=238629=gcc=rev Log: PR c++/71630 - extern variable template * pt.c (instantiate_decl):

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:51:07 2016 New Revision: 238628 URL: https://gcc.gnu.org/viewcvs?rev=238628=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:46:54 2016 New Revision: 238627 URL: https://gcc.gnu.org/viewcvs?rev=238627=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:46:41 2016 New Revision: 238625 URL: https://gcc.gnu.org/viewcvs?rev=238625=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:54 2016 New Revision: 238624 URL: https://gcc.gnu.org/viewcvs?rev=238624=gcc=rev Log: PR c++/69223 - ICE with deduced template return type. *

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:46:49 2016 New Revision: 238626 URL: https://gcc.gnu.org/viewcvs?rev=238626=gcc=rev Log: PR c++/71630 - extern variable template * pt.c (instantiate_decl):

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:43 2016 New Revision: 238622 URL: https://gcc.gnu.org/viewcvs?rev=238622=gcc=rev Log: PR c++/71630 - extern variable template * pt.c (instantiate_decl):

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:37 2016 New Revision: 238621 URL: https://gcc.gnu.org/viewcvs?rev=238621=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug c++/71274] [5/6/7 Regression] deprecated static const member of struct raises warning without use

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71274 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:45:48 2016 New Revision: 238623 URL: https://gcc.gnu.org/viewcvs?rev=238623=gcc=rev Log: PR c++/71274 - deprecated warning without use. * decl2.c

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 22 03:41:44 2016 New Revision: 238619 URL: https://gcc.gnu.org/viewcvs?rev=238619=gcc=rev Log: PR c++/71913 - missing copy elision with new. * call.c

[Bug target/40411] -std=c99 does not enable c99 mode in Solaris C library

2016-07-21 Thread norm.jacobs at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 Norm Jacobs changed: What|Removed |Added CC||norm.jacobs at oracle dot com --- Comment

[Bug c++/71964] New: Move constructor of std::set does not move allocator

2016-07-21 Thread rbd at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71964 Bug ID: 71964 Summary: Move constructor of std::set does not move allocator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/60779] -fcx-fortran-rules ignored when using -flto

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60779 --- Comment #5 from Andrew Pinski --- Hasn't this been fixed by using the optimize attribute infrastructure for LTO now?

[Bug c++/69223] [5/6/7 regression] ICE with polymorphic lambda

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/71274] [5/6/7 Regression] deprecated static const member of struct raises warning without use

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71274 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71630 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/71756] [5/6/7 Regression] internal compiler error: in ~saved_token_sentinel, at cp/parser.c:1228

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71756 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/71730] [5/6/7 Regression] ICE when character length specification uses an undefined variable

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71730 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.5

[Bug c++/71913] [5/6/7 Regression] Missing copy elision with operator new

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71913 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/71963] New: Showing incompatible type when types are same.

2016-07-21 Thread sinu.nayak2001 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71963 Bug ID: 71963 Summary: Showing incompatible type when types are same. Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/71876] longjmp is miscompiled with -ffreestanding

2016-07-21 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 --- Comment #12 from Bernd Edlinger --- Author: edlinger Date: Thu Jul 21 19:06:02 2016 New Revision: 238605 URL: https://gcc.gnu.org/viewcvs?rev=238605=gcc=rev Log: 016-07-21 Bernd Edlinger PR

[Bug middle-end/71876] longjmp is miscompiled with -ffreestanding

2016-07-21 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876 --- Comment #13 from Bernd Edlinger --- Author: edlinger Date: Thu Jul 21 19:11:26 2016 New Revision: 238606 URL: https://gcc.gnu.org/viewcvs?rev=238606=gcc=rev Log: 016-07-21 Bernd Edlinger PR

[Bug fortran/71883] [5/6/7 Regression] ICE in identical_array_ref, at fortran/dependency.c:104

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71883 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.5

[Bug tree-optimization/50417] [4.9/5/6/7 regression]: memcpy with known alignment

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50417 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.4 Summary|regression:

[Bug c++/71848] [7 Regression] libstdc++ testsuite error on AIX

2016-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71848 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0

[Bug c++/71728] [5 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 Jakub Jelinek changed: What|Removed |Added Known to work||6.2.0, 7.0 Summary|[5/6/7

[Bug c++/71728] [5/6/7 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Jul 21 18:24:48 2016 New Revision: 238602 URL: https://gcc.gnu.org/viewcvs?rev=238602=gcc=rev Log: PR c++/71728 * constexpr.c (potential_constant_expression_1) :

[Bug c++/71728] [5/6/7 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Jul 21 18:22:32 2016 New Revision: 238601 URL: https://gcc.gnu.org/viewcvs?rev=238601=gcc=rev Log: PR c++/71728 * constexpr.c (potential_constant_expression_1) :

[Bug sanitizer/71953] ICE using address sanitizers with PCH

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 --- Comment #7 from Jonathan Wakely --- This fixes the v3 testsuite with asan, thanks.

[Bug fortran/71961] [7 Regression] 178.galgel in SPEC CPU 2000 is miscompiled

2016-07-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug sanitizer/71962] New: error: ‘((& x) != 0u)’ is not a constant expression

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962 Bug ID: 71962 Summary: error: ‘((& x) != 0u)’ is not a constant expression Product: gcc Version: 6.1.1 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug fortran/71961] New: [7 Regression] 178.galgel in SPEC CPU 2000 is miscompiled

2016-07-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 Bug ID: 71961 Summary: [7 Regression] 178.galgel in SPEC CPU 2000 is miscompiled Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/71945] Integer overflow in use counter of shared pointers

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71945 --- Comment #1 from Jonathan Wakely --- You also get undefined behaviour at 2bn objects when the signed _Atomic_word overflows, and the weak count can also be forced to overflow. Doing so requires allocating tens of GB of shared_ptr objects

[Bug fortran/31190] minimum field width list-directed output

2016-07-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31190 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/71960] __glibcxx_assert and Debug Mode checks can't be used in constexpr functions

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71960 --- Comment #1 from Jonathan Wakely --- Alternatively, compiler magic which allows the checks to be skipped when used in a constant expression would allow us to support all valid code, at the expense of not diagnosing misuses in constant

[Bug libstdc++/71960] New: __glibcxx_assert and Debug Mode checks can't be used in constexpr functions

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71960 Bug ID: 71960 Summary: __glibcxx_assert and Debug Mode checks can't be used in constexpr functions Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords:

[Bug c++/62096] unexpected warning overflow in implicit constant conversion

2016-07-21 Thread travis.vitek at roguewave dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62096 --- Comment #4 from Travis Vitek --- I believe the underlying type of the unscoped enumeration `E' should be `int'. According to 7.2 paragraph 7, the underlying type is .. implementation-defined which integral type is used as the underlying

[Bug sanitizer/71953] ICE using address sanitizers with PCH

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu Jul 21 16:18:46 2016 New Revision: 238597 URL: https://gcc.gnu.org/viewcvs?rev=238597=gcc=rev Log: PR sanitizer/71953 * asan.c (asan_dynamic_init_call): Call

[Bug sanitizer/71953] ICE using address sanitizers with PCH

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Jul 21 16:17:58 2016 New Revision: 238596 URL: https://gcc.gnu.org/viewcvs?rev=238596=gcc=rev Log: PR sanitizer/71953 * asan.c (asan_dynamic_init_call): Call

[Bug libstdc++/71959] New: [OpenACC] #pragma acc parallel leads to segfault in x86_64-pc-linux-gnu-accel-nvptx-none-gcc

2016-07-21 Thread christopher.guc...@torq-dev.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71959 Bug ID: 71959 Summary: [OpenACC] #pragma acc parallel leads to segfault in x86_64-pc-linux-gnu-accel-nvptx-none-gcc Product: gcc Version: 6.1.0 Status: UNCONFIRMED

[Bug c++/70932] flexible array member with non-trivial destructor

2016-07-21 Thread junyer at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 --- Comment #7 from Paul Wankadia --- Ahh. Thank you for clarifying. I will continue to watch this bug then. :)

[Bug c++/70932] flexible array member with non-trivial destructor

2016-07-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 --- Comment #6 from Martin Sebor --- To clarify/correct comment #5: the error in comment #4 is due to bug 71147, the one in comment #3 ("unbekannte Feldgröße in »delete«") looks like it's the same as in comment #0 and probably due to this bug.

[Bug c++/71147] [6 Regression] Flexible array member wrongly rejected in template

2016-07-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71147 --- Comment #9 from Martin Sebor --- The test case from comment 4 on bug 70932 fails due to this bug. But looking at the error in comment 3 more closely I see "unbekannte Feldgröße in »delete«" which with some help from Google Translate does

[Bug c++/71694] store-data race with bitfields and tail-padding in C++

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71694 --- Comment #4 from Jason Merrill --- (In reply to Richard Biener from comment #3) > The C++ FE identifies such types with > > CLASSTYPE_NON_LAYOUT_POD_P (t) || CLASSTYPE_EMPTY_P (t) > > where only CLASSTYPE_NON_LAYOUT_POD_P is interesting

[Bug libstdc++/66145] [5/6/7 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-07-21 Thread boris at kolpackov dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #26 from Boris Kolpackov --- > If breaking the old ABI was an option we wouldn't be in this situation in the > first place. By throwing the new version you are breaking the ABI. The point I was trying to make is that maybe in this

[Bug c++/71147] [6 Regression] Flexible array member wrongly rejected in template

2016-07-21 Thread junyer at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71147 Paul Wankadia changed: What|Removed |Added CC||junyer at google dot com --- Comment #8

[Bug c++/70932] flexible array member with non-trivial destructor

2016-07-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 --- Comment #5 from Martin Sebor --- (In reply to Paul Wankadia from comment #3) > Is this likely to be the same issue even though std::atomic should have > a trivial destructor for all T? No, that's bug 71147, fixed in 7.0 and 6.x.

[Bug c++/67491] [meta-bug] concepts issues

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67579, which changed state. Bug 67579 Summary: [concepts] Memoization for constraint expressions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67579 What|Removed |Added

[Bug c++/67579] [concepts] Memoization for constraint expressions

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67579 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67565, which changed state. Bug 67565 Summary: [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 What

[Bug c++/67565] [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused

2016-07-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug libstdc++/66145] [5/6/7 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-07-21 Thread boris at kolpackov dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #24 from Boris Kolpackov --- Some more speculation/crazy ideas about the potential fix: If just throwing the new version and forgetting about the old one is an option, then perhaps we could "de-inherit" old from std::exception and

[Bug libstdc++/66145] [5/6/7 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #25 from Jonathan Wakely --- (In reply to Boris Kolpackov from comment #24) > Some more speculation/crazy ideas about the potential fix: > > If just throwing the new version and forgetting about the old one is an > option, then

[Bug tree-optimization/71947] [6/7 Regression] x ^ y not folded to 0 if x == y by DOM

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71947 --- Comment #4 from Richard Biener --- Now the testcase is optimized at -O2 by VRP but still not at -O1.

[Bug c++/67565] [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused

2016-07-21 Thread tom at honermann dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 --- Comment #5 from Tom Honermann --- Nice, thanks! Using gcc r238587, I get the times below for the examples in this report. All cases are dramatically improved. Unless there is some other known issue not captured in the discussion here, it

[Bug tree-optimization/71947] [6/7 Regression] x ^ y not folded to 0 if x == y by DOM

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71947 --- Comment #3 from Richard Biener --- Author: rguenth Date: Thu Jul 21 13:00:32 2016 New Revision: 238591 URL: https://gcc.gnu.org/viewcvs?rev=238591=gcc=rev Log: 2016-07-21 Richard Biener PR

[Bug tree-optimization/71661] [7 Regression] wrong code at -O3

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71661 --- Comment #3 from Jakub Jelinek --- This to me looks like some transformation of a loop that doesn't properly adjust the number of iterations. During vrp1 loop2 is: loop_2 (header = 11, latch = 13, niter = c_23 + 1 <= 3 ? 2 - c_23 : 0,

[Bug target/71958] x86_64-w64-mingw32, ICE when '-mx32' is used

2016-07-21 Thread i.nixman at autistici dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71958 --- Comment #1 from niXman --- s/But compiled ok/The same error occurs/

[Bug tree-optimization/71957] [5/6/7 Regression] Invalid code generation with function static objects

2016-07-21 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71957 --- Comment #4 from Sebastian Huber --- (In reply to Richard Biener from comment #3) > On a second look the testcase looks invalid as it invokes a virtual function > via C on an object of type C. Why do you

[Bug target/71948] [avr] Make progmem work on reduced Tiny cores by adding 0x4000 to symbols

2016-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71948 Georg-Johann Lay changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70932] flexible array member with non-trivial destructor

2016-07-21 Thread junyer at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 --- Comment #4 from Paul Wankadia --- FWIW, using a simplified struct, Compiler Explorer (gcc.godbolt.org) with GCC 6.1 throws a different error: #include struct State { int i; std::atomic next_[]; }; Compiler output — x86 gcc

[Bug tree-optimization/71503] [7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "gen_phi_arg_condition"

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71503 Jakub Jelinek changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #7

[Bug tree-optimization/71683] [7 Regression] ICE in gen_phi_arg_condition, at tree-if-conv.c:1705 w/ -ftree-vectorize -O2 (and above)

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71683 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/71503] [7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "gen_phi_arg_condition"

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71503 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/71854] [7 Regression] ICE at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (verify_gimple failed)

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71854 --- Comment #3 from Jakub Jelinek --- --- tree-vect-stmts.c.jj4 2016-07-14 20:28:33.0 +0200 +++ tree-vect-stmts.c 2016-07-21 13:49:35.015011603 +0200 @@ -7763,7 +7763,17 @@ vectorizable_condition (gimple *stmt, gi

[Bug c++/70932] flexible array member with non-trivial destructor

2016-07-21 Thread junyer at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 Paul Wankadia changed: What|Removed |Added CC||junyer at google dot com --- Comment #3

[Bug tree-optimization/71957] [5/6/7 Regression] Invalid code generation with function static objects

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71957 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from Richard

[Bug tree-optimization/71957] [5/6/7 Regression] Invalid code generation with function static objects

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71957 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug c++/71957] [5/6/7 Regression] Invalid code generation with function static objects

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71957 Richard Biener changed: What|Removed |Added Target||i?86-*-* Priority|P3

[Bug target/71958] New: x86_64-w64-mingw32, ICE when '-mx32' is used

2016-07-21 Thread i.nixman at autistici dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71958 Bug ID: 71958 Summary: x86_64-w64-mingw32, ICE when '-mx32' is used Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #13 from Jonathan Wakely --- The C standard has equivalent wording in 7.1.2: If a file with the same name as one of the above < and > delimited sequences, not provided as part of the implementation, is placed in any of the standard

[Bug libstdc++/70722] include_next in cmath skips user-defined wrapper

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70722 --- Comment #12 from Jonathan Wakely --- (In reply to Nadav Har'El from comment #10) > There is nothing "holy" about glibc, and nothing "broken" about wanting to > replace it (or, as Firefox did, only a part of it). Sure, the replacement > needs

[Bug c++/71957] New: Invalid code generation with function static objects

2016-07-21 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71957 Bug ID: 71957 Summary: Invalid code generation with function static objects Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug java/71917] [7 regression] libjava.jar/ReturnProxyTest.jar etc. FAIL

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71917 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug testsuite/71865] [7 regression] test case gcc.dg/diagnostic-token-ranges.c fails starting with r237714

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71865 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70964 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/71728] [5/6/7 Regression] ICE with goto in statement-expression inside a condition

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71728 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/71956] [7 Regression] 176.gcc fails on 32 bits when compiled with -march=core-avx2

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71956 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug libstdc++/71950] std::ios_base::failure.what() returns irrelevant error message

2016-07-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71950 --- Comment #1 from Jonathan Wakely --- This isn't easy to do. The exception is thrown in basic_ios::clear() when setting the error flags, but the cause of the error is not known there. We could look at errno, but not all such errors are caused

[Bug rtl-optimization/71956] [i686][7 Regression] 176.gcc fails on 32 bits when compiled with -march=core-avx2

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71956 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug rtl-optimization/71956] New: [i686][7 Regression] 176.gcc fails on 32 bits when compiled with -march=core-avx2

2016-07-21 Thread izamyatin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71956 Bug ID: 71956 Summary: [i686][7 Regression] 176.gcc fails on 32 bits when compiled with -march=core-avx2 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug testsuite/70108] [5/6/7 Regression] FAIL: gcc.dg/simulate-thread/speculative-store-2.c -O0 -g thread simulation test

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70108 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug c++/71955] Core dump and interesting behaviour while using reference class members

2016-07-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71955 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/71935] [4.9/5/6/7 Regression] ICE is_c_interoperable(): gfc_simplify_expr failed

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71935 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/71936] [6/7 Regression] ICE in wide_int_to_tree, at tree.c:1487

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71936 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug middle-end/71937] out of memory on very large function

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71937 Richard Biener changed: What|Removed |Added Component|c++ |middle-end --- Comment #14 from

[Bug c++/71955] Core dump and interesting behaviour while using reference class members

2016-07-21 Thread anand312 at rediffmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71955 Anand Kulkarni changed: What|Removed |Added CC||anand312 at rediffmail dot com ---

[Bug c++/71955] New: Core dump and interesting behaviour while using reference class members

2016-07-21 Thread anand312 at rediffmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71955 Bug ID: 71955 Summary: Core dump and interesting behaviour while using reference class members Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug sanitizer/71953] ICE using address sanitizers with PCH

2016-07-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71953 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/71947] [6/7 Regression] x ^ y not folded to 0 if x == y by DOM

2016-07-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71947 Richard Biener changed: What|Removed |Added Summary|[6/7 Regression] x ^ y not |[6/7 Regression] x ^ y not

  1   2   >