public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mexas at bristol dot ac.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/55221] [regression] gcc-4.6-20121102/gcc/rtl.h:2105: error: 'FIRST_PSEUDO_REGISTER' undeclared here (not in a fnction)
Date: Mon, 08 Jul 2013 13:43:00 -0000	[thread overview]
Message-ID: <bug-55221-4-5BA6K6nXO4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55221-4@http.gcc.gnu.org/bugzilla/>

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

Anton Shterenlikht <mexas at bristol dot ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
            Version|4.6.4                       |4.6.3
         Resolution|---                         |WORKSFORME

--- Comment #5 from Anton Shterenlikht <mexas at bristol dot ac.uk> ---
On FreeBSD 10.0-CURRENT #5 r252055,
with ports tree at r322480, I can built
lang/gcc, which is now 4.6:

# gcc46 --version
gcc46 (FreeBSD Ports Collection) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# pkg info -xo gcc-4.6
gcc-4.6.3                      lang/gcc
# 

This is with Gerald's patch:

# cat /usr/ports/lang/gcc/files/patch-unwind-ia64.h
2010-09-12  Gerald Pfeifer  <gerald@pfeifer.com>

       PR target/45650
       * config/ia64/unwind-ia64.h: Do not mark _Unwind_FindTableEntry
       hidden on FreeBSD.

Index: gcc/config/ia64/unwind-ia64.h
===================================================================
--- gcc/config/ia64/unwind-ia64.h       (revision 164211)
+++ gcc/config/ia64/unwind-ia64.h       (working copy)
@@ -40,4 +40,7 @@
 extern struct unw_table_entry *
 _Unwind_FindTableEntry (void *pc, unsigned long *segment_base,
                        unsigned long *gp, struct unw_table_entry *ent)
-                       __attribute__ ((__visibility__ ("hidden")));
+#ifndef __FreeBSD__
+                       __attribute__ ((__visibility__ ("hidden")))
+#endif
+                        ;
# 

I think it was fixed due to recent binutil fixes.

Since 4.7, 4.8, 4.9 all build fine on this platform,
I'm no longer interested in 4.6.4.
I'm therefore closing this PR.


      parent reply	other threads:[~2013-07-08 13:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-06 12:57 [Bug rtl-optimization/55221] New: " mexas at bristol dot ac.uk
2012-11-08  9:49 ` [Bug rtl-optimization/55221] " mexas at bristol dot ac.uk
2012-11-09 10:40 ` mexas at bristol dot ac.uk
2012-11-09 10:47 ` mexas at bristol dot ac.uk
2013-01-28 17:19 ` thierry at FreeBSD dot org
2013-07-08 13:43 ` mexas at bristol dot ac.uk [this message]

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-55221-4-5BA6K6nXO4@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).