This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4 PATCH] PR 16693: TYPE_PRECISION of C++ enums


Roger Sayle wrote:

My proposal is to commit this to the gcc-3_4-branch, and once
testing has completed, also to mainline.

OK, thanks!

Then on mainline use an
extra bit in a type to distinguish "extended" from "paradoxical"
fractional integers (where TYPE_PRECISION(t) < GET_MODE_BITSIZE)
to differentiate C++ enums from scalarized C/C++ bitfields.


I'm sure not going to try to stop you -- but depending on how the debate comes out, it may be that your current fix needs to stay in permanently, so I wouldn't commit yourself to too much effort up front.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]