Bug 20268
Summary: | gcc segfaults on kosher code | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Gregory Leblanc <gleblanc> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-11-03 17:27:42 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Gregory Leblanc
2000-11-03 06:09:52 UTC
Please rerun the above command with -save-temps -v additional options and attach here the resulting .i file. It looks like the code does not play nice with the included headers (for whatever reason, without .i file I cannot tell much), but no matter what even on bad input gcc should never segfault nor generate ICE, so I'd like the testcase so that I can fix it. Created attachment 5015 [details]
Output from -save-temps of gcc
That file (ibex_block.c) has apparently unresolved CVS or RCS conflict in it,
<<<<<<< ibex_block.c
#include <db1/db.h>
=======
>>>>>>> 1.5
That's not valid C obviously, if you fix it, it will work.
I'll work on fixing the ICE though.
Richard Kenner fixed this on Sep, 16th in CVS gcc, I've just verified the backport of this patch into RH gcc fixes it, it will appear in the next gcc rpm package (gcc-2.96-63), which should make it into rawhide first and soon after into gcc errata. |