[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dje at gcc dot gnu.org
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

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dominiq at lps dot ens.fr
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

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dje at gcc dot gnu.org
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

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dominiq at lps dot ens.fr
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' ... ?

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dominiq at lps dot ens.fr
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

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dje at gcc dot gnu.org
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

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dominiq at lps dot ens.fr
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

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765 David Edelsohn changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from David Edelsohn

[Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2

2015-08-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|