[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #7 from maxime dot fiandino at imag dot fr 2006-07-05 14:33 --- Thanks, for you quick answer Richard. Where i don't understand is, it is working well if i declare the generic template function with: template bool foo(T val) __attribute__(noinline) { return false; }

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #5 from maxime dot fiandino at imag dot fr 2006-07-05 13:18 --- This bug was firstly discover under gcc3.2.3, then we test with 4.1.1 with the same results. The test case is very short. -- maxime dot fiandino at imag dot fr changed: What|Removed

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #4 from maxime dot fiandino at imag dot fr 2006-07-05 13:14 --- Created an attachment (id=11832) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11832&action=view) The makefile to test This makefile create two executable TC1 compiled with -02 which work w

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #3 from maxime dot fiandino at imag dot fr 2006-07-05 13:12 --- Created an attachment (id=11831) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11831&action=view) The header with the generic implementation The generic template function return false --

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #2 from maxime dot fiandino at imag dot fr 2006-07-05 13:12 --- Created an attachment (id=11830) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11830&action=view) the specialization The specialization on int return true -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #1 from maxime dot fiandino at imag dot fr 2006-07-05 13:11 --- Created an attachment (id=11829) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11829&action=view) The main, just call the template function foo and return the return value -- http://gcc.

[Bug c++/28271] New: Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: maxime dot fiandino at imag dot fr GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu h

[Bug c++/21043] Compilation error when trying to call method of a class contain by grand-mother with a template mother and class

2005-04-15 Thread maxime dot fiandino at imag dot fr
--- Additional Comments From maxime dot fiandino at imag dot fr 2005-04-15 11:57 --- Hi, please note that for the same bahavior with the line, it's compiling: ((A*)(this))->m_.p(); -- What|Removed

[Bug c++/21043] New: Compilation error when trying to call method of a class contain by grand-mother with a template mother and class

2005-04-15 Thread maxime dot fiandino at imag dot fr
D Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: maxime dot fiandino at imag dot fr CC: gcc-bugs at gcc dot gnu dot org,maxime dot fiandino at imag dot fr GCC build trip