public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/44149] -fuse-linker-plugin lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610
Date: Mon, 17 May 2010 09:10:00 -0000 [thread overview]
Message-ID: <20100517091019.31933.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44149-17017@http.gcc.gnu.org/bugzilla/>
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-17 09:10 -------
(In reply to comment #3)
> It might be useful to compare the two decls that invoke the mismatch that
> triggers the gcc_assert:
>
> prevailing->decl is:
>
> <function_decl 0x7fb0f574f900 convect_satmixratio
> type <function_type 0x7fb0f5786b28
> type <void_type 0x7fb0f584cd20 VOID
> align 8 symtab 0 alias set -1 canonical type 0x7fb0f584cd20
> pointer_to_this <pointer_type 0x7fb0f584cdc8>>
> QI
> size <integer_cst 0x7fb0f583d758 constant 8>
> unit size <integer_cst 0x7fb0f583d780 constant 1>
> align 8 symtab 0 alias set -1 canonical type 0x7fb0f5786b28>
> public external QI file bkfconv.f90 line 517 col 0 align 8>
>
> whereas e->decl is:
>
> <function_decl 0x7fb0f574f600 convect_satmixratio
> type <function_type 0x7fb0f5763b28
> type <void_type 0x7fb0f584cd20 VOID
> align 8 symtab 0 alias set -1 canonical type 0x7fb0f584cd20
> pointer_to_this <pointer_type 0x7fb0f584cdc8>>
> QI
> size <integer_cst 0x7fb0f583d758 constant 8>
> unit size <integer_cst 0x7fb0f583d780 constant 1>
> align 8 symtab 0 alias set -1 canonical type 0x7fb0f5763b28
> arg-types <tree_list 0x7fb0f5754bb8 value <reference_type
> 0x7fb0f5750738>
> chain <tree_list 0x7fb0f5754be0 value <pointer_type 0x7fb0f5763bd0>
> chain <tree_list 0x7fb0f5754c08 value <pointer_type
> 0x7fb0f5764000>
> chain <tree_list 0x7fb0f5754c30 value <pointer_type
> 0x7fb0f57643f0>
> chain <tree_list 0x7fb0f5754c58 value <pointer_type
> 0x7fb0f57647e0> chain <tree_list 0x7fb0f5754c80>>>>>>>
> nothrow public static QI file bkfconv.f90 line 400 col 0 align 8
> arguments <parm_decl 0x7fb0f5760660 klon
> type <reference_type 0x7fb0f5750738 type <integer_type 0x7fb0f584c498>
> unsigned restrict DI
> size <integer_cst 0x7fb0f583da50 constant 64>
> unit size <integer_cst 0x7fb0f583da78 constant 8>
> align 64 symtab 0 alias set -1 canonical type 0x7fb0f5750738>
> readonly used unsigned DI passed-by-reference file bkfconv.f90 line 400
> col 0 size <integer_cst 0x7fb0f583da50 64> unit size <integer_cst
> 0x7fb0f583da78 8>
> align 64 context <function_decl 0x7fb0f574f600 convect_satmixratio>
> arg-type <reference_type 0x7fb0f5750738>
> chain <parm_decl 0x7fb0f57606e8 ppres type <pointer_type
> 0x7fb0f57653f0>
> readonly used unsigned DI passed-by-reference file bkfconv.f90 line
> 400 col 0 size <integer_cst 0x7fb0f583da50 64> unit size <integer_cst
> 0x7fb0f583da78 8>
> align 64 context <function_decl 0x7fb0f574f600 convect_satmixratio>
> arg-type <pointer_type 0x7fb0f5763bd0> chain <parm_decl 0x7fb0f5760770 pt>>>
> result <result_decl 0x7fb0f5752180 D.2157 type <void_type 0x7fb0f584cd20>
> ignored VOID file bkfconv.f90 line 400 col 0
> align 8 context <function_decl 0x7fb0f574f600 convect_satmixratio>>>
>
> This is found by adding the following to lto-symtab.c:
It's obvious that somehow the prevailing one is the wrong one.
<function_decl 0x7fb0f574f900 convect_satmixratio
type <function_type 0x7fb0f5786b28
type <void_type 0x7fb0f584cd20 VOID
align 8 symtab 0 alias set -1 canonical type 0x7fb0f584cd20
pointer_to_this <pointer_type 0x7fb0f584cdc8>>
QI
size <integer_cst 0x7fb0f583d758 constant 8>
unit size <integer_cst 0x7fb0f583d780 constant 1>
align 8 symtab 0 alias set -1 canonical type 0x7fb0f5786b28>
public external QI file bkfconv.f90 line 517 col 0 align 8>
isn't prevailing at all.
--
rguenth 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 |2010-05-17 09:10:19
date| |
Summary|lto1: internal compiler |-fuse-linker-plugin lto1:
|error: in |internal compiler error: in
|lto_symtab_merge_decls_1, at|lto_symtab_merge_decls_1, at
|lto-symtab.c:610 |lto-symtab.c:610
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44149
next prev parent reply other threads:[~2010-05-17 9:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-15 9:30 [Bug lto/44149] New: " toon at moene dot org
2010-05-15 9:33 ` [Bug lto/44149] " toon at moene dot org
2010-05-16 18:36 ` toon at moene dot org
2010-05-16 18:51 ` toon at moene dot org
2010-05-17 9:10 ` rguenth at gcc dot gnu dot org [this message]
2010-05-18 18:15 ` [Bug lto/44149] -fuse-linker-plugin " ccoutant at gcc dot gnu dot org
[not found] <bug-44149-4@http.gcc.gnu.org/bugzilla/>
2011-05-08 13:26 ` toon at moene dot org
2011-05-08 13:31 ` toon at moene dot org
2011-06-21 19:49 ` paolo.carlini at oracle dot com
2011-06-21 19:49 ` paolo.carlini at oracle dot com
2011-06-21 19:52 ` dominiq at lps dot ens.fr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100517091019.31933.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).