public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/34993]  New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound
@ 2008-01-28  0:14 reichelt at gcc dot gnu dot org
  2008-01-28  0:15 ` [Bug c/34993] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-28  0:14 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE since GCC 4.0.0:

============================================
typedef int x[] __attribute((may_alias));
============================================

bug.c:1: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

The crash happens with the C and C++ frontend.


-- 
           Summary: [4.1/4.2/4.3 regression] ICE with attribute for array
                    with unknown bound
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c/34993] [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
@ 2008-01-28  0:15 ` reichelt at gcc dot gnu dot org
  2008-01-28 10:26 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-28  0:15 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.3


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


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

* [Bug c/34993] [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
  2008-01-28  0:15 ` [Bug c/34993] " reichelt at gcc dot gnu dot org
@ 2008-01-28 10:26 ` rguenth at gcc dot gnu dot org
  2008-01-30 19:50 ` rth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-28 10:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-01-28 09:56 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-28 09:56:39
               date|                            |


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


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

* [Bug c/34993] [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
  2008-01-28  0:15 ` [Bug c/34993] " reichelt at gcc dot gnu dot org
  2008-01-28 10:26 ` rguenth at gcc dot gnu dot org
@ 2008-01-30 19:50 ` rth at gcc dot gnu dot org
  2008-01-31  1:32 ` rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-01-30 19:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-01-28 09:56:39         |2008-01-30 19:19:21
               date|                            |


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


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

* [Bug c/34993] [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-01-30 19:50 ` rth at gcc dot gnu dot org
@ 2008-01-31  1:32 ` rth at gcc dot gnu dot org
  2008-01-31  9:29 ` [Bug c/34993] [4.1/4.2 " jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-01-31  1:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rth at gcc dot gnu dot org  2008-01-31 00:06 -------
Subject: Bug 34993

Author: rth
Date: Thu Jan 31 00:05:19 2008
New Revision: 131970

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131970
Log:
        PR c/34993
        * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
        for unbounded arrays.

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


-- 


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


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

* [Bug c/34993] [4.1/4.2 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-01-31  1:32 ` rth at gcc dot gnu dot org
@ 2008-01-31  9:29 ` jakub at gcc dot gnu dot org
  2008-02-01 18:59 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-31  9:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2008-01-31 08:17 -------
Fixed on the trunk, thanks.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.0
            Summary|[4.1/4.2/4.3 regression] ICE|[4.1/4.2 regression] ICE
                   |with attribute for array    |with attribute for array
                   |with unknown bound          |with unknown bound


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


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

* [Bug c/34993] [4.1/4.2 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-01-31  9:29 ` [Bug c/34993] [4.1/4.2 " jakub at gcc dot gnu dot org
@ 2008-02-01 18:59 ` rth at gcc dot gnu dot org
  2008-02-02 20:43 ` rth at gcc dot gnu dot org
  2008-02-02 20:44 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-02-01 18:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rth at gcc dot gnu dot org  2008-02-01 18:59 -------
Subject: Bug 34993

Author: rth
Date: Fri Feb  1 18:58:21 2008
New Revision: 132049

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132049
Log:
        PR c/34993
        * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
        for unbounded arrays.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/pr34993.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/tree.c


-- 


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


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

* [Bug c/34993] [4.1/4.2 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-02-01 18:59 ` rth at gcc dot gnu dot org
@ 2008-02-02 20:43 ` rth at gcc dot gnu dot org
  2008-02-02 20:44 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-02-02 20:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rth at gcc dot gnu dot org  2008-02-02 20:42 -------
Subject: Bug 34993

Author: rth
Date: Sat Feb  2 20:42:10 2008
New Revision: 132073

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132073
Log:
        PR c/34993
        * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
        for unbounded arrays.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/pr34993.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/tree.c


-- 


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


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

* [Bug c/34993] [4.1/4.2 regression] ICE with attribute for array with unknown bound
  2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-02-02 20:43 ` rth at gcc dot gnu dot org
@ 2008-02-02 20:44 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-02-02 20:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rth at gcc dot gnu dot org  2008-02-02 20:43 -------
Fixed.


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-02-02 20:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-28  0:14 [Bug c/34993] New: [4.1/4.2/4.3 regression] ICE with attribute for array with unknown bound reichelt at gcc dot gnu dot org
2008-01-28  0:15 ` [Bug c/34993] " reichelt at gcc dot gnu dot org
2008-01-28 10:26 ` rguenth at gcc dot gnu dot org
2008-01-30 19:50 ` rth at gcc dot gnu dot org
2008-01-31  1:32 ` rth at gcc dot gnu dot org
2008-01-31  9:29 ` [Bug c/34993] [4.1/4.2 " jakub at gcc dot gnu dot org
2008-02-01 18:59 ` rth at gcc dot gnu dot org
2008-02-02 20:43 ` rth at gcc dot gnu dot org
2008-02-02 20:44 ` rth 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).