This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/11387] New: using stop without any argument


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: using stop without any argument
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at physics dot uc dot edu
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-apple-darwin6.6

Using stop with any argument cause no data to be output in the asm which confusses the 
darwin's as:
/var/tmp//ccZrWjym.s:18:section difference relocatable subtraction expression, "LC0" 
minus "L00000000001$pb" using a symbol at the end of section will not produce an 
assembly time constant
/var/tmp//ccZrWjym.s:18:use a symbol with a constant value created with an assignment 
instead of the expression, L_const_sym = LC0 - L00000000001$pb
/var/tmp//ccZrWjym.s:17:section difference relocatable subtraction expression, "LC0" 
minus "L00000000001$pb" using a symbol at the end of section will not produce an 
assembly time constant
/var/tmp//ccZrWjym.s:17:use a symbol with a constant value created with an assignment 
instead of the expression, L_const_sym = LC0 - L00000000001$pb

The way to fix this would be output one byte so it would not confuse the Darwin's as.

Note that you need download the update to the compiler package to get the new version 
of as which has this error.
source:
        PROGRAM DUMB
        STOP
        END


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]