https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #9 from David Edelsohn ---
> [Book15] f90/bug% gcc ya_sincos.c -fdump-fortran-original
> cc1: error: unrecognized command line option '-fdump-fortran-original'
This is a valid Fortran option producing an error from cc1 when passed to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #8 from Dominique d'Humieres ---
> Any of the Fortran FE options appearing in a link command likely cause an
> error.
Apparently it more complicated than that:
[Book15] f90/bug% gcc ya_sincos.c -fdump-fortran-original
cc1: error: u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #7 from David Edelsohn ---
AIX often exposes symptoms of bugs in common parts of the compiler. That does
not make the problem an AIX or target bug.
If the Fortran FE generates incorrect IR that causes an ICE in the middle end
of the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #6 from Dominique d'Humieres ---
BTW what happens on AIX with the other gfortran options such as '-frealloc-lhs'
... ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #5 from Dominique d'Humieres ---
> This is not a target-specific bug.
AFAICT the problem occurs only on AIX.
> The gfortran front-end should not insert FE-specific options into
> the environment utilized by other GCC tools.
If I co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #4 from David Edelsohn ---
This is not a target-specific bug. This has nothing to do with the target.
This is a bug where the gfortran front-end and collect2-ld do not work together
correctly. I don't know how collect2-ld can be ex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
--- Comment #3 from Dominique d'Humieres ---
> This has nothing to do with dejagnu. On AIX, collect2 re-invokes the compiler
> and collect2 uses the compiler command-line arguments. With or without
> dejagnu,
> the command is invoking a fortra
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
David Edelsohn changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #2 from David Edelsohn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|