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]

C++ PATCH to stop folding constants to their values in convert_like_real


Something that was missed previously in the delayed folding work:
there's no good reason to be pulling values out of constants in
convert_like_real.

With that fixed, I needed to change cp_fully_fold to use
cp_fold_rvalue so that it would properly pull out constant values in
C++98 mode.

Tested x86_64-pc-linux-gnu, applying to trunk.

Attachment: conv-fold.diff
Description: Text document


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