public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45919] New: [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1
@ 2010-10-06 22:36 zsojka at seznam dot cz
  2010-10-07  9:45 ` [Bug tree-optimization/45919] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-06 22:36 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference
                    (tree-ssa-ccp.c:1527) at -O1
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Compiler output:
$ gcc -O testcase.c         
testcase.c: In function 'foo':
testcase.c:13:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r165058 - crash
r164716 - crash
r163636 - OK


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

* [Bug tree-optimization/45919] [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1
  2010-10-06 22:36 [Bug tree-optimization/45919] New: [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1 zsojka at seznam dot cz
@ 2010-10-07  9:45 ` rguenth at gcc dot gnu.org
  2010-10-20 15:19 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-07  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |4.6.0


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

* [Bug tree-optimization/45919] [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1
  2010-10-06 22:36 [Bug tree-optimization/45919] New: [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1 zsojka at seznam dot cz
  2010-10-07  9:45 ` [Bug tree-optimization/45919] " rguenth at gcc dot gnu.org
@ 2010-10-20 15:19 ` jakub at gcc dot gnu.org
  2010-10-20 21:18 ` jakub at gcc dot gnu.org
  2010-10-20 21:19 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-20 15:19 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-20 15:19:12 UTC ---
Created attachment 22095
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22095
gcc46-pr45919.patch

Untested fix.


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

* [Bug tree-optimization/45919] [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1
  2010-10-06 22:36 [Bug tree-optimization/45919] New: [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1 zsojka at seznam dot cz
  2010-10-07  9:45 ` [Bug tree-optimization/45919] " rguenth at gcc dot gnu.org
  2010-10-20 15:19 ` jakub at gcc dot gnu.org
@ 2010-10-20 21:18 ` jakub at gcc dot gnu.org
  2010-10-20 21:19 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-20 21:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-20 21:17:35 UTC ---
Author: jakub
Date: Wed Oct 20 21:17:30 2010
New Revision: 165740

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165740
Log:
    PR tree-optimization/45919
    * tree-ssa-ccp.c (fold_nonarray_ctor_reference): Handle flexible
    array members.

    * gcc.c-torture/compile/pr45919.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr45919.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c


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

* [Bug tree-optimization/45919] [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1
  2010-10-06 22:36 [Bug tree-optimization/45919] New: [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1 zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-10-20 21:18 ` jakub at gcc dot gnu.org
@ 2010-10-20 21:19 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-20 21:19 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-20 21:19:34 UTC ---
Fixed.


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

end of thread, other threads:[~2010-10-20 21:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 22:36 [Bug tree-optimization/45919] New: [4.6 Regression] ICE: SIGSEGV in fold_ctor_reference (tree-ssa-ccp.c:1527) at -O1 zsojka at seznam dot cz
2010-10-07  9:45 ` [Bug tree-optimization/45919] " rguenth at gcc dot gnu.org
2010-10-20 15:19 ` jakub at gcc dot gnu.org
2010-10-20 21:18 ` jakub at gcc dot gnu.org
2010-10-20 21:19 ` jakub 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).