public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/28964] New: partition_stack_vars uses unstable sort
@ 2006-09-06 16:02 amylaar at gcc dot gnu dot org
2006-09-13 6:21 ` [Bug middle-end/28964] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-09-06 16:02 UTC (permalink / raw)
To: gcc-bugs
position_stack_vars sorts stack_vars_sorted in a manner that makes the order
of stack vars with equal size undefined, thus making the compiler output
host dependent.
--
Summary: partition_stack_vars uses unstable sort
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amylaar at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/28964] [4.0/4.1/4.2 Regression] partition_stack_vars uses unstable sort
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
@ 2006-09-13 6:21 ` pinskia at gcc dot gnu dot org
2006-09-20 22:32 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-13 6:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-13 06:21 -------
Confirmed, this is a regression as partition_stack_vars is new in 4.0.x.
I am thinking about either creating a meta-bug or a keyword about all the
problems with unstable sorts/hashing with memory addresses problems.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-09-13 06:21:02
date| |
Summary|partition_stack_vars uses |[4.0/4.1/4.2 Regression]
|unstable sort |partition_stack_vars uses
| |unstable sort
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/28964] [4.0/4.1/4.2 Regression] partition_stack_vars uses unstable sort
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
2006-09-13 6:21 ` [Bug middle-end/28964] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-09-20 22:32 ` mmitchel at gcc dot gnu dot org
2006-09-22 10:09 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-09-20 22:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mmitchel at gcc dot gnu dot org 2006-09-20 22:32 -------
A meta-bug would be helpful.
I've marked this P2, since this bug doesn't actually result in a
user-observable problem on a single host -- but it is extremely desirable from
the point of view of us, as GCC developers, and from the point of view of many
users, that all hosts generate the same code. So, it would be very good to get
this defect fixed.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/28964] [4.0/4.1/4.2 Regression] partition_stack_vars uses unstable sort
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
2006-09-13 6:21 ` [Bug middle-end/28964] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-09-20 22:32 ` mmitchel at gcc dot gnu dot org
@ 2006-09-22 10:09 ` rguenth at gcc dot gnu dot org
2006-09-22 11:25 ` patchapp at dberlin dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-09-22 10:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-09-22 10:09 -------
I have a patch.
--
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|NEW |ASSIGNED
Last reconfirmed|2006-09-13 06:21:02 |2006-09-22 10:09:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/28964] [4.0/4.1/4.2 Regression] partition_stack_vars uses unstable sort
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-09-22 10:09 ` rguenth at gcc dot gnu dot org
@ 2006-09-22 11:25 ` patchapp at dberlin dot org
2006-09-22 15:43 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: patchapp at dberlin dot org @ 2006-09-22 11:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from patchapp at dberlin dot org 2006-09-22 11:25 -------
Subject: Bug number PR28964
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00976.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/28964] [4.0/4.1/4.2 Regression] partition_stack_vars uses unstable sort
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-09-22 11:25 ` patchapp at dberlin dot org
@ 2006-09-22 15:43 ` rguenth at gcc dot gnu dot org
2006-09-22 15:44 ` [Bug middle-end/28964] [4.0/4.1 " rguenth at gcc dot gnu dot org
2006-09-25 12:04 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-09-22 15:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2006-09-22 15:43 -------
Subject: Bug 28964
Author: rguenth
Date: Fri Sep 22 15:43:27 2006
New Revision: 117146
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117146
Log:
2006-09-22 Richard Guenther <rguenther@suse.de>
PR middle-end/28964
* cfgexpand.c (stack_var_size_cmp): Use DECL_UID to make
sort of stack variables stable.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/28964] [4.0/4.1 Regression] partition_stack_vars uses unstable sort
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-09-22 15:43 ` rguenth at gcc dot gnu dot org
@ 2006-09-22 15:44 ` rguenth at gcc dot gnu dot org
2006-09-25 12:04 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-09-22 15:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2006-09-22 15:43 -------
Fixed on the mainline.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1/4.2 Regression] |[4.0/4.1 Regression]
|partition_stack_vars uses |partition_stack_vars uses
|unstable sort |unstable sort
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/28964] [4.0/4.1 Regression] partition_stack_vars uses unstable sort
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-09-22 15:44 ` [Bug middle-end/28964] [4.0/4.1 " rguenth at gcc dot gnu dot org
@ 2006-09-25 12:04 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-09-25 12:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2006-09-25 12:04 -------
WONTFIX on 4.0/4.1 branches.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|4.0.4 |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28964
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-09-25 12:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06 16:02 [Bug middle-end/28964] New: partition_stack_vars uses unstable sort amylaar at gcc dot gnu dot org
2006-09-13 6:21 ` [Bug middle-end/28964] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-09-20 22:32 ` mmitchel at gcc dot gnu dot org
2006-09-22 10:09 ` rguenth at gcc dot gnu dot org
2006-09-22 11:25 ` patchapp at dberlin dot org
2006-09-22 15:43 ` rguenth at gcc dot gnu dot org
2006-09-22 15:44 ` [Bug middle-end/28964] [4.0/4.1 " rguenth at gcc dot gnu dot org
2006-09-25 12:04 ` 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).