public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47177] New: bad example of using -dM in manual
@ 2011-01-05 12:17 redi at gcc dot gnu.org
  2011-01-16 17:38 ` [Bug fortran/47177] " burnus at gcc dot gnu.org
  2011-01-16 17:53 ` burnus at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-05 12:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47177

           Summary: bad example of using -dM in manual
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org


http://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-Options.html gives an
example of using -dM:
            touch foo.f90; gfortran -cpp -dM foo.f90

But the CPP documentation for -dM at
http://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-dM-183 points out that
without -E it will be interpreted as a synonym for -fdump-rtl-mach

To print the predefined macros the example should be changed to
            touch foo.f90; gfortran -cpp -E -dM foo.f90


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/47177] bad example of using -dM in manual
  2011-01-05 12:17 [Bug fortran/47177] New: bad example of using -dM in manual redi at gcc dot gnu.org
@ 2011-01-16 17:38 ` burnus at gcc dot gnu.org
  2011-01-16 17:53 ` burnus at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-16 17:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47177

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-16 17:14:51 UTC ---
Author: burnus
Date: Sun Jan 16 17:14:48 2011
New Revision: 168857

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168857
Log:
2011-01-15  Tobias Burnus  <burnus@net-b.de>

        * gfortran.texi: Update Fortran 2003 Status section.

        PR fortran/47177
        * invoke.texi: Add missing "-E" to the -dM example.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.texi
    trunk/gcc/fortran/invoke.texi


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/47177] bad example of using -dM in manual
  2011-01-05 12:17 [Bug fortran/47177] New: bad example of using -dM in manual redi at gcc dot gnu.org
  2011-01-16 17:38 ` [Bug fortran/47177] " burnus at gcc dot gnu.org
@ 2011-01-16 17:53 ` burnus at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-16 17:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47177

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |burnus at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-16 17:16:32 UTC ---
FIXED. Thanks for the report!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-16 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05 12:17 [Bug fortran/47177] New: bad example of using -dM in manual redi at gcc dot gnu.org
2011-01-16 17:38 ` [Bug fortran/47177] " burnus at gcc dot gnu.org
2011-01-16 17:53 ` burnus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).