public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sampath.pamidi at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/62133] New: internal compiler error:in classify_argument, at config/i386/i386.c:6240 when using #pragma GCC target ("arch=core-avx2")
Date: Thu, 14 Aug 2014 09:45:00 -0000 [thread overview]
Message-ID: <bug-62133-4@http.gcc.gnu.org/bugzilla/> (raw)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62133
Bug ID: 62133
Summary: internal compiler error:in classify_argument, at
config/i386/i386.c:6240 when using #pragma GCC target
("arch=core-avx2")
Product: gcc
Version: 4.8.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: sampath.pamidi at gmail dot com
Compiler Output:
gcc -g testtarget.c
In file included from
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/immintrin.h:56:0,
from testtarget.c:4:
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/avxintrin.h: In function
â_mm256_load_si256â:
/usr/lib64/gcc/x86_64-suse-linux/4.8/include/avxintrin.h:869:1: internal
compiler error: in classify_argument, at config/i386/i386.c:6240
_mm256_load_si256 (__m256i const *__P)
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
*******************************
testtarget.c:
#pragma GCC push_options
#pragma GCC target ("arch=core-avx2")
#include <immintrin.h>
int main()
{
__m256i const *rem;
_mm256_load_si256( (__m256i*) rem );
}
#pragma GCC pop_options
***********************************
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib
--enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --enable-linker-build-id
--enable-linux-futex --program-suffix=-4.8 --without-system-libunwind
--with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
--host=x86_64-suse-linux
Thread model: posix
gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux)
>From gcc-bugs-return-458430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Aug 14 09:45:21 2014
Return-Path: <gcc-bugs-return-458430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13569 invoked by alias); 14 Aug 2014 09:45:21 -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 13515 invoked by uid 48); 14 Aug 2014 09:45:13 -0000
From: "mrestelli at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/62125] Nested select type not accepted (rejects valid)
Date: Thu, 14 Aug 2014 09:45: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mrestelli at gmail dot com
X-Bugzilla-Status: WAITING
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:
Message-ID: <bug-62125-4-33NxUyvSsr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62125-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62125-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-08/txt/msg00927.txt.bz2
Content-length: 923
https://gcc.gnu.org/bugzilla/show_bug.cgi?idb125
--- Comment #2 from mrestelli <mrestelli at gmail dot com> ---
I can not say 100% that the code is correct, but at least reading 8.6
"The SELECT TYPE Construct" of "The Fortran 2003 Handbook" I don't see
why it shouldn't.
Notice that: among rules and restrictions, 1. says
"The selector must be polymorphic."
and then "In the block following a CLASS IS type guard, the
associating entity is polymorphic and has the same declared type as
the selector. The type parameter values are those of the declared type
of the selector."
So, after the type guard class is(t2) I understand that u is a
polymorphic variable of type class(t2) which can be used as the
selector of a nested select type construct.
(Assuming the code is not legal, I would then claim that the error
message is not very clear, since inside the SELECT TYPE construct the
type of u is t2, not t1)
next reply other threads:[~2014-08-14 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 9:45 sampath.pamidi at gmail dot com [this message]
2021-08-09 6:50 ` [Bug target/62133] " pinskia at gcc dot gnu.org
2022-10-19 14:30 ` zsojka at seznam dot cz
2022-10-19 14:34 ` zsojka at seznam dot cz
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-62133-4@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).