public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gnumaurorusso at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/51909] New: for avr device : internal error in linking phase   ,   function call disappearing when assembled    and   a weird compiling warning
Date: Fri, 20 Jan 2012 01:29:00 -0000	[thread overview]
Message-ID: <bug-51909-4@http.gcc.gnu.org/bugzilla/> (raw)

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.


             reply	other threads:[~2012-01-20  0:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20  1:29 gnumaurorusso at gmail dot com [this message]
2012-01-20  1:32 ` [Bug target/51909] " pinskia at gcc dot gnu.org
2012-01-20  1:34 ` gnumaurorusso at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-51909-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).