[Bug c++/56389] Return types differs in block scope function declarations and function implementation

2024-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56389

Andrew Pinski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |11.0

--- Comment #6 from Andrew Pinski  ---
Was fixed by r11-3699.

[Bug c++/56389] Return types differs in block scope function declarations and function implementation

2024-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56389

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2024-08-07
  Known to fail||10.5.0
 Status|UNCONFIRMED |NEW
  Known to work||11.1.0
 Ever confirmed|0   |1

[Bug c++/56389] Return types differs in block scope function declarations and function implementation

2021-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56389

--- Comment #5 from Andrew Pinski  ---
(In reply to Andrew Pinski from comment #4)
> Fixed for GCC 11.  I cannot figure out which patch fixed it though. 
> There has been a bunch of fixes dealing with return types dealing with C++20
> concepts.

For an example PR 96443.

[Bug c++/56389] Return types differs in block scope function declarations and function implementation

2021-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56389

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||accepts-invalid

--- Comment #4 from Andrew Pinski  ---
Fixed for GCC 11.  I cannot figure out which patch fixed it though. 
There has been a bunch of fixes dealing with return types dealing with C++20
concepts.

[Bug c++/56389] Return types differs in block scope function declarations and function implementation

2020-12-24 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56389

Gabriel Ravier  changed:

   What|Removed |Added

 CC||gabravier at gmail dot com

--- Comment #3 from Gabriel Ravier  ---
Seems to be fixed on trunk, though this still compiles on GCC 10 and before

[Bug c++/56389] Return types differs in block scope function declarations and function implementation

2013-02-19 Thread forever14 at bk dot ru


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



--- Comment #2 from forever14 at bk dot ru 2013-02-19 09:20:11 UTC ---

niXman, published. Sorry.


[Bug c++/56389] Return types differs in block scope function declarations and function implementation

2013-02-19 Thread i.nixman at gmail dot com


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



niXman  changed:



   What|Removed |Added



 CC||i.nixman at gmail dot com



--- Comment #1 from niXman  2013-02-19 09:15:12 UTC 
---

(In reply to comment #0)



> http://liveworkspace.org/code/1zsrDJ$4



Please publish this history item.