This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/82808] [7/8 Regression] LTO clone wrong value
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Nov 2017 09:27:47 +0000
- Subject: [Bug ipa/82808] [7/8 Regression] LTO clone wrong value
- Auto-submitted: auto-generated
- References: <bug-82808-4@http.gcc.gnu.org/bugzilla/>
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.