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++/51909] New: for avr device : internal error in linking phase , function call disappearing when assembled and a weird compiling warning


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

             Bug #: 51909
           Summary: for avr device : internal error in linking phase   ,
                    function call disappearing when assembled    and   a
                    weird compiling warning
    Classification: Unclassified
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gnumaurorusso@gmail.com


Created attachment 26387
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26387
make commands list

Dears,

unfortunely I am new in gcc compiler.
I wok on Windows XP Home - SP3.
I had a problem in AVR Toolchain, which uses gcc 4.5.1
It seems maybe they have an adapted gcc version
"gcc (AVR_8_bit_GNUToolchain_3.3.1_422) 4.5.1"
I also downloaded and installed cgwin. It contains gcc 4.5.3
Because of I am novice in gcc, at the moment I did not try to
reproduce the problems with the gcc 4.5.3 inside cgwin.

I have three problems :

- internal error in the linking phase (warning)

- function declared 'noreturn" has a 'return' statement
given on a function where no return statement appears

- a function call which disappears when the firmware is built
The same function call does not disappear if it is written
in an equivalent but different style.

At the moment I posted all details on AVR Freaks :
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=914857#914857

Please, let me know if you can help me to try to reproduce the problem
in gcc 4.5.3 in cgwin
I attach the Output of AVR Studio, which shows the make commands performed.


Best Regards,
Mauro.


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