[Bug tree-optimization/89802] New: [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

2019-03-22 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89802 Bug ID: 89802 Summary: [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table) Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-chec

[Bug rtl-optimization/85528] ICE in code_motion_process_successors, at sel-sched.c:6403

2019-03-22 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85528 Arseny Solokha changed: What|Removed |Added Target|powerpc-*-linux-gnu*, |powerpc-*-linux-gnu*,

[Bug debug/89801] New: gcc generates wrong debug information at -O2

2019-03-22 Thread qrzhang at gatech dot edu
: debug Assignee: unassigned at gcc dot gnu.org Reporter: qrzhang at gatech dot edu Target Milestone: --- It affects gcc-6 to gcc-trunk. gcc-5 works fine. Bisect points to r222305. $ gcc-trunk -v gcc version 9.0.1 20190322 (experimental) [trunk revision 269869] (GCC) $ gdb -v

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #13 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #12) > Improving the warning in comment 4 is irrelevant to this bug. I've created Bug 89800 for improving that warning, please move that discussion there.

[Bug tree-optimization/89800] New: -Waggressive-loop-optimization warning doesn't have useful location

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89800 Bug ID: 89800 Summary: -Waggressive-loop-optimization warning doesn't have useful location Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug c/89799] New: no warning declaring an misaligned array of overaligned structs

2019-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89799 Bug ID: 89799 Summary: no warning declaring an misaligned array of overaligned structs Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43167 --- Comment #20 from Jonathan Wakely --- (In reply to Manuel López-Ibáñez from comment #19) > I wonder what happens if you used something that actually has a > location, like an expression, for the first test case using emplace(). It doesn't mak

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #12 from Jonathan Wakely --- And as I've already said, the quality of the particular -Waggressive-loop-optimizations warning is a separate issue, and should be dealt with in a separate PR. PR 58876 (mentioned in comment 0 as the reas

[Bug target/89794] wrong code with -Og -fno-forward-propagate

2019-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89794 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #1 from Andrew Pinski

[Bug target/89795] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #1 from Andrew Pinski --- Most likely related to PR 89434.

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

2019-03-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 --- Comment #6 from Harald Anlauf --- (In reply to Harald Anlauf from comment #5) > With the following patch len_trim is accepted in a specification expression: Just forget that.

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #11 from Manuel López-Ibáñez --- I'm not being pedantic for the sake of being pedantic. It is trivial to fix the #pragma as I explained above. However, that won't give the user any idea about which user code is triggering the warning.

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

2019-03-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #5 from

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #10 from Jonathan Wakely --- (In reply to Manuel López-Ibáñez from comment #8) > There is no negative n__ in user code. If you want to be pedantic, there's no __n at all in user code. Because it's a function parameter of std::advance

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #9 from Jonathan Wakely --- There is though. std::prev(it, n) is specified as std::advance(it, -n). Calling prev means advancing a negative amount. But I'm not sure what your point is. Currently there's no warning by default even tho

[Bug middle-end/89797] ICE on a vector_size (1LU << 33) int variable

2019-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89797 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/89798] excessive vector_size silently accepted and truncated

2019-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89798 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #8 from Manuel López-Ibáñez --- There is no negative n__ in user code. On Fri, 22 Mar 2019, 21:21 redi at gcc dot gnu.org, < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 > > --- Comment #7 fr

[Bug fortran/86277] Presence of optional arguments not recognized for zero length arrays

2019-03-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86277 --- Comment #3 from Harald Anlauf --- (In reply to Harald Anlauf from comment #2) > Actually, the problem is not related to zero length arrays, but to the > constructor [integer::]. I think this is related to several other PRs. Looking at the d

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #7 from Jonathan Wakely --- A comment added to the code would make the caret diagnostic self-explanatory: --- a/libstdc++-v3/include/bits/stl_iterator_base_funcs.h +++ b/libstdc++-v3/include/bits/stl_iterator_base_funcs.h @@ -149,7 +

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #6 from Jonathan Wakely --- Is it better to silently generate code with undefined behaviour, or issue a flawed warning about that undefined behaviour? If the warning doesn't show the template instantiation context that's a separate i

[Bug c++/84661] [7/8/9 Regression] internal compiler error: Segmentation fault (strip_array_types())

2019-03-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/85013] [7/8/9 Regression] :1:41: internal compiler error: in wide_int_to_tree_1, at tree.c:1567 0x4097e2b wide_int_to_tree_1

2019-03-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85013 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #5 from Manuel López-Ibáñez --- This warning will be incomprehensible to users because the warning never mentions any code that the user can modify. What should the user do according to the warning?

[Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers

2019-03-22 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43167 --- Comment #19 from Manuel López-Ibáñez --- I think the solution is to have more locations. If the diagnostic code knew where the user value came from then it will know to not suppress the diagnostic. I wonder what happens if you used something

[Bug c++/60702] thread_local initialization

2019-03-22 Thread iains at gcc dot gnu.org
t; { target > tls_native } } } > > #include "thread_local11.h" ^^ works for me, results below. I guess we could do something more clever to detect that the __tls_init calls are present for !tls_native. c.f. PR84497 where we don't generate the call (not had a chance to analyse that yet). === Running /src/gcc-trunk/gcc/testsuite/g++.dg/tls/tls.exp ... === g++ Summary for unix/-m64 === # of expected passes307 # of expected failures 2 # of unsupported tests 55 Running target unix/-m32 Running /src/gcc-trunk/gcc/testsuite/g++.dg/tls/tls.exp ... === g++ Summary for unix/-m32 === # of expected passes307 # of expected failures 2 # of unsupported tests 55 === g++ Summary === # of expected passes614 # of expected failures 4 # of unsupported tests 110 /scratch/10-12-sie/gcc-trunk-unpatched/gcc/testsuite/g++/../../xg++ version 9.0.1 20190322 (experimental) [trunk revision 269875] (GCC)

[Bug middle-end/89797] ICE on a vector_size (1LU << 33) int variable

2019-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89797 --- Comment #2 from Andrew Pinski --- Related to PR 69973 (which was fixed).

[Bug c++/89781] Misleading error messages when initializing a static data member in-class

2019-03-22 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89781 --- Comment #3 from Mathias Stearn --- Yeah, my point wasn't that this code should be accepted, it was that the error messages should be improved. Ideally there would even be fixits suggesting adding constexpr where it would be valid, otherwise s

[Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c -O1 start with r265398

2019-03-22 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761 --- Comment #17 from Jeffrey A. Law --- Author: law Date: Fri Mar 22 18:14:56 2019 New Revision: 269880 URL: https://gcc.gnu.org/viewcvs?rev=269880&root=gcc&view=rev Log: PR rtl-optimization/87761 * config/mips/mips-protos.h (mip

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-03-22 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #33 from Bernd Edlinger --- (In reply to Ramana Radhakrishnan from comment #32) > > Either I drop the warning or I keep the hunk in eh_personality.cc - any > preferences / thoughts ? It would feel safer, if only the functions that n

[Bug c/89798] excessive vector_size silently accepted and truncated

2019-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89798 Martin Sebor changed: What|Removed |Added Keywords||accepts-invalid See Also|

[Bug c/89798] New: excessive vector_size silently accepted and truncated

2019-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89798 Bug ID: 89798 Summary: excessive vector_size silently accepted and truncated Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/89797] ICE on a vector_size (1LU << 33) int variable

2019-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89797 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code Known to fail|

[Bug middle-end/89797] New: ICE on a vector_size (1LU << 33) int variable

2019-03-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89797 Bug ID: 89797 Summary: ICE on a vector_size (1LU << 33) int variable Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middl

[Bug rtl-optimization/89676] [7/8/9 Regression] Redundant moves for long long shift on 32bit x86

2019-03-22 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89676 --- Comment #8 from Vladimir Makarov --- Author: vmakarov Date: Fri Mar 22 16:59:21 2019 New Revision: 269878 URL: https://gcc.gnu.org/viewcvs?rev=269878&root=gcc&view=rev Log: 2019-03-22 Vladimir Makarov PR rtl-optimization/89676

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-03-22 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 Ramana Radhakrishnan changed: What|Removed |Added Attachment #45552|0 |1 is obsolete|

[Bug c++/87481] [7/8 Regression] Endless loop with optimisation in C++17

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 Jakub Jelinek changed: What|Removed |Added Summary|[7/8/9 Regression] Endless |[7/8 Regression] Endless

[Bug c++/89796] New: Incorrect warning generated with OpenMP atomic capture

2019-03-22 Thread perard at cg dot uni-saarland.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89796 Bug ID: 89796 Summary: Incorrect warning generated with OpenMP atomic capture Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 --- Comment #12 from Jonathan Wakely --- Finally, with -Waggressive-loop-optimizations -Wsystem-headers -O1 it does terminate translation: /usr/include/c++/8/bits/stl_iterator_base_funcs.h: In function ‘int main()’: /usr/include/c++/8/bits/stl_i

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 --- Comment #11 from Jonathan Wakely --- As I already said: (In reply to Jonathan Wakely from comment #8) > One day I hope to be able to enhance those assertions to warn at > compile-time if the compiler can tell the assertion will fail, but tha

[Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43167 --- Comment #18 from Jonathan Wakely --- From Matthias Kretz on IRC: GCC needs to make a difference between warnings that apply when reading the system headers and warnings that only manifest on a template instantiation or constprop

[Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43167 --- Comment #17 from Jonathan Wakely --- And Bug 87614 is a simpler form of Ian's original example in comment 0: #include int main() { std::vector a; a.emplace_back(7); } With -Wsystem-header -Wconversion: [...] 87614.cc:5:25:

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread akrzemi1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 --- Comment #10 from Andrzej Krzemienski --- For `std::prev()` it is UB, but by my reading of UB (http://eel.is/c++draft/intro.defs#defns.undefined) it is legal for the implementation to respond with "terminating a translation" "with the issuance

[Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43167 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2017-01-24 00:00:00 |2019-3-22 See Also|

[Bug c++/80472] cannot use push/pop with #pragma GCC diagnostic warning "-Wsystem-headers"

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80472 --- Comment #4 from Jonathan Wakely --- Another place where I'd like to selectively enable warnings is for this code (from PR 78830): #include #include int main() { std::forward_list il = {1, 2, 3, 4, 5, 6, 7}; auto iter = std::prev(

[Bug c++/60702] thread_local initialization

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #13 from Jakub Jelinek --- (In reply to Iain Sandoe from comment #11) > (In reply to Jakub Jelinek from comment #10) > > Created attachment 45976 [details] > > gcc9-pr60702.patch > > > > Untested fix. > > For emulated TLS on x86_64-

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 --- Comment #9 from Jonathan Wakely --- P.S. in C++2a std::ranges::prev does make it ill-formed to pass arguments that don't satisfy the BidirectionalIterator concept. But std::prev doesn't.

[Bug c++/89785] Incorrect "not a constant expression" error with switch statement that returns

2019-03-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89785 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/60702] thread_local initialization

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri Mar 22 14:42:57 2019 New Revision: 269875 URL: https://gcc.gnu.org/viewcvs?rev=269875&root=gcc&view=rev Log: PR c++/60702 * cp-tree.h (get_tls_wrapper_fn): Remove dec

[Bug c++/87481] [7/8/9 Regression] Endless loop with optimisation in C++17

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87481 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Mar 22 14:40:59 2019 New Revision: 269874 URL: https://gcc.gnu.org/viewcvs?rev=269874&root=gcc&view=rev Log: PR c++/87481 * doc/invoke.texi (-fconstexpr-ops-limit=): D

[Bug ada/89583] GNAT.Sockets.Bind_Socket fails with IPv4 address

2019-03-22 Thread pmderodat at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89583 --- Comment #1 from pmderodat at gcc dot gnu.org --- Author: pmderodat Date: Fri Mar 22 13:59:02 2019 New Revision: 269873 URL: https://gcc.gnu.org/viewcvs?rev=269873&root=gcc&view=rev Log: [Ada] GNAT.Sockets: fix recent regressions The support

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > (In reply to Piotr Nycz from comment #5) > > CLANG with its std-lib correctly (IMO) does not compile it. > > As explained above, GCC is already correct here.

[Bug c++/89785] Incorrect "not a constant expression" error with switch statement that returns

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89785 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 --- Comment #6 from Jonathan Wakely --- (In reply to Piotr Nycz from comment #5) > CLANG with its std-lib correctly (IMO) does not compile it. As explained above, GCC is already correct here. > I understand this is UB - but implementation might

[Bug c++/89793] Implicit conversion to std::string is ambiguous on GCC 8.2 but not GCC 7.3

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89793 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #

[Bug libstdc++/78830] std::prev accepts ForwardIterator-s

2019-03-22 Thread piotrwn1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78830 Piotr Nycz changed: What|Removed |Added CC||piotrwn1 at gmail dot com --- Comment #5 fr

[Bug c++/89793] Implicit conversion to std::string is ambiguous on GCC 8.2 but not GCC 7.3

2019-03-22 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89793 --- Comment #6 from Harald van Dijk --- (In reply to Jonathan Wakely from comment #4) > (In reply to Harald van Dijk from comment #1) > > This appears to work the same way in GCC 8 as it does in GCC 7, although it > > is possible that for whateve

[Bug c++/89793] Implicit conversion to std::string is ambiguous on GCC 8.2 but not GCC 7.3

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89793 --- Comment #5 from Jonathan Wakely --- Minimal testcase: struct allocator { }; struct string { string(const string&); string(const allocator&); }; struct NotString : allocator { }; struct String { operator string() const; operator No

[Bug c++/89793] Implicit conversion to std::string is ambiguous on GCC 8.2 but not GCC 7.3

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89793 --- Comment #4 from Jonathan Wakely --- (In reply to Harald van Dijk from comment #1) > Your StringType provides a conversion operator to HTTPResponse, which > indirectly has std::allocator as a private base class. Overload > resolution happens b

[Bug c++/89793] Implicit conversion to std::string is ambiguous on GCC 8.2 but not GCC 7.3

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89793 --- Comment #3 from Jonathan Wakely --- I haven't analysed whether it's valid yet, but it started to fail with r258755 PR c++/81311 - wrong C++17 overload resolution. * call.c (build_user_type_conversion_1): Remove C++17

[Bug c++/89780] -Wpessimizing-move is too agressive with templates and recommends pessimization

2019-03-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89780 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #31 from Jakub Jelinek --- (In reply to Ramana Radhakrishnan from comment #30) > (In reply to Jakub Jelinek from comment #29) > > Ramana, any progress on this? > > I'm still trying to get the various spec files and the t-multilib bit

[Bug rtl-optimization/89795] New: wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-03-22 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 Bug ID: 89795 Summary: wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-cod

[Bug rtl-optimization/89794] New: wrong code with -Og -fno-forward-propagate

2019-03-22 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89794 Bug ID: 89794 Summary: wrong code with -Og -fno-forward-propagate Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority:

[Bug c++/89781] Misleading error messages when initializing a static data member in-class

2019-03-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89781 --- Comment #2 from Jonathan Wakely --- Yeah I guess the diagnostics could be improved for C++17 and up to say that using 'inline' would make it valid.

[Bug tree-optimization/89789] [9 Regression] Compile time hog during RPO VN

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89789 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/89784] Missing AVX512 intrinsics

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89784 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/88918] [meta-bug] x86 intrinsic issues

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88918 Bug 88918 depends on bug 89784, which changed state. Bug 89784 Summary: Missing AVX512 intrinsics https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89784 What|Removed |Added --

[Bug c++/89781] Misleading error messages when initializing a static data member in-class

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89781 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/89512] [7/8 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:882

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89512 Jakub Jelinek changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in

[Bug c++/89512] [7/8/9 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:882

2019-03-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89512 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|jakub at gcc

[Bug c++/80559] Duplicate "template argument x is invalid" diagnostics

2019-03-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80559 Paolo Carlini changed: What|Removed |Added Keywords|error-recovery, |diagnostic |ice-on-inv

[Bug c++/89793] Implicit conversion to std::string is ambiguous on GCC 8.2 but not GCC 7.3

2019-03-22 Thread duyang.seu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89793 --- Comment #2 from du yang --- Created attachment 46009 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46009&action=edit GCC 7.3.1 source file dump GCC version: gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) System Type: CentOS Linu

[Bug target/89784] Missing AVX512 intrinsics

2019-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89784 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Mar 22 10:08:40 2019 New Revision: 269868 URL: https://gcc.gnu.org/viewcvs?rev=269868&root=gcc&view=rev Log: PR target/89784 * config/i386/i386.c (enum ix86_builtins):

[Bug c++/60702] thread_local initialization

2019-03-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #11 f

[Bug c++/89793] Implicit conversion to std::string is ambiguous on GCC 8.2 but not GCC 7.3

2019-03-22 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89793 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug middle-end/89790] [9 Regression] ICE segfault in operand_equal_p() at fold-const.c:3000 with -Wduplicated-cond since r269838

2019-03-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89790 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/89784] Missing AVX512 intrinsics

2019-03-22 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89784 Hongtao.liu changed: What|Removed |Added Attachment #46007|0 |1 is obsolete|