Bug 48179 - Reference mismatch in documentation chapter 6
Summary: Reference mismatch in documentation chapter 6
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.6.0
: P3 minor
Target Milestone: ---
Assignee: Jonathan Wakely
URL:
Keywords: documentation, patch
Depends on:
Blocks:
 
Reported: 2011-03-18 13:23 UTC by Denis Excoffier
Modified: 2011-03-27 21:08 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2011-03-18 13:37:45


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Excoffier 2011-03-18 13:23:01 UTC
Bug in documentation presentation.

You can also try this under http://gcc.gnu.org/onlinedocs/gcc/

Jump to 6.37 "Specifying Attributes of Variables"
Click Next, you land on 6.38 "Specifying Attributes of Types". Fine.
Click Next, you land on 6.36 "Inquiring on Alignment of Types or Variables".
Strange.
Click Next, you land on 6.39 "An Inline Function Is...".

The table of content seems correct.

Also, on my texinfo gcc.info data base (from GCC 4.6.0 RC 20110314), but
not on onlinedocs, the reference (* note Variable Attributes::)
jumps to 6.37.1 "Blackfin Variable Attributes" instead
of 6.37.
Comment 1 Jonathan Wakely 2011-03-18 13:37:45 UTC
confirmed, the @menu at the start of extend.texi lists the sections in a different order to the order the @sections actually appear:

* Variable Attributes:: Specifying attributes of variables.
* Type Attributes::     Specifying attributes of types.
* Alignment::           Inquiring about the alignment of a type or variable.
* Inline::              Defining inline functions (as fast as macros).
Comment 2 Jonathan Wakely 2011-03-22 22:30:35 UTC
patch posted to http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01453.html
Comment 3 Jonathan Wakely 2011-03-23 19:52:18 UTC
Author: redi
Date: Wed Mar 23 19:52:13 2011
New Revision: 171359

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171359
Log:
2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR other/48179
	PR other/48221
	PR other/48234
	* doc/extend.texi (Alignment): Move section to match order in TOC.
	* doc/invoke.texi (i386 and x86-64 Windows Options): Likewise.
	(Warning Options): Adjust -Wno-cpp summary and remove stray backslash.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/extend.texi
    trunk/gcc/doc/invoke.texi
Comment 4 Jonathan Wakely 2011-03-23 21:12:57 UTC
Author: redi
Date: Wed Mar 23 21:12:51 2011
New Revision: 171363

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171363
Log:
2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR other/48179
	PR other/48234
	* doc/extend.texi (Alignment): Move section to match order in TOC.
	* doc/invoke.texi (i386 and x86-64 Windows Options): Likewise.


Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/doc/extend.texi
    branches/gcc-4_5-branch/gcc/doc/invoke.texi
Comment 5 Jonathan Wakely 2011-03-23 21:45:24 UTC
Author: redi
Date: Wed Mar 23 21:45:18 2011
New Revision: 171365

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171365
Log:
2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR other/48179
	PR other/48234
	* doc/extend.texi (Alignment): Move section to match order in TOC.
	* doc/invoke.texi (i386 and x86-64 Windows Options): Likewise.


Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/doc/extend.texi
    branches/gcc-4_4-branch/gcc/doc/invoke.texi
Comment 6 Jonathan Wakely 2011-03-23 21:47:41 UTC
Fixed on trunk and 4.4 and 4.5 branches. I'll fix for 4.6.1 when the branch reopens.
Comment 7 Jonathan Wakely 2011-03-27 20:08:40 UTC
Author: redi
Date: Sun Mar 27 20:08:35 2011
New Revision: 171581

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171581
Log:
2011-03-27  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR other/48179
	PR other/48221
	PR other/48234
	* doc/extend.texi (Alignment): Move section to match order in TOC.
	* doc/invoke.texi (i386 and x86-64 Windows Options): Likewise.
	(Warning Options): Adjust -Wno-cpp summary and remove stray backslash.


Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/doc/extend.texi
    branches/gcc-4_6-branch/gcc/doc/invoke.texi
Comment 8 Jonathan Wakely 2011-03-27 21:08:38 UTC
fixed