public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12109] New: ICE on legal code
@ 2003-08-30 11:55 phil dot el at wanadoo dot fr
  2003-08-30 13:52 ` [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: phil dot el at wanadoo dot fr @ 2003-08-30 11:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE on legal code
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: phil dot el at wanadoo dot fr
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

void *do_it(void * dest, const void * src);
double *create_float(void);

void parse_rvalue(void **DataPtr)
{
  double local = 0.0;
  int terms = 1;

  *DataPtr = create_float();
  
  switch (terms)
    {
    case 1:
      *((double *)*DataPtr) = local;
      break;
      
    case 2:
      do_it(*DataPtr, &local);
      break;
    }
}

gcc version 3.5-tree-ssa 20030830 (merged 20030817)

$ gcc -c -W -Wall -O2 parse.i
parse.i: In function `parse_rvalue':

parse.i:20: internal compiler error: tree check: expected ssa_name, have
var_decl in process_worklist, at tree-ssa-dce.c:412


regards,
Philippe Elie


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

* [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c
  2003-08-30 11:55 [Bug c/12109] New: ICE on legal code phil dot el at wanadoo dot fr
@ 2003-08-30 13:52 ` pinskia at gcc dot gnu dot org
  2003-09-07 13:15 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-30 13:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
          Component|c                           |optimization
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-30 13:52:56
               date|                            |
            Summary|ICE on legal code           |ICE in process_worklist, at
                   |                            |tree-ssa-dce.c
   Target Milestone|---                         |tree-ssa


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-30 13:52 -------
>From Phil's regression hunter: Search converges between 2003-08-24-ssa (#68) and 2003-08-
25-ssa (#69).


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

* [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c
  2003-08-30 11:55 [Bug c/12109] New: ICE on legal code phil dot el at wanadoo dot fr
  2003-08-30 13:52 ` [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c pinskia at gcc dot gnu dot org
@ 2003-09-07 13:15 ` steven at gcc dot gnu dot org
  2003-09-07 14:45 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-09-07 13:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


------- Additional Comments From steven at gcc dot gnu dot org  2003-09-07 13:15 -------
Doesn't happen with my recent tree-ssa:

GNU C version 3.5-tree-ssa 20030907 (merged 20030817) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20030907 (merged 20030817).

Andrew, what's the policy here: Keep it open and find out what fixed or worked
around this, or should I just close it?


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

* [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c
  2003-08-30 11:55 [Bug c/12109] New: ICE on legal code phil dot el at wanadoo dot fr
  2003-08-30 13:52 ` [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c pinskia at gcc dot gnu dot org
  2003-09-07 13:15 ` steven at gcc dot gnu dot org
@ 2003-09-07 14:45 ` pinskia at gcc dot gnu dot org
  2003-09-07 22:17 ` steven at gcc dot gnu dot org
  2003-09-07 22:17 ` cvs-commit at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-07 14:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steven at gcc dot gnu dot
                   |                            |org


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-07 14:45 -------
If it is fixed close it and commit a testcase for it.  I cannot test the tree-ssa branch as it does not 
bootstrap for me, Steve can you close it and commit the testcase?


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

* [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c
  2003-08-30 11:55 [Bug c/12109] New: ICE on legal code phil dot el at wanadoo dot fr
                   ` (3 preceding siblings ...)
  2003-09-07 22:17 ` steven at gcc dot gnu dot org
@ 2003-09-07 22:17 ` cvs-commit at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-07 22:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-07 22:17 -------
Subject: Bug 12109

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	steven@gcc.gnu.org	2003-09-07 22:17:07

Modified files:
	gcc/testsuite  : ChangeLog.tree-ssa 
Added files:
	gcc/testsuite/gcc.dg/tree-ssa: 20030907-1.c 20030907-2.c 

Log message:
	PR optimization/12198
	* gcc.dg/tree-ssa/20030907-1.c: New test.
	
	PR optimization/12109
	* gcc.dg/tree-ssa/20030907-2.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.63&r2=1.1.2.64
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/20030907-1.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/20030907-2.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1


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

* [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c
  2003-08-30 11:55 [Bug c/12109] New: ICE on legal code phil dot el at wanadoo dot fr
                   ` (2 preceding siblings ...)
  2003-09-07 14:45 ` pinskia at gcc dot gnu dot org
@ 2003-09-07 22:17 ` steven at gcc dot gnu dot org
  2003-09-07 22:17 ` cvs-commit at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-09-07 22:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


steven at gcc dot gnu dot org changed:

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


------- Additional Comments From steven at gcc dot gnu dot org  2003-09-07 22:17 -------
fixed


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

end of thread, other threads:[~2003-09-07 22:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-30 11:55 [Bug c/12109] New: ICE on legal code phil dot el at wanadoo dot fr
2003-08-30 13:52 ` [Bug optimization/12109] ICE in process_worklist, at tree-ssa-dce.c pinskia at gcc dot gnu dot org
2003-09-07 13:15 ` steven at gcc dot gnu dot org
2003-09-07 14:45 ` pinskia at gcc dot gnu dot org
2003-09-07 22:17 ` steven at gcc dot gnu dot org
2003-09-07 22:17 ` cvs-commit 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).