[Bug c/25810] spurious warning about unused function return

2006-01-16 Thread wingo at pobox dot com
--- Comment #2 from wingo at pobox dot com 2006-01-16 15:07 --- Just for clarity, here is the warning: test.c: In function ‘main’: test.c:33: warning: value computed is not used The line corresponding to 33 in the preprocessed file: (void*)data_ref((data*)d); data_ref is not

[Bug c/25810] spurious warning about unused function return

2006-01-16 Thread wingo at pobox dot com
--- Comment #1 from wingo at pobox dot com 2006-01-16 15:02 --- Created an attachment (id=10654) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10654&action=view) short test case to show problem -- preprocessed Compiler output: [EMAIL PROTECTED] ~]$ gcc -v -save-temps -

[Bug c/25810] New: spurious warning about unused function return

2006-01-16 Thread wingo at pobox dot com
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wingo at pobox dot com GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org