public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22269] New: [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables
@ 2005-07-01 16:03 pinskia at gcc dot gnu dot org
2005-07-01 16:04 ` [Bug tree-optimization/22269] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-01 16:03 UTC (permalink / raw)
To: gcc-bugs
This is reduced from PR 22266.
int printf(const char*, ...);
int main(int argv, char*argc) {
int d1;
int d2;
int s1, s2;
int b;
((d1)&=(int)0x0000ffffL, (d1)|=((int)(short)(0x344))<<16);
((d1)&=(int)0xffff0000UL, (d1)|=(int)(unsigned short)(0x4567));
((d2)&=(int)0x0000ffffL, (d2)|=((int)(short)(0))<<16);
((d2)&=(int)0xffff0000UL, (d2)|=(int)(unsigned short)(0x3b9a));
printf(" dividend >>: %ld\n", d1);
printf(" divisor >>: %ld\n", d2);
}
--
Summary: [4.1 Regression] ICE in tree-ssa-reassoc with
uninitialized variables
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: pinskia at gcc dot gnu dot org
CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22269
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/22269] [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables
2005-07-01 16:03 [Bug tree-optimization/22269] New: [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables pinskia at gcc dot gnu dot org
@ 2005-07-01 16:04 ` pinskia at gcc dot gnu dot org
2005-07-01 20:54 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-01 16:04 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-01 16:04 -------
The ICE is:
t2.c: In function main:
t2.c:2: internal compiler error: tree check: expected ssa_name, have integer_cst in should_transpose, at
tree-ssa-reassoc.c:411
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22269
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/22269] [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables
2005-07-01 16:03 [Bug tree-optimization/22269] New: [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables pinskia at gcc dot gnu dot org
2005-07-01 16:04 ` [Bug tree-optimization/22269] " pinskia at gcc dot gnu dot org
@ 2005-07-01 20:54 ` pinskia at gcc dot gnu dot org
2005-07-01 21:58 ` pinskia at gcc dot gnu dot org
2005-07-01 22:01 ` cvs-commit at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-01 20:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-01 20:54 -------
I think I have a fix, waiting for word from "Daniel Berlin" to double check the intent of the code.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-01 20:54:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22269
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/22269] [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables
2005-07-01 16:03 [Bug tree-optimization/22269] New: [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables pinskia at gcc dot gnu dot org
2005-07-01 16:04 ` [Bug tree-optimization/22269] " pinskia at gcc dot gnu dot org
2005-07-01 20:54 ` pinskia at gcc dot gnu dot org
@ 2005-07-01 21:58 ` pinskia at gcc dot gnu dot org
2005-07-01 22:01 ` cvs-commit at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-01 21:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-01 21:58 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22269
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/22269] [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables
2005-07-01 16:03 [Bug tree-optimization/22269] New: [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-07-01 21:58 ` pinskia at gcc dot gnu dot org
@ 2005-07-01 22:01 ` cvs-commit at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-01 22:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-01 22:01 -------
Subject: Bug 22269
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2005-07-01 22:01:17
Modified files:
gcc : ChangeLog tree-ssa-reassoc.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/compile: pr22269.c
Log message:
2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/22269
* tree-ssa-reassoc.c (should_transpose): Fix which operand
we check for SSA_NAME for.
2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/22269
* gcc.c-torture/compile/pr22269.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9310&r2=2.9311
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-reassoc.c.diff?cvsroot=gcc&r1=2.3&r2=2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5712&r2=1.5713
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr22269.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22269
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-01 22:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-01 16:03 [Bug tree-optimization/22269] New: [4.1 Regression] ICE in tree-ssa-reassoc with uninitialized variables pinskia at gcc dot gnu dot org
2005-07-01 16:04 ` [Bug tree-optimization/22269] " pinskia at gcc dot gnu dot org
2005-07-01 20:54 ` pinskia at gcc dot gnu dot org
2005-07-01 21:58 ` pinskia at gcc dot gnu dot org
2005-07-01 22:01 ` 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).