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: Fix for PR/39548


On Thu, Mar 26, 2009 at 02:01:09PM +0100, Eric Botcazou wrote:
> > I'm confused.  Didn't you say that you had reduced the test case to
> > ~8k upthread?
> 
> Probably some confusion.  I've attached a version at 46.5K and 1035 lines.
> I think this could be improved and < 1000 lines should be reachable.

> #include <map>
> #include <vector>
> #include <iostream>
...
>     typedef unsigned long int uintptr_t;

Including standard headers and then typedefing a standard type is too
fragile, what if one of the standard headers indirectly defines uintptr_t?

Better just kill all typedefs, replacing the typedef names with what they
were originally typedefed to.

	Jakub


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