aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-10-20 19:41:49 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-20 19:42:28 +0100
commit154c6d430ee173904237de64d5aae11565201318 (patch)
treecc68a8d85ac866b452cb25e711e7926964b1776a /gcc/cp/parser.c
parent885f9b4ad59a1c37742b68505edc80c7f419d9a4 (diff)
downloadgcc-154c6d430ee173904237de64d5aae11565201318.zip
gcc-154c6d430ee173904237de64d5aae11565201318.tar.gz
gcc-154c6d430ee173904237de64d5aae11565201318.tar.bz2
doc: Fix documentation around 'asm' keyword in C++
The documentation on asm statements suggests asm is always a GNU extension, but it's been part of ISO C++ since the first standard. The documentation of -fno-asm is wrong for C++ as it states that it only affects typeof, but actually it affects typeof and asm (despite asm being part of ISO C++). gcc/ChangeLog: * doc/extend.texi (Basic Asm): Clarify that asm is not an extension in C++. * doc/invoke.texi (-fno-asm): Fix description for C++.
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions