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]

ada/5389: gcc seems to freak when it sees some wrong __asm__() arguements, gcc asked me to tell you about it



>Number:         5389
>Category:       ada
>Synopsis:       gcc seems to freak when it sees some wrong __asm__() arguements, gcc asked me to tell you about it
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 15 09:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     mlynn@securitymatrix.com
>Release:        2.95.4
>Organization:
>Environment:
linux (distro close to debian) x86
>Description:
i compile this code, with some stupid compinations of 
arguements to __asm__() and it freaks out and asks me to 
post a bug report to this list...message is as follows
(compiled with options gcc -v -save-temps test.c -c)

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010902 (Debian prerelease)
 /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ test.c test.i
GNU CPP version 2.95.4 20010902 (Debian prerelease) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/2.95.4/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i386-linux/2.95.4/cc1 test.i -quiet -dumpbase test.c -version -o test.s
GNU C version 2.95.4 20010902 (Debian prerelease) (i386-linux) compiled by GNU C version 2.95.4 20010902 (Debian prerelease).
test.c: In function `broken':
test.c:23: Internal compiler error:
test.c:23: Internal compiler error in `instantiate_virtual_regs_1', at function.c:4087
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
gcc test.c -c on gcc version 2.95.4 (at least) on linux x86 
should cause the same error, but then ive only seen it on
my machine...contact me if you have trouble repeating it and
ill see what i can do to duplicate it on another machine...
>Fix:
dont give __asm__() those arguements...they dont make much 
sense anyways...
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.i"

IyAxICJ0ZXN0LmMiCgoKaW50IGJsYWg7CgoKc3RhdGljIF9faW5saW5lX18gYnJva2VuICh2b2lk
ICphZGRyZXNzKQp7CiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18gKCJtb3ZsICUwLCAlMSIg
OiI9YiIoYWRkcmVzcyksICI9bSIoYWRkcmVzcykgKTsKICAgICAgICBfX2FzbV9fIF9fdm9sYXRp
bGVfXyAoInByZWZldGNobnRhICglZWJ4KSIpOwp9CgoKCmludCBtYWluICh2b2lkKQp7CgogICAg
YnJva2VuKCZibGFoKTsKCgp9CgoK


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