[Bug tree-optimization/84178] [7/8 Regression] ICE in release_bb_predicate

2018-03-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84178 --- Comment #11 from Arseny Solokha --- (In reply to Arseny Solokha from comment #10) > This PR apparently can be closed now? Sorry, didn't realize it's pending for backport to the 7 branch.

[Bug tree-optimization/84178] [7/8 Regression] ICE in release_bb_predicate

2018-03-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84178 --- Comment #10 from Arseny Solokha --- This PR apparently can be closed now?

[Bug tree-optimization/84873] New: [8 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2018-03-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84873 Bug ID: 84873 Summary: [8 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) Product: gcc Version: 8.0

[Bug bootstrap/84800] ICE building gcc in isl_factorization.c with xgcc on SPARC Solaris with 8-20180304 snapshot

2018-03-14 Thread andrewm.roberts at sky dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84800 --- Comment #2 from Andrew Roberts --- Rebuilt with 8-20180311 snapshot, and it now builds successfully: /usr/local/gcc/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc/bin/gcc

[Bug rtl-optimization/84872] New: [8 Regression] ICE in create_preheader, at cfgloopmanip.c:1536

2018-03-14 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84872 Bug ID: 84872 Summary: [8 Regression] ICE in create_preheader, at cfgloopmanip.c:1536 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c++/84820] [6/7/8 Regression] Bogus pointer-to-member accepted within template

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84820 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Mar 15 04:34:45 2018 New Revision: 258549 URL: https://gcc.gnu.org/viewcvs?rev=258549=gcc=rev Log: PR c++/84820 - no error for invalid qualified-id. * parser.c

[Bug c++/84820] [6/7/8 Regression] Bogus pointer-to-member accepted within template

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84820 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84801] [8 Regression] ICE: Segmentation fault instead of "error: parameter packs not expanded with '...'"

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84801 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84801] [8 Regression] ICE: Segmentation fault instead of "error: parameter packs not expanded with '...'"

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84801 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Mar 15 03:49:07 2018 New Revision: 258548 URL: https://gcc.gnu.org/viewcvs?rev=258548=gcc=rev Log: PR c++/84801 - ICE with unexpanded pack in lambda. We avoid

[Bug c++/84801] [8 Regression] ICE: Segmentation fault instead of "error: parameter packs not expanded with '...'"

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84801 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/81236] Crash when calling a template member function from generic lambda

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81236 --- Comment #9 from Jason Merrill --- Author: jason Date: Thu Mar 15 03:08:24 2018 New Revision: 258547 URL: https://gcc.gnu.org/viewcvs?rev=258547=gcc=rev Log: PR c++/81236 - auto variable and auto function * pt.c

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #11 from Bobby Lu --- (In reply to Tim Shen from comment #9) > I see. Can you show the ulimit *stack* information? I believe it's -s. > > Also, try -O2 so that the functions are inlined. > > As for the stack overflow, it's a known

[Bug target/83451] FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)

2018-03-14 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83451 --- Comment #7 from John David Anglin --- Author: danglin Date: Wed Mar 14 23:55:02 2018 New Revision: 258543 URL: https://gcc.gnu.org/viewcvs?rev=258543=gcc=rev Log: PR target/83451 * config/pa/pa.c (pa_emit_move_sequence):

[Bug target/83451] FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)

2018-03-14 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83451 --- Comment #6 from John David Anglin --- Author: danglin Date: Wed Mar 14 23:51:06 2018 New Revision: 258542 URL: https://gcc.gnu.org/viewcvs?rev=258542=gcc=rev Log: PR target/83451 * config/pa/pa.c (pa_emit_move_sequence):

[Bug target/83451] FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)

2018-03-14 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83451 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #10 from Jonathan Wakely --- Are you sure it's an infinite loop? It looks like a null pointer dereference: 0x00403f64 in std::_Any_data::_M_access (this=0x0)

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #9 from Tim Shen --- I see. Can you show the ulimit *stack* information? I believe it's -s. Also, try -O2 so that the functions are inlined. As for the stack overflow, it's a known issue. To workaround this, please set a bigger

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 Bobby Lu changed: What|Removed |Added Attachment #43661|0 |1 is obsolete|

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #7 from Bobby Lu --- Created attachment 43661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43661=edit Gdb stack trace. $ ulimit unlimited

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #6 from Tim Shen --- Will you able to provide a stack trace and/or ulimit information?

[Bug target/83451] FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)

2018-03-14 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83451 --- Comment #4 from John David Anglin --- Author: danglin Date: Wed Mar 14 23:31:57 2018 New Revision: 258541 URL: https://gcc.gnu.org/viewcvs?rev=258541=gcc=rev Log: PR target/83451 * config/pa/pa.c (pa_emit_move_sequence):

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 Tim Shen changed: What|Removed |Added CC||timshen at gcc dot gnu.org --- Comment #5

[Bug libstdc++/78420] [6/7 Regression] std::less<T*> is not a total order with -O2 enabled

2018-03-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 --- Comment #32 from Jonathan Wakely --- Author: redi Date: Wed Mar 14 23:02:01 2018 New Revision: 258540 URL: https://gcc.gnu.org/viewcvs?rev=258540=gcc=rev Log: PR libstdc++/78420 Make std::less etc. yield total order for pointers In order

[Bug target/84422] ICE on various builtin test functions when compiled with -mcpu=power7

2018-03-14 Thread carll at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84422 --- Comment #5 from Carl Love --- Author: carll Date: Wed Mar 14 23:01:12 2018 New Revision: 258539 URL: https://gcc.gnu.org/viewcvs?rev=258539=gcc=rev Log: gcc/ChangeLog: 2018-03-14 Carl Love PR target/84422

[Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888

2018-03-14 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #10 from Pat Haugen --- (In reply to Pat Haugen from comment #9) > (pr83497, which I'm still digging on). Ignoring output miscompare and just > timing the two versions built with -fno-tree-vectorize, I see that the > performance is

[Bug tree-optimization/84811] ICE on valid code at -O3 in 64-bit mode on x86_64-linux-gnu: in smallest_mode_for_size, at stor-layout.c:355

2018-03-14 Thread su at cs dot ucdavis.edu
-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 8.0.1 20180314 (experimental) [trunk revision 258535] (GCC) $ $ gcctk -O3 -c small.c

[Bug fortran/84870] [7/8 Regression] ICE in gfc_trans_structure_assign, at fortran/trans-expr.c:7651

2018-03-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84870 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/69395] ICE on declaring array with more than 7 dimensions+codimensions

2018-03-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69395 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 Bobby Lu changed: What|Removed |Added Attachment #43659|0 |1 is obsolete|

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #3 from Bobby Lu --- Created attachment 43659 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43659=edit Single source file to reproduce the bug compile with g++ -std=c++11 regex.cpp -lpthread ./a.out Segmentation fault (core

[Bug c++/71569] [6 regression] Crash: External definition of template member from template struct

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 Jason Merrill changed: What|Removed |Added CC||fiesh at zefix dot tv --- Comment #15

[Bug c++/84197] [7/8 Regression] Segmentation fault when setting -g

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84197 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/84757] [7/8 Regression] Useless MOVs and PUSHes to store results of MUL

2018-03-14 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84757 --- Comment #4 from Vladimir Makarov --- Sorry, the analysis took more time than I thought. This PR can be solved only by introducing live range analysis in LRA on **subreg level**. IRA already has such analysis and therefore it makes such

[Bug c++/83916] [7/8 Regression] Internal compiler error on valid template code

2018-03-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83916 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Mar 14 19:17:03 2018 New Revision: 258533 URL: https://gcc.gnu.org/viewcvs?rev=258533=gcc=rev Log: PR c++/83916 - ICE with template template parameters. * pt.c

[Bug fortran/84869] [7/8 Regression] ICE in gfc_class_len_get, at fortran/trans-expr.c:233

2018-03-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84869 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness

2018-03-14 Thread belyshev at depni dot sinp.msu.ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 Serge Belyshev changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment

[Bug fortran/84868] [7/8 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208

2018-03-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 Dominique d'Humieres changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug libgomp/84871] New: libgomp examples-4/declare_target-[12].f90 fail with nvptx Titan V offloading

2018-03-14 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84871 Bug ID: 84871 Summary: libgomp examples-4/declare_target-[12].f90 fail with nvptx Titan V offloading Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug middle-end/84016] [8 Regression] Spec2000 regression around Jan 14 and Jan 19 2018

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84016 Martin Liška changed: What|Removed |Added Status|NEW |WAITING --- Comment #14 from Martin

[Bug tree-optimization/83043] [8 Regression] FAIL: libgomp.graphite/force-parallel-1.c scan-tree-dump-times graphite "2 loops carried no dependency" 1 (found 0 times)

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83043 Martin Liška changed: What|Removed |Added Priority|P1 |P4 CC|

[Bug tree-optimization/84859] [8 Regression] bogus -Warray-bounds on a memcpy in a loop

2018-03-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84859 --- Comment #6 from Martin Sebor --- We have seen this sort of thing come up a number of times in the past. Jeff and I have discussed changing jump threading to either avoid introducing paths involving invalid calls, or inserting

[Bug fortran/84870] New: [7/8 Regression] ICE in gfc_trans_structure_assign, at fortran/trans-expr.c:7651

2018-03-14 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84870 Bug ID: 84870 Summary: [7/8 Regression] ICE in gfc_trans_structure_assign, at fortran/trans-expr.c:7651 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug fortran/84869] New: [7/8 Regression] ICE in gfc_class_len_get, at fortran/trans-expr.c:233

2018-03-14 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84869 Bug ID: 84869 Summary: [7/8 Regression] ICE in gfc_class_len_get, at fortran/trans-expr.c:233 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/84868] [7/8 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208

2018-03-14 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 --- Comment #1 from G. Steinmetz --- Works with different names (a, c) : $ cat z2.f90 module m character(:), allocatable :: a contains function f(n) result(z) character, parameter :: c(3) = ['x', 'y', 'z']

[Bug fortran/84868] New: [7/8 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208

2018-03-14 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 Bug ID: 84868 Summary: [7/8 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug fortran/69395] ICE on declaring array with more than 7 dimensions+codimensions

2018-03-14 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69395 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de ---

[Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 --- Comment #3 from Jakub Jelinek --- Perhaps making it unsigned short would be better, though I wonder if it just isn't a bug that STACK_BOUNDARY is not constant, that is ABI changing thing, doesn't __attribute__((aligned)) change based on what

[Bug target/84521] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer

2018-03-14 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84521 --- Comment #25 from sudi at gcc dot gnu.org --- Proposed patch. This obviously does not solve all the issues https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00668.html

[Bug lto/84241] [8 regression] test case g++.dg/torture/pr67600.C fails starting with r257412

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84241 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/84859] [8 Regression] bogus -Warray-bounds on a memcpy in a loop

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84859 --- Comment #5 from Jakub Jelinek --- Seems the kernel testcase is actually more like: void f (void*); void __attribute__ ((noinline, noclone)) g (const void *p, unsigned n) { unsigned char a[8]; if (n > sizeof a - 1) return; for (;

[Bug target/8480] reload ICEs for LAPACK code on powerpc64-linux

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8480 --- Comment #4 from Martin Liška --- Author: marxin Date: Wed Mar 14 17:26:38 2018 New Revision: 258529 URL: https://gcc.gnu.org/viewcvs?rev=258529=gcc=rev Log: Add test-case (PR ipa/84805). 2018-03-14 Martin Liska

[Bug c++/84850] [8 Regression] -Wclass-memaccess on a memcpy in a copy assignment operator with no nontrivial bases or members

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84850 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/84859] [8 Regression] bogus -Warray-bounds on a memcpy in a loop

2018-03-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84859 --- Comment #3 from Martin Sebor --- The warning is in response to the call to memcpy(d, s, 255) in h(): [local count: 477815112]: a[0] = 255; __builtin_memcpy (, p_15(D), 255); _26 = a[0]; The wording seems clear: The function is

[Bug tree-optimization/84859] [8 Regression] bogus -Warray-bounds on a memcpy in a loop

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84859 --- Comment #4 from Jakub Jelinek --- Note, even teaching VRP to look through stores and loads from memory wouldn't help here, not even for the first function, because it uses *a as the length, but also overwrites it (potentially or for real)

[Bug tree-optimization/84859] [8 Regression] bogus -Warray-bounds on a memcpy in a loop

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84859 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 --- Comment #4 from Jakub Jelinek --- Lack of warning doesn't imply the code is valid.

[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread jiri.pitt...@jh-inst.cas.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 --- Comment #3 from jiri.pitt...@jh-inst.cas.cz --- Created attachment 43658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43658=edit similar buggy behavior without any compiler warning

[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED Last reconfirmed|2018-03-14

[Bug fortran/84867] Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

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

[Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 Jakub Jelinek changed: What|Removed |Added Attachment #43577|0 |1 is obsolete|

[Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness

2018-03-14 Thread david.abdurachmanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 David Abdurachmanov changed: What|Removed |Added CC||david.abdurachmanov at gmail dot

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/84867] New: Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]

2018-03-14 Thread jiri.pitt...@jh-inst.cas.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84867 Bug ID: 84867 Summary: Wrong code generated, except at -O0, with inappropriate Warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] Product:

[Bug c++/84850] [8 Regression] -Wclass-memaccess on a memcpy in a copy assignment operator with no nontrivial bases or members

2018-03-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84850 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84866] New: Incorrectly instantiating move ctor when a union's move constructor is implicitly deleted

2018-03-14 Thread zhangxy at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84866 Bug ID: 84866 Summary: Incorrectly instantiating move ctor when a union's move constructor is implicitly deleted Product: gcc Version: 7.3.0 Status: UNCONFIRMED

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-14 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #26 from Andrey Guskov --- Martin, Jakub, for the Base optset (-Ofast -funroll-loops -march=haswell) there is no change, 628 keeps failing, but for O2 (-O2 -ffast-math -march=haswell) it did start passing.

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #1 from Bobby Lu --- No compiler warning is generated

[Bug libstdc++/84865] New: Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 Bug ID: 84865 Summary: Regular expression regex_search falls into infinite loop causing segfault on crayxc machines Product: gcc Version: 5.3.0 Status: UNCONFIRMED

[Bug preprocessor/84864] Issues with large line numbers >= 2^31

2018-03-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84864 --- Comment #1 from David Malcolm --- Note to self: /home/david/coding-3/gcc-git-bugfixing/src/backup-patches/linenum_type-throughout.patch

[Bug c/84852] [8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1105

2018-03-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84852 --- Comment #5 from David Malcolm --- (In reply to David Malcolm from comment #3) [...] > I looked at using linenum_type throughout, but doing so turned into > a large patch[...] I opened PR 84864 to track fixing this in a later release.

[Bug preprocessor/84864] Issues with large line numbers >= 2^31

2018-03-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84864 David Malcolm changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug preprocessor/84864] New: Issues with large line numbers >= 2^31

2018-03-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84864 Bug ID: 84864 Summary: Issues with large line numbers >= 2^31 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: deferred, diagnostic Severity: normal

[Bug c/84852] [8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1105

2018-03-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84852 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/84863] false-positive -Warray-bounds warning with -fsanitize-coverage=object-size

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84863 --- Comment #1 from Jakub Jelinek --- Never use -Werror with -fsanitize=*, those really do cause new warnings because the code intentionally is less optimized and the runtime check themselves prevent further optimizations, so warnings that

[Bug c/84195] newlines in deprecated diagnostics

2018-03-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84195 David Malcolm changed: What|Removed |Added Keywords||deferred Assignee|unassigned

[Bug sanitizer/84863] New: false-positive -Warray-bounds warning with -fsanitize-coverage=object-size

2018-03-14 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84863 Bug ID: 84863 Summary: false-positive -Warray-bounds warning with -fsanitize-coverage=object-size Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity:

[Bug c/84852] [8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1105

2018-03-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84852 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Wed Mar 14 13:58:13 2018 New Revision: 258526 URL: https://gcc.gnu.org/viewcvs?rev=258526=gcc=rev Log: Fix ICE for missing header fix-it hints with overlarge #line directives (PR

[Bug target/84164] [8 Regression] ICE: in elimination_costs_in_insn, at reload1.c:3633 at -O1

2018-03-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84164 --- Comment #5 from ktkachov at gcc dot gnu.org --- To give an updated: I'm awaiting approval of the aarch64 parts of my patch: https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00392.html

[Bug target/84845] [8 Regression] ICE: in extract_insn, at recog.c:2304: unrecognizable insn at -O2 and above at aarch64

2018-03-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84845 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/84164] [8 Regression] ICE: in elimination_costs_in_insn, at reload1.c:3633 at -O1

2018-03-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84164 --- Comment #4 from ktkachov at gcc dot gnu.org --- *** Bug 84845 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/84859] [8 Regression] bogus -Warray-bounds on a memcpy in a loop

2018-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84859 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #25 from Jakub Jelinek --- (In reply to Martin Liška from comment #24) > I can confirm that the Jakub's commit is fixing that. Revering the patch I > see a miscomparison. That said, I would close it as resolved. Andrey? That is

[Bug middle-end/84858] wrong exception handling of std::function

2018-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84858 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/84853] [7/8 Regression] ICE: verify_gimple failed (expand_shift_1)

2018-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84853 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/84854] [7/8 Regression] ICE: unexpected expression in cxx_eval_constant_expression, at cp/constexpr.c:4774

2018-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84854 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c/84852] [8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1105

2018-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84852 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug c++/84851] missing -Wclass-memaccess for a memcpy in a copy ctor with a non-trivial member

2018-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84851 Richard Biener changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/84850] [8 Regression] -Wclass-memaccess on a memcpy in a copy assignment operator with no nontrivial bases or members

2018-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84850 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug inline-asm/84861] -flto with asm() optimizes too much

2018-03-14 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84861 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug target/84280] [6/7/8 Regression] Performance regression in g++-7 with Eigen for non-AVX2 CPUs

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84280 --- Comment #18 from Martin Liška --- (In reply to Patrik Huber from comment #14) > It even seems a few percent slower after the FDO stuff. But the ` > -fprofile-use` is a bit weird. If there is no .gcda file, it doesn't > complain. If you give

[Bug target/84280] [6/7/8 Regression] Performance regression in g++-7 with Eigen for non-AVX2 CPUs

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84280 --- Comment #17 from Martin Liška --- Created attachment 43654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43654=edit optimized dump after the revision

[Bug target/84280] [6/7/8 Regression] Performance regression in g++-7 with Eigen for non-AVX2 CPUs

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84280 --- Comment #16 from Martin Liška --- Created attachment 43653 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43653=edit optimized dump before the revision

[Bug c++/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-03-14 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #5 from chefmax at gcc dot gnu.org --- Created attachment 43652 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43652=edit Untested fix Simple untested fix that seems to cure the issue.

[Bug c++/84855] structered bindings require "decomposed" type to be copy'able

2018-03-14 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84855 --- Comment #5 from Hannes Hauswedell --- Sure, that follows from the definition "For each identifier, a variable whose type is "reference to std::tuple_element::type" is introduced". This wouldn't have to be

[Bug c++/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-03-14 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug target/84280] [6/7/8 Regression] Performance regression in g++-7 with Eigen for non-AVX2 CPUs

2018-03-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84280 Martin Liška changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug c++/84222] [6/7/8 Regression] [[deprecated]] class complains about internal class usage

2018-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84222 --- Comment #7 from Jakub Jelinek --- Created attachment 43651 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43651=edit gcc8-pr84222.patch Untested fix.

  1   2   >