[Bug c++/71975] In c++11/14 mode enumname::name is assumed name to be part of the enumname

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71975 Andrew Pinski changed: What|Removed |Added Summary|In c++11/14 mode|In c++11/14 mode |whit

[Bug target/66663] gcc misses optimization emits useless test of (a & 31) with 32

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3 Andrew Pinski changed: What|Removed |Added Severity|minor |enhancement

[Bug target/66664] gcc misses optimization emits subtraction where relocation arithmetic would suffice

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 Andrew Pinski changed: What|Removed |Added Severity|minor |enhancement

[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922 --- Comment #6 from Jason Merrill --- Author: jason Date: Sun Jul 24 03:05:46 2016 New Revision: 238694 URL: https://gcc.gnu.org/viewcvs?rev=238694&root=gcc&view=rev Log: PR c++/55922 - list-value-initialization of base PR c++/6

[Bug c++/63151] [5/6/7 regression] Accessibility error when brace-constructing base class with protected defaulted constructor and member variable

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63151 --- Comment #6 from Jason Merrill --- Author: jason Date: Sun Jul 24 03:05:46 2016 New Revision: 238694 URL: https://gcc.gnu.org/viewcvs?rev=238694&root=gcc&view=rev Log: PR c++/55922 - list-value-initialization of base PR c++/6

[Bug c++/70709] [4.9/5/6/7 Regression] gcc hangs on valid C++ code on x86_64-linux-gnu

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70709 --- Comment #5 from Jason Merrill --- Author: jason Date: Sun Jul 24 03:05:36 2016 New Revision: 238693 URL: https://gcc.gnu.org/viewcvs?rev=238693&root=gcc&view=rev Log: PR c++/70709 - zero-length array member * class.c (walk_s

[Bug c++/71738] [4.9/5/6/7 Regression] ICE on valid C++ code: tree check: expected record_type or union_type or qual_union_type, have template_decl in lookup_template_class_1, at cp/pt.c:8619

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71738 --- Comment #4 from Jason Merrill --- Author: jason Date: Sun Jul 24 03:04:31 2016 New Revision: 238691 URL: https://gcc.gnu.org/viewcvs?rev=238691&root=gcc&view=rev Log: PR c++/71738 - nested template friend * pt.c (lookup_temp

[Bug c++/70778] [5/6/7 regression] internal compiler error: in tsubst, at cp/pt.c:12158

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70778 --- Comment #5 from Jason Merrill --- Author: jason Date: Sun Jul 24 03:04:52 2016 New Revision: 238692 URL: https://gcc.gnu.org/viewcvs?rev=238692&root=gcc&view=rev Log: PR c++/70778 - member template template parameter * pt.c

[Bug c++/71350] [4.9/5/6/7 regression] ICE on trailing return type declaration with initializer list

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71350 --- Comment #4 from Jason Merrill --- Author: jason Date: Sun Jul 24 03:04:05 2016 New Revision: 238690 URL: https://gcc.gnu.org/viewcvs?rev=238690&root=gcc&view=rev Log: PR c++/71350 - error recursion with initializer-list * de

[Bug c++/66617] C++11 {brace} initialisation of virtually inherited derived class = failure to override base virtual function, unless all base ctors have same signature

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66617 --- Comment #9 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:59:34 2016 New Revision: 238689 URL: https://gcc.gnu.org/viewcvs?rev=238689&root=gcc&view=rev Log: PR c++/66617 - virtual base list-initialization * call.c

[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922 --- Comment #5 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:56:22 2016 New Revision: 238688 URL: https://gcc.gnu.org/viewcvs?rev=238688&root=gcc&view=rev Log: PR c++/55922 - list-value-initialization of base PR c++/6

[Bug c++/63151] [5/6/7 regression] Accessibility error when brace-constructing base class with protected defaulted constructor and member variable

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63151 --- Comment #5 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:56:22 2016 New Revision: 238688 URL: https://gcc.gnu.org/viewcvs?rev=238688&root=gcc&view=rev Log: PR c++/55922 - list-value-initialization of base PR c++/6

[Bug c++/70709] [4.9/5/6/7 Regression] gcc hangs on valid C++ code on x86_64-linux-gnu

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70709 --- Comment #4 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:52:33 2016 New Revision: 238687 URL: https://gcc.gnu.org/viewcvs?rev=238687&root=gcc&view=rev Log: PR c++/70709 - zero-length array member * class.c (walk_s

[Bug c++/70778] [5/6/7 regression] internal compiler error: in tsubst, at cp/pt.c:12158

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70778 --- Comment #4 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:50:16 2016 New Revision: 238686 URL: https://gcc.gnu.org/viewcvs?rev=238686&root=gcc&view=rev Log: PR c++/70778 - member template template parameter * pt.c

[Bug c++/71738] [4.9/5/6/7 Regression] ICE on valid C++ code: tree check: expected record_type or union_type or qual_union_type, have template_decl in lookup_template_class_1, at cp/pt.c:8619

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71738 --- Comment #3 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:39:41 2016 New Revision: 238685 URL: https://gcc.gnu.org/viewcvs?rev=238685&root=gcc&view=rev Log: PR c++/71738 - nested template friend * pt.c (lookup_temp

[Bug c++/71350] [4.9/5/6/7 regression] ICE on trailing return type declaration with initializer list

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71350 --- Comment #3 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:35:37 2016 New Revision: 238684 URL: https://gcc.gnu.org/viewcvs?rev=238684&root=gcc&view=rev Log: PR c++/71350 - error recursion with initializer-list * de

[Bug tree-optimization/70527] Missed fold for "(long int) x * 12 - (long int)(x + 1) * 12"

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70527 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug c++/71576] [4.9/5/6/7 Regression] ICE on valid C++11 code (with xvalue and bitfield) on x86_64-linux-gnu: in build_target_expr, at cp/tree.c:385

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71576 --- Comment #3 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:25:36 2016 New Revision: 238683 URL: https://gcc.gnu.org/viewcvs?rev=238683&root=gcc&view=rev Log: PR c++/71576 - bitfield and rvalue reference * call.c (co

[Bug c++/71748] [4.9/5/6/7 Regression] ICE on valid (?) C++ template code invoking a base destructor: in build_base_path, at cp/class.c:304

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71748 --- Comment #4 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:20:17 2016 New Revision: 238682 URL: https://gcc.gnu.org/viewcvs?rev=238682&root=gcc&view=rev Log: PR c++/71748 - call to base destructor in template. PR c+

[Bug c++/52746] [4.7/4.8 Regression] Explicit virtual destructor call replaced by direct call in template function

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52746 --- Comment #6 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:20:17 2016 New Revision: 238682 URL: https://gcc.gnu.org/viewcvs?rev=238682&root=gcc&view=rev Log: PR c++/71748 - call to base destructor in template. PR c+

[Bug c++/52746] [4.7/4.8 Regression] Explicit virtual destructor call replaced by direct call in template function

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52746 --- Comment #5 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:19:46 2016 New Revision: 238681 URL: https://gcc.gnu.org/viewcvs?rev=238681&root=gcc&view=rev Log: PR c++/71748 - call to base destructor in template. PR c+

[Bug c++/71748] [4.9/5/6/7 Regression] ICE on valid (?) C++ template code invoking a base destructor: in build_base_path, at cp/class.c:304

2016-07-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71748 --- Comment #3 from Jason Merrill --- Author: jason Date: Sun Jul 24 02:19:46 2016 New Revision: 238681 URL: https://gcc.gnu.org/viewcvs?rev=238681&root=gcc&view=rev Log: PR c++/71748 - call to base destructor in template. PR c+

[Bug tree-optimization/54491] interval membership optimization

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54491 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Sev

[Bug tree-optimization/70041] empty (not detected) sub-loop not removed

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70041 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Sev

[Bug c++/70375] catch by value still allows explicit constructor

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70375 Andrew Pinski changed: What|Removed |Added Depends on||57533 --- Comment #1 from Andrew Pinski

[Bug c++/55136] template class member template explicit instantiation fails if non template overload exists

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55136 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/64063] [DR 1665] Incorrect "ambiguous template specialization" error

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64063 Andrew Pinski changed: What|Removed |Added CC||frrrwww at gmail dot com --- Comment #4

[Bug c++/67942] diagnose placement new buffer overflow

2016-07-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67942 --- Comment #8 from Martin Sebor --- *** Bug 67875 has been marked as a duplicate of this bug. ***

[Bug c++/67875] missing -Warray-bounds in a default placement new expression, bogus location on an overload

2016-07-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67875 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug c++/66290] wrong location for -Wunused-macros

2016-07-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66290 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/71983] "error: initializer element is not constant" only with -O0

2016-07-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71983 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/71732] FAIL: gcc.dg/torture/pr71532.c at -O2 and above

2016-07-23 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71732 --- Comment #9 from John David Anglin --- Patch here: https://gcc.gnu.org/ml/gcc-patches/2016-07/msg01530.html

[Bug tree-optimization/56223] Integer ABS is not recognized for more complicated pattern

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/71779] [5/6/7 regression] isl miscompiled with -mabi=ilp32

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71779 Andrew Pinski changed: What|Removed |Added Keywords||ra --- Comment #8 from Andrew Pinski --

[Bug c/71983] "error: initializer element is not constant" only with -O0

2016-07-23 Thread k2k at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71983 --- Comment #2 from Karlson2k --- clang and MSVC accept this code. Inconsistency at different optimization levels is confusing and make harder to reveal errors in code.

[Bug c/71983] "error: initializer element is not constant" only with -O0

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71983 --- Comment #1 from Andrew Pinski --- This is not valid C code. Now GCC should be consistent at different optimization levels.

[Bug c/71983] New: "error: initializer element is not constant" only with -O0

2016-07-23 Thread k2k at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71983 Bug ID: 71983 Summary: "error: initializer element is not constant" only with -O0 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug other/58086] Installer installs files outside --prefix

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58086 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/57962] Missed Optimization for Superword Level Parallelism

2016-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57962 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/71982] New: Wrong error and note range with macro

2016-07-23 Thread denis.campredon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 Bug ID: 71982 Summary: Wrong error and note range with macro Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2016-07-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71935 kargl at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FI

[Bug c++/71534] Initializing a static constexpr data member of a base class by using a static constexpr data member of a derived class should be an error

2016-07-23 Thread inadgob at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71534 bogdan changed: What|Removed |Added CC||inadgob at yahoo dot com --- Comment #3 from bo

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

2016-07-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961 --- Comment #4 from Thomas Koenig --- If there is a bug, it is likely an array dependence that is mishandled.

[Bug fortran/71902] [5/6 Regression] Unneeded temporary on reallocatable character assignment

2016-07-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902 --- Comment #5 from Thomas Koenig --- (In reply to Pat Haugen from comment #4) > r238497 causes a miscompare for CPU2000 benchmark 178.galgel on powerpc64. > Continuing to dig, will post more details as I find out. This is tracked as PR 71961.