public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/114871] New: valgrind error in gfc_class_vptr_get
@ 2024-04-27 15:28 dcb314 at hotmail dot com
  0 siblings, 0 replies; only message in thread
From: dcb314 at hotmail dot com @ 2024-04-27 15:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114871
           Summary: valgrind error in gfc_class_vptr_get
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

From the flang test suite at
https://github.com/llvm/llvm-project/tree/main/flang/test,
the file ./Lower/Intrinsics/spread.f90, does this:

$ ~/gcc/results.20240427.valgrind/bin/gfortran -c -w
./Lower/Intrinsics/spread.f90
==1511945== Invalid read of size 2
==1511945==    at 0x86B811: gfc_class_vptr_get(tree_node*) (trans-expr.cc:247)
==1511945==    by 0x883366: trans_class_vptr_len_assignment(stmtblock_t*,
gfc_expr*, gfc_expr*, gfc_se*, tree_node**, tree_node**, tree_node**)
(trans-expr.cc:10146)
==1511945==    by 0x8863A2: trans_class_assignment (trans-expr.cc:11969)
==1511945==    by 0x8863A2: gfc_trans_assignment_1(gfc_expr*, gfc_expr*, bool,
bool, bool, bool) (trans-expr.cc:12435)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-27 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-27 15:28 [Bug fortran/114871] New: valgrind error in gfc_class_vptr_get dcb314 at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).