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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread

* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
       [not found] <bug-38752-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-06-30  8:56 ` rguenth at gcc dot gnu.org
@ 2011-06-30  9:01 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-30  9:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752

--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-30 09:00:28 UTC ---
Oops.  Fixed.


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

* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
       [not found] <bug-38752-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-06-30  8:51 ` rguenth at gcc dot gnu.org
@ 2011-06-30  8:56 ` rguenth at gcc dot gnu.org
  2011-06-30  9:01 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-30  8:56 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-30 08:56:04 UTC ---
Author: rguenth
Date: Thu Jun 30 08:56:02 2011
New Revision: 175687

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175687
Log:
2011-06-30  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/38752
    * gcc.c-torture/compile/pr38752.c: New testcase.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr38752.c
Modified:
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
       [not found] <bug-38752-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-06-30  8:50 ` rguenth at gcc dot gnu.org
@ 2011-06-30  8:51 ` rguenth at gcc dot gnu.org
  2011-06-30  8:56 ` rguenth at gcc dot gnu.org
  2011-06-30  9:01 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-30  8:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-30 08:51:27 UTC ---
Author: rguenth
Date: Thu Jun 30 08:51:23 2011
New Revision: 175686

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175686
Log:
2011-06-30  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/38752
    * gcc.c-torture/compile/pr38752.c: New testcase.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr38752.c
Modified:
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
       [not found] <bug-38752-4@http.gcc.gnu.org/bugzilla/>
  2011-06-29 23:13 ` pinskia at gcc dot gnu.org
  2011-06-30  8:44 ` rguenth at gcc dot gnu.org
@ 2011-06-30  8:50 ` rguenth at gcc dot gnu.org
  2011-06-30  8:51 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-30  8:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-30 08:49:37 UTC ---
Author: rguenth
Date: Thu Jun 30 08:49:30 2011
New Revision: 175685

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175685
Log:
2011-06-30  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/38752
    * gcc.c-torture/compile/pr38752.c: New testcase.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr38752.c
Modified:
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
       [not found] <bug-38752-4@http.gcc.gnu.org/bugzilla/>
  2011-06-29 23:13 ` pinskia at gcc dot gnu.org
@ 2011-06-30  8:44 ` rguenth at gcc dot gnu.org
  2011-06-30  8:50 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-30  8:44 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-30 08:44:23 UTC ---
Author: rguenth
Date: Thu Jun 30 08:44:18 2011
New Revision: 175684

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175684
Log:
2011-06-30  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/38752
    * gcc.c-torture/compile/pr38752.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr38752.c
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/38752] [4.3 Regression] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817
       [not found] <bug-38752-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-29 23:13 ` pinskia at gcc dot gnu.org
  2011-06-30  8:44 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-06-29 23:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38752

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-06-29 23:13:01 UTC ---
This testcase was never added to the trunk.


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

end of thread, other threads:[~2011-06-30  9:01 UTC | newest]

Thread overview: 11+ 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
     [not found] <bug-38752-4@http.gcc.gnu.org/bugzilla/>
2011-06-29 23:13 ` pinskia at gcc dot gnu.org
2011-06-30  8:44 ` rguenth at gcc dot gnu.org
2011-06-30  8:50 ` rguenth at gcc dot gnu.org
2011-06-30  8:51 ` rguenth at gcc dot gnu.org
2011-06-30  8:56 ` rguenth at gcc dot gnu.org
2011-06-30  9:01 ` rguenth at gcc dot gnu.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).