This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Fix 61347 testcase in alternative modes


On 01/06/15 22:04 +0200, François Dumont wrote:
Hi

I can't find how to fix 61347 for alternative modes. I started with debug mode by providing a forward declaration for safe iterator type which return to the __distance on normal iterator but gcc still doesn't consider it as a builtin constant.

I guess the problem might come from compilations options, so is it that we should simply add a dg-require-normal-mode to have this test unsupported ? Otherwise any advise to fix this test ?

Making it unsupported is OK. It's only testing that an optimisation
works, but it's OK if it only works in normal mode that's fine.


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