https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robert Dubner <rdub...@gcc.gnu.org>: https://gcc.gnu.org/g:b673d7b593f63a526a85d56204f1217bc4fbf6a1 commit r15-8056-gb673d7b593f63a526a85d56204f1217bc4fbf6a1 Author: Robert Dubner <rdub...@symas.com> Date: Thu Mar 13 21:03:46 2025 -0400 Prevent use of ASM_EXPR for optimized COBOL compilations [PR119214] The creation of assembler labels using ASM_EXPR causes name collisions in the assembly language because some optimizations repeat code, and those labels can get repeated. Use of "if( !optimize )" prevents (at least) that problem when it cropped up with "-O -ftrace" gcc/cobol: PR cobol/119214 * gengen.cc: applies if( !optimize ) test