public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/50739] New: [avr] nameless error with -fmerge-all-constants
Date: Sat, 15 Oct 2011 20:47:00 -0000	[thread overview]
Message-ID: <bug-50739-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 50739
           Summary: [avr] nameless error with -fmerge-all-constants
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org
                CC: eric.weddington@atmel.com
              Host: i386-mingw32
            Target: avr
             Build: i686-linux-gnu


With the source that will follow, I get the following error message (same
without -da):

$ avr-gcc -fmerge-all-constants -mmcu=atmega88 -S foo.c -da

foo.c:18: confused by earlier errors, bailing out

foo.s is printed but the output stops after printing 
__c.1229:
    .string    "a"

see following attachment.

Trunk versions that show the problem: r179594, r179997.

Configured with: ../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/local/gnu/install/gcc-4.7-pgm-mingw32 --host=i386-mingw32
--build=i686-linux-gnu --enable-languages=c,c++ --disable-nls --disable-shared
--disable-lto --disable-checking --with-dwarf2

Thread model: single
gcc version 4.7.0 20111014 (experimental) (GCC) 

GNU C (GCC) version 4.7.0 20111014 (experimental) (avr)
    compiled by GNU C version 3.4.5 (mingw-vista special r2), GMP version
5.0.1, MPFR version 3.0.0-p8, MPC version 0.8.2


             reply	other threads:[~2011-10-15 20:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-15 20:47 gjl at gcc dot gnu.org [this message]
2011-10-15 20:51 ` [Bug target/50739] " gjl at gcc dot gnu.org
2011-10-15 20:53 ` gjl at gcc dot gnu.org
2011-10-15 20:53 ` gjl at gcc dot gnu.org
2011-10-15 20:54 ` gjl at gcc dot gnu.org
2012-03-22  8:52 ` rguenth at gcc dot gnu.org
2012-07-02 13:11 ` rguenth at gcc dot gnu.org
2024-03-15 22:16 ` pinskia at gcc dot gnu.org

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-50739-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).