public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827
@ 2005-09-11  8:09 belyshev at depni dot sinp dot msu dot ru
  2005-09-11 14:36 ` [Bug tree-optimization/23818] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-09-11  8:09 UTC (permalink / raw)
  To: gcc-bugs

// testcase, compile with -O1 -fno-tree-dominator-opts :

void foo (int p[100], int k, ...)
{
  int j, *q;
  __builtin_va_list ap;
  __builtin_va_start (ap, k);
  q = __builtin_va_arg (ap, int *);
  for (j = 0; j < 100; j++)
    p [j] = q [j];
  __builtin_va_end(ap);
}

// compiler output:
capifunc.i: In function 'foo':
capifunc.i:2: internal compiler error: in dominated_by_p, at dominance.c:827

-- 
           Summary: ICE in dominated_by_p, at dominance.c:827
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/23818] ICE in dominated_by_p, at dominance.c:827
  2005-09-11  8:09 [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827 belyshev at depni dot sinp dot msu dot ru
@ 2005-09-11 14:36 ` pinskia at gcc dot gnu dot org
  2005-09-11 14:39 ` [Bug tree-optimization/23818] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-11 14:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-11 14:36 -------
Note this is only reproducible on x86_64 because of the way var_args are implemented.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|                            |x86_64-*-linux-gnu


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


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

* [Bug tree-optimization/23818] [4.1 Regression] ICE in dominated_by_p, at dominance.c:827
  2005-09-11  8:09 [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827 belyshev at depni dot sinp dot msu dot ru
  2005-09-11 14:36 ` [Bug tree-optimization/23818] " pinskia at gcc dot gnu dot org
@ 2005-09-11 14:39 ` pinskia at gcc dot gnu dot org
  2005-09-12 14:20 ` belyshev at depni dot sinp dot msu dot ru
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-11 14:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-11 14:38 -------
Confirmed, it is ICE while doing std args which is also new for 4.1.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-11 14:38:58
               date|                            |
            Summary|ICE in dominated_by_p, at   |[4.1 Regression] ICE in
                   |dominance.c:827             |dominated_by_p, at
                   |                            |dominance.c:827
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/23818] [4.1 Regression] ICE in dominated_by_p, at dominance.c:827
  2005-09-11  8:09 [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827 belyshev at depni dot sinp dot msu dot ru
  2005-09-11 14:36 ` [Bug tree-optimization/23818] " pinskia at gcc dot gnu dot org
  2005-09-11 14:39 ` [Bug tree-optimization/23818] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-09-12 14:20 ` belyshev at depni dot sinp dot msu dot ru
  2005-09-16 23:05 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-09-12 14:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-09-12 14:20 -------
Patch posted.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |09/msg00719.html


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


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

* [Bug tree-optimization/23818] [4.1 Regression] ICE in dominated_by_p, at dominance.c:827
  2005-09-11  8:09 [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827 belyshev at depni dot sinp dot msu dot ru
                   ` (2 preceding siblings ...)
  2005-09-12 14:20 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-09-16 23:05 ` pinskia at gcc dot gnu dot org
  2005-09-20 15:30 ` cvs-commit at gcc dot gnu dot org
  2005-09-20 15:57 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-16 23:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-16 23:05 -------
(In reply to comment #3)
> Patch posted.

And approved.

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


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


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

* [Bug tree-optimization/23818] [4.1 Regression] ICE in dominated_by_p, at dominance.c:827
  2005-09-11  8:09 [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827 belyshev at depni dot sinp dot msu dot ru
                   ` (3 preceding siblings ...)
  2005-09-16 23:05 ` pinskia at gcc dot gnu dot org
@ 2005-09-20 15:30 ` cvs-commit at gcc dot gnu dot org
  2005-09-20 15:57 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-20 15:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-20 15:29 -------
Subject: Bug 23818

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2005-09-20 15:29:42

Modified files:
	gcc            : ChangeLog tree-stdarg.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: pr23818.c 

Log message:
	PR tree-optimization/23818
	* tree-stdarg.c (execute_optimize_stdarg): Call
	calculate_dominance_info.
	
	* gcc.dg/pr23818.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9988&r2=2.9989
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-stdarg.c.diff?cvsroot=gcc&r1=2.7&r2=2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6083&r2=1.6084
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr23818.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug tree-optimization/23818] [4.1 Regression] ICE in dominated_by_p, at dominance.c:827
  2005-09-11  8:09 [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827 belyshev at depni dot sinp dot msu dot ru
                   ` (4 preceding siblings ...)
  2005-09-20 15:30 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-20 15:57 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-20 15:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-20 15:56 -------
Fixed.

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


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


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

* [Bug tree-optimization/23818] [4.1 Regression] ICE in dominated_by_p, at dominance.c:827
       [not found] <bug-23818-7958@http.gcc.gnu.org/bugzilla/>
@ 2005-10-05 21:03 ` cvs-commit at gcc dot gnu dot org
  0 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-05 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-05 21:03 -------
Subject: Bug 23818

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-rhl-branch
Changes by:     jakub@gcc.gnu.org       2005-10-05 21:03:05

Modified files:
        gcc            : ChangeLog 
        gcc/testsuite  : ChangeLog 
        gcc            : tree-stdarg.c 
Added files:
        gcc/testsuite/gcc.dg: pr23818.c 

Log message:
        PR tree-optimization/23818
        * tree-stdarg.c (execute_optimize_stdarg): Call
        calculate_dominance_info.

        * gcc.dg/pr23818.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=2.7592.2.10.2.62&r2=2.7592.2.10.2.63
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=1.5084.2.9.2.58&r2=1.5084.2.9.2.59
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-stdarg.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=2.2.4.1&r2=2.2.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr23818.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=NONE&r2=1.1.10.1


-- 


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


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

end of thread, other threads:[~2005-10-05 21:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-11  8:09 [Bug tree-optimization/23818] New: ICE in dominated_by_p, at dominance.c:827 belyshev at depni dot sinp dot msu dot ru
2005-09-11 14:36 ` [Bug tree-optimization/23818] " pinskia at gcc dot gnu dot org
2005-09-11 14:39 ` [Bug tree-optimization/23818] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-09-12 14:20 ` belyshev at depni dot sinp dot msu dot ru
2005-09-16 23:05 ` pinskia at gcc dot gnu dot org
2005-09-20 15:30 ` cvs-commit at gcc dot gnu dot org
2005-09-20 15:57 ` pinskia at gcc dot gnu dot org
     [not found] <bug-23818-7958@http.gcc.gnu.org/bugzilla/>
2005-10-05 21:03 ` 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).