public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25875]  New: [4.1/4.2 Regression] ICE: segmentation fault
@ 2006-01-20 14:42 rguenth at gcc dot gnu dot org
  2006-01-20 14:50 ` [Bug c/25875] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-01-20 14:42 UTC (permalink / raw)
  To: gcc-bugs

ICEs with 4.1 and 4.2 (but not 4.0):

typedef union {
} ktime_t;
static inline ktime_t ktime_set(const long secs, const unsigned long nsecs)
{
 return (ktime_t) { .tv = { .sec = (s32)ts.tv_sec,
          .nsec = (s32)ts.tv_nsec } };


-- 
           Summary: [4.1/4.2 Regression] ICE: segmentation fault
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c
        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=25875


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
@ 2006-01-20 14:50 ` pinskia at gcc dot gnu dot org
  2006-01-20 14:51 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-20 14:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
           Keywords|                            |error-recovery
   Target Milestone|---                         |4.1.0


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
  2006-01-20 14:50 ` [Bug c/25875] " pinskia at gcc dot gnu dot org
@ 2006-01-20 14:51 ` pinskia at gcc dot gnu dot org
  2006-01-25  6:33 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-20 14:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-20 14:51 -------
backtrace:
#0  0x00052510 in digest_init (type=0x42ca5960, init=0x0, strict_string=1
'\001', require_constant=0) at
/Users/pinskia/src/gcc/alias/gcc/gcc/c-typeck.c:4497
#1  0x00050ef0 in store_init_value (decl=0x42ca5ae0, init=0x0) at
/Users/pinskia/src/gcc/alias/gcc/gcc/c-typeck.c:4260
#2  0x0001ac88 in build_compound_literal (type=0x42ca5960, init=0x0) at
/Users/pinskia/src/gcc/alias/gcc/gcc/c-decl.c:3674
#3  0x000c6f78 in c_parser_postfix_expression_after_paren_type
(parser=0x42c13090, type_name=0x4201116c) at
/Users/pinskia/src/gcc/alias/gcc/gcc/c-parser.c:5390
#4  0x000c4fa4 in c_parser_cast_expression (parser=0x42c13090, after=0x0) at
/Users/pinskia/src/gcc/alias/gcc/gcc/c-parser.c:4664


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-20 14:51:23
               date|                            |


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
  2006-01-20 14:50 ` [Bug c/25875] " pinskia at gcc dot gnu dot org
  2006-01-20 14:51 ` pinskia at gcc dot gnu dot org
@ 2006-01-25  6:33 ` mmitchel at gcc dot gnu dot org
  2006-01-26  8:36 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-01-25  6:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-01-25 06:33 -------
P2, invalid code.


-- 


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-01-25  6:33 ` mmitchel at gcc dot gnu dot org
@ 2006-01-26  8:36 ` mmitchel at gcc dot gnu dot org
  2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-01-26  8:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mmitchel at gcc dot gnu dot org  2006-01-26 08:36 -------
I *said* P2 -- but apparently I didn't update the actual priority field.  Done
now; sorry for the churn.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-01-26  8:36 ` mmitchel at gcc dot gnu dot org
@ 2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
  2006-04-21 20:06 ` reichelt at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-24  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mmitchel at gcc dot gnu dot org  2006-02-24 00:26 -------
This issue will not be resolved in GCC 4.1.0; retargeted at GCC 4.1.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |4.1.1


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
@ 2006-04-21 20:06 ` reichelt at gcc dot gnu dot org
  2006-04-21 20:40 ` patchapp at dberlin dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-21 20:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from reichelt at gcc dot gnu dot org  2006-04-21 20:06 -------
Testing a patch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |reichelt at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-04-21 20:06 ` reichelt at gcc dot gnu dot org
@ 2006-04-21 20:40 ` patchapp at dberlin dot org
  2006-04-21 23:02 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: patchapp at dberlin dot org @ 2006-04-21 20:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from patchapp at dberlin dot org  2006-04-21 20:40 -------
Subject: Bug number PR c/25875

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00815.html


-- 


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-04-21 20:40 ` patchapp at dberlin dot org
@ 2006-04-21 23:02 ` reichelt at gcc dot gnu dot org
  2006-04-21 23:05 ` reichelt at gcc dot gnu dot org
  2006-04-21 23:06 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-21 23:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from reichelt at gcc dot gnu dot org  2006-04-21 23:02 -------
Subject: Bug 25875

Author: reichelt
Date: Fri Apr 21 23:02:26 2006
New Revision: 113153

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113153
Log:
        PR c/25875
        * c-typeck.c (digest_init): Robustify.

        * gcc.dg/init-bad-4.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/init-bad-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-04-21 23:02 ` reichelt at gcc dot gnu dot org
@ 2006-04-21 23:05 ` reichelt at gcc dot gnu dot org
  2006-04-21 23:06 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-21 23:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from reichelt at gcc dot gnu dot org  2006-04-21 23:05 -------
Subject: Bug 25875

Author: reichelt
Date: Fri Apr 21 23:05:30 2006
New Revision: 113154

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113154
Log:
        PR c/25875
        * c-typeck.c (digest_init): Robustify.

        * gcc.dg/init-bad-4.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/init-bad-4.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/c-typeck.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault
  2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2006-04-21 23:05 ` reichelt at gcc dot gnu dot org
@ 2006-04-21 23:06 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-21 23:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from reichelt at gcc dot gnu dot org  2006-04-21 23:06 -------
Fixed on mainline and 4.1 branch.


-- 

reichelt at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-04-21 23:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-20 14:42 [Bug c/25875] New: [4.1/4.2 Regression] ICE: segmentation fault rguenth at gcc dot gnu dot org
2006-01-20 14:50 ` [Bug c/25875] " pinskia at gcc dot gnu dot org
2006-01-20 14:51 ` pinskia at gcc dot gnu dot org
2006-01-25  6:33 ` mmitchel at gcc dot gnu dot org
2006-01-26  8:36 ` mmitchel at gcc dot gnu dot org
2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
2006-04-21 20:06 ` reichelt at gcc dot gnu dot org
2006-04-21 20:40 ` patchapp at dberlin dot org
2006-04-21 23:02 ` reichelt at gcc dot gnu dot org
2006-04-21 23:05 ` reichelt at gcc dot gnu dot org
2006-04-21 23:06 ` reichelt 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).