public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/16045] ICE fold check: original tree changed by fold
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
@ 2005-03-24 15:12 ` pinskia at gcc dot gnu dot org
2005-06-15 3:17 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-24 15:12 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |20623
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/16045] ICE fold check: original tree changed by fold
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
2005-03-24 15:12 ` [Bug tree-optimization/16045] ICE fold check: original tree changed by fold pinskia at gcc dot gnu dot org
@ 2005-06-15 3:17 ` pinskia at gcc dot gnu dot org
2005-06-15 10:42 ` belyshev at depni dot sinp dot msu dot ru
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-15 3:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-15 03:17 -------
Could you double check this now, I might have fixed this? Please use the 4.0 branch as the mainline
does not do as much fold checking as it should, PR 21180.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/16045] ICE fold check: original tree changed by fold
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
2005-03-24 15:12 ` [Bug tree-optimization/16045] ICE fold check: original tree changed by fold pinskia at gcc dot gnu dot org
2005-06-15 3:17 ` pinskia at gcc dot gnu dot org
@ 2005-06-15 10:42 ` belyshev at depni dot sinp dot msu dot ru
2005-06-15 18:23 ` belyshev at depni dot sinp dot msu dot ru
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-06-15 10:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-06-15 10:42 -------
Ada frontend fails to bootstrap with --enable-checking=fold:
stage1/xgcc -Bstage1/ -B/usr/x86_64-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common
-DHAVE_CONFIG_H -I. -Iada -I../../src/gcc -I../../src/gcc/ada
-I../../src/gcc/../include -I../../src/gcc/../libcpp/include
../../src/gcc/ada/adaint.c -o ada/adaint.o
../../src/gcc/ada/adaint.c: In function '__gnat_locate_exec':
../../src/gcc/ada/adaint.c:2018: internal compiler error: fold check: original
tree changed by fold
testcase:
------------------------------------------------------------------------------
char *strstr (const char *, const char *);
char *__gnat_locate_exec (char *exec_name)
{
return strstr (exec_name, "");
}
------------------------------------------------------------------------------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/16045] ICE fold check: original tree changed by fold
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
` (2 preceding siblings ...)
2005-06-15 10:42 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-06-15 18:23 ` belyshev at depni dot sinp dot msu dot ru
2005-07-04 19:17 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-06-15 18:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-06-15 18:23 -------
here is an updated list of failing tests:
gcc.c-torture/compile/20020701-1.c
gcc.c-torture/execute/builtins/memmove-2.c
gcc.c-torture/execute/builtins/strcat.c
gcc.c-torture/execute/builtins/strncat.c
gcc.c-torture/execute/builtins/strncpy.c
gcc.c-torture/execute/builtins/strstr-asm.c
gcc.c-torture/execute/builtins/strstr.c
gcc.c-torture/execute/memcpy-bi.c
gcc.c-torture/execute/string-opt-18.c
gcc.dg/builtins-10.c
gcc.dg/builtins-21.c
gcc.dg/builtins-26.c
gcc.dg/builtins-2.c
gcc.dg/builtins-47.c
gcc.dg/builtins-52.c
gcc.dg/builtins-7.c
gcc.dg/pr19402-1.c
gcc.dg/torture/builtin-explog-1.c
gcc.dg/torture/builtin-integral-1.c
gcc.dg/unordered-1.c
all of them look similar, here are some of them, reduced:
------------------------------------------------------------------------------
char *strcpy (char *, const char *);
char *strcat (char *, const char *);
double pow (double, double);
double fabs (double);
double sqrt (double);
void f (char *s)
{
strcpy (s, s);
}
void f (char *s)
{
strcat (s, "");
}
void f (double x)
{
pow (pow (x, 2.0), 0.5);
}
void f (double x)
{
fabs (sqrt (x) + 2.0);
}
void f (double x)
{
__builtin_powi (x, 1.0);
}
------------------------------------------------------------------------------
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-06-15 18:23:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/16045] ICE fold check: original tree changed by fold
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
` (3 preceding siblings ...)
2005-06-15 18:23 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-07-04 19:17 ` pinskia at gcc dot gnu dot org
2005-08-18 5:02 ` [Bug middle-end/16045] " pinskia at gcc dot gnu dot org
2005-08-18 5:03 ` cvs-commit at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-04 19:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 19:17 -------
Mine, patch posted: <http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00211.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |07/msg00211.html
Status|NEW |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/16045] ICE fold check: original tree changed by fold
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
` (4 preceding siblings ...)
2005-07-04 19:17 ` pinskia at gcc dot gnu dot org
@ 2005-08-18 5:02 ` pinskia at gcc dot gnu dot org
2005-08-18 5:03 ` cvs-commit at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-18 5:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-18 05:01 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Component|tree-optimization |middle-end
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/16045] ICE fold check: original tree changed by fold
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
` (5 preceding siblings ...)
2005-08-18 5:02 ` [Bug middle-end/16045] " pinskia at gcc dot gnu dot org
@ 2005-08-18 5:03 ` cvs-commit at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-18 5:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-18 05:02 -------
Subject: Bug 16045
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2005-08-18 05:01:47
Modified files:
gcc : ChangeLog builtins.c
Log message:
2005-08-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16045
* builtins.c (fold_builtin): Create a new NOP_EXPR all the time.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9768&r2=2.9769
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.c.diff?cvsroot=gcc&r1=1.470&r2=1.471
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/16045] ICE fold check: original tree changed by fold
[not found] <bug-16045-7958@http.gcc.gnu.org/bugzilla/>
2006-02-17 23:49 ` ghazi at gcc dot gnu dot org
@ 2006-02-17 23:50 ` ghazi at gcc dot gnu dot org
1 sibling, 0 replies; 9+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2006-02-17 23:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ghazi at gcc dot gnu dot org 2006-02-17 23:50 -------
Backported to 4.0.
--
ghazi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ghazi at gcc dot gnu dot org
Target Milestone|4.1.0 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/16045] ICE fold check: original tree changed by fold
[not found] <bug-16045-7958@http.gcc.gnu.org/bugzilla/>
@ 2006-02-17 23:49 ` ghazi at gcc dot gnu dot org
2006-02-17 23:50 ` ghazi at gcc dot gnu dot org
1 sibling, 0 replies; 9+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2006-02-17 23:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ghazi at gcc dot gnu dot org 2006-02-17 23:49 -------
Subject: Bug 16045
Author: ghazi
Date: Fri Feb 17 23:49:13 2006
New Revision: 111215
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111215
Log:
Backport:
2005-08-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16045
* builtins.c (fold_builtin): Create a new NOP_EXPR all the time.
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/builtins.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-02-17 23:50 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20040618045848.16045.belyshev@depni.sinp.msu.ru>
2005-03-24 15:12 ` [Bug tree-optimization/16045] ICE fold check: original tree changed by fold pinskia at gcc dot gnu dot org
2005-06-15 3:17 ` pinskia at gcc dot gnu dot org
2005-06-15 10:42 ` belyshev at depni dot sinp dot msu dot ru
2005-06-15 18:23 ` belyshev at depni dot sinp dot msu dot ru
2005-07-04 19:17 ` pinskia at gcc dot gnu dot org
2005-08-18 5:02 ` [Bug middle-end/16045] " pinskia at gcc dot gnu dot org
2005-08-18 5:03 ` cvs-commit at gcc dot gnu dot org
[not found] <bug-16045-7958@http.gcc.gnu.org/bugzilla/>
2006-02-17 23:49 ` ghazi at gcc dot gnu dot org
2006-02-17 23:50 ` ghazi 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).