https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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: We
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
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 | struc
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;
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93710
Marek Polacek changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRME