Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: parke.nexus at gmail dot com
I am comparing passing pointers versus references into a function. I
encountered unexpected variations when taking the address of passed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60783
--- Comment #3 from Parke ---
Thanks, I thought it might be something like the creation of temporaries, but
could not find it discussed anywhere, and was surprised that I got different
behavior from 4.7.3 (many temporaries) and 4.8.2 (apparently o
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: parke.nexus at gmail dot com
Target Milestone: ---
When I compile the below sample program without -Os, I expect one warning but
receive zero warnings.
When I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109673
--- Comment #2 from Parke ---
Thank you for the explanation.
It seems to me that it would (should?) be possible for -Os to detect the
cast-to-void and therefore suppress the second warning (line 5).
It also seems to me the above change, if imp