[Bug target/79939] [nvptx] gcc hangs in nvptx_assemble_value

2017-07-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79939 --- Comment #4 from Tom de Vries --- Author: vries Date: Tue Jul 11 07:20:47 2017 New Revision: 250119 URL: https://gcc.gnu.org/viewcvs?rev=250119&root=gcc&view=rev Log: Backport "Disable constant pool for nvptx" 2017-07-11 Tom de Vries

[Bug target/80855] [nvptx] missing sorry("target cannot support label values"

2017-07-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80855 --- Comment #4 from Tom de Vries --- Author: vries Date: Tue Jul 11 07:20:34 2017 New Revision: 250118 URL: https://gcc.gnu.org/viewcvs?rev=250118&root=gcc&view=rev Log: Backport: Add "sorry, target cannot support label values" for nvptx 2017-0

[Bug target/81317] builtin_vec_ld fails for powerpc with altivec

2017-07-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81362] [8.0 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test

2017-07-11 Thread rdapp at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362 --- Comment #5 from rdapp at linux dot vnet.ibm.com --- Ah, npeel is set by vect_peeling_hash_get_lowest_cost although the corresponding dr is not used afterwards. It should be save to get rid of the npeel parameter since we use the returned peel

[Bug sanitizer/81387] UBSAN consumes too much memory at -O2

2017-07-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81387 --- Comment #1 from Jakub Jelinek --- I'm afraid it is unfixable, if you want smaller memory consumption, you either need smaller routines, or use -fno-sanitize-recover=all, or do multiple builds with selected subsets of -fsanitize=undefined, so

[Bug libstdc++/81381] std::basic_stringbuf only works with DefaultConstructible allocators

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81381 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug libstdc++/81381] std::basic_stringbuf only works with DefaultConstructible allocators

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

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

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59521 --- Comment #5 from Martin Liška --- Ok, your patch is definitely needed to properly propagate the builtin probability to a proper edge. Apart from that I added code that preserves that probability incombine_predictions_for_bb. Having that we're

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

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59521 --- Comment #6 from Martin Liška --- Created attachment 41713 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41713&action=edit Semi-working patch

[Bug preprocessor/81364] Bogus -Wmultistatement-macros warning

2017-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81364 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c/81391] New: Use of parenthesis disables warning about incorrect size parameter

2017-07-11 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81391 Bug ID: 81391 Summary: Use of parenthesis disables warning about incorrect size parameter Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/81387] UBSAN consumes too much memory at -O2

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81387 --- Comment #2 from Martin Liška --- Just for curiosity, I tried to use clang++ 4.0.0 and clang++ pr81387.ii -c -O2 -fsanitize=undefined took me about 180s and memory was ~2.5GB.

[Bug libstdc++/45708] fstream reads after writes, or vice versa, don't work

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45708 --- Comment #4 from Jonathan Wakely --- (In reply to David Krauss from comment #0) > basic_filebuf (and therefore fstream) does not allow you to put a write > operation directly after a read operation, or vice versa. Instead, the write > and the

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

2017-07-11 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59521 --- Comment #7 from Yuri Gribov --- (In reply to Martin Liška from comment #5) > Apart from that I added code that preserves > that probability in combine_predictions_for_bb. Yes, I did pretty much the same locally) > But still there's a missin

[Bug middle-end/81390] New: ICE in to_reg_br_prob_base while compiling kernel

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81390 Bug ID: 81390 Summary: ICE in to_reg_br_prob_base while compiling kernel Product: gcc Version: 8.0 Status: WAITING Severity: normal Priority: P3 Component: middl

[Bug target/81389] _mm_cmpestri segfault on -O0

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

[Bug middle-end/81390] ICE in to_reg_br_prob_base while compiling kernel

2017-07-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81390 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug middle-end/81390] ICE in to_reg_br_prob_base while compiling kernel

2017-07-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81390 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/81391] Use of parenthesis disables warning about incorrect size parameter

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81391 Martin Liška changed: What|Removed |Added Last reconfirmed||2017-7-11 CC|

[Bug c/81391] Use of parenthesis disables warning about incorrect size parameter

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81391 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

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

2017-07-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 Markus Trippelsdorf changed: What|Removed |Added CC||prathamesh3492 at gcc dot gnu.org

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

2017-07-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2017-07-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 --- Comment #7 from Markus Trippelsdorf --- Also see https://gcc.gnu.org/ml/gcc-regression/2017-07/msg00144.html

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

2017-07-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 Markus Trippelsdorf changed: What|Removed |Added Keywords||ice-on-valid-code Priori

[Bug tree-optimization/81369] [8 Regression] ICE in generate_code_for_partition

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

[Bug tree-optimization/81369] [8 Regression] ICE in generate_code_for_partition

2017-07-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81369 amker at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org

[Bug fortran/81367] [5/6 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1086

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

[Bug tree-optimization/81365] [7/8 Regression] GCC miscompiles swap

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81365 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/81354] [5/6 Regression] Segmentation fault in SSA Strength Reduction using -O3

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

[Bug c++/81355] SegFault when using attribute target dispatch with empty parameter

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

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

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

[Bug fortran/81367] [5/6 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1086

2017-07-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81367 --- Comment #2 from Dominique d'Humieres --- AFAICT this is fixed in 5.4.1 and 6.4.0: % gfc5 pr81367.f90 pr81367.f90:5:18: character(len=f)::fname 1 Error: Scalar INTEGER expression expected at (1) % gfc5 -v Using built-i

[Bug fortran/81367] [5 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1086

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81367 Martin Liška changed: What|Removed |Added Known to work||5.1.0, 5.2.0, 6.3.0, 6.4.0 Sum

[Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin

2017-07-11 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033 --- Comment #24 from Jan Hubicka --- I think the patch still need to be updated to correctly handle the symbols whose names are parethetised which was mentioned on the IRC (weird thing that seems to be used in objC++ API). That should fix good p

[Bug target/81319] ICE in output_operand_lossage at final.c

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

[Bug c++/81271] gcc/cp/lex.c:116: wrong condition ?

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271 Martin Liška changed: What|Removed |Added Last reconfirmed||2017-7-11 CC|

[Bug fortran/81367] [5 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1086

2017-07-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81367 Dominique d'Humieres changed: What|Removed |Added Known to work||5.4.1 --- Comment #4 from Dominiq

[Bug c++/81392] New: Improve diagnostics for [[fallthrough]] attribute that is missing a semicolon

2017-07-11 Thread cody at codygray dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81392 Bug ID: 81392 Summary: Improve diagnostics for [[fallthrough]] attribute that is missing a semicolon Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: dia

[Bug fortran/81367] [5 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1086

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81367 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2017-07-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 --- Comment #8 from Markus Trippelsdorf --- Reduced Boost testcase: struct A; struct B { typedef A *type; }; struct C { B::type operator->(); }; struct D { struct F { F(void(void *), F *, void()); }; template struct J : F { Fu

[Bug preprocessor/81364] Bogus -Wmultistatement-macros warning

2017-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81364 --- Comment #2 from Marek Polacek --- C++ doesn't warn. The problem is that we shouldn't warn (in the C FE) when a guard is followed by '{'.

[Bug sanitizer/81066] sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined

2017-07-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 --- Comment #12 from Jakub Jelinek --- I've filed https://reviews.llvm.org/D35246 upstream for this.

[Bug c++/81392] Improve diagnostics for [[fallthrough]] attribute that is missing a semicolon

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

[Bug go/81393] New: Bootstrap failure on s390x-linux while building libgo against recent glibc

2017-07-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81393 Bug ID: 81393 Summary: Bootstrap failure on s390x-linux while building libgo against recent glibc Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: norm

[Bug libstdc++/80316] std::promise treats no shared state as undefined

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80316 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Tue Jul 11 11:52:14 2017 New Revision: 250126 URL: https://gcc.gnu.org/viewcvs?rev=250126&root=gcc&view=rev Log: PR libstdc++/80316 make promise::set_value throw no_state error Backport

[Bug c++/81394] New: wrong "useless cast" message in inheriting constructor

2017-07-11 Thread f.heckenb...@fh-soft.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81394 Bug ID: 81394 Summary: wrong "useless cast" message in inheriting constructor Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/81395] New: basic_filebuf::overflow recurses and overflows stack

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395 Bug ID: 81395 Summary: basic_filebuf::overflow recurses and overflows stack Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/81271] gcc/cp/lex.c:116: wrong condition ?

2017-07-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/81395] basic_filebuf::overflow recurses and overflows stack

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

[Bug libstdc++/80316] std::promise treats no shared state as undefined

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80316 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Tue Jul 11 12:38:35 2017 New Revision: 250131 URL: https://gcc.gnu.org/viewcvs?rev=250131&root=gcc&view=rev Log: PR libstdc++/80316 make promise::set_value throw no_state error Backport

[Bug libstdc++/80316] std::promise treats no shared state as undefined

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

[Bug c/46742] -Wparentheses unexpectedly misses some cases

2017-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46742 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #21 from Martin Liška --- > The code uses user-level threads (makecontext/setcontext etc). It annotates > the new stack during the switch, see for example > https://github.com/scylladb/seastar/blob/master/core/thread.cc#L66. > Suppose

[Bug middle-end/81320] -Wlogical-op diagnostic depends on comparison' order

2017-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81320 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org S

[Bug tree-optimization/81365] [7/8 Regression] GCC miscompiles swap

2017-07-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81365 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

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

2017-07-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81348 Bill Schmidt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/81320] -Wlogical-op diagnostic depends on comparison' order

2017-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81320 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/81396] New: Optimization of reading Little-Endian 64-bit number with portable code has a regression

2017-07-11 Thread qrczakmk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81396 Bug ID: 81396 Summary: Optimization of reading Little-Endian 64-bit number with portable code has a regression Product: gcc Version: 7.1.0 Status: UNCONFIRMED S

[Bug sanitizer/81066] sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined

2017-07-11 Thread grgoffe at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 --- Comment #13 from George R. Goffe --- Jakub, I have built gcc with itself... including your mod... That appears to have worked as well. George...

[Bug libgomp/81386] [8 regression] libgomp.fortran/appendix-a/a.16.1.f90 fails starting with 249424

2017-07-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81386 --- Comment #1 from seurer at gcc dot gnu.org --- I looked back through the tester logs and noticed that the test case doesn't always fail and there are two different failures and always with -O3 PASS: libgomp.fortran/appendix-a/a.16.1.f90 -O0

[Bug bootstrap/81397] New: mistakes in .opt files not detected

2017-07-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81397 Bug ID: 81397 Summary: mistakes in .opt files not detected Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug c/81391] [5/6/7 only] Use of parenthesis disables warning about incorrect size parameter

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81391 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.2 Summary|Use of parenthesi

[Bug tree-optimization/81365] [7/8 Regression] GCC miscompiles swap

2017-07-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81365 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug libstdc++/81395] basic_filebuf::overflow recurses and overflows stack

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395 --- Comment #2 from Jonathan Wakely --- I'm testing this patch: --- a/libstdc++-v3/include/bits/fstream.tcc +++ b/libstdc++-v3/include/bits/fstream.tcc @@ -699,7 +699,7 @@

[Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #22 from Martin Liška --- One more question, would it be possible to somehow attach gdb to the server which is tested? It will help me to debug where precisely is the stack poisoned?

[Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #23 from Martin Liška --- (In reply to Martin Liška from comment #22) > One more question, would it be possible to somehow attach gdb to the server > which is tested? It will help me to debug where precisely is the stack > poisoned?

[Bug c++/51270] missed warning about returning reference to temporary

2017-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51270 Paolo Carlini changed: What|Removed |Added CC||jwakely.gcc at gmail dot com,

[Bug libstdc++/81395] [5/6/7/8 Regression] basic_filebuf::overflow recurses and overflows stack

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

[Bug c++/70844] [6/7/8 Regression] spurious -Wuseless-cast warning with inherited constructors

2017-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70844 Paolo Carlini changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment #7 f

[Bug c++/81394] wrong "useless cast" message in inheriting constructor

2017-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81394 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/81362] [8.0 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test

2017-07-11 Thread rdapp at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362 --- Comment #6 from rdapp at linux dot vnet.ibm.com --- Created attachment 41715 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41715&action=edit Tentative patch Removed the npeel function argument, also removed body_cost_vec and the corres

[Bug tree-optimization/81396] [7/8 Regression] Optimization of reading Little-Endian 64-bit number with portable code has a regression

2017-07-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81396 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/81395] [5/6/7/8 Regression] basic_filebuf::overflow recurses and overflows stack

2017-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395 --- Comment #4 from Paolo Carlini --- Seems weird: -1 means uncommitted (per the comment before _M_set_buffer) and we also set _M_reading? I don't think we do that anywhere else. But it's a long time... Note that I clearly remember somebody sugge

[Bug go/81393] Bootstrap failure on s390x-linux while building libgo against recent glibc

2017-07-11 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81393 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/51270] missed warning about returning reference to temporary

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51270 --- Comment #11 from Jonathan Wakely --- It's a pity you need at least -O2 for the warnings, but I agree we can close it as fixed.

[Bug tree-optimization/81396] [7/8 Regression] Optimization of reading Little-Endian 64-bit number with portable code has a regression

2017-07-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81396 --- Comment #2 from Marc Glisse --- bswap was happy dealing with _2 = MEM[(const unsigned char *)&word]; _3 = (uint64_t) _2; _4 = MEM[(const unsigned char *)&word + 1B]; _5 = (uint64_t) _4; _6 = _5 << 8; _8 = MEM[(const unsigned char

[Bug go/81393] Bootstrap failure on s390x-linux while building libgo against recent glibc

2017-07-11 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81393 Andreas Krebbel changed: What|Removed |Added Attachment #41716|0 |1 is obsolete|

[Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions

2017-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #24 from Martin Liška --- Just run with current trunk and it works (it fails after a minute in ==13736==ERROR: AddressSanitizer: stack-overflow on address 0x2adb9b406e48 (pc 0x067d8638 bp 0x2adb9b408020 sp 0x2adb9b406e30 T1) So I'

[Bug libstdc++/81395] [5/6/7/8 Regression] basic_filebuf::overflow recurses and overflows stack

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395 --- Comment #5 from Jonathan Wakely --- PR 45708 suggested that _M_reading and _M_writing aren't needed. I haven't found a patch to implement that, but I haven't looked too hard. You make a good point that going into uncommitted mode with _M_rea

[Bug tree-optimization/81396] [7/8 Regression] Optimization of reading Little-Endian 64-bit number with portable code has a regression

2017-07-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81396 --- Comment #3 from Jakub Jelinek --- I'll have a look at that tomorrow.

[Bug libstdc++/81395] [5/6/7/8 Regression] basic_filebuf::overflow recurses and overflows stack

2017-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395 --- Comment #6 from Paolo Carlini --- The relevant xsgetn code essentially is an optimization, right? Shouldn't be too difficult to figure out what would happen in the slow, correct case... What's wrong with a normal uncommitted case, thus _M_rea

[Bug c++/51270] missed warning about returning reference to temporary

2017-07-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51270 --- Comment #12 from Paolo Carlini --- Certainly a pity, but I think it's a rather well known issue...

[Bug target/81317] builtin_vec_ld fails for powerpc with altivec

2017-07-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org -

[Bug target/81317] builtin_vec_ld fails for powerpc with altivec

2017-07-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317 Segher Boessenkool changed: What|Removed |Added Attachment #41718|0 |1 is obsolete|

[Bug libstdc++/81395] [5/6/7/8 Regression] basic_filebuf::overflow recurses and overflows stack

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > This started in 4.6.0 with r87453 It did start with 4.6.0 but that commit was already in 4.5.4 so it can't have been that one. It seems to be the change to o

[Bug libstdc++/81395] [5/6/7/8 Regression] basic_filebuf::overflow recurses and overflows stack

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395 --- Comment #8 from Jonathan Wakely --- (In reply to Paolo Carlini from comment #6) > The relevant xsgetn code essentially is an optimization, right? Shouldn't be > too difficult to figure out what would happen in the slow, correct case... > What

[Bug target/81362] [8.0 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test

2017-07-11 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362 --- Comment #7 from Andreas Schwab --- This fixes both no-vfa-vect-57.c and no-vfa-vect-61.c for -m64 and -m32.

[Bug middle-end/70992] Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv

2017-07-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70992 Arseny Solokha changed: What|Removed |Added Known to fail||8.0 --- Comment #4 from Arseny Solokha

[Bug target/81317] builtin_vec_ld fails for powerpc with altivec

2017-07-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317 --- Comment #11 from Segher Boessenkool --- The original testcase still ICEs ("smaller reproducer" I never got to fail). (trunk, no options whatsoever): 81317-1.c: In function 'jsimd_ycc_rgb_convert_altivec': 81317-1.c:184:6: internal compiler

[Bug c/81269] wrong color highlighting in -Wrestrict warnings

2017-07-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81269 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug testsuite/81399] New: New test case 27_io/basic_stringstream/assign/81338.cc fails on powerpc64le

2017-07-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81399 Bug ID: 81399 Summary: New test case 27_io/basic_stringstream/assign/81338.cc fails on powerpc64le Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norma

[Bug target/81317] builtin_vec_ld fails for powerpc with altivec

2017-07-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment #

[Bug target/81317] builtin_vec_ld fails for powerpc with altivec

2017-07-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317 Bill Schmidt changed: What|Removed |Added CC||willschm at gcc dot gnu.org --- Comment #

[Bug c/81400] New: Stack smashing not caught by stack protector strong and allowing me to stack smash

2017-07-11 Thread gccbugzilla.severach at spamgourmet dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81400 Bug ID: 81400 Summary: Stack smashing not caught by stack protector strong and allowing me to stack smash Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severi

[Bug driver/71850] @file should be used to cc1/cc1plus when @file is used

2017-07-11 Thread andrewjcg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71850 Andrew Gallagher changed: What|Removed |Added CC||andrewjcg at gmail dot com --- Commen

[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries

2017-07-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193 --- Comment #12 from Michael Meissner --- Created attachment 41721 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41721&action=edit Proposed patch to fix the problem

[Bug testsuite/81399] New test case 27_io/basic_stringstream/assign/81338.cc fails on powerpc64le

2017-07-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81399 --- Comment #1 from seurer at gcc dot gnu.org --- I was wrong, it fails at least some of the time on powerpc64 BE too.

[Bug testsuite/81399] New test case 27_io/basic_stringstream/assign/81338.cc fails on powerpc64le

2017-07-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81399 --- Comment #2 from Jonathan Wakely --- FWIW it passes on gcc112 in the compile farm.

[Bug target/81317] builtin_vec_ld fails for powerpc with altivec

2017-07-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317 --- Comment #14 from Segher Boessenkool --- Created attachment 41722 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41722&action=edit second patch, for the original problem This one should solve the original problem.

[Bug sanitizer/81387] UBSAN consumes too much memory at -O2

2017-07-11 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81387 --- Comment #3 from Dmitry Babokin --- Interesting that you've mentioned -fno-sanitize-recover, I haven't realized that it has effect on the number of basic blocks. But by default I run "-fsanitize=undefined -fno-sanitize-recover=undefined", so t

  1   2   >