This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Warning bug with -fPIC? (was Re: Some testsuite cleanups (mostly for -fPIC))


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 failure.


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]