public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66762] ICE when compiling gfortran.dg/submodule_[16].f90 with -flto
Date: Sun, 27 Sep 2015 17:55:00 -0000	[thread overview]
Message-ID: <bug-66762-4-X9r4ykhV8y@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-66762-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #7)
> I tried to investigate:
> gfortran ./gcc/testsuite/gfortran.dg/submodule_6.f08 -flto
> 
> If I compare corresponding argument passed to output_addr_const w/o LTO, I
> see:
> (const_int 54796891 [0x344225b])
> 
> ,instead of:
> (mem/u/f/c:DI (symbol_ref/f:DI ("*.LC0") [flags 0x2] <var_decl
> 0x7fbb9b3d52d0 *.LC0>) [0  S8 A64])
> 
> Thus it looks for me that in case of LTO, it is unable to resolve offset of
> the variable *.LC0:
> 
>  <var_decl 0x7ffff6a2c2d0 *.LC0
>     type <pointer_type 0x7ffff6e23888
>         type <record_type 0x7ffff6e237e0 t_a BLK
>             size <integer_cst 0x7ffff6c2bc30 constant 0>
>             unit size <integer_cst 0x7ffff6c2bbe8 constant 0>
>             align 8 symtab 0 alias set 0 canonical type 0x7ffff6e1ef18
> context <namespace_decl 0x7ffff6e225f0 mod_a>
>             pointer_to_this <pointer_type 0x7ffff6e23888> chain <type_decl
> 0x7ffff6e22688 D.3955>>
>         unsigned DI
>         size <integer_cst 0x7ffff6c2bbb8 constant 64>
>         unit size <integer_cst 0x7ffff6c2bbd0 constant 8>
>         align 64 symtab 0 alias set 0 canonical type 0x7ffff6c44738>
>     readonly addressable static unsigned ignored in-constant-pool DI file
> (null) line 0 col 0 size <integer_cst 0x7ffff6c2bbb8 64> unit size
> <integer_cst 0x7ffff6c2bbd0 8>
>     align 64 initial <constructor 0x7ffff6e24390>>
> 
> Martin

Dear Martin,

Thanks for taking a look. I am sorry to have taken so long to get back to you
but I have had a myriad of other things to do.

Do you by any chance know, which variable is causing the trouble? I am afraid
that *.LCO doesn't help me very much. This is wading around in a part of gcc
that I know essentially nothing about.

If it is lto___mod_a_MOD___vtab_mod_a_T_a, then is the multiplicity of sections
that is preventing the resolution of the offset?

Thanks in advance

Paul
>From gcc-bugs-return-498146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Sep 27 18:11:54 2015
Return-Path: <gcc-bugs-return-498146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126417 invoked by alias); 27 Sep 2015 18:11:54 -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 126354 invoked by uid 48); 27 Sep 2015 18:11:50 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/57195] Mode attributes with specific mode iterator can not be used as mode iterators in *.md files
Date: Sun, 27 Sep 2015 18:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-57195-4-jx4lpbgfUI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57195-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57195-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-09/txt/msg02124.txt.bz2
Content-length: 643

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.0

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
This patch enabled merge of x86 *vec_extract<PEXTR_MODE12:mode>_zext patterns
[1]. So, the PR is fixed.

[1] https://gcc.gnu.org/ml/gcc-patches/2015-09/msg02069.html
>From gcc-bugs-return-498147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Sep 27 18:23:06 2015
Return-Path: <gcc-bugs-return-498147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2409 invoked by alias); 27 Sep 2015 18:23:06 -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 2380 invoked by uid 48); 27 Sep 2015 18:23:02 -0000
From: "275438859 at qq dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67734] New: Gcc warning "gcc: warning:=?UTF-8?Q? couldn’t understand kern?=.=?UTF-8?Q?osversion ‘14?=.5.0"
Date: Sun, 27 Sep 2015 18:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: 275438859 at qq dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-67734-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-09/txt/msg02125.txt.bz2
Content-length: 1297

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

            Bug ID: 67734
           Summary: Gcc warning "gcc: warning: couldn’t understand
                    kern.osversion ‘14.5.0"
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: 275438859 at qq dot com
  Target Milestone: ---

Hi,everybody,
I have installed gcc(4.9.0) for my mac(OS X 10.10.5,Xcode6.4)with homebrew. But
it doesn't work properly.And after I input"gcc -v",it returns warning"gcc:
warning: couldn’t understand kern.osversion ‘14.5.0"

And the return with command:
$ gcc -v -save-temps all-your-options source-file
gcc: warning: couldn’t understand kern.osversion ‘14.5.0
gcc: error: all-your-options: No such file or directory
gcc: error: source-file: No such file or directory
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin12.4.0/4.9.0/lto-wrapper
Target: x86_64-apple-darwin12.4.0
Configured with: ../gcc-4.9-20130811/configure --enable-languages=fortran,c++
Thread model: posix
gcc version 4.9.0 20130811 (experimental) (GCC)
>From gcc-bugs-return-498148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Sep 27 18:35:24 2015
Return-Path: <gcc-bugs-return-498148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10419 invoked by alias); 27 Sep 2015 18:35:24 -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 10397 invoked by uid 48); 27 Sep 2015 18:35:20 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67734] Gcc warning "gcc: warning:=?UTF-8?Q? couldn’t understand kern?=.=?UTF-8?Q?osversion ‘14?=.5.0"
Date: Sun, 27 Sep 2015 18:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: component
Message-ID: <bug-67734-4-eFdq1pA7CN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67734-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67734-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: 2015-09/txt/msg02126.txt.bz2
Content-length: 421

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect 4.9 has no support for 10.10.5, try 5.x instead.


      parent reply	other threads:[~2015-09-27 17:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-04 12:25 [Bug fortran/66762] New: " dominiq at lps dot ens.fr
2015-07-04 15:12 ` [Bug fortran/66762] " pault at gcc dot gnu.org
2015-07-04 17:23 ` dominiq at lps dot ens.fr
2015-07-21 21:10 ` pault at gcc dot gnu.org
2015-07-23 10:58 ` dominiq at lps dot ens.fr
2015-09-06  1:14 ` dominiq at lps dot ens.fr
2015-09-06 11:45 ` paul.richard.thomas at gmail dot com
2015-09-08 12:19 ` marxin at gcc dot gnu.org
2015-09-27 17:55 ` pault at gcc dot gnu.org [this message]

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=bug-66762-4-X9r4ykhV8y@http.gcc.gnu.org/bugzilla/ \
    --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).