------- Comment #1 from etienne dot clement at autodesk dot com  2006-09-25 
20:19 -------
Created an attachment (id=12325)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12325&action=view)
Program causing the problem.

1- Compile using the following command:

> g++ -v -save-temps -O3 -c bug.cpp

Use the following command to see that a symbol is generated for
'PxlMonoLimit<(PxlFormat)0>::limit'.

> nm bug.o

2- Compile using the following command:

> g++ -v -save-temps -O3 -DWORK -c bug.cpp

Use the following command to see that no symbol for
'PxlMonoLimit<(PxlFormat)0>::limit' is generated.

> nm bug.o


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29219

Reply via email to