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]

fix builtin-math-2.c on fma targets


The existing test scans for the fma builtins remaining.  Unfortunately,
if fma is supported on the target we've already folded these to FMA_EXPR.

Fixed by adjusting the test case to make sure that (1) FMA_EXPR folds to
a constant, proving that (2) FMA_EXPR with overflowing constants tests
what we intend to test.

Tested on ia64-linux with all fma patches applied.  Committed.


r~

Attachment: z
Description: Text document


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