[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-15 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-15 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 --- Comment #5 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:eef65c474e6836cc0470eb84f28895050161fcb8 commit r10-6657-geef65c474e6836cc0470eb84f28895050161fcb8 Author: Marek Polacek Date:

[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 --- Comment #3 from Marek Polacek --- For the whole testcase with the patch we generate: 93710-2.C:6:3: error: conversion from ‘long int’ to ‘A’ is ambiguous 6 | 0L, | ^~ 93710-2.C:1:21: note: candidate: ‘A::A(char*)’ 1 |

[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 --- Comment #2 from Marek Polacek --- With --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -4172,8 +4172,9 @@ build_user_type_conversion_1 (tree totype, tree expr, int flags, if (complain & tf_error) { auto_diagnostic_group d; -

[Bug c++/93710] poor location in diagnostics of messages about array initializers

2020-02-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710 Marek Polacek changed: What|Removed |Added Keywords||diagnostic