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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |6.5.0
           Keywords|                            |wrong-code
   Last reconfirmed|                            |2019-01-23
          Component|c++                         |ipa
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|Miscompilation (missing     |[7/8/9 Regression]
                   |function call) with         |Miscompilation (missing
                   |-fvisibility=hidden -fpic   |function call) with
                   |-O2 -fno-inline             |-fvisibility=hidden -fpic
                   |                            |-O2 -fno-inline
   Target Milestone|---                         |7.5
      Known to fail|                            |7.4.0, 8.2.1, 9.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Oddly with just -O2 -fno-inline we call S2::f2 () (it got ICFed with S3::f2
it seems).

Disabling ICF also fixes the omission of the call for -fpic
-fvisibility=hidden.

Reply via email to