On Fri, Jul 9, 2010 at 12:35 PM, Andrew Haley <aph@xxxxxxxxxx> wrote: >> things). Do you know of a way to convince gcc to not generate this >> specialization so that I really measure the generic comparison >> function ? I guess that I could pull the constant values from the >> command line to ensure that gcc does not generate this specialization >> but is there a better way ? > > Sure, just don't use constants for 1 and 2. Putting them as variables > in file scope ought to do it. > > int one = 1; that did not work: I had to pull them explicitely from the command-line. > P.S. Please cc: me on copies, don't send a separate mail. Yes: I need to get used to that stupid gmail, sorry for that :/ Mathieu -- Mathieu Lacage <mathieu.lacage@xxxxxxxxx>