Re: [Tinycc-devel] Support -Wl,opt -Wl,arg syntax

2012-03-20 Thread grischka
Thomas Preud'homme wrote: What do you think of this patch? I tried with my example and yours but I'm afraid of breaking things now so I prefer to attach it here. The problem with examples is that they can show bugs that exist, but not really the absence of bugs. To test such feature I'd rather

Re: [Tinycc-devel] Support -Wl,opt -Wl,arg syntax

2012-03-20 Thread Thomas Preud'homme
Le mardi 20 mars 2012 10:42:25, grischka a écrit : > Thomas Preud'homme wrote: > > What do you think of this patch? I tried with my example and yours but > > I'm afraid of breaking things now so I prefer to attach it here. > > The problem with examples is that they can show bugs that exist, but >

Re: [Tinycc-devel] Support -Wl,opt -Wl,arg syntax

2012-03-20 Thread grischka
Thomas Preud'homme wrote: The problem with examples is that they can show bugs that exist, but not really the absence of bugs. To test such feature I'd rather use some printf here or there. And valgrind to test you don't free too early. The "free too early" bug wasn't really your fault but a

Re: [Tinycc-devel] Support -Wl,opt -Wl,arg syntax

2012-03-20 Thread Thomas Preud'homme
Le mardi 20 mars 2012 12:44:25, grischka a écrit : > Thomas Preud'homme wrote: > >> The problem with examples is that they can show bugs that exist, but > >> not really the absence of bugs. To test such feature I'd rather use > >> some printf here or there. > > > > And valgrind to test you don't

Re: [Tinycc-devel] Support -Wl,opt -Wl,arg syntax

2012-03-20 Thread Thomas Preud'homme
Le mardi 20 mars 2012 10:42:25, grischka a écrit : > Thomas Preud'homme wrote: > > What do you think of this patch? I tried with my example and yours but > > I'm afraid of breaking things now so I prefer to attach it here. > > The problem with examples is that they can show bugs that exist, but >