[Bug libstdc++/80675] Incorrect implementation of LWG 2534

2017-06-21 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80675 --- Comment #3 from ville at gcc dot gnu.org --- Author: ville Date: Wed Jun 21 21:09:46 2017 New Revision: 249471 URL: https://gcc.gnu.org/viewcvs?rev=249471&root=gcc&view=rev Log: PR libstdc++/80675, PR libstdc++/80940 Backport from mainline 2

[Bug libstdc++/80675] Incorrect implementation of LWG 2534

2017-06-21 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80675 Ville Voutilainen changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/80940] [7/8 Regression] Private inheritance from std::ostream - compilation error for custom operator <

2017-06-21 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80940 Ville Voutilainen changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79799] Improve vec_insert of float on Power9

2017-06-21 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79799 --- Comment #2 from Michael Meissner --- Note, the test fails on big endian systems. It used the wrong test.

[Bug tree-optimization/81162] New: UBSAN switch triggers incorrect optimization

2017-06-21 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81162 Bug ID: 81162 Summary: UBSAN switch triggers incorrect optimization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug c/81156] GCC fails to compile a formula with tgmath.h

2017-06-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81156 --- Comment #1 from joseph at codesourcery dot com --- Different OSes (and sometimes different compilers) have different tgmath.h implementations. Those implementations typically expand calls to tgmath.h macros to expansions that repeat their

[Bug middle-end/81161] poor code concatenating bitfields

2017-06-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81161 --- Comment #3 from Nathan Sidwell --- similar but different. Maybe same underlying optimization is needed. I don't know.

[Bug c++/80984] [5/6/7 Regression] ICE with label/variable ambiguity

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80984 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:14:23 2017 New Revision: 249478 URL: https://gcc.gnu.org/viewcvs?rev=249478&root=gcc&view=rev Log: Backported from mainline 2017-06-13 Jakub Jelinek

[Bug sanitizer/80973] ICE with lambda and -fsanitize=undefined

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80973 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:15:55 2017 New Revision: 249479 URL: https://gcc.gnu.org/viewcvs?rev=249479&root=gcc&view=rev Log: Backported from mainline 2017-06-13 Jakub Jelinek

[Bug sanitizer/81125] [7/8 Regression] -fsanitize=undefined ICE

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81125 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:17:49 2017 New Revision: 249480 URL: https://gcc.gnu.org/viewcvs?rev=249480&root=gcc&view=rev Log: Backported from mainline 2017-06-20 Jakub Jelinek

[Bug sanitizer/81111] [8 Regression] Cannot build libstdc++ with -fsanitize=undefined

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:17:49 2017 New Revision: 249480 URL: https://gcc.gnu.org/viewcvs?rev=249480&root=gcc&view=rev Log: Backported from mainline 2017-06-20 Jakub Jelinek

[Bug target/81121] [7/8 Regression] ICE: in extract_insn, at recog.c:2311

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81121 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:18:34 2017 New Revision: 249481 URL: https://gcc.gnu.org/viewcvs?rev=249481&root=gcc&view=rev Log: Backported from mainline 2017-06-20 Jakub Jelinek

[Bug c++/81130] [6/7/8 Regression] ICE OpenMP shared clause in gimplify_var_or_parm_decl, at gimplify.c:2584

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81130 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:19:38 2017 New Revision: 249482 URL: https://gcc.gnu.org/viewcvs?rev=249482&root=gcc&view=rev Log: PR c++/81130 * gimplify.c (omp_add_variable): Don't force

[Bug c++/81154] OpenMP with shared variable in a template class crash

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81154 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:22:05 2017 New Revision: 249483 URL: https://gcc.gnu.org/viewcvs?rev=249483&root=gcc&view=rev Log: PR c++/81154 * semantics.c (handle_omp_array_sections_1, f

[Bug target/81151] -Wmaybe-uninitialized in insn-emit.c

2017-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81151 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jun 21 22:23:16 2017 New Revision: 249484 URL: https://gcc.gnu.org/viewcvs?rev=249484&root=gcc&view=rev Log: PR target/81151 * config/i386/sse.md (round2): Renumber ma

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-21 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #50 from Daniel Santos --- Created attachment 41605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41605&action=edit darwin fixup (on top of v6) (In reply to r...@cebitec.uni-bielefeld.de from comment #49) > > No worries at al

[Bug c++/66944] ICE on static thread_local member in class template

2017-06-21 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66944 Jason Vas Dias changed: What|Removed |Added CC||jason.vas.dias at gmail dot com --- Com

[Bug target/80510] Optimize Power7/power8 Altivec load/stores

2017-06-21 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80510 --- Comment #6 from Michael Meissner --- Author: meissner Date: Wed Jun 21 22:51:15 2017 New Revision: 249488 URL: https://gcc.gnu.org/viewcvs?rev=249488&root=gcc&view=rev Log: 2017-06-21 Michael Meissner Back port from mainline

[Bug c++/66944] ICE on static thread_local member in class template

2017-06-21 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66944 --- Comment #6 from Jason Vas Dias --- (In reply to Jason Vas Dias from comment #5) > It also happens with GCC 5.4.0 - Also happens in GCC 6.3.0 .

[Bug c++/66944] ICE on static thread_local member in class template

2017-06-21 Thread jason.vas.dias at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66944 --- Comment #7 from Jason Vas Dias --- And there is no workaround, really - one cannot initialize a C++ class object member of a static thread_local C++ template class object member in one place, outside the class, and use that same object in a

[Bug tree-optimization/81163] New: error: ‘snprintf’ output may be truncated before the last format character [-werror=format-truncation=] note: ‘snprintf’ output between 2 and 266 bytes into a destin

2017-06-21 Thread perfeitoan at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81163 Bug ID: 81163 Summary: error: ‘snprintf’ output may be truncated before the last format character [-werror=format-truncation=] note: ‘snprintf’ output between 2 and 266 bytes into a

[Bug c++/81164] New: [7/8 Regression] ICE in inherited_ctor_binfo_1 when using virtual inheritance

2017-06-21 Thread egor.pugin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81164 Bug ID: 81164 Summary: [7/8 Regression] ICE in inherited_ctor_binfo_1 when using virtual inheritance Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: nor

[Bug target/80510] Optimize Power7/power8 Altivec load/stores

2017-06-21 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80510 --- Comment #7 from Michael Meissner --- Author: meissner Date: Thu Jun 22 00:56:55 2017 New Revision: 249493 URL: https://gcc.gnu.org/viewcvs?rev=249493&root=gcc&view=rev Log: 2017-06-21 Michael Meissner Back port from mainline

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-06-21 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 --- Comment #1 from Felipe Magno de Almeida --- Forgot to mention that removing the inheritance of A and seq from parser_base (leaving it without inheriting anything) does make NRVO and RVO work again. Unfortunately not a workaround I can use.

[Bug tree-optimization/81165] New: Regression in GCC-8.0.0's optimizer

2017-06-21 Thread ishiura-compiler at ml dot kwansei.ac.jp
get: x86_64-pc-linux-gnu configure woth: ../gcc/configure --prefix=/home/kota/opt/gcc --program-suffix=-8.0 --disable-multilib --enable-languages=c thred model: posix gcc version 8.0.0 20170621 (experimental) (GCC) $ gcc-7.0.1 -v using built-in specs. COLLECT_GCC=gcc-7.0.1 COLLECT_LTO_WRAPPER=/home

[Bug c/81166] New: no need to check if the pointer you pass to free is NULL

2017-06-21 Thread izaberina at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81166 Bug ID: 81166 Summary: no need to check if the pointer you pass to free is NULL Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pri

[Bug libgomp/36298] gomp contains small memoryleak

2017-06-21 Thread rpatel at officebrain dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36298 Rahul OB changed: What|Removed |Added CC||rpatel at officebrain dot com --- Comment #2

[Bug fortran/80164] ICE in gfc_format_decoder at gcc/fortran/error.c:933

2017-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80164 --- Comment #6 from Martin Liška --- Is there please any progress, I can confirm the suggested patch works for me.

[Bug c++/81167] New: [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

2017-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81167 Bug ID: 81167 Summary: [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords:

[Bug c++/81167] [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

2017-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81167 --- Comment #1 from Martin Liška --- Created attachment 41606 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41606&action=edit test-case

[Bug tree-optimization/81163] error: ‘snprintf’ output may be truncated before the last format character [-werror=format-truncation=] note: ‘snprintf’ output between 2 and 266 bytes into a destination

2017-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81163 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/81164] [7/8 Regression] ICE in inherited_ctor_binfo_1 when using virtual inheritance

2017-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81164 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UN

[Bug c/81166] no need to check if the pointer you pass to free is NULL

2017-06-21 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81166 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/80519] if(p)free(p) with -Os

2017-06-21 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80519 Marc Glisse changed: What|Removed |Added CC||izaberina at gmail dot com --- Comment #6

<    1   2