This is the mail archive of the
mailing list for the GCC project.
Re: Warning bug with -fPIC? (was Re: Some testsuite cleanups (mostly for -fPIC))
- From: Mike Stump <mrs at apple dot com>
- To: jkj at sco dot com
- Cc: Richard Henderson <rth at redhat dot com>, gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Mon, 28 Nov 2005 12:48:35 -0800
- Subject: Re: Warning bug with -fPIC? (was Re: Some testsuite cleanups (mostly for -fPIC))
- References: <438A142D.email@example.com> <20051127213516.GB15822@redhat.com> <438B4F89.firstname.lastname@example.org>
On Nov 28, 2005, at 10:42 AM, Kean Johnston wrote:
* gcc.dg/assign-warn-3.c: Ditto.Why in the world do you imagine this should depend on -fpic?
And here is the case that fails (-fPIC). I have no idea why those
warnings are not being ejected when compiling with -fPIC. Perhaps I
discovered a bug here by accident? I guess I should have looked at the
test case more carefully instead of just trying to silence the
Executing on host: /u2/gcc/head/osr5/gcc/xgcc -B/u2/gcc/head/osr5/
gcc/ /u2/gcc/head/gcc/gcc/testsuite/gcc.dg/assign-warn-3.c -O3 -
std=c99 -pedantic-errors -fno-show-column -S -fPIC -o assign-
warn-3.s (timeout = 300)
FAIL: gcc.dg/assign-warn-3.c (test for warnings, line 9)
FAIL: gcc.dg/assign-warn-3.c (test for warnings, line 13)
PASS: gcc.dg/assign-warn-3.c (test for excess errors)
Is this indeed a bug?
Sounds like a bug.