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

             Bug #: 55884
           Summary: FAIL: libgomp.fortran/omp_parse3.f90  -O0  (test for
                    excess errors)
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dang...@gcc.gnu.org
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11


Created attachment 29087
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29087
omp_parse3 compile log with -v -Wl,-debug

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/omp_parse3.f90
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/.libs
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp
-I/test/gnu/gcc/gcc/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -fopenmp -fintrinsic-modules-path
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libquadmath/.libs/
-O0 -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libquadmath/.libs/
-L/test/gnu/gcc/objdir/hppa
2.0w-hp-hpux11.11/./libgomp/../libgfortran/.libs -lgfortran -lm -o
./omp_parse3.
exe
xgcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
collect2: error: gcc returned 1 exit status
compiler exited with status 1

With -v:

 /test/gnu/gcc/objdir/gcc/collect2 -z -u main -u __gcc_plt_call -o
./omp_parse3.exe /usr/ccs/lib/crt0.o /lib/unix98.o
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libquadmath/.libs/
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libgfortran/.libs
-L/test/gnu/gcc/objdir/gcc
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs -L/usr/ccs/lib
-L/opt/langtools/lib omp_parse3.o -lgfortran -lm -lgomp -lgcc -lgcc_eh -lrt
-lpthread -lc -lgcc -lgcc_eh -lgcc_stub
xgcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.

With -Wl,-debug:

/test/gnu/gcc/objdir/gcc/xgcc -x c -c -o /var/tmp//ccGz9WOJ.o -B
/test/gnu/gcc/objdir/gcc/ -B
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/ -B
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/.libs -fmessage-length=0
-fno-diagnostics-show-caret -fopenmp -fintrinsic-modules-path -B
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libquadmath/.libs/ -B
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libgfortran/.libs
-fno-profile-arcs -fno-test-coverage -fno-branch-probabilities -fno-exceptions
-w -fno-whole-program /var/tmp//ccRV7Hds.c
xgcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
collect2: error: gcc returned 1 exit status
ÄLeaving /var/tmp//ccRV7Hds.cÅ
ÄLeaving /var/tmp//ccGz9WOJ.oÅ
ÄLeaving /var/tmp//ccfn45y1.ldÅ
ÄLeaving /var/tmp//ccimnM3j.leÅ
ÄLeaving ./omp_parse3.exeÅ

Reply via email to