This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/66683] New: Large macro with float multiplications fails


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66683

            Bug ID: 66683
           Summary: Large macro with float multiplications fails
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: morphex at gmail dot com
  Target Milestone: ---

Created attachment 35858
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35858&action=edit
Screenshot, Cygwin terminal

The following code

https://github.com/morphex/smash_xml/blob/7a9b38d26596e9e2bc1e84288fc6c1babbacb52a/crash_gcc_float.c

Breaks GCC.  On a 16 GB RAM machine, the memory gets up to about 10 GB and then
GCC fails.

It's Windows 7 64 bit, Cygwin 64 bit, GCC version CYGWIN_NT-6.1.

See attached screenshot.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]