This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/42843] --enable-build-with-cxx plugin tests fail
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2010 01:58:46 -0000
- Subject: [Bug testsuite/42843] --enable-build-with-cxx plugin tests fail
- References: <bug-42843-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from amylaar at gcc dot gnu dot org 2010-07-11 01:58 -------
(In reply to comment #6)
> This still looks broken. Under a normal bootstrap, on x86_64-apple-darwin10,
> these new testcases are silently executed against the system compiler rather
> than the newly built compiler...
I see. We really should be using the same BUILD->HOST compiler that was
used to build the last stage of the build. In the case of a native
bootstrap (assuming stage2/3 comparison succeeded), that should be
interchangeable with the newly built compiler.
Feel free to re-open the PR; I have no plans to work on it, though.
> /Users/howarth/gcc/gcc/testsuite/g++.dg/plugin/attribute_plugin.c: In function
> 'void register_attributes(void*, void*)':^M
> /Users/howarth/gcc/gcc/testsuite/g++.dg/plugin/attribute_plugin.c:35: error:
> 'warning' was not declared in this scope^M
> /Users/howarth/gcc/gcc/testsuite/g++.dg/plugin/attribute_plugin.c: In function
> 'void handle_pre_generic(void*, void*)':^M
> /Users/howarth/gcc/gcc/testsuite/g++.dg/plugin/attribute_plugin.c:55: error:
> 'warning' was not declared in this scope^M
Looking at the source makes me wonder why it succeeds elsewhere.
It should be including diagnostic.h or disgnostic-core.h to get a
declaration for warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42843