https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105389
Bug ID: 105389
Summary: variable displayed as available at -O1 and -O3 but as
optimized out at -Og and with an incorrect value at
-O2
Product: gcc
Version: 12.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105261
--- Comment #1 from Cristian Assaiante ---
The gdb bug report can be found at:
https://sourceware.org/bugzilla/show_bug.cgi?id=29060
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105261
Bug ID: 105261
Summary: schedule-insns2 and ipa-sra make alive constant
variables not available
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105249
--- Comment #1 from Cristian Assaiante ---
This issue is similar to bug 105036 but it appears on different optimization
levels and, differently from the previously reported issue, it has a much
simpler code structure since we have only a call to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105249
Bug ID: 105249
Summary: schedule-insns2 makes a variable not available and
associates the code that assigns it to a different
function frame
Product: gcc
Version
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105248
Bug ID: 105248
Summary: Missing value or location attribute for constant live
variable likely caused by tree-dse at -O1/-O2/-O3
Product: gcc
Version: 12.0
Status: UNCONF
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105176
Bug ID: 105176
Summary: -fdce causes a non-dead variable to show as optimized
out when debugging only at -Os/Oz
Product: gcc
Version: 12.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105161
Bug ID: 105161
Summary: variable constant-folded in its uses appears as
optimized out depending on where it is assigned
Product: gcc
Version: 12.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105145
Bug ID: 105145
Summary: dropped DWARF location information at -O1/-O2/-O3 upon
ftree-dse
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105124
--- Comment #1 from Cristian Assaiante ---
We suspect this may be related to bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105108 but this time the behaviors
at -O1 and -Og are different
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105124
Bug ID: 105124
Summary: -Og loses DWARF value for a reassigned variable that
is kept instead by other optimization levels
Product: gcc
Version: 12.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105108
--- Comment #9 from Cristian Assaiante ---
Created attachment 52728
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52728&action=edit
Executable file at -Og with l_144 = 8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105108
--- Comment #8 from Cristian Assaiante ---
(In reply to Jakub Jelinek from comment #3)
> And I certainly can't reproduce the wrong-debug issue you're talking about.
> If I change it to char l_144 = 8;
> then optimized dump has:
>[local count
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105108
Bug ID: 105108
Summary: incomplete/incorrect DWARF information at -O1 and -Og
after inlining a function returning a constant
Product: gcc
Version: 12.0
Status: UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105036
--- Comment #2 from Cristian Assaiante ---
Indeed, we understand some information may be lost for the sake of keeping
debug info correct.
We reported this in the first place because, besides the missing variables, a
wrong function (i.e., foo) i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105036
Bug ID: 105036
Summary: Missing variables when debugging due to overlapping
ranges after unrolling, instruction scheduling, and
inlining at -O3
Product: gcc
Vers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105007
--- Comment #1 from Cristian Assaiante ---
The gdb bug report can be found at:
https://sourceware.org/bugzilla/show_bug.cgi?id=28987
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105007
Bug ID: 105007
Summary: Missing variables at -O2/O3 likely caused by incorrect
debug info after inlining
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104938
Bug ID: 104938
Summary: Possibly wrong location definition in DWARF with
-ftree-cpp at -Og only
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104891
Bug ID: 104891
Summary: Possibly wrong location definition in DWARF with
-fschedule-insns2 at -O2/-O3
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104549
--- Comment #4 from Cristian Assaiante ---
We have tested also multiple versions of gdb.
With versions 9.2 and 11.2 we have the same behavior: variable i is visible for
gcc4 and gcc7 and not visible for more recent gcc versions.
With version 10
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104549
--- Comment #3 from Cristian Assaiante ---
I have tested multiple older gcc versions (4.3, 7.5, 9.4, 11.2) and apparently
the variable is visible in 4.3 and 7.5.
The asm for the main function of the binary from gcc7.5:
main:
.LFB1:
# a.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104549
Bug ID: 104549
Summary: Missing variable at O2/O3 likely caused by
-fearly-inlining
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
P
23 matches
Mail list logo