public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
@ 2007-04-25 14:24 hjl at lucon dot org
2007-04-25 14:25 ` [Bug rtl-optimization/31703] " hjl at lucon dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2007-04-25 14:24 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 804 bytes --]
bash-3.1$ ./xgcc -m32 -B./ -O2 -S /tmp/reload1.i
reload1.c: In function reload_reg_free_p:
reload1.c:4420: internal compiler error: in simplify_subreg, at
simplify-rtx.c:4677
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Revision 123850 is OK.
--
Summary: [4.3 regression]: Gcc 4.3 revision 124101 failed to
compile gcc 3.2
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
@ 2007-04-25 14:25 ` hjl at lucon dot org
2007-04-25 16:24 ` hjl at lucon dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2007-04-25 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl at lucon dot org 2007-04-25 15:25 -------
Created an attachment (id=13440)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13440&action=view)
A testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
2007-04-25 14:25 ` [Bug rtl-optimization/31703] " hjl at lucon dot org
@ 2007-04-25 16:24 ` hjl at lucon dot org
2007-04-25 17:15 ` hjl at lucon dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2007-04-25 16:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl at lucon dot org 2007-04-25 17:24 -------
I have verified that this patch
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01399.html
causes this regression. On Linux/i686, it fails to compile gcc 3.2. On
Linux/x86-64, it miscompiles gcc 3.2.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Severity|normal |critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
2007-04-25 14:25 ` [Bug rtl-optimization/31703] " hjl at lucon dot org
2007-04-25 16:24 ` hjl at lucon dot org
@ 2007-04-25 17:15 ` hjl at lucon dot org
2007-04-25 21:02 ` [Bug tree-optimization/31703] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2007-04-25 17:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl at lucon dot org 2007-04-25 18:15 -------
rewrite_bittest has
lhs = GENERIC_TREE_OPERAND (stmt, 0);
...
/* A & (1 << B) */
t = fold_build2 (BIT_AND_EXPR, TREE_TYPE (a), a, name);
stmt2 = build_gimple_modify_stmt (lhs, t);
When A & (1 << B) is long long and lhs is int, we may get a problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
` (2 preceding siblings ...)
2007-04-25 17:15 ` hjl at lucon dot org
@ 2007-04-25 21:02 ` pinskia at gcc dot gnu dot org
2007-04-25 23:58 ` sje at cup dot hp dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-25 21:02 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|rtl-optimization |tree-optimization
Keywords| |ice-on-valid-code
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
` (3 preceding siblings ...)
2007-04-25 21:02 ` [Bug tree-optimization/31703] " pinskia at gcc dot gnu dot org
@ 2007-04-25 23:58 ` sje at cup dot hp dot com
2007-04-26 8:53 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: sje at cup dot hp dot com @ 2007-04-25 23:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from sje at cup dot hp dot com 2007-04-26 00:58 -------
The patch mentioned in Comment #2 is also causing problems on IA64 Linux and
HP-UX. If I build a bootstrap compiler and then use the resulting fortran
compiler to compile the SPEC 2006 benchmark 173.applu the resulting executable
will abort. After reading comment #3 I put a 'return stmt' in rewrite_bittest
to make the function a no-op and that allowed me to do a bootstrap build and
compile 173.applu correctly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
` (4 preceding siblings ...)
2007-04-25 23:58 ` sje at cup dot hp dot com
@ 2007-04-26 8:53 ` rguenth at gcc dot gnu dot org
2007-04-26 9:35 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-26 8:53 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-26 09:53:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
` (5 preceding siblings ...)
2007-04-26 8:53 ` rguenth at gcc dot gnu dot org
@ 2007-04-26 9:35 ` rguenth at gcc dot gnu dot org
2007-04-26 15:28 ` rguenth at gcc dot gnu dot org
2007-04-26 15:32 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-26 9:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2007-04-26 10:35 -------
Re comment #3: doh, you are right.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
` (6 preceding siblings ...)
2007-04-26 9:35 ` rguenth at gcc dot gnu dot org
@ 2007-04-26 15:28 ` rguenth at gcc dot gnu dot org
2007-04-26 15:32 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-26 15:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-04-26 16:28 -------
Subject: Bug 31703
Author: rguenth
Date: Thu Apr 26 16:28:14 2007
New Revision: 124190
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124190
Log:
2007-04-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/31703
* tree-ssa-loop-im.c (rewrite_bittest): Make sure to use
the right type for the target of the bittest.
* gcc.c-torture/compile/pr31703.c: New testcase.
* gcc.dg/tree-ssa/ssa-lim-1.c: Adjust pattern.
* gcc.dg/tree-ssa/ssa-lim-2.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr31703.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-1.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-2.c
trunk/gcc/tree-ssa-loop-im.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
` (7 preceding siblings ...)
2007-04-26 15:28 ` rguenth at gcc dot gnu dot org
@ 2007-04-26 15:32 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-26 15:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2007-04-26 16:32 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Keywords| |wrong-code
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31703
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-04-26 15:32 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 14:24 [Bug rtl-optimization/31703] New: [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2 hjl at lucon dot org
2007-04-25 14:25 ` [Bug rtl-optimization/31703] " hjl at lucon dot org
2007-04-25 16:24 ` hjl at lucon dot org
2007-04-25 17:15 ` hjl at lucon dot org
2007-04-25 21:02 ` [Bug tree-optimization/31703] " pinskia at gcc dot gnu dot org
2007-04-25 23:58 ` sje at cup dot hp dot com
2007-04-26 8:53 ` rguenth at gcc dot gnu dot org
2007-04-26 9:35 ` rguenth at gcc dot gnu dot org
2007-04-26 15:28 ` rguenth at gcc dot gnu dot org
2007-04-26 15:32 ` rguenth 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).