[LLVMbugs] [Bug 2682] llvm-gcc fails to find that an argument to __builtin_prefetch is a constant

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Oct 4 21:12:06 PDT 2008


Nick Lewycky <nicholas at mxc.ca> changed:

           What    |Removed                     |Added
                 CC|                            |nicholas at mxc.ca
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from Nick Lewycky <nicholas at mxc.ca>  2008-10-04 23:12:06 ---
This is not fixed:

$ llvm-g++ 004.c -c
$ llvm-g++ 004.c -c -O2
004.c: In function ‘void prefetch(const char*, int)’:
004.c:1: error: third argument to ‘__builtin_prefetch’ must be a constant

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list