[Bug tree-optimization/86259] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-21 Thread gcc at thecybershadow dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #5 from Vladimir Panteleev --- (In reply to Andrew Pinski from comment #2) > Note gcc thinks strlen(s) is less than or equal to 3 as s is really T.s > which is an array of 4 in size and there for the last element has to be a > null ch

[Bug tree-optimization/85244] [6 Regression] Bad optimisation with flexible array member (may be related to -ftree-dominator-opts)

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85244 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/85244] [6 Regression] Bad optimisation with flexible array member (may be related to -ftree-dominator-opts)

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85244 --- Comment #12 from Richard Biener --- Author: rguenth Date: Thu Jun 21 07:24:06 2018 New Revision: 261833 URL: https://gcc.gnu.org/viewcvs?rev=261833&root=gcc&view=rev Log: 2018-06-21 Richard Biener Backport from mainline 2

[Bug tree-optimization/81884] [6 Regression] Invalid code generation with zero size arrays or flexible array members

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81884 --- Comment #13 from Richard Biener --- Author: rguenth Date: Thu Jun 21 07:24:06 2018 New Revision: 261833 URL: https://gcc.gnu.org/viewcvs?rev=261833&root=gcc&view=rev Log: 2018-06-21 Richard Biener Backport from mainline 2

[Bug tree-optimization/81884] [6 Regression] Invalid code generation with zero size arrays or flexible array members

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81884 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug libgcc/85967] [ARM] No unwinding support for division functions

2018-06-21 Thread la...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85967 --- Comment #2 from Ladislav Michl --- *** Bug 85966 has been marked as a duplicate of this bug. ***

[Bug libgcc/85966] New: [ARM] No unwinding support for division functions

2018-06-21 Thread la...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85966 Bug ID: 85966 Summary: [ARM] No unwinding support for division functions Product: gcc Version: unknown Status: RESOLVED Severity: normal Priority: P3 Component:

[Bug tree-optimization/86214] [8/9 Regression] Strongly increased stack usage

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86214 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug c++/56958] Spurious set but not used variable warning in empty pack expansion

2018-06-21 Thread will at benfold dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56958 Will Benfold changed: What|Removed |Added CC||will at benfold dot com --- Comment #5 fr

[Bug c++/86216] g++ ICE on valid code: verify_ssa failed

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86216 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Status|NE

[Bug fortran/86220] [9 Regression] ICE in gfc_conv_structure, at fortran/trans-expr.c:7789

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86220 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug tree-optimization/86223] missing -Warray-bounds on an access to an implicitly zeroed out array

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

[Bug tree-optimization/86223] missing -Warray-bounds on an access to an implicitly zeroed out array

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86223 --- Comment #3 from Richard Biener --- That's because of else if (!complete_p) /* If the constructor isn't complete, clear the whole object beforehand, unless CONSTRUCTOR_NO_CLEARING is set on it. ???

[Bug middle-end/86261] New: [8/9 Regression] incorrect -Wformat-truncation warning

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86261 Bug ID: 86261 Summary: [8/9 Regression] incorrect -Wformat-truncation warning Product: gcc Version: 8.1.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug tree-optimization/86241] duplicate strlen-like snprintf calls not folded

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86241 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug c++/86246] [8/9 Regression] Template dispatching error inside a template function

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86246 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.2

[Bug c++/86253] N3639 array of runtime bound

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

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 Richard Biener changed: What|Removed |Added Keywords||wrong-code, wrong-debug Tar

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 --- Comment #2 from Richard Biener --- *** Bug 86258 has been marked as a duplicate of this bug. ***

[Bug debug/86258] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86258 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug tree-optimization/86232] [9 Regression] ICE in record_estimate, at tree-ssa-loop-niter.c:3258

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86232 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Known to work|

[Bug tree-optimization/85588] [6 Regression] -fwrapv miscompilation

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85588 --- Comment #12 from Richard Biener --- Author: rguenth Date: Thu Jun 21 09:50:36 2018 New Revision: 261839 URL: https://gcc.gnu.org/viewcvs?rev=261839&root=gcc&view=rev Log: 2018-06-21 Richard Biener Backport from mainline 2

[Bug c/84607] [6 Regression] Side effects discarded in address computation inside 'if'

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84607 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c/84607] [6 Regression] Side effects discarded in address computation inside 'if'

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84607 --- Comment #6 from Richard Biener --- Author: rguenth Date: Thu Jun 21 09:50:36 2018 New Revision: 261839 URL: https://gcc.gnu.org/viewcvs?rev=261839&root=gcc&view=rev Log: 2018-06-21 Richard Biener Backport from mainline 20

[Bug tree-optimization/85588] [6 Regression] -fwrapv miscompilation

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85588 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug fortran/86262] New: allocation with non-parameter array expression as SOURCE sets LBOUND to 0

2018-06-21 Thread simon.kluepfel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86262 Bug ID: 86262 Summary: allocation with non-parameter array expression as SOURCE sets LBOUND to 0 Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: norma

[Bug fortran/86262] allocation with non-parameter array expression as SOURCE sets LBOUND to 0

2018-06-21 Thread simon.kluepfel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86262 --- Comment #1 from Simon Klüpfel --- Though I did search, right after I submitted the bug I saw it is already filed, e.g. as Bug 85534. Sorry for that, I guess my report does not add much.

[Bug target/86263] New: [nvptx] casesi, tablejump

2018-06-21 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86263 Bug ID: 86263 Summary: [nvptx] casesi, tablejump Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee

[Bug other/86198] Libbacktrace does not properly work with ".note.gnu.build-id" section

2018-06-21 Thread d.khalikov at partner dot samsung.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86198 Denis Khalikov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86252] Abstract class in function return type

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86252 --- Comment #1 from Jonathan Wakely --- (In reply to zhonghao from comment #0) > Will g++ catch up the so-called rule change? Yes, but failure to implement a rule that only changed two weeks ago is not a bug, the updated working draft is not eve

[Bug c++/86254] g++ rejects legal code?

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86254 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86255] addition of default argument on redeclaration makes this constructor a default constructor

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86255 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1])

2018-06-21 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092 --- Comment #16 from Eric Gallager --- (In reply to Ryan Schmidt from comment #15) > Yes, I noticed Homebrew had the update, and I didn't understand why it > worked there. But now I do. > > Some more information has turned up in a new MacPorts t

[Bug c++/86251] legal or illegal code?

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86251 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86251] legal or illegal code?

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86251 --- Comment #1 from Jonathan Wakely --- I think this is a duplicate but I can't find it now.

[Bug c++/66670] "template argument deduction/substitution failed" with function pointers and multiple parameter packs

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66670 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/66670] "template argument deduction/substitution failed" with function pointers and multiple parameter packs

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66670 --- Comment #1 from Jonathan Wakely --- Clang bug: https://bugs.llvm.org/show_bug.cgi?id=23949

[Bug c++/86250] addition of default argument on redeclaration makes this constructor a default constructor

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86250 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/29027] template conversion specialization found by using declaration

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29027 Jonathan Wakely changed: What|Removed |Added Known to fail|| --- Comment #4 from Jonathan Wakely

[Bug c++/86249] declaration conflicts with target of using declaration already in scope

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86249 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86246] [8/9 Regression] Template dispatching error inside a template function

2018-06-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86246 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/79920] [6 Regression] Incorrect floating point results when compiling with -O3

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79920 --- Comment #10 from Richard Biener --- Author: rguenth Date: Thu Jun 21 11:18:50 2018 New Revision: 261842 URL: https://gcc.gnu.org/viewcvs?rev=261842&root=gcc&view=rev Log: 2018-06-21 Richard Biener Backport from mainline 2

[Bug tree-optimization/81410] [6 Regression] -O3 breaks code

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81410 --- Comment #16 from Richard Biener --- Author: rguenth Date: Thu Jun 21 11:18:50 2018 New Revision: 261842 URL: https://gcc.gnu.org/viewcvs?rev=261842&root=gcc&view=rev Log: 2018-06-21 Richard Biener Backport from mainline 2

[Bug target/82108] [7 Regression] Wrong vectorized code generated for x86_64

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82108 --- Comment #7 from Richard Biener --- Author: rguenth Date: Thu Jun 21 11:18:50 2018 New Revision: 261842 URL: https://gcc.gnu.org/viewcvs?rev=261842&root=gcc&view=rev Log: 2018-06-21 Richard Biener Backport from mainline 20

[Bug tree-optimization/79920] [6 Regression] Incorrect floating point results when compiling with -O3

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79920 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug libstdc++/86138] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called

2018-06-21 Thread franke at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #13 from Christian Franke --- This patch prevents duplicate _S_empty_rep_storage[] even on Cygwin (char only, wchar_t missing). Testcase works as expected then: --- basic_string.tcc.orig 2018-05-03 06:22:46.0 +0200 +++

[Bug tree-optimization/81410] [6 Regression] -O3 breaks code

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81410 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/86232] [9 Regression] ICE in record_estimate, at tree-ssa-loop-niter.c:3258

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86232 --- Comment #2 from Richard Biener --- Author: rguenth Date: Thu Jun 21 11:22:12 2018 New Revision: 261843 URL: https://gcc.gnu.org/viewcvs?rev=261843&root=gcc&view=rev Log: 2018-06-21 Richard Biener PR tree-optimization/86232

[Bug c++/86246] [8/9 Regression] Template dispatching error inside a template function

2018-06-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86246 --- Comment #2 from Nathan Sidwell --- This no longer ices. and I am not sure the code is well formed. The code is explicitly naming a conversion operator 'obj.operator T()', which is not the same as relying on the conversion mechanism of 'stat

[Bug libstdc++/86138] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #14 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #8) > If Cygwin doesn't correctly ensure uniqueness of static objects across DLLs > then we can't workaround that, Oops, typo, I meant to say we *can* work around

[Bug libstdc++/86138] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #15 from Jonathan Wakely --- (In reply to Christian Franke from comment #13) > This patch prevents duplicate _S_empty_rep_storage[] even on Cygwin (char > only, wchar_t missing). Testcase works as expected then: > > --- basic_string

[Bug target/86263] [9 Regression] [nvptx] casesi, tablejump

2018-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86263 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/86264] New: [ARM] unsupported v2/v3 code remaining

2018-06-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86264 Bug ID: 86264 Summary: [ARM] unsupported v2/v3 code remaining Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/86232] [9 Regression] ICE in record_estimate, at tree-ssa-loop-niter.c:3258

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86232 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86256] Lambda will not add ref count for class intelligent pointer member when capture 'this' or & as argument

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

[Bug tree-optimization/86265] New: Wrong code on an invalid code starting with r255790

2018-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86265 Bug ID: 86265 Summary: Wrong code on an invalid code starting with r255790 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug tree-optimization/86265] Wrong code on an invalid code starting with r255790

2018-06-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86265 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/85859] [6/7/8/9 Regression] wrong code with -fno-isolate-erroneous-paths-dereference

2018-06-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85859 --- Comment #5 from Tom de Vries --- Author: vries Date: Thu Jun 21 12:44:38 2018 New Revision: 261844 URL: https://gcc.gnu.org/viewcvs?rev=261844&root=gcc&view=rev Log: [tail-merge] Fix side-effect test in stmt_local_def 2018-06-21 Tom de Vri

[Bug target/86264] [ARM] unsupported v2/v3 code remaining

2018-06-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86264 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/86265] Wrong code on an invalid code starting with r255790

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86265 Richard Biener changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug tree-optimization/86265] Wrong code on an invalid code starting with r255790

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86265 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #

[Bug tree-optimization/86267] New: detect conversions between bitmasks and vector masks

2018-06-21 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86267 Bug ID: 86267 Summary: detect conversions between bitmasks and vector masks Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug regression/86266] New: [6 regression] r261799 causes failure on gcc.dg/tree-ssa/ssa-dse-16.c

2018-06-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86266 Bug ID: 86266 Summary: [6 regression] r261799 causes failure on gcc.dg/tree-ssa/ssa-dse-16.c Product: gcc Version: 6.4.1 Status: UNCONFIRMED Severity: normal

[Bug c++/86246] [8/9 Regression] Template dispatching error inside a template function

2018-06-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86246 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug regression/86266] [6 regression] r261799 causes failure on gcc.dg/tree-ssa/ssa-dse-16.c

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86266 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86192] A not fully fixed bug?

2018-06-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86192 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug fortran/86268] New: [9.0] Error on correct code with PDTs

2018-06-21 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86268 Bug ID: 86268 Summary: [9.0] Error on correct code with PDTs Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Thu Jun 21 14:01:11 2018 New Revision: 261849 URL: https://gcc.gnu.org/viewcvs?rev=261849&root=gcc&view=rev Log: PR libstdc++/70940 make pmr::resource_adaptor return aligned memory

[Bug c++/86269] New: ICE with intermediate concepts notation

2018-06-21 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86269 Bug ID: 86269 Summary: ICE with intermediate concepts notation Product: gcc Version: c++-concepts Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/86175] LTO code generator does not respect ld -u option to force symbol inclusion in the link product

2018-06-21 Thread zenith432 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86175 --- Comment #5 from zenith432 at users dot sourceforge.net --- This is a bug in ld.bfd. It's setting the resolution for entry symbols to LDPR_PREVAILING_DEF_IRONLY_EXP instead of LDPR_PREVAILING_DEF. gold handles them right. I posted a patch in

[Bug middle-end/86261] [8/9 Regression] incorrect -Wformat-truncation warning

2018-06-21 Thread astieger at suse dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86261 Andreas Stieger changed: What|Removed |Added CC||astieger at suse dot com --- Comment #

[Bug middle-end/86260] New: [8/9 Regression] incorrect -Wformat-truncation warning

2018-06-21 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86260 Bug ID: 86260 Summary: [8/9 Regression] incorrect -Wformat-truncation warning Product: gcc Version: 8.1.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c++/86182] [8/9 Regression] gcc crashes when compiling the code

2018-06-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86182 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Jun 21 14:23:19 2018 New Revision: 261850 URL: https://gcc.gnu.org/viewcvs?rev=261850&root=gcc&view=rev Log: PR c++/86182 - ICE with anonymous union passed to template.

[Bug middle-end/86261] [8/9 Regression] incorrect -Wformat-truncation warning

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86261 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/86260] [8/9 Regression] incorrect -Wformat-truncation warning

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86260 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/86261] [8/9 Regression] incorrect -Wformat-truncation warning

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86261 --- Comment #3 from Richard Biener --- *** Bug 86260 has been marked as a duplicate of this bug. ***

[Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-06-21 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED URL|

[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/86246] [8/9 Regression] Template dispatching error inside a template function

2018-06-21 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86246 --- Comment #4 from Nathan Sidwell --- but myclass::operator double is not a template. why would we find it as a specialization of the templated conversion operator? (to be clear, that maybe what we want, but the temp.mem does not appear to be

[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #9 from Martin Sebor --- There is an ongoing effort to clarify the provenance of pointers in C. A recent proposal for such clarification is N2219: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2219.htm I don't see anything in the

[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #10 from Martin Sebor --- (to complete the sentence from comment #9) There is a separate question of whether strings (as in arguments to string functions like strlen) extend to arbitrary sequences of bytes regardless of the object ty

[Bug tree-optimization/86241] duplicate strlen-like snprintf calls not folded

2018-06-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86241 --- Comment #2 from Martin Sebor --- Unlike bug 86203, the test case here uses local variables for the results of the calls to eliminate the possibility of aliasing between them and what the char pointer points to. More important, unlike strlen,

[Bug tree-optimization/86265] Wrong code on an invalid code starting with r255790

2018-06-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86265 --- Comment #4 from Martin Sebor --- Using strncpy or strlen to cross subobject boundaries isn't valid. GCC catches the strncpy bug with -Warray-bounds: pr86265.c: In function ‘main’: ... In file included from /usr/include/string.h:630,

[Bug c++/86184] Conditional expression with omitted operand cannot use rvalue of type convertible to bool

2018-06-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86184 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/86222] ICE in final_scan_insn_1 calling strncmp() with a bound of PTRDIFF_MAX + 1

2018-06-21 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86222 --- Comment #3 from acsawdey at gcc dot gnu.org --- OK, so this requires -m32 and also -mcpu=power6 or higher. I have reproduced it so should have a fix shortly.

[Bug target/86222] ICE in final_scan_insn_1 calling strncmp() with a bound of PTRDIFF_MAX + 1

2018-06-21 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86222 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/86270] New: Simple loop needs an extra register and an extra instruction

2018-06-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86270 Bug ID: 86270 Summary: Simple loop needs an extra register and an extra instruction Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pri

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Thu Jun 21 16:24:00 2018 New Revision: 261851 URL: https://gcc.gnu.org/viewcvs?rev=261851&root=gcc&view=rev Log: PR libstdc++/70940 make pmr::resource_adaptor return aligned memory

[Bug tree-optimization/86270] Simple loop needs an extra register and an extra instruction

2018-06-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86270 Martin Jambor changed: What|Removed |Added Target||x86_64-linux CC|

[Bug c++/86184] Conditional expression with omitted operand cannot use rvalue of type convertible to bool

2018-06-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86184 --- Comment #5 from Marek Polacek --- Runtime test: int j; struct X { X() { j++; } operator bool() { return true; } }; /* Only create X once. */ bool b = X() ?: false; bool b2 = X() ? X() : false; int main () { if (j != 3) __builtin

[Bug tree-optimization/86214] [8/9 Regression] Strongly increased stack usage

2018-06-21 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86214 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug c/86271] New: ICE due to size mismatch when inlining

2018-06-21 Thread pkoning at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86271 Bug ID: 86271 Summary: ICE due to size mismatch when inlining Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/83118] [7/8/9 Regression] Bad intrinsic assignment of class(*) array component of derived type

2018-06-21 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 --- Comment #8 from Paul Thomas --- Author: pault Date: Thu Jun 21 17:34:31 2018 New Revision: 261857 URL: https://gcc.gnu.org/viewcvs?rev=261857&root=gcc&view=rev Log: 2018-06-21 Paul Thomas PR fortran/83118 * resolve.c (res

[Bug c/86271] ICE due to size mismatch when inlining

2018-06-21 Thread pkoning at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86271 --- Comment #1 from pkoning at gcc dot gnu.org --- https://gcc.gnu.org/ml/gcc/2018-06/msg00228.html is the discussion and mentions a possible fix.

[Bug c++/86182] [8/9 Regression] gcc crashes when compiling the code

2018-06-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86182 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jun 21 18:19:23 2018 New Revision: 261858 URL: https://gcc.gnu.org/viewcvs?rev=261858&root=gcc&view=rev Log: PR c++/86182 - fix wrong PR tag in earlier commit Modified: t

[Bug c++/86182] [8/9 Regression] gcc crashes when compiling the code

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

[Bug c++/86219] [8/9 Regression] ICE in coerce_template_parms, at cp/pt.c:8515

2018-06-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86219 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

  1   2   >