[Bug c/67224] UTF-8 support for identifier names in GCC

2017-02-10 Thread dwolf at dannad dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67224 Daniel Wolf changed: What|Removed |Added CC||dwolf at dannad dot de --- Comment #22 fro

[Bug tree-optimization/79411] [5/6/7 Regression] ICE: SSA corruption (fail_abnormal_edge_coalesce)

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79411 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Feb 10 08:47:32 2017 New Revision: 245324 URL: https://gcc.gnu.org/viewcvs?rev=245324&root=gcc&view=rev Log: PR tree-optimization/79411 * tree-ssa-reassoc.c (is_reasso

[Bug target/71012] ICE: in expand_expr_real_2, at expr.c:9348 when compiling stress-ng

2017-02-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71012 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #2

[Bug target/79451] New: [7 Regression] ICE in expand_expr_real_2, at expr.c:9021 w/ -O3 -floop-nest-optimize

2017-02-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79451 Bug ID: 79451 Summary: [7 Regression] ICE in expand_expr_real_2, at expr.c:9021 w/ -O3 -floop-nest-optimize Product: gcc Version: 7.0 Status: UNCONFIRMED Keywor

[Bug target/79451] [7 Regression] ICE in expand_expr_real_2, at expr.c:9021 w/ -O3 -floop-nest-optimize

2017-02-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79451 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug target/79450] [5/6/7 Regression] wrong code with loop at -O1

2017-02-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79450 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/79450] [5/6/7 Regression] wrong code with loop at -O1

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79450 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/79411] [5/6 Regression] ICE: SSA corruption (fail_abnormal_edge_coalesce)

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79411 Jakub Jelinek changed: What|Removed |Added Summary|[5/6/7 Regression] ICE: SSA |[5/6 Regression] ICE: SSA

[Bug fortran/79446] Passing internal procedure as argument causes segfault at runtime

2017-02-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79446 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/71012] ICE: in expand_expr_real_2, at expr.c:9348 when compiling stress-ng

2017-02-10 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71012 --- Comment #3 from John Paul Adrian Glaubitz --- (In reply to Arseny Solokha from comment #2) > I can reproduce it w/ gcc 5.4.0, but cannot w/ 7.0.0-alpha20170205 snapshot. We also haven't seen it in Debian since last May, see: > https://build

[Bug rtl-optimization/79450] [5/6/7 Regression] wrong code with loop at -O1

2017-02-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79450 Uroš Bizjak changed: What|Removed |Added Component|target |rtl-optimization --- Comment #2 from Uroš

[Bug fortran/79430] [7 Regression] action of statement incorrectly optimised away

2017-02-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 --- Comment #25 from Dominique d'Humieres --- AFAICT the IF is already optimized away at r240458. Note that r240271 cannot use the modules generated by later revisions.

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #32 from Dominik Vogt --- On a machine with * glibc-2.23 * kernel 4.4.0 + patch for the CVE * CVE environment variable set to allow running the Asan tests * patch from comment 24 applied => In addition to the FAILs you've listed

[Bug rtl-optimization/79450] [5/6/7 Regression] wrong code with loop at -O1

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

[Bug rtl-optimization/79388] [6/7 Regression] wrong code with -O -fno-tree-coalesce-vars

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79388 --- Comment #6 from Jakub Jelinek --- *** Bug 79450 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/79388] [6/7 Regression] wrong code with -O -fno-tree-coalesce-vars

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79388 --- Comment #7 from Jakub Jelinek --- Another testcase from the other PR (-O): unsigned int foo (unsigned char x, unsigned long long y) { do { x &= !y; x %= 24; } while (x < y); return x + y; } int main (void) { unsig

[Bug testsuite/79356] XPASS in attr-alloc_size-11.c

2017-02-10 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 Rainer Orth changed: What|Removed |Added Target|s390x-*-*, powerpc*-*-*,|s390x-*-*, powerpc*-*-*,

[Bug rtl-optimization/79388] [6/7 Regression] wrong code with -O -fno-tree-coalesce-vars

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79388 --- Comment #8 from Jakub Jelinek --- --- gcc/combine.c.jj2017-01-30 09:31:48.0 +0100 +++ gcc/combine.c 2017-02-10 12:16:18.507855160 +0100 @@ -14288,6 +14288,11 @@ distribute_notes (rtx notes, rtx_insn *f

[Bug libstdc++/60936] [5/6/7 Regression] Binary code bloat with std::string

2017-02-10 Thread meisenmann....@fh-salzburg.ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60936 --- Comment #28 from Markus Eisenmann --- Hi! @Jonathan: Do you have any plans to backport/migrate these changes to the GCC 5 and/or 6 branch, to be provided/included on a next release? An "official" fix would be much better (C++-development on

[Bug c++/79184] [7 Regression] -Wint-in-bool-context triggered erroneously in template parameter

2017-02-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79184 --- Comment #3 from Marek Polacek --- I suppose we'll have to use something like --- a/gcc/cp/cvt.c +++ b/gcc/cp/cvt.c @@ -798,7 +798,15 @@ ocp_convert (tree type, tree expr, int convtype, int flags, to the underlying type first. */

[Bug c++/79452] New: Provide builtin to detect compile-time execution

2017-02-10 Thread gonzalobg88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 Bug ID: 79452 Summary: Provide builtin to detect compile-time execution Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 --- Comment #1 from Jonathan Wakely --- (In reply to gnzlbg from comment #0) > Implementation as a builtin is preferred, because it is possible that "if > constexpr() { }" syntax will be proposed for standardization. It's already in C++17 and su

[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-10 Thread gonzalobg88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 --- Comment #2 from gnzlbg --- > It's already in C++17 and supported by GCC. The following program is ill-formed in C++17: int main() { if constexpr() { // Error: expression missing in if condition return 1; } return 0; } > That s

[Bug c++/79435] [7 Regression] ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault

2017-02-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79435 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-10 Thread gonzalobg88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 --- Comment #3 from gnzlbg --- I guess I should have written, "How does this feature make ODR violations more common than the inline keyword?". Which new perils does it introduce?

[Bug middle-end/79396] [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O2

2017-02-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79396 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #33 from Jakub Jelinek --- (In reply to Dominik Vogt from comment #32) > On a machine with > * glibc-2.23 :(; I was hoping you could test #c24 patch against glibc 2.18 > * kernel 4.4.0 + patch for the CVE > * CVE environment vari

[Bug c++/71737] [5/6/7 Regression] ICE following 2x pack expansion in non-pack with template alias

2017-02-10 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71737 --- Comment #10 from paolo at gcc dot gnu.org --- Author: paolo Date: Fri Feb 10 13:14:05 2017 New Revision: 245327 URL: https://gcc.gnu.org/viewcvs?rev=245327&root=gcc&view=rev Log: /cp 2017-02-10 Paolo Carlini PR c++/71737

[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 --- Comment #4 from Jonathan Wakely --- (In reply to gnzlbg from comment #2) > if constexpr() { // Error: expression missing in if condition Oh, I didn't realise you meant without an expression. Yeah that doesn't work. > > That sounds like a

[Bug c++/71737] [5/6 Regression] ICE following 2x pack expansion in non-pack with template alias

2017-02-10 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71737 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW Summary|[5/6/7 Regression

[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 --- Comment #5 from Andrew Pinski --- What about __builtin_constant_expression.

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #34 from Dominik Vogt --- (In reply to Jakub Jelinek from comment #33) > (In reply to Dominik Vogt from comment #32) > > On a machine with > > * glibc-2.23 > > :(; I was hoping you could test #c24 patch against glibc 2.18 I'll even

[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-10 Thread gonzalobg88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 --- Comment #6 from gnzlbg --- > I wasn't replying to the part about function aliases, I was replying to the > part about having the built-in work even when used in a non-constexpr > function. It sounds like what you're suggesting would depend

[Bug fortran/79446] Passing internal procedure as argument causes segfault at runtime

2017-02-10 Thread townsend at astro dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79446 --- Comment #2 from Rich Townsend --- (In reply to Dominique d'Humieres from comment #1) > > Also, I don't experience the segfault on other Linux distros > > (e.g., Gentoo/3.16.5) or Mac OS. > > Confirmed on x86_64-apple-darwin16, even using an

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #35 from Jakub Jelinek --- I've filed https://reviews.llvm.org/D29824 and https://reviews.llvm.org/D29825 upstream.

[Bug c++/41727] [7 Regression] inner template specialization on non-type arg template causes ICE

2017-02-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41727 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug c++/79345] [6/7 Regression] passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized)

2017-02-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79345 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug fortran/79426] [5/6/7 Regression] fortran - internal compiler error: in fold_convert_loc, at fold-const.c:2251

2017-02-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79426 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug translation/79453] New: Translator unfriendly string in avr_pgm_check_var_decl

2017-02-10 Thread fmarchal at perso dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79453 Bug ID: 79453 Summary: Translator unfriendly string in avr_pgm_check_var_decl Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #36 from Dominik Vogt --- Created attachment 40711 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40711&action=edit Reduced test for float-cast-overflow-10.c Test for the float-cast-overflow-10.c failure. This snippet should d

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #37 from Jakub Jelinek --- The overflow-vec-1.c and vec-2.c on -m64 fail also on ppc64{,le}. Minimum failing testcase is: #define SCHAR_MAX __SCHAR_MAX__ #define SCHAR_MIN (-__SCHAR_MAX__ - 1) typedef signed char VC __attribute__((vec

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #38 from Dominik Vogt --- (And if it does generate messages, does it take the if or the else bodies? For me it's the if-bodies.)

[Bug testsuite/79356] XPASS in attr-alloc_size-11.c

2017-02-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|segher at gc

[Bug middle-end/79454] New: [7 Regression] c-c++-common/ubsan/overflow-vec-*.c FAILs on some 64-bit BE targets

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79454 Bug ID: 79454 Summary: [7 Regression] c-c++-common/ubsan/overflow-vec-*.c FAILs on some 64-bit BE targets Product: gcc Version: 7.0 Status: UNCONFIRMED Severity

[Bug middle-end/79454] [7 Regression] c-c++-common/ubsan/overflow-vec-*.c FAILs on some 64-bit BE targets

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79454 Jakub Jelinek changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRME

[Bug middle-end/79454] [7 Regression] c-c++-common/ubsan/overflow-vec-*.c FAILs on some 64-bit BE targets

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79454 --- Comment #2 from Jakub Jelinek --- Created attachment 40712 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40712&action=edit gcc7-pr79454.patch Untested fix. The problem was if the vector type had non-BLKmode, but not vector mode, like

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #39 from Jakub Jelinek --- For overflow-vec-*.c moved this to PR79454.

[Bug target/79131] [7 Regression] ICE: in extract_constrain_insn, at recog.c:2213, big-endian ARM

2017-02-10 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79131 Andreas Krebbel changed: What|Removed |Added CC||krebbel at gcc dot gnu.org --- Comment

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #40 from Jakub Jelinek --- (In reply to Dominik Vogt from comment #38) > (And if it does generate messages, does it take the if or the else bodies? > For me it's the if-bodies.) /home/jakub/gcc/obj/gcc/xgcc -B/home/jakub/gcc/obj/gcc

[Bug target/79131] [7 Regression] ICE: in extract_constrain_insn, at recog.c:2213, big-endian ARM

2017-02-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79131 --- Comment #13 from Dominik Vogt --- Same without vectors: long foo (long a, long b) { return a > b; } => cgr %r2,%r3 lghi%r1,1 locghinh%r1,0

[Bug target/79131] [7 Regression] ICE: in extract_constrain_insn, at recog.c:2213, big-endian ARM

2017-02-10 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79131 --- Comment #14 from Richard Earnshaw --- (In reply to Andreas Krebbel from comment #12) > Starting with that patch we see worse code being generated for: > > int __attribute__((noinline,noclone)) > all_eq_double (double __attribute__((vector_s

[Bug rtl-optimization/21182] [5/6/7 Regression] gcc can use registers but uses stack instead

2017-02-10 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21182 --- Comment #21 from Vladimir Makarov --- (In reply to Jeffrey A. Law from comment #20) > > Anyway, just some thoughts. We're still not at a point where we really know > if IRA is being presented with something that isn't actually colorable or i

[Bug testsuite/79455] New: c-c++-common/tsan/race_on_mutex.c fails on powerpcle starting with r244854 (where it was activated)

2017-02-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79455 Bug ID: 79455 Summary: c-c++-common/tsan/race_on_mutex.c fails on powerpcle starting with r244854 (where it was activated) Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug c++/79301] With -Werror=pedantic outside C++17 mode, __has_cpp_attribute(fallthrough) is nonzero but [[fallthrough]] fails

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79301 --- Comment #8 from Jakub Jelinek --- (In reply to Jason Merrill from comment #7) > (In reply to Jakub Jelinek from comment #4) > > That said, I think e.g. for maybe_unused or nodiscard attributes we don't > > complain with -pedantic about those

[Bug rtl-optimization/79456] New: [7 regression] Extra instruction emitted after LRA patch

2017-02-10 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79456 Bug ID: 79456 Summary: [7 regression] Extra instruction emitted after LRA patch Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pri

[Bug rtl-optimization/79456] [7 regression] Extra instruction emitted after LRA patch

2017-02-10 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79456 Andreas Krebbel changed: What|Removed |Added Target||s390x-ibm-linux Priority|P3

[Bug target/79131] [7 Regression] ICE: in extract_constrain_insn, at recog.c:2213, big-endian ARM

2017-02-10 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79131 --- Comment #15 from Andreas Krebbel --- (In reply to Richard Earnshaw from comment #14) > I think you should open a new bug report. This one has been closed (and the > ICE has been fixed), so this is a new issue. I've opened #79456

[Bug c++/79435] [7 Regression] ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault

2017-02-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79435 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Feb 10 16:32:19 2017 New Revision: 245334 URL: https://gcc.gnu.org/viewcvs?rev=245334&root=gcc&view=rev Log: PR c++/79435 * pt.c (type_dependent_expression_p): Chec

[Bug c++/79184] [7 Regression] -Wint-in-bool-context triggered erroneously in template parameter

2017-02-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79184 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri Feb 10 16:33:45 2017 New Revision: 245335 URL: https://gcc.gnu.org/viewcvs?rev=245335&root=gcc&view=rev Log: PR c++/79184 * cvt.c (ocp_convert): Add a sentinel agai

[Bug c++/79435] [7 Regression] ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault

2017-02-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79435 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79184] [7 Regression] -Wint-in-bool-context triggered erroneously in template parameter

2017-02-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79184 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79301] With -Werror=pedantic outside C++17 mode, __has_cpp_attribute(fallthrough) is nonzero but [[fallthrough]] fails

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79301 --- Comment #9 from Jakub Jelinek --- Created attachment 40713 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40713&action=edit gcc7-pr79301.patch If that is what we want, I think this untested patch should implement it.

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #41 from Dominik Vogt --- > The first loop loops until add is -1.00E+12, at which point for the > first time tem is -9.223373E+18 and thus different from -9.223372E+18, and > -9.223373E+18 should not be representable in signed lon

[Bug c++/79350] "explicit" deduction guides don't work

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79350 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #42 from Dominik Vogt --- With glibc-2.18 and the various patches, the following tets fail: -m31: * deep-stack-uaf-1.C -m64: * null-deref-1.c * deep-stack-uaf-1.C * overflow-vec-1.c * overflow-vec-2.c * float-cast-overflow-10.

[Bug tree-optimization/66612] [6/7/8 regression] FAIL: gcc.target/powerpc/20050830-1.c scan-assembler bdn

2017-02-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66612 --- Comment #15 from Segher Boessenkool --- Author: segher Date: Fri Feb 10 16:58:14 2017 New Revision: 245337 URL: https://gcc.gnu.org/viewcvs?rev=245337&root=gcc&view=rev Log: testsuite, rs6000: Don't xfail 32-bit (PR66612) -m32 works fine, o

[Bug c++/79401] [7 Regression] Protected inheriting ctor

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79401 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #43 from Jakub Jelinek --- Ah, so, if I build with -O0, I always get the expected errors. If I build with -O2 -mcpu=z9-109, I also get them, but with -O2 -mcpu=z10 or -O2 -mcpu=zEC12 I don't. Does _Decimal32 on s390{,x} behave similar

[Bug c++/78897] [6/7 Regression] ICE: in output_constructor_regular_field, at varasm.c:5019

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78897 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/79448] unhelpful -Wformat-truncation=2 INT_MAX warning

2017-02-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79448 Martin Sebor changed: What|Removed |Added Keywords||patch Status|NEW

[Bug c++/79401] [7 Regression] Protected inheriting ctor

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79401 --- Comment #1 from Jason Merrill --- Author: jason Date: Fri Feb 10 18:01:27 2017 New Revision: 245339 URL: https://gcc.gnu.org/viewcvs?rev=245339&root=gcc&view=rev Log: PR c++/79401 - protected inherited constructor * call.c (

[Bug c++/71285] [7 regression] spurious 'insufficient contextual information' for member access on fold expression

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71285 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/71285] [7 regression] spurious 'insufficient contextual information' for member access on fold expression

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71285 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Feb 10 18:24:36 2017 New Revision: 245340 URL: https://gcc.gnu.org/viewcvs?rev=245340&root=gcc&view=rev Log: PR c++/71285 - member of fold-expression * semantics.c (f

[Bug c++/71285] [7 regression] spurious 'insufficient contextual information' for member access on fold expression

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71285 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79401] [7 Regression] Protected inheriting ctor

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79401 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79104] [7 Regression] ambiguity calling std::begin on a local constexpr array of structs

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79104 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Summ

[Bug c++/79104] [DR 696] wrong semantics for odr-use of constant variable from lambda

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79104 Jason Merrill changed: What|Removed |Added Priority|P1 |P3 Status|ASSIGNED

[Bug c++/78897] [6/7 Regression] ICE: in output_constructor_regular_field, at varasm.c:5019

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78897 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Feb 10 18:50:30 2017 New Revision: 245341 URL: https://gcc.gnu.org/viewcvs?rev=245341&root=gcc&view=rev Log: PR c++/78897 - constexpr union * constexpr.c (cxx_eval_st

[Bug c++/79345] [6/7 Regression] passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized)

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79345 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug c++/77790] [5/6/7 Regression] ICE on valid C++14 code when compiling with "-std=c++11": in push_access_scope, at cp/pt.c:227

2017-02-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77790 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4

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

2017-02-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70799 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug tree-optimization/79347] [7 regression] vect_do_peeling is messing up profile

2017-02-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79347 --- Comment #5 from amker at gcc dot gnu.org --- Testing a patch, will send for review soon if no failures.

[Bug rtl-optimization/21182] [5/6/7 Regression] gcc can use registers but uses stack instead

2017-02-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21182 --- Comment #22 from Jeffrey A. Law --- Vlad -- I was thinking more in the sense of whether or not IRA is presented with something reasonable (ie, can be colored) vs unreasonable (can not be colored). The former is clearly possible with this sou

[Bug c++/78908] [6/7 Regression] template instantiation with bit-field type

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78908 Jason Merrill changed: What|Removed |Added Keywords|lto |ice-on-valid-code Status|NEW

[Bug c++/79457] New: Segmentation fault in templated decltype evaluation

2017-02-10 Thread teemu at hecknology dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 Bug ID: 79457 Summary: Segmentation fault in templated decltype evaluation Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/79457] Segmentation fault in templated decltype evaluation

2017-02-10 Thread teemu at hecknology dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 --- Comment #1 from Teemu Piippo --- If the "S" declaration is removed and the decltype(...) moved into the return type of Foo::boo(), GCC does not crash and builds the example properly.

[Bug c++/79457] Segmentation fault in templated decltype evaluation

2017-02-10 Thread teemu at hecknology dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 --- Comment #2 from Teemu Piippo --- Created attachment 40716 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40716&action=edit Minimal example that does not crash

[Bug c++/78897] [6/7 Regression] ICE: in output_constructor_regular_field, at varasm.c:5019

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78897 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78897] [6/7 Regression] ICE: in output_constructor_regular_field, at varasm.c:5019

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78897 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Feb 10 20:08:39 2017 New Revision: 245342 URL: https://gcc.gnu.org/viewcvs?rev=245342&root=gcc&view=rev Log: PR c++/78897 - constexpr union * constexpr.c (cxx_eval_st

[Bug c++/79458] New: attributes on constructor between class name and parameter list not accepted

2017-02-10 Thread jplejacq at quoininc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79458 Bug ID: 79458 Summary: attributes on constructor between class name and parameter list not accepted Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: no

[Bug rtl-optimization/21182] [5/6/7 Regression] gcc can use registers but uses stack instead

2017-02-10 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21182 --- Comment #23 from Vladimir Makarov --- (In reply to Jeffrey A. Law from comment #22) > Vlad -- I was thinking more in the sense of whether or not IRA is presented > with something reasonable (ie, can be colored) vs unreasonable (can not be > c

[Bug c++/78908] [6/7 Regression] template instantiation with bit-field type

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78908 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Feb 10 20:43:33 2017 New Revision: 245343 URL: https://gcc.gnu.org/viewcvs?rev=245343&root=gcc&view=rev Log: PR c++/78908 - template ops and bitfields * tree.c (build

[Bug c++/77790] [5/6/7 Regression] ICE on valid C++14 code when compiling with "-std=c++11": in push_access_scope, at cp/pt.c:227

2017-02-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77790 Jason Merrill changed: What|Removed |Added Keywords|ice-on-valid-code |error-recovery Status|NEW

[Bug c++/79457] [5/6 Regression] Segmentation fault in templated decltype evaluation

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/79459] New: Please add enable_if and diagnose_if attributes (from clang)

2017-02-10 Thread felix-gcc at fefe dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79459 Bug ID: 79459 Summary: Please add enable_if and diagnose_if attributes (from clang) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/79457] [5/6 Regression] Segmentation fault in templated decltype evaluation

2017-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Feb 10 20:58:31 2017 New Revision: 245344 URL: https://gcc.gnu.org/viewcvs?rev=245344&root=gcc&view=rev Log: PR c++/79457 * g++.dg/cpp0x/pr79457.C: New test. Added:

[Bug target/79295] [7 regression] gcc.target/powerpc/bcd-3.c fails starting with r244942

2017-02-10 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79295 --- Comment #4 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Fri Feb 10 21:07:36 2017 New Revision: 245345 URL: https://gcc.gnu.org/viewcvs?rev=245345&root=gcc&view=rev Log: 2017-02-10 Aaron Sawdey PR target/79295

  1   2   >