public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46450] New: xstormy16-elf --enable-werror-always build fails
@ 2010-11-12 12:49 amylaar at gcc dot gnu.org
  2010-11-12 18:00 ` [Bug target/46450] " amylaar at gcc dot gnu.org
  2010-11-12 18:04 ` amylaar at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-12 12:49 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: xstormy16-elf --enable-werror-always build fails
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amylaar@gcc.gnu.org
            Blocks: 44433,44756
            Target: xstormy16-elf


Beyond PR46433, there are target-specific reasons why xstormy16-elf doesn't
build configured with --enable-werror-always:

../../../gcc/gcc/config/stormy16/stormy16.c: In function
‘xstormy16_expand_prologue’:
../../../gcc/gcc/config/stormy16/stormy16.c:1112:2: error: enum conversion when
passing argument 2 of ‘gen_rtx_fmt_ee_stat’ is invalid in C++
[-Werror=c++-compat]
./genrtl.h:24:1: note: expected ‘enum machine_mode’ but argument is of type
‘int’
../../../gcc/gcc/config/stormy16/stormy16.c:1137:2: error: enum conversion when
passing argument 2 of ‘gen_rtx_fmt_ee_stat’ is invalid in C++
[-Werror=c++-compat]
./genrtl.h:24:1: note: expected ‘enum machine_mode’ but argument is of type
‘int’
../../../gcc/gcc/config/stormy16/stormy16.c: In function
‘xstormy16_function_arg’:
../../../gcc/gcc/config/stormy16/stormy16.c:1282:49: error: comparison between
pointer and integer [-Werror]
../../../gcc/gcc/config/stormy16/stormy16.c:1284:3: error: passing argument 2
of ‘gen_rtx_REG’ makes integer from pointer without a cast [-Werror]
../../../gcc/gcc/rtl.h:2165:12: note: expected ‘unsigned int’ but argument is
of type ‘int *’
../../../gcc/gcc/config/stormy16/stormy16.c: In function
‘xstormy16_expand_builtin’:
../../../gcc/gcc/config/stormy16/stormy16.c:2335:30: error: enum conversion
when passing argument 4 of ‘expand_expr’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:419:1: note: expected ‘enum expand_modifier’ but
argument is of type ‘int’
../../../gcc/gcc/config/stormy16/stormy16.c:2349:2: error: enum conversion when
passing argument 1 of ‘gen_reg_rtx’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/rtl.h:1630:12: note: expected ‘enum machine_mode’ but argument
is of type ‘int’
../../../gcc/gcc/config/stormy16/stormy16.c:2351:2: error: enum conversion when
passing argument 1 of ‘gen_reg_rtx’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/rtl.h:1630:12: note: expected ‘enum machine_mode’ but argument
is of type ‘int’
../../../gcc/gcc/config/stormy16/stormy16.c:2360:8: error: enum conversion when
passing argument 1 of ‘gen_reg_rtx’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/rtl.h:1630:12: note: expected ‘enum machine_mode’ but argument
is of type ‘int’
../../../gcc/gcc/config/stormy16/stormy16.c:2363:6: error: enum conversion when
passing argument 1 of ‘copy_to_mode_reg’ is invalid in C++ [-Werror=c++-compat]
../../../gcc/gcc/expr.h:599:12: note: expected ‘enum machine_mode’ but argument
is of type ‘int’
../../../gcc/gcc/config/stormy16/stormy16.c: In function ‘combine_bnp’:
../../../gcc/gcc/config/stormy16/stormy16.c:2394:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:12: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:41: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:46: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2435:68: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2437:35: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2440:43: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2441:48: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2445:43: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2448:8: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2452:30: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2455:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2456:21: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:12: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:41: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:46: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2463:68: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2465:24: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2466:43: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2467:48: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2470:30: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2473:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2474:21: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2478:11: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2489:33: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2506:8: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2509:64: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2565:66: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2568:52: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2594:7: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]
../../../gcc/gcc/config/stormy16/stormy16.c:2595:18: error: identifier "and" is
a special operator name in C++ [-Werror=c++-compat]


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

* [Bug target/46450] xstormy16-elf --enable-werror-always build fails
  2010-11-12 12:49 [Bug target/46450] New: xstormy16-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
@ 2010-11-12 18:00 ` amylaar at gcc dot gnu.org
  2010-11-12 18:04 ` amylaar at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-12 18:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-12 17:46:08 UTC ---
Author: amylaar
Date: Fri Nov 12 17:46:02 2010
New Revision: 166665

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166665
Log:
    PR target/46450
    * config/stormy16/stormy16.c (xstormy16_expand_prologue):
    Use add_reg_note.
    (xstormy16_function_arg): Dereference cum.
    (xstormy16_expand_builtin): Use expand_normal.
    Change type of omode to enum machine_mode.
    (combine_bnp): Rename and to and_insn.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/stormy16/stormy16.c


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

* [Bug target/46450] xstormy16-elf --enable-werror-always build fails
  2010-11-12 12:49 [Bug target/46450] New: xstormy16-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
  2010-11-12 18:00 ` [Bug target/46450] " amylaar at gcc dot gnu.org
@ 2010-11-12 18:04 ` amylaar at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-12 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

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

--- Comment #2 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-12 17:47:55 UTC ---
Patch has been applied to trunk.


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

end of thread, other threads:[~2010-11-12 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12 12:49 [Bug target/46450] New: xstormy16-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
2010-11-12 18:00 ` [Bug target/46450] " amylaar at gcc dot gnu.org
2010-11-12 18:04 ` amylaar 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).