Changeset: b1e9e65bc6ed for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b1e9e65bc6ed
Modified Files:
sql/backends/monet5/sql_gencode.c
Branch: Jun2023
Log Message:
Prevent inlining of function on CentOS 7.
diffs (16 lines):
diff --git a/sql/backends/monet5/sql_gencode.c
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -1006,6 +1006,12 @@ sql_relation2stmt(backend *be, sql_rel *
}
static int
+#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ <= 8
+/* bug on CentOS 7 (gnuc 4.8.5) where this function gets inlined and
+ * the compiler than complains about query getting modified after the
+ * setjmp call; fix is to explicitly prevent inlining */
+__attribute__((__noinline__))
+#endif
backend_dumpstmt_body(backend *be, MalBlkPtr mb, sql_rel *r, int top, int
add_end, const char *query)
{
mvc *m = be->mvc;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]