Compare commits

...

198 Commits

Author SHA1 Message Date
Martin Liska
4b13c73bba Merge branch 'master' into devel/sphinx 2022-11-08 12:36:43 +01:00
Martin Liska
33f5dde0cd Merge branch 'master' into devel/sphinx 2022-11-07 09:55:28 +01:00
Martin Liska
1b09b78ee6 Merge branch 'master' into devel/sphinx 2022-11-07 08:24:48 +01:00
Martin Liska
1eb021edb2 Merge branch 'master' into devel/sphinx 2022-10-28 10:02:34 +02:00
Martin Liska
62e475bad0 Merge branch 'master' into devel/sphinx 2022-10-26 12:59:00 +02:00
Martin Liska
5776a5ffab Merge branch 'master' into devel/sphinx 2022-10-21 12:48:02 +02:00
Martin Liska
4465e2a047 Merge branch 'master' into devel/sphinx 2022-10-19 15:25:12 +02:00
Martin Liska
6c22519f33 Merge branch 'master' into devel/sphinx 2022-10-17 10:19:50 +02:00
Martin Liska
2c92cfe87d Merge branch 'master' into devel/sphinx 2022-10-15 15:32:39 +02:00
Martin Liska
bd21c04269 Merge branch 'master' into devel/sphinx 2022-10-13 15:54:17 +02:00
Martin Liska
d9e7934d25 Merge branch 'master' into devel/sphinx 2022-10-08 10:19:23 +02:00
Martin Liska
da0970e441 Merge branch 'master' into devel/sphinx 2022-10-04 12:04:54 +02:00
Martin Liska
54f3cfaf3a Merge branch 'master' into devel/sphinx 2022-09-29 10:41:04 +02:00
Martin Liska
3c527a35fa Merge branch 'master' into devel/sphinx 2022-09-26 21:05:44 +02:00
Martin Liska
c9c59aa19c Merge branch 'master' into devel/sphinx 2022-09-20 17:24:19 +02:00
Martin Liska
9934c1e645 Merge branch 'master' into devel/sphinx 2022-09-20 14:03:46 +02:00
Martin Liska
6df29b782e Merge branch 'master' into devel/sphinx 2022-09-20 13:53:30 +02:00
Martin Liska
fdb97cd0b7 Merge branch 'master' into devel/sphinx 2022-09-12 10:43:19 +02:00
Martin Liska
918bc838c2 Merge branch 'master' into devel/sphinx 2022-09-06 06:52:14 +02:00
Martin Liska
8de5354e2c Merge branch 'master' into devel/sphinx 2022-09-05 11:22:00 +02:00
Martin Liska
d8e441f4b8 Merge branch 'master' into devel/sphinx 2022-09-05 10:44:56 +02:00
Martin Liska
4483fe115c Merge branch 'master' into devel/sphinx 2022-08-24 10:10:28 +02:00
Martin Liska
9dfe1f671a Merge branch 'master' into devel/sphinx 2022-08-18 21:21:45 +02:00
Martin Liska
c4cf402822 Merge branch 'master' into devel/sphinx 2022-08-18 15:35:14 +02:00
Martin Liska
87e8197e40 Merge branch 'master' into devel/sphinx 2022-08-16 18:18:15 +02:00
Martin Liska
a2c4ae994a Merge branch 'master' into devel/sphinx 2022-08-16 13:28:03 +02:00
Martin Liska
091222fb0a Merge branch 'master' into devel/sphinx 2022-08-16 10:06:14 +02:00
Martin Liska
b629a7958f Merge branch 'master' into devel/sphinx 2022-08-10 09:18:18 +02:00
Martin Liska
9fce2fbb1d Merge branch 'master' into devel/sphinx 2022-08-09 15:30:09 +02:00
Martin Liska
b3a187edd3 Merge branch 'master' into devel/sphinx 2022-08-08 09:05:36 +02:00
Martin Liska
89eca196c9 Merge branch 'master' into devel/sphinx 2022-08-01 05:53:37 +02:00
Jakub Jelinek
3a4cd5dc6f gimple, internal-fn: Add IFN_TRAP and use it for __builtin_unreachable [PR106099]
__builtin_unreachable and __ubsan_handle_builtin_unreachable don't
use vops, they are marked const/leaf/noreturn/nothrow/cold.
But __builtin_trap uses vops, isn't const, just leaf/noreturn/nothrow/cold.
This is I believe so that when users explicitly use __builtin_trap in their
sources they get stores visible at the trap side.
-fsanitize=unreachable -fsanitize-undefined-trap-on-error used to transform
__builtin_unreachable to __builtin_trap even in the past, but the sanopt pass
has TODO_update_ssa, so it worked fine.

Now that gimple_build_builtin_unreachable can build a __builtin_trap call
right away, we can run into problems that whenever we need it we would need
to either manually or through TODO_update* ensure the vops being updated.

Though, as it is originally __builtin_unreachable which is just implemented
as trap, I think for this case it is fine to avoid vops.  For this the
patch introduces IFN_TRAP, which has ECF_* flags like __builtin_unreachable
and is expanded as __builtin_trap.

2022-07-28  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/106099
	* internal-fn.def (TRAP): New internal fn.
	* internal-fn.h (expand_TRAP): Declare.
	* internal-fn.cc (expand_TRAP): Define.
	* gimple.cc (gimple_build_builtin_unreachable): For BUILT_IN_TRAP,
	use internal fn rather than builtin.

	* gcc.dg/ubsan/pr106099.c: New test.
2022-07-28 14:09:09 +02:00
Martin Liška
a1b7908c3d jit,docs: shorten assembly output
Shorten the assembly example so that there is not slider.

Ready for master?
Thanks,
Martin

gcc/jit/ChangeLog:

	* docs/cp/intro/tutorial02.rst:
	Shorten the assembly example so that there is not slider.
	* docs/cp/intro/tutorial04.rst: Likewise.
	* docs/intro/tutorial02.rst: Likewise.
	* docs/intro/tutorial04.rst: Likewise.
	* docs/topics/contexts.rst: Likewise.
2022-07-28 14:09:09 +02:00
Martin Liska
3168c2f8ed contrib: use sphinx-build from a venv
maintainer-scripts/ChangeLog:

	* update_web_docs_git: Use sphinx-build from a venv so that
	we can use a recent version.
2022-07-28 14:09:09 +02:00
marxin
82dc469da3 jit,docs: remove :ref:modindex
gcc/jit/ChangeLog:

	* docs/index.rst: Remove reference to module index
	as we don't emit any.
2022-07-28 14:09:09 +02:00
marxin
8bdae0c217 jit,docs: use :expr:type * for pointers to a type
gcc/jit/ChangeLog:

	* docs/cp/intro/tutorial02.rst: Use :expr:`type *` for pointers to a type
	* docs/cp/topics/asm.rst: Likewise.
	* docs/cp/topics/contexts.rst: Likewise.
	* docs/cp/topics/expressions.rst: Likewise.
	* docs/cp/topics/functions.rst: Likewise.
	* docs/cp/topics/objects.rst: Likewise.
	* docs/intro/tutorial02.rst: Likewise.
	* docs/intro/tutorial03.rst: Likewise.
	* docs/intro/tutorial04.rst: Likewise.
	* docs/intro/tutorial05.rst: Likewise.
	* docs/topics/compilation.rst: Likewise.
	* docs/topics/contexts.rst: Likewise.
	* docs/topics/objects.rst: Likewise.
2022-07-28 14:09:08 +02:00
marxin
651d14eec9 jit,docs: use list-table instead of fixed table
Use rather list-table that is easible to maintainer and one
does not have to wrap lines. Moreover, it provides great
attribute :widths: that correctly works (tested for HTML and PDF).

gcc/jit/ChangeLog:

	* docs/cp/intro/tutorial04.rst: Use list-table.
	* docs/intro/tutorial04.rst: Likewise.
	* docs/intro/tutorial05.rst: Likewise.
	* docs/topics/compilation.rst: Likewise.
	* docs/topics/expressions.rst: Likewise.
	* docs/topics/types.rst: Likewise.
2022-07-28 14:09:08 +02:00
marxin
e164645103 jit,docs: compact function declarations
gcc/jit/ChangeLog:

	* docs/cp/topics/expressions.rst: Compact so that the generated
	output is also more compact.
2022-07-28 14:09:08 +02:00
marxin
4285d79dd4 jit,docs: various fixes
gcc/jit/ChangeLog:

	* docs/cp/intro/tutorial02.rst: Use proper reference.
	* docs/cp/topics/contexts.rst: Likewise.
	* docs/cp/topics/functions.rst: Put `class` directive before a
	function as it is not allowed declaring a class in a fn.
	* docs/cp/topics/types.rst: Add template keyword.
	* docs/examples/tut04-toyvm/toyvm.c (toyvm_function_compile):
	Add removed comment used for code snippet ending detection.
	* docs/intro/tutorial04.rst: Fix to match the real comment.
2022-07-28 14:09:08 +02:00
marxin
27018417b3 jit,docs: replace c:type:int_type with :expr:int_type
Use expression that work fine for basic type.

gcc/jit/ChangeLog:

	* docs/cp/topics/expressions.rst: Use :expr: for basic types.
	* docs/topics/compilation.rst: Likewise.
	* docs/topics/expressions.rst: Likewise.
	* docs/topics/function-pointers.rst: Likewise.
2022-07-28 14:09:07 +02:00
marxin
3cda4e1955 jit,docs: use enum directive for enumeral types
gcc/jit/ChangeLog:

	* docs/conf.py: Add needs_sphinx = '3.0' where c:type was added.
	* docs/index.rst: Remove note about it.
	* docs/topics/compilation.rst: Use enum directive and reference.
	* docs/topics/contexts.rst: Likewise.
	* docs/topics/expressions.rst: Likewise.
	* docs/topics/functions.rst: Likewise.
2022-07-28 14:09:07 +02:00
GCC Administrator
89792c7d12 Daily bump. 2022-07-28 14:09:07 +02:00
Lewis Hyatt
a4ac487b9b preprocessor: Set input_location to the most recently seen token
When preprocessing with -E and -save-temps, input_location points always to the
first character of the current file. This was previously irrelevant because
nothing was called during the token streaming process that would inspect
input_location. But since r13-1544, "#pragma GCC diagnostic" is supported in
preprocess-only mode, and that pragma relies on input_location to decide if a
given source code location is subject to a diagnostic or not. Most diagnostics
work fine anyway, because they are handled as soon as they are seen and so
everything is still seen in the expected order even though all the diagnostic
pragmas are treated as if they applied at the start of the file. One example
that doesn't work correctly is the new testcase, since here the warning is not
triggered until the end of the file and so it is necessary to track the location
properly.

Fixed by setting input_location to point to each token as it is being
streamed, similar to how C++ mode sets it.

gcc/c-family/ChangeLog:

	* c-ppoutput.cc (token_streamer::stream): Update input_location
	prior to streaming each token.

gcc/testsuite/ChangeLog:

	* c-c++-common/pragma-diag-14.c: New test.
	* c-c++-common/pragma-diag-15.c: New test.
2022-07-28 14:09:07 +02:00
David Faust
c6eaea472a MAINTAINERS: Add myself as CTF and BTF reviewer
ChangeLog:

	* MAINTAINERS: Add myself as reviewer for CTF and BTF.
2022-07-28 14:09:06 +02:00
Andrew Carlotti
aab41924aa docs: Fix outdated reference to LOOPS_HAVE_MARKED_SINGLE_EXITS
gcc/ChangeLog:

	* doc/loop.texi: Refer to LOOPS_HAVE_RECORDED_EXITS instead.
2022-07-28 14:09:06 +02:00
Immad Mir
375ae10437 analyzer: add get_meaning_for_state_change vfunc to fd_diagnostic in sm-fd.cc [PR106286]
This patch adds get_meaning_for_state_change vfunc to
fd_diagnostic in sm-fd.cc which could be used by SARIF output.

Lightly tested on x86_64 Linux.

gcc/analyzer/ChangeLog:
	PR analyzer/106286
	* sm-fd.cc:
	(fd_diagnostic::get_meaning_for_state_change): New.

gcc/testsuite/ChangeLog:
	PR analyzer/106286
	* gcc.dg/analyzer/fd-meaning.c: New test.

Signed-off-by: Immad Mir <mirimmad@outlook.com>
2022-07-28 14:09:06 +02:00
WANG Xuerui
a852409c60 LoongArch: document -m[no-]explicit-relocs
gcc/ChangeLog:

	* doc/invoke.texi: Document -m[no-]explicit-relocs for
	LoongArch.
2022-07-28 14:09:06 +02:00
Maciej W. Rozycki
14ab26cfa5 RISC-V: Remove duplicate backslashes from `stack_protect_set_<mode>'
Remove redundant duplicate backslash characters from \t sequences in the
output pattern of the `stack_protect_set_<mode>' RTL insn.

	gcc/
	* config/riscv/riscv.md (stack_protect_set_<mode>): Remove
	duplicate backslashes.
2022-07-28 14:09:05 +02:00
Maciej W. Rozycki
449563eb5e RISC-V: Add RTX costs for `if_then_else' expressions
Fix a performance regression from commit 391500af19 ("Do not ignore
costs of jump insns in combine."), a part of the m68k series for MODE_CC
conversion (<https://gcc.gnu.org/ml/gcc-patches/2019-11/msg01028.html>),
observed in soft-fp code in libgcc used by some of the embench-iot
benchmarks.

The immediate origin of the regression is the middle end, which in the
absence of cost information from the backend estimates the cost of an
RTL expression by assuming a single machine instruction for each of the
expression's subexpression.

So for `if_then_else', which takes 3 operands, the estimated cost is 3
instructions (i.e. 12 units) even though a branch instruction evaluates
it in a single machine cycle (ignoring the cost of actually taking the
branch of course, which is handled elsewhere).  Consequently an insn
sequence like:

(insn 595 594 596 43 (set (reg:DI 305)
        (lshiftrt:DI (reg/v:DI 160 [ R_f ])
            (const_int 55 [0x37]))) ".../libgcc/soft-fp/adddf3.c":46:3 216 {lshrdi3}
     (nil))
(insn 596 595 597 43 (set (reg:DI 304)
        (and:DI (reg:DI 305)
            (const_int 1 [0x1]))) ".../libgcc/soft-fp/adddf3.c":46:3 109 {anddi3}
     (expr_list:REG_DEAD (reg:DI 305)
        (nil)))
(jump_insn 597 596 598 43 (set (pc)
        (if_then_else (eq (reg:DI 304)
                (const_int 0 [0]))
            (label_ref:DI 1644)
            (pc))) ".../libgcc/soft-fp/adddf3.c":46:3 237 {*branchdi}
     (expr_list:REG_DEAD (reg:DI 304)
        (int_list:REG_BR_PROB 536870916 (nil)))
 -> 1644)

does not (anymore, as from the commit referred) get combined into:

(note 595 594 596 43 NOTE_INSN_DELETED)
(note 596 595 597 43 NOTE_INSN_DELETED)
(jump_insn 597 596 598 43 (parallel [
            (set (pc)
                (if_then_else (eq (zero_extract:DI (reg/v:DI 160 [ R_f ])
                            (const_int 1 [0x1])
                            (const_int 55 [0x37]))
                        (const_int 0 [0]))
                    (label_ref:DI 1644)
                    (pc)))
            (clobber (scratch:DI))
        ]) ".../libgcc/soft-fp/adddf3.c":46:3 243 {*branch_on_bitdi}
     (int_list:REG_BR_PROB 536870916 (nil))
 -> 1644)

This is because the new cost is incorrectly calculated as 28 units while
the cost of the original 3 instructions was 24:

rejecting combination of insns 595, 596 and 597
original costs 4 + 4 + 16 = 24
replacement cost 28

Before the commit referred the cost of jump instruction was ignored and
considered 0 (i.e. unknown) and a sequence of instructions of a known
cost used to win:

allowing combination of insns 595, 596 and 597
original costs 4 + 4 + 0 = 0
replacement cost 28

Add the missing costs for the 3 variants of `if_then_else' expressions
we currently define in the backend.

With the fix in place the cost of this particular `if_then_else' pattern
is 2 instructions or 8 units (because of the shift operation) and
therefore the ultimate cost of the original 3 RTL insns will work out at
16 units (4 + 4 + 8), however the replacement single RTL insn will cost
8 units only.

	gcc/
	* config/riscv/riscv.cc (riscv_rtx_costs) <IF_THEN_ELSE>: New
	case.
2022-07-28 14:09:05 +02:00
Jakub Jelinek
026c3dca87 cgraphunit: Don't emit asm thunks for -dx [PR106261]
When -dx option is used (didn't know we have it and no idea what is it
useful for), we just expand functions to RTL and then omit all further
RTL passes, so the normal functions aren't actually emitted into assembly,
just variables.
The following testcase ICEs, because we don't emit the methods, but do
emit thunks pointing to that and those thunks have unwind info and rely on
at least some real functions to be emitted (which is normally the case,
thunks are only emitted for locally defined functions) because otherwise
there are no CIEs, only FDEs and dwarf2out is upset about it.

The following patch fixes that by not emitting assembly thunks for -dx
either.

2022-07-27  Jakub Jelinek  <jakub@redhat.com>

	PR debug/106261
	* cgraphunit.cc (cgraph_node::assemble_thunks_and_aliases): Don't
	output asm thunks for -dx.

	* g++.dg/debug/pr106261.C: New test.
2022-07-28 14:09:05 +02:00
Jakub Jelinek
94963965ca opts: Add an assertion to help static analyzers [PR106332]
This function would have UB if called with empty candidates vector
(accessing p[-1] where p is malloc (0) result).
As analyzed in the PR, we never call it with empty vector, so this just
adds an assertion to make it clear.

2022-07-27  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/106332
	* opts-common.cc (candidates_list_and_hint): Add gcc_assert
	that candidates is not an empty vector.
2022-07-28 14:09:05 +02:00
Jakub Jelinek
f0400e2a86 testsuite: Add -Wno-psabi to pr94920 tests [PR94920]
These tests fail on ia32, because we get -Wpsabi warnings.
Fixed by adding -Wno-psabi.  The pr94920.C test still fails the
ABS_EXPR scan-tree-dump though, I think we'll need to add vect
options and use vect_int effective target or something similar.

2022-07-27  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/94920
	* g++.dg/pr94920.C: Add -Wno-psabi to dg-options.
	* g++.dg/pr94920-1.C: Add dg-additional-options -Wno-psabi.
2022-07-28 14:09:04 +02:00
Jakub Jelinek
e23c73a424 testsuite: Add extra ia32 options so that -fprefetch-loop-arrays works [PR106397]
-fprefetch-loop-arrays isn't supported on ia32 with just -march=i386 and
similar, the following patch adds extra options similar testcases use.

2022-07-27  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/106397
	* gcc.dg/pr106397.c: For ia32, add dg-additional-options
	-march=i686 -msse.
2022-07-28 14:09:04 +02:00
Richard Biener
ee781daa10 Fix Rogers e-mail in MAINTAINERS
I've made the mistake of cut&pasting the bouncing address at least
twice.

	* MAINTAINERS (Roger Sayle): Update e-mail address.
2022-07-28 14:09:04 +02:00
Xi Ruoyao
c50901efe4 LoongArch: adjust the default of -mexplicit-relocs by checking gas feature
The assembly produced with -mexplicit-relocs is not supported by gas <=
2.39.  Check if the assembler supports explicit relocations and set the
default accordingly.

gcc/ChangeLog:

	* configure.ac (HAVE_AS_EXPLICIT_RELOCS): Define to 1 if the
	assembler supports explicit relocation for LoongArch.
	* configure: Regenerate.
	* config/loongarch/loongarch-opts.h (HAVE_AS_EXPLICIT_RELOCS):
	Define to 0 if not defined.
	* config/loongarch/genopts/loongarch.opt.in
	(TARGET_EXPLICIT_RELOCS): Default to HAVE_AS_EXPLICIT_RELOCS.
	* config/loongarch/loongarch.opt: Regenerate.
2022-07-28 14:09:04 +02:00
GCC Administrator
19caa98b81 Daily bump. 2022-07-28 14:09:03 +02:00
Thomas Rodgers
f0b75c239b libstdc++: Minor codegen improvement for atomic wait spinloop
This patch merges the spin loops in the atomic wait implementation which is a
minor codegen improvement.

libstdc++-v3/ChangeLog:
	* include/bits/atomic_wait.h (__atomic_spin): Merge spin loops.
2022-07-28 14:09:03 +02:00
David Malcolm
4aa2b803c1 analyzer: fix false +ves from -Wanalyzer-va-arg-type-mismatch on int promotion [PR106319]
gcc/analyzer/ChangeLog:
	PR analyzer/106319
	* store.cc (store::set_value): Don't strip away casts if the
	region has NULL type.

gcc/testsuite/ChangeLog:
	PR analyzer/106319
	* gcc.dg/analyzer/stdarg-types-3.c: New test.
	* gcc.dg/analyzer/stdarg-types-4.c: New test.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2022-07-28 14:09:03 +02:00
David Malcolm
4b15027355 analyzer: fix stray get_element decls
These were copy&paste errors.

gcc/analyzer/ChangeLog:
	* region.h (code_region::get_element): Remove stray decl.
	(function_region::get_element): Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2022-07-28 14:09:03 +02:00
Harald Anlauf
cad8f2e62d Fortran: error recovery from calculation of storage size of a symbol [PR103504]
gcc/fortran/ChangeLog:

	PR fortran/103504
	* interface.cc (get_sym_storage_size): Array bounds and character
	length can only be of integer type.

gcc/testsuite/ChangeLog:

	PR fortran/103504
	* gfortran.dg/pr103504.f90: New test.
2022-07-28 14:09:02 +02:00
Peter Bergner
eee84fda23 c: Handle initializations of opaque types [PR106016]
The initial commit that added opaque types thought that there couldn't
be any valid initializations for variables of these types, but the test
case in the bug report shows that isn't true.  The solution is to handle
OPAQUE_TYPE initializations like the other scalar types.

2022-06-17  Peter Bergner  <bergner@linux.ibm.com>

gcc/
	PR c/106016
	* expr.cc (count_type_elements): Handle OPAQUE_TYPE.

gcc/testsuite/
	PR c/106016
	* gcc.target/powerpc/pr106016.c: New test.
2022-07-28 14:09:02 +02:00
Lulu Cheng
1758efd905 LoongArch: Modify the output message string of the warning.
Fix bug for "error: spurious trailing punctuation sequence '.' in format [-Werror=format-diag]".

gcc/ChangeLog:

	* config/loongarch/loongarch-opts.cc: Modify the output message string
	of the warning.
2022-07-28 14:09:02 +02:00
Martin Liska
ab3d567fa9 Merge branch 'master' into devel/sphinx 2022-07-26 14:27:54 +02:00
Martin Liska
d683a5b3d2 Merge branch 'master' into devel/sphinx 2022-07-26 14:09:15 +02:00
Martin Liska
8f694e3f18 Merge branch 'master' into devel/sphinx 2022-07-26 10:04:01 +02:00
Martin Liska
9630093982 Merge branch 'master' into devel/sphinx 2022-07-25 09:01:02 +02:00
Martin Liska
bb743388df Merge branch 'master' into devel/sphinx 2022-07-21 16:12:11 +02:00
Martin Liska
e9c8572e74 Merge branch 'master' into devel/sphinx 2022-07-19 15:41:29 +02:00
Martin Liska
85df616e13 Merge branch 'master' into devel/sphinx 2022-07-18 09:50:59 +02:00
Martin Liska
c29d4ad6d7 Merge branch 'master' into devel/sphinx 2022-07-14 11:34:27 +02:00
Martin Liska
b8cae48643 Merge branch 'master' into devel/sphinx 2022-07-14 10:35:42 +02:00
Martin Liska
2d4ba09d23 Merge branch 'master' into devel/sphinx 2022-07-14 10:23:27 +02:00
Martin Liska
b9dc4e9c94 Merge branch 'master' into devel/sphinx 2022-07-12 13:23:53 +02:00
Martin Liska
c9de7a6018 Merge branch 'master' into devel/sphinx 2022-07-10 16:45:06 +02:00
Martin Liska
3af708eb45 Merge branch 'master' into devel/sphinx 2022-06-17 13:35:07 +02:00
Martin Liska
910ef4ff32 Merge branch 'master' into devel/sphinx 2022-06-17 13:05:50 +02:00
Martin Liska
cad2e08f6c Merge branch 'master' into devel/sphinx 2022-03-15 10:13:03 +01:00
Martin Liska
604bf5da51 Merge branch 'master' into devel/sphinx 2022-03-10 10:42:24 +01:00
Martin Liska
1a576b7ac6 Merge branch 'master' into devel/sphinx 2022-03-06 16:28:20 +01:00
Martin Liska
f015156d66 Merge branch 'master' into devel/sphinx 2022-01-28 14:08:09 +01:00
Martin Liska
58446a69f7 Merge branch 'master' into devel/sphinx 2022-01-24 13:35:09 +01:00
Martin Liska
60af3ff91f Merge branch 'master' into devel/sphinx 2022-01-20 13:37:42 +01:00
Martin Liska
929c31a9d1 Merge branch 'master' into devel/sphinx 2022-01-18 15:25:04 +01:00
Martin Liska
6ab1963fc8 Merge branch 'master' into devel/sphinx 2022-01-12 13:34:27 +01:00
Martin Liska
013d1573ab Merge branch 'master' into devel/sphinx 2022-01-03 20:33:23 +01:00
Martin Liska
cb2d70e85a Merge branch 'master' into devel/sphinx 2022-01-03 11:14:32 +01:00
Martin Liska
3710ef4334 Merge branch 'master' into devel/sphinx 2021-12-30 14:34:08 +01:00
Martin Liska
50c93d3fa3 Merge branch 'master' into devel/sphinx 2021-12-29 13:42:59 +01:00
Martin Liska
2912c844bc Merge branch 'master' into devel/sphinx 2021-12-28 11:13:53 +01:00
Martin Liska
af458885cf Merge branch 'master' into devel/sphinx 2021-12-28 11:05:52 +01:00
Martin Liska
c00c06b784 Merge branch 'master' into devel/sphinx 2021-12-22 12:17:42 +01:00
Martin Liska
2c62b5a688 Merge branch 'master' into devel/sphinx 2021-12-22 12:07:59 +01:00
Martin Liska
6a96a486f3 Merge branch 'master' into devel/sphinx 2021-12-22 12:03:07 +01:00
Martin Liska
303634cc43 Merge branch 'master' into devel/sphinx 2021-12-20 11:00:50 +01:00
Martin Liska
a29aa2eafa Merge branch 'master' into devel/sphinx 2021-12-17 15:04:02 +01:00
Martin Liska
9d82b7b438 Merge branch 'master' into devel/sphinx 2021-12-16 15:22:45 +01:00
Martin Liska
4cab4ee4f1 Merge branch 'master' into devel/sphinx 2021-12-16 14:11:30 +01:00
Martin Liska
193c48050a Merge branch 'master' into devel/sphinx 2021-12-13 11:57:11 +01:00
Martin Liska
cf116c7915 Merge branch 'master' into devel/sphinx 2021-12-12 22:22:10 +01:00
Martin Liska
7a81590757 Merge branch 'master' into devel/sphinx 2021-12-09 11:38:40 +01:00
Martin Liska
4cba2fa027 Merge branch 'master' into devel/sphinx 2021-12-01 13:30:25 +01:00
Martin Liska
789b80d1fb Merge branch 'master' into devel/sphinx 2021-11-25 13:26:19 +01:00
Martin Liska
e6cf319354 Merge branch 'master' into devel/sphinx 2021-11-23 11:28:31 +01:00
Martin Liska
44a06feaf8 Merge branch 'master' into devel/sphinx 2021-11-22 17:39:30 +01:00
Martin Liska
ffa33d36af Merge branch 'master' into devel/sphinx 2021-11-22 13:58:10 +01:00
Martin Liska
42369195be Merge branch 'master' into devel/sphinx 2021-11-16 15:50:04 +01:00
Martin Liska
9345234b2a Merge branch 'master' into devel/sphinx 2021-10-21 11:51:37 +02:00
Martin Liska
39887dd2c2 Merge branch 'master' into devel/sphinx 2021-10-18 14:43:12 +02:00
Martin Liska
e07d0e579a Merge branch 'master' into devel/sphinx 2021-08-27 10:52:00 +02:00
Martin Liska
e88d1c83cd Merge branch 'master' into devel/sphinx 2021-08-26 11:23:40 +02:00
Martin Liska
7572f9cd10 Merge branch 'master' into devel/sphinx 2021-08-24 16:42:47 +02:00
Martin Liska
eb2de151c5 Merge branch 'master' into devel/sphinx 2021-08-24 09:29:48 +02:00
Martin Liska
041709a62f Merge branch 'master' into devel/sphinx 2021-08-23 15:42:20 +02:00
Martin Liska
e8d1043fc0 Merge branch 'master' into devel/sphinx 2021-08-23 12:35:00 +02:00
Martin Liska
0b6c24dd10 Merge branch 'master' into devel/sphinx 2021-08-19 12:03:21 +02:00
Martin Liska
60ae041aae Merge branch 'master' into devel/sphinx 2021-08-18 15:50:28 +02:00
Martin Liska
7d5bfcbfd3 Merge branch 'master' into devel/sphinx 2021-08-10 09:12:21 +02:00
Martin Liska
9207fa3eff Merge branch 'master' into devel/sphinx 2021-08-09 11:14:45 +02:00
Martin Liska
01c909e1a5 Merge branch 'master' into devel/sphinx 2021-08-06 12:38:10 +02:00
Martin Liska
f182597d27 Merge branch 'master' into devel/sphinx 2021-08-05 19:50:30 +02:00
Martin Liska
fc45f824a0 Merge branch 'master' into devel/sphinx 2021-08-03 15:48:56 +02:00
Martin Liska
993a6fb652 Merge branch 'master' into devel/sphinx 2021-07-12 11:40:46 +02:00
Martin Liska
7445abec5d Merge branch 'master' into devel/sphinx 2021-06-30 06:49:12 +02:00
Martin Liska
490d1e1be1 Merge branch 'master' into devel/sphinx 2021-06-29 08:49:26 +02:00
Martin Liska
adf0825ae7 Merge branch 'master' into devel/sphinx 2021-06-28 13:11:06 +02:00
Martin Liska
99c8f78b7f Merge branch 'master' into devel/sphinx 2021-06-25 10:51:49 +02:00
Martin Liska
441aa2ce23 Merge branch 'master' into devel/sphinx 2021-06-24 16:09:54 +02:00
Martin Liska
0c6508fe97 Merge branch 'master' into devel/sphinx 2021-06-23 10:20:15 +02:00
Martin Liska
272625aab5 Fix uppercase names of hooks. 2021-06-22 15:28:52 +02:00
Martin Liska
f1f00d67c1 Emit placeholders. 2021-06-22 15:16:18 +02:00
Martin Liska
899e9ed597 Merge branch 'master' into devel/sphinx 2021-06-22 09:47:42 +02:00
Martin Liska
86e9a5c431 Merge branch 'master' into devel/sphinx 2021-06-21 09:32:59 +02:00
Martin Liska
d79a408d0e Merge branch 'master' into devel/sphinx 2021-06-17 12:05:57 +02:00
Martin Liska
78a55ff9ef Merge branch 'master' into devel/sphinx 2021-06-16 14:18:45 +02:00
Martin Liska
4d03df89bf Merge branch 'master' into devel/sphinx 2021-06-15 14:35:34 +02:00
Martin Liska
68bf83fd1e Remove @c stuff. 2021-06-15 10:45:33 +02:00
Martin Liska
dc430faa2f ARM: remove some @c comments. 2021-06-14 22:45:16 +02:00
Martin Liska
743b0808cc Merge branch 'master' into devel/sphinx 2021-06-14 16:08:29 +02:00
Martin Liska
ae29e58bf3 Merge branch 'master' into devel/sphinx 2021-06-14 16:05:30 +02:00
Martin Liska
1775bce3a2 Merge branch 'master' into devel/sphinx 2021-06-14 15:38:04 +02:00
Martin Liska
c0f8bdc00d Remove @ref. 2021-06-14 13:10:21 +02:00
Martin Liska
3f254ca970 Change uref with ref. 2021-06-14 12:08:50 +02:00
Martin Liska
0c7a741ec2 Remove one ifhtml. 2021-06-14 12:02:28 +02:00
Martin Liska
498ab57410 Remove some @ifhtml. 2021-06-14 11:39:53 +02:00
Martin Liska
12fc0e1367 Merge branch 'master' into devel/sphinx 2021-06-14 11:29:28 +02:00
Martin Liska
845e084230 Merge branch 'master' into devel/sphinx 2021-06-11 13:03:29 +02:00
Martin Liska
93e0132237 Merge branch 'master' into devel/sphinx 2021-06-10 08:22:39 +02:00
Martin Liska
c5ed58925a libquadmath: small formatting fix 2021-06-09 16:42:29 +02:00
Martin Liska
eb8a32c6a1 libquadmath: fix table format. 2021-06-09 15:38:34 +02:00
Martin Liska
5a2d297a53 libquadmath: simplify table 2021-06-09 14:46:07 +02:00
Martin Liska
739448cd8a Merge branch 'master' into devel/sphinx 2021-06-09 13:40:10 +02:00
Martin Liska
c7768f0683 Improve JSON code-blocks. 2021-06-09 07:35:48 +02:00
Martin Liska
8451c23d28 Merge branch 'master' into devel/sphinx 2021-06-08 09:47:03 +02:00
Martin Liska
6467a4e9a6 Merge branch 'master' into devel/sphinx 2021-06-07 15:38:10 +02:00
Martin Liska
7584ede940 Remove license entry in intrinsic. 2021-06-07 10:15:22 +02:00
Martin Liska
aeed50fedb docs: Add missing @headitem for tables. 2021-06-06 17:29:44 +02:00
Martin Liska
6de742a6db Merge branch 'master' into devel/sphinx 2021-06-06 16:57:23 +02:00
Martin Liska
d67627857c Merge branch 'master' into devel/sphinx 2021-06-04 13:36:59 +02:00
Martin Liska
38dbface07 Remove 'c man' and other artefacts. 2021-06-03 15:42:31 +02:00
Martin Liska
022cc8a989 Merge branch 'master' into devel/sphinx 2021-06-03 12:52:48 +02:00
Martin Liska
0d9e5270f1 Merge branch 'master' into devel/sphinx 2021-06-02 14:46:33 +02:00
Martin Liska
fcea5603e5 Remove man-related directives. 2021-06-02 14:45:49 +02:00
Martin Liska
fa5b508acd Merge branch 'master' into devel/sphinx 2021-06-02 08:59:18 +02:00
Martin Liska
520839b324 Merge branch 'master' into devel/sphinx 2021-05-31 11:30:50 +02:00
Martin Liska
9104f3d64d Clean up gccgo manual page. 2021-05-28 15:30:47 +02:00
Martin Liska
b4fb6461c1 Clean up some more manual pages. 2021-05-28 15:06:14 +02:00
Martin Liska
5061fad94b Port gcov-tool manual page. 2021-05-28 14:54:45 +02:00
Martin Liska
d2c8c47773 Clean up man page for gcov. 2021-05-28 14:37:10 +02:00
Martin Liska
282d533e86 Merge branch 'master' into devel/sphinx 2021-05-28 14:28:40 +02:00
Martin Liska
d499773880 Merge branch 'master' into devel/sphinx 2021-05-27 09:52:01 +02:00
Martin Liska
2a0afc4ad1 Remove comments in gcc-common.texi. 2021-05-26 11:42:26 +02:00
Martin Liska
6aa35533ef Remove some leading comments - it makes troubles. 2021-05-26 11:02:49 +02:00
Martin Liska
e1ba2cb28a Merge branch 'master' into devel/sphinx 2021-05-26 09:35:04 +02:00
Martin Liska
b1edeaddf3 Merge branch 'master' into devel/sphinx 2021-05-26 09:18:21 +02:00
Martin Liska
2f7ea01554 Merge branch 'master' into devel/sphinx 2021-05-25 15:01:25 +02:00
Martin Liska
d5bc4d6527 Small man-page related changes. 2021-05-24 15:28:55 +02:00
Martin Liska
f146ba4d8a Simplify gcov-dump and lto-dump. 2021-05-24 15:17:22 +02:00
Martin Liska
cab6050fa9 Update man-pages related texi files. 2021-05-24 14:54:53 +02:00
Martin Liska
f44002720a Update manual directives in gcov-dump. 2021-05-24 14:24:05 +02:00
Martin Liska
8658994a38 Add Introduction to install.texi. 2021-05-24 13:26:55 +02:00
Martin Liska
a06bc9f78d Merge branch 'master' into devel/sphinx 2021-05-24 11:39:52 +02:00
Martin Liska
905b28242c Merge branch 'master' into devel/sphinx 2021-05-18 11:25:25 +02:00
Martin Liska
6ec928c2ae Merge branch 'master' into devel/sphinx 2021-05-17 15:53:06 +02:00
Martin Liska
9c217a1395 Merge branch 'master' into devel/sphinx 2021-05-11 19:32:50 +02:00
Martin Liska
eec145f7e1 Merge branch 'master' into devel/sphinx 2021-04-22 09:11:08 +02:00
Martin Liska
ae420abed0 Merge branch 'master' into devel/sphinx 2021-04-20 10:01:29 +02:00
Martin Liska
a78721691f Revert @ifset DEVELOPMENT changes. 2021-04-20 10:01:18 +02:00
Martin Liska
30779e97b9 Merge branch 'master' into devel/sphinx 2021-04-19 13:43:48 +02:00
Martin Liska
bf297d8066 Remove @detailmenu for CPP manual. 2021-04-19 13:39:35 +02:00
Martin Liska
e524607beb Merge branch 'master' into devel/sphinx 2021-04-15 14:51:21 +02:00
Martin Liska
ecb7b9c413 Encode some macros. 2021-04-15 12:52:24 +02:00
Martin Liska
94fef1445a Merge branch 'master' into devel/sphinx 2021-04-14 12:29:43 +02:00
Martin Liska
22a9aab63b Remove Index from libiberty.texi file. 2021-04-14 11:03:21 +02:00
Martin Liska
fc3c63e351 Remove Index from gfc-internals.texi. 2021-04-14 11:03:17 +02:00
Martin Liska
cdd0c0b647 Remove Index from gccgo.texi. 2021-04-14 11:03:14 +02:00
Martin Liska
e28e0de215 docs: Remove empty table column.
gcc/fortran/ChangeLog:

	* intrinsic.texi: The table has first column empty and it makes
	trouble when processing makeinfo --xml output.
2021-04-14 10:58:37 +02:00
Martin Liska
e5b2a27166 Include gcc-vers.texi in libquadmath manual. 2021-04-14 10:17:08 +02:00
Martin Liska
cc6093b4ee Remove links from install.texi file. 2021-04-14 10:13:37 +02:00
32 changed files with 1087 additions and 761 deletions

View File

@@ -11,27 +11,6 @@
@include gcc-common.texi
@c Copyright years for this manual.
@set copyrights-d 2006-2022
@copying
@c man begin COPYRIGHT
Copyright @copyright{} @value{copyrights-d} Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the
@c man end
section entitled ``GNU Free Documentation License''.
@ignore
@c man begin COPYRIGHT
man page gfdl(7).
@c man end
@end ignore
@end copying
@ifinfo
@format
@dircategory Software development
@@ -85,10 +64,8 @@ package documentation, see @uref{https://dlang.org/}.
@node Invoking gdc
@chapter Invoking gdc
@c man title gdc A GCC-based compiler for the D language
@subsubheading Synopsis
@ignore
@c man begin SYNOPSIS gdc
gdc [@option{-c}|@option{-S}] [@option{-g}] [@option{-pg}]
[@option{-O}@var{level}] [@option{-W}@var{warn}@dots{}]
[@option{-I}@var{dir}@dots{}] [@option{-L}@var{dir}@dots{}]
@@ -97,22 +74,14 @@ gdc [@option{-c}|@option{-S}] [@option{-g}] [@option{-pg}]
Only the most useful options are listed here; see below for the
remainder.
@c man end
@c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7), gcc(1)
and the Info entries for @file{gdc} and @file{gcc}.
@c man end
@end ignore
@c man begin DESCRIPTION gdc
@subsubheading Description
The @command{gdc} command is the GNU compiler for the D language and
supports many of the same options as @command{gcc}. @xref{Option Summary, ,
Option Summary, gcc, Using the GNU Compiler Collection (GCC)}.
This manual only documents the options specific to @command{gdc}.
@c man end
@menu
* Input and Output files:: Controlling the kind of output:
an executable, object files, assembler files,
@@ -124,7 +93,7 @@ This manual only documents the options specific to @command{gdc}.
* Developer Options:: Options useful for developers of gdc
@end menu
@c man begin OPTIONS
@subsubheading Options
@node Input and Output files
@section Input and Output files
@@ -843,8 +812,6 @@ and all @code{function} bodies that are being compiled.
@end table
@c man end
@node Index
@unnumbered Index

View File

@@ -85,4 +85,4 @@ suggestions for improvement of GCC are welcome in any case.
@section How and Where to Report Bugs
@cindex compiler bugs, reporting
Bugs should be reported to the bug database at @value{BUGURL}.
Bugs should be reported to the bug database at $$BUGURL$$.

View File

@@ -8,38 +8,6 @@
@include gcc-common.texi
@copying
@c man begin COPYRIGHT
Copyright @copyright{} 1987-2022 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation. A copy of
the license is included in the
@c man end
section entitled ``GNU Free Documentation License''.
@ignore
@c man begin COPYRIGHT
man page gfdl(7).
@c man end
@end ignore
@c man begin COPYRIGHT
This manual contains no Invariant Sections. The Front-Cover Texts are
(a) (see below), and the Back-Cover Texts are (b) (see below).
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@end copying
@c Create a separate index for command line options.
@defcodeindex op
@syncodeindex vr op
@@ -93,82 +61,6 @@ useful on its own.
* Option Index::
* Concept Index::
@detailmenu
--- The Detailed Node Listing ---
Overview
* Character sets::
* Initial processing::
* Tokenization::
* The preprocessing language::
Header Files
* Include Syntax::
* Include Operation::
* Search Path::
* Once-Only Headers::
* Alternatives to Wrapper #ifndef::
* Computed Includes::
* Wrapper Headers::
* System Headers::
Macros
* Object-like Macros::
* Function-like Macros::
* Macro Arguments::
* Stringizing::
* Concatenation::
* Variadic Macros::
* Predefined Macros::
* Undefining and Redefining Macros::
* Directives Within Macro Arguments::
* Macro Pitfalls::
Predefined Macros
* Standard Predefined Macros::
* Common Predefined Macros::
* System-specific Predefined Macros::
* C++ Named Operators::
Macro Pitfalls
* Misnesting::
* Operator Precedence Problems::
* Swallowing the Semicolon::
* Duplication of Side Effects::
* Self-Referential Macros::
* Argument Prescan::
* Newlines in Arguments::
Conditionals
* Conditional Uses::
* Conditional Syntax::
* Deleted Code::
Conditional Syntax
* Ifdef::
* If::
* Defined::
* Else::
* Elif::
Implementation Details
* Implementation-defined behavior::
* Implementation limits::
* Obsolete Features::
Obsolete Features
* Obsolete Features::
@end detailmenu
@end menu
@insertcopying
@@ -176,7 +68,7 @@ Obsolete Features
@node Overview
@chapter Overview
@c man begin DESCRIPTION
The C preprocessor, often known as @dfn{cpp}, is a @dfn{macro processor}
that is used automatically by the C compiler to transform your program
before compilation. It is called a macro processor because it allows
@@ -225,7 +117,6 @@ Mode}.
For clarity, unless noted otherwise, references to @samp{CPP} in this
manual refer to GNU CPP@.
@c man end
@menu
* Character sets::
@@ -4506,8 +4397,8 @@ pertaining to compilation phases after preprocessing are ignored.
Only options specific to preprocessing behavior are documented here.
Refer to the GCC manual for full documentation of other driver options.
@ignore
@c man begin SYNOPSIS
@subsubheading Synopsis
cpp [@option{-D}@var{macro}[=@var{defn}]@dots{}] [@option{-U}@var{macro}]
[@option{-I}@var{dir}@dots{}] [@option{-iquote}@var{dir}@dots{}]
[@option{-M}|@option{-MM}] [@option{-MG}] [@option{-MF} @var{filename}]
@@ -4519,14 +4410,9 @@ Only the most useful options are given above; see below for a more
complete list of preprocessor-specific options.
In addition, @command{cpp} accepts most @command{gcc} driver options, which
are not listed here. Refer to the GCC documentation for details.
@c man end
@c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7),
gcc(1), and the Info entries for @file{cpp} and @file{gcc}.
@c man end
@end ignore
@c man begin OPTIONS
@subsubheading Options
The @command{cpp} command expects two file names as arguments, @var{infile} and
@var{outfile}. The preprocessor reads @var{infile} together with any
other files it specifies with @samp{#include}. All the output generated
@@ -4557,12 +4443,10 @@ options may @emph{not} be grouped: @option{-dM} is very different from
@include cppdiropts.texi
@include cppwarnopts.texi
@end table
@c man end
@node Environment Variables
@chapter Environment Variables
@cindex environment variables
@c man begin ENVIRONMENT
This section describes the environment variables that affect how CPP
operates. You can use them to specify directories or prefixes to use
@@ -4575,7 +4459,6 @@ environment variables, which in turn take precedence over the
configuration of GCC@.
@include cppenv.texi
@c man end
@page
@include fdl.texi

View File

@@ -1,14 +1,3 @@
@c Copyright (C) 1999-2022 Free Software Foundation, Inc.
@c This is part of the CPP and GCC manuals.
@c For copying conditions, see the file gcc.texi.
@c ---------------------------------------------------------------------
@c Options affecting include directory search in the preprocessor
@c ---------------------------------------------------------------------
@c If this file is included with the flag ``cppmanual'' set, it is
@c formatted for inclusion in the CPP manual; otherwise the main GCC manual.
@item -I @var{dir}
@itemx -iquote @var{dir}
@itemx -isystem @var{dir}

View File

@@ -1,14 +1,3 @@
@c Copyright (C) 1999-2022 Free Software Foundation, Inc.
@c This is part of the CPP and GCC manuals.
@c For copying conditions, see the file gcc.texi.
@c ---------------------------------------------------------------------
@c Environment variables affecting the preprocessor
@c ---------------------------------------------------------------------
@c If this file is included with the flag ``cppmanual'' set, it is
@c formatted for inclusion in the CPP manual; otherwise the main GCC manual.
@vtable @env
@item CPATH
@itemx C_INCLUDE_PATH
@@ -38,11 +27,9 @@ beginning or end of a path. For instance, if the value of
@env{CPATH} is @code{:/special/include}, that has the same
effect as @samp{@w{-I. -I/special/include}}.
@c man end
@ifset cppmanual
See also @ref{Search Path}.
@end ifset
@c man begin ENVIRONMENT
@item DEPENDENCIES_OUTPUT
@cindex dependencies for make as output

View File

@@ -18,7 +18,7 @@
@ifinfo
This file documents the internals of the GNU C Preprocessor.
Copyright (C) 2000-2022 Free Software Foundation, Inc.
Copyright (C) 2000-2021 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@@ -46,21 +46,7 @@ into another language, under the above conditions for modified versions.
@author Neil Booth
@page
@vskip 0pt plus 1filll
@c man begin COPYRIGHT
Copyright @copyright{} 2000-2022 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided also that
the entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions.
@c man end
@end titlepage
@contents
@page

View File

@@ -1,14 +1,3 @@
@c Copyright (C) 1999-2022 Free Software Foundation, Inc.
@c This is part of the CPP and GCC manuals.
@c For copying conditions, see the file gcc.texi.
@c ---------------------------------------------------------------------
@c Options affecting the preprocessor
@c ---------------------------------------------------------------------
@c If this file is included with the flag ``cppmanual'' set, it is
@c formatted for inclusion in the CPP manual; otherwise the main GCC manual.
@item -D @var{name}
@opindex D
Predefine @var{name} as a macro, with definition @code{1}.

View File

@@ -1,14 +1,3 @@
@c Copyright (C) 1999-2022 Free Software Foundation, Inc.
@c This is part of the CPP and GCC manuals.
@c For copying conditions, see the file gcc.texi.
@c ---------------------------------------------------------------------
@c Options affecting preprocessor warnings
@c ---------------------------------------------------------------------
@c If this file is included with the flag ``cppmanual'' set, it is
@c formatted for inclusion in the CPP manual; otherwise the main GCC manual.
@item -Wcomment
@itemx -Wcomments
@opindex Wcomment

View File

@@ -1,8 +1,3 @@
c Copyright (C) 1988-2022 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@node C Extensions
@chapter Extensions to the C Language Family
@cindex extensions, C language

View File

@@ -122,10 +122,8 @@ Printed copies are available for $45 each.
This manual documents how to use the GNU compilers,
as well as their features and incompatibilities, and how to report
bugs. It corresponds to the compilers
@ifset VERSION_PACKAGE
@value{VERSION_PACKAGE}
@end ifset
version @value{version-GCC}.
$$VERSION_PACKAGE$$
version $$version-GCC$$.
The internals of the GNU compilers, including how to port them to new
targets and some information about how to write front ends for new
languages, are documented in a separate manual. @xref{Top,,

View File

@@ -77,10 +77,8 @@ This file documents the internals of the GNU compilers.
This manual documents the internals of the GNU compilers, including
how to port them to new targets and some information about how to
write front ends for new languages. It corresponds to the compilers
@ifset VERSION_PACKAGE
@value{VERSION_PACKAGE}
@end ifset
version @value{version-GCC}. The use of the GNU compilers is documented in a
$$VERSION_PACKAGE$$
version $$version-GCC$$. The use of the GNU compilers is documented in a
separate manual. @xref{Top,, Introduction, gcc, Using the GNU
Compiler Collection (GCC)}.

View File

@@ -1,73 +1,29 @@
@c Copyright (C) 2017-2022 Free Software Foundation, Inc.
@c Copyright (C) 2017-2021 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@ignore
@c man begin COPYRIGHT
Copyright @copyright{} 2017-2022 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Free Software'', the Front-Cover texts being (a) (see below), and with
the Back-Cover Texts being (b) (see below). A copy of the license is
included in the gfdl(7) man page.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@c Set file name and title for the man page.
@setfilename gcov-dump
@settitle offline gcda and gcno profile dump tool
@end ignore
@node Gcov-dump
@chapter @command{gcov-dump}---an Offline Gcda and Gcno Profile Dump Tool
@menu
* Gcov-dump Intro:: Introduction to gcov-dump.
* Invoking Gcov-dump:: How to use gcov-dump.
@end menu
@node Gcov-dump Intro
@section Introduction to @command{gcov-dump}
@c man begin DESCRIPTION
@subsubheading Description
@command{gcov-dump} is a tool you can use in conjunction with GCC to
dump content of gcda and gcno profile files offline.
@c man end
@subsubheading Synopsis
@node Invoking Gcov-dump
@section Invoking @command{gcov-dump}
@smallexample
Usage: gcov-dump @r{[}@var{OPTION}@r{]} ... @var{gcovfiles}
@end smallexample
@command{gcov-dump} accepts the following options:
@ignore
@c man begin SYNOPSIS
gcov-dump [@option{-v}|@option{--version}]
gcov-dump
[@option{-v}|@option{--version}]
[@option{-h}|@option{--help}]
[@option{-l}|@option{--long}]
[@option{-p}|@option{--positions}]
[@option{-r}|@option{--raw}]
[@option{-s}|@option{--stable}]
@var{gcovfiles}
@c man end
@end ignore
[@var{gcovfiles}]
@subsubheading Options
@c man begin OPTIONS
@table @gcctabopt
@item -h
@itemx --help
@@ -95,5 +51,3 @@ Print content in stable format usable for comparison.
Display the @command{gcov-dump} version number (on the standard output),
and exit without doing any further processing.
@end table
@c man end

View File

@@ -1,34 +1,7 @@
@c Copyright (C) 2014-2022 Free Software Foundation, Inc.
@c Copyright (C) 2014-2021 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@ignore
@c man begin COPYRIGHT
Copyright @copyright{} 2014-2022 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Free Software'', the Front-Cover texts being (a) (see below), and with
the Back-Cover Texts being (b) (see below). A copy of the license is
included in the gfdl(7) man page.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@c Set file name and title for the man page.
@setfilename gcov-tool
@settitle offline gcda profile processing tool
@end ignore
@node Gcov-tool
@chapter @command{gcov-tool}---an Offline Gcda Profile Processing Tool
@@ -42,7 +15,8 @@ manipulate or process gcda profile files offline.
@node Gcov-tool Intro
@section Introduction to @command{gcov-tool}
@c man begin DESCRIPTION
@subsubheading Description
@command{gcov-tool} is an offline tool to process gcc's gcda profile files.
@@ -107,8 +81,6 @@ are runtime dependent, like heap addresses. It's normal to see some difference
in these kind of counters.
@end itemize
@c man end
@node Invoking Gcov-tool
@section Invoking @command{gcov-tool}
@@ -118,8 +90,8 @@ gcov-tool @r{[}@var{global-options}@r{]} SUB_COMMAND @r{[}@var{sub_command-optio
@command{gcov-tool} accepts the following options:
@ignore
@c man begin SYNOPSIS
@subsubheading Synopsis
gcov-tool [@option{-v}|@option{--version}] [@option{-h}|@option{--help}]
gcov-tool merge [merge-options] @var{directory1} @var{directory2}
@@ -145,14 +117,8 @@ gcov-tool overlap [overlap-options] @var{directory1} @var{directory2}
[@option{-t}|@option{--hot_threshold}] @var{float}
[@option{-v}|@option{--verbose}]
@c man end
@c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7), gcc(1), gcov(1) and the Info entry for
@file{gcc}.
@c man end
@end ignore
@subsubheading Options
@c man begin OPTIONS
@table @gcctabopt
@item -h
@itemx --help
@@ -263,5 +229,3 @@ Set the verbose mode.
@end table
@end table
@c man end

View File

@@ -1,34 +1,7 @@
@c Copyright (C) 1996-2022 Free Software Foundation, Inc.
@c Copyright (C) 1996-2021 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@ignore
@c man begin COPYRIGHT
Copyright @copyright{} 1996-2022 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Free Software'', the Front-Cover texts being (a) (see below), and with
the Back-Cover Texts being (b) (see below). A copy of the license is
included in the gfdl(7) man page.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@c Set file name and title for the man page.
@setfilename gcov
@settitle coverage testing tool
@end ignore
@node Gcov
@chapter @command{gcov}---a Test Coverage Program
@@ -47,7 +20,6 @@ test code coverage in your programs.
@node Gcov Intro
@section Introduction to @command{gcov}
@c man begin DESCRIPTION
@command{gcov} is a test coverage program. Use it in concert with GCC
to analyze your programs to help create more efficient, faster running
@@ -107,8 +79,6 @@ timing information you can use along with the information you get from
@command{gcov} works only on code compiled with GCC@. It is not
compatible with any other profiling or test coverage mechanism.
@c man end
@node Invoking Gcov
@section Invoking @command{gcov}
@@ -118,8 +88,9 @@ gcov @r{[}@var{options}@r{]} @var{files}
@command{gcov} accepts the following options:
@ignore
@c man begin SYNOPSIS
@subsubheading Synopsis
gcov [@option{-v}|@option{--version}] [@option{-h}|@option{--help}]
[@option{-a}|@option{--all-blocks}]
[@option{-b}|@option{--branch-probabilities}]
@@ -141,13 +112,9 @@ gcov [@option{-v}|@option{--version}] [@option{-h}|@option{--help}]
[@option{-u}|@option{--unconditional-branches}]
[@option{-x}|@option{--hash-filenames}]
@var{files}
@c man end
@c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7), gcc(1) and the Info entry for @file{gcc}.
@c man end
@end ignore
@c man begin OPTIONS
@subsubheading Options
@table @gcctabopt
@item -a
@@ -906,8 +873,6 @@ set @samp{GCOV_EXIT_AT_ERROR} environment variable.
That can help users to find profile clashing which leads
to a misleading profile.
@c man end
@node Gcov Data Files
@section Brief Description of @command{gcov} Data Files

View File

@@ -19,7 +19,7 @@ of this license document, but changing it is not allowed.
@ifset gfdlhtml
@ifnothtml
@comment node-name, next, previous, up
@node GNU Free Documentation License, Concept Index, Specific, Top
@node GNU Free Documentation License
@end ifnothtml
@html
<h1 align="center">Installing GCC: GNU Free Documentation License</h1>

View File

@@ -1,13 +1,4 @@
@ignore
@c Set file name and title for man page.
@setfilename fsf-funding
@settitle Funding Free Software
@c man begin SEEALSO
gpl(7), gfdl(7).
@c man end
@end ignore
@node Funding
@c man begin DESCRIPTION
@unnumbered Funding Free Software
If you want to have more free software a few years from now, it makes
@@ -49,12 +40,3 @@ major new features or packages contribute the most.
By establishing the idea that supporting further development is ``the
proper thing to do'' when distributing free software for a fee, we can
assure a steady flow of resources into making more free software.
@c man end
@display
@c man begin COPYRIGHT
Copyright @copyright{} 1994 Free Software Foundation, Inc.
Verbatim copying and redistribution of this section is permitted
without royalty; alteration is not permitted.
@c man end
@end display

View File

@@ -1,17 +1,5 @@
@c Copyright (C) 2001-2022 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@c Version number and development mode.
@c version-GCC is @set to the base GCC version number.
@c DEVELOPMENT is @set for an in-development version, @clear for a
@c release version (corresponding to ``experimental''/anything else
@c in gcc/DEV-PHASE).
@include gcc-vers.texi
@c Common macros to support generating man pages:
@macro gcctabopt{body}
@code{\body\}
@end macro
@@ -20,9 +8,6 @@
\body\
@end smallexample
@end macro
@c Makeinfo handles the above macro OK, TeX needs manual line breaks;
@c they get lost at some point in handling the macro. But if @macro is
@c used here rather than @alias, it produces double line breaks.
@iftex
@alias gol = *
@end iftex
@@ -31,43 +16,27 @@
@end macro
@end ifnottex
@c For FSF printing, define FSFPRINT. Also update the ISBN and last
@c printing date for the manual being printed.
@c @set FSFPRINT
@ifset FSFPRINT
@smallbook
@finalout
@c Cause even numbered pages to be printed on the left hand side of
@c the page and odd numbered pages to be printed on the right hand
@c side of the page. Using this, you can print on both sides of a
@c sheet of paper and have the text on the same part of the sheet.
@c The text on right hand pages is pushed towards the right hand
@c margin and the text on left hand pages is pushed toward the left
@c hand margin.
@c (To provide the reverse effect, set bindingoffset to -0.75in.)
@tex
\global\bindingoffset=0.75in
\global\normaloffset =0.75in
@end tex
@end ifset
@c Macro to generate a "For the N.N.N version" subtitle on the title
@c page of TeX documentation. This macro should be used in the
@c titlepage environment after the title and any other subtitles have
@c been placed, and before any authors are placed.
@macro versionsubtitle
@ifclear DEVELOPMENT
@subtitle For @sc{gcc} version @value{version-GCC}
@subtitle For @sc{gcc} version $$version-GCC$$ $$development-GCC$$
@end ifclear
@ifset DEVELOPMENT
@subtitle For @sc{gcc} version @value{version-GCC} (pre-release)
@subtitle For @sc{gcc} version $$version-GCC$$ $$development-GCC$$
@end ifset
@ifset VERSION_PACKAGE
@sp 1
@subtitle @value{VERSION_PACKAGE}
@subtitle $$VERSION_PACKAGE$$
@end ifset
@c Even if there are no authors, the second titlepage line should be
@c forced to the bottom of the page.
@vskip 0pt plus 1filll
@end macro

View File

@@ -92,6 +92,8 @@ Free Documentation License}''.
* gccinstall: (gccinstall). Installing the GNU Compiler Collection.
@end direntry
@top Introduction
@c Part 3 Titlepage and Copyright
@titlepage
@title Installing GCC
@@ -105,7 +107,7 @@ Free Documentation License}''.
@c Part 4 Top node, Master Menu, and/or Table of Contents
@ifinfo
@node Top, , , (dir)
@node Top
@comment node-name, next, Previous, up
@menu
@@ -129,7 +131,7 @@ Free Documentation License}''.
@c ***Installing GCC**********************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Installing GCC, Binaries, , Top
@node Installing GCC
@end ifnothtml
@ifset indexhtml
@ifnothtml
@@ -149,12 +151,7 @@ with their own installation instructions. This document supersedes all
package-specific installation instructions.
@emph{Before} starting the build/install procedure please check the
@ifnothtml
@ref{Specific, host/target specific installation notes}.
@end ifnothtml
@ifhtml
@uref{specific.html,,host/target specific installation notes}.
@end ifhtml
We recommend you browse the entire generic installation instructions before
you proceed.
@@ -212,7 +209,7 @@ more binaries exist that use them.
@c ***Prerequisites**************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Prerequisites, Downloading the source, , Installing GCC
@node Prerequisites
@end ifnothtml
@ifset prerequisiteshtml
@ifnothtml
@@ -553,7 +550,7 @@ own sources.
@c ***Downloading the source**************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Downloading the source, Configuration, Prerequisites, Installing GCC
@node Downloading the source
@end ifnothtml
@ifset downloadhtml
@ifnothtml
@@ -605,14 +602,14 @@ respectively (or use symbolic links with the same name).
@c ***Configuration***********************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Configuration, Building, Downloading the source, Installing GCC
@node Configuration
@end ifnothtml
@ifset configurehtml
@ifnothtml
@chapter Installing GCC: Configuration
@chapter Configuration
@end ifnothtml
@cindex Configuration
@cindex Installing GCC: Configuration
@cindex Configuration
Like most GNU software, GCC must be configured before it can be built.
This document describes the recommended configuration procedure
@@ -660,12 +657,7 @@ Note that the bootstrap compiler and the resulting GCC must be link
compatible, else the bootstrap will fail with linker errors about
incompatible object file formats. Several multilibed targets are
affected by this requirement, see
@ifnothtml
@ref{Specific, host/target specific installation notes}.
@end ifnothtml
@ifhtml
@uref{specific.html,,host/target specific installation notes}.
@end ifhtml
Specific, host/target specific installation notes.
@end ignore
To configure GCC:
@@ -865,13 +857,7 @@ Specify additional command line driver SPECS.
This can be useful if you need to turn on a non-standard feature by
default without modifying the compiler's source code, for instance
@option{--with-specs=%@{!fcommon:%@{!fno-common:-fno-common@}@}}.
@ifnothtml
@xref{Spec Files,, Specifying subprocesses and the switches to pass to them,
gcc, Using the GNU Compiler Collection (GCC)},
@end ifnothtml
@ifhtml
See ``Spec Files'' in the main manual
@end ifhtml
@end table
@@ -1209,13 +1195,7 @@ Makefile fragments might look like for this version of GCC. The macros
expected to be defined in these fragments are not stable across GCC
releases, so make sure they define the @code{MULTILIB}-related macros
expected by the version of GCC you are building.
@ifnothtml
@xref{Target Fragment,, Target Makefile Fragments, gccint, GNU Compiler
Collection (GCC) Internals}.
@end ifnothtml
@ifhtml
See ``Target Makefile Fragments'' in the internals manual.
@end ifhtml
The table below gives the combination of ISAs, architectures, FPUs and
floating-point ABIs for which multilibs are built for each predefined
@@ -1830,13 +1810,7 @@ filename.
enabled may bloat the TOC, eventually leading to @code{TOC overflow} errors,
requiring the use of either the @option{-Wl,-bbigtoc} linker flag (seen to
break with the @code{GDB} debugger) or some of the TOC-related compiler flags,
@ifnothtml
@xref{RS/6000 and PowerPC Options,, RS/6000 and PowerPC Options, gcc,
Using the GNU Compiler Collection (GCC)}.
@end ifnothtml
@ifhtml
see ``RS/6000 and PowerPC Options'' in the main manual.
@end ifhtml
@option{--with-aix-soname} is currently supported by @samp{libgcc_s} only, so
this option is still experimental and not for normal use yet.
@@ -1943,26 +1917,14 @@ Turn on @option{-fPIE} and @option{-pie} by default.
@item --enable-secureplt
This option enables @option{-msecure-plt} by default for powerpc-linux.
@ifnothtml
@xref{RS/6000 and PowerPC Options,, RS/6000 and PowerPC Options, gcc,
Using the GNU Compiler Collection (GCC)},
@end ifnothtml
@ifhtml
See ``RS/6000 and PowerPC Options'' in the main manual
@end ifhtml
@item --enable-default-ssp
Turn on @option{-fstack-protector-strong} by default.
@item --enable-cld
This option enables @option{-mcld} by default for 32-bit x86 targets.
@ifnothtml
@xref{i386 and x86-64 Options,, i386 and x86-64 Options, gcc,
Using the GNU Compiler Collection (GCC)},
@end ifnothtml
@ifhtml
See ``i386 and x86-64 Options'' in the main manual
@end ifhtml
@item --enable-large-address-aware
The @option{--enable-large-address-aware} option arranges for MinGW
@@ -2684,13 +2646,13 @@ to be available for each multilib variant, unless configured with
@c ***Building****************************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Building, Testing, Configuration, Installing GCC
@node Building
@end ifnothtml
@ifset buildhtml
@ifnothtml
@chapter Building
@end ifnothtml
@cindex Installing GCC: Building
@cindex Building
Now that GCC is configured, you are ready to build the compiler and
runtime libraries.
@@ -3080,14 +3042,14 @@ the code quality may be much worse.
@c ***Testing*****************************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Testing, Final install, Building, Installing GCC
@node Testing
@end ifnothtml
@ifset testhtml
@ifnothtml
@chapter Installing GCC: Testing
@chapter Testing
@end ifnothtml
@cindex Testing
@cindex Installing GCC: Testing
@cindex Testing
@cindex Testsuite
Before you install GCC, we encourage you to run the testsuites and to
@@ -3312,11 +3274,11 @@ messages may be automatically processed.
@c ***Final install***********************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Final install, , Testing, Installing GCC
@node Final install
@end ifnothtml
@ifset finalinstallhtml
@ifnothtml
@chapter Installing GCC: Final installation
@chapter Final installation
@end ifnothtml
Now that GCC has been built (and optionally tested), you can install it with
@@ -3471,14 +3433,14 @@ If you would like to generate online HTML documentation, do @samp{cd
@c ***Binaries****************************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Binaries, Specific, Installing GCC, Top
@node Binaries
@end ifnothtml
@ifset binarieshtml
@ifnothtml
@chapter Installing GCC: Binaries
@chapter Binaries
@end ifnothtml
@cindex Binaries
@cindex Installing GCC: Binaries
@cindex Binaries
We are often asked about pre-compiled versions of GCC@. While we cannot
provide these for all platforms, below you'll find links to binaries for
@@ -3555,7 +3517,7 @@ links to GNU Fortran binaries for several platforms.
@c ***Specific****************************************************************
@ifnothtml
@comment node-name, next, previous, up
@node Specific, GNU Free Documentation License, Binaries, Top
@node Specific
@end ifnothtml
@ifset specifichtml
@ifnothtml
@@ -5255,7 +5217,7 @@ automatically.
@c Part 6 The End of the Document
@ifinfo
@comment node-name, next, previous, up
@node Concept Index, , GNU Free Documentation License, Top
@node Concept Index
@end ifinfo
@ifinfo

View File

@@ -1,37 +1,11 @@
@c Copyright (C) 1988-2022 Free Software Foundation, Inc.
@c Copyright (C) 1988-2021 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@ignore
@c man begin INCLUDE
@include gcc-vers.texi
@c man end
@c man begin COPYRIGHT
Copyright @copyright{} 1988-2022 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Free Software'', the Front-Cover texts being (a) (see below), and with
the Back-Cover Texts being (b) (see below). A copy of the license is
included in the gfdl(7) man page.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@c Set file name and title for the man page.
@setfilename gcc
@settitle GNU project C and C++ compiler
@c man begin SYNOPSIS
@subsubheading Synopsis
gcc [@option{-c}|@option{-S}|@option{-E}] [@option{-std=}@var{standard}]
[@option{-g}] [@option{-pg}] [@option{-O}@var{level}]
[@option{-W}@var{warn}@dots{}] [@option{-Wpedantic}]
@@ -42,23 +16,12 @@ gcc [@option{-c}|@option{-S}|@option{-E}] [@option{-std=}@var{standard}]
Only the most useful options are listed here; see below for the
remainder. @command{g++} accepts mostly the same options as @command{gcc}.
@c man end
@c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7),
cpp(1), gcov(1), as(1), ld(1), gdb(1)
and the Info entries for @file{gcc}, @file{cpp}, @file{as},
@file{ld}, @file{binutils} and @file{gdb}.
@c man end
@c man begin BUGS
For instructions on reporting bugs, see
@w{@value{BUGURL}}.
@c man end
@c man begin AUTHOR
$$BUGURL$$.
See the Info entry for @command{gcc}, or
@w{@uref{https://gcc.gnu.org/onlinedocs/gcc/Contributors.html}},
for contributors to GCC@.
@c man end
@end ignore
@node Invoking GCC
@chapter GCC Command Options
@@ -66,7 +29,8 @@ for contributors to GCC@.
@cindex command options
@cindex options, GCC command
@c man begin DESCRIPTION
@subsubheading Description
When you invoke GCC, it normally does preprocessing, compilation,
assembly and linking. The ``overall options'' allow you to stop this
process at an intermediate stage. For example, the @option{-c} option
@@ -136,8 +100,6 @@ designated by @var{byte-size} in the following text. Refer to the NIST,
IEC, and other relevant national and international standards for the full
listing and explanation of the binary and decimal byte size prefixes.
@c man end
@xref{Option Index}, for an index to GCC's options.
@menu
@@ -175,7 +137,7 @@ listing and explanation of the binary and decimal byte size prefixes.
* C++ Modules:: Experimental C++20 module system.
@end menu
@c man begin OPTIONS
@subsubheading Options
@node Option Summary
@section Option Summary
@@ -21161,8 +21123,6 @@ This option is deprecated.
@opindex mapcs
This is a synonym for @option{-mapcs-frame} and is deprecated.
@ignore
@c not currently implemented
@item -mapcs-stack-check
@opindex mapcs-stack-check
Generate code to check the amount of stack space available upon entry to
@@ -21173,12 +21133,10 @@ called, depending upon the amount of stack space required. The runtime
system is required to provide these functions. The default is
@option{-mno-apcs-stack-check}, since this produces smaller code.
@c not currently implemented
@item -mapcs-reentrant
@opindex mapcs-reentrant
Generate reentrant, position-independent code. The default is
@option{-mno-apcs-reentrant}.
@end ignore
@item -mthumb-interwork
@opindex mthumb-interwork
@@ -34087,8 +34045,6 @@ instructions. The default value is 0.
These are listed under @xref{S/390 and zSeries Options}.
@c man end
@node Spec Files
@section Specifying Subprocesses and the Switches to Pass to Them
@cindex Spec Files
@@ -34790,7 +34746,8 @@ proper position among the other output files.
@section Environment Variables Affecting GCC
@cindex environment variables
@c man begin ENVIRONMENT
@subsubheading Environment
This section describes several environment variables that affect how GCC
operates. Some of them work by specifying directories or prefixes to use
when searching for various kinds of files. Some are used to specify other
@@ -34959,8 +34916,6 @@ preprocessor.
@include cppenv.texi
@c man end
@node Precompiled Headers
@section Using Precompiled Headers
@cindex precompiled headers

View File

@@ -1,63 +1,20 @@
@c Copyright (C) 2018-2022 Free Software Foundation, Inc.
@c Copyright (C) 2018-2021 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@ignore
@c man begin COPYRIGHT
Copyright @copyright{} 2017-2022 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Free Software'', the Front-Cover texts being (a) (see below), and with
the Back-Cover Texts being (b) (see below). A copy of the license is
included in the gfdl(7) man page.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@c Set file name and title for the man page.
@setfilename lto-dump
@settitle Tool for dumping LTO object files.
@end ignore
@node lto-dump
@chapter @command{lto-dump}---Tool for dumping LTO object files.
@menu
* lto-dump Intro:: Introduction to lto-dump.
* Invoking lto-dump:: How to use lto-dump.
@end menu
@node lto-dump Intro
@section Introduction to @command{lto-dump}
@c man begin DESCRIPTION
@subsubheading Description
@command{lto-dump} is a tool you can use in conjunction with GCC to
dump link time optimization object files.
@c man end
@subsubheading Synopsis
@node Invoking lto-dump
@section Invoking @command{lto-dump}
@smallexample
Usage: lto-dump @r{[}@var{OPTION}@r{]} ... @var{objfiles}
@end smallexample
@command{lto-dump} accepts the following options:
@ignore
@c man begin SYNOPSIS
lto-dump [@option{-list}]
lto-dump
[@option{-list}]
[@option{-demangle}]
[@option{-defined-only}]
[@option{-print-value}]
@@ -73,10 +30,9 @@ lto-dump [@option{-list}]
[@option{-dump-level=}]
[@option{-dump-body=}]
[@option{-help}] @var{lto-dump}
@c man end
@end ignore
@c man begin OPTIONS
@subsubheading Options
@table @gcctabopt
@item -list
Dumps list of details of functions and variables.
@@ -127,5 +83,3 @@ Dump the specific gimple body.
Display the dump tool help.
@end table
@c man end

File diff suppressed because it is too large Load Diff

View File

@@ -124,7 +124,6 @@ not accurately reflect the status of the most recent GNU Fortran compiler.
* LibGFortran:: The LibGFortran Runtime Library.
* GNU Free Documentation License::
How you can copy and share this manual.
* Index:: Index of this documentation.
@end menu
@end ifnottex
@@ -960,8 +959,6 @@ and @code{VERS_1.2} as well as in @code{VERS_2.0}.
@c Index
@c ---------------------------------------------------------------------
@node Index
@unnumbered Index
@printindex cp

View File

@@ -1,16 +1,3 @@
@ignore
Copyright (C) 2005-2022 Free Software Foundation, Inc.
This is part of the GNU Fortran manual.
For copying conditions, see the file gfortran.texi.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``Funding Free Software'', the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below). A copy of the license is included in the gfdl(7) man page.
Some basic guidelines for editing this document:
(1) The intrinsic procedures are to be listed in alphabetical order.
@@ -19,9 +6,6 @@ Some basic guidelines for editing this document:
table at the end of the node (See ABS entry).
(4) Try to maintain the same style for each entry.
@end ignore
@tex
\gdef\acosd{\mathop{\rm acosd}\nolimits}
\gdef\asind{\mathop{\rm asind}\nolimits}

View File

@@ -1,32 +1,11 @@
@c Copyright (C) 2004-2022 Free Software Foundation, Inc.
@c Copyright (C) 2004-2021 Free Software Foundation, Inc.
@c This is part of the GNU Fortran manual.
@c For copying conditions, see the file gfortran.texi.
@ignore
@c man begin COPYRIGHT
Copyright @copyright{} 2004-2022 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``Funding Free Software'', the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below). A copy of the license is included in the gfdl(7) man page.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@c Set file name and title for the man page.
@setfilename gfortran
@settitle GNU Fortran compiler.
@c man begin SYNOPSIS
@subsubheading Synopsis
gfortran [@option{-c}|@option{-S}|@option{-E}]
[@option{-g}] [@option{-pg}] [@option{-O}@var{level}]
[@option{-W}@var{warn}@dots{}] [@option{-pedantic}]
@@ -38,22 +17,12 @@ gfortran [@option{-c}|@option{-S}|@option{-E}]
Only the most useful options are listed here; see below for the
remainder.
@c man end
@c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7),
cpp(1), gcov(1), gcc(1), as(1), ld(1), gdb(1), dbx(1)
and the Info entries for @file{gcc}, @file{cpp}, @file{gfortran}, @file{as},
@file{ld}, @file{binutils} and @file{gdb}.
@c man end
@c man begin BUGS
For instructions on reporting bugs, see
@w{@value{BUGURL}}.
@c man end
@c man begin AUTHOR
$$BUGURL$$.
See the Info entry for @command{gfortran} for contributors to GCC and
GNU Fortran.
@c man end
@end ignore
@node Invoking GNU Fortran
@chapter GNU Fortran Command Options
@@ -61,7 +30,7 @@ GNU Fortran.
@cindex command options
@cindex options, @command{gfortran} command
@c man begin DESCRIPTION
@subsubheading Description
The @command{gfortran} command supports all the options supported by the
@command{gcc} command. Only options specific to GNU Fortran are documented
@@ -85,7 +54,6 @@ In some cases, options have positive and negative forms;
the negative form of @option{-ffoo} would be @option{-fno-foo}.
This manual documents only one of these two forms, whichever
one is not the default.
@c man end
@menu
* Option Summary:: Brief list of all @command{gfortran} options,
@@ -108,7 +76,7 @@ one is not the default.
@node Option Summary
@section Option summary
@c man begin OPTIONS
@subsubheading Options
Here is a summary of all the options specific to GNU Fortran, grouped
by type. Explanations are in the following sections.
@@ -2058,8 +2026,6 @@ gcc,Using the GNU Compiler Collection (GCC)}, for information on more options
offered by the GBE
shared by @command{gfortran}, @command{gcc}, and other GNU compilers.
@c man end
@node Interoperability Options
@section Options for interoperability with other languages
@@ -2118,7 +2084,7 @@ then uses @code{#include "foo.h"}.
@section Environment variables affecting @command{gfortran}
@cindex environment variable
@c man begin ENVIRONMENT
@subsubheading Environment
The @command{gfortran} compiler currently does not make use of any environment
variables to control its operation above and beyond those
@@ -2130,4 +2096,3 @@ variables.
@xref{Runtime}, for environment variables that affect the
run-time behavior of programs compiled with GNU Fortran.
@c man end

View File

@@ -232,6 +232,7 @@ emit_documentation (const char *in_fname)
deftype, hook_array[j].docname,
hook_array[j].type, namex);
}
printf ("\n@c hook-start:%s", upstrdup (hook_array[i].name));
if (hook_array[i].doc[0])
{
printf ("\n");
@@ -245,6 +246,7 @@ emit_documentation (const char *in_fname)
}
printf ("\n@end %s", deftype);
}
printf ("\n@c hook-end");
}
if (++i >= (int) (ARRAY_SIZE (hook_array)) || !hook_array[i].doc)
break;

View File

@@ -11,41 +11,6 @@
@include gcc-common.texi
@c Copyright years for this manual.
@set copyrights-go 2010-2022
@copying
@c man begin COPYRIGHT
Copyright @copyright{} @value{copyrights-go} Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, the Front-Cover Texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below).
A copy of the license is included in the
@c man end
section entitled ``GNU Free Documentation License''.
@ignore
@c man begin COPYRIGHT
man page gfdl(7).
@c man end
@end ignore
@c man begin COPYRIGHT
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end
@end copying
@ifinfo
@format
@dircategory Software development
@@ -90,7 +55,6 @@ package documentation, see @uref{https://golang.org/}.
* Import and Export:: Importing and exporting package data.
* Compiler Directives:: Comments to control compilation.
* C Interoperability:: Calling C from Go and vice-versa.
* Index:: Index.
@end menu
@@ -102,25 +66,18 @@ package documentation, see @uref{https://golang.org/}.
@node Invoking gccgo
@chapter Invoking gccgo
@c man title gccgo A GCC-based compiler for the Go language
@subsubheading Synopsis
@ignore
@c man begin SYNOPSIS gccgo
gccgo [@option{-c}|@option{-S}]
[@option{-g}] [@option{-pg}] [@option{-O}@var{level}]
[@option{-I}@var{dir}@dots{}] [@option{-L}@var{dir}@dots{}]
[@option{-o} @var{outfile}] @var{infile}@dots{}
@subsubheading Description
Only the most useful options are listed here; see below for the
remainder.
@c man end
@c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7), gcc(1)
and the Info entries for @file{gccgo} and @file{gcc}.
@c man end
@end ignore
@c man begin DESCRIPTION gccgo
The @command{gccgo} command is a frontend to @command{gcc} and
supports many of the same options. @xref{Option Summary, , Option
@@ -147,9 +104,7 @@ Go programs must generally be compiled with debugging information, and
@option{-g1} is the default as described below. Stripping a Go
program will generally cause it to misbehave or fail.
@c man end
@c man begin OPTIONS gccgo
@subsubheading Options
@table @gcctabopt
@item -I@var{dir}
@@ -284,8 +239,6 @@ debugging information, in which case certain standard library
functions, such as @code{runtime.Callers}, will not operate correctly.
@end table
@c man end
@node Import and Export
@chapter Import and Export
@@ -513,9 +466,6 @@ call the function from C you must set the name using the @command{gcc}
extern int go_function(int) __asm__ ("mypkgpath.Function");
@end smallexample
@node Index
@unnumbered Index
@printindex cp
@bye

View File

@@ -44,21 +44,7 @@ DEFHOOKPODX (close_paren, const char *, ")")
/* Assembler instructions for creating various kinds of integer object. */
DEFHOOKPOD
(byte_op,
"@deftypevrx {Target Hook} {const char *} TARGET_ASM_ALIGNED_HI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_ALIGNED_PSI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_ALIGNED_SI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_ALIGNED_PDI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_ALIGNED_DI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_ALIGNED_PTI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_ALIGNED_TI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_UNALIGNED_HI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_UNALIGNED_PSI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_UNALIGNED_SI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_UNALIGNED_PDI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_UNALIGNED_DI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_UNALIGNED_PTI_OP\n\
@deftypevrx {Target Hook} {const char *} TARGET_ASM_UNALIGNED_TI_OP\n\
These hooks specify assembly directives for creating certain kinds\n\
"These hooks specify assembly directives for creating certain kinds\n\
of integer object. The @code{TARGET_ASM_BYTE_OP} directive creates a\n\
byte-sized object, the @code{TARGET_ASM_ALIGNED_HI_OP} one creates an\n\
aligned two-byte object, and so on. Any of the hooks may be\n\

View File

@@ -9,5 +9,5 @@
because the location of the macro definition is incorrectly set. This is a
separate issue, will resolve it in a later patch. */
#define X /* { dg-warning "-:-Wunused-macros" } */
#define X /* { dg-warning "-:-Wunused-macros" {} { xfail c++ } } */
#pragma GCC diagnostic ignored "-Wunused-macros"

View File

@@ -54,7 +54,7 @@ Boston, MA 02110-1301 USA
@subtitle The GNU OpenMP and OpenACC Implementation
@page
@vskip 0pt plus 1filll
@comment For the @value{version-GCC} Version*
@comment For the $$version-GCC$$ Version*
@sp 1
Published by the Free Software Foundation @*
51 Franklin Street, Fifth Floor@*

View File

@@ -83,7 +83,6 @@ License; for more information, see @ref{Library Copying}.
* Licenses:: The various licenses under which libiberty sources are
distributed.
* Index:: Index of functions and categories.
@end menu
@node Using
@@ -304,8 +303,6 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
@node Index
@unnumbered Index
@printindex cp

View File

@@ -35,7 +35,7 @@ This manual documents the GNU Transactional Memory Library.
@title The GNU Transactional Memory Library
@page
@vskip 0pt plus 1filll
@comment For the @value{version-GCC} Version*
@comment For the $$version-GCC$$ Version*
@sp 1
@insertcopying
@end titlepage

View File

@@ -44,7 +44,7 @@ Boston, MA 02110-1301 USA
@title The GCC Quad-Precision Math Library
@page
@vskip 0pt plus 1filll
@comment For the @value{version-GCC} Version*
@comment For the $$version-GCC$$ Version*
@sp 1
Published by the Free Software Foundation @*
51 Franklin Street, Fifth Floor@*
@@ -103,8 +103,7 @@ The following macros are defined, which give the numeric limits of the
@table @asis
@item @code{FLT128_MAX}: largest finite number
@item @code{FLT128_MIN}: smallest positive number with full precision
@item @code{FLT128_EPSILON}: difference between 1 and the next larger
representable number
@item @code{FLT128_EPSILON}: difference between 1 and the next larger representable number
@item @code{FLT128_DENORM_MIN}: smallest positive denormalized number
@item @code{FLT128_MANT_DIG}: number of digits in the mantissa (bit precision)
@item @code{FLT128_MIN_EXP}: maximal negative exponent
@@ -160,7 +159,6 @@ The following mathematical functions are available:
@item @code{exp2q}: base 2 exponential function
@item @code{expq}: exponential function
@item @code{expm1q}: exponential minus 1 function
@need 800
@item @code{fabsq}: absolute value function
@item @code{fdimq}: positive difference function
@item @code{finiteq}: check finiteness of value
@@ -187,7 +185,6 @@ The following mathematical functions are available:
@item @code{log10q}: base 10 logarithm function
@item @code{log1pq}: compute natural logarithm of the value plus one
@item @code{log2q}: base 2 logarithm function
@need 800
@item @code{lrintq}: round to nearest integer value
@item @code{lroundq}: round to nearest integer value away from zero
@item @code{modfq}: decompose the floating-point number
@@ -208,15 +205,14 @@ The following mathematical functions are available:
@item @code{sqrtq}: square root function
@item @code{tanq}: tangent function
@item @code{tanhq}: hyperbolic tangent function
@need 800
@item @code{tgammaq}: true gamma function
@item @code{truncq}: round to integer, towards zero
@item @code{y0q}: Bessel function of the second kind, first order
@item @code{y1q}: Bessel function of the second kind, second order
@item @code{ynq}: Bessel function of the second kind, @var{n}-th order
@item @code{cabsq} complex absolute value function
@item @code{cabsq}: complex absolute value function
@item @code{cargq}: calculate the argument
@item @code{cimagq} imaginary part of complex number
@item @code{cimagq}: imaginary part of complex number
@item @code{crealq}: real part of complex number
@item @code{cacoshq}: complex arc hyperbolic cosine function
@item @code{cacosq}: complex arc cosine function
@@ -224,12 +220,10 @@ The following mathematical functions are available:
@item @code{casinq}: complex arc sine function
@item @code{catanhq}: complex arc hyperbolic tangent function
@item @code{catanq}: complex arc tangent function
@item @code{ccosq} complex cosine function:
@item @code{ccosq}: complex cosine function
@item @code{ccoshq}: complex hyperbolic cosine function
@item @code{cexpq}: complex exponential function
@need 800
@item @code{cexpiq}: computes the exponential function of ``i'' times a
real value
@item @code{cexpiq}: computes the exponential function of ``i'' times a real value
@item @code{clogq}: complex natural logarithm
@item @code{clog10q}: complex base 10 logarithm
@item @code{conjq}: complex conjugate function
@@ -371,13 +365,13 @@ int main ()
@c ---------------------------------------------------------------------
@c For BUGURL
@include libquadmath-vers.texi
@include gcc-vers.texi
@node Reporting Bugs
@chapter Reporting Bugs
Bugs in the GCC Quad-Precision Math Library implementation should be
reported via @value{BUGURL}.
reported via $$BUGURL$$.
@c ---------------------------------------------------------------------