public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/61630] New: [4.10 Regression] ICE in symtab_get_node
@ 2014-06-27 14:14 dje at gcc dot gnu.org
  2014-06-27 14:16 ` [Bug middle-end/61630] " dje at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dje at gcc dot gnu.org @ 2014-06-27 14:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61630

            Bug ID: 61630
           Summary: [4.10 Regression] ICE in symtab_get_node
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org

gcc -O1 gcc.dg/noncompile/920507-1.c
internal compiler error: in symtab_get_node, at cgraph.h:1154

(gdb) run -O1 920507-1.c
Starting program: /tmp/20140626/gcc/cc1 -O1 920507-1.c
 x
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<whole-program> <profile_estimate> <cdtor> <inline> <pure-const> <static-var>
<single-use> <comdats>Assembling functions:
 x
920507-1.c: In function 'x':
920507-1.c:5:16: error: invalid register name for 'a'
  register int *a asm("unknown_register");  /* { dg-error "invalid register" }
*
                ^

Breakpoint 1, _Z11fancy_abortPKciS0_ (
    file=0x10fbe450 "/nasfarm/edelsohn/src/src/gcc/cgraph.h", line=1154, 
    function=0x10fbe440 "symtab_get_node")
    at /nasfarm/edelsohn/src/src/gcc/diagnostic.c:1190
1190      internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);

(gdb) where
#0  _Z11fancy_abortPKciS0_ (
    file=0x10fbe450 "/nasfarm/edelsohn/src/src/gcc/cgraph.h", line=1154, 
    function=0x10fbe440 "symtab_get_node")
    at /nasfarm/edelsohn/src/src/gcc/diagnostic.c:1190
#1  0x10206974 in _Z13make_decl_rtlP9tree_node (decl=0x700da000)
    at /nasfarm/edelsohn/src/src/gcc/varasm.c:2381
#2  0x101d4c24 in _Z24rest_of_decl_compilationP9tree_nodeii (decl=0x700da000, 
    top_level=0, at_end=0) at /nasfarm/edelsohn/src/src/gcc/passes.c:215
#3  0x10820604 in _ZL14expand_one_varP9tree_nodebb (var=0x10fbe450, 
    toplevel=130, really_expand=64)
    at /nasfarm/edelsohn/src/src/gcc/cfgexpand.c:2324
#4  0x10820dd0 in _ZL26expand_used_vars_for_blockP9tree_nodeb (
    block=0x700c1038, toplevel=true)
    at /nasfarm/edelsohn/src/src/gcc/cfgexpand.c:1339
#5  0x10823764 in _ZL16expand_used_varsv ()
    at /nasfarm/edelsohn/src/src/gcc/cfgexpand.c:1806
#6  0x1082d9cc in _ZN12_GLOBAL__N_111pass_expand7executeEP8function (
    this=0x10fbe450, fun=0x700d9000)
    at /nasfarm/edelsohn/src/src/gcc/cfgexpand.c:5672
#7  0x101d76fc in _Z16execute_one_passP8opt_pass (pass=0x302a5d78)
    at /nasfarm/edelsohn/src/src/gcc/passes.c:2179
#8  0x101d7bf0 in _ZL19execute_pass_list_1P8opt_pass (pass=0x302a5d78)
    at /nasfarm/edelsohn/src/src/gcc/passes.c:2232
(gdb) up
#1  0x10206974 in _Z13make_decl_rtlP9tree_node (decl=0x700da000)
    at /nasfarm/edelsohn/src/src/gcc/varasm.c:2381
(gdb) print decl
$1 = (tree) 0x700da000
(gdb) pt
warning: Expression is not an assignment (and might have no effect)
 <var_decl 700da000 a
    type <pointer_type 70014cc0
        type <integer_type 70014360 int public SI
            size <integer_cst 70005240 constant 32>
            unit size <integer_cst 70005258 constant 4>
            align 32 symtab 0 alias set -1 canonical type 70014360 precision 32
min <integer_cst 70005480 -2147483648> max <integer_cst 70005498 2147483647>
            pointer_to_this <pointer_type 70014cc0>>
        sizes-gimplified unsigned SI size <integer_cst 70005240 32> unit size
<integer_cst 70005258 4>
        align 32 symtab 0 alias set -1 canonical type 70014cc0
        pointer_to_this <pointer_type 700c2ba0>>
    used unsigned regdecl decl_4 SI file 920507-1.c line 5 col 16 size
<integer_cst 70005240 32> unit size <integer_cst 70005258 4>
    align 32 context <function_decl 700bfa80 x>>


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

* [Bug middle-end/61630] [4.10 Regression] ICE in symtab_get_node
  2014-06-27 14:14 [Bug middle-end/61630] New: [4.10 Regression] ICE in symtab_get_node dje at gcc dot gnu.org
@ 2014-06-27 14:16 ` dje at gcc dot gnu.org
  2014-06-27 16:13 ` ubizjak at gmail dot com
  2014-11-19 13:52 ` [Bug middle-end/61630] [5 " rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dje at gcc dot gnu.org @ 2014-06-27 14:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61630

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |powerpc-ibm-aix
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-06-27
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |4.10.0
     Ever confirmed|0                           |1


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

* [Bug middle-end/61630] [4.10 Regression] ICE in symtab_get_node
  2014-06-27 14:14 [Bug middle-end/61630] New: [4.10 Regression] ICE in symtab_get_node dje at gcc dot gnu.org
  2014-06-27 14:16 ` [Bug middle-end/61630] " dje at gcc dot gnu.org
@ 2014-06-27 16:13 ` ubizjak at gmail dot com
  2014-11-19 13:52 ` [Bug middle-end/61630] [5 " rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2014-06-27 16:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61630

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Dup of PR61330 ?
>From gcc-bugs-return-455156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 27 16:14:45 2014
Return-Path: <gcc-bugs-return-455156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21928 invoked by alias); 27 Jun 2014 16:14:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21899 invoked by uid 48); 27 Jun 2014 16:14:42 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61632] memory corruption in Fortran RTL when writing formatted data
Date: Fri, 27 Jun 2014 16:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-61632-4-V24oTpVW8O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61632-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61632-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-06/txt/msg02238.txt.bz2
Content-length: 769

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida632

kargl at gcc dot gnu.org changed:

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

--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Arnaud Desitter from comment #0)
> Problem 1: using the following program:
>       program p
>       call ss()
>       call ss()
>       end program p
>       subroutine ss
>       CHARACTER(3), save :: ZTYP(3)
>       DATA ZTYP /'XXX','YYY','ZZZ'/
>       write(*,600,IOSTAT=iosa) 0.0,ZTYP
>       write(*,*) 'iostat=',iosa

If you're going to check for an error, then you should use it.
This should be closed.


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

* [Bug middle-end/61630] [5 Regression] ICE in symtab_get_node
  2014-06-27 14:14 [Bug middle-end/61630] New: [4.10 Regression] ICE in symtab_get_node dje at gcc dot gnu.org
  2014-06-27 14:16 ` [Bug middle-end/61630] " dje at gcc dot gnu.org
  2014-06-27 16:13 ` ubizjak at gmail dot com
@ 2014-11-19 13:52 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 13:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61630

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

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Assuming so.


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

end of thread, other threads:[~2014-11-19 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-27 14:14 [Bug middle-end/61630] New: [4.10 Regression] ICE in symtab_get_node dje at gcc dot gnu.org
2014-06-27 14:16 ` [Bug middle-end/61630] " dje at gcc dot gnu.org
2014-06-27 16:13 ` ubizjak at gmail dot com
2014-11-19 13:52 ` [Bug middle-end/61630] [5 " rguenth at gcc dot gnu.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).