public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66541] New: r224314 causes ICE in gcc.dg/torture/pr52429.c
@ 2015-06-15 9:58 jgreenhalgh at gcc dot gnu.org
2015-06-15 12:25 ` [Bug target/66541] " chrbr at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2015-06-15 9:58 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/66541] r224314 causes ICE in gcc.dg/torture/pr52429.c
2015-06-15 9:58 [Bug target/66541] New: r224314 causes ICE in gcc.dg/torture/pr52429.c jgreenhalgh at gcc dot gnu.org
@ 2015-06-15 12:25 ` chrbr at gcc dot gnu.org
2015-06-16 10:45 ` [Bug target/66541] [5/6 Regression] " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: chrbr at gcc dot gnu.org @ 2015-06-15 12:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541
chrbr at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-06-15
CC| |chrbr at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from chrbr at gcc dot gnu.org ---
Confirmed.
since r217659. DECL_FUNCTION_SPECIFIC_TARGET is set with
target_option_default_node.
Needs catch up with i386 ix86_set_current_function changes.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/66541] [5/6 Regression] r224314 causes ICE in gcc.dg/torture/pr52429.c
2015-06-15 9:58 [Bug target/66541] New: r224314 causes ICE in gcc.dg/torture/pr52429.c jgreenhalgh at gcc dot gnu.org
2015-06-15 12:25 ` [Bug target/66541] " chrbr at gcc dot gnu.org
@ 2015-06-16 10:45 ` 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
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-16 10:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |5.2
Summary|r224314 causes ICE in |[5/6 Regression] r224314
|gcc.dg/torture/pr52429.c |causes ICE in
| |gcc.dg/torture/pr52429.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/66541] [5/6 Regression] r224314 causes ICE in gcc.dg/torture/pr52429.c
2015-06-15 9:58 [Bug target/66541] New: r224314 causes ICE in gcc.dg/torture/pr52429.c jgreenhalgh at gcc dot gnu.org
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
3 siblings, 0 replies; 5+ messages in thread
From: chrbr at gcc dot gnu.org @ 2015-06-19 6:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541
--- Comment #2 from chrbr at gcc dot gnu.org ---
Author: chrbr
Date: Fri Jun 19 06:58:22 2015
New Revision: 224638
URL: https://gcc.gnu.org/viewcvs?rev=224638&root=gcc&view=rev
Log:
PR target/66541
PR target/52144
* config/arm/arm.c (arm_set_current_function): Handle
explicit default options.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/66541] [5/6 Regression] r224314 causes ICE in gcc.dg/torture/pr52429.c
2015-06-15 9:58 [Bug target/66541] New: r224314 causes ICE in gcc.dg/torture/pr52429.c jgreenhalgh at gcc dot gnu.org
` (2 preceding siblings ...)
2015-06-19 6:59 ` chrbr at gcc dot gnu.org
@ 2015-06-19 7:11 ` chrbr at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: chrbr at gcc dot gnu.org @ 2015-06-19 7:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541
chrbr at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from chrbr at gcc dot gnu.org ---
fixed failing test with arm-cortex-linux-gnueabi. no regs
note I have the feeling that target_reinit is not always called at it should on
execution paths when switching mode to default. However I was not able to
forge a case. IMHO this function will need rethinking when implementing fpu
target attributes
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-06-19 7:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-15 9:58 [Bug target/66541] New: r224314 causes ICE in gcc.dg/torture/pr52429.c jgreenhalgh at gcc dot gnu.org
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
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).