http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #17 from Jan Hubicka hubicka at gcc dot gnu.org 2010-11-21
13:25:03 UTC ---
Created attachment 22476
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22476
Proposed patch
Hi,
can you please try this variant?
Honza
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #19 from Jan Hubicka hubicka at ucw dot cz 2010-11-21 16:16:51
UTC ---
../../../work/libgomp/barrier.c:41:1: internal compiler error: in
decide_is_variable_needed, at varpool.c:341
Hmm, interesting, get_emutls_init_templ_addr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #18 from Dominique d'Humieres dominiq at lps dot ens.fr
2010-11-21 16:12:48 UTC ---
can you please try this variant?
Applied on tom of revision 167004, I still get on *darwin*
../../../work/libgomp/barrier.c:41:1: internal compiler
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #21 from Jack Howarth howarth at nitro dot med.uc.edu 2010-11-21
17:25:19 UTC ---
(In reply to comment #19)
../../../work/libgomp/barrier.c:41:1: internal compiler error: in
decide_is_variable_needed, at varpool.c:341
Hmm,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #20 from Jack Howarth howarth at nitro dot med.uc.edu 2010-11-21
17:20:40 UTC ---
Created attachment 22477
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22477
backtrace for patch proposed in comment 17
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #22 from Jan Hubicka hubicka at ucw dot cz 2010-11-21 17:47:33
UTC ---
Honza,
I don't know how to do a backtrace in gdb when the compiler exits in gdb
during the run as...
Program exited with code 04.
breakpoint on
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #23 from Jack Howarth howarth at nitro dot med.uc.edu 2010-11-21
18:02:40 UTC ---
(In reply to comment #22)
Honza,
I don't know how to do a backtrace in gdb when the compiler exits in gdb
during the run as...
Program
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #24 from Dominique d'Humieres dominiq at lps dot ens.fr
2010-11-21 18:32:49 UTC ---
breakpoint on internal_error should help. I will take a look.
with breakpoint at fancy_abort:
#0 fancy_abort (file=0x100e4f182
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #25 from Dominique d'Humieres dominiq at lps dot ens.fr
2010-11-21 18:37:09 UTC ---
This seems to work:
--- ../_clean/gcc/tree-emutls.c2010-11-19 18:13:00.0 +0100
+++ gcc/tree-emutls.c2010-11-21 19:34:11.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #26 from Jan Hubicka hubicka at ucw dot cz 2010-11-21 18:55:03
UTC ---
This seems to work:
This is OK, thanks!
Honza
This seems to work:
This is OK, thanks!
Honza
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #27 from Jan Hubicka hubicka at gcc dot gnu.org 2010-11-21
23:02:20 UTC ---
Author: hubicka
Date: Sun Nov 21 23:02:15 2010
New Revision: 167014
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=167014
Log:
PR target/46510
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #16 from Jack Howarth howarth at nitro dot med.uc.edu 2010-11-19
13:48:45 UTC ---
I can confirm that removing the gcc_assert (!DECL_EXTERNAL (decl)) as suggested
in comment 8 does eliminate the bootstrap failures without regressions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
CC||danglin at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
Ramana Radhakrishnan ramana at gcc dot gnu.org changed:
What|Removed |Added
Target|*-*-darwin*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #11 from Ramana Radhakrishnan ramana at gcc dot gnu.org
2010-11-18 15:29:24 UTC ---
(In reply to comment #10)
Also occurs for arm-eabi with the tls tests in the testsuite.
FAIL: gcc.dg/tls/opt-14.c (internal compiler error)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #12 from Dominique d'Humieres dominiq at lps dot ens.fr
2010-11-18 15:49:53 UTC ---
(In reply to comments #10 and #11)
Also occurs for arm-eabi with the tls tests in the testsuite.
...
What happens if you remove the gcc_assert at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #13 from dave at hiauly1 dot hia.nrc.ca 2010-11-18 23:37:15 UTC ---
On Thu, 18 Nov 2010, dominiq at lps dot ens.fr wrote:
What happens if you remove the gcc_assert at line 338 of varpool.c (see
comment
#8)?
hppa2.0w-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #14 from Dominique d'Humieres dominiq at lps dot ens.fr
2010-11-18 23:44:09 UTC ---
hppa2.0w-hp-hpux11.11 bootstraps successfully with the assert removed.
Can you also regtest? On x86_64-apple-darwin10 I did not see any regression
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #15 from dave at hiauly1 dot hia.nrc.ca 2010-11-18 23:53:19 UTC ---
powerpc-apple-darwin9 is currently regtesting without anything obvious so far
(at obj-c++).
My MacPro is darwin9, and I'm only setup to do 32-bit builds at the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P1
Target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
Jan Hubicka hubicka at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2010-11-17
16:34:33 UTC ---
(In reply to comment #5)
Can you, please, try if the following works?
Index: tree-emutls.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2010-11-17
16:38:47 UTC ---
Backtraces as...
gdb /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/cc1
...
(gdb) r -quiet -v -I . -I ../../../gcc-4.6-20101117/libgomp -I
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
--- Comment #8 from Dominique d'Humieres dominiq at lps dot ens.fr 2010-11-17
21:39:08 UTC ---
As I said in pr46511, removing the assert fixes the bootstrap and does not seem
to introduce any regression (finishing regtesting):
---
26 matches
Mail list logo