This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/52444] New: gcc.dg/tree-prof/pr44777.c execution, -fprofile-generate -D_PROFILE_GENERATE fails at -m32


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

             Bug #: 52444
           Summary: gcc.dg/tree-prof/pr44777.c execution,
                    -fprofile-generate -D_PROFILE_GENERATE fails at -m32
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


On x86_64-apple-darwin11, the -m32 test case...

FAIL: gcc.dg/tree-prof/pr44777.c execution,    -fprofile-generate
-D_PROFILE_GENERATE
UNRESOLVED: gcc.dg/tree-prof/pr44777.c compilation,  -fprofile-use
-D_PROFILE_USE

This appears in gdb as...

# ./pr44777.x01
Segmentation fault
[prrg4:gcc/testsuite/gcc] root# gdb ./pr44777.x01
GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared
libraries ... done

(gdb) r
Starting program:
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/gcc/testsuite/gcc/pr44777.x01 
Reading symbols for shared libraries ++........................ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xad31d668
0x00013742 in __subtf3 (a=<invalid float value>, b=<invalid float value>) at
../../../../gcc-4.7-20120228/libgcc/soft-fp/subtf3.c:44
44      FP_SUB_Q(R, A, B);
(gdb) bt
#0  0x00013742 in __subtf3 (a=<invalid float value>, b=<invalid float value>)
at ../../../../gcc-4.7-20120228/libgcc/soft-fp/subtf3.c:44
#1  0x646a626f in ?? ()
(gdb)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]