This is the mail archive of the gcc-bugs@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: target/6569: sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c


 > From: Mark Mitchell <mark@codesourcery.com>
 > 
 > This patch will fix it; I'm testing on x86 now, and if someone can
 > kick off a SPARC run that would be great.  As a special bonus, this
 > also makes the warnings come out in the right place consistently.

Mark,

Your patch made the compile/20011119-2.c failures go away, but I get
some new ones:

FAIL: gcc.dg/weak-3.c weak declaration (test for warnings, line 37)
FAIL: gcc.dg/weak-3.c weak declaration (test for warnings, line 59)
FAIL: gcc.dg/weak-3.c (test for excess errors)
FAIL: gcc.dg/weak-5.c weak declaration (test for warnings, line 42)
FAIL: gcc.dg/weak-5.c (test for excess errors)

  Excess errors:
  gcc.dg/weak-3.c:42:
  warning: weak declaration of `ffoo1c' after first use results in unspecified behavior
  gcc.dg/weak-3.c:67:
  warning: weak declaration of `ffoo1f' after first use results in unspecified behavior

  gcc.dg/weak-5.c:47:
  warning: weak declaration of `vfoo1c' after first use results in unspecified behavior

I suspect that the warnings just moved so it may be an issue of simply
fixing the testcases if the new location is correct.

		--Kaveh
--
Kaveh R. Ghazi			Director of Systems Architecture
ghazi@caip.rutgers.edu		Qwest Global Services


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