aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ifcombine.cc
diff options
context:
space:
mode:
authorMarc Poulhiès <poulhies@adacore.com>2023-11-06 12:01:17 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-12-07 14:29:59 +0100
commit45eb2c703c02fa2a5467efcdfb27692df37e4d75 (patch)
tree9eb97012ea84bc08315f2a89e375ae159dd070df /gcc/tree-ssa-ifcombine.cc
parent249404649d26f544d1ad6808625807532c2b6a42 (diff)
downloadgcc-45eb2c703c02fa2a5467efcdfb27692df37e4d75.zip
gcc-45eb2c703c02fa2a5467efcdfb27692df37e4d75.tar.gz
gcc-45eb2c703c02fa2a5467efcdfb27692df37e4d75.tar.bz2
testsuite: refine gcc.dg/analyzer/fd-4.c test for newlib
Contrary to glibc, including stdio.h from newlib defines mode_t which conflicts with the test's type definition. .../gcc/testsuite/gcc.dg/analyzer/fd-4.c:19:3: error: redefinition of typedef 'mode_t' with different type ... .../include/sys/types.h:189:25: note: previous declaration of 'mode_t' with type 'mode_t' {aka 'unsigned int'} Defining _MODE_T_DECLARED skips the type definition. gcc/testsuite/ChangeLog: * gcc.dg/analyzer/fd-4.c: Fix for newlib.
Diffstat (limited to 'gcc/tree-ssa-ifcombine.cc')
0 files changed, 0 insertions, 0 deletions