2 long double related bugs(?) in mob [Sun, 21 Jul 2019 15:14:58 -0400 (21 21:14 +0200)]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

2 long double related bugs(?) in mob [Sun, 21 Jul 2019 15:14:58 -0400 (21 21:14 +0200)]

UnknownGamer40464 .
1. The below example triggers "error: type match twice" even when double and long double have differing DIG:

_Generic((3.14),
    long double: puts("ld"),
    double: puts("d"),
    default: puts("idk")
);

2. Using fabsl after including math.h results in "TCCFILEPATH/include/math.h:203: error: unknown constraint 't'"

This was tested on Win10 personal Version 10.0.17134 Build 17134
System Type x64-based PC
Processor Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz, 2000 Mhz, 2 Core(s), 2 Logical Processor(s)

These exist in the mob branch, at current change:

Sun, 21 Jul 2019 15:14:58 -0400 (21 21:14 +0200)

on both -m64 and -m32 settings.

_______________________________________________
Tinycc-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel