public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: fortran/4279: "g77 -h" gives bogus output
@ 2001-11-19  3:26 toon
  0 siblings, 0 replies; 4+ messages in thread
From: toon @ 2001-11-19  3:26 UTC (permalink / raw)
  To: toon; +Cc: gcc-prs

The following reply was made to PR fortran/4279; it has been noted by GNATS.

From: toon@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  pc@flinnel.demon.co.uk, toon@gcc.gnu.org
Cc:  
Subject: Re: fortran/4279: "g77 -h" gives bogus output
Date: 22 Nov 2001 21:58:59 -0000

 Synopsis: "g77 -h" gives bogus output
 
 State-Changed-From-To: analyzed->closed
 State-Changed-By: toon
 State-Changed-When: Thu Nov 22 13:58:58 2001
 State-Changed-Why:
     3.1 (experimental) now gives:
     
     g77: argument to `-h' is missing
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4279&database=gcc


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

* Re: fortran/4279: "g77 -h" gives bogus output
@ 2001-11-19  0:56 toon
  0 siblings, 0 replies; 4+ messages in thread
From: toon @ 2001-11-19  0:56 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, pc, toon

Synopsis: "g77 -h" gives bogus output

State-Changed-From-To: analyzed->closed
State-Changed-By: toon
State-Changed-When: Thu Nov 22 13:58:58 2001
State-Changed-Why:
    3.1 (experimental) now gives:
    
    g77: argument to `-h' is missing

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4279&database=gcc


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

* Re: fortran/4279: "g77 -h" gives bogus output
@ 2001-09-29  7:23 toon
  0 siblings, 0 replies; 4+ messages in thread
From: toon @ 2001-09-29  7:23 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, pc, toon

Synopsis: "g77 -h" gives bogus output

Responsible-Changed-From-To: unassigned->toon
Responsible-Changed-By: toon
Responsible-Changed-When: Sat Sep 29 07:23:01 2001
Responsible-Changed-Why:
    My job.
State-Changed-From-To: open->analyzed
State-Changed-By: toon
State-Changed-When: Sat Sep 29 07:23:01 2001
State-Changed-Why:
    Checked it with recent 3.0.1 release

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4279&database=gcc


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

* fortran/4279: "g77 -h" gives bogus output
@ 2001-09-09 15:36 Pete Chown
  0 siblings, 0 replies; 4+ messages in thread
From: Pete Chown @ 2001-09-09 15:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4279
>Category:       fortran
>Synopsis:       "g77 -h" gives bogus output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 09 15:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Chown
>Release:        3.0.1
>Organization:
none
>Environment:
System: Linux flinnel.demon.co.uk 2.4.8 #1 Tue Aug 14 19:43:28 BST 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.0.1/configure --prefix=/usr/local/gcc3
>Description:

Typing "g77" on it's own does this:

% g77
g77: No input files

This is correct behaviour (obviously).  Typing "g77 -h" gives this:

% g77 -h
g77: unrecognized option `-h'
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status

I don't feel this is correct.  After receiving an invalid option, g77
should either stop or ignore the option it didn't know about.  Also
the GNU coding standard says that -h is an alias for --help which does
produce the expected output.

Hardly an important bug but it should be simple to fix when someone
has a bit of time.

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2001-11-22 22:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-19  3:26 fortran/4279: "g77 -h" gives bogus output toon
  -- strict thread matches above, loose matches on Subject: below --
2001-11-19  0:56 toon
2001-09-29  7:23 toon
2001-09-09 15:36 Pete Chown

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).