public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin
@ 2004-09-15 3:51 pinskia at gcc dot gnu dot org
2004-09-15 3:52 ` [Bug rtl-optimization/17491] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-15 3:51 UTC (permalink / raw)
To: gcc-bugs
doing a profiledbootstrap on powerpc-apple-darwin we get a failuring in getmodes, reduced testcase
which can be used to run:
typedef long unsigned int size_t;
typedef unsigned int hashval_t;
typedef hashval_t (*htab_hash) (const void *);
typedef int (*htab_eq) (const void *, const void *);
typedef void (*htab_del) (void *);
typedef int (*htab_trav) (void **, void *);
typedef void * (*htab_alloc) (size_t, size_t);
typedef void (*htab_free) (void *);
void free(void *);
void abort ();
int strcmp(const char *, const char *);
void * calloc (size_t, size_t) __attribute__ ((__malloc__));
void * xcalloc (size_t a, size_t b) { return calloc(a, b);}
struct htab { int i; };
typedef struct htab *htab_t;
hashval_t hash_mode (const void *p){return 0;}
int eq_mode (const void *p, const void *q){return 0;}
const char *progname;
htab_t htab_create_alloc (size_t a, htab_hash b, htab_eq c,
htab_del d, htab_alloc e, htab_free f)
{
if (a!=64)
abort();
if (b!=hash_mode)
abort();
if (c!=eq_mode)
abort();
if (d != 0)
abort ();
if (e != xcalloc)
abort ();
if (f != free)
abort();
return 0;
}
unsigned char gen_header = 0, gen_min = 0;
void error (const char *a, ...) {}
static htab_t modes_by_name;
int
main(int argc, char **argv)
{
progname = argv[0];
if (argc == 1)
;
else if (argc == 2 && !strcmp (argv[1], "-h"))
gen_header = 1;
else if (argc == 2 && !strcmp (argv[1], "-m"))
gen_min = 1;
else
{
error ("usage: %s [-h|-m] > file", progname);
return 1;
}
modes_by_name = htab_create_alloc (64, hash_mode, eq_mode, 0, xcalloc, free);
}
--
Summary: [4.0 Regression] profiledbootstrap fails on powerpc-
apple-darwin
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: wrong-code, build
Severity: critical
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,rakdver at gcc dot gnu
dot org
GCC target triplet: powerpc-apple-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
@ 2004-09-15 3:52 ` pinskia at gcc dot gnu dot org
2004-09-15 3:54 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-15 3:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-15 03:52 -------
This most likely effects all powerpc-*.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
2004-09-15 3:52 ` [Bug rtl-optimization/17491] " pinskia at gcc dot gnu dot org
@ 2004-09-15 3:54 ` pinskia at gcc dot gnu dot org
2004-09-21 12:59 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-15 3:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-15 03:54 -------
I had forgot to say compile with -O0 -fprofile-generate.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
2004-09-15 3:52 ` [Bug rtl-optimization/17491] " pinskia at gcc dot gnu dot org
2004-09-15 3:54 ` pinskia at gcc dot gnu dot org
@ 2004-09-21 12:59 ` pinskia at gcc dot gnu dot org
2004-09-21 19:25 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 12:59 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |17428
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-09-21 12:59 ` pinskia at gcc dot gnu dot org
@ 2004-09-21 19:25 ` pinskia at gcc dot gnu dot org
2004-09-21 20:58 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 19:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-21 19:25 -------
Confirmed, Caroline confirmed this before, I just reduced it for her.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-21 19:25:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-09-21 19:25 ` pinskia at gcc dot gnu dot org
@ 2004-09-21 20:58 ` pinskia at gcc dot gnu dot org
2004-11-27 0:24 ` [Bug rtl-optimization/17491] -fspeculative-prefetching fails on powerpc-* pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 20:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-21 20:58 -------
The patch which fixes PR 17428 also fixes this one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] -fspeculative-prefetching fails on powerpc-*
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-09-21 20:58 ` pinskia at gcc dot gnu dot org
@ 2004-11-27 0:24 ` pinskia at gcc dot gnu dot org
2005-07-29 9:52 ` reichelt at gcc dot gnu dot org
2005-07-29 11:42 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-27 0:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-27 00:24 -------
Even though this huge failure, it is no longer a regression as -fspeculative-prefetching is not enabled
wth -fprofile-generate/use but it still needs to be fixed but not necessarly for 4.0.0. Really someone
should just approve Zdenek's fix for this.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Summary|[4.0 Regression] |-fspeculative-prefetching
|profiledbootstrap fails on |fails on powerpc-*
|powerpc-apple-darwin |
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] -fspeculative-prefetching fails on powerpc-*
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-11-27 0:24 ` [Bug rtl-optimization/17491] -fspeculative-prefetching fails on powerpc-* pinskia at gcc dot gnu dot org
@ 2005-07-29 9:52 ` reichelt at gcc dot gnu dot org
2005-07-29 11:42 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-29 9:52 UTC (permalink / raw)
To: gcc-bugs
--
Bug 17491 depends on bug 17428, which changed state.
Bug 17428 Summary: internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/17491] -fspeculative-prefetching fails on powerpc-*
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-07-29 9:52 ` reichelt at gcc dot gnu dot org
@ 2005-07-29 11:42 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-29 11:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-29 11:39 -------
-fspeculative-prefetching has now been removed from the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17491
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-07-29 11:39 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-15 3:51 [Bug rtl-optimization/17491] New: [4.0 Regression] profiledbootstrap fails on powerpc-apple-darwin pinskia at gcc dot gnu dot org
2004-09-15 3:52 ` [Bug rtl-optimization/17491] " pinskia at gcc dot gnu dot org
2004-09-15 3:54 ` pinskia at gcc dot gnu dot org
2004-09-21 12:59 ` pinskia at gcc dot gnu dot org
2004-09-21 19:25 ` pinskia at gcc dot gnu dot org
2004-09-21 20:58 ` pinskia at gcc dot gnu dot org
2004-11-27 0:24 ` [Bug rtl-optimization/17491] -fspeculative-prefetching fails on powerpc-* pinskia at gcc dot gnu dot org
2005-07-29 9:52 ` reichelt at gcc dot gnu dot org
2005-07-29 11:42 ` pinskia 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).