[Bug c/38679] semantics of assignment in a return statement suspect

2021-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38679 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.6.0 Resolution|---

[Bug c/38679] semantics of assignment in a return statement suspect

2008-12-31 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-31 09:18 --- The frontend already presents us with ;; Function f (null) ;; enabled by -tree-original { fff (x = 1); return x = 1;, 1{no-warn}; } note that other compilers IMHO correctly do the same for the function argume