public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6404: Internal compiler error when compiling with extended block profiling.
@ 2002-04-24 19:55 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-04-24 19:55 UTC (permalink / raw)
To: chrisb, gcc-bugs, gcc-prs, nobody
Synopsis: Internal compiler error when compiling with extended block profiling.
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Wed Apr 24 19:55:55 2002
State-Changed-Why:
Problem reproduced with gcc 3.0.4.
With gcc 3.1, this option has been removed:
gcc -c test.cpp -ax
cc1plus: unrecognized option `-ax'
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6404
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/6404: Internal compiler error when compiling with extended block profiling.
@ 2002-04-22 5:46 chrisb
0 siblings, 0 replies; 2+ messages in thread
From: chrisb @ 2002-04-22 5:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 6404
>Category: c++
>Synopsis: Internal compiler error when compiling with extended block profiling.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 22 05:46:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: chrisb@funcom.com
>Release: gcc 3.0.4
>Organization:
>Environment:
i386
>Description:
Compiling with extended block profiling causes internal compiler error.
[chrisb@test12 test]$ /home/chrisb/local/bin/gcc -c test.cpp
[chrisb@test12 test]$
[chrisb@test12 test]$ /home/chrisb/local/bin/gcc -c test.cpp -ax
test.cpp: In function `int Foo(float)':
test.cpp:6: Unrecognizable insn:
(call_insn 42 41 43 (call (mem:QI (symbol_ref ("__bb_trace_ret")) 0)
(const_int 0 [0x0])) -1 (nil)
(nil)
(nil))
test.cpp:6: Internal compiler error in insn_default_length, at insn-attrtab.c:
223
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
gcc -c test.cpp -ax
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="test.cpp"
Content-Disposition: inline; filename="test.cpp"
#include <stdio.h>
int Foo(float abra)
{
return (int) abra;
}
int
main(int argc, char **argv)
{
int n = Foo(1.5f);
printf("%d\n", n);
int *a = new int;
printf("a=%d\n", a);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-25 2:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24 19:55 c++/6404: Internal compiler error when compiling with extended block profiling rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-04-22 5:46 chrisb
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).