https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390

--- Comment #3 from Andreas Schwab <sch...@linux-m68k.org> ---
#9  lang_specific_driver (in_decoded_options=0x7fffffffd970, 
    in_decoded_options_count=0x7fffffffd97c, 
    in_added_libraries=<optimized out>) at ../../gcc/cobol/gcobolspec.cc:510
510                   strcpy(ach, decoded_options[i].arg);
(gdb) ptype ach
type = char [128]
(gdb) ptype decoded_options
type = struct cl_decoded_option {
    size_t opt_index;
    const char *warn_message;
    const char *arg;
    const char *orig_option_with_args_text;
    const char *canonical_option[4];
    size_t canonical_option_num_elements;
    long value;
    long mask;
    int errors;
} *
(gdb) p decoded_options[i].arg
$1 = 0x7fffffffe169
"/home/abuild/rpmbuild/BUILD/gcc15-testresults-15.0.1+git8460-build/gcc-15.0.1+git8460/gcc/testsuite/cobol.dg/group1/check_88.cob"

Reply via email to