Hi Devs,
consider below reduced testcase from boost lamda.
$cat result_of_tests.cpp
#include
#include
template typename boost::result_of::type apply1(F
f, A b) {
return f(b);
}
using namespace boost::lambda;
int main(int, char *[]) {
int one = 1;
int d= (apply1(_1 ,one) == 1);
pri
Hi everyone,
We are investigating the optimization issue with GCC trunk code and we have
the below gimple code like
a = 1;
__asm__ __volatile__("");
_9 = &a;
a ={v} {CLOBBER};
_4 = _9;
_1 = *_4;
std::basic_ostream::operator<< (&cout, _1);
in the above gimple statements ,we would li
Hi All,
I am looking https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85539 bug and did
some analysis.
please help me on the below query.
For the below testcase,
$cat test.c
int foo(long *p)
{
return *p;
}
when compile with clang -O2
$clang test.c -O2 -S
$cat test.s
foo:
mo
Hi All,
For the below testcase,
$cat test.c
int foo(long *p)
{
return *p;
}
when compile with clang -O2
$clang test.c -O2 -S
$cat test.s
foo:
movl(%rdi), %eax
retq
while gcc gives
$gcc test.c -O2 -S
$cat test.s
foo:
movq(%rdi), %rax