[Bug tree-optimization/81388] Incorrect code generation with -O1 -fno-strict-overflow

2017-07-10 Thread terrelln at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388 --- Comment #4 from Nick Terrell --- Good point Marc. The generated assembly is wrong because the loop should be run once, but it is run 2^63 times. Changing the amount dst is incremented by to 4 makes it run 2^62 times, and changing it to 8 ma

[Bug tree-optimization/81388] Incorrect code generation with -O1 -fno-strict-overflow

2017-07-10 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388 --- Comment #3 from Marc Glisse --- (it helps to describe in what way the code is wrong, for instance in a way that makes the testcase abort) Apparently ivcanon thinks the number of iterations is constant, as it would be for the condition dst !=

[Bug target/81375] [6/7/8 Regression] unrecognizable insn

2017-07-10 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81375 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Tue Jul 11 05:32:39 2017 New Revision: 250113 URL: https://gcc.gnu.org/viewcvs?rev=250113&root=gcc&view=rev Log: PR target/81375 * config/i386/i386.md (divsf3): Ad

[Bug rtl-optimization/81332] GCC crash during "RTL pass: expand" - verify_flow_info: REG_BR_PROB does not match cfg

2017-07-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81332 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #2

[Bug c++/81389] New: _mm_cmpestri segfault on -O0

2017-07-10 Thread rockeet at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389 Bug ID: 81389 Summary: _mm_cmpestri segfault on -O0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug c/79459] Please add enable_if and diagnose_if attributes (from clang)

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79459 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug tree-optimization/81388] Incorrect code generation with -O1 -fno-strict-overflow

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

[Bug tree-optimization/81388] Incorrect code generation with -O1 -fno-strict-overflow

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

[Bug tree-optimization/81388] New: Incorrect code generation with -O1 -fno-strict-overflow

2017-07-10 Thread terrelln at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388 Bug ID: 81388 Summary: Incorrect code generation with -O1 -fno-strict-overflow Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priori

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

2017-07-10 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81387 Bug ID: 81387 Summary: UBSAN consumes too much memory at -O2 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug rtl-optimization/81332] GCC crash during "RTL pass: expand" - verify_flow_info: REG_BR_PROB does not match cfg

2017-07-10 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81332 --- Comment #1 from Dmitry Babokin --- I've jut hit another instance on this bug, which mean that it's probably not too rare and quite possible to hit in the wild.

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

2017-07-10 Thread grgoffe at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 --- Comment #11 from George R. Goffe --- Jakub, I just tried your suggestion... It worked on "my" platform! George...

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

2017-07-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 --- Comment #10 from Jakub Jelinek --- I think the tsan build issue can be fixed just by replacing __res_state *statp = (__res_state*)state; line with struct __res_state *statp = (struct __res_state*)state; It should then build hopefully with bot

[Bug rtl-optimization/81288] [5/6/7/8 Regression] ICE on 32-bit BE powerpc targets -w -misel -O2 (-O3, -Ofast, -Os)

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

[Bug target/81375] [6/7/8 Regression] unrecognizable insn

2017-07-10 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81375 --- Comment #2 from uros at gcc dot gnu.org --- Author: uros Date: Mon Jul 10 22:01:06 2017 New Revision: 250107 URL: https://gcc.gnu.org/viewcvs?rev=250107&root=gcc&view=rev Log: PR target/81375 * config/i386/i386.md (divsf3): Ad

[Bug middle-end/41992] ICE on invalid dereferencing of void *

2017-07-10 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41992 Yuri Gribov changed: What|Removed |Added CC||tetra2005 at gmail dot com --- Comment #4

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

2017-07-10 Thread grgoffe at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 George R. Goffe changed: What|Removed |Added CC||grgoffe at yahoo dot com --- Comment #

[Bug tree-optimization/80397] missing -Wformat-overflow with arguments of enum types

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80397 Martin Sebor changed: What|Removed |Added Known to work||8.0 Known to fail|

[Bug tree-optimization/80397] missing -Wformat-overflow with arguments of enum types

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80397 --- Comment #2 from Martin Sebor --- Author: msebor Date: Mon Jul 10 21:21:51 2017 New Revision: 250106 URL: https://gcc.gnu.org/viewcvs?rev=250106&root=gcc&view=rev Log: PR tree-optimization/80397 - missing -Wformat-overflow with arguments of e

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects

2017-07-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073 --- Comment #9 from Jason Merrill --- Created attachment 41711 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41711&action=edit patch to error on progmem with dynamic init Does this do what you had in mind?

[Bug other/81345] -Wall resets -Wstringop-overflow to 1 from the default 2

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345 --- Comment #6 from Martin Sebor --- Author: msebor Date: Mon Jul 10 21:00:56 2017 New Revision: 250104 URL: https://gcc.gnu.org/viewcvs?rev=250104&root=gcc&view=rev Log: PR other/81345 - -Wall resets -Wstringop-overflow to 1 from the default 2

[Bug other/81345] -Wall resets -Wstringop-overflow to 1 from the default 2

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/81346] Missed constant propagation into comparison

2017-07-10 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346 --- Comment #6 from Marc Glisse --- (In reply to Jakub Jelinek from comment #5) > Untested WIP patch. Still no idea how to handle the build_range_check stuff > at GIMPLE, that function is pretty huge. Shall I just always generate the > cast to

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

2017-07-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81386 Bug ID: 81386 Summary: [8 regression] libgomp.fortran/appendix-a/a.16.1.f90 fails starting with 249424 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: n

[Bug driver/81358] libatomic not automatically linked with C11 code

2017-07-10 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 --- Comment #6 from joseph at codesourcery dot com --- The design of what's in separate libraries is historical; since it probably predates shared libraries, the reason isn't obvious (with shared libraries, before --as-needed, it avoided unnece

[Bug target/81375] [6/7/8 Regression] unrecognizable insn

2017-07-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81375 Uroš Bizjak changed: What|Removed |Added Target|x86_64-linux-gnu|x86_32 Host|x86_64-linux-gnu

[Bug target/81375] [6/7/8 Regression] unrecognizable insn

2017-07-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81375 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libgcc/81383] -fstack-protector doesn't work well

2017-07-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/81384] built-in form of strnlen missing

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81384 Martin Sebor changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/81385] missing optimization involving strlen of arrays of known size

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81385 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization See Also|

[Bug tree-optimization/81385] New: missing optimization involving strlen of arrays of known size

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81385 Bug ID: 81385 Summary: missing optimization involving strlen of arrays of known size Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/81384] New: built-in form of strnlen missing

2017-07-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81384 Bug ID: 81384 Summary: built-in form of strnlen missing Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

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

2017-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81381 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Mon Jul 10 17:59:02 2017 New Revision: 250101 URL: https://gcc.gnu.org/viewcvs?rev=250101&root=gcc&view=rev Log: PR libstdc++/81381 support stateful allocators in basic_stringbuf

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

2017-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81338 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Mon Jul 10 17:58:56 2017 New Revision: 250100 URL: https://gcc.gnu.org/viewcvs?rev=250100&root=gcc&view=rev Log: PR libstdc++/81338 correctly manage string capacity PR libstdc++

[Bug driver/81358] libatomic not automatically linked with C11 code

2017-07-10 Thread jeff.science at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 --- Comment #5 from Jeff Hammond --- Indeed, _Atomic is a language keyword and doesn't require any headers (the inclusion of stdatomic.h in this code is superfluous), so the "header->explicit library" argument doesn't apply. In any case, I do no

Re: sanitizer bug maybe.

2017-07-10 Thread Jonathan Wakely
On 10/07/17 17:29 +, George R Goffe via gcc-bugs wrote: Hi, I'm hoping this is a bug and NOT a UFU (user foul up). Thanks! George... checking for clock_gettime... libtool: compile: /tools/gcc/obj-x86_64-pc-linux-gnu/./gcc/xgcc -shared-libgcc -B/tools/gcc/obj-x86_64-pc-linux-gnu/./gcc -

sanitizer bug maybe.

2017-07-10 Thread George R Goffe via gcc-bugs
Hi, I'm hoping this is a bug and NOT a UFU (user foul up). Thanks! George... checking for clock_gettime... libtool: compile: /tools/gcc/obj-x86_64-pc-linux-gnu/./gcc/xgcc -shared-libgcc -B/tools/gcc/obj-x86_64-pc-linux-gnu/./gcc -nostdinc++ -L/tools/gcc/obj-x86_64-pc-linux-gnu/x86_64-pc-lin

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

2017-07-10 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362 --- Comment #4 from Andreas Schwab --- There is no VSX on G5.

[Bug driver/81358] libatomic not automatically linked with C11 code

2017-07-10 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 --- Comment #4 from joseph at codesourcery dot com --- In the libm case, POSIX has an explicit list of headers whose functions may require particular libraries to be linked in. libatomic is required for use of language features without any ref

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

2017-07-10 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362 --- Comment #3 from Andreas Schwab --- Created attachment 41709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41709&action=edit no-vfa-vect-57.s

[Bug driver/81358] libatomic not automatically linked with C11 code

2017-07-10 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 --- Comment #3 from joseph at codesourcery dot com --- See what I said in - I think linking --as-needed -latomic --no-as-needed makes sense by default when --as-needed is supported. T

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

2017-07-10 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362 --- Comment #2 from Andreas Schwab --- Created attachment 41708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41708&action=edit no-vfa-vect-57.c.159t.vect

[Bug libgcc/81383] -fstack-protector doesn't work well

2017-07-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX

[Bug libgcc/81383] -fstack-protector doesn't work well

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

[Bug libgcc/81383] -fstack-protector doesn't work well

2017-07-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug libgcc/81383] -fstack-protector doesn't work well

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

[Bug libgcc/81383] New: -fstack-protector doesn't work well

2017-07-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383 Bug ID: 81383 Summary: -fstack-protector doesn't work well Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc

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

2017-07-10 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #20 from Avi Kivity --- btw, you can try pulling from https://github.com/avikivity/scylla/tree/2546; it has some fixes (specifically https://github.com/avikivity/scylla/commit/408d540eda30b557ecc0ab07ac3d39b617b37c4c) that fixed failu

[Bug driver/81382] New: glibc deadlock in signal handler

2017-07-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81382 Bug ID: 81382 Summary: glibc deadlock in signal handler Product: gcc Version: 7.0 URL: https://bugzilla.suse.com/show_bug.cgi?id=1047882 Status: UNCONFIRMED Severity

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

2017-07-10 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #19 from Avi Kivity --- (In reply to Martin Liška from comment #18) > I can confirm I can reproduce it. Now with just AddressSanitizer I see: > > ==5488==ERROR: AddressSanitizer: unknown-crash on address 0x7fa04c0092e0 at > pc 0x

[Bug bootstrap/80838] PGO/LTO bootstrapped compiler 5% slower than pure PGO bootstrapped one

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

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

2017-07-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #18 from Martin Liška --- I can confirm I can reproduce it. Now with just AddressSanitizer I see: ==5488==ERROR: AddressSanitizer: unknown-crash on address 0x7fa04c0092e0 at pc 0x05ee3108 bp 0x7fa04c0091b0 sp 0x7fa04c0091a0 WRITE

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

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

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

2017-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81381 Bug ID: 81381 Summary: std::basic_stringbuf only works with DefaultConstructible allocators Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: rejects-vali

[Bug ada/79542] [7/8 regression] GNAT bug box

2017-07-10 Thread gnugcc at marino dot st
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79542 John Marino changed: What|Removed |Added CC||gnugcc at marino dot st --- Comment #5 fro

[Bug libstdc++/81380] New: basic_stringbuf::seekoff doesn't fail when trying to reposition a null sequence

2017-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81380 Bug ID: 81380 Summary: basic_stringbuf::seekoff doesn't fail when trying to reposition a null sequence Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: n

[Bug libstdc++/81380] basic_stringbuf::seekoff doesn't fail when trying to reposition a null sequence

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

[Bug gcov-profile/81379] New: autoFDO test failures

2017-07-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81379 Bug ID: 81379 Summary: autoFDO test failures Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assign

[Bug other/81029] Compiling sketch with arduinodroid

2017-07-10 Thread koulang at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81029 --- Comment #2 from koulang at gmail dot com --- hi source joined what is the stack size ? Le 09/06/2017 à 16:58, pinskia at gcc dot gnu.org a écrit : > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81029 > > Andrew Pinski changed: > >

[Bug bootstrap/80838] PGO/LTO bootstrapped compiler 5% slower than pure PGO bootstrapped one

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80838 --- Comment #7 from Jan Hubicka --- Author: hubicka Date: Mon Jul 10 13:25:23 2017 New Revision: 250094 URL: https://gcc.gnu.org/viewcvs?rev=250094&root=gcc&view=rev Log: PR lto/80838 * lto-wrapper.c (remove_option): New functio

[Bug target/81075] [avr] Move jump-tables out of .text

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81075 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/81366] pragma omp simd reduce(max:m) not vectorizing

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

[Bug libgomp/81378] New: [nvptx] Add openacc testcase using generated ptx but bypassing libgomp

2017-07-10 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81378 Bug ID: 81378 Summary: [nvptx] Add openacc testcase using generated ptx but bypassing libgomp Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancemen

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

2017-07-10 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #17 from Avi Kivity --- (In reply to Martin Liška from comment #16) > > Unfortunately I don't have any Fedora system to test it. Do you have any > experience using Docker? This can be good candidate to reproduce that? If you run the

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

2017-07-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #16 from Martin Liška --- (In reply to Avi Kivity from comment #15) > Unfortunately, backporting your patch is not enough; it depends on another, > and backporting the dependency generates many conflicts. > > There is now a ./install

[Bug middle-end/81376] unnecessary cast before comparison

2017-07-10 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81376 --- Comment #1 from Marc Glisse --- Good timing, Yuri Gribov is working on PR57371 (the case where one side is a constant), he might be interested.

[Bug libgomp/81377] New: [nvptx] Add possibility for libgomp nvptx plugin to use ptxas

2017-07-10 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81377 Bug ID: 81377 Summary: [nvptx] Add possibility for libgomp nvptx plugin to use ptxas Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancement

[Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391

2017-07-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331 Jan Hubicka changed: What|Removed |Added CC||ian at airs dot com, |

[Bug tree-optimization/81196] Number of iterations found for p!=q but not for p

2017-07-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81196 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug tree-optimization/81346] Missed constant propagation into comparison

2017-07-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346 --- Comment #5 from Jakub Jelinek --- Created attachment 41707 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41707&action=edit gcc8-pr81346-wip.patch Untested WIP patch. Still no idea how to handle the build_range_check stuff at GIMPLE,

[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331 --- Comment #7 from Jan Hubicka --- Created attachment 41706 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41706&action=edit bbpart dump (good version)

[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331 --- Comment #6 from Jan Hubicka --- Created attachment 41705 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41705&action=edit bbpart dump (bad version)

[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331 --- Comment #5 from Jan Hubicka --- Created attachment 41704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41704&action=edit Assembly with hacked BB movement (so it passes and is closer to bad.s)

[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331 --- Comment #4 from Jan Hubicka --- Created attachment 41703 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41703&action=edit broken assembly (generated by revision 250073)

[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331 --- Comment #3 from Jan Hubicka --- Created attachment 41702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41702&action=edit Working assembly (without profile sanitization)

[Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test

2017-07-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331 --- Comment #2 from Jan Hubicka --- The wrong code is triggered by partitioning. The function is somewhat odd by requiring an EH edge to finish properly while we predict EH edges are unlikely. This is however partly undone by the hack in bb-reor

[Bug middle-end/81376] New: unnecessary cast before comparison

2017-07-10 Thread drepper.fsp+rhbz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81376 Bug ID: 81376 Summary: unnecessary cast before comparison Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

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

2017-07-10 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #15 from Avi Kivity --- Unfortunately, backporting your patch is not enough; it depends on another, and backporting the dependency generates many conflicts. There is now a ./install-dependencies.sh in the scylla repositories, so to g

[Bug tree-optimization/71608] Wrong constant folding

2017-07-10 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608 --- Comment #5 from Mikael Pettersson --- This test case was fixed for gcc-7 by r242536.

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

2017-07-10 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug target/20296] Speeding up small interrupts on avr

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296 Georg-Johann Lay changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug target/20296] Speeding up small interrupts on avr

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296 Bug 20296 depends on bug 81268, which changed state. Bug 81268 Summary: [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 What|Removed

[Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/20296] Speeding up small interrupts on avr

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 10 09:49:18 2017 New Revision: 250093 URL: https://gcc.gnu.org/viewcvs?rev=250093&root=gcc&view=rev Log: gcc/ Better ISR prologues by supporting GASes __gcc_isr pseudo in

[Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 10 09:49:18 2017 New Revision: 250093 URL: https://gcc.gnu.org/viewcvs?rev=250093&root=gcc&view=rev Log: gcc/ Better ISR prologues by supporting GASes __gcc_isr pseudo in

[Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()

2017-07-10 Thread thayer-public at e dot mail.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027 --- Comment #8 from Michael Thayer --- If that is your normal procedure then please do.

[Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code

2017-07-10 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908 --- Comment #8 from Marc Glisse --- (In reply to Yuri Gribov from comment #7) > Hm, I've just tried r249806 both with -ftree-loop-distribution and > -fno-tree-loop-distribution on top of flags above without any changes in > output. This may depen

[Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()

2017-07-10 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027 --- Comment #7 from Yuri Gribov --- (In reply to Michael Thayer from comment #6) > Yuri, my initial description should still apply, though I haven't tested > this recently. The follow-up comments were Maxim trying to help me with a > work-around

[Bug c++/81371] Too many C++ templates output in build error

2017-07-10 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371 --- Comment #5 from Marc Glisse --- Related to PR14912 (and some others). Tools like STLFilt perform this transformation for standard types (including std::string). Possibly also related to the recent work on printing template diffs.

[Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391

2017-07-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374 --- Comment #2 from amker at gcc dot gnu.org --- Okay, so bb_top_order_index_size should be inittialized to last_basic_block_for_fn, rather than number of basic blocks since we don't reuse index of deleted basic block. I am testing a patch.

[Bug sanitizer/81322] -fsanitize=address ICE in prepare_function_start, at function.c

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

[Bug libstdc++/80676] [DR 2995] basic_stringbuf does not use initial capacity of SSO string

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

[Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()

2017-07-10 Thread thayer-public at e dot mail.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027 Michael Thayer changed: What|Removed |Added CC||thayer-public at e dot mail.de --- Comm

[Bug c++/81359] [7/8 Regression] bogus error: constructor required before non-static data member for ‘Foo::Bar::test’ has been parsed

2017-07-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81359 Markus Trippelsdorf changed: What|Removed |Added Keywords||rejects-valid Status|U

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

2017-07-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #14 from Martin Liška --- Ok, so as the project has quite some dependencies I'm not able to build. Please try to use patched compiler.

[Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391

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

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

2017-07-10 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #13 from Avi Kivity --- Output: $ build/debug/tests/view_schema_test_g -- --smp 1 -m 1G WARNING: debug mode. Not for benchmarking or production Running 60 test cases... WARN 2017-07-10 11:41:14,955 seastar - Seastar compiled with de

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

2017-07-10 Thread duarte at scylladb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021 --- Comment #12 from Duarte --- (In reply to Avi Kivity from comment #10) > Oh, and a binary that triggers it is build/release/tests/view_schema_test. Should be build/debug/tests/view_schema_test. For reference, other binaries affected by this i

[Bug target/81075] [avr] Move jump-tables out of .text

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81075 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 10 08:22:47 2017 New Revision: 250091 URL: https://gcc.gnu.org/viewcvs?rev=250091&root=gcc&view=rev Log: gcc/ Move jump-tables out of .text again. PR target/81075

  1   2   >