This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/68968] Internal Compiler error with cpp


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-12-18
            Summary|Internal Compiler error     |Internal Compiler error
                   |                            |with cpp
     Ever confirmed|0                           |1

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> If gfortran is replaced by cpp in the above, it seems to generate what one
> would expect.

Confirmed from 4.4 up to trunk (6.0). I get the same ICE if I compile the test
with -cpp.

> A workaround is to remove the apostrophes around 's', 'd', and 'q'.

This "fixes" the ICE, but the executable prints

C_FLOAT

for s, d, or q and ICE for -Dplet_=\'q\'.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]