[Bug c++/77656] New: 64-bit integral template parameter gets incorrectly sized as 32-bits

2016-09-19 Thread matt at matthewfagan dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77656 Bug ID: 77656 Summary: 64-bit integral template parameter gets incorrectly sized as 32-bits Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/51242] [C++11] Unable to use strongly typed enums as bit fields

2016-09-19 Thread sashab at chromium dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242 Sasha B changed: What|Removed |Added CC||sashab at chromium dot org --- Comment #28

[Bug c/77650] struct with a nested flexible array followed by another member accepted

2016-09-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77650 --- Comment #3 from joseph at codesourcery dot com --- Anything based on whether things are in system headers won't work for building glibc as the headers don't look like system headers when building glibc (which uses -Wall -Werror).

[Bug c++/77655] New: ICE on invalid c++ code on x86_64-linux-gnu (internal compiler error: Segmentation fault (program cc1plus))

2016-09-19 Thread chengniansun at gmail dot com
-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160919 (experimental) [trunk revision 240232

[Bug c++/77434] warn about suspicious precedence of ternary operator (?:)

2016-09-19 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77434 --- Comment #12 from Bernd Edlinger --- Author: edlinger Date: Mon Sep 19 22:10:11 2016 New Revision: 240251 URL: https://gcc.gnu.org/viewcvs?rev=240251=gcc=rev Log: gcc: 2016-09-19 Bernd Edlinger PR

[Bug c/77650] struct with a nested flexible array followed by another member accepted

2016-09-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77650 --- Comment #2 from Martin Sebor --- Thanks for the background. It's unfortunate but I hope the Glibc code can be accommodated without preventing GCC from detecting the same problem in user code (and rejecting it with a hard error). One

[Bug other/77421] Bugs found in GCC with the help of PVS-Studio

2016-09-19 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77421 --- Comment #15 from Bernd Edlinger --- Author: edlinger Date: Mon Sep 19 21:57:46 2016 New Revision: 240250 URL: https://gcc.gnu.org/viewcvs?rev=240250=gcc=rev Log: 2016-09-19 Bernd Edlinger PR

[Bug rtl-optimization/77416] [7 Regression] LRA rematerializing use of CA reg across function call

2016-09-19 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77416 --- Comment #10 from Vladimir Makarov --- Author: vmakarov Date: Mon Sep 19 21:38:27 2016 New Revision: 240247 URL: https://gcc.gnu.org/viewcvs?rev=240247=gcc=rev Log: 2016-09-19 Vladimir Makarov PR

[Bug tree-optimization/77654] restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-19 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654 --- Comment #2 from Doug Gilmore --- Created attachment 39652 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39652=edit Prototype fix for bug.

[Bug tree-optimization/77654] restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-19 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654 --- Comment #1 from Doug Gilmore --- Created attachment 39651 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39651=edit Additional tracing used to identify problem.

[Bug tree-optimization/77654] New: restrict pointer attribute not preserved with -fprefetch-loop-arrays

2016-09-19 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77654 Bug ID: 77654 Summary: restrict pointer attribute not preserved with -fprefetch-loop-arrays Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/77648] [4.9/5/6/7 Regression] Setting conversion to a integer to double to 0 3/4 through a loop

2016-09-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77648 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug tree-optimization/77653] New: wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-09-19 Thread su at cs dot ucdavis.edu
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160919 (experimental) [trunk

[Bug c/77650] struct with a nested flexible array followed by another member accepted

2016-09-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77650 --- Comment #1 from joseph at codesourcery dot com --- On Mon, 19 Sep 2016, msebor at gcc dot gnu.org wrote: > While testing my patch for C++ bug 71912 and gathering material for WG14 paper > N2083 I noticed that GCC isn't completely consistent

[Bug c++/77616] A variadic polymorphic lambda call fails with zero arguments

2016-09-19 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77616 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC

[Bug fortran/77648] Setting conversion to a integer to double to 0 3/4 through a loop

2016-09-19 Thread raynman4451 at tamu dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77648 --- Comment #2 from Raymond Fontenot --- Created attachment 39650 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39650=edit Test Case for Bug I've attached a test case for this. The code will produce the incorrect polynomial function p at

[Bug c++/77651] [7 Regression] c++ -Wno-aligned-new ICEs

2016-09-19 Thread guille at cal dot berkeley.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77651 --- Comment #4 from Guille --- For what it's worth, any call to 'c++ -Waligned-new=none ...' will also ICE.

[Bug fortran/77652] Invalid rank error in ASSOCIATED when rank is remapped

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

[Bug fortran/77652] New: Invalid rank error in ASSOCIATED when rank is remapped

2016-09-19 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77652 Bug ID: 77652 Summary: Invalid rank error in ASSOCIATED when rank is remapped Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/77639] [6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: tree check: accessed elt 1 of tree_vec with 0 elts in unify, at cp/pt.c:19674)

2016-09-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77639 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Mon Sep 19 18:12:36 2016 New Revision: 240245 URL: https://gcc.gnu.org/viewcvs?rev=240245=gcc=rev Log: Fix PR c++/77639 (ICE during error recovery) gcc/cp/ChangeLog: PR

[Bug target/53659] ARM: Using -mcpu=cortex-a9 option results in bad performance for Cortex-A9 processor in C-Ray phoronix benchmark

2016-09-19 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53659 --- Comment #5 from PeteVine --- Created attachment 39649 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39649=edit Annotated ARMv7 assembly

[Bug target/53659] ARM: Using -mcpu=cortex-a9 option results in bad performance for Cortex-A9 processor in C-Ray phoronix benchmark

2016-09-19 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53659 --- Comment #4 from PeteVine --- I've just done the obvious and run the resulting ARMv7 binaries on a Cortex A53 in aarch32 mode and the difference is there (GCC 6.2.1 and 7.0.0) so I can confirm the issue is present to this day. Cortex-A5 vs

[Bug libstdc++/77645] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77651] [7 Regression] c++ -Wno-aligned-new ICEs

2016-09-19 Thread guille at cal dot berkeley.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77651 --- Comment #3 from Guille --- Excuses, I take that back. I use placement new on a properly aligned piece of memory, gcc complains (warning) that: * 'note: uses ‘void* operator new(std::size_t, void*)’, which does not have an alignment

[Bug libstdc++/77645] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Mon Sep 19 17:17:47 2016 New Revision: 240243 URL: https://gcc.gnu.org/viewcvs?rev=240243=gcc=rev Log: libstdc++/77645 fix deque and vector xmethods for Python 3 PR

[Bug libstdc++/77645] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Mon Sep 19 17:14:11 2016 New Revision: 240242 URL: https://gcc.gnu.org/viewcvs?rev=240242=gcc=rev Log: libstdc++/77645 fix deque and vector xmethods for Python 3 PR

[Bug libstdc++/77645] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Sep 19 17:09:04 2016 New Revision: 240241 URL: https://gcc.gnu.org/viewcvs?rev=240241=gcc=rev Log: libstdc++/77645 fix deque and vector xmethods for Python 3 PR

[Bug c++/77651] [7 Regression] c++ -Wno-aligned-new ICEs

2016-09-19 Thread guille at cal dot berkeley.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77651 --- Comment #2 from Guille --- Correction: There is no issue with '-faligned-new', only with '-Wno-aligned-new'.

[Bug c++/77651] [7 Regression] c++ -Wno-aligned-new ICEs

2016-09-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77651 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/77651] New: c++ -Wno-aligned-new ICEs

2016-09-19 Thread guille at cal dot berkeley.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77651 Bug ID: 77651 Summary: c++ -Wno-aligned-new ICEs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/77647] Missed opportunity to use register value causes additional load

2016-09-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77647 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug fortran/77648] Setting conversion to a integer to double to 0 3/4 through a loop

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

[Bug c/77650] New: struct with a nested flexible array followed by another member accepted

2016-09-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77650 Bug ID: 77650 Summary: struct with a nested flexible array followed by another member accepted Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/77645] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 Jonathan Wakely changed: What|Removed |Added Summary|[6/7 Regression] Python |Python xmethods tests

[Bug libstdc++/77645] [6/7 Regression] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Mon Sep 19 15:50:53 2016 New Revision: 240235 URL: https://gcc.gnu.org/viewcvs?rev=240235=gcc=rev Log: libstdc++/77645 Fix xmethods for std::list PR libstdc++/77645 *

[Bug libstdc++/77645] [6/7 Regression] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Mon Sep 19 15:49:19 2016 New Revision: 240233 URL: https://gcc.gnu.org/viewcvs?rev=240233=gcc=rev Log: libstdc++/77645 Fix xmethods for std::list PR libstdc++/77645 *

[Bug c++/77338] [7 Regression] ICE on invalid C++11 code on x86_64-linux-gnu: Segmentation fault

2016-09-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77338 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/77642] GO Bootstrap fail starting with r239872 splitstack signature does not match

2016-09-19 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77642 --- Comment #1 from Andreas Krebbel --- On s390 32 bit size_t is "unsigned long". __splitstack_find in libgcc is defined as follows: extern void* __splitstack_find (void *, void *, size_t *, void **, void **,

[Bug fortran/77649] New: Wrong error reported with bound checking enabled

2016-09-19 Thread mrestelli at gmail dot com
Fortran runtime error: Index '2' of dimension 1 of array 'text' above upper bound of 1 $ gfortran --version GNU Fortran (GCC) 7.0.0 20160919 (experimental) program p implicit none character(len=10) :: s s = fs((/"abc","d "/)) write(*,*) s contains function fs(text) r

[Bug tree-optimization/77621] [6/7 Regression] Internal compiler error for mtune=atom + msse2

2016-09-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621 --- Comment #8 from Uroš Bizjak --- (In reply to Richard Biener from comment #7) > So it seems V2DFmode is available but discouraged via the above hook when > tuning for atom. > > Indeed: > > static machine_mode > ix86_preferred_simd_mode

[Bug tree-optimization/77646] [5/6/7 Regression] GCC Segfault with -O3

2016-09-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77646 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org

[Bug tree-optimization/77646] [5/6/7 Regression] GCC Segfault with -O3

2016-09-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77646 --- Comment #3 from Markus Trippelsdorf --- Or with creduce's rename-toks: struct e { int (*f)(); void (*g)(); } * c; int a; void *h(); typedef struct { struct e j; } k; int l() { return a; } const struct e b = {l}; void m() { k *d = h();

[Bug fortran/77648] New: Setting conversion to a integer to double to 0 3/4 through a loop

2016-09-19 Thread raynman4451 at tamu dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77648 Bug ID: 77648 Summary: Setting conversion to a integer to double to 0 3/4 through a loop Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal

[Bug c++/71827] [5/6/7 Regression] ICE on invalid C++11 code with non constant diff between two labels

2016-09-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71827 --- Comment #4 from Paolo Carlini --- *** Bug 77556 has been marked as a duplicate of this bug. ***

[Bug c++/77556] [6/7 Regression] ICE on invalid C++ code with non-constant non-type template argument: in convert_nontype_argument, at cp/pt.c:6416

2016-09-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77556 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/77571] __clear_cache is broken on arm64 for big.little where the cache line sizes are different between cores

2016-09-19 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77571 Richard Earnshaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/77587] [5/6/7 Regression] C compiler produces incorrect stack alignment with __attribute__((weak))

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77587 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Sep 19 14:36:38 2016 New Revision: 240232 URL: https://gcc.gnu.org/viewcvs?rev=240232=gcc=rev Log: PR target/77587 * cgraph.c (cgraph_node::rtl_info): Pass to

[Bug tree-optimization/77646] GCC Segfault with -O3

2016-09-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77646 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug tree-optimization/77646] GCC Segfault with -O3

2016-09-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77646 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/77352] ICE: verify_ssa failed

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

[Bug tree-optimization/77647] New: Missed opportunity to use register value causes additional load

2016-09-19 Thread npiggin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77647 Bug ID: 77647 Summary: Missed opportunity to use register value causes additional load Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: enhancement

[Bug c/77646] New: GCC Segfault with -O3

2016-09-19 Thread pictavien at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77646 Bug ID: 77646 Summary: GCC Segfault with -O3 Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c Assignee:

[Bug libstdc++/77645] [6/7 Regression] Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/77621] [6/7 Regression] Internal compiler error for mtune=atom + msse2

2016-09-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-*

[Bug libstdc++/77645] New: Python xmethods tests failing

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77645 Bug ID: 77645 Summary: Python xmethods tests failing Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug middle-end/77624] [5/6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: in fold_builtin_atomic_always_lock_free, at builtins.c:5583)

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77624 --- Comment #4 from Jakub Jelinek --- Created attachment 39647 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39647=edit gcc7-pr77624-alt.patch Alternate untested patch. The problem right now is that because these intrinsics are

[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

2016-09-19 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267 --- Comment #8 from Alexander Ivchenko --- Thanks, Matthias, that's a valid point about changing linker on a runtime. In my defense, I see that right now MPX does not work with '-fuse-ld=bfd' anyways: >gcc test.c -fcheck-pointer-bounds -mmpx

[Bug middle-end/77624] [5/6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: in fold_builtin_atomic_always_lock_free, at builtins.c:5583)

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77624 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/77644] New: missed optimization with sqrt in comparison

2016-09-19 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77644 Bug ID: 77644 Summary: missed optimization with sqrt in comparison Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/71952] [Coarray, F2008] Rejects valid coarray access with array partref

2016-09-19 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71952 vehre at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING

[Bug fortran/77643] New: ICE with "character(len=:), pointer :: p => null()"

2016-09-19 Thread mrestelli at gmail dot com
dule m implicit none character(len=:), pointer :: r ! works character(len=5), pointer :: s => null() ! works character(len=:), pointer :: p => null() ! ICE end module m $ gfortran --version GNU Fortran (GCC) 7.0.0 20160919 (experimental) $ gfortran -c m.f90 f951: i

[Bug go/77642] New: GO Bootstrap fail starting with r239872 splitstack signature does not match

2016-09-19 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77642 Bug ID: 77642 Summary: GO Bootstrap fail starting with r239872 splitstack signature does not match Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug sanitizer/77538] segmentation fault: thread sanitizer shadow stack overflow

2016-09-19 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77538 --- Comment #6 from Dmitry Vyukov --- It hangs trying to dump core file to some pipe: [] pipe_wait+0x70/0xc0 [] pipe_write+0x236/0x5b0 [] do_sync_write+0x8d/0xd0 [] dump_write+0x52/0x70 [] dump_seek+0xa4/0xe0 [] elf_core_dump+0x896/0x950 []

[Bug middle-end/66391] suboptimal code for assignment of SImode struct with bitfields

2016-09-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66391 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|middle-end Severity|normal

[Bug libstdc++/77641] std::variant copy-initialization fails for type with non-trivial constexpr ctor

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77641 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > std::string_view is a literal type, but is not trivially default > constructible. Oops, I meant X is a literal type (my original code uses variant

[Bug libstdc++/77641] std::variant copy-initialization fails for type with non-trivial constexpr ctor

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77641 --- Comment #2 from Jonathan Wakely --- Testing this: --- a/libstdc++-v3/include/std/variant +++ b/libstdc++-v3/include/std/variant @@ -168,7 +168,7 @@ namespace __variant template using __storage = typename __storage_type<_Type>::type;

[Bug libstdc++/77641] std::variant copy-initialization fails for type with non-trivial constexpr ctor

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

[Bug testsuite/63299] ASan reported alloc-dealloc-mismatch in g++.old-deja/g++.jason/init3.C

2016-09-19 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63299 Maxim Ostapenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/76731] [AVX512] _mm512_i32gather_epi32 and other scatter/gather routines have incorrect signature

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731 --- Comment #5 from Jakub Jelinek --- Kyrill/Uros, is this something we should change? Any comments on the #c1 questions?

[Bug c++/77639] [6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: tree check: accessed elt 1 of tree_vec with 0 elts in unify, at cp/pt.c:19674)

2016-09-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77639 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/66433] Arm NEON postincrement optimization missed

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

[Bug libstdc++/77641] New: std::variant copy-initialization fails for non-trivial literal type

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77641 Bug ID: 77641 Summary: std::variant copy-initialization fails for non-trivial literal type Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords:

[Bug c++/77626] [6/7 Regression] ICE with -Wall on x86_64-linux-gnu (internal compiler error: Segmentation fault, byte_from_pos, cxx_fold_indirect_ref)

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77626 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-19 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584 --- Comment #2 from foreese at gcc dot gnu.org --- Author: foreese Date: Mon Sep 19 11:32:09 2016 New Revision: 240230 URL: https://gcc.gnu.org/viewcvs?rev=240230=gcc=rev Log: 2016-09-19 Fritz Reese PR

[Bug libstdc++/66339] g++ 5.1.0 Generates memory leak

2016-09-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66339 --- Comment #13 from Richard Biener --- Note the pool was made dynamic (and effectively larger) exactly for a QOI issue... [the dynamic nature is to make its size controllable by the environment, sth that didn't materialize yet] The difficulty

[Bug middle-end/77558] [6/7 regression] c-c++-common/va-arg-va-list-type.c fails for arm/aarch64

2016-09-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77558 --- Comment #6 from Tom de Vries --- Patch bootstrapped and reg-tested on x86_64. Patch build and reg-tested on arm, no issues found. Todo: submit to gcc-patches.

[Bug target/66491] x86_64 target cross-compiler generates stack protector code unsuitable for the Linux kernel if the compiler wasn't built against a C library

2016-09-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66491 --- Comment #3 from Andrew Pinski --- This is how I build my gcc that is not building against a libc: # glibc will provide ssp as it is new enough gcc_cv_libc_provides_ssp=yes ${PMAKE} configure-gcc || return 1 This is after doing configure

[Bug middle-end/77558] [6/7 regression] c-c++-common/va-arg-va-list-type.c fails for arm/aarch64

2016-09-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77558 Uroš Bizjak changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #5

[Bug sanitizer/66514] UBSAN: Add -fsanitize=lifetime

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

[Bug tree-optimization/77621] [6/7 Regression] Internal compiler error for mtune=atom + msse2

2016-09-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621 Uroš Bizjak changed: What|Removed |Added Status|REOPENED|NEW CC|

[Bug target/77633] AVX512: shuffle intrinsic has incorrect signature when optimizations are enabled

2016-09-19 Thread wen...@mitsuba-renderer.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77633 --- Comment #4 from Wenzel Jakob --- Aha, interesting -- that breaks it: test.cpp(9): error: argument of type "int" is incompatible with parameter of type "_MM_PERM_ENUM={_MM_PERM_ENUM}"

[Bug libstdc++/66339] g++ 5.1.0 Generates memory leak

2016-09-19 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66339 --- Comment #12 from frankhb1989 at gmail dot com --- (In reply to Jonathan Wakely from comment #10) > This behaviour is by design and is not a bug. Valgrind no longer shows the > allocation as reachable. Other tools might still show the memory

[Bug target/77633] AVX512: shuffle intrinsic has incorrect signature when optimizations are enabled

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77633 --- Comment #3 from Jakub Jelinek --- Does it work even if you #define __INTEL_COMPILER_USE_INTRINSIC_PROTOTYPES 1 before including immintrin.h?

[Bug target/77621] [6/7 Regression] Internal compiler error for mtune=atom + msse2

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |6.3 Summary|Internal

[Bug c++/77639] [6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: tree check: accessed elt 1 of tree_vec with 0 elts in unify, at cp/pt.c:19674)

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77639 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/77638] [6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in cp_parser_template_declaration_

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77638 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/66339] g++ 5.1.0 Generates memory leak

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66339 --- Comment #11 from Jonathan Wakely --- (In reply to frankhb1989 from comment #9) > Following your narrow definition of "leak", it implies that any system using > GC could never leak. That's absurd. Wikipedia: "a memory leak is a type of

[Bug libstdc++/66339] g++ 5.1.0 Generates memory leak

2016-09-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66339 --- Comment #10 from Jonathan Wakely --- This behaviour is by design and is not a bug. Valgrind no longer shows the allocation as reachable. Other tools might still show the memory as unfreed, but it's still not a bug.

[Bug libstdc++/66339] g++ 5.1.0 Generates memory leak

2016-09-19 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66339 --- Comment #9 from frankhb1989 at gmail dot com --- (In reply to Andrew Pinski from comment #8) > (In reply to frankhb1989 from comment #7) > > This is definitely a leak from the view of libc. Why is the status INVALID > > instead of WONTFIX? >

[Bug target/77633] AVX512: shuffle intrinsic has incorrect signature when optimizations are enabled

2016-09-19 Thread wen...@mitsuba-renderer.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77633 --- Comment #2 from Wenzel Jakob --- I just tried compiling this snippet with ICC 17.0.0. It accepts it without warnings (-Wall -Wconversion -Wextra). So even if the signature is different, ICC seems to be more

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512 --- Comment #8 from michael at mijobe dot org --- will do think this will take roughly 8 hours ...

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512 --- Comment #7 from Eric Botcazou --- > ../gcc-6.2.0/configure --prefix=/export/home2/mi/gcc-6.2.0-bin --with-gnu-as > --with-gnu-ld --disable-libgcj --enable-languages=c,c++ Please add --build=sparc-sun-solaris2.10 and use an absolute path.

[Bug c++/77637] ICE on x86_64-linux-gnu (Segmentation fault, tree_check, cp_parser_std_attribute_list...)

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77637 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512 --- Comment #6 from michael at mijobe dot org --- ../gcc-6.2.0/configure --prefix=/export/home2/mi/gcc-6.2.0-bin --with-gnu-as --with-gnu-ld --disable-libgcj --enable-languages=c,c++

[Bug debug/77640] New: FDHBNFGJ

2016-09-19 Thread violetblue23 at jr9fds46y97 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77640 Bug ID: 77640 Summary: FDHBNFGJ Product: gcc Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned

[Bug fortran/77636] OpenMP SIMD rejects an array in ALIGNED clause list

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77636 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/77637] ICE on x86_64-linux-gnu (Segmentation fault, tree_check, cp_parser_std_attribute_list...)

2016-09-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77637 --- Comment #4 from Marek Polacek --- This: commit e829f68a9b1f4f3e34588704710c6e88f3703a28 Author: jason Date: Fri May 8 04:42:06 2015 + PR c++/59012 * parser.c

[Bug c++/77637] ICE on x86_64-linux-gnu (Segmentation fault, tree_check, cp_parser_std_attribute_list...)

2016-09-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77637 --- Comment #3 from Marek Polacek --- No, that's the change of default std.

[Bug c++/77637] ICE on x86_64-linux-gnu (Segmentation fault, tree_check, cp_parser_std_attribute_list...)

2016-09-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77637 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/77633] AVX512: shuffle intrinsic has incorrect signature when optimizations are enabled

2016-09-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77633 --- Comment #1 from Jakub Jelinek --- Looking at ICC 16.0.2, it uses the same prototypes though, again with _MM_PERM_ENUM as the type of this argument. It is true the AVX512 manual states int rather than _MM_PERM_ENUM, so I don't know what is

  1   2   >