aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/sm-sensitive.cc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-12-14 14:12:45 +0100
committerThomas Schwinge <thomas@codesourcery.com>2023-12-14 14:15:46 +0100
commit65e41f4fbfc539c5cc429c684176f8ea39f4b8f2 (patch)
tree7ffb2de5c7974f042f6e867564f9a02d7e59821e /gcc/analyzer/sm-sensitive.cc
parent725fb3595622a4ad8cd078a42fab1c395cbf90cb (diff)
downloadgcc-65e41f4fbfc539c5cc429c684176f8ea39f4b8f2.zip
gcc-65e41f4fbfc539c5cc429c684176f8ea39f4b8f2.tar.gz
gcc-65e41f4fbfc539c5cc429c684176f8ea39f4b8f2.tar.bz2
In 'gcc/gimple-ssa-sccopy.cc', '#define INCLUDE_ALGORITHM' instead of '#include <algorithm>'
... to avoid issues such as: In file included from [...]/lib/gcc/i686-pc-linux-gnu/5.2.0/include/xmmintrin.h:34:0, from [...]/lib/gcc/i686-pc-linux-gnu/5.2.0/include/x86intrin.h:31, from [...]/i686-pc-linux-gnu/include/c++/5.2.0/i686-pc-linux-gnu/64/bits/opt_random.h:33, from [...]/i686-pc-linux-gnu/include/c++/5.2.0/random:50, from [...]/i686-pc-linux-gnu/include/c++/5.2.0/bits/stl_algo.h:66, from [...]/i686-pc-linux-gnu/include/c++/5.2.0/algorithm:62, from [...]/source-gcc/gcc/gimple-ssa-sccopy.cc:32: [...]/lib/gcc/i686-pc-linux-gnu/5.2.0/include/mm_malloc.h:42:12: error: attempt to use poisoned "malloc" return malloc (size); ^ make[2]: *** [Makefile:1197: gimple-ssa-sccopy.o] Error 1 Minor fix-up for commit cd794c3961017703a4d2ca0e854ea23b3d4b6373 "A new copy propagation and PHI elimination pass". gcc/ * gimple-ssa-sccopy.cc: '#define INCLUDE_ALGORITHM' instead of '#include <algorithm>'.
Diffstat (limited to 'gcc/analyzer/sm-sensitive.cc')
0 files changed, 0 insertions, 0 deletions