This is the mail archive of the gcc-patches@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] |
The problem here is that I messed up the if statement checking both decls have "extern inline". This patch fixes that mistake.
It is also the 4.0 version of the patch I posted here: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01070.html
OK? Bootstrapped and tested on powerpc-darwin and x86_64-linux-gnu with no regressions.
Thanks, Andrew Pinski
* c-decl.c (diagnose_mismatched_decls): Fix check for both decls being "extern inline".
2005-06-28 Eric Christopher <echristo@redhat.com> PR c/22052 PR c/21975 * gcc.dg/inline1.c: New test. * gcc.dg/inline2.c: Ditto. * gcc.dg/inline3.c: Ditto. * gcc.dg/inline4.c: Ditto. * gcc.dg/inline5.c: Ditto.
Attachment:
ttttttttt.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |