[Bug c/81404] New: suggested hints for standard C macros should avoid GCC predefined macros

2017-07-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404 Bug ID: 81404 Summary: suggested hints for standard C macros should avoid GCC predefined macros Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 --- Comment #4 from Martin Sebor --- In my opinion (at least in the constant case) the warning would be more meaningful if it pointed out the likely mistake of using assignment as opposed to equality instead of (only) recommending how to

[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 #10 from Paolo Carlini --- Yes, I agree with your analysis, something seems wrong. I suspsect going to a normal uncommitted mode, thus not setting _M_reading would largely work, but I fear performance implications, etc. I would

[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 #9 from Jonathan Wakely --- (In reply to Paolo Carlini from comment #4) > 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 we also

[Bug tree-optimization/81403] New: wrong code at -O3

2017-07-11 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81403 Bug ID: 81403 Summary: wrong code at -O3 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Status|RESOLVED

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/81402] unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |WONTFIX --- Comment #2 from Andrew

[Bug c/81402] New: unhelpful -Wparentheses suggestion for assignment from non-zero constant

2017-07-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81402 Bug ID: 81402 Summary: unhelpful -Wparentheses suggestion for assignment from non-zero constant Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: trivial

[Bug tree-optimization/81401] False positive sprintf warning at O2 (-Wformat-overflow)

2017-07-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81401 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization --- Comment #1 from

[Bug c/81401] New: False positive sprintf warning at O2 (-Wformat-overflow)

2017-07-11 Thread catwell-gcc at catwell dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81401 Bug ID: 81401 Summary: False positive sprintf warning at O2 (-Wformat-overflow) Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal

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

2017-07-11 Thread anatol.pomozov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81342 --- Comment #3 from Anatol --- Hi I indeed observe the issue in a kernel project. It is a custom x86 kernel that is not published yet. I tried to narrow down use case and I think I found how to reproduce the issue easily. It looks like a

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

2017-07-11 Thread anatol.pomozov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81342 --- Comment #2 from Anatol --- Created attachment 41724 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41724=edit Reproduce lto crash with LD

[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 #41722|0 |1 is obsolete|

[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 Status|NEW |RESOLVED Resolution|---

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

2017-07-11 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51270 --- Comment #13 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Jul 11 21:24:11 2017 New Revision: 250140 URL: https://gcc.gnu.org/viewcvs?rev=250140=gcc=rev Log: 2017-07-11 Paolo Carlini PR

[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

[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=edit second patch, for the original problem This one should solve the original problem.

[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 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 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=edit Proposed patch to fix the problem

[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 ---

[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

[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 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 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:

[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 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 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/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 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... >

[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

[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 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 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 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

[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 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

[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

[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 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 *)]; _3 = (uint64_t) _2; _4 = MEM[(const unsigned char *) + 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 Status|UNCONFIRMED |ASSIGNED 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

[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 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=edit Tentative patch Removed the npeel function argument, also removed body_cost_vec and the

[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 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

[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++/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 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 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 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 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

[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

[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 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 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 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

[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/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 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

[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. >

[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 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=gcc=rev Log: PR libstdc++/80316 make promise::set_value throw no_state error Backport from

[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 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 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] 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

[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

[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=gcc=rev Log: PR libstdc++/80316 make promise::set_value throw no_state error Backport from

[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:

[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 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 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 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 {

[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 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:

[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

[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 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 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

[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

[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

[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 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 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 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 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/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

[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 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

[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 Status|UNCONFIRMED |NEW Last reconfirmed|

[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 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 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 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 ---

  1   2   >