[Bug c++/81716] Bogus -Wlto warning with forward-declared pointers

2018-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81716
Bug 81716 depends on bug 83954, which changed state.

Bug 83954 Summary: [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for 
array of pointer to incomplete type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83954

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug c++/81716] Bogus -Wlto warning with forward-declared pointers

2018-02-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81716

Martin Sebor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||msebor at gcc dot gnu.org
  Known to work||8.0
 Resolution|--- |DUPLICATE
  Known to fail||6.4.0, 7.3.0

--- Comment #3 from Martin Sebor  ---
I can confirm this with GCC 7 and 6 but not with GCC 8.  r257183 was the last
commit I see that dealt with the warning for bug 83954.  It also had to do with
arrays of pointers so based on that I'll resolve this as a duplicate of that
bug.  Please reopen if you have evidence it isn't the same thing.

*** This bug has been marked as a duplicate of bug 83954 ***

[Bug c++/81716] Bogus -Wlto warning with forward-declared pointers

2017-10-31 Thread sgunderson at bigfoot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81716

--- Comment #2 from sgunderson at bigfoot dot com ---
Still there in:

gcc version 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian
20171017-1)

[Bug c++/81716] Bogus -Wlto warning with forward-declared pointers

2017-08-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81716

Richard Biener  changed:

   What|Removed |Added

   Keywords||diagnostic
 CC||hubicka at gcc dot gnu.org

--- Comment #1 from Richard Biener  ---
Hmm, Honza?  The pointer magic in alias.c should make this well-defined, no? 
Pointer to incomplete == pointer to void.