haoxintu
haoxintu
I see. The bytes when allocating a stack is fixed? I mean when I run this code in GCC, the index of 6 is the trigging one.
Hi, is this a bug or not?
Hi, is this a bug or not?
hi, Lebedev, thanks for your quick response. I have noticed that exponent is too large, but might clang has a default solution to deal with it in case of the...
So sorry, it's a mistake by me. in clang++-8 is like this ```console $clang++-8 -fsanitize=null test.cc ; ./a.out test.cc:4:14: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference]...
> just print "inf" to "0/0" Sorry, by a mistake, print "nan" to "0/0" and "inf" to "1/0".
Take a look at this case in float-divide-by-zero `test4.cc` ```cpp #include int main () { float a = 1/0.0; std::cout
> Do you mean it doesn't matter to the program? Or that you personally don't > care what value the compiler chooses? I think I get your point. The reason...
> > UndefinedBehaviorSanitizer: FPE on unknown address 0x000000431817 > > This means your program crashed... which is what naturally happens on x86 > when a "div" instruction that divides by...
Hi. Add a more test case cased by this issue. $cat test.cc extern "C" { template < typename >; } Clang just accepts this without any diagnostic in "template with...