public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17758] New: gfortran_abort should be marked as noreturn
@ 2004-09-30 20:54 pinskia at gcc dot gnu dot org
2004-09-30 21:10 ` [Bug fortran/17758] " tobi at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-30 20:54 UTC (permalink / raw)
To: gcc-bugs
While looking into PR 17757, I noticed that gfortran_abort was not being marked as noreturn when it
should be as it does not return.
--
Summary: gfortran_abort should be marked as noreturn
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
@ 2004-09-30 21:10 ` tobi at gcc dot gnu dot org
2005-04-08 17:25 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-09-30 21:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-09-30 21:10 -------
same goes for stop_numeric and stop_string.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-30 21:10:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
2004-09-30 21:10 ` [Bug fortran/17758] " tobi at gcc dot gnu dot org
@ 2005-04-08 17:25 ` pinskia at gcc dot gnu dot org
2005-04-11 23:52 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-08 17:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-08 17:25 -------
I am going to fix this.
Is there any other known functions that don't return in fortran?
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
2004-09-30 21:10 ` [Bug fortran/17758] " tobi at gcc dot gnu dot org
2005-04-08 17:25 ` pinskia at gcc dot gnu dot org
@ 2005-04-11 23:52 ` pinskia at gcc dot gnu dot org
2005-04-14 19:22 ` [Bug fortran/17758] gfortran_abort and some others " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-11 23:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-11 23:52 -------
_gfortran_runtime_error is another one which shows up for -fbounds-checking.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort and some others should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-04-11 23:52 ` pinskia at gcc dot gnu dot org
@ 2005-04-14 19:22 ` pinskia at gcc dot gnu dot org
2005-08-09 20:00 ` tkoenig at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-14 19:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:22 -------
*** Bug 21027 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort and some others should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-04-14 19:22 ` [Bug fortran/17758] gfortran_abort and some others " pinskia at gcc dot gnu dot org
@ 2005-08-09 20:00 ` tkoenig at gcc dot gnu dot org
2005-08-10 0:39 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-08-09 20:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-09 20:00 -------
stop_numeric, stop_string and runtime_error have been fixed.
abort requires some more work.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort and some others should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-08-09 20:00 ` tkoenig at gcc dot gnu dot org
@ 2005-08-10 0:39 ` pinskia at gcc dot gnu dot org
2005-08-24 20:29 ` cvs-commit at gcc dot gnu dot org
2005-08-25 11:28 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-10 0:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-10 00:39 -------
Note working on this any more as other people are fixing this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort and some others should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-08-10 0:39 ` pinskia at gcc dot gnu dot org
@ 2005-08-24 20:29 ` cvs-commit at gcc dot gnu dot org
2005-08-25 11:28 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-24 20:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-24 20:04 -------
Subject: Bug 17758
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tkoenig@gcc.gnu.org 2005-08-24 20:04:21
Modified files:
gcc/testsuite : ChangeLog
gcc/fortran : ChangeLog gfortran.h intrinsic.c trans-decl.c
Added files:
gcc/testsuite/gfortran.dg: nonreturning_statements.f90
Log message:
2005-08-24 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/17758
* gfortran.h (symbol_attribute): Add noreturn to the structure.
(gfc_intrinsic_sym): Add noreturn to the structure.
* intrinsic.c (make_noreturn): New function.
(add_subroutines): Mark subroutines abort and exit as noreturn.
(gfc_intrinsic_sub_interface): Copy noreturn attribute from
isym to the resolved symbol.
* trans-decl.c (gfc_get_extern_function_decl): Set function
as VOLATILE (== noreturn) if the noreturn attribute is set.
2005-08-24 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/17758
gfortran.dg/nonreturning_statements.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5956&r2=1.5957
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/nonreturning_statements.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.531&r2=1.532
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gcc&r1=1.82&r2=1.83
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.c.diff?cvsroot=gcc&r1=1.53&r2=1.54
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-decl.c.diff?cvsroot=gcc&r1=1.66&r2=1.67
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/17758] gfortran_abort and some others should be marked as noreturn
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-08-24 20:29 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-25 11:28 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-25 11:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-25 11:27 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-08-25 11:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30 20:54 [Bug fortran/17758] New: gfortran_abort should be marked as noreturn pinskia at gcc dot gnu dot org
2004-09-30 21:10 ` [Bug fortran/17758] " tobi at gcc dot gnu dot org
2005-04-08 17:25 ` pinskia at gcc dot gnu dot org
2005-04-11 23:52 ` pinskia at gcc dot gnu dot org
2005-04-14 19:22 ` [Bug fortran/17758] gfortran_abort and some others " pinskia at gcc dot gnu dot org
2005-08-09 20:00 ` tkoenig at gcc dot gnu dot org
2005-08-10 0:39 ` pinskia at gcc dot gnu dot org
2005-08-24 20:29 ` cvs-commit at gcc dot gnu dot org
2005-08-25 11:28 ` pinskia at gcc dot gnu dot 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).