aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorqing zhao <qing.zhao@oracle.com>2020-05-06 10:46:09 -0700
committerqing zhao <qing.zhao@oracle.com>2020-05-06 10:46:09 -0700
commit530b44094354758d0dea5374188caa6863647114 (patch)
treef9809668f848e2ade12de9aaa53f3180bcb147c3 /gcc/common.opt
parent7c2879301d3b027a1ba427a5d5c7557decb8a7ab (diff)
downloadgcc-530b44094354758d0dea5374188caa6863647114.zip
gcc-530b44094354758d0dea5374188caa6863647114.tar.gz
gcc-530b44094354758d0dea5374188caa6863647114.tar.bz2
add a new option -flarge-source-files.
gcc/ChangeLog: PR c/94230 * common.opt: Add -flarge-source-files. * doc/invoke.texi: Document it. * toplev.c (process_options): set line_table->default_range_bits to 0 when flag_large_source_files is true. gcc/c-family/ChangeLog: PR c/94230 * c-indentation.c (get_visual_column): Add a hint to use the new -flarge-source-files option. gcc/testsuite/ChangeLog: PR c/94230 * gcc.dg/plugin/location-overflow-test-1.c (fn_1): New message to provide hint to use the new -flarge-source-files option.
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index d33383b..30d0573 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1609,6 +1609,11 @@ fkeep-gc-roots-live
Common Undocumented Report Var(flag_keep_gc_roots_live) Optimization
; Always keep a pointer to a live memory block
+flarge-source-files
+Common Report Var(flag_large_source_files) Init(0)
+Improve GCC's ability to track column numbers in large source files,
+at the expense of slower compilation.
+
floop-parallelize-all
Common Report Var(flag_loop_parallelize_all) Optimization
Mark all loops as parallel.