gcc-python-plugin icon indicating copy to clipboard operation
gcc-python-plugin copied to clipboard

GCC plugin that embeds CPython inside the compiler

Results 84 gcc-python-plugin issues
Sort by recently updated
recently updated
newest added

Found a false positive analysing [this function](https://github.com/psycopg/psycopg2/blob/b796ca0c0a03b75bf7c9212455683c1e3d520466/psycopg/connection_type.c#L453-L504): A more synthetic case is: ```c RAISES_NEG static int test_cpychecker(PyObject *pyval) { int rv = -1; long val; if (PyInt_Check(pyval)) { val =...

Hi, I'm trying to compile the project on my Linux machine running gcc 6.3.0 and with python and six installed but I had the following error: ``` FileNotFoundError: [Errno 2]...

Trying to run the checker on psycopg again :tada: Trying with psycopg/psycopg2@23438ce780396b1ffe87ae05953af0976b249e0b and gcc-python-plugin master at 41f52bd3ff54847af5ecd878887ecb18e7bfed93. Tested on Ubuntu 18.04 with gcc 5.5.0 and 6.5.0 (packages gcc-5 and gcc-6)....

The authenticity of host 'github.com (192.30.253.113)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)?

I'm running Ubuntu 15.04, using 33d88ce2549d4888cf617281d15777b94f5915af When I try to compile, I get these errors: ``` $ make Makefile:193: warning: overriding recipe for target 'autogenerated-casts.c' Makefile:190: warning: ignoring old recipe...

I am scanning through GIMPLE instructions generated from this C code: ``` void if_simple() { int c = cond(); if (c) { f1(); } } ``` The generated GIMPLE is...

Ideally we'd test for the matrix of all supported gcc versions vs all supported Python versions. (Help with this would be appreciated!)

Is there a way to generate up to date (or with whatever recent GCC tree) table of passes like in [this][1] documentation page? Are those scripts available anywhere? How much...

This must be a bug g++ -fplugin=python3 -fplugin-arg-python-script=foo.py -c test.cpp Gives me errors: cc1plus: error: plugin python should be specified before -fplugin-arg-python-script=foo.py in the command line cc1plus: error: fail to...

First stumbling block is that python-config --cflags returns flags for CLang which are incompatible with GCC (e.g. specifies -arch for x86_64 & i386 for universal binaries, passes -Wshorten-64-to-32 which gcc...