public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36342]  New: Missing file name in compilation diagnostics with '-cpp' or '-x f95-cpp-input'
@ 2008-05-27 11:58 P dot Schaffnit at access dot rwth-aachen dot de
  2008-05-27 15:22 ` [Bug fortran/36342] " dfranke at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: P dot Schaffnit at access dot rwth-aachen dot de @ 2008-05-27 11:58 UTC (permalink / raw)
  To: gcc-bugs

Hi!

'-cpp' or '-x f95-cpp-input' seem to damage compilation warning (locus?), one
can certainly live with it, but this is a bit annoying...

Thanks!

Philippe

PS:

cat Check_Warnings.f90
!
      PROGRAM Test
!
      IMPLICIT NONE
!
      INTEGER ::   Junk_1, Junk_2, Junk_3
!
      Junk_1 = Junk_2
!
      END PROGRAM Test
!

gfortran -g -Wall -O1 -c Check_Warnings.f90
Check_Warnings.f90: In function 'test':
Check_Warnings.f90:9: warning: 'junk_2' is used uninitialized in this function

gfortran -g -Wall -O1 -cpp -c Check_Warnings.f90

: In function 'test':

:9: warning: 'junk_2' is used uninitialized in this function

gfortran -g -Wall -O1 -x f95-cpp-input -c Check_Warnings.f90

: In function 'test':

:9: warning: 'junk_2' is used uninitialized in this function


gfortran --version
GNU Fortran (GCC) 4.4.0 20080527 (experimental) [trunk revision 135966]
...


-- 
           Summary: Missing file name in compilation diagnostics with '-cpp'
                    or '-x f95-cpp-input'
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: P dot Schaffnit at access dot rwth-aachen dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36342


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

end of thread, other threads:[~2008-07-19 18:31 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-27 11:58 [Bug fortran/36342] New: Missing file name in compilation diagnostics with '-cpp' or '-x f95-cpp-input' P dot Schaffnit at access dot rwth-aachen dot de
2008-05-27 15:22 ` [Bug fortran/36342] " dfranke at gcc dot gnu dot org
2008-05-28 11:06 ` P dot Schaffnit at access dot rwth-aachen dot de
2008-06-02 18:56 ` [Bug middle-end/36342] [4.4 Regression] Missing file name in compilation diagnostics of preprocessed fortran source dfranke at gcc dot gnu dot org
2008-06-06  8:27 ` dfranke at gcc dot gnu dot org
2008-06-06  8:30 ` P dot Schaffnit at access dot rwth-aachen dot de
2008-06-06 10:42 ` [Bug fortran/36342] " dfranke at gcc dot gnu dot org
2008-06-11 11:13 ` jsm28 at gcc dot gnu dot org
2008-06-13 21:19 ` burnus at gcc dot gnu dot org
2008-06-16 17:57 ` burnus at gcc dot gnu dot org
2008-06-16 20:23 ` pault at gcc dot gnu dot org
2008-06-16 21:50 ` dfranke at gcc dot gnu dot org
2008-06-18  7:18 ` pault at gcc dot gnu dot org
2008-06-18  7:21 ` P dot Schaffnit at access dot rwth-aachen dot de
2008-06-18 15:44 ` burnus at gcc dot gnu dot org
2008-06-18 16:49 ` dfranke at gcc dot gnu dot org
2008-06-20 14:01 ` laurynas dot biveinis at gmail dot com
2008-07-17 13:31 ` burnus at gcc dot gnu dot org
2008-07-18 16:51 ` rguenth at gcc dot gnu dot org
2008-07-19 18:28 ` burnus at gcc dot gnu dot org
2008-07-19 18:31 ` burnus at gcc dot gnu dot 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).