public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/38062]  New: FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
@ 2008-11-08 22:33 danglin at gcc dot gnu dot org
  2008-12-08 22:53 ` [Bug target/38062] " mikael at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-11-08 22:33 UTC (permalink / raw)
  To: gcc-bugs

Executing on host: /xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/
xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/xxx/gnu/gcc/gcc/gcc/testsuite/
gfortran.dg/include_2.f90   -O  -fpreprocessed -g3 
-L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs
-L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./
libgfortran/.libs -L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libiberty  -lm   
-o include_2.exe    (timeout = 600)
/var/tmp//ccK9X5C1.c:1: error: stray '#' in program
/var/tmp//ccK9X5C1.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '__cplusplus'
/var/tmp//ccK9X5C1.c:3: error: stray '#' in program
/var/tmp//ccK9X5C1.c:29: error: stray '#' in program
/var/tmp//ccK9X5C1.c:31: error: stray '#' in program/var/tmp//ccK9X5C1.c:31:
error: expected '=', ',', ';', 'asm' or '__attribute__' at end of
inputcollect2: gcc returned 1 exit status


-- 
           Summary: FAIL: gfortran.dg/include_2.f90  -O  (test for excess
                    errors): error: stray '#' in program
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa1.1-hp-hpux10.20
  GCC host triplet: hppa1.1-hp-hpux10.20
GCC target triplet: hppa1.1-hp-hpux10.20


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


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

* [Bug target/38062] FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
  2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
@ 2008-12-08 22:53 ` mikael at gcc dot gnu dot org
  2008-12-08 23:19 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mikael at gcc dot gnu dot org @ 2008-12-08 22:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mikael at gcc dot gnu dot org  2008-12-08 22:51 -------
Does it still happen?
If so, can you provide more information (host, version, configure options)?


-- 


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


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

* [Bug target/38062] FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
  2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
  2008-12-08 22:53 ` [Bug target/38062] " mikael at gcc dot gnu dot org
@ 2008-12-08 23:19 ` dave at hiauly1 dot hia dot nrc dot ca
  2008-12-09  0:51 ` mikael at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2008-12-08 23:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2008-12-08 23:17 -------
Subject: Re:  FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors):
error: stray '#' in program

> Does it still happen?

Not sure.  It takes a long time to do a full build on the this machine.

The test didn't fail in my last build on head.  Was there a recent backport
that might have fixed this PR?

> If so, can you provide more information (host, version, configure options)?

../gcc/configure --with-gnu-as --with-as=/usr/local/bin/as --enable-shared
--prefix=/opt/gnu/gcc/gcc-4.3.2 --with-gmp=/opt/gnu/gcc/gcc-4.3.2
--enable-debug=no --disable-nls --enable-checking=release
--enable-languages="c,c++,objc,fortran,ada,obj-c++"

The rest of the info is already in the PR (host, target, build).

Is there a way to capture the generated .c file?

Dave


-- 


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


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

* [Bug target/38062] FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
  2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
  2008-12-08 22:53 ` [Bug target/38062] " mikael at gcc dot gnu dot org
  2008-12-08 23:19 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2008-12-09  0:51 ` mikael at gcc dot gnu dot org
  2008-12-13 17:48 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mikael at gcc dot gnu dot org @ 2008-12-09  0:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mikael at gcc dot gnu dot org  2008-12-09 00:50 -------
(In reply to comment #2)
> The test didn't fail in my last build on head.  Was there a recent backport
> that might have fixed this PR?
Not really, I was having a look at forgotten PRs

> 
> > If so, can you provide more information (host, version, configure options)?
> 
> ../gcc/configure --with-gnu-as --with-as=/usr/local/bin/as --enable-shared
> --prefix=/opt/gnu/gcc/gcc-4.3.2 --with-gmp=/opt/gnu/gcc/gcc-4.3.2
> --enable-debug=no --disable-nls --enable-checking=release
> --enable-languages="c,c++,objc,fortran,ada,obj-c++"
> 
> The rest of the info is already in the PR (host, target, build).
Yes, sorry.

> 
> Is there a way to capture the generated .c file?
I'm not sure there should be a .c generated file here.

Can you compile the file with your host fortran compiler? With the bootstrapped
f951?
(For me, both work with the -g3 option)


-- 


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


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

* [Bug target/38062] FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
  2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-12-09  0:51 ` mikael at gcc dot gnu dot org
@ 2008-12-13 17:48 ` dave at hiauly1 dot hia dot nrc dot ca
  2008-12-13 17:53 ` danglin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2008-12-13 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2008-12-13 17:47 -------
Subject: Re:  FAIL: gfortran.dg/include_2.f90  -O  (test
        for excess errors): error: stray '#' in program

On Tue, 09 Dec 2008, mikael at gcc dot gnu dot org wrote:

> > Is there a way to capture the generated .c file?
> I'm not sure there should be a .c generated file here.

The .c file is generated by collect2.  There's a problem compiling it
using the fortran driver.  Attached log of compiler output with
"-v -Wl,-debug".

I vaguely recall that a fix was applied for this on the trunk.  I'll
see if I can find it.

Dave


------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2008-12-13 17:47 -------
Created an attachment (id=16903)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16903&action=view)


-- 


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


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

* [Bug target/38062] FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
  2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-12-13 17:48 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2008-12-13 17:53 ` danglin at gcc dot gnu dot org
  2008-12-14 22:33 ` danglin at gcc dot gnu dot org
  2008-12-14 22:34 ` danglin at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-12-13 17:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from danglin at gcc dot gnu dot org  2008-12-13 17:51 -------
Need to backport change from PR 35665.


-- 


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


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

* [Bug target/38062] FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
  2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-12-13 17:53 ` danglin at gcc dot gnu dot org
@ 2008-12-14 22:33 ` danglin at gcc dot gnu dot org
  2008-12-14 22:34 ` danglin at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-12-14 22:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from danglin at gcc dot gnu dot org  2008-12-14 22:31 -------
Subject: Bug 38062

Author: danglin
Date: Sun Dec 14 22:30:32 2008
New Revision: 142755

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142755
Log:
        PR target/38062
        Backport from mainline:
        2008-04-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

        * collect2.c (write_c_file): Don't wrap in "#ifdef __cplusplus".


Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/collect2.c


-- 


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


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

* [Bug target/38062] FAIL: gfortran.dg/include_2.f90  -O  (test for excess errors): error: stray '#' in program
  2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-12-14 22:33 ` danglin at gcc dot gnu dot org
@ 2008-12-14 22:34 ` danglin at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-12-14 22:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from danglin at gcc dot gnu dot org  2008-12-14 22:32 -------
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-12-14 22:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-08 22:33 [Bug target/38062] New: FAIL: gfortran.dg/include_2.f90 -O (test for excess errors): error: stray '#' in program danglin at gcc dot gnu dot org
2008-12-08 22:53 ` [Bug target/38062] " mikael at gcc dot gnu dot org
2008-12-08 23:19 ` dave at hiauly1 dot hia dot nrc dot ca
2008-12-09  0:51 ` mikael at gcc dot gnu dot org
2008-12-13 17:48 ` dave at hiauly1 dot hia dot nrc dot ca
2008-12-13 17:53 ` danglin at gcc dot gnu dot org
2008-12-14 22:33 ` danglin at gcc dot gnu dot org
2008-12-14 22:34 ` danglin 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).