public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49713] New: Conflicting types for 'arm_dbx_register_number'
@ 2011-07-12  8:45 revital.eres at linaro dot org
  2011-07-12 17:15 ` [Bug target/49713] " danglin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: revital.eres at linaro dot org @ 2011-07-12  8:45 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Conflicting types for 'arm_dbx_register_number'
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: revital.eres@linaro.org
              Host: arm-linux-gnueabi
            Target: arm-linux-gnueabi


The following error occurs while bootstrap trunk -r176194 on arm-linux-gnueabi
with the following config options:

 --enable-checking --enable-languages=c --enable-bootstrap

gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber   
../../gcc/gcc/dwarf2cfi.c -o dwarf2cfi.o
In file included from ../../gcc/gcc/dwarf2cfi.c:31:0:
../../gcc/gcc/dwarf2out.h: In function 'dwarf_frame_regnum':
../../gcc/gcc/dwarf2out.h:271:3: warning: implicit declaration of function
'arm_dbx_register_number'
In file included from ./tm_p.h:4:0,
                 from ../../gcc/gcc/dwarf2cfi.c:34:
../../gcc/gcc/config/arm/arm-protos.h: At top level:
../../gcc/gcc/config/arm/arm-protos.h:41:21: error: conflicting types for
'arm_dbx_register_number'
../../gcc/gcc/dwarf2out.h:271:10: note: previous implicit declaration of
'arm_dbx_register_number' was here


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

* [Bug target/49713] Conflicting types for 'arm_dbx_register_number'
  2011-07-12  8:45 [Bug target/49713] New: Conflicting types for 'arm_dbx_register_number' revital.eres at linaro dot org
@ 2011-07-12 17:15 ` danglin at gcc dot gnu.org
  2011-07-12 17:21 ` rth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-12 17:15 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.07.12 17:14:43
                 CC|                            |danglin at gcc dot gnu.org
     Ever Confirmed|0                           |1


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

* [Bug target/49713] Conflicting types for 'arm_dbx_register_number'
  2011-07-12  8:45 [Bug target/49713] New: Conflicting types for 'arm_dbx_register_number' revital.eres at linaro dot org
  2011-07-12 17:15 ` [Bug target/49713] " danglin at gcc dot gnu.org
@ 2011-07-12 17:21 ` rth at gcc dot gnu.org
  2011-07-12 18:42 ` rth at gcc dot gnu.org
  2011-07-12 19:25 ` rth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu.org @ 2011-07-12 17:21 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #1 from Richard Henderson <rth at gcc dot gnu.org> 2011-07-12 17:21:03 UTC ---
Mine.


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

* [Bug target/49713] Conflicting types for 'arm_dbx_register_number'
  2011-07-12  8:45 [Bug target/49713] New: Conflicting types for 'arm_dbx_register_number' revital.eres at linaro dot org
  2011-07-12 17:15 ` [Bug target/49713] " danglin at gcc dot gnu.org
  2011-07-12 17:21 ` rth at gcc dot gnu.org
@ 2011-07-12 18:42 ` rth at gcc dot gnu.org
  2011-07-12 19:25 ` rth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu.org @ 2011-07-12 18:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Henderson <rth at gcc dot gnu.org> 2011-07-12 18:41:48 UTC ---
Author: rth
Date: Tue Jul 12 18:41:44 2011
New Revision: 176212

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176212
Log:
PR target/49713
        * dwarf2out.h (dwarf_frame_regnum): Remove.
        * dwarf2out.c (based_loc_descr): Revert last change.  Initialize regno
        earlier from DWARF_FRAME_REGNUM.  Never use dbx_reg_number.
        * dwarf2cfi.c (dw_stack_pointer_regnum, dw_frame_pointer_regnum): New.
        (execute_dwarf2_frame): Initialize them.
        (DW_STACK_POINTER_REGNUM, DW_FRAME_POINTER_REGNUM): Remove; replace
        users of the macros with the variables.
        (expand_builtin_dwarf_sp_column): Revert last change.
        (expand_builtin_init_dwarf_reg_sizes): Likewise.  Compute the
        result of DWARF_FRAME_REGNUM into a local variable.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2cfi.c
    trunk/gcc/dwarf2out.c
    trunk/gcc/dwarf2out.h


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

* [Bug target/49713] Conflicting types for 'arm_dbx_register_number'
  2011-07-12  8:45 [Bug target/49713] New: Conflicting types for 'arm_dbx_register_number' revital.eres at linaro dot org
                   ` (2 preceding siblings ...)
  2011-07-12 18:42 ` rth at gcc dot gnu.org
@ 2011-07-12 19:25 ` rth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu.org @ 2011-07-12 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-07-12 19:24:40 UTC ---
Fixed.


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

end of thread, other threads:[~2011-07-12 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12  8:45 [Bug target/49713] New: Conflicting types for 'arm_dbx_register_number' revital.eres at linaro dot org
2011-07-12 17:15 ` [Bug target/49713] " danglin at gcc dot gnu.org
2011-07-12 17:21 ` rth at gcc dot gnu.org
2011-07-12 18:42 ` rth at gcc dot gnu.org
2011-07-12 19:25 ` rth 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).