add a new option -flarge-source-files.
authorqing zhao <qing.zhao@oracle.com>
Wed, 6 May 2020 17:46:09 +0000 (10:46 -0700)
committerqing zhao <qing.zhao@oracle.com>
Wed, 6 May 2020 17:46:09 +0000 (10:46 -0700)
commit530b44094354758d0dea5374188caa6863647114
treef9809668f848e2ade12de9aaa53f3180bcb147c3
parent7c2879301d3b027a1ba427a5d5c7557decb8a7ab
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.
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-indentation.c
gcc/common.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c
gcc/toplev.c