https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38534
--- Comment #44 from Lukas Grätz <lukas.gra...@tu-darmstadt.de> --- (In reply to Tom Tromey from comment #39) > (In reply to Lukas Grätz from comment #36) > > > > #2 0x00000000004011d2 in baz (a=a@entry=42, b=b@entry=43, c=c@entry=44, > > > d=<error reading variable: value has been optimized out>, > > > e=<error reading variable: value has been optimized out>, f=<error > > > reading variable: value has been optimized out>, g=48, h=49) at > > > /tmp/1.c:38 > > > > > > I can confirm that. What bothers me, is the wording "d=<error .... optimized > > out>" and not just "d=<optimized out>". > > Could you file a gdb bug about this? Preferably with some > kind of test case? Done. See: https://sourceware.org/bugzilla/show_bug.cgi?id=31436