public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/26784] New: Fortran frontend ICEs on -fmudflap
@ 2006-03-21 16:55 reichelt at gcc dot gnu dot org
2006-03-26 4:26 ` [Bug fortran/26784] " kargl at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-03-21 16:55 UTC (permalink / raw)
To: gcc-bugs
Compiling any Fortran file with -fmudflap results in an ICE:
f951: warning: command line option "-fno-builtin" is valid for
C/C++/ObjC/ObjC++ but not for Fortran
lall.f:0: internal compiler error: mudflap: this language is not supported
Please submit a full bug report, [etc.]
In addition the warning is bogus as "-fno-builtin" wasn't specified.
This happens since 4.0.0.
--
Summary: Fortran frontend ICEs on -fmudflap
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26784
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/26784] Fortran frontend ICEs on -fmudflap
2006-03-21 16:55 [Bug fortran/26784] New: Fortran frontend ICEs on -fmudflap reichelt at gcc dot gnu dot org
@ 2006-03-26 4:26 ` kargl at gcc dot gnu dot org
2006-03-26 11:15 ` reichelt at gcc dot gnu dot org
2006-04-30 4:21 ` [Bug middle-end/26784] Non C based " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-03-26 4:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from kargl at gcc dot gnu dot org 2006-03-26 04:26 -------
It is not at all clear why you're trying to use libmudflap
with gfortran. Have you read the gcc.info of -fmudflap?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26784
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/26784] Fortran frontend ICEs on -fmudflap
2006-03-21 16:55 [Bug fortran/26784] New: Fortran frontend ICEs on -fmudflap reichelt at gcc dot gnu dot org
2006-03-26 4:26 ` [Bug fortran/26784] " kargl at gcc dot gnu dot org
@ 2006-03-26 11:15 ` reichelt at gcc dot gnu dot org
2006-04-30 4:21 ` [Bug middle-end/26784] Non C based " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-03-26 11:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-03-26 11:15 -------
> It is not at all clear why you're trying to use libmudflap
> with gfortran. Have you read the gcc.info of -fmudflap?
I know that you cannot use -fmudflap with gfortran. But that's not
the point. If I specify an invalid option the frontend should produce
a nice error instead of a bogus warning and an ICE.
(Maybe ice-on-invalid-code is a better description than ice-on-valid-code,
although the code might be valid, it's the the command line option that
isn't.)
For
gfortran -c -finvalid-option file.f90
I get
f951: error: unrecognized command line option "-finvalid-option"
which is OK.
But for
gfortran -c -fmudflap file.f90
I get
f951: warning: command line option "-fno-builtin" is valid for
C/C++/ObjC/ObjC++ but not for Fortran
bug.f90:0: internal compiler error: mudflap: this language is not supported
Please submit a full bug report, [etc.]
which is not OK. An ICE indicates a bug in the compiler per definition.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26784
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/26784] Non C based frontend ICEs on -fmudflap
2006-03-21 16:55 [Bug fortran/26784] New: Fortran frontend ICEs on -fmudflap reichelt at gcc dot gnu dot org
2006-03-26 4:26 ` [Bug fortran/26784] " kargl at gcc dot gnu dot org
2006-03-26 11:15 ` reichelt at gcc dot gnu dot org
@ 2006-04-30 4:21 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-30 4:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-30 04:21 -------
Actually this is not a bug in the front-end but rather with -fmudflap causing
the crash and saying it is not supported for any language except for C based
ones.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|fortran |middle-end
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-04-30 04:21:44
date| |
Summary|Fortran frontend ICEs on - |Non C based frontend ICEs on
|fmudflap |-fmudflap
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26784
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/26784] Non C based frontend ICEs on -fmudflap
[not found] <bug-26784-4@http.gcc.gnu.org/bugzilla/>
@ 2013-10-02 20:12 ` reichelt at gcc dot gnu.org
0 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu.org @ 2013-10-02 20:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26784
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code, |
|monitored |
Status|NEW |RESOLVED
Known to work| |4.7.0
Resolution|--- |FIXED
Known to fail| |4.0.0, 4.2.0, 4.6.0
--- Comment #4 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
This seems to be fixed since GCC 4.7.0. The ICE is gone and a sensible warning
is given (although the second line of the warning is still questionable):
f951: warning: command line option '-fmudflap' is valid for C/C++/ObjC/ObjC++
but not for Fortran [enabled by default]
f951: warning: command line option '-fno-builtin' is valid for
C/C++/ObjC/ObjC++ but not for Fortran [enabled by default]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-10-02 20:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-21 16:55 [Bug fortran/26784] New: Fortran frontend ICEs on -fmudflap reichelt at gcc dot gnu dot org
2006-03-26 4:26 ` [Bug fortran/26784] " kargl at gcc dot gnu dot org
2006-03-26 11:15 ` reichelt at gcc dot gnu dot org
2006-04-30 4:21 ` [Bug middle-end/26784] Non C based " pinskia at gcc dot gnu dot org
[not found] <bug-26784-4@http.gcc.gnu.org/bugzilla/>
2013-10-02 20:12 ` reichelt 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).