H8300-elf-gcc make-check errors with profile generation

D.Venkatasubramanian, Noida dvenkat@noida.hcltech.com
Thu Sep 5 04:54:00 GMT 2002





Hi,

While running the h8300-elf cross compiler on an x86 machine, I found even
simple test cases such as a hello world program or a program just returning
0 failing when the option '-fprofile-arcs' is given. 

I observed this when I ran make-check, that test cases with
'-fprofile-arcs' option or '-fbranch-probabilities' are failing. 
Please refer to the attached program.

The host machine is a Red Hat Linux 7.3 machine running on a Intel PII
procesor.

---------------Output of h8300-elf-gcc -v command-------------

[venkat@peacock bugfix]$ h8300-elf-gcc -v
Reading specs from
/home/venkat/gcc_release/h8300-elf/tools/bin/../lib/gcc-lib/h8300-elf/3.1.1/
specs
Configured with: /export/niting/WorkArea/gcc-release/src/configure
--target=h8300-elf --enable-languages=c,c++
--prefix=/home/venkat/gcc_release/h8300-elf/tools/ --with-newlib
--with-gnu-ld --with-gnu-as
Thread model: single
gcc version 3.1.1

-----The program --- test.c (Also attached)

int main()
{
	return 0;
}

-----Command that triggers the the problem and subsequent error/warning
messages.-----
[venkat@peacock bugfix]$ h8300-elf-gcc -fprofile-arcs -g test.c
test.c:6: Internal compiler error in end_final, at final.c:267
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

-----Preprocessed file-----

The preprocessed file is attached. If I give -save-temps, again the same
error is generated, I am creating the file by using -E option.

Could someone point me if there is some patch to rectify the problem or if I
am doing something wrong.

Thanx and Best Regards,

Venky




-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.i
Type: application/octet-stream
Size: 97 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020905/996654fc/attachment.obj>


More information about the Gcc-bugs mailing list