public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
@ 2011-04-14  7:57 dominiq at lps dot ens.fr
  2011-04-14  9:24 ` [Bug middle-end/48601] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-14  7:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

           Summary: [4.7 Regression] ICE in lower_emutls_function_body, at
                    tree-emutls.c:623
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: mjambor@suse.cz
              Host: *-apple-darwin*
            Target: *-apple-darwin*
             Build: *-apple-darwin*


Revision 172306 caused/uncovered the following failures on *-apple-darwin*

FAIL: gcc.target/i386/pr37275.c (internal compiler error)
FAIL: gcc.target/i386/pr37275.c (test for excess errors)

FAIL: libgomp.fortran/pr32359.f90  -O  (internal compiler error)
FAIL: libgomp.fortran/pr32359.f90  -O  (test for excess errors)

The ICE is

[macbook] f90/bug% gfc -c -fopenmp
/opt/gcc/_clean/libgomp/testsuite/libgomp.fortran/pr32359.f90
/opt/gcc/_clean/libgomp/testsuite/libgomp.fortran/pr32359.f90: In function
'test_._omp_fn.1':
/opt/gcc/_clean/libgomp/testsuite/libgomp.fortran/pr32359.f90:17:0: internal
compiler error: in lower_emutls_function_body, at tree-emutls.c:623

and corresponds to the new assert

gcc_checking_assert (d.builtin_node);


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
@ 2011-04-14  9:24 ` rguenth at gcc dot gnu.org
  2011-04-15 10:09 ` dominiq at lps dot ens.fr
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-14  9:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
  2011-04-14  9:24 ` [Bug middle-end/48601] " rguenth at gcc dot gnu.org
@ 2011-04-15 10:09 ` dominiq at lps dot ens.fr
  2011-04-15 10:13 ` dominiq at lps dot ens.fr
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-15 10:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jojelino at gmail dot com

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-15 10:09:13 UTC ---
*** Bug 48619 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
  2011-04-14  9:24 ` [Bug middle-end/48601] " rguenth at gcc dot gnu.org
  2011-04-15 10:09 ` dominiq at lps dot ens.fr
@ 2011-04-15 10:13 ` dominiq at lps dot ens.fr
  2011-04-15 10:15 ` dominiq at lps dot ens.fr
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-15 10:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-15 10:13:31 UTC ---
See pr48619 for a backtrace on i686-pc-mingw32.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2011-04-15 10:13 ` dominiq at lps dot ens.fr
@ 2011-04-15 10:15 ` dominiq at lps dot ens.fr
  2011-04-15 13:07 ` danglin at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-15 10:15 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-15 10:15:39 UTC ---
Oops!-(no backtrace in pr48619).


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2011-04-15 10:15 ` dominiq at lps dot ens.fr
@ 2011-04-15 13:07 ` danglin at gcc dot gnu.org
  2011-04-15 14:24 ` jamborm at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-04-15 13:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.04.15 13:07:15
                 CC|                            |danglin at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2011-04-15 13:07:15 UTC ---
Also seen with hppa64-hp-hpux11.11.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2011-04-15 13:07 ` danglin at gcc dot gnu.org
@ 2011-04-15 14:24 ` jamborm at gcc dot gnu.org
  2011-04-15 15:44 ` jojelino at gmail dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-04-15 14:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jamborm at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-04-15 14:22:09 UTC ---
Created attachment 23996
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23996
Proposed fix

I don't have (easy) access to a platform exhibiting this bug but this
patch should rather obviously fix it.  It would be nice if someone
with an affected platform could test it but I guess I'm going to
bootstrap it on x86_64-linux and submit it now anyway.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
                   ` (5 preceding siblings ...)
  2011-04-15 14:24 ` jamborm at gcc dot gnu.org
@ 2011-04-15 15:44 ` jojelino at gmail dot com
  2011-04-15 18:22 ` jamborm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jojelino at gmail dot com @ 2011-04-15 15:44 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

--- Comment #6 from gee <jojelino at gmail dot com> 2011-04-15 15:40:56 UTC ---
(In reply to comment #5)
> Created attachment 23996 [details]
> Proposed fix
> 
> I don't have (easy) access to a platform exhibiting this bug but this
> patch should rather obviously fix it.  It would be nice if someone
> with an affected platform could test it but I guess I'm going to
> bootstrap it on x86_64-linux and submit it now anyway.
fixed


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
                   ` (6 preceding siblings ...)
  2011-04-15 15:44 ` jojelino at gmail dot com
@ 2011-04-15 18:22 ` jamborm at gcc dot gnu.org
  2011-04-15 18:26 ` jamborm at gcc dot gnu.org
  2011-04-18 10:46 ` dominiq at lps dot ens.fr
  9 siblings, 0 replies; 11+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-04-15 18:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-04-15 18:20:51 UTC ---
Author: jamborm
Date: Fri Apr 15 18:20:46 2011
New Revision: 172512

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172512
Log:
2011-04-15  Martin Jambor  <mjambor@suse.cz>

    PR middle-end/48601
    * tree-emutls.c (lower_emutls_function_body): Call
    cgraph_get_create_node instead of cgraph_get_node.  Do not assert the
    result is non-NULL.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-emutls.c


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
                   ` (7 preceding siblings ...)
  2011-04-15 18:22 ` jamborm at gcc dot gnu.org
@ 2011-04-15 18:26 ` jamborm at gcc dot gnu.org
  2011-04-18 10:46 ` dominiq at lps dot ens.fr
  9 siblings, 0 replies; 11+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-04-15 18:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-04-15 18:26:05 UTC ---
Thanks, so this should be fixed with
http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01227.html


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug middle-end/48601] [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623
  2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
                   ` (8 preceding siblings ...)
  2011-04-15 18:26 ` jamborm at gcc dot gnu.org
@ 2011-04-18 10:46 ` dominiq at lps dot ens.fr
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-18 10:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48601

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu.org

--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-18 10:41:03 UTC ---
*** Bug 48662 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-04-18 10:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-14  7:57 [Bug middle-end/48601] New: [4.7 Regression] ICE in lower_emutls_function_body, at tree-emutls.c:623 dominiq at lps dot ens.fr
2011-04-14  9:24 ` [Bug middle-end/48601] " rguenth at gcc dot gnu.org
2011-04-15 10:09 ` dominiq at lps dot ens.fr
2011-04-15 10:13 ` dominiq at lps dot ens.fr
2011-04-15 10:15 ` dominiq at lps dot ens.fr
2011-04-15 13:07 ` danglin at gcc dot gnu.org
2011-04-15 14:24 ` jamborm at gcc dot gnu.org
2011-04-15 15:44 ` jojelino at gmail dot com
2011-04-15 18:22 ` jamborm at gcc dot gnu.org
2011-04-15 18:26 ` jamborm at gcc dot gnu.org
2011-04-18 10:46 ` dominiq at lps dot ens.fr

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).