> "Radu Hobincu" writes:
>
2. I have another piece of code that fails to compile with -O3.
-
struct desc{
int int1;
int int2;
int int3;
};
int bugTest(struct desc *tDesc){
return *((int*)
"Radu Hobincu" writes:
>>> 2. I have another piece of code that fails to compile with -O3.
>>>
>>> -
>>> struct desc{
>>> int int1;
>>> int int2;
>>> int int3;
>>> };
>>>
>>> int bugTest(struct desc *tDesc){
>>> return *((int*)(tDesc->in
> "Radu Hobincu" writes:
>
>> 1. I have the following code:
>>
>> ---
>> extern void doSmth();
>>
>> void bugTest(){
>> doSmth();
>> }
>> ---
>>
>> It compiles fine with -O0, but when I try to use -O3, I get the
>> following
>> compiler
"Radu Hobincu" writes:
> 1. I have the following code:
>
> ---
> extern void doSmth();
>
> void bugTest(){
> doSmth();
> }
> ---
>
> It compiles fine with -O0, but when I try to use -O3, I get the following
> compiler error:
>
> --
Hello,
I wrote here before a few months ago, I'm trying to port GCC to a simple
RISC machine and I have two problems I don't seem to be able to fix. I'm
using gcc 4.4.3 for both compiling and as source code.
1. I have the following code:
---
extern void doSmth();
voi