gcc-15.0.1-0.14.fc43

List of Findings

Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:90:13: warning[SC2089]: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.
#   88|   //*)
#   89|       # On an Apollo, discard everything before `/usr'.
#   90|->     PWDCMD="eval pwd | sed -e 's,.*/usr/,/usr/,'"
#   91|       ;;
#   92|   esac

Error: SHELLCHECK_WARNING (CWE-569): [#def2]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:95:10: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#   93|   
#   94|   # Original directory.
#   95|-> ORIGDIR=`${PWDCMD}`
#   96|   export ORIGDIR
#   97|   FIXINCL=`${PWDCMD}`/fixincl

Error: SHELLCHECK_WARNING (CWE-569): [#def3]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:97:10: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#   95|   ORIGDIR=`${PWDCMD}`
#   96|   export ORIGDIR
#   97|-> FIXINCL=`${PWDCMD}`/fixincl
#   98|   if [ ! -x $FIXINCL ] ; then
#   99|     echo "Cannot find fixincl" >&2

Error: SHELLCHECK_WARNING (CWE-252): [#def4]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:109:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  107|       ;;
#  108|   *)
#  109|->     cd $LIB; LIB=`${PWDCMD}`
#  110|       ;;
#  111|   esac

Error: SHELLCHECK_WARNING (CWE-569): [#def5]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:109:19: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  107|       ;;
#  108|   *)
#  109|->     cd $LIB; LIB=`${PWDCMD}`
#  110|       ;;
#  111|   esac

Error: SHELLCHECK_WARNING (CWE-569): [#def6]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:178:15: warning[SC2124]: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
#  176|       INPUTLIST="/usr/include"
#  177|   else
#  178|->     INPUTLIST="$@"
#  179|   fi
#  180|   

Error: SHELLCHECK_WARNING (CWE-252): [#def7]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:183:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  181|   for INPUT in ${INPUTLIST} ; do
#  182|   
#  183|-> cd ${ORIGDIR}
#  184|   
#  185|   #  Make sure a directory exists before changing into it,

Error: SHELLCHECK_WARNING (CWE-252): [#def8]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:191:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  189|     continue
#  190|   fi
#  191|-> cd ${INPUT}
#  192|   
#  193|   INPUT=`${PWDCMD}`

Error: SHELLCHECK_WARNING (CWE-569): [#def9]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:193:8: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  191|   cd ${INPUT}
#  192|   
#  193|-> INPUT=`${PWDCMD}`
#  194|   export INPUT
#  195|   

Error: SHELLCHECK_WARNING (CWE-569): [#def10]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:261:9: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  259|   fi
#  260|   
#  261|-> OLDDIR=`${PWDCMD}`
#  262|   cd $LIB
#  263|   echo "$all_dirs" | xargs mkdir -p

Error: SHELLCHECK_WARNING (CWE-252): [#def11]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:262:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  260|   
#  261|   OLDDIR=`${PWDCMD}`
#  262|-> cd $LIB
#  263|   echo "$all_dirs" | xargs mkdir -p
#  264|   cd ${OLDDIR}

Error: SHELLCHECK_WARNING (CWE-252): [#def12]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:264:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  262|   cd $LIB
#  263|   echo "$all_dirs" | xargs mkdir -p
#  264|-> cd ${OLDDIR}
#  265|   
#  266|   mkdir $LIB/root

Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:278:3: warning[SC2034]: cwd appears unused. Verify use (or export if used externally).
#  276|     if test $VERBOSE -gt 1
#  277|     then echo 'Making symbolic directory links' ; fi
#  278|->   cwd=`${PWDCMD}`
#  279|   
#  280|     for sym_link in $search_dirs; do

Error: SHELLCHECK_WARNING (CWE-569): [#def14]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:278:8: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  276|     if test $VERBOSE -gt 1
#  277|     then echo 'Making symbolic directory links' ; fi
#  278|->   cwd=`${PWDCMD}`
#  279|   
#  280|     for sym_link in $search_dirs; do

Error: SHELLCHECK_WARNING (CWE-252): [#def15]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:281:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  279|   
#  280|     for sym_link in $search_dirs; do
#  281|->     cd ${INPUT}
#  282|       dest=`ls -ld ${sym_link} | sed -n 's/.*-> //p'`
#  283|   

Error: SHELLCHECK_WARNING (CWE-252): [#def16]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:286:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  284|       # In case $dest is relative, get to ${sym_link}'s dir first.
#  285|       #
#  286|->     cd ./`echo ${sym_link} | sed 's;/[^/]*$;;'`
#  287|   
#  288|       # Check that the target directory exists.

Error: SHELLCHECK_WARNING (CWE-156): [#def17]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:286:10: warning[SC2046]: Quote this to prevent word splitting.
#  284|       # In case $dest is relative, get to ${sym_link}'s dir first.
#  285|       #
#  286|->     cd ./`echo ${sym_link} | sed 's;/[^/]*$;;'`
#  287|   
#  288|       # Check that the target directory exists.

Error: SHELLCHECK_WARNING (CWE-252): [#def18]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:291:6: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  289|       # Redirections changed to avoid bug in sh on Ultrix.
#  290|       #
#  291|->     (cd $dest) > /dev/null 2>&1
#  292|       if [ $? = 0 ]; then
#  293|         cd $dest

Error: SHELLCHECK_WARNING (CWE-252): [#def19]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:293:7: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  291|       (cd $dest) > /dev/null 2>&1
#  292|       if [ $? = 0 ]; then
#  293|->       cd $dest
#  294|   
#  295|         # full_dest_dir gets the dir that the link actually leads to.

Error: SHELLCHECK_WARNING (CWE-569): [#def20]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:297:22: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  295|         # full_dest_dir gets the dir that the link actually leads to.
#  296|         #
#  297|->       full_dest_dir=`${PWDCMD}`
#  298|   
#  299|         # Canonicalize ${INPUT} now to minimize the time an

Error: SHELLCHECK_WARNING (CWE-252): [#def21]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:302:15: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  300|         # automounter has to change the result of ${PWDCMD}.
#  301|         #
#  302|->       cinput=`cd ${INPUT}; ${PWDCMD}`
#  303|   
#  304|         # If a link points to ., make a similar link to .

Error: SHELLCHECK_WARNING (CWE-569): [#def22]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:302:28: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  300|         # automounter has to change the result of ${PWDCMD}.
#  301|         #
#  302|->       cinput=`cd ${INPUT}; ${PWDCMD}`
#  303|   
#  304|         # If a link points to ., make a similar link to .

Error: SHELLCHECK_WARNING (CWE-398): [#def23]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:309:16: warning[SC2115]: Use "${var:?}" to ensure this never expands to / .
#  307|           if test $VERBOSE -gt 2
#  308|           then echo ${sym_link} '->' . ': Making self link' ; fi
#  309|->         rm -fr ${LIB}/${sym_link} > /dev/null 2>&1
#  310|           ln -s . ${LIB}/${sym_link} > /dev/null 2>&1
#  311|   

Error: SHELLCHECK_WARNING (CWE-398): [#def24]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:323:16: warning[SC2115]: Use "${var:?}" to ensure this never expands to / .
#  321|           if test $VERBOSE -gt 2
#  322|           then echo ${sym_link} '->' $dots$y ': Making local link' ; fi
#  323|->         rm -fr ${LIB}/${sym_link} > /dev/null 2>&1
#  324|           ln -s $dots$y ${LIB}/${sym_link} > /dev/null 2>&1
#  325|   

Error: SHELLCHECK_WARNING (CWE-252): [#def25]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:340:11: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  338|             dirname=root${full_dest_dir}/
#  339|             dirmade=.
#  340|->           cd $LIB
#  341|             while [ x$dirname != x ]; do
#  342|               component=`echo $dirname | sed -e 's|/.*$||'`

Error: SHELLCHECK_WARNING (CWE-252): [#def26]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:344:13: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  342|               component=`echo $dirname | sed -e 's|/.*$||'`
#  343|               mkdir $component >/dev/null 2>&1
#  344|->             cd $component
#  345|               dirmade=$dirmade/$component
#  346|               dirname=`echo $dirname | sed -e 's|[^/]*//*||'`

Error: SHELLCHECK_WARNING (CWE-252): [#def27]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:374:17: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  372|           #
#  373|           parent=`echo "${sym_link}" | sed -e 's@/[^/]*$@@'`
#  374|->         libabs=`cd ${LIB}; ${PWDCMD}`
#  375|           file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"`
#  376|   

Error: SHELLCHECK_WARNING (CWE-569): [#def28]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:374:28: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  372|           #
#  373|           parent=`echo "${sym_link}" | sed -e 's@/[^/]*$@@'`
#  374|->         libabs=`cd ${LIB}; ${PWDCMD}`
#  375|           file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"`
#  376|   

Error: SHELLCHECK_WARNING (CWE-252): [#def29]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:375:16: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  373|           parent=`echo "${sym_link}" | sed -e 's@/[^/]*$@@'`
#  374|           libabs=`cd ${LIB}; ${PWDCMD}`
#  375|->         file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"`
#  376|   
#  377|           # DOTS is the relative path from ${LIB}/${sym_link} back to ${LIB}.

Error: SHELLCHECK_WARNING (CWE-252): [#def30]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:375:27: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  373|           parent=`echo "${sym_link}" | sed -e 's@/[^/]*$@@'`
#  374|           libabs=`cd ${LIB}; ${PWDCMD}`
#  375|->         file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"`
#  376|   
#  377|           # DOTS is the relative path from ${LIB}/${sym_link} back to ${LIB}.

Error: SHELLCHECK_WARNING (CWE-569): [#def31]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:375:39: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  373|           parent=`echo "${sym_link}" | sed -e 's@/[^/]*$@@'`
#  374|           libabs=`cd ${LIB}; ${PWDCMD}`
#  375|->         file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"`
#  376|   
#  377|           # DOTS is the relative path from ${LIB}/${sym_link} back to ${LIB}.

Error: SHELLCHECK_WARNING (CWE-398): [#def32]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:380:16: warning[SC2115]: Use "${var:?}" to ensure this never expands to / .
#  378|           #
#  379|           dots=`echo "$file2" | sed -e 's@/[^/]*@../@g'`
#  380|->         rm -fr ${LIB}/${sym_link} > /dev/null 2>&1
#  381|           ln -s ${dots}root${full_dest_dir} ${LIB}/${sym_link} > /dev/null 2>&1
#  382|           treetops="$treetops ${sym_link} ${LIB}/root${full_dest_dir}"

Error: SHELLCHECK_WARNING (CWE-456): [#def33]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:391:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  389|   #
#  390|   required=
#  391|-> set x $treetops
#  392|   shift
#  393|   while [ $# != 0 ]; do

Error: SHELLCHECK_WARNING (CWE-252): [#def34]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:396:11: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  394|     # $1 is an old directory to copy, and $2 is the new directory to copy to.
#  395|     #
#  396|->   SRCDIR=`cd ${INPUT} ; cd $1 ; ${PWDCMD}`
#  397|     export SRCDIR
#  398|   

Error: SHELLCHECK_WARNING (CWE-252): [#def35]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:396:25: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  394|     # $1 is an old directory to copy, and $2 is the new directory to copy to.
#  395|     #
#  396|->   SRCDIR=`cd ${INPUT} ; cd $1 ; ${PWDCMD}`
#  397|     export SRCDIR
#  398|   

Error: SHELLCHECK_WARNING (CWE-569): [#def36]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:396:33: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  394|     # $1 is an old directory to copy, and $2 is the new directory to copy to.
#  395|     #
#  396|->   SRCDIR=`cd ${INPUT} ; cd $1 ; ${PWDCMD}`
#  397|     export SRCDIR
#  398|   

Error: SHELLCHECK_WARNING (CWE-252): [#def37]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:403:12: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  401|     shift
#  402|   
#  403|->   DESTDIR=`cd $1;${PWDCMD}`
#  404|     export DESTDIR
#  405|     shift

Error: SHELLCHECK_WARNING (CWE-569): [#def38]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:403:18: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#  401|     shift
#  402|   
#  403|->   DESTDIR=`cd $1;${PWDCMD}`
#  404|     export DESTDIR
#  405|     shift

Error: SHELLCHECK_WARNING (CWE-252): [#def39]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:419:3: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  417|     # Check files which are symlinks as well as those which are files.
#  418|     #
#  419|->   cd ${INPUT}
#  420|     required="$required `if $LINKS; then
#  421|       find ${FIND_BASE}/. -name '*.h' \( -type f -o -type l \) -print

Error: SHELLCHECK_WARNING (CWE-456): [#def40]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:433:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  431|   ## we might end up deleting some of these files "because they don't
#  432|   ## need any change."
#  433|-> set x `echo $required`
#  434|   shift
#  435|   while [ $# != 0 ]; do

Error: SHELLCHECK_WARNING (CWE-156): [#def41]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:433:7: warning[SC2046]: Quote this to prevent word splitting.
#  431|   ## we might end up deleting some of these files "because they don't
#  432|   ## need any change."
#  433|-> set x `echo $required`
#  434|   shift
#  435|   while [ $# != 0 ]; do

Error: SHELLCHECK_WARNING (CWE-252): [#def42]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:442:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  440|       # $3 is the fixed file name.
#  441|       #
#  442|->     cd ${INPUT}
#  443|       cd $1
#  444|       if [ -f $2 ] ; then

Error: SHELLCHECK_WARNING (CWE-252): [#def43]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:443:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  441|       #
#  442|       cd ${INPUT}
#  443|->     cd $1
#  444|       if [ -f $2 ] ; then
#  445|         if [ -r $2 ] && [ ! -r $3 ]; then

Error: SHELLCHECK_WARNING (CWE-456): [#def44]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:462:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  460|       shift; shift; shift
#  461|     done
#  462|->   set x $newreq
#  463|     shift
#  464|   done

Error: SHELLCHECK_WARNING (CWE-252): [#def45]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:468:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  466|   if test $VERBOSE -gt 2
#  467|   then echo 'Cleaning up DONE files.' ; fi
#  468|-> cd $LIB
#  469|   # Look for files case-insensitively, for the benefit of
#  470|   # DOS/Windows filesystems.

Error: SHELLCHECK_WARNING (CWE-252): [#def46]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:475:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  473|   if test $VERBOSE -gt 1
#  474|   then echo 'Cleaning up unneeded directories:' ; fi
#  475|-> cd $LIB
#  476|   all_dirs=`find . -type d \! -name '.' -print | sort -r`
#  477|   for file in $all_dirs; do

Error: SHELLCHECK_WARNING (CWE-156): [#def47]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:497:13: warning[SC2046]: Quote this to prevent word splitting.
#  495|         rm -f $file
#  496|         test $VERBOSE -gt 3 && echo "  removed $file"
#  497|->       rmdir `dirname $file` > /dev/null && \
#  498|              test $VERBOSE -gt 3 && \
#  499|              echo "  removed `dirname $file`"

Error: SHELLCHECK_WARNING (CWE-398): [#def48]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/fixinc.sh:505:26: warning[SC1010]: Use semicolon or linefeed before 'done' (or quote to make it literal).
#  503|   
#  504|   if test $VERBOSE -gt 0
#  505|-> then echo fixincludes is done ; fi
#  506|   
#  507|   # # # # # # # # # # # # # # # # # # # # #

Error: SHELLCHECK_WARNING: [#def49]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:33:12: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
#   31|       -h | --help | --h*)         # -h for help
#   32|         echo "$usage"
#   33|->       exit $?
#   34|         ;;
#   35|       -m)                         # -m PERM arg

Error: SHELLCHECK_WARNING: [#def50]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:43:12: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
#   41|       --version)
#   42|         echo "$0 $scriptversion"
#   43|->       exit $?
#   44|         ;;
#   45|       --)                         # stop option processing

Error: SHELLCHECK_WARNING (CWE-277): [#def51]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:93:14: warning[SC2174]: When used with -p, -m only applies to the deepest directory.
#   91|       ;;
#   92|     *)
#   93|->     if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
#   94|          test ! -d ./--version; then
#   95|         echo "mkdir -m $dirmode -p -- $*"

Error: SHELLCHECK_WARNING (CWE-456): [#def52]
/usr/libexec/gcc/x86_64-redhat-linux/15/install-tools/mkinstalldirs:115:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  113|     oIFS=$IFS
#  114|     IFS=/
#  115|->   set fnord $file
#  116|     shift
#  117|     IFS=$oIFS

Error: COMPILER_WARNING (CWE-457): [#def53]
gcc-15.0.1-20250418/gcc/ada/treepr.adb: scope_hint: In function ‘Treepr.Print_Node’
gcc-15.0.1-20250418/gcc/ada/treepr.adb:1331:12: warning[-Wmaybe-uninitialized]: ‘Should_Print’ may be used uninitialized
gcc-15.0.1-20250418/gcc/ada/treepr.adb:1327:10: note: ‘Should_Print’ declared here
# 1329|              --  already printed above, and for In_List, which we don't bother
# 1330|              --  printing.
# 1331|->            (F_Nkind
# 1332|               | F_Chars
# 1333|               | F_Comes_From_Source

Error: COMPILER_WARNING (CWE-134): [#def54]
gcc-15.0.1-20250418/gcc/analyzer/program-state.cc: scope_hint: In function ‘void ana::log_set_of_svalues(logger*, const char*, const svalue_set&)’
gcc-15.0.1-20250418/gcc/analyzer/program-state.cc:1597:15: warning[-Wformat-security]: format not a string literal and no format arguments
# 1597 |   logger->log (name);
#      |   ~~~~~~~~~~~~^~~~~~
# 1595|   		    const svalue_set &set)
# 1596|   {
# 1597|->   logger->log (name);
# 1598|     logger->inc_indent ();
# 1599|     auto_vec<const svalue *> sval_vecs (set.elements ());

Error: COMPILER_WARNING (CWE-134): [#def55]
gcc-15.0.1-20250418/gcc/c-family/c-common.cc: scope_hint: In function ‘void c_parse_error(const char*, cpp_ttype, tree, unsigned char, rich_location*)’
gcc-15.0.1-20250418/gcc/c-family/c-common.cc:6948:14: warning[-Wformat-security]: format not a string literal and no format arguments
# 6948 |     error_at (richloc, gmsgid);
#      |     ~~~~~~~~~^~~~~~~~~~~~~~~~~
# 6946|       }
# 6947|     else
# 6948|->     error_at (richloc, gmsgid);
# 6949|   
# 6950|     if (message)

Error: COMPILER_WARNING (CWE-134): [#def56]
gcc-15.0.1-20250418/gcc/c-family/c-common.cc:6952:16: warning[-Wformat-security]: format not a string literal and no format arguments
# 6952 |       error_at (richloc, message);
#      |       ~~~~~~~~~^~~~~~~~~~~~~~~~~~
# 6950|     if (message)
# 6951|       {
# 6952|->       error_at (richloc, message);
# 6953|         free (message);
# 6954|       }

Error: CPPCHECK_WARNING (CWE-562): [#def57]
gcc-15.0.1-20250418/gcc/c-family/c-omp.cc:1444: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1442|     hash_set<tree> pset;
# 1443|     hash_set<tree> *ppset = d->ppset;
# 1444|->   d->ppset = &pset;
# 1445|   
# 1446|     tree t = *tp;

Error: COMPILER_WARNING (CWE-134): [#def58]
gcc-15.0.1-20250418/gcc/c-family/c-warn.cc: scope_hint: In function ‘void do_warn_array_compare(location_t, tree_code, tree, tree)’
gcc-15.0.1-20250418/gcc/c-family/c-warn.cc:3853:23: warning[-Wformat-security]: format not a string literal and no format arguments
# 3853 |   if (emit_diagnostic (kind, location, OPT_Warray_compare, msg))
#      |       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3851|     else
# 3852|       msg = G_("comparison between two arrays");
# 3853|->   if (emit_diagnostic (kind, location, OPT_Warray_compare, msg))
# 3854|       {
# 3855|         /* C doesn't allow +arr.  */

Error: COMPILER_WARNING (CWE-134): [#def59]
gcc-15.0.1-20250418/gcc/c/c-convert.cc: scope_hint: In function ‘tree_node* c_convert(tree, tree, bool)’
gcc-15.0.1-20250418/gcc/c/c-convert.cc:84:13: warning[-Wformat-security]: format not a string literal and no format arguments
#   84 |       error (invalid_conv_diag);
#      |       ~~~~~~^~~~~~~~~~~~~~~~~~~
#   82|          = targetm.invalid_conversion (TREE_TYPE (expr), type)))
#   83|       {
#   84|->       error (invalid_conv_diag);
#   85|         return error_mark_node;
#   86|       }

Error: COMPILER_WARNING (CWE-134): [#def60]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘int convert_arguments(location_t, vec<long unsigned int>, tree, vec<tree_node*, va_gc>*, vec<tree_node*, va_gc>*, tree, tree)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:4450:17: warning[-Wformat-security]: format not a string literal and no format arguments
# 4450 |           error (invalid_func_diag);
#      |           ~~~~~~^~~~~~~~~~~~~~~~~~~
# 4448|   		targetm.calls.invalid_arg_for_unprototyped_fn (typelist, fundecl, val)))
# 4449|   	{
# 4450|-> 	  error (invalid_func_diag);
# 4451|   	  return -1;
# 4452|   	}

Error: COMPILER_WARNING (CWE-134): [#def61]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘tree_node* build_unary_op(location_t, tree_code, tree, bool)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:5268:16: warning[-Wformat-security]: format not a string literal and no format arguments
# 5268 |       error_at (location, invalid_op_diag);
#      |       ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 5266|          = targetm.invalid_unary_op (code, TREE_TYPE (xarg))))
# 5267|       {
# 5268|->       error_at (location, invalid_op_diag);
# 5269|         return error_mark_node;
# 5270|       }

Error: COMPILER_WARNING (CWE-134): [#def62]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘void warning_init(location_t, int, const char*)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:7567:23: warning[-Wformat-security]: format not a string literal and no format arguments
# 7567 |   warned = warning_at (exploc, opt, gmsgid);
#      |            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# 7565|   
# 7566|     /* The gmsgid may be a format string with %< and %>. */
# 7567|->   warned = warning_at (exploc, opt, gmsgid);
# 7568|     if (warned)
# 7569|       {

Error: COMPILER_WARNING (CWE-134): [#def63]
gcc-15.0.1-20250418/gcc/c/c-typeck.cc: scope_hint: In function ‘tree_node* build_binary_op(location_t, tree_code, tree, tree, bool)’
gcc-15.0.1-20250418/gcc/c/c-typeck.cc:13757:16: warning[-Wformat-security]: format not a string literal and no format arguments
#13757 |       error_at (location, invalid_op_diag);
#      |       ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#13755|          = targetm.invalid_binary_op (code, type0, type1)))
#13756|       {
#13757|->       error_at (location, invalid_op_diag);
#13758|         return error_mark_node;
#13759|       }

Error: CPPCHECK_WARNING (CWE-476): [#def64]
gcc-15.0.1-20250418/gcc/cfgloop.h:540: error[ctunullpointer]: Null pointer dereference: loop
#  538|   loop_depth (const class loop *loop)
#  539|   {
#  540|->   return vec_safe_length (loop->superloops);
#  541|   }
#  542|   

Error: CPPCHECK_WARNING (CWE-476): [#def65]
gcc-15.0.1-20250418/gcc/cfgloop.h:540: warning[nullPointer]: Possible null pointer dereference: loop
#  538|   loop_depth (const class loop *loop)
#  539|   {
#  540|->   return vec_safe_length (loop->superloops);
#  541|   }
#  542|   

Error: COMPILER_WARNING (CWE-134): [#def66]
gcc-15.0.1-20250418/gcc/collect-utils.cc: scope_hint: In function ‘pex_obj* collect_execute(const char*, char**, const char*, const char*, int, bool, const char*)’
gcc-15.0.1-20250418/gcc/collect-utils.cc:237:21: warning[-Wformat-security]: format not a string literal and no format arguments
#  237 |         fatal_error (input_location, errmsg);
#      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#  235|   	}
#  236|         else
#  237|-> 	fatal_error (input_location, errmsg);
#  238|       }
#  239|   

Error: COMPILER_WARNING (CWE-134): [#def67]
gcc-15.0.1-20250418/gcc/collect2.cc: scope_hint: In function ‘void scan_prog_file(const char*, scanpass, scanfilter)’
gcc-15.0.1-20250418/gcc/collect2.cc:2403:21: warning[-Wformat-security]: format not a string literal and no format arguments
# 2403 |         fatal_error (input_location, errmsg);
#      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
# 2401|   	}
# 2402|         else
# 2403|-> 	fatal_error (input_location, errmsg);
# 2404|       }
# 2405|   

Error: COMPILER_WARNING: [#def68]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc: scope_hint: In function ‘main’
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc:684:13: warning[-Wpedantic]: a member of a structure or union cannot have a variably modified type
#  684 |     int64_t argv_data[kernel_argc];
#      |             ^~~~~~~~~
#  682|     struct argdata
#  683|     {
#  684|->     int64_t argv_data[kernel_argc];
#  685|       char strings[args_size];
#  686|     } *args = device_malloc (sizeof (struct argdata), kernargs_region);

Error: COMPILER_WARNING: [#def69]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc:685:10: warning[-Wpedantic]: a member of a structure or union cannot have a variably modified type
#  685 |     char strings[args_size];
#      |          ^~~~~~~
#  683|     {
#  684|       int64_t argv_data[kernel_argc];
#  685|->     char strings[args_size];
#  686|     } *args = device_malloc (sizeof (struct argdata), kernargs_region);
#  687|   

Error: COMPILER_WARNING (CWE-674): [#def70]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md: scope_hint: In function ‘rtx_def* gen_vec_cmpuv2sidi_exec(rtx, rtx, rtx, rtx, rtx)’
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3788:1: warning[-Winfinite-recursion]: infinite recursion detected
# 3788 |   [(match_operand:DI 0 "register_operand")
#      | ^ ~~~~~~~~~~~~~~~~~~~~~
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3798:15: note: recursive call
# 3798 |     emit_insn (gen_vec_cmpu<mode>di_exec (operands[0], operands[1],
#      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3799 |                                           operands[2], operands[3],
#      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~
# 3800 |                                           operands[4]));
#      |                                           ~~~~~~~~~~~~~
# 3786|   
# 3787|   (define_expand "vec_cmpu<mode>di_exec"
# 3788|->   [(match_operand:DI 0 "register_operand")
# 3789|      (match_operator 1 "gcn_compare_operator"
# 3790|        [(match_operand:V_INT_noQI 2 "gcn_alu_operand")

Error: COMPILER_WARNING (CWE-674): [#def71]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md: scope_hint: In function ‘rtx_def* gen_vec_cmpuv16didi_exec(rtx, rtx, rtx, rtx, rtx)’
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3828:8: warning[-Winfinite-recursion]: infinite recursion detected
# 3828 |              (match_operand:<SCALAR_MODE> 2 "gcn_alu_operand"
#      | ^            ~~~~~~~~~~~~~~~~~~
gcc-15.0.1-20250418/gcc/config/gcn/gcn-valu.md:3798:15: note: recursive call
# 3798 |     emit_insn (gen_vec_cmpu<mode>di_exec (operands[0], operands[1],
#      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3799 |                                           operands[2], operands[3],
#      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~
# 3800 |                                           operands[4]));
#      |                                           ~~~~~~~~~~~~~
# 3826|   	(match_operator:DI 1 "gcn_fp_compare_operator"
# 3827|   	  [(vec_duplicate:V_noQI
# 3828|-> 	     (match_operand:<SCALAR_MODE> 2 "gcn_alu_operand"
# 3829|   							   " Sv, B,Sv,B, A,Sv,B"))
# 3830|   	   (match_operand:V_noQI 3 "gcn_vop3_operand"	   "  v, v, v,v, v, v,v")]))

Error: COMPILER_WARNING (CWE-134): [#def72]
gcc-15.0.1-20250418/gcc/config/gcn/gcn.cc: scope_hint: In function ‘void print_operand(FILE*, rtx, int)’
gcc-15.0.1-20250418/gcc/config/gcn/gcn.cc:7721:19: warning[-Wformat-security]: format not a string literal and no format arguments
# 7721 |           fprintf (file, str);
#      |           ~~~~~~~~^~~~~~~~~~~
# 7719|   	      break;
# 7720|   	    }
# 7721|-> 	  fprintf (file, str);
# 7722|   	  return;
# 7723|   	}

Error: COMPILER_WARNING (CWE-197): [#def73]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/tm.h:23: included_from: Included from here.
gcc-15.0.1-20250418/gcc/backend.h:28: included_from: Included from here.
gcc-15.0.1-20250418/gcc/reginfo.cc:31: included_from: Included from here.
gcc-15.0.1-20250418/gcc/config/gcn/gcn.h:469:44: warning[-Wnarrowing]: narrowing conversion of ‘-1073741824’ from ‘int’ to ‘unsigned int’
#  469 |     {0, 0, 0, NAMED_REG_MASK (EXEC_LO_REG) | NAMED_REG_MASK (EXEC_HI_REG), \
#      |                                            ^
gcc-15.0.1-20250418/gcc/reginfo.cc:113:5: note: in expansion of macro ‘REG_CLASS_CONTENTS’
#  113 |   = REG_CLASS_CONTENTS;
#      |     ^~~~~~~~~~~~~~~~~~
#  467|        0, 0, 0, 0, 0, 0},							   \
#  468|       /* EXEC_MASK_REG.  */						   \
#  469|->     {0, 0, 0, NAMED_REG_MASK (EXEC_LO_REG) | NAMED_REG_MASK (EXEC_HI_REG), \
#  470|        0, 0, 0, 0,							   \
#  471|        0, 0, 0, 0,							   \

Error: COMPILER_WARNING (CWE-197): [#def74]
gcc-15.0.1-20250418/gcc/config/gcn/gcn.h:482:43: warning[-Wnarrowing]: narrowing conversion of ‘-1073741583’ from ‘int’ to ‘unsigned int’
#  482 |       0xf1 | NAMED_REG_MASK (EXEC_LO_REG) | NAMED_REG_MASK (EXEC_HI_REG),  \
#      |                                           ^
gcc-15.0.1-20250418/gcc/reginfo.cc:113:5: note: in expansion of macro ‘REG_CLASS_CONTENTS’
#  113 |   = REG_CLASS_CONTENTS;
#      |     ^~~~~~~~~~~~~~~~~~
#  480|       /* SGPR_EXEC_REGS.	*/						   \
#  481|       {0xffffffff, 0xffffffff, 0xffffffff,				   \
#  482|->       0xf1 | NAMED_REG_MASK (EXEC_LO_REG) | NAMED_REG_MASK (EXEC_HI_REG),  \
#  483|        0, 0, 0, 0,							   \
#  484|        0, 0, 0, 0,							   \

Error: COMPILER_WARNING: [#def75]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc: scope_hint: In function ‘void process_asm(FILE*, FILE*, FILE*)’
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:485:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
#  485 |             if (sscanf (buf, " ;; OPENACC-DIMS: %d, %d, %d : %ms\n",
#      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  483|   	case IN_CODE:
#  484|   	  {
#  485|-> 	    if (sscanf (buf, " ;; OPENACC-DIMS: %d, %d, %d : %ms\n",
#  486|   			&dim.d[0], &dim.d[1], &dim.d[2], &dim.name) == 4)
#  487|   	      {

Error: COMPILER_WARNING: [#def76]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:496:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
#  496 |             if (sscanf (buf, " - .name: %ms\n", &regcount.kernel_name) == 1)
#      |                              ^~~~~~~~~~~~~~~~~
#  494|   	case IN_METADATA:
#  495|   	  {
#  496|-> 	    if (sscanf (buf, " - .name: %ms\n", &regcount.kernel_name) == 1)
#  497|   	      break;
#  498|   	    else if (sscanf (buf, " .sgpr_count: %d\n",

Error: COMPILER_WARNING: [#def77]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:517:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
#  517 |             if (sscanf (buf, " .8byte %ms\n", &varname))
#      |                              ^~~~~~~~~~~~~~~
#  515|   	    char *varname;
#  516|   	    unsigned varsize;
#  517|-> 	    if (sscanf (buf, " .8byte %ms\n", &varname))
#  518|   	      {
#  519|   		fputs (buf, out);

Error: COMPILER_WARNING: [#def78]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:530:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
#  530 |             if (sscanf (buf, "\t.8byte\t%ms\n", &funcname))
#      |                              ^~~~~~~~~~~~~~~~~
#  528|   	  {
#  529|   	    char *funcname;
#  530|-> 	    if (sscanf (buf, "\t.8byte\t%ms\n", &funcname))
#  531|   	      {
#  532|   		fputs (buf, out);

Error: COMPILER_WARNING: [#def79]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:542:30: warning[-Wformat=]: ISO C++11 does not support the 'm' scanf flag
#  542 |             if (sscanf (buf, "\t.8byte\t%ms\n", &funcname))
#      |                              ^~~~~~~~~~~~~~~~~
#  540|   	  {
#  541|   	    char *funcname;
#  542|-> 	    if (sscanf (buf, "\t.8byte\t%ms\n", &funcname))
#  543|   	      {
#  544|   		fputs (buf, out);

Error: COMPILER_WARNING: [#def80]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1248:40: warning[-Wformat-overflow=]: ‘sprintf’ may write a terminating nul past the end of the destination
# 1248 |                       sprintf (buf, "%d", dbgcount++);
#      |                                        ^
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1248:31: note: ‘sprintf’ output between 2 and 11 bytes into a destination of size 10
# 1248 |                       sprintf (buf, "%d", dbgcount++);
#      |                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
# 1246|   		    {
# 1247|   		      char buf[10];
# 1248|-> 		      sprintf (buf, "%d", dbgcount++);
# 1249|   		      dbgobj = concat (dumppfx, ".mkoffload.dbg", buf, ".o", NULL);
# 1250|   		    }

Error: COMPILER_WARNING: [#def81]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1327:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
# 1327 |         fatal_error (input_location, "cannot open omp_requires file %qs",
#      |                                                   ^~~~~~~~~~~~
# 1325|         in = fopen (omp_requires_file, "rb");
# 1326|         if (!in)
# 1327|-> 	fatal_error (input_location, "cannot open omp_requires file %qs",
# 1328|   		     omp_requires_file);
# 1329|         uint32_t omp_requires;

Error: COMPILER_WARNING: [#def82]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1331:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
# 1331 |         fatal_error (input_location, "cannot read omp_requires file %qs",
#      |                                                   ^~~~~~~~~~~~
# 1329|         uint32_t omp_requires;
# 1330|         if (fread (&omp_requires, sizeof (omp_requires), 1, in) != 1)
# 1331|-> 	fatal_error (input_location, "cannot read omp_requires file %qs",
# 1332|   		     omp_requires_file);
# 1333|         fclose (in);

Error: COMPILER_WARNING: [#def83]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:1337:68: warning[-Wformat-diag]: unquoted keyword ‘asm’ in format
# 1337 |         fatal_error (input_location, "cannot open intermediate gcn asm file");
#      |                                                                    ^~~
# 1335|         in = fopen (gcn_s1_name, "r");
# 1336|         if (!in)
# 1337|-> 	fatal_error (input_location, "cannot open intermediate gcn asm file");
# 1338|   
# 1339|         out = fopen (gcn_s2_name, "w");

Error: CPPCHECK_WARNING (CWE-758): [#def84]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:84: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#   82|   DEF_PTA(AVX512VBMI2)
#   83|   DEF_PTA(VPCLMULQDQ)
#   84|-> DEF_PTA(AVX512BITALG)
#   85|   DEF_PTA(RDPID)
#   86|   DEF_PTA(PCONFIG)

Error: CPPCHECK_WARNING (CWE-758): [#def85]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:85: error[shiftTooManyBits]: Shifting 64-bit value by 65 bits is undefined behaviour
#   83|   DEF_PTA(VPCLMULQDQ)
#   84|   DEF_PTA(AVX512BITALG)
#   85|-> DEF_PTA(RDPID)
#   86|   DEF_PTA(PCONFIG)
#   87|   DEF_PTA(WBNOINVD)

Error: CPPCHECK_WARNING (CWE-758): [#def86]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:86: error[shiftTooManyBits]: Shifting 64-bit value by 66 bits is undefined behaviour
#   84|   DEF_PTA(AVX512BITALG)
#   85|   DEF_PTA(RDPID)
#   86|-> DEF_PTA(PCONFIG)
#   87|   DEF_PTA(WBNOINVD)
#   88|   DEF_PTA(AVX512VP2INTERSECT)

Error: CPPCHECK_WARNING (CWE-758): [#def87]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:87: error[shiftTooManyBits]: Shifting 64-bit value by 67 bits is undefined behaviour
#   85|   DEF_PTA(RDPID)
#   86|   DEF_PTA(PCONFIG)
#   87|-> DEF_PTA(WBNOINVD)
#   88|   DEF_PTA(AVX512VP2INTERSECT)
#   89|   DEF_PTA(PTWRITE)

Error: CPPCHECK_WARNING (CWE-758): [#def88]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:88: error[shiftTooManyBits]: Shifting 64-bit value by 68 bits is undefined behaviour
#   86|   DEF_PTA(PCONFIG)
#   87|   DEF_PTA(WBNOINVD)
#   88|-> DEF_PTA(AVX512VP2INTERSECT)
#   89|   DEF_PTA(PTWRITE)
#   90|   DEF_PTA(AVX512BF16)

Error: CPPCHECK_WARNING (CWE-758): [#def89]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:89: error[shiftTooManyBits]: Shifting 64-bit value by 69 bits is undefined behaviour
#   87|   DEF_PTA(WBNOINVD)
#   88|   DEF_PTA(AVX512VP2INTERSECT)
#   89|-> DEF_PTA(PTWRITE)
#   90|   DEF_PTA(AVX512BF16)
#   91|   DEF_PTA(WAITPKG)

Error: CPPCHECK_WARNING (CWE-758): [#def90]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:90: error[shiftTooManyBits]: Shifting 64-bit value by 70 bits is undefined behaviour
#   88|   DEF_PTA(AVX512VP2INTERSECT)
#   89|   DEF_PTA(PTWRITE)
#   90|-> DEF_PTA(AVX512BF16)
#   91|   DEF_PTA(WAITPKG)
#   92|   DEF_PTA(MOVDIRI)

Error: CPPCHECK_WARNING (CWE-758): [#def91]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:91: error[shiftTooManyBits]: Shifting 64-bit value by 71 bits is undefined behaviour
#   89|   DEF_PTA(PTWRITE)
#   90|   DEF_PTA(AVX512BF16)
#   91|-> DEF_PTA(WAITPKG)
#   92|   DEF_PTA(MOVDIRI)
#   93|   DEF_PTA(MOVDIR64B)

Error: CPPCHECK_WARNING (CWE-758): [#def92]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:92: error[shiftTooManyBits]: Shifting 64-bit value by 72 bits is undefined behaviour
#   90|   DEF_PTA(AVX512BF16)
#   91|   DEF_PTA(WAITPKG)
#   92|-> DEF_PTA(MOVDIRI)
#   93|   DEF_PTA(MOVDIR64B)
#   94|   DEF_PTA(ENQCMD)

Error: CPPCHECK_WARNING (CWE-758): [#def93]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:93: error[shiftTooManyBits]: Shifting 64-bit value by 73 bits is undefined behaviour
#   91|   DEF_PTA(WAITPKG)
#   92|   DEF_PTA(MOVDIRI)
#   93|-> DEF_PTA(MOVDIR64B)
#   94|   DEF_PTA(ENQCMD)
#   95|   DEF_PTA(CLDEMOTE)

Error: CPPCHECK_WARNING (CWE-758): [#def94]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:94: error[shiftTooManyBits]: Shifting 64-bit value by 74 bits is undefined behaviour
#   92|   DEF_PTA(MOVDIRI)
#   93|   DEF_PTA(MOVDIR64B)
#   94|-> DEF_PTA(ENQCMD)
#   95|   DEF_PTA(CLDEMOTE)
#   96|   DEF_PTA(SERIALIZE)

Error: CPPCHECK_WARNING (CWE-758): [#def95]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:95: error[shiftTooManyBits]: Shifting 64-bit value by 75 bits is undefined behaviour
#   93|   DEF_PTA(MOVDIR64B)
#   94|   DEF_PTA(ENQCMD)
#   95|-> DEF_PTA(CLDEMOTE)
#   96|   DEF_PTA(SERIALIZE)
#   97|   DEF_PTA(TSXLDTRK)

Error: CPPCHECK_WARNING (CWE-758): [#def96]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:96: error[shiftTooManyBits]: Shifting 64-bit value by 76 bits is undefined behaviour
#   94|   DEF_PTA(ENQCMD)
#   95|   DEF_PTA(CLDEMOTE)
#   96|-> DEF_PTA(SERIALIZE)
#   97|   DEF_PTA(TSXLDTRK)
#   98|   DEF_PTA(AMX_TILE)

Error: CPPCHECK_WARNING (CWE-758): [#def97]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:97: error[shiftTooManyBits]: Shifting 64-bit value by 77 bits is undefined behaviour
#   95|   DEF_PTA(CLDEMOTE)
#   96|   DEF_PTA(SERIALIZE)
#   97|-> DEF_PTA(TSXLDTRK)
#   98|   DEF_PTA(AMX_TILE)
#   99|   DEF_PTA(AMX_INT8)

Error: CPPCHECK_WARNING (CWE-758): [#def98]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:98: error[shiftTooManyBits]: Shifting 64-bit value by 78 bits is undefined behaviour
#   96|   DEF_PTA(SERIALIZE)
#   97|   DEF_PTA(TSXLDTRK)
#   98|-> DEF_PTA(AMX_TILE)
#   99|   DEF_PTA(AMX_INT8)
#  100|   DEF_PTA(AMX_BF16)

Error: CPPCHECK_WARNING (CWE-758): [#def99]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:99: error[shiftTooManyBits]: Shifting 64-bit value by 79 bits is undefined behaviour
#   97|   DEF_PTA(TSXLDTRK)
#   98|   DEF_PTA(AMX_TILE)
#   99|-> DEF_PTA(AMX_INT8)
#  100|   DEF_PTA(AMX_BF16)
#  101|   DEF_PTA(UINTR)

Error: CPPCHECK_WARNING (CWE-758): [#def100]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:100: error[shiftTooManyBits]: Shifting 64-bit value by 80 bits is undefined behaviour
#   98|   DEF_PTA(AMX_TILE)
#   99|   DEF_PTA(AMX_INT8)
#  100|-> DEF_PTA(AMX_BF16)
#  101|   DEF_PTA(UINTR)
#  102|   DEF_PTA(HRESET)

Error: CPPCHECK_WARNING (CWE-758): [#def101]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:101: error[shiftTooManyBits]: Shifting 64-bit value by 81 bits is undefined behaviour
#   99|   DEF_PTA(AMX_INT8)
#  100|   DEF_PTA(AMX_BF16)
#  101|-> DEF_PTA(UINTR)
#  102|   DEF_PTA(HRESET)
#  103|   DEF_PTA(KL)

Error: CPPCHECK_WARNING (CWE-758): [#def102]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:102: error[shiftTooManyBits]: Shifting 64-bit value by 82 bits is undefined behaviour
#  100|   DEF_PTA(AMX_BF16)
#  101|   DEF_PTA(UINTR)
#  102|-> DEF_PTA(HRESET)
#  103|   DEF_PTA(KL)
#  104|   DEF_PTA(WIDEKL)

Error: CPPCHECK_WARNING (CWE-758): [#def103]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:103: error[shiftTooManyBits]: Shifting 64-bit value by 83 bits is undefined behaviour
#  101|   DEF_PTA(UINTR)
#  102|   DEF_PTA(HRESET)
#  103|-> DEF_PTA(KL)
#  104|   DEF_PTA(WIDEKL)
#  105|   DEF_PTA(AVXVNNI)

Error: CPPCHECK_WARNING (CWE-758): [#def104]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:104: error[shiftTooManyBits]: Shifting 64-bit value by 84 bits is undefined behaviour
#  102|   DEF_PTA(HRESET)
#  103|   DEF_PTA(KL)
#  104|-> DEF_PTA(WIDEKL)
#  105|   DEF_PTA(AVXVNNI)
#  106|   DEF_PTA(AVX512FP16)

Error: CPPCHECK_WARNING (CWE-758): [#def105]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:105: error[shiftTooManyBits]: Shifting 64-bit value by 85 bits is undefined behaviour
#  103|   DEF_PTA(KL)
#  104|   DEF_PTA(WIDEKL)
#  105|-> DEF_PTA(AVXVNNI)
#  106|   DEF_PTA(AVX512FP16)
#  107|   DEF_PTA(AVXIFMA)

Error: CPPCHECK_WARNING (CWE-758): [#def106]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:106: error[shiftTooManyBits]: Shifting 64-bit value by 86 bits is undefined behaviour
#  104|   DEF_PTA(WIDEKL)
#  105|   DEF_PTA(AVXVNNI)
#  106|-> DEF_PTA(AVX512FP16)
#  107|   DEF_PTA(AVXIFMA)
#  108|   DEF_PTA(AVXVNNIINT8)

Error: CPPCHECK_WARNING (CWE-758): [#def107]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:107: error[shiftTooManyBits]: Shifting 64-bit value by 87 bits is undefined behaviour
#  105|   DEF_PTA(AVXVNNI)
#  106|   DEF_PTA(AVX512FP16)
#  107|-> DEF_PTA(AVXIFMA)
#  108|   DEF_PTA(AVXVNNIINT8)
#  109|   DEF_PTA(AVXNECONVERT)

Error: CPPCHECK_WARNING (CWE-758): [#def108]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:108: error[shiftTooManyBits]: Shifting 64-bit value by 88 bits is undefined behaviour
#  106|   DEF_PTA(AVX512FP16)
#  107|   DEF_PTA(AVXIFMA)
#  108|-> DEF_PTA(AVXVNNIINT8)
#  109|   DEF_PTA(AVXNECONVERT)
#  110|   DEF_PTA(CMPCCXADD)

Error: CPPCHECK_WARNING (CWE-758): [#def109]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:109: error[shiftTooManyBits]: Shifting 64-bit value by 89 bits is undefined behaviour
#  107|   DEF_PTA(AVXIFMA)
#  108|   DEF_PTA(AVXVNNIINT8)
#  109|-> DEF_PTA(AVXNECONVERT)
#  110|   DEF_PTA(CMPCCXADD)
#  111|   DEF_PTA(AMX_FP16)

Error: CPPCHECK_WARNING (CWE-758): [#def110]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:110: error[shiftTooManyBits]: Shifting 64-bit value by 90 bits is undefined behaviour
#  108|   DEF_PTA(AVXVNNIINT8)
#  109|   DEF_PTA(AVXNECONVERT)
#  110|-> DEF_PTA(CMPCCXADD)
#  111|   DEF_PTA(AMX_FP16)
#  112|   DEF_PTA(PREFETCHI)

Error: CPPCHECK_WARNING (CWE-758): [#def111]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:111: error[shiftTooManyBits]: Shifting 64-bit value by 91 bits is undefined behaviour
#  109|   DEF_PTA(AVXNECONVERT)
#  110|   DEF_PTA(CMPCCXADD)
#  111|-> DEF_PTA(AMX_FP16)
#  112|   DEF_PTA(PREFETCHI)
#  113|   DEF_PTA(RAOINT)

Error: CPPCHECK_WARNING (CWE-758): [#def112]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:112: error[shiftTooManyBits]: Shifting 64-bit value by 92 bits is undefined behaviour
#  110|   DEF_PTA(CMPCCXADD)
#  111|   DEF_PTA(AMX_FP16)
#  112|-> DEF_PTA(PREFETCHI)
#  113|   DEF_PTA(RAOINT)
#  114|   DEF_PTA(AMX_COMPLEX)

Error: CPPCHECK_WARNING (CWE-758): [#def113]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:113: error[shiftTooManyBits]: Shifting 64-bit value by 93 bits is undefined behaviour
#  111|   DEF_PTA(AMX_FP16)
#  112|   DEF_PTA(PREFETCHI)
#  113|-> DEF_PTA(RAOINT)
#  114|   DEF_PTA(AMX_COMPLEX)
#  115|   DEF_PTA(AVXVNNIINT16)

Error: CPPCHECK_WARNING (CWE-758): [#def114]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:114: error[shiftTooManyBits]: Shifting 64-bit value by 94 bits is undefined behaviour
#  112|   DEF_PTA(PREFETCHI)
#  113|   DEF_PTA(RAOINT)
#  114|-> DEF_PTA(AMX_COMPLEX)
#  115|   DEF_PTA(AVXVNNIINT16)
#  116|   DEF_PTA(SM3)

Error: CPPCHECK_WARNING (CWE-758): [#def115]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:115: error[shiftTooManyBits]: Shifting 64-bit value by 95 bits is undefined behaviour
#  113|   DEF_PTA(RAOINT)
#  114|   DEF_PTA(AMX_COMPLEX)
#  115|-> DEF_PTA(AVXVNNIINT16)
#  116|   DEF_PTA(SM3)
#  117|   DEF_PTA(SHA512)

Error: CPPCHECK_WARNING (CWE-758): [#def116]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:116: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
#  114|   DEF_PTA(AMX_COMPLEX)
#  115|   DEF_PTA(AVXVNNIINT16)
#  116|-> DEF_PTA(SM3)
#  117|   DEF_PTA(SHA512)
#  118|   DEF_PTA(SM4)

Error: CPPCHECK_WARNING (CWE-758): [#def117]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:117: error[shiftTooManyBits]: Shifting 64-bit value by 97 bits is undefined behaviour
#  115|   DEF_PTA(AVXVNNIINT16)
#  116|   DEF_PTA(SM3)
#  117|-> DEF_PTA(SHA512)
#  118|   DEF_PTA(SM4)
#  119|   DEF_PTA(APX_F)

Error: CPPCHECK_WARNING (CWE-758): [#def118]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:118: error[shiftTooManyBits]: Shifting 64-bit value by 98 bits is undefined behaviour
#  116|   DEF_PTA(SM3)
#  117|   DEF_PTA(SHA512)
#  118|-> DEF_PTA(SM4)
#  119|   DEF_PTA(APX_F)
#  120|   DEF_PTA(USER_MSR)

Error: CPPCHECK_WARNING (CWE-758): [#def119]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:119: error[shiftTooManyBits]: Shifting 64-bit value by 99 bits is undefined behaviour
#  117|   DEF_PTA(SHA512)
#  118|   DEF_PTA(SM4)
#  119|-> DEF_PTA(APX_F)
#  120|   DEF_PTA(USER_MSR)
#  121|   DEF_PTA(EVEX512)

Error: CPPCHECK_WARNING (CWE-758): [#def120]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:120: error[shiftTooManyBits]: Shifting 64-bit value by 100 bits is undefined behaviour
#  118|   DEF_PTA(SM4)
#  119|   DEF_PTA(APX_F)
#  120|-> DEF_PTA(USER_MSR)
#  121|   DEF_PTA(EVEX512)
#  122|   DEF_PTA(AVX10_1_256)

Error: CPPCHECK_WARNING (CWE-758): [#def121]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:121: error[shiftTooManyBits]: Shifting 64-bit value by 101 bits is undefined behaviour
#  119|   DEF_PTA(APX_F)
#  120|   DEF_PTA(USER_MSR)
#  121|-> DEF_PTA(EVEX512)
#  122|   DEF_PTA(AVX10_1_256)
#  123|   DEF_PTA(AVX10_1)

Error: CPPCHECK_WARNING (CWE-758): [#def122]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:122: error[shiftTooManyBits]: Shifting 64-bit value by 102 bits is undefined behaviour
#  120|   DEF_PTA(USER_MSR)
#  121|   DEF_PTA(EVEX512)
#  122|-> DEF_PTA(AVX10_1_256)
#  123|   DEF_PTA(AVX10_1)
#  124|   DEF_PTA(AVX10_2)

Error: CPPCHECK_WARNING (CWE-758): [#def123]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:123: error[shiftTooManyBits]: Shifting 64-bit value by 103 bits is undefined behaviour
#  121|   DEF_PTA(EVEX512)
#  122|   DEF_PTA(AVX10_1_256)
#  123|-> DEF_PTA(AVX10_1)
#  124|   DEF_PTA(AVX10_2)
#  125|   DEF_PTA(AMX_AVX512)

Error: CPPCHECK_WARNING (CWE-758): [#def124]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:124: error[shiftTooManyBits]: Shifting 64-bit value by 104 bits is undefined behaviour
#  122|   DEF_PTA(AVX10_1_256)
#  123|   DEF_PTA(AVX10_1)
#  124|-> DEF_PTA(AVX10_2)
#  125|   DEF_PTA(AMX_AVX512)
#  126|   DEF_PTA(AMX_TF32)

Error: CPPCHECK_WARNING (CWE-758): [#def125]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:125: error[shiftTooManyBits]: Shifting 64-bit value by 105 bits is undefined behaviour
#  123|   DEF_PTA(AVX10_1)
#  124|   DEF_PTA(AVX10_2)
#  125|-> DEF_PTA(AMX_AVX512)
#  126|   DEF_PTA(AMX_TF32)
#  127|   DEF_PTA(AMX_TRANSPOSE)

Error: CPPCHECK_WARNING (CWE-758): [#def126]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:126: error[shiftTooManyBits]: Shifting 64-bit value by 106 bits is undefined behaviour
#  124|   DEF_PTA(AVX10_2)
#  125|   DEF_PTA(AMX_AVX512)
#  126|-> DEF_PTA(AMX_TF32)
#  127|   DEF_PTA(AMX_TRANSPOSE)
#  128|   DEF_PTA(AMX_FP8)

Error: CPPCHECK_WARNING (CWE-758): [#def127]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:127: error[shiftTooManyBits]: Shifting 64-bit value by 107 bits is undefined behaviour
#  125|   DEF_PTA(AMX_AVX512)
#  126|   DEF_PTA(AMX_TF32)
#  127|-> DEF_PTA(AMX_TRANSPOSE)
#  128|   DEF_PTA(AMX_FP8)
#  129|   DEF_PTA(MOVRS)

Error: CPPCHECK_WARNING (CWE-758): [#def128]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:128: error[shiftTooManyBits]: Shifting 64-bit value by 108 bits is undefined behaviour
#  126|   DEF_PTA(AMX_TF32)
#  127|   DEF_PTA(AMX_TRANSPOSE)
#  128|-> DEF_PTA(AMX_FP8)
#  129|   DEF_PTA(MOVRS)
#  130|   DEF_PTA(AMX_MOVRS)

Error: CPPCHECK_WARNING (CWE-758): [#def129]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:129: error[shiftTooManyBits]: Shifting 64-bit value by 109 bits is undefined behaviour
#  127|   DEF_PTA(AMX_TRANSPOSE)
#  128|   DEF_PTA(AMX_FP8)
#  129|-> DEF_PTA(MOVRS)
#  130|   DEF_PTA(AMX_MOVRS)

Error: CPPCHECK_WARNING (CWE-758): [#def130]
gcc-15.0.1-20250418/gcc/config/i386/i386-isa.def:130: error[shiftTooManyBits]: Shifting 64-bit value by 110 bits is undefined behaviour
#  128|   DEF_PTA(AMX_FP8)
#  129|   DEF_PTA(MOVRS)
#  130|-> DEF_PTA(AMX_MOVRS)

Error: COMPILER_WARNING: [#def131]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc: scope_hint: In function ‘void compile_native(const char*, const char*, const char*, bool, bool)’
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:592:40: warning[-Wformat-diag]: unquoted identifier or keyword ‘COLLECT_GCC_OPTIONS’ in format
#  592 |                  "environment variable COLLECT_GCC_OPTIONS must be set");
#      |                                        ^~~~~~~~~~~~~~~~~~~
#  590|     if (!collect_gcc_options)
#  591|       fatal_error (input_location,
#  592|-> 		 "environment variable COLLECT_GCC_OPTIONS must be set");
#  593|   
#  594|     struct obstack argv_obstack;

Error: COMPILER_WARNING: [#def132]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:613:60: warning[-Wformat-diag]: spurious trailing punctuation sequence ‘.’ in format
#  613 |                  "%<-foffload-abi-host-opts%> not specified.");
#      |                                                            ^
#  611|     if (!offload_abi_host_opts)
#  612|       fatal_error (input_location,
#  613|-> 		 "%<-foffload-abi-host-opts%> not specified.");
#  614|     obstack_ptr_grow (&argv_obstack, offload_abi_host_opts);
#  615|     obstack_ptr_grow (&argv_obstack, infile);

Error: COMPILER_WARNING: [#def133]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:644:35: warning[-Wformat-diag]: unquoted identifier or keyword ‘COLLECT_GCC’ in format
#  644 |     fatal_error (input_location, "COLLECT_GCC must be set.");
#      |                                   ^~~~~~~~~~~
#  642|     char *collect_gcc = getenv ("COLLECT_GCC");
#  643|     if (collect_gcc == NULL)
#  644|->     fatal_error (input_location, "COLLECT_GCC must be set.");
#  645|     const char *gcc_path = dirname (ASTRDUP (collect_gcc));
#  646|     const char *gcc_exec = basename (ASTRDUP (collect_gcc));

Error: COMPILER_WARNING: [#def134]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:715:26: warning[-Wformat-diag]: spurious trailing punctuation sequence ‘=’ in format
#  715 |                          "unrecognizable argument of option " STR);
#      |                          ^
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:706:27: note: format string is defined here
#  706 | #define STR "-foffload-abi="
#      |                           ^
#  713|   	  else
#  714|   	    fatal_error (input_location,
#  715|-> 			 "unrecognizable argument of option " STR);
#  716|   	}
#  717|   #undef STR

Error: COMPILER_WARNING: [#def135]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:715:26: warning[-Wformat-diag]: unquoted option name ‘-foffload-abi’ in format
#  715 |                          "unrecognizable argument of option " STR);
#      |                          ^
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:706:14: note: format string is defined here
#  706 | #define STR "-foffload-abi="
#      |              ^~~~~~~~~~~~~
#  713|   	  else
#  714|   	    fatal_error (input_location,
#  715|-> 			 "unrecognizable argument of option " STR);
#  716|   	}
#  717|   #undef STR

Error: COMPILER_WARNING: [#def136]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:850:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
#  850 |         fatal_error (input_location, "cannot open omp_requires file %qs",
#      |                                                   ^~~~~~~~~~~~
#  848|         in = fopen (omp_requires_file, "rb");
#  849|         if (!in)
#  850|-> 	fatal_error (input_location, "cannot open omp_requires file %qs",
#  851|   		     omp_requires_file);
#  852|         uint32_t omp_requires;

Error: COMPILER_WARNING: [#def137]
gcc-15.0.1-20250418/gcc/config/nvptx/mkoffload.cc:854:51: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
#  854 |         fatal_error (input_location, "cannot read omp_requires file %qs",
#      |                                                   ^~~~~~~~~~~~
#  852|         uint32_t omp_requires;
#  853|         if (fread (&omp_requires, sizeof (omp_requires), 1, in) != 1)
#  854|-> 	fatal_error (input_location, "cannot read omp_requires file %qs",
#  855|   		     omp_requires_file);
#  856|         fclose (in);

Error: COMPILER_WARNING: [#def138]
gcc-15.0.1-20250418/gcc/config/nvptx/nvptx.cc: scope_hint: In function ‘void handle_ptx_version_option()’
gcc-15.0.1-20250418/gcc/config/nvptx/nvptx.cc:342:12: warning[-Wformat-diag]: unquoted identifier or keyword ‘sm_’ in format
#  342 |     error ("PTX version (%<-mptx%>) needs to be at least %s to support selected"
#      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  343 |            " %<-misa%> (sm_%s)", ptx_version_to_string (first),
#      |            ~~~~~~~~~~~~~~~~~~~~
#  340|   
#  341|     if (ptx_version_option < first)
#  342|->     error ("PTX version (%<-mptx%>) needs to be at least %s to support selected"
#  343|   	   " %<-misa%> (sm_%s)", ptx_version_to_string (first),
#  344|   	   sm_version_to_string (ptx_isa_option));

Error: COMPILER_WARNING (CWE-134): [#def139]
gcc-15.0.1-20250418/gcc/cp/constexpr.cc: scope_hint: In function ‘bool cxx_eval_assert(const constexpr_ctx*, tree, const char*, location_t, bool, bool*, bool*)’
gcc-15.0.1-20250418/gcc/cp/constexpr.cc:2182:20: warning[-Wformat-security]: format not a string literal and no format arguments
# 2182 |           error_at (cloc, msg);
#      |           ~~~~~~~~~^~~~~~~~~~~
# 2180|   	  /* Report the error. */
# 2181|   	  auto_diagnostic_group d;
# 2182|-> 	  error_at (cloc, msg);
# 2183|   	  diagnose_failing_condition (bad, cloc, true, ctx);
# 2184|   	  return bad;

Error: COMPILER_WARNING (CWE-134): [#def140]
gcc-15.0.1-20250418/gcc/cp/coroutines.cc: scope_hint: In function ‘bool coro_promise_type_found_p(tree, location_t)’
gcc-15.0.1-20250418/gcc/cp/coroutines.cc:768:18: warning[-Wformat-security]: format not a string literal and no format arguments
#  768 |           inform (DECL_SOURCE_LOCATION (has_ret_val), message);
#      |           ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  766|   	      message = "%<return_value%> first declared here";
#  767|   	    }
#  768|-> 	  inform (DECL_SOURCE_LOCATION (has_ret_val), message);
#  769|   	  coro_info->coro_co_return_error_emitted = true;
#  770|   	  return false;

Error: COMPILER_WARNING (CWE-134): [#def141]
gcc-15.0.1-20250418/gcc/cp/cvt.cc: scope_hint: In function ‘tree_node* ocp_convert(tree, tree, int, int, tsubst_flags_t)’
gcc-15.0.1-20250418/gcc/cp/cvt.cc:741:15: warning[-Wformat-security]: format not a string literal and no format arguments
#  741 |         error (invalid_conv_diag);
#      |         ~~~~~~^~~~~~~~~~~~~~~~~~~
#  739|       {
#  740|         if (complain & tf_error)
#  741|-> 	error (invalid_conv_diag);
#  742|         return error_mark_node;
#  743|       }

Error: COMPILER_WARNING (CWE-134): [#def142]
gcc-15.0.1-20250418/gcc/cp/decl.cc: scope_hint: In function ‘bool check_previous_goto_1(tree, cp_binding_level*, tree, bool, const location_t*, vec<tree_node*, va_gc>*)’
gcc-15.0.1-20250418/gcc/cp/decl.cc:3870:20: warning[-Wformat-security]: format not a string literal and no format arguments
# 3870 |             inform (loc, inf);
#      |             ~~~~~~~^~~~~~~~~~
# 3868|   	  identified = 2;
# 3869|   	  if (complained)
# 3870|-> 	    inform (loc, inf);
# 3871|   	}
# 3872|       }

Error: COMPILER_WARNING (CWE-134): [#def143]
gcc-15.0.1-20250418/gcc/cp/error.cc: scope_hint: In constructor ‘auto_context_line::auto_context_line(diagnostic_text_output_format&, location_t, bool)’
gcc-15.0.1-20250418/gcc/cp/error.cc:3922:17: warning[-Wformat-security]: format not a string literal and no format arguments
# 3922 |     pp_verbatim (m_text_output.get_printer (), indent);
#      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3920|     {
# 3921|       char *indent = m_text_output.build_indent_prefix (true);
# 3922|->     pp_verbatim (m_text_output.get_printer (), indent);
# 3923|       free (indent);
# 3924|       if (!m_text_output.show_nesting_p ())

Error: COMPILER_WARNING (CWE-134): [#def144]
gcc-15.0.1-20250418/gcc/cp/error.cc: scope_hint: In destructor ‘auto_context_line::~auto_context_line()’
gcc-15.0.1-20250418/gcc/cp/error.cc:3935:25: warning[-Wformat-security]: format not a string literal and no format arguments
# 3935 |             pp_verbatim (pp, indent);
#      |             ~~~~~~~~~~~~^~~~~~~~~~~~
# 3933|   	  {
# 3934|   	    char *indent = m_text_output.build_indent_prefix (false);
# 3935|-> 	    pp_verbatim (pp, indent);
# 3936|   	    print_location (m_text_output, m_loc);
# 3937|   	    pp_newline (pp);

Error: CPPCHECK_WARNING (CWE-476): [#def145]
gcc-15.0.1-20250418/gcc/cp/except.cc:169: warning[nullPointer]: Possible null pointer dereference: args
#  167|     tree arg_list = void_list_node;
#  168|     for (unsigned ix = nargs; ix--;)
#  169|->     arg_list = tree_cons (NULL_TREE, args[ix], arg_list);
#  170|     tree fntype = build_function_type (rtype, arg_list);
#  171|     tree res = push_library_fn (ident, fntype, except, ecf);

Error: CPPCHECK_WARNING (CWE-571): [#def146]
gcc-15.0.1-20250418/gcc/cp/except.cc:634: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
#  632|     if (processing_template_decl)
#  633|       {
#  634|->       if (cfun)
#  635|   	current_function_returns_abnormally = 1;
#  636|         exp = build_min (THROW_EXPR, void_type_node, exp);

Error: CPPCHECK_WARNING (CWE-758): [#def147]
gcc-15.0.1-20250418/gcc/cp/logic.cc:452: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  450|   	    /* Neither LHS nor RHS is a disjunction.  */
#  451|   	    return std::make_pair (0, false);
#  452|-> 	}
#  453|       }
#  454|     gcc_unreachable ();

Error: CPPCHECK_WARNING (CWE-758): [#def148]
gcc-15.0.1-20250418/gcc/cp/logic.cc:561: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  559|   	    /* Neither LHS nor RHS is a disjunction.  */
#  560|   	    return std::make_pair (2, false);
#  561|-> 	}
#  562|       }
#  563|     gcc_unreachable ();

Error: COMPILER_WARNING (CWE-134): [#def149]
gcc-15.0.1-20250418/gcc/cp/method.cc: scope_hint: In function ‘void maybe_delete_defaulted_fn(tree, tree)’
gcc-15.0.1-20250418/gcc/cp/method.cc:3595:23: warning[-Wformat-security]: format not a string literal and no format arguments
# 3595 |   if (emit_diagnostic (diag_kind, DECL_SOURCE_LOCATION (fn), opt, wmsg))
#      |       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3593|         gcc_unreachable ();
# 3594|       }
# 3595|->   if (emit_diagnostic (diag_kind, DECL_SOURCE_LOCATION (fn), opt, wmsg))
# 3596|       inform (DECL_SOURCE_LOCATION (fn),
# 3597|   	    "expected signature: %qD", implicit_fn);

Error: CPPCHECK_WARNING (CWE-571): [#def150]
gcc-15.0.1-20250418/gcc/cp/name-lookup.cc:8713: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
# 8711|   
# 8712|     /* If we're in the middle of some function, save our state.  */
# 8713|->   if (cfun)
# 8714|       {
# 8715|         need_pop = true;

Error: COMPILER_WARNING (CWE-134): [#def151]
gcc-15.0.1-20250418/gcc/cp/pt.cc: scope_hint: In function ‘tree_node* tsubst_expr(tree, tree, tsubst_flags_t, tree)’
gcc-15.0.1-20250418/gcc/cp/pt.cc:20581:17: warning[-Wformat-security]: format not a string literal and no format arguments
#20581 |           error (error_msg);
#      |           ~~~~~~^~~~~~~~~~~
#20579|   				     input_location);
#20580|   	if (error_msg)
#20581|-> 	  error (error_msg);
#20582|   	if (identifier_p (decl))
#20583|   	  {

Error: CPPCHECK_WARNING (CWE-562): [#def152]
gcc-15.0.1-20250418/gcc/cp/search.cc:1960: error[returnDanglingLifetime]: Returning pointer to local variable 'lfd' that will be invalid when returning.
# 1958|        access to the field.  */
# 1959|     locate_field_data lfd (field_decl, const_p);
# 1960|->   return dfs_walk_once_accessible (basetype_path, /*friends=*/true,
# 1961|   				   dfs_locate_field_accessor_pre,
# 1962|   				   NULL, &lfd);

Error: COMPILER_WARNING (CWE-134): [#def153]
gcc-15.0.1-20250418/gcc/cp/typeck.cc: scope_hint: In function ‘tree_node* cp_build_binary_op(const op_location_t&, tree_code, tree, tree, tsubst_flags_t)’
gcc-15.0.1-20250418/gcc/cp/typeck.cc:5385:19: warning[-Wformat-security]: format not a string literal and no format arguments
# 5385 |             error (invalid_op_diag);
#      |             ~~~~~~^~~~~~~~~~~~~~~~~
# 5383|   	    }
# 5384|   	  else
# 5385|-> 	    error (invalid_op_diag);
# 5386|   	}
# 5387|         return error_mark_node;

Error: COMPILER_WARNING (CWE-134): [#def154]
gcc-15.0.1-20250418/gcc/cp/typeck.cc: scope_hint: In function ‘tree_node* cp_build_unary_op(tree_code, tree, bool, tsubst_flags_t)’
gcc-15.0.1-20250418/gcc/cp/typeck.cc:7502:15: warning[-Wformat-security]: format not a string literal and no format arguments
# 7502 |         error (invalid_op_diag);
#      |         ~~~~~~^~~~~~~~~~~~~~~~~
# 7500|       {
# 7501|         if (complain & tf_error)
# 7502|-> 	error (invalid_op_diag);
# 7503|         return error_mark_node;
# 7504|       }

Error: CPPCHECK_WARNING (CWE-664): [#def155]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:191: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  189|   {
#  190|     va_list argp;
#  191|->   va_copy (argp, ap);
#  192|   
#  193|     if (loc.filename.length != 0 || !verbatim)

Error: CPPCHECK_WARNING (CWE-664): [#def156]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:199: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  197|         char *xformat = expand_d_format (format);
#  198|   
#  199|->       diagnostic_set_info_translated (&diagnostic, xformat, &argp,
#  200|   				      &rich_loc, kind);
#  201|         if (opt != 0)

Error: CPPCHECK_WARNING (CWE-664): [#def157]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:209: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  207|       {
#  208|         /* Write verbatim messages with no location direct to stream.  */
#  209|->       text_info text (expand_d_format (format), &argp, errno, nullptr);
#  210|   
#  211|         pretty_printer *const pp = global_dc->get_reference_printer ();

Error: CPPCHECK_WARNING (CWE-664): [#def158]
gcc-15.0.1-20250418/gcc/d/d-diagnostic.cc:216: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  214|       }
#  215|   
#  216|->   va_end (argp);
#  217|   }
#  218|   

Error: CPPCHECK_WARNING (CWE-476): [#def159]
gcc-15.0.1-20250418/gcc/d/toir.cc:153: warning[nullPointer]: Possible null pointer dereference: f
#  151|   	{
#  152|   	  language_function *f = d_function_chain;
#  153|-> 	  f->labels->traverse <binding_level *, &pop_binding_label> (level);
#  154|   	}
#  155|   

Error: CPPCHECK_WARNING (CWE-562): [#def160]
gcc-15.0.1-20250418/gcc/diagnostic-format-json.cc:399: error[danglingLifetime]: Non-local variable 'm_cur_children_array' will use pointer to local variable 'children_array'.
#  397|   	  std::unique_ptr<json::array> children_array
#  398|   	    = ::make_unique<json::array> ();
#  399|-> 	  m_cur_children_array = children_array.get (); // borrowed
#  400|   	  diag_obj->set ("children", std::move (children_array));
#  401|   	  diag_obj->set_integer ("column-origin", m_context.m_column_origin);

Error: CPPCHECK_WARNING (CWE-476): [#def161]
gcc-15.0.1-20250418/gcc/diagnostic-format-sarif.cc:1464: warning[nullPointer]: Possible null pointer dereference: kinds_arr
# 1462|       }
# 1463|     const char *kind_str = get_string_for_location_relationship_kind (kind);
# 1464|->   kinds_arr->append_string (kind_str);
# 1465|   }
# 1466|   

Error: CPPCHECK_WARNING (CWE-664): [#def162]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1503: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
# 1501|   	 so that each has its own set to consume.  */
# 1502|         va_list copied_args;
# 1503|->       va_copy (copied_args, *orig_args);
# 1504|         diagnostic->message.m_args_ptr = &copied_args;
# 1505|         pp_format (sink->get_printer (), &diagnostic->message);

Error: CPPCHECK_WARNING (CWE-664): [#def163]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1504: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
# 1502|         va_list copied_args;
# 1503|         va_copy (copied_args, *orig_args);
# 1504|->       diagnostic->message.m_args_ptr = &copied_args;
# 1505|         pp_format (sink->get_printer (), &diagnostic->message);
# 1506|         va_end (copied_args);

Error: CPPCHECK_WARNING (CWE-664): [#def164]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1506: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
# 1504|         diagnostic->message.m_args_ptr = &copied_args;
# 1505|         pp_format (sink->get_printer (), &diagnostic->message);
# 1506|->       va_end (copied_args);
# 1507|   
# 1508|         /* Call vfunc in the output format.  This is responsible for

Error: CPPCHECK_WARNING (CWE-664): [#def165]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1559: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
# 1557|       {
# 1558|         va_list copied_args;
# 1559|->       va_copy (copied_args, *orig_args);
# 1560|         text.m_args_ptr = &copied_args;
# 1561|         sink->on_report_verbatim (text);

Error: CPPCHECK_WARNING (CWE-664): [#def166]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1560: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
# 1558|         va_list copied_args;
# 1559|         va_copy (copied_args, *orig_args);
# 1560|->       text.m_args_ptr = &copied_args;
# 1561|         sink->on_report_verbatim (text);
# 1562|         va_end (copied_args);

Error: CPPCHECK_WARNING (CWE-664): [#def167]
gcc-15.0.1-20250418/gcc/diagnostic.cc:1562: error[va_list_usedBeforeStarted]: va_list 'copied_args' used before va_start() was called.
# 1560|         text.m_args_ptr = &copied_args;
# 1561|         sink->on_report_verbatim (text);
# 1562|->       va_end (copied_args);
# 1563|       }
# 1564|   }

Error: COMPILER_WARNING (CWE-134): [#def168]
gcc-15.0.1-20250418/gcc/diagnostic.cc: scope_hint: In function ‘void fancy_abort(const char*, int, const char*)’
gcc-15.0.1-20250418/gcc/diagnostic.cc:1729:15: warning[-Wformat-security]: format not a string literal and no format arguments
# 1729 |       fnotice (stderr, diagnostic_kind_text[DK_ICE]);
#      |       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1727|       {
# 1728|         /* Print the error message.  */
# 1729|->       fnotice (stderr, diagnostic_kind_text[DK_ICE]);
# 1730|         fnotice (stderr, "in %s, at %s:%d", function, trim_filename (file), line);
# 1731|         fputc ('\n', stderr);

Error: CPPCHECK_WARNING (CWE-476): [#def169]
gcc-15.0.1-20250418/gcc/double-int.cc:95: error[ctunullpointer]: Null pointer dereference: hi
#   93|   {
#   94|     *low = words[0] + words[1] * BASE;
#   95|->   *hi = words[2] + words[3] * BASE;
#   96|   }
#   97|   

Error: CPPCHECK_WARNING (CWE-457): [#def170]
gcc-15.0.1-20250418/gcc/double-int.cc:684: error[uninitvar]: Uninitialized variable: mask.max_value
#  682|       }
#  683|   
#  684|->   return mask;
#  685|   }
#  686|   

Error: CPPCHECK_WARNING (CWE-457): [#def171]
gcc-15.0.1-20250418/gcc/double-int.cc:735: error[uninitvar]: Uninitialized variable: r.max_value
#  733|     r.high = cst.high & mask.high;
#  734|   
#  735|->   return r;
#  736|   }
#  737|   

Error: CPPCHECK_WARNING (CWE-457): [#def172]
gcc-15.0.1-20250418/gcc/double-int.cc:766: error[uninitvar]: Uninitialized variable: r.max_value
#  764|       }
#  765|   
#  766|->   return r;
#  767|   }
#  768|   

Error: CPPCHECK_WARNING (CWE-457): [#def173]
gcc-15.0.1-20250418/gcc/double-int.cc:803: error[uninitvar]: Uninitialized variable: ret.max_value
#  801|     double_int ret;
#  802|     mul_double (a.low, a.high, b.low, b.high, &ret.low, &ret.high);
#  803|->   return ret;
#  804|   }
#  805|   

Error: CPPCHECK_WARNING (CWE-457): [#def174]
gcc-15.0.1-20250418/gcc/double-int.cc:826: error[uninitvar]: Uninitialized variable: ret.max_value
#  824|   					 &ret.low, &ret.high,
#  825|   					 &tem.low, &tem.high, unsigned_p);
#  826|->   return ret;
#  827|   }
#  828|   

Error: CPPCHECK_WARNING (CWE-457): [#def175]
gcc-15.0.1-20250418/gcc/double-int.cc:839: error[uninitvar]: Uninitialized variable: lower.max_value
#  837|   					 &higher->low, &higher->high,
#  838|   					 unsigned_p);
#  839|->   return lower;
#  840|   }
#  841|   

Error: CPPCHECK_WARNING (CWE-457): [#def176]
gcc-15.0.1-20250418/gcc/double-int.cc:850: error[uninitvar]: Uninitialized variable: ret.max_value
#  848|     double_int ret;
#  849|     add_double (a.low, a.high, b.low, b.high, &ret.low, &ret.high);
#  850|->   return ret;
#  851|   }
#  852|   

Error: CPPCHECK_WARNING (CWE-457): [#def177]
gcc-15.0.1-20250418/gcc/double-int.cc:873: error[uninitvar]: Uninitialized variable: ret.max_value
#  871|     *overflow = add_double_with_sign (a.low, a.high, b.low, b.high,
#  872|                                       &ret.low, &ret.high, unsigned_p);
#  873|->   return ret;
#  874|   }
#  875|   

Error: CPPCHECK_WARNING (CWE-457): [#def178]
gcc-15.0.1-20250418/gcc/double-int.cc:885: error[uninitvar]: Uninitialized variable: ret.max_value
#  883|     neg_double (b.low, b.high, &b.low, &b.high);
#  884|     add_double (a.low, a.high, b.low, b.high, &ret.low, &ret.high);
#  885|->   return ret;
#  886|   }
#  887|   

Error: CPPCHECK_WARNING (CWE-457): [#def179]
gcc-15.0.1-20250418/gcc/double-int.cc:909: error[uninitvar]: Uninitialized variable: ret.max_value
#  907|     add_double (low, high, ret.low, ret.high, &ret.low, &ret.high);
#  908|     *overflow = OVERFLOW_SUM_SIGN (ret.high, b.high, high);
#  909|->   return ret;
#  910|   }
#  911|   

Error: CPPCHECK_WARNING (CWE-457): [#def180]
gcc-15.0.1-20250418/gcc/double-int.cc:920: error[uninitvar]: Uninitialized variable: ret.max_value
#  918|     double_int ret;
#  919|     neg_double (a.low, a.high, &ret.low, &ret.high);
#  920|->   return ret;
#  921|   }
#  922|   

Error: CPPCHECK_WARNING (CWE-457): [#def181]
gcc-15.0.1-20250418/gcc/double-int.cc:928: error[uninitvar]: Uninitialized variable: ret.max_value
#  926|     double_int ret;
#  927|     *overflow = neg_double (low, high, &ret.low, &ret.high);
#  928|->   return ret;
#  929|   }
#  930|   

Error: CPPCHECK_WARNING (CWE-457): [#def182]
gcc-15.0.1-20250418/gcc/double-int.cc:946: error[uninitvar]: Uninitialized variable: ret.max_value
#  944|   				    b.low, b.high, &ret.low, &ret.high,
#  945|   				    &mod->low, &mod->high);
#  946|->   return ret;
#  947|   }
#  948|   

Error: CPPCHECK_WARNING (CWE-457): [#def183]
gcc-15.0.1-20250418/gcc/double-int.cc:959: error[uninitvar]: Uninitialized variable: ret.max_value
#  957|   			b.low, b.high, &ret.low, &ret.high,
#  958|   			&mod->low, &mod->high);
#  959|->   return ret;
#  960|   }
#  961|   

Error: CPPCHECK_WARNING (CWE-457): [#def184]
gcc-15.0.1-20250418/gcc/double-int.cc:1109: error[uninitvar]: Uninitialized variable: ret.max_value
# 1107|       }
# 1108|   
# 1109|->   return ret;
# 1110|   }
# 1111|   

Error: CPPCHECK_WARNING (CWE-457): [#def185]
gcc-15.0.1-20250418/gcc/double-int.cc:1142: error[uninitvar]: Uninitialized variable: ret.max_value
# 1140|       }
# 1141|   
# 1142|->   return ret;
# 1143|   }
# 1144|   

Error: CPPCHECK_WARNING (CWE-457): [#def186]
gcc-15.0.1-20250418/gcc/double-int.cc:1157: error[uninitvar]: Uninitialized variable: ret.max_value
# 1155|     else
# 1156|       rshift_double (low, high, absu_hwi (count), prec, &ret.low, &ret.high, arith);
# 1157|->   return ret;
# 1158|   }
# 1159|   

Error: CPPCHECK_WARNING (CWE-457): [#def187]
gcc-15.0.1-20250418/gcc/double-int.cc:1172: error[uninitvar]: Uninitialized variable: ret.max_value
# 1170|     else
# 1171|       lshift_double (low, high, absu_hwi (count), prec, &ret.low, &ret.high);
# 1172|->   return ret;
# 1173|   }
# 1174|   

Error: CPPCHECK_WARNING (CWE-457): [#def188]
gcc-15.0.1-20250418/gcc/double-int.cc:1186: error[uninitvar]: Uninitialized variable: r.max_value
# 1184|     else
# 1185|       rshift_double (low, high, absu_hwi (count), prec, &r.low, &r.high, true);
# 1186|->   return r;
# 1187|   }
# 1188|   

Error: CPPCHECK_WARNING (CWE-457): [#def189]
gcc-15.0.1-20250418/gcc/double-int.cc:1200: error[uninitvar]: Uninitialized variable: r.max_value
# 1198|     else
# 1199|       lshift_double (low, high, absu_hwi (count), prec, &r.low, &r.high);
# 1200|->   return r;
# 1201|   }
# 1202|   

Error: CPPCHECK_WARNING (CWE-457): [#def190]
gcc-15.0.1-20250418/gcc/double-int.cc:1214: error[uninitvar]: Uninitialized variable: r.max_value
# 1212|     else
# 1213|       rshift_double (low, high, absu_hwi (count), prec, &r.low, &r.high, false);
# 1214|->   return r;
# 1215|   }
# 1216|   

Error: CPPCHECK_WARNING (CWE-457): [#def191]
gcc-15.0.1-20250418/gcc/double-int.cc:1228: error[uninitvar]: Uninitialized variable: r.max_value
# 1226|     else
# 1227|       lshift_double (low, high, absu_hwi (count), prec, &r.low, &r.high);
# 1228|->   return r;
# 1229|   }
# 1230|   

Error: CPPCHECK_WARNING (CWE-457): [#def192]
gcc-15.0.1-20250418/gcc/double-int.cc:1566: error[uninitvar]: Uninitialized variable: res.max_value
# 1564|     res.high = (HOST_WIDE_INT) vp[1];
# 1565|   
# 1566|->   res = res.ext (TYPE_PRECISION (type), TYPE_UNSIGNED (type));
# 1567|     if (mpz_sgn (val) < 0)
# 1568|       res = -res;

Error: CPPCHECK_WARNING (CWE-457): [#def193]
gcc-15.0.1-20250418/gcc/double-int.h:213: error[uninitvar]: Uninitialized variable: r.max_value
#  211|     r.low = (unsigned HOST_WIDE_INT) cst;
#  212|     r.high = cst < 0 ? -1 : 0;
#  213|->   return r;
#  214|   }
#  215|   

Error: CPPCHECK_WARNING (CWE-457): [#def194]
gcc-15.0.1-20250418/gcc/double-int.h:236: error[uninitvar]: Uninitialized variable: r.max_value
#  234|     r.low = cst;
#  235|     r.high = 0;
#  236|->   return r;
#  237|   }
#  238|   

Error: CPPCHECK_WARNING (CWE-457): [#def195]
gcc-15.0.1-20250418/gcc/double-int.h:245: error[uninitvar]: Uninitialized variable: r.max_value
#  243|     r.low = low;
#  244|     r.high = high;
#  245|->   return r;
#  246|   }
#  247|   

Error: CPPCHECK_WARNING (CWE-457): [#def196]
gcc-15.0.1-20250418/gcc/double-int.h:319: error[uninitvar]: Uninitialized variable: result.max_value
#  317|     result.low = ~low;
#  318|     result.high = ~high;
#  319|->   return result;
#  320|   }
#  321|   

Error: CPPCHECK_WARNING (CWE-457): [#def197]
gcc-15.0.1-20250418/gcc/double-int.h:330: error[uninitvar]: Uninitialized variable: result.max_value
#  328|     result.low = low | b.low;
#  329|     result.high = high | b.high;
#  330|->   return result;
#  331|   }
#  332|   

Error: CPPCHECK_WARNING (CWE-457): [#def198]
gcc-15.0.1-20250418/gcc/double-int.h:341: error[uninitvar]: Uninitialized variable: result.max_value
#  339|     result.low = low & b.low;
#  340|     result.high = high & b.high;
#  341|->   return result;
#  342|   }
#  343|   

Error: CPPCHECK_WARNING (CWE-457): [#def199]
gcc-15.0.1-20250418/gcc/double-int.h:352: error[uninitvar]: Uninitialized variable: result.max_value
#  350|     result.low = low & ~b.low;
#  351|     result.high = high & ~b.high;
#  352|->   return result;
#  353|   }
#  354|   

Error: CPPCHECK_WARNING (CWE-457): [#def200]
gcc-15.0.1-20250418/gcc/double-int.h:363: error[uninitvar]: Uninitialized variable: result.max_value
#  361|     result.low = low ^ b.low;
#  362|     result.high = high ^ b.high;
#  363|->   return result;
#  364|   }
#  365|   

Error: CPPCHECK_WARNING (CWE-457): [#def201]
gcc-15.0.1-20250418/gcc/dwarf2ctf.cc:394: warning[uninitvar]: Uninitialized variable: array_num_elements
#  392|        type we register here is the type of the elements in
#  393|        subsequent "dimensions", if there are any.  */
#  394|->   arinfo.ctr_nelems = array_num_elements;
#  395|   
#  396|     array_index_type = ctf_get_AT_type (c);

Error: CPPCHECK_WARNING (CWE-457): [#def202]
gcc-15.0.1-20250418/gcc/fixed-value.cc:190: error[uninitvar]: Uninitialized variable: max.max_value
#  188|         max.low = -1;
#  189|         max.high = -1;
#  190|->       max = max.zext (i_f_bits);
#  191|         if (a.ugt (max))
#  192|   	{

Error: CPPCHECK_WARNING (CWE-457): [#def203]
gcc-15.0.1-20250418/gcc/fixed-value.cc:204: error[uninitvar]: Uninitialized variable: max.max_value
#  202|         max.high = -1;
#  203|         max.low = -1;
#  204|->       max = max.zext (i_f_bits);
#  205|         min.high = 0;
#  206|         min.low = 1;

Error: CPPCHECK_WARNING (CWE-457): [#def204]
gcc-15.0.1-20250418/gcc/fixed-value.cc:207: error[uninitvar]: Uninitialized variable: min.max_value
#  205|         min.high = 0;
#  206|         min.low = 1;
#  207|->       min = min.alshift (i_f_bits, HOST_BITS_PER_DOUBLE_INT);
#  208|         min = min.sext (1 + i_f_bits);
#  209|         if (a.sgt (max))

Error: CPPCHECK_WARNING (CWE-457): [#def205]
gcc-15.0.1-20250418/gcc/fixed-value.cc:250: error[uninitvar]: Uninitialized variable: max_s.max_value
#  248|         max_s.high = -1;
#  249|         max_s.low = -1;
#  250|->       max_s = max_s.zext (i_f_bits);
#  251|         if (a_high.ugt (max_r)
#  252|   	  || (a_high == max_r &&

Error: CPPCHECK_WARNING (CWE-457): [#def206]
gcc-15.0.1-20250418/gcc/fixed-value.cc:251: error[uninitvar]: Uninitialized variable: max_r.max_value
#  249|         max_s.low = -1;
#  250|         max_s = max_s.zext (i_f_bits);
#  251|->       if (a_high.ugt (max_r)
#  252|   	  || (a_high == max_r &&
#  253|   	      a_low.ugt (max_s)))

Error: CPPCHECK_WARNING (CWE-457): [#def207]
gcc-15.0.1-20250418/gcc/fixed-value.cc:268: error[uninitvar]: Uninitialized variable: max_s.max_value
#  266|         max_s.high = -1;
#  267|         max_s.low = -1;
#  268|->       max_s = max_s.zext (i_f_bits);
#  269|         min_r.high = -1;
#  270|         min_r.low = -1;

Error: CPPCHECK_WARNING (CWE-457): [#def208]
gcc-15.0.1-20250418/gcc/fixed-value.cc:273: error[uninitvar]: Uninitialized variable: min_s.max_value
#  271|         min_s.high = 0;
#  272|         min_s.low = 1;
#  273|->       min_s = min_s.alshift (i_f_bits, HOST_BITS_PER_DOUBLE_INT);
#  274|         min_s = min_s.sext (1 + i_f_bits);
#  275|         if (a_high.sgt (max_r)

Error: CPPCHECK_WARNING (CWE-457): [#def209]
gcc-15.0.1-20250418/gcc/fixed-value.cc:275: error[uninitvar]: Uninitialized variable: max_r.max_value
#  273|         min_s = min_s.alshift (i_f_bits, HOST_BITS_PER_DOUBLE_INT);
#  274|         min_s = min_s.sext (1 + i_f_bits);
#  275|->       if (a_high.sgt (max_r)
#  276|   	  || (a_high == max_r &&
#  277|   	      a_low.ugt (max_s)))

Error: CPPCHECK_WARNING (CWE-457): [#def210]
gcc-15.0.1-20250418/gcc/fixed-value.cc:284: error[uninitvar]: Uninitialized variable: min_r.max_value
#  282|   	    overflow_p = true;
#  283|   	}
#  284|->       else if (a_high.slt (min_r)
#  285|   	       || (a_high == min_r &&
#  286|   		   a_low.ult (min_s)))

Error: CPPCHECK_WARNING (CWE-457): [#def211]
gcc-15.0.1-20250418/gcc/fixed-value.cc:432: error[uninitvar]: Uninitialized variable: a_low.max_value
#  430|   
#  431|         /* Perform four multiplications.  */
#  432|->       low_low = a_low * b_low;
#  433|         low_high = a_low * b_high;
#  434|         high_low = a_high * b_low;

Error: CPPCHECK_WARNING (CWE-457): [#def212]
gcc-15.0.1-20250418/gcc/fixed-value.cc:433: error[uninitvar]: Uninitialized variable: b_high.max_value
#  431|         /* Perform four multiplications.  */
#  432|         low_low = a_low * b_low;
#  433|->       low_high = a_low * b_high;
#  434|         high_low = a_high * b_low;
#  435|         high_high = a_high * b_high;

Error: CPPCHECK_WARNING (CWE-457): [#def213]
gcc-15.0.1-20250418/gcc/fixed-value.cc:434: error[uninitvar]: Uninitialized variable: a_high.max_value
#  432|         low_low = a_low * b_low;
#  433|         low_high = a_low * b_high;
#  434|->       high_low = a_high * b_low;
#  435|         high_high = a_high * b_high;
#  436|   

Error: CPPCHECK_WARNING (CWE-457): [#def214]
gcc-15.0.1-20250418/gcc/fixed-value.cc:440: error[uninitvar]: Uninitialized variable: temp1.max_value
#  438|         temp1.high = high_low.low;
#  439|         temp1.low = 0;
#  440|->       s = low_low + temp1;
#  441|         if (s.ult (low_low)
#  442|   	  || s.ult (temp1))

Error: CPPCHECK_WARNING (CWE-457): [#def215]
gcc-15.0.1-20250418/gcc/fixed-value.cc:448: error[uninitvar]: Uninitialized variable: temp2.max_value
#  446|         temp2.high = low_high.low;
#  447|         temp2.low = 0;
#  448|->       s = temp1 + temp2;
#  449|         if (s.ult (temp1)
#  450|   	  || s.ult (temp2))

Error: CPPCHECK_WARNING (CWE-457): [#def216]
gcc-15.0.1-20250418/gcc/fixed-value.cc:597: warning[uninitvar]: Uninitialized variable: s.max_value
#  595|   
#  596|   	  /* Shift left s by 1 bit.  */
#  597|-> 	  s = s.lshift (1);
#  598|   
#  599|   	}

Error: CPPCHECK_WARNING (CWE-457): [#def217]
gcc-15.0.1-20250418/gcc/fixed-value.cc:666: warning[uninitvar]: Uninitialized variable: temp_low.max_value
#  664|         if (!unsigned_p && a->data.high < 0) /* Signed-extend temp_high.  */
#  665|   	temp_high = temp_high.ext (b->data.low, unsigned_p);
#  666|->       f->data = temp_low;
#  667|         overflow_p = fixed_saturate2 (f->mode, temp_high, temp_low, &f->data,
#  668|   				    sat_p);

Error: CPPCHECK_WARNING (CWE-457): [#def218]
gcc-15.0.1-20250418/gcc/fixed-value.cc:974: warning[uninitvar]: Uninitialized variable: temp_low.max_value
#  972|   
#  973|     f->mode = mode;
#  974|->   f->data = temp_low;
#  975|   
#  976|     if (unsigned_p == UNSIGNED_FIXED_POINT_MODE_P (f->mode))

Error: COMPILER_WARNING (CWE-134): [#def219]
gcc-15.0.1-20250418/gcc/fold-const.cc: scope_hint: In function ‘void fold_overflow_warning(const char*, warn_strict_overflow_code)’
gcc-15.0.1-20250418/gcc/fold-const.cc:383:13: warning[-Wformat-security]: format not a string literal and no format arguments
#  383 |     warning (OPT_Wstrict_overflow, gmsgid);
#      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  381|       }
#  382|     else if (issue_strict_overflow_warning (wc))
#  383|->     warning (OPT_Wstrict_overflow, gmsgid);
#  384|   }
#  385|   

Error: COMPILER_WARNING (CWE-134): [#def220]
gcc-15.0.1-20250418/gcc/fortran/decl.cc: scope_hint: In function ‘bool build_struct(const char*, gfc_charlen*, gfc_expr**, gfc_array_spec**)’
gcc-15.0.1-20250418/gcc/fortran/decl.cc:2441:29: warning[-Wformat-security]: format not a string literal and no format arguments
# 2441 |               gfc_error_now (err);
#      |               ~~~~~~~~~~~~~~^~~~~
# 2439|   		 the sake of clean error recovery.  Set the error flag for the
# 2440|   		 containing derived type so that finalizers are not built.  */
# 2441|-> 	      gfc_error_now (err);
# 2442|   	      s->sym->error = 1;
# 2443|   	      c->as->type = AS_DEFERRED;

Error: COMPILER_WARNING (CWE-134): [#def221]
gcc-15.0.1-20250418/gcc/fortran/decl.cc:2447:25: warning[-Wformat-security]: format not a string literal and no format arguments
# 2447 |               gfc_error (err);
#      |               ~~~~~~~~~~^~~~~
# 2445|   	  else
# 2446|   	    {
# 2447|-> 	      gfc_error (err);
# 2448|   	      return false;
# 2449|   	    }

Error: CPPCHECK_WARNING (CWE-476): [#def222]
gcc-15.0.1-20250418/gcc/fortran/decl.cc:10897: warning[nullPointer]: Possible null pointer dereference: g
#10895|   	      g->sym = f->sym;
#10896|   	    }
#10897|-> 	  g->next = sym->formal;
#10898|   	  sym->formal = h;
#10899|   	}

Error: CPPCHECK_WARNING (CWE-664): [#def223]
gcc-15.0.1-20250418/gcc/fortran/error.cc:262: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  260|   {
#  261|     va_list argp;
#  262|->   va_copy (argp, ap);
#  263|   
#  264|     diagnostic_info diagnostic;

Error: CPPCHECK_WARNING (CWE-664): [#def224]
gcc-15.0.1-20250418/gcc/fortran/error.cc:274: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  272|       global_dc->set_diagnostic_buffer (pp_warning_buffer);
#  273|   
#  274|->   diagnostic_set_info (&diagnostic, gmsgid, &argp, &rich_loc,
#  275|   		       DK_WARNING);
#  276|     diagnostic.option_id = opt;

Error: CPPCHECK_WARNING (CWE-664): [#def225]
gcc-15.0.1-20250418/gcc/fortran/error.cc:282: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  280|       global_dc->set_diagnostic_buffer (old_buffer);
#  281|   
#  282|->   va_end (argp);
#  283|     return ret;
#  284|   }

Error: CPPCHECK_WARNING (CWE-664): [#def226]
gcc-15.0.1-20250418/gcc/fortran/error.cc:763: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  761|   {
#  762|     va_list argp;
#  763|->   va_copy (argp, ap);
#  764|   
#  765|     if (warnings_not_errors)

Error: CPPCHECK_WARNING (CWE-664): [#def227]
gcc-15.0.1-20250418/gcc/fortran/error.cc:767: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  765|     if (warnings_not_errors)
#  766|       {
#  767|->       gfc_warning (opt, gmsgid, argp);
#  768|         va_end (argp);
#  769|         return;

Error: CPPCHECK_WARNING (CWE-664): [#def228]
gcc-15.0.1-20250418/gcc/fortran/error.cc:768: error[va_list_usedBeforeStarted]: va_list 'argp' used before va_start() was called.
#  766|       {
#  767|         gfc_warning (opt, gmsgid, argp);
#  768|->       va_end (argp);
#  769|         return;
#  770|       }

Error: CPPCHECK_WARNING (CWE-909): [#def229]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.deferred
# 3261|     res->value.op.op1 = e1;
# 3262|     res->value.op.op2 = e2;
# 3263|->   res->ts = ts;
# 3264|   
# 3265|     return res;

Error: CPPCHECK_WARNING (CWE-909): [#def230]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.f90_type
# 3261|     res->value.op.op1 = e1;
# 3262|     res->value.op.op2 = e2;
# 3263|->   res->ts = ts;
# 3264|   
# 3265|     return res;

Error: CPPCHECK_WARNING (CWE-909): [#def231]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.interface
# 3261|     res->value.op.op1 = e1;
# 3262|     res->value.op.op2 = e2;
# 3263|->   res->ts = ts;
# 3264|   
# 3265|     return res;

Error: CPPCHECK_WARNING (CWE-909): [#def232]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.interop_kind
# 3261|     res->value.op.op1 = e1;
# 3262|     res->value.op.op2 = e2;
# 3263|->   res->ts = ts;
# 3264|   
# 3265|     return res;

Error: CPPCHECK_WARNING (CWE-909): [#def233]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.is_c_interop
# 3261|     res->value.op.op1 = e1;
# 3262|     res->value.op.op2 = e2;
# 3263|->   res->ts = ts;
# 3264|   
# 3265|     return res;

Error: CPPCHECK_WARNING (CWE-909): [#def234]
gcc-15.0.1-20250418/gcc/fortran/frontend-passes.cc:3263: error[uninitStructMember]: Uninitialized struct member: ts.is_iso_c
# 3261|     res->value.op.op1 = e1;
# 3262|     res->value.op.op2 = e2;
# 3263|->   res->ts = ts;
# 3264|   
# 3265|     return res;

Error: CPPCHECK_WARNING (CWE-476): [#def235]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6986: warning[nullPointer]: Possible null pointer dereference: mod_sym
# 6984|   			    "create symbol for %s", iso_c_module_name);
# 6985|   
# 6986|->       mod_sym->attr.flavor = FL_MODULE;
# 6987|         mod_sym->attr.intrinsic = 1;
# 6988|         mod_sym->module = gfc_get_string ("%s", iso_c_module_name);

Error: CPPCHECK_WARNING (CWE-476): [#def236]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6987: warning[nullPointer]: Possible null pointer dereference: mod_sym
# 6985|   
# 6986|         mod_sym->attr.flavor = FL_MODULE;
# 6987|->       mod_sym->attr.intrinsic = 1;
# 6988|         mod_sym->module = gfc_get_string ("%s", iso_c_module_name);
# 6989|         mod_sym->from_intmod = INTMOD_ISO_C_BINDING;

Error: CPPCHECK_WARNING (CWE-476): [#def237]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6988: warning[nullPointer]: Possible null pointer dereference: mod_sym
# 6986|         mod_sym->attr.flavor = FL_MODULE;
# 6987|         mod_sym->attr.intrinsic = 1;
# 6988|->       mod_sym->module = gfc_get_string ("%s", iso_c_module_name);
# 6989|         mod_sym->from_intmod = INTMOD_ISO_C_BINDING;
# 6990|       }

Error: CPPCHECK_WARNING (CWE-476): [#def238]
gcc-15.0.1-20250418/gcc/fortran/module.cc:6989: warning[nullPointer]: Possible null pointer dereference: mod_sym
# 6987|         mod_sym->attr.intrinsic = 1;
# 6988|         mod_sym->module = gfc_get_string ("%s", iso_c_module_name);
# 6989|->       mod_sym->from_intmod = INTMOD_ISO_C_BINDING;
# 6990|       }
# 6991|   

Error: CPPCHECK_WARNING (CWE-476): [#def239]
gcc-15.0.1-20250418/gcc/fortran/resolve.cc:9658: warning[nullPointer]: Possible null pointer dereference: tail
# 9656|   	  p = q;
# 9657|   	}
# 9658|->       tail->right = NULL;
# 9659|   
# 9660|         /* If we have done only one merge or none at all, we've

Error: CPPCHECK_WARNING (CWE-476): [#def240]
gcc-15.0.1-20250418/gcc/fortran/resolve.cc:18512: warning[nullPointer]: Possible null pointer dereference: sym
#18510|       }
#18511|   
#18512|->   return sym->attr.flavor == FL_PROCEDURE && sym->attr.implicit_pure
#18513|       && !sym->attr.pure;
#18514|   }

Error: CPPCHECK_WARNING (CWE-476): [#def241]
gcc-15.0.1-20250418/gcc/fortran/resolve.cc:18537: warning[nullPointer]: Possible null pointer dereference: sym
#18535|       }
#18536|   
#18537|->   if (sym->attr.flavor == FL_PROCEDURE)
#18538|       sym->attr.implicit_pure = 0;
#18539|     else

Error: CPPCHECK_WARNING (CWE-476): [#def242]
gcc-15.0.1-20250418/gcc/fortran/trans-io.cc:2327: warning[nullPointer]: Possible null pointer dereference: code
# 2325|     /* gfortran reaches here for "print *, c_loc(xxx)".  */
# 2326|     if (ts->type == BT_VOID
# 2327|->       && code->expr1 && code->expr1->ts.type == BT_VOID
# 2328|         && code->expr1->symtree
# 2329|         && strcmp (code->expr1->symtree->name, "c_loc") == 0)

Error: CPPCHECK_WARNING (CWE-476): [#def243]
gcc-15.0.1-20250418/gcc/fortran/trans-io.cc:2328: warning[nullPointer]: Possible null pointer dereference: code
# 2326|     if (ts->type == BT_VOID
# 2327|         && code->expr1 && code->expr1->ts.type == BT_VOID
# 2328|->       && code->expr1->symtree
# 2329|         && strcmp (code->expr1->symtree->name, "c_loc") == 0)
# 2330|       {

Error: CPPCHECK_WARNING (CWE-476): [#def244]
gcc-15.0.1-20250418/gcc/fortran/trans-io.cc:2329: warning[nullPointer]: Possible null pointer dereference: code
# 2327|         && code->expr1 && code->expr1->ts.type == BT_VOID
# 2328|         && code->expr1->symtree
# 2329|->       && strcmp (code->expr1->symtree->name, "c_loc") == 0)
# 2330|       {
# 2331|         ts->type = BT_INTEGER;

Error: CPPCHECK_WARNING (CWE-457): [#def245]
gcc-15.0.1-20250418/gcc/fortran/trans.cc:981: warning[uninitvar]: Uninitialized variable: caf_attr.codimension
#  979|   
#  980|     if (flag_coarray == GFC_FCOARRAY_LIB
#  981|->       && (corank > 0 || caf_attr.codimension))
#  982|       {
#  983|         tree cond2, sub_caf_tree;

Error: CPPCHECK_WARNING (CWE-476): [#def246]
gcc-15.0.1-20250418/gcc/gcc.cc:2036: warning[nullPointer]: Possible null pointer dereference: sl
# 2034|     gcc_assert (sl);
# 2035|   
# 2036|->   if (sl->alloc_p)
# 2037|       {
# 2038|         const char *old = *spec;

Error: CPPCHECK_WARNING (CWE-476): [#def247]
gcc-15.0.1-20250418/gcc/gcov.cc:2790: warning[nullPointer]: Possible null pointer dereference: inv_arc
# 2788|   		    inv_arc = arc;
# 2789|   		}
# 2790|-> 	      dst = inv_arc->dst;
# 2791|   	      inv_arc->count_valid = 1;
# 2792|   	      inv_arc->count = total;

Error: CPPCHECK_WARNING (CWE-476): [#def248]
gcc-15.0.1-20250418/gcc/gcov.cc:2791: warning[nullPointer]: Possible null pointer dereference: inv_arc
# 2789|   		}
# 2790|   	      dst = inv_arc->dst;
# 2791|-> 	      inv_arc->count_valid = 1;
# 2792|   	      inv_arc->count = total;
# 2793|   	      blk->num_succ--;

Error: CPPCHECK_WARNING (CWE-476): [#def249]
gcc-15.0.1-20250418/gcc/gcov.cc:2792: warning[nullPointer]: Possible null pointer dereference: inv_arc
# 2790|   	      dst = inv_arc->dst;
# 2791|   	      inv_arc->count_valid = 1;
# 2792|-> 	      inv_arc->count = total;
# 2793|   	      blk->num_succ--;
# 2794|   	      dst->num_pred--;

Error: CPPCHECK_WARNING (CWE-476): [#def250]
gcc-15.0.1-20250418/gcc/gcov.cc:2826: warning[nullPointer]: Possible null pointer dereference: inv_arc
# 2824|   		    inv_arc = arc;
# 2825|   		}
# 2826|-> 	      src = inv_arc->src;
# 2827|   	      inv_arc->count_valid = 1;
# 2828|   	      inv_arc->count = total;

Error: CPPCHECK_WARNING (CWE-476): [#def251]
gcc-15.0.1-20250418/gcc/gcov.cc:2827: warning[nullPointer]: Possible null pointer dereference: inv_arc
# 2825|   		}
# 2826|   	      src = inv_arc->src;
# 2827|-> 	      inv_arc->count_valid = 1;
# 2828|   	      inv_arc->count = total;
# 2829|   	      blk->num_pred--;

Error: CPPCHECK_WARNING (CWE-476): [#def252]
gcc-15.0.1-20250418/gcc/gcov.cc:2828: warning[nullPointer]: Possible null pointer dereference: inv_arc
# 2826|   	      src = inv_arc->src;
# 2827|   	      inv_arc->count_valid = 1;
# 2828|-> 	      inv_arc->count = total;
# 2829|   	      blk->num_pred--;
# 2830|   	      src->num_succ--;

Error: CPPCHECK_WARNING (CWE-562): [#def253]
gcc-15.0.1-20250418/gcc/genmatch.cc:5714: error[danglingLifetime]: Non-local variable 'oper_lists_set' will use pointer to local variable 'olist'.
# 5712|     /* Reset oper_lists and set.  */
# 5713|     hash_set <user_id *> olist;
# 5714|->   oper_lists_set = &olist;
# 5715|     oper_lists = vNULL;
# 5716|   

Error: CPPCHECK_WARNING (CWE-457): [#def254]
gcc-15.0.1-20250418/gcc/genopinit.cc:238: warning[uninitvar]: Uninitialized variable: last_kind
#  236|       }
#  237|     fprintf (h_file, "  FIRST_CONV_OPTAB = %s,\n", optabs[last_kind[0]+1].name);
#  238|->   fprintf (h_file, "  LAST_CONVLIB_OPTAB = %s,\n", optabs[last_kind[1]].name);
#  239|     fprintf (h_file, "  LAST_CONV_OPTAB = %s,\n", optabs[last_kind[2]].name);
#  240|     fprintf (h_file, "  FIRST_NORM_OPTAB = %s,\n", optabs[last_kind[2]+1].name);

Error: COMPILER_WARNING (CWE-134): [#def255]
gcc-15.0.1-20250418/gcc/gimple-range-gori.cc: scope_hint: In member function ‘void range_def_chain::dump(FILE*, basic_block, const char*)’
gcc-15.0.1-20250418/gcc/gimple-range-gori.cc:318:19: warning[-Wformat-security]: format not a string literal and no format arguments
#  318 |           fprintf (f, prefix);
#      |           ~~~~~~~~^~~~~~~~~~~
#  316|         if (chain && !bitmap_empty_p (chain))
#  317|   	{
#  318|-> 	  fprintf (f, prefix);
#  319|   	  print_generic_expr (f, name, TDF_SLIM);
#  320|   	  fprintf (f, " : ");

Error: CPPCHECK_WARNING (CWE-562): [#def256]
gcc-15.0.1-20250418/gcc/gimple-walk.cc:620: error[returnDanglingLifetime]: Returning pointer to local variable 'handled_ops' that will be invalid when returning.
#  618|         tree_ret = callback_stmt (gsi, &handled_ops, wi);
#  619|         if (handled_ops)
#  620|-> 	return tree_ret;
#  621|   
#  622|         /* If CALLBACK_STMT did not handle operands, it should not have

Error: CPPCHECK_WARNING (CWE-823): [#def257]
gcc-15.0.1-20250418/gcc/hash-table.cc:99: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
#   97|   
#   98|     /* If we've run out of primes, abort.  */
#   99|->   gcc_assert (n <= prime_tab[low].prime);
#  100|   
#  101|     return low;

Error: CPPCHECK_WARNING (CWE-758): [#def258]
gcc-15.0.1-20250418/gcc/input.cc:1804: warning[objectIndex]: The address of variable 'strloc' might be accessed at non-zero index.
# 1802|         /* Get range of strloc.  We will use it to locate the start and finish
# 1803|   	 of the literal token within the line.  */
# 1804|->       source_range src_range = get_range_from_loc (line_table, strlocs[i]);
# 1805|   
# 1806|         if (src_range.m_start >= LINEMAPS_MACRO_LOWEST_LOCATION (line_table))

Error: COMPILER_WARNING (CWE-134): [#def259]
gcc-15.0.1-20250418/gcc/ipa-devirt.cc: scope_hint: In function ‘void warn_odr(tree, tree, tree, tree, bool, bool*, const char*)’
gcc-15.0.1-20250418/gcc/ipa-devirt.cc:967:10: warning[-Wformat-security]: format not a string literal and no format arguments
#  967 |   inform (DECL_SOURCE_LOCATION (decl2), reason);
#      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  965|     else
#  966|       return;
#  967|->   inform (DECL_SOURCE_LOCATION (decl2), reason);
#  968|   
#  969|     if (warned)

Error: CPPCHECK_WARNING (CWE-476): [#def260]
gcc-15.0.1-20250418/gcc/ira.cc:3911: warning[nullPointer]: Possible null pointer dereference: use_insn
# 3909|         /* Don't substitute into jumps.  indirect_jump_optimize does
# 3910|   	 this for anything we are prepared to handle.  */
# 3911|->       if (JUMP_P (use_insn))
# 3912|   	continue;
# 3913|   

Error: CPPCHECK_WARNING (CWE-562): [#def261]
gcc-15.0.1-20250418/gcc/jump.cc:1465: error[danglingTemporaryLifetime]: Using pointer that is a temporary.
# 1463|       loc = &PATTERN (jump);
# 1464|   
# 1465|->   redirect_exp_1 (loc, JUMP_LABEL (jump), nlabel, jump);
# 1466|     return num_validated_changes () > ochanges;
# 1467|   }

Error: COMPILER_WARNING: [#def262]
gcc-15.0.1-20250418/gcc/lto-cgraph.cc: scope_hint: In function ‘void input_offload_tables(bool)’
gcc-15.0.1-20250418/gcc/lto-cgraph.cc:1981:35: warning[-Wformat-diag]: unquoted identifier or keyword ‘GCC_OFFLOAD_OMP_REQUIRES_FILE’ in format
# 1981 |     fatal_error (input_location, "GCC_OFFLOAD_OMP_REQUIRES_FILE unset");
#      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1979|     char *omp_requires_file = getenv ("GCC_OFFLOAD_OMP_REQUIRES_FILE");
# 1980|     if (omp_requires_file == NULL || omp_requires_file[0] == '\0')
# 1981|->     fatal_error (input_location, "GCC_OFFLOAD_OMP_REQUIRES_FILE unset");
# 1982|     FILE *f = fopen (omp_requires_file, "wb");
# 1983|     if (!f)

Error: COMPILER_WARNING: [#def263]
gcc-15.0.1-20250418/gcc/lto-cgraph.cc:1984:47: warning[-Wformat-diag]: unquoted identifier or keyword ‘omp_requires’ in format
# 1984 |     fatal_error (input_location, "Cannot open omp_requires file %qs",
#      |                                               ^~~~~~~~~~~~
# 1982|     FILE *f = fopen (omp_requires_file, "wb");
# 1983|     if (!f)
# 1984|->     fatal_error (input_location, "Cannot open omp_requires file %qs",
# 1985|   		 omp_requires_file);
# 1986|     uint32_t req_mask = omp_requires_mask;

Error: COMPILER_WARNING (CWE-134): [#def264]
gcc-15.0.1-20250418/gcc/lto-wrapper.cc: scope_hint: In function ‘void run_gcc(unsigned int, char**)’
gcc-15.0.1-20250418/gcc/lto-wrapper.cc:2027:23: warning[-Wformat-security]: format not a string literal and no format arguments
# 2027 |               warning (0, jinfo.error_msg.c_str ());
#      |               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2025|   	  if (jobserver_requested && !jinfo.is_active)
# 2026|   	    {
# 2027|-> 	      warning (0, jinfo.error_msg.c_str ());
# 2028|   	      print_lto_docs_link ();
# 2029|   	    }

Error: CPPCHECK_WARNING (CWE-457): [#def265]
gcc-15.0.1-20250418/gcc/opt-suggestions.cc:178: error[uninitvar]: Uninitialized variable: *option
#  176|   		if (sanitizer_opts[j].flag == ~0U && i == OPT_fsanitize_)
#  177|   		  {
#  178|-> 		    optb = *option;
#  179|   		    optb.opt_text = opt_text = "-fno-sanitize=";
#  180|   		    optb.cl_reject_negative = true;

Error: CPPCHECK_WARNING (CWE-823): [#def266]
gcc-15.0.1-20250418/gcc/opts.cc:121: error[arrayIndexOutOfBounds]: Array 'debug_type_masks[6]' accessed at index 6, which is out of bounds.
#  119|     for (int i = DINFO_TYPE_NONE; i <= DINFO_TYPE_MAX; i++)
#  120|       {
#  121|->       df_mask = debug_type_masks[i];
#  122|         if (w_symbols & df_mask)
#  123|   	{

Error: CPPCHECK_WARNING (CWE-476): [#def267]
gcc-15.0.1-20250418/gcc/postreload.cc:1308: warning[nullPointer]: Possible null pointer dereference: lowest_ruid
# 1306|   		}
# 1307|   
# 1308|-> 	      fixup_debug_insns (reg, reg_sum, insn, lowest_ruid->insn);
# 1309|   
# 1310|   	      /* Delete the reg-reg addition.  */

Error: CPPCHECK_WARNING (CWE-823): [#def268]
gcc-15.0.1-20250418/gcc/real.cc:436: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
#  434|        in an out-of-bound access below.  */
#  435|     if (n % HOST_BITS_PER_LONG != 0)
#  436|->     r->sig[w] &= ~(((unsigned long)1 << (n % HOST_BITS_PER_LONG)) - 1);
#  437|   }
#  438|   

Error: CPPCHECK_WARNING (CWE-823): [#def269]
gcc-15.0.1-20250418/gcc/real.cc:1530: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
# 1528|   	{
# 1529|   	  int j = SIGSZ - words + i;
# 1530|-> 	  val[i] = (j < 0) ? 0 : r->sig[j];
# 1531|   	}
# 1532|   #else

Error: CPPCHECK_WARNING (CWE-823): [#def270]
gcc-15.0.1-20250418/gcc/real.cc:4038: error[arrayIndexOutOfBounds]: Array 'u.sig[3]' accessed at index 3, which is out of bounds.
# 4036|   	      image1 = u.sig[1];
# 4037|   	      image2 = u.sig[2];
# 4038|-> 	      image3 |= u.sig[3] & 0xffff;
# 4039|   	    }
# 4040|   	  else

Error: CPPCHECK_WARNING (CWE-823): [#def271]
gcc-15.0.1-20250418/gcc/real.cc:4080: error[arrayIndexOutOfBounds]: Array 'u.sig[3]' accessed at index 3, which is out of bounds.
# 4078|   	  image1 = u.sig[1];
# 4079|   	  image2 = u.sig[2];
# 4080|-> 	  image3 |= u.sig[3] & 0xffff;
# 4081|   	}
# 4082|         else

Error: CPPCHECK_WARNING (CWE-823): [#def272]
gcc-15.0.1-20250418/gcc/real.cc:4158: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
# 4156|   	      r->sig[1] = image1;
# 4157|   	      r->sig[2] = image2;
# 4158|-> 	      r->sig[3] = image3;
# 4159|   	    }
# 4160|   	  else

Error: CPPCHECK_WARNING (CWE-823): [#def273]
gcc-15.0.1-20250418/gcc/real.cc:4184: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
# 4182|   	      r->sig[1] = image1;
# 4183|   	      r->sig[2] = image2;
# 4184|-> 	      r->sig[3] = image3;
# 4185|   	    }
# 4186|   	  else

Error: CPPCHECK_WARNING (CWE-823): [#def274]
gcc-15.0.1-20250418/gcc/real.cc:4210: error[arrayIndexOutOfBounds]: Array 'r->sig[3]' accessed at index 3, which is out of bounds.
# 4208|   	  r->sig[1] = image1;
# 4209|   	  r->sig[2] = image2;
# 4210|-> 	  r->sig[3] = image3;
# 4211|   	}
# 4212|         else

Error: CPPCHECK_WARNING (CWE-562): [#def275]
gcc-15.0.1-20250418/gcc/ree.cc:698: error[returnDanglingLifetime]: Returning pointer that will be invalid when returning.
#  696|       }
#  697|   
#  698|->   return sub_rtx;
#  699|   }
#  700|   

Error: CPPCHECK_WARNING (CWE-562): [#def276]
gcc-15.0.1-20250418/gcc/regrename.cc:1941: error[danglingTemporaryLifetime]: Using pointer that is a temporary.
# 1939|   		if (!*x)
# 1940|   		  x = &PATTERN (insn);
# 1941|-> 		if (GET_CODE (*x) == PARALLEL)
# 1942|   		  x = &XVECEXP (*x, 0, 0);
# 1943|   		if (GET_CODE (*x) == SET)

Error: COMPILER_WARNING (CWE-457): [#def277]
gcc-15.0.1-20250418/gcc/reload1.cc: scope_hint: In function ‘void elimination_costs_in_insn(rtx_insn*)’
gcc-15.0.1-20250418/gcc/reload1.cc:3661:28: warning[-Wmaybe-uninitialized]: ‘orig_dup[0]’ may be used uninitialized
# 3661 |     *recog_data.dup_loc[i] = orig_dup[i];
#      |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
gcc-15.0.1-20250418/gcc/reload1.cc:3537:7: note: ‘orig_dup[0]’ was declared here
# 3537 |   rtx orig_dup[MAX_RECOG_OPERANDS];
#      |       ^~~~~~~~
# 3659|       *recog_data.operand_loc[i] = orig_operand[i];
# 3660|     for (i = 0; i < n_dups; i++)
# 3661|->     *recog_data.dup_loc[i] = orig_dup[i];
# 3662|   
# 3663|     /* Update all elimination pairs to reflect the status after the current

Error: CPPCHECK_WARNING (CWE-476): [#def278]
gcc-15.0.1-20250418/gcc/reorg.cc:758: warning[nullPointer]: Possible null pointer dereference: label
#  756|     if (JUMP_P (insn)
#  757|         && (condjump_p (insn) || condjump_in_parallel_p (insn))
#  758|->       && !ANY_RETURN_P (label)
#  759|         && INSN_UID (insn) <= max_uid
#  760|         && INSN_UID (label) <= max_uid)

Error: CPPCHECK_WARNING (CWE-476): [#def279]
gcc-15.0.1-20250418/gcc/rtl.h:1454: error[ctunullpointer]: Null pointer dereference: insn
# 1452|   inline int INSN_UID (const_rtx insn)
# 1453|   {
# 1454|->   return RTL_INSN_CHAIN_FLAG_CHECK ("INSN_UID",
# 1455|   				    (insn))->u2.insn_uid;
# 1456|   }

Error: CPPCHECK_WARNING (CWE-476): [#def280]
gcc-15.0.1-20250418/gcc/rtl.h:1454: warning[nullPointer]: Possible null pointer dereference: insn
# 1452|   inline int INSN_UID (const_rtx insn)
# 1453|   {
# 1454|->   return RTL_INSN_CHAIN_FLAG_CHECK ("INSN_UID",
# 1455|   				    (insn))->u2.insn_uid;
# 1456|   }

Error: CPPCHECK_WARNING (CWE-476): [#def281]
gcc-15.0.1-20250418/gcc/sel-sched-ir.h:1077: error[ctunullpointer]: Null pointer dereference: loop
# 1075|     struct loop_exit *exit;
# 1076|   
# 1077|->   gcc_assert (loop->latch != EXIT_BLOCK_PTR_FOR_FN (cfun)
# 1078|                 && current_loops->state & LOOPS_HAVE_RECORDED_EXITS);
# 1079|   

Error: CPPCHECK_WARNING (CWE-476): [#def282]
gcc-15.0.1-20250418/gcc/sel-sched-ir.h:1077: warning[nullPointer]: Possible null pointer dereference: loop
# 1075|     struct loop_exit *exit;
# 1076|   
# 1077|->   gcc_assert (loop->latch != EXIT_BLOCK_PTR_FOR_FN (cfun)
# 1078|                 && current_loops->state & LOOPS_HAVE_RECORDED_EXITS);
# 1079|   

Error: COMPILER_WARNING: [#def283]
gcc-15.0.1-20250418/gcc/text-art/style.cc: scope_hint: In member function ‘void text_art::style::color::print_sgr(pretty_printer*, bool, bool&) const’
gcc-15.0.1-20250418/gcc/text-art/style.cc:150:25: warning[-Wformat-diag]: spurious leading punctuation sequence ‘;’ in format
#  150 |         pp_printf (pp, ";5;%i", (int)u.m_8bit);
#      |                         ^
#  148|   	else
#  149|   	  pp_string (pp, "48");
#  150|-> 	pp_printf (pp, ";5;%i", (int)u.m_8bit);
#  151|         }
#  152|         break;

Error: COMPILER_WARNING: [#def284]
gcc-15.0.1-20250418/gcc/text-art/style.cc:160:25: warning[-Wformat-diag]: spurious leading punctuation sequence ‘;’ in format
#  160 |         pp_printf (pp, ";2;%i;%i;%i",
#      |                         ^
#  158|   	else
#  159|   	  pp_string (pp, "48");
#  160|-> 	pp_printf (pp, ";2;%i;%i;%i",
#  161|   		   (int)u.m_24bit.r,
#  162|   		   (int)u.m_24bit.g,

Error: COMPILER_WARNING (CWE-134): [#def285]
gcc-15.0.1-20250418/gcc/tree-ssa-sccvn.cc: scope_hint: In function ‘void print_vn_reference_ops(FILE*, vec<vn_reference_op_struct>)’
gcc-15.0.1-20250418/gcc/tree-ssa-sccvn.cc:286:21: warning[-Wformat-security]: format not a string literal and no format arguments
#  286 |             fprintf (outfile, internal_fn_name ((internal_fn)vro->clique));
#      |             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  284|   	{
#  285|   	  if (!vro->op0)
#  286|-> 	    fprintf (outfile, internal_fn_name ((internal_fn)vro->clique));
#  287|   	  else
#  288|   	    print_generic_expr (outfile, vro->op0);

Error: CPPCHECK_WARNING (CWE-823): [#def286]
gcc-15.0.1-20250418/gcc/tree.h:4322: error[arrayIndexOutOfBounds]: Array 'res.coeffs[1]' accessed at index 1, which is out of bounds.
# 4320|         res.coeffs[0] = HOST_WIDE_INT_1U << (precision & 0xff);
# 4321|         if (precision & 0x100)
# 4322|-> 	res.coeffs[1] = HOST_WIDE_INT_1U << (precision & 0xff);
# 4323|         return res;
# 4324|       }

Error: CPPCHECK_WARNING (CWE-823): [#def287]
gcc-15.0.1-20250418/gcc/tree.h:4356: error[arrayIndexOutOfBounds]: Array 'subparts.coeffs[1]' accessed at index 1, which is out of bounds.
# 4354|   	 treat the shift amount as an independent byte, so here we use
# 4355|   	 0xff for coeff[0] and 0x100 for coeff[1].  */
# 4356|->       unsigned HOST_WIDE_INT coeff1 = subparts.coeffs[1];
# 4357|         gcc_assert (coeff1 == 0 || coeff1 == coeff0);
# 4358|         VECTOR_TYPE_CHECK (node)->type_common.precision

Error: CPPCHECK_WARNING (CWE-823): [#def288]
gcc-15.0.1-20250418/gcc/tree.h:4376: error[arrayIndexOutOfBounds]: Array 'subparts.coeffs[1]' accessed at index 1, which is out of bounds.
# 4374|     if (NUM_POLY_INT_COEFFS == 2)
# 4375|       {
# 4376|->       unsigned HOST_WIDE_INT coeff1 = subparts.coeffs[1];
# 4377|         if (coeff1 != 0 && coeff1 != coeff0)
# 4378|   	return false;

Error: CPPCHECK_WARNING (CWE-457): [#def289]
gcc-15.0.1-20250418/libcpp/charset.cc:1301: error[uninitvar]: Uninitialized variable: name_after_uax44_lm2
# 1299|        and so should match U+1180.  */
# 1300|     if (q - name_after_uax44_lm2 == sizeof ("HANGULJUNGSEONGO-E") - 1
# 1301|->       && memcmp (name_after_uax44_lm2, "HANGULJUNGSEONGO-E",
# 1302|   		 sizeof ("HANGULJUNGSEONGO-E") - 1) == 0)
# 1303|       {

Error: COMPILER_WARNING: [#def290]
gcc-15.0.1-20250418/libcpp/expr.cc:20: included_from: Included from here.
gcc-15.0.1-20250418/libcpp/expr.cc: scope_hint: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’
gcc-15.0.1-20250418/libcpp/expr.cc:880:41: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
#  880 |                                    ? N_("use of C++11 long long integer "
#      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  881 |                                         "constant")
#      |                                         ~~~~~~~~~~
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
#  291 | # define N_(msgid) msgid
#      |                    ^~~~~
gcc-15.0.1-20250418/libcpp/expr.cc:880:55: note: format string is defined here
#  880 |                                    ? N_("use of C++11 long long integer "
#      |                                                       ^~~~~~~~~
#  878|               cpp_warning_with_line (pfile, CPP_W_LONG_LONG, virtual_location, 0,
#  879|   				   CPP_OPTION (pfile, cplusplus)
#  880|-> 				   ? N_("use of C++11 long long integer "
#  881|   					"constant")
#  882|   				   : N_("use of C99 long long integer "

Error: COMPILER_WARNING: [#def291]
gcc-15.0.1-20250418/libcpp/expr.cc:882:41: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
#  882 |                                    : N_("use of C99 long long integer "
#      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  883 |                                         "constant"));
#      |                                         ~~~~~~~~~~
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
#  291 | # define N_(msgid) msgid
#      |                    ^~~~~
gcc-15.0.1-20250418/libcpp/expr.cc:882:53: note: format string is defined here
#  882 |                                    : N_("use of C99 long long integer "
#      |                                                     ^~~~~~~~~
#  880|   				   ? N_("use of C++11 long long integer "
#  881|   					"constant")
#  882|-> 				   : N_("use of C99 long long integer "
#  883|   					"constant"));
#  884|             else

Error: COMPILER_WARNING: [#def292]
gcc-15.0.1-20250418/libcpp/expr.cc:888:44: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
#  888 |                                       ? N_("use of C++11 long long integer "
#      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  889 |                                            "constant")
#      |                                            ~~~~~~~~~~
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
#  291 | # define N_(msgid) msgid
#      |                    ^~~~~
gcc-15.0.1-20250418/libcpp/expr.cc:888:58: note: format string is defined here
#  888 |                                       ? N_("use of C++11 long long integer "
#      |                                                          ^~~~~~~~~
#  886|   				      virtual_location, 0,
#  887|   				      CPP_OPTION (pfile, cplusplus)
#  888|-> 				      ? N_("use of C++11 long long integer "
#  889|   					   "constant")
#  890|   				      : N_("use of C99 long long integer "

Error: COMPILER_WARNING: [#def293]
gcc-15.0.1-20250418/libcpp/expr.cc:890:44: warning[-Wformat-diag]: unquoted type name ‘long long’ in format
#  890 |                                       : N_("use of C99 long long integer "
#      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  891 |                                            "constant"));
#      |                                            ~~~~~~~~~~
gcc-15.0.1-20250418/libcpp/system.h:291:20: note: in definition of macro ‘N_’
#  291 | # define N_(msgid) msgid
#      |                    ^~~~~
gcc-15.0.1-20250418/libcpp/expr.cc:890:56: note: format string is defined here
#  890 |                                       : N_("use of C99 long long integer "
#      |                                                        ^~~~~~~~~
#  888|   				      ? N_("use of C++11 long long integer "
#  889|   					   "constant")
#  890|-> 				      : N_("use of C99 long long integer "
#  891|   					   "constant"));
#  892|           }

Error: CPPCHECK_WARNING (CWE-590): [#def294]
gcc-15.0.1-20250418/libcpp/init.cc:394: error[autovarInvalidDeallocation]: Deallocation of an auto-variable (.) results in undefined behaviour.
#  392|         free (run->base);
#  393|         if (run != &pfile->base_run)
#  394|-> 	free (run);
#  395|       }
#  396|   

Error: COMPILER_WARNING (CWE-134): [#def295]
gcc-15.0.1-20250418/libcpp/macro.cc: scope_hint: In member function ‘vaopt_state::update_type vaopt_state::update(const cpp_token*)’
gcc-15.0.1-20250418/libcpp/macro.cc:185:26: warning[-Wformat-security]: format not a string literal and no format arguments
#  185 |             cpp_error_at (m_pfile, CPP_DL_ERROR, token->src_loc,
#      |             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  186 |                           vaopt_paste_error);
#      |                           ~~~~~~~~~~~~~~~~~~
#  183|   	if (m_state == 2 && token->type == CPP_PASTE)
#  184|   	  {
#  185|-> 	    cpp_error_at (m_pfile, CPP_DL_ERROR, token->src_loc,
#  186|   			  vaopt_paste_error);
#  187|   	    return ERROR;

Error: COMPILER_WARNING (CWE-134): [#def296]
gcc-15.0.1-20250418/libcpp/macro.cc:214:34: warning[-Wformat-security]: format not a string literal and no format arguments
#  214 |                     cpp_error_at (m_pfile, CPP_DL_ERROR, token->src_loc,
#      |                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  215 |                                   vaopt_paste_error);
#      |                                   ~~~~~~~~~~~~~~~~~~
#  212|   		if (was_paste)
#  213|   		  {
#  214|-> 		    cpp_error_at (m_pfile, CPP_DL_ERROR, token->src_loc,
#  215|   				  vaopt_paste_error);
#  216|   		    return ERROR;

Error: CPPCHECK_WARNING (CWE-457): [#def297]
gcc-15.0.1-20250418/libdecnumber/bid/bid2dpd_dpd2bid.c:321: error[legacyUninitvar]: Uninitialized variable: BH
#  319|       }
#  320|       d1018 = reciprocals10_128[18];
#  321|->     __mul_128x128_high (BH, bcoeff, d1018);
#  322|       amount = recip_scale[18];
#  323|       BH.w[0] = (BH.w[0] >> amount) | (BH.w[1] << (64 - amount));

Error: COMPILER_WARNING: [#def298]
gcc-15.0.1-20250418/gcc/config/gcn/gcn-run.cc:38: included_from: Included from here.
gcc-15.0.1-20250418/libgomp/config/gcn/libgomp-gcn.h:46:8: warning[-Wpedantic]: ISO C forbids zero-size array ‘data’
#   46 |   char data[0];
#      |        ^~~~
#   44|   {
#   45|     int64_t size;
#   46|->   char data[0];
#   47|   };
#   48|   

Error: CPPCHECK_WARNING (CWE-562): [#def299]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5183: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5181|   
# 5182|   	    adpm[i].next = dpi->modifiers;
# 5183|-> 	    dpi->modifiers = &adpm[i];
# 5184|   	    adpm[i].mod = typed_name;
# 5185|   	    adpm[i].printed = 0;

Error: CPPCHECK_WARNING (CWE-562): [#def300]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5221: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5219|   		adpm[i] = adpm[i - 1];
# 5220|   		adpm[i].next = &adpm[i - 1];
# 5221|-> 		dpi->modifiers = &adpm[i];
# 5222|   
# 5223|   		adpm[i - 1].mod = typed_name;

Error: CPPCHECK_WARNING (CWE-562): [#def301]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5242: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5240|   	  {
# 5241|   	    dpt.next = dpi->templates;
# 5242|-> 	    dpi->templates = &dpt;
# 5243|   	    dpt.template_decl = typed_name;
# 5244|   

Error: CPPCHECK_WARNING (CWE-562): [#def302]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:5717: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5715|   
# 5716|   	adpm[0].next = hold_modifiers;
# 5717|-> 	dpi->modifiers = &adpm[0];
# 5718|   	adpm[0].mod = dc;
# 5719|   	adpm[0].printed = 0;

Error: CPPCHECK_WARNING (CWE-562): [#def303]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:6745: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 6743|       {
# 6744|         dpt.next = dpi->templates;
# 6745|->       dpi->templates = &dpt;
# 6746|         dpt.template_decl = dpi->current_template;
# 6747|       }

Error: CPPCHECK_WARNING (CWE-909): [#def304]
gcc-15.0.1-20250418/libiberty/cp-demangle.c:6752: error[uninitStructMember]: Uninitialized struct member: dpt.next
# 6750|   
# 6751|     if (dpi->current_template != NULL)
# 6752|->     dpi->templates = dpt.next;
# 6753|   }
# 6754|   

Error: CPPCHECK_WARNING (CWE-823): [#def305]
gcc-15.0.1-20250418/libiberty/hashtab.c:187: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
#  185|   
#  186|     /* If we've run out of primes, abort.  */
#  187|->   if (n > prime_tab[low].prime)
#  188|       {
#  189|         fprintf (stderr, "Cannot find prime bigger than %lu\n", n);

Error: CPPCHECK_WARNING (CWE-476): [#def306]
gcc-15.0.1-20250418/libiberty/make-relative-prefix.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  108|     char *result = (char *) malloc (len + 1);
#  109|   
#  110|->   memcpy (result, s, len);
#  111|     result[len] = 0;
#  112|     return result;

Error: CPPCHECK_WARNING (CWE-476): [#def307]
gcc-15.0.1-20250418/libiberty/make-relative-prefix.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  109|   
#  110|     memcpy (result, s, len);
#  111|->   result[len] = 0;
#  112|     return result;
#  113|   }

Error: CPPCHECK_WARNING (CWE-401): [#def308]
gcc-15.0.1-20250418/libiberty/regex.c:2444: error[memleak]: Memory leak: compile_stack.stack
# 2442|           }
# 2443|   
# 2444|->       if (!COMPILED_BUFFER_VAR) FREE_STACK_RETURN (REG_ESPACE);
# 2445|   #ifdef WCHAR
# 2446|         bufp->buffer = (char*)COMPILED_BUFFER_VAR;

Error: CPPCHECK_WARNING (CWE-562): [#def309]
gcc-15.0.1-20250418/libiberty/simple-object.c:295: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  293|     /* Copy over .note.GNU-stack section under the same name if present.  */
#  294|     else if (strcmp (name, ".note.GNU-stack") == 0)
#  295|->     return strcpy (newname, name);
#  296|     /* Copy over .note.gnu.property section under the same name if present.  */
#  297|     else if (strcmp (name, ".note.gnu.property") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def310]
gcc-15.0.1-20250418/libiberty/simple-object.c:298: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  296|     /* Copy over .note.gnu.property section under the same name if present.  */
#  297|     else if (strcmp (name, ".note.gnu.property") == 0)
#  298|->     return strcpy (newname, name);
#  299|     /* Copy over .comment section under the same name if present.  Solaris
#  300|        ld uses them to relax its checking of ELF gABI access rules for

Error: CPPCHECK_WARNING (CWE-562): [#def311]
gcc-15.0.1-20250418/libiberty/simple-object.c:303: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  301|        COMDAT sections in objects produced by GCC.  */
#  302|     else if (strcmp (name, ".comment") == 0)
#  303|->     return strcpy (newname, name);
#  304|     /* Copy over .GCC.command.line section under the same name if present.  */
#  305|     else if (strcmp (name, ".GCC.command.line") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def312]
gcc-15.0.1-20250418/libiberty/simple-object.c:306: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  304|     /* Copy over .GCC.command.line section under the same name if present.  */
#  305|     else if (strcmp (name, ".GCC.command.line") == 0)
#  306|->     return strcpy (newname, name);
#  307|     /* Copy over .ctf section under the same name if present.  */
#  308|     else if (strcmp (name, ".ctf") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def313]
gcc-15.0.1-20250418/libiberty/simple-object.c:309: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  307|     /* Copy over .ctf section under the same name if present.  */
#  308|     else if (strcmp (name, ".ctf") == 0)
#  309|->     return strcpy (newname, name);
#  310|     /* Copy over .BTF section under the same name if present.  */
#  311|     else if (strcmp (name, ".BTF") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def314]
gcc-15.0.1-20250418/libiberty/simple-object.c:312: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  310|     /* Copy over .BTF section under the same name if present.  */
#  311|     else if (strcmp (name, ".BTF") == 0)
#  312|->     return strcpy (newname, name);
#  313|     free (newname);
#  314|     return NULL;

Error: CPPCHECK_WARNING (CWE-664): [#def315]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:52: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#   50|     va_copy (ap, args);
#   51|   #else
#   52|->   memcpy ((void *) &ap, (void *) &args, sizeof (va_list));
#   53|   #endif
#   54|   

Error: CPPCHECK_WARNING (CWE-664): [#def316]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:65: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#   63|   	    {
#   64|   	      ++p;
#   65|-> 	      total_width += abs (va_arg (ap, int));
#   66|   	    }
#   67|   	  else

Error: CPPCHECK_WARNING (CWE-664): [#def317]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:75: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#   73|   		{
#   74|   		  ++p;
#   75|-> 		  total_width += abs (va_arg (ap, int));
#   76|   		}
#   77|   	      else

Error: CPPCHECK_WARNING (CWE-664): [#def318]
gcc-15.0.1-20250418/libiberty/vprintf-support.c:129: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#  127|   	      switch (prec)
#  128|   		{
#  129|-> 		case 0: (void) va_arg (ap, int); break;
#  130|   		case 1: (void) va_arg (ap, long int); break;
#  131|   		case 2: (void) va_arg (ap, long long int); break;

Error: COMPILER_WARNING (CWE-569): [#def319]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c: scope_hint: In function ‘courierize’
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:574:20: warning[-Wparentheses]: suggest parentheses around ‘&&’ within ‘||’
#  573 |             while (at(tos, idx) == '\n'
#      |                    ~~~~~~~~~~~~~~~~~~~~
#  574 |                    && (at(tos, idx+1) == '.')
#      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  572|   	    }  
#  573|   	    while (at(tos, idx) == '\n' 
#  574|-> 		   && (at(tos, idx+1) == '.')
#  575|   		   || (at(tos,idx+1) == '|'));
#  576|   	    cattext(&out,"@end smallexample");

Error: CPPCHECK_WARNING (CWE-476): [#def320]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1153: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
# 1151|   {
# 1152|       dict_type *new = (dict_type *)malloc(sizeof(dict_type));
# 1153|->     new->word = word;
# 1154|       new->next = root;
# 1155|       root = new;

Error: CPPCHECK_WARNING (CWE-476): [#def321]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1154: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
# 1152|       dict_type *new = (dict_type *)malloc(sizeof(dict_type));
# 1153|       new->word = word;
# 1154|->     new->next = root;
# 1155|       root = new;
# 1156|       new->code = (stinst_type *)malloc(sizeof(stinst_type ));

Error: CPPCHECK_WARNING (CWE-476): [#def322]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1156: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
# 1154|       new->next = root;
# 1155|       root = new;
# 1156|->     new->code = (stinst_type *)malloc(sizeof(stinst_type ));
# 1157|       new->code_length = 1;
# 1158|       new->code_end = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def323]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1157: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
# 1155|       root = new;
# 1156|       new->code = (stinst_type *)malloc(sizeof(stinst_type ));
# 1157|->     new->code_length = 1;
# 1158|       new->code_end = 0;
# 1159|       return new;

Error: CPPCHECK_WARNING (CWE-476): [#def324]
gcc-15.0.1-20250418/newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99/newlib/doc/makedoc.c:1158: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
# 1156|       new->code = (stinst_type *)malloc(sizeof(stinst_type ));
# 1157|       new->code_length = 1;
# 1158|->     new->code_end = 0;
# 1159|       return new;
# 1160|       

Error: CPPCHECK_WARNING (CWE-562): [#def325]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5131: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5129|   
# 5130|   	    adpm[i].next = dpi->modifiers;
# 5131|-> 	    dpi->modifiers = &adpm[i];
# 5132|   	    adpm[i].mod = typed_name;
# 5133|   	    adpm[i].printed = 0;

Error: CPPCHECK_WARNING (CWE-562): [#def326]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5169: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5167|   		adpm[i] = adpm[i - 1];
# 5168|   		adpm[i].next = &adpm[i - 1];
# 5169|-> 		dpi->modifiers = &adpm[i];
# 5170|   
# 5171|   		adpm[i - 1].mod = typed_name;

Error: CPPCHECK_WARNING (CWE-562): [#def327]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5190: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5188|   	  {
# 5189|   	    dpt.next = dpi->templates;
# 5190|-> 	    dpi->templates = &dpt;
# 5191|   	    dpt.template_decl = typed_name;
# 5192|   	  }

Error: CPPCHECK_WARNING (CWE-562): [#def328]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:5649: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5647|   
# 5648|   	adpm[0].next = hold_modifiers;
# 5649|-> 	dpi->modifiers = &adpm[0];
# 5650|   	adpm[0].mod = dc;
# 5651|   	adpm[0].printed = 0;

Error: CPPCHECK_WARNING (CWE-562): [#def329]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:6659: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 6657|       {
# 6658|         dpt.next = dpi->templates;
# 6659|->       dpi->templates = &dpt;
# 6660|         dpt.template_decl = dpi->current_template;
# 6661|       }

Error: CPPCHECK_WARNING (CWE-909): [#def330]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/cp-demangle.c:6666: error[uninitStructMember]: Uninitialized struct member: dpt.next
# 6664|   
# 6665|     if (dpi->current_template != NULL)
# 6666|->     dpi->templates = dpt.next;
# 6667|   }
# 6668|   

Error: CPPCHECK_WARNING (CWE-823): [#def331]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/hashtab.c:187: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
#  185|   
#  186|     /* If we've run out of primes, abort.  */
#  187|->   if (n > prime_tab[low].prime)
#  188|       {
#  189|         fprintf (stderr, "Cannot find prime bigger than %lu\n", n);

Error: CPPCHECK_WARNING (CWE-476): [#def332]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/make-relative-prefix.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  108|     char *result = (char *) malloc (len + 1);
#  109|   
#  110|->   memcpy (result, s, len);
#  111|     result[len] = 0;
#  112|     return result;

Error: CPPCHECK_WARNING (CWE-476): [#def333]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/make-relative-prefix.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  109|   
#  110|     memcpy (result, s, len);
#  111|->   result[len] = 0;
#  112|     return result;
#  113|   }

Error: CPPCHECK_WARNING (CWE-401): [#def334]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/regex.c:2444: error[memleak]: Memory leak: compile_stack.stack
# 2442|           }
# 2443|   
# 2444|->       if (!COMPILED_BUFFER_VAR) FREE_STACK_RETURN (REG_ESPACE);
# 2445|   #ifdef WCHAR
# 2446|         bufp->buffer = (char*)COMPILED_BUFFER_VAR;

Error: CPPCHECK_WARNING (CWE-562): [#def335]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:295: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  293|     /* Copy over .note.GNU-stack section under the same name if present.  */
#  294|     else if (strcmp (name, ".note.GNU-stack") == 0)
#  295|->     return strcpy (newname, name);
#  296|     /* Copy over .note.gnu.property section under the same name if present.  */
#  297|     else if (strcmp (name, ".note.gnu.property") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def336]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:298: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  296|     /* Copy over .note.gnu.property section under the same name if present.  */
#  297|     else if (strcmp (name, ".note.gnu.property") == 0)
#  298|->     return strcpy (newname, name);
#  299|     /* Copy over .comment section under the same name if present.  Solaris
#  300|        ld uses them to relax its checking of ELF gABI access rules for

Error: CPPCHECK_WARNING (CWE-562): [#def337]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:303: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  301|        COMDAT sections in objects produced by GCC.  */
#  302|     else if (strcmp (name, ".comment") == 0)
#  303|->     return strcpy (newname, name);
#  304|     /* Copy over .GCC.command.line section under the same name if present.  */
#  305|     else if (strcmp (name, ".GCC.command.line") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def338]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:306: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  304|     /* Copy over .GCC.command.line section under the same name if present.  */
#  305|     else if (strcmp (name, ".GCC.command.line") == 0)
#  306|->     return strcpy (newname, name);
#  307|     /* Copy over .ctf section under the same name if present.  */
#  308|     else if (strcmp (name, ".ctf") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def339]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:309: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  307|     /* Copy over .ctf section under the same name if present.  */
#  308|     else if (strcmp (name, ".ctf") == 0)
#  309|->     return strcpy (newname, name);
#  310|     /* Copy over .BTF section under the same name if present.  */
#  311|     else if (strcmp (name, ".BTF") == 0)

Error: CPPCHECK_WARNING (CWE-562): [#def340]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/simple-object.c:312: error[returnDanglingLifetime]: Returning pointer to local variable 'newname' that will be invalid when returning.
#  310|     /* Copy over .BTF section under the same name if present.  */
#  311|     else if (strcmp (name, ".BTF") == 0)
#  312|->     return strcpy (newname, name);
#  313|     free (newname);
#  314|     return NULL;

Error: CPPCHECK_WARNING (CWE-664): [#def341]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:52: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#   50|     va_copy (ap, args);
#   51|   #else
#   52|->   memcpy ((void *) &ap, (void *) &args, sizeof (va_list));
#   53|   #endif
#   54|   

Error: CPPCHECK_WARNING (CWE-664): [#def342]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:64: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#   62|   	    {
#   63|   	      ++p;
#   64|-> 	      total_width += abs (va_arg (ap, int));
#   65|   	    }
#   66|   	  else

Error: CPPCHECK_WARNING (CWE-664): [#def343]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:74: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#   72|   		{
#   73|   		  ++p;
#   74|-> 		  total_width += abs (va_arg (ap, int));
#   75|   		}
#   76|   	      else

Error: CPPCHECK_WARNING (CWE-664): [#def344]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/libiberty/vprintf-support.c:92: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
#   90|   	    case 'X':
#   91|   	    case 'c':
#   92|-> 	      (void) va_arg (ap, int);
#   93|   	      break;
#   94|   	    case 'f':

Error: COMPILER_WARNING (CWE-195): [#def345]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-ld.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-ld.cc:740:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘off_t’ {aka ‘long int’}
#  740 |       if (read_len != len || ferror (f))
#      |           ~~~~~~~~~^~~~~~
#  738|         size_t read_len = fread (buf, 1, len, f);
#  739|         buf[len] = '\0';
#  740|->       if (read_len != len || ferror (f))
#  741|   	{
#  742|   	  std::cerr << "error reading " << name << "\n";

Error: COMPILER_WARNING (CWE-195): [#def346]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-ld.cc:749:15: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘off_t’ {aka ‘long int’}
#  749 |       if (out != len)
#      |           ~~~~^~~~~~
#  747|         f = NULL;
#  748|         size_t out = fwrite (buf, 1, len, outfile);
#  749|->       if (out != len)
#  750|   	{
#  751|   	  std::cerr << "error writing to output file\n";

Error: COMPILER_WARNING (CWE-569): [#def347]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc:310:14: warning[-Wparentheses]: unnecessary parentheses in declaration of ‘sorters’
#  310 | static int (*(sorters[2][2])) (const void *, const void *) =
#      |              ^~~~~~~~~~~~~~~
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc:310:14: note: remove parentheses
#  310 | static int (*(sorters[2][2])) (const void *, const void *) =
#      |              ^~~~~~~~~~~~~~~
#      |              -             -
#  308|   }
#  309|   
#  310|-> static int (*(sorters[2][2])) (const void *, const void *) =
#  311|   {
#  312|     { non_numeric_forward, non_numeric_reverse },

Error: COMPILER_WARNING (CWE-195): [#def348]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc: scope_hint: In function ‘int main(int, char**)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-nm.cc:594:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘off_t’ {aka ‘long int’}
#  594 |       if (read_len != len || ferror (f))
#      |           ~~~~~~~~~^~~~~~
#  592|         size_t read_len = fread (buf, 1, len, f);
#  593|         buf[len] = '\0';
#  594|->       if (read_len != len || ferror (f))
#  595|   	{
#  596|   	  std::cerr << "error reading " << name << "\n";

Error: COMPILER_WARNING (CWE-252): [#def349]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-run.cc: scope_hint: In function ‘void compile_file(FILE*, void**)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/nvptx-run.cc:169:9: warning[-Wunused-result]: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’
#  169 |   fread (program, 1, len, f);
#      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~
#  167|   
#  168|     char *program = new char[len + 1];
#  169|->   fread (program, 1, len, f);
#  170|     program[len] = '\0';
#  171|     int off = 0;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def350]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  190|     dirs[num_dirs] = NULL;
#  191|   
#  192|->   if (dirs[num_dirs - 1] == NULL)
#  193|       {
#  194|         free_split_directories (dirs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  272|   		  if (endp == startp)
#  273|   		    {
#  274|-> 		      nstore[0] = '.';
#  275|   		      nstore[1] = DIR_SEPARATOR;
#  276|   		      nstore[2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def352]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#argument 1 of ‘__builtin_strcat’ must be non-null
#  287|   			nstore[endp - startp] = 0;
#  288|   		    }
#  289|-> 		  strcat (nstore, progname);
#  290|   		  if (! access (nstore, X_OK)
#  291|   #ifdef HAVE_HOST_EXECUTABLE_SUFFIX

Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
#  208|       (*obstack_alloc_failed_handler)();
#  209|     h->chunk = new_chunk;
#  210|->   new_chunk->prev = old_chunk;
#  211|     new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:585:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:10: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:607:16: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: danger: ‘pipes[0]’ leaks here
#  634|   	}
#  635|         *err = errno;
#  636|->       *errmsg = VFORK_STRING;
#  637|         return (pid_t) -1;
#  638|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1]’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:585:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:588:10: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:607:16: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:636:7: danger: ‘pipes[1]’ leaks here
#  634|   	}
#  635|         *err = errno;
#  636|->       *errmsg = VFORK_STRING;
#  637|         return (pid_t) -1;
#  638|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def356]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:649:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(in, 0)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:649:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:649:16: danger: ‘dup2(in, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
#  647|   	if (!failed.fn && in != STDIN_FILE_NO)
#  648|   	  {
#  649|-> 	    if (dup2 (in, STDIN_FILE_NO) < 0)
#  650|   	      failed.fn = "dup2", failed.err = errno;
#  651|   	    else if (close (in) < 0)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:656:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(out, 1)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_false: following ‘false’ branch (when ‘in == 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:656:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:656:16: danger: ‘dup2(out, 1)’ leaks here; was opened at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
#  654|   	if (!failed.fn && out != STDOUT_FILE_NO)
#  655|   	  {
#  656|-> 	    if (dup2 (out, STDOUT_FILE_NO) < 0)
#  657|   	      failed.fn = "dup2", failed.err = errno;
#  658|   	    else if (close (out) < 0)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:663:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(errdes, 2)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_false: following ‘false’ branch (when ‘in == 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_false: following ‘false’ branch (when ‘out == 1’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:663:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:663:16: danger: ‘dup2(errdes, 2)’ leaks here; was opened at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
#  661|   	if (!failed.fn && errdes != STDERR_FILE_NO)
#  662|   	  {
#  663|-> 	    if (dup2 (errdes, STDERR_FILE_NO) < 0)
#  664|   	      failed.fn = "dup2", failed.err = errno;
#  665|   	    else if (close (errdes) < 0)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:675:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(1, 2)’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:647:13: branch_false: following ‘false’ branch (when ‘in == 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:654:13: branch_false: following ‘false’ branch (when ‘out == 1’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:661:13: branch_false: following ‘false’ branch (when ‘errdes == 2’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:13: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:668:13: branch_false: following ‘false’ branch (when ‘toclose < 0’)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:673:14: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:673:12: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:675:17: acquire_resource: opened here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/pex-unix.c:675:16: danger: ‘dup2(1, 2)’ leaks here; was opened at [(21)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/20)
#  673|   	if (!failed.fn && (flags & PEX_STDERR_TO_STDOUT) != 0)
#  674|   	  {
#  675|-> 	    if (dup2 (STDOUT_FILE_NO, STDERR_FILE_NO) < 0)
#  676|   	      failed.fn = "dup2", failed.err = errno;
#  677|   	  }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def360]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
# 1157|         if (sobj->segment_name != NULL)
# 1158|   	{
# 1159|-> 	  index[sect*4+0] = (unsigned int) offset;
# 1160|   	  index[sect*4+1] = secsize;
# 1161|   	  /* Stash the section name in our table.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
# 1208|   	 created section.  */
# 1209|   
# 1210|->       secsize = (offset - index[0]);
# 1211|         if (!simple_object_mach_o_write_section_header (sobj, descriptor,
# 1212|   						      sechdr_offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
#  754|         for (errnoval = 0; errnoval < num_error_names; errnoval++)
#  755|   	{
#  756|-> 	  if ((error_names[errnoval] != NULL) &&
#  757|   	      (strcmp (name, error_names[errnoval]) == 0))
#  758|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
#  522|         for (signo = 0; signo < num_signal_names; signo++)
#  523|   	{
#  524|-> 	  if ((signal_names[signo] != NULL) &&
#  525|   	      (strcmp (name, signal_names[signo]) == 0))
#  526|   	    {

Error: GCC_ANALYZER_WARNING: [#def364]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
#  857|      *  the new pipe become the stdout.
#  858|      */
#  859|->   dup2 (fd[1], STDOUT_FILENO);
#  860|     dup2 (read_fd, STDIN_FILENO);
#  861|   

Error: GCC_ANALYZER_WARNING: [#def365]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
#  858|      */
#  859|     dup2 (fd[1], STDOUT_FILENO);
#  860|->   dup2 (read_fd, STDIN_FILENO);
#  861|   
#  862|     apply_fix (p_fixd, pz_curr_file);

Error: GCC_ANALYZER_WARNING: [#def366]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
#  156|      *  the new pipe become the stdout.
#  157|      */
#  158|->   dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|     dup2 (stdin_fd, STDIN_FILENO);
#  160|   

Error: GCC_ANALYZER_WARNING: [#def367]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
#  157|      */
#  158|     dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|->   dup2 (stdin_fd, STDIN_FILENO);
#  160|   
#  161|     if (*pp_args == (char *) NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-122): [#def370]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   81|     }
#   82|   
#   83|-> LDIRNAME(dos,1)
#   84|   LDIRNAME(unix,0)
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-122): [#def371]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   82|   
#   83|   LDIRNAME(dos,1)
#   84|-> LDIRNAME(unix,0)
#   85|   
#   86|   char *

Error: GCC_ANALYZER_WARNING (CWE-127): [#def372]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  190|     dirs[num_dirs] = NULL;
#  191|   
#  192|->   if (dirs[num_dirs - 1] == NULL)
#  193|       {
#  194|         free_split_directories (dirs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def373]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  272|   		  if (endp == startp)
#  273|   		    {
#  274|-> 		      nstore[0] = '.';
#  275|   		      nstore[1] = DIR_SEPARATOR;
#  276|   		      nstore[2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def374]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#argument 1 of ‘__builtin_strcat’ must be non-null
#  287|   			nstore[endp - startp] = 0;
#  288|   		    }
#  289|-> 		  strcat (nstore, progname);
#  290|   		  if (! access (nstore, X_OK)
#  291|   #ifdef HAVE_HOST_EXECUTABLE_SUFFIX

Error: GCC_ANALYZER_WARNING (CWE-476): [#def375]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
#  208|       (*obstack_alloc_failed_handler)();
#  209|     h->chunk = new_chunk;
#  210|->   new_chunk->prev = old_chunk;
#  211|     new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
# 1157|         if (sobj->segment_name != NULL)
# 1158|   	{
# 1159|-> 	  index[sect*4+0] = (unsigned int) offset;
# 1160|   	  index[sect*4+1] = secsize;
# 1161|   	  /* Stash the section name in our table.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def377]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
# 1208|   	 created section.  */
# 1209|   
# 1210|->       secsize = (offset - index[0]);
# 1211|         if (!simple_object_mach_o_write_section_header (sobj, descriptor,
# 1212|   						      sechdr_offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
#  754|         for (errnoval = 0; errnoval < num_error_names; errnoval++)
#  755|   	{
#  756|-> 	  if ((error_names[errnoval] != NULL) &&
#  757|   	      (strcmp (name, error_names[errnoval]) == 0))
#  758|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def379]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
#  522|         for (signo = 0; signo < num_signal_names; signo++)
#  523|   	{
#  524|-> 	  if ((signal_names[signo] != NULL) &&
#  525|   	      (strcmp (name, signal_names[signo]) == 0))
#  526|   	    {

Error: GCC_ANALYZER_WARNING: [#def380]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
#  857|      *  the new pipe become the stdout.
#  858|      */
#  859|->   dup2 (fd[1], STDOUT_FILENO);
#  860|     dup2 (read_fd, STDIN_FILENO);
#  861|   

Error: GCC_ANALYZER_WARNING: [#def381]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
#  858|      */
#  859|     dup2 (fd[1], STDOUT_FILENO);
#  860|->   dup2 (read_fd, STDIN_FILENO);
#  861|   
#  862|     apply_fix (p_fixd, pz_curr_file);

Error: GCC_ANALYZER_WARNING: [#def382]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
#  156|      *  the new pipe become the stdout.
#  157|      */
#  158|->   dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|     dup2 (stdin_fd, STDIN_FILENO);
#  160|   

Error: GCC_ANALYZER_WARNING: [#def383]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
#  157|      */
#  158|     dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|->   dup2 (stdin_fd, STDIN_FILENO);
#  160|   
#  161|     if (*pp_args == (char *) NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def385]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/fixincludes/../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: COMPILER_WARNING: [#def386]
gcc-15.0.1-20250418/gcc/gengtype-lex.l: scope_hint: In function ‘int yylex(const char**)’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/gengtype-lex.cc:356:15: warning[-Wimplicit-fallthrough=]: this statement may fall through
#  356 |  */
#      |  ~~           ^      
gcc-15.0.1-20250418/gcc/gengtype-lex.l:119:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
#  119 | "GTY"/{EOID}                    { return GTY_TOKEN; }
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-15.0.1-20250418/gcc/gengtype-lex.l:114:1: note: here
#  114 | "^"                                     |
#      | ^~~~~~~~
#  354|   /* Done after the current pattern has been matched and before the
#  355|    * corresponding action - sets up yytext.
#  356|->  */
#  357|   #define YY_DO_BEFORE_ACTION \
#  358|   	(yytext_ptr) = yy_bp; \

Error: CPPCHECK_WARNING (CWE-476): [#def387]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/gengtype-lex.cc:2497: warning[nullPointer]: Possible null pointer dereference: b
# 2495|    */
# 2496|       static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
# 2497|-> 
# 2498|   {
# 2499|   	int oerrno = errno;

Error: CPPCHECK_WARNING (CWE-476): [#def388]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/gengtype-lex.cc:2498: warning[nullPointer]: Possible null pointer dereference: b
# 2496|       static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
# 2497|   
# 2498|-> {
# 2499|   	int oerrno = errno;
# 2500|       

Error: COMPILER_WARNING (CWE-563): [#def389]
gcc-15.0.1-20250418/gcc/config/gcn/mkoffload.cc:39: included_from: Included from here.
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/multilib.h: scope_hint: At global scope
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/gcc/multilib.h:30:20: warning[-Wunused-variable]: ‘multilib_extra’ defined but not used
#   30 | static const char *multilib_extra = "";
#      |                    ^~~~~~~~~~~~~~
#   28|   };
#   29|   
#   30|-> static const char *multilib_extra = "";
#   31|   
#   32|   static const char *const multilib_exclusions_raw[] = {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def390]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6276:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
# 6274|      else {				/* non-negative result */
# 6275|       /* check units of the result before freeing any storage */
# 6276|->     for (u=acc; u<acc+accunits-1 && *u==0;) u++;
# 6277|       result=(*u==0 ? 0 : +1);
# 6278|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def391]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6277:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
# 6275|       /* check units of the result before freeing any storage */
# 6276|       for (u=acc; u<acc+accunits-1 && *u==0;) u++;
# 6277|->     result=(*u==0 ? 0 : +1);
# 6278|       }
# 6279|     /* clean up and return the result */

Error: GCC_ANALYZER_WARNING (CWE-126): [#def392]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:6376:19: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7422:13: enter_function: entry to ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7458:6: branch_false: following ‘false’ branch (when ‘adjust > 0’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7468:3: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7472:3: call_function: calling ‘decSetCoeff’ from ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7472:3: return_function: returning to ‘decSetSubnormal’ from ‘decSetCoeff’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
# 6374|       carry+=*a;
# 6375|       a++;
# 6376|->     carry+=((eInt)*b)*m;		/* [special-casing m=1/-1 */
# 6377|       b++;				/* here is not a win] */
# 6378|       /* here carry is new Unit of digits; it could be +ve or -ve */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def393]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:244:1: enter_function: entry to ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:248:6: branch_false: following ‘false’ branch (when ‘src != dest’)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:32: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:7: return_function: returning to ‘dyn_string_insert’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:251:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
#  249|       abort ();
#  250|   
#  251|->   if (dyn_string_resize (dest, dest->length + src->length) == NULL)
#  252|       return 0;
#  253|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def394]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:269:1: enter_function: entry to ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:7: return_function: returning to ‘dyn_string_insert_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:274:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
#  272|     int length = strlen (src);
#  273|   
#  274|->   if (dyn_string_resize (dest, dest->length + length) == NULL)
#  275|       return 0;
#  276|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def395]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:291:1: enter_function: entry to ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:7: return_function: returning to ‘dyn_string_insert_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:295:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
#  293|     int i;
#  294|   
#  295|->   if (dyn_string_resize (dest, dest->length + 1) == NULL)
#  296|       return 0;
#  297|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def396]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:312:1: enter_function: entry to ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:7: return_function: returning to ‘dyn_string_append’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:314:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
#  312|   dyn_string_append (dyn_string_t dest, dyn_string_t s)
#  313|   {
#  314|->   if (dyn_string_resize (dest, dest->length + s->length) == 0)
#  315|       return 0;
#  316|     strcpy (dest->s + dest->length, s->s);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def397]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:326:1: enter_function: entry to ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:7: return_function: returning to ‘dyn_string_append_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:332:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
#  330|     /* The new length is the old length plus the size of our string, plus
#  331|        one for the null at the end.  */
#  332|->   if (dyn_string_resize (dest, dest->length + len) == NULL)
#  333|       return 0;
#  334|     strcpy (dest->s + dest->length, s);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def398]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:343:1: enter_function: entry to ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:7: return_function: returning to ‘dyn_string_append_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/dyn-string.c:346:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
#  344|   {
#  345|     /* Make room for the extra character.  */
#  346|->   if (dyn_string_resize (dest, dest->length + 1) == NULL)
#  347|       return 0;
#  348|     /* Append the character; it will overwrite the old NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-122): [#def399]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   81|     }
#   82|   
#   83|-> LDIRNAME(dos,1)
#   84|   LDIRNAME(unix,0)
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-122): [#def400]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   82|   
#   83|   LDIRNAME(dos,1)
#   84|-> LDIRNAME(unix,0)
#   85|   
#   86|   char *

Error: GCC_ANALYZER_WARNING (CWE-127): [#def401]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  190|     dirs[num_dirs] = NULL;
#  191|   
#  192|->   if (dirs[num_dirs - 1] == NULL)
#  193|       {
#  194|         free_split_directories (dirs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  272|   		  if (endp == startp)
#  273|   		    {
#  274|-> 		      nstore[0] = '.';
#  275|   		      nstore[1] = DIR_SEPARATOR;
#  276|   		      nstore[2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def403]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#argument 1 of ‘__builtin_strcat’ must be non-null
#  287|   			nstore[endp - startp] = 0;
#  288|   		    }
#  289|-> 		  strcat (nstore, progname);
#  290|   		  if (! access (nstore, X_OK)
#  291|   #ifdef HAVE_HOST_EXECUTABLE_SUFFIX

Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
#  208|       (*obstack_alloc_failed_handler)();
#  209|     h->chunk = new_chunk;
#  210|->   new_chunk->prev = old_chunk;
#  211|     new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
# 1157|         if (sobj->segment_name != NULL)
# 1158|   	{
# 1159|-> 	  index[sect*4+0] = (unsigned int) offset;
# 1160|   	  index[sect*4+1] = secsize;
# 1161|   	  /* Stash the section name in our table.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
# 1208|   	 created section.  */
# 1209|   
# 1210|->       secsize = (offset - index[0]);
# 1211|         if (!simple_object_mach_o_write_section_header (sobj, descriptor,
# 1212|   						      sechdr_offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
#  754|         for (errnoval = 0; errnoval < num_error_names; errnoval++)
#  755|   	{
#  756|-> 	  if ((error_names[errnoval] != NULL) &&
#  757|   	      (strcmp (name, error_names[errnoval]) == 0))
#  758|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def408]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
#  522|         for (signo = 0; signo < num_signal_names; signo++)
#  523|   	{
#  524|-> 	  if ((signal_names[signo] != NULL) &&
#  525|   	      (strcmp (name, signal_names[signo]) == 0))
#  526|   	    {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def409]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:608:3: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(resolution_file, "w")’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
#  606|       }
#  607|   
#  608|->   fprintf (f, "%d\n", included_files);
#  609|   
#  610|     for (i = 0; i < num_claimed_files; i++)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def410]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:643:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: acquire_memory: this call could return NULL
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:792:7: call_function: calling ‘add_output_files’ from ‘all_symbols_read_handler’
#  641|         buf = s;
#  642|   cont:
#  643|->       if (!fgets (buf, piece, f))
#  644|   	{
#  645|   	  free (s);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def411]
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(offload_objects_file_name, "w")’ where non-null expected
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: return_function: returning to ‘all_symbols_read_handler’ from ‘write_resolution’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:841:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:849:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:858:11: acquire_memory: allocated here
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: call_function: calling ‘check_1’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: return_function: returning to ‘all_symbols_read_handler’ from ‘check_1’
gcc-15.0.1-20250418/obj-offload-amdgcn-amdhsa/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: danger: argument 1 (‘fopen(offload_objects_file_name, "w")’) NULL where non-null expected
#  858|         f = fopen (offload_objects_file_name, "w");
#  859|         check (f, LDPL_FATAL, "could not open file with offload objects");
#  860|->       fprintf (f, "%u\n", num_offload_files);
#  861|   
#  862|         /* Skip the dummy item at the start of the list.  */

Error: GCC_ANALYZER_WARNING: [#def412]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
#  857|      *  the new pipe become the stdout.
#  858|      */
#  859|->   dup2 (fd[1], STDOUT_FILENO);
#  860|     dup2 (read_fd, STDIN_FILENO);
#  861|   

Error: GCC_ANALYZER_WARNING: [#def413]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
#  858|      */
#  859|     dup2 (fd[1], STDOUT_FILENO);
#  860|->   dup2 (read_fd, STDIN_FILENO);
#  861|   
#  862|     apply_fix (p_fixd, pz_curr_file);

Error: GCC_ANALYZER_WARNING: [#def414]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
#  156|      *  the new pipe become the stdout.
#  157|      */
#  158|->   dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|     dup2 (stdin_fd, STDIN_FILENO);
#  160|   

Error: GCC_ANALYZER_WARNING: [#def415]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
#  157|      */
#  158|     dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|->   dup2 (stdin_fd, STDIN_FILENO);
#  160|   
#  161|     if (*pp_args == (char *) NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def416]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def417]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/fixincludes/../../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-122): [#def418]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   81|     }
#   82|   
#   83|-> LDIRNAME(dos,1)
#   84|   LDIRNAME(unix,0)
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-122): [#def419]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   82|   
#   83|   LDIRNAME(dos,1)
#   84|-> LDIRNAME(unix,0)
#   85|   
#   86|   char *

Error: GCC_ANALYZER_WARNING (CWE-127): [#def420]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  190|     dirs[num_dirs] = NULL;
#  191|   
#  192|->   if (dirs[num_dirs - 1] == NULL)
#  193|       {
#  194|         free_split_directories (dirs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def421]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  272|   		  if (endp == startp)
#  273|   		    {
#  274|-> 		      nstore[0] = '.';
#  275|   		      nstore[1] = DIR_SEPARATOR;
#  276|   		      nstore[2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def422]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#argument 1 of ‘__builtin_strcat’ must be non-null
#  287|   			nstore[endp - startp] = 0;
#  288|   		    }
#  289|-> 		  strcat (nstore, progname);
#  290|   		  if (! access (nstore, X_OK)
#  291|   #ifdef HAVE_HOST_EXECUTABLE_SUFFIX

Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
#  208|       (*obstack_alloc_failed_handler)();
#  209|     h->chunk = new_chunk;
#  210|->   new_chunk->prev = old_chunk;
#  211|     new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
# 1157|         if (sobj->segment_name != NULL)
# 1158|   	{
# 1159|-> 	  index[sect*4+0] = (unsigned int) offset;
# 1160|   	  index[sect*4+1] = secsize;
# 1161|   	  /* Stash the section name in our table.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def425]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
# 1208|   	 created section.  */
# 1209|   
# 1210|->       secsize = (offset - index[0]);
# 1211|         if (!simple_object_mach_o_write_section_header (sobj, descriptor,
# 1212|   						      sechdr_offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
#  754|         for (errnoval = 0; errnoval < num_error_names; errnoval++)
#  755|   	{
#  756|-> 	  if ((error_names[errnoval] != NULL) &&
#  757|   	      (strcmp (name, error_names[errnoval]) == 0))
#  758|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def427]
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/build-x86_64-pc-linux-gnu/libiberty/../../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
#  522|         for (signo = 0; signo < num_signal_names; signo++)
#  523|   	{
#  524|-> 	  if ((signal_names[signo] != NULL) &&
#  525|   	      (strcmp (name, signal_names[signo]) == 0))
#  526|   	    {

Error: GCC_ANALYZER_WARNING: [#def428]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
#  857|      *  the new pipe become the stdout.
#  858|      */
#  859|->   dup2 (fd[1], STDOUT_FILENO);
#  860|     dup2 (read_fd, STDIN_FILENO);
#  861|   

Error: GCC_ANALYZER_WARNING: [#def429]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
#  858|      */
#  859|     dup2 (fd[1], STDOUT_FILENO);
#  860|->   dup2 (read_fd, STDIN_FILENO);
#  861|   
#  862|     apply_fix (p_fixd, pz_curr_file);

Error: GCC_ANALYZER_WARNING: [#def430]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
#  156|      *  the new pipe become the stdout.
#  157|      */
#  158|->   dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|     dup2 (stdin_fd, STDIN_FILENO);
#  160|   

Error: GCC_ANALYZER_WARNING: [#def431]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
#  157|      */
#  158|     dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|->   dup2 (stdin_fd, STDIN_FILENO);
#  160|   
#  161|     if (*pp_args == (char *) NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def432]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def433]
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-offload-nvptx-none/fixincludes/../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: COMPILER_WARNING: [#def434]
gcc-15.0.1-20250418/gcc/gengtype-lex.l: scope_hint: In function ‘int yylex(const char**)’
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/gengtype-lex.cc:356:15: warning[-Wimplicit-fallthrough=]: this statement may fall through
#  356 |  */
#      |  ~~           ^      
gcc-15.0.1-20250418/gcc/gengtype-lex.l:119:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
#  119 | "GTY"/{EOID}                    { return GTY_TOKEN; }
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-15.0.1-20250418/gcc/gengtype-lex.l:114:1: note: here
#  114 | "^"                                     |
#      | ^~~~~~~~
#  354|   /* Done after the current pattern has been matched and before the
#  355|    * corresponding action - sets up yytext.
#  356|->  */
#  357|   #define YY_DO_BEFORE_ACTION \
#  358|   	(yytext_ptr) = yy_bp; \

Error: CPPCHECK_WARNING (CWE-476): [#def435]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/gengtype-lex.cc:2497: warning[nullPointer]: Possible null pointer dereference: b
# 2495|    */
# 2496|       static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
# 2497|-> 
# 2498|   {
# 2499|   	int oerrno = errno;

Error: CPPCHECK_WARNING (CWE-476): [#def436]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/gengtype-lex.cc:2498: warning[nullPointer]: Possible null pointer dereference: b
# 2496|       static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
# 2497|   
# 2498|-> {
# 2499|   	int oerrno = errno;
# 2500|       

Error: CPPCHECK_WARNING (CWE-758): [#def437]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:447: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  445|     MODE_MASK (2*BITS_PER_UNIT),   /* HI */
#  446|     MODE_MASK (4*BITS_PER_UNIT),   /* SI */
#  447|->   MODE_MASK (8*BITS_PER_UNIT),   /* DI */
#  448|     MODE_MASK (16*BITS_PER_UNIT),    /* TI */
#  449|     MODE_MASK (1*BITS_PER_UNIT),   /* QQ */

Error: CPPCHECK_WARNING (CWE-758): [#def438]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:448: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  446|     MODE_MASK (4*BITS_PER_UNIT),   /* SI */
#  447|     MODE_MASK (8*BITS_PER_UNIT),   /* DI */
#  448|->   MODE_MASK (16*BITS_PER_UNIT),    /* TI */
#  449|     MODE_MASK (1*BITS_PER_UNIT),   /* QQ */
#  450|     MODE_MASK (2*BITS_PER_UNIT),   /* HQ */

Error: CPPCHECK_WARNING (CWE-758): [#def439]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:452: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  450|     MODE_MASK (2*BITS_PER_UNIT),   /* HQ */
#  451|     MODE_MASK (4*BITS_PER_UNIT),   /* SQ */
#  452|->   MODE_MASK (8*BITS_PER_UNIT),   /* DQ */
#  453|     MODE_MASK (16*BITS_PER_UNIT),    /* TQ */
#  454|     MODE_MASK (1*BITS_PER_UNIT),   /* UQQ */

Error: CPPCHECK_WARNING (CWE-758): [#def440]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:453: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  451|     MODE_MASK (4*BITS_PER_UNIT),   /* SQ */
#  452|     MODE_MASK (8*BITS_PER_UNIT),   /* DQ */
#  453|->   MODE_MASK (16*BITS_PER_UNIT),    /* TQ */
#  454|     MODE_MASK (1*BITS_PER_UNIT),   /* UQQ */
#  455|     MODE_MASK (2*BITS_PER_UNIT),   /* UHQ */

Error: CPPCHECK_WARNING (CWE-758): [#def441]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:457: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  455|     MODE_MASK (2*BITS_PER_UNIT),   /* UHQ */
#  456|     MODE_MASK (4*BITS_PER_UNIT),   /* USQ */
#  457|->   MODE_MASK (8*BITS_PER_UNIT),   /* UDQ */
#  458|     MODE_MASK (16*BITS_PER_UNIT),    /* UTQ */
#  459|     MODE_MASK (2*BITS_PER_UNIT),   /* HA */

Error: CPPCHECK_WARNING (CWE-758): [#def442]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:458: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  456|     MODE_MASK (4*BITS_PER_UNIT),   /* USQ */
#  457|     MODE_MASK (8*BITS_PER_UNIT),   /* UDQ */
#  458|->   MODE_MASK (16*BITS_PER_UNIT),    /* UTQ */
#  459|     MODE_MASK (2*BITS_PER_UNIT),   /* HA */
#  460|     MODE_MASK (4*BITS_PER_UNIT),   /* SA */

Error: CPPCHECK_WARNING (CWE-758): [#def443]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:461: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  459|     MODE_MASK (2*BITS_PER_UNIT),   /* HA */
#  460|     MODE_MASK (4*BITS_PER_UNIT),   /* SA */
#  461|->   MODE_MASK (8*BITS_PER_UNIT),   /* DA */
#  462|     MODE_MASK (16*BITS_PER_UNIT),    /* TA */
#  463|     MODE_MASK (2*BITS_PER_UNIT),   /* UHA */

Error: CPPCHECK_WARNING (CWE-758): [#def444]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:462: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  460|     MODE_MASK (4*BITS_PER_UNIT),   /* SA */
#  461|     MODE_MASK (8*BITS_PER_UNIT),   /* DA */
#  462|->   MODE_MASK (16*BITS_PER_UNIT),    /* TA */
#  463|     MODE_MASK (2*BITS_PER_UNIT),   /* UHA */
#  464|     MODE_MASK (4*BITS_PER_UNIT),   /* USA */

Error: CPPCHECK_WARNING (CWE-758): [#def445]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:465: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  463|     MODE_MASK (2*BITS_PER_UNIT),   /* UHA */
#  464|     MODE_MASK (4*BITS_PER_UNIT),   /* USA */
#  465|->   MODE_MASK (8*BITS_PER_UNIT),   /* UDA */
#  466|     MODE_MASK (16*BITS_PER_UNIT),    /* UTA */
#  467|     MODE_MASK (2*BITS_PER_UNIT),   /* HF */

Error: CPPCHECK_WARNING (CWE-758): [#def446]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:466: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  464|     MODE_MASK (4*BITS_PER_UNIT),   /* USA */
#  465|     MODE_MASK (8*BITS_PER_UNIT),   /* UDA */
#  466|->   MODE_MASK (16*BITS_PER_UNIT),    /* UTA */
#  467|     MODE_MASK (2*BITS_PER_UNIT),   /* HF */
#  468|     MODE_MASK (4*BITS_PER_UNIT),   /* SF */

Error: CPPCHECK_WARNING (CWE-758): [#def447]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:469: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  467|     MODE_MASK (2*BITS_PER_UNIT),   /* HF */
#  468|     MODE_MASK (4*BITS_PER_UNIT),   /* SF */
#  469|->   MODE_MASK (8*BITS_PER_UNIT),   /* DF */
#  470|     MODE_MASK (4*BITS_PER_UNIT),   /* SD */
#  471|     MODE_MASK (8*BITS_PER_UNIT),   /* DD */

Error: CPPCHECK_WARNING (CWE-758): [#def448]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:471: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  469|     MODE_MASK (8*BITS_PER_UNIT),   /* DF */
#  470|     MODE_MASK (4*BITS_PER_UNIT),   /* SD */
#  471|->   MODE_MASK (8*BITS_PER_UNIT),   /* DD */
#  472|     MODE_MASK (16*BITS_PER_UNIT),    /* TD */
#  473|     MODE_MASK (2*BITS_PER_UNIT),   /* CQI */

Error: CPPCHECK_WARNING (CWE-758): [#def449]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:472: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  470|     MODE_MASK (4*BITS_PER_UNIT),   /* SD */
#  471|     MODE_MASK (8*BITS_PER_UNIT),   /* DD */
#  472|->   MODE_MASK (16*BITS_PER_UNIT),    /* TD */
#  473|     MODE_MASK (2*BITS_PER_UNIT),   /* CQI */
#  474|     MODE_MASK (4*BITS_PER_UNIT),   /* CHI */

Error: CPPCHECK_WARNING (CWE-758): [#def450]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:475: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  473|     MODE_MASK (2*BITS_PER_UNIT),   /* CQI */
#  474|     MODE_MASK (4*BITS_PER_UNIT),   /* CHI */
#  475|->   MODE_MASK (8*BITS_PER_UNIT),   /* CSI */
#  476|     MODE_MASK (16*BITS_PER_UNIT),    /* CDI */
#  477|     MODE_MASK (32*BITS_PER_UNIT),    /* CTI */

Error: CPPCHECK_WARNING (CWE-758): [#def451]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:476: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  474|     MODE_MASK (4*BITS_PER_UNIT),   /* CHI */
#  475|     MODE_MASK (8*BITS_PER_UNIT),   /* CSI */
#  476|->   MODE_MASK (16*BITS_PER_UNIT),    /* CDI */
#  477|     MODE_MASK (32*BITS_PER_UNIT),    /* CTI */
#  478|     MODE_MASK (4*BITS_PER_UNIT),   /* HC */

Error: CPPCHECK_WARNING (CWE-758): [#def452]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:477: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
#  475|     MODE_MASK (8*BITS_PER_UNIT),   /* CSI */
#  476|     MODE_MASK (16*BITS_PER_UNIT),    /* CDI */
#  477|->   MODE_MASK (32*BITS_PER_UNIT),    /* CTI */
#  478|     MODE_MASK (4*BITS_PER_UNIT),   /* HC */
#  479|     MODE_MASK (8*BITS_PER_UNIT),   /* SC */

Error: CPPCHECK_WARNING (CWE-758): [#def453]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:479: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  477|     MODE_MASK (32*BITS_PER_UNIT),    /* CTI */
#  478|     MODE_MASK (4*BITS_PER_UNIT),   /* HC */
#  479|->   MODE_MASK (8*BITS_PER_UNIT),   /* SC */
#  480|     MODE_MASK (16*BITS_PER_UNIT),    /* DC */
#  481|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */

Error: CPPCHECK_WARNING (CWE-758): [#def454]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:480: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  478|     MODE_MASK (4*BITS_PER_UNIT),   /* HC */
#  479|     MODE_MASK (8*BITS_PER_UNIT),   /* SC */
#  480|->   MODE_MASK (16*BITS_PER_UNIT),    /* DC */
#  481|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */
#  482|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */

Error: CPPCHECK_WARNING (CWE-758): [#def455]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:481: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
#  479|     MODE_MASK (8*BITS_PER_UNIT),   /* SC */
#  480|     MODE_MASK (16*BITS_PER_UNIT),    /* DC */
#  481|->   MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */
#  482|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */
#  483|   #undef MODE_MASK

Error: CPPCHECK_WARNING (CWE-758): [#def456]
gcc-15.0.1-20250418/obj-offload-nvptx-none/gcc/insn-modes.cc:482: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
#  480|     MODE_MASK (16*BITS_PER_UNIT),    /* DC */
#  481|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */
#  482|->   MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */
#  483|   #undef MODE_MASK
#  484|   };

Error: GCC_ANALYZER_WARNING (CWE-457): [#def457]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6276:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
# 6274|      else {				/* non-negative result */
# 6275|       /* check units of the result before freeing any storage */
# 6276|->     for (u=acc; u<acc+accunits-1 && *u==0;) u++;
# 6277|       result=(*u==0 ? 0 : +1);
# 6278|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def458]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6277:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
# 6275|       /* check units of the result before freeing any storage */
# 6276|       for (u=acc; u<acc+accunits-1 && *u==0;) u++;
# 6277|->     result=(*u==0 ? 0 : +1);
# 6278|       }
# 6279|     /* clean up and return the result */

Error: GCC_ANALYZER_WARNING (CWE-126): [#def459]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:6376:19: warning[-Wanalyzer-out-of-bounds]: buffer over-read
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7422:13: enter_function: entry to ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7458:6: branch_false: following ‘false’ branch (when ‘adjust > 0’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7468:3: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7472:3: call_function: calling ‘decSetCoeff’ from ‘decSetSubnormal’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7472:3: return_function: returning to ‘decSetSubnormal’ from ‘decSetCoeff’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
 branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libdecnumber/../../libdecnumber/decNumber.c:7473:3: call_function: inlined call to ‘decApplyRound’ from ‘decSetSubnormal’
# 6374|       carry+=*a;
# 6375|       a++;
# 6376|->     carry+=((eInt)*b)*m;		/* [special-casing m=1/-1 */
# 6377|       b++;				/* here is not a win] */
# 6378|       /* here carry is new Unit of digits; it could be +ve or -ve */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def460]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:244:1: enter_function: entry to ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:248:6: branch_false: following ‘false’ branch (when ‘src != dest’)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:32: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:7: return_function: returning to ‘dyn_string_insert’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:251:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
#  249|       abort ();
#  250|   
#  251|->   if (dyn_string_resize (dest, dest->length + src->length) == NULL)
#  252|       return 0;
#  253|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def461]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:269:1: enter_function: entry to ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:7: return_function: returning to ‘dyn_string_insert_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:274:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
#  272|     int length = strlen (src);
#  273|   
#  274|->   if (dyn_string_resize (dest, dest->length + length) == NULL)
#  275|       return 0;
#  276|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def462]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:291:1: enter_function: entry to ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:7: return_function: returning to ‘dyn_string_insert_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:295:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
#  293|     int i;
#  294|   
#  295|->   if (dyn_string_resize (dest, dest->length + 1) == NULL)
#  296|       return 0;
#  297|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def463]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:312:1: enter_function: entry to ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:7: return_function: returning to ‘dyn_string_append’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:314:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
#  312|   dyn_string_append (dyn_string_t dest, dyn_string_t s)
#  313|   {
#  314|->   if (dyn_string_resize (dest, dest->length + s->length) == 0)
#  315|       return 0;
#  316|     strcpy (dest->s + dest->length, s->s);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def464]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:326:1: enter_function: entry to ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:7: return_function: returning to ‘dyn_string_append_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:332:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
#  330|     /* The new length is the old length plus the size of our string, plus
#  331|        one for the null at the end.  */
#  332|->   if (dyn_string_resize (dest, dest->length + len) == NULL)
#  333|       return 0;
#  334|     strcpy (dest->s + dest->length, s);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def465]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:343:1: enter_function: entry to ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:7: return_function: returning to ‘dyn_string_append_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/dyn-string.c:346:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
#  344|   {
#  345|     /* Make room for the extra character.  */
#  346|->   if (dyn_string_resize (dest, dest->length + 1) == NULL)
#  347|       return 0;
#  348|     /* Append the character; it will overwrite the old NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-122): [#def466]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   81|     }
#   82|   
#   83|-> LDIRNAME(dos,1)
#   84|   LDIRNAME(unix,0)
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-122): [#def467]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   82|   
#   83|   LDIRNAME(dos,1)
#   84|-> LDIRNAME(unix,0)
#   85|   
#   86|   char *

Error: GCC_ANALYZER_WARNING (CWE-127): [#def468]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  190|     dirs[num_dirs] = NULL;
#  191|   
#  192|->   if (dirs[num_dirs - 1] == NULL)
#  193|       {
#  194|         free_split_directories (dirs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  272|   		  if (endp == startp)
#  273|   		    {
#  274|-> 		      nstore[0] = '.';
#  275|   		      nstore[1] = DIR_SEPARATOR;
#  276|   		      nstore[2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def470]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#argument 1 of ‘__builtin_strcat’ must be non-null
#  287|   			nstore[endp - startp] = 0;
#  288|   		    }
#  289|-> 		  strcat (nstore, progname);
#  290|   		  if (! access (nstore, X_OK)
#  291|   #ifdef HAVE_HOST_EXECUTABLE_SUFFIX

Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
#  208|       (*obstack_alloc_failed_handler)();
#  209|     h->chunk = new_chunk;
#  210|->   new_chunk->prev = old_chunk;
#  211|     new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
# 1157|         if (sobj->segment_name != NULL)
# 1158|   	{
# 1159|-> 	  index[sect*4+0] = (unsigned int) offset;
# 1160|   	  index[sect*4+1] = secsize;
# 1161|   	  /* Stash the section name in our table.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
# 1208|   	 created section.  */
# 1209|   
# 1210|->       secsize = (offset - index[0]);
# 1211|         if (!simple_object_mach_o_write_section_header (sobj, descriptor,
# 1212|   						      sechdr_offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
#  754|         for (errnoval = 0; errnoval < num_error_names; errnoval++)
#  755|   	{
#  756|-> 	  if ((error_names[errnoval] != NULL) &&
#  757|   	      (strcmp (name, error_names[errnoval]) == 0))
#  758|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-offload-nvptx-none/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
#  522|         for (signo = 0; signo < num_signal_names; signo++)
#  523|   	{
#  524|-> 	  if ((signal_names[signo] != NULL) &&
#  525|   	      (strcmp (name, signal_names[signo]) == 0))
#  526|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1153:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1343:1: enter_function: entry to ‘main’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1358:5: call_function: calling ‘add_intrinsic’ from ‘main’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1170:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1343:1: enter_function: entry to ‘main’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1358:5: call_function: calling ‘add_intrinsic’ from ‘main’

Error: GCC_ANALYZER_WARNING (CWE-476): [#def478]
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1174:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*entry.code + (long unsigned int)*entry.code_end * 8’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1343:1: enter_function: entry to ‘main’
gcc-15.0.1-20250418/obj-offload-nvptx-none/nvptx-none/newlib/../../../newlib/doc/makedoc.c:1358:5: call_function: calling ‘add_intrinsic’ from ‘main’

Error: GCC_ANALYZER_WARNING: [#def479]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:859:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:852:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:859:3: danger: ‘1’ could be invalid
#  857|      *  the new pipe become the stdout.
#  858|      */
#  859|->   dup2 (fd[1], STDOUT_FILENO);
#  860|     dup2 (read_fd, STDIN_FILENO);
#  861|   

Error: GCC_ANALYZER_WARNING: [#def480]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:860:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:807:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:851:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/fixincl.c:860:3: danger: ‘0’ could be invalid
#  858|      */
#  859|     dup2 (fd[1], STDOUT_FILENO);
#  860|->   dup2 (read_fd, STDIN_FILENO);
#  861|   
#  862|     apply_fix (p_fixd, pz_curr_file);

Error: GCC_ANALYZER_WARNING: [#def481]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:158:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:152:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:158:3: danger: ‘1’ could be invalid
#  156|      *  the new pipe become the stdout.
#  157|      */
#  158|->   dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|     dup2 (stdin_fd, STDIN_FILENO);
#  160|   

Error: GCC_ANALYZER_WARNING: [#def482]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:159:3: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:77:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:87:6: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:151:3: release_resource: closed here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:159:3: danger: ‘0’ could be invalid
#  157|      */
#  158|     dup2 (stdout_pair.write_fd, STDOUT_FILENO);
#  159|->   dup2 (stdin_fd, STDIN_FILENO);
#  160|   
#  161|     if (*pp_args == (char *) NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def483]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*p_pair.read_fd’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:182:1: enter_function: entry to ‘proc2_open’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:21: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:21: call_function: calling ‘chain_open’ from ‘proc2_open’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:21: return_function: returning to ‘proc2_open’ from ‘chain_open’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:3: danger: ‘*p_pair.read_fd’ leaks here
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def484]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:192:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_pair.read_fd’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:207:1: enter_function: entry to ‘proc2_fopen’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/fixincludes/../../../fixincludes/procopen.c:210:17: call_function: calling ‘proc2_open’ from ‘proc2_fopen’
#  190|       return NOPROCESS;
#  191|   
#  192|->   p_pair->read_fd = chain_open (p_pair->read_fd, pp_args, &ch_id);
#  193|     if (ch_id == NOPROCESS)
#  194|       close (p_pair->write_fd);

Error: GCC_ANALYZER_WARNING (CWE-122): [#def485]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   81|     }
#   82|   
#   83|-> LDIRNAME(dos,1)
#   84|   LDIRNAME(unix,0)
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-122): [#def486]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   82|   
#   83|   LDIRNAME(dos,1)
#   84|-> LDIRNAME(unix,0)
#   85|   
#   86|   char *

Error: GCC_ANALYZER_WARNING (CWE-127): [#def487]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  190|     dirs[num_dirs] = NULL;
#  191|   
#  192|->   if (dirs[num_dirs - 1] == NULL)
#  193|       {
#  194|         free_split_directories (dirs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def488]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  272|   		  if (endp == startp)
#  273|   		    {
#  274|-> 		      nstore[0] = '.';
#  275|   		      nstore[1] = DIR_SEPARATOR;
#  276|   		      nstore[2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def489]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:289:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘nstore’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#argument 1 of ‘__builtin_strcat’ must be non-null
#  287|   			nstore[endp - startp] = 0;
#  288|   		    }
#  289|-> 		  strcat (nstore, progname);
#  290|   		  if (! access (nstore, X_OK)
#  291|   #ifdef HAVE_HOST_EXECUTABLE_SUFFIX

Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
#  208|       (*obstack_alloc_failed_handler)();
#  209|     h->chunk = new_chunk;
#  210|->   new_chunk->prev = old_chunk;
#  211|     new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def491]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
# 1157|         if (sobj->segment_name != NULL)
# 1158|   	{
# 1159|-> 	  index[sect*4+0] = (unsigned int) offset;
# 1160|   	  index[sect*4+1] = secsize;
# 1161|   	  /* Stash the section name in our table.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def492]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
# 1208|   	 created section.  */
# 1209|   
# 1210|->       secsize = (offset - index[0]);
# 1211|         if (!simple_object_mach_o_write_section_header (sobj, descriptor,
# 1212|   						      sechdr_offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def493]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
#  754|         for (errnoval = 0; errnoval < num_error_names; errnoval++)
#  755|   	{
#  756|-> 	  if ((error_names[errnoval] != NULL) &&
#  757|   	      (strcmp (name, error_names[errnoval]) == 0))
#  758|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/build-x86_64-redhat-linux/libiberty/../../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
#  522|         for (signo = 0; signo < num_signal_names; signo++)
#  523|   	{
#  524|-> 	  if ((signal_names[signo] != NULL) &&
#  525|   	      (strcmp (name, signal_names[signo]) == 0))
#  526|   	    {

Error: COMPILER_WARNING: [#def495]
gcc-15.0.1-20250418/gcc/gengtype-lex.l: scope_hint: In function ‘int yylex(const char**)’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/gengtype-lex.cc:356:15: warning[-Wimplicit-fallthrough=]: this statement may fall through
#  356 |  */
#      |  ~~           ^      
gcc-15.0.1-20250418/gcc/gengtype-lex.l:119:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
#  119 | "GTY"/{EOID}                    { return GTY_TOKEN; }
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-15.0.1-20250418/gcc/gengtype-lex.l:114:1: note: here
#  114 | "^"                                     |
#      | ^~~~~~~~
#  354|   /* Done after the current pattern has been matched and before the
#  355|    * corresponding action - sets up yytext.
#  356|->  */
#  357|   #define YY_DO_BEFORE_ACTION \
#  358|   	(yytext_ptr) = yy_bp; \

Error: CPPCHECK_WARNING (CWE-476): [#def496]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/gengtype-lex.cc:2497: warning[nullPointer]: Possible null pointer dereference: b
# 2495|    */
# 2496|       static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
# 2497|-> 
# 2498|   {
# 2499|   	int oerrno = errno;

Error: CPPCHECK_WARNING (CWE-476): [#def497]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/gengtype-lex.cc:2498: warning[nullPointer]: Possible null pointer dereference: b
# 2496|       static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
# 2497|   
# 2498|-> {
# 2499|   	int oerrno = errno;
# 2500|       

Error: CPPCHECK_WARNING (CWE-758): [#def498]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1241: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1239|     MODE_MASK (2*BITS_PER_UNIT),   /* HI */
# 1240|     MODE_MASK (4*BITS_PER_UNIT),   /* SI */
# 1241|->   MODE_MASK (8*BITS_PER_UNIT),   /* DI */
# 1242|     MODE_MASK (16*BITS_PER_UNIT),    /* TI */
# 1243|     MODE_MASK (32*BITS_PER_UNIT),    /* OI */

Error: CPPCHECK_WARNING (CWE-758): [#def499]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1242: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1240|     MODE_MASK (4*BITS_PER_UNIT),   /* SI */
# 1241|     MODE_MASK (8*BITS_PER_UNIT),   /* DI */
# 1242|->   MODE_MASK (16*BITS_PER_UNIT),    /* TI */
# 1243|     MODE_MASK (32*BITS_PER_UNIT),    /* OI */
# 1244|     MODE_MASK (64*BITS_PER_UNIT),    /* XI */

Error: CPPCHECK_WARNING (CWE-758): [#def500]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1243: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1241|     MODE_MASK (8*BITS_PER_UNIT),   /* DI */
# 1242|     MODE_MASK (16*BITS_PER_UNIT),    /* TI */
# 1243|->   MODE_MASK (32*BITS_PER_UNIT),    /* OI */
# 1244|     MODE_MASK (64*BITS_PER_UNIT),    /* XI */
# 1245|     MODE_MASK (16),          /* P2QI */

Error: CPPCHECK_WARNING (CWE-758): [#def501]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1244: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1242|     MODE_MASK (16*BITS_PER_UNIT),    /* TI */
# 1243|     MODE_MASK (32*BITS_PER_UNIT),    /* OI */
# 1244|->   MODE_MASK (64*BITS_PER_UNIT),    /* XI */
# 1245|     MODE_MASK (16),          /* P2QI */
# 1246|     MODE_MASK (32),          /* P2HI */

Error: CPPCHECK_WARNING (CWE-758): [#def502]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1247: error[shiftTooManyBits]: Shifting 64-bit value by 160 bits is undefined behaviour
# 1245|     MODE_MASK (16),          /* P2QI */
# 1246|     MODE_MASK (32),          /* P2HI */
# 1247|->   MODE_MASK (160),         /* POI */
# 1248|     MODE_MASK (1*BITS_PER_UNIT),   /* QQ */
# 1249|     MODE_MASK (2*BITS_PER_UNIT),   /* HQ */

Error: CPPCHECK_WARNING (CWE-758): [#def503]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1251: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1249|     MODE_MASK (2*BITS_PER_UNIT),   /* HQ */
# 1250|     MODE_MASK (4*BITS_PER_UNIT),   /* SQ */
# 1251|->   MODE_MASK (8*BITS_PER_UNIT),   /* DQ */
# 1252|     MODE_MASK (16*BITS_PER_UNIT),    /* TQ */
# 1253|     MODE_MASK (1*BITS_PER_UNIT),   /* UQQ */

Error: CPPCHECK_WARNING (CWE-758): [#def504]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1252: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1250|     MODE_MASK (4*BITS_PER_UNIT),   /* SQ */
# 1251|     MODE_MASK (8*BITS_PER_UNIT),   /* DQ */
# 1252|->   MODE_MASK (16*BITS_PER_UNIT),    /* TQ */
# 1253|     MODE_MASK (1*BITS_PER_UNIT),   /* UQQ */
# 1254|     MODE_MASK (2*BITS_PER_UNIT),   /* UHQ */

Error: CPPCHECK_WARNING (CWE-758): [#def505]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1256: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1254|     MODE_MASK (2*BITS_PER_UNIT),   /* UHQ */
# 1255|     MODE_MASK (4*BITS_PER_UNIT),   /* USQ */
# 1256|->   MODE_MASK (8*BITS_PER_UNIT),   /* UDQ */
# 1257|     MODE_MASK (16*BITS_PER_UNIT),    /* UTQ */
# 1258|     MODE_MASK (2*BITS_PER_UNIT),   /* HA */

Error: CPPCHECK_WARNING (CWE-758): [#def506]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1257: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1255|     MODE_MASK (4*BITS_PER_UNIT),   /* USQ */
# 1256|     MODE_MASK (8*BITS_PER_UNIT),   /* UDQ */
# 1257|->   MODE_MASK (16*BITS_PER_UNIT),    /* UTQ */
# 1258|     MODE_MASK (2*BITS_PER_UNIT),   /* HA */
# 1259|     MODE_MASK (4*BITS_PER_UNIT),   /* SA */

Error: CPPCHECK_WARNING (CWE-758): [#def507]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1260: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1258|     MODE_MASK (2*BITS_PER_UNIT),   /* HA */
# 1259|     MODE_MASK (4*BITS_PER_UNIT),   /* SA */
# 1260|->   MODE_MASK (8*BITS_PER_UNIT),   /* DA */
# 1261|     MODE_MASK (16*BITS_PER_UNIT),    /* TA */
# 1262|     MODE_MASK (2*BITS_PER_UNIT),   /* UHA */

Error: CPPCHECK_WARNING (CWE-758): [#def508]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1261: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1259|     MODE_MASK (4*BITS_PER_UNIT),   /* SA */
# 1260|     MODE_MASK (8*BITS_PER_UNIT),   /* DA */
# 1261|->   MODE_MASK (16*BITS_PER_UNIT),    /* TA */
# 1262|     MODE_MASK (2*BITS_PER_UNIT),   /* UHA */
# 1263|     MODE_MASK (4*BITS_PER_UNIT),   /* USA */

Error: CPPCHECK_WARNING (CWE-758): [#def509]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1264: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1262|     MODE_MASK (2*BITS_PER_UNIT),   /* UHA */
# 1263|     MODE_MASK (4*BITS_PER_UNIT),   /* USA */
# 1264|->   MODE_MASK (8*BITS_PER_UNIT),   /* UDA */
# 1265|     MODE_MASK (16*BITS_PER_UNIT),    /* UTA */
# 1266|     MODE_MASK (2*BITS_PER_UNIT),   /* HF */

Error: CPPCHECK_WARNING (CWE-758): [#def510]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1265: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1263|     MODE_MASK (4*BITS_PER_UNIT),   /* USA */
# 1264|     MODE_MASK (8*BITS_PER_UNIT),   /* UDA */
# 1265|->   MODE_MASK (16*BITS_PER_UNIT),    /* UTA */
# 1266|     MODE_MASK (2*BITS_PER_UNIT),   /* HF */
# 1267|     MODE_MASK (2*BITS_PER_UNIT),   /* BF */

Error: CPPCHECK_WARNING (CWE-758): [#def511]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1269: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1267|     MODE_MASK (2*BITS_PER_UNIT),   /* BF */
# 1268|     MODE_MASK (4*BITS_PER_UNIT),   /* SF */
# 1269|->   MODE_MASK (8*BITS_PER_UNIT),   /* DF */
# 1270|     MODE_MASK (80),          /* XF */
# 1271|     MODE_MASK (16*BITS_PER_UNIT),    /* TF */

Error: CPPCHECK_WARNING (CWE-758): [#def512]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1270: error[shiftTooManyBits]: Shifting 64-bit value by 80 bits is undefined behaviour
# 1268|     MODE_MASK (4*BITS_PER_UNIT),   /* SF */
# 1269|     MODE_MASK (8*BITS_PER_UNIT),   /* DF */
# 1270|->   MODE_MASK (80),          /* XF */
# 1271|     MODE_MASK (16*BITS_PER_UNIT),    /* TF */
# 1272|     MODE_MASK (4*BITS_PER_UNIT),   /* SD */

Error: CPPCHECK_WARNING (CWE-758): [#def513]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1271: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1269|     MODE_MASK (8*BITS_PER_UNIT),   /* DF */
# 1270|     MODE_MASK (80),          /* XF */
# 1271|->   MODE_MASK (16*BITS_PER_UNIT),    /* TF */
# 1272|     MODE_MASK (4*BITS_PER_UNIT),   /* SD */
# 1273|     MODE_MASK (8*BITS_PER_UNIT),   /* DD */

Error: CPPCHECK_WARNING (CWE-758): [#def514]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1273: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1271|     MODE_MASK (16*BITS_PER_UNIT),    /* TF */
# 1272|     MODE_MASK (4*BITS_PER_UNIT),   /* SD */
# 1273|->   MODE_MASK (8*BITS_PER_UNIT),   /* DD */
# 1274|     MODE_MASK (16*BITS_PER_UNIT),    /* TD */
# 1275|     MODE_MASK (2*BITS_PER_UNIT),   /* CQI */

Error: CPPCHECK_WARNING (CWE-758): [#def515]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1274: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1272|     MODE_MASK (4*BITS_PER_UNIT),   /* SD */
# 1273|     MODE_MASK (8*BITS_PER_UNIT),   /* DD */
# 1274|->   MODE_MASK (16*BITS_PER_UNIT),    /* TD */
# 1275|     MODE_MASK (2*BITS_PER_UNIT),   /* CQI */
# 1276|     MODE_MASK (32),          /* CP2QI */

Error: CPPCHECK_WARNING (CWE-758): [#def516]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1278: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1276|     MODE_MASK (32),          /* CP2QI */
# 1277|     MODE_MASK (4*BITS_PER_UNIT),   /* CHI */
# 1278|->   MODE_MASK (64),          /* CP2HI */
# 1279|     MODE_MASK (8*BITS_PER_UNIT),   /* CSI */
# 1280|     MODE_MASK (16*BITS_PER_UNIT),    /* CDI */

Error: CPPCHECK_WARNING (CWE-758): [#def517]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1279: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1277|     MODE_MASK (4*BITS_PER_UNIT),   /* CHI */
# 1278|     MODE_MASK (64),          /* CP2HI */
# 1279|->   MODE_MASK (8*BITS_PER_UNIT),   /* CSI */
# 1280|     MODE_MASK (16*BITS_PER_UNIT),    /* CDI */
# 1281|     MODE_MASK (32*BITS_PER_UNIT),    /* CTI */

Error: CPPCHECK_WARNING (CWE-758): [#def518]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1280: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1278|     MODE_MASK (64),          /* CP2HI */
# 1279|     MODE_MASK (8*BITS_PER_UNIT),   /* CSI */
# 1280|->   MODE_MASK (16*BITS_PER_UNIT),    /* CDI */
# 1281|     MODE_MASK (32*BITS_PER_UNIT),    /* CTI */
# 1282|     MODE_MASK (320),         /* CPOI */

Error: CPPCHECK_WARNING (CWE-758): [#def519]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1281: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1279|     MODE_MASK (8*BITS_PER_UNIT),   /* CSI */
# 1280|     MODE_MASK (16*BITS_PER_UNIT),    /* CDI */
# 1281|->   MODE_MASK (32*BITS_PER_UNIT),    /* CTI */
# 1282|     MODE_MASK (320),         /* CPOI */
# 1283|     MODE_MASK (64*BITS_PER_UNIT),    /* COI */

Error: CPPCHECK_WARNING (CWE-758): [#def520]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1282: error[shiftTooManyBits]: Shifting 64-bit value by 320 bits is undefined behaviour
# 1280|     MODE_MASK (16*BITS_PER_UNIT),    /* CDI */
# 1281|     MODE_MASK (32*BITS_PER_UNIT),    /* CTI */
# 1282|->   MODE_MASK (320),         /* CPOI */
# 1283|     MODE_MASK (64*BITS_PER_UNIT),    /* COI */
# 1284|     MODE_MASK (128*BITS_PER_UNIT),     /* CXI */

Error: CPPCHECK_WARNING (CWE-758): [#def521]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1283: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1281|     MODE_MASK (32*BITS_PER_UNIT),    /* CTI */
# 1282|     MODE_MASK (320),         /* CPOI */
# 1283|->   MODE_MASK (64*BITS_PER_UNIT),    /* COI */
# 1284|     MODE_MASK (128*BITS_PER_UNIT),     /* CXI */
# 1285|     MODE_MASK (4*BITS_PER_UNIT),   /* BC */

Error: CPPCHECK_WARNING (CWE-758): [#def522]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1284: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1282|     MODE_MASK (320),         /* CPOI */
# 1283|     MODE_MASK (64*BITS_PER_UNIT),    /* COI */
# 1284|->   MODE_MASK (128*BITS_PER_UNIT),     /* CXI */
# 1285|     MODE_MASK (4*BITS_PER_UNIT),   /* BC */
# 1286|     MODE_MASK (4*BITS_PER_UNIT),   /* HC */

Error: CPPCHECK_WARNING (CWE-758): [#def523]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1287: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1285|     MODE_MASK (4*BITS_PER_UNIT),   /* BC */
# 1286|     MODE_MASK (4*BITS_PER_UNIT),   /* HC */
# 1287|->   MODE_MASK (8*BITS_PER_UNIT),   /* SC */
# 1288|     MODE_MASK (16*BITS_PER_UNIT),    /* DC */
# 1289|     MODE_MASK (160),         /* XC */

Error: CPPCHECK_WARNING (CWE-758): [#def524]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1288: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1286|     MODE_MASK (4*BITS_PER_UNIT),   /* HC */
# 1287|     MODE_MASK (8*BITS_PER_UNIT),   /* SC */
# 1288|->   MODE_MASK (16*BITS_PER_UNIT),    /* DC */
# 1289|     MODE_MASK (160),         /* XC */
# 1290|     MODE_MASK (32*BITS_PER_UNIT),    /* TC */

Error: CPPCHECK_WARNING (CWE-758): [#def525]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1289: error[shiftTooManyBits]: Shifting 64-bit value by 160 bits is undefined behaviour
# 1287|     MODE_MASK (8*BITS_PER_UNIT),   /* SC */
# 1288|     MODE_MASK (16*BITS_PER_UNIT),    /* DC */
# 1289|->   MODE_MASK (160),         /* XC */
# 1290|     MODE_MASK (32*BITS_PER_UNIT),    /* TC */
# 1291|     MODE_MASK (2*BITS_PER_UNIT),   /* V2QI */

Error: CPPCHECK_WARNING (CWE-758): [#def526]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1290: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1288|     MODE_MASK (16*BITS_PER_UNIT),    /* DC */
# 1289|     MODE_MASK (160),         /* XC */
# 1290|->   MODE_MASK (32*BITS_PER_UNIT),    /* TC */
# 1291|     MODE_MASK (2*BITS_PER_UNIT),   /* V2QI */
# 1292|     MODE_MASK (4*BITS_PER_UNIT),   /* V4QI */

Error: CPPCHECK_WARNING (CWE-758): [#def527]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1295: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1293|     MODE_MASK (4*BITS_PER_UNIT),   /* V2HI */
# 1294|     MODE_MASK (4*BITS_PER_UNIT),   /* V1SI */
# 1295|->   MODE_MASK (8*BITS_PER_UNIT),   /* V8QI */
# 1296|     MODE_MASK (8*BITS_PER_UNIT),   /* V4HI */
# 1297|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */

Error: CPPCHECK_WARNING (CWE-758): [#def528]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1296: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1294|     MODE_MASK (4*BITS_PER_UNIT),   /* V1SI */
# 1295|     MODE_MASK (8*BITS_PER_UNIT),   /* V8QI */
# 1296|->   MODE_MASK (8*BITS_PER_UNIT),   /* V4HI */
# 1297|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */
# 1298|     MODE_MASK (8*BITS_PER_UNIT),   /* V1DI */

Error: CPPCHECK_WARNING (CWE-758): [#def529]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1297: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1295|     MODE_MASK (8*BITS_PER_UNIT),   /* V8QI */
# 1296|     MODE_MASK (8*BITS_PER_UNIT),   /* V4HI */
# 1297|->   MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */
# 1298|     MODE_MASK (8*BITS_PER_UNIT),   /* V1DI */
# 1299|     MODE_MASK (12*BITS_PER_UNIT),    /* V12QI */

Error: CPPCHECK_WARNING (CWE-758): [#def530]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1298: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1296|     MODE_MASK (8*BITS_PER_UNIT),   /* V4HI */
# 1297|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */
# 1298|->   MODE_MASK (8*BITS_PER_UNIT),   /* V1DI */
# 1299|     MODE_MASK (12*BITS_PER_UNIT),    /* V12QI */
# 1300|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HI */

Error: CPPCHECK_WARNING (CWE-758): [#def531]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1299: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
# 1297|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SI */
# 1298|     MODE_MASK (8*BITS_PER_UNIT),   /* V1DI */
# 1299|->   MODE_MASK (12*BITS_PER_UNIT),    /* V12QI */
# 1300|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HI */
# 1301|     MODE_MASK (14*BITS_PER_UNIT),    /* V14QI */

Error: CPPCHECK_WARNING (CWE-758): [#def532]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1300: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
# 1298|     MODE_MASK (8*BITS_PER_UNIT),   /* V1DI */
# 1299|     MODE_MASK (12*BITS_PER_UNIT),    /* V12QI */
# 1300|->   MODE_MASK (12*BITS_PER_UNIT),    /* V6HI */
# 1301|     MODE_MASK (14*BITS_PER_UNIT),    /* V14QI */
# 1302|     MODE_MASK (16*BITS_PER_UNIT),    /* V16QI */

Error: CPPCHECK_WARNING (CWE-758): [#def533]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1301: error[shiftTooManyBits]: Shifting 64-bit value by 112 bits is undefined behaviour
# 1299|     MODE_MASK (12*BITS_PER_UNIT),    /* V12QI */
# 1300|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HI */
# 1301|->   MODE_MASK (14*BITS_PER_UNIT),    /* V14QI */
# 1302|     MODE_MASK (16*BITS_PER_UNIT),    /* V16QI */
# 1303|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HI */

Error: CPPCHECK_WARNING (CWE-758): [#def534]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1302: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1300|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HI */
# 1301|     MODE_MASK (14*BITS_PER_UNIT),    /* V14QI */
# 1302|->   MODE_MASK (16*BITS_PER_UNIT),    /* V16QI */
# 1303|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HI */
# 1304|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SI */

Error: CPPCHECK_WARNING (CWE-758): [#def535]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1303: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1301|     MODE_MASK (14*BITS_PER_UNIT),    /* V14QI */
# 1302|     MODE_MASK (16*BITS_PER_UNIT),    /* V16QI */
# 1303|->   MODE_MASK (16*BITS_PER_UNIT),    /* V8HI */
# 1304|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SI */
# 1305|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */

Error: CPPCHECK_WARNING (CWE-758): [#def536]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1304: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1302|     MODE_MASK (16*BITS_PER_UNIT),    /* V16QI */
# 1303|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HI */
# 1304|->   MODE_MASK (16*BITS_PER_UNIT),    /* V4SI */
# 1305|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */
# 1306|     MODE_MASK (16*BITS_PER_UNIT),    /* V1TI */

Error: CPPCHECK_WARNING (CWE-758): [#def537]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1305: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1303|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HI */
# 1304|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SI */
# 1305|->   MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */
# 1306|     MODE_MASK (16*BITS_PER_UNIT),    /* V1TI */
# 1307|     MODE_MASK (32*BITS_PER_UNIT),    /* V32QI */

Error: CPPCHECK_WARNING (CWE-758): [#def538]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1306: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1304|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SI */
# 1305|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */
# 1306|->   MODE_MASK (16*BITS_PER_UNIT),    /* V1TI */
# 1307|     MODE_MASK (32*BITS_PER_UNIT),    /* V32QI */
# 1308|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HI */

Error: CPPCHECK_WARNING (CWE-758): [#def539]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1307: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1305|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DI */
# 1306|     MODE_MASK (16*BITS_PER_UNIT),    /* V1TI */
# 1307|->   MODE_MASK (32*BITS_PER_UNIT),    /* V32QI */
# 1308|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HI */
# 1309|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SI */

Error: CPPCHECK_WARNING (CWE-758): [#def540]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1308: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1306|     MODE_MASK (16*BITS_PER_UNIT),    /* V1TI */
# 1307|     MODE_MASK (32*BITS_PER_UNIT),    /* V32QI */
# 1308|->   MODE_MASK (32*BITS_PER_UNIT),    /* V16HI */
# 1309|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SI */
# 1310|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DI */

Error: CPPCHECK_WARNING (CWE-758): [#def541]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1309: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1307|     MODE_MASK (32*BITS_PER_UNIT),    /* V32QI */
# 1308|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HI */
# 1309|->   MODE_MASK (32*BITS_PER_UNIT),    /* V8SI */
# 1310|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DI */
# 1311|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TI */

Error: CPPCHECK_WARNING (CWE-758): [#def542]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1310: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1308|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HI */
# 1309|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SI */
# 1310|->   MODE_MASK (32*BITS_PER_UNIT),    /* V4DI */
# 1311|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TI */
# 1312|     MODE_MASK (64*BITS_PER_UNIT),    /* V64QI */

Error: CPPCHECK_WARNING (CWE-758): [#def543]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1311: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1309|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SI */
# 1310|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DI */
# 1311|->   MODE_MASK (32*BITS_PER_UNIT),    /* V2TI */
# 1312|     MODE_MASK (64*BITS_PER_UNIT),    /* V64QI */
# 1313|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HI */

Error: CPPCHECK_WARNING (CWE-758): [#def544]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1312: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1310|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DI */
# 1311|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TI */
# 1312|->   MODE_MASK (64*BITS_PER_UNIT),    /* V64QI */
# 1313|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HI */
# 1314|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SI */

Error: CPPCHECK_WARNING (CWE-758): [#def545]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1313: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1311|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TI */
# 1312|     MODE_MASK (64*BITS_PER_UNIT),    /* V64QI */
# 1313|->   MODE_MASK (64*BITS_PER_UNIT),    /* V32HI */
# 1314|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SI */
# 1315|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DI */

Error: CPPCHECK_WARNING (CWE-758): [#def546]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1314: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1312|     MODE_MASK (64*BITS_PER_UNIT),    /* V64QI */
# 1313|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HI */
# 1314|->   MODE_MASK (64*BITS_PER_UNIT),    /* V16SI */
# 1315|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DI */
# 1316|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TI */

Error: CPPCHECK_WARNING (CWE-758): [#def547]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1315: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1313|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HI */
# 1314|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SI */
# 1315|->   MODE_MASK (64*BITS_PER_UNIT),    /* V8DI */
# 1316|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TI */
# 1317|     MODE_MASK (128*BITS_PER_UNIT),     /* V128QI */

Error: CPPCHECK_WARNING (CWE-758): [#def548]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1316: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1314|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SI */
# 1315|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DI */
# 1316|->   MODE_MASK (64*BITS_PER_UNIT),    /* V4TI */
# 1317|     MODE_MASK (128*BITS_PER_UNIT),     /* V128QI */
# 1318|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HI */

Error: CPPCHECK_WARNING (CWE-758): [#def549]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1317: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1315|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DI */
# 1316|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TI */
# 1317|->   MODE_MASK (128*BITS_PER_UNIT),     /* V128QI */
# 1318|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HI */
# 1319|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SI */

Error: CPPCHECK_WARNING (CWE-758): [#def550]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1318: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1316|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TI */
# 1317|     MODE_MASK (128*BITS_PER_UNIT),     /* V128QI */
# 1318|->   MODE_MASK (128*BITS_PER_UNIT),     /* V64HI */
# 1319|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SI */
# 1320|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DI */

Error: CPPCHECK_WARNING (CWE-758): [#def551]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1319: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1317|     MODE_MASK (128*BITS_PER_UNIT),     /* V128QI */
# 1318|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HI */
# 1319|->   MODE_MASK (128*BITS_PER_UNIT),     /* V32SI */
# 1320|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DI */
# 1321|     MODE_MASK (128*BITS_PER_UNIT),     /* V8TI */

Error: CPPCHECK_WARNING (CWE-758): [#def552]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1320: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1318|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HI */
# 1319|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SI */
# 1320|->   MODE_MASK (128*BITS_PER_UNIT),     /* V16DI */
# 1321|     MODE_MASK (128*BITS_PER_UNIT),     /* V8TI */
# 1322|     MODE_MASK (256*BITS_PER_UNIT),     /* V64SI */

Error: CPPCHECK_WARNING (CWE-758): [#def553]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1321: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1319|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SI */
# 1320|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DI */
# 1321|->   MODE_MASK (128*BITS_PER_UNIT),     /* V8TI */
# 1322|     MODE_MASK (256*BITS_PER_UNIT),     /* V64SI */
# 1323|     MODE_MASK (4*BITS_PER_UNIT),   /* V2HF */

Error: CPPCHECK_WARNING (CWE-758): [#def554]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1322: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
# 1320|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DI */
# 1321|     MODE_MASK (128*BITS_PER_UNIT),     /* V8TI */
# 1322|->   MODE_MASK (256*BITS_PER_UNIT),     /* V64SI */
# 1323|     MODE_MASK (4*BITS_PER_UNIT),   /* V2HF */
# 1324|     MODE_MASK (4*BITS_PER_UNIT),   /* V2BF */

Error: CPPCHECK_WARNING (CWE-758): [#def555]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1325: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1323|     MODE_MASK (4*BITS_PER_UNIT),   /* V2HF */
# 1324|     MODE_MASK (4*BITS_PER_UNIT),   /* V2BF */
# 1325|->   MODE_MASK (8*BITS_PER_UNIT),   /* V4BF */
# 1326|     MODE_MASK (8*BITS_PER_UNIT),   /* V4HF */
# 1327|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SF */

Error: CPPCHECK_WARNING (CWE-758): [#def556]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1326: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1324|     MODE_MASK (4*BITS_PER_UNIT),   /* V2BF */
# 1325|     MODE_MASK (8*BITS_PER_UNIT),   /* V4BF */
# 1326|->   MODE_MASK (8*BITS_PER_UNIT),   /* V4HF */
# 1327|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SF */
# 1328|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HF */

Error: CPPCHECK_WARNING (CWE-758): [#def557]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1327: error[shiftTooManyBits]: Shifting 64-bit value by 64 bits is undefined behaviour
# 1325|     MODE_MASK (8*BITS_PER_UNIT),   /* V4BF */
# 1326|     MODE_MASK (8*BITS_PER_UNIT),   /* V4HF */
# 1327|->   MODE_MASK (8*BITS_PER_UNIT),   /* V2SF */
# 1328|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HF */
# 1329|     MODE_MASK (16*BITS_PER_UNIT),    /* V8BF */

Error: CPPCHECK_WARNING (CWE-758): [#def558]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1328: error[shiftTooManyBits]: Shifting 64-bit value by 96 bits is undefined behaviour
# 1326|     MODE_MASK (8*BITS_PER_UNIT),   /* V4HF */
# 1327|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SF */
# 1328|->   MODE_MASK (12*BITS_PER_UNIT),    /* V6HF */
# 1329|     MODE_MASK (16*BITS_PER_UNIT),    /* V8BF */
# 1330|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HF */

Error: CPPCHECK_WARNING (CWE-758): [#def559]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1329: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1327|     MODE_MASK (8*BITS_PER_UNIT),   /* V2SF */
# 1328|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HF */
# 1329|->   MODE_MASK (16*BITS_PER_UNIT),    /* V8BF */
# 1330|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HF */
# 1331|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SF */

Error: CPPCHECK_WARNING (CWE-758): [#def560]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1330: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1328|     MODE_MASK (12*BITS_PER_UNIT),    /* V6HF */
# 1329|     MODE_MASK (16*BITS_PER_UNIT),    /* V8BF */
# 1330|->   MODE_MASK (16*BITS_PER_UNIT),    /* V8HF */
# 1331|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SF */
# 1332|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DF */

Error: CPPCHECK_WARNING (CWE-758): [#def561]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1331: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1329|     MODE_MASK (16*BITS_PER_UNIT),    /* V8BF */
# 1330|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HF */
# 1331|->   MODE_MASK (16*BITS_PER_UNIT),    /* V4SF */
# 1332|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DF */
# 1333|     MODE_MASK (32*BITS_PER_UNIT),    /* V16BF */

Error: CPPCHECK_WARNING (CWE-758): [#def562]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1332: error[shiftTooManyBits]: Shifting 64-bit value by 128 bits is undefined behaviour
# 1330|     MODE_MASK (16*BITS_PER_UNIT),    /* V8HF */
# 1331|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SF */
# 1332|->   MODE_MASK (16*BITS_PER_UNIT),    /* V2DF */
# 1333|     MODE_MASK (32*BITS_PER_UNIT),    /* V16BF */
# 1334|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HF */

Error: CPPCHECK_WARNING (CWE-758): [#def563]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1333: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1331|     MODE_MASK (16*BITS_PER_UNIT),    /* V4SF */
# 1332|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DF */
# 1333|->   MODE_MASK (32*BITS_PER_UNIT),    /* V16BF */
# 1334|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HF */
# 1335|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SF */

Error: CPPCHECK_WARNING (CWE-758): [#def564]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1334: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1332|     MODE_MASK (16*BITS_PER_UNIT),    /* V2DF */
# 1333|     MODE_MASK (32*BITS_PER_UNIT),    /* V16BF */
# 1334|->   MODE_MASK (32*BITS_PER_UNIT),    /* V16HF */
# 1335|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SF */
# 1336|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DF */

Error: CPPCHECK_WARNING (CWE-758): [#def565]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1335: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1333|     MODE_MASK (32*BITS_PER_UNIT),    /* V16BF */
# 1334|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HF */
# 1335|->   MODE_MASK (32*BITS_PER_UNIT),    /* V8SF */
# 1336|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DF */
# 1337|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TF */

Error: CPPCHECK_WARNING (CWE-758): [#def566]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1336: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1334|     MODE_MASK (32*BITS_PER_UNIT),    /* V16HF */
# 1335|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SF */
# 1336|->   MODE_MASK (32*BITS_PER_UNIT),    /* V4DF */
# 1337|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TF */
# 1338|     MODE_MASK (64*BITS_PER_UNIT),    /* V32BF */

Error: CPPCHECK_WARNING (CWE-758): [#def567]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1337: error[shiftTooManyBits]: Shifting 64-bit value by 256 bits is undefined behaviour
# 1335|     MODE_MASK (32*BITS_PER_UNIT),    /* V8SF */
# 1336|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DF */
# 1337|->   MODE_MASK (32*BITS_PER_UNIT),    /* V2TF */
# 1338|     MODE_MASK (64*BITS_PER_UNIT),    /* V32BF */
# 1339|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HF */

Error: CPPCHECK_WARNING (CWE-758): [#def568]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1338: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1336|     MODE_MASK (32*BITS_PER_UNIT),    /* V4DF */
# 1337|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TF */
# 1338|->   MODE_MASK (64*BITS_PER_UNIT),    /* V32BF */
# 1339|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HF */
# 1340|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SF */

Error: CPPCHECK_WARNING (CWE-758): [#def569]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1339: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1337|     MODE_MASK (32*BITS_PER_UNIT),    /* V2TF */
# 1338|     MODE_MASK (64*BITS_PER_UNIT),    /* V32BF */
# 1339|->   MODE_MASK (64*BITS_PER_UNIT),    /* V32HF */
# 1340|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SF */
# 1341|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DF */

Error: CPPCHECK_WARNING (CWE-758): [#def570]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1340: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1338|     MODE_MASK (64*BITS_PER_UNIT),    /* V32BF */
# 1339|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HF */
# 1340|->   MODE_MASK (64*BITS_PER_UNIT),    /* V16SF */
# 1341|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DF */
# 1342|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TF */

Error: CPPCHECK_WARNING (CWE-758): [#def571]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1341: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1339|     MODE_MASK (64*BITS_PER_UNIT),    /* V32HF */
# 1340|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SF */
# 1341|->   MODE_MASK (64*BITS_PER_UNIT),    /* V8DF */
# 1342|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TF */
# 1343|     MODE_MASK (128*BITS_PER_UNIT),     /* V64BF */

Error: CPPCHECK_WARNING (CWE-758): [#def572]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1342: error[shiftTooManyBits]: Shifting 64-bit value by 512 bits is undefined behaviour
# 1340|     MODE_MASK (64*BITS_PER_UNIT),    /* V16SF */
# 1341|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DF */
# 1342|->   MODE_MASK (64*BITS_PER_UNIT),    /* V4TF */
# 1343|     MODE_MASK (128*BITS_PER_UNIT),     /* V64BF */
# 1344|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HF */

Error: CPPCHECK_WARNING (CWE-758): [#def573]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1343: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1341|     MODE_MASK (64*BITS_PER_UNIT),    /* V8DF */
# 1342|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TF */
# 1343|->   MODE_MASK (128*BITS_PER_UNIT),     /* V64BF */
# 1344|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HF */
# 1345|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SF */

Error: CPPCHECK_WARNING (CWE-758): [#def574]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1344: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1342|     MODE_MASK (64*BITS_PER_UNIT),    /* V4TF */
# 1343|     MODE_MASK (128*BITS_PER_UNIT),     /* V64BF */
# 1344|->   MODE_MASK (128*BITS_PER_UNIT),     /* V64HF */
# 1345|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SF */
# 1346|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DF */

Error: CPPCHECK_WARNING (CWE-758): [#def575]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1345: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1343|     MODE_MASK (128*BITS_PER_UNIT),     /* V64BF */
# 1344|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HF */
# 1345|->   MODE_MASK (128*BITS_PER_UNIT),     /* V32SF */
# 1346|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DF */
# 1347|     MODE_MASK (128*BITS_PER_UNIT),     /* V8TF */

Error: CPPCHECK_WARNING (CWE-758): [#def576]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1346: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1344|     MODE_MASK (128*BITS_PER_UNIT),     /* V64HF */
# 1345|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SF */
# 1346|->   MODE_MASK (128*BITS_PER_UNIT),     /* V16DF */
# 1347|     MODE_MASK (128*BITS_PER_UNIT),     /* V8TF */
# 1348|     MODE_MASK (256*BITS_PER_UNIT),     /* V128BF */

Error: CPPCHECK_WARNING (CWE-758): [#def577]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1347: error[shiftTooManyBits]: Shifting 64-bit value by 1024 bits is undefined behaviour
# 1345|     MODE_MASK (128*BITS_PER_UNIT),     /* V32SF */
# 1346|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DF */
# 1347|->   MODE_MASK (128*BITS_PER_UNIT),     /* V8TF */
# 1348|     MODE_MASK (256*BITS_PER_UNIT),     /* V128BF */
# 1349|     MODE_MASK (256*BITS_PER_UNIT),     /* V128HF */

Error: CPPCHECK_WARNING (CWE-758): [#def578]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1348: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
# 1346|     MODE_MASK (128*BITS_PER_UNIT),     /* V16DF */
# 1347|     MODE_MASK (128*BITS_PER_UNIT),     /* V8TF */
# 1348|->   MODE_MASK (256*BITS_PER_UNIT),     /* V128BF */
# 1349|     MODE_MASK (256*BITS_PER_UNIT),     /* V128HF */
# 1350|     MODE_MASK (256*BITS_PER_UNIT),     /* V64SF */

Error: CPPCHECK_WARNING (CWE-758): [#def579]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1349: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
# 1347|     MODE_MASK (128*BITS_PER_UNIT),     /* V8TF */
# 1348|     MODE_MASK (256*BITS_PER_UNIT),     /* V128BF */
# 1349|->   MODE_MASK (256*BITS_PER_UNIT),     /* V128HF */
# 1350|     MODE_MASK (256*BITS_PER_UNIT),     /* V64SF */
# 1351|     MODE_MASK (256*BITS_PER_UNIT),     /* V32DF */

Error: CPPCHECK_WARNING (CWE-758): [#def580]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1350: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
# 1348|     MODE_MASK (256*BITS_PER_UNIT),     /* V128BF */
# 1349|     MODE_MASK (256*BITS_PER_UNIT),     /* V128HF */
# 1350|->   MODE_MASK (256*BITS_PER_UNIT),     /* V64SF */
# 1351|     MODE_MASK (256*BITS_PER_UNIT),     /* V32DF */
# 1352|     MODE_MASK (256*BITS_PER_UNIT),     /* V16TF */

Error: CPPCHECK_WARNING (CWE-758): [#def581]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1351: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
# 1349|     MODE_MASK (256*BITS_PER_UNIT),     /* V128HF */
# 1350|     MODE_MASK (256*BITS_PER_UNIT),     /* V64SF */
# 1351|->   MODE_MASK (256*BITS_PER_UNIT),     /* V32DF */
# 1352|     MODE_MASK (256*BITS_PER_UNIT),     /* V16TF */
# 1353|   #undef MODE_MASK

Error: CPPCHECK_WARNING (CWE-758): [#def582]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/gcc/insn-modes.cc:1352: error[shiftTooManyBits]: Shifting 64-bit value by 2048 bits is undefined behaviour
# 1350|     MODE_MASK (256*BITS_PER_UNIT),     /* V64SF */
# 1351|     MODE_MASK (256*BITS_PER_UNIT),     /* V32DF */
# 1352|->   MODE_MASK (256*BITS_PER_UNIT),     /* V16TF */
# 1353|   #undef MODE_MASK
# 1354|   };

Error: GCC_ANALYZER_WARNING (CWE-457): [#def583]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6276:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
# 6274|      else {				/* non-negative result */
# 6275|       /* check units of the result before freeing any storage */
# 6276|->     for (u=acc; u<acc+accunits-1 && *u==0;) u++;
# 6277|       result=(*u==0 ? 0 : +1);
# 6278|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def584]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6277:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6163:12: enter_function: entry to ‘decCompare’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6174:8: branch_false: following ‘false’ branch (when ‘result != 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:8: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6188:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6196:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6204:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:36: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libdecnumber/../../libdecnumber/decNumber.c:6203:11: call_function: calling ‘decUnitCompare’ from ‘decCompare’
# 6275|       /* check units of the result before freeing any storage */
# 6276|       for (u=acc; u<acc+accunits-1 && *u==0;) u++;
# 6277|->     result=(*u==0 ? 0 : +1);
# 6278|       }
# 6279|     /* clean up and return the result */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def585]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:196:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ret’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:156:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:159:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:164:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:172:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:179:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:186:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:186:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:189:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:189:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/cplus-dem.c:196:10: danger: use of uninitialized value ‘ret’ here
#  194|       }
#  195|   
#  196|->   return (ret);
#  197|   }
#  198|   

Error: GCC_ANALYZER_WARNING (CWE-465): [#def586]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:244:1: enter_function: entry to ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:248:6: branch_false: following ‘false’ branch (when ‘src != dest’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:32: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:7: return_function: returning to ‘dyn_string_insert’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:251:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
#  249|       abort ();
#  250|   
#  251|->   if (dyn_string_resize (dest, dest->length + src->length) == NULL)
#  252|       return 0;
#  253|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def587]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:269:1: enter_function: entry to ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:7: return_function: returning to ‘dyn_string_insert_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:274:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
#  272|     int length = strlen (src);
#  273|   
#  274|->   if (dyn_string_resize (dest, dest->length + length) == NULL)
#  275|       return 0;
#  276|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def588]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:291:1: enter_function: entry to ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_insert_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:7: return_function: returning to ‘dyn_string_insert_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:295:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
#  293|     int i;
#  294|   
#  295|->   if (dyn_string_resize (dest, dest->length + 1) == NULL)
#  296|       return 0;
#  297|     /* Make room for the insertion.  Be sure to copy the NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def589]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:312:1: enter_function: entry to ‘dyn_string_append’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:7: return_function: returning to ‘dyn_string_append’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:314:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
#  312|   dyn_string_append (dyn_string_t dest, dyn_string_t s)
#  313|   {
#  314|->   if (dyn_string_resize (dest, dest->length + s->length) == 0)
#  315|       return 0;
#  316|     strcpy (dest->s + dest->length, s->s);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def590]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:326:1: enter_function: entry to ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_cstr’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:7: return_function: returning to ‘dyn_string_append_cstr’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:332:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
#  330|     /* The new length is the old length plus the size of our string, plus
#  331|        one for the null at the end.  */
#  332|->   if (dyn_string_resize (dest, dest->length + len) == NULL)
#  333|       return 0;
#  334|     strcpy (dest->s + dest->length, s);

Error: GCC_ANALYZER_WARNING (CWE-465): [#def591]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:6: warning[-Wanalyzer-deref-before-check]: check of ‘dest’ for NULL after already dereferencing it
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:343:1: enter_function: entry to ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:7: call_function: calling ‘dyn_string_resize’ from ‘dyn_string_append_char’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:7: return_function: returning to ‘dyn_string_append_char’ from ‘dyn_string_resize’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/dyn-string.c:346:6: danger: pointer ‘dest’ is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
#  344|   {
#  345|     /* Make room for the extra character.  */
#  346|->   if (dyn_string_resize (dest, dest->length + 1) == NULL)
#  347|       return 0;
#  348|     /* Append the character; it will overwrite the old NUL.  */

Error: GCC_ANALYZER_WARNING (CWE-122): [#def592]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:83:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:83:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:83:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   81|     }
#   82|   
#   83|-> LDIRNAME(dos,1)
#   84|   LDIRNAME(unix,0)
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-122): [#def593]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:84:1: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:84:1: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/ldirname.c:84:1: danger: write of ‘size’ bytes at offset ‘0’ exceeds the buffer
#   82|   
#   83|   LDIRNAME(dos,1)
#   84|-> LDIRNAME(unix,0)
#   85|   
#   86|   char *

Error: GCC_ANALYZER_WARNING (CWE-127): [#def594]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:192:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  190|     dirs[num_dirs] = NULL;
#  191|   
#  192|->   if (dirs[num_dirs - 1] == NULL)
#  193|       {
#  194|         free_split_directories (dirs);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def595]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:274:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nstore’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:428:1: enter_function: entry to ‘make_relative_prefix_ignore_links’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/make-relative-prefix.c:432:10: call_function: calling ‘make_relative_prefix_1’ from ‘make_relative_prefix_ignore_links’
#  272|   		  if (endp == startp)
#  273|   		    {
#  274|-> 		      nstore[0] = '.';
#  275|   		      nstore[1] = DIR_SEPARATOR;
#  276|   		      nstore[2] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-476): [#def596]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_chunk’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:191:26: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:191:26: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:207:6: branch_true: following ‘true’ branch (when ‘new_chunk’ is NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:208:5: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:209:3: release_memory: ‘new_chunk’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/obstack.c:210:3: danger: dereference of NULL ‘new_chunk’
#  208|       (*obstack_alloc_failed_handler)();
#  209|     h->chunk = new_chunk;
#  210|->   new_chunk->prev = old_chunk;
#  211|     new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
#  212|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def597]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:6968:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fail_stack.stack’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8014:1: enter_function: entry to ‘xregexec’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8033:6: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: call_function: calling ‘xre_search’ from ‘xregexec’
# 6966|   
# 6967|             DEBUG_PRINT1 (":\n");
# 6968|->           PUSH_FAILURE_POINT (p + mcnt, d, -2);
# 6969|             break;
# 6970|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def598]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:7154:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8014:1: enter_function: entry to ‘xregexec’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8033:6: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: following ‘false’ branch (when ‘want_reg_info == 0’)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/regex.c:8043:9: call_function: calling ‘xre_search’ from ‘xregexec’
# 7152|   
# 7153|               DEBUG_PRINT1 ("EXECUTING pop_failure_jump.\n");
# 7154|->             POP_FAILURE_POINT (sdummy, pdummy,
# 7155|                                  dummy_low_reg, dummy_high_reg,
# 7156|                                  reg_dummy, reg_dummy, reg_info_dummy);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1111:7: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1121:8: branch_true: following ‘true’ branch (when ‘section’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1128:21: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1157:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:17: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:16: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1159:11: danger: dereference of NULL ‘index + (long unsigned int)(sect * 4) * 4’
# 1157|         if (sobj->segment_name != NULL)
# 1158|   	{
# 1159|-> 	  index[sect*4+0] = (unsigned int) offset;
# 1160|   	  index[sect*4+1] = secsize;
# 1161|   	  /* Stash the section name in our table.  */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def600]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1079:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1110:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1111:7: release_memory: ‘index’ is NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1201:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/simple-object-mach-o.c:1210:27: danger: dereference of NULL ‘index’
# 1208|   	 created section.  */
# 1209|   
# 1210|->       secsize = (offset - index[0]);
# 1211|         if (!simple_object_mach_o_write_section_header (sobj, descriptor,
# 1212|   						      sechdr_offset,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def601]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:744:1: enter_function: entry to ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:748:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:750:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: call_function: calling ‘init_error_tables’ from ‘strtoerrno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:752:11: return_function: returning to ‘strtoerrno’ from ‘init_error_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:754:26: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:27: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strerror.c:756:16: danger: dereference of NULL ‘error_names + (long unsigned int)errnoval * 8’
#  754|         for (errnoval = 0; errnoval < num_error_names; errnoval++)
#  755|   	{
#  756|-> 	  if ((error_names[errnoval] != NULL) &&
#  757|   	      (strcmp (name, error_names[errnoval]) == 0))
#  758|   	    {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def602]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signal_names’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:512:1: enter_function: entry to ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:516:6: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:518:10: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: call_function: calling ‘init_signal_tables’ from ‘strtosigno’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:520:11: return_function: returning to ‘strtosigno’ from ‘init_signal_tables’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:522:23: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:28: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/libiberty/../../libiberty/strsignal.c:524:16: danger: dereference of NULL ‘signal_names + (long unsigned int)signo * 8’
#  522|         for (signo = 0; signo < num_signal_names; signo++)
#  523|   	{
#  524|-> 	  if ((signal_names[signo] != NULL) &&
#  525|   	      (strcmp (name, signal_names[signo]) == 0))
#  526|   	    {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def603]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:608:3: warning[-Wanalyzer-null-argument]: use of NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
#  606|       }
#  607|   
#  608|->   fprintf (f, "%d\n", included_files);
#  609|   
#  610|     for (i = 0; i < num_claimed_files; i++)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def604]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:643:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:791:20: acquire_memory: this call could return NULL
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:792:7: call_function: calling ‘add_output_files’ from ‘all_symbols_read_handler’
#  641|         buf = s;
#  642|   cont:
#  643|->       if (!fgets (buf, piece, f))
#  644|   	{
#  645|   	  free (s);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def605]
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: warning[-Wanalyzer-null-argument]: use of NULL ‘f’ where non-null expected
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:771:1: enter_function: entry to ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:780:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:783:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:7: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:789:6: branch_false: following ‘false’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:797:24: branch_false: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:799:3: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: call_function: calling ‘write_resolution’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:801:3: return_function: returning to ‘all_symbols_read_handler’ from ‘write_resolution’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:841:6: branch_true: following ‘true’ branch...
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:847:19: branch_true: ...to here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:858:11: acquire_memory: allocated here
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: call_function: calling ‘check_1’ from ‘all_symbols_read_handler’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:859:7: return_function: returning to ‘all_symbols_read_handler’ from ‘check_1’
gcc-15.0.1-20250418/obj-x86_64-redhat-linux/lto-plugin/../../lto-plugin/lto-plugin.c:860:7: danger: argument 1 (‘f’) NULL where non-null expected
#  858|         f = fopen (offload_objects_file_name, "w");
#  859|         check (f, LDPL_FATAL, "could not open file with offload objects");
#  860|->       fprintf (f, "%u\n", num_offload_files);
#  861|   
#  862|         /* Skip the dummy item at the start of the list.  */

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-58.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namegcc-15.0.1-0.14.fc43
store-results-to/tmp/tmpstwdsi_g/gcc-15.0.1-0.14.fc43.tar.xz
time-created2025-04-26 01:34:58
time-finished2025-04-26 14:31:56
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpstwdsi_g/gcc-15.0.1-0.14.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpstwdsi_g/gcc-15.0.1-0.14.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9