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]

[fortran,patch] Fix PR 36186, wrong handling of BOZ in CMPLX


Attached patch fixes handling of BOZ in CMPLX, DCMPLX and COMPLEX: when they're not simplified (for example because only *one* arg is a constant or BOZ), the one argument that's a BOZ is then never converted. This now takes place in the simplification routine, before bailing out, because it's the simplest place to do so. Due to that, we also accepted invalid too-large BOZ.

Bootstrapped and regtested on x86_64-linux, coming with two testcases. OK to commit?

FX


-- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/

Attachment: pr36186.ChangeLog
Description: Binary data

Attachment: pr36186.diff
Description: Binary data


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