mc-imperial / dredd

Framework for evaluating C/C++ compiler testing tools
Apache License 2.0
11 stars 3 forks source link

DREDD injects header before Feature Test Macro #215

Closed JonathanFoo0523 closed 1 month ago

JonathanFoo0523 commented 7 months ago

Minimal Reproducible Example (Produced with CReduce):

#define _GNU_SOURCE
#include <sys/mman.h>
void main() {
  size_t a = 4096;
  mremap;
}

Environment

JonathanFoo0523 commented 7 months ago

Information about feature_test_macro and list of known feature_test_macro can be found here