Hmm, that was too simple, so I didn't bother trying out whether this
would work. Apparently, it does work. Thanks,

        Danny

On Fri, 2006-11-03 at 01:58 +0000, Pedro Alves wrote:
> Danny Backx escreveu:
> > Pedro,
> >
> > After doing svn update to pull in your latest fixes, this happens when
> > compiling a simple program with -pg. This didn't happen before. (The
> > 0.10 RPM which I created yesterday was before the svn update and doesn't
> > exhibit the problem.)
> >
> > The same thing happens with the cegcc compiler.
> >
> > Do you know where I should look ? I've attached the source. 
> >
> >     Danny
> >
> > dannypc: {215} arm-wince-mingw32ce-gcc -pg -c m1.c
> > m1.c: In function 'main':
> > m1.c:22: error: unrecognizable insn:
> > (call_insn 6 5 8 0 (call (mem:SI (symbol_ref:SI ("_monstartup")) [0 S4
> > A32])
> >         (const_int 0 [0x0])) -1 (nil)
> >     (nil)
> >     (nil))
> > m1.c:22: internal compiler error: in extract_insn, at recog.c:2084
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> >
> >   
> Could you try this patch? I don't have time for anything else at the moment.
> 
> Cheers,
> Pedro Alves
> 
> plain text document attachment (pe.h.diff)
> Index: pe.h
> ===================================================================
> --- pe.h      (revisão 769)
> +++ pe.h      (cópia de trabalho)
> @@ -185,6 +185,7 @@
>  #define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \
>    arm_pe_declare_function_type (FILE, XSTR (FUN, 0), 1)
>  
> +#if 0
>  #undef PROFILE_HOOK
>  #define PROFILE_HOOK(LABEL)                                          \
>    if (MAIN_NAME_P (DECL_NAME (current_function_decl)))                       
> \
> @@ -194,6 +195,7 @@
>                    gen_rtx_SYMBOL_REF (Pmode, "_monstartup")),        \
>       const0_rtx));                                                   \
>      }
> +#endif
>  
>  /* This implements the `alias' attribute.  */
>  #undef ASM_OUTPUT_DEF_FROM_DECLS
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to