aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.cc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-02-04 15:50:17 +0100
committerMartin Liska <mliska@suse.cz>2022-03-07 15:45:21 +0100
commit111754595cf8d3a8ae7063a42ac4cea18a304711 (patch)
treef914e60d7576cd84a17fc86d8652671a19d9f01c /gcc/fortran/dump-parse-tree.cc
parent02b7dd7f8233eb83f660cc021857be36cab2b846 (diff)
downloadgcc-111754595cf8d3a8ae7063a42ac4cea18a304711.zip
gcc-111754595cf8d3a8ae7063a42ac4cea18a304711.tar.gz
gcc-111754595cf8d3a8ae7063a42ac4cea18a304711.tar.bz2
opts: fix -gtoggle + optimize attribute
Note -fvar-tracking is enabled automatically with OPT_LEVELS_1_PLUS and so we need to drop it if we are called from optimize attribute and the option is unset. PR middle-end/104381 gcc/ChangeLog: * opts.cc (finish_options): If debug info is disabled (debug_info_level) and -fvar-tracking is unset, disable it. gcc/testsuite/ChangeLog: * gcc.dg/pr104381.c: New test.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.cc')
0 files changed, 0 insertions, 0 deletions