[Bug c/68378] New: Return value optimization does not fire iff in C mode
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: eyal.lotem at gmail dot com Target Milestone: --- struct Foo { int x[1000]; }; struct Foo f(void); struct Foo g(void) { struct Foo x = f(); return x; } When built with -O3 -xc this generates superfluous
[Bug c/50590] New: Initializing a variable to itself yields garbage/UB and no warning.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50590 Bug #: 50590 Summary: Initializing a variable to itself yields garbage/UB and no warning. Classification: Unclassified Product: gcc Version: 4.5.2 Status: UNCONFIRMED