public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jgreenhalgh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66541] New: r224314 causes ICE in gcc.dg/torture/pr52429.c
Date: Mon, 15 Jun 2015 09:58:00 -0000 [thread overview]
Message-ID: <bug-66541-4@http.gcc.gnu.org/bugzilla/> (raw)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541
Bug ID: 66541
Summary: r224314 causes ICE in gcc.dg/torture/pr52429.c
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: jgreenhalgh at gcc dot gnu.org
CC: christian.bruel at st dot com
Target Milestone: ---
Target: arm-none-linux-gnueabihf
Created attachment 35781
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35781&action=edit
Reduced testcase
Looks closely related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64047
Reduced testcase attached, but the one in the testsuite is just as good.
.../gcc/cc1 besttry.c -O2 -ftree-parallelize-loops=4 -O2 -flto
-fno-use-linker-plugin -ftree-parallelize-loops=4 -o pr52429.s
foo
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <build_ssa_passes> <opt_local_passes>
<free-inline-summary> <whole-program> <profile_estimate> <icf> <devirt> <cp>
<inline> <pure-const> <static-var> <single-use> <comdats>Assembling functions:
foo
.../gcc/testsuite/gcc.dg/torture/pr52429.c: In function ‘foo’:
.../gcc/testsuite/gcc.dg/torture/pr52429.c:11:1: internal compiler error:
Segmentation fault
int i;
^
0xafa15f crash_signal
.../gcc/toplev.c:369
0x97c2b4 record_operand_costs
.../gcc/ira-costs.c:1305
0x97c7a4 scan_one_insn
.../gcc/ira-costs.c:1483
0x97c7a4 process_bb_for_costs
.../gcc/ira-costs.c:1604
0x97d715 find_costs_and_classes
.../gcc/ira-costs.c:1711
0x97ec3a ira_set_pseudo_classes(bool, _IO_FILE*)
.../gcc/ira-costs.c:2245
0xffd743 alloc_global_sched_pressure_data
.../gcc/haifa-sched.c:7119
0xffd743 sched_init()
.../gcc/haifa-sched.c:7269
0xffebcf haifa_sched_init()
.../gcc/haifa-sched.c:7281
0xaab8dc schedule_insns
.../gcc/sched-rgn.c:3411
0xaac0b3 schedule_insns
.../gcc/sched-rgn.c:3405
0xaac0b3 rest_of_handle_sched
.../gcc/sched-rgn.c:3624
0xaac0b3 execute
.../gcc/sched-rgn.c:3732
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-488985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 15 10:08:46 2015
Return-Path: <gcc-bugs-return-488985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10635 invoked by alias); 15 Jun 2015 10:08:46 -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 10316 invoked by uid 55); 15 Jun 2015 10:08:40 -0000
From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/44672] [F08] ALLOCATE with SOURCE and no array-spec
Date: Mon, 15 Jun 2015 10:08: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.6.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vehre at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-44672-4-uVZePk9mix@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44672-4@http.gcc.gnu.org/bugzilla/>
References: <bug-44672-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-06/txt/msg01317.txt.bz2
Content-length: 2646
https://gcc.gnu.org/bugzilla/show_bug.cgi?idD672
--- Comment #9 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Mon Jun 15 10:08:04 2015
New Revision: 224477
URL: https://gcc.gnu.org/viewcvs?rev"4477&root=gcc&view=rev
Log:
gcc/testsuite/ChangeLog:
2015-06-15 Andre Vehreschild <vehre@gmx.de>
PR fortran/44672
PR fortran/45440
PR fortran/57307
* gfortran.dg/allocate_with_source_3.f90: Removed check for
unimplemented error.
* gfortran.dg/allocate_with_source_7.f08: New test.
* gfortran.dg/allocate_with_source_8.f08: New test.
gcc/fortran/ChangeLog:
2015-06-15 Andre Vehreschild <vehre@gmx.de>
PR fortran/44672
PR fortran/45440
PR fortran/57307
* gfortran.h: Extend gfc_code.ext.alloc to carry a
flag indicating that the array specification has to be
taken from expr3.
* resolve.c (resolve_allocate_expr): Add F2008 notify
and flag indicating source driven array spec.
(resolve_allocate_deallocate): Check for source driven
array spec, when array to allocate has no explicit
array spec.
* trans-array.c (gfc_array_init_size): Get lower and
upper bound from a tree array descriptor, except when
the source expression is an array-constructor which is
fixed to be one-based.
(retrieve_last_ref): Extracted from gfc_array_allocate().
(gfc_array_allocate): Enable allocate(array, source array_expression) as specified by F2008:C633.
(gfc_conv_expr_descriptor): Add class tree expression
into the saved descriptor for class arrays.
* trans-array.h: Add temporary array descriptor to
gfc_array_allocate ().
* trans-expr.c (gfc_conv_procedure_call): Special handling
for _copy() routine translation, that comes without an
interface. Third and fourth argument are now passed by value.
* trans-stmt.c (gfc_trans_allocate): Get expr3 array
descriptor for temporary arrays to allow allocate(array,
source = array_expression) for array without array
specification.
Added:
trunk/gcc/testsuite/gfortran.dg/allocate_with_source_7.f08
trunk/gcc/testsuite/gfortran.dg/allocate_with_source_8.f08
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/trans-array.c
trunk/gcc/fortran/trans-array.h
trunk/gcc/fortran/trans-expr.c
trunk/gcc/fortran/trans-stmt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/allocate_with_source_3.f90
next reply other threads:[~2015-06-15 9:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-15 9:58 jgreenhalgh at gcc dot gnu.org [this message]
2015-06-15 12:25 ` [Bug target/66541] " chrbr at gcc dot gnu.org
2015-06-16 10:45 ` [Bug target/66541] [5/6 Regression] " rguenth at gcc dot gnu.org
2015-06-19 6:59 ` chrbr at gcc dot gnu.org
2015-06-19 7:11 ` chrbr at gcc dot gnu.org
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-66541-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).