[Bug middle-end/59521] __builtin_expect not effective in switch

2017-07-06 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59521 Yuri Gribov changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug middle-end/59521] __builtin_expect not effective in switch

2017-07-06 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59521 Yuri Gribov changed: What|Removed |Added CC||tetra2005 at gmail dot com --- Comment #2

[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split

2017-07-06 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631 Yuri Gribov changed: What|Removed |Added CC||tetra2005 at gmail dot com --- Comment

[Bug other/67165] please enable libbacktrace to work with compressed debug sections

2017-07-06 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67165 Yuri Gribov changed: What|Removed |Added CC||tetra2005 at gmail dot com --- Comment #2

[Bug fortran/81350] New: gfortran OpenMP taskloop segfaults or incorrect

2017-07-06 Thread jeff.science at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81350 Bug ID: 81350 Summary: gfortran OpenMP taskloop segfaults or incorrect Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/81348] PowerPC64: Code built with -mcpu=power9 hits SEGV in RTL split2

2017-07-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81348 --- Comment #3 from Michael Meissner --- Note, the fix that introduced this patch has been back-ported to GCC 7.x, but not GCC 6.x, so we will need a backport to GCC 7.2.

[Bug target/81348] PowerPC64: Code built with -mcpu=power9 hits SEGV in RTL split2

2017-07-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81348 --- Comment #2 from Michael Meissner --- Created attachment 41696 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41696=edit Proposed patch to fix the problem

[Bug target/81348] PowerPC64: Code built with -mcpu=power9 hits SEGV in RTL split2

2017-07-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81348 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/81349] New: Classes with deleted constructor templates incorrectly labeled as non-aggregates

2017-07-06 Thread eraz at umich dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81349 Bug ID: 81349 Summary: Classes with deleted constructor templates incorrectly labeled as non-aggregates Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug target/81348] New: PowerPC64: Code built with -mcpu=power9 hits SEGV in RTL split2

2017-07-06 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81348 Bug ID: 81348 Summary: PowerPC64: Code built with -mcpu=power9 hits SEGV in RTL split2 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug other/81345] -Wall resets -Wstringop-overflow to 1 from the default 2

2017-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug c++/81347] New: g++ confused by namespaces and friend classes

2017-07-06 Thread thomasanderson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Bug ID: 81347 Summary: g++ confused by namespaces and friend classes Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/81346] Missed constant propagation into comparison

2017-07-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346 --- Comment #2 from Andrew Pinski --- Most likely the optimization is in fold-const.c and has not been moved to match.pd yet.

[Bug tree-optimization/81346] Missed constant propagation into comparison

2017-07-06 Thread gergo.barany at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346 --- Comment #1 from Gergö Barany --- Sorry, forgot to add the command line. I use gcc -O3 on all platforms

[Bug tree-optimization/81346] New: Missed constant propagation into comparison

2017-07-06 Thread gergo.barany at inria dot fr
fn2: movl%edi, %eax movl$715827883, %edx sarl$31, %edi imull %edx xorl%eax, %eax sarl%edx subl%edi, %edx cmpl$6, %edx sete%al ret Version: gcc version 8.0.0 20170706 (experimental) (

[Bug other/81345] -Wall resets -Wstringop-overflow to 1 from the default 2

2017-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Version|8.0

[Bug target/81313] Bad stack realignment code with -mno-accumulate-outgoing-args

2017-07-06 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81313 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/81304] [5/6/7/8 Regression] Bogus warning with -Wsurprising and -fopenmp: Type specified for intrinsic function 'min' / 'max'

2017-07-06 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81304 --- Comment #3 from janus at gcc dot gnu.org --- Note that the bogus warning goes away when using scalar reduction variables: program bogus_warning integer :: i real :: Dx_min, Dx_max !$omp parallel do default(shared) private(i)

[Bug driver/81345] -Wall resets default option arguments to 1

2017-07-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345 --- Comment #2 from Andrew Pinski --- >LangEnabledBy(C ObjC C++ ObjC++, Wall) Just says -Wall sets that variable to 1. You might need to expand the awk script to allow for an optional constant for the value you want.

[Bug driver/81345] -Wall resets default option arguments to 1

2017-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345 Martin Sebor changed: What|Removed |Added Summary|-Wall resets|-Wall resets default option

[Bug fortran/70071] ICE on wrong usage of a subscript triplet

2017-07-06 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70071 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/70071] ICE on wrong usage of a subscript triplet

2017-07-06 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70071 --- Comment #5 from janus at gcc dot gnu.org --- Author: janus Date: Thu Jul 6 19:49:33 2017 New Revision: 250039 URL: https://gcc.gnu.org/viewcvs?rev=250039=gcc=rev Log: 2017-07-06 Harald Anlauf PR fortran/70071

[Bug driver/81345] New: -Wall resets -Wstringop-overflow to 1 from the default 2

2017-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345 Bug ID: 81345 Summary: -Wall resets -Wstringop-overflow to 1 from the default 2 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/81204] [7/8 Regression] Rejects boost headers

2017-07-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81204 --- Comment #10 from Jason Merrill --- (still fixed, by the patch for bug 54769)

[Bug c++/81204] [7/8 Regression] Rejects boost headers

2017-07-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81204 --- Comment #8 from Jason Merrill --- Author: jason Date: Thu Jul 6 18:26:59 2017 New Revision: 250037 URL: https://gcc.gnu.org/viewcvs?rev=250037=gcc=rev Log: PR c++/81204 - parse error with dependent template-name * parser.c

[Bug c++/81204] [7/8 Regression] Rejects boost headers

2017-07-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81204 --- Comment #9 from Jason Merrill --- Author: jason Date: Thu Jul 6 18:27:05 2017 New Revision: 250038 URL: https://gcc.gnu.org/viewcvs?rev=250038=gcc=rev Log: PR c++/81204 - parse error with dependent template-name * parser.c

[Bug rtl-optimization/81340] ICE in compute_bb_dataflow, at var-tracking.c:6877

2017-07-06 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81340 Pat Haugen changed: What|Removed |Added CC||mliska at suse dot cz --- Comment #1 from

[Bug fortran/81344] New: Can't disable -ffpe-trap (or not documented)

2017-07-06 Thread jellby at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81344 Bug ID: 81344 Summary: Can't disable -ffpe-trap (or not documented) Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/81343] missing strlen optimization with intervening strcat of unknown strings

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

[Bug tree-optimization/81343] New: missing strlen optimization with intervening strcat of unknown strings

2017-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81343 Bug ID: 81343 Summary: missing strlen optimization with intervening strcat of unknown strings Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c/81342] New: LTO: lto1: internal compiler error: Segmentation fault

2017-07-06 Thread anatol.pomozov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81342 Bug ID: 81342 Summary: LTO: lto1: internal compiler error: Segmentation fault Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/81341] New: trunk/gcc/fortran/class.c:313: redundant condition ?

2017-07-06 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81341 Bug ID: 81341 Summary: trunk/gcc/fortran/class.c:313: redundant condition ? Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ?

2017-07-06 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #3 from David Binderman --- I just discovered that clang++ can be made to find this bug by adding flag -Wtautological-compare. jan22a.cc:6:17: warning: bitwise comparison always evaluates to false [-Wtautological-compare]

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ?

2017-07-06 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #2 from David Binderman --- Number of bugs found by this enhancement in the Linux kernel up from six to eight.

[Bug rtl-optimization/81340] New: ICE in compute_bb_dataflow, at var-tracking.c:6877

2017-07-06 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81340 Bug ID: 81340 Summary: ICE in compute_bb_dataflow, at var-tracking.c:6877 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-06 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 --- Comment #5 from Georg-Johann Lay --- Author: gjl Date: Thu Jul 6 15:31:42 2017 New Revision: 250029 URL: https://gcc.gnu.org/viewcvs?rev=250029=gcc=rev Log: PR target/81305 * gcc.target/avr/isr-test.h: Fix warnings.

[Bug c++/79300] Wrong diagnostics position

2017-07-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #7 from David Malcolm --- (In reply to Martin Liška from comment #4) Thanks; that seems to a slightly different issue, but we may as well keep this bug open for tracking it. Am investigating. It appears to be here, within

[Bug tree-optimization/81330] missing strlen optimization with intervening memcpy

2017-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81330 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

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

[Bug c++/79300] Wrong diagnostics position

2017-07-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #6 from David Malcolm --- The commit in comment #5 is a slightly reworked version of the candidate patch from comment #2: https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00330.html

[Bug c++/79300] Wrong diagnostics position

2017-07-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Thu Jul 6 14:17:24 2017 New Revision: 250022 URL: https://gcc.gnu.org/viewcvs?rev=250022=gcc=rev Log: diagnostics: fix end-points of ranges within macros (PR c++/79300)

[Bug c++/81339] New: no error for invalid decltype(T()) expression in immediate context

2017-07-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81339 Bug ID: 81339 Summary: no error for invalid decltype(T()) expression in immediate context Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189

2017-07-06 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 --- Comment #2 from Dmitry G. Dyachenko --- oh, sorry r299923 FAIL

[Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189

2017-07-06 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 --- Comment #1 from Dmitry G. Dyachenko --- r299904 PASS r299023 FAIL ~/src/gcc_current/configure --prefix=/usr/local/gcc_current --enable-checking=yes --disable-multilib --enable-languages=c,c++

[Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression

2017-07-06 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 --- Comment #11 from Akim Demaille --- The project I work on has this: auto const f = std::bind(::operator (), , std::ref(args)...); instead of a simple lambda. --- Comment #12 from Akim Demaille --- The

[Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression

2017-07-06 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 --- Comment #11 from Akim Demaille --- The project I work on has this: auto const f = std::bind(::operator (), , std::ref(args)...); instead of a simple lambda.

[Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression

2017-07-06 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 Matthias Kretz changed: What|Removed |Added CC||kretz at kde dot org --- Comment #10

[Bug tree-optimization/81330] missing strlen optimization with intervening memcpy

2017-07-06 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81330 --- Comment #1 from joseph at codesourcery dot com --- On Wed, 5 Jul 2017, msebor at gcc dot gnu.org wrote: > GCC eliminates redundant calls to strlen() with intervening calls to strcpy > but > it misses an opportunity to do the same when the

[Bug ada/81328] error messages not in expected order

2017-07-06 Thread porton at narod dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81328 Victor Porton changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

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

[Bug c++/81338] New: stringstream remains empty after being moved into multiple times

2017-07-06 Thread zxy19980101 at sina dot cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81338 Bug ID: 81338 Summary: stringstream remains empty after being moved into multiple times Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/52162] Bogus -fcheck=bounds with realloc on assignment to unallocated LHS

2017-07-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52162 Dominique d'Humieres changed: What|Removed |Added CC||oivulf at gmail dot com ---

[Bug fortran/79492] LHS reallocation, intrinsic function RHS, and -fcheck=all

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

[Bug target/71112] [6 Regression] ICE with -fpie on aarch64 ILP32 big-endian

2017-07-06 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71112 --- Comment #11 from hs.naveen2u at gmail dot com --- Committed to gcc-6-branch as https://gcc.gnu.org/viewcvs/gcc?view=revision=250014

[Bug target/71112] [6 Regression] ICE with -fpie on aarch64 ILP32 big-endian

2017-07-06 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71112 --- Comment #10 from hs.naveen2u at gmail dot com --- Committed to gcc-6-branch as https://gcc.gnu.org/viewcvs/gcc?view=revision=250014

[Bug c++/81337] New: g++.dg/gcov/pr16855.C etc. FAIL

2017-07-06 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81337 Bug ID: 81337 Summary: g++.dg/gcov/pr16855.C etc. FAIL Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libgomp/81336] New: OpenMP crash if -fno-underscoring is used in gfortran

2017-07-06 Thread bburgerm at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81336 Bug ID: 81336 Summary: OpenMP crash if -fno-underscoring is used in gfortran Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ada/81328] error messages not in expected order

2017-07-06 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81328 Arnaud Charlet changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug bootstrap/81335] New: [gcc8] missing stage3 dependency for insn-modes-inline.h

2017-07-06 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81335 Bug ID: 81335 Summary: [gcc8] missing stage3 dependency for insn-modes-inline.h Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug ada/81328] error messages not in expected order

2017-07-06 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81328 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|