public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/65025] Internal compiler error with preprocessor in gfortran
       [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
@ 2015-02-11 18:50 ` dominiq at lps dot ens.fr
  2015-02-11 19:18 ` fkrogh#gcc at mathalacarte dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-02-11 18:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
*** Bug 65026 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/65025] Internal compiler error with preprocessor in gfortran
       [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
  2015-02-11 18:50 ` [Bug fortran/65025] Internal compiler error with preprocessor in gfortran dominiq at lps dot ens.fr
@ 2015-02-11 19:18 ` fkrogh#gcc at mathalacarte dot com
  2015-02-11 19:50 ` dominiq at lps dot ens.fr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: fkrogh#gcc at mathalacarte dot com @ 2015-02-11 19:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025

--- Comment #2 from Fred Krogh <fkrogh#gcc at mathalacarte dot com> ---
Created attachment 34734
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34734&action=edit
The small test program that shows the error.

Maybe this time the code will get there?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/65025] Internal compiler error with preprocessor in gfortran
       [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
  2015-02-11 18:50 ` [Bug fortran/65025] Internal compiler error with preprocessor in gfortran dominiq at lps dot ens.fr
  2015-02-11 19:18 ` fkrogh#gcc at mathalacarte dot com
@ 2015-02-11 19:50 ` dominiq at lps dot ens.fr
  2015-02-11 23:24 ` fkrogh#gcc at mathalacarte dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-02-11 19:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Maybe this time the code will get there?

The code was there in this PR, but not in 65026.

#if plet_=='s'
#define ckind__ C_FLOAT
#elif plet_=='q'
#define ckind__ C_LONG_DOUBLE  
#elif plet_=='d'
#define  ckind__ C_DOUBLE
#endif
end

is enough to reproduce the ICE.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/65025] Internal compiler error with preprocessor in gfortran
       [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-02-11 19:50 ` dominiq at lps dot ens.fr
@ 2015-02-11 23:24 ` fkrogh#gcc at mathalacarte dot com
  2015-02-12  1:58 ` fkrogh#gcc at mathalacarte dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: fkrogh#gcc at mathalacarte dot com @ 2015-02-11 23:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025

--- Comment #4 from Fred Krogh <fkrogh#gcc at mathalacarte dot com> ---
In collapsing a big code to the small example, I left out a line that should be
there.  Add below the first line

  use ISO_C_BINDING, only: C_DOUBLE, C_FLOAT, C_LONG_DOUBLE

This has no effect however on the internal compiler error.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/65025] Internal compiler error with preprocessor in gfortran
       [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2015-02-11 23:24 ` fkrogh#gcc at mathalacarte dot com
@ 2015-02-12  1:58 ` fkrogh#gcc at mathalacarte dot com
  2015-02-13 11:19 ` dominiq at lps dot ens.fr
  2021-08-27  1:46 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: fkrogh#gcc at mathalacarte dot com @ 2015-02-12  1:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025

--- Comment #5 from Fred Krogh <fkrogh#gcc at mathalacarte dot com> ---
I realize (now) that this is not a valid Fortran code.  I was trying to hard to
make it work like it works in C.  Removing the apostrophes around the s, d, and
q, in both the code and on the command line, and all works, although I'm not
sure about it being portable.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/65025] Internal compiler error with preprocessor in gfortran
       [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-02-12  1:58 ` fkrogh#gcc at mathalacarte dot com
@ 2015-02-13 11:19 ` dominiq at lps dot ens.fr
  2021-08-27  1:46 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-02-13 11:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-13
     Ever confirmed|0                           |1

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Reduced test

#if plet=='s'
#define ckind
#endif
end

[Book15] f90/bug% gfc -cpp pr65025_db_1.f90
<built-in>: internal compiler error: Segmentation fault: 11

I see it with gfortran 4.4.7.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/65025] Internal compiler error with preprocessor in gfortran
       [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2015-02-13 11:19 ` dominiq at lps dot ens.fr
@ 2021-08-27  1:46 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-27  1:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 55210.

*** This bug has been marked as a duplicate of bug 55210 ***

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-27  1:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-65025-4@http.gcc.gnu.org/bugzilla/>
2015-02-11 18:50 ` [Bug fortran/65025] Internal compiler error with preprocessor in gfortran dominiq at lps dot ens.fr
2015-02-11 19:18 ` fkrogh#gcc at mathalacarte dot com
2015-02-11 19:50 ` dominiq at lps dot ens.fr
2015-02-11 23:24 ` fkrogh#gcc at mathalacarte dot com
2015-02-12  1:58 ` fkrogh#gcc at mathalacarte dot com
2015-02-13 11:19 ` dominiq at lps dot ens.fr
2021-08-27  1:46 ` pinskia 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).