public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/5176: Segmentation fault with undocumented command line option
@ 2001-12-24 1:18 rodrigc
0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-12-24 1:18 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jeff, nobody, pinskia
Synopsis: Segmentation fault with undocumented command line option
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Mon Dec 24 01:18:35 2001
State-Changed-Why:
Does not occur in gcc 3.0.3.
The version of gcc included with Red Hat 7.0 is pretty
buggy. Get the updates from Red Hat:
http://www.redhat.com/mailing-lists/redhat-watch-list/msg00223.html
In future, report bugs in the Red Hat version of gcc
to Red Hat at: http://bugzilla.redhat.com/bugzilla/
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5176
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c/5176: Segmentation fault with undocumented command line option
@ 2001-12-22 8:16 Andrew Pinski
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Pinski @ 2001-12-22 8:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c/5176; it has been noted by GNATS.
From: Andrew Pinski <pinskia@physics.uc.edu>
To: jeff@enborne.demon.co.uk
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/5176: Segmentation fault with undocumented command line option
Date: Sat, 22 Dec 2001 11:11:45 -0500
One thing this should have been reported to Red-Hat and I think there
is a
new version from Red-Hat and it does not crash on the version of I have
installed:
gcc version 3.1 20011221 (experimental)
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
gcc driver version 3.1 20011221 (experimental) executing gcc version
3.0.4
Thanks,
Andrew Pinski
On Saturday, December 22, 2001, at 09:37 , jeff@enborne.demon.co.uk
wrote:
>
>> Number: 5176
>> Category: c
>> Synopsis: Segmentation fault with undocumented command line
>> option
>> Confidential: no
>> Severity: non-critical
>> Priority: low
>> Responsible: unassigned
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Sat Dec 22 06:46:01 PST 2001
>> Closed-Date:
>> Last-Modified:
>> Originator: Jeff Goodenough
>> Release: gcc version 2.96 20000731 (Red Hat Linux 7.0)
>> Organization:
>> Environment:
> PC Pentium III, LILO dual boot (with Windows 2000).
> Default installation from CDs supplied with "Red Hat Linux 7 Bible" by
> Christopher Negus. IDG Books ISBN 0-7645-4778-X
>> Description:
> Initially used an hp makefile which included the (unknown?) option -Ae
> on the command line. Even with simple "Hello world" source, compiler
> crashes with segmentation fault.
>
> Compiler output (stdout + stderr):
>
> cc -I. -Ae -c hw.c
> cc: Internal error: Segmentation fault (program cpp0)
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make: *** [hw.o] Error 1
>
> Source (hw.c) is:
>
> int main()
> {
> printf ("Hello world!\n");
> }
>
> Command line is:
>
> cc -I. -Ae -c hw.c
>
> (there are no header files, however)
>> How-To-Repeat:
> Compile the program with the command line given.
>> Fix:
> Remove the -Ae option.
>
> Reported because your own documentation says a well-behaved compiler
> should not crash with invalid input.
>> Release-Note:
>> Audit-Trail:
>> Unformatted:
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* c/5176: Segmentation fault with undocumented command line option
@ 2001-12-22 6:46 jeff
0 siblings, 0 replies; 3+ messages in thread
From: jeff @ 2001-12-22 6:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 5176
>Category: c
>Synopsis: Segmentation fault with undocumented command line option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 22 06:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jeff Goodenough
>Release: gcc version 2.96 20000731 (Red Hat Linux 7.0)
>Organization:
>Environment:
PC Pentium III, LILO dual boot (with Windows 2000).
Default installation from CDs supplied with "Red Hat Linux 7 Bible" by Christopher Negus. IDG Books ISBN 0-7645-4778-X
>Description:
Initially used an hp makefile which included the (unknown?) option -Ae on the command line. Even with simple "Hello world" source, compiler crashes with segmentation fault.
Compiler output (stdout + stderr):
cc -I. -Ae -c hw.c
cc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [hw.o] Error 1
Source (hw.c) is:
int main()
{
printf ("Hello world!\n");
}
Command line is:
cc -I. -Ae -c hw.c
(there are no header files, however)
>How-To-Repeat:
Compile the program with the command line given.
>Fix:
Remove the -Ae option.
Reported because your own documentation says a well-behaved compiler should not crash with invalid input.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-24 9:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-24 1:18 c/5176: Segmentation fault with undocumented command line option rodrigc
-- strict thread matches above, loose matches on Subject: below --
2001-12-22 8:16 Andrew Pinski
2001-12-22 6:46 jeff
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).