Bug 48667 - [ skipping N instantiation contexts ] Skips exactly those which are of interest to me
Summary: [ skipping N instantiation contexts ] Skips exactly those which are of intere...
Status: RESOLVED DUPLICATE of bug 44783
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.5.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: diagnostic
Depends on:
Blocks:
 
Reported: 2011-04-18 14:46 UTC by Brian
Modified: 2011-09-25 15:16 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian 2011-04-18 14:46:49 UTC
A new gcc feature seems to be to emit [ skipping N instantiation contexts ] after the first 10 contexts. I could not find a way to change 10 to another value.

The problem is, that when using the terrific, but extremely templated eigen library the instantiation contexts where my own bug happens are not shown, only those within the library headers and my main routine, and I can not easily debug my program.

This is very annoying.

kind regards,

Brian
Comment 1 Paolo Carlini 2011-09-25 12:32:12 UTC
Jason, should we make this more flexible? (I see hardwired constants in print_instantiation_partial_context)
Comment 2 Manuel López-Ibáñez 2011-09-25 15:13:39 UTC
It seems to me this is what PR44783 proposes, isn't it? 

It would be nice to get a maintainer to confirm the report and agree with the option name before anyone starts implementing it.
Comment 3 Paolo Carlini 2011-09-25 15:16:30 UTC
Ah, ok, let's resolve as duplicate then.

*** This bug has been marked as a duplicate of bug 44783 ***