public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11607] New: [3.3.1 regression] Segmentation fault in gen-protos in stage2
@ 2003-07-20 17:15 danglin at gcc dot gnu dot org
2003-07-21 15:35 ` [Bug target/11607] " danglin at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-07-20 17:15 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11607
Summary: [3.3.1 regression] Segmentation fault in gen-protos in
stage2
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot
com
GCC build triplet: hppa2.0w-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11
./xgcc -B./ -B/opt/gnu64/hppa64-hp-hpux11.11/bin/ -isystem /opt/gnu64/hppa64-hp-
hpux11.11/include -isystem /opt/gnu64/hppa64-hp-hpux11.11/sys-include fixtmp.c -
w -U__SIZE_TYPE__ -U__PTRDIFF_TYPE__ -U__WCHAR_TYPE__ -E \
| sed -e 's/ / /g' -e 's/ *(/ (/g' -e 's/ [ ]*/ /g' -e 's/( )/()/' \
| ./gen-protos >xsys-protos.hT
/bin/sh: 26493 Memory fault(coredump)
Running gen-protos under gdb, I see:
Program received signal SIGSEGV, Segmentation fault.
0x4000000000002e64 in add_hash (fname=0x800000010000ea33 "TLappend")
at ../../gcc/gcc/gen-protos.c:44
44 if (hash_tab[i] != 0)
(gdb) printf "0x%lx\n", &hash_tab
0x8000000100000470
(gdb) printf "0x%lx\n", i
0xea5a53b
(gdb) info addr i
Symbol "i" is a variable in register r21.
(gdb) info addr hash_tab
Symbol "hash_tab" is static storage at address 0x8000000100000470.
gdb) disass 0x4000000000002e5c 0x4000000000002e6c
Dump of assembler code from 0x4000000000002e5c to 0x4000000000002e6c:
0x4000000000002e5c <add_hash+172>: extrd,s ret0,63,32,r21
0x4000000000002e60 <add_hash+176>: depd,z r21,61,62,r22
0x4000000000002e64 <add_hash+180>: ldw,s r21(sr0,r24),r19
0x4000000000002e68 <add_hash+184>:
cmpib,= 0,r19,0x4000000000002f0c <add_hash+348>
End of assembler dump.
The C code is:
i = hashstr (fname, strlen (fname)) % HASH_SIZE;
i0 = i;
if (hash_tab[i] != 0)
It looks as if this failure is caused by this patch :(
2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR Target/11453
* pa.md: Disparage all mtsar constraints.
(extzv, extv, insv): Don't fail on length of {32|64}.
This may also be the cause of the miscompilation reported in PR 11516.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/11607] [3.3.1 regression] Segmentation fault in gen-protos in stage2
2003-07-20 17:15 [Bug c/11607] New: [3.3.1 regression] Segmentation fault in gen-protos in stage2 danglin at gcc dot gnu dot org
@ 2003-07-21 15:35 ` danglin at gcc dot gnu dot org
2003-07-23 15:18 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-07-21 15:35 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11607
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
------- Additional Comments From danglin at gcc dot gnu dot org 2003-07-21 15:35 -------
Target problem identified.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/11607] [3.3.1 regression] Segmentation fault in gen-protos in stage2
2003-07-20 17:15 [Bug c/11607] New: [3.3.1 regression] Segmentation fault in gen-protos in stage2 danglin at gcc dot gnu dot org
2003-07-21 15:35 ` [Bug target/11607] " danglin at gcc dot gnu dot org
@ 2003-07-23 15:18 ` cvs-commit at gcc dot gnu dot org
2003-07-23 15:53 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-23 15:18 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11607
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-23 15:18 -------
Subject: Bug 11607
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: danglin@gcc.gnu.org 2003-07-23 15:18:38
Modified files:
gcc : ChangeLog
gcc/config/pa : pa.md
Log message:
PR target/11607 and PR target/11516
* pa.md (extzv, extv, insv): Revert latter half of last patch.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.683&r2=1.16114.2.684
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.md.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.116.2.10&r2=1.116.2.11
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/11607] [3.3.1 regression] Segmentation fault in gen-protos in stage2
2003-07-20 17:15 [Bug c/11607] New: [3.3.1 regression] Segmentation fault in gen-protos in stage2 danglin at gcc dot gnu dot org
2003-07-21 15:35 ` [Bug target/11607] " danglin at gcc dot gnu dot org
2003-07-23 15:18 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-23 15:53 ` cvs-commit at gcc dot gnu dot org
2003-07-23 16:12 ` danglin at gcc dot gnu dot org
2003-07-25 16:28 ` jbuck at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-23 15:53 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11607
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-23 15:53 -------
Subject: Bug 11607
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: danglin@gcc.gnu.org 2003-07-23 15:53:31
Modified files:
gcc : ChangeLog
gcc/config/pa : pa.md
Log message:
PR target/11607 and PR target/11516
* pa.md (extzv, extv, insv): Revert latter half of last patch.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.600&r2=2.601
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.md.diff?cvsroot=gcc&r1=1.127&r2=1.128
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/11607] [3.3.1 regression] Segmentation fault in gen-protos in stage2
2003-07-20 17:15 [Bug c/11607] New: [3.3.1 regression] Segmentation fault in gen-protos in stage2 danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-07-23 15:53 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-23 16:12 ` danglin at gcc dot gnu dot org
2003-07-25 16:28 ` jbuck at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-07-23 16:12 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11607
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From danglin at gcc dot gnu dot org 2003-07-23 16:12 -------
Fixed.
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02312.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/11607] [3.3.1 regression] Segmentation fault in gen-protos in stage2
2003-07-20 17:15 [Bug c/11607] New: [3.3.1 regression] Segmentation fault in gen-protos in stage2 danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2003-07-23 16:12 ` danglin at gcc dot gnu dot org
@ 2003-07-25 16:28 ` jbuck at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2003-07-25 16:28 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11607
jbuck at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |3.3.1
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-07-25 16:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 17:15 [Bug c/11607] New: [3.3.1 regression] Segmentation fault in gen-protos in stage2 danglin at gcc dot gnu dot org
2003-07-21 15:35 ` [Bug target/11607] " danglin at gcc dot gnu dot org
2003-07-23 15:18 ` cvs-commit at gcc dot gnu dot org
2003-07-23 15:53 ` cvs-commit at gcc dot gnu dot org
2003-07-23 16:12 ` danglin at gcc dot gnu dot org
2003-07-25 16:28 ` jbuck at gcc dot gnu dot 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).