summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/midipix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/i386/midipix.c b/gcc/config/i386/midipix.c
index 10d83f801..4b29c0917 100644
--- a/gcc/config/i386/midipix.c
+++ b/gcc/config/i386/midipix.c
@@ -564,6 +564,11 @@ bool midipix_asm_assemble_integer(rtx x, unsigned int size, int aligned_p)
section * sect;
const char * name;
const char * ptrsize;
+ extern int flag_constructor_decl;
+
+ /* filter out c++ constructors */
+ if (flag_constructor_decl)
+ return default_assemble_integer(x,size,aligned_p);
/* xref, xoff */
if (GET_CODE(x) == CONST) {