public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c
@ 2008-09-02 18:54 hjl dot tools at gmail dot com
2008-09-02 18:57 ` [Bug middle-end/37338] " hjl dot tools at gmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-09-02 18:54 UTC (permalink / raw)
To: gcc-bugs
On Linux/ia32, revision 139863 gave
FAIL: gcc.dg/array-init-1.c scan-assembler-not abcdefghi
FAIL: gcc.dg/array-init-1.c scan-assembler-times
7017280452245743464|7523094288207667809|6867666564636261|1684234849|64636261 2
revision 139848 is OK.
--
Summary: [4.4 Regression] gcc.dg/array-init-1.c
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/37338] [4.4 Regression] gcc.dg/array-init-1.c
2008-09-02 18:54 [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c hjl dot tools at gmail dot com
@ 2008-09-02 18:57 ` hjl dot tools at gmail dot com
2008-09-02 19:13 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-09-02 18:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2008-09-02 18:56 -------
Revision 139854 is OK and revision 139856 is bad.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jh at suse dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/37338] [4.4 Regression] gcc.dg/array-init-1.c
2008-09-02 18:54 [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c hjl dot tools at gmail dot com
2008-09-02 18:57 ` [Bug middle-end/37338] " hjl dot tools at gmail dot com
@ 2008-09-02 19:13 ` rguenth at gcc dot gnu dot org
2008-09-09 17:52 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-09-02 19:13 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/37338] [4.4 Regression] gcc.dg/array-init-1.c
2008-09-02 18:54 [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c hjl dot tools at gmail dot com
2008-09-02 18:57 ` [Bug middle-end/37338] " hjl dot tools at gmail dot com
2008-09-02 19:13 ` rguenth at gcc dot gnu dot org
@ 2008-09-09 17:52 ` jakub at gcc dot gnu dot org
2008-09-10 9:12 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-09 17:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2008-09-09 17:50 -------
The problem here is that gimplify_init_constructor calls can_move_by_pieces,
and the default MOVE_BY_PIECES_P uses optimize_insn_for_speed_p:
#define MOVE_BY_PIECES_P(SIZE, ALIGN) \
(move_by_pieces_ninsns (SIZE, ALIGN, MOVE_MAX_PIECES + 1) \
< (unsigned int) MOVE_RATIO (optimize_insn_for_speed_p ()))
But during gimplification *crtl is cleared, so eventhough
optimize_function_for_speed_p (cfun) is true, crtl->maybe_hot_insn_p is false.
Should gimplify_init_constructor temporarily set crtl->maybe_hot_insn_p = true?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/37338] [4.4 Regression] gcc.dg/array-init-1.c
2008-09-02 18:54 [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2008-09-09 17:52 ` jakub at gcc dot gnu dot org
@ 2008-09-10 9:12 ` jakub at gcc dot gnu dot org
2008-09-10 21:11 ` jakub at gcc dot gnu dot org
2008-09-10 21:11 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-10 9:12 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-09-10 09:11:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/37338] [4.4 Regression] gcc.dg/array-init-1.c
2008-09-02 18:54 [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c hjl dot tools at gmail dot com
` (4 preceding siblings ...)
2008-09-10 21:11 ` jakub at gcc dot gnu dot org
@ 2008-09-10 21:11 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-10 21:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2008-09-10 21:09 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/37338] [4.4 Regression] gcc.dg/array-init-1.c
2008-09-02 18:54 [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c hjl dot tools at gmail dot com
` (3 preceding siblings ...)
2008-09-10 9:12 ` jakub at gcc dot gnu dot org
@ 2008-09-10 21:11 ` jakub at gcc dot gnu dot org
2008-09-10 21:11 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-10 21:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2008-09-10 21:09 -------
Subject: Bug 37338
Author: jakub
Date: Wed Sep 10 21:08:17 2008
New Revision: 140249
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140249
Log:
PR middle-end/37338
* gimplify.c (gimplify_body): Call default_rtl_profile.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-09-10 21:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-02 18:54 [Bug middle-end/37338] New: [4.4 Regression] gcc.dg/array-init-1.c hjl dot tools at gmail dot com
2008-09-02 18:57 ` [Bug middle-end/37338] " hjl dot tools at gmail dot com
2008-09-02 19:13 ` rguenth at gcc dot gnu dot org
2008-09-09 17:52 ` jakub at gcc dot gnu dot org
2008-09-10 9:12 ` jakub at gcc dot gnu dot org
2008-09-10 21:11 ` jakub at gcc dot gnu dot org
2008-09-10 21:11 ` jakub 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).