--- 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;
}
--- 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
--- 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
--- 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
--
--- 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_
--- 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.
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
--- 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
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