https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #13 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org ---
Author: paolo
Date: Thu Aug 7 19:51:28 2014
New Revision: 213736
URL: https://gcc.gnu.org/viewcvs?rev=213736root=gccview=rev
Log:
/cp
2014-08-07 Paolo Carlini
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #11 from Paolo Carlini paolo.carlini at oracle dot com ---
I'm having a look at the issue and it seems rather different than I (we)
thought. Suffices to say that it does not affect constexpr non-operator member
functions, and that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #12 from Paolo Carlini paolo.carlini at oracle dot com ---
build_expr_type_conversion is the answer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|NEW |ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #9 from Marc Glisse glisse at gcc dot gnu.org ---
(In reply to Paolo Carlini from comment #6)
Marc, are you going to send your patch to the mailing list (CC Jason)?
Sorry, I don't remember this patch at all. I may try again to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #7 from Paolo Carlini paolo.carlini at oracle dot com ---
Uhm, it occurs to me that we may also play with moving up the code we already
have a few line below handling ENUM_UNDERLYING_TYPE (enumtype): if convert is
called first on the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com ---
... but then value isn't yet an INTEGER_CST and we can't use int_fits_type_p...
Still, something seems redundant between an early conversion and the final
convert.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com ---
Marc, are you going to send your patch to the mailing list (CC Jason)? I note
that current clang too for enum_base.C issues the narrowing diagnostic: as-is
patch seems already
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #5 from Marc Glisse marc.glisse at normalesup dot org 2012-04-29
14:12:12 UTC ---
Created attachment 27261
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27261
build_enumerator patch
Changes the behavior on
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Depends on||27403
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Keywords||rejects-valid
12 matches
Mail list logo