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]

Re: [PATCH]: PR fortran/33197, use MPC for complex "arc" functions


From: "Janis Johnson" <janis187@us.ibm.com>

See the folding tests in gcc.dg, like builtins-7.c.  Tests that are not
run use { dg-do link } with calls to non-existent function link_error,
causing a link error if the expression is not folded.  The end result
is the same as checking that there are no calls to abort, but it's a bit
easier to understand the test.  The same trick could be used in an
executable self-checking test.

Sorry, what would that look like in fortran?


       Thanks,
       --Kaveh


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