aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorLewis Hyatt <lhyatt@gmail.com>2022-07-11 08:12:33 -0400
committerLewis Hyatt <lhyatt@gmail.com>2022-07-11 08:42:39 -0400
commitcb7b01db7a1979a45fd1dce87a8738e80568520e (patch)
tree967fb4e26470f69e187903785ea1eb7cdebdd838 /gcc/ada
parentf1782a0a8c46a8897923f8e7aaf3846e86434170 (diff)
downloadgcc-cb7b01db7a1979a45fd1dce87a8738e80568520e.zip
gcc-cb7b01db7a1979a45fd1dce87a8738e80568520e.tar.gz
gcc-cb7b01db7a1979a45fd1dce87a8738e80568520e.tar.bz2
c-family: Fix option check in handle_pragma_diagnostic [PR106252]
In r13-1544, handle_pragma_diagnostic was refactored to support processing early pragmas. During that process the part looking up option arguments was inadvertenly moved too early, prior to checking the option was valid, causing PR106252. Fixed by moving the check back where it goes. gcc/c-family/ChangeLog: PR preprocessor/106252 * c-pragma.cc (handle_pragma_diagnostic_impl): Don't look up the option argument prior to verifying the option was found.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions