[Bug c++/66924] Bad diagnostic for parameter name used as non-type template argument

2018-09-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66924 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c/87298] New: [9 Regression] FAIL: gcc.c-torture/execute/pr87053.c

2018-09-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87298 Bug ID: 87298 Summary: [9 Regression] FAIL: gcc.c-torture/execute/pr87053.c Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/60165] "may be used uninitialized" warning with -O3 but not with -O2

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60165 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/87293] An object with invalid type is treated as if it were of type int when reporting errors

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87293 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug middle-end/54544] Option -Wuninitialized does not work as documented with volatile

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54544 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/19430] taking address of a var causes missing uninitialized warning

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 Manuel López-Ibáñez changed: What|Removed |Added CC||jimfr06 at gmail dot com ---

[Bug middle-end/60488] missing uninitialized warning (address taken, VOP)

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60488 --- Comment #5 from Manuel López-Ibáñez --- Even simpler: int f (int*); int g(void); int foo (void) { int b; if (g() && f ()) return 0; return b; } we have: # .MEM_7 = VDEF <.MEM_6(D)> # USE = nonlocal null { D.1912 }

[Bug c/87297] [9 Regression] ICE on strncpy with an undeclared argument

2018-09-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87297 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug c/87297] New: [9 Regression] ICE on strncpy with an undeclared argument

2018-09-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87297 Bug ID: 87297 Summary: [9 Regression] ICE on strncpy with an undeclared argument Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/87296] -Wstringop-overflow false positive due to bogus MEM_REF type

2018-09-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug c++/39970] gcc accepts the . dot operator in template arguments

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39970 Manuel López-Ibáñez changed: What|Removed |Added Keywords||accepts-invalid Last

[Bug c++/16582] Wrong diagnostic when using "[1]" as template argument

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16582 Manuel López-Ibáñez changed: What|Removed |Added Last reconfirmed|2005-05-09 00:48:28 |2018-9-13 Known to fail|

[Bug fortran/87284] [7/8/9 Regression] Allocation of class arrays with mold results in "conditional jump or move depends on uninitialised value"

2018-09-13 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87284 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/87284] [7/8/9 Regression] Allocation of class arrays with mold results in "conditional jump or move depends on uninitialised value"

2018-09-13 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87284 --- Comment #3 from Paul Thomas --- Author: pault Date: Thu Sep 13 19:46:05 2018 New Revision: 264288 URL: https://gcc.gnu.org/viewcvs?rev=264288=gcc=rev Log: 2018-09-13 Paul Thomas PR fortran/87284 * trans-expr.c

[Bug fortran/46244] gfc_compare_derived_types is buggy

2018-09-13 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46244 --- Comment #19 from janus at gcc dot gnu.org --- I'll note that the ICE on comment 1 is gone since version 6, while comment 5 still ICEs with 9-trunk.

[Bug fortran/81748] [OOP] extensible types non-conforming behaviour

2018-09-13 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81748 --- Comment #2 from janus at gcc dot gnu.org --- Slightly reduced test case: program z implicit none type t1 integer :: age end type type, extends( t1 ) :: t2 real :: height_cm end type type( t2 ) :: p( 4 ) p % age = (/

[Bug bootstrap/87134] [9 regression] SEGV in cc1 caused by r263875

2018-09-13 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87134 --- Comment #24 from Gerald Pfeifer --- Confirmed for i386-unknown-freebsd10.3 (using clang as bootstrap compiler) as well. Thank you, Richard!

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug middle-end/87296] New: -Wstringop-overflow false positive

2018-09-13 Thread curlypaul924 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296 Bug ID: 87296 Summary: -Wstringop-overflow false positive Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/86772] [meta-bug] tracking port status for CVE-2017-5753

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86772 Bug 86772 depends on bug 86812, which changed state. Bug 86812 Summary: visium port needs updating for CVE-2017-5753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86812 What|Removed |Added

[Bug target/86812] visium port needs updating for CVE-2017-5753

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86812 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/86812] visium port needs updating for CVE-2017-5753

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86812 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Thu Sep 13 17:27:00 2018 New Revision: 264281 URL: https://gcc.gnu.org/viewcvs?rev=264281=gcc=rev Log: PR target/86812 * config/visium/visium.c

[Bug target/86812] visium port needs updating for CVE-2017-5753

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86812 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/86812] visium port needs updating for CVE-2017-5753

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86812 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/86806] sparc port needs updating for CVE-2017-5753

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86806 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/81103] gcc/ada/terminals.c: please remove unused termio.h

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81103 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ada/81103] gcc/ada/terminals.c: please remove unused termio.h

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81103 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Thu Sep 13 17:05:40 2018 New Revision: 264277 URL: https://gcc.gnu.org/viewcvs?rev=264277=gcc=rev Log: PR ada/81103 * terminals.c: Do not include termio.h. Modified:

[Bug c++/66670] "template argument deduction/substitution failed" with function pointers and multiple parameter packs

2018-09-13 Thread foddex at foddex dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66670 Marc "Foddex" Oude Kotte changed: What|Removed |Added CC||foddex at foddex dot net ---

[Bug debug/87295] ICE with -ffat-lto-objects -fdebug-types-section -g

2018-09-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295 --- Comment #1 from Nathan Sidwell --- Oh, forgot to mention, trunk and gcc-8 (at least)

[Bug debug/87295] ICE with -ffat-lto-objects -fdebug-types-section -g

2018-09-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug debug/87295] New: ICE with -ffat-lto-objects -fdebug-types-section -g

2018-09-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295 Bug ID: 87295 Summary: ICE with -ffat-lto-objects -fdebug-types-section -g Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug debug/87294] [8/9 Regression] dwarf-3 generation fails with ICE

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87294 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.3

[Bug tree-optimization/87263] [9 Regression] ICE on valid code at -O1: verify_ssa failed

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87263 --- Comment #5 from Richard Biener --- Author: rguenth Date: Thu Sep 13 14:15:41 2018 New Revision: 264273 URL: https://gcc.gnu.org/viewcvs?rev=264273=gcc=rev Log: 2018-09-13 Richard Biener PR tree-optimization/87263 *

[Bug tree-optimization/87263] [9 Regression] ICE on valid code at -O1: verify_ssa failed

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87263 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71007] Divergence between treatment of char[0] between OR (=> SFINAE failure) and diagnostic printing (no failure)

2018-09-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71007 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug middle-end/63155] [6/7/8/9 Regression] memory hog

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 --- Comment #19 from Richard Biener --- Oddly enough Index: gcc/tree-ssa-coalesce.c === --- gcc/tree-ssa-coalesce.c (revision 264259) +++ gcc/tree-ssa-coalesce.c (working

[Bug ada/81103] gcc/ada/terminals.c: please remove unused termio.h

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81103 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/81103] gcc/ada/terminals.c: please remove unused termio.h

2018-09-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81103 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #15 from David Malcolm --- (In reply to David Malcolm from comment #14) Some random UI ideas (brainstorming in Emacs, so no idea if these are *good* ideas): warning: buffer overflow: writing 9-110 bytes into a buffer with

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #14 from David Malcolm --- Another example from Martin: extern char buf[80]; extern char tmpdir[80]; extern char fname[8]; void f (int num) { sprintf (buf, "/%s/%s-%i.tmp", tmpdir, fname, num); } In the most

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #13 from David Malcolm --- Some more examples to consider (thanks Martin): struct MyStrings { char a[8], b[20]; }; const struct MyStrings ms[] = { { "foo", "bar" }, { "abcd", "klmno" }, ... }; Consider:

[Bug middle-end/63155] [6/7/8/9 Regression] memory hog

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 --- Comment #18 from Richard Biener --- -ftree-coalesce-vars is a workaround for some testcases (enabled by default with optimization).

[Bug c++/87293] An object with invalid type is treated as if it were of type int when reporting errors

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

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #12 from David Malcolm --- (In reply to David Malcolm from comment #5) > I brainstormed some ideas on making these kinds of warning easier for > the user to understand. Copying a string to a buffer allocated with strlen(), rather

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #11 from David Malcolm --- (In reply to David Malcolm from comment #5) > I brainstormed some ideas on making these kinds of warning easier for > the user to understand. A simple example where the overflowing write is to the start of

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #10 from David Malcolm --- (In reply to David Malcolm from comment #5) > I brainstormed some ideas on making these kinds of warning easier for > the user to understand. Here's another possible visualization, of a different overflow:

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #9 from David Malcolm --- (In reply to David Malcolm from comment #8) > (In reply to David Malcolm from comment #5) > > I brainstormed some ideas on making these kinds of warning easier for > > the user to understand. > > Getting

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #8 from David Malcolm --- (In reply to David Malcolm from comment #5) > I brainstormed some ideas on making these kinds of warning easier for > the user to understand. Getting really fancy, we could emit an ASCII art visualization

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #7 from David Malcolm --- (In reply to David Malcolm from comment #6) A tweak to this would be to show the point where the overflow occurs (if the substring location code is up to it...): demo.c: In function ‘test_2’: demo.c:6:23:

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #6 from David Malcolm --- (In reply to David Malcolm from comment #5) > I brainstormed some ideas on making these kinds of warning easier for > the user to understand. We could use the new labeling-of-source-ranges idea from:

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 --- Comment #5 from David Malcolm --- (In reply to David Malcolm from comment #4) > In the meantime, I'm going to post some of the other UI ideas for this that > we've being chatting about, so that they're captured publicly. Consider this

[Bug c++/87293] An object with invalid type is treated as if it were of type int when reporting errors

2018-09-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87293 --- Comment #1 from Jonathan Wakely --- I think there's an existing bug report about this.

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2018-09-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 David Malcolm changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|msebor at

[Bug c++/87289] jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-13 Thread pdbain at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87289 --- Comment #9 from pdbain at ca dot ibm.com --- Thank you. Code updated and working.

[Bug debug/87294] New: [8/9 Regression] dwarf-3 generation fails with ICE

2018-09-13 Thread daniel.f.starke at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87294 Bug ID: 87294 Summary: [8/9 Regression] dwarf-3 generation fails with ICE Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/87259] [9 Regression] ICE: error: definition in block 3 does not dominate use in block 2

2018-09-13 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87259 --- Comment #2 from ktkachov at gcc dot gnu.org --- Patch posted at https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00640.html

[Bug c++/87293] New: An object with invalid type is treated as if it were of type int when reporting errors

2018-09-13 Thread b7.10110111 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87293 Bug ID: 87293 Summary: An object with invalid type is treated as if it were of type int when reporting errors Product: gcc Version: 8.1.0 Status: UNCONFIRMED

[Bug bootstrap/87134] [9 regression] SEGV in cc1 caused by r263875

2018-09-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87134 --- Comment #23 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #22 from Richard Biener --- > Fixed. Indeed: I've just successfully completed a i386-pc-solaris2.11 bootstrap without the workaround (preloaded libumem.so), and a

[Bug bootstrap/12024] i386-elf build references nonexistent crt0.o, libsim.a

2018-09-13 Thread cs14btech11033 at iith dot ac.in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12024 Sreekar changed: What|Removed |Added CC||cs14btech11033 at iith dot ac.in --- Comment

[Bug tree-optimization/87271] [9 Regression] ICE in rpo_elim::~rpo_elim (this=0xbfbfe15c, __in_chrg=) at ../../gcc/tree-ssa-sccvn.c:5709 on FreeBSD 10.4

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87271 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/87134] [9 regression] SEGV in cc1 caused by r263875

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87134 --- Comment #21 from Richard Biener --- *** Bug 87271 has been marked as a duplicate of this bug. ***

[Bug bootstrap/87134] [9 regression] SEGV in cc1 caused by r263875

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87134 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/87134] [9 regression] SEGV in cc1 caused by r263875

2018-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87134 --- Comment #20 from Richard Biener --- Author: rguenth Date: Thu Sep 13 11:31:58 2018 New Revision: 264268 URL: https://gcc.gnu.org/viewcvs?rev=264268=gcc=rev Log: 2018-09-13 Richard Biener PR bootstrap/87134 *

[Bug debug/86985] Generated DWARF does not distinguish between zero-length and flexible array types

2018-09-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86985 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/86985] Generated DWARF does not distinguish between zero-length and flexible array types

2018-09-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86985 --- Comment #6 from Tom de Vries --- Author: vries Date: Thu Sep 13 10:27:12 2018 New Revision: 264267 URL: https://gcc.gnu.org/viewcvs?rev=264267=gcc=rev Log: [debug] DWARF: add DW_AT_count to zero-length arrays 2018-09-13 Omar Sandoval

[Bug c++/87292] Warnings with Bit Fields

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

[Bug c++/87292] Warnings with Bit Fields

2018-09-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > I think the second is correct but I dont know the exact rules about enum > classes; are they unsigned by default? No, the default underlying type is 'int'

[Bug target/85628] Make better use of BFI (BFXIL)

2018-09-13 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85628 --- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Sep 13 09:46:55 2018 New Revision: 264264 URL: https://gcc.gnu.org/viewcvs?rev=264264=gcc=rev Log: [Aarch64] Exploiting BFXIL when OR-ing two AND-operations with

[Bug bootstrap/87134] [9 regression] SEGV in cc1 caused by r263875

2018-09-13 Thread rguenth at gcc dot gnu.org
-mtune=pentium -march=pentium -auxbase-strip cp-demangle.o -g -O2 -Wno-error -version -fPIC -o cp-demangle.s GNU C17 (GCC) version 9.0.0 20180913 (experimental) (i586-unknown-freebsd10.4) compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version

[Bug gcov-profile/85871] g++.dg/gcov/gcov-8.C random failures

2018-09-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85871 Christophe Lyon changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug middle-end/12849] testing divisibility by constant

2018-09-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12849 Bug 12849 depends on bug 82853, which changed state. Bug 82853 Summary: Optimize x % 3 == 0 without modulo https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853 What|Removed |Added

[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

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

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

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

[Bug middle-end/87290] Optimize signed x % pow2p == cst

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

[Bug c++/87292] Warnings with Bit Fields

2018-09-13 Thread nunojpg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292 --- Comment #4 from Nuno Gonçalves --- I found that the issue with enum have been extensively debated at #61414. Sorry. So actually this bug report is only regarding the warning with initializer list: struct{ uint8_t c1:6;

[Bug middle-end/87290] Optimize signed x % pow2p == cst

2018-09-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87290 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Sep 13 07:42:55 2018 New Revision: 264261 URL: https://gcc.gnu.org/viewcvs?rev=264261=gcc=rev Log: PR middle-end/87290 * expr.c (maybe_optimize_pow2p_mod_cmp): New

[Bug c++/87051] is_trivially_move_constructible wrongly gives `false` for class with user-provided non-const copy constructor

2018-09-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87051 --- Comment #2 from Ville Voutilainen --- Patch available: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00670.html

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2018-09-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Sep 13 07:36:50 2018 New Revision: 264260 URL: https://gcc.gnu.org/viewcvs?rev=264260=gcc=rev Log: PR tree-optimization/87287 * fold-const.c (fold_binary_loc) : Move

[Bug tree-optimization/87188] Function pointer canonicalization optimized away

2018-09-13 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87188 --- Comment #24 from rguenther at suse dot de --- On Wed, 12 Sep 2018, dave.anglin at bell dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87188 > > --- Comment #23 from dave.anglin at bell dot net --- > On 2018-09-12 4:03 AM,

[Bug c++/87292] Warnings with Bit Fields

2018-09-13 Thread nunojpg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292 --- Comment #3 from Nuno Gonçalves --- Also to add, this could be suppressed if enum class Bool : bool{False=0, True=1}; So a better example is for a 2 bit BitField: enum class Nr : uint8_t{Zero=0, One=1, Two=2, Three=3}; struct{ Nr

[Bug c++/87292] Warnings with Bit Fields

2018-09-13 Thread nunojpg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292 --- Comment #2 from Nuno Gonçalves --- Not the case since, same warning if: enum class Bool : uint8_t {False=0, True=1}

[Bug c++/87292] Warnings with Bit Fields

2018-09-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292 --- Comment #1 from Andrew Pinski --- I think the second is correct but I dont know the exact rules about enum classes; are they unsigned by default? I know normal emuns are signed by default.

[Bug c++/87292] New: Warnings with Bit Fields

2018-09-13 Thread nunojpg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292 Bug ID: 87292 Summary: Warnings with Bit Fields Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: