summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-05 03:07:33 -0500
committermidipix <writeonce@midipix.org>2019-02-17 22:35:51 -0500
commita02b4135412d664bc39a8a2e4ebeddc344afc888 (patch)
tree71cb27faa07af9a228b7bea7f4d9b4d49f5586a7 /gcc/config/i386
parent13e4ec00bfb4c07ecf06ba9c2e7462a0dc98b3d8 (diff)
downloadcbb-gcc-4.6.4-a02b4135412d664bc39a8a2e4ebeddc344afc888.tar.bz2
cbb-gcc-4.6.4-a02b4135412d664bc39a8a2e4ebeddc344afc888.tar.xz
midipix_asm_assemble_integer(): filter out c++ constructors.
Diffstat (limited to 'gcc/config/i386')
-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) {