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 ipa/82808] [7/8 Regression] LTO clone wrong value


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-11-02
                 CC|                            |jamborm at gcc dot gnu.org,
                   |                            |kugan at gcc dot gnu.org
   Target Milestone|---                         |7.3
            Summary|LTO clone wrong value       |[7/8 Regression] LTO clone
                   |                            |wrong value
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, we really wrongly propagate 0 to x:

$ cat xxx.ltrans0.075i.cp
;; Function foo.constprop (foo.constprop.1, funcdef_no=3, decl_uid=4078,
cgraph_uid=1, symbol_order=5) (executed once)

Modification phase of node foo.constprop/5
Adjusting mask for param 0 to 0x0
Setting nonnull for 0
foo.constprop (double * a)
{
  double x;

  <bb 3> [100.00%] [count: INV]:

  <bb 2> [100.00%] [count: INV]:
  *a_2(D) = x_1(D);
  return;

}

Started with r241990.

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