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/67134] New: internal compiler error: Segmentation fault


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

            Bug ID: 67134
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: momchil.uzunov at gmail dot com
  Target Milestone: ---

I use:
mips-sde-elf-gcc (Sourcery CodeBench Lite 2013.05-35) 4.7.3
compiler.

When I compile my project I receive the error:
printer.c:1490:1: internal compiler error: Segmentation fault

There is nothing special at printer.c:1490:1.

The problem i in another file fragment:

...
#define INFO_IFM_HW_VER                         29
#define INFO_IFM_FW_VER                         30
#define INFO_HW_CAPABILITIES                    31
#define INFO_DATA_FLASH_ADDRES                  32

#define PARAM_SAVE_TO_FLASH                     0
#define PARAM_APPLICATION_ID                    1
...

When I add an empty line or change the name: INFO_DATA_FLASH_ADDRES it WORK!
worked example:

...
#define INFO_IFM_HW_VER                         29
#define INFO_IFM_FW_VER                         30
#define INFO_HW_CAPABILITIES                    31

#define INFO_DATA_FLASH_ADDRES                  32

#define PARAM_SAVE_TO_FLASH                     0
#define PARAM_APPLICATION_ID                    1
...

I can give my source code but I thin this describe the type of the problem.


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