repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Fix gdc -O2 -mavx generates misaligned vmovdqa instruction [PR114171]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
loverload3.C
blob
7a765a6d9f333a10a2249bf31768eefbd1182dd9
1
// { dg-do assemble }
2
// PRMS Id: 2010
3
// Bug: g++ doesn't deal with overloads involving C-language fns properly.
4
5
extern "C" double pow (double, double);
6
inline double pow (double d, int e) { return pow (d, (double) e); }
7
8
void foo ()
9
{
10
pow (1.0, 1);
11
pow (1.0, 1.0);
12
}