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/52749] New: Aliasing violation silently accepted


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

             Bug #: 52749
           Summary: Aliasing violation silently accepted
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: veiokej@gmail.com


It was pointed out that this bug report was invalid because the code violates C
aliasing rules:

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

Fair enough. But when I compile exactly as indicated in that bug report, I get
neither an error nor a warning. The existence of the keyword "accepts-invalid"
at http://gcc.gnu.org/bugzilla/describekeywords.cgi suggests that this is
considered a bug.


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