egcs-2.91.28 19980508 : internal compiler error (gcc and g++, 2 platforms)

Laurent Bonnaud bonnaud@irisa.fr
Sun May 10 12:35:00 GMT 1998


Hi,

this bug seems related to the previous one i reported about structs,
but this one occurs both on i686-pc-linux-gnu and
sparc-sun-solaris2.5.1 :

% gcc -c bug9.cc 
bug9.cc: In function `void g()':
bug9.cc:9: Internal compiler error.
bug9.cc:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.

% gcc -v
Reading specs from /udd/bonnaud/poubelle/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.28/specs
gcc version egcs-2.91.28 19980508 (gcc2 ss-980502 experimental)

% gcc -v
Reading specs from /udd/bonnaud/poubelle/linux-egcs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.28/specs
gcc version egcs-2.91.28 19980508 (gcc2 ss-980502 experimental)

typedef struct {
} str_name;

void f(str_name p);

void g()
{
  str_name p;
  f(p);
}

-- 
Laurent.



More information about the Gcc-bugs mailing list