This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/55056] New: [4.8 Regression] -O0 -g missing location for register double var


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55056

             Bug #: 55056
           Summary: [4.8 Regression] -O0 -g missing location for register
                    double var
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jan.kratochvil@redhat.com
            Target: x86_64-unknown-linux-gnu


Regressions in gdb.base/store.exp by 2012-10-23 -> 2012-10-24.

double f(double u) {
  register double l = u;
  return l + l;
}

PASS: gcc (GCC) 4.7.3 20121024 (prerelease)
 <2><5d>: Abbrev Number: 4 (DW_TAG_variable)
    <5e>   DW_AT_name        : l
    <62>   DW_AT_type        : <0x6a>
    <66>   DW_AT_location    : 2 byte block: 76 70      (DW_OP_breg6 (rbp):
-16)

FAIL: gcc (GCC) 4.8.0 20121024 (experimental)
 <2><58>: Abbrev Number: 4 (DW_TAG_variable)
    <59>   DW_AT_name        : l
    <5d>   DW_AT_type        : <0x62>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]