public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38752] New: [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
@ 2009-01-07 10:59 rguenth at gcc dot gnu dot org
2009-01-07 11:00 ` [Bug tree-optimization/38752] " rguenth at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-07 10:59 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
typedef struct
{
int baddr;
} mstruct_t;
static struct
{
unsigned int mapnum;
mstruct_t unused;
} mtab;
static mstruct_t *mactab = &mtab.unused;
int
main(void)
{
int i;
int addr;
for (i=1; i <= mtab.mapnum; i++)
{
if (addr < mactab[i].baddr)
{
break;
}
}
return 0;
}
./cc1 -quiet -O2 t.c
t.c: In function main:
t.c:16: internal compiler error: in set_uids_in_ptset, at
tree-ssa-structalias.c:4817
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-
structalias.c:4817
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
2009-01-07 10:59 [Bug tree-optimization/38752] New: [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817 rguenth at gcc dot gnu dot org
@ 2009-01-07 11:00 ` rguenth at gcc dot gnu dot org
2009-01-07 12:14 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-07 11:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-07 10:59 -------
Investigating.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Known to work| |4.2.4 4.4.0
Last reconfirmed|0000-00-00 00:00:00 |2009-01-07 10:59:56
date| |
Target Milestone|--- |4.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
2009-01-07 10:59 [Bug tree-optimization/38752] New: [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817 rguenth at gcc dot gnu dot org
2009-01-07 11:00 ` [Bug tree-optimization/38752] " rguenth at gcc dot gnu dot org
@ 2009-01-07 12:14 ` rguenth at gcc dot gnu dot org
2009-01-07 13:12 ` rguenth at gcc dot gnu dot org
2009-01-07 13:14 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-07 12:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-01-07 12:14 -------
We insist on finding an overlapping SFT even though it might possibly not
exist (as in this case where we do an access clearly outside of the object
boundary). The fix is to just ignore that and let the operand machinery
add whatever memory tag it likes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
2009-01-07 10:59 [Bug tree-optimization/38752] New: [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817 rguenth at gcc dot gnu dot org
2009-01-07 11:00 ` [Bug tree-optimization/38752] " rguenth at gcc dot gnu dot org
2009-01-07 12:14 ` rguenth at gcc dot gnu dot org
@ 2009-01-07 13:12 ` rguenth at gcc dot gnu dot org
2009-01-07 13:14 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-07 13:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-07 13:12 -------
Subject: Bug 38752
Author: rguenth
Date: Wed Jan 7 13:12:17 2009
New Revision: 143155
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143155
Log:
2009-01-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38752
* tree-ssa-structalias.c (set_uids_in_ptset): Do not assert we
find a subvariable as we might have invalid accesses.
* gcc.c-torture/compile/pr38752.c: New testcase.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr38752.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/tree-ssa-structalias.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
2009-01-07 10:59 [Bug tree-optimization/38752] New: [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817 rguenth at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-01-07 13:12 ` rguenth at gcc dot gnu dot org
@ 2009-01-07 13:14 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-07 13:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-01-07 13:14 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-07 13:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-07 10:59 [Bug tree-optimization/38752] New: [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817 rguenth at gcc dot gnu dot org
2009-01-07 11:00 ` [Bug tree-optimization/38752] " rguenth at gcc dot gnu dot org
2009-01-07 12:14 ` rguenth at gcc dot gnu dot org
2009-01-07 13:12 ` rguenth at gcc dot gnu dot org
2009-01-07 13:14 ` rguenth 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).