public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/55523] New: gencondmd C++ conversion breaks peephole2 predicates use of get_attr_*
@ 2012-11-29  1:29 amylaar at gcc dot gnu.org
  2012-11-29  8:54 ` [Bug other/55523] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-11-29  1:29 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55523
           Summary: gencondmd C++ conversion breaks peephole2 predicates
                    use of get_attr_*
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amylaar@gcc.gnu.org
                CC: dnovillo@google.com


Created attachment 28824
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28824
Epiphany patch for improved scheduling

I tried to merge the attached patch into gcc mainline, alas, the build fails:

g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I../../gcc-190402/gcc -I../../gcc-190402/gcc/build
-I../../gcc-190402/gcc/../include -I../../gcc-190402/gcc/../libcpp/include 
-I../../gcc-190402/gcc/../libdecnumber
-I../../gcc-190402/gcc/../libdecnumber/dpd -I../libdecnumber    \
        -o build/gencondmd.o build/gencondmd.c
../../gcc-190402/gcc/config/epiphany/epiphany.md:1004:45: error:
‘get_attr_sched_use_fpu’ was not declared in this scope
   "get_attr_sched_use_fpu (peep2_next_insn (0))
                                             ^
../../gcc-190402/gcc/config/epiphany/epiphany.md:1006:69: error:
‘get_attr_sched_use_fpu’ was not declared in this scope
    && get_attr_sched_use_fpu (next_active_insn (peep2_next_insn (1)))"
                                                                     ^
../../gcc-190402/gcc/config/epiphany/epiphany.md:1004:45: error:
‘get_attr_sched_use_fpu’ was not declared in this scope
   "get_attr_sched_use_fpu (peep2_next_insn (0))
                                             ^
../../gcc-190402/gcc/config/epiphany/epiphany.md:1006:69: error:
‘get_attr_sched_use_fpu’ was not declared in this scope
    && get_attr_sched_use_fpu (next_active_insn (peep2_next_insn (1)))"
                                                                     ^
make[1]: *** [build/gencondmd.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm cpp.pod gcov.pod gcc.pod fsf-funding.pod gfdl.pod
make[1]: Leaving directory `/ssd/fsf/bld-epiphany-190402/gcc'
make: *** [all-gcc] Error 2
[amylaar@rowan bld-epiphany-190402]$ g++ --version
g++ (GCC) 4.8.0 20121026 (experimental)


Searching for the revision where the failure starts, I found that is 190402,
when bootstrap was switched to C++.
In earlier versions, there was merely a warning when building gencondmd.o,
which was ignored even when configured with --enable-werror-always.

Now that we bootstrap with C++, this is a hard error.


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

end of thread, other threads:[~2012-11-29 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-29  1:29 [Bug other/55523] New: gencondmd C++ conversion breaks peephole2 predicates use of get_attr_* amylaar at gcc dot gnu.org
2012-11-29  8:54 ` [Bug other/55523] " rguenth at gcc dot gnu.org
2012-11-29 12:46 ` [Bug target/55523] " jakub at gcc dot gnu.org
2012-11-29 14:13 ` 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).