public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242
@ 2011-04-08 11:27 tommino at online dot de
  2011-04-08 14:58 ` [Bug c/48516] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tommino at online dot de @ 2011-04-08 11:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516

           Summary: internal compiler error: in insert_value_copy_on_edge,
                    at tree-outof-ssa.c:242
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tommino@online.de


Created attachment 23927
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23927
ci-file with function which crashes the linker

Internal error appears with -flto option only

In file included from :11:0:
library\src\stm32f10x_adc.c: In function
'ADC_GetSoftwareStartInjectedConvCmdStatus':
library\src\stm32f10x_adc.c:930:12: internal compiler error: in
insert_value_copy_on_edge, at tree-outof-ssa.c:242
Please submit a full bug report,
with preprocessed source if appropriate.


cmd line:

arm-none-eabi-g++ *.o -Wl,-cref,-u,Reset_Handler -Wl,-Map=map.map
-Wl,--gc-sections -mthumb -mcpu=cortex-m3 -ffunction-sections -fdata-sections
-Tstm32_flash.ld -static -flto


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/48516] internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242
  2011-04-08 11:27 [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242 tommino at online dot de
@ 2011-04-08 14:58 ` pinskia at gcc dot gnu.org
  2011-04-08 18:40 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-08 14:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-08 14:58:31 UTC ---
Did you compile the .o files with an optimization level?  If so you also need
to use that optimization level at link time too.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/48516] internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242
  2011-04-08 11:27 [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242 tommino at online dot de
  2011-04-08 14:58 ` [Bug c/48516] " pinskia at gcc dot gnu.org
@ 2011-04-08 18:40 ` pinskia at gcc dot gnu.org
  2011-04-08 22:09 ` [Bug lto/48516] " tommino at online dot de
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-08 18:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.04.08 18:40:43
     Ever Confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-08 18:40:43 UTC ---
Can you provide how you compiled the .c file?  Not just how you linked.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug lto/48516] internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242
  2011-04-08 11:27 [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242 tommino at online dot de
  2011-04-08 14:58 ` [Bug c/48516] " pinskia at gcc dot gnu.org
  2011-04-08 18:40 ` pinskia at gcc dot gnu.org
@ 2011-04-08 22:09 ` tommino at online dot de
  2011-04-08 22:12 ` tommino at online dot de
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tommino at online dot de @ 2011-04-08 22:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516

--- Comment #3 from tommino at online dot de 2011-04-08 22:08:54 UTC ---
Created attachment 23934
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23934
Compilation batch file


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug lto/48516] internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242
  2011-04-08 11:27 [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242 tommino at online dot de
                   ` (2 preceding siblings ...)
  2011-04-08 22:09 ` [Bug lto/48516] " tommino at online dot de
@ 2011-04-08 22:12 ` tommino at online dot de
  2011-04-08 22:16 ` tommino at online dot de
  2011-12-14 23:49 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: tommino at online dot de @ 2011-04-08 22:12 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516

--- Comment #4 from tommino at online dot de 2011-04-08 22:12:02 UTC ---
Created attachment 23935
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23935
SRC files

Complete SRC.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug lto/48516] internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242
  2011-04-08 11:27 [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242 tommino at online dot de
                   ` (3 preceding siblings ...)
  2011-04-08 22:12 ` tommino at online dot de
@ 2011-04-08 22:16 ` tommino at online dot de
  2011-12-14 23:49 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: tommino at online dot de @ 2011-04-08 22:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516

--- Comment #5 from tommino at online dot de 2011-04-08 22:16:06 UTC ---
(In reply to comment #4)

Even with -flto in compilation/linking problem persisst.
BTW, gcc-toolchain is ARM from yagarto.de


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug lto/48516] internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242
  2011-04-08 11:27 [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242 tommino at online dot de
                   ` (4 preceding siblings ...)
  2011-04-08 22:16 ` tommino at online dot de
@ 2011-12-14 23:49 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-14 23:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48516

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-14 23:42:37 UTC ---


*** This bug has been marked as a duplicate of bug 41159 ***


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-14 23:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-08 11:27 [Bug c/48516] New: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:242 tommino at online dot de
2011-04-08 14:58 ` [Bug c/48516] " pinskia at gcc dot gnu.org
2011-04-08 18:40 ` pinskia at gcc dot gnu.org
2011-04-08 22:09 ` [Bug lto/48516] " tommino at online dot de
2011-04-08 22:12 ` tommino at online dot de
2011-04-08 22:16 ` tommino at online dot de
2011-12-14 23:49 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).