public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran
@ 2008-04-23 22:14 drow at gcc dot gnu dot org
2008-05-29 0:14 ` [Bug fortran/36031] " pbrook at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: drow at gcc dot gnu dot org @ 2008-04-23 22:14 UTC (permalink / raw)
To: gcc-bugs
The -fshort-enums option emits a note in the object file that the linker can
use to detect mismatches. It does not work for Fortran; the "int-sized enums"
attribute is emitted with or without -fshort-enums.
--
Summary: ARM -fshort-enums attribute not emitted for Fortran
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: drow at gcc dot gnu dot org
GCC target triplet: arm-none-linux-gnueabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36031
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/36031] ARM -fshort-enums attribute not emitted for Fortran
2008-04-23 22:14 [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran drow at gcc dot gnu dot org
@ 2008-05-29 0:14 ` pbrook at gcc dot gnu dot org
2009-03-28 13:01 ` fxcoudert at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2008-05-29 0:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pbrook at gcc dot gnu dot org 2008-05-29 00:13 -------
I think this is a gfortran bug. It implements its own short-enums flag instead
of using flag_short_enums.
--
pbrook at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|target |fortran
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-05-29 00:13:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36031
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/36031] ARM -fshort-enums attribute not emitted for Fortran
2008-04-23 22:14 [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran drow at gcc dot gnu dot org
2008-05-29 0:14 ` [Bug fortran/36031] " pbrook at gcc dot gnu dot org
@ 2009-03-28 13:01 ` fxcoudert at gcc dot gnu dot org
2009-05-16 11:02 ` fxcoudert at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-28 13:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2009-03-28 13:01 -------
Created an attachment (id=17554)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17554&action=view)
Tentative patch
Can you tell me if the patch attached fixes the issue?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36031
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/36031] ARM -fshort-enums attribute not emitted for Fortran
2008-04-23 22:14 [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran drow at gcc dot gnu dot org
2008-05-29 0:14 ` [Bug fortran/36031] " pbrook at gcc dot gnu dot org
2009-03-28 13:01 ` fxcoudert at gcc dot gnu dot org
@ 2009-05-16 11:02 ` fxcoudert at gcc dot gnu dot org
2009-05-16 16:11 ` fxcoudert at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-05-16 11:02 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2009-
| |05/msg00989.html
Status|NEW |ASSIGNED
Keywords| |patch
Last reconfirmed|2008-05-29 00:13:26 |2009-05-16 11:02:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36031
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/36031] ARM -fshort-enums attribute not emitted for Fortran
2008-04-23 22:14 [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran drow at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-05-16 11:02 ` fxcoudert at gcc dot gnu dot org
@ 2009-05-16 16:11 ` fxcoudert at gcc dot gnu dot org
2009-05-16 16:12 ` fxcoudert at gcc dot gnu dot org
2009-05-16 17:31 ` drow at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-05-16 16:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-05-16 16:11 -------
Subject: Bug 36031
Author: fxcoudert
Date: Sat May 16 16:11:11 2009
New Revision: 147615
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147615
Log:
PR fortran/36031
* decl.c (set_enum_kind): Use global short-enums flag.
* gfortran.h (gfc_option_t): Remove short_enums flag.
* lang.opt (-fshort-enums): Refer to C documentation.
* options.c (gfc_init_options, gfc_handle_option): Use global
short-enums flag.
Modified:
trunk/gcc/fortran/decl.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/lang.opt
trunk/gcc/fortran/options.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36031
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/36031] ARM -fshort-enums attribute not emitted for Fortran
2008-04-23 22:14 [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran drow at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-05-16 16:11 ` fxcoudert at gcc dot gnu dot org
@ 2009-05-16 16:12 ` fxcoudert at gcc dot gnu dot org
2009-05-16 17:31 ` drow at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-05-16 16:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2009-05-16 16:12 -------
Probably fixed on trunk. Please reopen if not.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36031
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/36031] ARM -fshort-enums attribute not emitted for Fortran
2008-04-23 22:14 [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran drow at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-05-16 16:12 ` fxcoudert at gcc dot gnu dot org
@ 2009-05-16 17:31 ` drow at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: drow at gcc dot gnu dot org @ 2009-05-16 17:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from drow at gcc dot gnu dot org 2009-05-16 17:31 -------
Subject: Re: ARM -fshort-enums attribute not emitted
for Fortran
On Sat, May 16, 2009 at 04:12:28PM -0000, fxcoudert at gcc dot gnu dot org
wrote:
> Probably fixed on trunk. Please reopen if not.
Thanks! I forgot to leave a note on how I encountered this, and I
don't remember :-(
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36031
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-05-16 17:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-23 22:14 [Bug target/36031] New: ARM -fshort-enums attribute not emitted for Fortran drow at gcc dot gnu dot org
2008-05-29 0:14 ` [Bug fortran/36031] " pbrook at gcc dot gnu dot org
2009-03-28 13:01 ` fxcoudert at gcc dot gnu dot org
2009-05-16 11:02 ` fxcoudert at gcc dot gnu dot org
2009-05-16 16:11 ` fxcoudert at gcc dot gnu dot org
2009-05-16 16:12 ` fxcoudert at gcc dot gnu dot org
2009-05-16 17:31 ` drow 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).