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: RFA (fold): PATCH for c++/49290 (folding *(T*)(ar+10))


On 06/07/2011 06:19 AM, Richard Guenther wrote:
I _think_ that you can unconditionally change the code to do

   TYPE_MAIN_VARIANT (t1) == TYPE_MAIN_VARIANT (t2)
   &&  TYPE_QUALS (t1) == TYPE_QUALS (t2)

now, I'm not sure if for the testcase T and unsigned differ in qualifiers.
Do they?

Hmm, I think with the changes I made to the testcase they end up with the same qualifiers. But for constexpr I need to handle them having different qualifiers, too.


Jason


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