http://www.riscos.info/bugzilla3/show_bug.cgi?id=243

           Summary: Segfault compiling innocent looking for loop in 4.1.2
                    r2
           Product: GCC/GCCSDK
           Version: other
          Platform: All
        OS/Version: RISC OS
            Status: NEW
          Severity: normal
          Priority: P1
         Component: C compiler
        AssignedTo: [email protected]
        ReportedBy: [email protected]
   Estimated Hours: 0.0


Created attachment 84
  --> http://www.riscos.info/bugzilla3/attachment.cgi?id=84
Output of regex.c with -E switch

Running on RISC OS 4.02 the compiler segfaults on a line with a macro which
expands to a simple for loop. I initially thought this was due to lack of
memory so dialled the wimp slot up to 28MB, but still happened.

Instead I installed on a BeagleBoard (more memory, bigger wimp slot!) but even
with 200MB slot and 200MB free it blew up.
Also tried disabling the optimiser.

The full sources are in the RISC OS Open repository
  gpl/RiscOS/Tools/Sources/GNU/libgnu
the preprocessed file in question is attached. Note the repository copy has a
few conflicting definitions in "system.h" so doesn't compile out of the tin
currently.

Any known workarounds?

-- 
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to