projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0798470
)
d: Use POINTER_SIZE for testing whether to predefine D_LP64
author
Iain Buclaw
<ibuclaw@gdcproject.org>
Sat, 28 Aug 2021 18:20:28 +0000
(20:20 +0200)
committer
Iain Buclaw
<ibuclaw@gdcproject.org>
Sun, 29 Aug 2021 15:19:02 +0000
(17:19 +0200)
gcc/d/ChangeLog:
* d-builtins.cc (d_init_versions): Use POINTER_SIZE for testing
whether to predefine D_LP64.
gcc/d/d-builtins.cc
patch
|
blob
|
history
diff --git
a/gcc/d/d-builtins.cc
b/gcc/d/d-builtins.cc
index
328711f
..
ab39d69
100644
(file)
--- a/
gcc/d/d-builtins.cc
+++ b/
gcc/d/d-builtins.cc
@@
-462,7
+462,7
@@
d_init_versions (void)
VersionCondition::addPredefinedGlobalIdent ("GNU_InlineAsm");
/* LP64 only means 64bit pointers in D. */
- if (
global.params.isLP
64)
+ if (
POINTER_SIZE ==
64)
VersionCondition::addPredefinedGlobalIdent ("D_LP64");
/* Setting `global.params.cov' forces module info generation which is