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

2006-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-16 15:30 --- This is actually not a bug. This is also a dup of bug 24900. *** This bug has been marked as a duplicate of 24900 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[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 decl

[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 -Wall -o tes